/* The start screen inherits the recovered game's palette and characters. */
:root{--ink:#25324a;--muted:#52627c;--blue:#4058d8;--blue-hover:#3048c2;--paper:#f3f7ff;--yellow:#fff0b5;--focus:#1e43c3;--line:#d5deee;color-scheme:light;scrollbar-color:#a3b5d5 var(--paper)}
[hidden]{display:none!important}::selection{background:#ffdf7c;color:#25324a}button,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button{transition:background-color .18s ease,color .18s ease}button:disabled{cursor:not-allowed;opacity:.55}input,select{font:inherit;color:var(--ink);caret-color:var(--blue)}
.start{max-width:1050px;margin:0 auto;padding:24px 28px 36px}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:11px;align-items:center;font-weight:850;font-size:17px;line-height:1.2}.brand-mark{width:42px;height:42px;color:var(--blue);flex:none}.icon-button{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:#e6ecfb;color:#293e8d;min-height:46px;padding:11px 15px;border-radius:12px}.icon-button:hover{background:#d8e3fb}.control-icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.welcome{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:64px 0 52px}.welcome-copy h1{font-size:clamp(32px,5vw,52px);line-height:1.1;letter-spacing:-.025em;max-width:12ch;margin:0 0 20px;text-wrap:balance}.welcome-copy>p{font-size:18px;line-height:1.65;color:var(--muted);max-width:37ch;margin:0}.companions{display:flex;gap:14px;margin:26px 0 0;align-items:center}.companion{font-size:40px;line-height:1.3}.companion:nth-child(2){font-size:57px}.friend-note{font-size:14px;color:var(--muted);max-width:20ch;line-height:1.5;margin-left:8px}
.start-play{background:#fff;border-radius:16px;padding:28px;box-shadow:0 12px 36px #24365912}.language-field{border:0;padding:0;margin:0 0 24px;min-width:0}.language-field legend{font-size:16px;font-weight:750;margin:0 0 12px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.language-choice{background:#edf1fb;color:#334b82;min-height:64px;border-radius:12px;padding:14px 10px;box-shadow:inset 0 0 0 1px transparent}.language-choice[aria-pressed=true]{background:#e4eafe;box-shadow:inset 0 0 0 2px var(--blue);color:#233ba4}.language-choice small{display:block;font-size:12px;font-weight:500;margin-top:4px}.primary-action{display:flex;justify-content:center;align-items:center;gap:12px;min-height:60px;padding:16px 22px;background:var(--blue);color:#fff;width:100%;border-radius:12px;font-size:19px}.primary-action:hover{background:var(--blue-hover)}.play-note{font-size:13px;color:var(--muted);line-height:1.5;text-align:center;margin:12px 0 0}.continue-note{font-size:13px;line-height:1.5;color:#365144;background:#ebf7ee;border-radius:8px;padding:8px 10px;margin:0 0 16px}
.parent-offer{display:flex;gap:30px;justify-content:space-between;align-items:center;background:var(--yellow);padding:24px 28px;border-radius:16px}.parent-offer h2{font-size:21px;margin:0 0 7px;line-height:1.3}.parent-offer p{max-width:53ch;font-size:14px;line-height:1.6;margin:0;color:#5a4a23}.buy-action{background:#25324a;color:#fff;border-radius:12px;padding:15px 20px;flex:none;text-align:left;min-height:64px}.buy-action:hover{background:#37496b}.buy-action strong{font-size:19px;display:block;white-space:nowrap;font-variant-numeric:tabular-nums}.buy-action span{font-size:12px;display:block;margin-top:4px;font-weight:500;color:#eef1f8}.quiet-note{font-size:12px;line-height:1.65;color:var(--muted);text-align:center;margin:20px auto 0;max-width:75ch}
.game-toolbar{max-width:750px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 0}.preview-ribbon{background:#fff0b5;color:#5b4613;text-align:center;font-size:13px;padding:9px 12px}.game-toolbar .icon-button{font-size:14px}.app{padding-top:8px}.tabs{flex-wrap:wrap}.tabs .tab{min-height:46px;min-width:100px}.animal.paid{opacity:1;background:#fff8e6;color:#6c501b}.animal.paid small{line-height:1.5}.parent-lock-notice{color:#664b18;background:#fff5d6;border-radius:12px;font-size:14px;line-height:1.6;padding:12px 15px;margin-top:15px;text-align:left}.parent-lock-notice button{margin-top:8px;background:#25324a;color:white;padding:10px 14px;font-size:14px}
.sheet{border:0;border-radius:16px;color:var(--ink);padding:0;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 22px 75px #192c5660;background:#fff}.sheet::backdrop{background:#1e2b4d90}.sheet-inner{padding:26px}.sheet-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:20px}.sheet-heading h2{font-size:25px;line-height:1.2;margin:0}.close-button{background:#edf1fa;color:#293e6d;width:40px;height:40px;display:grid;place-items:center;padding:8px;flex:none;border-radius:10px}.sheet label{font-size:15px;line-height:1.5;font-weight:700;display:block;margin:22px 0 9px}.sheet p{line-height:1.65;font-size:15px;color:var(--muted)}.sheet input:not([type=checkbox]),.sheet select{width:100%;border:1px solid #b5c2d9;border-radius:10px;background:#fff;padding:12px;min-height:46px;max-width:100%}.check-row{display:flex!important;gap:12px;align-items:center;justify-content:space-between;margin-top:0!important}.check-row input{accent-color:var(--blue);width:22px;height:22px;flex:none}.voice-note{font-size:13px!important;min-height:2em;margin-bottom:0}.sheet-action{background:var(--blue);color:#fff;border-radius:12px;min-height:48px;padding:13px 17px;width:100%;margin-top:20px}.sheet-action:hover{background:var(--blue-hover)}.sheet-secondary{background:#edf1fb;color:#31477b;border-radius:12px;min-height:46px;padding:12px 16px;width:100%;margin-top:12px}.price-line{display:flex;align-items:baseline;gap:8px;margin:14px 0 8px}.price-line strong{font-size:36px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.price-line span{color:var(--muted)}.purchase-note{background:#f1f5fd;padding:14px;border-radius:10px}.parent-error{font-size:14px!important;color:#9c2d2d!important;min-height:1.6em;margin:9px 0 0}.purchase-result{font-size:14px!important;color:#35543e!important}.preview-option{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.preview-option p{font-size:13px;margin:0 0 8px}.sheet-footer-note{font-size:12px!important;margin:12px 0 0}
@keyframes welcome-arrive{from{clip-path:inset(0 0 8% 0);transform:translateY(9px)}to{clip-path:inset(0 0 0 0);transform:translateY(0)}}.start-play{animation:welcome-arrive .5s cubic-bezier(.16,1,.3,1) both}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.start{padding:18px 18px 28px}.welcome{grid-template-columns:1fr;gap:28px;padding:36px 0 26px}.welcome-copy h1{max-width:18ch;font-size:clamp(31px,7.5vw,44px);margin-bottom:12px}.welcome-copy>p{font-size:16px;max-width:42ch}.companions{margin-top:16px;gap:10px}.companion{font-size:31px}.companion:nth-child(2){font-size:44px}.friend-note{max-width:24ch;font-size:12px}.start-play{padding:22px}.parent-offer{padding:22px;gap:18px;align-items:stretch;flex-direction:column}.buy-action{text-align:center;width:100%}.buy-action strong{display:inline}.buy-action span{display:inline;margin-left:10px}.parent-offer h2{font-size:20px}.brand{font-size:15px}.brand-mark{width:36px;height:36px}.brand-row>.icon-button{padding:11px}.brand-row>.icon-button .button-label{display:none}.sheet-inner{padding:22px}.game-toolbar{padding:12px 12px 0}.game-toolbar .icon-button{font-size:13px;padding:10px}.quiet-note{margin-top:16px}}@media(max-width:350px){.language-options{gap:7px}.start-play{padding:17px}.start{padding-inline:13px}.friend-note{margin-left:0}.buy-action span{display:block;margin-left:0}}
.check-row{min-height:44px}
