/* Marquise: a Reperteca como a programação de um cinema de rua. Veludo no fundo, luz de latão só no que importa, letreiro nos títulos. Abrir uma ficha é apagar as luzes da sala. */
:root {
  --bg: #1A1220; --bg-deep: #120C16; --surface: #241A2C; --surface-2: #2E2236; --ink: #F3EEE6; --ink-2: #DCD3DF; --muted: #A99EB0; --line: #3A2E43;
  --accent: #D4A657; --accent-ink: #1A1220; --accent-soft: rgba(212,166,87,.14); --cortina: #7A1E2C;
  --c-podcast: #B58BE0; --c-livro: #E6B866; --c-filme: #E0596B; --c-serie: #5FB7C9; --c-artigo: #8CC084; --c-lugar: #7FC8A9;
  --ok: #8CC084; --warn: #E6B866; --bad: #EE7482; --star: #D4A657; --star-off: #4A3D53;
  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Figtree", system-ui, sans-serif;
  --r: 6px; --r-sm: 4px;
  --ease: cubic-bezier(.2,.75,.2,1);
  color-scheme: dark;
}
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }

/* ---------- estrutura ---------- */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100%; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); align-self: start; height: calc(100vh - env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 26px; padding: 30px 18px 22px max(18px, env(safe-area-inset-left, 0px)); background: var(--bg-deep); border-right: 1px solid var(--line); overflow-y: auto; }
.brand { display: flex; flex-direction: column; gap: 10px; padding-inline: 8px; }
.bulbs { display: flex; gap: 7px; }
.bulbs i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .85; box-shadow: 0 0 6px 1px rgba(212,166,87,.45); }
/* Marca oficial (arquivo do Andre, 08_marca/reperteca-marca-fundo-escuro.png), usada sem alteração */
.brand-logo { display: block; width: 100%; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: .82; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.brand small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.nav-list { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-sep { height: 1px; background: var(--line); margin: 10px 8px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--tc, var(--accent)); font-weight: 600; }
.nav-svg { width: 20px; height: 20px; flex: none; display: inline-flex; transition: filter .2s; }
.nav-svg svg { display: block; }
.nav a[aria-current="page"] .nav-svg { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tc, var(--accent)) 65%, transparent)); }
.nav a .count { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav a[aria-current="page"] .count { color: var(--tc, var(--accent)); }
.nav-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.nav-ico { width: 10px; height: 10px; flex: none; border: 2px solid currentColor; border-radius: 3px; }
.nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.nav-foot .btn { justify-content: center; }

.main { min-width: 0; padding-block: 44px 96px; padding-left: max(16px, 48px); padding-right: max(16px, env(safe-area-inset-right, 0px), 48px); display: flex; flex-direction: column; gap: 32px; max-width: 1360px; }
.page-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; padding-bottom: 6px; }
.page-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5.4vw, 72px); line-height: .84; margin: 0; letter-spacing: .005em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.page-title:has(.title-ico) { display: flex; align-items: center; gap: .2em; }
.title-ico { flex: none; width: .74em; height: .74em; display: inline-flex; color: var(--ink); transform: translateY(-.02em); }
.title-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.page-sub { color: var(--muted); margin: 14px 0 0; max-width: 60ch; font-size: 17px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- controles ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #E2B76A; border-color: #E2B76A; color: var(--accent-ink); }
.btn-danger { color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); color: var(--bad); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.input, .select, .textarea { background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--r); min-height: 42px; padding: 8px 12px; color: var(--ink); font-size: 15px; min-width: 0; transition: border-color .2s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); outline: none; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 999px; min-height: 36px; padding: 0 15px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.toolbar .field { flex: 1 1 170px; }
.toolbar .field.grow { flex: 3 1 260px; }

/* ---------- avisos ---------- */
.banner, .notice { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); }
.banner p { margin: 0; max-width: 72ch; }
.banner strong, .notice b { color: var(--accent); }
.notice { display: block; }
.notice.row { display: flex; }

/* ---------- painel ---------- */
.lead { font-size: 22px; line-height: 1.45; margin: 0; max-width: 58ch; color: var(--ink-2); }
.lead b { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.kpi { position: relative; background: var(--surface); border-radius: var(--r); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.kpi-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.kpi-num { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .9; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi-foot { font-size: 13px; color: var(--muted); }
.section { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; margin: 0; color: var(--accent); }
.desc { color: var(--muted); font-size: 14px; margin: 0; max-width: 70ch; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 7px; align-items: center; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.plot { position: relative; }
.plot svg text { fill: var(--muted); font-size: 12.5px; font-family: var(--font-body); }
.plot svg text.lbl { fill: var(--ink-2); }
.plot .hit { cursor: pointer; outline: none; }
.plot .hit:focus-visible { stroke: var(--accent); stroke-width: 1.5; }
.tip { position: absolute; pointer-events: none; background: var(--bg-deep); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.45); border-radius: var(--r); padding: 10px 12px; font-size: 13px; white-space: nowrap; z-index: 3; font-variant-numeric: tabular-nums; }
.tip strong { display: block; margin-bottom: 4px; color: var(--accent); }
.tip-row { display: flex; gap: 6px; align-items: center; color: var(--ink-2); }
.panel { background: var(--surface); border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0; line-height: 1; }
.panel-title span { font-family: var(--font-body); color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 10px; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.group-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line) !important; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mini-btn { all: unset; box-sizing: border-box; display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px; border-radius: var(--r); cursor: pointer; transition: background .2s; }
.mini-btn:hover { background: var(--surface-2); }
.mini-btn:focus-visible { outline: 2px solid var(--accent); }
.mini-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-title { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.mini-meta { font-size: 13px; color: var(--muted); }
.trail { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.trail-label { font-size: 13px; color: var(--muted); width: 100%; }
.chip-card { all: unset; cursor: pointer; display: inline-flex; flex-direction: column; gap: 3px; border-radius: var(--r); padding: 10px 14px; background: var(--surface-2); max-width: 100%; font-weight: 500; transition: background .2s, box-shadow .2s; }
.chip-card:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.chip-card:focus-visible { outline: 2px solid var(--accent); }
.chip-card small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.arrow { color: var(--accent); font-size: 18px; }
.top-tipos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.rank-pos { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); width: 28px; flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.rank-n { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--accent); font-variant-numeric: tabular-nums; width: 2.2em; display: inline-block; }
.rank-title { display: flex; gap: 12px; align-items: center; min-width: 0; }
.rank-title .mini-text { min-width: 0; }
.link-more { font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; align-self: flex-start; }
.link-more:hover { text-decoration: underline; }

/* ---------- tabelas ---------- */
.tablewrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--surface); }
.table tr.click:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.td-muted { color: var(--muted); white-space: nowrap; }
.tipo { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.empty { color: var(--muted); font-size: 15px; padding: 14px 2px; margin: 0; }
@media (max-width: 600px) { .col-opt { display: none; } }

/* ---------- etiquetas, notas, status ---------- */
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.tag-warn { background: transparent; box-shadow: inset 0 0 0 1px var(--warn); color: var(--warn); }
.tag-ex { background: transparent; box-shadow: inset 0 0 0 1px var(--muted); color: var(--muted); }
.stars { color: var(--star); letter-spacing: 1.5px; font-size: 15px; white-space: nowrap; }
.stars .off { color: var(--star-off); }
.stars-num { color: var(--muted); font-size: 12.5px; margin-left: 6px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 4px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.st-concluido::before { background: var(--ok); } .st-andamento::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.st-abandonado::before { background: var(--bad); } .st-desejo::before { background: var(--c-podcast); }
.prio { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; }

/* ---------- capas: pôster ---------- */
.cover { flex: none; position: relative; border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink);
  background: radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--tc, var(--accent)) 80%, transparent) 0 15%, transparent 16%), radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--tc, var(--accent)) 18%, transparent) 0 30%, transparent 31%), linear-gradient(180deg, color-mix(in srgb, var(--tc, var(--accent)) 30%, #1A1220) 0%, #120C16 78%); box-shadow: 0 0 0 1px rgba(243,238,230,.06); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-ini { position: relative; font-family: var(--font-display); font-weight: 900; line-height: .85; text-transform: uppercase; padding: 0 0 8% 9%; }
.cover-type { position: relative; font-size: 12px; color: var(--ink-2); padding: 0 0 9% 9%; }
.cv-sm.sq { width: 44px; height: 44px; } .cv-sm.tall { width: 36px; height: 54px; } .cv-sm.wide { width: 56px; height: 38px; }
.cv-sm .cover-ini { font-size: 15px; padding: 0 0 5px 5px; }
.cv-md.sq { width: 64px; height: 64px; } .cv-md.tall { width: 56px; height: 84px; } .cv-md.wide { width: 84px; height: 56px; }
.cv-md .cover-ini { font-size: 22px; }
.cv-lg.sq { width: 240px; height: 240px; } .cv-lg.tall { width: 210px; height: 315px; } .cv-lg.wide { width: 300px; height: 200px; }
.cv-lg .cover-ini { font-size: 64px; }
.cv-sm.pt { width: 40px; height: 50px; } .cv-md.pt { width: 64px; height: 80px; } .cv-lg.pt { width: 232px; height: 290px; }
.cv-xl { width: 100%; } .cv-xl.pt { aspect-ratio: 4 / 5; }
.cv-xl.sq { aspect-ratio: 1; } .cv-xl.tall { aspect-ratio: 2 / 3; } .cv-xl.wide { aspect-ratio: 3 / 2; }
.cv-xl .cover-ini { font-size: clamp(34px, 4vw, 52px); }
.sweep { position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,226,170,.34), transparent); transform: translateX(-130%) skewX(-18deg); pointer-events: none; z-index: 1; }

/* ---------- catálogo: cartazes ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 36px 26px; }
.card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card .cover { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover .cover, .card:focus-visible .cover { transform: translateY(-6px); box-shadow: 0 26px 60px -20px rgba(212,166,87,.5), 0 0 0 1px rgba(212,166,87,.35); }
.card:hover .sweep, .card:focus-visible .sweep { transform: translateX(240%) skewX(-18deg); transition: transform .9s var(--ease); }
.card:focus-visible { outline: none; }
.card:focus-visible .card-title { color: var(--accent); }
.card-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.card-title { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; line-height: 1.25; transition: color .2s; }
.card:hover .card-title { color: var(--accent); }
.card-sub { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* ---------- indicações (status desejo) ---------- */
.wish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; }
.wish { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--surface); border-radius: var(--r); flex-wrap: wrap; transition: box-shadow .2s; }
.wish:hover { box-shadow: inset 0 0 0 1px var(--line); }
.wish-main { all: unset; cursor: pointer; display: flex; gap: 14px; align-items: center; flex: 1 1 240px; min-width: 0; }
.wish-main:focus-visible { outline: 2px solid var(--accent); }
/* Indicações: abas por categoria + faixas que abrem e fecham */
.ind-bar { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); margin-top: -4px; }
.ind-tabs { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; margin-bottom: -1px; }
.ind-ord { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex: none; }
.ind-ordem { min-height: 34px; padding: 4px 10px; font-size: 14px; }
.publico { display: block; font-size: 12.5px; color: var(--muted); }
.publico b { color: var(--ink-2); font-weight: 600; }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tab { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 12px 0 13px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap; flex: none; --tc: var(--accent); transition: color .2s; }
.ind-tab small { font-size: 13px; color: #6F6577; font-variant-numeric: tabular-nums; }
.ind-tab:hover { color: var(--ink); }
.ind-tab[aria-selected="true"] { color: var(--tc); font-weight: 700; }
.ind-tab[aria-selected="true"] small { color: var(--tc); opacity: .8; }
.ind-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--tc); box-shadow: 0 0 12px var(--tc); }
.ind-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tc); }
.ind-tab[aria-selected="true"] .ind-dot { box-shadow: 0 0 8px var(--tc); }
.ind-bands { display: flex; flex-direction: column; }
.ind-grupo { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.ind-grupo.aberta { padding-bottom: 26px; }
.ind-band { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left; width: 100%; }
.ind-ico { display: inline-flex; width: 22px; height: 22px; color: var(--tc); flex: none; }
.ind-ico svg { width: 100%; height: 100%; }
.ind-nome { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.ind-band.aberta .ind-nome, .ind-band:hover .ind-nome { color: var(--tc); }
.ind-n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding: 2px 9px; border-radius: 999px; background: var(--surface); }
.ind-esp { flex: 1; }
.ind-thumbs { display: flex; margin-right: 6px; }
.ind-thumbs img { width: 34px; height: 51px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 2px var(--bg); margin-left: -9px; }
.ind-thumbs img:first-child { margin-left: 0; }
.ind-chev { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: transform .25s var(--ease), border-color .2s; }
.ind-chev .ind-ico { width: 18px; height: 18px; color: var(--ink-2); }
.ind-band.aberta .ind-chev { transform: rotate(90deg); border-color: var(--tc); }
.ind-band.aberta .ind-chev .ind-ico { color: var(--tc); }
.ind-mais { align-self: flex-start; margin-top: 22px; border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ind-mais:hover { text-decoration: underline; text-underline-offset: 3px; }
.cards > [hidden] { display: none; }
@media (max-width: 860px) { .ind-bar { flex-direction: column-reverse; align-items: stretch; gap: 10px; } .ind-ord { align-self: flex-end; } .ind-tabs { gap: 22px; } .ind-tab { font-size: 15px; } .ind-band { min-height: 62px; } .ind-nome { font-size: 24px; } .ind-thumbs img { width: 28px; height: 42px; } }
.wish-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wish-card > .card { flex: 1; }
.wish-card .card { width: 100%; }
.wish-cover { position: relative; display: block; }
.prio-cartaz { position: absolute; top: 10px; left: 10px; z-index: 2; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.wish-quem { font-size: 13.5px; color: var(--ink-2); }
.wish-quem b { color: var(--accent); font-weight: 600; }
.wish-motivo { font-size: 13.5px; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.wish-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.wish-acoes .btn { flex: 1 1 auto; justify-content: center; }
.wish-onde { width: 100%; justify-content: center; gap: 6px; margin-top: auto; }
.wish-onde-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wish-preco { flex: none; font-weight: 700; padding-left: 6px; border-left: 1px solid rgba(26,18,32,.25); }

/* ---------- lugares ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chip-radio { display: inline-flex; align-items: center; gap: 6px; }
.chip-radio:has(input:checked) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.chip-radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip .n { opacity: .7; font-variant-numeric: tabular-nums; margin-left: 2px; }
.sub-escolha { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.sub-escolha > span { font-size: 13.5px; color: var(--muted); }
.cat-cartaz { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(18,12,22,.82); color: var(--ink-2); }
.tag-nao { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.fotos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.fotos-grid img, .foto-add { aspect-ratio: 1; width: 100%; border-radius: 4px; object-fit: cover; display: block; }
.foto-add { box-sizing: border-box; border: 1.5px dashed var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; }
.foto-add:hover { border-color: var(--accent); }
/* Galeria: todas as fotos do mesmo tamanho (pedido do Andre, 17/11/2026; antes a 1ª era destacada em 2×2 e as outras ficavam miniaturas). */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
@media (max-width: 560px) { .galeria { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.galeria button { all: unset; cursor: pointer; border-radius: 4px; overflow: hidden; position: relative; aspect-ratio: 1; }
.galeria button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.galeria button:hover img { transform: scale(1.04); }
.galeria .e-capa { position: absolute; bottom: 6px; left: 6px; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 30; background: rgba(8,4,10,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
/* O visor ocupa sempre o espaço disponível: fotos pequenas são ampliadas, as grandes são reduzidas (todas do mesmo tamanho na tela). */
.lightbox img { width: min(1100px, 100%); height: calc(100vh - 150px); object-fit: contain; border-radius: 4px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.lightbox .row { justify-content: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); min-width: 48px; min-height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(18,12,22,.7); color: var(--ink); font-size: 22px; cursor: pointer; }
.lb-nav:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }

.antes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.antes > div { background: var(--surface); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.antes .rot { font-size: 13px; color: var(--muted); }
.antes .destaques { display: flex; flex-wrap: wrap; gap: 6px; }
.antes .destaques span { font-size: 14px; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); }
.antes .google { display: flex; align-items: baseline; gap: 8px; }
.antes .google b { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: .9; color: var(--accent); }
.antes ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.antes ul li::marker { color: var(--accent); }
.antes-fontes { font-size: 12.5px; color: var(--muted); }
.antes-fontes a { color: var(--muted); }
.wish-dest { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.wish-dest b { color: var(--accent); font-weight: 600; }

.links-campo { display: flex; flex-direction: column; gap: 8px; }
.link-linha { display: flex; gap: 8px; align-items: center; }
.link-linha .input { flex: 1; }
.link-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.link-btn:hover { border-color: var(--accent); color: var(--accent); }
.link-tipo { flex: none; min-width: 92px; font-size: 12.5px; color: var(--accent); }
.dica-campo { font-size: 12.5px; color: var(--muted); }

/* ---------- viagens ---------- */
.vg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 36px 28px; }
.vg-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vg-capa { position: relative; aspect-ratio: 3 / 2; border-radius: 3px; overflow: hidden; display: flex; align-items: flex-end; padding: 0 0 14px 16px; box-sizing: border-box;
  background: radial-gradient(circle at 78% 26%, rgba(212,166,87,.75) 0 9%, transparent 10%), linear-gradient(180deg, #3A2A40 0%, #241A2C 55%, #120C16 100%); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.vg-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vg-capa .ini { position: relative; font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .85; text-transform: uppercase; color: var(--ink); }
.vg-card:hover .vg-capa, .vg-card:focus-visible .vg-capa { transform: translateY(-6px); box-shadow: 0 26px 60px -20px rgba(212,166,87,.5), 0 0 0 1px rgba(212,166,87,.35); }
.vg-card:focus-visible { outline: none; }
.vg-card .vg-tit { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: .9; text-transform: uppercase; transition: color .2s; }
.vg-card:hover .vg-tit, .vg-card:focus-visible .vg-tit { color: var(--accent); }
.vg-selo { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.vg-dias { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(18,12,22,.82); color: var(--ink-2); }
.migalha { font-size: 14px; color: var(--muted); text-decoration: none; }
.migalha:hover { color: var(--accent); }
.abas { display: flex; gap: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.aba { all: unset; cursor: pointer; padding: 12px 2px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.aba:hover { color: var(--ink); }
.aba[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.aba:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.aba .n { color: var(--muted); font-weight: 400; margin-left: 4px; }
.vg-frase { background: var(--surface); border-radius: var(--r); padding: 20px 24px; font-size: 19px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; }
.dicas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.dica { background: var(--surface); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dica-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.dica p { margin: 0; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.vale { font-size: 13px; font-weight: 600; white-space: nowrap; }
.vale-sim { color: var(--ok); } .vale-nao { color: var(--bad); }
.dica-acoes { display: flex; gap: 6px; margin-top: auto; }
.tag-imp { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.rel-sec { display: flex; flex-direction: column; gap: 6px; }
.rel-sec > span { font-size: 13px; color: var(--muted); }
.rel-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--surface); font-size: 15px; cursor: pointer; }
.rel-item input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.rel-item .dir { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.rel-item:has(input:not(:checked)) { color: var(--muted); }
.fotos-capa { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.foto-pick { all: unset; cursor: pointer; position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.foto-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-pick[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--accent); }
.foto-pick .ord { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.foto-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.caixa-relato { background: var(--bg-deep); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- ficha: a sala escura ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8,4,10,.78); -webkit-backdrop-filter: blur(5px) saturate(.8); backdrop-filter: blur(5px) saturate(.8); z-index: 20; display: flex; justify-content: flex-end; }
.drawer { position: relative; background: var(--bg-deep); width: min(880px, 100%); height: 100%; overflow-y: auto; overflow-x: hidden; padding: 0 40px 64px; padding-right: max(40px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 30px; box-shadow: -30px 0 80px rgba(0,0,0,.55); }
.drawer > * { flex-shrink: 0; }
.ficha-head { position: relative; margin-inline: -40px; padding: max(22px, env(safe-area-inset-top, 0px)) 40px 40px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; isolation: isolate; }
.ficha-bg { position: absolute; inset: -60px; z-index: -2; background-size: cover; background-position: center; filter: blur(48px) saturate(1.2); opacity: .38; }
.ficha-bg.sem { background: radial-gradient(circle at 25% 40%, color-mix(in srgb, var(--tc) 45%, transparent), transparent 60%); filter: none; opacity: .5; }
.ficha-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,12,22,.25) 0%, rgba(18,12,22,.6) 60%, var(--bg-deep) 100%); }
.beam { position: absolute; left: -20%; top: -40%; width: 140%; height: 180%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,226,170,.14) 44%, rgba(255,226,170,.05) 58%, transparent 68%); transform: rotate(-8deg); opacity: .35; }
.drawer-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--tc, var(--ink-2)); }
.hero { display: flex; gap: 36px; align-items: flex-end; flex-wrap: wrap; }
.hero .cover { box-shadow: 0 34px 80px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(243,238,230,.08); }
.hero-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 300px; }
.ficha-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 4.4vw, 56px); line-height: .86; margin: 0; letter-spacing: .005em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; perspective: 600px; }
.ficha-title .w { display: inline-block; white-space: nowrap; }
.ficha-title .l { display: inline-block; transform-origin: 50% 0; }
.ficha-sub { color: var(--ink-2); font-size: 16px; }
.hero .stars { font-size: 22px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.block { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.block-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1; color: var(--accent); margin: 0; display: flex; gap: 12px; align-items: center; }
.block-title .who { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); padding: 2px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.prose { margin: 0; max-width: 64ch; white-space: pre-wrap; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.quote-me { position: relative; margin: 0; padding: 22px 26px 22px 64px; background: var(--surface); border-radius: var(--r); white-space: pre-wrap; font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote-me::before { content: "“"; position: absolute; left: 20px; top: 6px; font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; color: var(--accent); }
.dl { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 8px 20px; margin: 0; }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; max-width: 64ch; overflow-wrap: anywhere; line-height: 1.55; color: var(--ink-2); }
.bullets li::marker { color: var(--accent); }
.seasons { display: flex; flex-direction: column; gap: 8px; }
.season { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 12px 16px; background: var(--surface); border-radius: var(--r); }
.season-n { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--accent); }
.season-c { grid-column: 2 / -1; color: var(--ink-2); font-size: 14px; }
.quotes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quote { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 14px 18px; background: var(--surface); border-radius: var(--r); }
.quote-pos { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--tc, var(--accent)); white-space: nowrap; }
.quote-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; line-height: 1.55; }
.quote-title { font-weight: 600; }
.quote-foot { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.ficha-foot { padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- modais e aviso ---------- */
.modal { margin: auto; background: var(--bg-deep); width: min(580px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.overlay.center { justify-content: center; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.req { color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(24px, env(safe-area-inset-bottom, 0px)); background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 12px 20px; border-radius: 999px; z-index: 40; font-size: 14.5px; max-width: calc(100% - 32px); box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 30px rgba(212,166,87,.35); }

/* ---------- metas: tira de filme ---------- */
.metas { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.meta { background: var(--surface); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.meta-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.meta-num { font-family: var(--font-display); font-weight: 900; font-size: 84px; line-height: .86; font-variant-numeric: tabular-nums; color: var(--ink); }
.meta-num small { font-family: var(--font-body); font-weight: 500; font-size: 20px; color: var(--muted); }
.strip { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 5px; padding: 13px 10px; background: #0C080E; border-radius: 3px; }
.strip::before, .strip::after { content: ""; position: absolute; left: 8px; right: 8px; height: 4px; background-image: repeating-linear-gradient(90deg, #3A2E43 0 7px, transparent 7px 14px); }
.strip::before { top: 4px; } .strip::after { bottom: 4px; }
.frame { height: 34px; border-radius: 2px; background: #2A1F31; }
.frame.on { background: var(--tc, var(--accent)); box-shadow: 0 0 10px color-mix(in srgb, var(--tc, var(--accent)) 60%, transparent); }
.frame.au { background: color-mix(in srgb, var(--tc, var(--accent)) 50%, #2A1F31); }
.frame.devia { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, var(--accent)) 70%, transparent); }
.bar { position: relative; height: 14px; border-radius: 2px; background: #0C080E; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--tc, var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--tc, var(--accent)) 60%, transparent); }
.bar-fill.b2 { opacity: .5; }
.bar-mark { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.ritmo { font-size: 14px; color: var(--ink-2); }
.ritmo b.ok { color: var(--ok); } .ritmo b.atras { color: var(--bad); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.split > div { background: var(--bg); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.split b { font-family: var(--font-display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 700; }
.split span { font-size: 12.5px; color: var(--muted); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary.h2::after { content: " +"; color: var(--muted); }
details[open] > summary.h2::after { content: " −"; }

/* ---------- celular ---------- */
@media (max-width: 820px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .nav { position: sticky; top: env(safe-area-inset-top, 0px); height: auto; z-index: 10; flex-direction: row; align-items: center; gap: 14px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); border-right: none; border-bottom: 1px solid var(--line); overflow-x: auto; }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--bg-deep); }
  .brand { padding: 0; gap: 0; }
  .brand small, .bulbs, .nav-foot, .nav-sep { display: none; }
  .brand-name { font-size: 26px; white-space: nowrap; }
  .brand-logo { width: auto; height: 44px; }
  .nav-list { flex-direction: row; }
  .nav a { white-space: nowrap; padding: 7px 11px; }
  .main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 28px 64px; gap: 26px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 16px; }
  .drawer { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .ficha-head { margin-inline: -18px; padding-inline: 18px; }
  .hero { gap: 22px; }
  .cv-lg.tall { width: 150px; height: 225px; } .cv-lg.sq { width: 170px; height: 170px; } .cv-lg.wide { width: 220px; height: 147px; }
  .meta-num { font-size: 64px; }
  .metas { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bulbs i { animation: bulb 2.2s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes bulb { 0% { opacity: .15; box-shadow: none; } 45% { opacity: 1; box-shadow: 0 0 12px 3px rgba(212,166,87,.8); } 100% { opacity: .85; box-shadow: 0 0 6px 1px rgba(212,166,87,.45); } }
  .overlay.anim { animation: luzes .7s ease-out both; }
  @keyframes luzes { from { background: rgba(8,4,10,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } }
  .anim .drawer { animation: entra .55s var(--ease) both; }
  @keyframes entra { from { transform: translateX(60px); opacity: 0; } }
  .anim .beam { animation: facho 1.5s .25s cubic-bezier(.3,.6,.2,1) both; }
  @keyframes facho { 0% { opacity: 0; transform: translateX(-55%) rotate(-8deg); } 35% { opacity: .95; } 100% { opacity: .35; transform: translateX(0) rotate(-8deg); } }
  .anim .hero .cover { animation: sobe .9s .35s var(--ease) both; }
  @keyframes sobe { from { opacity: 0; transform: translateY(44px) scale(.92); filter: brightness(.3); } }
  .anim .ficha-title .l { animation: placa .52s var(--ease) both; animation-delay: var(--d); }
  @keyframes placa { from { opacity: 0; transform: rotateX(-95deg); } }
  .anim .hero-tarde { animation: aparece .6s both; animation-delay: var(--d, 1.2s); }
  @keyframes aparece { from { opacity: 0; transform: translateY(8px); } }
  .title-ico.acende { animation: lampada 1.4s var(--ease) both; }
  @keyframes lampada { 0% { opacity: .15; color: var(--tc, var(--accent)); filter: none; } 30% { opacity: 1; color: var(--tc, var(--accent)); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--tc, var(--accent)) 90%, transparent)); } 55% { color: var(--tc, var(--accent)); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tc, var(--accent)) 60%, transparent)); } 100% { opacity: 1; color: var(--ink); filter: none; } }
  .frame.on, .frame.au { animation: acende .45s both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes acende { from { background: #2A1F31; box-shadow: none; } }
  .card, .kpi, .meta { animation: none; }
}
/* Ranking: itens ainda sem nota (abaixo do ranking) */
.rank-sem-titulo { font-family: var(--font-display); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: .02em; margin: 40px 0 4px; }
.rank-sem .rank-n { color: var(--muted); }
.rank-sem + p, .rank-sem-titulo + .desc { margin-bottom: 12px; }
/* Fotos escolhidas no formulário: somam a cada escolha; × tira uma */
.foto-prev { position: relative; display: block; }
.foto-prev img { aspect-ratio: 1; width: 100%; border-radius: 4px; object-fit: cover; display: block; }
.foto-tirar { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(18,12,22,.82); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.foto-tirar:hover, .foto-tirar:focus-visible { background: var(--bad); color: #fff; }
/* Edição de série: uma linha por temporada, com nota própria */
.temps-edit { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 8px; }
.temp-linha { display: grid; grid-template-columns: 90px 1.3fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-deep); }
.temp-linha .t-tirar { min-height: 42px; padding: 0 12px; font-size: 18px; }
@media (max-width: 640px) { .temp-linha { grid-template-columns: 1fr 1fr; } .temp-linha .t-n-campo { grid-column: 1 / -1; } }

/* ---------- Pergunte à Reperteca (gaveta do chat; caminho B, 18/11/2026) ---------- */
.chat-ico { width: 18px; height: 18px; display: inline-flex; flex: none; }
.chat-ico svg { width: 100%; height: 100%; display: block; }
.btn-pergunte { justify-content: center; border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.btn-pergunte:hover { background: rgba(212,166,87,.22); color: var(--accent); border-color: var(--accent); }
.chat-fab { display: none; }
.chat-painel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 25; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg-deep); border-left: 1px solid var(--line); box-shadow: -24px 0 48px rgba(0,0,0,.35); padding-top: env(safe-area-inset-top, 0px); }
.chat-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.chat-titulo { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.chat-titulo .chat-ico { width: 22px; height: 22px; }
.chat-titulo h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.chat-btn-ico { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.chat-btn-ico:hover { background: var(--surface); color: var(--ink); }
.chat-corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.chat-vazio p { color: var(--ink-2); margin: 0 0 14px; }
.chat-sugs { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chat-sug { border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 99px; padding: 7px 14px; font-size: 14px; cursor: pointer; text-align: left; }
.chat-sug:hover { border-color: var(--accent); color: var(--ink); }
.chat-eu { align-self: flex-end; max-width: 85%; background: var(--surface-2); border-radius: 16px 16px 4px 16px; padding: 10px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-ela { color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.chat-ela p { margin: 0; }
.chat-ela b { color: var(--ink); }
.chat-ela ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.chat-fichas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chat-ficha { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-left: 3px solid var(--tc, var(--accent)); border-radius: var(--r); background: transparent; color: var(--ink); font-size: 13.5px; cursor: pointer; text-align: left; }
.chat-ficha:hover { background: var(--surface); }
.chat-ficha small { flex: none; white-space: nowrap; color: var(--tc, var(--accent)); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.chat-erro { color: var(--bad); font-size: 14px; }
.chat-pensando { display: flex; gap: 5px; padding: 6px 0; }
.chat-pensando i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .3; animation: chat-pulso 1.1s infinite ease-in-out; }
.chat-pensando i:nth-child(2) { animation-delay: .15s; } .chat-pensando i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-pulso { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-form { margin: 0 16px; display: flex; gap: 8px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; }
.chat-form:focus-within { border-color: var(--accent); }
.chat-form textarea { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font-size: 15px; resize: none; padding: 10px 0; outline: none; max-height: 160px; line-height: 1.4; }
.chat-enviar { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.chat-enviar:disabled { opacity: .5; cursor: wait; }
.chat-rodape { margin: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 820px) {
  .chat-fab { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 15; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(0,0,0,.45); cursor: pointer; }
  .chat-fab .chat-ico { width: 24px; height: 24px; }
  .chat-painel { width: 100vw; border-left: 0; }
}
@media (prefers-reduced-motion: no-preference) { .chat-painel { animation: chat-entra .22s var(--ease); } @keyframes chat-entra { from { transform: translateX(24px); opacity: 0; } } }

/* ---------- formatos do livro (físico, Kindle, audiolivro) ---------- */
.formatos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.fmt { display: flex; flex-direction: column; gap: 6px; min-height: 118px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fmt-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fmt-nome { font-weight: 700; color: var(--ink); }
.fmt-det { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.fmt-lido { border-color: var(--c-livro); box-shadow: inset 0 0 0 1px var(--c-livro); }
.fmt-selo { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-livro); }
