@font-face { font-family: Pix; src: url(assets/PixelifySans.ttf); font-weight: 400 700; }
@font-face { font-family: Pix8; src: url(assets/PressStart2P.ttf); }
:root {
  --bg: #0c101c; --panel: #161d31; --panel2: #1d263f; --line: #2b3656; --line2: #3c4b74;
  --text: #e3e9f7; --muted: #8d98b8; --y: #ffd25e; --y2: #e8a93a; --ice: #a9d4f5; --ice2: #6fa6d8; --ember: #ff8a3d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", system-ui, sans-serif; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
  background-image: radial-gradient(1200px 700px at 50% -20%, #22345c66, transparent 70%), linear-gradient(#0000 96%, #ffffff06 96%), linear-gradient(90deg, #0000 96%, #ffffff06 96%);
  background-size: auto, 24px 24px, 24px 24px; }
main { flex: 1; }
h1, h2, h3, .brand, .btn, nav a, .eyebrow, .badge, summary, .ribbon, .lockTag, .winBar, .tab, .chip, .step b, .tagf { font-family: Pix, monospace; font-weight: 600; }
.num { font-family: Pix8, monospace; letter-spacing: 1px; }
.y { color: var(--y); } .ice { color: var(--ice); }
canvas { image-rendering: pixelated; }
a { color: inherit; }
.hidden { display: none !important; }

/* ---- moldura pixelada ---- */
.pixbox { background: var(--panel); position: relative;
  box-shadow: 0 -3px 0 0 var(--line), 0 3px 0 0 var(--line), -3px 0 0 0 var(--line), 3px 0 0 0 var(--line), 6px 6px 0 3px #00000066; }
.pixbox.gold { box-shadow: 0 -3px 0 0 var(--y2), 0 3px 0 0 var(--y2), -3px 0 0 0 var(--y2), 3px 0 0 0 var(--y2), 6px 6px 0 3px #00000066; }
.pixbox.frost { background: linear-gradient(170deg, #1a2a46, var(--panel)); box-shadow: 0 -3px 0 0 var(--ice2), 0 3px 0 0 var(--ice2), -3px 0 0 0 var(--ice2), 3px 0 0 0 var(--ice2), 6px 6px 0 3px #00000066; }
.pixbox.ember { background: linear-gradient(160deg, #2a1c22, var(--panel)); box-shadow: 0 -3px 0 0 #a2532c, 0 3px 0 0 #a2532c, -3px 0 0 0 #a2532c, 3px 0 0 0 #a2532c, 6px 6px 0 3px #00000066; }

/* ---- topo ---- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 10px 28px; background: #0a0d18f2; backdrop-filter: blur(6px); border-bottom: 3px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; color: var(--text); }
.top nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.top nav a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 10px; border-bottom: 3px solid transparent; }
.top nav a:hover, .top nav a.on { color: var(--y); border-color: var(--y); }
.top nav a.northLink { color: var(--ice); }
.langSw { display: flex; box-shadow: 0 0 0 2px var(--line); }
.langSw button { background: transparent; color: var(--muted); border: 0; padding: 7px 10px; font-family: Pix8; font-size: 10px; cursor: pointer; }
.langSw button.on { background: var(--y); color: #241a00; }
.langSw button:hover:not(.on) { color: var(--y); }
.crest.sm { width: 32px; height: 36px; }
.crest.big { width: 112px; height: 126px; filter: drop-shadow(0 0 24px #ffb44a55); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.ico { width: 16px; height: 16px; flex: none; } .ico.xs { width: 12px; height: 12px; } .ico.lg { width: 32px; height: 32px; } .ico.xl { width: 48px; height: 48px; }

/* ---- botões ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--y); color: #241a00; border: 0; padding: 13px 20px; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: inset -3px -3px 0 var(--y2), inset 3px 3px 0 #fff3c0, 4px 4px 0 #000; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: inset -3px -3px 0 var(--y2), inset 3px 3px 0 #fff3c0, 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: inset -3px -3px 0 var(--y2), 1px 1px 0 #000; }
.btn.dark { background: var(--panel2); color: var(--text); box-shadow: inset -3px -3px 0 #10162a, inset 3px 3px 0 var(--line2), 4px 4px 0 #000; }
.btn.ice { background: #9fcff3; color: #0b1a2c; box-shadow: inset -3px -3px 0 #5f8fc0, inset 3px 3px 0 #e6f4ff, 4px 4px 0 #000; }
.btn.sm { padding: 9px 14px; font-size: 14px; } .btn.xs { padding: 4px 10px; font-size: 12px; }

/* ---- home: abertura ---- */
.hero { position: relative; min-height: calc(100vh - 62px); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 3px solid var(--line); }
#heroMap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.heroShade { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, #0c101caa, #0c101cee 75%), linear-gradient(#0c101c00 55%, var(--bg)); }
.heroInner { position: relative; text-align: center; max-width: 800px; padding: 40px 24px 60px; display: flex; flex-direction: column; align-items: center; }
.kicker { color: var(--y); font-family: Pix8; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; margin: 18px 0 6px; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 6px 0 18px; text-shadow: 4px 4px 0 #000; }
.lead { font-size: 18px; color: #cdd5ea; max-width: 640px; margin: 0; text-shadow: 0 2px 8px #000; }
.counter { display: inline-flex; align-items: center; gap: 16px; margin: 28px 0; padding: 16px 24px; background: #111a2ee6; }
.counter b { font-size: 30px; color: var(--y); text-shadow: 3px 3px 0 #000; }
.counter span { color: var(--muted); font-size: 12px; text-align: left; line-height: 1.35; text-transform: uppercase; letter-spacing: 1px; }
.btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ---- seções ---- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 64px 28px; width: 100%; }
.eyebrow { color: var(--ice); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 26px; line-height: 1.15; }
h3 { font-size: 20px; margin: 0 0 8px; }
.badge { background: var(--ember); color: #1b0d00; font-size: 11px; padding: 3px 8px; letter-spacing: 1px; }
.pageHead { padding: 56px 28px 10px; max-width: 1140px; margin: 0 auto; width: 100%; }
.pageHead p.sub { color: var(--muted); max-width: 640px; margin: -12px 0 0; font-size: 17px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; }
.stat { padding: 22px 24px; display: flex; align-items: center; gap: 18px; }
.stat b { font-size: 26px; color: var(--y); line-height: 1; display: block; margin-bottom: 8px; }
.stat small { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 26px; }
.step b { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--y); color: #241a00; font-size: 22px; box-shadow: 3px 3px 0 #000; }
.step h3 { margin-top: 16px; } .step p { color: #b7c0da; margin: 0; }

.feature { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: center; padding: 28px; background: linear-gradient(120deg, #1c2440, #141a2e);
  box-shadow: 0 -3px 0 0 var(--y2), 0 3px 0 0 var(--y2), -3px 0 0 0 var(--y2), 3px 0 0 0 var(--y2), 8px 8px 0 3px #00000066; }
.poster { position: relative; }
.poster img { width: 100%; display: block; image-rendering: pixelated; border: 3px solid #000; box-shadow: 0 0 0 3px var(--line2); }
.ribbon { position: absolute; top: 12px; left: -8px; background: var(--ember); color: #1b0d00; padding: 4px 12px; font-size: 13px; box-shadow: 3px 3px 0 #000; }
.feature p { color: #c3cbe2; font-size: 17px; } .feature .btns { justify-content: flex-start; margin-top: 18px; }

.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { display: block; padding: 22px; text-decoration: none; min-height: 168px; transition: transform .12s; }
.tile:hover { transform: translate(-3px, -3px); background: var(--panel2); }
.tile h3 { margin: 14px 0 6px; } .tile p { margin: 0; color: var(--muted); font-size: 14px; }
.lockTag { position: absolute; top: 14px; right: 14px; font-size: 11px; color: var(--ice); background: #0b1222; padding: 2px 8px; box-shadow: 0 0 0 2px var(--ice); display: inline-flex; gap: 6px; align-items: center; }

/* boato do norte */
.rumor { display: flex; align-items: center; gap: 18px; padding: 18px 24px; margin-top: 8px; }
.rumor .rlabel { font-family: Pix; font-size: 13px; color: var(--ice); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.rumor span { font-size: 18px; font-style: italic; color: #d7e6fb; opacity: 0; transform: translateY(6px); transition: .35s; }
.rumor.in span { opacity: 1; transform: none; }

/* ---- ao vivo ---- */
.liveWrap { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 32px; align-items: start; }
.window { padding: 0; overflow: hidden; }
.winBar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0b1020; border-bottom: 3px solid var(--line); font-size: 14px; color: var(--muted); }
.winBar .btn { margin-left: auto; }
.dot { width: 10px; height: 10px; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
#liveMap { display: block; width: 100%; cursor: pointer; }
.side { display: flex; flex-direction: column; gap: 24px; }
.card { padding: 20px; } .card h3 { color: var(--y); } .card p { margin: 4px 0; color: #c3cbe2; }
.online { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.online li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: #10172a; cursor: pointer; font-size: 14px; }
.online li:hover { background: var(--panel2); }
.online li .pt { width: 30px; height: 30px; background: #cfd9ee; }
.online li small { color: var(--muted); display: block; font-size: 11px; line-height: 1.1; }

/* ---- moradores ---- */
.headRow { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.headRow h2 { margin: 0; }
input, select, textarea { background: #0b101e; color: var(--text); border: 0; box-shadow: inset 0 0 0 3px var(--line); padding: 12px 14px; font-size: 15px; font-family: inherit; width: 100%; }
input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--y2); }
.search { width: 320px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 22px; }
.res { background: var(--panel); padding: 18px 12px 16px; text-align: center; box-shadow: 0 0 0 3px var(--line), 5px 5px 0 3px #00000055; transition: transform .12s; position: relative; }
.res:hover { transform: translateY(-3px); }
.res .pt { width: 88px; height: 88px; display: block; margin: 0 auto; background: #cfd9ee; box-shadow: 0 0 0 3px #000; }
.res b { display: block; font-family: Pix; font-size: 19px; margin: 12px 0 0; }
.res small { color: var(--muted); font-size: 13px; }
.tagf { display: inline-block; margin-top: 10px; font-size: 11px; padding: 2px 8px; background: #263155; color: var(--ice); letter-spacing: 1px; }
.tagf.f { background: #3b2f14; color: var(--y); } .tagf.n { background: var(--y); color: #241a00; }
.res.mystery { background: repeating-linear-gradient(135deg, #10172a 0 10px, #131b31 10px 20px); box-shadow: 0 0 0 3px var(--ice2), 5px 5px 0 3px #00000055; }
.res.mystery .qbox { width: 88px; height: 88px; margin: 0 auto; display: grid; place-items: center; background: #0b1020; box-shadow: 0 0 0 3px #000; font-family: Pix; font-size: 48px; color: var(--ice); text-shadow: 0 0 18px var(--ice2); }

/* ---- história ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 4px; background: repeating-linear-gradient(var(--line2) 0 8px, transparent 8px 14px); }
.ev { position: relative; margin-bottom: 24px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; }
.ev::before { content: ""; position: absolute; left: -36px; top: 24px; width: 14px; height: 14px; background: var(--y); box-shadow: 0 0 0 3px #000, 0 0 14px var(--y2); }
.ev h3 { margin: 0; } .ev .epn { color: var(--ice); font-size: 12px; } .ev p { margin: 0; color: #b7c0da; grid-column: 1 / -1; }
.ev .pop { text-align: right; align-self: start; grid-column: 2; grid-row: 1 / span 2; color: var(--muted); font-size: 12px; } .ev .pop b { color: var(--y); font-size: 14px; display: block; }
.ev.locked { opacity: .55; } .ev.locked::before { background: var(--ice2); box-shadow: 0 0 0 3px #000; }

/* ---- carta ---- */
.letterLayout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.tab { background: var(--panel); color: var(--muted); border: 0; padding: 12px 8px; font-size: 15px; cursor: pointer; box-shadow: inset 0 0 0 3px var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; }
.tab .n { font-family: Pix8; font-size: 10px; }
.tab.on { background: var(--y); color: #241a00; box-shadow: inset -3px -3px 0 var(--y2), 3px 3px 0 #000; }
.panel { padding: 26px; display: none; } .panel.on { display: block; }
.panel label.f { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 8px; }
.panel .fld { margin-bottom: 22px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; background: #10172a; color: var(--text); border: 0; padding: 10px 12px; font-size: 15px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); text-align: left; }
.chip:hover { background: var(--panel2); }
.chip.on { background: #3a2f12; box-shadow: inset 0 0 0 3px var(--y); color: var(--y); }
.chip.off { opacity: .5; cursor: not-allowed; }
.chip .ico { width: 24px; height: 24px; }
.chip .lk { margin-left: auto; font-size: 10px; background: #3a1620; color: #ff8f8f; padding: 1px 6px; }
.charTop { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.charTop > canvas { width: 96px; height: 96px; background: #cfd9ee; box-shadow: 0 0 0 3px #000; }
.charTop .btn { flex: 1; justify-content: center; }
.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: grid; grid-template-columns: 78px 34px 1fr 34px; align-items: center; background: #10172a; box-shadow: inset 0 0 0 2px var(--line); padding: 6px; gap: 6px; }
.stepper .lb { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding-left: 6px; line-height: 1.1; }
.stepper button { height: 32px; border: 0; background: var(--panel2); color: var(--text); cursor: pointer; font-size: 13px; box-shadow: inset -2px -2px 0 #0b1020, inset 2px 2px 0 var(--line2); }
.stepper button:hover { color: var(--y); }
.stepper .val { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-family: Pix; }
.stepper .val i { width: 12px; height: 12px; box-shadow: 0 0 0 2px #000; }
.note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.nextRow { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.cardSide { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
#cardCv { width: 360px; height: 640px; box-shadow: 0 0 0 3px #000, 10px 10px 0 3px #00000077; }
.ok { color: #9be39b; margin: 0; text-align: center; }

/* ---- mapa ---- */
.mapLayout { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 32px; align-items: start; }
.mapBox { padding: 0; overflow: hidden; }
#worldMap { display: block; width: 100%; cursor: pointer; }
.places li .pin { width: 12px; height: 12px; flex: none; box-shadow: 0 0 0 2px #000; }
.places li.locked { color: #6f7a99; }

/* ---- norte ---- */
.northHero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 3px solid var(--line); }
#wallCv { position: absolute; inset: 0; width: 100%; height: 100%; }
.wallArt { position: absolute; inset: 0; background: url(assets/muralha_norte.jpg) center/cover no-repeat; image-rendering: pixelated; }
.wallArt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 45%, #0c101c88, #0c101cdd 80%), linear-gradient(#0c101c00 60%, var(--bg)); }
.northInner { position: relative; text-align: center; padding: 60px 24px; }
.bigQ { font-family: Pix; font-size: 140px; line-height: 1; color: #d9ecff; text-shadow: 6px 6px 0 #000, 0 0 50px #7ab8ff; animation: bob 3.5s ease-in-out infinite; }
.northInner h1 { font-size: clamp(36px, 5vw, 60px); }
.northInner p { color: #c6d6ee; max-width: 560px; margin: 0 auto; font-size: 18px; }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ledger .stat b { color: var(--ice); }
.fragment { padding: 30px; text-align: center; background: #e9dcbc; color: #3a2a1a; box-shadow: 0 0 0 4px #3a2a1a, inset 0 0 0 4px #c9b48a, 10px 10px 0 4px #000; transform: rotate(-1deg); clip-path: polygon(0 3%, 12% 0, 30% 2%, 55% 0, 78% 3%, 100% 0, 99% 40%, 100% 75%, 97% 100%, 70% 97%, 40% 100%, 18% 97%, 0 100%, 2% 60%); }
.glyphs { font-family: Pix8; font-size: 22px; letter-spacing: 10px; margin: 10px 0 16px; color: #2a1d10; }
.fragment small { color: #7a5c38; font-style: italic; }

/* ---- faq ---- */
details { padding: 18px 22px; margin-bottom: 18px; }
summary { cursor: pointer; font-size: 19px; }
details p { color: #b7c0da; margin: 10px 0 0; }

footer { text-align: center; color: #5f6a8a; padding: 46px 20px; border-top: 3px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; }
footer p { margin: 0; font-family: Pix; color: var(--muted); font-size: 17px; }
.fnav a { color: var(--muted); text-decoration: none; font-size: 14px; } .fnav a:hover { color: var(--y); }

@media (max-width: 980px) {
  .explore { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps, .feature, .liveWrap, .letterLayout, .mapLayout, .ledger { grid-template-columns: 1fr; }
  .steppers { grid-template-columns: 1fr; }
  .top nav { display: none; }
}

/* ---- ao vivo v4 ---- */
.stage { position: relative; padding: 0; overflow: hidden; user-select: none; }
.stage:fullscreen { display: flex; align-items: center; justify-content: center; background: #05070e; }
.stage:fullscreen #liveMap { width: auto; height: 100vh; }
.hud { position: absolute; display: flex; gap: 8px; z-index: 3; flex-wrap: nowrap; }
.hud.tl { top: 12px; left: 12px; flex-direction: column; align-items: flex-start; gap: 8px; max-width: calc(100% - 250px); } .hud.tr { top: 12px; right: 12px; }
.hud.bl { bottom: 10px; left: 10px; flex-direction: column; align-items: flex-start; } .hud.br { bottom: 10px; right: 10px; }
.hudBox { background: rgba(8,11,22,.86); color: #e8eefc; font-family: Pix8; font-size: 9px; padding: 7px 9px; box-shadow: 0 0 0 2px #000, inset 0 0 0 1px #2b3656; letter-spacing: 1px; }
.hudBox.y { color: var(--y); box-shadow: 0 0 0 2px #000, inset 0 0 0 1px var(--y); }
.hudTip { position: absolute; top: 88px; left: 12px; right: 110px; z-index: 3; background: rgba(8,11,22,.86); color: #dfe6f8; font-size: 13px; padding: 8px 10px; border-left: 3px solid var(--y); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hb { background: rgba(8,11,22,.88); color: #e8eefc; border: 0; font-family: Pix8; font-size: 9px; padding: 8px 10px; cursor: pointer; box-shadow: 0 0 0 2px #000, inset 0 0 0 1px #2b3656; }
.hb:hover { color: var(--y); } .hb.big { font-size: 11px; padding: 11px 14px; background: var(--y); color: #241a00; box-shadow: 0 0 0 2px #000, 3px 3px 0 #000; }
.hb.big.on { background: #c4452c; color: #fff; } .hb.locked { color: #7a8db0; }
.mini { position: absolute; top: 56px; right: 12px; width: 72px; height: 128px; z-index: 3; box-shadow: 0 0 0 2px #000, 0 0 0 4px #2b3656; cursor: pointer; image-rendering: pixelated; }
#acts { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.act { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; background: var(--y); color: #241a00; border: 0; font-family: Pix8; font-size: 8px; padding: 5px 7px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 2px #000, 2px 2px 0 2px #000; display: flex; gap: 5px; align-items: center; }
.act::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--y); }
.act:hover { background: #fff1c4; }
.livePop { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; width: min(80%, 320px); background: rgba(8,11,22,.94); color: #e8eefc; text-align: center; padding: 18px; font-size: 15px; line-height: 1.5;
  box-shadow: 0 0 0 3px #000, inset 0 0 0 2px var(--y), 6px 6px 0 3px #000; }
.livePop .btn { margin-top: 12px; } .livePop small { color: var(--muted); }
.liveBtns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.findBox { display: flex; gap: 6px; flex: 1; min-width: 200px; } .findBox input { flex: 1; background: #10172a; border: 0; color: var(--text); padding: 10px; box-shadow: inset 0 0 0 2px var(--line); font-size: 14px; }
.found { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ice); }
.hb.ic { width: 32px; height: 32px; padding: 0; font-family: Pix, monospace; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.hb.on { color: var(--y); box-shadow: 0 0 0 2px #000, inset 0 0 0 2px var(--y); }
.nowPlaying { position: absolute; right: 12px; top: 196px; z-index: 3; display: flex; align-items: center; gap: 8px; background: rgba(8,11,22,.88); padding: 4px 4px 4px 10px; box-shadow: 0 0 0 2px #000, inset 0 0 0 1px #2b3656; max-width: 230px; }
.nowPlaying span { color: var(--y); } .nowPlaying b { font-family: Pix8; font-size: 8px; font-weight: 400; color: #dfe6f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud.bl { gap: 8px; } .hud.bl .hb { padding: 9px 12px; }

/* ---- player ---- */
.mp { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 6px; background: rgba(10,14,28,.94); padding: 8px 10px; box-shadow: 0 0 0 3px #000, inset 0 0 0 2px var(--line), 5px 5px 0 3px #00000088; }
.mp.on { box-shadow: 0 0 0 3px #000, inset 0 0 0 2px var(--y), 5px 5px 0 3px #00000088; }
.mpB { width: 30px; height: 30px; border: 0; background: var(--panel2); color: var(--text); cursor: pointer; font-size: 13px; box-shadow: inset -2px -2px 0 #0b1020, inset 2px 2px 0 var(--line2); }
.mpB:hover { color: var(--y); } .mpB.play { background: var(--y); color: #241a00; box-shadow: inset -2px -2px 0 var(--y2); }
.mpInfo { width: 170px; padding: 0 6px; } .mpInfo b { display: block; font-family: Pix8; font-size: 8px; font-weight: 400; color: #e8eefc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.mpBar { height: 4px; background: #1d2742; } .mpBar i { display: block; height: 100%; width: 0; background: var(--y); }
#mpVol { width: 70px; accent-color: #ffd25e; }
.mp.min .mpInfo, .mp.min #mpVol, .mp.min #mpPrev, .mp.min #mpNext { display: none; }
/* ---- sugestões ---- */
.fbLayout { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 32px; align-items: start; }
.fbForm { padding: 26px; display: flex; flex-direction: column; }
.fbForm textarea, .fbForm input { background: #10172a; border: 0; color: var(--text); padding: 12px; box-shadow: inset 0 0 0 2px var(--line); font: 15px Georgia, serif; resize: vertical; }
.fbForm textarea:focus, .fbForm input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--y); }
.fbRow { display: flex; gap: 10px; align-items: center; margin: 12px 0 18px; } .fbRow input { flex: 1; font-family: inherit; }
.fbH { margin-top: 0; } .notes { display: flex; flex-direction: column; gap: 14px; }
.note2 { padding: 16px 18px; background: #e9dcbc; color: #3a2a1a; box-shadow: 0 0 0 3px #3a2a1a, 6px 6px 0 3px #000; }
.note2 p { margin: 8px 0; font-family: Georgia, serif; font-size: 16px; } .note2 small { color: #7a5c38; font-style: italic; } .note2 .tagf { background: #3a2a1a; color: #e9dcbc; }
@media (max-width: 980px) { .fbLayout { grid-template-columns: 1fr; } .mpInfo { width: 110px; } }
.ffBanner { width: 360px; padding: 10px 14px; background: #2a1204; color: #ffd9a0; font-size: 14px; box-shadow: 0 0 0 3px #000, inset 0 0 0 2px #c4452c; } .ffBanner b { color: #ffd25e; }
.bothBox { background: #1c1608; padding: 14px; box-shadow: inset 0 0 0 2px #6a5420; } .bothHead { font-family: Pix; color: var(--y); font-size: 15px; }
.chk { display: flex; gap: 10px; align-items: center; margin-top: 12px; cursor: pointer; font-size: 14px; } .chk input { width: 18px !important; height: 18px; padding: 0 !important; margin: 0; box-shadow: none !important; flex: none; accent-color: #ffd25e; }
.steps.four { grid-template-columns: repeat(4, 1fr); } .step.both { box-shadow: inset 0 0 0 2px var(--y), 6px 6px 0 #000; }
.queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 10px; }
.qItem { display: flex; align-items: center; gap: 10px; padding: 12px 14px; } .qItem .ico { width: 24px; height: 24px; } .qItem b { font-family: Pix; color: var(--y); font-size: 20px; } .qItem span { color: var(--muted); font-size: 14px; }
.musicBox { display: grid; grid-template-columns: 320px 1fr; gap: 30px; padding: 30px; align-items: center; box-shadow: inset 0 0 0 2px #1db95455, 8px 8px 0 #000; }
.mbArt { width: 320px; height: 224px; box-shadow: 0 0 0 3px #000, 6px 6px 0 3px #000; } .mbArt img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.mbArt .ico { width: 80px; height: 80px; } .mbTxt h2 { margin-top: 0; } .mbBtns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn.spot { background: #1db954; color: #04130a; box-shadow: inset -3px -3px 0 #148a3d, 4px 4px 0 #000; }
.mpPop { position: absolute; bottom: calc(100% + 10px); left: 0; display: flex; flex-direction: column; gap: 8px; width: 240px; background: rgba(10,14,28,.97); padding: 14px; box-shadow: 0 0 0 3px #000, inset 0 0 0 2px var(--y); }
.mpPop b { font-family: Pix; color: var(--y); } .mpPop span { font-size: 13px; color: #cfd8ee; } .mpPop .btn { justify-content: center; }
@media (max-width: 980px) { .musicBox { grid-template-columns: 1fr; } }
.mp.docked { position: relative; left: auto; bottom: auto; margin-top: 14px; display: inline-flex; }

/* ---- nitidez + botão fechar + janela da carta ---- */
canvas, img.pt, .mbArt img { image-rendering: pixelated; }
.xBtn { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; background: #1d2742; color: #e8eefc; cursor: pointer; font-size: 13px; line-height: 26px; padding: 0; box-shadow: 0 0 0 2px #000; z-index: 2; }
.xBtn:hover { background: #c4452c; color: #fff; }
.livePop, .mpPop { padding-top: 26px !important; } .mpPop { position: absolute; }
.cardModal { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,14,.82); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s; }
.cmBox { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cmBox canvas { width: min(360px, 86vw); height: auto; aspect-ratio: 9/16; max-height: 82vh; box-shadow: 0 0 0 3px #000, 10px 10px 0 3px #00000099; }
.cmBox .xBtn { top: -12px; right: -12px; width: 34px; height: 34px; font-size: 16px; }
.res.click { cursor: pointer; } .res.click:hover { box-shadow: inset 0 0 0 3px var(--y); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---- canções do bardo ---- */
.bardHero { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 44px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 60px 24px 30px; }
.bardArt { box-shadow: 0 0 0 4px #000, 12px 12px 0 4px #000; } .bardArt img { width: 100%; display: block; }
.bardTxt h1 { font-size: clamp(36px, 5vw, 58px); margin: 6px 0 14px; } .bardTxt .lead { font-size: 20px; color: #dfe6f8; font-style: italic; font-family: Georgia, serif; }
.tracks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tracks li { display: grid; grid-template-columns: 34px 34px 1fr 50px auto; align-items: center; gap: 12px; padding: 10px 14px; }
.tracks li.on { box-shadow: inset 0 0 0 2px var(--y), 6px 6px 0 #000; } .tracks li.on b { color: var(--y); }
.tracks .tn { font-family: Pix8; font-size: 10px; color: var(--muted); } .tracks b { font-weight: 400; font-size: 16px; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 16px; } .eq i { width: 4px; background: var(--y); animation: eq .8s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: .25s; } .eq i:nth-child(3) { animation-delay: .5s; } @keyframes eq { from { height: 3px; } to { height: 16px; } }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.vid { position: relative; padding: 0; text-decoration: none; color: var(--text); display: block; overflow: hidden; } .vid img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.vid span { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: rgba(8,11,22,.8); color: var(--y); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 0 0 3px #000; }
.vid b { display: block; padding: 12px 14px; font-weight: 400; font-size: 15px; } .vid:hover { box-shadow: inset 0 0 0 3px var(--y); }
.mpMore { font-size: 12px; color: var(--y); text-align: center; }
@media (max-width: 980px) { .bardHero, .vids { grid-template-columns: 1fr; } .tracks li { grid-template-columns: 34px 1fr auto; } .tracks .tn, .tracks .eq { display: none; } }

/* ---- celular ---- */
.menuBtn { display: none; }
@media (max-width: 980px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .top .btn.sm { display: none; }
  .menuBtn { display: block; margin-left: auto; order: 3; background: var(--panel2); color: var(--text); border: 0; width: 40px; height: 36px; font-size: 18px; cursor: pointer; box-shadow: 0 0 0 2px #000; }
  .langSw { order: 2; margin-left: auto; }
  .top nav { display: none; order: 4; width: 100%; flex-direction: column; gap: 0; }
  .top.open nav { display: flex; } .top nav a { padding: 12px 6px; border-top: 1px solid var(--line); }
  .steps.four { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .tab { font-size: 13px; }
  .mp { left: 8px; right: 8px; bottom: 8px; gap: 6px; } .mp .mpInfo { flex: 1; width: auto; min-width: 0; } #mpVol { display: none; }
  .mp.min { right: auto; } .mp.docked { left: auto; right: auto; width: 100%; }
  .mpPop { width: calc(100vw - 16px); }
  .hud.tl { max-width: calc(100% - 140px); } .hudBox { font-size: 7px; padding: 5px 6px; }
  .hud.tr { flex-wrap: wrap; justify-content: flex-end; max-width: 128px; gap: 5px; } .hb.ic { width: 28px; height: 28px; font-size: 14px; } .hb { font-size: 8px; padding: 6px 7px; }
  .mini { top: 82px; width: 54px; height: 96px; } .hudTip { top: 74px; right: 70px; font-size: 12px; }
  .hud.bl { bottom: 8px; left: 8px; gap: 5px; } .hb.big { font-size: 9px; padding: 8px 10px; } .hud.br { bottom: 8px; right: 8px; }
  .act { font-size: 7px; padding: 4px 5px; } .act span { display: none; }
  .liveBtns { flex-wrap: wrap; } .findBox { flex-basis: 100%; order: 3; min-width: 0; }
  .cardSide, .ffBanner, #cardCv { width: 100% !important; max-width: 360px; } #cardCv { height: auto; aspect-ratio: 9/16; }
  .musicBox, .bardHero { padding: 18px; gap: 18px; } .mbArt { width: 100%; height: auto; aspect-ratio: 80/56; }
  .tracks li { grid-template-columns: 34px 1fr; } .tracks li .btn { display: none; }
  .stepper { grid-template-columns: 70px 30px 1fr 30px; }
}
.liveWrap > *, .letterLayout > *, .mapLayout > *, .fbLayout > * { min-width: 0; }

/* menu "Mistérios" */
.navDD { position: relative; display: inline-flex; }
.navDD .ddBtn i { font-style: normal; font-size: 11px; margin-left: 2px; }
.navDD .ddMenu { position: absolute; left: 0; top: 100%; z-index: 60; min-width: 190px; display: none; flex-direction: column; padding: 6px 0; background: #0b1020f5; box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--line), 0 14px 30px #000a; }
.navDD:hover .ddMenu, .navDD.open .ddMenu { display: flex; }
.navDD .ddMenu a { border-bottom: 0; padding: 9px 14px; }
.navDD .ddMenu a.on { color: var(--y); background: #ffffff08; }
@media (max-width: 980px) { .navDD { display: block; } .navDD .ddBtn { display: none !important; } .navDD .ddMenu { position: static; display: flex; box-shadow: none; background: none; padding: 0; } }

/* regra do morador / termos (carta) */
.ruleBox { background: #0f1830; color: #cfd8ee; font-size: 14px; line-height: 1.55; padding: 12px 14px; margin: 0 0 22px; box-shadow: inset 0 0 0 2px #2b3e6a; }
.ruleBox b { color: var(--y); }
.termsChk { font-size: 13px; color: var(--muted); margin: 0 0 10px; width: 100%; } .termsChk a { color: var(--y); }
.chk.need { animation: needP .4s 3; } @keyframes needP { 50% { color: #ff8a6a; } }
/* próximo marco */
.nextMark { padding: 18px 22px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.nextMark .nmL { font-family: Pix8, monospace; font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.nextMark .nmT { font-size: 18px; } .nextMark .nmT b { color: var(--y); }
.nextMark .nmHint { color: #9fc3e6; font-style: italic; font-family: Georgia, serif; }
.nmBar { height: 14px; background: #10172a; box-shadow: 0 0 0 2px #000, inset 0 0 0 2px var(--line); position: relative; overflow: hidden; }
.nmBar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(90deg, #ffd25e 0 10px, #e0a93a 10px 20px); box-shadow: 0 0 12px #ffd25e88; transition: width 1.6s ease-out; }
/* votações */
.voteBox { padding: 24px; } .voteBox h3 { margin: 4px 0 6px; font-size: 26px; }
.vOpts { display: grid; gap: 12px; margin: 18px 0 8px; }
.vOpt { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 14px; background: #10172a; box-shadow: inset 0 0 0 2px var(--line); }
.vOpt .k { font-family: Pix8, monospace; font-size: 12px; color: var(--y); text-align: center; }
.vOpt .pc { font-family: Pix8, monospace; font-size: 11px; color: var(--muted); }
.vOpt .bar { grid-column: 2 / -1; height: 8px; background: #0b101e; } .vOpt .bar i { display: block; height: 100%; background: var(--y); }
.vOpt.win { box-shadow: inset 0 0 0 2px var(--y); }
.vPast { display: grid; gap: 14px; margin-top: 14px; }
.vEmpty { text-align: center; padding: 46px 20px; color: var(--muted); }
/* episódios (história) */
.ev .watch { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } .ev .watch .btn { padding: 8px 12px; font-size: 13px; }

/* Os Seis e Relíquias: destaque no menu (brilho pulsando, cada um na sua cor) */
nav a.hotSix { color: #9fe3ff; text-shadow: 0 0 8px #4fc3ff99; animation: hotP 3.2s ease-in-out infinite; }
nav a.hotRel { color: #ffc06a; text-shadow: 0 0 8px #ff9a3a99; animation: hotP 3.2s ease-in-out infinite 1.6s; }
nav a.hotSix.on, nav a.hotRel.on { animation: none; }
@keyframes hotP { 0%, 100% { text-shadow: 0 0 4px currentColor; opacity: .85; } 50% { text-shadow: 0 0 12px currentColor, 0 0 22px currentColor; opacity: 1; } }
@media (min-width: 981px) and (max-width: 1380px) { .top nav a { padding: 6px 7px; font-size: 14px; } }
@media (min-width: 981px) and (max-width: 1200px) { .top nav a { padding: 6px 4px; font-size: 12.5px; } .top .btn.sm { padding: 8px 9px; font-size: 12px; } .top .brand span { font-size: 15px; } }
