@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--game-ink:#253d34;--game-muted:#67746a;--game-paper:#fffdf5;--game-green:#345d48;--game-gold:#ad7342;--game-line:#e7e5d8;color-scheme:light}
*{box-sizing:border-box}body.game-page{margin:0;background:#dfebdc;color:var(--game-ink);font:400 16px/1.6 'DM Sans',system-ui,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bd8b4b;outline-offset:4px}[hidden]{display:none!important}button,a{touch-action:manipulation}a{color:var(--game-green)}
.game-stage{position:fixed;inset:0;isolation:isolate;background:radial-gradient(ellipse at 50% 30%,#f0f1d9,#c6dcc6 70%)}#game-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.game-header{position:fixed;z-index:3;top:max(20px,env(safe-area-inset-top));left:24px;right:24px;display:flex;gap:16px;justify-content:space-between;align-items:start;pointer-events:none}.game-brand{padding:13px 20px;border:1px solid #fff9;background:#fffdf3de;box-shadow:0 8px 25px #29402a0a;border-radius:18px;max-width:calc(100% - 66px)}.game-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#6f806a}.game-brand strong{display:block;font:800 clamp(17px,2.4vw,22px)/1.4 Manrope,system-ui,sans-serif;overflow-wrap:anywhere}.game-menu-button,.game-sound{pointer-events:auto;border:1px solid #fff9;background:#fffdf3eb;box-shadow:0 6px 20px #29402a0a;min-width:48px;min-height:48px;border-radius:50%;color:var(--game-ink);font-size:20px}.game-actions{display:flex;gap:9px}.game-compass{position:fixed;right:30px;top:110px;z-index:2;display:grid;place-items:center;width:48px;height:48px;border:1px solid #42644836;border-radius:50%;font:700 11px Manrope;color:#48664e;pointer-events:none}.game-compass::before{content:'↑';font-size:24px;line-height:1}
.game-location{position:fixed;top:122px;left:26px;z-index:2;pointer-events:none;font:600 12px Manrope;color:#436b4b;letter-spacing:.04em}.game-location::before{content:'●';margin-right:7px;color:#6c9958}.game-tip{position:fixed;left:50%;top:105px;z-index:2;transform:translateX(-50%);border-radius:30px;padding:7px 16px;background:#fffdf3c9;white-space:nowrap;color:#61705e;font-size:12px;pointer-events:none}.game-station-label{position:absolute;z-index:1;left:0;top:0;max-width:150px;text-align:center;pointer-events:none;will-change:transform}.game-station-label span{display:inline-block;padding:5px 11px;border:1px solid #ffffffa6;border-radius:12px;background:#fffdf2e6;box-shadow:0 4px 14px #233c2720;font:700 11px/1.35 Manrope;color:#426147}.game-station-label.is-near span{background:var(--game-green);color:white;border-color:#345d48}.game-station-label small{font-size:10px;opacity:.65;display:block;margin-bottom:1px}
.game-bottom{position:fixed;z-index:3;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;border:1px solid #fff9;border-radius:24px;padding:7px;background:#fffdf3ee;box-shadow:0 10px 35px #3146331c}.game-bottom button{border:0;background:transparent;color:#4c624e;padding:11px 18px;border-radius:17px;white-space:nowrap;font-size:13px;font-weight:700;min-height:44px}.game-bottom button:first-child{background:var(--game-green);color:white}.game-joystick{position:fixed;z-index:4;left:30px;bottom:110px;width:112px;height:112px;border:1px solid #ffffffb3;border-radius:50%;background:#fff8;box-shadow:inset 0 2px 10px #355a3c0a,0 6px 24px #426c3610;touch-action:none;user-select:none}.game-joystick::before{content:'✥';position:absolute;inset:0;display:grid;place-items:center;font-size:72px;font-weight:400;color:#52734a19}.game-stick{position:absolute;top:35px;left:35px;width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#799a72,#345d48);box-shadow:0 5px 9px #2d4a342b;border:3px solid #ffffffe6;pointer-events:none}.game-joystick-label{position:absolute;top:120px;left:0;width:112px;text-align:center;font-size:10px;color:#526d51;letter-spacing:.12em;text-transform:uppercase}.game-interact{position:fixed;z-index:4;bottom:133px;right:30px;display:flex;align-items:center;gap:10px;max-width:220px;border:1px solid #fff9;border-radius:25px;padding:12px 17px;background:var(--game-green);color:#fff;box-shadow:0 8px 20px #284d3533;font-size:13px;font-weight:700;min-height:50px}.game-interact b{display:grid;place-items:center;border:1px solid #fff6;width:26px;height:26px;border-radius:50%;flex:none}.game-minimap{position:fixed;bottom:100px;right:30px;width:110px;height:110px;background:#fffdf3ce;border:1px solid #fff9;border-radius:20px;overflow:hidden;pointer-events:none;z-index:2}.game-minimap::before,.game-minimap::after{content:'';position:absolute;background:#dfd1b4}.game-minimap::before{left:48%;top:15%;width:6%;height:70%}.game-minimap::after{left:15%;top:48%;height:6%;width:70%}.game-minimap-dot{position:absolute;width:6px;height:6px;background:#a4b28a;border-radius:50%;transform:translate(-50%,-50%)}.game-player-dot{z-index:1;width:8px;height:8px;background:#345d48;border:1px solid white;box-shadow:0 0 0 3px #345d4820}.game-minimap:has(+ .game-interact:not([hidden])){opacity:0}
.game-intro{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#dfe8d665,#d5e4d4b5);backdrop-filter:blur(4px)}.game-invitation{width:min(100%,420px);position:relative;padding:38px 30px 26px;background:#fffdf6f5;border:1px solid white;border-radius:30px;box-shadow:0 22px 80px #334d3529;text-align:center}.game-seal{margin:0 auto 18px;width:50px;height:50px;border:1px solid #c0af88;border-radius:50%;display:grid;place-items:center;color:#a77e42;font-size:25px}.game-invitation h1{font:800 clamp(27px,6vw,38px)/1.25 Manrope;margin:13px 0;color:#304c3c;letter-spacing:-.04em;overflow-wrap:anywhere}.game-invitation .game-subtitle{font-size:14px;color:var(--game-muted);max-width:290px;margin:14px auto}.game-invitation .game-guest{border-top:1px solid var(--game-line);margin-top:24px;padding-top:20px;font-size:13px;color:var(--game-muted)}.game-guest strong{display:block;font-size:17px;color:var(--game-ink);overflow-wrap:anywhere}.game-primary{display:inline-flex;justify-content:center;align-items:center;gap:20px;background:var(--game-green);color:#fff;border:0;border-radius:16px;padding:14px 23px;font-size:14px;font-weight:700;min-height:50px;text-decoration:none}.game-primary:disabled{cursor:wait}.game-invitation .game-primary{width:100%;margin-top:23px}.game-text-button{border:0;background:transparent;color:var(--game-muted);font-size:12px;text-decoration:underline;padding:12px;min-height:40px}.game-load{font-size:12px;color:var(--game-muted);margin:12px 0 0;min-height:20px}.game-load::before{content:'';display:inline-block;width:5px;height:5px;background:#85a671;border-radius:50%;margin-right:7px}
.game-panel{position:fixed;inset:auto 0 0 auto;z-index:12;max-width:100%;width:460px;height:100dvh;max-height:100%;margin:0;border:0;border-left:1px solid #fff;background:var(--game-paper);color:var(--game-ink);padding:0;border-radius:26px 0 0 26px;box-shadow:-20px 0 80px #253d3426}.game-panel::backdrop{background:#223b344d;backdrop-filter:blur(3px)}.game-panel-top{position:sticky;top:0;background:#fffdf5f5;border-bottom:1px solid var(--game-line);padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2}.game-panel-top small{font-size:11px;letter-spacing:.15em;color:var(--game-gold);font-weight:700;text-transform:uppercase}.game-close{border:1px solid var(--game-line);width:40px;height:40px;border-radius:50%;background:transparent;color:var(--game-ink);flex:none;font-size:23px}.game-panel-body{padding:26px 26px 50px;overflow-wrap:anywhere}.game-panel h2{font:800 28px/1.2 Manrope;margin:0 0 15px;letter-spacing:-.04em}.game-panel h3{font:700 21px/1.35 Manrope;margin:0 0 10px}.game-panel p{font-size:16px;margin:10px 0;line-height:1.7}.game-muted{color:var(--game-muted)}.game-card{padding:20px;border:1px solid var(--game-line);border-radius:18px;margin:18px 0;background:#fff}.game-card p{margin:8px 0}.game-card small{font-size:13px;color:var(--game-muted)}.game-card img{max-width:100%;height:auto;border-radius:12px}.game-card .game-portrait{width:105px;height:105px;object-fit:cover;display:block;margin-bottom:15px}.game-time{font-weight:700;color:var(--game-green)}.game-countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0}.game-countdown>div{border:1px solid var(--game-line);border-radius:14px;text-align:center;padding:13px 3px;background:#f0f2e9}.game-countdown strong{display:block;font:800 25px Manrope}.game-countdown small{font-size:12px;color:var(--game-muted)}.game-nav-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.game-nav-grid button{padding:19px 14px;border:1px solid var(--game-line);border-radius:16px;background:#fff;text-align:left;color:var(--game-ink);font-weight:700;font-size:14px;min-width:0;overflow-wrap:anywhere}.game-nav-grid button span{display:block;color:var(--game-gold);font-size:11px;font-weight:500;margin-bottom:6px}.game-panel form{display:grid;gap:15px}.game-panel label{font-size:14px;font-weight:600}.game-panel input,.game-panel select,.game-panel textarea{display:block;width:100%;min-height:48px;margin-top:7px;padding:12px;border:1px solid #d8ded2;background:#fff;border-radius:12px;color:var(--game-ink)}.game-panel textarea{resize:vertical;min-height:100px}.game-copy{border:1px solid var(--game-line);border-radius:10px;background:#eff3e9;color:var(--game-green);padding:8px 13px;font-size:13px}.game-account{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-account strong{overflow-wrap:anywhere;min-width:0;font:700 20px/1.5 'DM Sans',sans-serif;font-variant-numeric:lining-nums}.game-timeline-item{padding:0 0 22px 20px;border-left:1px solid #b4c4a7;position:relative}.game-timeline-item::before{content:'';width:9px;height:9px;border-radius:50%;background:#688658;border:2px solid var(--game-paper);position:absolute;left:-5px;top:7px}.game-timeline-item img{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px;margin:15px 0}.game-panel blockquote{font-size:20px;line-height:1.8;margin:20px 0;color:var(--game-green)}.game-panel cite{font-size:14px}.game-gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:12px}.game-gallery figure{flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:center}.game-gallery img{width:100%;max-height:400px;object-fit:contain;display:block;height:auto;border-radius:14px}.game-gallery figcaption{font-size:14px;margin-top:8px}.game-gallery-controls{display:flex;justify-content:space-between;align-items:center;margin:18px 0;font-size:13px}.game-gallery-controls button{border:1px solid var(--game-line);background:white;border-radius:50%;width:44px;height:44px;color:var(--game-ink)}.game-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);padding:12px 20px;border-radius:14px;background:#253d34;color:white;font-size:14px;z-index:30;text-align:center}.game-status{font-size:13px;color:var(--game-muted);padding:12px 0}.game-fallback{position:fixed;inset:0;overflow:auto;z-index:2;padding:120px 24px;background:radial-gradient(ellipse at top,#e9efdc,#c5d9bd)}.game-fallback-inner{max-width:650px;margin:auto}.game-fallback h2{font:800 32px Manrope;line-height:1.3}.game-fallback .game-nav-grid button{box-shadow:0 6px 20px #345d4810}.game-retry{font-size:14px;border:1px solid #42644860;padding:12px 20px;border-radius:14px;background:#fff9;color:var(--game-ink)}
@media(min-width:900px){.game-joystick{bottom:42px}.game-tip{top:auto;bottom:110px}.game-interact{bottom:235px}.game-location{top:119px}.game-invitation{transform:translateX(-16vw)}}
@media(max-width:600px){.game-header{left:16px;right:16px;top:max(16px,env(safe-area-inset-top))}.game-brand{padding:10px 14px;border-radius:15px;max-width:calc(100% - 100px)}.game-kicker{font-size:9px}.game-brand strong{font-size:16px}.game-actions{gap:6px}.game-menu-button,.game-sound{min-width:42px;min-height:42px;font-size:17px}.game-compass{right:18px;top:96px;width:36px;height:36px}.game-location{left:20px;top:94px;font-size:10px}.game-tip{top:132px;font-size:11px;padding:6px 12px}.game-bottom{bottom:max(18px,env(safe-area-inset-bottom));max-width:calc(100% - 24px);gap:2px;border-radius:20px}.game-bottom button{padding:10px 15px;font-size:12px}.game-joystick{left:20px;bottom:108px;width:102px;height:102px}.game-stick{top:30px;left:30px}.game-joystick-label{top:109px;width:102px}.game-interact{right:18px;bottom:131px;max-width:calc(100% - 154px);padding:10px 14px;font-size:12px}.game-minimap{right:20px;width:88px;height:88px;bottom:110px}.game-panel{width:100%;height:86dvh;border-radius:26px 26px 0 0;border-left:0;border-top:1px solid white}.game-panel-top{padding:17px 22px}.game-panel-body{padding:24px 22px max(38px,env(safe-area-inset-bottom))}.game-invitation{padding:30px 24px 22px}.game-invitation h1{font-size:29px}.game-station-label{max-width:120px}.game-station-label span{font-size:10px;padding:4px 8px}.game-seal{width:44px;height:44px;font-size:22px}}
.game-intro{overflow:auto}.game-invitation{max-height:calc(100dvh - 48px);overflow:auto}.game-brand strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.game-bottom button{font-size:14px}.game-interact{font-size:14px}.game-menu-button,.game-sound{min-width:44px;min-height:44px}
@media(max-width:360px){.game-bottom button{padding:10px 11px}.game-interact{font-size:13px;padding:10px 12px}}
.game-header-guest{margin:7px 0 0;font-size:14px;font-weight:500;line-height:1.5;color:#5c725d;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.game-location,.game-compass{top:calc(var(--game-header-bottom,150px) + 12px)}
@media(max-width:600px){.game-tip{top:calc(var(--game-header-bottom,150px) + 47px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Garden crystal: green-tinted glass over the 3D scene, with readable cards. */
.game-page {
    --game-panel-solid: #eef4e9;
    --game-panel-wash: #f4f8eef2;
    --game-panel-tint: #d5e6d5dd;
    --game-panel-chrome: #f2f7eefa;
    --game-panel-card: #fbfff5dc;
    --game-panel-shade: #172f2655;
}
.game-page .game-panel {
    background: var(--game-panel-solid);
    border: 1px solid #ffffffa6;
    box-shadow: 0 18px 70px #172a2640, inset 0 1px #ffffffc9;
}
.game-page .game-panel::backdrop {
    background: var(--game-panel-shade);
    backdrop-filter: none;
}
.game-page .game-panel-top { background: var(--game-panel-chrome); }
.game-page .game-panel :is(.game-card, .game-nav-grid button) { background: var(--game-panel-card); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .game-page .game-panel[open] {
        background: linear-gradient(145deg, var(--game-panel-wash), var(--game-panel-tint));
        -webkit-backdrop-filter: blur(15px) saturate(115%);
        backdrop-filter: blur(15px) saturate(115%);
    }
}
.game-page [data-game-content="couple"] { text-align: center; }
.game-page [data-game-content="couple"] .game-portrait { margin: 0 auto 16px; }

@keyframes game-panel-arrive {
    from { opacity: 0; transform: translate3d(var(--game-panel-enter-x, 24px), var(--game-panel-enter-y, 0px), 0); }
    to { opacity: 1; transform: none; }
}
@keyframes game-section-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .game-panel[open] { animation: game-panel-arrive 300ms cubic-bezier(.2,.75,.3,1) both; }
    .game-panel[open] [data-game-content]:not([hidden]) { animation: game-section-arrive 320ms cubic-bezier(.2,.75,.3,1) both; }
}
@media (max-width: 600px) {
    .game-panel { --game-panel-enter-x: 0px; --game-panel-enter-y: 24px; }
}

.game-gallery-shell { padding-block: 8px 4px; }
.game-gallery {
    position: relative;
    gap: 0;
    border-radius: 14px;
    padding: 0;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
}
.game-gallery::-webkit-scrollbar { display: none; }
.game-gallery figure { scroll-snap-align: start; }
.game-gallery figure > a {
    position: relative;
    display: block;
    height: clamp(180px, min(75vw, 46vh), 340px);
    height: clamp(180px, min(75vw, 46dvh), 340px);
    background: var(--game-panel-card);
    border-radius: 14px;
    overflow: hidden;
}
.game-gallery figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    -webkit-user-drag: none;
}
.game-gallery figcaption { margin: 9px 8px 0; text-align: center; color: var(--game-muted); }
.game-gallery.is-dragging { scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
@media (any-pointer: fine) {
    .game-gallery figure > a { cursor: grab; }
    .game-gallery.is-dragging figure > a { cursor: grabbing; }
}
.game-gallery-controls {
    width: fit-content;
    gap: 6px;
    margin: 14px auto 0;
    padding: 3px;
    border: 1px solid var(--game-line);
    border-radius: 999px;
    background: var(--game-panel-card);
}
.game-gallery-controls button {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--game-green);
}
.game-gallery-controls button:disabled { opacity: .32; cursor: default; }
.game-gallery-controls button:not(:disabled):hover { background: var(--game-line); }
.game-gallery-count { min-width: 60px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
