@font-face{font-family:"Wedding Serif";src:url(../assets/wedding-serif.woff2) format("woff2");font-display:swap;font-weight:400 700}:root{font-family:Microsoft YaHei,PingFang SC,sans-serif;color:#343d35;background:#f6f2e7;font-synthesis:none;--paper: #f6f2e7;--ink: #343d35;--muted: #6b7060;--accent: #a44732;--line: #d9dacb;--serif: "Wedding Serif", "Noto Serif SC", "Songti SC", "SimSun", serif}:root{--touch-target:48px;--touch-control:72px;--touch-gap:8px;--touch-edge:16px;--touch-top:12px;--touch-safe-top:max(var(--touch-top),env(safe-area-inset-top,0px));--touch-safe-left:max(var(--touch-edge),env(safe-area-inset-left,0px));--touch-safe-right:max(var(--touch-edge),env(safe-area-inset-right,0px));--touch-safe-bottom:max(24px,env(safe-area-inset-bottom,0px))}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}button,a,input,textarea,canvas{outline-offset:5px}:focus-visible{outline:2px solid var(--accent)}h1:focus{outline:none}::selection{background:#e4b9a0;color:#29392f}input,textarea{caret-color:var(--accent)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#a5ad99;border-radius:4px}::-webkit-scrollbar-track{background:var(--paper)}[hidden]{display:none!important}h1,h2,p,figure{margin:0}h1{font-family:var(--serif);font-weight:600;line-height:1.42;letter-spacing:-.025em;text-wrap:balance}h2{font-size:18px;line-height:1.5;font-weight:600}p{line-height:1.9}.icon{flex:0 0 auto;vertical-align:middle}.site-header,.site-footer{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between}.site-header{padding:28px 24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand>.icon{color:var(--accent);width:30px;height:30px;fill:currentColor;stroke:none}.brand>span{font-family:var(--serif);font-size:21px;font-weight:600;letter-spacing:.06em}.brand small{display:block;font-family:sans-serif;font-size:9px;letter-spacing:.14em;font-weight:400;margin-top:5px}.site-header nav{display:flex;gap:24px;align-items:center;font-size:13px}.header-invite{text-decoration:none;padding:12px 0}.header-invite:hover{color:var(--accent)}.demo-tag{border:1px solid #c7cbbb;border-radius:3px;font-size:11px;padding:5px 8px;color:#5b6354;white-space:nowrap}.icon-button{display:inline-flex;justify-content:center;align-items:center;border:0;padding:10px;min-width:44px;min-height:44px;background:transparent;color:var(--ink);border-radius:50%}.icon-button:hover{background:#e8e9dc}.home{max-width:1160px;padding:42px 24px 12px;margin:auto;display:grid;grid-template-columns:5fr 6fr;gap:64px 56px;align-items:center}.hero-copy h1{font-size:clamp(44px,4.1vw,58px)}.hero-description{font-size:16px;margin-top:23px;line-height:1.95}.couple{font-family:var(--serif);font-size:23px;margin-top:28px}.couple>span{color:var(--accent);padding:0 6px;font-size:18px}.couple small{display:block;font-family:Microsoft YaHei,sans-serif;font-size:12px;color:var(--muted);margin-top:4px}.hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:17px 24px;border:1px solid var(--accent);background:var(--accent);color:#fff7e9;min-height:56px;border-radius:3px;font-size:15px;font-weight:500;transition:background .15s;text-decoration:none}.button:hover{background:#853b2b;border-color:#853b2b}.button.secondary{color:var(--ink);background:#e6e9dc;border-color:#e6e9dc}.button.secondary:hover{background:#dce2cf}.quiet-link{font-size:13px;display:inline-flex;gap:24px;align-items:center;text-decoration:none;padding:5px 0}.quiet-link .icon{width:18px}.quiet-link:hover{text-decoration:underline}.demo-note{color:var(--muted);font-size:11px;margin-top:25px}.scene-frame{background:#e6dfc9;overflow:hidden}.hero-scene canvas{width:100%;display:block;aspect-ratio:32 / 27;image-rendering:pixelated}.scene-caption{padding:13px 16px;display:flex;justify-content:space-between;align-items:center;font-size:11px;background:#e6e9da}.scene-caption>span:first-child{display:inline-flex;gap:5px;align-items:center;font-size:12px}.scene-caption .icon{width:14px;height:14px}.hero-scene figcaption{font-family:var(--serif);font-size:14px;margin-top:15px;text-align:right;color:#6b7060}.journey-strip{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:26px}.journey-strip>span{display:block}.journey-strip b{font-family:var(--serif);font-size:17px;font-weight:600}.journey-strip small{display:block;margin-top:8px;font-size:12px;color:var(--muted)}.journey-strip>.icon{color:#8f9984;width:20px}.site-footer{padding:40px 24px 24px;color:var(--muted);font-size:11px;gap:12px}.text-button{padding:10px 0;min-height:44px;color:var(--ink);background:transparent;border:0;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.text-button:hover:not(:disabled){color:var(--accent);text-decoration:underline;text-underline-offset:5px}.text-button .icon{width:18px;height:18px}.narrow{width:calc(100% - 48px);max-width:480px;margin:24px auto 0}.narrow h1{font-size:39px}.back-link{justify-content:flex-start;font-size:12px;margin-bottom:25px;color:var(--muted)}.lead{font-size:15px;margin-top:18px;line-height:1.85}.route-ribbon{display:flex;gap:10px;align-items:center;margin:28px 0;font-family:var(--serif);font-size:15px}.route-ribbon i{height:1px;background:#a6ae96;flex:1}.lesson{background:#e9ebdf;padding:12px 20px}.lesson>div{display:flex;gap:18px;align-items:center;padding:14px 0}.lesson .icon{color:var(--accent);width:27px;height:27px}.lesson b{font-size:14px;font-weight:600}.lesson small{display:block;font-size:12px;line-height:1.7;color:#58614f;margin-top:4px}kbd{font-family:inherit;font-size:10px;white-space:nowrap;margin-left:auto;border:1px solid #c4cbb7;padding:5px;border-radius:3px}.hint{font-size:12px;color:var(--muted);margin:18px 0 24px}.wide{width:100%}.skip-tutorial{display:flex;width:100%;margin-top:8px}.micro{color:var(--muted);font-size:11px;line-height:1.8;margin-top:14px}.tutorial>.micro{text-align:center}.play-shell{width:calc(100% - 32px);max-width:420px;margin:10px auto 0;padding-bottom:max(16px,env(safe-area-inset-bottom))}.playing .site-header{padding-top:16px;padding-bottom:14px}.play-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.play-title p{font-size:11px;color:var(--muted);margin-top:5px}.play-title .text-button{font-size:12px;white-space:nowrap}.game-hud{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.game-hud>span{display:inline-flex;align-items:center;gap:5px}.game-hud>span:nth-child(2){margin-left:auto;font-size:13px}.game-hud>span:nth-child(2)>.icon{width:14px;height:14px;color:#ad713f}.game-hud .hud-unit{color:var(--muted);font-size:11px;margin-left:3px}.life{fill:#b95b44;stroke:none;width:18px;height:18px}.life.lost{fill:#d7d7c7}.progress-meta{display:flex;justify-content:space-between;font-size:10px;margin-top:2px;color:#58614f;font-variant-numeric:tabular-nums}progress{appearance:none;display:block;width:100%;height:4px;border:none;margin:8px 0 15px;background:#d9decf;color:#627657}progress::-webkit-progress-bar{background:#d9decf}progress::-webkit-progress-value{background:#627657}progress::-moz-progress-bar{background:#627657}.game-stage{position:relative;background:#dfd8b9}#game{display:block;width:100%;aspect-ratio:8 / 9;image-rendering:pixelated}#game-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:#29352eca}.pause-panel{background:var(--paper);padding:24px;width:100%;text-align:center}.pause-panel h2{font-family:var(--serif);font-size:24px}.pause-panel p{font-size:12px;margin:12px 0 24px}.pause-panel .text-button{display:flex;width:100%}.pause-panel .button{justify-content:center}.game-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.control-button{touch-action:manipulation;user-select:none;-webkit-user-select:none;min-height:68px;background:#65795b;border:0;border-radius:3px;color:#fff9ec;display:flex;align-items:center;justify-content:center;gap:14px}.control-button.attack{background:#a44732}.control-button>.icon{width:27px;height:27px}.control-button span{font-size:17px}.control-button small{display:block;font-size:10px;margin-top:4px;opacity:.85}.control-button:active{filter:brightness(.85)}.control-button.cooling{background:#8e5b4c}.play-tip{text-align:center;font-size:11px;margin-top:13px}.play-options{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.play-options .text-button{font-size:11px}.arrival{text-align:center}.arrival h1{margin-top:20px}.arrival-art{margin:28px 0 20px}.arrival-art canvas{width:100%;image-rendering:pixelated;display:block}.arrival>p:not(.lead):not(.micro){font-size:14px}.arrival>.button{width:100%;margin-top:24px}.arrival>.text-button{display:flex;width:100%;margin-top:8px}.invitation{max-width:1000px;padding:40px 24px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:80px}.invitation h1{font-size:45px}.invitation-heading>.lead{font-family:var(--serif);font-size:25px;color:var(--accent);margin:26px 0}.invitation-heading>p:not(.lead){font-size:14px}.invitation-note{font-size:11px;color:var(--muted);margin-top:24px}.invitation-details{background:#e9ebdf;padding:32px}.date-block{border-bottom:1px solid #ccd2bd;padding-bottom:26px}.date-block>span{font-size:12px}.date-block strong{font-family:var(--serif);font-weight:500;font-size:32px;display:block;margin-top:15px}.date-block p{font-size:12px;margin-top:7px}.event-row{display:flex;align-items:flex-start;gap:14px;margin:28px 0}.event-row>.icon{width:20px;height:20px;margin-top:4px;color:#627657}.event-row>div{flex:1}.event-row h2{font-size:14px}.event-row p{font-size:12px;margin-top:7px}dl{margin:12px 0 0}.event-row dl>div{display:flex;justify-content:space-between;margin:12px 0;font-size:13px}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.event-row .text-button{font-size:11px;text-decoration:underline}.invitation-details>.button{width:100%}.muted{color:var(--muted)}.form-notice{padding:15px 18px;background:#e6e9da;color:#4f5f45;font-size:12px;line-height:1.85;margin:26px 0}.field{display:block;font-size:14px;margin-top:24px}input:not([type=radio]),textarea{width:100%;background:#fdfaf2;border:1px solid #a7ae9b;border-radius:3px;padding:14px;color:var(--ink);font-size:16px;line-height:1.7;margin-top:10px}input::placeholder,textarea::placeholder{color:#727664}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:#a44732}textarea{resize:vertical;min-height:120px}.field-error{display:block;font-size:12px;color:#a44732;line-height:1.7;margin-top:6px}.field-error:empty{display:none}fieldset{border:0;padding:0;margin:28px 0 0}legend{padding:0;font-size:14px}.attendance-options{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.attendance-options label{flex:1;cursor:pointer}.attendance-options input{position:absolute;opacity:0}.attendance-options span{display:block;padding:14px 8px;text-align:center;font-size:12px;white-space:nowrap;border:1px solid #b5bda7;border-radius:3px}.attendance-options input:checked+span{border-color:#5e7352;background:#dde4d1;color:#34492b}.attendance-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.optional{font-size:11px;color:var(--muted);margin-left:5px}.counter{font-size:11px;text-align:right;display:block;color:var(--muted);margin-top:4px}.privacy-copy{font-size:11px;color:var(--muted);margin:20px 0 24px}.reply-preview{padding:22px;margin-top:26px;background:#fdfaf2}.reply-preview dl{margin:0}.reply-preview dl>div{display:flex;justify-content:space-between;gap:24px;padding:12px 0;font-size:14px}.reply-preview h2{margin-top:24px;font-size:13px;color:var(--muted)}.blessing-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--serif);font-size:18px;margin-top:12px}.review>.button{width:100%}.review>.text-button{display:flex;width:100%}@media(min-width:900px){.playing .site-header{max-width:900px}}@media(max-width:800px){.home{gap:40px 32px;padding-top:24px}.hero-copy h1{font-size:40px}.hero-description{font-size:14px}.hero-actions .button{padding:16px;gap:12px}.invitation{gap:32px}}@media(max-width:600px){.site-header{padding:18px 22px}.brand{gap:8px}.brand>span{font-size:18px}.brand>.icon{width:24px}.brand small{font-size:8px}.site-header nav{gap:10px}.header-invite{display:none}.demo-tag{font-size:10px;padding:4px 6px}.site-header .icon-button{padding:8px}.home{display:flex;flex-direction:column;padding:14px 24px 0;gap:0;align-items:stretch}.hero-copy{display:contents}.hero-copy h1{order:1;font-size:37px;line-height:1.38}.hero-description{order:2;margin-top:13px;font-size:13px;line-height:1.85}.couple{order:3;margin-top:16px;display:flex;align-items:baseline;gap:5px;font-size:19px}.couple small{display:inline;font-size:10px;margin:0 0 0 12px}.hero-scene{order:4;margin-top:20px}.hero-scene canvas{max-height:242px;aspect-ratio:auto;object-fit:cover}.scene-caption{padding:10px 12px}.hero-scene figcaption{display:none}.hero-actions{order:5;margin-top:22px;gap:10px;align-items:stretch}.hero-actions .button{padding:15px 20px}.quiet-link{justify-content:center;min-height:38px;font-size:12px}.demo-note{order:6;margin-top:10px;text-align:center;font-size:10px}.journey-strip{order:7;margin-top:34px;gap:6px;padding-top:20px}.journey-strip b{font-size:13px}.journey-strip small{font-size:9px;line-height:1.7;max-width:95px}.journey-strip>.icon{width:14px}.site-footer{padding:30px 24px 16px;font-size:10px}.site-footer .text-button{font-size:10px}.narrow{margin-top:16px}.narrow h1{font-size:34px}.back-link{margin-bottom:18px}.lesson{padding:8px 14px}.lesson>div{gap:12px}.lesson small{font-size:11px}kbd{display:none}.play-shell{margin-top:0}.playing .site-header{padding:9px 16px 13px}.playing .brand small{display:none}.playing .brand>span{font-size:16px}.play-title h1{font-size:23px}.play-title p{font-size:10px}.game-hud{margin-top:5px}.progress-meta{font-size:10px}progress{margin-bottom:10px}.game-controls{margin-top:10px;gap:10px}.control-button{min-height:63px}.play-tip{margin-top:8px;font-size:10px}.play-options .text-button{min-height:36px}.invitation{display:block;padding:10px 24px 0}.invitation h1{font-size:35px}.invitation-heading>.lead{margin:20px 0}.invitation-heading>p:not(.lead){font-size:13px}.invitation-details{padding:24px;margin-top:28px}.date-block strong{font-size:28px}}@media(max-width:600px)and (max-height:760px){.playing .site-header{padding-top:5px;padding-bottom:5px}.playing .brand{gap:6px}#game{max-height:calc(100svh - 307px);min-height:250px;object-fit:contain}.play-title p{margin-top:0}.control-button{min-height:56px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html,body,#app{min-height:100%}body{background:#f4ead6}#app{min-height:100dvh}.site-header{position:absolute;inset:0 0 auto;z-index:5;max-width:none;padding:max(20px,env(safe-area-inset-top)) 28px 16px}.site-footer{display:none}.home{position:relative;isolation:isolate;min-height:100dvh;max-width:none;margin:0;padding:124px max(28px,calc((100vw - 1160px)/2)) 210px;display:flex;flex-direction:column;gap:0;align-items:flex-start;overflow:hidden}.hero-copy{display:contents}.hero-copy h1{position:relative;z-index:2;font-size:clamp(39px,4.4vw,64px);order:1}.hero-description{position:relative;z-index:2;order:2;margin-top:18px;color:#343d35}.couple{position:relative;z-index:2;order:3;display:flex;gap:8px;align-items:baseline;margin-top:24px}.couple small{display:inline;margin-left:10px}.hero-actions{position:absolute;bottom:max(38px,env(safe-area-inset-bottom));left:max(28px,calc((100vw - 1160px)/2));z-index:3;width:min(360px,calc(100% - 56px));margin:0;gap:10px;align-items:stretch}.hero-actions .quiet-link{background:#f6efdce6;border-radius:3px;justify-content:center;padding:12px 16px}.demo-note{position:absolute;bottom:12px;left:max(28px,calc((100vw - 1160px)/2));z-index:3;color:#414b3a;font-size:10px;margin:0}.hero-scene{position:absolute;inset:0;z-index:0;margin:0}.hero-scene .scene-frame{width:100%;height:100%;background:#efd6ae}.hero-scene canvas,.arrival-art canvas{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:fill}.scene-caption,.hero-scene figcaption,.journey-strip{display:none}.narrow{position:relative;isolation:isolate;min-height:100dvh;width:100%;max-width:none;margin:0;padding:112px max(24px,calc((100vw - 480px)/2)) max(36px,env(safe-area-inset-bottom))}.tutorial:before,.rsvp:before,.review:before,.invitation:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url(../assets/xian-route-v2.png) left center / auto 100dvh no-repeat;opacity:.13;image-rendering:pixelated}.tutorial{display:flex;flex-direction:column;justify-content:center;padding-top:132px;padding-bottom:32px}.tutorial .back-link{position:absolute;top:80px;left:max(24px,calc((100vw - 480px)/2));margin:0}.tutorial h1{font-size:clamp(35px,3.8vw,48px)}.tutorial .lesson{background:#f6f0e0c9}.tutorial .route-ribbon{margin:24px 0}.tutorial .lead{font-size:14px}.tutorial .hint{margin:18px 0 24px}.invitation{position:relative;isolation:isolate;min-height:100dvh;max-width:none;margin:0;padding:110px max(24px,calc((100vw - 1000px)/2)) 40px;align-content:center}.invitation-details{background:#f6f0e0c9}.invitation .back-link{margin-top:0}.arrival{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:135px;padding-bottom:230px;overflow:hidden}.arrival h1,.arrival>p{position:relative;z-index:2}.arrival>.button{position:absolute;bottom:116px;left:max(24px,calc((100vw - 420px)/2));width:min(420px,calc(100% - 48px));z-index:2}.arrival>.text-button{position:absolute;bottom:64px;width:min(420px,calc(100% - 48px));z-index:2;background:#f6efdce6;border-radius:3px}.arrival>.micro{position:absolute;bottom:25px;font-size:10px;padding:0 24px;color:#343d35}.arrival-art{position:absolute;inset:0;margin:0;z-index:0}.rsvp>h1,.review>h1{font-size:39px}.reply-preview{background:#fdf7e9bd}.playing{overflow:hidden}.play-shell{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;padding:0;overflow:hidden;background:#efd6ae}.game-stage{position:absolute;inset:0;width:100%;height:100%;background:#efd6ae}#game{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:fill;touch-action:none}.play-title{position:absolute;top:max(22px,env(safe-area-inset-top));left:24px;right:24px;z-index:3;align-items:flex-start}.play-title h1{font-size:25px}.play-title p{font-size:11px;margin-top:5px;color:#3a4639}.play-title>.text-button{background:#f9ecd5db;padding:7px 12px;min-height:40px;border-radius:3px;font-size:12px}.game-hud{position:absolute;top:max(104px,calc(env(safe-area-inset-top) + 85px));left:24px;right:24px;z-index:3;margin:0;background:#f9ecd5df;padding:0 10px;border-radius:3px}.progress-meta{position:absolute;top:max(161px,calc(env(safe-area-inset-top) + 141px));left:24px;right:24px;z-index:3;margin:0;font-size:11px;color:#343d35}progress{position:absolute;top:max(184px,calc(env(safe-area-inset-top) + 164px));left:24px;width:calc(100% - 48px);z-index:3;margin:0;height:5px;background:#f2e6c8}.game-controls{position:absolute;bottom:max(40px,calc(env(safe-area-inset-bottom) + 24px));left:24px;right:24px;z-index:4;max-width:480px;margin:0 auto;gap:16px}.control-button{min-height:76px;border-radius:8px;background:#415a42ec;border:1px solid #f6eedb6b}.control-button.attack{background:#943f2ced}.control-button>.icon{width:30px;height:30px}.control-button span{font-size:19px}.control-button small{font-size:10px}.play-tip{position:absolute;bottom:10px;left:24px;right:24px;z-index:4;margin:0;color:#29392f;font-size:11px}.play-options{position:absolute;bottom:128px;left:24px;right:24px;z-index:4;color:#343d35}.play-options .text-button{background:#f9ecd5d9;padding:2px 10px;border-radius:3px;min-height:32px}.play-options>span{background:#f9ecd5d9;padding:8px;border-radius:3px}#game-overlay{z-index:10;padding:24px;background:#263a32c9}.pause-panel{background:transparent;color:#fff7e4;max-width:420px;padding:24px 8px}.pause-panel h2{font-size:32px;line-height:1.6}.pause-panel p{font-size:14px;margin:16px 0 36px}.pause-panel .text-button{color:#fff7e4;font-size:14px}.pause-panel .button{border:1px solid #f2e3c56b;background:#a44732}@media(max-width:600px){.site-header{padding:max(18px,env(safe-area-inset-top)) 24px 12px}.home{min-height:100dvh;padding:116px 28px 220px}.hero-copy h1{font-size:39px}.hero-description{font-size:13px;margin-top:16px}.couple{font-size:19px;margin-top:20px}.couple small{font-size:10px;margin-left:5px}.hero-actions{left:24px;bottom:max(38px,calc(env(safe-area-inset-bottom) + 24px));width:calc(100% - 48px)}.hero-actions .button{min-height:58px}.demo-note{left:24px;right:24px;text-align:center;bottom:10px}.narrow{padding-left:24px;padding-right:24px}.tutorial{padding-top:130px;justify-content:center}.tutorial .back-link{top:78px;left:24px}.tutorial .lesson{padding:6px 16px}.tutorial h1{font-size:36px}.tutorial .lead{font-size:13px}.route-ribbon{gap:8px;font-size:13px}.invitation{padding:100px 24px 36px;display:block}.invitation h1{font-size:36px}.invitation-details{margin-top:28px}.arrival{padding-top:128px}.arrival h1{font-size:38px}.play-title h1{font-size:25px}.game-hud{margin:0}.control-button{min-height:72px}.game-controls{margin:0}}@media(max-height:740px){.home{padding-top:95px}.hero-copy h1{font-size:33px}.hero-description{font-size:12px;margin-top:10px}.couple{margin-top:12px}.tutorial{padding-top:120px;justify-content:flex-start}.tutorial h1{font-size:30px}.play-title{top:14px}.play-title h1{font-size:22px}.game-hud{top:84px}.progress-meta{top:137px}progress{top:158px}.game-controls{bottom:max(32px,calc(env(safe-area-inset-bottom) + 24px))}.control-button{min-height:62px}.play-options{bottom:108px}}html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{min-width:0;min-height:100vh;height:100vh;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);display:grid;place-items:center;background:#252d28;--frame-width: calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)) ;--frame-height: calc(100vh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) }@supports (height:100dvh){body{min-height:100dvh;height:100dvh;--frame-height: calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) }}#app{position:relative;isolation:isolate;width:min(var(--frame-width),calc(var(--frame-height) * 9 / 16));height:min(var(--frame-height),calc(var(--frame-width) * 16 / 9));min-height:0;background:#f4ead6;overflow:hidden;container-type:size}.runner-frame{position:absolute;top:0;left:0;width:360px;height:640px;transform:scale(var(--runner-frame-fit,1));transform-origin:top left;overflow:hidden;container-type:size;--runner-scale:1;--touch-safe-top:12px;--touch-safe-left:16px;--touch-safe-right:16px;--touch-safe-bottom:24px}.site-header{padding:18px 24px 12px}.site-header .brand>span{font-size:18px}.site-header .brand small{font-size:8px}.site-header nav{gap:10px}.header-invite{display:none}.home,.narrow,.invitation,.play-shell{width:100%;height:100%;min-height:0;max-width:none;margin:0}.home{padding:96px 26px 170px;display:flex;align-items:flex-start}.hero-copy h1{font-size:35px}.hero-description{font-size:12px;line-height:1.8;margin-top:12px}.couple{margin-top:14px;font-size:18px}.couple small{font-size:10px}.hero-actions{left:24px;bottom:30px;width:calc(100% - 48px);max-width:none}.hero-actions .button{min-height:52px;padding:12px 18px}.hero-actions .quiet-link{min-height:38px;padding:8px 12px}.demo-note{left:24px;right:24px;bottom:7px;font-size:9px;text-align:center}.narrow{padding:92px 24px 28px;overflow-y:auto;overscroll-behavior:contain}.tutorial{display:block;padding-top:114px}.tutorial .back-link{top:72px;left:24px}.tutorial h1{font-size:30px;line-height:1.35}.tutorial .lead{font-size:12px;margin-top:12px}.tutorial .route-ribbon{margin:18px 0;font-size:12px;gap:6px}.tutorial .lesson{padding:4px 12px}.tutorial .lesson>div{padding:10px 0;gap:12px}.tutorial .lesson small{font-size:10px}.tutorial .lesson b{font-size:13px}.tutorial kbd{display:none}.tutorial .hint{font-size:10px;line-height:1.8;margin:12px 0 15px}.tutorial .button{min-height:50px;padding:12px 16px;font-size:13px}.tutorial .skip-tutorial{margin-top:3px;min-height:38px;font-size:11px}.tutorial .micro{margin-top:5px;font-size:9px}.tutorial:before,.rsvp:before,.review:before,.invitation:before{position:absolute;background-size:auto 100cqh}.invitation{display:block;padding:94px 24px 28px;overflow-y:auto}.invitation h1,.narrow h1{font-size:33px}.invitation-details{margin-top:24px;padding:22px}.invitation .back-link{margin-bottom:12px}.arrival{padding:100px 24px 190px;overflow:hidden}.arrival h1{font-size:34px}.arrival>.button{left:24px;bottom:105px;width:calc(100% - 48px)}.arrival>.text-button{left:24px;bottom:56px;width:calc(100% - 48px)}.arrival>.micro{bottom:17px}.play-shell{position:absolute;inset:0;overflow:hidden}.game-stage{height:100%}.play-title{top:20px;left:20px;right:20px}.play-title h1{font-size:22px}.play-title p{font-size:10px;margin-top:3px}.play-title>.text-button{min-height:36px;font-size:10px;padding:6px 10px}.game-hud{top:88px;left:20px;right:20px;padding:0 8px}.progress-meta{top:143px;left:20px;right:20px;font-size:10px}progress{top:165px;left:20px;width:calc(100% - 40px);height:4px}.game-controls{position:absolute;left:auto;right:20px;bottom:42px;width:158px;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.control-button,.control-button.attack,.control-button.cooling{position:relative;min-height:64px;padding:0;border:0;border-radius:0;background:transparent;color:#fff4dc;text-shadow:1px 1px 1px #343d35,-1px -1px 1px #343d35;touch-action:manipulation}.control-button span{font-size:17px;font-weight:600;line-height:1}.control-button>svg{position:absolute;inset:0;width:100%;height:100%;fill:#f5e8ca0a;stroke:#fff1d5;stroke-width:2px;filter:drop-shadow(1px 1px 1px #474637)}.control-button.cooling>svg{stroke:#d5c6aa}.control-button:active>svg{fill:#f5e8ca45}.control-button:active{filter:none}.control-button:disabled{opacity:.4}.game-controls small,.play-tip,.play-options{display:none}.pause-panel{max-width:none;padding:20px 6px}.pause-panel h2{font-size:29px}.pause-panel .text-button{font-size:13px}.pause-panel .text-button:hover:not(:disabled){color:#fff7e4}@container (max-width: 360px){.site-header{padding:14px 18px 10px}.home{padding:88px 22px 160px}.hero-copy h1{font-size:30px}.hero-description{font-size:11px}.couple{font-size:16px;margin-top:10px}.couple small{font-size:9px}.tutorial{padding-top:106px}.tutorial .lead{font-size:11px}.tutorial h1{font-size:27px}.tutorial .route-ribbon{margin:12px 0}.tutorial .lesson>div{padding:7px 0}.tutorial .hint{margin:9px 0 12px}.tutorial .micro{display:none}.game-controls{width:145px;right:16px;bottom:30px;gap:9px}.control-button{min-height:59px}}.opening{position:relative;width:100%;height:100%;overflow:hidden}#opening-scene{position:absolute;inset:0;display:block;width:100%;height:100%;image-rendering:pixelated}.opening-skip{position:absolute;z-index:3;right:24px;top:82px;padding:8px 12px;background:#f7ecd7d9;border-radius:3px;font-size:11px}.speech-bubble{position:absolute;left:24px;right:24px;bottom:26%;padding:18px 20px 10px;background:#faf0ddeb;border:2px solid #6d6550;min-height:125px}.speech-bubble:after{content:"";position:absolute;left:38px;bottom:-10px;width:16px;height:16px;border-right:2px solid #6d6550;border-bottom:2px solid #6d6550;background:#faf0dd;transform:rotate(45deg)}.speech-bubble p{font-size:15px;line-height:1.85}.speech-bubble .text-button{display:flex;width:100%;justify-content:flex-end;color:#913e2c;margin-top:8px}.opening-note{position:absolute;bottom:22px;left:24px;font-size:10px;color:#343d35}.arrival>.button{bottom:56px;min-height:52px;padding-top:12px;padding-bottom:12px}.arrival>.text-button{bottom:8px;min-height:38px}.arrival>.micro{display:none}.dialogue-hitarea{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:transparent;touch-action:manipulation}.dialogue-hitarea:focus-visible{outline-offset:-5px}.speech-bubble{z-index:3;pointer-events:none;min-height:100px;padding:18px 20px;bottom:27%}.opening-note{z-index:3;pointer-events:none}.opening-note button{pointer-events:auto;min-height:44px;margin-left:8px;padding:6px 12px;font:inherit;cursor:pointer}.site-header:has(+.opening){pointer-events:none}.site-header:has(+.opening) a,.site-header:has(+.opening) button{pointer-events:auto}.speech-bubble{top:26%;bottom:auto}.route-ribbon{gap:5px;font-size:11px}.route-ribbon i{min-width:3px}:root{--sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Heiti SC", system-ui, sans-serif;--serif: var(--sans);--ink: #17272d}body,#app,#app *{font-family:var(--sans)!important}h1,h2,.brand>span{font-weight:700;letter-spacing:0}.site-header{background:#fff2d6f5;color:#17272d}.hero-copy h1{width:fit-content;background:#fff2d6;padding:10px 14px;font-size:32px;line-height:1.4;border-radius:4px}.hero-description,.couple{width:fit-content;background:#fff2d6;padding:7px 12px;border-radius:3px;color:#17272d}.hero-description{font-size:13px}.couple{font-weight:700}.couple small{font-weight:400}.demo-note,.opening-note{width:fit-content;background:#fff2d6;padding:4px 8px;border-radius:3px;color:#17272d}.demo-tag{background:#fff8e8;border-color:#786b51;color:#17272d}.play-title{top:14px;padding:8px 10px;background:#fff2d6;border-radius:3px;align-items:center}.play-title h1{font-size:20px;line-height:1.25}.play-title p{font-size:10px;line-height:1.6;color:#17272d}.play-title>.text-button{padding:3px 5px;font-size:10px}.game-hud{background:#fff2d6}.progress-meta{background:#fff2d6;padding:3px 7px;border-radius:2px;top:139px;color:#17272d}progress{top:166px}.speech-bubble,.speech-bubble:after{background:#fff2d6;border-color:#57432c;color:#17272d}.speech-bubble{border-radius:16px}.speech-bubble p{font-size:15px;font-weight:600}.control-button span{font-weight:800;font-size:18px}.tutorial,.invitation,.rsvp,.review{color:#17272d}.tutorial .lesson,.invitation-details,.form-notice,.reply-preview{background:#fff2d6}.lead,.hint,.micro,.privacy-copy,.muted,dt,.field-error{opacity:1}.arrival-sequence{padding:0;position:relative;width:100%;height:100%;min-height:0;overflow:hidden}.arrival-heading-plate{position:absolute;top:90px;left:24px;right:24px;z-index:4;padding:12px 14px;background:#fff2d6;border-radius:4px;text-align:left}.arrival-heading-plate h1{margin:0;font-size:25px;line-height:1.45}.arrival-heading-plate p{font-size:11px;line-height:1.8;margin-top:6px}.arrival-sequence .arrival-art{z-index:0}.arrival-sequence .speech-bubble{top:33%;bottom:auto;z-index:4}.arrival-sequence .speech-bubble:after{left:78%}.arrival-sequence .speech-bubble b{font-size:13px}.arrival-sequence .speech-bubble p{font-size:15px;margin-top:10px}.arrival-sequence .speech-bubble small{display:block;font-size:10px;margin-top:12px;color:#4b5147}.arrival-actions{position:absolute;z-index:4;bottom:28px;left:24px;right:24px;background:#fff2d6;padding:12px;border-radius:4px}.arrival-actions>p{font-size:12px;color:#17272d;margin:0 0 10px}.arrival-actions>.button{width:100%;margin:0;min-height:49px;font-size:13px;padding:12px 14px}.arrival-actions>.button+.button{margin-top:8px}@container (max-width: 360px){.hero-copy h1{font-size:27px}.hero-description{font-size:11px}.couple{font-size:15px;padding:6px 8px}.arrival-heading-plate{top:82px;left:18px;right:18px;padding:10px 12px}.arrival-heading-plate h1{font-size:22px}.arrival-actions{bottom:18px;left:18px;right:18px;padding:10px}}#app:not(.guest-app) .g-icon{display:inline-block;flex:none;width:27px;height:27px;vertical-align:middle;background-repeat:no-repeat;background-size:100% 100%;image-rendering:pixelated}.pixel-icon{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center}.pixel-icon .g-icon{width:100%!important;height:100%!important}.pixel-extra{display:inline-block;width:24px;height:24px;background:url(../assets/arrival-v2/play-icons.png) no-repeat;background-size:400% 100%;background-position:calc(var(--pixel-cell) * 100% / 3) 50%;image-rendering:pixelated}.scene-topbar{position:absolute;z-index:8;top:1.5%;left:3.8%;right:3.8%;display:flex;justify-content:space-between;pointer-events:none}.scene-corner{display:flex;align-items:center;justify-content:center;gap:1cqw;width:auto;height:10cqw;min-width:44px;min-height:44px;border:0;background:transparent;color:#fff9e5;pointer-events:auto;padding:0}.scene-corner:hover{filter:brightness(1.15)}.scene-corner:focus-visible,.portrait-button:focus-visible{outline:3px solid #17272d;outline-offset:3px}.scene-corner .icon{width:8cqw;height:8cqw;min-width:28px;min-height:28px}.scene-back-label{font-size:4.5cqw;font-weight:900;line-height:1;-webkit-text-stroke:.32cqw #17272d;paint-order:stroke fill}.ornate-paper{position:relative;isolation:isolate;border:0;color:#17272d}.ornate-paper:before{content:"";position:absolute;inset:0;z-index:-1;border:6.5cqw solid transparent;border-image:url(../assets/guest-ui-v1/paper-frame-v2.png) 190 fill stretch;filter:brightness(1.03) saturate(.85);pointer-events:none}.arrival-sequence{background:#d2866d}.arrival-sequence .arrival-art{position:absolute;inset:0;margin:0;pointer-events:none}.arrival-sequence .arrival-heading-plate{position:absolute;top:7%;left:20%;right:20%;height:13.2%;padding:1.1cqh .5cqw;border-radius:0;background:transparent;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.arrival-heading-plate h1{font-size:10.3cqw;line-height:1.1;font-weight:900;white-space:nowrap}.arrival-heading-plate p{font-size:3.4cqw;line-height:1.4;margin:.6cqh -1cqw 0;font-weight:800;white-space:nowrap}.arrival-sequence:not(.arrival-portrait) .arrival-heading-plate{left:10%;right:10%}.arrival-sequence:not(.arrival-portrait) .arrival-heading-plate h1{font-size:5.6cqw}.runner-frame .arrival-sequence .arrival-heading-plate{top:10.7%;height:11%;padding:.5cqh .5cqw}.portrait-names{position:absolute;z-index:3;top:89%;left:21.2%;right:17%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.2cqw}.portrait-names span{display:block;height:3.3cqh;padding:.25cqh .8cqw;text-align:center;font-size:3cqw;font-weight:700;line-height:2.5cqh;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portrait-names .ornate-paper:before{border-width:2cqw}.portrait-result{position:absolute;z-index:4;top:23%;left:9.6%;right:9.6%;height:17.4%;padding:1.4cqh 2cqw .8cqh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:space-around}.portrait-result h2{display:flex;justify-content:center;font-size:5.4cqw;font-weight:900;line-height:1.3;width:100%;max-width:100%;white-space:nowrap}.portrait-result h2 span{font-weight:700;flex:none}.portrait-result h2 .portrait-result-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.portrait-count{display:flex;justify-content:center;gap:2cqw;align-items:center;font-size:3.4cqw;line-height:1.2}#app .portrait-count .g-icon{width:14cqw;height:12cqw}.portrait-count strong{color:#9c251d;font-size:11.5cqw;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}.portrait-thanks{width:84%;border-top:1px solid #b47a31;padding-top:.7cqh;font-size:3.1cqw;line-height:1.5;font-weight:600}.portrait-wish{font-size:4.5cqw;line-height:1.5;color:#9c251d;font-weight:700}.portrait-actions{position:absolute;z-index:4;top:42%;left:14.8%;right:14.8%;height:18%;display:flex;flex-direction:column;justify-content:space-between;gap:.7cqh}.portrait-button{position:relative;isolation:isolate;display:grid;grid-template-columns:9.5cqw auto 4.5cqw;align-items:center;justify-content:center;gap:1.6cqw;width:100%;min-height:6.2cqh;flex:1.2;color:#fff6d4;font-weight:900;font-size:5cqw;line-height:1.2;border:0;background:#a44732;padding:0 3cqw;touch-action:manipulation}.portrait-button:before{content:"";position:absolute;inset:0;z-index:-1;border:1.4cqw solid transparent;border-left-width:2.6cqw;border-right-width:2.6cqw;border-image:var(--g-primary-frame) 80 140 fill stretch;pointer-events:none}#app .portrait-button>.g-icon{width:9.5cqw;height:9.5cqw}#app .portrait-chevron .g-icon{width:4.5cqw;height:4.5cqw}.portrait-button:hover{filter:brightness(1.08)}.portrait-button:active{transform:translateY(1px)}.portrait-secondary{flex:1;min-height:5cqh;font-size:4.3cqw;font-weight:800;color:#17272d;background:#fff2d6}.portrait-secondary:before{border-image-source:var(--g-secondary-frame)}.paper-cloud{position:absolute;width:19cqw;height:auto;pointer-events:none}.paper-cloud-left{left:-10cqw;top:42%}.paper-cloud-right{right:-10cqw;top:60%;transform:scaleX(-1)}.portrait-result .paper-cloud{width:18cqw}.portrait-result .paper-cloud-left{left:-8cqw;top:39%}.portrait-result .paper-cloud-right{right:-8cqw;top:58%}.arrival-sequence:not(.arrival-portrait) .paper-cloud{display:none}.tutorial{background:url(../assets/guest-ui-v1/sunset-hotel.png) center/100% 100%;padding:9cqh 7cqw 2cqh}.tutorial:before{display:none}.tutorial h1,.tutorial .lead,.tutorial .hint,.tutorial .micro{background:#fff2d6;padding:6px 10px}.tutorial h1{width:fit-content;font-size:7cqw;line-height:1.2;border:9px solid transparent;border-image:url(../assets/guest-ui-v1/paper-frame-v2.png) 190 fill stretch}.tutorial .lead{font-size:2.8cqw;line-height:1.75;margin-top:9px}.tutorial .back-link{display:none}.tutorial .lesson{background:#fff2d6;border:9px solid transparent;border-image:url(../assets/guest-ui-v1/paper-frame-v2.png) 190 fill stretch}.tutorial .lesson>div{padding:1cqh 0;gap:10px}.tutorial .lesson small{line-height:1.5}.tutorial .route-ribbon{background:#fff2d6;padding:6px 7px;font-size:2.6cqw;margin:12px 0}.tutorial .button,.pause-panel .button{background:#a44732;color:#fff8e8;border:6px solid transparent;border-image:var(--g-primary-frame) 80 140 fill stretch;border-radius:0}.tutorial .skip-tutorial{width:100%;background:#fff2d6;color:#17272d}.pause-panel{color:#17272d;background:#fff2d6;border:12px solid transparent;border-image:url(../assets/guest-ui-v1/paper-frame-v2.png) 190 fill stretch;padding:18px 10px;width:88%}.pause-panel .text-button{color:#17272d}.pause-panel .text-button:hover:not(:disabled){color:#87331e}.opening-note{max-width:80%}@media(prefers-reduced-motion:reduce){.portrait-button:active{transform:none}}#main.opening .speech-bubble,#main.arrival-sequence .speech-bubble{inset:25.94% 6.67% auto;min-height:19cqh;padding:5cqw 5.55cqw;border-radius:4.45cqw}#main.opening .speech-bubble p,#main.arrival-sequence .speech-bubble p{font-size:4.7cqw;line-height:1.75;font-weight:600}#main.arrival-sequence .speech-bubble{top:36%}#main.arrival-sequence .speech-bubble b{font-size:4.25cqw}#main.arrival-sequence .speech-bubble small{font-size:3.1cqw;margin-top:3.3cqw}#main .speech-bubble:after{width:4.45cqw;height:4.45cqw;bottom:-2.5cqw}#game-overlay .pause-panel{width:86.67%;padding:5cqw 5.55cqw}#game-overlay .pause-panel h2{font-size:7.8cqw;text-wrap:balance}#game-overlay .pause-panel p{font-size:4.2cqw}#game-overlay .pause-panel .button{font-size:4.5cqw}#game-overlay .pause-panel .text-button{font-size:3.9cqw}#app:not(.guest-app){--shell-paper:url(../assets/guest-ui-v1/paper-frame-v2.png);--shell-gold:#b6803b;--shell-gold-light:#d7b57b}#app:not(.guest-app) :is(.tutorial h1,.tutorial .lead,.tutorial .hint,.tutorial .micro,.tutorial .lesson,.tutorial .route-ribbon,.pause-panel,.play-title,.game-hud,.progress-meta,.opening-note,.opening-skip){border-image:none;border-radius:16px;background:#fff2d6 var(--shell-paper) center/150% 150% no-repeat;background-origin:border-box;outline:1px solid var(--shell-gold);outline-offset:-2px;color:#17272d}#app:not(.guest-app) :is(.tutorial .lead,.tutorial .hint,.tutorial .micro,.tutorial .route-ribbon,.opening-note,.opening-skip,.progress-meta){border-radius:12px}#app:not(.guest-app) .runner-frame :is(.play-title,.game-hud,.progress-meta){background:#fff2d699}#app:not(.guest-app) .play-title>.text-button{background:transparent}#app:not(.guest-app) .ornate-paper{border-radius:16px}#app:not(.guest-app) .ornate-paper:before{inset:0;border:1px solid var(--shell-gold);border-image:none;border-radius:inherit;background:#fff2d6 var(--shell-paper) center/150% 150% no-repeat;filter:none}#app:not(.guest-app) .ornate-paper:after{content:"";position:absolute;inset:4px;border:1px solid var(--shell-gold-light);border-radius:12px;pointer-events:none;z-index:-1}#app:not(.guest-app) .portrait-names .ornate-paper{border-radius:10px}#app:not(.guest-app) .portrait-names .ornate-paper:after{inset:2px;border-radius:8px}#app:not(.guest-app) :is(.tutorial .button,.pause-panel .button,.portrait-button){position:relative;isolation:isolate;border-image:none;border-radius:12px;background:#a44732 var(--g-primary-frame,none) center/150% 180% no-repeat;background-origin:border-box;outline:1px solid #efca7d;outline-offset:-2px;color:#fff8e8;font-weight:700}#app:not(.guest-app) .portrait-button:before{inset:4px;border:1px solid var(--shell-gold);border-image:none;border-radius:8px;background:none;z-index:-1}#app:not(.guest-app) :is(.portrait-secondary,.tutorial .skip-tutorial){border-radius:12px;background:#fff2d6 var(--g-secondary-frame,none) center/150% 180% no-repeat;outline:1px solid var(--shell-gold);outline-offset:-2px;color:#17272d}#app:not(.guest-app) :is(.tutorial .button,.tutorial .skip-tutorial){justify-content:center;gap:12px;font-size:3.8cqw}#app:not(.guest-app) :is(.speech-bubble,.pause-panel .text-button,.play-title .text-button,.game-hud .icon-button){border-radius:12px}#app:not(.guest-app) .pause-panel .button{justify-content:center;gap:12px;font-size:16px;min-height:44px;padding:10px 12px}#app:not(.guest-app) .pause-panel .text-button{border:1px solid var(--shell-gold-light);background:#fff2d6 var(--shell-paper) center/150% 150% no-repeat;margin-top:7px;justify-content:center}#app:not(.guest-app) .speech-bubble{border-color:var(--shell-gold);background:#fff2d6 var(--shell-paper) center/150% 150% no-repeat}#app:not(.guest-app) .scene-corner{background:transparent;border:0;border-radius:12px;box-shadow:none;color:#17272d;text-shadow:1px 1px #fff2d6,-1px -1px #fff2d6,1px -1px #fff2d6,-1px 1px #fff2d6;min-height:44px}#app:not(.guest-app) .scene-back-label{font-size:4cqw;color:#17272d;-webkit-text-stroke:0;paint-order:normal}#app:not(.guest-app) .scene-corner:hover{background:transparent}#app:not(.guest-app) .control-button{border:2px solid #fff1d5;border-radius:50%;background:#fff2d61f}#app:not(.guest-app) .control-button>svg{display:none}#app:not(.guest-app) .control-button.cooling{border-color:#d5c6aa}#app:not(.guest-app) .control-button:active{background:#fff2d633}#app:not(.guest-app) progress,#app:not(.guest-app) progress::-webkit-progress-bar,#app:not(.guest-app) progress::-webkit-progress-value{border-radius:12px}#app:not(.guest-app) :is(.button,.portrait-button):focus-visible{outline:3px solid #17272d;outline-offset:3px}#app:not(.guest-app) .scene-topbar{top:calc(var(--touch-safe-top) / var(--system-corner-scale,1));left:calc(var(--touch-safe-left) / var(--system-corner-scale,1));right:calc(var(--touch-safe-right) / var(--system-corner-scale,1))}#app:not(.guest-app) .scene-corner{height:calc(var(--touch-target) / var(--system-corner-scale,1));min-height:calc(var(--touch-target) / var(--system-corner-scale,1));min-width:calc(var(--touch-target) / var(--system-corner-scale,1));padding:0 calc(12px / var(--system-corner-scale,1));gap:calc(var(--touch-gap) / var(--system-corner-scale,1));touch-action:manipulation}#app:not(.guest-app) .scene-corner .icon{width:calc(44px / var(--system-corner-scale,1));height:calc(44px / var(--system-corner-scale,1));min-width:calc(44px / var(--system-corner-scale,1));min-height:calc(44px / var(--system-corner-scale,1))}#app:not(.guest-app) .scene-back-label{font-size:calc(22px / var(--system-corner-scale,1));line-height:1.2}#app:not(.guest-app) :is(.play-title .text-button,.game-hud .icon-button,.opening-skip,.pause-panel .button,.pause-panel .text-button,.tutorial .button,.tutorial .skip-tutorial,.portrait-button){min-height:var(--touch-target);min-width:var(--touch-target);touch-action:manipulation}#app:not(.guest-app) .game-hud .icon-button{width:var(--touch-target);height:var(--touch-target);flex:none}#app:not(.guest-app) .opening-skip{top:calc(var(--touch-safe-top) + var(--touch-target) + var(--touch-gap));right:var(--touch-safe-right)}#app:not(.guest-app) .game-controls{--runner-button:clamp(calc(48px / var(--runner-scale,1)),10cqh,calc(64px / var(--runner-scale,1)));right:calc(max(16px,env(safe-area-inset-right,0px)) / var(--runner-scale,1));bottom:calc(max(8px,env(safe-area-inset-bottom,0px)) / var(--runner-scale,1));width:calc(2 * var(--runner-button) + 12px / var(--runner-scale,1));height:var(--runner-button);display:grid;grid-template-columns:1fr 1fr;gap:calc(12px / var(--runner-scale,1));pointer-events:none}#app:not(.guest-app) .control-button{position:relative;width:var(--runner-button);height:var(--runner-button);min-height:var(--runner-button);border-width:calc(2px / var(--runner-scale,1));pointer-events:auto;touch-action:none}#app:not(.guest-app) .runner-frame,#app:not(.guest-app) .runner-frame *,.g-race-exit,.g-race-exit *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#app:not(.guest-app) .control-button span{font-size:calc(18px / var(--runner-scale,1))}#app:not(.guest-app) .control-button:focus-visible{outline:3px solid #fff1d5;outline-offset:4px}#app:not(.guest-app) .runner-frame .game-hud{top:16px;left:16px;right:16px;height:64px;min-height:64px;margin:0;padding:0 12px;gap:12px;border-radius:16px;background:#fff2d699;color:#17272d}#app:not(.guest-app) .runner-frame #lives{display:flex;align-items:center;gap:4px;flex:none}#app:not(.guest-app) .runner-frame #lives>.life{width:24px;height:24px}#app:not(.guest-app) .runner-frame .runner-sweets{display:flex;align-items:center;justify-content:center;gap:6px;margin-left:auto;font-size:24px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}#app:not(.guest-app) .runner-frame .runner-sweets>.g-icon{width:36px;height:36px}#app:not(.guest-app) .runner-frame .runner-sweets .hud-unit{margin-left:0;font-size:13px;font-weight:600;color:#17272d}#app:not(.guest-app) .runner-frame .game-hud .icon-button{width:48px;height:48px;min-width:48px;min-height:48px;padding:10px;flex:none}#app:not(.guest-app) .runner-frame .game-hud .icon-button>.icon{width:28px;height:28px}#app:not(.guest-app) .runner-frame .runner-journey{position:absolute;z-index:3;top:90px;left:16px;right:16px;height:70px;padding:10px 12px;border-radius:14px;background:#fff2d699;outline:1px solid #b6803b;outline-offset:-2px;color:#17272d}#app:not(.guest-app) .runner-frame .runner-journey .progress-meta{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;background:transparent;outline:none;border-radius:0;font-size:12px;line-height:22px}#app:not(.guest-app) .runner-frame .progress-meta label{display:flex;align-items:baseline;gap:8px;font-weight:600}#app:not(.guest-app) .runner-frame #progress-percent{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}#app:not(.guest-app) .runner-frame .runner-time{display:flex;align-items:center;gap:5px;font-size:17px;font-weight:800;line-height:22px;font-variant-numeric:tabular-nums}#app:not(.guest-app) .runner-frame .runner-time>.icon{width:18px;height:18px}#app:not(.guest-app) .runner-frame .runner-track{display:flex;align-items:center;gap:8px;margin-top:6px;height:20px}#app:not(.guest-app) .runner-frame .runner-track>.icon{width:20px;height:20px}#app:not(.guest-app) .runner-frame .runner-track progress{position:static;appearance:none;flex:1;width:0;min-width:0;height:12px;margin:0;border:1px solid #b6803b;border-radius:7px;overflow:hidden;background:#57371e29;color:#a44732}#app:not(.guest-app) .runner-frame .runner-track progress::-webkit-progress-bar{background:transparent;border-radius:6px}#app:not(.guest-app) .runner-frame .runner-track progress::-webkit-progress-value{background:#a44732;border-radius:6px}#app:not(.guest-app) .runner-frame .runner-track progress::-moz-progress-bar{background:#a44732;border-radius:6px}#app:not(.guest-app) .runner-frame .game-hud[data-difficulty=easy] #lives{gap:3px}#app:not(.guest-app) .runner-frame .game-hud[data-difficulty=easy] #lives>.life{width:18px;height:18px}#app.guest-app{background:#eebb83}.guest-app .g-screen{position:absolute;top:0;left:0;width:360px;height:640px;container-type:size;transform:scale(var(--g-stage-scale,1));transform-origin:top left;overflow:auto;overscroll-behavior:contain;background:#efb880 url(../assets/guest-ui-v1/sunset-hotel.png) center/100% 100% no-repeat;color:#17272d;scrollbar-color:#a44732 #fff2d6;scrollbar-width:thin;caret-color:#a44732}.guest-app .g-home{overflow:hidden;overflow:clip}.guest-app .g-screen *{box-sizing:border-box}.guest-app .g-screen ::selection{background:#a44732;color:#fff2d6}.guest-app .g-screen button,.guest-app .g-screen input,.guest-app .g-screen textarea,.guest-app .g-screen a{font-family:inherit;-webkit-tap-highlight-color:transparent}.guest-app .g-screen button{cursor:pointer}.guest-app .g-screen button:disabled{cursor:wait;opacity:.7}.guest-app .g-screen a:focus-visible,.guest-app .g-screen button:focus-visible,.guest-app .g-screen input:focus-visible,.guest-app .g-screen textarea:focus-visible{outline:3px solid #17272d;outline-offset:3px}.guest-app .g-screen [hidden]{display:none!important}.guest-app .g-content{position:relative;min-height:100%;padding:52px 18px 150px;display:flex;flex-direction:column;gap:10px}.guest-app .g-paper{position:relative;border:12px solid transparent;border-radius:16px;background:#fff2d6 url(../assets/guest-ui-v1/paper-frame-v2.png) center/150% 150% no-repeat;background-origin:border-box;color:#17272d}.guest-app .g-icon{display:inline-block;flex:none;width:27px;height:27px;vertical-align:middle;background-repeat:no-repeat;background-size:100% 100%;image-rendering:pixelated}.guest-app .g-icon-large{width:78px;height:78px}.guest-app .g-topbar{position:absolute;top:8px;left:12px;right:12px;z-index:5;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.guest-app .g-topbar button{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:#17272d;min-width:44px;min-height:44px;padding:3px 5px;font-size:13px;font-weight:700;text-shadow:1px 1px #fff2d6,-1px -1px #fff2d6,1px -1px #fff2d6,-1px 1px #fff2d6}.guest-app .g-topbar.g-cover-top{justify-content:flex-end}.guest-app .g-sound{position:relative}.guest-app .g-sound-label{font-size:11px;line-height:1.25;white-space:nowrap}.guest-app .g-sound-symbol{position:relative;display:inline-flex;flex-shrink:0;align-items:center}.guest-app .g-sound-symbol>.g-icon{width:calc(44px / var(--g-stage-scale,1));height:calc(44px / var(--g-stage-scale,1))}.guest-app .g-sound-guide{display:none;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);width:24px;height:32px;pointer-events:none}.guest-app .g-home .g-sound-guide{display:block}.guest-app .g-sound-hand{display:block;width:24px;height:32px;image-rendering:pixelated;animation:g-point-to-sound 1.1s steps(2,end) 4}@keyframes g-point-to-sound{0%,to{transform:translateY(4px)}50%{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.guest-app .g-sound-hand{animation:none}}html[data-app-hidden=true] .g-sound-hand{animation-play-state:paused}.guest-app .g-title{width:fit-content;max-width:100%;margin:0;padding:5px 8px}.guest-app .g-title h1{font-size:clamp(25px,8.6cqw,37px);font-weight:900;line-height:1.2;letter-spacing:0;margin:0;text-wrap:balance}.guest-app .g-title h1:focus{outline:none}.guest-app .g-title p{margin:7px 0 0;font-size:12px;line-height:1.5;font-weight:600}.guest-app .g-actions{position:absolute;z-index:3;bottom:0;left:0;right:0;margin:0;padding:5px 10px 8px;display:flex;flex-direction:column;gap:7px}.guest-app .g-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;width:100%;border:6px solid transparent;border-left-width:12px;border-right-width:12px;background:#a44732;color:#fff8e8;text-decoration:none;padding:4px 8px;font-size:16px;font-weight:700;line-height:1.3;text-align:center;border-radius:12px}.guest-app .g-button>.g-icon{width:24px;height:24px}.guest-app .g-button:hover{background:#853b2b}.guest-app .g-button:active{transform:translateY(1px)}.guest-app .g-secondary{background:#fff2d6;color:#17272d;outline:none;font-size:14px;font-weight:500;min-height:44px;padding:4px 8px}.guest-app .g-secondary:hover{background:#f2dfb6}.guest-app.g-frames-ready .g-button{background:#a44732 var(--g-primary-frame) center/150% 180% no-repeat;background-origin:border-box}.guest-app.g-frames-ready .g-secondary{background:#fff2d6 var(--g-secondary-frame) center/150% 180% no-repeat;background-origin:border-box}.guest-app.g-frames-ready .g-button:hover{filter:brightness(.95)}.guest-app .g-quiet{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:#17272d;border:0;padding:5px;min-height:34px;font-size:12px;text-underline-offset:4px}.guest-app .g-cover-nav{display:flex;justify-content:center;gap:16px;border-top:1px solid #c8a36b;padding-top:5px;margin-top:2px}.guest-app .g-cover-nav button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;border:0;background:transparent;color:#17272d;font-size:12px;padding:0 6px}.guest-app .g-cover .g-content{display:block;padding-bottom:160px}.guest-app .g-home,.guest-app .g-invitation{background-position:center -80px}.guest-app .g-cover-copy{position:relative;z-index:1}.guest-app .g-cover .g-title{padding:5px 6px}.guest-app .g-cover .g-title h1{font-size:10.3cqw;line-height:1.17}.guest-app .g-event-summary{width:fit-content;max-width:100%;margin-top:9px;padding:4px 5px}.guest-app .g-event-summary h2{font-size:18px;line-height:1.4;font-weight:800;margin:0 0 5px}.guest-app .g-event-summary h2>span,.guest-app .g-invite-names h2>span{color:#a44732;margin:0 7px}.guest-app .g-event-summary p{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.45;margin:4px 0}.guest-app .g-event-summary .g-icon{width:19px;height:19px}.guest-app .g-event-summary small{font-size:10px;margin-left:4px}.guest-app .g-couple{position:absolute;display:flex;align-items:flex-end;justify-content:center;left:0;right:0;bottom:180px;height:110px;z-index:1;pointer-events:none}.guest-app .g-couple img{width:104px;height:104px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 3px #39291533)}.guest-app .g-couple img+img{margin-left:-28px}.guest-app .g-routes .g-content{padding-bottom:135px;gap:9px}.guest-app .g-routes .g-title{align-self:center}.guest-app .g-route-options{display:grid;gap:8px;margin-top:3px}.guest-app .g-route-card{display:block;width:100%;padding:0;overflow:visible;text-align:left;outline:none}.guest-app .g-route-card.selected{outline:3px solid #a44732;outline-offset:1px}.guest-app .g-route-label{display:flex;align-items:center;gap:5px;padding:3px 4px 5px}.guest-app .g-route-label>span:not(.g-icon){flex:1}.guest-app .g-route-label b{display:block;font-size:17px;line-height:1.3;font-weight:800}.guest-app .g-route-label small{display:block;font-size:10px;line-height:1.5;font-weight:400}.guest-app .g-route-label>.g-icon{width:28px;height:28px}.guest-app .g-route-label>.g-icon+.g-icon{margin-left:-8px}.guest-app .g-route-card>img{display:block;width:100%;height:70px;object-fit:cover;object-position:center;image-rendering:pixelated}.guest-app .g-route-card>canvas{display:block;width:100%;height:70px;image-rendering:pixelated}.guest-app .g-player .g-content{padding-bottom:140px}.guest-app .g-name-form{padding:8px 9px;margin-top:7px;z-index:1}.guest-app .g-name-form label{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:700;margin:0 0 10px}.guest-app .g-name-form input{width:100%;height:49px;padding:10px 12px;color:#17272d;background:#fffaf0;border:1px solid #9d6b37;border-radius:12px;font-size:16px;line-height:1.5}.guest-app .g-name-form input::placeholder{color:#736758;opacity:1}.guest-app .g-name-form input[aria-invalid=true]{border:2px solid #9d2d1d}.guest-app .g-name-form p{font-size:13px;line-height:1.65;margin:10px 0 0}.guest-app .g-name-form .g-error{color:#9d2d1d;font-weight:700;font-size:12px}.guest-app .g-name-form .g-error:empty{display:none}.guest-app .g-name-form .g-fine,.guest-app .g-fine{font-size:10px;line-height:1.6;color:#5a4a37;margin:5px 0 0}.guest-app .g-appearance{border:0;padding:0;margin:12px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.guest-app .g-appearance legend{font-size:14px;font-weight:700;margin-bottom:7px}.guest-app .g-appearance label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:7px;border:1px solid #a77d41;font-size:15px;margin:0;font-weight:600}.guest-app .g-appearance label:has(input:checked){background:#a44732;color:#fff2d6;border-color:#a44732}.guest-app .g-appearance input{width:17px;height:17px;margin:0;padding:0;accent-color:#a44732}.guest-app .g-player .g-player-mascot{display:none}.guest-app .g-player-mascot>.g-icon{width:82px;height:82px;filter:drop-shadow(0 5px 4px #41271633)}.guest-app .g-invitation .g-content{padding-top:50px;padding-bottom:180px;gap:7px}.guest-app .g-invitation .g-title{align-self:center;padding:2px 7px}.guest-app .g-invitation .g-title h1{font-size:8.3cqw}.guest-app .g-invite-names{align-self:center;text-align:center;padding:0 5px;border-width:7px}.guest-app .g-invite-names h2{font-size:17px;line-height:1.5;margin:0;font-weight:800}.guest-app .g-invite-names p{font-size:11px;line-height:1.5;margin:2px 0}.guest-app .g-details{padding:2px 8px;z-index:2}.guest-app .g-details>div{display:flex;gap:9px;align-items:center;padding:6px 0;border-bottom:1px solid #cfaf7a}.guest-app .g-details>div:last-child{border-bottom:0}.guest-app .g-details .g-icon{width:23px;height:23px}.guest-app .g-details p{margin:0;font-size:12px;line-height:1.55}.guest-app .g-details strong{font-size:15px;line-height:1.4}.guest-app .g-details .g-date{font-size:18px;color:#a44732}.guest-app .g-details p>span{display:block;margin-top:1px}.guest-app .g-details .g-address{font-size:12px;line-height:1.65}.guest-app .g-invitation .g-couple{bottom:128px;height:72px}.guest-app .g-invitation .g-couple img{width:77px;height:77px}.guest-app .g-copy-fallback{padding:5px;font-size:12px;z-index:5}.guest-app .g-copy-fallback textarea{width:100%;height:85px;font-size:14px;color:#17272d;background:#fffaf0;border:1px solid #9d6b37;resize:vertical}.guest-app .g-result .g-content{padding-bottom:176px;gap:8px}.guest-app .g-result .g-title{align-self:center}.guest-app .g-result-trophy{display:flex;justify-content:center;margin:2px 0 0}.guest-app .g-result-trophy>.g-icon{width:95px;height:95px;filter:drop-shadow(0 4px 4px #6a341e33)}.guest-app .g-result-card{padding:6px 12px;text-align:center}.guest-app .g-result-card h2{font-size:20px;line-height:1.5;margin:0 0 7px;font-weight:800}.guest-app .g-result-name{display:flex;justify-content:center;align-items:center;gap:7px;font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}.guest-app .g-result-name>span:not(.g-icon){font-size:11px;color:#624e38}.guest-app .g-candy-count{display:flex;justify-content:center;align-items:center;gap:12px;margin:8px 0 4px;line-height:1.2;color:#a44732}.guest-app .g-candy-count strong{font-size:54px;font-weight:900;font-variant-numeric:tabular-nums}.guest-app .g-candy-count>.g-icon{width:43px;height:43px}.guest-app .g-candy-count>span:not(.g-icon){font-size:18px;font-weight:700;color:#17272d}.guest-app #guest-save-status{font-size:11px;line-height:1.6;margin:6px 0 0}.guest-app .g-leaderboard .g-content{padding-bottom:175px;gap:8px}.guest-app .g-leaderboard .g-title{align-self:center;text-align:center}.guest-app .g-board-tabs{display:flex;flex-wrap:wrap;padding:0;gap:3px}.guest-app .g-board-tabs button{display:flex;justify-content:center;align-items:center;flex:1;gap:7px;min-height:38px;background:transparent;border:0;color:#17272d;font-weight:800;font-size:16px}.guest-app .g-board-tabs button[aria-selected=true]{background:#a44732;color:#fff8e8}.guest-app .g-board-tabs p{width:100%;text-align:center;font-size:10px;line-height:1.4;margin:4px 0 0}.guest-app .g-board{position:relative;min-width:0;max-width:100%;padding:3px 5px;min-height:190px;max-height:calc(100cqh - 335px);overflow-x:hidden;overflow-y:auto;scrollbar-color:#a44732 #fff2d6;scrollbar-width:thin}.guest-app .g-board table{width:100%;border-collapse:collapse;font-size:13px;background:transparent;table-layout:fixed;font-variant-numeric:tabular-nums}.guest-app .g-board th,.guest-app .g-board td{border-bottom:1px solid #d4b984;padding:7px 4px;text-align:left;overflow-wrap:anywhere;line-height:1.5}.guest-app .g-board thead th{font-size:11px;font-weight:600;background:#f3dfb9}.guest-app .g-board .g-board-name{white-space:normal;overflow-wrap:anywhere;word-break:normal}.guest-app .g-board .g-board-name-compact{font-size:12px}.guest-app .g-board .g-board-name-long{font-size:11px}.guest-app .g-board th:first-child,.guest-app .g-board td:first-child{width:42px;text-align:center}.guest-app .g-board th:last-child,.guest-app .g-board td:last-child{width:62px;text-align:right}.guest-app .g-board td:last-child{font-size:15px;font-weight:800}.guest-app .g-board small{font-size:10px;font-weight:400;margin-left:4px}.guest-app .g-board .g-icon{width:26px;height:26px}.guest-app .g-board .g-mine{background:#f5dfb5}.guest-app .g-board-mine{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 3px 3px;border-top:1px solid #c8a36b;font-size:12px}.guest-app .g-board-mine strong{font-size:13px}.guest-app .g-board-mine>div{min-width:0;overflow-wrap:anywhere}.guest-app .g-board-mine p{font-size:11px;line-height:1.5;margin:3px 0 0}.guest-app .g-empty{text-align:center;padding:12px 7px}.guest-app .g-empty>.g-icon{width:60px;height:60px}.guest-app .g-empty h2{font-size:17px;font-weight:800;line-height:1.5;margin:6px 0}.guest-app .g-empty p,.guest-app .g-board-state{font-size:13px;line-height:1.7;margin:8px 0}.guest-app .g-empty .g-button{margin-top:12px}.guest-app .g-toast{position:absolute;z-index:15;bottom:160px;left:18px;right:18px;margin:0;padding:7px 8px;text-align:center;font-size:13px;line-height:1.6;box-shadow:0 5px 18px #432a2233}.guest-app .g-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.guest-app .g-race{background:#263e35;overflow:hidden}.guest-app .g-screen.g-race{width:360px;height:640px;transform:scale(var(--g-stage-scale,1))}.guest-app .g-race .g-content{padding:0;height:100%;min-height:0}.guest-app .g-racing-frame{display:block;width:100%;height:100%;border:0;background:#263e35}.guest-app .g-racing-frame:not([data-prepared=true]){visibility:hidden;pointer-events:none}.guest-app .g-race-exit{position:absolute;top:8px;right:8px;z-index:10;display:flex;align-items:center;gap:3px;background:#fff2d6;color:#17272d;font-size:10px;border:1px solid #9d6b37;padding:3px;min-height:30px}.guest-app .g-race-exit>.g-icon{width:18px;height:18px}.guest-app .g-leaderboard .g-content{height:100%}.guest-app .g-leaderboard .g-title,.guest-app .g-leaderboard .g-board-tabs{flex-shrink:0}.guest-app .g-leaderboard .g-board-shell{flex:1;min-width:0;min-height:0}.guest-app .g-leaderboard .g-board{height:100%;min-height:0;max-height:none}@container (max-height:600px){.guest-app .g-invitation .g-couple{display:none}.guest-app .g-result .g-content{gap:7px;padding-top:48px;padding-bottom:170px}.guest-app .g-result .g-title h1{font-size:26px}.guest-app .g-result-trophy>.g-icon{width:56px;height:56px}.guest-app .g-result-card{padding:3px 8px}.guest-app .g-result .g-candy-count strong{font-size:46px}}@container (min-width:400px){.guest-app .g-content{padding-left:24px;padding-right:24px;padding-top:62px}.guest-app .g-title p{font-size:14px}.guest-app .g-event-summary h2{font-size:22px}.guest-app .g-event-summary p{font-size:13px}.guest-app .g-route-card>img{height:95px}.guest-app .g-route-label b{font-size:20px}.guest-app .g-route-label small{font-size:12px}.guest-app .g-details>div{padding:10px 0}.guest-app .g-details .g-date{font-size:22px}.guest-app .g-details .g-address{font-size:13px}.guest-app .g-couple{height:140px;bottom:170px}.guest-app .g-couple img{width:140px;height:140px}.guest-app .g-invitation .g-couple{bottom:115px}.guest-app .g-invitation .g-couple img{width:90px;height:90px}.guest-app .g-board{max-height:calc(100cqh - 365px)}}@container (max-height:540px){.guest-app .g-content{padding-top:47px}.guest-app .g-title h1{font-size:24px}.guest-app .g-title p{font-size:10px}.guest-app .g-cover .g-title h1{font-size:9cqw}.guest-app .g-event-summary h2{font-size:15px}.guest-app .g-event-summary p{font-size:10px;margin:2px 0}.guest-app .g-route-card>img{height:52px}.guest-app .g-result-trophy>.g-icon{width:63px;height:63px}.guest-app .g-candy-count strong{font-size:44px}.guest-app .g-details>div{padding:4px 0}.guest-app .g-invite-names p{font-size:10px}.guest-app .g-details .g-date{font-size:16px}.guest-app .g-details strong{font-size:13px}.guest-app .g-details .g-address{font-size:10px}.guest-app .g-invitation .g-couple{display:none}.guest-app .g-board{max-height:calc(100cqh - 325px)}.guest-app .g-actions{gap:5px;padding-bottom:5px}}.guest-app .g-screen button,.guest-app .g-screen a{border-radius:12px}.guest-app .g-screen .g-route-card{border-radius:16px}.guest-app .g-route-card>img,.guest-app .g-route-card>canvas{border-radius:8px}.guest-app .g-appearance label{border-radius:12px}.guest-app .g-name-form input[type=radio]{border-radius:50%}.guest-app .g-copy-fallback textarea{border-radius:10px}.guest-app .g-invitation .g-copy-fallback{position:absolute;left:18px;right:18px;bottom:186px;z-index:8}.guest-app .g-paper:before,.guest-app .g-paper:after,.guest-app .g-button:before,.guest-app .g-button:after{content:"";position:absolute;pointer-events:none;border:1px solid #b6803b}.guest-app .g-paper:before{inset:-10px;border-radius:14px}.guest-app .g-paper:after{inset:-7px;border-radius:11px;border-color:#d7b57b}.guest-app .g-invite-names:before{inset:-5px}.guest-app .g-invite-names:after{inset:-2px}.guest-app .g-button{position:relative}.guest-app .g-button:before{inset:-4px -10px;border-radius:10px;border-color:#efca7d}.guest-app .g-button:after{inset:-1px -7px;border-radius:7px;border-color:#b6803b}.guest-app .g-race-exit{top:8px;left:12px;right:auto;gap:5px;background:transparent;border:0;box-shadow:none;font-size:13px;font-weight:700;min-height:44px;padding:3px 5px;text-shadow:1px 1px #fff2d6,-1px -1px #fff2d6,1px -1px #fff2d6,-1px 1px #fff2d6}.guest-app .g-race-exit>.g-icon{width:27px;height:27px}.guest-app .g-race-loading{position:absolute;z-index:8;top:24%;left:18px;right:18px;padding:12px 10px;text-align:center;font-size:14px;line-height:1.7}.guest-app .g-race-loading p{margin:0}.guest-app .g-race-loading button{margin-top:12px}.guest-app .g-race-wait{position:absolute;inset:0;z-index:9}.guest-app .loading-retry{position:absolute;z-index:2;left:25%;bottom:20%;width:50%;min-height:44px;background:#a44732;color:#fff2d6;border:1px solid #b6803b}.guest-app :is(.g-button,.g-quiet,.g-cover-nav button,.g-board-tabs button){min-width:calc(var(--touch-target) / var(--g-stage-scale,1));min-height:calc(var(--touch-target) / var(--g-stage-scale,1));touch-action:manipulation}.guest-app .g-topbar{top:calc(var(--touch-safe-top) / var(--g-stage-scale,1));left:calc(var(--touch-safe-left) / var(--g-stage-scale,1));right:calc(var(--touch-safe-right) / var(--g-stage-scale,1))}.guest-app :is(.g-topbar button,.g-race-exit){min-width:calc(var(--touch-target) / var(--g-stage-scale,1));min-height:calc(var(--touch-target) / var(--g-stage-scale,1));height:calc(var(--touch-target) / var(--g-stage-scale,1));padding:0 calc(12px / var(--g-stage-scale,1));gap:calc(var(--touch-gap) / var(--g-stage-scale,1));font-size:calc(14px / var(--g-stage-scale,1));touch-action:manipulation}.guest-app :is(.g-topbar button,.g-race-exit)>.g-icon{width:calc(24px / var(--g-stage-scale,1));height:calc(24px / var(--g-stage-scale,1))}.guest-app :is(.g-topbar button,.g-race-exit){font-size:calc(22px / var(--g-stage-scale,1));line-height:1.2}.guest-app :is(.g-topbar button,.g-race-exit)>.g-icon{width:calc(44px / var(--g-stage-scale,1));height:calc(44px / var(--g-stage-scale,1))}.guest-app .g-race-exit{top:calc(var(--touch-safe-top) / var(--g-stage-scale,1));left:calc(var(--touch-safe-left) / var(--g-stage-scale,1))}.guest-app .g-screen:not(.g-race) .g-content{padding-top:max(52px,calc((var(--touch-safe-top) + var(--touch-target) + var(--touch-gap)) / var(--g-stage-scale,1)));padding-bottom:max(150px,calc(var(--g-actions-height,150px) + 16px / var(--g-stage-scale,1)))}.guest-app .g-actions{padding-bottom:calc(var(--touch-safe-bottom) / var(--g-stage-scale,1))}.guest-app .g-screen:is(.g-player-setup,.g-leaderboard){overflow:hidden}.guest-app .g-player-setup .g-content{position:static;padding:0!important;height:640px;min-height:640px}.guest-app .g-player-setup .g-title{position:absolute;top:70px;left:18px;width:324px;height:92px;margin:0;padding:4px 8px}.guest-app .g-player-setup .g-title h1{font-size:26px;line-height:1.12;font-weight:900}.guest-app .g-player-setup .setup-form{position:absolute;top:174px;left:18px;width:324px;height:340px;margin:0;padding:9px}.guest-app .g-player-setup .setup-form>label{font-size:17px;line-height:24px;margin-bottom:7px;gap:8px}.guest-app .g-player-setup .setup-form>label>.g-icon{width:24px;height:24px}.guest-app .g-player-setup .setup-form>input{margin:0;height:44px;padding:8px 12px;font-size:16px}.guest-app .g-player-setup .g-appearance{margin-top:10px;gap:9px}.guest-app .g-player-setup .g-appearance legend,.guest-app .g-difficulty legend{font-size:14px;font-weight:700;line-height:20px;margin-bottom:6px}.guest-app .g-player-setup .g-appearance label{height:44px;min-height:44px;font-size:16px;padding:7px;margin:0}.guest-app .g-difficulty{padding:0;border:0;margin:10px 0 0}.guest-app .difficulty-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.guest-app .difficulty-options button{height:61px;min-width:0;padding:7px 2px;border:1px solid #a77d41;border-radius:12px;background:#fffaf0;color:#17272d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.guest-app .difficulty-options button[aria-pressed=true]{background:#a44732;color:#fff8e8;border-color:#a44732}.guest-app .mode-label{display:flex;align-items:center;gap:4px}.guest-app .mode-label>.g-icon{width:23px;height:23px}.guest-app .mode-label b{font-size:16px;line-height:22px;white-space:nowrap}.guest-app .difficulty-options small{font-size:11px;line-height:16px;font-weight:500}.guest-app .difficulty-options button:hover{filter:brightness(.96)}.guest-app .difficulty-summary{margin-top:9px;color:#17272d}.guest-app .setup-form .difficulty-summary p{font-size:12px;line-height:20px;margin:0}.guest-app #difficulty-facts{font-weight:700;font-variant-numeric:tabular-nums}.guest-app .g-player-setup .g-actions,.guest-app .g-leaderboard .g-actions{inset:526px auto auto 10px;width:340px;height:106px;border-width:6px;padding:0;gap:6px}.guest-app .g-player-setup .g-actions>.g-button,.guest-app .g-leaderboard .g-actions>.g-button{height:44px;min-height:44px;min-width:0;flex-shrink:0;padding:3px 4px;font-size:16px}.guest-app .g-player-setup .g-actions>.g-secondary{font-size:13px}.guest-app .g-player-setup .setup-form .g-error{position:absolute;top:86px;left:9px;right:9px;line-height:16px;font-size:11px;margin:0}.guest-app .g-player-setup .setup-form:has(.g-error:not(:empty)) .g-appearance{margin-top:24px}.guest-app .g-player-setup .setup-form:has(.g-error:not(:empty)) .difficulty-summary{margin-top:5px}.guest-app .g-player-setup .setup-form:has(.g-error:not(:empty)) .difficulty-summary p{font-size:11px;line-height:17px}.guest-app .g-leaderboard .g-content{position:static;height:640px;min-height:640px;padding:0!important}.guest-app .g-leaderboard .g-title{position:absolute;top:70px;left:18px;width:324px;height:64px;margin:0;padding:3px;display:flex;align-items:center;justify-content:center}.guest-app .g-leaderboard .g-title h1{font-size:28px;line-height:34px;font-weight:900}.guest-app .g-board-filters{position:absolute;top:146px;left:18px;width:324px;height:124px;padding:3px 6px}.guest-app .g-board-route-tabs,.guest-app .g-board-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.guest-app .g-board-mode-tabs{margin-top:6px}.guest-app .g-board-filters button{display:flex;align-items:center;justify-content:center;gap:5px;height:44px;min-width:0;padding:4px;border:1px solid #a77d41;border-radius:11px;background:#fffaf0;color:#17272d;font-size:15px;font-weight:700}.guest-app .g-board-filters button[aria-selected=true],.guest-app .g-board-filters button[aria-pressed=true]{background:#a44732;color:#fff8e8;border-color:#a44732}.guest-app .g-board-filters button:disabled{opacity:.5;cursor:default}.guest-app .g-board-filters .g-icon{width:24px;height:24px}.guest-app .g-leaderboard .g-board-shell{position:absolute;top:282px;left:18px;width:324px;height:232px;min-height:0;min-width:0;flex:none}.guest-app .g-leaderboard .g-board{height:100%;min-height:0;max-height:none;padding:2px 7px;overflow:hidden}.guest-app .board-scope{display:flex;align-items:center;justify-content:space-between;height:20px;font-size:13px}.guest-app .board-scope span{font-size:11px;color:#5a4a37}.guest-app .table-wrap{height:120px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#a44732 #fff2d6;scrollbar-width:thin}.guest-app .g-leaderboard .table-wrap table{font-size:14px}.guest-app .g-leaderboard .table-wrap th,.guest-app .g-leaderboard .table-wrap td{height:32px;line-height:20px;padding:3px 5px}.guest-app .g-leaderboard .table-wrap thead th{height:24px;font-size:11px;font-weight:500;color:#57432c;background:transparent}.guest-app .g-leaderboard .table-wrap th:first-child,.guest-app .g-leaderboard .table-wrap td:first-child{width:44px}.guest-app .g-leaderboard .table-wrap th:last-child,.guest-app .g-leaderboard .table-wrap td:last-child{width:66px}.guest-app .g-leaderboard .table-wrap td:last-child{font-size:18px;font-weight:800}.guest-app .g-leaderboard .table-wrap small{font-size:11px}.guest-app .g-leaderboard .g-board-mine{height:38px;margin-top:5px;padding:3px 0 0;gap:7px;font-size:12px}.guest-app .g-leaderboard .g-board-mine>.g-icon{width:25px;height:25px}.guest-app .g-leaderboard .g-board-mine>.g-icon:last-child{margin-left:auto}.guest-app .g-leaderboard .g-board-mine strong{font-size:12px}.guest-app .g-leaderboard .g-board-mine p{font-size:12px;line-height:18px;margin-top:2px}.guest-app .board-rule{font-size:11px;line-height:17px;margin-top:2px;color:#57432c;white-space:nowrap}.guest-app .g-board-quiet{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px}.guest-app .g-board-quiet button{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#17272d;font-size:12px}.guest-app .g-board-quiet .g-icon{width:18px;height:18px}.guest-app .table-wrap .g-empty{padding:6px 0;text-align:center}.guest-app .table-wrap .g-empty>.g-icon{width:35px;height:35px}.guest-app .table-wrap .g-empty h2{font-size:15px;line-height:24px;margin:2px 0}.guest-app .table-wrap .g-empty p{font-size:12px;line-height:19px;margin:0}.guest-app .g-leaderboard .g-board>.g-empty{padding:5px;text-align:center}.guest-app .g-leaderboard .g-board>.g-empty>.g-icon{width:35px;height:35px}.guest-app .g-leaderboard .g-board>.g-empty h2{font-size:15px;line-height:22px}.guest-app .g-leaderboard .g-board>.g-empty p{font-size:12px;line-height:17px;margin:5px 0}.guest-app .g-leaderboard .g-board>.g-empty .g-button{min-height:44px;height:44px;font-size:13px;margin-top:6px}#app .runner-fit{position:absolute;top:0;left:0;width:360px;height:640px;transform:scale(var(--runner-frame-fit,1));transform-origin:top left;overflow:hidden}#app .runner-frame{transform:none;--runner-frame-fit:1;--runner-scale:1}#app:not(.guest-app) .runner-frame .game-controls{right:16px;bottom:8px}#app.guest-app .g-screen.g-race{width:360px;height:640px;transform:scale(var(--g-stage-scale,1))}.guest-app .g-custom{background-image:url(../assets/custom-service-v1/scene.png);background-position:center;background-size:100% 100%;overflow:hidden}.guest-app .g-custom .g-content{display:block;min-height:640px;height:640px;padding:0}.guest-app .g-inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guest-app .g-inline-actions .g-button{min-width:0;gap:6px;font-size:13px;padding-left:2px;padding-right:2px}.guest-app .g-inline-actions .g-icon{width:20px;height:20px}.guest-app .g-inline-actions .g-button[data-guest=custom]{background-color:#246646;background-blend-mode:multiply;color:#fff;font-weight:700}.guest-app .g-inline-actions .g-button[data-guest=custom]:hover{background-color:#194e36}.guest-app .g-custom .c-title{position:absolute;left:54px;top:50px;width:252px;padding:4px 5px;text-align:left}.guest-app .g-custom .c-title h1{font-size:28px;line-height:1.23;font-weight:900;text-wrap:initial}.guest-app .c-intro{position:absolute;left:78px;top:159px;width:204px;margin:0;padding:2px 0;text-align:center;font-size:11px;line-height:1.55;font-weight:600}.guest-app .c-qr{position:absolute;z-index:2;left:74px;top:226px;width:212px;padding:0}.guest-app .c-qr-white{padding:6px;background:#fff;border-radius:10px}.guest-app .c-qr img{display:block;width:100%;height:auto;max-width:none;image-rendering:auto;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto;touch-action:auto}.guest-app .c-mascots{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}.guest-app .c-mascots canvas{position:absolute;display:block;image-rendering:pixelated;pointer-events:none}.guest-app .c-instructions{position:absolute;left:76px;top:466px;width:208px;padding:2px 0;text-align:center}.guest-app .c-instructions h2{font-size:13.5px;line-height:1.35;font-weight:800;color:#a44732;margin:0}.guest-app .c-instructions a{display:block;color:#17272d;font-size:10px;line-height:1.6;margin-top:2px;text-underline-offset:3px}.guest-app .c-footer{position:absolute;top:551px;left:0;right:0;text-align:center}.guest-app .c-footer .g-button{width:168px;min-height:44px;margin:0 auto;font-size:14px;gap:8px}.guest-app .c-credit{display:inline-block;max-width:328px;margin:6px auto 0;padding:3px 12px;background:none;color:#fff;text-shadow:0 1px 3px #17272d;font-size:9px;line-height:1.45}.guest-app .c-credit strong{font-size:11.5px;font-weight:600}@media(prefers-reduced-motion:reduce){.guest-app .g-custom *{animation:none!important;transition:none!important}}.blessing-dialog{position:fixed;inset:auto auto auto 50%;top:var(--blessing-center,50%);transform:translate(-50%,-50%);margin:0;width:min(342px,calc(100vw - 28px));padding:28px 24px 24px;border:1px solid #b6803b;border-radius:16px;background:#fff2d6;color:#17272d;overflow:auto;font-family:Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;box-shadow:0 14px 36px #17272d47;box-sizing:border-box}.blessing-dialog::backdrop{background:#17272da3}.blessing-dialog h2{margin:0 28px 6px 0;font-size:23px;line-height:1.4;font-weight:700}.blessing-dialog .blessing-intro{margin:0 0 20px;font-size:14px;line-height:1.7;color:#72563b}.blessing-dialog .blessing-close{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border:0;color:#72563b}.blessing-dialog .blessing-identity{margin:0 0 18px;font-size:14px;line-height:1.7;color:#72563b;overflow-wrap:anywhere}.blessing-dialog .blessing-identity strong{font-weight:600;color:#17272d}.blessing-dialog label{display:block;margin:14px 0 7px;font-size:14px;font-weight:600}.blessing-dialog textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #bd995d;border-radius:8px;background:#fffaf0;color:#17272d;padding:10px 12px;font:400 16px/1.6 Microsoft YaHei,PingFang SC,sans-serif;caret-color:#a44732}.blessing-dialog textarea{resize:vertical;min-height:104px;max-height:200px}.blessing-dialog textarea::placeholder{color:#8b745a}.blessing-dialog :is(button,textarea):focus-visible{outline:2px solid #a44732;outline-offset:3px}.blessing-dialog .blessing-count{text-align:right;font-size:12px;line-height:1.6;margin-top:5px;color:#72563b;font-variant-numeric:tabular-nums}.blessing-dialog .blessing-public-note{font-size:12px;line-height:1.7;margin:12px 0 0;color:#72563b}.blessing-dialog .blessing-error{font-size:14px;line-height:1.6;color:#9b312c;margin:10px 0;min-height:0}.blessing-dialog .blessing-error:empty{display:none}.blessing-dialog .blessing-submit{display:block;width:100%;min-height:46px;margin-top:20px;padding:10px 12px;background:#a44732;color:#fff2d6;border:1px solid #853b2b;border-radius:10px;font:600 16px/1.4 Microsoft YaHei,PingFang SC,sans-serif}.blessing-dialog .blessing-submit:hover{background:#853b2b}.blessing-dialog button{cursor:pointer;touch-action:manipulation}.blessing-dialog button:disabled{opacity:.65;cursor:wait}.blessing-dialog .blessing-success{margin:22px 0 10px;color:#a44732;font-size:22px;font-weight:600}.blessing-dialog .blessing-return{display:block;margin:8px auto 0;min-height:44px;background:transparent;border:0;color:#72563b;font-size:14px}.guest-app .g-topbar .blessing-toggle{font-size:13px;font-weight:500;padding:0 5px;min-width:calc(var(--touch-target) / var(--g-stage-scale,1));min-height:44px;line-height:1.3;color:#17272d}.guest-app :is(.g-invitation,.g-leaderboard) .g-sound-label{display:none}.blessing-danmaku{position:absolute;inset:0;z-index:6;overflow:hidden;pointer-events:none;contain:layout paint;isolation:isolate;transform-origin:top left}.blessing-danmaku[hidden]{display:none}.blessing-float{position:absolute;left:0;display:block;width:max-content;max-width:none;white-space:nowrap;line-height:25px;font-family:PingFang SC,Microsoft YaHei,Noto Sans SC,sans-serif;font-size:16px;font-weight:300;letter-spacing:.02em;text-shadow:0 0 3px currentColor,0 1px 2px rgb(23 39 45 / .4);-webkit-text-stroke:0;pointer-events:none}.blessing-float.blessing-static{left:12px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis}.runner-frame .portrait-actions{height:25%}#app.guest-app .g-screen.g-result .g-content{height:100%;min-height:0;padding-bottom:0;gap:8px}#app.guest-app .g-result .g-result-body{display:flex;flex:1;min-height:0;flex-direction:column;gap:6px;overflow:auto;overscroll-behavior:contain;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#a44732 #fff2d6}#app.guest-app .g-result .g-title{padding:2px 10px}#app.guest-app .g-result .g-actions{position:relative;left:auto;right:auto;bottom:auto;flex-shrink:0;margin-inline:-8px}#app.guest-app .g-result .g-result-trophy>.g-icon{width:44px;height:44px}#app.guest-app .g-result-card h2{font-size:18px;margin-bottom:0}#app.guest-app .g-result-card{padding:3px 12px}#app.guest-app .g-result .g-candy-count{margin:4px 0}#app.guest-app .g-result .g-candy-count strong{font-size:48px;line-height:1.1}#app.guest-app .g-result #guest-save-status{margin:0;font-size:12px;line-height:1.6}@media(prefers-reduced-motion:reduce){.blessing-float{transition:none}}
