@charset "UTF-8";
:root{font-family:"Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:#243e4b;background:#eaf7fa;font-synthesis:none;--yellow:#ffd632;--ink:#243e4b;--teal:#057b82}*{box-sizing:border-box}body{margin:0;background:#fff8df}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #0469b7;outline-offset:4px}button:disabled{cursor:default;opacity:.5}button{touch-action:manipulation}.site-header{max-width:1120px;margin:auto;padding:25px 38px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:16px;font-weight:900;letter-spacing:.4px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:#ef4a43;border:3px solid white;border-radius:14px;color:white;font-size:27px;box-shadow:0 3px 0 #db3832;transform:rotate(-8deg)}.brand-sub{display:block;font-size:13px;font-weight:600;letter-spacing:2px;margin-top:3px}.help-button{display:flex;gap:8px;align-items:center;border:0;background:none;color:#425e68;font-size:14px;font-weight:700;min-height:44px}.help-button>span{border:1.5px solid #77929a;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.playground{max-width:1020px;margin:20px auto 0;display:grid;grid-template-columns:460px 1fr;gap:76px;align-items:center;padding:0 26px 18px}.telephone-section{position:relative}.phone{position:relative;max-width:430px;margin:auto;background:var(--yellow);border:3px solid #ecb820;border-radius:55px 55px 46px 46px;padding:18px 23px 14px;box-shadow:inset 0 3px 0 #fff7a0,inset -6px -6px 0 #f4c225,0 14px 0 #d6a82a,0 24px 30px #25475722}.phone-head{height:62px;display:flex;justify-content:flex-end;align-items:center;gap:15px;padding-right:5px;position:relative}.mascot-window{width:88px;height:77px;overflow:hidden;position:absolute;left:9px;top:-9px;transform:rotate(-7deg)}.mascot-window img{position:absolute;width:620px;max-width:none;left:-476px;top:-94px}.head-word{font-size:11px;letter-spacing:1.5px;font-weight:900;color:#866a21;transform:rotate(-2deg)}.speaker{width:54px;height:8px;border:2px solid #c3962b;border-radius:12px;background:#5b5340;box-shadow:0 2px 0 #fff4a1}.screen{border:6px solid #535046;border-radius:16px;background:#f4e9e4;overflow:hidden;box-shadow:0 2px 0 #fff695}.screen-top{background:#303b40;color:white;display:flex;justify-content:space-between;padding:7px 10px;font-size:12px;font-weight:700;min-height:31px}.signal{color:#deeaea;letter-spacing:1px}.battery{color:#b5e973}.function-grid,.character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px}.function-grid{background:#f7bad8;padding-bottom:9px}.character-grid{gap:8px;padding-top:10px;padding-bottom:10px;background:#fcf5ef}.key{position:relative;min-width:0;min-height:48px;border:0;border-radius:11px;background:var(--key-color,#36a3cc);padding:0;box-shadow:0 3px 0 #3f34352a;overflow:hidden;isolation:isolate;transition:transform .12s,box-shadow .12s}.key:active,.key.active{transform:translateY(2px);box-shadow:0 1px 0 #3f34352a}.key.active{outline:3px solid white;outline-offset:-4px}.key-picture{position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:-1}.key-picture img{position:absolute;max-width:none;height:auto;image-orientation:from-image}.character-key{aspect-ratio:1.64}.function-key{aspect-ratio:1.95}.key-caption{display:block;position:absolute;bottom:0;left:0;right:0;padding:2px 0 3px;text-align:center;font-size:12px;line-height:1.2;color:white;font-weight:800;background:#0009;text-shadow:0 1px 1px #000}.function-key .key-caption{font-size:11px}.key.active:after{content:"";position:absolute;inset:5px;border:2px solid #fff8;border-radius:7px;pointer-events:none}.mode-switch{display:flex;gap:5px;background:#e5af23;padding:5px;border-radius:15px;margin:14px 1px 0;box-shadow:inset 0 2px 3px #9c71182b}.mode-switch button{flex:1;min-height:43px;border:0;background:transparent;border-radius:10px;color:#6c541c;font-size:16px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:9px}.mode-switch button.selected{background:#fff9da;color:#254e4c;box-shadow:0 2px 0 #b68723}.mode-switch button>span{font-size:24px}.phone-controls{display:flex;gap:13px;justify-content:center;margin-top:12px}.phone-controls button{display:flex;align-items:center;justify-content:center;gap:7px;background:#ed6550;border:2px solid #d94d3f;box-shadow:0 3px 0 #bc4d33;border-radius:22px;min-height:44px;min-width:100px;color:white;font-size:14px;font-weight:800}.phone-controls button:first-child{background:#fff6c1;color:#735f2f;border-color:#e8bc48;box-shadow:0 3px 0 #c9a242}.phone-controls button:disabled{opacity:.6}.phone-footer{display:flex;justify-content:space-between;margin:13px 5px 0;font-size:11px;letter-spacing:1px;color:#87651e;font-weight:700}.phone-footer>span:first-child,.phone-footer>span:last-child{font-size:6px;align-self:center;letter-spacing:3px}.phone.flashlight{box-shadow:inset 0 3px 0 #fff7a0,inset -6px -6px 0 #f4c225,0 14px 0 #d6a82a,0 0 55px 15px #fff4a6}.tap-hint{text-align:center;font-size:14px;font-weight:700;color:#647b79;margin:28px 0 0}.companion{padding-top:12px;min-width:0}.eyebrow{color:var(--teal);font-size:14px;font-weight:900;letter-spacing:2px}.intro h1{font-size:38px;line-height:1.42;letter-spacing:1px;margin:14px 0;color:#234655}.intro>p{font-size:16px;line-height:1.9;margin:0;color:#597782}.listen-card{border:1px solid #ffffff;border-radius:22px;background:#fff;box-shadow:0 7px 20px #24465706;padding:24px;margin-top:27px}.listen-heading{display:flex;align-items:center;gap:8px;color:#6d858b;font-size:13px;font-weight:700}.listen-dot{width:8px;height:8px;background:#bdcbd0;border-radius:50%}.listen-dot.playing{background:#11948c}.wave{margin-left:auto;display:flex;gap:3px;align-items:center;height:21px}.wave i{display:block;width:3px;height:6px;background:#20a39c;border-radius:3px}.wave.playing i{animation:bounce .75s ease-in-out infinite alternate}.wave i:nth-child(2){height:13px;animation-delay:.12s}.wave i:nth-child(3){height:19px;animation-delay:.25s}.wave i:nth-child(4){height:11px;animation-delay:.38s}.wave i:nth-child(5){animation-delay:.5s}@keyframes bounce{to{height:4px}}.listen-card h2{font-size:23px;margin:15px 0 9px;line-height:1.4}.listen-card>p{font-size:15px;line-height:1.8;color:#657d86;margin:0;min-height:54px}.progress-row{display:flex;align-items:center;gap:9px;color:#7b8d93;font-size:12px;margin-top:19px;font-variant-numeric:tabular-nums}.progress-row progress{flex:1;min-width:0;height:5px}progress{appearance:none;border:none;border-radius:8px;overflow:hidden;background:#e3eef0;color:#099d93}progress::-webkit-progress-bar{background:#e3eef0;border-radius:8px}progress::-webkit-progress-value{background:#099d93;border-radius:8px}progress::-moz-progress-bar{background:#099d93;border-radius:8px}details{margin-top:16px;border-top:1px solid #e9f0f2;padding-top:12px;color:#698089}summary{cursor:pointer;font-size:13px;font-weight:700;min-height:24px}details p{white-space:pre-line;font-size:16px;line-height:1.95;max-height:235px;overflow:auto;margin:12px 0 0;padding-right:6px;color:#46616b}.offline-card{background:#dbf0ed;border:1px solid #cbe6e2;border-radius:19px;padding:19px 20px;margin-top:16px}.offline-heading{display:flex;align-items:center;gap:13px}.offline-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#bfe1dc;border-radius:12px;color:#087e78;font-size:26px;font-weight:700}.offline-heading h2{font-size:16px;margin:0 0 6px}.offline-heading p{font-size:13px;line-height:1.6;color:#5d817e;margin:0}.offline-card>button:not(.text-button){width:100%;min-height:42px;background:white;color:#087f78;border:1px solid #bdddd7;border-radius:11px;margin-top:15px;font-size:14px;font-weight:800}.offline-card>progress{width:100%;height:7px;margin-top:16px}.text-button{display:block;background:none;border:0;color:#087f78;margin:7px auto -3px;min-height:38px;text-decoration:underline;font-size:14px}.family-note{font-size:12px;line-height:1.8;color:#79929a;text-align:center;margin:18px 0}.site-footer{padding:24px 20px;text-align:center;color:#89a1a8;font-size:12px;letter-spacing:1px}dialog{border:0;max-width:520px;width:calc(100% - 32px);padding:26px;border-radius:24px;color:var(--ink);box-shadow:0 24px 80px #152b4960}dialog::backdrop{background:#1e404c77;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:23px;margin:0}.dialog-heading button{width:44px;height:44px;border:0;background:#eaf4f6;border-radius:50%;font-size:27px;color:#44616b}.help-content h3{font-size:16px;margin:23px 0 6px}.help-content p{font-size:15px;line-height:1.85;margin:0;color:#5c737c}.help-content .help-footnote{font-size:12px;margin-top:20px;color:#849ba2}[hidden]{display:none!important}@media(min-width:1100px){.playground{margin-top:32px}.phone{transform:rotate(-2deg)}.tap-hint{transform:rotate(-2deg)}}@media(max-width:850px){.playground{grid-template-columns:minmax(310px,430px) minmax(250px,1fr);gap:30px}.site-header{padding:20px 26px}.intro h1{font-size:29px}.phone{padding:15px 16px 13px}.phone-head{height:58px}.head-word{font-size:9px}.screen{border-width:5px}.listen-card{padding:19px}.offline-card{padding:16px}.function-grid,.character-grid{gap:6px;padding:7px}}@media(max-width:650px){body{background:#fff8df}.site-header{padding:16px 20px 10px}.brand-mark{width:34px;height:34px;font-size:23px;border-radius:11px}.brand{font-size:14px;gap:9px}.brand-sub{font-size:12px}.help-button{font-size:12px;gap:5px}.playground{display:flex;flex-direction:column;gap:0;padding:0 16px;margin:10px auto 0;max-width:440px}.telephone-section{width:100%}.phone{padding:12px 16px 12px;border-radius:42px 42px 34px 34px;box-shadow:inset 0 3px 0 #fff7a0,inset -5px -5px 0 #f4c225,0 10px 0 #d6a82a,0 19px 25px #25475720}.phone-head{height:51px}.mascot-window{transform:scale(.85) rotate(-7deg);transform-origin:left top;top:-5px;left:7px}.head-word{font-size:9px;margin-left:75px}.speaker{width:41px;height:7px}.screen-top{min-height:25px;padding:5px 8px;font-size:11px}.key{border-radius:9px}.function-key{aspect-ratio:1.8}.character-key{aspect-ratio:1.56}.mode-switch{margin-top:11px;padding:4px}.mode-switch button{min-height:40px;font-size:15px}.phone-controls{margin-top:10px;gap:13px}.phone-controls button{min-height:40px;min-width:92px}.phone-footer{margin-top:12px}.tap-hint{margin:22px 0 0;font-size:13px}.companion{width:100%;padding-top:0}.intro{display:none}.listen-card{margin-top:22px;padding:19px;border-radius:19px}.listen-card>p{min-height:0}.listen-card h2{font-size:21px}.offline-card{margin-top:12px}.family-note{margin:14px 0 0}.site-footer{padding:17px 16px max(17px,env(safe-area-inset-bottom))}.progress-row{margin-top:14px}details{margin-top:13px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Supplied clear toy faces. Every visible key is an aligned semantic hotspot. */
.phone{position:relative;width:100%;max-width:390px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:hidden;transform:none!important;isolation:isolate;aspect-ratio:667/1358}
.phone-art{position:absolute;max-width:none;height:auto;pointer-events:none;user-select:none;mix-blend-mode:multiply;z-index:0}
.phone .function-grid,.phone .character-grid{position:absolute;inset:0;display:block;padding:0;background:none;pointer-events:none}
.phone .key{position:absolute;min-width:48px;min-height:48px;aspect-ratio:auto;background:transparent;border:0;border-radius:10px;box-shadow:none;pointer-events:auto;transition:background .12s;transform:none}
.phone .key:active,.phone .key.active{background:#ffffff22;box-shadow:inset 0 0 0 3px #fff;outline:none;transform:none}
.phone .key.active:after{display:none}
.phone .key-caption{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0}
.image-control{position:absolute;border:0;background:transparent;padding:0;min-width:48px;min-height:48px;border-radius:15px;color:transparent;z-index:2}
.image-control:active{background:#ffffff20}
#mode-toggle{touch-action:pan-y;cursor:ew-resize}
#call-button{border-radius:50%}
.phone.flashlight{filter:drop-shadow(0 0 17px #ffe66b);box-shadow:none}
.mode-indicator{text-align:center;color:#087f78;font-size:14px;font-weight:800;margin:12px 0 0}
.telephone-section .phone-controls{margin-top:10px}
.tap-hint{transform:none!important;margin:14px 0 0;line-height:1.6;font-size:13px}
@media(max-width:650px){.phone{max-width:350px}.playground{margin-top:4px}.mode-indicator{margin-top:9px}.telephone-section .phone-controls{margin-top:9px}.tap-hint{margin-top:11px}.listen-card{margin-top:18px}}
.phone{isolation:auto}

/* Colors drawn from the supplied FOOD toy: yellow, red and bright accent keys. */
:root{--yellow:#ffda00;--ink:#3d2c1d;--teal:#276426;color:var(--ink);background:#fff8df}
body{background:#fff8df}
.site-header{border-bottom:2px solid #f4de9a}
.brand-mark{background:#f22b28;box-shadow:0 3px 0 #b81719}
.brand-sub{color:#a43c18}
.help-button{color:#714018;background:#ffed9e;border:1px solid #e5bd46;border-radius:18px;padding:0 13px}
.help-button>span{border-color:#9e5a1c}
.eyebrow{color:#b92721;background:#ffec91;border-radius:20px;padding:7px 13px;display:inline-block;letter-spacing:1px}
.intro h1{color:#442915}
.intro>p,.tap-hint{color:#705337}
.mode-indicator{display:table;margin:12px auto 0;padding:7px 16px;border:2px solid #fff;border-radius:24px;background:#dff2ff;color:#185c85;box-shadow:0 3px 0 #bddbe7}
.telephone-section .phone-controls button{background:#f22b28;border-color:#c32023;box-shadow:0 3px 0 #a51e20;color:#fff}
.telephone-section .phone-controls button:first-child{background:#ffda00;border-color:#d8a414;box-shadow:0 3px 0 #bc8c17;color:#563914}
.telephone-section .phone-controls button:disabled{opacity:1;background:#f1e9d8;border-color:#ddd0b5;box-shadow:0 3px 0 #d7c6a4;color:#93846c}
.listen-card{border:2px solid #f2c43a;border-top:6px solid #f22b28;background:#fffdf5;box-shadow:0 6px 0 #efd99b,0 12px 24px #b88a1510}
.listen-card h2{color:#553315}
.listen-heading,.listen-card>p,.progress-row,summary,details p{color:#75573a}
.listen-dot{background:#d4bd8e}.listen-dot.playing{background:#5bb32e}
.wave i{background:#ed3997}
progress{background:#f4e7c6;color:#f22b28}
progress::-webkit-progress-bar{background:#f4e7c6}
progress::-webkit-progress-value{background:#f22b28}
progress::-moz-progress-bar{background:#f22b28}
details{border-color:#f0dfb1}
.offline-card{background:#edf7d8;border:2px solid #a5ca68;box-shadow:0 4px 0 #d6e6b5}
.offline-icon{background:#ffda00;color:#355b22;border:2px solid #fff}
.offline-heading h2{color:#355b22}.offline-heading p{color:#466835}
.offline-card>button:not(.text-button){background:#fffef3;color:#355b22;border:2px solid #9cbd61;box-shadow:0 2px 0 #bdd491}
.text-button{color:#355b22}
.family-note,.site-footer{color:#806344}
dialog{background:#fffdf5;border:3px solid #ffda00}
dialog::backdrop{background:#56391466}
.dialog-heading button{background:#ffed9e;color:#79441d}
.help-content h3{color:#ae2521}.help-content p{color:#705337}.help-content .help-footnote{color:#806344}
@media(max-width:650px){body{background:#fff8df}.site-header{margin:0 16px;padding:16px 0 12px}.help-button{padding:0 9px}.mode-indicator{margin-top:9px}}

/* Large, readable text on solid color surfaces. */
:root{font-size:20px}
.brand{font-size:24px;letter-spacing:0}.brand-sub{font-size:18px;letter-spacing:1px}
.help-button{font-size:20px;min-height:52px;white-space:nowrap}
.help-button>span{width:24px;height:24px;flex-shrink:0}
.eyebrow{font-size:20px;letter-spacing:0}
.intro h1{font-size:44px;line-height:1.35;letter-spacing:0}
.intro>p{font-size:24px;line-height:1.65}
.mode-indicator{font-size:22px;padding:9px 18px}
.telephone-section .phone-controls button{font-size:24px;min-height:58px;min-width:126px;padding:8px 18px}
.tap-hint{font-size:20px;line-height:1.65}
.listen-heading{font-size:20px;line-height:1.5}
.listen-card h2{font-size:32px;line-height:1.4}
.listen-card>p{font-size:22px;line-height:1.7}
.progress-row{font-size:18px;gap:12px}
.progress-row progress{height:9px}
summary{font-size:22px;min-height:44px;line-height:1.6}
details p{font-size:24px;line-height:1.8;max-height:380px}
.offline-heading h2{font-size:24px;line-height:1.4}
.offline-heading p{font-size:20px;line-height:1.65}
.offline-heading>div{min-width:0}
.offline-card>button:not(.text-button){font-size:22px;min-height:56px;padding:8px 12px}
.text-button{font-size:20px;min-height:48px}
.family-note,.site-footer{font-size:18px;line-height:1.7;letter-spacing:0}
.dialog-heading{gap:12px}.dialog-heading h2{font-size:30px}
dialog{padding:24px;max-height:calc(100dvh - 32px);overflow:auto}
.dialog-heading button{flex-shrink:0}
.help-content h3{font-size:26px}.help-content p{font-size:22px;line-height:1.8}
.help-content .help-footnote{font-size:18px}
@media(max-width:850px){.intro h1{font-size:36px}.intro>p{font-size:22px}}
@media(max-width:650px){
  .site-header{gap:8px;align-items:center}.brand{font-size:18px;gap:7px}.brand-sub{font-size:16px}
  .help-button{font-size:18px;gap:5px;min-height:50px;padding:0 8px}.help-button>span{width:22px;height:22px}
  .mode-indicator{font-size:22px}.telephone-section .phone-controls{gap:14px}
  .telephone-section .phone-controls button{font-size:24px;min-height:58px;min-width:120px;padding:8px 14px}
  .listen-card{padding:20px}.listen-card h2{font-size:30px}
  .tap-hint{font-size:20px}.offline-card{padding:18px 16px}
  .family-note,.site-footer{font-size:16px}
  dialog{padding:20px}.dialog-heading h2{font-size:28px}
}

/* Static image placement is available before JavaScript or content.json arrives. */
#phone-art-dialogue{width:168.215892%;left:-34.182909%;top:0;transform:translateY(-.713267%)}
#phone-art-story{width:190.15873%;left:-42.857143%;top:0;transform:translateY(-.685453%)}
.phone-art[hidden]{display:none}

.header-actions{display:flex;align-items:center;gap:10px}
.header-actions .help-button{font-size:20px;min-height:52px;border:2px solid #e5bd46;background:#ffed9e;color:#714018;border-radius:18px;padding:8px 14px;font-weight:800;box-shadow:0 3px 0 #e5bd46}
.header-actions .fullscreen-button{background:#ffda00;border-color:#d8a414;box-shadow:0 3px 0 #d8a414}
.header-actions .help-button:active{box-shadow:none;transform:translateY(2px)}
.header-actions .help-button>span{border:0;width:auto;height:auto;display:inline}
.view-status{color:#705337;font-size:16px;text-align:center;margin:8px 0 0;line-height:1.4}
.view-status:empty{display:none}
.line-notice{max-width:980px;margin:12px auto;padding:16px 24px;background:#edf7d8;border:2px solid #a5ca68;border-radius:16px;font-size:20px}
.line-notice p{margin:8px 0}.line-notice a,.help-content a{color:#185c85}
@media(max-width:650px){
 .site-header{flex-wrap:wrap;gap:12px;padding:12px 0 14px}
 .header-actions{width:100%;gap:10px}
 .header-actions .help-button{flex:1;justify-content:center;min-width:0;font-size:18px;padding:8px 6px}
}
body.toy-view{height:100dvh;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.toy-view .companion,.toy-view .site-footer,.toy-view .tap-hint,.toy-view .line-notice{display:none}
.toy-view .site-header{width:100%;max-width:none;margin:0;padding:max(10px,env(safe-area-inset-top)) 16px 12px;justify-content:center;z-index:2;background:#fff8df}
.toy-view .brand{display:none}
.toy-view .header-actions{width:100%;max-width:420px;gap:10px}
.toy-view .header-actions .help-button{font-size:18px;min-height:48px;padding:6px 8px;flex:1;justify-content:center;min-width:0}
.toy-view .playground{width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:0;display:block}
.toy-view .telephone-section{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom));overflow:hidden}
.toy-view .phone{flex:none;margin:0;max-width:none}
.toy-view .phone .key,.toy-view .image-control{min-width:0;min-height:0}
.toy-view .toy-controls{flex:none;width:100%;max-width:420px}
.toy-view .mode-indicator{font-size:18px;margin:0 auto 8px;padding:4px 14px}
.toy-view .phone-controls{margin:0}
.toy-view .phone-controls button{font-size:20px;min-height:48px;padding:6px 14px;min-width:105px}
.toy-view .view-status{font-size:14px;margin:8px 0 0}
@media(orientation:landscape){
 .toy-view .telephone-section{flex-direction:row;gap:20px}
 .toy-view .toy-controls{width:230px;max-width:40%;}
 .toy-view .phone-controls{flex-wrap:wrap;gap:10px}
}

@media(max-width:360px){.toy-view .header-actions .help-button{font-size:16px;gap:5px}}

.header-actions .fullscreen-label{display:block;flex:0 0 auto;width:auto;height:auto;border:0;border-radius:0;font:inherit;line-height:1.3;white-space:nowrap}
.header-actions .help-button{white-space:nowrap}
