@font-face { font-family: "Baloo 2"; src: url("../../Assets/Baloo2-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: light; --page: #f3f1ea; --stage: #fbfbf8; --ink: #111; --muted: #65645f; --line: #1b1b1b; --accent: #5148a8; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100%; margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: "Baloo 2", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.game-header { width: min(100%, 1280px); min-height: 76px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(22,22,22,.22); }
.game-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; }
.game-brand img { width: 42px; height: 42px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.store-link, .back-link { min-height: 40px; padding: 8px 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 14px; font-weight: 400; }
.store-link { background: var(--ink); color: #fff; }
.store-link:hover { background: var(--accent); }
.back-link:hover { background: #fff; }
.game-page { width: min(100%, 1100px); margin: 0 auto; padding: 34px 20px 48px; }
.game-intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.game-intro h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: .95; letter-spacing: -.05em; }
.game-intro p:last-child { max-width: 460px; margin: 0; color: var(--muted); font-size: 18px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 400; letter-spacing: .13em; }
.cp-stage { position: relative; width: 100%; height: min(72svh, 690px); min-height: 480px; overflow: hidden; isolation: isolate; border: 1px solid rgba(22,22,22,.26); background: var(--stage); user-select: none; -webkit-user-select: none; touch-action: none; }
.cp-stage:fullscreen, .cp-stage:-webkit-full-screen, .cp-stage.cp-fullscreen-fallback { position: fixed; inset: 0; width: 100vw; height: 100dvh; min-height: 0; border: 0; z-index: 999999; }
.cp-canvas { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; cursor: pointer; touch-action: none; }
.cp-score { position: absolute; z-index: 2; left: 50%; top: 50%; min-width: 140px; transform: translate(-50%,-50%); text-align: center; pointer-events: none; color: #000; }
.cp-score-label { display: block; font-size: 11px; font-weight: 400; letter-spacing: .2em; }
.cp-score-number { display: block; font-size: clamp(52px, 9vw, 96px); line-height: .9; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-icon-button { position: absolute; z-index: 4; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.cp-icon-button img { display: block; width: 14px; height: 22px; object-fit: contain; filter: invert(1); }
.cp-pause { top: max(16px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); }
.cp-icon-button:hover { background: var(--accent); }
.cp-icon-button:hover img { filter: none; }
.cp-overlay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); overflow-y: auto; background: rgba(247,247,244,.96); }
.cp-overlay[hidden], .cp-score[hidden], .cp-icon-button[hidden] { display: none !important; }
.cp-panel { width: min(100%, 390px); padding: 30px 28px; border: 1px solid var(--line); background: #fff; text-align: center; }
.cp-icon { width: 66px; height: 66px; margin: 0 auto 16px; object-fit: contain; }
.cp-heading { margin: 0; color: #111; font-size: clamp(32px,5vw,46px); font-weight: 800; letter-spacing: -.05em; }
.cp-description { max-width: 300px; margin: 12px auto 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cp-language { display: inline-grid; grid-template-columns: repeat(2,1fr); margin-bottom: 14px; border: 1px solid var(--line); }
.cp-language button { width: 48px; height: 34px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; font-weight: 400; }
.cp-language button:last-child { border-right: 0; }
.cp-language button.is-active { background: var(--ink); color: #fff; }
.cp-action, .cp-secondary-action, .cp-store-action { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); cursor: pointer; font-weight: 800; }
.cp-action { margin-top: 10px; background: var(--accent); color: #fff; }
.cp-action:hover { background: #40388d; }
.cp-secondary-action { margin-top: 10px; background: #fff; color: var(--ink); }
.cp-secondary-action:hover, .cp-store-action:hover { background: #f2f0ea; }
.cp-store-action { margin-top: 10px; background: var(--ink); color: #fff; }
.cp-result { margin-top: 8px; color: var(--accent); font-size: 64px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-result-label { font-size: 11px; font-weight: 400; letter-spacing: .15em; }
.cp-shutter { position: absolute; left: 0; z-index: 8; width: 100%; height: 50.2%; background: #151515; pointer-events: none; transition: transform 290ms cubic-bezier(.6,0,.32,1); will-change: transform; }
.cp-shutter-top { top: 0; transform: scaleY(0); transform-origin: top; }
.cp-shutter-bottom { bottom: 0; transform: scaleY(0); transform-origin: bottom; }
.cp-stage.cp-closed .cp-shutter-top, .cp-stage.cp-closed .cp-shutter-bottom { transform: scaleY(1); }
.game-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
@media (max-width: 700px) { .game-header { min-height: 64px; padding: 9px 14px; } .game-brand span { display: none; } .game-brand img { width: 38px; height: 38px; } .store-link { display: none; } .game-page { padding: 20px 0 28px; } .game-intro { padding: 0 16px; align-items: start; } .game-intro p:last-child { display: none; } .cp-stage { height: calc(100svh - 154px); min-height: 430px; border-inline: 0; } .game-note { padding-inline: 16px; } }
@media (max-height: 620px) { .cp-panel { padding: 20px; } .cp-icon { width: 48px; height: 48px; margin-bottom: 8px; } .cp-heading { font-size: 30px; } .cp-description { margin: 8px auto 12px; } .cp-action, .cp-secondary-action, .cp-store-action { min-height: 42px; } }
@media (prefers-reduced-motion: reduce) { .cp-shutter { transition-duration: 175ms; } }
