/* Comitê Ultra Nerd — identidade do logo: espaço escuro com estrelas, planeta azul, anel roxo,
   amarelo do "Comitê" e as listras do NERD. Lilita One nos títulos, Nunito no texto. */
:root {
  --bg: #0B0620;
  --surface: #150B30;
  --surface-2: #1E1142;
  --ink: #F3EEFF;
  --muted: #B3A6D9;
  --line: #2C1F55;
  --yellow: #FFD60A;
  --orange: #FF6A00;
  --magenta: #E91E8C;
  --magenta-bg: #C8157A; /* fundo com texto branco: contraste acima de 5:1 */
  --planet: #2440E0;
  --ring: #6A22B5;
  --blue: #4FB3FF;
  --good: #4ED07A;
  --warn: #FF8A3D;
  --bad: #FF5470;
  --display: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 17px/1.6 var(--body);
  background:
    radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,.75), transparent 1.6px) 0 0/310px 310px,
    radial-gradient(1.4px 1.4px at 210px 140px, rgba(255,255,255,.55), transparent 2px) 0 0/430px 430px,
    radial-gradient(1px 1px at 120px 260px, rgba(255,214,10,.5), transparent 1.6px) 0 0/370px 370px,
    radial-gradient(1100px 620px at 88% -8%, rgba(90,34,117,.6), transparent 60%),
    radial-gradient(800px 500px at -5% 35%, rgba(107,58,90,.28), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; }
a { color: var(--yellow); }
a:hover { color: #FFF1A0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #14062E; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.15em; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* botões e etiquetas */
.btn { display: inline-flex; align-items: center; gap: .45em; font: 800 .95rem/1 var(--body); padding: .8em 1.15em; border-radius: 999px; border: 2px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, border-color .15s, background .15s; }
.btn:hover { border-color: var(--yellow); color: var(--ink); }
.btn-y { background: linear-gradient(180deg, #FFE45C, var(--yellow) 55%, #F3A000); border-color: #3D1600; color: #2A0E00; box-shadow: 0 3px 0 #3D1600; }
.btn-y:hover { color: #2A0E00; transform: translateY(-1px); border-color: #3D1600; }
.btn-m { background: var(--magenta-bg); border-color: var(--magenta-bg); color: #fff; }
.btn-m:hover { color: #fff; border-color: #FF7CC4; }
.btn-m[aria-pressed="true"] { background: var(--good); border-color: var(--good); color: #062411; }
.btn b { font-weight: 900; }
.eyebrow { display: inline-flex; align-items: center; gap: .4em; font: 900 .78rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: .6em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.chip i { width: 12px; height: 12px; border-radius: 50%; }
.chip:hover, .chip.on { border-color: var(--yellow); color: var(--ink); }
.chip.on { background: var(--surface-2); }
.tag { display: inline-block; font: 800 .72rem/1 var(--body); padding: 5px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.tag-free { background: rgba(78,208,122,.18); color: var(--good); }
.tag-tier { background: rgba(255,214,10,.15); color: var(--yellow); }
.tag-pick { background: rgba(79,179,255,.16); color: var(--blue); }
.tag-bad { background: rgba(255,84,112,.18); color: var(--bad); }
.tag-warn { background: rgba(255,138,61,.18); color: var(--warn); }
.alert { padding: 12px 16px; border-radius: 10px; border: 2px solid; margin: 0 0 16px; font-weight: 700; }
.alert.good { border-color: var(--good); background: rgba(78,208,122,.1); }
.alert.bad { border-color: var(--bad); background: rgba(255,84,112,.1); }
.alert.warn { border-color: var(--warn); background: rgba(255,138,61,.1); }
.empty { color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 20px; }
.empty.small { padding: 14px; font-size: .95rem; }
.hint { color: var(--muted); font-size: .88rem; }

/* cabeçalho e rodapé */
.site-head { position: relative; z-index: 5; background: rgba(11,6,32,.72); backdrop-filter: blur(8px); padding-top: env(safe-area-inset-top, 0px); }
.head-in { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand img { display: block; width: 170px; height: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 800; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--surface-2); color: var(--yellow); }
.nerd-rule { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.nerd-rule i:nth-child(1) { background: repeating-linear-gradient(55deg, #FF6A00 0 6px, #FFD60A 6px 11px); }
.nerd-rule i:nth-child(2) { background: repeating-linear-gradient(-18deg, #22B14C 0 7px, #0A4D22 7px 10px); }
.nerd-rule i:nth-child(3) { background: repeating-linear-gradient(-35deg, #E91E8C 0 7px, #FF7CC4 7px 11px); }
.nerd-rule i:nth-child(4) { background: repeating-linear-gradient(30deg, #5A2BD6 0 7px, #2FA8FF 7px 11px); }
@media (max-width: 760px) {
  .head-in { flex-wrap: wrap; gap: 8px 12px; }
  .brand img { width: 140px; }
  .head-cta { margin-left: auto; padding: .65em .9em; font-size: .85rem; }
  .main-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 2px; }
  .main-nav a { padding: 6px 10px; }
}
.site-foot { margin-top: 72px; background: rgba(5,2,15,.7); border-top: 1px solid var(--line); padding-block: 40px calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.foot-brand { display: flex; gap: 18px; align-items: center; }
.foot-brand img { width: 92px; height: auto; }
.foot-brand p { color: var(--muted); margin: 0; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-links h2 { font-size: 1.1rem; margin-bottom: 4px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--yellow); }
.foot-note { color: var(--muted); font-size: .85rem; margin-top: 28px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* home */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 48px 24px; position: relative; }
.hero::after { content: ""; position: absolute; right: 0; top: 0; width: min(560px, 70%); aspect-ratio: 1; z-index: -1; background: radial-gradient(circle at 55% 45%, rgba(255,210,122,.28), rgba(255,138,42,.14) 32%, transparent 62%); pointer-events: none; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; max-width: 560px; }
.search:focus-within { border-color: var(--yellow); }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: 700 1rem var(--body); outline: none; }
.hero-card { display: grid; justify-items: center; gap: 4px; }
.hero-art img { width: 100%; max-width: 480px; display: block; margin-inline: auto; border-radius: 28px; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; } .hero-art { display: none; } }
.sec { padding-top: 48px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.more { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 48px; padding-block: 28px; padding-inline: 28px; border-radius: 20px; background: linear-gradient(120deg, rgba(36,64,224,.35), rgba(106,34,181,.35)); border: 1.5px solid rgba(164,92,236,.45); }
.band h2 { margin-bottom: .2em; }
.band p { margin: 0; color: var(--muted); max-width: 60ch; }
.band-org { background: linear-gradient(120deg, rgba(233,30,140,.25), rgba(255,106,0,.22)); border-color: rgba(255,124,196,.4); }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* cartas */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); }
.tcg { --c: #2440E0; --c2: #0F1B92; position: relative; display: flex; width: 100%; max-width: 270px; justify-self: center; border-radius: 16px; padding: 9px; background: linear-gradient(155deg, var(--c), var(--c2)); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); font-family: var(--body); color: #0B0620; text-decoration: none; }
a.tcg:hover { color: #0B0620; }
.tcg-in { flex: 1; display: flex; flex-direction: column; gap: 6px; border-radius: 9px; padding: 9px 10px 8px; background: color-mix(in srgb, var(--c) 13%, #FFFDF6); border: 1px solid rgba(11,6,32,.25); }
.tcg-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: start; }
.tcg-stage { display: inline-block; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: #0B0620; color: var(--yellow); padding: 1px 6px; border-radius: 3px; }
.tcg-name { margin: 3px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.02; color: #0B0620;
  height: 2.45rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.tcg-name.lg { font-size: 1rem; line-height: 1.12; padding-top: .1rem; }
.tcg-name.xl { font-size: .86rem; line-height: 1.16; padding-top: .2rem; }
.tcg-name.xxl { font-size: .76rem; line-height: 1.2; padding-top: .25rem; }
.tcg-sub { display: block; font-size: .66rem; font-weight: 800; color: #3A3352; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcg-hp { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.tcg-hp small { font-size: .52rem; font-weight: 900; color: #3A3352; align-self: flex-end; padding-bottom: 3px; }
.tcg-hp b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.tcg-em, .tcg-cost { display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6), 0 0 0 1px rgba(11,6,32,.35); }
.tcg.ink .tcg-em, .tcg.ink .tcg-cost { color: #0B0620; }
.tcg-em { width: 24px; height: 24px; }
.tcg-em .i { width: 14px; height: 14px; stroke-width: 2.3; }
.tcg-cost { width: 17px; height: 17px; }
.tcg-cost .i { width: 10px; height: 10px; stroke-width: 2.5; }
.tcg-art { position: relative; aspect-ratio: 16/10; border: 3px solid #fff; outline: 1px solid rgba(11,6,32,.35); border-radius: 3px; overflow: hidden; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 42%), repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #fff) 0 7px, color-mix(in srgb, var(--c) 85%, #000) 7px 14px); }
.tcg-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcg-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.tcg-ph .i { width: 44%; height: 44%; stroke-width: 1.6; filter: drop-shadow(0 2px 0 rgba(11,6,32,.35)); }
.tcg.ink .tcg-ph { color: rgba(11,6,32,.75); }
.tcg-pick { position: absolute; left: 4px; top: 4px; font-size: .55rem; font-weight: 900; background: var(--blue); color: #061A33; padding: 2px 6px; border-radius: 3px; }
.tcg-stamp { position: absolute; inset: auto 0 38% 0; text-align: center; font-family: var(--display); font-size: 1.2rem; color: #fff; background: rgba(214,30,60,.88); transform: rotate(-8deg); padding: 2px 0; letter-spacing: .06em; text-transform: uppercase; }
.tcg-strip { margin: 0; font-size: .63rem; font-weight: 800; text-align: center; background: color-mix(in srgb, var(--c) 30%, #fff); border-radius: 2px; padding: 2px 4px; }
.tcg-atk { display: grid; grid-template-columns: 17px minmax(0, 1fr) auto; gap: 2px 6px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid rgba(11,6,32,.18); }
.tcg-atk b { font-size: .75rem; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.tcg-atk em { font-style: normal; font-family: var(--display); font-size: .92rem; white-space: nowrap; }
.tcg-atk small { grid-column: 1 / -1; font-size: .62rem; line-height: 1.3; color: #3A3352; }
.tcg-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; text-align: center; }
.tcg-stats div { display: grid; }
.tcg-stats dt { font-size: .5rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #3A3352; }
.tcg-stats dd { margin: 0; font-size: .72rem; font-weight: 900; }
.tcg-flavor { margin: 0; font-size: .62rem; line-height: 1.35; font-style: italic; border: 1px solid color-mix(in srgb, var(--c) 60%, #0B0620); border-radius: 3px; padding: 3px 6px; background: rgba(255,255,255,.6); }
.tcg-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center; font-size: .54rem; font-weight: 800; color: #3A3352; }
.tcg-foot span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcg-rar { font-size: .85rem; color: #0B0620; }
.tcg.holo::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; background: linear-gradient(115deg, transparent 15%, rgba(255,214,10,.55) 30%, rgba(233,30,140,.45) 42%, rgba(36,64,224,.45) 54%, rgba(34,177,76,.45) 66%, transparent 82%); background-size: 260% 260%; mix-blend-mode: soft-light; animation: holo 7s linear infinite; }
@keyframes holo { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: no-preference) { a.tcg { transition: transform .2s; } a.tcg:hover { transform: translateY(-4px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .tcg.holo::after { animation: none; background-position: 40% 50%; } }

/* lista temática */
.rows { display: grid; gap: 8px; }
.row-ev { --c: #2440E0; display: grid; grid-template-columns: 92px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; background: rgba(5,2,15,.75); border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.row-ev:hover { border-color: var(--c); color: var(--ink); }
.row-date { display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 1.35rem; line-height: 1; padding: 8px 4px; border-radius: 6px; background: var(--orange); color: #1A0A00; clip-path: polygon(4% 0, 100% 3%, 96% 100%, 0 96%); }
.row-date.alt { background: #8E44E8; color: #fff; }
.row-date small { font-family: var(--body); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.row-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--c); color: var(--c); background: rgba(255,255,255,.04); }
.row-ev.ink .row-ic { color: var(--c); }
.row-t { min-width: 0; display: grid; }
.row-t b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.15; }
.row-t b i { font-family: var(--body); font-style: normal; font-weight: 700; font-size: .85rem; color: var(--muted); }
.row-t small { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
@media (max-width: 640px) { .row-ev { grid-template-columns: 74px minmax(0, 1fr); } .row-ic { display: none; } .row-tags { grid-column: 1 / -1; justify-content: flex-start; } .row-date { font-size: 1.1rem; } }

/* agenda */
.page-head { padding-top: 40px; }
.page-head.narrow, .narrow { max-width: 860px; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto auto; gap: 10px; align-items: end; margin-top: 12px; }
.filters label { display: grid; gap: 4px; font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.filters select, .filters input[type=search] { width: 100%; }
.f-search { position: relative; }
.f-search .i { position: absolute; left: 12px; bottom: 13px; color: var(--muted); }
.f-search input { padding-left: 38px !important; }
.f-check { display: flex !important; align-items: center; gap: 8px; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; color: var(--ink) !important; padding-bottom: 10px; }
@media (max-width: 960px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-search { grid-column: 1 / -1; } }
.f-dates { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 10px; }
.filters.show-dates .f-dates, .filters:has(option[value=datas]:checked) .f-dates { display: grid; }
.f-dates input { width: 100%; color-scheme: dark; }
.period-note { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.view-toggle { display: flex; align-items: center; gap: 6px; margin: 20px 0 8px; }
.view-toggle span { margin-right: auto; color: var(--muted); font-weight: 700; }
.view-toggle a { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; }
.view-toggle a[aria-current] { background: var(--yellow); color: #14062E; border-color: var(--yellow); }
.month { margin-top: 28px; }
.month-h { border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 18px; }

/* formulários */
input, select, textarea { font: 600 1rem var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,10,.2); }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--yellow); width: 18px; height: 18px; }
.big-form { display: grid; gap: 24px; }
.big-form fieldset { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: rgba(21,11,48,.6); }
.big-form legend { font-family: var(--display); font-size: 1.2rem; padding: 0 8px; }
.big-form label { display: grid; gap: 6px; font-weight: 800; font-size: .92rem; }
.big-form label small { color: var(--muted); font-weight: 600; }
.big-form .full { grid-column: 1 / -1; }
.big-form .check { display: flex; align-items: center; gap: 10px; font-weight: 700; }
@media (max-width: 640px) { .big-form fieldset { grid-template-columns: minmax(0, 1fr); } }
.done { background: var(--surface); border: 2px solid var(--good); border-radius: 16px; padding: 24px; }

/* página do evento */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 24px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; }
.ev-side { position: sticky; top: 16px; display: grid; gap: 12px; justify-items: center; }
.side-note { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } .ev-side { position: static; order: -1; } }
.ev-cover { width: 100%; border-radius: 16px; display: block; margin-bottom: 20px; max-height: 460px; object-fit: cover; }
.ev-sub { font-size: 1.2rem; color: var(--muted); margin-top: -.3em; }
.ok-badge { color: var(--good); display: inline-flex; align-items: center; gap: 4px; }
.ev-facts { display: grid; gap: 10px; margin: 20px 0; padding: 18px 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; }
.ev-facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.ev-facts dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; }
.ev-facts dd { margin: 0; font-weight: 700; }
@media (max-width: 560px) { .ev-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-block { margin-top: 40px; }
.attr { padding-left: 1.1em; }
.attr li { margin-bottom: 8px; }
.prose { max-width: 70ch; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 0 0 1em; padding: 8px 16px; border-left: 4px solid var(--ring); background: var(--surface); border-radius: 0 8px 8px 0; }

/* avaliações e comentários */
.rate-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; }
.rate-sum b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.rate-sum small { color: var(--muted); width: 100%; }
.stars { color: var(--yellow); letter-spacing: .06em; }
.stars-off { color: #3A2D66; }
.cform { display: grid; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 22px; }
.cform h3 { font-size: 1.2rem; margin: 0; }
.cform label { display: grid; gap: 6px; font-weight: 800; font-size: .92rem; }
.cform .btn { justify-self: start; }
.rating-input { border: 0; padding: 0; margin: 0; }
.rating-input legend { font-weight: 800; font-size: .92rem; margin-bottom: 4px; padding: 0; }
.stars-row { display: inline-flex; gap: 2px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 2rem; color: #3A2D66; cursor: pointer; line-height: 1; }
.stars-row:has(#r1:checked) label:nth-of-type(-n+1), .stars-row:has(#r2:checked) label:nth-of-type(-n+2),
.stars-row:has(#r3:checked) label:nth-of-type(-n+3), .stars-row:has(#r4:checked) label:nth-of-type(-n+4),
.stars-row:has(#r5:checked) label:nth-of-type(-n+5) { color: var(--yellow); }
.stars-row:hover label { color: var(--yellow); }
.stars-row label:hover ~ label { color: #3A2D66; }
.stars-row input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 4px; }
.thread { display: grid; gap: 16px; }
.rev { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.rev p { margin: 2px 0 0; overflow-wrap: anywhere; }
.rev-head { margin: 0; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--planet), var(--ring)); color: #fff; font-weight: 900; font-size: .85rem; }
.reply { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(79,179,255,.1); border: 1px solid rgba(79,179,255,.3); }
.reply b { color: var(--blue); }

/* blog */
.posts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; padding-bottom: 16px; }
.post-card:hover { border-color: var(--yellow); color: var(--ink); }
.post-cover { display: block; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--planet), var(--ring)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-ph { display: block; height: 100%; background: radial-gradient(circle at 70% 40%, rgba(255,210,122,.35), transparent 50%), radial-gradient(circle at 30% 60%, #2440E0 0 22%, transparent 23%); }
.post-meta { padding: 6px 16px 0; font-size: .78rem; font-weight: 900; color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; }
.post-title { padding: 0 16px; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.post-ex { padding: 0 16px; color: var(--muted); font-size: .95rem; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; }
.post-event { position: sticky; top: 16px; display: grid; gap: 8px; justify-items: center; }
@media (max-width: 900px) { .post-grid { grid-template-columns: minmax(0, 1fr); } .post-event { position: static; } }
.post-by { color: var(--muted); font-weight: 700; }
.post-hero { width: 100%; border-radius: 16px; margin: 8px 0 24px; }
.post-cta { margin-top: 32px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); }

/* anuncie */
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tier { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; }
.tier-holo { border: 2px solid var(--yellow); box-shadow: 4px 4px 0 var(--magenta); }
.tier-sym { position: absolute; right: 18px; top: 14px; font-size: 1.6rem; color: var(--yellow); }
.tier ul { padding-left: 1.1em; margin: 0; }
.two-col { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.list { padding-left: 1.1em; }
.list li { margin-bottom: 6px; }
.empty-page { padding-block: 80px; text-align: center; }
.empty-page h1 { font-size: 5rem; color: var(--yellow); }

/* arte do mês (1080 × 1350) */
.poster-body { background: #05020F; padding: 24px; }
.poster { width: 1080px; height: 1350px; margin-inline: auto; position: relative; overflow: hidden; padding: 48px 52px; display: flex; flex-direction: column; gap: 26px;
  background: radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,.8), transparent 1.6px) 0 0/210px 210px, radial-gradient(1.4px 1.4px at 140px 120px, rgba(255,255,255,.6), transparent 2px) 0 0/290px 290px, radial-gradient(900px 600px at 85% 0%, rgba(90,34,117,.75), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(233,30,140,.25), transparent 60%), #0B0620; }
.poster-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.poster-head img { width: 300px; }
.poster-head div { text-align: right; }
.poster-head span { font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.poster-head h1 { font-size: 7rem; line-height: .9; margin: 0; text-transform: uppercase; background: linear-gradient(180deg, #FFF9B0, #FFD60A 45%, #F39200); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 3px #3D1600; }
.poster-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; flex: 1; align-content: start; }
.poster-cards .tcg { max-width: none; }
.poster-cards .tcg-flavor, .poster-cards .tcg-atk small { display: none; }
.poster-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; font-size: 1rem; }
.poster-legend span { display: inline-flex; align-items: center; gap: 8px; }
.poster-legend i { width: 14px; height: 14px; border-radius: 50%; }
.poster-lista .rows { gap: 10px; }
.poster-lista .row-ev { grid-template-columns: 130px 52px minmax(0, 1fr) auto; padding: 10px 16px 10px 10px; }
.poster-lista .row-date { font-size: 1.9rem; }
.poster-lista .row-t b { font-size: 1.6rem; }
.poster-lista .row-t small { font-size: 1.05rem; }
.poster-lista .row-ic { width: 52px; height: 52px; }
.poster-foot { margin-top: auto; text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--muted); }
.poster-foot b { color: var(--yellow); }
.poster-help { text-align: center; color: var(--muted); margin-top: 16px; }

/* seletor de estado (home) */
.uf-pick { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-weight: 800; }
.uf-pick select { min-width: 220px; }

/* loja */
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--magenta-bg); color: #fff; font-size: .72rem; }
.shop-note { color: var(--muted); font-size: .92rem; border-left: 3px solid var(--yellow); padding-left: 12px; max-width: 70ch; }
.products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pcard { display: grid; gap: 4px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; padding-bottom: 14px; }
.pcard:hover { border-color: var(--yellow); color: var(--ink); }
.pcard-img { position: relative; display: block; aspect-ratio: 1; background: #1E1142; }
.pcard-img img { background: #fff; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-ph { display: block; width: 100%; height: 100%; min-height: 64px; background: radial-gradient(circle at 50% 45%, #2440E0 0 28%, transparent 29%), linear-gradient(180deg, transparent 44%, #6A22B5 44% 56%, transparent 56%), radial-gradient(circle at 50% 45%, rgba(255,210,122,.4), transparent 55%), #1E1142; }
.pcard-stock, .pcard-off { position: absolute; top: 8px; font: 900 .72rem/1 var(--body); padding: 5px 8px; border-radius: 6px; }
.pcard-stock { left: 8px; background: #0B0620; color: var(--yellow); }
.pcard-off { right: 8px; background: var(--magenta-bg); color: #fff; }
.pcard.soldout .pcard-img { filter: grayscale(.8); opacity: .7; }
.pcard-cat { padding: 8px 14px 0; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pcard-name { padding: 0 14px; font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.pcard-short { padding: 0 14px; color: var(--muted); font-size: .9rem; }
.pcard-price { padding: 4px 14px 0; font-family: var(--display); font-size: 1.35rem; color: var(--yellow); }
.pcard-price s, .prod-price s { font-family: var(--body); font-size: .85rem; color: var(--muted); }
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
.prod-gallery { display: grid; gap: 10px; }
.prod-main { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
img.prod-main { background: #fff; }
.prod-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; width: 72px; height: 72px; background: #fff; cursor: pointer; }
.prod-thumbs button[aria-current] { border-color: var(--yellow); }
.prod-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prod-price { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 4px; }
.prod-price b { font-family: var(--display); font-weight: 400; font-size: 2.4rem; color: var(--yellow); }
.prod-stock { font-weight: 800; margin-bottom: 16px; }
.prod-stock.st-disponivel { color: var(--good); }
.prod-stock.st-sob_encomenda { color: var(--warn); }
.prod-stock.st-esgotado { color: var(--bad); }
.prod-desc { margin-top: 24px; }
.cart-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--magenta-bg); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.cart-fab:hover { color: #fff; }
.cart-fab b { background: #fff; color: var(--magenta); border-radius: 999px; padding: 0 8px; }
.cart-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row img, .cart-row .pcard-ph { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-row img { background: #fff; }
.cart-row small { display: block; color: var(--muted); }
.cart-row.off { opacity: .55; }
.cart-row .line { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--yellow); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: none; border: 0; color: var(--ink); font: 900 1.1rem var(--body); width: 34px; height: 34px; cursor: pointer; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 24px; text-align: center; font-weight: 900; }
@media (max-width: 560px) { .cart-row { grid-template-columns: 56px minmax(0, 1fr); } .cart-row .qty, .cart-row .line { grid-column: 2; justify-self: start; } }
.cart-total { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; margin: 18px 0 24px; padding: 16px 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; }
.cart-total b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--yellow); }
.cart-total small { grid-column: 1 / -1; color: var(--muted); }

/* paginação, remover do carrinho */
.pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.cart-rm { grid-column: 2 / -1; justify-self: start; background: none; border: 0; padding: 0; color: var(--muted); font: 700 .85rem var(--body); text-decoration: underline; cursor: pointer; }
.cart-rm:hover { color: var(--bad); }

/* logo animado do topo */
.hero-video { display: block; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
