:root { color-scheme: dark; font-family: 'Trebuchet MS', system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow: hidden; background: #090725; }
body {
  display: grid; place-items: center; min-height: 100dvh;
  background:
    radial-gradient(circle at 20% 10%, #312167 0, transparent 32%),
    radial-gradient(circle at 85% 80%, #182d6a 0, transparent 35%), #090725;
}
.game-shell {
  width: min(100vw, 430px); height: min(100dvh, 860px); min-height: 600px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #231957, #0d123d 48%, #111b4c);
  box-shadow: 0 0 80px #0009;
}
.topbar { height: 49px; flex: none; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff14; }
.brand { font: 800 14px 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif; letter-spacing: 1.7px; color: #f7f3ff; display: flex; align-items: center; gap: 9px; }
.brand-dot { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #ffdd66 12%, #ff8b42 65%, #e24367); box-shadow: 0 0 10px #ff845c99; }
.icon-button { border: 1px solid #ffffff24; background: #ffffff0c; color: #d9d6ff; width: 31px; height: 31px; border-radius: 50%; cursor: pointer; font: 800 17px sans-serif; }
.icon-button.muted { opacity: .45; text-decoration: line-through; }
.stats { height: 61px; flex: none; display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; padding: 0 18px; background: #0f0c35aa; border-bottom: 1px solid #ffffff13; }
.stat span, .mission span { display: block; color: #8d8bb9; font-size: 8px; font-weight: 800; letter-spacing: 1.8px; }
.stat strong { font: 800 22px 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif; color: #fff; line-height: 22px; }
.stat.right { text-align: right; }
.mission { text-align: center; padding: 4px 10px; border-left: 1px solid #ffffff13; border-right: 1px solid #ffffff13; }
.mission b { display: block; font-size: 11px; color: #d9d5ff; margin-top: 3px; white-space: nowrap; }
.canvas-wrap { flex: 1; min-height: 0; position: relative; cursor: crosshair; }
canvas { display: block; width: 100%; height: 100%; }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(#1211487a, #10113ce8); transition: opacity .25s, visibility .25s; padding: 20px; }
.overlay:not(.visible) { opacity: 0; visibility: hidden; pointer-events: none; }
.logo-bubbles { height: 53px; width: 100px; position: relative; margin-bottom: 7px; }
.logo-bubbles i { position: absolute; border-radius: 50%; box-shadow: inset -5px -7px 10px #0002, inset 4px 5px 6px #fff8, 0 7px 16px #0005; }
.logo-bubbles i:nth-child(1) { width: 42px; height: 42px; left: 10px; top: 10px; background: #ff5c89; }
.logo-bubbles i:nth-child(2) { width: 50px; height: 50px; left: 34px; background: #6cdeff; z-index: 2; }
.logo-bubbles i:nth-child(3) { width: 35px; height: 35px; right: 0; top: 16px; background: #ffd35b; }
.eyebrow { margin: 0; font-size: 9px; letter-spacing: 2.7px; color: #9c98c7; text-transform: uppercase; }
h1 { margin: 6px 0 5px; font: 800 45px/.78 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif; letter-spacing: 1px; color: white; text-shadow: 0 5px 0 #16124155; }
h1 em { color: #77e5ff; font-style: normal; font-size: 53px; }
.howto { color: #b9b5db; font-size: 11px; line-height: 1.65; margin: 18px 0 22px; }
.primary-button { border: 0; color: #15113d; background: linear-gradient(135deg, #ffe565, #ffae57); box-shadow: 0 9px 24px #ffb23b45, inset 0 2px #fff8; border-radius: 25px; padding: 12px 20px 11px 26px; min-width: 168px; font: 800 13px 'Trebuchet MS', sans-serif; letter-spacing: .8px; cursor: pointer; transition: transform .15s; }
.primary-button:hover { transform: translateY(-2px) scale(1.02); }
.primary-button span { float: right; font-size: 19px; line-height: 13px; }
footer { height: 37px; flex: none; display: flex; align-items: center; justify-content: center; gap: 32px; color: #8887ad; font-size: 9px; border-top: 1px solid #ffffff12; background: #0b0b30; }
footer span { display: flex; align-items: center; gap: 6px; }
.mouse-icon, .click-icon { display: inline-block; width: 9px; height: 13px; border: 1px solid #aaa9ce; border-radius: 6px; position: relative; }
.mouse-icon:after { content: ''; position: absolute; width: 1px; height: 3px; background: #aaa9ce; left: 3px; top: 2px; }
.click-icon:after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffca5e; left: 2px; top: 4px; }
@media (max-height: 650px) { .topbar { height: 39px; } .stats { height: 49px; } footer { height: 29px; } }
