:root {
  color-scheme: dark;
  --fundo: #101715; --painel: #1a2421; --alto: #24312b; --linha: #3a483f;
  --texto: #f5f1e6; --fraco: #c0c7ba; --ouro: #f4bd61; --musgo: #9dc997;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--texto); background: var(--fundo);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
button, .campo input, .campo select { border-radius: 5px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #fff1a9; outline-offset: 3px; }
a { color: var(--ouro); }
.leitor, .pular:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular:focus { position: absolute; z-index: 5; background: var(--painel); padding: 12px; }
.cabecalho, main { width: min(1488px, 100%); margin: auto; padding-inline: clamp(16px, 4vw, 70px); }
.cabecalho { display: flex; align-items: center; justify-content: space-between; min-height: 75px; gap: 14px; }
.marca, .topo-acoes, .marca a { display: flex; align-items: center; gap: 18px; }
.marca img { width: 102px; height: 44px; object-fit: contain; }
.marca span { font-size: 13px; font-weight: 650; padding-left: 17px; border-left: 1px solid var(--linha); }
.volta, .discreto { color: var(--fraco); background: none; border: 0; font-size: 13px; font-weight: 650; text-decoration: none; padding: 10px 0; }
.volta:hover, .discreto:hover { color: var(--ouro); }
.volta span { margin-right: 3px; }
main { padding-bottom: 30px; }
h1, h2, h3, p { margin: 0; }
.entrada { min-height: min(700px, calc(100svh - 104px)); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(355px, .93fr); border: 1px solid var(--linha); border-radius: 9px; overflow: hidden; background: #19221e; }
.panorama { min-height: 510px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px,4.2vw,68px); }
.panorama .cidade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.controle-filme { position:absolute; top:16px; right:16px; border:1px solid #809489; background:#102219ed; color:#fff6e0; border-radius:4px; min-height:44px; padding:8px 12px; font:inherit; font-size:.83rem; cursor:pointer; }
.links-conta { display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:10px; }
.links-conta button,.topo-acoes a,.topo-acoes button { min-height:44px; display:inline-flex; align-items:center; }
#conta-form { display:grid; gap:12px; margin-block:16px; }
#conta-retorno { color:var(--ouro); }
@media(max-width:600px) {
  .cabecalho { flex-wrap:wrap; padding-block:7px; }
  .topo-acoes { flex-wrap:wrap; }
  .controle-filme { top:8px; right:8px; }
}
.panorama::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,rgba(8,18,16,.98),rgba(8,18,16,.62) 22%,transparent 62%); }
.legenda-cidade { position: absolute; top: 22px; left: 22px; background: #17221ee6; color: #f3edd9; padding: 6px 11px; border-radius: 3px; font-size: 12px; font-weight: 650; }
.mira { color: var(--ouro); margin-right: 4px; }
.chamada h1 { font-size: clamp(64px,7.8vw,122px); line-height: .82; font-weight: 830; letter-spacing: -.075em; }
.chamada h1 span { color: var(--ouro); }
.chamada p { max-width: 320px; margin-top: 22px; font-size: 16px; line-height: 1.55; color: #eeeadd; }
.acesso { padding: clamp(27px,3.6vw,58px); align-self: center; }
.chave-form { display: flex; gap: 20px; border-bottom: 1px solid var(--linha); margin-bottom: 26px; }
.chave-form button { flex: 0 1 auto; background: none; border: none; color: var(--fraco); padding: 10px 0 13px; font-weight: 650; font-size: 14px; border-radius: 0; }
.chave-form [aria-pressed="true"] { color: var(--ouro); box-shadow: inset 0 -2px var(--ouro); }
.acesso h2 { font-size: clamp(27px,2.3vw,38px); line-height: 1.13; letter-spacing: -.045em; margin-bottom: 20px; }
fieldset { margin: 0; border: 0; padding: 0; }
#iniciais { min-width: 0; margin-bottom: 19px; }
.escolha-inicial { width: 100%; display: grid; grid-template-columns: 74px minmax(0,1fr) auto; align-items: center; gap: 12px; text-align: left; padding: 10px 14px 10px 8px; background: #2e3125; border: 1px solid #9f824b; }
.escolha-inicial:hover { background: #393b2b; border-color: var(--ouro); }
.escolha-inicial img { object-fit: contain; image-rendering: pixelated; }
.escolha-inicial strong, .escolha-inicial small { display: block; }
.escolha-inicial strong { font-size: 19px; line-height: 1.12; overflow-wrap: anywhere; }
.escolha-inicial small { color: var(--fraco); margin: 2px 0 6px; }
#ver-iniciais { color: var(--ouro); font-size: 13px; font-weight: 650; }
.seta-iniciais { color: var(--ouro); font-size: 21px; }
#recarregar-iniciais { margin-top: 7px; }
#detalhes-inicial { margin-top: 8px; line-height: 1.5; }
.campo { display: grid; gap: 6px; color: #e5e5d9; font-size: 13px; font-weight: 600; }
.campo + .campo { margin-top: 12px; }
.campo input, .campo select { border: 1px solid #47554b; background: #111b17; min-height: 43px; padding: 9px 12px; color: var(--texto); width: 100%; min-width: 0; }
.acao, .secundario { font-size: 14px; font-weight: 700; min-height: 41px; line-height: 1.2; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.acao { background: #f6c167; color: #282016; border: 1px solid #ffd18a; box-shadow: inset 0 -2px #c58c44; }
.acao:hover:not(:disabled) { background: #ffd690; }
.secundario { background: #243129; color: #e6e8db; border: 1px solid #536050; }
.secundario:hover:not(:disabled) { background: #344337; border-color: #85957b; }
.secundario img, .acao img { width: 20px; height: 20px; object-fit: contain; image-rendering: pixelated; }
.entrada-botao { width: 100%; justify-content: space-between; margin-top: 18px; min-height: 46px; }
.entrada-botao span { font-size: 20px; line-height: 1; }
.falha { color: #ffbc9d; font-size: 13px; }
.falha:not(:empty), #orientacao-senha:not(:empty) { margin-top: 7px; }
.miudo { color: var(--fraco); font-size: 13px; line-height: 1.45; }
.faixa-tamer { border-top: 1px solid var(--linha); display: flex; align-items: center; gap: 20px; padding: 12px 0; }
#jogo.aguardando > :not(.faixa-tamer):not(#espera-mundo) { display: none; }
#jogo.aguardando .carteira, #jogo.aguardando .insignia, #jogo.aguardando #xp, #jogo.aguardando #xp-texto { visibility: hidden; }
.identidade { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.insignia { width: 48px; height: 48px; padding: 3px; display: grid; place-items: center; background: #293830; border: 1px solid #5c6551; border-radius: 6px; }
.insignia img { max-width: 100%; max-height: 40px; image-rendering: pixelated; }
.identidade h1 { font-size: 21px; line-height: 1.1; overflow-wrap: anywhere; }
.identidade .miudo { font-size: 11px; margin: 2px 0; }
progress { display: block; height: 5px; width: 100%; appearance: none; border: none; border-radius: 3px; overflow: hidden; background: #3f483a; color: var(--ouro); accent-color: var(--ouro); }
progress::-webkit-progress-bar { background: #3f483a; }
progress::-webkit-progress-value { background: var(--ouro); }
progress::-moz-progress-bar { background: var(--ouro); }
#xp { min-width: 115px; }
.carteira, .rede { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fraco); }
.carteira img { width: 22px; height: 22px; object-fit: contain; }
.carteira strong { color: var(--texto); }
.sinal { width: 8px; height: 8px; border-radius: 100%; background: #dca961; }
.sinal.ligado { background: #9ed585; }
.abas { display: flex; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); gap: clamp(8px,2vw,32px); margin-bottom: 22px; }
.abas button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 0; border-radius: 0; background: none; color: var(--fraco); font-weight: 600; font-size: 14px; padding: 4px 8px; }
.abas img { width: 22px; height: 22px; object-fit: contain; image-rendering: pixelated; }
.abas [aria-current] { color: var(--ouro); box-shadow: inset 0 -2px var(--ouro); }
.quadro-mundo { display: grid; grid-template-columns: minmax(0,2.58fr) minmax(235px,1fr); gap: 15px; align-items: start; }
.campo-jogo, .painel, .caderno, dialog { border: 1px solid var(--linha); background: var(--painel); border-radius: 7px; }
.campo-jogo { overflow: hidden; }
.cab-area, .cab-atlas, .cab-secao { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 20px; }
.cab-area h2, .cab-atlas h2, .caderno h2 { font-size: clamp(22px,2vw,30px); letter-spacing: -.045em; line-height: 1.16; }
.sobrelinha { text-transform: uppercase; font-size: 10px; font-weight: 750; letter-spacing: .13em; color: var(--ouro); margin-bottom: 4px; }
#tabuleiro { overflow: hidden; position: relative; isolation: isolate; background: #35472e; aspect-ratio: 1.74; cursor: crosshair; touch-action: manipulation; }
#tabuleiro:focus-visible { outline-offset: -3px; }
#terreno, #atores { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ator, #alvo { position: absolute; transform: translate(-50%,-100%); user-select: none; }
.ator { display: flex; align-items: flex-end; }
.ator .figura-tamer { width: clamp(26px,4.2vw,63px); height: clamp(38px,6.6vw,100px); background-size: 800% 1600%; background-position: var(--rumo,28.5714%) 0; image-rendering: pixelated; filter: drop-shadow(0 2px 1px #26351c); }
.ator.andando .figura-tamer { animation: passos-tamer .4s steps(7) infinite; }
@keyframes passos-tamer { from { background-position-y: 53.3333%; } to { background-position-y: 100%; } }
.ator .companheiro { position: absolute; left: 63%; bottom: 0; display: block; width: clamp(34px,5vw,76px); aspect-ratio: 1; overflow: hidden; filter: drop-shadow(0 2px 1px #26351c); }
.ator .insignia-parceiro { position:absolute; left:calc(63% + clamp(24px,3.7vw,56px)); bottom:-2px; width:clamp(18px,1.8vw,25px); height:clamp(24px,2.3vw,32px); display:grid; align-content:end; text-align:center; font:bold 9px/1.2 sans-serif; color:#fff4cd; background:#18241f center top / auto 73% no-repeat; border:1px solid #907651; border-radius:4px; }
.ator .insignia-parceiro[hidden] { display:none; }
.ator .criatura { display: block; height: 100%; max-width: none; image-rendering: pixelated; animation: passos-parceiro var(--ciclo,1.2s) steps(var(--quadros,8)) infinite; }
@keyframes passos-parceiro { to { transform: translateX(-100%); } }
.ator strong, #alvo span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border-radius: 3px; padding: 2px 5px; max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #131d18e8; font-size: clamp(9px,.85vw,12px); color: #f5f7e7; }
.ator.eu strong { color: #ffdf89; border-bottom: 1px solid var(--ouro); }
.ator::before, #alvo::before { pointer-events: none; content: ""; position: absolute; width: 65%; height: 15%; bottom: -3%; left: 17%; border-radius: 50%; background: #18221d65; z-index: -1; }
.ator.eu::before { border: 1px solid #ffe6a3; }
#alvo { left: 72%; top: 49%; background: none; border: none; padding: 0; width: clamp(45px,6.4vw,95px); height: clamp(54px,7.6vw,115px); }
#alvo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; image-rendering: pixelated; }
#alvo span { color: #ffd1b1; }
#alvo.atingido img { animation: impacto .32s ease-in-out; }
@keyframes impacto { 35% { transform: translateX(5px) rotate(6deg); filter: brightness(1.9); } }
#destino { position: absolute; width: 27px; height: 12px; border: 2px solid #fff2a2; border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.rodape-mapa { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 12px; color: var(--fraco); }
.lateral { display: grid; gap: 12px; }
.lateral .painel, .caderno { padding: 18px; }
.painel h3, .caderno h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.15; }
.painel p:not(.sobrelinha), .caderno p:not(.sobrelinha) { color: var(--fraco); font-size: 13px; line-height: 1.5; margin-block: 5px 11px; }
.barra-acoes { display: flex; flex-wrap: wrap; gap: 7px; }
.encontro-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.encontro-meta img { width: 44px; height: 50px; object-fit: contain; image-rendering: pixelated; }
.vital { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; font-size: 11px; margin: 6px 0; color: var(--fraco); }
.vital progress { height: 6px; }
.vital progress::-webkit-progress-value { background: #a7c789; }
.vital progress::-moz-progress-bar { background: #a7c789; }
.divisao { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linha); }
.lista-jogo { margin: 0; padding: 0; list-style: none; }
.colecao { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,280px),1fr)); gap: 12px; margin-top: 16px; }
.ficha { padding: 14px; border: 1px solid var(--linha); background: #202b24; border-radius: 5px; }
.ficha-topo { display: flex; align-items: center; gap: 13px; }
.acessorio-parceiro { display:inline-flex; align-items:center; gap:9px; min-height:44px; margin-block:5px; color:var(--texto); text-decoration-color:var(--ouro); text-underline-offset:3px; }
.acessorio-parceiro img { width:44px; height:44px; object-fit:contain; }
.acessorio-parceiro small { display:block; color:var(--fraco); font-size:12px; }
.ficha-topo img { width: 52px; height: 61px; object-fit: contain; image-rendering: pixelated; }
.ficha-topo .parceiro-vestido { display:block; flex:none; width:68px; height:68px; overflow:hidden; }
.ficha-topo .parceiro-vestido img { width:auto; max-width:none; height:100%; display:block; }
.ficha-topo span { color: var(--ouro); font-size: 12px; }
.missoes { display: grid; gap: 0; margin: 8px 0 0; }
.missao { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--linha); }
.missao:last-child { border-bottom: none; }
.missao progress { width: min(100%,240px); margin: 5px 0; }
.missao small, .recompensa { color: var(--ouro); font-size: 12px; }
.caderno .cab-secao { padding: 0; }
#painel-evento { margin-bottom: 14px; border-left: 3px solid var(--ouro); }
dialog { padding: 18px; color: var(--texto); width: min(610px,calc(100% - 24px)); max-height: 85svh; box-shadow: 0 15px 75px #050a08b3; }
dialog::backdrop { background: #070d0be0; }
.cab-atlas { padding: 0 0 16px; }
.filtros { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; margin-bottom: 9px; }
.filtros .campo { margin: 0; }
#catalogo-iniciais { width: min(750px,calc(100% - 24px)); }
#catalogo-iniciais[open] { display: flex; flex-direction: column; max-height: min(86svh,760px); overflow: hidden; }
#catalogo-iniciais .cab-atlas { gap: 12px; }
#catalogo-iniciais h2 { font-size: clamp(21px,3vw,29px); }
#catalogo-iniciais .filtros-iniciais { grid-template-columns: minmax(0,3fr) minmax(0,2fr); margin-bottom: 7px; }
#lista-iniciais { display: grid; grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 7px; overflow-y: auto; overscroll-behavior: contain; padding: 5px; margin: 5px -5px -5px; }
.opcao-inicial { display: grid; align-content: end; justify-items: center; gap: 2px; padding: 8px 5px; background: #202c26; border: 1px solid #49584b; min-width: 0; }
.opcao-inicial:hover { background: #334137; border-color: #8e9e87; }
.opcao-inicial[aria-pressed="true"] { background: #3b3626; border-color: var(--ouro); color: #ffcd79; }
.opcao-inicial img { width: 100%; height: 57px; object-fit: contain; image-rendering: pixelated; }
.opcao-inicial strong { font-size: 13px; line-height: 1.18; overflow-wrap: anywhere; }
.opcao-inicial small { color: var(--fraco); font-size: 12px; }
@media (max-width: 400px) {
  #catalogo-iniciais { padding: 13px; }
  #catalogo-iniciais .filtros-iniciais { gap: 6px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  #lista-iniciais { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
#lista-destinos { margin-block: 7px; }
#lista-destinos li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--linha); }
#lista-destinos strong, #lista-destinos small { display: block; }
#lista-destinos small { color: var(--fraco); font-size: 12px; }
#pista-campo { border-left: 3px solid var(--musgo); }
#catalogo-rastreio[open] { display: flex; flex-direction: column; max-height: min(86svh,720px); }
.nivel-rastreio { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fraco); font-size: 14px; }
.nivel-rastreio input { accent-color: var(--ouro); width: 17px; height: 17px; }
#lista-rastreio { overflow-y: auto; overscroll-behavior: contain; margin: 6px -4px; padding: 0 4px; }
#lista-rastreio li { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 8px; border-top: 1px solid var(--linha); padding: 6px 0; }
#lista-rastreio img { width: 42px; height: 46px; object-fit: contain; image-rendering: pixelated; }
#lista-rastreio strong, #lista-rastreio small { display: block; overflow-wrap: anywhere; }
#lista-rastreio small { color: var(--fraco); }
#lista-rastreio button { min-height: 44px; }
#avisos { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; text-align: center; width: max-content; max-width: calc(100% - 30px); pointer-events: none; }
#avisos:not(:empty) { background: #14251e; border: 1px solid #8f9e80; color: #ffefd5; padding: 10px 17px; border-radius: 5px; box-shadow: 0 3px 16px #0007; font-size: 14px; }
@media (max-width: 840px) {
  .cabecalho, main { padding-inline: 16px; }
  .entrada { grid-template-columns: 1fr minmax(310px,.92fr); }
  .acesso { padding: 22px; }
  .quadro-mundo { grid-template-columns: minmax(0,1fr); }
  .lateral { grid-template-columns: 1fr 1fr; }
  .abas { justify-content: space-between; gap: 0; }
}
@media (max-width: 610px) {
  .cabecalho { min-height: 55px; }
  .marca, .topo-acoes { gap: 10px; }
  .marca img { width: 76px; }
  .marca span { font-size: 11px; padding-left: 9px; }
  .volta, .discreto { font-size: 12px; }
  .entrada { display: block; min-height: auto; }
  .panorama { min-height: 230px; padding: 22px; }
  .legenda-cidade { top: 11px; left: 12px; font-size: 10px; }
  .chamada h1 { font-size: clamp(44px,10vw,63px); }
  .chamada h1 br { display: none; }
  .chamada p { margin-top: 8px; font-size: 14px; max-width: 280px; }
  .acesso { padding: 18px; }
  .chave-form { margin-bottom: 14px; }
  .acesso h2 { font-size: 27px; margin-bottom: 12px; }
  .faixa-tamer { gap: 9px; flex-wrap: wrap; }
  .rede { font-size: 11px; }
  .abas { margin-bottom: 12px; }
  .abas button { flex: 1; font-size: 10px; padding-inline: 1px; flex-direction: column; gap: 1px; }
  .abas img { width: 21px; height: 21px; }
  .lateral { grid-template-columns: 1fr; }
  .cab-area { padding: 10px 12px; }
  #tabuleiro { aspect-ratio: 1.42; }
  .rodape-mapa { font-size: 10px; padding: 8px; }
  .filtros { grid-template-columns: 1fr; }
  .campo input, .campo select { font-size: 16px; }
}
@media (max-width: 380px) {
  .cabecalho, main { padding-inline: 9px; }
  .rede { flex-basis: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
