/* ---------- Comunidade Decor.IA ---------- */
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); flex: none; transition: background .2s; }
.icon-btn:active { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.tab .tdot { position: absolute; top: 4px; left: calc(50% + 7px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); }

/* Alternador Comunidade | Meu perfil (mesma pílula da barra inferior) */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--soft); width: 232px; }
.seg button { position: relative; z-index: 1; padding: 8px 0; font-size: .86rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.seg button.on { color: var(--ink); }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #fff; box-shadow: 0 2px 8px -2px rgba(28,28,26,.18); transition: transform .45s cubic-bezier(.3,1.3,.45,1); }
.seg[data-v="eu"] .seg__pill { transform: translateX(100%); }

/* Abas de texto */
.ptabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 4px 0 18px; }
.ptabs button { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 4px 11px; font-weight: 600; font-size: .95rem; color: var(--muted); text-align: center; transition: color .2s; }
.ptabs button.on { color: var(--ink); }
.ptabs button.on::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--ink); }

/* Avatar */
.av { width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover; color: #fff; font-family: var(--display); font-weight: 700; font-size: calc(var(--s) * .38); letter-spacing: -.02em; }
.who { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; }
.who b { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.who small { display: block; color: var(--muted); font-size: .8rem; }

/* Card do feed */
.pcard { margin-bottom: 30px; animation: enter .45s var(--ease) both; }
.pcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pcard__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--soft); clip-path: inset(0 round 22px); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pbadge { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 99px; background: rgba(28,28,26,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 600; }
.pbadge--ba { left: auto; right: 12px; background: rgba(255,255,255,.88); color: var(--ink); }
.burst { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; color: #fff; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); }
.burst svg { width: 100%; height: 100%; fill: currentColor; }
.burst.go { animation: burst .8s var(--ease); }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05) translateY(-14px); } }
.pacts { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.pact { display: flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pact svg { width: 25px; height: 25px; transition: fill .2s, stroke .2s; }
.pact.on[data-like] svg { fill: #E5484D; stroke: #E5484D; }
.pact.on[data-save] svg { fill: var(--ink); }
.pact.pop svg { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.use-pill { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 8px 13px 8px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 700; }
.use-pill svg { width: 18px; height: 18px; }
.pcard__cap { margin-top: 8px; font-size: .93rem; line-height: 1.42; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__cap b { font-weight: 600; color: var(--ink); }
.pcard__tags { margin-top: 5px; font-size: .8rem; color: var(--muted); }

/* Sugestões de quem seguir */
.empty-big { text-align: center; padding: 18px 12px 6px; }
.empty-big h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.empty-big p { margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.sugg { display: flex; gap: 10px; overflow-x: auto; margin: 16px -18px 28px; padding: 0 18px 4px; scrollbar-width: none; }
.scard { flex: 0 0 136px; display: grid; justify-items: center; gap: 4px; padding: 16px 10px 12px; border-radius: 22px; background: var(--plaster); text-align: center; }
.scard b { margin-top: 6px; font-size: .88rem; color: var(--ink); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard small { font-size: .75rem; color: var(--muted); }
.scard .btn-follow { margin-top: 8px; padding: 8px 18px; font-size: .82rem; flex: none; }

/* Perfil */
.prof { text-align: center; padding: 8px 0 2px; }
.prof__av { width: 88px; height: 88px; margin: 0; flex: none; border-radius: 26px; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }
.prof__av .av { width: 100%; height: 100%; border-radius: 0; font-size: 2.3rem; }
.prof__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); }
.prof__handle { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.prof__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.prof__meta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; background: var(--soft); font-size: .8rem; font-weight: 600; color: var(--ink); }
.prof__meta svg { width: 15px; height: 15px; }
.prof__bio { margin: 12px auto 0; max-width: 310px; font-size: .93rem; line-height: 1.45; color: var(--text); }
.prof__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 16px; }
.prof__stats button { display: grid; gap: 1px; font-size: .8rem; color: var(--muted); }
.prof__stats b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.prof__btns { display: flex; gap: 8px; }
.btn-line { flex: 1; padding: 12px; border-radius: 14px; background: var(--soft); font-weight: 600; font-size: .92rem; color: var(--ink); transition: background .2s; }
.btn-line:active { background: var(--line); }
.btn-follow { flex: 1; padding: 12px; border-radius: 14px; background: var(--ink); color: var(--plaster); font-weight: 700; font-size: .92rem; transition: background .25s, color .25s; }
.btn-follow.on { background: var(--soft); color: var(--ink); }
.nudge { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 14px 14px 16px; border-radius: 20px; background: var(--accent-soft); text-align: left; }
.nudge div { flex: 1; }
.nudge b { display: block; color: var(--ink); font-size: .92rem; }
.nudge small { color: var(--accent-ink); font-size: .82rem; line-height: 1.35; display: block; margin-top: 2px; }
.nudge button { padding: 9px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; flex: none; }

/* Grade de projetos em arco */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gthumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); clip-path: inset(0 round 12px); animation: enter .45s var(--ease) both; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.gthumb__likes { position: absolute; left: 12px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 4px; color: #fff; font-size: .8rem; font-weight: 700; }
.gthumb__likes svg { width: 15px; height: 15px; fill: #fff; stroke: none; }
.gthumb__flag { position: absolute; right: 10px; bottom: 9px; z-index: 1; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .72rem; font-weight: 700; }
.gthumb__flag svg { width: 14px; height: 14px; }
.sub-h { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin: 28px 0 2px; }
.sub-p { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.proj__open { position: absolute; inset: 0; padding: 0; }
.proj__open img { width: 100%; height: 100%; object-fit: cover; }
.proj__info { pointer-events: none; }
.proj__pub { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .76rem; font-weight: 700; cursor: pointer; }

/* Post */
.pd { padding-bottom: 24px; }
.pd__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 18px 12px; }
.pd__head .btn-follow { flex: none; padding: 9px 18px; font-size: .85rem; }
.pd__media { position: relative; }
.pd__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd__track::-webkit-scrollbar { display: none; }
.pd__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 3.3; scroll-snap-align: center; background: var(--soft); }
.pd__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd__before { opacity: 0; transition: opacity .3s; }
.show-before .pd__before { opacity: 1; }
.pd__slide .pbadge { z-index: 1; }
.hold { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .78rem; font-weight: 700; user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .2s; }
.hold:active, .hold.on { transform: scale(.95); background: var(--ink); color: #fff; }
.pd__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pd__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.pd__dots i.on { width: 18px; background: var(--ink); }
.pd__body { padding: 0 18px; }
.pd__body .pacts { margin-top: 12px; }
.pd__uses { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; color: var(--muted); font-weight: 600; }
.pd__cap { margin-top: 10px; font-size: .95rem; line-height: 1.5; color: var(--text); }
.pd__cap b { font-weight: 600; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tagc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: var(--soft); font-size: .8rem; font-weight: 600; color: var(--ink); }
.sw { display: inline-flex; }
.sw i { width: 11px; height: 11px; border-radius: 50%; margin-left: -3px; box-shadow: 0 0 0 1.5px #fff; }
.sw i:first-child { margin-left: 0; }
.insp { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.insp button { font-weight: 700; color: var(--accent-ink); }
.panel { margin-top: 20px; padding: 16px; border-radius: 22px; background: var(--plaster); }
.panel h3 { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.panel > p { margin-top: 3px; color: var(--muted); font-size: .85rem; }
.vote__opts { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; margin-top: 12px; }
.vopt { position: relative; padding: 0 0 10px; border-radius: 16px; overflow: hidden; background: #fff; border: 2px solid transparent; text-align: left; transition: border-color .2s, transform .2s; }
.vopt:active:not(:disabled) { transform: scale(.97); }
.vopt img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vopt__l { position: absolute; top: 7px; left: 7px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 800; }
.vopt.sel { border-color: var(--accent); }
.vopt.sel .vopt__l { background: var(--accent); color: var(--accent-on); }
.vopt.top b { color: var(--accent-ink); }
.vopt__bar { display: block; height: 6px; margin: 10px 9px 0; border-radius: 99px; background: var(--soft); overflow: hidden; }
.vopt__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink); transition: width .9s var(--ease); }
.vopt.sel .vopt__bar i { background: var(--accent); }
.vopt b { display: block; margin: 6px 9px 0; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1rem; }
.vopt:disabled { cursor: default; }
.vopt__pick { display: block; margin: 9px 9px 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.react__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.react__btns button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; background: #fff; border: 2px solid transparent; font-weight: 700; font-size: .92rem; color: var(--ink); transition: border-color .2s, background .2s; }
.react__btns svg { width: 20px; height: 20px; }
.react__btns [data-react="down"] svg { transform: rotate(180deg); }
.react__btns [data-react="up"].sel { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.react__btns [data-react="down"].sel { border-color: var(--ink); }
.react__q { margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.react__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; animation: enter .35s var(--ease); }
.react__chips button { padding: 7px 12px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.react__chips button.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.react__sum { display: flex; gap: 8px; margin-top: 12px; }
.react__sum div { flex: 1; padding: 12px; border-radius: 14px; background: #fff; }
.react__sum b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.react__sum small { font-size: .8rem; color: var(--muted); }
.use { margin-top: 20px; display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--ink); color: #fff; }
.use b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.use small { display: block; margin-top: 3px; color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.4; }
.btn-aqua { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; border-radius: 16px; background: var(--accent); color: var(--accent-on); font-family: var(--display); font-weight: 800; font-size: 1rem; transition: transform .2s; }
.btn-aqua:active { transform: scale(.98); }
.btn-aqua svg { width: 20px; height: 20px; }
.btn-soft { display: block; width: 100%; margin-top: 10px; padding: 16px; border-radius: 18px; background: var(--soft); color: var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 700; }
.pd__ctitle { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); margin: 26px 0 4px; }
.cm { display: flex; gap: 10px; margin-top: 14px; animation: enter .35s var(--ease) both; }
.cm--reply { margin-left: 44px; margin-top: 10px; }
.cm__body { flex: 1; min-width: 0; }
.cm__body p { font-size: .92rem; line-height: 1.42; color: var(--text); overflow-wrap: anywhere; }
.cm__body p button { font-weight: 600; color: var(--ink); margin-right: 3px; }
.cm__op { display: inline-block; margin-right: 5px; padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-size: .68rem; font-weight: 700; vertical-align: 1px; }
.cm__body small { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.cm__body small button { font-weight: 600; color: var(--muted); }
.composer { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px max(12px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.composer input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 99px; border: 0; background: var(--soft); font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.composer input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.composer__send { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.composer__send svg { width: 20px; height: 20px; }
.composer__reply { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.composer__reply button { font-size: .8rem; color: var(--muted); padding: 2px 6px; }

/* Publicar */
.pub { padding-bottom: 40px; }
.pub h2 { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); margin: 18px 0 4px; }
.pub .hint { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.pub .pbox { margin-top: 8px; }
.pub .pbox textarea { min-height: 96px; }
.pub__vers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.pver { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 2.5px solid transparent; transition: border-color .2s; }
.pver img { width: 100%; height: 100%; object-fit: cover; }
.pver.sel { border-color: var(--accent); }
.pver__check { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.85); color: transparent; font-style: normal; font-size: .72rem; font-weight: 800; }
.pver.sel .pver__check { background: var(--accent); color: var(--accent-on); }
.pver__l { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.9); font-size: .7rem; font-weight: 800; color: var(--ink); }
.vis { display: grid; gap: 8px; margin-top: 10px; }
.vis button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--soft); border: 2px solid transparent; text-align: left; transition: border-color .2s, background .2s; }
.vis svg { width: 22px; height: 22px; flex: none; color: var(--ink); }
.vis b { display: block; color: var(--ink); font-size: .95rem; }
.vis small { color: var(--muted); font-size: .82rem; }
.vis button.sel { border-color: var(--accent-ink); background: var(--accent-soft); }
.pub-foot { position: sticky; bottom: 0; padding: 14px 18px max(16px, env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 28%); }

/* Notificações */
.nt { display: flex; align-items: center; gap: 12px; width: calc(100% + 36px); margin: 0 -18px; padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); transition: background .6s; }
.nt.new { background: rgba(0,179,158,.08); }
.nt p { flex: 1; font-size: .92rem; line-height: 1.38; color: var(--text); }
.nt p b { font-weight: 600; color: var(--ink); }
.nt small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nt__img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }

/* Folhas: opções e editar perfil */
.sheet-opts button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: 1rem; color: var(--ink); }
.sheet-opts button:last-child { border-bottom: 0; }
.sheet-opts .danger { color: #C2362F; }
.ulist .who { width: 100%; padding: 10px 0; }
.ulist .who span { flex: 1; }
.ulist .btn-follow { flex: none; padding: 8px 16px; font-size: .82rem; }
.ep__intro { margin-bottom: 14px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.ep__av { display: grid; justify-items: center; gap: 8px; cursor: pointer; margin-bottom: 4px; }
.ep__av small { color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.fld { display: block; margin-top: 12px; }
.fld > span { display: block; margin-bottom: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.fld input, .fld textarea, .fld select { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); outline: none; resize: none; -webkit-appearance: none; appearance: none; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--accent); }
.fld__at { position: relative; }
.fld__at i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.fld__at input { padding-left: 30px; }
.ep .btn-black { margin-top: 18px; }
.ep .err { margin-top: 10px; }

/* Banner "Estilo de @fulano" no assistente */
.insp-banner { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); }
.insp-banner b { color: var(--accent-ink); font-size: .88rem; }
.insp-banner span { color: var(--ink); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  .pcard, .gthumb, .cm, .react__chips { animation: none; }
  .burst.go { animation: none; }
}

/* =================== Fase 2 =================== */
/* Selo de profissional verificado */
.vb { display: inline-grid; width: 16px; height: 16px; margin-left: 4px; vertical-align: -2px; color: var(--accent); }
.vb svg { width: 100%; height: 100%; }
.prof__name .vb { width: 20px; height: 20px; vertical-align: -1px; }
.cm--pro .cm__body { padding: 10px 12px; border-radius: 16px; background: rgba(0,179,158,.07); }
.cm__op--pro { background: var(--ink); color: #fff; }
.chal-chip { padding: 5px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: .72rem; font-weight: 700; flex: none; }

/* Selos de desafio no perfil */
.trophies { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.trophy { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #F6EBC8; color: #6B4E00; }
.trophy svg { width: 15px; height: 15px; }
.trophy.t2 { background: #ECECEA; color: #4A4A46; }
.trophy.t3 { background: #F3E0D2; color: #7A3E17; }

/* Seção profissional no perfil */
.prosec { margin-top: 16px; padding: 16px; border-radius: 22px; background: var(--plaster); text-align: left; }
.prosec__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.prosec__top b { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.prosec__top small { color: var(--muted); font-size: .78rem; }
.prosec p { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--text); }
.prosec__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.prosec__facts span { padding: 10px 12px; border-radius: 14px; background: #fff; font-size: .85rem; font-weight: 600; color: var(--ink); }
.prosec__facts i { display: block; font-style: normal; font-weight: 500; font-size: .75rem; color: var(--muted); }
.prosec .btn-line, .prosec .btn-aqua { width: 100%; }
.nudge--pro { background: #FFF4D6; }
.nudge--pro small { color: #7A5A00; }
.nudge__go { padding: 9px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; flex: none; }

/* Moodboards */
.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.bcard { display: grid; gap: 2px; text-align: left; animation: enter .45s var(--ease) both; }
.bcard__cover { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--soft); clip-path: inset(0 round 22px); margin-bottom: 6px; }
.bcard__cover img, .bcard__cover i { width: 100%; height: 100%; object-fit: cover; background: var(--line); display: block; }
.bcard__cover > :first-child { grid-row: span 2; }
.bcard b { font-size: .95rem; color: var(--ink); font-weight: 600; }
.bcard small { font-size: .78rem; color: var(--muted); }
.bcard--new .bcard__cover { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; background: none; border: 2px dashed var(--line); }
.bcard--new .bcard__cover span { grid-row: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.6rem; font-weight: 300; }
.bhead { text-align: center; padding: 6px 0 18px; }
.bhead h2 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); }
.bhead .who { justify-content: center; margin: 8px auto 0; }
.bhead .btn-follow { margin-top: 14px; padding: 11px 22px; }
.bitems { columns: 2; column-gap: 10px; }
.bitem { position: relative; margin-bottom: 10px; break-inside: avoid; border-radius: 18px; overflow: hidden; background: var(--soft); animation: enter .45s var(--ease) both; }
.bitem button:first-child, .bitem > img { display: block; width: 100%; }
.bitem img { width: 100%; height: auto; display: block; }
.bitem:nth-child(3n+1) img { aspect-ratio: 4 / 5; object-fit: cover; }
.bitem__tag { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 700; color: var(--ink); }
.bitem__x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(28,28,26,.6); color: #fff; font-size: .72rem; display: grid; place-items: center; }

/* Salvar em… */
.saveto { display: grid; gap: 4px; }
.sto { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 4px; border-radius: 14px; text-align: left; }
.sto__img { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--soft); flex: none; color: var(--ink); font-size: 1.5rem; }
.sto__img img { width: 100%; height: 100%; object-fit: cover; }
.sto__img svg { width: 24px; height: 24px; }
.sto__txt { flex: 1; min-width: 0; }
.sto__txt b { display: block; color: var(--ink); font-size: .95rem; }
.sto__txt small { color: var(--muted); font-size: .8rem; }
.sto__chk { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); color: transparent; font-style: normal; font-size: .75rem; font-weight: 800; transition: background .2s, border-color .2s, color .2s; }
.sto.on .sto__chk { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.sto--new .sto__img { background: var(--ink); color: #fff; font-weight: 300; }

/* Card do desafio */
.chal { position: relative; display: block; width: 100%; height: 200px; border-radius: 26px; overflow: hidden; text-align: left; color: #fff; clip-path: inset(0 round 26px); margin-bottom: 24px; }
#homeChallenge .chal { width: calc(100% - 36px); margin: 10px 18px 6px; }
.chal > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chal:active > img { transform: scale(1.03); }
.chal__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,30,27,.88) 0%, rgba(10,30,27,.55) 55%, rgba(10,30,27,.1)); }
.chal__body { position: relative; display: flex; flex-direction: column; height: 100%; padding: 18px; gap: 4px; }
.chal__tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px 5px 8px; border-radius: 99px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .75rem; font-weight: 600; }
.chal__tag svg { width: 15px; height: 15px; color: #F2C94C; }
.chal b { margin-top: auto; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.1; }
.chal small { color: rgba(255,255,255,.78); font-size: .84rem; }
.chal__cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 8px; padding: 9px 14px; border-radius: 99px; background: var(--accent); color: var(--accent-on); font-family: var(--display); font-weight: 800; font-size: .88rem; }
.chal__cta svg { width: 16px; height: 16px; }

/* Tela do desafio */
.chal-hero { position: relative; height: 330px; color: #fff; overflow: hidden; }
.chal-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,30,27,.25), rgba(10,30,27,.15) 35%, rgba(10,30,27,.9)); }
.chal-hero__back { position: absolute; z-index: 2; top: max(14px, env(safe-area-inset-top)); left: 14px; background: rgba(255,255,255,.9); }
.chal-hero__body { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 22px; display: grid; gap: 6px; }
.chal-hero h1 { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; line-height: 1.05; }
.chal-hero p { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.4; }
.chal-sec { padding-top: 18px; }
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prize { display: grid; justify-items: center; gap: 2px; padding: 14px 6px; border-radius: 18px; background: #F6EBC8; color: #6B4E00; text-align: center; }
.prize svg { width: 22px; height: 22px; }
.prize b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.prize small { font-size: .74rem; font-weight: 600; }
.prize.t2 { background: #ECECEA; color: #4A4A46; }
.prize.t3 { background: #F3E0D2; color: #7A3E17; }
.rules { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 10px; }
.rules li { counter-increment: r; display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; line-height: 1.4; color: var(--text); }
.rules li::before { content: counter(r); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 800; flex: none; }
.hint-c { margin-top: 8px; color: var(--muted); font-size: .82rem; text-align: center; }
.mine-entry { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 18px; padding: 10px; border-radius: 20px; background: var(--accent-soft); text-align: left; }
.mine-entry img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.mine-entry b { display: block; color: var(--ink); }
.mine-entry small { color: var(--accent-ink); font-size: .82rem; }
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.entry { animation: enter .45s var(--ease) both; }
.entry__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; clip-path: inset(0 round 18px); }
.entry__img img { width: 100%; height: 100%; object-fit: cover; }
.entry__rank { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: .75rem; font-weight: 800; background: #F2C94C; color: #3D2D00; }
.entry__rank.t2 { background: #E2E2DF; color: #333; }
.entry__rank.t3 { background: #E9B48C; color: #4A2408; }
.entry__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; min-width: 0; }
.entry__foot .who { min-width: 0; overflow: hidden; }
@media (max-width: 380px) { .pacts { gap: 12px; } .cvote { padding: 7px 9px; font-size: .72rem; } }
.cvote { padding: 7px 11px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.cvote.on { background: var(--accent-soft); color: var(--accent-ink); }
.entry__votes { font-size: .78rem; font-weight: 700; color: var(--muted); }
.past { display: grid; gap: 8px; }
.past__row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; background: var(--plaster); text-align: left; }
.past__row img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.past__row span { flex: 1; }
.past__row b { display: block; color: var(--ink); font-size: .95rem; }
.past__row small { color: var(--muted); font-size: .8rem; }
.past__row svg { width: 20px; height: 20px; color: var(--muted); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-top: 10px; }
.pod { display: grid; justify-items: center; gap: 2px; text-align: center; }
.pod__img { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; clip-path: inset(0 round 18px); }
.pod.t1 .pod__img { aspect-ratio: 3 / 4.6; }
.pod__img img { width: 100%; height: 100%; object-fit: cover; }
.pod__img i { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: .78rem; font-weight: 800; background: #F2C94C; color: #3D2D00; }
.pod.t2 .pod__img i { background: #E2E2DF; color: #333; }
.pod.t3 .pod__img i { background: #E9B48C; color: #4A2408; }
.pod b { margin-top: 6px; color: var(--ink); font-size: .92rem; }
.pod small { color: var(--muted); font-size: .72rem; }

/* Interruptor (participar do desafio) */
.switch-row { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: var(--soft); text-align: left; }
.switch-row span { flex: 1; }
.switch-row b { display: block; color: var(--ink); font-size: .95rem; }
.switch-row small { color: var(--muted); font-size: .82rem; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 99px; background: var(--line); flex: none; transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch-row.on .switch { background: var(--accent); }
.switch-row.on .switch::after { transform: translateX(20px); }
.switch-row:disabled { opacity: .5; }

/* Profissionais */
.pros-intro { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.pkinds { display: flex; gap: 6px; overflow-x: auto; margin: 12px -18px 0; padding: 0 18px; scrollbar-width: none; }
.pkinds button { padding: 8px 14px; border-radius: 99px; background: var(--soft); font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.pkinds button.on { background: var(--ink); color: #fff; }
.pros { display: grid; gap: 14px; margin: 16px 0 18px; }
.procard { padding: 16px; border-radius: 24px; background: var(--plaster); animation: enter .45s var(--ease) both; }
.procard__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.procard__strip button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; clip-path: inset(0 round 14px); }
.procard__strip img { width: 100%; height: 100%; object-fit: cover; }
.procard__facts { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; font-size: .82rem; color: var(--muted); }
.procard__facts span:first-child { font-weight: 700; color: var(--ink); }
.q-note { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.qin { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qin p { margin: 10px 0; font-size: .92rem; line-height: 1.45; }
.qin .btn-follow { padding: 10px 18px; flex: none; }
.chal-link { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: #F6EBC8; color: #6B4E00; text-align: left; }
.chal-link svg { width: 22px; height: 22px; flex: none; }
.chal-link b { display: block; font-size: .9rem; }
.chal-link small { font-size: .8rem; }

/* =================== Fase 3: compras =================== */
.shop-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 10px; }
.shop-pill { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 10px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .88rem; transition: transform .2s; }
.shop-pill:active { transform: scale(.97); }
.shop-pill svg { width: 19px; height: 19px; flex: none; }
.demo-note { margin-top: 16px; font-size: .76rem; line-height: 1.4; color: var(--muted); text-align: center; }

/* Palco com os pontos */
.stage { position: relative; border-radius: 22px; overflow: hidden; background: var(--soft); clip-path: inset(0 round 22px); touch-action: none; }
.stage > img { width: 100%; display: block; transition: filter .4s; }
.stage.scanning > img { filter: brightness(.75) saturate(.8); }
.scanbar { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(rgba(46,230,207,0), rgba(46,230,207,.45) 92%, #2EE6CF); border-bottom: 2px solid #2EE6CF; animation: scan 1.5s var(--ease) infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(340%); } }
.stage__msg { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; background: rgba(28,28,26,.75); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.hot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; animation: hotIn .5s var(--ease) both; z-index: 1; }
.hot i { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(0,179,158,.85), 0 3px 10px rgba(0,0,0,.35); }
.hot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ping 2s ease-out infinite; }
.hot span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%) translateY(4px); padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.hot:hover span, .hot:focus-visible span { opacity: 1; transform: translateX(-50%); }
@keyframes hotIn { from { opacity: 0; transform: scale(.3); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
/* o ponto em foco fica por cima dos outros, para o nome não ficar coberto; perto do topo, o nome aparece embaixo */
.hot:hover, .hot:focus-visible { z-index: 6; }
.hot.hot--low span { bottom: auto; top: calc(100% + 2px); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage.drawing canvas { pointer-events: auto; cursor: crosshair; }
.stage.drawing .hot { opacity: .35; pointer-events: none; }
.shop-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; padding: 4px; border-radius: 99px; background: var(--soft); }
.shop-modes button { padding: 9px; border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.shop-modes button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(28,28,26,.18); }
.shop-tip { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
.found { display: flex; gap: 12px; overflow-x: auto; margin: 16px -18px 0; padding: 4px 18px 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-left: 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.fitem { flex: 0 0 112px; scroll-snap-align: start; display: grid; gap: 3px; align-content: start; text-align: left; animation: enter .4s var(--ease) both; border-radius: 16px; }
.fitem .fitem__img { width: 112px; height: 112px; margin-bottom: 7px; border-radius: 56px 56px 16px 16px; box-shadow: inset 0 0 0 1px rgba(28,28,26,.07); transition: transform .2s var(--ease); }
.fitem:active .fitem__img { transform: scale(.97); }
.fitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fitem__price { min-height: 1.1em; font-size: .76rem; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.fitem__img, .crop { display: block; width: 96px; height: 96px; border-radius: 18px; background-color: var(--soft); background-repeat: no-repeat; }
.fitem__img--cat { display: grid; place-items: center; color: var(--ink); }
.fitem__img--cat svg { width: 34px; height: 34px; }
.fitem b { font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.demo-note--real { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.catgrid button { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 16px; background: var(--soft); font-size: .8rem; font-weight: 600; color: var(--ink); }
.catgrid svg { width: 26px; height: 26px; }
.ident { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s; }
.ident__card { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 22px 20px; border-radius: 26px; background: #fff; box-shadow: 0 20px 50px -12px rgba(28,28,26,.35); overflow: hidden; }
.ident__frame { position: relative; width: 180px; height: 180px; border-radius: 18px; overflow: hidden; margin-bottom: 10px; transition: box-shadow .3s; }
.ident__img { display: block; width: 100%; height: 100%; background-repeat: no-repeat; }
/* a faixa de leitura anda só dentro da foto do item */
.ident__frame .scanbar { animation-duration: 1.2s; }
.ident__card b { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.ident__card small { color: var(--muted); font-size: .8rem; }
/* identificado: a faixa de leitura some, a foto ganha contorno verde-água e aparece o selo */
.ident--ok .scanbar { display: none; }
.ident--ok .ident__frame { box-shadow: 0 0 0 3px var(--accent); }
.ident--ok .ident__card::before { content: "✓ Identificado pela IA"; position: absolute; top: 26px; left: 50%; transform: translateX(-50%); padding: 5px 11px; border-radius: 99px; background: var(--accent); color: var(--accent-on, #fff); font: 700 .72rem/1 var(--text, inherit); white-space: nowrap; z-index: 2; animation: fade .25s; }
.ident--ok .ident__card b { animation: fade .3s; }

/* Resultados */
.search-row { display: flex; gap: 8px; align-items: center; }
.search-row .search { flex: 1; min-width: 0; width: auto; margin: 0; }
.search-row { margin: 4px 0 12px; }
.photo-search { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--ink); color: #fff; flex: none; cursor: pointer; }
.photo-search svg { width: 24px; height: 24px; }
.res-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--soft); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.res-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.idcard { display: flex; gap: 14px; padding: 14px; border-radius: 22px; background: var(--plaster); animation: enter .45s var(--ease) both; }
.idcard__img { display: block; width: 104px; height: 104px; border-radius: 16px; flex: none; background-repeat: no-repeat; background-color: var(--soft); }
.idcard__txt { flex: 1; min-width: 0; }
.idcard__ai { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-ink); font-size: .74rem; font-weight: 700; }
.idcard__txt > b { display: block; margin-top: 2px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1.15; }
.idcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 8px; }
.idcard dt { font-size: .7rem; color: var(--muted); }
.idcard dd { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ink); }
.terms { display: flex; gap: 6px; overflow-x: auto; margin: 10px -18px 0; padding: 0 18px; scrollbar-width: none; }
.fbar { display: grid; gap: 8px; margin-top: 16px; }
.sortsw { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--soft); }
.sortsw button { padding: 8px; border-radius: 99px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.sortsw button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(28,28,26,.18); }
.fchips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
.fchip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.res-count { margin: 14px 0 10px; font-size: .82rem; color: var(--muted); }
.res-count button { color: var(--accent-ink); font-weight: 700; font-size: .82rem; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }
.offer { position: relative; animation: enter .4s var(--ease) both; }
.offer__img { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--soft); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; }
.match { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 99px; font-size: .68rem; font-weight: 800; background: var(--accent); color: var(--accent-on); }
.match.m-parecido { background: #fff; color: var(--ink); }
.offer__save { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); }
.offer__save svg { width: 18px; height: 18px; }
.offer__save.on svg { fill: var(--ink); }
.offer__txt { margin-top: 8px; cursor: pointer; }
.offer__txt small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.offer__txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; font-weight: 500; color: var(--text); line-height: 1.3; margin-top: 1px; }
.offer__txt strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.offer__txt em { font-style: normal; font-size: .74rem; color: var(--accent-ink); font-weight: 600; }
.osheet { display: grid; }
.osheet__img { position: relative; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.osheet__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.osheet__store { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .76rem; font-weight: 700; box-shadow: 0 2px 8px rgba(28,28,26,.12); }
.osheet__name { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.osheet__buy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; }
.osheet__buy strong { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.osheet__buy small { color: var(--muted); font-size: .8rem; text-align: right; }
.osheet__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.osheet__tags span { padding: 5px 10px; border-radius: 99px; background: var(--soft); color: var(--text); font-size: .76rem; font-weight: 600; }
.osheet__go { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; text-decoration: none; }
.osheet__go svg { width: 18px; height: 18px; }
.osheet__more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.osheet__more button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 10px; border-radius: 16px; background: var(--soft); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: .9rem; }
.osheet__more button svg { width: 18px; height: 18px; flex: none; }
.osheet__more button[aria-pressed=true] { background: var(--accent-soft); color: var(--accent-ink); }
.osheet__more button:active { transform: scale(.98); }
.bud-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bud-btns .btn-soft { margin-top: 0; }

/* Início da aba Itens */
.shop-cta { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 16px; border-radius: 22px; background: var(--accent-soft); }
.shop-cta div { flex: 1; }
.shop-cta b { display: block; color: var(--ink); font-size: .95rem; }
.shop-cta small { display: block; margin-top: 3px; color: var(--accent-ink); font-size: .82rem; line-height: 1.35; }
.shop-cta em { font-style: normal; font-weight: 700; }
.shop-cta__btn { flex: none; padding: 10px 14px; font-size: .82rem; cursor: pointer; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.sec-row h3 { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.sec-row small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.link { color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
.mini { flex: 0 0 112px; display: grid; gap: 2px; text-align: left; }
.mini img { width: 112px; height: 112px; border-radius: 16px; object-fit: cover; margin-bottom: 4px; }
.mini b { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: .95rem; }
.mini small { color: var(--muted); font-size: .75rem; }
.buds { display: grid; gap: 8px; }
.budrow { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; background: var(--plaster); text-align: left; }
.budrow img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.budrow span { flex: 1; min-width: 0; }
.budrow b { display: block; color: var(--ink); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.budrow small { color: var(--muted); font-size: .8rem; }
.budrow strong { font-family: var(--display); font-weight: 800; color: var(--ink); }
.recent { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
.recent__i { flex: 0 0 76px; display: grid; justify-items: center; gap: 5px; font-size: .74rem; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.2; }
.recent__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background-color: var(--soft); background-repeat: no-repeat; color: var(--muted); }
.recent__img svg { width: 22px; height: 22px; }

/* Orçamento */
.bud-hero { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 24px; background: var(--ink); color: #fff; }
.bud-hero img { width: 92px; height: 112px; object-fit: cover; border-radius: 999px 999px 14px 14px; flex: none; }
.bud-hero small { display: block; color: rgba(255,255,255,.72); font-size: .82rem; }
.bud-hero b { display: block; margin: 2px 0; font-family: var(--display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1.05; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.skel { display: inline-block; width: 150px; height: 34px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.2), rgba(255,255,255,.08)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.seg3 { width: 100%; grid-template-columns: repeat(3, 1fr); margin: 16px 0 6px; }
.seg3 .seg__pill { width: calc(33.333% - 2.67px); }
.seg3[data-v="equilibrado"] .seg__pill { transform: translateX(100%); }
.seg3[data-v="premium"] .seg__pill { transform: translateX(200%); }
.brows { display: grid; }
.brow { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; grid-template-areas: "img txt price" "acts acts acts"; column-gap: 14px; row-gap: 10px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); animation: enter .4s var(--ease) both; }
.brow__img { grid-area: img; border-radius: 16px; }
.brow__img img { display: block; width: 68px; height: 68px; border-radius: 16px; object-fit: cover; background: #fff; border: 1px solid var(--line); transition: opacity .3s; }
.brow__txt { grid-area: txt; display: grid; gap: 2px; min-width: 0; text-align: left; transition: opacity .3s; }
.brow__txt small { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.brow__txt small em { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-style: normal; font-weight: 700; font-size: .68rem; white-space: nowrap; }
.brow__txt b { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brow__store { font-size: .78rem; color: var(--muted); }
.brow__price { grid-area: price; font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity .3s; }
.brow__acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 8px; }
.brow.have .brow__img img, .brow.have .brow__txt, .brow.have .brow__price { opacity: .4; }
.brow.have .brow__price { text-decoration: line-through; }
.skel-row { height: 92px; background: linear-gradient(90deg, var(--soft), #fff, var(--soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 16px; margin-top: 10px; border: 0; }
.bud-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--ink); color: #fff; text-align: left; }
.bud-chip svg { width: 22px; height: 22px; flex: none; color: var(--accent-2); }
.bud-chip b { display: block; font-size: .92rem; }
.bud-chip small { color: rgba(255,255,255,.7); font-size: .8rem; }
.pcard__price { color: var(--ink); font-weight: 700; }
#budFoot .bud-btns { grid-template-columns: 1fr 1.6fr; }

/* Ajustes para telas pequenas (iPhone SE) */
.chal__tag { white-space: nowrap; }

@media (max-width: 380px) {
  .chal__lbl { display: none; }
  #budFoot .btn-black, #budFoot .btn-soft, [data-budget-here] { font-size: .95rem; padding: 15px 10px; }
  .shop-modes button { font-size: .8rem; }
  .bud-hero b { font-size: 2rem; }
  .shop-pill { font-size: .82rem; }
}

/* =================== Fase 4: conta =================== */
.login { text-align: center; padding-top: 4px; }
.login__mark { width: 60px; height: 60px; color: var(--ink); margin: 0 auto 10px; display: block; }
.login h1 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; color: var(--ink); }
.login__sub { margin: 6px auto 20px; max-width: 300px; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.oauth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; margin-top: 10px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .98rem; color: var(--ink); transition: transform .2s, background .2s; }
.oauth:active { transform: scale(.98); background: var(--soft); }
.oauth svg { width: 20px; height: 20px; }
.oauth--apple { background: var(--ink); border-color: var(--ink); color: #fff; }
.login__or { display: flex; align-items: center; gap: 10px; margin: 20px 0 4px; color: var(--muted); font-size: .8rem; }
.login__or::before, .login__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login .ep { text-align: left; }
.fld__pw { position: relative; }
.fld__pw input { padding-right: 84px; }
.fld__pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 10px; font-size: .8rem; font-weight: 700; color: var(--accent-ink); }
.chk { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .85rem; line-height: 1.4; color: var(--text); text-align: left; cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.chk button { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; padding: 0; }
.login__ok { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-size: .88rem; line-height: 1.4; text-align: left; }
.login__link { margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.login__switch { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.login__switch button { font-weight: 700; color: var(--ink); }
.guest { text-align: center; padding: 8px 0 6px; }
.guest .btn-black { margin-top: 18px; }
.sheet-sub { margin: 10px 0 4px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.qstatus { padding: 4px 9px; border-radius: 99px; font-size: .7rem; font-weight: 700; background: var(--soft); color: var(--muted); white-space: nowrap; }
.qstatus.q-answered { background: var(--accent-soft); color: var(--accent-ink); }
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; padding: 4px 0 10px; }
.msg { align-self: flex-start; max-width: 82%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: var(--soft); font-size: .92rem; line-height: 1.4; color: var(--text); }
.msg.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--ink); color: #fff; }
.msg small { display: block; margin-top: 4px; font-size: .72rem; opacity: .65; }
.composer--sheet { position: static; padding: 8px 0 0; background: none; border: 0; }

/* Aviso de prévia sem IA */
.demo-banner { display: grid; gap: 2px; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px; background: #FFF4D6; color: #6B4E00; font-size: .85rem; line-height: 1.4; }
.demo-banner b { font-size: .9rem; color: #4A3600; }

/* ----- Buscar Itens: busca com câmera no mesmo campo, faixa de foto, estados ----- */
#bTabs { position: sticky; top: calc(max(16px, env(safe-area-inset-top)) + 52px); z-index: 4; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); margin-left: -18px; margin-right: -18px; padding: 0 18px; }
.search-row { gap: 0; height: 52px; padding: 0 5px 0 0; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--line); transition: border-color .2s; }
.search-row:focus-within { border-color: var(--accent-ink); }
.search-row .search { height: 48px; border: 0; background: none; }
.search-row .photo-search { width: 42px; height: 42px; border-radius: 14px; }
.search-row .photo-search svg { width: 21px; height: 21px; }
.photo-strip { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--plaster); cursor: pointer; transition: background .2s; }
.photo-strip:active { background: var(--soft); }
.photo-strip__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.photo-strip__ico svg { width: 21px; height: 21px; }
.photo-strip > span:nth-child(2) { flex: 1; min-width: 0; }
.photo-strip b { display: block; color: var(--ink); font-size: .92rem; }
.photo-strip small { display: block; color: var(--muted); font-size: .8rem; }
.photo-strip__go { width: 20px; height: 20px; color: var(--muted); flex: none; }
.pkinds { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 40px; }
.pkinds button { min-height: 40px; }
.pros-intro { font-size: .9rem; line-height: 1.45; }
.procard .who b { font-size: 1.02rem; }
.procard__strip button { aspect-ratio: 1; }
.skel { display: block; border-radius: 18px; background: linear-gradient(90deg, var(--soft) 30%, #F8F7F3 50%, var(--soft) 70%) 0 0 / 300% 100%; animation: skel 1.3s linear infinite; }
.skel--mini { flex: 0 0 112px; height: 150px; }
.skel--card { height: 230px; margin-top: 14px; border-radius: 24px; }
@keyframes skel { to { background-position: -150% 0; } }
.state-box { display: grid; justify-items: center; gap: 6px; margin: 18px 0; padding: 22px 18px; border-radius: 22px; background: var(--plaster); text-align: center; }
.state-box b { font-family: var(--display); font-size: 1.02rem; color: var(--ink); }
.state-box span { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.state-box .btn-line { flex: none; margin-top: 8px; padding: 10px 18px; border-radius: 99px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ----- Comunidade com cara de rede social ----- */
.stories { display: flex; gap: 14px; overflow-x: auto; margin: 2px -18px 4px; padding: 4px 18px 8px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 70px; display: grid; justify-items: center; gap: 5px; }
.story__ring { position: relative; padding: 3px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); }
.story.is-on .story__ring { box-shadow: inset 0 0 0 2.5px var(--accent); }
.story__ring .av { box-shadow: 0 0 0 2px #fff; }
.story small { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; color: var(--text); }
.story--me .story__ring { box-shadow: none; }
.story--me i { position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2.5px #fff; }
.pcard { margin-bottom: 26px; }
.pcard__head { margin-bottom: 10px; }
.pcard__end { display: flex; align-items: center; gap: 8px; flex: none; }
.follow-link { min-height: 36px; padding: 0 4px; font-weight: 700; font-size: .86rem; color: var(--accent-ink); }
.follow-link.on { color: var(--muted); }
.pcard__media { margin: 0; width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; clip-path: inset(0 round 22px); }
.pacts { gap: 14px; margin-top: 8px; }
.pacts__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pacts__end .use-pill { margin-left: 0; }
.pcard__likes { margin-top: 8px; font-size: .88rem; color: var(--text); }
.pcard__likes b, .pcard__likes button, .pcard__cap button, .pcard__cm button { font-weight: 700; color: var(--ink); }
.pcard__cap { margin-top: 4px; }
.pcard__more { display: block; margin-top: 5px; min-height: 28px; color: var(--muted); font-size: .86rem; }
.pcard__cm { font-size: .88rem; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sugg-wrap { margin: 0 0 26px; padding: 14px 0 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sugg-head { display: flex; align-items: baseline; justify-content: space-between; }
.sugg-head b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.sugg-head .link { min-height: 36px; font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.sugg-wrap .sugg { margin: 8px -18px 14px; }
#feedTabs { margin-top: 6px; }
/* perfil: foto à esquerda e números ao lado, como nas redes sociais */
.prof { text-align: left; padding: 6px 0 2px; }
.prof__top { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.prof__av { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }
.prof__top .prof__stats { flex: 1; margin: 0; }
.prof__stats button { justify-items: center; min-height: 44px; }
.prof__name { font-size: 1.2rem; }
.prof__handle { margin-top: 0; }
.prof__bio { margin: 8px 0 0; max-width: none; }
.prof__meta { justify-content: flex-start; margin-top: 10px; }
.prof__btns { margin-top: 14px; }
.prof .nudge { text-align: left; }
.ptabs--icons { gap: 0; }
.ptabs--icons button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ptabs--icons svg { width: 19px; height: 19px; }
.pgrid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gthumb__likes { left: 8px; bottom: 7px; font-size: .72rem; }
.gthumb__flag { right: 6px; top: 6px; bottom: auto; min-width: 22px; height: 22px; padding: 0 6px; font-size: .7rem; }
.gthumb::after { inset: 60% 0 0; }
.prof .trophies { justify-content: flex-start; }
.guest .prof__av { margin: 0 auto 14px; }
@media (max-width: 360px) {
  .pacts { gap: 10px; }
  .pacts__end { gap: 8px; }
  .pacts__end .use-pill { padding: 8px 9px; }
  .pacts__end .use-pill span { display: none; }
  .prof__top { gap: 12px; }
  .prof__av { width: 72px; height: 72px; border-radius: 22px; }
  .prof__stats button { font-size: .72rem; }
  .prof__stats b { font-size: 1.1rem; }
}
.use-pill { white-space: nowrap; }

/* ----- pesquisa de pessoas na Comunidade ----- */
.usearch { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.usearch__box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--soft); color: var(--muted); }
.usearch__box:focus-within { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
.usearch__box svg { width: 19px; height: 19px; flex: none; }
.usearch__box input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); outline: none; }
.usearch__box input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.usearch__box button { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .7rem; flex: none; }
.usearch__cancel { min-height: 44px; font-weight: 600; font-size: .92rem; color: var(--ink); flex: none; }
.ures-head { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 4px; }
.ures-head b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.ures-head small { color: var(--muted); font-size: .8rem; }
.ures-head .link { min-height: 36px; font-weight: 700; font-size: .84rem; color: var(--accent-ink); }
.urow { display: flex; align-items: center; gap: 10px; padding: 9px 0; animation: enter .35s var(--ease) both; }
.urow .who { flex: 1; }
.urow .who > span { min-width: 0; }
.urow .who b, .urow .who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.urow .btn-follow { flex: none; padding: 8px 16px; font-size: .84rem; }
.urow__x { flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); font-size: .8rem; }
.ures-empty { color: var(--muted); font-size: .9rem; padding: 18px 0; text-align: center; }
.skel--row { height: 56px; margin: 10px 0; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .urow { animation: none; } }

/* Meu perfil: 4 abas com ícone em cima do nome */
.ptabs--4 button { flex-direction: column; gap: 3px; padding: 8px 0 9px; font-size: .76rem; }
.ptabs--4 svg { width: 21px; height: 21px; }
@media (max-width: 360px) { .ptabs--4 button { font-size: .68rem; } }

/* ----- Escanear ambiente ----- */
.shop-pills--one { grid-template-columns: 1fr; }
.shop-pill--scan { padding: 15px 12px; font-size: .95rem; }
.scan-q { margin: 18px 0 10px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.scan-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scan-opt { display: grid; align-content: start; gap: 4px; padding: 14px; border-radius: 20px; background: var(--accent-soft); text-align: left; min-height: 116px; transition: transform .2s; animation: enter .4s var(--ease) both; }
.scan-opt:active { transform: scale(.97); }
.scan-opt svg { width: 26px; height: 26px; color: var(--accent-ink); margin-bottom: 6px; }
.scan-opt b { font-family: var(--display); font-weight: 800; font-size: .98rem; color: var(--ink); line-height: 1.2; }
.scan-opt small { color: var(--accent-ink); font-size: .8rem; line-height: 1.35; }
.scan-opt--bud { animation-delay: 60ms; }
#scanBuy { scroll-margin-top: 80px; margin-top: 22px; }
.fitem.hint { animation: scanhint .7s var(--ease) var(--d, 0ms) both; }
@keyframes scanhint { 40% { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent); } }
@media (prefers-reduced-motion: reduce) { .scan-opt, .fitem.hint { animation: none; } }

/* post aberto: foto com cantos arredondados, como no resto do app */
.pd__media { margin: 0 18px; border-radius: 24px; overflow: hidden; -webkit-clip-path: inset(0 round 24px); clip-path: inset(0 round 24px); }

/* ===================== Revisão de toque no celular =====================
   Alvos de toque com pelo menos 44 px (padrão da Apple) sem mudar o visual do app.
   O prefixo #app garante prioridade sobre as regras antigas. */
#app .icon-btn, #app .gear, #app .circle-btn.sm { width: 44px; height: 44px; }
#app .x { width: 44px; height: 44px; }
#app .lu-send, #app .composer__send { width: 44px; height: 44px; }
#app .lu-field textarea { min-height: 44px; }
#app .seg { padding: 3px; }
#app .seg button, #app .shop-modes button, #app .sortsw button { min-height: 44px; padding-top: 0; padding-bottom: 0; }
#app .gems { min-height: 44px; }
#app .pact { min-height: 44px; min-width: 44px; justify-content: center; }
#app .pcard__head .who, #app .pd__head .who { min-height: 44px; }
#app .follow-link { min-height: 44px; padding: 0 8px; }
#app .fchip { min-height: 44px; padding: 0 14px; }
#app .res-back { min-height: 44px; padding: 0 14px 0 8px; }
#app .hot { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
#app .pill-ink, #app .pill-btn, #app .btn-line, #app .nudge button, #app .nudge__go { min-height: 44px; }
#app .mine-f button, #app .ifilters button, #app .qchips button, #app .pkinds button { min-height: 44px; }
#app .lu-chip { min-height: 44px; display: inline-flex; align-items: center; }
#app .sec-h__link { display: inline-flex; align-items: center; min-height: 44px; }
/* orçamento: "Trocar" e "Já tenho" viram botões de verdade, não texto sublinhado */
/* ações da linha: pílulas brancas e discretas; "Já tenho" é um botão de marcar */
#app .brow__acts .bact { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 11px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: .8rem; font-weight: 600; white-space: nowrap; }
#app .brow__acts .bact svg { width: 16px; height: 16px; flex: none; }
#app .brow__acts .bact i { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--soft); color: var(--text); font-style: normal; font-size: .7rem; font-weight: 700; }
#app .brow__acts .bact:active { background: var(--soft); }
#app .brow__acts .bact--have svg { opacity: .3; }
#app .brow__acts .bact--have[aria-pressed=true] { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-ink); }
#app .brow__acts .bact--have[aria-pressed=true] svg { opacity: 1; }
/* "Publicar" no card do projeto: área de toque maior que o desenho */
#app .proj__pub { min-height: 36px; display: inline-flex; align-items: center; }
#app .proj__pub::after { content: ""; position: absolute; inset: -6px; }
/* links dentro do texto: área de toque maior sem mexer na linha */
#app .cm__body small button, #app #s-onb p a { padding: 12px 2px; }
/* iPhone SE: as 3 colunas de estilos cabem na tela */
#app .stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#app .stile { min-width: 0; }
#app #resClose, #app .cfg-back { width: 44px !important; height: 44px !important; }
#app .offer__save { width: 44px; height: 44px; }
#app .btn-follow, #app .hold, #app .use-pill { min-height: 44px; }
#app .usearch__box input { height: 100%; }
#app .use-pill { min-width: 44px; justify-content: center; }
#app .lu-field textarea:placeholder-shown { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Buscar Itens: faixa de busca fixa e vitrine no jeito das lojas (19/11/2026) ----------
   Fundo gesso, cartões brancos planos (sem sombra), faixa verde-água clara com a busca, categorias em abas de texto. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#s-buscar { background: var(--plaster); }
.sband { position: sticky; top: 0; z-index: 5; padding: max(14px, env(safe-area-inset-top)) 18px 0; background: var(--accent-soft); }
.sband__row { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; }
.sband__back { flex: none; width: 40px; height: 44px; margin-left: -8px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.sband__back svg { width: 22px; height: 22px; }
#s-buscar .search { flex: 1; min-width: 0; margin: 0; height: 48px; padding: 0 4px 0 14px; gap: 8px; border: 0; border-radius: 99px; background: #fff; color: var(--muted); box-shadow: 0 1px 2px rgba(0,121,108,.14); transition: box-shadow .2s; }
#s-buscar .search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
#s-buscar .search input { font-size: 1rem; }
#s-buscar #qClear { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--ink); }
#s-buscar #qClear svg { width: 14px; height: 14px; }
.search__sep { flex: none; width: 1px; height: 22px; background: var(--line); }
#s-buscar .photo-search { flex: none; width: 42px; height: 42px; border-radius: 50%; background: none; color: var(--ink); }
#s-buscar .photo-search svg { width: 22px; height: 22px; }
#s-buscar .photo-search:focus-visible, .sband__back:focus-visible, .stabs button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.stabs { display: flex; gap: 22px; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
.stabs::-webkit-scrollbar { display: none; }
.stabs[hidden] { display: none; }
.stabs button { flex: none; position: relative; min-height: 40px; padding: 2px 0 12px; font-size: .92rem; font-weight: 500; color: rgba(28,28,26,.66); white-space: nowrap; }
.stabs button.on { color: var(--ink); font-weight: 700; }
.stabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--ink); }
.sec--busca { padding-top: 4px; }

/* atalhos redondos */
.shortcuts { display: flex; gap: 4px; overflow-x: auto; margin: 16px -18px 2px; padding: 2px 18px 4px; scrollbar-width: none; }
.shortcuts::-webkit-scrollbar { display: none; }
.sc { flex: 0 0 74px; display: grid; justify-items: center; align-content: start; gap: 7px; text-align: center; font-size: .74rem; font-weight: 600; color: var(--ink); line-height: 1.2; cursor: pointer; }
.sc__ico { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s var(--ease); }
.sc__ico svg { width: 24px; height: 24px; }
.sc__ico i { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--accent); color: #fff; font-style: normal; font-size: .68rem; font-weight: 800; box-shadow: 0 0 0 2px var(--plaster); }
.sc:active .sc__ico { transform: scale(.94); }
.sc:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 12px; }

/* vitrine (mais procurados) e ofertas: cartões brancos sobre o gesso */
#s-buscar .vgrid, #s-buscar .offers { grid-template-columns: 1fr 1fr; gap: 8px; }
#s-buscar .vcard { gap: 0; overflow: hidden; border-radius: 14px; background: #fff; }
#s-buscar .vcard__img { margin: 0; border-radius: 0; clip-path: none; aspect-ratio: 1; background: #fff; }
#s-buscar .vcard__txt { display: grid; gap: 3px; padding: 10px 12px 12px; }
#s-buscar .vcard b { min-height: 0; font-weight: 400; font-size: .9rem; color: var(--text); }
#s-buscar .vcard em { margin: 0; font-size: 1.12rem; }
#s-buscar .vcard small { font-size: .74rem; color: var(--muted); }
#s-buscar .vrow { grid-auto-columns: 42%; gap: 8px; }
#s-buscar .offer { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; }
#s-buscar .offer__img { border-radius: 0; aspect-ratio: 1; background: #fff; }
#s-buscar .offer__img img { object-fit: contain; padding: 6px; }
#s-buscar .offer__save { top: auto; bottom: 8px; right: 8px; width: 38px; height: 38px; background: #fff; box-shadow: 0 2px 8px rgba(28,28,26,.16); }
#s-buscar .match { top: 8px; bottom: auto; left: 8px; border-radius: 6px; padding: 4px 7px; font-size: .66rem; }
#s-buscar .match.m-parecido { box-shadow: inset 0 0 0 1px var(--line); }
#s-buscar .offer__txt { flex: 1; display: grid; align-content: start; gap: 2px; margin: 0; padding: 10px 12px 12px; text-align: left; }
#s-buscar .offer__txt b { margin: 0; font-weight: 400; font-size: .88rem; color: var(--text); }
#s-buscar .offer__txt strong { margin-top: 4px; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
#s-buscar sup, .mini sup { position: relative; top: -.5em; margin-left: 1px; font-size: .55em; font-weight: 700; vertical-align: baseline; }
#s-buscar .offer__txt small { font-size: .76rem; font-weight: 500; color: var(--muted); }
#s-buscar .offer__txt em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--accent-ink); }
#s-buscar .offer:active .offer__img img { transform: scale(.98); }

/* barra dos resultados: ordenar, filtros e faixas de preço */
.rbar { display: flex; align-items: center; gap: 8px; overflow-x: auto; margin: 12px -18px 0; padding: 2px 18px 4px; scrollbar-width: none; }
.rbar::-webkit-scrollbar { display: none; }
.rchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.rchip svg { width: 16px; height: 16px; flex: none; }
.rchip.on { background: var(--ink); color: #fff; box-shadow: none; }
.rchip i { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent-2); color: var(--accent-on); font-style: normal; font-size: .68rem; font-weight: 800; }
.rbar__sep { flex: none; width: 1px; height: 24px; background: var(--line); }
#app #s-buscar .rbar .fchip { min-height: 40px; border: 0; box-shadow: inset 0 0 0 1px var(--line); }
#app #s-buscar .rbar .fchip.on { box-shadow: none; }
#s-buscar .res-count { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 10px; font-size: .82rem; color: var(--muted); }
#s-buscar .res-count button { color: var(--accent-ink); font-weight: 700; font-size: .82rem; min-height: 32px; }
#s-buscar .idcard { margin-top: 14px; background: #fff; }
#s-buscar .state-box { background: #fff; }

/* digitando: primeira sugestão é buscar o texto em todas as lojas */
.qsugg { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; font-size: .92rem; }
.qsugg svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); }
.qsugg svg:last-child { color: var(--muted); }
.qsugg span { flex: 1; min-width: 0; }
#s-buscar .qitems { gap: 0; padding: 0 14px; border-radius: 14px; background: #fff; }
#s-buscar .qitem:last-child { border-bottom: 0; }
#s-buscar .mini { padding-bottom: 10px; overflow: hidden; border-radius: 14px; background: #fff; }
#s-buscar .mini img { width: 112px; height: 112px; margin: 0 0 6px; border-radius: 0; object-fit: contain; background: #fff; }
#s-buscar .mini b, #s-buscar .mini small { padding: 0 10px; }
#s-buscar .budrow { background: #fff; }
#s-buscar .recent__img { background-color: #fff; }

/* janela de filtros */
.fsheet__h { margin: 4px 0 10px; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink); }
.fsheet__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fsheet__acts { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 6px; }
.fsheet__acts .btn-soft, .fsheet__acts .btn-black { margin: 0; }
@media (prefers-reduced-motion: reduce) { .sc__ico, #s-buscar .search { transition: none; } }

/* grade desencontrada da Buscar Itens: fotos de ponta a ponta, altas e médias intercaladas */
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.mcol { display: grid; gap: 8px; min-width: 0; }
#s-buscar .mcell .vcard__img, #s-buscar .mcell .offer__img { aspect-ratio: var(--ar, 4 / 5); }
#s-buscar .mcell .vcard__img img, #s-buscar .mcell .offer__img img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
#s-buscar .mcell .vcard, #s-buscar .mcell .offer { width: 100%; }
#s-buscar .vcard, #s-buscar .offer__img, #s-buscar .offer__txt { padding: 0; }
#s-buscar .offer__txt { padding: 10px 12px 12px; }
#s-buscar .mcell .vcard__img, #s-buscar .mcell .offer__img { display: block; width: 100%; }
#s-buscar .offer__save { top: 8px; right: 8px; bottom: auto; }

/* Filtros em lista (20/11/2026): seções que abrem e fecham, linhas com marcador, número de ofertas e botão fixo embaixo */
.flist { display: grid; margin: 0 -18px; border-top: 1px solid var(--line); }
.fsec { border-bottom: 1px solid var(--line); }
.fsec__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 18px; text-align: left; }
.fsec__head > span { display: grid; gap: 2px; min-width: 0; }
.fsec__head b { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink); }
.fsec__head small { color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fsec.open .fsec__head small { color: var(--accent-ink, #00796C); font-weight: 600; }
.fsec__chev { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .2s; }
.fsec.open .fsec__chev { transform: rotate(180deg); }
.fsec__body { padding: 0 0 10px; }
.frow { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 18px; text-align: left; font-size: .95rem; color: var(--ink); }
.frow:active { background: var(--soft, #F1EFEA); }
.frow:disabled { opacity: .4; }
.frow__label { flex: 1; min-width: 0; display: grid; gap: 2px; }
.frow__label small { color: var(--muted); font-size: .82rem; }
.frow__n { flex: none; min-width: 28px; text-align: right; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.frow__mark { flex: none; position: relative; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px #C7C5BE; transition: background .15s, box-shadow .15s; }
.frow__mark--radio { border-radius: 50%; }
.frow[aria-checked=true] .frow__mark { background: var(--ink); box-shadow: none; }
.frow[aria-checked=true] .frow__mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.frow[aria-checked=true] .frow__mark--radio { background: #fff; box-shadow: inset 0 0 0 7px var(--ink); }
.frow[aria-checked=true] .frow__mark--radio::after { display: none; }
.frow--switch { min-height: 64px; border-bottom: 1px solid var(--line); }
.frow--switch b { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.fswitch { flex: none; position: relative; width: 46px; height: 28px; border-radius: 99px; background: #D9D7D0; transition: background .2s; }
.fswitch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.frow--switch[aria-checked=true] .fswitch { background: var(--accent, #00B39E); }
.frow--switch[aria-checked=true] .fswitch::after { transform: translateX(18px); }
.frange { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; padding: 8px 18px 4px; }
.frange label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.frange input { width: 100%; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--plaster, #F6F5F1); font: inherit; font-size: 16px; color: var(--ink); }
.frange input:focus { outline: none; border-color: var(--accent, #00B39E); background: #fff; }
.frange > span { padding-bottom: 12px; color: var(--muted); font-size: .85rem; }
.frange__ok { grid-column: 1 / -1; min-height: 44px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; color: var(--ink); }
.fmore { margin: 2px 18px 0; min-height: 40px; color: var(--accent-ink, #00796C); font-weight: 700; font-size: .9rem; }
.fsheet__acts { position: sticky; bottom: -30px; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin: 0 -18px -30px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line); }
.fsheet__acts button:disabled { opacity: .45; }
@media (prefers-reduced-motion: reduce) { .fsec__chev, .fswitch, .fswitch::after, .frow__mark { transition: none; } }
