:root{--ink:#0b1f2b;--deep:#071822;--paper:#efe6cc;--brass:#d9a441;--mine:#ff5a2c;--teal:#3fd0c9;--cream:#f2e8cf}
*{box-sizing:border-box}
body{margin:0;background:#06141d;color:var(--cream);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding-bottom:env(safe-area-inset-bottom)}
.ad-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem 1rem;background:var(--ink);font-size:.85rem}
.ad-header a{color:var(--cream);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.ad-header span{color:var(--brass);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.75rem;letter-spacing:.04em}
.game-wrap{max-width:420px;margin:0 auto;padding:1rem}
.ad-title{margin:0 0 .6rem;font:700 1.15rem ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--paper)}
#stage{position:relative;margin:0 auto;max-width:100%;border:2px solid var(--ink);border-radius:6px;overflow:hidden;background:var(--deep);box-shadow:0 0 0 1px rgba(111,183,176,.25)}
#c{display:block;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:pointer}
.panel{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:.65rem;padding:1.1rem 1.2rem;padding-left:max(1.2rem,env(safe-area-inset-left));padding-right:max(1.2rem,env(safe-area-inset-right));background:rgba(7,24,34,.84);text-align:center}
.panel[hidden]{display:none}
.panel h2{margin:0;font:800 2rem/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.04em;color:var(--paper);text-transform:uppercase}
.panel .tag{margin:0;font-size:.95rem;color:#b7d4cf;line-height:1.35}
.panel .meta{margin:0;font:.78rem ui-monospace,Menlo,Consolas,monospace;color:var(--teal);line-height:1.5;white-space:pre-line}
.panel .meta.dim{color:#8fb0ab}
.btn{appearance:none;border:2px solid var(--brass);background:transparent;color:var(--cream);font:700 1rem ui-monospace,Menlo,Consolas,monospace;letter-spacing:.04em;min-height:48px;padding:.6rem 1rem;border-radius:4px;cursor:pointer;touch-action:manipulation}
.btn.primary{background:var(--brass);color:var(--ink)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible,#btn-mute:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.btn:disabled{opacity:.5;cursor:default}
.btn[hidden]{display:none}
#btn-mute{position:absolute;right:6px;bottom:6px;width:48px;height:48px;border-radius:50%;border:2px solid rgba(217,164,65,.7);background:rgba(7,24,34,.72);color:var(--cream);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation;z-index:3}
#btn-mute svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#btn-mute .x{display:none}
#btn-mute.off .x{display:block}
#btn-mute.off .w{display:none}
.pick{display:flex;align-items:center;justify-content:center;gap:.6rem}
.pk{appearance:none;width:48px;height:48px;border-radius:50%;border:2px solid var(--brass);background:transparent;color:var(--cream);font:700 1.5rem/1 ui-monospace,Menlo,Consolas,monospace;cursor:pointer;touch-action:manipulation}
.pk:disabled{opacity:.3;cursor:default}
.pk:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.pk-label{min-width:7.5rem;font:700 1.05rem ui-monospace,Menlo,Consolas,monospace;color:var(--paper);letter-spacing:.05em;text-transform:uppercase}
.stars{margin:0;min-height:1.3em;font-size:1.15rem;letter-spacing:.2em;color:var(--brass)}
.stars.big{font-size:2rem}
.stars.big span{display:inline-block;animation:pop .45s cubic-bezier(.2,1.6,.4,1) both}
.stars.big span:nth-child(2){animation-delay:.18s}.stars.big span:nth-child(3){animation-delay:.36s}
@keyframes pop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.panel:not([hidden]){animation:fadein .25s ease-out}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.how{margin:.8rem 0 0;font-size:.85rem;line-height:1.5;color:#b7d4cf}
.how b{color:var(--brass)}
footer{max-width:420px;margin:0 auto;padding:.5rem 1rem 1.5rem;font-size:.8rem;color:#8fb0ab}
footer a{color:#b7d4cf;display:inline-block;min-height:44px;line-height:44px;padding:0 .3rem}
@media (prefers-reduced-motion:reduce){.btn:active{transform:none}.stars.big span,.panel:not([hidden]){animation:none}}
@media (max-height:640px){.panel h2{font-size:1.6rem}.panel{gap:.45rem}.pk{width:44px;height:44px}}
.panel{overflow:auto}
html.pip-immersive .ad-title,html.pip-immersive .how,html.pip-immersive footer,html.pip-immersive #similar-games{display:none}
html.pip-immersive .game-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding-left:0;padding-right:0;padding-bottom:0}
html.pip-immersive #stage{flex:none;border:0;border-radius:0;box-shadow:none;margin:0}
@media (orientation:landscape) and (max-height:520px){html.pip-immersive .panel{gap:.35rem;padding:.5rem .6rem}html.pip-immersive .panel h2{font-size:1.3rem}html.pip-immersive .panel .tag{font-size:.8rem}html.pip-immersive .panel .meta{font-size:.7rem}html.pip-immersive .btn{min-height:44px;padding:.3rem .8rem}}
html.pip-immersive .game-wrap,html.pip-native .game-wrap{padding:0;max-width:none}
html.pip-native .ad-title,html.pip-native .how,html.pip-native footer,html.pip-native #similar-games,html.pip-immersive .ad-header,html.pip-native .ad-header{display:none}
html.pip-native #stage{flex:none;border:0;border-radius:0;box-shadow:none;margin:0}
html.pip-native .game-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
