:root {
  --bg: #EFEAE1;
  --card: #F8F5EF;
  --ink: #191815;
  --ink2: #5d574d;
  --muted: #8C857A;
  --line: rgba(25,24,21,.13);
  --soft: #E3DCCF;
  --coral: #DD4F2B;
  --sun: #E3DCCF;
  --blue: #2C5561;
  --mint: #34402A;
  --grape: #2C5561;
  --land: #D6CEBF;
  --urucum: #DD4F2B;
  --mato: #34402A;
  --mare: #2C5561;
  --check: #23804F;
  --terra: #DDD6C8;
  --display: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px;
  --sh: none;
  --grid-line: rgba(25,24,21,.045);
  --grid: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: var(--body); color: var(--ink); font-size: 15px; line-height: 1.4;
  background: #F3E6D0 radial-gradient(circle at 1px 1px, #E2D1B5 1px, transparent 0) 0 0/18px 18px;
  min-height: 100vh; display: flex; justify-content: center;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.05; }

.phone { width: 100%; max-width: 460px; min-height: 100vh; background: var(--bg); position: relative; padding-bottom: 96px; }
@media (min-width: 520px) { .phone { margin: 24px 0; min-height: calc(100vh - 48px); border: 1px solid var(--line); border-radius: 32px; box-shadow: none; overflow: hidden; } }

/* topo */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; position: sticky; top: 0; z-index: 20; background: var(--bg); }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; display: flex; align-items: center; gap: 2px; }
.logo b { color: var(--coral); }
.logo i { font-style: normal; font-size: 13px; background: var(--ink); color: var(--sun); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-left: 4px; transform: rotate(-8deg); }
.top-r { display: flex; gap: 8px; align-items: center; }
.pill { font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; background: var(--sun); white-space: nowrap; }

main { padding: 6px 20px 20px; }
.view { animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } }

/* abas */
.tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 460px; display: flex; background: var(--ink); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 30; }
@media (min-width: 520px) { .tabs { position: absolute; } }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #B9B0A2; padding: 6px 0; border-radius: 14px; }
.tabs a span { font-size: 20px; filter: grayscale(1); opacity: .7; }
.tabs a.on { color: var(--ink); background: var(--sun); }
.tabs a.on span { filter: none; opacity: 1; }
.fab { position: fixed; right: max(20px, calc(50% - 210px)); bottom: 92px; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: var(--coral); color: #fff; font-size: 32px; font-weight: 500; line-height: 1; box-shadow: var(--sh); z-index: 25; transition: transform .15s; }
@media (min-width: 520px) { .fab { position: absolute; right: 20px; } }
.fab:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* blocos */
.hello { font-family: var(--display); font-size: 34px; font-weight: 800; margin: 10px 0 4px; letter-spacing: -0.035em; }
.hello em { font-style: normal; color: var(--coral); }
.sub { color: var(--ink2); margin: 0 0 16px; }
.sec-t { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 10px; }
.sec-t h2 { font-size: 21px; }
.sec-t small { color: var(--muted); font-weight: 500; }

.search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 4px 6px 4px 16px; box-shadow: var(--sh); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: none; padding: 9px 0; min-width: 0; }
.search button { border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: 9px 14px; font-weight: 700; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; }
.chip .n { opacity: .55; font-weight: 500; margin-left: 3px; }

/* cards de lista */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lcard { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--sh); color: #fff; position: relative; overflow: hidden; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .15s; }
.lcard:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.lcard.big { grid-column: span 2; min-height: 170px; }
.lcard .em { font-size: 40px; line-height: 1; }
.lcard.big .em { font-size: 58px; position: absolute; right: 14px; top: 12px; transform: rotate(8deg); }
.lcard h3 { font-size: 22px; margin-top: 10px; }
.lcard.big h3 { font-size: 30px; }
.lcard p { margin: 4px 0 0; font-size: 13px; opacity: .92; }
.lcard.light { color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: rgba(0,0,0,.18); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #fff; border-radius: 99px; transition: width .4s; }
.lcard.light .bar i { background: var(--ink); }
.lcard .meta { font-size: 12px; font-weight: 700; margin-top: 6px; display: flex; justify-content: space-between; }

.ia-card { border: 1px dashed rgba(25,24,21,.35); border-radius: var(--r); padding: 16px; margin-top: 14px; background: var(--card); }
.ia-card b { font-family: var(--display); font-size: 18px; }
.ia-card p { margin: 6px 0 0; color: var(--ink2); font-size: 14px; }

/* hero da lista */
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; margin: 4px 0 10px; border: 0; background: none; padding: 0; }
.hero { border: 1px solid var(--line); border-radius: 24px; padding: 20px; color: #fff; box-shadow: var(--sh); position: relative; overflow: hidden; }
.hero.light { color: var(--ink); }
.hero .em { position: absolute; right: -6px; bottom: -14px; font-size: 110px; transform: rotate(-10deg); opacity: .95; }
.hero .kick { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 2px 0 6px; }
.hero p { margin: 0; max-width: 72%; font-size: 14px; }
.ring { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.ring .rt { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; }
.ring small { display: block; font-size: 12px; font-weight: 500; opacity: .9; }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; }
.hbtn { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 7px 12px; font-weight: 700; font-size: 13px; }

/* curiosidades */
.facts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; }
.facts::-webkit-scrollbar { display: none; }
.fact { flex: none; width: 78%; scroll-snap-align: start; background: var(--sun); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh); font-size: 15px; font-weight: 500; position: relative; }
.fact:nth-child(3n+2) { background: #FFD9CF; }
.fact:nth-child(3n) { background: #D8E4FF; }
.fact .q { font-family: var(--display); font-weight: 800; font-size: 13px; display: block; margin-bottom: 6px; }

/* itens */
.items { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; transition: background .2s; }
.item.done { background: #F1FBF5; }
.item.done .it-n { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--mint); }
.ck { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: transparent; transition: all .2s; padding: 0; }
.ck:hover { background: var(--soft); }
.item.done .ck { background: var(--mint); color: #fff; animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.25) rotate(-8deg); } }
.it-b { flex: 1; min-width: 0; }
.it-n { font-weight: 700; font-size: 15px; }
.it-d { color: var(--ink2); font-size: 13.5px; margin-top: 2px; }
.it-m { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.tag { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; background: var(--soft); }
.tag.hot { background: var(--sun); }
.tag.when { background: #DDF3E6; color: #0B5D3B; }
.tag.money { background: none; padding: 0; color: var(--muted); }
.react { font-size: 18px; margin-left: auto; }

/* mapa */
.map-wrap { background: #CFE3F5; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh); overflow: hidden; position: relative; }
.map-wrap svg { display: block; width: 100%; height: auto; transition: all .4s; }
.map-wrap path { fill: var(--land); stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s; }
.map-wrap path:hover { fill: #D3C6AF; }
.map-wrap path.fui { fill: var(--coral); }
.map-wrap path.quero { fill: var(--sun); }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; transform: translate(-50%, -130%); white-space: nowrap; display: none; }
.legend { display: flex; gap: 14px; font-size: 12px; font-weight: 700; margin: 10px 2px 0; color: var(--ink2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--line); display: inline-block; }
.hint { font-size: 12px; color: var(--muted); margin: 6px 2px 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.stat b { font-family: var(--display); font-size: 30px; font-weight: 800; display: block; line-height: 1; letter-spacing: -0.03em; }
.stat span { font-size: 12px; color: var(--ink2); font-weight: 500; }
.stat.hl { background: var(--coral); color: #fff; }
.stat.hl span { color: #fff; opacity: .9; }

.conts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cont { display: grid; grid-template-columns: 118px 1fr 52px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; position: relative; }
.cont .track { height: 14px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.cont .track i { display: block; height: 100%; background: var(--coral); border-radius: 0 4px 4px 0; }
.cont .v { text-align: right; color: var(--ink2); font-weight: 500; font-variant-numeric: tabular-nums; }

.flags { display: flex; flex-wrap: wrap; gap: 8px; }
.flag { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px 4px 6px; font-size: 13px; font-weight: 700; }
.flag .f { font-size: 18px; }
.flag.q { background: #FFF3C4; }
.flag button { border: 0; background: none; padding: 0 0 0 2px; font-size: 14px; color: var(--muted); }

/* retrô */
.persona { border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: var(--grape); color: #fff; box-shadow: var(--sh); position: relative; overflow: hidden; }
.persona .kick { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.persona h2 { font-size: 30px; margin: 6px 0 4px; }
.persona p { margin: 0; opacity: .92; }
.persona .em { position: absolute; right: 10px; top: 6px; font-size: 64px; transform: rotate(12deg); }

.chart { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 14px 10px; }
.cols { display: flex; align-items: flex-end; gap: 8px; height: 120px; border-bottom: 1px solid var(--soft); }
.col { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; cursor: default; }
.col i { display: block; width: 100%; background: var(--coral); border-radius: 4px 4px 0 0; min-height: 2px; transition: height .5s; }
.col:hover i { background: #E0451F; }
.col .tt { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.col:hover .tt { opacity: 1; }
.col-l { display: flex; gap: 8px; margin-top: 6px; }
.col-l span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; }
.chart-t { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.chart-t small { color: var(--muted); font-weight: 500; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px; text-align: center; font-size: 12px; font-weight: 700; }
.badge .bi { font-size: 30px; display: block; margin-bottom: 4px; }
.badge small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.badge.off { border-style: dashed; opacity: .5; }
.badge.off .bi { filter: grayscale(1); }

.cta { display: block; width: 100%; border: 1px solid var(--line); background: var(--ink); color: #fff; border-radius: 99px; padding: 14px; font-weight: 700; font-size: 16px; box-shadow: none; margin-top: 10px; }
.cta.alt { background: var(--card); color: var(--ink); box-shadow: var(--sh); }
.linkbtn { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 8px 0; }

/* diário */
.diary { display: flex; flex-direction: column; gap: 8px; }
.drow { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.drow .e { font-size: 20px; }
.drow b { font-size: 14px; display: block; }
.drow small { color: var(--muted); font-size: 12px; }
.drow .r { margin-left: auto; font-size: 18px; }
.empty { text-align: center; color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 16px; font-size: 14px; }

/* sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(23,20,15,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet-bg[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: var(--bg); width: 100%; max-width: 460px; border: 1px solid var(--line); border-bottom: 0; border-radius: 26px 26px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; animation: up .28s cubic-bezier(.2,.9,.3,1.2); }
@keyframes up { from { transform: translateY(100%); } }
.sheet h2 { font-size: 24px; margin-bottom: 4px; }
.sheet .sub { margin-bottom: 14px; }
.field { display: block; margin-bottom: 12px; }
.field span { font-size: 12px; font-weight: 700; display: block; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; font: inherit; font-size: 16px; background: var(--card); outline: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { box-shadow: var(--sh); }
.emojis { display: flex; gap: 6px; flex-wrap: wrap; }
.emojis button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 22px; }
.emojis button.on { border-color: var(--ink); background: var(--sun); }
.reacts { display: flex; gap: 10px; }
.reacts button { flex: 1; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px 4px; font-size: 26px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.reacts button small { font-size: 12px; font-weight: 700; }
.reacts button.on { background: var(--sun); box-shadow: var(--sh); }

.story-prev { display: flex; justify-content: center; margin: 6px 0 12px; }
.story-prev canvas { width: 62%; max-width: 260px; height: auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.seg button { flex: 1; border: 0; background: var(--card); padding: 8px; font-weight: 700; font-size: 13px; }
.seg button.on { background: var(--ink); color: #fff; }

.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 60; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.confetti { position: fixed; pointer-events: none; z-index: 70; font-size: 18px; animation: boom .8s ease-out forwards; }
@keyframes boom { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
table.sr-t { width: 100%; font-size: 12px; border-collapse: collapse; margin-top: 8px; }
table.sr-t td, table.sr-t th { text-align: left; padding: 4px 2px; border-bottom: 1px solid var(--soft); }
details.tbl summary { font-size: 12px; color: var(--muted); cursor: pointer; margin-top: 6px; }

/* ajustes */
html, body { overflow-x: hidden; }
.phone { overflow-x: clip; }
.lcard.big h3, .lcard.big p { padding-right: 64px; }

/* ===== v2 ===== */
.tabs a { font-size: 10.5px; }
.pill { color: var(--ink); }
.mais { font-size: 13px; font-weight: 700; }
.hint { font-size: 12px; color: var(--muted); margin: 6px 2px 0; }

/* placeholder de foto (Wikipedia / usuário) */
.ph { background: var(--soft) center/cover no-repeat; display: grid; place-items: center; position: relative; overflow: hidden; }
.ph span { font-size: 28px; opacity: .7; }
.ph.ok span { display: none; }
.ph.big { height: 230px; border-radius: 18px; border: 1px solid var(--line); margin: 4px 0 0; }
.ph.big span { font-size: 64px; }
.credit { font-size: 11px; color: var(--muted); margin: 4px 2px 0; }

/* item com miniatura */
.it-b { cursor: pointer; }
.it-onde { font-size: 12.5px; font-weight: 700; color: var(--coral); margin-top: 1px; }
.thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; }
.thumb .ph { width: 100%; height: 100%; }
.thumb .ph span { font-size: 22px; }
.tag.top { background: var(--ink); color: var(--sun); }
.react { border: 0; background: none; padding: 0; font-size: 18px; margin-left: auto; }
.react-ask { margin-left: auto; display: flex; gap: 2px; align-items: center; font-size: 12px; color: var(--muted); }
.react-ask button { border: 0; background: none; font-size: 18px; padding: 0 2px; }

/* sheet de item */
.grab { width: 44px; height: 5px; border-radius: 9px; background: var(--soft); margin: -8px auto 14px; }
.onde-big { font-weight: 700; color: var(--coral); margin: 6px 0 0; }
.acts { display: flex; gap: 8px; margin: 4px 0 6px; flex-wrap: wrap; }
.abtn { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.mini-post { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.mini-post .ph { width: 72px; height: 72px; border-radius: 10px; flex: none; }
.mini-post p { margin: 2px 0 0; font-size: 13px; color: var(--ink2); }
.nota-s { font-size: 12px; font-weight: 700; background: var(--sun); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }

/* passos */
.passos { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--sh); }
.ps-h { display: flex; justify-content: space-between; align-items: center; }
.mini-a { border: 1px solid var(--line); background: var(--sun); border-radius: 99px; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.ps-n { font-size: 14px; color: var(--ink2); margin-top: 8px; }
.ps-n span { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: -0.02em; }
.ps-cmp { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ps-cmp span { font-size: 12px; font-weight: 700; background: #DDF3E6; color: #0B5D3B; border-radius: 6px; padding: 2px 8px; }
.ps-bars { display: flex; gap: 6px; align-items: flex-end; height: 70px; margin-top: 12px; }
.ps-b { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.ps-b i { display: block; width: 100%; max-width: 40px; background: var(--mint); border-radius: 4px 4px 0 0; min-height: 3px; }
.ps-b small { font-size: 10px; color: var(--muted); font-weight: 700; }
.ps-acts { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.ps-acts button { flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 7px 4px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.trackbar { position: sticky; top: 52px; z-index: 19; margin: 0 20px; background: var(--mint); color: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.trackbar[hidden] { display: none; }
.trackbar button { margin-left: auto; border: 0; background: #fff; color: var(--ink); border-radius: 99px; padding: 4px 10px; font-weight: 700; }
.trackbar .dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* feed */
.composer-cta { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 10px 12px; text-align: left; box-shadow: var(--sh); }
.composer-cta span:nth-child(2) { flex: 1; color: var(--muted); }
.composer-cta b { font-size: 22px; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; text-transform: lowercase; flex: none; border: 1px solid var(--line); }
.feed { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--sh); }
.post header { display: flex; gap: 10px; align-items: center; padding: 10px 12px; }
.post header b { font-size: 14px; display: block; }
.post header small { color: var(--muted); font-size: 12px; }
.ptype { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--soft); white-space: nowrap; }
.ptype.dica { background: #D8E4FF; }
.pfoto { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pfoto .ph { aspect-ratio: 4/5; max-height: 460px; width: 100%; }
.pfoto .ph span { font-size: 48px; }
.nota-big { position: absolute; right: 12px; top: 12px; width: 74px; height: 74px; border-radius: 50%; background: var(--sun); border: 1px solid var(--line); display: flex; align-items: baseline; justify-content: center; padding-top: 16px; transform: rotate(10deg); box-shadow: var(--sh); }
.nota-big b { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.nota-big small { font-weight: 800; font-size: 12px; }
.pbody { padding: 12px 14px 4px; }
.pbody h3 { font-size: 20px; }
.ponde { display: inline-block; font-size: 13px; font-weight: 700; color: var(--coral); margin-top: 3px; }
.pdest { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pdest span { font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; }
.pbody p { margin: 8px 0 0; font-size: 14px; }
.post footer { display: flex; gap: 6px; padding: 10px 12px 12px; }
.post footer button { border: 1px solid var(--line); background: var(--bg); border-radius: 99px; padding: 6px 10px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.post footer button.on { background: var(--sun); }
.pminis { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; }
.pminis::-webkit-scrollbar { display: none; }
.pmini { flex: none; width: 128px; position: relative; }
.pmini .ph { width: 128px; height: 160px; border-radius: 16px; border: 1px solid var(--line); }
.pmini b { display: block; font-size: 13px; margin-top: 6px; line-height: 1.2; }
.pmini small { color: var(--muted); font-size: 11px; }
.pm-badge { position: absolute; top: 8px; left: 8px; background: var(--sun); border: 1px solid var(--line); border-radius: 99px; font-size: 11px; font-weight: 800; padding: 1px 7px; }

/* composer */
.foto-up { border: 1px dashed rgba(25,24,21,.35); border-radius: 18px; background: var(--card); min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; margin-bottom: 14px; position: relative; overflow: hidden; text-align: center; padding: 10px; }
.foto-up b { font-size: 36px; }
.foto-up span { font-weight: 700; font-size: 14px; }
.foto-up em { font-style: normal; color: var(--coral); font-weight: 500; font-size: 12px; }
.foto-up.tem { border-style: solid; padding: 0; }
.foto-up img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.foto-up .troca { position: absolute; bottom: 8px; right: 8px; background: var(--ink); color: #fff; border-radius: 99px; padding: 4px 10px; font-size: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notas { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.notas button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 9px 0; font-weight: 800; font-family: var(--display); font-size: 16px; }
.notas button.on { background: var(--sun); box-shadow: none; }
.dests { display: flex; gap: 6px; flex-wrap: wrap; }
.dests button { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.dests button.on { background: var(--ink); color: #fff; }
.cta.off { background: var(--soft); color: var(--muted); box-shadow: none; border-color: var(--soft); }
.opt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.opt b { font-size: 28px; }
.opt strong { display: block; font-size: 15px; }
.opt small { color: var(--ink2); font-size: 13px; }

/* mapa v2 */
.map-wrap circle { fill: var(--land); stroke: #fff; stroke-width: .6; vector-effect: non-scaling-stroke; cursor: pointer; }
.map-wrap circle.fui { fill: var(--coral); stroke: var(--ink); }
button.flag { cursor: pointer; }
.flag small { font-size: 12px; opacity: .6; }
.fthumb { width: 26px; height: 26px; border-radius: 50%; background: center/cover; border: 1px solid var(--line); display: inline-block; flex: none; }
.fthumb.big { width: 44px; height: 44px; border-radius: 12px; }
.plist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.prow { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--soft); }
.prow:last-child { border-bottom: 0; }
.prow.on { background: #FFF0EB; }
.prow .f { font-size: 22px; }
.prow .pn { flex: 1; font-weight: 600; font-size: 14px; }
.prow.on .pn { font-weight: 700; }
.pfoto-b { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg) center/cover; font-size: 15px; padding: 0; }
.ck.sm { width: 30px; height: 30px; font-size: 15px; }
.prow.on .ck { background: var(--coral); color: #fff; }

/* estúdio */
.st-row { margin-bottom: 4px; }
.lbl { font-size: 12px; font-weight: 700; margin: 12px 0 6px; }
.lbl small { font-weight: 500; color: var(--muted); }
.sel { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-weight: 700; background: var(--card); margin-top: 8px; }
.swatches { display: flex; gap: 10px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); padding: 0; }
.sw.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.foto-row { display: flex; align-items: center; gap: 10px; }
.foto-row small { color: var(--muted); font-size: 12px; }
.story-prev canvas { width: 70%; }

/* ===== v3: favoritos + popup de check ===== */
.it-r { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fav { border: 0; background: none; font-size: 22px; line-height: 1; padding: 4px; transition: transform .15s; }
.fav:active { transform: scale(1.3); }
.fav.on { animation: pop .35s ease; }
.it-lista { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.abtn.fav-on { background: #FFE3EC; }
.pop-check { text-align: center; }
.pc-img { position: relative; width: 150px; height: 150px; margin: 4px auto 14px; transform: rotate(-4deg); }
.pc-img .ph { width: 100%; height: 100%; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--sh); }
.pc-img .ph span { font-size: 56px; }
.pc-ok { position: absolute; right: -14px; bottom: -10px; width: 54px; height: 54px; border-radius: 50%; background: var(--mint); color: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 28px; font-weight: 800; animation: pop .5s ease; }
.pc-msg { display: inline-block; background: var(--sun); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: 14px; margin: 8px 0 4px; }
.pop-check .linkbtn { display: block; margin: 6px auto 0; }

/* ===== v4: estúdio ===== */
.novo { background: var(--coral); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; margin-left: 4px; }
.foto-cta { margin-top: 14px; background: var(--coral); border-color: var(--ink); box-shadow: var(--sh); }

/* ===== v5: carrossel de fotos ===== */
.car { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car .slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: block; }
.car .slide > .ph { width: 100%; height: 100%; }
.pfoto .car .slide { aspect-ratio: 4/5; max-height: 460px; }
.pfoto .car .slide .ph { aspect-ratio: auto; max-height: none; }
.car.big { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 4px 0 0; }
.car.big .slide { height: 260px; }
.car.big .slide .ph span { font-size: 64px; }
.car .cred { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); background: rgba(23,20,15,.6); color: #fff; font-size: 10.5px; padding: 2px 8px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.25); transition: all .2s; }
.car-dots i.on { background: #fff; width: 16px; border-radius: 99px; }
.car-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: 22px; font-weight: 800; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; box-shadow: none; }
.car-nav.prev { left: 10px; } .car-nav.next { right: 10px; }
.car-nav[hidden] { display: none; }
@media (hover: none) { .car-nav { opacity: .85; } }
.mini-post .ph { position: relative; }
.nfotos { position: absolute; right: 4px; bottom: 4px; background: var(--ink); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; border-radius: 99px; padding: 1px 6px; }

/* composer com várias fotos */
.fotos-up { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 12px; scrollbar-width: none; }
.fu { flex: none; width: 96px; height: 120px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft) center/cover; position: relative; }
.fu em { position: absolute; left: 6px; bottom: 6px; background: var(--sun); border: 1px solid var(--line); font-style: normal; font-size: 10px; font-weight: 800; border-radius: 99px; padding: 0 6px; }
.fu button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(23,20,15,.75); color: #fff; font-size: 12px; padding: 0; }
.fu.add { border-style: dashed; background: var(--card); font-size: 30px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.fu.add small { font-size: 11px; color: var(--muted); font-weight: 700; }

/* ===== v5: boas-vindas + gostos ===== */
.onb { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; animation: fade .25s; }
@media (min-width: 520px) { .onb { position: absolute; border-radius: 30px; } }
.onb-in { min-height: 100%; padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.onb .logo { margin-bottom: 26px; }
.onb .hello { font-size: 40px; }
.onb-q { font-size: 23px; margin: 6px 0 6px; }
.onb-input { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; font-size: 20px; font-weight: 700; background: var(--card); box-shadow: var(--sh); outline: none; margin-top: 6px; }
.onb-input:focus { box-shadow: none; }
.onb form .cta { margin-top: 16px; }
.gostos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 8px; }
.gosto { position: relative; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 11px 10px; font-weight: 700; font-size: 13.5px; line-height: 1.15; transition: transform .1s; }
.gosto span { font-size: 22px; flex: none; }
.gosto:active { transform: scale(.97); }
.gosto.on { background: var(--sun); box-shadow: var(--sh); }
.gosto .ord { position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; border: 1px solid var(--line); font-size: 11px; display: grid; place-items: center; animation: pop .3s ease; }
.onb-links { display: flex; justify-content: space-between; margin-top: 4px; }
.onb-steps { display: flex; justify-content: center; gap: 6px; margin-top: auto; padding-top: 22px; }
.onb-steps i { width: 8px; height: 8px; border-radius: 99px; background: var(--soft); }
.onb-steps i.on { width: 22px; background: var(--ink); }
.ola { font-weight: 700; color: var(--ink2); margin: 8px 0 -4px; font-size: 15px; }
.tag.pra { background: #FFE3EC; color: #A3123A; }
.chip.pra.on { background: #A3123A; border-color: #A3123A; }
.pra-card { border: 0; background: none; padding: 0; text-align: left; font: inherit; }
.sec-t .mais.linkbtn { text-decoration: none; font-weight: 700; color: var(--ink); padding: 0; font-size: 13px; }

/* ===== v6: loading da busca ===== */
.load { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; animation: fade .25s; transition: opacity .3s; }
.load.fora { opacity: 0; }
@media (min-width: 520px) { .load { position: absolute; border-radius: 30px; } }
.load-in { min-height: 100%; padding: 22px 24px calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.load-in > :first-child { align-self: flex-end; }
.load-som { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; box-shadow: none; }
.load-som.on { background: var(--sun); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 4px; background: var(--ink); border-radius: 2px; }
.load-som.on .eq i { animation: eq .8s ease-in-out infinite; }
.load-som.on .eq i:nth-child(2) { animation-delay: .2s; } .load-som.on .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.load-ck { width: 132px; height: 132px; margin: 34px 0 18px; }
.load-ck svg { width: 100%; height: 100%; overflow: visible; }
.load-ck circle { fill: none; stroke-width: 10; }
.load-ck .c-bg { stroke: var(--soft); fill: var(--card); }
.load-ck .c-arc { stroke: var(--cor); stroke-linecap: round; stroke-dasharray: 80 314; transform-origin: 60px 60px; animation: gira 1.1s linear infinite; }
.load-ck .c-ok { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
@keyframes gira { to { transform: rotate(360deg); } }
.load.pronto .c-arc { animation: none; stroke-dasharray: 314 0; transition: stroke-dasharray .35s; }
.load.pronto .c-ok { stroke-dashoffset: 0; transition: stroke-dashoffset .4s .25s ease-out; }
.load.pronto .load-ck { animation: pop .5s .3s ease; }
.load:not(.pronto) .load-ck svg { animation: pulsa 1.6s ease-in-out infinite; }
@keyframes pulsa { 50% { transform: scale(1.05); } }
.load-kick { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--cor); }
.load h2 { font-size: 27px; margin: 8px 0 6px; letter-spacing: -0.03em; }
.load-passo { color: var(--ink2); font-size: 14px; font-weight: 500; min-height: 20px; margin: 0; }
.load-fato { margin: 26px 0 0; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px 16px; box-shadow: none; text-align: left; transform: rotate(-1deg); }
.load-fato small { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.load-fato p { margin: 6px 0 0; font-size: 16.5px; font-weight: 500; line-height: 1.38; min-height: 66px; transition: opacity .25s, transform .25s; }
.load-fato p.sai { opacity: 0; transform: translateY(6px); }
.load-cred { font-size: 11px; color: var(--muted); margin: 14px 0 0; }
.load-cred a { text-decoration: underline; }
.load .linkbtn { margin-top: auto; padding-top: 18px; }
.linkbtn.inline { padding: 0; font-weight: 700; color: var(--ink); font-size: inherit; }


/* =====================================================================
   v2 · marca nova: Host Grotesk, papel e breu, linhas de 1px, quadriculado
   ===================================================================== */
body { background: #E3DCCF; font-size: 15px; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; }
.phone { background-color: var(--bg); background-image: var(--grid); background-size: 44px 44px; background-position: -1px -1px; }
@media (min-width: 520px) { .phone { border: 8px solid var(--ink); border-radius: 44px; box-shadow: 0 40px 80px -40px rgba(25,24,21,.55); } }

/* topo */
.top { background: rgba(255,255,255,.3); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); border-bottom: 1px solid rgba(255,255,255,.6); box-shadow: 0 10px 30px -20px rgba(25,24,21,.35); padding: 14px 20px 12px; }
.logo { display: block; color: var(--ink); line-height: 0; }
svg.wm { height: 22px; width: auto; display: block; overflow: visible; }
svg.wm text { fill: currentColor; font-family: var(--display); font-size: 100px; letter-spacing: -5px; }
svg.wm .dot { fill: var(--urucum); }
.onb .logo svg.wm { height: 28px; }
.pill { background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 12px; padding: 5px 11px; display: inline-flex; align-items: center; gap: 6px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--urucum); }

/* títulos: negrito + fino, em caixa alta */
.hello { font-size: 31px; font-weight: 750; line-height: .94; letter-spacing: -0.045em; text-transform: uppercase; margin: 22px 0 10px; }
.hello em { font-style: normal; font-weight: 300; color: inherit; }
.ola { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ink2); margin: 18px 0 12px; }
.dash { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.dash-link { display: block; color: var(--ink); }
.dash-mapa { display: block; width: calc(100% - 24px); height: auto; margin: 12px auto 0; overflow: visible; }
.dash-mapa path { fill: var(--terra); stroke: var(--card); stroke-width: .6; vector-effect: non-scaling-stroke; }
.dash-mapa path.fui, .dash-mapa circle.fui { fill: var(--check); }
.dash-mapa .in { transform-box: fill-box; transform-origin: center; animation: dash-fui .55s var(--d, 0ms) cubic-bezier(.3,1.4,.5,1) both; }
@keyframes dash-fui { 0% { fill: var(--terra); transform: scale(1); } 45% { fill: #39B56F; transform: scale(1.3); } 100% { fill: var(--check); transform: scale(1); } }
.dash-ck { flex: none; align-self: baseline; width: 18px; height: 18px; position: relative; top: 3px; }
.dash-ck circle { fill: var(--check); }
.dash-ck path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dash-ck.in { animation: dash-ck-pop .35s var(--d, 0ms) cubic-bezier(.3,1.6,.5,1) both; }
.dash-ck.in path { stroke-dasharray: 1; animation: dash-ck-risco .3s calc(var(--d, 0ms) + 150ms) ease-out both; }
@keyframes dash-ck-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dash-ck-risco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .dash-mapa .in, .dash-ck.in, .dash-ck.in path, .dash-bar i.in { animation: none; } }
.dash-info { padding: 12px 14px 14px; }
.dash-share { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; text-align: left; }
.dash-share svg { flex: none; width: 17px; height: 17px; }
.dash-share span { margin-left: auto; color: var(--ink2); }
.dash-n { display: flex; align-items: baseline; gap: 8px; }
.dash-n b { font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.dash-n span { font-size: 13px; font-weight: 600; }
.dash-n em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink2); white-space: nowrap; }
.dash-bar { height: 4px; margin: 10px 0 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; min-width: 4px; background: var(--check); border-radius: 4px; transform-origin: left; }
.dash-bar i.in { animation: dash-barra .7s ease-out both; }
@keyframes dash-barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dash-bar i[style^="width:0%"] { min-width: 0; }
.dash-m { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink2); }
.dash-m b { color: var(--ink); font-weight: 700; }
.sub { color: var(--ink2); font-size: 15px; }
.sec-t { margin: 30px 0 12px; padding-top: 12px; border-top: 1px solid var(--ink); }
.sec-t h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.sec-t small, .mais { font-size: 12px; font-weight: 500; color: var(--muted); }
.sec-t .mais.linkbtn { color: var(--muted); font-weight: 500; }

/* busca e chips */
.search { background: var(--card); padding: 4px 5px 4px 14px; }
.search > span { display: grid; place-items: center; color: var(--muted); }
.search > span svg { width: 18px; height: 18px; }
.search button { background: var(--ink); font-weight: 600; padding: 10px 16px; }
.chip { background: var(--card); font-weight: 500; font-size: 13px; padding: 7px 13px; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.pra.on { background: var(--ink); border-color: var(--ink); }

/* cards de lista */
.lcard { border: 0; border-radius: 16px; padding: 16px; min-height: 160px; color: #fff; }
.lcard .em { font-size: 30px; }
.lcard.big .em { font-size: 40px; transform: none; right: 16px; top: 16px; }
.lcard h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.lcard.big h3 { font-size: 30px; font-weight: 750; text-transform: uppercase; letter-spacing: -0.04em; line-height: .95; }
.lcard p { font-weight: 400; opacity: .8; }
.lcard .meta { font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.bar { height: 3px; background: rgba(239,234,225,.25); }
.bar i { background: var(--bg); }
.lcard.light { color: var(--ink); }
.lcard.light .bar { background: rgba(25,24,21,.15); }
.ia-card { background: var(--card); }
.ia-card b { font-weight: 700; }

/* hero da lista */
.back { font-weight: 600; font-size: 13px; color: var(--ink2); margin: 14px 0 12px; }
.hero { border: 0; border-radius: 22px; padding: 22px; color: #fff; }
.hero .em { font-size: 80px; opacity: .55; filter: saturate(.6); right: 8px; bottom: -6px; transform: none; }
.hero .kick { font-size: 11px; font-weight: 600; letter-spacing: .12em; opacity: .8; }
.hero h1 { font-size: 46px; font-weight: 750; text-transform: uppercase; letter-spacing: -0.05em; line-height: .9; margin: 8px 0 10px; }
.hero p { font-size: 14px; opacity: .85; }
.ring .rt { font-weight: 300; font-size: 26px; letter-spacing: -0.04em; }
.hbtn { background: rgba(239,234,225,.16); border: 1px solid rgba(239,234,225,.35); color: inherit; font-weight: 600; backdrop-filter: blur(6px); }
.hero.light .hbtn { background: rgba(25,24,21,.06); border-color: rgba(25,24,21,.2); }

/* curiosidades */
.fact { background: var(--card); font-weight: 400; font-size: 15px; border-left: 1px solid var(--line); }
.fact:nth-child(3n+2), .fact:nth-child(3n) { background: var(--card); }
.fact .q { font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* itens */
.items { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.item { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 12px; }
.item:last-child { border-bottom: 0; }
.item.done { background: transparent; }
.item.done .it-n { text-decoration: none; color: var(--ink2); }
.ck { width: 28px; height: 28px; border: 1.5px solid #b5ad9f; font-size: 14px; font-weight: 700; }
.item.done .ck { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.it-n { font-weight: 600; letter-spacing: -0.01em; }
.it-onde { color: var(--ink2); font-weight: 500; }
.it-lista { font-weight: 600; letter-spacing: .1em; }
.tag { font-weight: 600; font-size: 10.5px; letter-spacing: .04em; background: var(--soft); border-radius: 99px; padding: 2px 8px; }
.tag.hot, .tag.top { background: var(--ink); color: var(--bg); }
.tag.when { background: rgba(52,64,42,.12); color: var(--mato); }
.tag.pra { background: rgba(221,79,43,.12); color: var(--urucum); }
.thumb { border: 0; border-radius: 10px; width: 58px; height: 58px; }

/* mapa */
.map-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.map-wrap path { fill: var(--terra); stroke: var(--card); }
.map-wrap path:hover { fill: #CBC2B0; }
.map-wrap path.fui, .map-wrap circle.fui { fill: var(--check); }
.map-wrap path.quero { fill: #8C857A; }
.map-wrap circle { fill: var(--terra); stroke: var(--card); }
.map-wrap circle.fui { stroke: var(--check); }
.legend i { border: 0; border-radius: 2px; }
.stats { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { border: 0; border-radius: 0; border-left: 1px solid var(--line); background: transparent; padding: 14px; }
.stat:first-child { border-left: 0; }
.stat b { font-weight: 300; font-size: 34px; letter-spacing: -0.05em; }
.stat span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.stat.hl { background: var(--ink); color: var(--bg); }
.stat.hl span { color: var(--bg); opacity: .7; }
.cont .track { height: 4px; border-radius: 99px; }
.cont .track i { background: var(--ink); border-radius: 99px; }
.flag { background: var(--card); font-weight: 500; }
.flag.q { background: var(--soft); }
.plist { background: var(--card); }
.prow.on { background: rgba(221,79,43,.07); }
.prow.on .ck { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* retrô */
.persona { border: 0; background: var(--ink); color: var(--bg); border-radius: 22px; }
.persona h2 { font-size: 32px; font-weight: 750; text-transform: uppercase; letter-spacing: -0.045em; line-height: .92; }
.persona .em { opacity: .6; filter: saturate(.6); transform: none; }
.persona .kick { font-weight: 600; letter-spacing: .12em; font-size: 11px; }
.chart { background: var(--card); }
.col i { background: var(--ink); border-radius: 3px 3px 0 0; }
.col:nth-last-child(1) i { background: var(--urucum); }
.col:hover i { background: var(--urucum); }
.badge { background: var(--card); font-weight: 600; }
.badge .bi { filter: saturate(.6); }

/* botões */
.cta { background: var(--ink); color: var(--bg); border: 0; font-weight: 600; font-size: 15px; padding: 15px; }
.cta.alt { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta.off { background: var(--soft); color: var(--muted); }
.abtn, .post footer button, .ps-acts button, .dests button, .notas button, .reacts button, .opt, .gosto { background: var(--card); font-weight: 600; }
.abtn.fav-on, .post footer button.on, .reacts button.on, .notas button.on, .emojis button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gosto.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gosto .ord { background: var(--urucum); border: 0; }
.dests button.on { background: var(--ink); color: var(--bg); }
.mini-a { background: var(--ink); color: var(--bg); border: 0; font-weight: 600; }
.linkbtn { color: var(--ink2); }

/* abas */
.tabs { background: rgba(239,234,225,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); }
.tabs a { color: var(--muted); font-weight: 500; font-size: 10.5px; gap: 3px; border-radius: 0; position: relative; }
.tabs a span { filter: none; opacity: 1; font-size: 0; }
.tabs a span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { background: none; color: var(--ink); font-weight: 650; }
.tabs a.on::after { content: ""; position: absolute; top: -9px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--urucum); transform: translateX(-50%); }
.fab { background: var(--ink); color: var(--bg); border: 0; width: 56px; height: 56px; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(25,24,21,.55); }
.fab svg { width: 24px; height: 24px; }

/* feed */
.composer-cta { background: var(--card); }
.av { border: 0; font-weight: 600; }
.post { border-radius: 18px; background: var(--card); }
.pfoto { border-top: 0; border-bottom: 0; }
.ptype { background: var(--soft); font-weight: 600; letter-spacing: .04em; }
.ptype.dica { background: rgba(44,85,97,.12); color: var(--mare); }
.nota-big { background: var(--bg); border: 0; transform: none; width: 64px; height: 64px; padding-top: 14px; }
.nota-big b { font-weight: 300; letter-spacing: -0.05em; }
.pbody h3 { font-size: 19px; }
.ponde, .onde-big { color: var(--ink2); font-weight: 500; }
.pdest span { font-weight: 500; }
.pmini .ph { border: 0; border-radius: 14px; }
.pm-badge { background: var(--bg); border: 0; font-weight: 600; }

/* fotos com o filtro Passaporte */
.ph.ok, .pfoto .ph, .car .slide .ph, .pmini .ph, .thumb .ph, .fu, .mini-post .ph { filter: saturate(.8) contrast(1.06) sepia(.12) brightness(.97); }
.ph.big, .car.big { border: 0; border-radius: 16px; }
.car-nav { border: 0; background: rgba(239,234,225,.9); }

/* sheet, campos, toast */
.sheet { background: var(--bg); background-image: var(--grid); background-size: 44px 44px; border: 0; border-radius: 28px 28px 0 0; }
.grab { background: rgba(25,24,21,.2); }
.sheet-fecha { position: sticky; top: 4px; height: 0; margin-top: -10px; display: flex; justify-content: flex-end; z-index: 5; }
.sheet-fecha button { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.sheet-fecha svg { display: block; width: 100%; height: 100%; }
.sheet > h2, .sheet > .sub { padding-right: 44px; }
.sheet h2 { font-size: 26px; font-weight: 750; text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; }
.field span, .lbl { font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.field input, .field textarea, .sel, .onb-input { background: var(--card); }
.field input:focus, .field textarea:focus, .onb-input:focus { border-color: var(--ink); box-shadow: none; }
.seg { border: 1px solid var(--line); background: var(--soft); padding: 3px; gap: 3px; }
.seg button { background: transparent; border-radius: 99px; font-weight: 600; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.st-campo { margin: 10px 0 0; }
.st-coord { margin-top: 8px; flex-wrap: wrap; }
.story-prev canvas { border: 0; box-shadow: 0 20px 40px -20px rgba(25,24,21,.5); border-radius: 14px; }
.sw { border: 1px solid var(--line); }
.sw.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.toast { background: var(--ink); color: var(--bg); font-weight: 600; }
.trackbar { background: var(--ink); border: 0; }
.trackbar .dot { background: var(--urucum); }
.novo { background: var(--urucum); }
.foto-cta { background: var(--ink); }
.pc-ok { background: var(--ink); border: 0; }
.pc-msg { background: var(--card); border: 1px solid var(--line); }

/* boas-vindas e carregando */
.onb, .load { background-color: var(--bg); background-image: var(--grid); background-size: 44px 44px; }
.onb .hello { font-size: 42px; }
.onb-steps i.on { background: var(--ink); }
.load-som { background: var(--card); }
.load-som.on { background: var(--ink); color: var(--bg); }
.load-som.on .eq i { background: var(--bg); }
.load h2 { font-weight: 750; text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; }
.load-kick { font-weight: 600; letter-spacing: .12em; font-size: 11px; }
.load-fato { background: var(--card); transform: none; }
.load-ck .c-ok { stroke: var(--ink); }

/* ---- estúdio: filtros de foto (instagramáveis) ---- */
.fx-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.fx-row::-webkit-scrollbar { display: none; }
.fx-mini { flex: none; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 11px var(--body); color: var(--ink2); }
.fx-mini i { width: 54px; height: 72px; border-radius: 10px; background: var(--soft) center/cover; border: 2px solid transparent; display: block; }
.fx-mini.on i { border-color: var(--ink); }
.fx-mini.on { color: var(--ink); }
.fx-sls { display: grid; gap: 6px; margin: 4px 0 8px; }
.fx-sl { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; }
.fx-sl b { font-weight: 600; text-align: right; color: var(--ink2); font-variant-numeric: tabular-nums; }
.fx-sl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--soft); outline: none; }
.fx-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.fx-sl input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--card); }
/* prévia fixa no topo enquanto ajusta a foto */
.story-prev.fixa { position: sticky; top: -22px; z-index: 6; background: var(--bg); padding: 10px 0 8px; margin: 6px -20px 0; box-shadow: 0 10px 14px -14px rgba(25,24,21,.35); }
.story-prev.fixa canvas { height: 40vh; width: auto; max-width: none; touch-action: none; }
.st-arrasta { text-align: center; font-size: 11.5px; color: var(--muted); margin: 6px 0 2px; }

/* estúdio: layouts favoritos em destaque */
.chip.dest { background: #FFC928; color: #191815; border-color: #191815; font-weight: 700; }
.chip.dest.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* estúdio: textos editáveis do mapa */
.txt-ed .field { margin-bottom: 8px; }

/* ===== v3 · cards com foto, filtro e vidro ===== */
.lcard.tem-capa { isolation: isolate; }
.lcard .lc-img, .lcard .lc-sombra, .lcard .lc-grao { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lcard .lc-img { background: center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform 6s ease-out; filter: contrast(1.14) saturate(1.12) brightness(.96); }
.lcard .lc-img.ok { opacity: 1; transform: scale(1); }
.lcard .lc-sombra { background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(0,0,0,.45)), linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); opacity: 0; transition: opacity .5s; }
.lcard .lc-grao { opacity: 0; mix-blend-mode: overlay; transition: opacity .5s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lcard.com-foto .lc-sombra { opacity: 1; }
.lcard.com-foto .lc-grao { opacity: .55; }
.lcard.com-foto, .lcard.com-foto.light { color: #fff; }
.lcard .lc-topo { display: flex; justify-content: space-between; align-items: flex-start; }
.lcard.big .lc-topo .em { position: static; }
.lcard .lc-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lcard.com-foto .lc-vidro { margin: 0 -6px -6px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.lcard.com-foto .lc-vidro h3 { margin-top: 0; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.lcard.com-foto .bar { background: rgba(255,255,255,.28); }
.lcard.com-foto .bar i { background: #fff; }
.lcard.big.com-foto { min-height: 260px; }
.lcard.big h3, .lcard.big p { padding-right: 0; }
/* v3 · topo da lista com foto */
.hero.tem-capa { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.hero.tem-capa .lc-img, .hero.tem-capa .lc-sombra, .hero.tem-capa .lc-grao { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero.tem-capa .lc-img { background: center / cover no-repeat; opacity: 0; transition: opacity .5s; filter: contrast(1.14) saturate(1.12) brightness(.92); }
.hero.tem-capa .lc-img.ok { opacity: 1; }
.hero.tem-capa .lc-sombra { background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.7)); }
.hero.tem-capa .lc-grao { opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero.tem-capa .hbtn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero .slogan { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.15; opacity: 1 !important; margin: 6px 0 4px; }
/* v3 · monte o seu desafio */
.md-lista { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow: auto; margin: 8px 0 12px; }
.md-it { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.md-it input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.md-it b { display: block; font-size: 14px; } .md-it small { color: var(--muted); font-size: 12px; }
.md-add { display: flex; gap: 6px; margin-bottom: 14px; } .md-add input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; font-size: 14px; }
/* v3 · retrô do mês e do ano */
.ret-per { margin: 14px 0 10px; }
.ret-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.ret-card .kick { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ret-card h2 { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 44px; line-height: 1; margin: 4px 0 10px; text-transform: none; letter-spacing: 0; }
.ret-mapa { width: 100%; height: auto; display: block; margin: 6px 0 12px; }
.ret-n { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.ret-n b { display: block; font-size: 28px; font-weight: 750; letter-spacing: -.03em; } .ret-n span { font-size: 12px; color: var(--muted); }
.ret-flags { font-size: 22px; letter-spacing: 4px; margin: 12px 0 4px; }

/* ===== v3 · dez/26: topo com mapa e +, desafios no topo, tamanho do desafio, retrô do mapa, prévia do estúdio em cima ===== */
.ic-top { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.ic-top svg { width: 21px; height: 21px; }
.ic-top .ic-n { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #23804F; color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; }
.ic-top.ic-mais { background: var(--ink); color: #fff; border-color: var(--ink); }

.dz-t { margin-top: 4px; }
.dz-trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 6px; padding: 2px 20px 12px; scrollbar-width: none; }
.dz-trilho::-webkit-scrollbar { display: none; }
.dz-trilho > .lcard { flex: 0 0 82%; max-width: 340px; min-height: 230px; scroll-snap-align: start; scroll-margin-left: 20px; grid-column: auto; }
.dz-trilho > .lcard h3 { font-size: 24px; }
.lcard.dz-cria { background: var(--ink); color: #fff; text-align: left; border: 1px dashed rgba(255,255,255,.35); font: inherit; cursor: pointer; }
.lcard.dz-cria .em { position: static; font-size: 34px; }
.lcard.dz-cria p { opacity: .75; }

.tam { margin-top: 14px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); position: relative; z-index: 1; }
.hero.light:not(.tem-capa) .tam { background: rgba(25,24,21,.06); border-color: rgba(25,24,21,.18); }
.tam-l { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tam-ctl { display: flex; align-items: center; gap: 14px; margin: 8px 0 10px; }
.tam-ctl button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.tam-ctl button:disabled { opacity: .3; cursor: default; }
.tam-ctl b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; min-width: 74px; text-align: center; }
.tam-ctl b small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tam-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.tam-ops button { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 99px; padding: 6px 11px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; opacity: .85; }
.tam-ops button.on { background: #fff; color: #191815; border-color: #fff; opacity: 1; }
.hero.light:not(.tem-capa) .tam-ops button.on { background: #191815; color: #fff; border-color: #191815; }

.rm-trilho { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 8px; padding: 2px 20px 10px; scrollbar-width: none; }
.rm-trilho::-webkit-scrollbar { display: none; }
.rm-card { flex: 0 0 150px; scroll-snap-align: start; scroll-margin-left: 20px; text-align: left; border: 0; border-radius: 16px; padding: 14px; background: #191815; color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.rm-card::before { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(57,181,111,.55), transparent 70%); }
.rm-card .rm-k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rm-card small { font-size: 11px; opacity: .6; }
.rm-card b { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 10px; color: #39B56F; }
.rm-card .rm-u { font-size: 12px; opacity: .85; }
.rm-card .rm-fl { font-size: 16px; min-height: 22px; margin-top: 6px; letter-spacing: 1px; }
.rm-card em { font-style: normal; font-size: 12px; font-weight: 700; margin-top: 6px; color: #FFC928; }

/* estúdio: a prévia fica sempre em cima, com o + no estilo das redes */
.story-prev.topo { margin-top: 4px; }
.story-prev.topo .sp-box { position: relative; display: inline-block; }
.story-prev.topo canvas { display: block; height: 42vh; width: auto; max-width: none; touch-action: none; }
.sp-vazio { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 6px 14px 6px 6px; background: rgba(25,24,21,.55); color: #fff; font: inherit; font-size: 13px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.sp-vazio .sp-plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #FFC928, #F2452D 55%, #FF6FB1); }
.sp-vazio .sp-plus svg { width: 18px; height: 18px; }
.sp-vazio.grande { inset: 0; transform: none; border-radius: 18px; flex-direction: column; justify-content: center; gap: 12px; padding: 0; background: rgba(25,24,21,.42); font-size: 15px; }
.sp-vazio.grande .sp-plus { width: 66px; height: 66px; box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.sp-vazio.grande .sp-plus svg { width: 32px; height: 32px; }
.sp-mais, .sp-tira { position: absolute; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; }
.sp-mais { right: -10px; bottom: -10px; width: 46px; height: 46px; border: 3px solid var(--bg); background: linear-gradient(135deg, #FFC928, #F2452D 55%, #FF6FB1); color: #fff; box-shadow: 0 6px 16px -6px rgba(25,24,21,.6); }
.sp-mais svg { width: 22px; height: 22px; }
.sp-tira { right: 8px; top: 8px; width: 28px; height: 28px; border: 0; background: rgba(25,24,21,.55); color: #fff; font-size: 13px; }
.rm-card .rm-fl.vazio { font-size: 12px; opacity: .6; letter-spacing: 0; }

/* menu de baixo em vidro escuro */
.tabs { background: rgba(25,24,21,.62); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-top: 1px solid rgba(255,255,255,.14); }
.tabs a { color: rgba(255,255,255,.72); }
.tabs a.on { background: rgba(255,255,255,.92); color: var(--ink); }

/* stories no topo da home */
.st-trilho { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.st-trilho::-webkit-scrollbar { display: none; }
.st-card { flex: 0 0 40%; max-width: 168px; scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: center; }
.st-card b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ink2); }
.st-tela { display: block; aspect-ratio: 9 / 16; padding: 3px; border-radius: 20px; background: linear-gradient(45deg, #FFC928, #F2452D 50%, #FF6FB1); transition: transform .15s; }
.st-tela img { display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--bg); border-radius: 17px; }
.st-card:active .st-tela { transform: scale(.97); }
.st-card:focus-visible { outline: none; }
.st-card:focus-visible .st-tela { outline: 2px solid var(--ink); outline-offset: 2px; }
.st-novo { display: grid; place-items: center; background: #D3D1CD; }
.st-novo i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); }
.st-novo svg { width: 24px; height: 24px; }

/* ===== estúdio: galeria, ferramentas por layout, versões e toque ===== */
.st-tools { display: flex; gap: 6px; overflow-x: auto; margin: 10px -20px 2px; padding: 4px 20px 8px; scrollbar-width: none; }
.st-tools::-webkit-scrollbar { display: none; }
.st-tool { flex: none; border: 0; background: none; padding: 0; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 11px var(--body); color: var(--ink2); }
.st-tool i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: background .15s, color .15s; }
.st-tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-tool.on i { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-tool.on { color: var(--ink); }
.st-painel { min-height: 90px; padding-top: 2px; }
.st-painel > .lbl:first-child, .st-painel > .field:first-child { margin-top: 6px; }
.st-paises { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.st-paises .chip:not(.on) { opacity: .55; text-decoration: line-through; }
.st-mais summary { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin: 12px 0 4px; cursor: pointer; }
.st-vers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2px 0 10px; }
.st-ver { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 11px var(--body); color: var(--ink2); }
.st-ver canvas { width: 100%; aspect-ratio: 9 / 16; height: auto; border-radius: 10px; background: var(--soft); border: 2px solid transparent; display: block; }
.st-ver.on canvas { border-color: var(--ink); }
.st-ver.on { color: var(--ink); }
.sp-hl { position: absolute; pointer-events: none; border: 2px solid #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(25,24,21,.35), 0 0 18px rgba(255,255,255,.45); opacity: 0; }
.sp-hl.on { animation: spHl .9s ease-out; }
@keyframes spHl { 0% { opacity: 0; transform: scale(1.04); } 20% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; margin-top: 12px; }
.gal-lendo { grid-column: 1 / -1; text-align: center; color: var(--ink2); font-size: 13px; padding: 40px 0; animation: pulsa 1.2s ease-in-out infinite alternate; }
@keyframes pulsa { from { opacity: .4; } to { opacity: 1; } }
.gal-card { position: relative; border: 0; background: none; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; font: 600 12px var(--body); color: var(--ink); }
.gal-card canvas { width: 100%; aspect-ratio: 9 / 16; height: auto; display: block; border-radius: 12px; background: linear-gradient(110deg, var(--soft) 30%, var(--card) 50%, var(--soft) 70%) 0 0 / 300% 100%; animation: brilho 1.4s linear infinite; box-shadow: 0 14px 26px -18px rgba(25,24,21,.6); }
.gal-card.ok canvas { animation: none; background: var(--soft); }
.gal-card b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.gal-card:active canvas { transform: scale(.97); }
.gal-top { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.88); color: var(--ink); border-radius: 99px; padding: 4px 9px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes brilho { to { background-position: -300% 0; } }
.gal-volta { border: 0; background: none; padding: 4px 0; font: 600 14px var(--body); color: var(--ink); margin: 2px 0 4px; }
.gal-abas { margin-top: 10px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.gal-abas::-webkit-scrollbar { display: none; }
.gal-foto { width: 100%; margin-top: 12px; border: 1px dashed var(--ink2); background: var(--card); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; font: inherit; color: var(--ink); }
.gal-foto .sp-plus { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #FFC928, #F2452D 55%, #FF6FB1); }
.gal-foto .sp-plus svg { width: 22px; height: 22px; }
.gal-foto b { font-weight: 700; } .gal-foto small { color: var(--ink2); font-size: 12px; }

/* ---------- Estúdio em tela cheia: prévia grande, ferramentas numa gaveta embaixo ---------- */
.sheet.estudio { position: relative; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; padding: 10px 14px 0; display: flex; flex-direction: column; overflow: hidden; }
.sheet.estudio > .grab { display: none; }
.sheet.estudio > .sheet-fecha { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 14px; margin: 0; height: auto; }
.sheet.estudio .story-prev.topo { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0; display: flex; justify-content: center; align-items: stretch; }
.sheet.estudio .story-prev.topo .sp-box { height: 100%; display: flex; }
.sheet.estudio .story-prev.topo canvas { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.sheet.estudio .st-arrasta { flex: none; margin: 6px 0 0; }
.st-baixo { flex: 0 1 auto; max-height: 38dvh; overflow-y: auto; margin: 0 -14px; padding: 0 14px calc(14px + env(safe-area-inset-bottom)); overscroll-behavior: contain; transition: max-height .25s ease; }
.st-baixo .st-tools { position: sticky; top: 0; z-index: 3; background: var(--bg); margin: 0 -14px; padding: 6px 14px 8px; }
.st-baixo.recolhe { max-height: calc(86px + env(safe-area-inset-bottom)); overflow: hidden; }
.st-baixo.recolhe > :not(.st-tools) { visibility: hidden; }

/* mini mapa dos países do story */
.st-mini { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px; margin: 4px 0 6px; }
.st-mini svg { display: block; width: 100%; height: auto; cursor: pointer; touch-action: manipulation; }
.st-mini path { fill: #D9D3C5; stroke: var(--card); stroke-width: .5; transition: fill .15s; }
.st-mini path.em { fill: var(--check); }
.st-mini path.fora { fill: #F2D9A0; }
.st-mini-leg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; margin: 0 0 6px; }
.st-mini-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: #D9D3C5; margin-left: 6px; }
.st-mini-leg i.em { background: var(--check); margin-left: 0; }
.st-mini-leg i.fora { background: #F2D9A0; }
.st-busca { margin: 4px 0 6px; }

/* Monte o seu desafio: estilo carrinho */
.md-add-bt { width: 100%; margin: 4px 0 10px; padding: 13px; border-radius: 14px; border: 1.5px dashed var(--ink); background: transparent; font: 700 14px var(--body); color: var(--ink); }
.md-busca { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin-bottom: 12px; }
.md-busca input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font: inherit; font-size: 15px; }
.md-res { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 9px 4px; font: inherit; color: var(--ink); }
.md-res:last-child { border-bottom: 0; }
.md-res b { font-size: 14px; flex: 1; min-width: 0; } .md-res small { color: var(--muted); font-size: 12px; }
.md-res.cria b { font-weight: 700; }
.md-lista2 { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 12px; }
.md-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); position: relative; }
.md-row.arrasta { z-index: 5; box-shadow: 0 12px 24px -10px rgba(25,24,21,.45); transition: none; }
.md-row .md-th { width: 44px; height: 44px; flex: none; border-radius: 10px; }
.md-txt { flex: 1; min-width: 0; } .md-txt b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-txt small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-menos, .md-mais { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; font: 700 18px/1 var(--body); color: #fff; padding: 0; }
.md-menos { background: #E5484D; } .md-mais { background: var(--check); }
.md-lapis, .md-alca { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--ink2); padding: 0; }
.md-lapis svg, .md-alca svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.md-alca { cursor: grab; touch-action: none; }
.md-row.ed { flex-wrap: wrap; } .md-row.ed input { flex: 1 1 40%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font: inherit; font-size: 14px; }
.md-ok { border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font: 700 13px var(--body); padding: 9px 14px; }
.md-fora { margin: 0 0 12px; } .md-fora summary { cursor: pointer; font: 600 13px var(--body); color: var(--ink2); padding: 8px 2px; }
.md-fora .md-row { margin-top: 6px; }
.md-pe { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); background: var(--bg); margin: 0 -20px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.md-pe span { flex: none; font-size: 14px; color: var(--ink2); } .md-pe .cta { flex: 1; margin: 0; }
