/* Child island: phone-first composition, readable touch controls and calm motion. */
.child-game{--child-ink:#173d3e;--child-muted:#496968;--child-teal:#096e68;--child-gold:#ffc857;--child-paper:#fffaf0;--child-edge:#c3d6ce;background:#d7efe8!important;color:var(--child-ink)!important;padding:22px!important;min-height:100svh;font-size:16px}
.child-game #app{max-width:1180px}
.child-game button,.child-game a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.child-game button:focus-visible,.child-game a:focus-visible,.child-game summary:focus-visible{outline:3px solid #076caa;outline-offset:3px}
.child-game .child-icon{width:24px;height:24px;flex:none;display:block}
.child-game .game-shell{height:min(850px,calc(100svh - 44px));min-height:520px;display:grid;grid-template-rows:98px minmax(0,1fr)86px;background:#3dbbbf;border:1px solid #79aba0;border-radius:30px;overflow:hidden;box-shadow:0 18px 65px #0f63562a;isolation:isolate}
.child-game .game-hud{display:grid!important;grid-template-columns:minmax(0,1fr) auto 46px!important;grid-template-rows:48px 22px;gap:8px 16px!important;background:var(--child-paper);padding:12px 24px 8px!important;border:0;z-index:2;box-shadow:0 3px 0 #163f3812}
.child-game .traveler-name{display:flex;align-items:center;gap:11px;padding:0!important;min-width:0;max-width:none;text-align:left;white-space:normal;background:transparent!important;border:0!important;overflow:visible}
.child-game .traveler-name>span:last-child{min-width:0;display:grid;gap:2px}
.child-game .traveler-name small{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#547671}
.child-game .traveler-name strong{font-size:20px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--child-ink)}
.child-game .hud-avatar{width:40px;height:50px;flex:none;overflow:hidden;background:#f5dc9d!important;border-radius:50%}
.child-game .hud-avatar svg{width:54px;height:68px;transform:translate(-7px,2px)}
.child-game .key-count{display:flex;align-items:center;gap:8px;border:1px solid #e5bd67!important;border-bottom-width:3px!important;border-radius:16px;background:#ffe6a1!important;padding:8px 14px!important;min-height:44px;min-width:76px;color:#624518!important}
.child-game .key-count strong{font-size:22px;line-height:1}
.child-game .key-count .child-icon{width:22px;height:22px}
.child-game .sound-button{position:static!important;width:46px!important;height:44px!important;min-height:44px;max-width:none;background:#e7eee4!important;border:1px solid #c9d7c6!important;border-radius:14px!important;padding:10px!important;color:var(--child-ink)!important}
.child-game .sound-button:after{display:none}
.child-game .level-meter{grid-column:1/-1;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;max-width:none}
.child-game .level-meter strong{font-size:12px!important;white-space:nowrap;line-height:1.2;color:#3d655c}
.child-game .level-meter progress{height:8px!important;width:100%!important;border:0;border-radius:10px;background:#dfebdc}
.child-game .level-meter progress::-webkit-progress-bar{background:#dfebdc;border-radius:10px}
.child-game .level-meter progress::-webkit-progress-value{background:#56a77f;border-radius:10px}
.child-game .level-meter progress::-moz-progress-bar{background:#56a77f;border-radius:10px}
.child-game .level-help{display:block!important;grid-column:auto!important;font-size:11px;color:#45685e;line-height:1}
.child-game .map-stage{position:relative;display:block;overflow:hidden;background:#35b5bd}
.child-game .map-stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 12% 5%,#a5f2e178,transparent 50%),linear-gradient(0deg,#168e9d38,transparent 35%);z-index:1;pointer-events:none}
.child-game .island-layers.vector-island{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:100%;height:auto;max-width:none;aspect-ratio:2/1;margin:0}
.child-game .vector-island .island-base{width:100%;height:auto;animation:none!important;filter:none;mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 90%,transparent)}
.child-game .vector-island .map-traveler-button{left:42%;top:48%;width:11%;max-width:105px;aspect-ratio:120/150;filter:drop-shadow(0 5px 3px #183d3e38);animation:child-breathe 4s ease-in-out infinite}
.child-game .map-traveler-button:after{content:'✎';width:24px;height:24px;border:2px solid #fff8df;background:#fff5d8;font-size:16px;right:-1px;bottom:4px;color:#285d50}
.child-game .vector-island .map-chests{left:64%;top:49%;width:17%;grid-template-columns:1fr;filter:drop-shadow(0 8px 4px #26472b44);transition:transform .18s}
.child-game .vector-island .map-chests .chest-sprite:not(:first-child){display:none}
.child-game .vector-island .map-chests:after{content:'Сундуки';position:absolute;bottom:-13px;left:50%;transform:translateX(-50%);font-size:12px;font-weight:800;color:#214d42;background:#fff7dd;border:1px solid #f4dc9b;padding:3px 10px;border-radius:20px;white-space:nowrap}
.child-game .vector-island .decor-lamp{left:27%;top:40%;width:8%}
.child-game .vector-island .decor-plant{left:53%;top:43%;width:9%}
.child-game .vector-island .decor-bench{left:25%;top:65%;width:13%}
.child-game .island-welcome{position:absolute;left:24px;top:22px;z-index:2;max-width:340px;pointer-events:none}
.child-game .comic-bubble{position:relative;padding:14px 20px;background:#fffbea;border:2px solid #194e43;border-radius:22px 22px 22px 6px;box-shadow:3px 4px 0 #164c4130;font-size:17px;font-weight:700;line-height:1.4;color:#1a4d42}
.child-game .comic-bubble:after{content:"";position:absolute;left:22px;bottom:-9px;width:13px;height:13px;background:#fffbea;border-right:2px solid #194e43;border-bottom:2px solid #194e43;transform:skewY(30deg)}
.child-game .comic-bubble.celebrating{background:#fff1b6;animation:child-bubble .35s ease-out}
.child-game .comic-bubble.celebrating:after{background:#fff1b6}
.child-game .ocean-glint{position:absolute;height:5px;width:55px;border-radius:50%;background:#c8fff273;box-shadow:20px 11px 0 -1px #c8fff240;animation:child-water 6s ease-in-out infinite;pointer-events:none}
.child-game .glint-one{left:12%;top:70%}.child-game .glint-two{right:10%;top:21%;animation-delay:-3s}
.child-game .island-day-card{position:absolute;bottom:22px;left:24px;right:24px;max-width:460px;z-index:2;display:flex;align-items:center;gap:14px;padding:16px 18px;background:#fffaed;border:1px solid #fff3ce;border-radius:22px;box-shadow:0 5px 0 #177e743d,0 10px 24px #1c635826}
.child-game .island-day-card .island-day-icon{display:grid;place-items:center;flex:none;width:43px;height:48px;border-radius:14px;background:#e8efd8;color:#3d7150}
.child-game .island-day-icon .child-icon{width:25px;height:25px}
.child-game .island-day-copy{flex:1;min-width:0}
.child-game .island-day-title{display:block;color:#586b4e;font-size:13px;line-height:1.4;margin-bottom:3px}
.child-game .island-day-card strong{display:block;font-size:20px;line-height:1.3;color:#25493c}
.child-game .island-day-card p{margin:5px 0 0;font-size:13px;color:#547165;line-height:1.4}
.child-game .island-day-card button{display:flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:48px;background:#0c756a;border:0;border-bottom:3px solid #075549;color:#fff9e9;border-radius:14px;padding:11px 13px;font-size:14px;font-weight:700}
.child-game .island-day-card button .child-icon{width:18px;height:18px}
.child-game .island-day-card button:focus-visible{outline:3px solid #e88930;outline-offset:4px}
.child-game .game-dock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 18px;background:var(--child-paper);border:0;z-index:2}
.child-game .game-dock.with-activities{grid-template-columns:repeat(4,minmax(0,1fr))}
.child-game .game-dock.with-activities button{position:relative;padding-left:2px;padding-right:2px}
.child-game .with-activities .dock-label{position:static;max-width:100%;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.child-game .with-activities .dock-count{position:absolute;right:calc(50% - 27px);top:4px;display:inline-grid;margin:0;vertical-align:middle}
.child-game .child-activity-list{display:grid;gap:14px;margin:22px 0}.child-game .child-activity-card{display:flex;align-items:flex-start;gap:15px;background:#f3edda;border:1px solid #e0d6b9;border-bottom:3px solid #dacfad;border-radius:19px;padding:18px}.child-game .activity-icon{background:#eaddb4;border-radius:14px;padding:12px;color:#826632;flex:none}.child-game .child-activity-card h3{font-size:20px;line-height:1.3;margin-bottom:7px}.child-game .child-activity-card strong{display:block;font-size:14px;color:#7b673e}.child-game .child-activity-card p{font-size:14px;margin:9px 0 0}.child-game .child-activity-card.activity-ready{background:#e9f1dc;border-color:#c7d6b6}.child-game .activity-ready .activity-icon{background:#d5e7c4;color:#45703c}.child-game .activity-ready strong{color:#327448}.child-game .activity-footnote{font-size:13px!important;margin-top:22px}
.child-game .game-dock button{display:flex;flex-direction:column;gap:4px;padding:6px 8px;min-height:60px;border:0;border-radius:15px;background:transparent;color:#295f54;box-shadow:none;transition:background .15s,transform .15s}
.child-game .game-dock button:hover,.child-game .game-dock button[aria-current]{background:#e6eddb;transform:translateY(-1px)}
.child-game .game-dock .child-icon{width:26px;height:26px}
.child-game .dock-label{font-size:13px;font-weight:800;gap:5px;position:relative}
.child-game .dock-count{min-width:18px;height:18px;font-size:10px;background:#e56845}
.child-game .island-scrim{position:absolute;inset:0;background:#123d4499;backdrop-filter:blur(3px);z-index:4}
.child-game .game-panel{position:absolute;inset:20px auto 20px 50%;width:calc(100% - 40px);max-width:760px;max-height:none;padding:24px 26px 28px;border:2px solid #ede4c6;border-radius:26px;background:var(--child-paper);color:var(--child-ink);box-shadow:0 18px 70px #082d3d55;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b1c6b4 transparent;z-index:5;animation:child-panel-in .22s ease-out}
.child-game .sound-settings-panel,.child-game .activity-panel,.child-game .chest-choice-panel{bottom:auto;max-height:calc(100% - 40px)}
.child-game .game-panel-top{position:sticky;top:-24px;z-index:3;background:var(--child-paper);padding:4px 0 15px;margin:0 0 18px;border-bottom:1px solid #e1dfca}
.child-game .game-panel-top h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;color:#214d40}
.child-game .game-panel .close-panel{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:28px;line-height:1;border:1px solid #cfdcc8;border-bottom-width:3px;border-radius:14px;background:#e8efde;color:#365c4e}
.child-game .game-panel p{font-size:15px;line-height:1.5;color:var(--child-muted)}
.child-game .game-panel .primary{background:#0c756a;color:white;border:0;border-bottom:3px solid #06564d;border-radius:13px;min-height:48px;font-size:15px;font-weight:750;padding:11px 18px;box-shadow:none}
.child-game .game-panel .primary:hover:not(:disabled){background:#096459}
.child-game .game-panel .primary:active:not(:disabled){transform:translateY(2px);border-bottom-width:1px}
.child-game .day-progress{padding:16px;background:#f5eac9;border:1px solid #e8d7a7;border-radius:19px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px 12px;margin-bottom:25px}
.child-game .day-progress>span{width:40px;height:40px;border-radius:13px;background:#ffd979;display:grid;place-items:center;color:#795329}
.child-game .day-progress strong{font-size:17px;line-height:1.3}
.child-game .day-progress p{font-size:13px;margin:4px 0 0;color:#6d644e}
.child-game .day-progress-dots{grid-column:2;display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.child-game .day-progress-dots i{height:6px;flex:1;min-width:8px;max-width:28px;background:#dbcfac;border-radius:5px}
.child-game .day-progress-dots i.complete{background:#208069}.child-game .day-progress-dots i.waiting{background:#d5a544}
.child-game .child-task-section{margin-bottom:24px}
.child-game .child-section-title{display:flex;align-items:center;gap:9px;font-size:16px!important;margin:0 0 12px;letter-spacing:0!important}
.child-game .child-section-title span{background:#e7ecde;border-radius:20px;min-width:23px;height:23px;text-align:center;font-size:12px;padding-top:3px}
.child-game .child-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.child-game .child-task-card{position:relative;display:flex;flex-direction:row;gap:12px;align-items:flex-start;background:#fffef9;border:1px solid #d6e0cb;border-bottom:3px solid #cbd8be;border-radius:20px;padding:17px;margin:0;min-width:0}
.child-game .child-task-illustration{display:grid;place-items:center;width:42px;height:46px;border-radius:14px 14px 18px 10px;background:#e8f0d8;color:#34734d;flex:none;transform:rotate(-4deg)}
.child-game .child-task-illustration .child-icon{width:27px;height:27px}
.child-game .child-task-content{flex:1;min-width:0}
.child-game .child-task-heading{display:block}
.child-game .child-task-heading h3{font-size:17px;line-height:1.3;letter-spacing:0;margin:0 0 6px;overflow-wrap:anywhere}
.child-game .child-task-content>p{font-size:13px;line-height:1.5;margin:4px 0 10px;color:#59715d;overflow-wrap:anywhere}
.child-game .task-value-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:7px 0 12px;min-height:18px}
.child-game .task-xp,.child-game .task-money{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:750;color:#8a6530}
.child-game .task-xp .child-icon{width:15px;height:15px;fill:#ffe49a}
.child-game .child-task-card .primary{width:100%;font-size:14px;min-height:45px;padding:10px}
.child-game .child-task-card.task-waiting{background:#f8f3e4;border-bottom-color:#ded5b6}
.child-game .task-waiting .child-task-illustration{background:#efe4bc;color:#937c33}
.child-game .child-task-card.task-waiting .primary{background:#ede5cf;color:#776744;border:0;opacity:1}
.child-game .child-task-card.task-completed{background:#edf2e7;border-color:#d6e0ca}
.child-game .task-completed .child-task-illustration{background:#d9e8c9;color:#407743}
.child-game .child-task-card.task-completed .primary{background:transparent;border:0;color:#3d754a;opacity:1;min-height:32px;padding:4px}
.child-game .task-feedback{color:#a15535!important;font-weight:650}
.child-game .task-status-group{border-top:1px solid #d9decb;padding-top:18px;margin-top:24px}
.child-game .task-status-group summary{padding:0 0 14px;font-size:15px;color:#487152}
.child-game .child-empty{text-align:center;max-width:420px;margin:40px auto;padding:15px 12px}
.child-game .child-empty>.child-icon{width:68px;height:68px;padding:16px;border-radius:24px;background:#f7e4ae;color:#7e632d;margin:0 auto 20px;transform:rotate(-5deg)}
.child-game .child-empty h3{font-size:23px;line-height:1.25;margin-bottom:12px;color:#315a48}
.child-game .child-empty p{font-size:15px;line-height:1.6;margin-bottom:22px}
.child-game .child-empty>button{min-height:48px}
.child-game .chest-intro{margin:-1px 0 22px}
.child-game .chest-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.child-game .chest-tabs button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;border:2px solid #e1ddca;border-bottom-width:4px;border-radius:19px;background:#f2eedf;padding:12px 6px 14px;color:#58614e;overflow:visible}
.child-game .chest-tabs button.selected{background:#ffe9ad;border-color:#bc8c35;box-shadow:0 0 0 3px #ffedb2;transform:translateY(-2px)}
.child-game .chest-tabs .chest-sprite{width:clamp(65px,13vw,140px);max-width:100%;filter:drop-shadow(0 6px 3px #7f643428)}
.child-game .chest-tabs button>strong{font-size:13px;font-weight:750;line-height:1.2}
.child-game .chest-tabs button>span:last-child{display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px}
.child-game .chest-tabs button .child-icon{width:15px;height:15px}
.child-game .chest-details{margin-top:27px}
.child-game .chest-details h3{font-size:18px;letter-spacing:0;margin-bottom:15px}
.child-game .possible-prizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 23px}
.child-game .possible-prizes>span{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dedfcc;border-radius:13px;background:#fffdf4;font-size:14px;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.child-game .possible-prizes>span>.child-icon{width:25px;height:25px;color:#a27c2b}
.child-game .chest-open-footer{position:sticky;bottom:-28px;background:var(--child-paper);padding:14px 0 0}
.child-game .chest-open-footer p{text-align:center;font-size:12px;margin:8px 0}
.child-game .child-segmented{display:flex;gap:5px;background:#e9ecdd;padding:5px;border-radius:16px;margin-bottom:22px}
.child-game .child-segmented button{flex:1;min-width:0;display:flex;justify-content:center;flex-wrap:wrap;align-content:center;gap:5px;background:transparent;border:0;border-radius:12px;padding:10px 8px;min-height:48px;font-size:13px;line-height:1.3;color:#4d6b56}
.child-game .child-segmented button[aria-pressed=true]{background:#fffdf5;box-shadow:0 2px 4px #35523e12;color:#244e3e}
.child-game .child-segmented button>span{display:inline-grid;place-items:center;background:#e0e9d1;border-radius:20px;min-width:20px;height:20px;font-size:11px}
.child-game .child-reward-list{display:grid;gap:13px}
.child-game .child-reward-card{display:flex;align-items:flex-start;gap:16px;padding:19px;border:1px solid #e1d5af;border-bottom:3px solid #dccaa0;border-radius:19px;background:linear-gradient(120deg,#fffcf3,#fff4d6)}
.child-game .reward-token{width:54px;height:58px;display:grid;place-items:center;flex:none;background:#f8db8f;border-radius:17px 17px 21px 12px;color:#795c2c;transform:rotate(-5deg)}
.child-game .reward-token .child-icon{width:30px;height:30px}
.child-game .reward-copy{min-width:0;flex:1}
.child-game .reward-copy h3{font-size:19px;line-height:1.3;margin:0 0 6px;letter-spacing:0;overflow-wrap:anywhere}
.child-game .reward-copy p{font-size:12px;margin:0 0 13px;color:#756d50}
.child-game .reward-copy .primary{min-height:44px;font-size:14px}
.child-game .reward-used{background:#f0f1e7;border-color:#d9dfca}
.child-game .reward-used .reward-token{background:#e0e8cf;color:#557447}
.child-game .reward-waiting{display:inline-flex;align-items:center;gap:6px;background:#f4e6b9;padding:7px 11px;border-radius:10px;font-size:13px;color:#79652e}
.child-game .reward-waiting .child-icon{width:16px;height:16px}
.child-game .child-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px;border-top:1px solid #e0dfcb;padding-top:17px}
.child-game .child-pagination button{font-size:13px;min-height:44px;border:1px solid #cddac3;border-radius:12px;background:#eef2e4}
.child-game .child-pagination span{font-size:13px;color:#5c745d}
.child-game .sound-settings{display:grid;gap:12px;margin:24px 0}
.child-game .sound-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:85px;background:#f2f1e4;border:1px solid #d8ddc5;border-radius:18px;padding:17px}
.child-game .sound-setting>span:first-child{display:flex;align-items:center;gap:12px;text-align:left;min-width:0}
.child-game .sound-setting strong{display:block;font-size:16px;line-height:1.3}
.child-game .sound-setting small{display:block;font-size:12px;line-height:1.5;color:#6b765c;margin-top:4px}
.child-game .child-switch{flex:none;width:44px;height:26px;border-radius:20px;background:#b9c2ad;padding:3px}
.child-game .child-switch:after{content:"";display:block;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #28473030;transition:transform .18s}
.child-game .sound-setting[aria-pressed=true] .child-switch{background:#19806d}
.child-game .sound-setting[aria-pressed=true] .child-switch:after{transform:translateX(18px)}
.child-game .sound-note{font-size:13px!important;color:#5e735e!important}
.child-game .child-install-help{border-top:1px solid #d8dfca;padding-top:14px;margin-top:22px}.child-game .child-install-help summary{min-height:44px;display:flex;align-items:center;font-size:15px;font-weight:700;color:#385f46;cursor:pointer}.child-game .child-install-help p{font-size:13px;line-height:1.65;margin:10px 0}.child-game .child-install-button{display:none;min-height:46px;border-radius:12px;background:#e8efdc;font-size:14px}.pwa-ready .child-game .child-install-button{display:inline-flex}
.child-game .child-adult-link{display:inline-flex;min-height:44px;align-items:center;padding:10px 0;margin-top:22px;text-decoration:underline;text-underline-offset:4px;color:#3b6a5b;font-size:14px}
.child-game .opening-panel{justify-content:center;min-height:0;background:radial-gradient(ellipse at 50% 30%,#ffebae,transparent 65%),#fff9e9}
.child-game .opening-panel.material-iron{background:radial-gradient(ellipse at 50% 30%,#c9ede7,transparent 65%),#f9fcf4}
.child-game .opening-panel.material-gold{background:radial-gradient(ellipse at 50% 30%,#ffdc66,transparent 65%),#fffae7}
.child-game .opening-panel .opening-art .chest-sprite{width:220px;height:220px;filter:drop-shadow(0 14px 8px #70591c35)}
.child-game .opening-result{position:relative;z-index:1}
.child-game .opening-result h2{font-size:29px;line-height:1.2;margin:13px 0}
.child-game .opening-result p{max-width:370px;margin:0 auto 24px;font-size:15px}
.child-game .opening-result .eyebrow{font-size:11px;color:#8f6626;font-weight:800;letter-spacing:1px}
.child-game .opening-sparkles{position:absolute;top:12%;left:12%;width:76%;height:40%;pointer-events:none;opacity:0}
.child-game .opening-sparkles i{position:absolute;font-size:36px;color:#d79928;font-style:normal}
.child-game .opening-sparkles i:nth-child(1){left:4%;top:38%;transform:rotate(8deg)}.child-game .opening-sparkles i:nth-child(2){right:10%;top:10%;font-size:50px}.child-game .opening-sparkles i:nth-child(3){right:0;bottom:0;font-size:24px}.child-game .opening-sparkles i:nth-child(4){left:24%;top:0;font-size:23px}
.child-game .result-ready .opening-sparkles{animation:child-stars .6s ease-out both}
.child-game .retry-bar{background:#fff1ca;border:2px solid #b67d2a;border-radius:16px;font-size:14px;color:#664d26}
.child-game .retry-bar button{min-height:44px;background:#fff9e9;border-radius:10px}
.child-game #toast{background:#174f47;color:#fffbed;bottom:calc(88px + env(safe-area-inset-bottom));font-size:15px;border:1px solid #8db7a7;border-radius:16px;pointer-events:none}
.child-game .auth{margin:35px auto;padding:30px!important;background:#fffaf0;border:1px solid #d4dbbe;border-radius:24px!important;box-shadow:0 12px 30px #1f655916}
.child-game .auth h1{font-size:32px!important;color:#244f40;line-height:1.2}
.child-game .auth p{font-size:16px;color:#496b5c}
.child-game .auth input{font-size:20px;letter-spacing:2px;min-height:55px;border:1px solid #b9c9b4;border-radius:13px;margin-top:8px}
.child-game .auth form{margin-top:26px}
.child-game .auth form>.primary{width:100%;margin-top:10px;min-height:52px;border-radius:13px;background:#0b7569;color:white;border:0;border-bottom:3px solid #07574d}
@keyframes child-panel-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes child-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes child-water{0%,100%{opacity:.35;transform:translateX(0) scaleX(.85)}50%{opacity:.8;transform:translateX(14px) scaleX(1.1)}}
@keyframes child-bubble{from{transform:scale(.94)}65%{transform:scale(1.02)}to{transform:scale(1)}}
@keyframes child-stars{from{opacity:0;transform:scale(.5) rotate(-8deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:700px){
 .child-game{padding:0!important;display:block}
 .child-game .game-shell{height:100svh;min-height:480px;border:0;border-radius:0;grid-template-rows:calc(100px + env(safe-area-inset-top)) minmax(0,1fr) calc(82px + env(safe-area-inset-bottom));box-shadow:none}
 .child-game .game-hud{padding:calc(12px + env(safe-area-inset-top)) 18px 9px!important;gap:8px 11px!important}
 .child-game .traveler-name strong{font-size:19px}
 .child-game .key-count{min-width:70px;padding:8px 12px!important}
 .child-game .game-dock{padding:9px 12px calc(9px + env(safe-area-inset-bottom));gap:5px}
 .child-game .map-stage{background:#32b4bd}
 .child-game .island-layers.vector-island{width:max(100%,680px);top:49%;max-width:none}
 .child-game .vector-island .map-traveler-button{left:44%;top:51%;width:12%}
 .child-game .vector-island .map-chests{left:62%;top:54%;width:15%}
 .child-game .island-welcome{left:20px;top:23px;max-width:min(300px,calc(100% - 60px))}
 .child-game .comic-bubble{font-size:17px;padding:13px 17px;line-height:1.4}
 .child-game .island-day-card{bottom:19px;left:18px;right:18px;max-width:none;padding:15px 16px;border-radius:19px}
 .child-game .island-day-card strong{font-size:18px}
 .child-game .island-day-card p{font-size:12px}
 .child-game .game-panel{inset:calc(10px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom)) 8px;transform:none;width:auto;max-width:none;border-radius:23px;padding:20px 17px 24px}
 .child-game .sound-settings-panel,.child-game .activity-panel,.child-game .chest-choice-panel{top:auto;max-height:calc(100% - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .child-game .game-panel-top{top:-20px;padding-top:0;margin-bottom:18px}
 .child-game .game-panel-top h2{font-size:25px}
 .child-game .child-task-grid{grid-template-columns:1fr}
 .child-game .child-task-card{padding:15px;gap:12px}
 .child-game .child-task-heading h3{font-size:18px}
 .child-game .child-task-content>p{font-size:14px}
 .child-game .child-task-illustration{width:46px;height:50px}
 .child-game .child-task-card .primary{min-height:47px;font-size:15px}
 .child-game .child-reward-card{padding:16px 14px;gap:12px}
 .child-game .reward-copy h3{font-size:18px}
 .child-game .reward-copy .primary{width:100%}
 .child-game .reward-token{width:46px;height:50px}
 .child-game .child-segmented{gap:3px;padding:4px;margin-bottom:18px}
 .child-game .child-segmented button{font-size:12px;padding:8px 4px}
 .child-game .chest-tabs{gap:7px}
 .child-game .chest-tabs button{padding:10px 3px 12px;border-radius:15px}
 .child-game .chest-tabs button>strong{font-size:11px}
 .child-game .chest-tabs button>span:last-child{font-size:12px}
 .child-game .chest-tabs .chest-sprite{width:100%}
 .child-game .chest-details{margin-top:23px}
 .child-game .possible-prizes{grid-template-columns:1fr}
 .child-game .chest-open-footer{bottom:-24px;padding-top:12px}
 .child-game .opening-panel .opening-art .chest-sprite{width:190px;height:190px}
 .child-game .opening-result h2{font-size:27px}
 .child-game .opening-result .primary{width:100%}
 .child-game .sound-setting{padding:15px 12px;gap:10px}
 .child-game .sound-setting>span:first-child{gap:9px}
 .child-game .sound-setting strong{font-size:15px}
 .child-game .auth{margin:35px 16px}
}
@media(max-height:650px) and (max-width:700px){
 .child-game .game-shell{grid-template-rows:92px minmax(0,1fr)72px}
 .child-game .game-hud{padding:9px 15px 6px!important;grid-template-rows:45px 20px;gap:5px 10px!important}
 .child-game .game-dock{padding:6px 10px}
 .child-game .island-welcome{top:13px;left:15px;max-width:260px}
 .child-game .comic-bubble{font-size:14px;padding:10px 14px}
 .child-game .island-layers.vector-island{width:600px;top:48%}
 .child-game .island-day-card{bottom:12px;left:14px;right:14px;padding:10px 13px;gap:10px}
 .child-game .island-day-card strong{font-size:16px}.child-game .island-day-card p{display:none}
 .child-game .island-day-card button{min-height:44px;padding:10px 12px}
}
@media(max-height:500px) and (min-width:701px){
 .child-game{padding:0!important}
 .child-game .game-shell{height:100svh;min-height:0;border:0;border-radius:0;grid-template-rows:76px minmax(0,1fr)62px}
 .child-game .game-hud{grid-template-rows:40px 15px;padding:6px 20px!important;gap:5px 12px!important}
 .child-game .hud-avatar{height:40px;width:34px}.child-game .hud-avatar svg{width:45px;height:56px}
 .child-game .traveler-name strong{font-size:16px}.child-game .key-count{min-height:38px}
 .child-game .game-dock{padding:5px 20px}
 .child-game .game-dock button{min-height:48px;flex-direction:row;gap:8px}
 .child-game .island-layers.vector-island{width:75%;top:48%}
 .child-game .island-welcome{left:14px;top:12px;max-width:220px}
 .child-game .comic-bubble{font-size:13px;padding:10px 12px}
 .child-game .island-day-card{left:auto;right:14px;bottom:12px;max-width:280px;padding:10px 12px;gap:9px}.child-game .island-day-card .island-day-icon{display:none}
 .child-game .island-day-card strong{font-size:14px}.child-game .island-day-card p{display:none}
 .child-game .island-day-card button{min-height:44px;font-size:12px;padding:8px}
 .child-game .game-panel{inset:8px auto 8px 50%;padding:16px 22px;width:calc(100% - 24px)}
 .child-game .game-panel-top{top:-16px}
 .child-game .opening-panel{display:grid;grid-template-columns:180px 1fr;align-content:center;gap:20px}
 .child-game .opening-panel .opening-art .chest-sprite{width:160px;height:160px}
 .child-game .opening-result h2{font-size:23px}.child-game .opening-result p{font-size:13px;margin-bottom:13px}
}
@media(prefers-reduced-motion:reduce){
 .child-game *,.child-game *:before,.child-game *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .child-game .result-ready .opening-sparkles{opacity:1}
}
.child-game .next-key-hint{display:inline-block;font-size:13px;margin-top:5px;color:#637553}

@media(max-width:380px){.child-game .island-day-card{gap:10px;padding:13px}.child-game .island-day-card .island-day-icon{display:none}.child-game .island-day-card strong{font-size:17px}.child-game .island-day-card button{font-size:13px;padding:10px}.child-game .island-day-card button .child-icon{display:none}}

/* Clear transitions, long family-authored labels and actionable time rules. */
.child-game .child-task-content,.child-game .reward-copy,.child-game .child-activity-card>div:last-child{min-width:0;flex:1}
.child-game .child-task-heading h3,.child-game .child-task-content>p,.child-game .reward-copy h3,.child-game .child-activity-card h3,.child-game .activity-blockers span{overflow-wrap:anywhere}
.child-game .child-segmented button{min-height:48px;white-space:normal;line-height:1.35}
.child-game .child-segmented button span{overflow-wrap:anywhere;min-width:20px}
.child-game .reward-intro{margin:0 0 18px;font-size:14px!important}
.child-game .activity-blockers{list-style:none;margin:14px 0;padding:0;display:grid;gap:11px}
.child-game .activity-blockers li{display:flex;gap:9px;align-items:flex-start;font-size:15px;line-height:1.4}
.child-game .activity-blockers .child-icon{width:19px;height:19px;margin-top:1px;color:#78652f}
.child-game .activity-blockers small{display:block;font-size:12px;color:#5c6854;margin-top:2px}
.child-game .activity-panel button[data-click="show_tasks"],.child-game .activity-panel button[data-click="show_rewards"]{min-height:46px;padding:10px 14px;border:1px solid #b9caae;background:#fffaf0;color:#24584c;border-radius:12px;font-size:14px;font-weight:700}
.child-game .child-reaction{display:flex;align-items:center;gap:13px;padding:12px 16px;border:1px solid #b6ceb6;border-radius:18px;background:#e9f1dc;margin:0 0 18px;animation:child-panel-in .25s ease-out}
.child-game .child-reaction>span{width:48px;height:61px;flex:none;overflow:hidden;border-radius:15px;background:#ffe3a7}
.child-game .reaction-avatar svg{width:48px;height:61px}.child-game .child-reaction strong{font-size:16px;line-height:1.4;color:#285542;overflow-wrap:anywhere}
.child-game .reaction-sent{background:#eef0de}.child-game .reaction-earned>span{animation:child-earned .7s ease-out 1}
.child-game .reacting-earned .map-traveler-button{animation:child-earned .7s ease-out 1}.child-game .reacting-sent .map-traveler-button{animation:child-nod .5s ease-in-out 1}
@keyframes child-earned{0%,100%{translate:0 0}40%{translate:0 -9px}70%{translate:0 -2px}}
@keyframes child-nod{0%,100%{rotate:0deg}35%{rotate:-4deg}70%{rotate:3deg}}
@media(prefers-reduced-motion:reduce){.child-game .child-reaction,.child-game .reaction-earned>span,.child-game .reacting-earned .map-traveler-button,.child-game .reacting-sent .map-traveler-button{animation:none!important}}

/* Today: the selected card stays in place while its adult confirmation changes. */
.child-game .task-list-panel,.child-game .free-timer-panel{background:#fffaf0;animation:today-panel-in .18s ease-out}
@keyframes today-panel-in{from{translate:0 6px}to{translate:0 0}}
.child-game .today-summary{margin:0 0 14px;color:#506856;font-size:15px}
.child-game .today-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.child-game .today-filters button,.child-game .today-next,.child-game .countdown-controls button,.child-game .timer-presets button,.child-game .free-timer-minutes button{min-height:46px;padding:10px 14px;border:1px solid #c6d4bf;border-radius:12px;background:#fffcf4;color:#285642;font:inherit;font-weight:650}
.child-game .today-filters button[aria-pressed=true],.child-game .timer-presets button[aria-pressed=true]{background:#e1edd8;border-color:#46734d;box-shadow:inset 0 0 0 1px #46734d}
.child-game .today-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:start}
.child-game .today-detail{min-width:0;border:1px solid #d0d9bf;background:#fffdf5;padding:24px;border-radius:20px;display:grid;gap:12px;align-content:start}
.child-game .today-detail h3{font-size:clamp(23px,3.5vw,32px);line-height:1.18;margin:0;overflow-wrap:anywhere}
.child-game .today-detail>p{margin:0;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.child-game .today-detail-icon{width:66px;height:66px;background:#e7efd9;border-radius:20px;display:grid;place-items:center;color:#376546}
.child-game .today-detail-icon .child-icon{width:36px;height:36px}
.child-game .today-detail .today-period{font-size:13px;color:#58705c}
.child-game .today-overview{display:grid;gap:9px;min-width:0}
.child-game .today-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;min-height:88px;padding:14px;border-radius:15px;border:1px solid #d1dac5;background:#fffcf5;color:#294d3e}
.child-game .today-item>span{flex:1;min-width:0}
.child-game .today-item strong{display:block;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.child-game .today-item small{display:block;font-size:12px;line-height:1.45;color:#5a705e;margin-top:3px}
.child-game .today-item>.child-icon{flex:none;width:24px;height:24px}
.child-game .today-item[aria-current=true]{background:#e8f0df;border-color:#4d7957;box-shadow:inset 0 0 0 1px #4d7957}
.child-game .today-item[data-status=pending] small:last-child,.child-game .today-item[data-status=sending] small:last-child{color:#806328}
.child-game .today-task-status{display:flex;gap:9px;align-items:center;background:#f6efd9;padding:13px;border-radius:12px;color:#735824;font-weight:650}
.child-game .today-claim{min-height:54px;font-size:20px;border-radius:14px}
.child-game .today-next{display:flex;justify-content:center;align-items:center;gap:8px}
.child-game .today-empty{padding:18px;background:#edf0e2;border-radius:14px;line-height:1.5}
.child-game .island-free-timer{position:absolute;left:22px;top:20px;z-index:4;display:flex;align-items:center;gap:7px;min-height:46px;padding:10px 14px;border:1px solid #c0cba8;border-radius:16px;background:#fff8e8;box-shadow:0 3px 10px #173c3420;color:#285744;font-weight:700}
.child-game .island-free-timer .child-icon{width:23px;height:23px}
.child-game .child-countdown{text-align:center;background:#f1f3e7;padding:16px;border-radius:18px}
.child-game .countdown-face{display:grid;place-items:center}
.child-game .countdown-digits{font-size:clamp(45px,8vw,66px);line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:#224c3d}
.child-game .countdown-status{font-size:14px!important;margin:8px 0 12px!important;color:#4a6652}
.child-game .countdown-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.child-game .countdown-controls .primary{background:#2c644b;color:#fff;border-color:#2c644b}
.child-game .countdown-help{font-size:12px!important;line-height:1.5;margin:12px 0 0!important;color:#506856}
.child-game .free-timer-panel{max-width:560px}
.child-game .timer-reset-confirm{margin-top:16px;padding:16px;background:#fffaf0;border:1px solid #c9d7bd;border-radius:16px}
.child-game .timer-reset-confirm p{margin:8px 0 12px!important}
.child-game .timer-reset-confirm button{margin:4px;min-height:44px}
.child-game .free-timer-minutes{display:flex;align-items:center;justify-content:center;gap:18px;margin:16px 0}
.child-game .free-timer-minutes strong{font-size:23px;min-width:95px;text-align:center}
.child-game .free-timer-minutes button{font-size:24px;min-width:48px}
.child-game .timer-presets{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-bottom:18px}
.child-game .timer-presets button{min-width:46px}
.child-game .countdown-circle .countdown-face{width:min(230px,100%);aspect-ratio:1;margin:0 auto;border-radius:50%;background:conic-gradient(#668d62 var(--timer-progress,100%),#dce4cf 0);position:relative;isolation:isolate}
.child-game .countdown-circle .countdown-face:before{content:'';position:absolute;inset:12px;border-radius:50%;background:#fffaf0;z-index:-1}
.child-game .timer-notice{position:fixed;z-index:120;left:50%;bottom:18px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff0c7;color:#4c482a;border:1px solid #cfb66c;border-radius:16px;box-shadow:0 4px 22px #183b3433}
.child-game .timer-notice button{min-height:44px;padding:8px 10px;border:1px solid #c9b87d;border-radius:10px;background:#fffcf2;color:#344c38;font:inherit;font-weight:650}
.child-game .today-filters button:focus-visible,.child-game .today-item:focus-visible,.child-game .today-next:focus-visible,.child-game .island-free-timer:focus-visible,.child-game .child-countdown button:focus-visible,.child-game .timer-presets button:focus-visible,.child-game .free-timer-minutes button:focus-visible{outline:3px solid #527c46;outline-offset:3px}
@media(min-width:601px){
 .child-game .task-list-panel{max-width:900px;padding:18px 22px 20px}
 .child-game .task-list-panel .game-panel-top{top:-18px;margin-bottom:12px;padding-bottom:12px}
 .child-game .task-list-panel .today-summary{margin-bottom:10px}
 .child-game .task-list-panel .today-filters{margin-bottom:12px}
 .child-game .today-detail{padding:18px;gap:8px}
 .child-game .today-detail-icon{width:44px;height:44px;border-radius:14px}
 .child-game .today-detail-icon .child-icon{width:28px;height:28px}
 .child-game .today-detail h3{font-size:28px}
 .child-game .today-detail .child-countdown{padding:12px}
 .child-game .today-detail .countdown-digits{font-size:52px}
 .child-game .today-detail .countdown-status{margin:5px 0 8px!important}
 .child-game .today-detail .countdown-help{margin-top:8px!important}
}
@media(max-width:600px){
 .child-game .today-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 .child-game .today-detail{padding:18px}
 .child-game .today-filters{gap:5px}
 .child-game .today-filters button{padding:9px 11px;font-size:13px}
 .child-game .today-item{min-height:80px}
 .child-game .island-free-timer{left:12px;top:12px;padding:9px 12px;font-size:13px}
 .child-game .timer-notice{gap:7px;padding:10px;bottom:10px;font-size:13px;flex-wrap:wrap;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.child-game .task-list-panel,.child-game .free-timer-panel{animation:none}}

/* Separate island toolbar lanes: weather, walk hint, countdown, then feedback. */
.child-game .map-stage{--island-tools-top:20px}
.child-game .map-stage.has-weather{--island-tools-top:62px}
.child-game .map-stage .island-free-timer{top:var(--island-tools-top)}
.child-game .map-stage .island-welcome,.child-game .map-stage.has-weather .island-welcome{top:var(--island-tools-top);left:auto;right:22px;max-width:min(340px,calc(100% - 180px))}
@media(max-width:600px){
 .child-game .map-stage{--island-tools-top:14px}
 .child-game .map-stage.has-weather{--island-tools-top:62px}
 .child-game .map-stage .walk-camera-hint{top:var(--island-tools-top);left:12px;right:12px;font-size:12px;line-height:18px}
 .child-game .map-stage .island-free-timer{top:calc(var(--island-tools-top) + 42px)}
 .child-game .map-stage .island-welcome,.child-game .map-stage.has-weather .island-welcome{top:calc(var(--island-tools-top) + 104px);left:12px;right:12px;max-width:340px}
}
.child-game .map-stage:has(.island-weather[open]) .island-free-timer,
.child-game .map-stage:has(.island-weather[open]) .walk-camera-hint,
.child-game .map-stage:has(.island-weather[open]) .island-welcome{visibility:hidden;pointer-events:none}

/* A task opens from the list; its detail and the list never compete for space. */
.child-game .today-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.child-game .today-toolbar .today-summary{margin:0}
.child-game .today-back,.child-game .today-period-button{min-height:48px;padding:10px 16px;border:1px solid #b3c4ad;border-radius:12px;background:#fffef6;color:#244c42;font:inherit;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.child-game .today-back{margin-bottom:16px}
.child-game .today-item{min-height:92px;padding:18px 20px;border-color:#b3c4ad;gap:18px}
.child-game .today-item strong{font-size:20px;line-height:1.4}
.child-game .today-item small{font-size:14px;line-height:1.5}
.child-game .today-item>.child-icon{width:22px;height:22px}
.child-game .today-detail{border-color:#b3c4ad;gap:16px;padding:24px}
.child-game .today-detail h3{line-height:1.35}
.child-game .today-detail .today-claim{justify-self:start;min-width:220px;max-width:100%;padding:12px 24px}
.child-game .today-detail .child-countdown{max-width:480px;width:100%;justify-self:center}
.child-game .today-back:focus-visible,.child-game .today-period-button:focus-visible{outline:3px solid #527c46;outline-offset:3px}
@media(max-width:600px){.child-game .today-detail{padding:18px}.child-game .today-item{padding:16px}.child-game .today-item strong{font-size:19px}.child-game .today-detail .today-claim{justify-self:stretch;min-width:0;width:100%}}
/* Tab5 is the reference for shared child navigation and screen composition. */
.child-game{--child-ink:#214e43;--child-muted:#516b60;--child-paper:#f5f2e5;--child-teal:#286d50;background:#f5f2e5!important;padding:0!important}
.child-game #app{max-width:1280px;margin:auto}
.child-game .game-shell{height:100svh;min-height:480px;max-height:none;border:0;border-radius:0;box-shadow:none;grid-template-rows:64px minmax(0,1fr)84px;background:var(--child-paper)}
.child-game .game-hud{grid-template-columns:minmax(0,1fr) auto auto auto 76px!important;grid-template-rows:44px;align-items:center;gap:20px!important;padding:10px 28px!important;box-shadow:none;z-index:7;background:#fffef6}
.child-game .header-child-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:24px}
.child-game .header-clock{font-size:27px;font-weight:750;min-width:80px}
.child-game .header-weekday,.child-game .header-temperature{font-size:22px;white-space:nowrap;color:var(--child-muted)}
.child-game .sound-button{width:76px!important;background:#fffef6!important;padding:0!important;font-size:26px;border-color:#b3c4ad!important}
.child-game .island-progress{position:absolute;left:24px;top:16px;z-index:3;display:grid;gap:5px;min-width:205px;padding:20px 24px;background:#fffef6;border-radius:22px;color:var(--child-ink);pointer-events:none}
.child-game .island-progress strong{font-size:24px}.child-game .island-progress span{font-size:18px;color:var(--child-muted)}
.child-game .island-free-timer{top:100px!important;right:24px!important;left:auto!important;width:220px;min-height:60px;background:#fffef6;border:1px solid #b3c4ad;border-radius:16px;font-size:23px;box-shadow:none}
.child-game .island-weather{top:16px!important;right:24px!important;left:auto!important;max-width:320px}
.child-game .game-dock{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:12px 20px;background:var(--child-paper);z-index:7}
.child-game .game-dock button{min-width:0;min-height:60px;justify-content:center;background:#fffef6;border:1px solid #b3c4ad;border-radius:16px;padding:8px;transform:none}
.child-game .game-dock button[aria-current]{background:#286d50;color:white;border-color:#286d50;transform:none}
.child-game .game-dock .dock-label{font-size:clamp(15px,2.5vw,28px);font-weight:700;white-space:nowrap}
.child-game .island-scrim{display:none}
.child-game .game-panel{inset:64px 0 84px 0!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;padding:28px 50px;border:0;border-radius:0;box-shadow:none;background:var(--child-paper);animation:none;z-index:5;box-sizing:border-box}
.child-game .game-panel-top{position:static;padding:0;margin:0 0 24px;border:0;background:transparent}
.child-game .game-panel-top h2{font-size:clamp(27px,3.7vw,44px);color:var(--child-ink);line-height:1.2}
.child-game .game-panel button{border-radius:16px;box-shadow:none;border:1px solid #b3c4ad;background:#fffef6;color:var(--child-ink);min-height:52px;white-space:normal}
.child-game .game-panel button.primary{background:#286d50;color:white;border-color:#286d50;border-bottom-width:1px}
.child-game .today-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px}
.child-game .today-summary{font-size:21px;color:var(--child-muted);margin:0}
.child-game .today-period-button{min-width:200px}
.child-game .today-item{min-height:100px;padding:18px 26px;background:#fffef6}
.child-game .today-item strong{font-size:clamp(21px,2.7vw,30px);font-weight:700}
.child-game .today-item small{font-size:19px;color:var(--child-muted)}
.child-game .today-detail{padding:26px 30px;background:#fffef6;border-color:#b3c4ad}
.child-game .today-detail h3{font-size:clamp(24px,2.8vw,32px)}
.child-game .today-detail>p{font-size:21px}
.child-game .chest-key-balance{text-align:right;font-size:23px;margin:-64px 0 36px}
.child-game .chest-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.child-game .chest-tab-wrap{min-width:0;position:relative;display:grid;gap:12px}
.child-game .chest-card-body{position:relative;padding:16px 20px;background:#fff;border-radius:22px;min-height:210px}
.child-game .chest-card-body>.chest-sprite{display:block;width:150px;height:130px;max-width:70%;margin:0 auto 4px;filter:none}
.child-game .chest-card-body h3{font-size:23px;line-height:1.25;margin:10px 0 6px;overflow-wrap:anywhere}
.child-game .chest-card-body p{font-size:18px;margin:0;color:var(--child-muted)}
.child-game .chest-card-body .chest-info-button{position:absolute;right:18px;top:10px;width:58px;height:58px;min-height:58px;border:0;border-radius:50%;padding:0;overflow:hidden;text-indent:-9999px;color:#704a1b;background:transparent url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%2248%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%23FFF5D0%22 stroke=%22%23B18A4C%22 stroke-width=%221%22/%3E%3Cg transform=%22translate(-0.25 0.5)%22%3E%3Cpath d=%22M8.8 8.5 C8.9 6.8 10.2 5.9 12 5.9 C13.9 5.9 15.2 7 15.2 8.7 C15.2 10.1 14.4 10.8 13.2 11.6 C12.3 12.2 12 12.8 12 14%22 fill=%22none%22 stroke=%22%23704A1B%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2212%22 cy=%2217.4%22 r=%221%22 fill=%22%23704A1B%22/%3E%3C/g%3E%3C/svg%3E") center / 82.7586% auto no-repeat}
@media(forced-colors:active){.child-game .chest-card-body .chest-info-button{background-image:none;text-indent:0;color:ButtonText;border:1px solid ButtonText}}
.child-game .chest-tab-wrap>.open-button{width:100%;font-size:23px;margin:0;padding:10px}
.child-game .wish-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:22px 26px;background:#e8eee6;border-radius:22px}
.child-game .wish-summary>div{min-width:0}.child-game .wish-summary h3{margin:0 0 10px;font-size:28px}.child-game .wish-summary p{font-size:21px;margin:0 0 9px;overflow-wrap:anywhere}.child-game .wish-summary small{font-size:18px;color:var(--child-muted)}
.child-game .wish-summary button{flex:none;min-width:210px;font-size:23px}
.child-game .reward-detail{display:flex;flex-direction:column;justify-content:space-between;min-height:290px;padding:32px 36px;background:#fffef6;border-radius:22px;margin-top:40px}
.child-game .reward-detail h3{font-size:clamp(28px,3.6vw,44px);overflow-wrap:anywhere;margin:0}.child-game .reward-detail p{font-size:23px;margin:28px 0 0;color:var(--child-muted)}
.child-game .reward-actions{display:grid;grid-template-columns:1fr 1fr 2fr;gap:24px;margin-top:30px}.child-game .reward-actions button{font-size:23px}
.child-game .browser-settings{display:grid;gap:0}.child-game .browser-setting-row{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #b3c4ad;gap:30px}.child-game .browser-setting-row>strong{font-size:28px}.child-game .browser-setting-row .sound-setting{display:flex;justify-content:space-between;align-items:center;gap:36px;min-width:230px;padding:10px 22px;font-size:24px}.child-game .browser-setting-row .sound-setting[aria-pressed=true]{background:#286d50;color:#fff}.child-game .sound-note{margin:28px 24px;font-size:20px}
@media(max-width:650px){.child-game .game-shell{grid-template-rows:56px minmax(0,1fr)72px;min-height:440px}.child-game .game-hud{padding:6px 12px!important;gap:10px!important;grid-template-columns:minmax(0,1fr) auto auto 48px!important}.child-game .header-child-name{font-size:18px}.child-game .header-clock{font-size:20px;min-width:58px}.child-game .header-weekday{display:none}.child-game .header-temperature{font-size:17px}.child-game .sound-button{width:48px!important}.child-game .game-dock{gap:7px;padding:8px 10px}.child-game .game-dock button{min-height:54px;padding:5px;border-radius:13px}.child-game .game-panel{inset:56px 0 72px!important;padding:24px 18px}.child-game .game-panel-top{margin-bottom:20px}.child-game .island-progress{left:12px;top:12px;min-width:0;padding:12px;gap:3px;border-radius:16px}.child-game .island-progress strong{font-size:18px}.child-game .island-progress span{font-size:13px}.child-game .island-free-timer{right:12px!important;top:104px!important;width:130px;min-height:48px;font-size:18px}.child-game .island-weather{right:12px!important;top:12px!important;max-width:155px}.child-game .today-toolbar{gap:12px}.child-game .today-summary{font-size:17px}.child-game .today-period-button{min-width:0}.child-game .today-item{padding:16px;min-height:92px}.child-game .today-item small{font-size:16px}.child-game .today-detail{padding:22px 18px}.child-game .today-detail>p{font-size:18px}.child-game .chest-key-balance{margin:0 0 18px;text-align:left;font-size:20px}.child-game .chest-tabs{grid-template-columns:1fr;gap:16px}.child-game .chest-tab-wrap{grid-template-columns:minmax(0,1fr) 100px;gap:10px}.child-game .chest-card-body{padding:12px;min-height:120px;display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:4px 10px}.child-game .chest-card-body>.chest-sprite{grid-row:1/3;max-width:100%;width:70px;height:88px;margin:0}.child-game .chest-card-body h3{font-size:17px;margin:32px 0 0}.child-game .chest-card-body p{font-size:15px}.child-game .chest-tab-wrap>.open-button{font-size:17px;align-self:stretch}.child-game .chest-card-body .chest-info-button{right:8px;top:8px;width:44px;height:44px;min-height:44px;font-size:20px}.child-game .wish-summary{display:block;padding:20px}.child-game .wish-summary h3{font-size:24px}.child-game .wish-summary p{font-size:18px}.child-game .wish-summary small{font-size:16px}.child-game .wish-summary button{width:100%;margin-top:18px;font-size:20px}.child-game .reward-detail{margin-top:24px;padding:24px;min-height:260px}.child-game .reward-detail p{font-size:19px}.child-game .reward-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.child-game .reward-actions button{font-size:18px}.child-game .reward-actions .primary{grid-column:1/-1}.child-game .browser-setting-row{padding:18px 0;gap:20px}.child-game .browser-setting-row>strong{font-size:23px}.child-game .browser-setting-row .sound-setting{min-width:155px;gap:16px;font-size:20px;padding:10px 14px}.child-game .sound-note{font-size:18px;margin:24px 0}}

/* Shared readable type sizes also apply inside the full-screen region. */
.child-game .game-panel p{font-size:21px}
.child-game .game-panel button,.child-game .game-panel button.primary{font-size:22px}
.child-game .game-panel .chest-card-body p{font-size:18px}
.child-game .game-panel .sound-note{font-size:20px!important}
.child-game .chest-card-body>.chest-sprite svg{width:100%;height:100%}
.child-game .game-panel .reward-actions p{font-size:23px}
@media(max-width:650px){
 .child-game .game-panel p{font-size:18px}
 .child-game .game-panel button,.child-game .game-panel button.primary{font-size:18px}
 .child-game .game-panel .chest-card-body p{font-size:15px;grid-column:2}
 .child-game .game-panel .chest-card-body h3{grid-column:2}
 .child-game .game-panel .sound-note{font-size:18px!important}
 .child-game .chest-card-body>.chest-sprite{grid-column:1;grid-row:1/3}
 .child-game .game-panel .chest-tab-wrap>.open-button{font-size:17px}
}

.child-game .game-hud .sound-button{display:flex;justify-content:center;align-items:center;font-size:26px!important}
.child-game .game-hud .sound-button svg{flex:none}
.child-game .browser-setting-actions{display:flex;align-items:center;gap:20px}
.child-game .header-weather{position:relative;min-width:95px}
.child-game .header-weather .island-weather{position:static!important;margin:0;max-width:none;box-shadow:none;background:transparent;border:0}
.child-game .header-weather summary{display:flex;align-items:center;gap:8px;padding:8px;min-height:44px;white-space:nowrap;font-size:22px;cursor:pointer}
.child-game .header-weather .weather-place,.child-game .header-weather .weather-info{display:none}
.child-game .header-weather .weather-details{position:absolute;top:100%;right:0;width:350px;max-width:calc(100vw - 28px);background:#fffef6;border:1px solid #b3c4ad;border-radius:16px;padding:20px;box-shadow:0 8px 20px #183d2922;z-index:20}
.child-game .island-free-timer{top:100px!important}
.child-game .today-group{display:grid;gap:14px;margin-bottom:22px}
.child-game .today-group-title{font-size:22px;margin:0;color:var(--child-muted)}
.child-game .today-action-row,.child-game .won-reward{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border:1px solid #b3c4ad;border-radius:18px;background:#fffef6;min-width:0}
.child-game .today-action-copy,.child-game .won-reward>div{min-width:0;flex:1}
.child-game .today-action-row h3,.child-game .won-reward h3{font-size:26px;line-height:1.35;margin:0;overflow-wrap:anywhere}
.child-game .today-action-row p,.child-game .won-reward p{font-size:18px;line-height:1.4;margin:7px 0 0;color:var(--child-muted);overflow-wrap:anywhere}
.child-game .today-inline-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;justify-content:flex-end;max-width:45%}
.child-game .today-inline-actions button{padding:12px 20px;font-size:20px;min-width:150px}
.child-game .task-waiting{display:block;background:#f6e9c7;color:#514325;border-radius:12px;padding:12px 16px;font-size:18px;line-height:1.4;max-width:380px}
.child-game .today-action-row .task-value-list{margin-top:10px;gap:12px;font-size:16px;color:var(--child-muted)}
.child-game .won-rewards{display:grid;gap:14px}.child-game .won-rewards>h3{font-size:25px;margin:12px 0}
.child-game .won-reward>button{flex:none;max-width:40%;padding:12px 20px}
.child-game .child-goal{display:grid;gap:12px;background:#e8eee6;padding:24px;border-radius:20px;margin-bottom:22px;box-shadow:none;border:0}
.child-game .child-goal h3{font-size:28px;margin:0;overflow-wrap:anywhere}
.child-game .child-goal progress{width:100%;height:12px;accent-color:#286d50}
.child-game .child-goal .wish-progress{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;font-size:18px}
.child-game .child-goal button{justify-self:start}.child-game .reward-history,.child-game .wish-history{margin:20px 0}
.child-game .reward-history summary,.child-game .wish-history summary{padding:12px 0;font-size:20px;cursor:pointer}
.child-game .reward-history .won-reward{margin-top:12px}
.child-game .shared-free-timer{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:30px;align-items:center}
.child-game .shared-free-timer .child-countdown{display:contents}
.child-game .shared-free-timer .countdown-face{grid-column:1;grid-row:1/4;width:340px;height:340px;max-width:100%;aspect-ratio:1;justify-self:center;position:relative}
.child-game .shared-free-timer .countdown-status{position:absolute;left:20px;right:20px;bottom:25%;text-align:center;z-index:1;font-size:20px!important;margin:0!important}
.child-game .shared-free-timer .countdown-digits{font-size:72px;transform:translateY(-12px)}
.child-game .shared-free-timer .countdown-controls{grid-column:2;grid-row:2;display:grid;gap:14px;justify-content:stretch}
.child-game .free-time-settings{display:contents}
.child-game .free-time-settings .free-timer-minutes{grid-column:2;grid-row:1}
.child-game .free-time-settings>p,.child-game .free-time-settings>.timer-presets{grid-column:2;grid-row:3;margin:0!important;text-align:center}
.child-game .shared-free-timer .countdown-controls button{width:100%;max-width:none}
.child-game .free-timer-minutes{display:flex;gap:14px;justify-content:stretch;margin:0}
.child-game .free-timer-minutes button{flex:1;min-width:0;width:auto}
.child-game .timer-presets{display:flex;gap:10px}.child-game .timer-presets button{flex:1;min-width:0}
.child-game .timer-reset-confirm{grid-column:1/-1}
.child-game .timer-notice{position:fixed;inset:0!important;display:grid;place-items:center;background:#10241dcc;z-index:100;padding:24px;transform:none!important;border:0;border-radius:0;max-width:none;width:auto}
.child-game .timer-notice>div{background:#fffef6;border-radius:24px;padding:44px;display:grid;gap:32px;text-align:center;width:600px;max-width:100%}
.child-game .timer-notice strong{font-size:40px;color:var(--child-ink)}.child-game .timer-notice button{background:#286d50;color:white;min-height:64px;font-size:24px;border-radius:16px}
@media(max-width:650px){
 .child-game .header-weather{min-width:65px}.child-game .header-weather summary{font-size:17px;padding:4px;gap:4px}
 .child-game .today-action-row,.child-game .won-reward{align-items:stretch;flex-direction:column;padding:18px;gap:14px}
 .child-game .today-action-row h3,.child-game .won-reward h3{font-size:22px}.child-game .today-action-row p,.child-game .won-reward p{font-size:17px}
 .child-game .today-inline-actions{max-width:none;justify-content:stretch}.child-game .today-inline-actions button{flex:1;min-width:0;font-size:18px;padding:12px 10px}
 .child-game .won-reward>button,.child-game .task-waiting{max-width:none}.child-game .child-goal{padding:20px}.child-game .child-goal h3{font-size:24px}
 .child-game .shared-free-timer{display:flex;flex-direction:column;gap:18px}.child-game .shared-free-timer .child-countdown{display:flex;flex-direction:column;gap:14px;width:100%}
 .child-game .shared-free-timer .countdown-face{width:250px;height:250px;align-self:center}.child-game .shared-free-timer .countdown-digits{font-size:56px}
 .child-game .shared-free-timer .countdown-status{margin:0}.child-game .shared-free-timer .countdown-controls{width:100%}.child-game .free-time-settings{display:grid;gap:12px;width:100%;order:-1}
 .child-game .timer-notice>div{padding:28px 20px}.child-game .timer-notice strong{font-size:30px}
}
.child-game .browser-setting-actions>button:first-child{padding:10px 24px}
.child-game .island-tools{position:absolute;top:16px;right:24px;z-index:4;display:grid;gap:12px;width:220px}
.child-game:not(.child-mobile) .map-stage .island-welcome{top:16px;left:50%;right:auto;transform:translateX(-50%);max-width:min(340px,calc(100% - 500px))}
.child-game .island-tools .island-free-timer{position:static;width:100%;justify-content:center}
@media(max-width:650px){.child-game .island-tools{top:12px;right:12px;width:130px;gap:8px}}
@media(max-width:650px){.child-game .browser-setting-row{flex-wrap:wrap;gap:14px}.child-game .browser-setting-actions{width:100%;gap:12px}.child-game .browser-setting-actions>button{flex:1;min-width:0!important}.child-game .browser-setting-actions>button:first-child{padding:10px}}

.child-game #app.body-loading{opacity:1}
