/* @file Interface em pixels. A paleta "Entidade" do site mãe fica centralizada em style.css. */
:root {
  --serif: 'Pixelify Sans', 'Segoe UI', sans-serif;
}
body { background: radial-gradient(ellipse at 70% 0, var(--accent-glow), transparent 55%), var(--background); font-size: 14px; line-height: 1.6; }
svg.px, .pixel-icons svg, .person, .scene-layer, .hunter-art { image-rendering: pixelated; }
.item-sprite { display: block; width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; image-rendering: pixelated; }
.pixel-icons svg { stroke: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
button, input, select, dialog, .region-tag, .rarity-badge { border-radius: 2px; }
button, a { transition: background .15s, border-color .15s, color .15s; }
button:disabled { opacity: 1; color: var(--muted); background: var(--panel-high); border-color: var(--line-strong); box-shadow: none; }
.primary, .secondary { min-height: 42px; padding: 10px 16px; font: 500 16px/1.3 var(--serif); letter-spacing: 0; text-transform: none; border: 1px solid var(--accent); box-shadow: inset 0 2px #ffffff0d, 0 3px var(--background); }
.primary { background: var(--accent); color: var(--text); }
.primary:hover:not(:disabled) { background: var(--accent-hover); transform: none; }
.secondary { background: var(--panel-high); border-color: var(--line-strong); color: var(--text); }
.secondary:hover:not(:disabled) { background: var(--panel-high); border-color: var(--line-strong); }
.primary:active:not(:disabled), .secondary:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 2px #0002; }
.text-button { font: 500 13px var(--sans); border: 0; box-shadow: none; background: transparent; color: var(--accent-text); }
.eyebrow, .side-caption, .region-tag, .equipment-status, .equipped-label, .explorer-card-heading, .scene-caption { font: 400 16px/1.3 'VT323', monospace; letter-spacing: 1px; }
.eyebrow { color: var(--accent-text); margin-bottom: 10px; }
.sidebar { width: 202px; padding: 30px 14px 18px; background: var(--panel); border-right: 1px solid var(--line-strong); }
.brand { gap: 8px; margin: 0 4px 40px; }
.brand .px { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.brand > span { font: 700 24px/1 var(--serif); letter-spacing: 1px; }
.brand small { color: var(--muted); font-size: 8px; letter-spacing: 1.7px; }
.side-caption { font-size: 14px; line-height: 1.3; color: var(--muted-dim); margin-bottom: 15px; }
.navigation { gap: 5px; }
.navigation button, .side-link { font: 500 13px/1.4 var(--sans); min-height: 43px; gap: 10px; padding: 11px 10px; color: var(--muted); }
.navigation button.active { background: var(--accent-soft); color: var(--text); box-shadow: inset 3px 0 var(--accent-text); }
.navigation button.active svg { color: var(--accent-text); }
.navigation button:hover, .side-link:hover { background: var(--panel-high); }
.navigation button span { font: 13px 'VT323', monospace; }
.navigation svg, .side-link svg { width: 18px; height: 18px; opacity: 1; }
.side-divider { margin: 22px 10px 12px; }
.side-note { padding: 24px 10px; }
.side-note p { font: 15px/1.5 var(--serif); color: var(--muted); }
.side-note > span:last-child { color: var(--muted-dim); font-size: 8px; }
.community-switch { border-color: var(--line); padding-top: 16px; }
.channel-icon { border-radius: 2px; border-color: var(--frame); }
.community-switch small { font-size: 10px; }
.workspace { margin-left: 202px; }
.topbar { height: 70px; padding: 0 32px; background: var(--panel-glass); }
.breadcrumb, .mode-label { font-size: 12px; }
.mode-label i { background: var(--muted); border-radius: 0; }
.top-actions { gap: 20px; }
.top-actions .text-button { font-size: 12px; }
.demo-banner { padding: 11px 32px; background: var(--panel); border: 0; border-bottom: 1px solid var(--line); box-shadow: none; color: var(--muted); font-size: 12px; }
.demo-banner svg { width: 18px; height: 18px; }
.demo-banner strong { color: var(--text); }
.demo-banner button { font-size: 12px; color: var(--accent-text); }
.content-layout { max-width: 1660px; padding: 32px; grid-template-columns: minmax(0,1fr) 236px; gap: 26px; align-items: start; }
.page-heading { margin-bottom: 26px; gap: 24px; }
.page-heading h1 { font: 500 clamp(30px,3vw,44px)/1.12 var(--serif); text-transform: none; letter-spacing: -1px; text-shadow: 0 3px #0006; }
.page-heading h1 em { color: var(--accent-text); }
.page-heading p:not(.eyebrow) { font-size: 14px; line-height: 1.6; max-width: 610px; color: var(--muted); margin-top: 12px; }
.chapter-mark { font: 500 40px var(--serif); color: var(--muted-dim); padding: 0 4px; }
.chapter-mark span { font-size: 8px; color: var(--muted-dim); }
.heading-icon { color: var(--muted); width: 34px; height: 34px; }
.trial-card, .expedition-card, .explorer-card, .escape-card, .equipment-card, .item-card, .manual-intro, .shop-rail, .supply-banner { border: 1px solid var(--frame); border-radius: 3px; background: var(--panel); box-shadow: 0 4px #08070a70, inset 0 1px #ddc1ab0b; }
.trial-card { padding: 24px; border-top: 2px solid var(--accent); }
.trial-card[data-phase="running"] { border-top-color: var(--accent-text); }
.trial-card[data-phase="running"]::after { display: none; }
.trial-head h2 { font: 500 clamp(23px,2.1vw,30px)/1.2 var(--serif); margin: 9px 0; }
.trial-head p { font-size: 13px; line-height: 1.6; max-width: 510px; }
.region-tag { font-size: 14px; color: var(--muted); }
.region-tag i { border-radius: 0; background: var(--muted); }
.trial-clock { border-radius: 2px; min-width: 74px; padding: 10px 8px; border: 1px solid var(--line-strong); background: var(--panel-high); }
.trial-clock span { font: 32px/1 var(--serif); }
.trial-clock small { font-size: 9px; letter-spacing: .3px; }
.stage { position: relative; height: 280px; margin: 20px -24px 0; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line-strong); background: var(--background); }
.scene { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: var(--background); }
.scene-layer { position: absolute; inset: 0; background: var(--image) repeat-x 0 100% / auto var(--h); animation: forest-pan var(--t) linear infinite; }
.scene::after { content: ''; position: absolute; inset: 0; z-index: 8; background: linear-gradient(var(--background-glass), transparent 45%, var(--background-glass)); pointer-events: none; }
.scene-ground { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; z-index: 10; background: linear-gradient(#242027, var(--panel-high)); border-top: 3px solid #57513c; box-shadow: 0 -5px #262b2666; }
.scene-ground::before { content: ''; position: absolute; inset: -9px 0 auto; height: 8px; opacity: .8; background: repeating-linear-gradient(90deg, transparent 0 9px, #4c513d 9px 12px, transparent 12px 22px, #77704c 22px 24px, transparent 24px 47px); }
.scene-ground::after { content: ''; position: absolute; inset: 8px 0 0; opacity: .4; background: repeating-linear-gradient(100deg, transparent 0 36px, #807358 36px 39px, transparent 39px 93px) 0 4px / 100% 3px repeat-x; }
@keyframes forest-pan { to { background-position-x: calc(var(--h) * var(--ratio) * -1); } }
.scene-caption { position: absolute; z-index: 4; top: 14px; left: 18px; color: var(--text); font-size: 13px; background: var(--panel-glass); padding: 5px 9px; border-left: 2px solid var(--gold); }
.stage .actors { position: absolute; inset: 0; z-index: 2; }
.person { --s: var(--scale,2); width: calc(64px * var(--s)); height: calc(64px * var(--s)); flex: none; position: relative; image-rendering: pixelated; }
.person-layer { position: absolute; inset: 0; background-image: var(--layer); background-repeat: no-repeat; background-size: calc(512px * var(--s)) calc(512px * var(--s)); background-position: calc(var(--col0) * -64px * var(--s)) calc(var(--row) * -64px * var(--s)); animation: person-play var(--ms) steps(var(--frames)) infinite; }
@keyframes person-play { to { background-position-x: calc((var(--col0) + var(--frames)) * -64px * var(--s)); } }
.person.hurt { filter: drop-shadow(0 0 3px #d56a5488); }
.person.caught { filter: grayscale(.6) brightness(.8); }
.stage .person, .hero-art .person { position: absolute; bottom: -8px; transform: translateX(-50%); z-index: 3; }
.stage .person::before, .hero-art .person::before { content: ''; position: absolute; bottom: 42px; left: 36%; width: 28%; height: 9px; background: #08070bb0; border-radius: 50%; }
.stage .person.me::after { content: 'VOCÊ'; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); font: 12px 'VT323',monospace; color: var(--text); background: var(--background); padding: 1px 5px; }
.stage .person.dead { bottom: -62px; transform: translateX(-50%) rotate(90deg); filter: grayscale(.7); opacity: .65; }
.stage .person.dead::before, .stage .person.dead::after { display: none; }
.hunter-art { position: absolute; height: 130px; width: auto; bottom: 31px; transform: translateX(-50%); z-index: 4; filter: drop-shadow(3px 3px 1px #08070b99); }
.stage[data-phase="lobby"] .hunter-art { opacity: .55; }
.stage .px { position: absolute; bottom: 32px; width: 72px; height: 72px; transform: translateX(-50%); z-index: 2; }
.stage .gate { width: 90px; height: 116px; filter: drop-shadow(0 0 12px var(--gold-glow)); }
.stage .scene-beacon { width: 62px; height: 62px; filter: drop-shadow(0 0 14px #f2b54455); }
.generators { grid-template-columns: repeat(auto-fit,minmax(86px,1fr)); gap: 8px; margin: 18px 0 12px; }
.generators:empty, .trial-players:empty { display: none; }
.generator { border-radius: 2px; border: 1px solid var(--line-strong); background: var(--panel); padding: 10px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 4px 8px; }
.generator .px { width: 30px; height: 30px; grid-row: 1/3; }
.generator strong { font: 12px var(--sans); letter-spacing: 0; text-transform: none; }
.generator small { font-size: 11px; }
.generator i { grid-column: 1/-1; height: 4px; border-radius: 0; margin-top: 5px; }
.generator.lit { background: var(--gold-soft); border-color: var(--gold); }
.generator.lit .px { filter: drop-shadow(0 0 4px #f2b54477); }
.trial-players { grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 8px; }
.survivor { border: 1px solid var(--line-strong); border-radius: 2px; padding: 10px; background: var(--panel-high); overflow: hidden; gap: 2px; }
.survivor .person { margin: -26px auto -22px; --s: 1.5; }
.survivor strong { font-size: 12px; }
.survivor small { font-size: 11px; }
.survivor em { font-size: 10px; }
.survivor.me { border-color: var(--gold); }
.survivor.hurt { border-color: var(--gold); }
.survivor.caught { border-color: var(--accent-text); background: var(--accent-soft); }
.survivor.dead { opacity: .6; }
.survivor.escaped { border-color: var(--gold); }
.survivor.dead .person { filter: grayscale(1); }
.trial-actions { margin-top: 20px; gap: 10px; }
.command-hint { font-size: 11px; color: var(--muted); margin-top: 12px; }
.command-hint code { font-size: 11px; color: var(--muted); }
.explorer-column { padding: 0; }
.explorer-card { padding: 19px; }
.explorer-card-heading { color: var(--muted); font-size: 14px; }
.explorer-identity { display: block; text-align: center; margin: 20px 0; }
.explorer-avatar { display: block; position: relative; width: 88px; height: 88px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 2px; background: linear-gradient(var(--panel-high), var(--background)); box-shadow: inset 0 0 0 4px var(--background),0 3px var(--background); padding: 0; margin: 0 auto 14px; }
.explorer-avatar .person { position: absolute; left: 50%; top: -28px; margin-left: -96px; }
.explorer-avatar > span { position: absolute; right: 3px; bottom: 3px; left: auto; transform: none; width: 22px; height: 21px; border: 1px solid var(--background); border-radius: 1px; color: var(--gold-ink); background: var(--gold); font: 15px var(--serif); }
.explorer-identity h2 { font: 25px/1.2 var(--serif); }
.explorer-identity p { font-size: 11px; margin-top: 6px; }
.level-line, .bag-line { font-size: 12px; }
.level-line span:last-child, .bag-line span:last-child { font-size: 11px; }
.progress-track { height: 6px; background: var(--line); border: 1px solid var(--background); border-radius: 0; }
.progress-track > div { background: var(--gold); }
.player-numbers { margin: 19px 0; padding: 16px 0; }
.player-numbers strong { font: 24px var(--serif); }
.player-numbers span { font-size: 11px; }
.equipped-label { font-size: 13px; color: var(--muted); }
.equipment-icon { width: 42px; height: 42px; border-radius: 2px; color: var(--gold); background: var(--panel-high); }
.equipped-item { gap: 10px; }
.equipped-item strong { font-size: 12px; }
.equipped-item small { font-size: 10px; }
.auxiliary-slot { font-size: 11px; line-height: 1.5; gap: 8px; padding-top: 12px; color: var(--muted); }
.auxiliary-slot svg { width: 15px; height: 15px; }
.active-benefits > div { font-size: 11px; padding: 4px 0; }
.bag-line { margin-top: 18px; }
.explorer-card > .text-button { font-size: 12px; margin-top: 16px; }
.customize-button { margin-top: 14px; font-size: 14px; }
.escape-card { margin-top: 18px; padding: 18px; background: var(--panel-high); }
.escape-title h2 { font: 20px var(--serif); }
.escape-card > p { font-size: 12px; }
.escape-card > button { font-size: 14px; margin-top: 10px; }
.escape-card .escape-reward { font: 13px 'VT323',monospace; color: var(--muted); margin-top: 16px; }
.escape-card .escape-reward strong { font: 12px var(--sans); color: var(--gold); margin-top: 4px; }
.chat-card { margin: 24px 10px; border: 0; box-shadow: none; }
.chat-card h3 { font: 20px/1.3 var(--serif); }
.chat-card p, .chat-card button { font-size: 12px; }
.section-heading { margin: 28px 0 15px; }
.section-heading h2 { font: 24px/1.25 var(--serif); }
.section-heading > span { font: 13px 'VT323',monospace; color: var(--muted); }
.empty-state { border: 1px dashed var(--line-strong); background: var(--panel); border-radius: 2px; padding: 28px 20px; }
.empty-state strong { font: 22px var(--serif); color: var(--text); }
.empty-state p { font-size: 13px; }
.journal { border: 0; }
.journal-row { padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--panel); gap: 12px; }
.journal-row:nth-child(even) { background: var(--panel-high); }
.journal-row p { font-size: 13px; }
.journal-row time, .journal-row small { font-size: 11px; }
.manual-grid { gap: 14px; }
.manual-grid article { border: 1px solid var(--line); border-radius: 2px; padding: 20px; background: var(--panel); }
.manual-grid h3 { font: 21px var(--serif); color: var(--gold); }
.manual-grid p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.trial-rules { margin-top: 24px; }
.expedition-card { min-height: 340px; grid-template-columns: 1.05fr 1fr; overflow: hidden; border-top: 2px solid var(--accent); }
.expedition-copy { padding: 26px; }
.expedition-copy h2 { font: 500 clamp(30px,3vw,44px)/1.05 var(--serif); text-transform: none; letter-spacing: -1px; margin: 18px 0; }
.expedition-copy > p:not(.command-hint) { font-size: 13px; line-height: 1.7; }
.journey-meta { gap: 10px; margin: 18px 0; }
.journey-meta > span { font-size: 11px; }
.hero-art { position: relative; min-height: 340px; background: var(--background); opacity: 1; overflow: hidden; }
.hero-art::before { display: none; }
.hero-art .scene-caption { left: 10px; top: 10px; max-width: calc(100% - 20px); font-size: 12px; }
.hero-art svg.landmark { position: absolute; left: 74%; bottom: 34px; width: 90px; height: 110px; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 0 12px #f2b54466); }
.region-selector { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; border: 0; border-radius: 0; overflow: visible; margin-top: 0; }
.region-option { position: relative; display: block; background: var(--panel); border: 1px solid var(--line-strong) !important; border-radius: 2px; padding: 0 0 13px; overflow: hidden; opacity: 1; }
.region-option .domain-preview { position: relative; height: 110px; margin-bottom: 11px; overflow: hidden; }
.domain-preview .scene { --h: 120px !important; }
.domain-preview .scene-ground { height: 16px; border-top-width: 2px; }
.domain-preview > svg { position: absolute; z-index: 2; width: 25px; height: 25px; left: 11px; bottom: 9px; color: var(--text); filter: drop-shadow(2px 2px var(--background)); }
.region-option > span:not(.domain-number) { display: block; padding-inline: 12px; }
.region-option strong { font: 19px/1.1 var(--serif); color: var(--text); }
.region-option small { font-size: 10px; color: var(--muted); margin-top: 6px; }
.region-option.locked .domain-preview { filter: saturate(.4) brightness(.65); }
.region-option.selected { border-color: var(--accent-text) !important; background: var(--accent-soft); box-shadow: inset 0 -2px var(--accent-text); }
.region-option.selected strong { color: var(--text); }
.region-option:hover { background: var(--panel-high); }
.domain-number { position: absolute; top: 7px; right: 9px; font: 16px 'VT323',monospace; color: var(--text); text-shadow: 1px 2px var(--background); }
.odds-panel { background: var(--panel-high); border-radius: 2px; border-color: var(--line); padding: 16px; }
.odds-panel summary { font-size: 13px; }
.odds-panel summary > span, .odds-panel > p { font-size: 11px; }
.odds-row { font-size: 12px; }
.loot-mini { border-radius: 2px; padding: 16px 10px; background: var(--panel-high); }
.loot-mini strong { font-size: 12px; }
.loot-mini small { font-size: 10px; }
.supply-banner { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 180px; margin-bottom: 18px; overflow: hidden; background: var(--panel); }
.supply-copy { padding: 24px; position: relative; z-index: 1; }
.supply-copy .eyebrow { font-size: 13px; }
.supply-copy h2 { font: 28px/1.1 var(--serif); margin: 8px 0; color: var(--text); }
.supply-copy p { font-size: 12px; color: var(--muted); max-width: 250px; margin-top: 10px; }
.supply-art { position: relative; overflow: hidden; background: var(--background); isolation: isolate; }
.supply-forest { position: absolute; inset: 0; background: linear-gradient(90deg,var(--panel-high),transparent 50%),url('/scenery/v1-middle.png') center / auto 220px; filter: saturate(.5) brightness(.6); image-rendering: pixelated; }
.supply-art::after { content: ''; position: absolute; bottom: 0; height: 32px; width: 100%; background: #3d2d2d; border-top: 4px solid var(--line-strong); box-shadow: 0 4px var(--background); }
.supply-art :is(svg, .item-sprite) { position: absolute; z-index: 1; color: #bc8c62; filter: drop-shadow(4px 4px var(--background)); }
.supply-bag { width: 96px; height: 96px; left: 14%; bottom: 28px; color: #a7895e !important; }
.supply-box { width: 96px; height: 96px; left: 46%; bottom: 23px; color: #d19675 !important; }
.supply-light { width: 64px; height: 64px; left: 80%; bottom: 28px; color: var(--gold) !important; filter: drop-shadow(0 0 17px var(--gold-glow)) !important; }
.shop-next-step { font-size: 13px; background: var(--panel-high); border-color: var(--line-strong); border-left: 3px solid var(--gold); padding: 13px 16px; margin-bottom: 24px; border-radius: 1px; }
.shop-layout { grid-template-columns: 155px minmax(0,1fr); gap: 20px; }
.shop-rail { position: sticky; top: 20px; overflow: hidden; }
.shop-rail > p { font: 16px/1.1 'VT323',monospace; color: var(--text); padding: 15px 13px; background: var(--panel); border-bottom: 1px solid var(--line-strong); }
.shop-category { gap: 9px; padding: 14px 11px; font-size: 12px; line-height: 1.35; min-height: 52px; border-bottom: 1px solid var(--line); }
.shop-category svg { width: 20px; height: 20px; color: var(--gold); }
.shop-category small { color: var(--muted); font: 14px 'VT323',monospace; }
.shop-category.active { background: var(--accent-soft); color: var(--text); box-shadow: inset 3px 0 var(--accent-text); }
.shop-category.active svg { color: var(--accent-text); }
.shop-category:hover { background: var(--panel-high); }
.shop-shelf > h2 { font: 27px/1.2 var(--serif); }
.shop-shelf > p { font-size: 13px; margin: 8px 0 18px; }
.equipment-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 16px; }
.shop-shelf .equipment-card { padding: 17px; min-width: 0; }
.equipment-card { background: var(--panel); border-color: var(--line-strong); }
.equipment-card.next-up { border-color: var(--gold); }
.equipment-card.equipped { border-color: var(--gold); background: var(--gold-soft); }
.equipment-status { font-size: 13px; color: var(--muted); letter-spacing: .7px; }
.next-up .equipment-status { color: var(--gold); }
.equipment-card.equipped .equipment-status { color: var(--gold); }
.gear-display { position: relative; display: grid; place-items: center; height: 100px; margin: 14px -5px 16px; background: radial-gradient(ellipse at 50% 85%,color-mix(in srgb,var(--gear-color,var(--gold)) 13%,transparent), transparent 65%); }
.gear-display::before { content: ''; position: absolute; bottom: 5px; left: 22%; width: 56%; height: 7px; background: var(--background); border-top: 2px solid var(--line-strong); }
.gear-display :is(svg, .item-sprite) { width: 64px; height: 64px; color: var(--gear-color,var(--gold)); filter: drop-shadow(3px 4px var(--background)); }
.equipment-card[data-step] .gear-display::after { content: attr(data-step); }
.shop-shelf .equipment-card h3 { font: 25px/1.1 var(--serif); margin-bottom: 12px; min-height: 28px; }
.equipment-card p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.equipment-requirements { font-size: 12px; gap: 8px; margin: 17px 0; }
.equipment-requirements span { padding: 3px 7px; background: var(--panel-high); border: 1px solid var(--line-strong); color: var(--text); }
.equipment-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-bottom: 12px; padding-block: 13px; }
.equipment-benefits > div { font-size: 11px; gap: 2px; }
.equipment-benefits strong { font-size: 14px; color: var(--gold); font-weight: 500; }
.shop-shelf .primary, .shop-shelf .secondary { font-size: 16px; letter-spacing: 0; min-height: 40px; }
.equipment-card small { font-size: 11px; line-height: 1.5; margin-top: 12px; color: var(--muted); }
.item-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,200px),1fr)); gap: 15px; }
.item-card { padding: 18px; border-top: 2px solid var(--item-color); background: var(--panel); }
.item-art { border-radius: 2px; width: 80px; height: 80px; background: radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--item-color) 15%,transparent),transparent 70%); }
.item-art svg { width: 48px; height: 48px; filter: drop-shadow(3px 3px var(--background)); }
.item-art .item-sprite { width: 64px; height: 64px; filter: drop-shadow(2px 3px var(--background)); }
.loot-mini .item-sprite { width: 32px; height: 32px; }
#equipped-icon .item-sprite { width: 32px; height: 32px; }
#light-status .item-sprite { width: 16px; height: 16px; }
@media(max-width:600px) {
  .supply-art .item-sprite.supply-bag, .supply-art .item-sprite.supply-box { width: 64px; height: 64px; }
  .supply-art .item-sprite.supply-light { width: 32px; height: 32px; }
}
.item-card h3 { font: 23px/1.1 var(--serif); margin: 10px 0; }
.item-card p { font-size: 13px; }
.rarity-badge { font: 14px 'VT323',monospace; letter-spacing: .6px; }
.item-id { font-size: 10px; }
.item-lock { font-size: 11px; line-height: 1.5; }
.item-card .item-meta { font-size: 12px; }
.item-card button { font-size: 15px; }
.quantity-badge { color: var(--gold); }
.inventory-toolbar, .codex-tools input, .codex-tools select { background: var(--panel-high); border-color: var(--line-strong); border-radius: 2px; font-size: 13px; }
.muted { font-size: 12px; }
.codex-tools > label { font-size: 12px; }
.filter-button { font-size: 12px; padding: 8px 13px; border-radius: 2px; }
.filter-button.active { color: var(--text); background: var(--accent-soft); border-color: var(--accent-text); }
.manual-intro { padding: 25px; background: var(--panel-high); }
.manual-intro h2 { font: 31px var(--serif); }
.manual-intro p, .command-row p, .command-row code { font-size: 13px; line-height: 1.7; }
.manual-intro > span { font: 15px 'VT323',monospace; }
.command-row { padding: 16px 12px; background: var(--panel-high); gap: 16px; }
.command-row:nth-child(even) { background: var(--panel-high); }
.community-stats > div { border-radius: 2px; background: var(--panel-high); border-color: var(--line-strong); }
.community-stats strong { color: var(--gold); font: 36px var(--serif); }
.community-stats span { font-size: 12px; }
.ranking { font-size: 13px; }
.ranking th { font-size: 11px; color: var(--muted); }
.ranking td { border-color: var(--line-strong); }
footer { padding: 24px 32px; font: 18px var(--serif); color: var(--text); }
footer > span { font-size: 10px; color: var(--muted); }
footer a { color: var(--accent-text); font-size: 12px; }
dialog { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 3px; padding: 30px; box-shadow: 0 8px var(--background),0 30px 120px #000a; }
dialog::backdrop { background: var(--background-glass); backdrop-filter: blur(4px); }
.settings-dialog h2, .result-dialog h2 { font: 31px/1.15 var(--serif); }
.settings-dialog p { font-size: 14px; color: var(--muted); }
.settings-dialog label { font-size: 13px; }
input, select { font-size: 14px; background: var(--background); border-color: var(--line-strong); border-radius: 2px; }
.look-preview { position: relative; display: grid; place-items: center; height: 240px; border: 1px solid var(--line-strong); margin: 20px 0; background: linear-gradient(var(--background-glass),transparent),url('/scenery/v1-back.png') center / auto 260px; image-rendering: pixelated; overflow: hidden; }
.look-preview::after { content: ''; position: absolute; bottom: 0; width: 100%; height: 46px; background: var(--panel-high); border-top: 3px solid var(--line-strong); }
.look-preview .person { z-index: 1; margin-top: -25px; }
.look-controls { display: grid; gap: 12px; }
.look-row { display: grid; grid-template-columns: 1fr 36px 85px 36px; gap: 9px; align-items: center; font-size: 13px; }
.look-row strong { text-align: center; font: 18px var(--serif); }
.look-row button { min-height: 34px; padding: 0; }
.look-actions { display: flex; gap: 12px; margin-top: 22px; }
.look-actions button { flex: 1; }
.result-art { background: radial-gradient(ellipse,color-mix(in srgb,var(--item-color) 15%,transparent),transparent 70%); }
.result-art svg { width: 90px; height: 90px; filter: drop-shadow(4px 4px var(--background)); }
.result-details { font-size: 13px; }
.toast { background: var(--gold); color: var(--gold-ink); border: 1px solid var(--text); border-radius: 2px; box-shadow: 0 4px var(--background); font-size: 14px; left: calc(50% + 100px); }
@media(min-width:1600px) { .content-layout { gap: 32px; padding: 38px; } .equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .stage { height: 300px; } }
@media(max-width:1280px) { .content-layout { grid-template-columns: minmax(0,1fr); max-width: 1120px; } .explorer-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; } .escape-card { margin-top: 0; display: flex; flex-direction: column; } .escape-card > button { margin-top: auto; } .chat-card { display: none; } .explorer-identity { display: grid; grid-template-columns: 88px 1fr; text-align: left; gap: 5px 18px; align-items: center; } .explorer-avatar { grid-row: 1/3; margin: 0; } .explorer-identity p { margin-top: 0; } }
@media(max-width:960px) { .sidebar { position: static; width: auto; padding: 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--line-strong); display: block; } .brand { margin: 0 0 18px; display: inline-flex; } .brand > span { font-size: 28px; } .brand small { font-size: 7px; margin-top: 7px; } .side-caption,.side-divider,.side-note,.community-switch,.side-link { display: none; } .navigation { flex-direction: row; gap: 4px; overflow-x: auto; padding-bottom: 12px; } .navigation button { width: auto; flex-shrink: 0; padding: 10px 13px; font-size: 12px; min-height: 40px; } .navigation button span { display: none; } .navigation button.active { box-shadow: inset 0 -2px var(--accent-text); } .workspace { margin-left: 0; } .topbar { padding: 0 24px; height: 58px; } .demo-banner { padding-inline: 24px; } .content-layout { padding: 28px 24px; } .toast { left: 50%; } .page-heading h1 { font-size: 38px; } .region-option strong { font-size: 21px; } }
@media(max-width:600px) { .sidebar { padding: 17px 16px 0; } .brand { margin-bottom: 14px; } .brand > span { font-size: 25px; } .brand .px { width: 28px; height: 28px; } .navigation button { font-size: 12px; padding: 9px 11px; gap: 7px; } .navigation button svg { width: 16px; height: 16px; } .topbar { padding-inline: 16px; height: 54px; gap: 8px; } .breadcrumb { font-size: 11px; } .breadcrumb > span { margin: 0 6px; } .mode-label { font-size: 10px; } .top-actions { gap: 12px; } .top-actions .text-button { font-size: 10px; max-width: 88px; } .demo-banner { padding: 10px 16px; font-size: 11px; } .demo-banner button { display: none; } .content-layout { padding: 24px 16px; gap: 20px; } .page-heading h1 { font-size: 32px; } .page-heading p:not(.eyebrow) { font-size: 13px; } .chapter-mark,.heading-icon { display: none; } .trial-card { padding: 18px 16px; } .trial-head { gap: 10px; } .trial-head h2 { font-size: 25px; } .trial-head p { font-size: 12px; } .trial-clock { min-width: 62px; } .trial-clock span { font-size: 28px; } .stage { margin: 18px -16px 0; height: 240px; } .stage .person { --s: 2; bottom: 7px; } .stage .person::before { bottom: 28px; height: 7px; } .stage .person.me::after { top: 22px; } .stage .person.dead { bottom: -29px; } .hunter-art { height: 104px; } .stage .gate { width: 65px; height: 90px; } .scene-caption { font-size: 12px; top: 10px; left: 12px; } .generators { grid-template-columns: repeat(auto-fit,minmax(78px,1fr)); } .generator { padding: 8px; gap: 4px; grid-template-columns: 22px 1fr; } .generator .px { width: 24px; height: 24px; } .trial-players { grid-template-columns: repeat(2,minmax(0,1fr)); } .trial-actions .primary { flex: 1 1 100%; } .trial-actions .secondary { flex: 1; } .section-heading h2 { font-size: 22px; } .section-heading > span { font-size: 12px; } .journal-row { padding: 12px 9px; gap: 9px; } .journal-row p { font-size: 12px; } .journal-row time { font-size: 10px; } .manual-grid { grid-template-columns: 1fr; } .manual-grid article { padding: 17px; } .explorer-column { grid-template-columns: 1fr; } .expedition-card { display: flex; flex-direction: column-reverse; } .hero-art { position: relative; inset: auto; min-height: 210px; opacity: 1; } .hero-art .person { --s: 2; bottom: 7px; } .hero-art .person::before { bottom: 28px; } .hero-art svg.landmark { width: 64px; height: 90px; } .expedition-copy { padding: 22px; } .expedition-copy h2 { font-size: 36px; } .expedition-copy h2 br { display: none; } .expedition-copy h2 br::after { content: ' '; } .expedition-copy > p:not(.command-hint) { font-size: 13px; max-width: none; } .journey-meta > span { font-size: 11px; } .region-selector { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .region-option strong { font-size: 20px; } .region-option small { font-size: 10px; } .domain-preview { height: 90px !important; } .odds-grid { grid-template-columns: 1fr 1fr; } .recent-loot { grid-template-columns: repeat(2,minmax(0,1fr)); } .supply-banner { grid-template-columns: 1.2fr 1fr; min-height: 170px; } .supply-copy { padding: 20px 16px; } .supply-copy h2 { font-size: 26px; } .supply-copy p { font-size: 11px; } .supply-bag { width: 64px; height: 64px; left: 0; } .supply-box { width: 62px; height: 62px; left: 36%; } .supply-light { width: 34px; height: 50px; left: 75%; } .shop-layout { grid-template-columns: 1fr; gap: 22px; } .shop-rail { position: static; } .shop-rail > p { padding: 11px 14px; font-size: 15px; } .shop-menu { display: flex; flex-wrap: wrap; } .shop-category { width: auto; flex: 1 1 30%; padding: 12px 10px; min-height: 48px; font-size: 12px; } .shop-category svg { width: 18px; height: 18px; } .shop-category small { display: none; } .equipment-grid { grid-template-columns: 1fr; gap: 16px; } .shop-shelf .equipment-card { padding: 20px; } .gear-display { height: 90px; } .equipment-benefits { grid-template-columns: repeat(3,minmax(0,1fr)); } .item-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .item-card { padding: 14px 12px; } .item-card h3 { font-size: 21px; } .item-card p { font-size: 12px; } .item-art { width: 68px; height: 68px; } .item-id { font-size: 9px; } .item-lock { font-size: 10px; } .codex-tools { grid-template-columns: 1fr; } .inventory-toolbar { gap: 14px; } .community-stats { gap: 9px; } .community-stats > div { padding: 16px 10px; } .community-stats span { font-size: 10px; } .community-stats strong { font-size: 30px; } .ranking td,.ranking th { padding: 12px 7px; font-size: 11px; } .command-row { grid-template-columns: 1fr 24px; gap: 7px; } .command-row p { grid-column: 1; grid-row: 2; } .command-row button { grid-column: 2; grid-row: 1/3; } footer { padding: 22px 16px; flex-wrap: wrap; gap: 8px 14px; } footer > span { font-size: 10px; } footer a { font-size: 11px; } dialog { padding: 28px 20px; } .look-row { grid-template-columns: 1fr 34px 72px 34px; gap: 7px; } .look-row strong { font-size: 16px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
/* Afinamento da cena e dos cartões de sobrevivente após conferência visual. */
.scene-layer { filter: saturate(.62) brightness(.8); }
.scene::after { background: linear-gradient(var(--accent-glow), transparent 42%, var(--background-glass)); }
.scene-ground { background: linear-gradient(var(--ground-light,#30322b),var(--ground-dark,#1b231f)); border-top-color: var(--grass,#5b6544); }
.scene-ground::before { background: repeating-linear-gradient(90deg,transparent 0 9px,var(--grass,#5b6544) 9px 12px,transparent 12px 22px,#7a7551 22px 24px,transparent 24px 47px); }
.stage .person.dead { bottom: -72px; }
.trial-players { grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); }
.survivor { min-height: 84px; padding: 13px 12px 13px 60px; align-content: center; }
.survivor .person { position: absolute; margin: 0; left: -20px; top: -14px; }
.hero-art .scene { --h: 340px; }
@media(max-width:600px) { .stage .person.dead { bottom: -39px; } .hero-art .scene { --h: 240px; } .trial-players { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.stage .person, .hero-art .person { bottom: -22px; }
.stage .person.dead { bottom: -72px; }
@media(max-width:600px) { .stage .person,.hero-art .person { bottom: -3px; } .stage .person.dead { bottom: -39px; } }
.mobile-utility { display: none !important; }
.navigation { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.expedition-copy h2 { max-width: 300px; }
.stage .person::before, .hero-art .person::before { bottom: 52px; }
@media(max-width:960px) { .navigation .mobile-utility { display: inline-flex !important; } }
@media(max-width:600px) { .stage .person::before,.hero-art .person::before { bottom: 38px; } .expedition-copy h2 { max-width: none; } }
.look-preview .person { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); margin: 0; }
.look-preview .person::before { content: ''; position: absolute; bottom: 65px; left: 35%; width: 30%; height: 10px; background: #0d0b13aa; border-radius: 50%; }

/* entrar com a Twitch */
.twitch-login-button { display: flex; align-items: center; justify-content: center; text-decoration: none; background: #9146ff; color: #fff; min-height: 46px; margin: 14px 0 8px; }
.twitch-login-button:hover { background: #a970ff; }
.twitch-channel { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; margin: 14px 0 12px; border: 3px solid #3a2b30; background: #120d0f; }
.twitch-channel strong { display: block; font-family: var(--serif); font-size: 18px; }
.twitch-channel small { color: #a99d97; }
.twitch-state { font-family: 'VT323', monospace; font-size: 18px; letter-spacing: .1em; padding: 2px 10px; border: 2px solid #000; background: #3a2b30; color: #cdbfb5; }
.twitch-state[data-on="true"] { background: #2f8f4f; color: #fff; }
.twitch-links { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.twitch-links a { color: #f2b544; }

/* ---------- botão roxo da Twitch (pixel art) ---------- */
.twitch-logo { display: inline-flex; width: 28px; height: 28px; flex: none; }
.twitch-logo svg.px { width: 100%; height: 100%; position: static; }
.twitch-cta, .twitch-login-button, .twitch-side {
  --tw: #9146ff; --tw-dark: #6a2fc0; --tw-light: #b98cff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; text-decoration: none;
  font-family: var(--serif); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: var(--tw); border: 4px solid #000; border-radius: 0;
  box-shadow: inset -4px -4px 0 var(--tw-dark), inset 4px 4px 0 var(--tw-light), 5px 5px 0 #000;
  text-shadow: 2px 2px 0 var(--tw-dark); transition: none;
}
.twitch-cta { font-size: 17px; min-height: 52px; padding: 8px 20px; animation: twitch-pulse 1.6s steps(2) infinite; }
.twitch-cta:hover, .twitch-login-button:hover, .twitch-side:hover { background: #a366ff; transform: translate(-2px, -2px); box-shadow: inset -4px -4px 0 var(--tw-dark), inset 4px 4px 0 var(--tw-light), 7px 7px 0 #000; }
.twitch-cta:active, .twitch-login-button:active, .twitch-side:active { transform: translate(3px, 3px); box-shadow: inset -4px -4px 0 var(--tw-dark), inset 4px 4px 0 var(--tw-light), 2px 2px 0 #000; }
@keyframes twitch-pulse { 50% { box-shadow: inset -4px -4px 0 var(--tw-dark), inset 4px 4px 0 var(--tw-light), 5px 5px 0 #000, 0 0 22px #9146ffaa; } }
.twitch-login-button { width: 100%; font-size: 19px; min-height: 60px; margin: 14px 0 10px; }
.twitch-login-button .twitch-logo { width: 34px; height: 34px; }
.twitch-side { width: calc(100% - 24px); margin: 8px 12px; padding: 10px 12px; font-size: 14px; justify-content: flex-start; min-height: 46px; }
.twitch-side .twitch-logo { width: 24px; height: 24px; }

/* faixa do topo mais chamativa */
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 14px 20px !important; border-color: #9146ff !important; background: linear-gradient(90deg, #1b1030, #1d1015) !important; }
.demo-banner > span { flex: 1 1 280px; font-size: 14px; line-height: 1.4; }
.demo-banner .twitch-cta { margin-left: auto; }
@media (max-width: 700px) { .demo-banner .twitch-cta { width: 100%; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .twitch-cta { animation: none; } }

.twitch-cta, .demo-banner .twitch-cta, .twitch-side, .side-link.twitch-side, a.twitch-login-button { color: #fff !important; }
.demo-banner .twitch-cta { font-size: 16px; white-space: nowrap; text-shadow: 2px 2px 0 var(--tw-dark); }
.twitch-side { font-size: 11px; line-height: 1.2; gap: 8px; padding: 8px 8px; min-height: 42px; width: calc(100% - 16px); margin: 8px; text-align: left; }
.twitch-side .twitch-logo { width: 22px; height: 22px; }