@font-face{font-family:Fraunces;src:url('../shared/fonts/fraunces-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Nunito;src:url('../shared/fonts/nunito-sans-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('../shared/fonts/nunito-sans-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Nunito;src:url('../shared/fonts/nunito-sans-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap}
:root{--bg:#173b37;--cream:#fff3dd;--gold:#f2bf58;--muted:#b9c8bc;color-scheme:dark;font-family:Nunito,system-ui,sans-serif;color:var(--cream);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:5px}[hidden]{display:none!important}
#library{max-width:1440px;margin:auto;padding:0 5%;min-height:100dvh;background:radial-gradient(ellipse at 95% 0,rgba(122,155,110,.08),transparent 55%)}
.masthead{display:flex;align-items:center;justify-content:space-between;height:88px;border-bottom:1px solid #ffffff1d;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--cream);text-decoration:none;font-family:Fraunces,Georgia,serif;font-size:24px}.brand-mark{display:grid;place-items:center;background:var(--gold);color:var(--bg);border-radius:11px;width:36px;height:36px;font-family:Georgia,serif;font-size:30px}.edition,.local-tag,.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.6px}.edition{color:var(--muted)}.local-tag{letter-spacing:.1px;display:flex;align-items:center;gap:9px}.local-tag i{width:7px;height:7px;border-radius:50%;background:#a6c293}
.intro{display:flex;align-items:center;justify-content:space-between;margin:38px 0 30px}.eyebrow{color:var(--gold);margin:0 0 11px}h1{font-family:Fraunces,Georgia,serif;font-size:clamp(35px,3.65vw,55px);font-weight:800;line-height:1.12;margin:0;letter-spacing:-1.5px}h1 em{color:var(--gold);font-style:normal}.lead{font-size:18px;color:var(--muted);margin:14px 0 0}.collection-number{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1.5px;padding:0 20px}.collection-number span{font-family:Fraunces,Georgia,serif;font-size:55px;font-weight:800;color:#749187;line-height:1}
.games{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:6px}.game-card{min-width:0;display:block;padding:0;border:1px solid #fff3dd24;border-radius:20px;background:#224940;color:var(--cream);text-align:left;overflow:hidden;box-shadow:0 12px 32px #081d2025;transition:transform .16s,border-color .16s,box-shadow .16s}.game-card.pavio{background:#213d49}.game-card.selected,.game-card:focus-visible{outline:3px solid var(--gold);outline-offset:5px;box-shadow:0 16px 38px #051c2833}.game-card:hover{transform:translateY(-3px)}.cover{height:clamp(210px,24vw,310px);position:relative;overflow:hidden}.cover img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 82%}.cozinha .cover img{object-position:center 43%}.cover-tag{position:absolute;left:22px;top:20px;border:1px solid #fff3dd30;border-radius:7px;background:#10272bd9;backdrop-filter:blur(8px);padding:9px 12px;font-size:10px;letter-spacing:1.2px;font-weight:800}.card-body{padding:22px 26px 19px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}h2{font-family:Fraunces,Georgia,serif;font-weight:800;font-size:33px;line-height:1.12;margin:0}h2 span{font-size:.72em}.launch-arrow{font-size:26px;color:var(--gold)}.card-body>p{font-size:16px;color:var(--muted);margin:12px 0 23px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #fff3dd24;padding-top:15px}.card-bottom>span{font-size:12px;color:var(--muted)}.card-bottom strong{font-size:16px;color:var(--gold);white-space:nowrap}.card-bottom strong span{margin-left:12px}.library-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding-bottom:20px;color:var(--muted);font-size:13px}.library-footer p{margin:0}.library-footer p:first-child{display:flex;align-items:center;gap:7px}kbd{font-family:Nunito,sans-serif;font-size:11px;font-weight:800;border:1px solid #fff3dd35;padding:3px 7px;border-radius:5px;color:var(--cream);min-width:23px;text-align:center}.sep{margin:0 7px;opacity:.4}.pad-cross{width:23px;height:23px;display:inline-grid;place-items:center;border:1px solid #91bcea70;border-radius:50%;font-size:21px;color:#a1c6f5}
#player{position:fixed;inset:0;background:#102630;display:flex;flex-direction:column}.player-bar{height:44px;flex:0 0 44px;display:flex;align-items:center;padding:0 16px;gap:25px;background:#102b28;border-bottom:1px solid #ffffff16}.player-bar button{background:transparent;border:0;color:var(--cream);font-size:13px;padding:6px 8px}.player-brand{font-family:Fraunces,Georgia,serif;font-size:15px;flex:1}.player-brand>span{color:#78948a;margin:0 12px}.player-brand strong{font:600 13px Nunito,sans-serif;color:var(--muted)}.player-hint{font-size:11px;color:var(--muted)}#game-host{flex:1;min-height:0;position:relative}#game-host iframe{width:100%;height:100%;border:0;display:block}.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--cream);pointer-events:none}
dialog{max-width:520px;width:calc(100% - 40px);background:#214b43;color:var(--cream);border:1px solid #ffffff22;border-radius:22px;padding:36px;box-shadow:0 28px 100px #0008}dialog::backdrop{background:#061b22cc}dialog h2{font-size:34px}dialog>p:not(.eyebrow){font-size:18px;line-height:1.5;color:var(--muted)}.dialog-actions{display:flex;flex-direction:column;gap:12px;margin-top:25px}.dialog-actions button{border:1px solid #ffffff25;border-radius:10px;padding:14px;font-weight:800;background:transparent;color:var(--cream)}.dialog-actions button:first-child{background:var(--cream);color:#173b37}.dialog-actions button:focus{outline:3px solid var(--gold);outline-offset:3px}dialog .dialog-hint{font-size:13px!important;margin-bottom:0}
@media(min-width:1600px){#library{padding:0 72px}.intro{margin-top:55px;margin-bottom:40px}.cover{height:350px}.card-body{padding:28px 30px}.library-footer{margin-top:32px}}
@media(max-height:760px) and (min-width:800px){.masthead{height:67px}.intro{margin:24px 0 22px}.cover{height:230px}.card-body{padding:19px 24px 17px}.card-body>p{margin-bottom:17px}.library-footer{margin-top:22px}.lead{margin-top:10px}}
@media(max-width:850px){.edition,.collection-number,.player-hint{display:none}h1{font-size:36px}.games{gap:20px}.card-body{padding:18px}.game-heading h2{font-size:26px}.game-heading h2 span{display:block}.card-bottom>span{font-size:11px}.library-footer{flex-direction:column;align-items:flex-start}.local-tag{font-size:11px}.player-bar{gap:8px}.player-brand strong{font-size:11px}}
@media(max-width:600px){#library{padding:0 24px}.masthead{height:72px}.brand{font-size:20px}.local-tag{display:none}.intro{margin:30px 0}.lead{font-size:16px;line-height:1.5}.games{grid-template-columns:1fr;gap:25px}.cover{height:250px}h1{font-size:38px}.game-heading h2 span{display:inline}.library-footer p:first-child{flex-wrap:wrap}.player-brand{font-size:12px}.player-brand>span{margin:0 4px}.player-bar button span{display:none}.player-brand strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Dicas de entrada: discos do DualShock e teclas com a mesma linguagem dos jogos. */
.input-hints{display:flex;flex-direction:column;gap:11px;font-size:13px;line-height:1.4;color:var(--muted)}
.input-hints .hint-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:0}
.device-label{min-width:62px;font-size:11px;font-weight:800;letter-spacing:.5px;color:var(--muted)}
.hint-action{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hint-or{font-size:11px;color:var(--muted);font-weight:400}
.pad-glyph{display:inline-flex;align-items:center;justify-content:center;width:31px;height:33px;flex:0 0 auto;vertical-align:middle;color:var(--glyph-color,#fff3dd);filter:drop-shadow(0 1px 1px #0003)}
.pad-glyph svg{display:block;width:100%;height:100%;overflow:visible}
.pad-utility{width:auto;min-width:46px;height:24px;padding:0 7px;background:linear-gradient(#373343,#211e2d);border:1px solid #69707f;border-radius:7px;box-shadow:0 2px 0 #080e17,inset 0 1px 0 #ffffff14;color:#eee9f1;font:800 9px Nunito,system-ui,sans-serif;letter-spacing:.4px}
.input-hints kbd{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:25px;padding:2px 7px;background:#fff3dd;border:1px solid #dfd1b8;border-bottom:3px solid #c4b699;border-radius:5px;color:#382c25;box-shadow:0 2px 2px #0002;font:800 11px Nunito,system-ui,sans-serif;white-space:nowrap}
.input-hints kbd svg{width:15px;height:15px}
.library-footer{align-items:center;margin-top:23px}
.library-footer #controller-status{font-size:12px;text-align:right;max-width:300px}
.player-hint{display:flex;align-items:center;gap:7px;white-space:nowrap}
.dialog-hints{margin-top:25px;padding-top:19px;border-top:1px solid #fff3dd22;font-size:12px}
.dialog-hints .hint-row{gap:9px 12px}.dialog-hints .device-label{width:100%;font-size:10px}.dialog-hints .pad-glyph{width:28px;height:30px}
@media(max-width:1000px){.library-footer{align-items:flex-start;flex-direction:column;gap:16px}.library-footer #controller-status{text-align:left;max-width:none}}
@media(max-width:850px){.player-hint{display:flex;font-size:10px;gap:5px}.player-hint>span:last-child{display:none}}
@media(max-width:600px){.player-bar{flex-wrap:wrap;height:auto;min-height:44px;flex-basis:auto;padding-top:6px;padding-bottom:6px}.player-hint{order:5;width:100%;justify-content:center;padding-bottom:3px}.player-hint>span:last-child{display:inline}.input-hints .hint-row{gap:8px 12px}.input-hints .device-label{width:100%}}
