@font-face{font-family:'Pixelify Sans';src:url('../assets/fontes/PixelifySans.ttf') format('truetype');font-weight:400 700;font-display:block}
:root{font-family:'Pixelify Sans',monospace;font-size:16px;color:#4b3427;background:#ded4b6}button,select,h1,p,footer,small{font-family:inherit}main{max-width:1320px}h1{font-size:28px;font-weight:600}small{font-size:12px;letter-spacing:1px}header p{font-size:15px}button,select{border:2px solid #5f4230;border-radius:0;background:#f7e9bd;color:#4b3427;box-shadow:2px 2px 0 #ad9163;padding:7px 10px;font-size:16px;min-height:36px}button:hover,button[aria-pressed=true]{background:#78473f;color:#fff3c8}button:disabled,select:disabled{opacity:.5}button:focus-visible,select:focus-visible,a:focus-visible,output:focus-visible{outline:3px solid #e7ae51;outline-offset:3px}select{border-radius:0;font-size:16px}.seletor{font-size:14px}.moldura{border:4px solid #5c4432;border-radius:0;box-shadow:4px 4px 0 #b79b6f}footer{font-size:14px}.nota-acervo{font-size:14px;line-height:1.15}#aviso{border:2px solid #d8b77e;border-radius:0;background:#493428;font-size:16px}.toque button{font-size:16px;border-radius:0;min-width:44px;min-height:44px}#jogo:focus{outline:none}[hidden]{display:none!important}
.contexto-objeto{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 20px);padding:7px 10px;background:#f4e4b5;border:2px solid #65472e;box-shadow:3px 3px 0 #36291d;color:#4a3023;pointer-events:none;font-size:16px}.contexto-objeto strong{font-weight:600}.tecla{display:inline-block;padding:1px 5px;border:2px solid #78583a;background:#fff3d0;box-shadow:1px 1px 0 #836343;font-size:14px}.contexto-objeto small{font-size:13px;letter-spacing:0;color:#684a34}.troca-alvo{display:flex;gap:5px;pointer-events:auto}.troca-alvo button{padding:4px;min-width:36px;min-height:36px;font-size:16px}
.janela-pixel{color:#483022;font-family:'Pixelify Sans',monospace;width:min(580px,calc(100vw - 30px));max-height:calc(100dvh - 30px);padding:0;border:0;border-radius:0;background:#f5e6b7;box-shadow:0 0 0 4px #3e2b20,0 0 0 8px #b48a52,8px 8px 0 8px #241d17;overflow:auto}.janela-pixel::backdrop{background:rgba(28,27,23,.65)}.janela-pixel h2{margin:0;background:#79463b;color:#fff0bd;border-bottom:4px solid #553b2b;padding:14px 20px;font-size:24px;font-weight:600;line-height:1.15}.janela-pixel h2:before{content:'';display:inline-block;width:12px;height:12px;margin-right:12px;vertical-align:middle;background:#e6b45d;box-shadow:3px 0 0 #d69a48,0 3px 0 #bd8840}.conteudo-pixel{padding:20px;display:flex;flex-direction:column;gap:16px}.conteudo-pixel p{font-size:18px;line-height:1.35;color:#4c3628}.conteudo-pixel .legenda-pixel{font-size:16px;color:#73533c}.lista-acoes,.acoes-demo{display:flex;flex-direction:column;gap:10px}.botao-pixel{font:18px 'Pixelify Sans',monospace;line-height:1.2;min-height:44px;padding:10px 14px;text-align:left;cursor:pointer;border:2px solid #65472f;border-radius:0;background:#e5c487;color:#493022;box-shadow:3px 3px 0 #a17b4d}.botao-pixel:hover,.botao-pixel:focus-visible{background:#785044;color:#fff0c0}.botao-pixel.secundario{background:#f0ddb1}.botao-pixel.secundario:hover{background:#cfad75;color:#493022}.comando-recebido{display:block;min-height:58px;border:2px solid #ba965f;padding:14px;background:#ead3a0;color:#533d2e;font-size:20px;line-height:1.3}
@media(max-width:700px){h1{font-size:24px}small{font-size:11px}.acoes button,.acoes select{font-size:13px;padding:5px 7px;min-height:34px}.seletor{font-size:12px}footer,.nota-acervo{font-size:12px}.contexto-objeto{font-size:14px;gap:6px;flex-wrap:wrap;justify-content:center;width:max-content}.contexto-objeto strong{max-width:200px}.janela-pixel h2{font-size:22px}.conteudo-pixel{padding:16px;gap:12px}}
@media(max-height:500px){.acoes button,.acoes select{min-height:28px;font-size:12px;padding:3px 6px}h1{font-size:22px}footer,.nota-acervo{font-size:12px}.janela-pixel{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}.janela-pixel h2{font-size:20px;padding:8px 16px}.conteudo-pixel{padding:12px 16px;gap:10px}.acoes-demo{display:flex;flex-direction:row;flex-wrap:wrap}.botao-pixel{font-size:16px;padding:8px;flex:1}.comando-recebido{min-height:40px;padding:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.direcional button,#alvo-anterior,#alvo-proximo{font-size:0!important;display:grid;place-items:center}.direcional button:before,#alvo-anterior:before,#alvo-proximo:before{content:'';display:block;width:16px;height:16px;background:currentColor;clip-path:polygon(6px 0,10px 0,10px 2px,12px 2px,12px 4px,14px 4px,14px 6px,10px 6px,10px 14px,6px 14px,6px 6px,2px 6px,2px 4px,4px 4px,4px 2px,6px 2px)}[data-dir=left]:before,#alvo-anterior:before{transform:rotate(-90deg)}[data-dir=right]:before,#alvo-proximo:before{transform:rotate(90deg)}[data-dir=down]:before{transform:rotate(180deg)}
