.academy-nav{z-index:35;color:#173d47;box-sizing:border-box;background:#edf4ec;border-bottom:1px solid #b9d1ce;justify-content:center;align-items:center;gap:4px;min-height:46px;padding:0 10px;font-family:Microsoft JhengHei,sans-serif;display:flex;position:relative}.academy-nav a{min-width:75px;min-height:44px;color:inherit;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:18px;text-decoration:none;display:flex}.academy-nav span{font-size:11px;font-weight:700}.academy-nav a[aria-current]{background:#d4e8df}.academy-nav a:hover{background:#dceee7}.academy-nav a:focus-visible{outline-offset:-3px;outline:3px solid #b89737}.academy-game{--academy-nav-height:46px}.academy-game .hud,.academy-game .overlay,.academy-game #world,.academy-game #scene{top:var(--academy-nav-height)!important;height:calc(100dvh - var(--academy-nav-height))!important}.academy-game .hud,.academy-game .overlay{inset:var(--academy-nav-height) 0 0!important}.academy-game .topbar{height:80px}.academy-game .menu{height:calc(100dvh - 126px)}body[data-game=car]{min-height:736px}body[data-game=car].driving{min-height:0}body[data-game=car] .vignette{top:46px}body[data-game=car] .school-links{display:none}body[data-game=train] #world{position:relative;height:100%!important;top:0!important}body[data-game=train] .scene{height:calc(100dvh - 408px)}body[data-game=flight] .menu{height:auto;min-height:calc(100dvh - 46px)}@media (width<=900px){.academy-game .topbar{height:70px}.academy-game .menu{height:calc(100dvh - 116px)}body[data-game=car]{min-height:766px}body[data-game=car].driving{min-height:0}.academy-nav a{min-width:66px;padding:0 8px}.academy-nav span{font-size:10px}}@media (height<=520px) and (orientation:landscape){.academy-nav{min-height:44px}.academy-game{--academy-nav-height:45px}.academy-nav a{min-height:44px}.academy-game .topbar{height:48px}.academy-game .menu{height:calc(100dvh - 93px);min-height:0}body[data-game=car]{min-height:0}body[data-game=train] .scene{height:calc(100dvh - 253px);min-height:180px}body[data-game=flight] .menu{height:auto}.academy-game .hud{padding-top:10px}}#parent-gate{box-sizing:border-box;color:#173d47;background:#eef4f1;border:2px solid #bed3d8;border-radius:18px;width:min(440px,100vw - 28px);max-height:calc(100dvh - 28px);padding:23px;font-family:Microsoft JhengHei,sans-serif;overflow:auto;box-shadow:0 15px 55px #122f4655}#parent-gate::backdrop{background:#102937c9}#parent-gate form{margin:0}#parent-gate h2{margin:9px 0 12px;font-size:24px;line-height:1.4}#parent-gate p{font-size:14px;line-height:1.7}#parent-gate label{font-size:13px;display:block}#parent-gate .parent-gate-eyebrow{color:#527984;margin:0;font-size:12px}#parent-gate #parent-gate-close{float:right;color:#173d47;cursor:pointer;background:#e2ece9;border:1px solid #9fb9c0;border-radius:8px;width:44px;height:44px;font-size:27px}#parent-gate #parent-gate-question{text-align:center;margin:20px 0 14px;font-size:30px;font-weight:700}#parent-gate input{box-sizing:border-box;color:#173d47;background:#fff;border:2px solid #7fa6b1;border-radius:8px;width:100%;height:56px;padding:8px 12px;font-size:24px}#parent-gate #parent-gate-error{color:#945238;min-height:24px;margin:7px 0;font-size:12px}#parent-gate .parent-gate-actions{background:#eef4f1;grid-template-columns:1fr 1.5fr;gap:10px;padding:10px 0 4px;display:grid;position:sticky;bottom:-23px}#parent-gate .parent-gate-actions button,#parent-gate-info-close{cursor:pointer;color:#173d47;background:#dce8e4;border:1px solid #7296a2;border-radius:8px;min-height:52px;padding:8px 12px;font-size:15px}#parent-gate #parent-gate-submit{background:#efd09a;border-color:#c4a068;font-weight:700}#parent-gate button:disabled{opacity:.55}#parent-gate [hidden]{display:none!important}#parent-gate-address{overflow-wrap:anywhere;font-size:12px!important}#parent-gate :focus-visible{outline-offset:3px;outline:3px solid #b48935}a[data-parent-url]{cursor:pointer}body.is-native-app a,body.is-native-app img{-webkit-touch-callout:none}.passport-open{color:#513500;cursor:pointer;touch-action:manipulation;background:#fff4c4;border:2px solid #f4be37;border-radius:8px;flex-shrink:0;min-width:76px;min-height:60px;padding:0 10px;font:800 14px Microsoft JhengHei,sans-serif}#passport-dialog{box-sizing:border-box;color:#173d47;background:#fffaf0;border:3px solid #edba31;border-radius:24px;width:min(660px,100vw - 20px);max-height:calc(100dvh - 20px);margin:auto;padding:16px;font-family:Microsoft JhengHei,sans-serif;position:fixed;inset:0;overflow:auto;box-shadow:0 18px 65px #153d4b66}#passport-dialog::backdrop{background:#163d4fb8}#passport-dialog .passport-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}#passport-title{margin:0 0 5px;font-size:23px;line-height:1.2}#passport-summary{margin:0;font-size:13px;font-weight:700;line-height:1.5}#passport-close{color:#173d47;cursor:pointer;background:#e5f5f6;border:1px solid #afd4db;border-radius:18px;width:60px;min-width:60px;height:60px;padding:0;font-size:32px}.passport-tabs{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 10px;display:grid}.passport-tabs button{color:#173d47;cursor:pointer;background:#fff;border:2px solid #b3d8dc;border-radius:15px;min-height:60px;font-size:17px;font-weight:800}.passport-tabs button[aria-pressed=true]{color:#fff;background:#1d775d;border-color:#1d775d}#passport-chapters{grid-template-columns:1fr;gap:8px;display:grid}.passport-chapter{box-sizing:border-box;color:#173d47;text-align:left;cursor:pointer;background:#fff;border:2px solid #c8dfe1;border-radius:16px;grid-template-columns:1fr auto;grid-template-areas:"title stars""goal goal";gap:5px;width:100%;min-height:84px;padding:10px 12px;display:grid}.passport-chapter strong{grid-area:title;font-size:16px}.passport-chapter span{grid-area:goal;font-size:13px;line-height:1.5}.passport-rating{white-space:nowrap;color:#936000;letter-spacing:1px;grid-area:stars;font-size:17px}.passport-chapter:disabled{cursor:default;color:#536665;opacity:1;background:#edf1ed}.passport-chapter:disabled .passport-rating{color:#536665;font-size:12px}#passport-note{margin:10px 0 0;font-size:12px;line-height:1.5}#passport-dialog button:focus-visible,.passport-open:focus-visible{outline-offset:2px;outline:3px solid #db5e29}.journey-result p{color:inherit;margin:8px 0;font-size:14px;line-height:1.5}.journey-result button{color:#173d47;background:#ffdb68;border:2px solid #dba934;border-radius:8px;width:100%;min-height:60px;margin:4px 0;font-size:15px;font-weight:800}@media (height<=520px) and (orientation:landscape){#passport-dialog{border-radius:18px;padding:10px 14px}.passport-header{margin-bottom:6px!important}#passport-title{font-size:20px}#passport-chapters{grid-template-columns:1fr 1fr;gap:6px}.passport-chapter{min-height:76px;padding:8px 10px}.passport-tabs{gap:6px;margin-bottom:6px}#passport-note{margin-top:6px}.journey-result p{margin:4px 0;font-size:12px;line-height:1.4}}html.art-r4.art-r5 .sky-decor{background-image:url(../art/r5/platform.webp);background-position:50%}html.art-r4.art-r5 .card-image{background:#d8f4ff;border-right:2px dashed #1479b8}html.art-r4.art-r5 .card-image>img{width:100%;height:100%;padding:8px;object-fit:contain!important;object-position:center!important}html.art-r4.art-r5 .card-image .vehicle-symbol{display:none}html.art-r4.art-r5 .card-action{color:#143b61!important;background:#fff!important;border:2px solid #1479b8!important;box-shadow:0 3px #1479b8!important}html.art-r4.art-r5 .header-tools .passport-open{text-align:left;grid-template-rows:1fr 1fr;grid-template-columns:48px 1fr;align-items:center;column-gap:6px;padding:3px 10px;line-height:1.2;display:grid}html.art-r4.art-r5 .header-tools .passport-open>img{object-fit:contain;grid-row:1/3;width:44px;height:54px}html.art-r4.art-r5 .student-card-name{grid-column:2;font-size:10px;display:block}html.art-r4.art-r5 .coach-stage>img{object-fit:contain;max-height:100%}html.art-r4.art-r5 #math-lesson{background:#bfeaff url(../art/r5/platform.webp) 50%/cover}html.art-r4.art-r5 #math-lesson .dispatch-body{background:0 0;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:12px 22px;display:flex;position:relative}html.art-r4.art-r5 #math-lesson .dispatch-body>*{flex-shrink:0}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-instruction,html.art-r4.art-r5 #math-lesson[data-phase=intro] .dispatch-equation{display:none}html.art-r4.art-r5 #math-lesson #dispatch-title{color:#143b61;text-shadow:0 2px #fff;margin:8px 0;font-size:clamp(24px,3vw,38px)}html.art-r4.art-r5 #math-lesson .dispatch-route{background:#fff;border:2px solid #1479b8;border-radius:20px;align-self:center;gap:18px;padding:7px 15px}html.art-r4.art-r5 #math-lesson .dispatch-instruction{color:#143b61;background:#fffffff2;border-radius:14px;align-self:center;max-width:620px;margin:5px 0;padding:7px 14px;font-size:15px}html.art-r4.art-r5 #math-lesson .dispatch-train{align-items:center;gap:12px;width:100%;max-width:900px;min-height:166px;margin:12px auto}html.art-r4.art-r5 #math-lesson .dispatch-carriage{box-shadow:none;isolation:isolate;background:0 0;border:0;border-radius:0;max-width:430px;min-height:160px;padding:0 8px 35px;position:relative}html.art-r4.art-r5 #math-lesson .dispatch-carriage h2{z-index:2;background:#fff;border:2px solid #1479b8;border-radius:16px;margin:0 0 8px;padding:4px 12px;font-size:15px;position:relative}html.art-r4.art-r5 #math-lesson .dispatch-carriage strong{font-size:30px;line-height:1}html.art-r4.art-r5 #math-lesson .carriage-shell{object-fit:fill;z-index:3;pointer-events:none;width:104%;height:145px;position:absolute;bottom:0;left:-2%}html.art-r4.art-r5 #math-lesson .dispatch-seats{z-index:2;grid-template-columns:repeat(5,minmax(40px,1fr));align-items:end;gap:0;margin-top:16px;padding:0 18% 0 5%;display:grid;position:relative}html.art-r4.art-r5 #math-lesson .dispatch-seats>span{background:0 0;border:0;min-height:72px;line-height:1;overflow:visible}html.art-r4.art-r5 #math-lesson .dispatch-seats .empty{visibility:hidden}html.art-r4.art-r5 #math-lesson .passenger-figure{background:0 0;border:0;flex:none;width:48px;height:76px;display:block;position:relative;overflow:visible}html.art-r4.art-r5 #math-lesson .passenger-figure>img{object-fit:contain;width:48px;height:76px;max-height:none;display:block;position:absolute;inset:0}html.art-r4.art-r5 #math-lesson .passenger-step{opacity:0}html.art-r4.art-r5 #math-lesson .is-walking>img:first-child{animation:.24s step-end infinite walk-first}html.art-r4.art-r5 #math-lesson .is-walking>.passenger-step{animation:.24s step-end infinite walk-second}@keyframes walk-first{0%,to{opacity:1}50%{opacity:0}}@keyframes walk-second{0%,to{opacity:0}50%{opacity:1}}html.art-r4.art-r5 #math-lesson .dispatch-wheels{display:none}html.art-r4.art-r5 #math-lesson .dispatch-coupler{writing-mode:initial;background:#143b61;border:3px solid #fff;border-radius:8px;flex:none;width:32px;height:14px;font-size:0}html.art-r4.art-r5 #math-lesson .uncoupled .dispatch-coupler{background:0 0;border:2px dashed #1479b8;width:54px}html.art-r4.art-r5 #math-lesson .stay-sign{z-index:3;background:#fff6ce;border:2px solid #1479b8;border-radius:10px;padding:4px 10px;font-size:13px;font-weight:900;position:absolute;bottom:-18px;right:4px}html.art-r4.art-r5 #math-lesson .platform-queue{background:linear-gradient(#0000 90%,#1479b8 90%);flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:7px;width:fit-content;max-width:100%;min-height:80px;margin:5px auto;padding:0 10px;display:flex}html.art-r4.art-r5 #math-lesson .platform-queue:empty{display:none}html.art-r4.art-r5 #math-lesson .dispatch-equation{background:#fff6d4;border:3px solid #1479b8;border-radius:22px;align-self:center;margin:9px 0;padding:12px 24px;font-size:clamp(28px,4vw,46px);line-height:1.25;box-shadow:0 4px #1479b8}html.art-r4.art-r5 #math-lesson[data-phase=subtract] .dispatch-equation{background:#fff;animation:.5s ease-out question-flip}@keyframes question-flip{0%{transform:perspective(600px)rotateY(70deg)}to{transform:perspective(600px)rotateY(0)}}html.art-r4.art-r5 #math-lesson .dispatch-feedback{color:#143b61;background:#fff;border-radius:12px;align-self:center;padding:6px 12px;font-weight:700}html.art-r4.art-r5 #math-lesson .dispatch-coach{text-align:left;background:#fff;border:3px solid #1479b8;border-radius:24px;width:100%;max-width:600px;min-height:104px;margin:auto auto 4px;padding:8px 18px 8px 105px;font-size:16px;position:relative}html.art-r4.art-r5 #math-lesson .dispatch-coach>img{object-fit:contain;width:84px;height:116px;position:absolute;bottom:0;left:8px}html.art-r4.art-r5 #math-lesson .coach-cheer{opacity:0}html.art-r4.art-r5 #math-lesson[data-phase=done] .dispatch-coach>img:first-child{animation:.55s step-end 3 flag-first}html.art-r4.art-r5 #math-lesson[data-phase=done] .coach-cheer{animation:.55s step-end 3 flag-second}@keyframes flag-first{50%{opacity:0}}@keyframes flag-second{50%{opacity:1}}html.art-r4.art-r5 #math-lesson .math-save{background:#fff;padding:4px 12px}html.art-r4.art-r5 #math-lesson:is([data-phase=intro],[data-phase=load]) .dispatch-carriage.rear,html.art-r4.art-r5 #math-lesson:is([data-phase=intro],[data-phase=load]) .dispatch-coupler{display:none}html.art-r4.art-r5 #math-lesson .dispatch-awards{grid-template-columns:1fr 1fr;gap:15px;width:min(760px,100%);margin:12px auto;display:grid}html.art-r4.art-r5 #math-lesson .math-award{color:#143b61;background:#fff6e5 url(../art/r5/ticket.png) 50%/100% 100% no-repeat;border-radius:20px;flex-direction:column;align-items:center;gap:4px;padding:25px 12px;display:flex;position:relative}html.art-r4.art-r5 #math-lesson .math-award img{object-fit:contain;width:72px;height:72px}html.art-r4.art-r5 #math-lesson .math-award strong{font-size:22px}html.art-r4.art-r5 #math-lesson .math-award b{white-space:nowrap;font-size:clamp(20px,3vw,32px)}html.art-r4.art-r5 #math-lesson .departure-train{object-fit:contain;width:100%;height:140px;animation:1.6s ease-out train-farewell}@keyframes train-farewell{0%{transform:translate(30%)}to{transform:translate(-6%)}}html.art-r4.art-r5 #math-lesson[data-phase=done] .dispatch-completed{background:#fff;border-radius:12px;align-self:center;padding:6px 15px}html.art-r4.art-r5 body[data-game=train]{background:#c7eeff}html.art-r4.art-r5 body[data-game=train] .masthead{background:#fff9e9;border:0}html.art-r4.art-r5 body[data-game=train] .icon-button,html.art-r4.art-r5 body[data-game=train] .light{color:#143b61;background:#e1f4ff;border:2px solid #1479b8}html.art-r4.art-r5 body[data-game=train] .brand>div>span{letter-spacing:0;font-size:12px}html.art-r4.art-r5 body[data-game=train] .view-tools{color:#143b61;text-shadow:none;font-weight:900;top:8px;left:12px;right:12px}html.art-r4.art-r5 body[data-game=train] .view-tools>span{background:#fff;border-radius:10px;padding:6px}html.art-r4.art-r5 body[data-game=train] #view{color:#143b61;background:#fff;border:2px solid #1479b8;min-height:60px}html.art-r4.art-r5 body[data-game=train] .speed-instrument{text-align:center;background:#fffef3;border:4px solid #1479b8;border-radius:50%;width:112px;height:112px;padding:10px;top:84px;left:12px;box-shadow:0 5px #105781}html.art-r4.art-r5 body[data-game=train] .speed-instrument>div{justify-content:center;gap:3px}html.art-r4.art-r5 body[data-game=train] .speed-instrument strong{font-size:52px}html.art-r4.art-r5 body[data-game=train] .speed-instrument p{border:0;margin:2px 0;padding:2px;font-size:10px}html.art-r4.art-r5 body[data-game=train] .speed-instrument b{float:none}html.art-r4.art-r5 body[data-game=train] .next-station{color:#143b61;text-align:center;background:#fffef3;border:4px solid #1479b8;border-radius:28px;width:112px;min-height:112px;padding:9px 4px;top:84px;right:12px;box-shadow:0 5px #105781}html.art-r4.art-r5 body[data-game=train] .next-station :is(small,strong,span){color:#143b61}html.art-r4.art-r5 body[data-game=train] .next-station b{margin:1px;font-size:18px}html.art-r4.art-r5 body[data-game=train] .next-station:before{content:"";pointer-events:none;background:url(../art/r5/station.png) 50%/contain no-repeat;width:30px;height:30px;position:absolute;top:-22px;left:calc(50% - 15px)}html.art-r4.art-r5 #math-lesson .dispatch-route [aria-current]:before{content:"";vertical-align:middle;background:url(../art/r5/flag.png) 50%/contain no-repeat;width:22px;height:22px;display:inline-block}html.art-r4.art-r5 body[data-game=train] .next-station strong{font-size:30px}html.art-r4.art-r5 body[data-game=train] .route-progress{background:#b9e3fa;height:5px;margin:4px 8px}html.art-r4.art-r5 body[data-game=train] .route-progress i{background:#f46b27;height:5px}html.art-r4.art-r5 body[data-game=train] .signal-instrument{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:18px;width:auto;padding:7px 10px;top:auto;bottom:34px;right:12px}html.art-r4.art-r5 body[data-game=train] .signal-instrument :is(small,span){color:#143b61}html.art-r4.art-r5 body[data-game=train] .signal-instrument small{display:none}html.art-r4.art-r5 body[data-game=train] .view-footer{color:#143b61;text-shadow:none;background:#ffffffe0;padding:4px 10px;bottom:0;left:0;right:0}html.art-r4.art-r5 body[data-game=train] .coach{border-top:3px solid #1479b8;min-height:72px;padding:4px 15px}html.art-r4.art-r5 body[data-game=train] .coach-avatar{width:48px;height:64px;display:block}html.art-r4.art-r5 body[data-game=train] .coach-label{gap:6px}html.art-r4.art-r5 body[data-game=train] .coach-label>b{display:none}html.art-r4.art-r5 body[data-game=train] .child-console{background:#fff6df;grid-template-columns:repeat(6,minmax(60px,1fr));gap:8px;padding:8px 12px}html.art-r4.art-r5 body[data-game=train] .child-console>button{color:#143b61;gap:3px;min-height:72px;font-size:15px;box-shadow:0 3px #1479b8}html.art-r4.art-r5 body[data-game=train] .child-console>button>span{font-size:22px}html.art-r4.art-r5 body[data-game=train] #child-prepare{background:#fff;order:0}html.art-r4.art-r5 body[data-game=train] #child-go{background:#fff;order:1}html.art-r4.art-r5 body[data-game=train] #child-help-stop{background:#fff;order:2}html.art-r4.art-r5 body[data-game=train] #child-doors{background:#e4f3ff;order:3}html.art-r4.art-r5 body[data-game=train] #child-stop{background:#e4f3ff;order:4}html.art-r4.art-r5 body[data-game=train] #child-emergency{color:#143b61;background:#fff;order:5;max-width:90px;font-size:12px;border:3px solid #ce6947!important;border-top-width:8px!important}html.art-r4.art-r5 body[data-game=train] .child-console .coach-next{opacity:1;border:3px solid #b76b00;box-shadow:0 4px #b76b00;background:#ffd344!important;outline:0!important}html.art-r4.art-r5 body[data-game=train] .child-console .coach-dim{opacity:1;filter:none}html.art-r4.art-r5 body[data-game=train] .child-note{order:6;display:none}html.art-r4.art-r5 body[data-game=train] .console{color:#143b61;background:#fff6e5}html.art-r4.art-r5 body[data-game=train] .console :is(button,.direction){color:#143b61;background:#d4eeff}html.art-r4.art-r5 body[data-game=train] .console :is(small,span,strong){color:#143b61}html.art-r4.art-r5 .key-help{display:none}@media (width<=650px) and (orientation:portrait){html.art-r4.art-r5 .card-image>img{padding:3px}html.art-r4.art-r5 #math-lesson .dispatch-body{padding:6px 12px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-route{padding:4px 12px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) #dispatch-title{margin:4px 0;font-size:24px}html.art-r4.art-r5 #math-lesson .dispatch-train{flex-direction:column;gap:5px;min-height:0;margin:6px auto}html.art-r4.art-r5 #math-lesson .dispatch-carriage{flex:none;width:100%;min-height:166px;padding:0 7px 29px}html.art-r4.art-r5 #math-lesson .dispatch-carriage h2{margin:0 0 3px;padding:3px 10px;font-size:13px}html.art-r4.art-r5 #math-lesson .dispatch-carriage strong{font-size:25px}html.art-r4.art-r5 #math-lesson .carriage-shell{height:144px}html.art-r4.art-r5 #math-lesson .dispatch-coupler{width:18px;height:8px}html.art-r4.art-r5 #math-lesson .uncoupled .dispatch-coupler{width:18px;height:14px;margin:0}html.art-r4.art-r5 #math-lesson .uncoupled .rear{align-self:flex-end;width:88%}html.art-r4.art-r5 #math-lesson .dispatch-coach{flex-shrink:0;min-height:90px;padding:8px 10px 8px 83px;font-size:13px}html.art-r4.art-r5 #math-lesson .dispatch-coach>img{width:68px;height:94px}html.art-r4.art-r5 #math-lesson .dispatch-equation{margin:5px 0;padding:8px 16px;font-size:30px}html.art-r4.art-r5 #math-lesson .dispatch-instruction{padding:5px 9px;font-size:13px}html.art-r4.art-r5 #math-lesson .dispatch-feedback{margin:4px 0;padding:5px 8px;font-size:12px}html.art-r4.art-r5 #math-lesson .dispatch-awards{gap:8px;margin:6px auto}html.art-r4.art-r5 #math-lesson .math-award{gap:3px;padding:18px 5px}html.art-r4.art-r5 #math-lesson .math-award img{width:52px;height:52px}html.art-r4.art-r5 #math-lesson .math-award strong,html.art-r4.art-r5 #math-lesson .math-award b{font-size:18px}html.art-r4.art-r5 #math-lesson .departure-train{height:120px}html.art-r4.art-r5 body[data-game=train] .brand h1{font-size:16px}html.art-r4.art-r5 body[data-game=train] .brand>div>span{display:none}html.art-r4.art-r5 body[data-game=train] .child-console{grid-template-columns:repeat(3,1fr);gap:7px;padding:7px 10px}html.art-r4.art-r5 body[data-game=train] .child-console>button{flex-direction:row;min-height:60px;font-size:13px}html.art-r4.art-r5 body[data-game=train] #child-emergency{max-width:none}html.art-r4.art-r5 body[data-game=train] .coach{gap:10px;min-height:64px;padding:2px 10px}html.art-r4.art-r5 body[data-game=train] .coach p{font-size:14px}html.art-r4.art-r5 body[data-game=train] .coach-label>span{display:none}}@media (height<=700px) and (orientation:portrait){html.art-r4.art-r5 #math-lesson .dispatch-body{padding:3px 8px}html.art-r4.art-r5 #math-lesson .dispatch-instruction,html.art-r4.art-r5 #math-lesson .dispatch-feedback,html.art-r4.art-r5 #math-lesson .math-save{display:none}html.art-r4.art-r5 #math-lesson .dispatch-coach{min-height:75px}html.art-r4.art-r5 #math-lesson .dispatch-carriage{min-height:146px}html.art-r4.art-r5 #math-lesson .carriage-shell{height:126px}html.art-r4.art-r5 #math-lesson[data-phase=split] .dispatch-coach,html.art-r4.art-r5 #math-lesson[data-phase=subtract] .dispatch-coach{display:none}}@media (height<=520px) and (orientation:landscape){html.art-r4.art-r5 #math-lesson .dispatch-body{padding:0 10px}html.art-r4.art-r5 #math-lesson #dispatch-title{margin:2px;font-size:18px}html.art-r4.art-r5 #math-lesson .dispatch-route,html.art-r4.art-r5 #math-lesson .dispatch-instruction,html.art-r4.art-r5 #math-lesson .dispatch-feedback,html.art-r4.art-r5 #math-lesson .dispatch-coach,html.art-r4.art-r5 #math-lesson .math-save{display:none}html.art-r4.art-r5 #math-lesson .dispatch-train{gap:6px;min-height:100px;margin:0}html.art-r4.art-r5 #math-lesson .dispatch-carriage{max-width:430px;min-height:100px;padding:0 4px 13px}html.art-r4.art-r5 #math-lesson .dispatch-carriage h2{margin:0;padding:2px 8px;font-size:11px}html.art-r4.art-r5 #math-lesson .dispatch-carriage strong{font-size:20px}html.art-r4.art-r5 #math-lesson .dispatch-seats{grid-template-columns:repeat(5,minmax(40px,1fr));gap:0;margin-top:0;padding:0}html.art-r4.art-r5 #math-lesson .dispatch-seats>span{min-height:60px}html.art-r4.art-r5 #math-lesson .passenger-figure,html.art-r4.art-r5 #math-lesson .passenger-figure>img{width:40px;height:60px}html.art-r4.art-r5 #math-lesson .carriage-shell{height:85px}html.art-r4.art-r5 #math-lesson .dispatch-coupler{width:16px}html.art-r4.art-r5 #math-lesson .uncoupled .dispatch-coupler{width:26px;margin:0}html.art-r4.art-r5 #math-lesson .stay-sign{padding:2px 6px;font-size:10px;bottom:-4px}html.art-r4.art-r5 #math-lesson .dispatch-equation{margin:3px 0;padding:4px 18px;font-size:25px;line-height:1}html.art-r4.art-r5 #math-lesson .platform-queue{gap:2px;min-height:60px;margin:0;position:absolute;top:50px;right:20px}html.art-r4.art-r5 #math-lesson:is([data-phase=intro],[data-phase=load]) .dispatch-train{width:55%;margin-top:6px}html.art-r4.art-r5 #math-lesson .dispatch-awards{gap:8px;max-width:500px;margin:3px auto}html.art-r4.art-r5 #math-lesson .math-award{grid-template-columns:40px 1fr;gap:2px;padding:9px 5px;display:grid}html.art-r4.art-r5 #math-lesson .math-award img{grid-row:1/3;width:40px;height:48px}html.art-r4.art-r5 #math-lesson .math-award strong{font-size:14px}html.art-r4.art-r5 #math-lesson .math-award b{font-size:17px}html.art-r4.art-r5 #math-lesson .departure-train{height:55px}html.art-r4.art-r5 #math-lesson[data-phase=done] .dispatch-completed{display:none}html.art-r4.art-r5 body[data-game=train] #app{grid-template-rows:60px minmax(0,1fr) 60px;grid-template-columns:minmax(0,1fr) 242px;gap:0;display:grid}html.art-r4.art-r5 body[data-game=train] .masthead{grid-area:1/1/auto/3}html.art-r4.art-r5 body[data-game=train] .scene{grid-area:2/1/4;min-height:0}html.art-r4.art-r5 body[data-game=train] .coach{grid-area:3/2;gap:6px;min-height:60px;padding:2px 8px}html.art-r4.art-r5 body[data-game=train] .coach-avatar{width:40px;height:56px}html.art-r4.art-r5 body[data-game=train] .coach-label>span{display:none}html.art-r4.art-r5 body[data-game=train] .coach p{font-size:11px}html.art-r4.art-r5 body[data-game=train] .child-console{grid-area:2/2;grid-template-rows:repeat(2,minmax(60px,1fr));grid-template-columns:repeat(3,minmax(60px,1fr));gap:6px;padding:6px}html.art-r4.art-r5 body[data-game=train] .child-console>button{min-height:60px;font-size:10px}html.art-r4.art-r5 body[data-game=train] #child-emergency{font-size:9px}html.art-r4.art-r5 body[data-game=train] .view-tools{top:4px}html.art-r4.art-r5 body[data-game=train] .view-tools>span{display:none}html.art-r4.art-r5 body[data-game=train] #view{z-index:3;min-height:60px;margin-left:auto;font-size:10px;position:relative}html.art-r4.art-r5 body[data-game=train] .speed-instrument,html.art-r4.art-r5 body[data-game=train] .next-station{border-width:3px;width:96px;height:96px;min-height:96px;top:8px}html.art-r4.art-r5 body[data-game=train] .next-station{top:auto;bottom:27px;right:6px}html.art-r4.art-r5 body[data-game=train] .speed-instrument strong{font-size:44px}html.art-r4.art-r5 body[data-game=train] .signal-instrument{padding:4px;bottom:27px;right:110px}html.art-r4.art-r5 body[data-game=train] .signal-instrument span{display:none}}@media (prefers-reduced-motion:reduce){html.art-r4.art-r5 #math-lesson *{transition:none!important;animation:none!important}}@media (width<=360px) and (height<=700px) and (orientation:portrait){html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-carriage{min-height:100px;padding:0 4px 13px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-carriage h2{margin:0;padding:2px 8px;font-size:11px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-carriage strong{font-size:20px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-seats{grid-template-columns:repeat(5,minmax(40px,1fr));margin-top:0;padding:0 12% 0 3%}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-seats>span{min-height:60px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .passenger-figure,html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .passenger-figure>img{width:40px;height:60px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .carriage-shell{height:85px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) .dispatch-equation{margin:3px 0;padding:5px 15px;font-size:28px}html.art-r4.art-r5 #math-lesson:is([data-phase=split],[data-phase=subtract]) #dispatch-title{margin:4px 0;font-size:20px}}html.art-r4.art-r5.art-r6{--ink:#143b61;--blue:#1479b8;--orange:#f46b27;--yellow:#ffd344}html.art-r4.art-r5.art-r6 .sky-decor{background-image:url(../art/r6/coast.webp)}html.art-r4.art-r5.art-r6 .academy-nav{border-bottom:3px solid var(--blue);background:#fff;gap:4px}html.art-r4.art-r5.art-r6 .academy-nav a[aria-current]{background:#ffd344;border:2px solid #bd8c06}html.art-r4.art-r5.art-r6 .academy-nav a{border:2px solid #0000}html.art-r4.art-r5.art-r6 .academy-nav a img{object-fit:contain;width:42px;height:32px}html.art-r4.art-r5.art-r6 .academy-nav a:first-child img{height:38px}html.art-r4.art-r5.art-r6 .brand-wordmark{object-fit:contain}html.art-r4.art-r5.art-r6 :is(#academy-start,.start-button,.primary-button,.primary,.child-action),html.art-r4.art-r5.art-r6 #math-lesson .dispatch-controls button,html.art-r4.art-r5.art-r6 body[data-game=car] .touch-controls .throttle{color:#0c2742!important}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-stars :is(span,small){color:#0c2742}html.art-r4.art-r5.art-r6 body[data-game=car]:not(.driving){background:#a8dff5 url(../art/r6/coast.webp) 50%/cover fixed;min-height:0}html.art-r4.art-r5.art-r6 body[data-game=car]:not(.driving) #world{opacity:0;pointer-events:none}html.art-r4.art-r5.art-r6 body[data-game=car] :is(.topbar,.vignette){display:none}html.art-r4.art-r5.art-r6 body[data-game=car] #menu{height:calc(100dvh - var(--academy-nav-height));grid-template-rows:minmax(200px,1fr) 220px;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:12px;max-width:1440px;min-height:0;margin:0 auto;padding:14px 24px 20px;display:grid;position:relative;inset:auto}html.art-r4.art-r5.art-r6 body[data-game=car] #menu.hidden{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] #menu :is(.intro,.vehicle-panel,.trip-panel){width:auto;min-width:0;max-width:none;position:relative;inset:auto}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .intro{pointer-events:auto;flex-direction:column;min-height:0;padding:0;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .intro :is(.eyebrow,.intro-copy,.route-description,.route-note,h1){display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector{background:0 0;border:0;flex-shrink:0;order:2;align-self:flex-start;gap:6px;margin:0;display:flex;position:relative;inset:auto}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector button{min-height:60px;color:var(--ink);border:2px solid var(--blue);background:#fff;border-radius:8px;padding:5px 12px;font-size:14px}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector .selected{background:var(--yellow)}html.art-r4.art-r5.art-r6 .car-hero{isolation:isolate;flex:1;min-height:130px;position:relative}html.art-r4.art-r5.art-r6 .car-preview-image{object-fit:contain;filter:drop-shadow(0 7px #143b6125);width:76%;height:80%;position:absolute;bottom:8px;left:0}html.art-r4.art-r5.art-r6 .car-menu-coach{object-fit:contain;width:25%;height:88%;position:absolute;bottom:8px;right:5%}html.art-r4.art-r5.art-r6 .car-hero-label{border:3px solid var(--blue);color:var(--ink);background:#fff;border-radius:18px;padding:8px 16px;line-height:1.25;position:absolute;top:0;left:0;box-shadow:0 4px #105781}html.art-r4.art-r5.art-r6 .car-hero-label h2{margin:0;font-size:24px}html.art-r4.art-r5.art-r6 .car-hero-label p{margin:2px 0 0;font-size:13px}html.art-r4.art-r5.art-r6 .car-hero #settings-button{border:2px solid var(--blue);min-width:60px;min-height:60px;color:var(--ink);background:#fff;border-radius:8px;position:absolute;top:0;right:0}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .vehicle-panel{border:3px solid var(--blue);background:#fff;border-radius:24px;flex-direction:column;justify-content:center;gap:12px;padding:16px;display:flex;box-shadow:0 5px #105781}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-panel :is(.vehicle-heading,.vehicle-stats){display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-options{grid-template-columns:repeat(5,minmax(60px,1fr));gap:4px;margin:0;display:grid}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot{width:100%;min-width:60px;height:60px;box-shadow:none;background:#fff;border:2px solid #0000;margin:0;position:relative;border-radius:8px!important}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot:before{content:"";background:var(--paint);border:2px solid #143b6180;border-radius:50%;position:absolute;inset:12px}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot.selected{border-color:var(--blue);background:#e4f5ff}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot.selected:after{content:"✓";color:var(--ink);background:#ffd344;border-radius:50%;width:24px;height:24px;font-size:20px;line-height:24px;position:absolute;bottom:0;right:1px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choices{grid-template-columns:repeat(2,minmax(60px,1fr));gap:8px;margin:0;display:grid}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice{border:2px solid var(--blue);min-height:86px;color:var(--ink);background:#edf8ff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice.selected{background:#ffd344;border-color:#ad7d00}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice img{object-fit:contain;width:100%;height:56px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice span{white-space:nowrap;font-size:13px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .trip-panel{border:3px solid var(--blue);background:#fff;border-radius:24px;grid-column:1/-1;padding:12px 16px;box-shadow:0 5px #105781}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading{margin:0 0 8px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading h2{color:var(--ink);font-size:18px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading>span{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-bottom{align-items:stretch;gap:16px;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .map-choices{flex:1;grid-template-columns:repeat(4,minmax(60px,1fr));gap:8px;display:grid}html.art-r4.art-r5.art-r6 body[data-game=car] .map-card{border:2px solid var(--blue);min-width:60px;min-height:95px;color:var(--ink);background:#e9f7ff;border-radius:8px;overflow:hidden}html.art-r4.art-r5.art-r6 body[data-game=car] .map-art{height:65px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-art img{object-fit:cover;width:100%;height:100%;display:block}html.art-r4.art-r5.art-r6 body[data-game=car] .map-number{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption{padding:4px 6px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption strong{font-size:13px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption>span{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .departure{border:0;flex-direction:column;justify-content:center;gap:8px;width:220px;padding:0;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .departure :is(p,small){color:var(--ink);margin:0;font-size:12px}html.art-r4.art-r5.art-r6 body[data-game=car] .start-button{width:100%;min-height:60px;color:var(--ink);background:#f46b27;font-size:18px;border-radius:8px!important}html.art-r4.art-r5.art-r6 body[data-game=car] .menu-footer{display:none}html.art-r4.art-r5.art-r6 .drive-coach{pointer-events:none;align-items:center;gap:5px;display:flex;position:absolute;bottom:300px;right:18px}html.art-r4.art-r5.art-r6 .drive-coach img{object-fit:contain;width:68px;height:96px}html.art-r4.art-r5.art-r6 .drive-coach span{border:2px solid var(--blue);color:var(--ink);background:#fff;border-radius:12px;padding:6px 8px;font-size:13px}html.art-r4.art-r5.art-r6 #hud-stars>b img{object-fit:contain;width:38px;height:42px}html.art-r4.art-r5.art-r6 body[data-game=car] .hud{color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-route{width:190px;text-shadow:none;background:#fff;border:3px solid #1479b8;border-radius:18px;padding:8px 12px}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-route :is(strong,span){color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-top{align-items:flex-start;gap:8px}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-clock{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:12px;padding:6px}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-clock>span{color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=car] .hud-button{color:#143b61;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:2px solid #1479b8;border-radius:8px}html.art-r4.art-r5.art-r6 body[data-game=car] .drive-guide{color:#143b61;text-shadow:none;background:#fff;border:2px solid #1479b8;border-radius:14px}html.art-r4.art-r5.art-r6 body[data-game=car] .drive-message{color:#143b61;text-shadow:none;background:#fff;border-color:#1479b8}html.art-r4.art-r5.art-r6 body[data-game=car] .auto-throttle{z-index:3;color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:8px;min-width:120px;min-height:60px;position:absolute;top:210px;bottom:auto;left:12px}html.art-r4.art-r5.art-r6 body[data-game=car] .auto-throttle[aria-pressed=true]{background:#ffd344}html.art-r4.art-r5.art-r6 body[data-game=car] .mini-map{color:#143b61;background:#fff;border:3px solid #1479b8;border-radius:14px}html.art-r4.art-r5.art-r6 body[data-game=car] .mini-map>span{color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=car] .speedometer{text-shadow:none;color:#143b61;background:#fff;border:3px solid #1479b8;border-radius:22px;gap:6px;width:150px;padding:6px 12px}html.art-r4.art-r5.art-r6 body[data-game=car] .speed-number{color:#143b61;font-size:52px}html.art-r4.art-r5.art-r6 body[data-game=car] .speed-unit :is(span,b){color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=car] :is(.boost-label,.boost-meter){display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .touch-controls button{color:#143b61;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:3px solid #1479b8;border-radius:8px;box-shadow:0 4px #105781}html.art-r4.art-r5.art-r6 body[data-game=car] .touch-controls .throttle{color:#143b61;background:#f46b27}html.art-r4.art-r5.art-r6 body[data-game=car] .touch-controls i{background:#1479b8}html.art-r4.art-r5.art-r6 body[data-game=flight]{background:#b6e9ff url(../art/r6/coast.webp) 50%/cover fixed}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu{background:#b6e9ff url(../art/r6/coast.webp) 50%/cover;grid-template-columns:minmax(0,1fr) minmax(460px,1fr);gap:18px;padding:14px 24px}html.art-r4.art-r5.art-r6 body[data-game=flight]:not(.flight-playing) #flight-stage{visibility:hidden}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand{background:0 0;min-height:180px;padding:0;position:relative}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand h1{border:3px solid var(--blue);width:fit-content;max-width:100%;color:var(--ink);letter-spacing:0;background:#fff;border-radius:18px;margin:10px 0;padding:10px 16px;font-size:32px;line-height:1.2;text-shadow:none!important}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand:after{content:"";pointer-events:none;background:url(../art/r6/flight.png) 50%/contain no-repeat;position:absolute;inset:28% 24% 0 0}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand .intro{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .model-badge{color:var(--ink);z-index:2;background:#fff;border-radius:12px;padding:5px 10px;position:absolute;bottom:2px;left:8px}html.art-r4.art-r5.art-r6 .flight-coach{z-index:1;width:30%;height:64%;display:flex;bottom:4px;left:auto;right:0}html.art-r4.art-r5.art-r6 .flight-coach img{object-fit:contain;width:100%;height:100%}html.art-r4.art-r5.art-r6 .flight-coach span{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card{border-radius:24px;min-height:0;padding:14px 18px;position:relative;overflow:auto}html.art-r4.art-r5.art-r6 .flight-menu-tools{grid-template-columns:1fr 1fr;gap:8px;display:grid;position:relative}html.art-r4.art-r5.art-r6 .flight-menu-tools .parent-settings[open]{grid-column:1/-1}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card:has(.extra-activities[open])>fieldset:nth-of-type(3)>.lesson-grid{visibility:hidden}html.art-r4.art-r5.art-r6 body[data-game=flight] .extra-activities[open] .lesson-grid{z-index:2;background:#fff;grid-template-columns:repeat(4,minmax(60px,1fr));position:absolute;bottom:calc(100% + 8px);left:0;right:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-title{margin:0 0 7px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-title .tag{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card fieldset{border:0;min-width:0;margin:6px 0;padding:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card legend{margin:0 0 4px;font-size:13px;font-weight:900}html.art-r4.art-r5.art-r6 :is(.flight-map-cards,.flight-plane-cards){gap:6px;display:grid}html.art-r4.art-r5.art-r6 .flight-map-cards{grid-template-columns:repeat(4,minmax(60px,1fr))}html.art-r4.art-r5.art-r6 .flight-plane-cards{grid-template-columns:1fr 1fr}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card [data-flight-map]{border-radius:8px;flex-direction:column;align-items:center;min-width:60px;min-height:78px;padding:0;display:flex;overflow:hidden}html.art-r4.art-r5.art-r6 [data-flight-map] img{object-fit:cover;width:100%;height:56px;display:block}html.art-r4.art-r5.art-r6 [data-flight-map] strong{white-space:nowrap;padding:4px 1px;font-size:12px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card [data-flight-plane]{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:60px;padding:4px;display:flex}html.art-r4.art-r5.art-r6 [data-flight-plane] img{object-fit:contain;width:65px;height:50px}html.art-r4.art-r5.art-r6 [data-flight-plane] strong{font-size:13px}html.art-r4.art-r5.art-r6 [data-flight-plane=touring] img{filter:hue-rotate(140deg)saturate(.65)}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-grid{grid-template-columns:repeat(3,minmax(60px,1fr));gap:6px;display:grid}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card{flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:82px;display:flex;border-radius:8px!important;padding:5px!important}html.art-r4.art-r5.art-r6 .lesson-picture{object-fit:contain;width:44px;height:44px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card strong{margin:0;font-size:14px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card small{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.extra-activities,.parent-settings){margin:4px 0}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.extra-activities,.parent-settings)>summary{cursor:pointer;min-height:60px;color:var(--ink);align-items:center;font-size:12px;font-weight:700;display:flex}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.extra-activities,.parent-settings)>summary:before{content:"＋";margin-right:6px;font-size:18px}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.extra-activities,.parent-settings)[open]>summary:before{content:"－"}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card #start{border-radius:8px;min-height:60px;position:static;box-shadow:0 4px #b9430d}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card>.learning-note{margin:8px 0 0;font-size:12px;line-height:1.35}html.art-r4.art-r5.art-r6 .flying-coach{flex:none;width:50px;height:66px;display:block}html.art-r4.art-r5.art-r6 .flying-coach img{object-fit:contain;width:100%;height:100%}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-prompt{align-items:center;gap:8px;display:flex}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.flight-top,.flight-controls){color:#143b61;background:#fff;border-color:#1479b8}html.art-r4.art-r5.art-r6 body[data-game=flight] .flight-top :is(strong,span){color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=flight] .flight-top .top-actions button{color:#143b61;background:#e4f5ff;border:2px solid #1479b8;border-radius:8px}html.art-r4.art-r5.art-r6 body[data-game=flight] .telemetry,html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.flight-status,.child-cue){color:#143b61}html.art-r4.art-r5.art-r6 body[data-game=flight] .telemetry button{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:8px;min-width:60px;min-height:60px}html.art-r4.art-r5.art-r6 body[data-game=flight] .child-panel button{color:#143b61;background:#e4f5ff;border-radius:8px;box-shadow:0 4px #105781}html.art-r4.art-r5.art-r6 #math-lesson .passenger-transit{z-index:20;pointer-events:none;display:block;position:absolute}html.art-r4.art-r5.art-r6 #math-lesson .passenger-transit>img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}html.art-r4.art-r5.art-r6 #math-lesson .dispatch-train{position:relative}html.art-r4.art-r5.art-r6 #math-lesson .dispatch-train:after{content:"";z-index:0;background:repeating-linear-gradient(90deg,#fff5c7 0 10px,#ffdc6c 10px 16px);border:3px solid #1479b8;border-radius:10px;height:14px;position:absolute;top:52%;left:20%;right:20%}html.art-r4.art-r5.art-r6 #math-lesson:is([data-phase=intro],[data-phase=load]) .dispatch-train:after{display:none}html.art-r4.art-r5.art-r6 #math-lesson .dispatch-carriage{z-index:1}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done]{background:#bfeaff url(../art/r6/coast.webp) 50%/cover;border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;inset:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-top{border-bottom:3px solid var(--blue);background:#fff}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] :is(.dispatch-route,.dispatch-instruction){display:none}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-body{flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px 24px;display:flex;overflow:hidden}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] #dispatch-title{color:#143b61;text-shadow:0 3px #fff;z-index:1;margin:0;font-size:clamp(30px,5vw,56px)}html.art-r4.art-r5.art-r6 #math-lesson .celebration-stage{flex:1;width:min(900px,100%);min-height:140px;max-height:360px;position:relative}html.art-r4.art-r5.art-r6 #math-lesson .celebration-confetti{object-fit:fill;pointer-events:none;width:100%;height:64%;animation:1.8s ease-out both r6-ribbons;position:absolute;top:0;left:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .departure-train{object-fit:contain;width:64%;height:76%;animation:3s ease-in .25s both r6-depart;position:absolute;bottom:4%;left:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-coach{background:0 0;border:0;width:40%;max-width:none;height:100%;min-height:0;margin:0;padding:0;display:block;position:absolute;bottom:0;left:auto;right:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-coach>img{object-fit:contain;width:100%;height:100%;bottom:0;left:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-coach>span{display:none}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-awards{flex:none;gap:14px;width:min(760px,100%);margin:0}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award{background:#fff url(../art/r6/ticket.png) top/100% 48px no-repeat;border:3px solid #1479b8;border-radius:18px;flex-direction:column;gap:3px;padding:20px 10px 16px;display:flex;box-shadow:0 5px #105781}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-coach>img:first-child{opacity:0;animation:.5s step-end 3 r6-flag-lower}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .coach-cheer{opacity:1;animation:.5s step-end 3 r6-flag-upper}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award img{width:80px;height:80px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award strong{font-size:23px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award b{font-size:30px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-completed{border:2px solid var(--blue);background:#fff;border-radius:14px;margin:5px 0;padding:8px 18px;font-size:13px;line-height:1.4}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-controls{border-top:3px solid var(--blue);background:#fff;padding:12px}@keyframes r6-depart{0%{transform:translate(20%)}to{transform:translate(-145%)}}@keyframes r6-ribbons{0%{opacity:0;transform:translateY(-28px)}to{opacity:1;transform:translateY(0)}}@keyframes r6-flag-lower{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes r6-flag-upper{0%,49%{opacity:0}50%,to{opacity:1}}@media (width<=720px) and (orientation:portrait){html.art-r4.art-r5.art-r6 body[data-game=car] #menu{grid-template-rows:minmax(160px,1fr) 148px 242px;grid-template-columns:1fr;gap:9px;padding:10px}html.art-r4.art-r5.art-r6 .car-hero-label{padding:5px 12px}html.art-r4.art-r5.art-r6 .car-hero-label h2{font-size:20px}html.art-r4.art-r5.art-r6 .car-hero-label p{font-size:12px}html.art-r4.art-r5.art-r6 .car-preview-image{width:80%;height:86%;bottom:0;left:-3%}html.art-r4.art-r5.art-r6 .car-menu-coach{width:25%;height:85%;bottom:0;right:0}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector{align-self:center;gap:8px}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector button{padding:3px 14px;font-size:12px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .vehicle-panel{border-radius:20px;gap:4px;padding:5px 6px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choices{grid-template-columns:repeat(4,minmax(60px,1fr));gap:4px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice{gap:0;min-height:68px;padding:1px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice img{height:42px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice span{font-size:11px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .trip-panel{border-radius:20px;grid-column:1;padding:8px 10px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading{margin-bottom:5px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading h2{font-size:15px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-bottom{display:block}html.art-r4.art-r5.art-r6 body[data-game=car] .map-choices{grid-template-columns:1fr 1fr;gap:5px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-card{align-items:center;height:60px;min-height:60px;padding:0;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .map-art{flex-shrink:0;width:44%;height:60px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption strong{font-size:11px}html.art-r4.art-r5.art-r6 body[data-game=car] .departure{flex-direction:row;align-items:center;gap:10px;width:100%;margin-top:6px;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .departure p,html.art-r4.art-r5.art-r6 body[data-game=car] .departure small{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .start-button{height:60px}html.art-r4.art-r5.art-r6 .drive-coach{bottom:300px;right:10px}html.art-r4.art-r5.art-r6 .drive-coach span{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu{flex-direction:column;gap:8px;padding:10px;display:flex;overflow:auto}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand{flex:1;height:180px;min-height:180px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand .eyebrow{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand h1{z-index:2;margin:0;padding:7px 12px;font-size:24px;position:relative}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand:after{top:28%;right:22%}html.art-r4.art-r5.art-r6 body[data-game=flight] .model-badge{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card{flex:none;width:100%;padding:10px 12px;overflow:visible}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-title,html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card>.learning-note{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card fieldset{margin:3px 0}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card strong{font-size:12px}html.art-r4.art-r5.art-r6 #math-lesson .dispatch-train:after{background:repeating-linear-gradient(0deg,#fff5c7 0 10px,#ffdc6c 10px 16px);width:14px;height:47%;top:27%;left:auto;right:6%}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-body{gap:8px;padding:10px 14px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award{padding:16px 6px 14px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award img{width:64px;height:64px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award strong{font-size:18px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award b{font-size:23px}}@media (width<=360px) and (orientation:portrait){html.art-r4.art-r5.art-r6 body[data-game=car] .touch-controls{grid-template-columns:124px 60px 124px;justify-content:space-between;gap:0;display:grid;left:6px;right:6px}html.art-r4.art-r5.art-r6 body[data-game=car] :is(.steering-controls,.pedal-controls){gap:4px}html.art-r4.art-r5.art-r6 body[data-game=car] :is(.steering-controls,.pedal-controls) button{width:60px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu{grid-template-rows:minmax(96px,1fr) 138px 228px;gap:5px;padding:6px}html.art-r4.art-r5.art-r6 .car-hero{min-height:60px}html.art-r4.art-r5.art-r6 .car-hero-label h2{font-size:16px}html.art-r4.art-r5.art-r6 .car-hero-label p{font-size:10px}html.art-r4.art-r5.art-r6 .car-hero-label{border-width:2px;padding:3px 8px}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-options{gap:0}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .vehicle-panel{gap:2px;padding:3px 1px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice span{font-size:10px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice img{height:37px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu{gap:4px;padding:6px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand{height:100px;min-height:100px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand h1{padding:5px 10px;font-size:20px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card{padding:6px 8px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card [data-flight-map]{min-height:64px}html.art-r4.art-r5.art-r6 [data-flight-map] img{height:38px}html.art-r4.art-r5.art-r6 [data-flight-map] strong{font-size:10px}html.art-r4.art-r5.art-r6 [data-flight-plane] img{width:40px}html.art-r4.art-r5.art-r6 [data-flight-plane] strong{font-size:11px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card{min-height:64px}html.art-r4.art-r5.art-r6 .lesson-picture{width:32px;height:32px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card strong{font-size:11px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card legend{margin-bottom:2px;font-size:11px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award img{width:48px;height:48px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award b{font-size:20px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .celebration-stage{min-height:130px}}@media (height<=520px) and (orientation:landscape){html.art-r4.art-r5.art-r6 body[data-game=car] #menu{grid-template-rows:1fr;grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) minmax(210px,1.15fr);gap:6px;padding:6px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .trip-panel{grid-column:3;padding:6px}html.art-r4.art-r5.art-r6 .car-hero{min-height:70px}html.art-r4.art-r5.art-r6 .car-hero-label{border-width:2px;max-width:calc(100% - 63px);padding:3px 8px}html.art-r4.art-r5.art-r6 .car-hero-label h2{font-size:15px}html.art-r4.art-r5.art-r6 .car-hero-label p{font-size:10px}html.art-r4.art-r5.art-r6 .car-preview-image{width:83%;height:74%;bottom:0}html.art-r4.art-r5.art-r6 .car-menu-coach{width:29%;height:70%;bottom:0;right:-2%}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector{align-self:stretch;gap:3px}html.art-r4.art-r5.art-r6 body[data-game=car] .mode-selector button{flex:1;padding:2px;font-size:10px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .vehicle-panel{border-radius:16px;justify-content:flex-start;gap:4px;padding:4px}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-options{flex-wrap:wrap;justify-content:center;gap:0;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot{width:60px;min-width:60px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choices{grid-template-columns:1fr 1fr;gap:3px;width:100%}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice{flex-direction:row;min-height:60px;padding:1px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice img{width:50%;height:44px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice span{white-space:normal;font-size:9px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading h2{font-size:12px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-bottom{display:block}html.art-r4.art-r5.art-r6 body[data-game=car] .map-choices{grid-template-columns:1fr 1fr;gap:4px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-card{align-items:center;height:60px;min-height:60px;padding:0;display:flex}html.art-r4.art-r5.art-r6 body[data-game=car] .map-art{flex:none;width:40%;height:60px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption{padding:2px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption strong{font-size:9px}html.art-r4.art-r5.art-r6 body[data-game=car] .departure{width:100%;margin-top:6px}html.art-r4.art-r5.art-r6 body[data-game=car] .departure :is(p,small){display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .start-button{font-size:15px}html.art-r4.art-r5.art-r6 .drive-coach img{width:44px;height:60px}html.art-r4.art-r5.art-r6 .drive-coach span{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu{grid-template-columns:minmax(130px,.7fr) minmax(320px,1.5fr);gap:8px;padding:6px;display:grid;overflow:auto}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand{height:100%;min-height:160px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand h1{margin:0;padding:6px 8px;font-size:20px}html.art-r4.art-r5.art-r6 body[data-game=flight] #menu .brand .eyebrow{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card{grid-template-columns:minmax(120px,.8fr) minmax(186px,1fr);align-content:start;gap:4px 8px;padding:6px 8px;display:grid;overflow:auto}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-title{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .picture-picker:first-of-type{grid-column:1/-1}html.art-r4.art-r5.art-r6 body[data-game=flight] .picture-picker:nth-of-type(2){grid-area:2/1}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card>fieldset:nth-of-type(3){grid-area:2/2/4}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card fieldset{margin:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card legend{margin-bottom:2px;font-size:11px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card [data-flight-map]{height:60px;min-height:60px}html.art-r4.art-r5.art-r6 [data-flight-map] img{height:36px}html.art-r4.art-r5.art-r6 [data-flight-map] strong{padding:2px;font-size:10px}html.art-r4.art-r5.art-r6 .flight-plane-cards{grid-template-columns:1fr 1fr;gap:3px}html.art-r4.art-r5.art-r6 [data-flight-plane] img{width:36px;height:40px}html.art-r4.art-r5.art-r6 [data-flight-plane] strong{font-size:10px}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card [data-flight-plane]{flex-direction:column;gap:0;padding:1px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-grid{grid-template-columns:repeat(3,minmax(60px,1fr));gap:3px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card{gap:0;min-height:60px;padding:1px!important}html.art-r4.art-r5.art-r6 .lesson-picture{width:34px;height:34px}html.art-r4.art-r5.art-r6 body[data-game=flight] .lesson-card strong{font-size:10px}html.art-r4.art-r5.art-r6 body[data-game=flight] .extra-activities{margin:0}html.art-r4.art-r5.art-r6 body[data-game=flight] :is(.extra-activities,.parent-settings)>summary{min-height:60px;font-size:10px}html.art-r4.art-r5.art-r6 body[data-game=flight] .parent-settings{grid-area:3/1;margin:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card #start{grid-column:1/-1;margin:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card>.learning-note,html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card legend{display:none}html.art-r4.art-r5.art-r6 body[data-game=flight] .flight-menu-tools{grid-area:3/2;gap:4px;position:static}html.art-r4.art-r5.art-r6 body[data-game=flight] .flight-menu-tools:has(.parent-settings[open]){grid-area:auto/1/auto/-1}html.art-r4.art-r5.art-r6 body[data-game=flight] .extra-activities[open] .lesson-grid{inset:70px 8px auto}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card:has(.extra-activities[open])>.picture-picker:nth-of-type(2){visibility:hidden}html.art-r4.art-r5.art-r6 body[data-game=flight] .flight-menu-tools .parent-settings{grid-area:auto;margin:0}html.art-r4.art-r5.art-r6 body[data-game=flight] .dispatch-card #start{grid-area:3/1;font-size:15px}html.art-r4.art-r5.art-r6 .flight-coach{width:38%;height:70%;display:flex;bottom:0}html.art-r4.art-r5.art-r6 .model-badge{display:none}html.art-r4.art-r5.art-r6 .flying-coach{width:40px;height:44px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-body{grid-template-rows:38px minmax(0,1fr);grid-template-columns:40% 1fr;gap:4px 10px;padding:4px 12px;display:grid}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] #dispatch-title{grid-column:1/-1;font-size:27px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .celebration-stage{grid-area:2/1;height:100%;min-height:90px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-awards{grid-area:2/2;gap:8px;width:100%}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award{gap:1px;padding:8px 3px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award img{width:40px;height:40px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award strong{font-size:13px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .math-award b{font-size:18px}html.art-r4.art-r5.art-r6 #math-lesson[data-phase=done] .dispatch-controls{padding:4px 8px}html.art-r4.art-r5.art-r6 body[data-game=car] .camera-button{position:fixed;top:145px;bottom:auto;right:18px}html.art-r4.art-r5.art-r6 body[data-game=car] .auto-throttle{position:relative;top:auto;bottom:auto;left:auto}html.art-r4.art-r5.art-r6 .drive-coach{bottom:76px;right:90px}html.art-r4.art-r5.art-r6 body[data-game=flight] .preschool .telemetry{display:none}}@media (width<=650px) and (height<=520px) and (orientation:landscape){html.art-r4.art-r5.art-r6 body[data-game=car] #menu{grid-template-rows:144px minmax(66px,1fr);grid-template-columns:minmax(140px,.45fr) minmax(320px,1fr);gap:6px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .intro{grid-area:1/1/3}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .vehicle-panel{grid-area:1/2}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-options{grid-template-columns:repeat(5,minmax(60px,1fr));gap:0;width:100%;display:grid}html.art-r4.art-r5.art-r6 body[data-game=car] .paint-dot{width:100%}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choices{grid-template-columns:repeat(4,minmax(60px,1fr));gap:3px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice{flex-direction:column;gap:0}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice img{width:100%;height:38px}html.art-r4.art-r5.art-r6 body[data-game=car] .vehicle-choice span{font-size:9px}html.art-r4.art-r5.art-r6 body[data-game=car] #menu .trip-panel{grid-area:2/2;align-self:start;padding:4px}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-heading{display:none}html.art-r4.art-r5.art-r6 body[data-game=car] .trip-bottom{grid-template-columns:minmax(0,1fr) 70px;gap:5px;display:grid}html.art-r4.art-r5.art-r6 body[data-game=car] .map-choices{grid-template-columns:repeat(4,minmax(60px,1fr));gap:3px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-card{flex-direction:column}html.art-r4.art-r5.art-r6 body[data-game=car] .map-art{width:100%;height:34px}html.art-r4.art-r5.art-r6 body[data-game=car] .map-caption strong{font-size:9px;line-height:1.1}html.art-r4.art-r5.art-r6 body[data-game=car] .departure{width:70px;margin:0}html.art-r4.art-r5.art-r6 body[data-game=car] .start-button{justify-content:center;padding:2px;font-size:12px}html.art-r4.art-r5.art-r6 body[data-game=car] .start-button svg{display:none}}@media (prefers-reduced-motion:reduce){html.art-r4.art-r5.art-r6 #math-lesson *{transition:none!important;animation:none!important}}html.art-r4.art-r5.art-r6.art-r7 .academy-nav{z-index:30;grid-template-columns:repeat(4,minmax(60px,1fr)) minmax(60px,1.35fr);gap:0;height:64px;min-height:64px;padding:0;display:grid;position:relative}html.art-r4.art-r5.art-r6.art-r7 .academy-nav :is(a,button){box-sizing:border-box;color:#143b61;background:#fff;border:2px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:0;min-width:60px;height:60px;min-height:60px;margin:0;padding:0 3px;font:700 12px/1.2 Microsoft JhengHei,sans-serif;text-decoration:none;display:flex}html.art-r4.art-r5.art-r6.art-r7 .academy-nav a[aria-current]{background:#ffd344;border-color:#bd8c06}html.art-r4.art-r5.art-r6.art-r7 .academy-nav .passport-open{background:#ffd344;border-color:#1479b8}html.art-r4.art-r5.art-r6.art-r7 .academy-nav .passport-open img{object-fit:contain;width:30px;height:30px}html.art-r4.art-r5.art-r6.art-r7 .academy-nav .student-card-name{display:none}html.art-r4.art-r5.art-r6.art-r7 body:not([data-game]) .academy-home{grid-template-rows:62px minmax(160px,1fr) 64px minmax(210px,1.1fr);gap:8px;height:calc(100dvh - 64px);min-height:0}html.art-r4.art-r5.art-r6.art-r7 .home-header{height:62px;min-height:0}html.art-r4.art-r5.art-r6.art-r7 .home-header .star-shelf{display:none}html.art-r4.art-r5.art-r6.art-r7 .brand-wordmark{width:150px;height:60px}html.art-r4.art-r5.art-r6.art-r7 .academy-mark{display:none}html.art-r4.art-r5.art-r6.art-r7 .coach-stage img{object-fit:contain;max-height:100%}html.art-r4.art-r5.art-r6.art-r7 .academy-mission{min-height:0}html.art-r4.art-r5.art-r6.art-r7 .mission-sign{box-sizing:border-box;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:0;max-height:100%;padding:12px 16px;display:flex}html.art-r4.art-r5.art-r6.art-r7 .mission-sign h1{margin:0;font-size:clamp(17px,2vw,28px)}html.art-r4.art-r5.art-r6.art-r7 .mission-sign p{margin:2px 0}html.art-r4.art-r5.art-r6.art-r7 .mission-sign #academy-start{flex:none;width:100%;max-width:100%;min-height:60px;margin-top:4px}html.art-r4.art-r5.art-r6.art-r7 #math-lesson{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;inset:0}html.art-r4.art-r5.art-r6.art-r7 #math-lesson .dispatch-top.academy-nav{border-bottom:3px solid #1479b8;flex:none;width:100%;padding:0}html.art-r4.art-r5.art-r6.art-r7 #math-lesson .dispatch-top.academy-nav img{object-fit:contain;width:42px;height:32px}html.art-r4.art-r5.art-r6.art-r7 #safety-lesson{padding:0}html.art-r4.art-r5.art-r6.art-r7 #safety-lesson .safety-header.academy-nav{flex:none;width:100%;padding:0}html.art-r4.art-r5.art-r6.art-r7 #safety-lesson .safety-header.academy-nav img{object-fit:contain;width:42px;height:32px}html.art-r4.art-r5.art-r6.art-r7 #safety-lesson .safety-main{margin:0 12px 10px}html.art-r4.art-r5.art-r6.art-r7 #safety-lesson .safety-route{flex:none;margin:0;position:static;transform:none}html.art-r4.art-r5.art-r6.art-r7 #math-lesson[data-phase=done] .departure-train{width:59%;height:80%;animation:.7s ease-out both r7-arrive;bottom:2%;left:0}html.art-r4.art-r5.art-r6.art-r7 #math-lesson[data-phase=done] .dispatch-coach{width:39%;height:94%;right:0}html.art-r4.art-r5.art-r6.art-r7 #math-lesson[data-phase=done] .celebration-confetti{height:48%}html.art-r4.art-r5.art-r6.art-r7 #math-lesson[data-phase=done] .math-award{box-shadow:none;background:#fff url(../art/r7/panel.png) 50%/100% 100% no-repeat;border:0;border-radius:8px;padding:24px 12px}@keyframes r7-arrive{0%{transform:translate(14%)}to{transform:translate(0)}}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] :is(.touch-boost,.speed-number,.speed-unit){display:none!important}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-top{gap:8px;padding:0}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route{min-height:64px;padding:8px 12px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route strong{font-size:18px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .drive-guide{padding:7px 10px;font-size:12px;top:104px;left:12px;right:12px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .auto-throttle{min-width:112px;height:60px;font-weight:900;top:158px;left:12px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-bottom{pointer-events:none;align-items:flex-end;bottom:124px;left:12px;right:12px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .mini-map{box-sizing:border-box;width:94px;height:114px;padding:5px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .mini-map canvas{width:78px;height:78px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .speedometer{border-radius:10px;width:94px;padding:6px;position:absolute;bottom:122px;left:0}html.art-r4.art-r5.art-r6.art-r7 .speed-steps{text-align:center;flex-direction:column;gap:5px;width:100%;font:900 12px/1.2 Microsoft JhengHei,sans-serif;display:flex}html.art-r4.art-r5.art-r6.art-r7 .speed-steps div{gap:3px;height:16px;display:flex}html.art-r4.art-r5.art-r6.art-r7 .speed-steps i{background:#d3eaf5;border:1px solid #1479b8;border-radius:3px;flex:1}html.art-r4.art-r5.art-r6.art-r7 .speed-steps i.lit{background:#ffd344}html.art-r4.art-r5.art-r6.art-r7 .drive-coach{pointer-events:none;background:linear-gradient(0deg,#80d6fa 0 35%,#0000 35%);border-bottom:12px solid #1479b8;border-radius:8px 8px 20px 20px;flex-direction:column;justify-content:flex-end;align-items:center;width:110px;height:124px;display:flex;position:absolute;bottom:122px;left:auto;right:12px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach:after{content:"";background:#108ed0;border:3px solid #143b61;border-radius:7px 7px 15px 15px;width:100%;height:24px;position:absolute;bottom:-8px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach>img{object-fit:contain;width:106px;height:106px;position:static}html.art-r4.art-r5.art-r6.art-r7 .drive-coach>span{text-align:center;background:#fff;border:2px solid #1479b8;border-radius:6px;padding:3px 0;font:900 11px/1.3 Microsoft JhengHei,sans-serif;display:block;position:absolute;bottom:-35px;left:0;right:0}html.art-r4.art-r5.art-r6.art-r7 .drive-coach.turn-left>img{transform:scaleX(-1)}html.art-r4.art-r5.art-r6.art-r7 .drive-coach[data-pose=reward]>img{animation:.5s ease-out 2 r7-reward}html.art-r4.art-r5.art-r6.art-r7 .drive-coach{display:none}@keyframes r7-reward{0%,to{transform:translateY(0)}40%{transform:translateY(-6px)}}@media (width>=721px) and (height<=700px) and (orientation:landscape){html.art-r4.art-r5.art-r6.art-r7 .mission-sign #academy-story{display:none}html.art-r4.art-r5.art-r6.art-r7 .mission-sign h1{font-size:20px}}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .pause-equipment{justify-content:center;gap:8px;margin-top:12px;display:flex}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .pause-equipment :is(.camera-button,.tilt-toolbar){gap:8px;display:flex;position:static!important;inset:auto!important}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .pause-equipment .hud-button{pointer-events:auto;min-width:68px;min-height:60px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt{background:#fff4c6;border-bottom:3px solid #1479b8;align-items:center;gap:8px;min-height:92px;padding:4px 12px}html.art-r4.art-r5.art-r6.art-r7 .flying-coach{background:#80d6fa;border:3px solid #1479b8;border-radius:50%;width:82px;height:82px;overflow:hidden}html.art-r4.art-r5.art-r6.art-r7 .flying-coach img{object-fit:contain;width:100%;height:100%}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt #phase{display:none}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt p{color:#143b61;margin:0;font-size:15px;font-weight:900;line-height:1.5}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt #progress-track{position:absolute;bottom:0;left:106px;right:12px}@media (width<=720px) and (orientation:portrait){html.art-r4.art-r5.art-r6.art-r7 body:not([data-game]) .academy-home{grid-template-rows:62px minmax(190px,1fr) 64px minmax(252px,1.1fr);gap:8px;padding:0 10px 10px}html.art-r4.art-r5.art-r6.art-r7 .home-header .header-tools{gap:8px}html.art-r4.art-r5.art-r6.art-r7 .home-header .brand-wordmark{width:140px}html.art-r4.art-r5.art-r6.art-r7 .mission-sign{padding:12px}html.art-r4.art-r5.art-r6.art-r7 .mission-sign h1{font-size:20px}}@media (height<=620px) and (orientation:portrait){html.art-r4.art-r5.art-r6.art-r7 body:not([data-game]) .academy-home{grid-template-rows:0 minmax(134px,1fr) 60px minmax(198px,1.1fr);gap:6px;padding:0 8px 8px}html.art-r4.art-r5.art-r6.art-r7 .home-header{visibility:hidden;height:0}html.art-r4.art-r5.art-r6.art-r7 #home-settings{visibility:visible;z-index:6;width:60px;min-width:60px;font-size:11px;position:fixed;top:72px;right:8px}html.art-r4.art-r5.art-r6.art-r7 .mission-sign{padding:7px}html.art-r4.art-r5.art-r6.art-r7 .mission-sign h1{font-size:15px}html.art-r4.art-r5.art-r6.art-r7 .mission-sign p{margin:3px 0;font-size:11px;line-height:1.2}html.art-r4.art-r5.art-r6.art-r7 #academy-story{display:none}html.art-r4.art-r5.art-r6.art-r7 .coach-stage{padding-top:50px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route{min-height:60px;max-height:90px;padding:5px;overflow:hidden}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route strong{white-space:normal;margin:3px 0;font-size:14px;line-height:1.2}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route :is(.progress-track,#distance-label),html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .drive-guide{display:none}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .auto-throttle{min-width:94px;top:108px;left:10px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach{width:102px;height:108px;bottom:112px;right:10px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach>img{width:98px;height:98px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-bottom{bottom:104px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .speedometer{bottom:122px}}@media (height<=520px) and (orientation:landscape){html.art-r4.art-r5.art-r6.art-r7 #safety-lesson .safety-route{display:none}html.art-r4.art-r5.art-r6.art-r7 body:not([data-game]) .academy-home{grid-template-rows:0 minmax(96px,1fr) 60px;grid-template-columns:1fr 1fr;gap:6px;height:calc(100dvh - 64px);padding:6px 10px}html.art-r4.art-r5.art-r6.art-r7 .home-header{z-index:5;width:60px;height:60px;position:absolute;top:4px;right:8px}html.art-r4.art-r5.art-r6.art-r7 .home-header .academy-brand{display:none}html.art-r4.art-r5.art-r6.art-r7 .home-header .header-tools{display:block}html.art-r4.art-r5.art-r6.art-r7 #music-toggle{display:none!important}html.art-r4.art-r5.art-r6.art-r7 #home-settings{width:60px;min-width:60px;padding:0 4px;font-size:11px}html.art-r4.art-r5.art-r6.art-r7 .academy-mission{grid-area:2/1/4}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery{grid-area:2/2;padding-top:60px}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .academy-card{grid-template-rows:minmax(40px,1fr) 60px;grid-template-columns:1fr;min-width:60px;padding:0;display:grid}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .card-image{border:0;width:100%;height:100%;min-height:40px}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .card-image>img{object-fit:contain;width:100%;height:100%}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .card-copy{width:100%;min-width:60px;height:60px;padding:0}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .card-action{box-sizing:border-box;white-space:nowrap;width:100%;min-width:60px;padding:0 3px;font-size:11px}html.art-r4.art-r5.art-r6.art-r7 .vehicle-gallery .card-action b{display:none}html.art-r4.art-r5.art-r6.art-r7 .welcome{grid-area:3/2}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-route{width:150px;min-height:60px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-top{align-items:flex-start}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-clock,html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .drive-guide{display:none}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .auto-throttle{margin:0;position:absolute;top:0;left:calc(50% - 56px)}html.art-r4.art-r5.art-r6.art-r7 .drive-coach{width:100px;height:100px;bottom:16px;right:150px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach>img{width:94px;height:94px}html.art-r4.art-r5.art-r6.art-r7 .drive-coach>span{display:none}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .hud-bottom{width:78px;bottom:16px;left:168px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .mini-map{width:74px;height:86px;padding:2px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .mini-map canvas{width:58px;height:58px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=car] .speedometer{display:none}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt{min-height:64px;padding:2px 8px}html.art-r4.art-r5.art-r6.art-r7 .flying-coach{width:56px;height:56px}html.art-r4.art-r5.art-r6.art-r7 body[data-game=flight] .lesson-prompt p{font-size:12px;line-height:1.2}html.art-r4.art-r5.art-r6.art-r7 #math-lesson[data-phase=done] .math-award{padding:14px 6px}}@media (prefers-reduced-motion:reduce){html.art-r4.art-r5.art-r6.art-r7 :is(.drive-coach>img,.departure-train){animation:none!important}}html.art-r8.art-r7.art-r6.art-r5.art-r4 :is(button,a,summary){-webkit-tap-highlight-color:#ffd34455}html.art-r8.art-r7.art-r6.art-r5.art-r4 :is(button,a,summary):active{filter:brightness(.94);box-shadow:inset 0 3px #143b6140}html.art-r8.art-r7.art-r6.art-r5.art-r4 :is(button,a,summary):focus-visible{outline-offset:-4px;outline:3px solid #f46b27}html.art-r8.art-r7.art-r6.art-r5.art-r4 :is(#pause-button,body[data-game] #pause,#math-pause,#safety-pause){box-sizing:border-box!important;z-index:40!important;color:#143b61!important;background:#fff!important;border:3px solid #1479b8!important;border-radius:8px!important;width:60px!important;min-width:60px!important;height:60px!important;min-height:60px!important;margin:0!important;padding:3px!important;font:900 16px/1.2 Microsoft JhengHei,sans-serif!important;position:fixed!important;inset:76px 12px auto auto!important}html.art-r8.art-r7.art-r6.art-r5.art-r4 .academy-nav .passport-open{grid-area:1/5}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson .dispatch-route{box-sizing:border-box;gap:8px;min-height:60px;margin-right:72px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson .dispatch-top .passport-open img{width:30px;height:30px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-in-transit] .dispatch-equation{background:#fff;border-style:dashed;font-size:20px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson .dispatch-controls .next-ready,html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] #math-next{color:#0c2742;background:#f46b27;border-color:#ae470a}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] [data-dispatch=start]{color:#143b61!important;background:#fff!important;border-color:#1479b8!important}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] .departure-train{object-fit:contain;width:66%;height:94%;bottom:0;left:0}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] .dispatch-coach{width:34%;height:82%;bottom:0}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] .math-award{box-sizing:border-box;background:#fff;border:24px solid #0000;border-image:url(../art/r8/ocean-ticket.png) 22% 14% 23% fill;padding:8px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] .celebration-stage{background:url(../art/r8/platform-floor.webp) bottom/100% 25% no-repeat;border-bottom:4px solid #1479b8;border-radius:16px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson .dispatch-carriage:after{content:"";z-index:0;background:url(../art/r8/rail-strip.webp) 50%/100% 100% no-repeat;height:25px;position:absolute;bottom:-7px;left:0;right:0}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=car] .hud-top{box-sizing:border-box;padding-right:72px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=car] .hud-route{min-width:0;max-width:calc(100% - 106px)}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=car] #hud-stars{box-sizing:border-box;max-width:100px;margin-right:0}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach{background:0 0;border:0;width:116px;height:130px;display:flex;bottom:122px;right:12px}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach:after{display:none}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach>img{width:116px;height:116px;transform:none}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach>span{background:#fff;padding:4px;font-size:11px;bottom:-14px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=flight] .flight-top .top-actions{padding-right:72px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters{color:#143b61;flex:1;align-items:center;gap:14px;font-size:12px;display:flex}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters[hidden]{display:none}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters>span{align-items:center;gap:5px;display:flex}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters>span>span{gap:2px;display:flex}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters i{background:#d3eaf5;border:1px solid #1479b8;border-radius:3px;width:10px;height:16px;display:block}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters i.lit{background:#ffd344}html.art-r8.art-r7.art-r6.art-r5.art-r4 #flight-goal-count{white-space:nowrap;background:#fff3bf;border-radius:7px;padding:4px 8px}html.art-r8.art-r7.art-r6.art-r5.art-r4 .preschool #flight-status{font-size:12px;font-weight:900}html.art-r8.art-r7.art-r6.art-r5.art-r4 .preschool #child-cue{display:none}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-action #child-icon{background:url(../art/r8/coast-star.png) 50%/contain no-repeat;width:42px;height:42px;font-size:0}html.art-r8.art-r7.art-r6.art-r5.art-r4 #safety-lesson .safety-route{box-sizing:border-box;min-height:72px;padding-right:76px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=train] .masthead .top-actions{padding-right:72px}@media (width<=600px){html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters{flex-wrap:wrap;gap:6px;font-size:10px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters i{width:7px;height:12px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters>span{gap:3px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #flight-goal-count{padding:2px 4px}}@media (width<=720px) and (height>=621px) and (height<=740px) and (orientation:portrait){html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=flight] #menu .brand{flex:none;height:112px;min-height:112px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=flight] #menu .brand h1{padding:5px 10px;font-size:20px}}@media (height<=520px) and (orientation:landscape){html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=train] #app{grid-template-rows:76px minmax(0,1fr) 48px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=train] .child-console{gap:4px;padding:4px}html.art-r8.art-r7.art-r6.art-r5.art-r4 body[data-game=train] .coach{box-sizing:border-box;height:48px;min-height:0;padding:4px 12px;overflow:hidden}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach{width:94px;height:94px;bottom:12px;right:148px}html.art-r8.art-r7.art-r6.art-r5.art-r4 .drive-coach>img{width:94px;height:94px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson .dispatch-route{min-height:30px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #math-lesson[data-phase=done] .math-award{border-width:12px;padding:3px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters{gap:5px;font-size:10px}html.art-r8.art-r7.art-r6.art-r5.art-r4 #child-flight-meters i{width:7px;height:10px}}:root.art-r4{--art-blue:#1479b8;--art-ink:#143b61;--art-orange:#f46b27;--art-yellow:#ffd344;--art-white:#fff;--ink:#143b61;--academy-paper:#fff;--academy-ink:#143b61;--academy-teal:#1479b8;--academy-gold:#ffd344}html.art-r4 body{color:var(--art-ink)}html.art-r4 button,html.art-r4 a,html.art-r4 input,html.art-r4 select{touch-action:manipulation}html.art-r4 button:focus-visible,html.art-r4 a:focus-visible{outline-offset:3px;outline:4px solid #143b61}html.art-r4 :is(button,.academy-card),html.art-r4 .academy-home .welcome button,html.art-r4 .academy-home .card-action,html.art-r4 #math-lesson button{border-radius:8px!important}html.art-r4 #math-lesson[data-phase=subtract] .dispatch-controls button[data-dispatch]{color:#143b61!important;background:#fff!important;border-color:#1479b8!important;box-shadow:0 3px #105781!important}html.art-r4 #math-lesson .dispatch-seats .passenger-face{object-fit:contain;width:100%;height:100%;max-height:36px;display:block}html.art-r4 #math-lesson .dispatch-seats .occupied{background:#fff;justify-content:center;align-items:center;display:flex;overflow:hidden}html.art-r4 #math-lesson .dispatch-coupler{writing-mode:vertical-rl;letter-spacing:2px;white-space:nowrap;font-size:11px}html.art-r4 .academy-home .card-action,html.art-r4 #academy-start,html.art-r4 #safety-begin,html.art-r4 #safety-next,html.art-r4 #safety-finish,html.art-r4 #start,html.art-r4 #start-button,html.art-r4 .child-action,html.art-r4 #math-lesson .dispatch-controls button:last-child{color:#0b2942!important}html.art-r4 .done-button{min-height:60px}@media (width<=1100px),(hover:none){html.art-r4 .key-help,html.art-r4 kbd{display:none!important}}html.art-r4 .academy-nav{height:calc(64px + env(safe-area-inset-top,0px));min-height:64px}html.art-r4 body.academy-game{--academy-nav-height:calc(64px + env(safe-area-inset-top,0px))}html.art-r4 body[data-game=train] .child-console>button,html.art-r4 .academy-nav a{border-radius:8px!important}@media (width<=600px){html.art-r4 .academy-nav .passport-open{flex-direction:column;gap:0;min-width:60px;padding:0 3px}html.art-r4 .academy-nav .passport-open img{width:24px;height:24px}}html.art-r4 body:not([data-game]){background:#73c9f3 url(../art/r4/coast.webp) 50%/cover no-repeat fixed}html.art-r4 .sky-decor{display:none}html.art-r4 .academy-home{grid-template-rows:82px minmax(240px,.95fr) 64px minmax(230px,1fr);gap:12px;max-width:1320px;height:100dvh;min-height:568px;padding:0 24px 18px}html.art-r4 .home-header{gap:12px;height:82px;min-height:0}html.art-r4 .academy-brand{letter-spacing:0;gap:8px;min-width:0}html.art-r4 .academy-brand .academy-mark{width:56px;height:56px;box-shadow:none;border-radius:18px}html.art-r4 .brand-wordmark{object-fit:contain;width:170px;height:72px;display:block}html.art-r4 .academy-brand small{display:none}html.art-r4 .header-tools{gap:10px}html.art-r4 .header-tools button,html.art-r4 .header-tools .star-shelf{border:2px solid var(--art-blue);min-height:60px;color:var(--art-ink);background:#fff;border-radius:20px;box-shadow:0 4px #105781}html.art-r4 .passport-open{justify-content:center;align-items:center;gap:6px;display:inline-flex}html.art-r4 .passport-open img{object-fit:contain;width:30px;height:30px}html.art-r4 .header-tools #music-toggle{background:var(--art-yellow);min-width:60px}html.art-r4 .header-tools #home-settings{background:#fff;padding:0 16px;font-size:14px}html.art-r4 .header-tools .passport-open{background:var(--art-yellow);color:#143b61;border-color:#ba7d15}html.art-r4 .header-tools .star-shelf{box-shadow:none;gap:6px;padding:0 12px}html.art-r4 .star-shelf img{object-fit:contain;width:38px;height:38px}html.art-r4 .star-shelf strong{color:#143b61}html.art-r4 .academy-mission{background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr);align-items:stretch;gap:20px;padding:0;display:grid;position:relative}html.art-r4 .mission-sign{border:3px solid var(--art-blue);background:#ffffffef;border-radius:28px;align-self:center;padding:18px 22px 16px;position:relative;overflow:hidden;box-shadow:0 6px #105781,0 8px 20px #143b6120}html.art-r4 .mission-sign:before{content:"";pointer-events:none;background:#fff url(../art/r4/panel.png) 50%/cover no-repeat;height:12px;display:block;position:absolute;top:0;left:0;right:0}html.art-r4 .coach-intro{letter-spacing:2px;color:#1479b8;margin:2px 0 7px;font-size:13px;font-weight:900}html.art-r4 .academy-mission h1{letter-spacing:0;color:var(--art-ink);text-shadow:none;margin:0 0 8px;font-size:clamp(22px,2.5vw,32px);line-height:1.25}html.art-r4 #academy-story{color:var(--art-ink);font-size:15px;line-height:1.5}html.art-r4 #academy-route{color:#346184;margin:10px 0 6px;font-size:12px}html.art-r4 #academy-record{color:#143b61;margin:5px 0 10px;font-size:13px}html.art-r4 #academy-start{background:var(--art-orange);color:#143b61;text-align:left;border:2px solid #b9430d;border-radius:18px;grid-area:auto;justify-content:space-between;align-items:center;width:100%;min-width:60px;min-height:64px;padding:10px 18px;font-size:19px;display:flex;box-shadow:0 4px #b9430d}html.art-r4 #academy-start:after{content:"→";padding-left:8px;font-size:27px}html.art-r4 .coach-stage{isolation:isolate;justify-content:center;align-items:center;min-height:0;display:flex;position:relative}html.art-r4 .coach-stage>img{object-fit:contain;filter:drop-shadow(0 8px 1px #143b6124);max-width:100%;height:96%;position:absolute;bottom:8%}html.art-r4 .coach-name{color:#143b61;white-space:nowrap;background:#fff;border:3px solid #1479b8;border-radius:18px;padding:5px 18px 6px;font-size:14px;font-weight:900;position:absolute;bottom:0}html.art-r4 .welcome{align-items:stretch;gap:12px}html.art-r4 .welcome button{justify-content:center;align-items:center;gap:8px;display:flex;border:3px solid var(--art-blue)!important;color:#143b61!important;background:#fff!important;border-radius:20px!important;min-height:60px!important;padding:4px 16px!important;font-size:16px!important;box-shadow:0 4px #105781!important}html.art-r4 .welcome button:before{content:"";background:50%/contain no-repeat;flex-shrink:0;width:42px;height:42px}html.art-r4 .welcome #safety-start:before{background-image:url(../art/r4/signal.png)}html.art-r4 .welcome #math-practice:before{background-image:url(../art/r4/train.png)}html.art-r4 .vehicle-gallery{grid-template-rows:1fr;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:0;display:grid}html.art-r4 .academy-card{background:#fff;border:3px solid #1479b8;border-radius:24px;grid-template-columns:44% minmax(0,1fr);min-height:0;transition:transform .15s;display:grid;overflow:hidden;box-shadow:0 6px #105781}html.art-r4 .academy-card:hover{transform:translateY(-3px)}html.art-r4 .academy-card:active{transform:translateY(3px);box-shadow:0 2px #105781}html.art-r4 .card-image{background:#b4dbef;border-right:2px dashed #1479b8;flex:none;min-width:0;min-height:0;position:relative}html.art-r4 .card-image img{object-fit:cover;filter:none;width:100%;height:100%;object-position:center!important}html.art-r4 .card-image:after{display:none}html.art-r4 .card-image .vehicle-symbol{background:#fff;border:2px solid #1479b8;border-radius:18px;width:60px;height:60px;padding:3px;animation:none;display:block;position:absolute;top:8px;left:8px;box-shadow:0 3px #105781}html.art-r4 .vehicle-symbol img{filter:none;object-fit:contain!important}html.art-r4 .card-stars{box-shadow:none;background:#fff;border:2px solid #e7a71f;padding:4px 8px;font-size:13px;inset:auto auto 9px 8px}html.art-r4 .card-copy{flex-direction:column;justify-content:center;align-items:stretch;min-width:0;padding:14px 12px;display:flex}html.art-r4 .card-english{letter-spacing:1px;color:#1479b8;font-size:12px;font-weight:900}html.art-r4 .card-copy h2{color:#143b61;letter-spacing:0;margin:5px 0 7px;font-size:26px;line-height:1.25}html.art-r4 .card-copy p{color:#346184;margin:0 0 12px;font-size:13px;line-height:1.5}html.art-r4 .card-action{text-shadow:none;background:#f46b27;border:2px solid #b9430d;border-radius:16px;justify-content:space-between;gap:4px;min-height:60px;padding:0 10px;font-size:16px;box-shadow:0 4px #b9430d;color:#143b61!important}html.art-r4 .card-action b{font-size:22px}html.art-r4 #math-lesson{color:#143b61;background:#fff;border:3px solid #1479b8;border-radius:26px;width:min(1040px,100vw - 16px);height:min(790px,100dvh - 16px)}html.art-r4 #math-lesson::backdrop,html.art-r4 #passport-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#143b6173}html.art-r4 .dispatch-top{color:#143b61;background:#fff;border-bottom:3px solid #1479b8;padding:2px 8px}html.art-r4 .dispatch-body{background:linear-gradient(#ffffffed 0 8%,#ffffffba 50%,#ffffff20),url(../art/r4/coast.webp) bottom/cover;flex-direction:column;justify-content:center;padding:12px 24px;display:flex;position:relative}html.art-r4 .dispatch-route{flex-shrink:0}html.art-r4 .dispatch-route [aria-current]{color:#b9430d}html.art-r4 .dispatch-instruction{color:#143b61;max-width:720px;margin:4px auto}html.art-r4 .dispatch-train{width:100%;max-width:850px;min-height:100px;margin:20px auto}html.art-r4 .dispatch-carriage{background:#d4f0ff;border:3px solid #1479b8;border-radius:22px;padding:14px 14px 0;box-shadow:0 5px #105781}html.art-r4 .dispatch-carriage.rear{background:#ffe4bf;border-color:#bb4e17;box-shadow:0 5px #bb4e17}html.art-r4 .dispatch-carriage h2{color:#143b61}html.art-r4 .dispatch-carriage strong{font-size:36px}html.art-r4 .dispatch-seats span{color:#1479b8;border:2px solid #1479b8;border-radius:11px;font-size:28px;line-height:38px}html.art-r4 .dispatch-seats .empty{color:#346184;background:#ffffffb8}html.art-r4 .dispatch-wheels{color:#143b61;font-size:24px;line-height:28px}html.art-r4 .dispatch-equation{color:#143b61}html.art-r4 .dispatch-feedback{color:#143b61;background:#ffffffc9;border-radius:12px;padding:5px}html.art-r4 .dispatch-controls{background:#fff;border-top:3px solid #1479b8;gap:10px;padding:10px}html.art-r4 #math-lesson button{color:#143b61;border:2px solid #1479b8;border-radius:16px;min-height:60px;box-shadow:0 3px #105781}html.art-r4 #math-lesson .dispatch-controls button:last-child{color:#143b61;box-shadow:0 3px #b9430d;background:#f46b27!important;border-color:#b9430d!important}html.art-r4 .dispatch-coach{background:#fff;border:2px solid #1479b8;border-radius:22px;justify-content:center;align-items:center;gap:12px;max-width:500px;margin:4px auto 0;padding:6px 18px;font-size:14px;font-weight:800;display:flex}html.art-r4 .dispatch-coach img{object-fit:contain;width:70px;height:90px}html.art-r4 .math-save{color:#143b61;background:#ffffffbf;border-radius:10px;align-self:center;padding:4px 10px}html.art-r4 #passport-dialog{color:#143b61;background:#fff;border:4px solid #1479b8;border-radius:26px;padding:20px;box-shadow:0 8px #105781}html.art-r4 .passport-header>div{background:url(../art/r4/badge.png) 0/64px 64px no-repeat;flex-direction:column;justify-content:center;min-height:64px;padding-left:76px;display:flex}html.art-r4 .passport-open{color:#143b61;background:#ffd344;border:2px solid #1479b8;border-radius:16px}html.art-r4 #passport-close{color:#143b61;background:#d4f0ff;border:2px solid #1479b8;border-radius:18px}html.art-r4 .passport-tabs button{color:#143b61;border:2px solid #1479b8;border-radius:16px}html.art-r4 .passport-tabs button[aria-pressed=true]{color:#fff;background:#1479b8;border-color:#105781}html.art-r4 .passport-chapter{color:#143b61;background:#f1faff;border:2px solid #1479b8;border-left:10px solid #f46b27;border-radius:16px}html.art-r4 .passport-chapter:disabled{color:#527089;background:#f1f4f7;border-color:#a8c2d4}html.art-r4 .passport-rating{color:#8a5d00}html.art-r4 .journey-result button{color:#143b61;background:#ffd344;border-color:#1479b8;border-radius:16px}html.art-r4 #safety-lesson{color:#143b61;background:#cfeeff url(../art/r4/coast.webp) 50%/cover}html.art-r4 #safety-lesson button{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:18px;box-shadow:0 3px #105781;min-height:60px!important}html.art-r4 .safety-header{border-color:#1479b8}html.art-r4 .safety-header>span{background:#fff;border-radius:16px;padding:10px 18px}html.art-r4 .safety-route span{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:12px}html.art-r4 .safety-route [aria-current=true]{color:#fff;background:#1479b8}html.art-r4 .safety-scene{border:3px solid #1479b8;border-radius:24px;box-shadow:0 5px #105781}html.art-r4 .safety-scene-caption{color:#143b61;background:#fff;border:2px solid #1479b8;border-radius:12px}html.art-r4 .safety-signal{color:#143b61;background:#ffffffed}html.art-r4 .safety-signal progress{accent-color:#1479b8}html.art-r4 .safety-work{background:#fff;border:3px solid #1479b8;border-radius:26px;padding:22px;box-shadow:0 5px #105781}html.art-r4 .safety-coach{object-fit:contain;float:right;width:76px;height:100px;margin:-14px 0 5px 8px}html.art-r4 #safety-step{color:#1479b8}html.art-r4 #safety-hint{color:#143b61}html.art-r4 #safety-lesson .safety-controls #safety-begin,html.art-r4 #safety-lesson .safety-controls #safety-next,html.art-r4 #safety-lesson .safety-controls #safety-finish{color:#143b61;background:#f46b27;border-color:#b9430d;box-shadow:0 3px #b9430d}html.art-r4 #safety-paused{background:#e8f7fff5}html.art-r4 #safety-brake[aria-pressed=true]{background:#ffd344}html.art-r4 .academy-nav{color:#143b61;background:#fff;border-bottom:3px solid #1479b8}html.art-r4 .academy-nav a{color:#143b61;border-radius:12px;gap:5px}html.art-r4 .academy-nav a img{object-fit:contain;width:30px;height:30px}html.art-r4 .academy-nav a[aria-current]{background:#d4f0ff}html.art-r4 .academy-nav .passport-open{color:#143b61;background:#ffd344;border-color:#1479b8}html.art-r4 body[data-game]{--ink:#143b61;--muted:#346184;--paper:#fff;--lime:#ffd344;color:#143b61}html.art-r4 body[data-game=car]:not(.driving) .vignette{background:linear-gradient(90deg,#eefafff0 0%,#eefaffc9 22%,#0000 60%),linear-gradient(#0000 62%,#d4f0ff9e)}html.art-r4 body[data-game=car] .vehicle-panel,html.art-r4 body[data-game=car] .trip-panel{background:#ffffffed;border:3px solid #1479b8;border-radius:22px;box-shadow:0 4px #105781}html.art-r4 body[data-game=car] .vehicle-choice{color:#143b61;background:#e4f5ff;border-radius:12px}html.art-r4 body[data-game=car] .vehicle-choice.selected{background:#fff4c0;border:2px solid #1479b8}html.art-r4 .start-button,html.art-r4 body[data-game=car] .primary{border:2px solid #b9430d;border-radius:16px;box-shadow:0 4px #b9430d;color:#143b61!important;background:#f46b27!important}html.art-r4 body[data-game=car] .map-card.selected{border-color:#1479b8}html.art-r4 body[data-game=car] .title-outline{color:#1479b8;-webkit-text-stroke:0}html.art-r4 body[data-game=car] .topbar{border-color:#1479b8}html.art-r4 body[data-game=train] .masthead,html.art-r4 body[data-game=train] .coach{color:#143b61;background:#fff;border-color:#1479b8}html.art-r4 body[data-game=train] .child-console{color:#143b61;background:#d4f0ff;border-top:3px solid #1479b8}html.art-r4 body[data-game=train] .child-console>button{color:#143b61;border:2px solid #1479b8;border-radius:18px;box-shadow:0 4px #105781}html.art-r4 body[data-game=train] .child-console .child-note,html.art-r4 body[data-game=train] .child-console .child-note button{color:#143b61}html.art-r4 body[data-game=train] .coach-label{flex-direction:row;align-items:center;gap:8px}html.art-r4 .coach-avatar{object-fit:contain;width:48px;height:58px}html.art-r4 body[data-game=train] .coach-next{outline-color:#f46b27!important;animation:none!important}html.art-r4 body[data-game=train] .rail-mark{color:#fff;background:#1479b8}html.art-r4 body[data-game=train] .coach p,html.art-r4 body[data-game=flight] #menu{color:#143b61}html.art-r4 body[data-game=flight] .dispatch-card{color:#143b61;background:#fff;border:3px solid #1479b8;border-radius:26px;box-shadow:0 6px #105781}html.art-r4 body[data-game=flight] .dispatch-card :is(h2,p,legend,label,strong,small,summary,.dispatch-title,.eyebrow,.select-row,.learning-note){color:#143b61}html.art-r4 body[data-game=flight] .dispatch-card :is(button,select){color:#143b61;background:#e4f5ff;border:2px solid #1479b8;border-radius:14px}html.art-r4 body[data-game=flight] .dispatch-card .selected{color:#143b61;background:#ffd344;border-color:#b67f00}html.art-r4 body[data-game=flight] #start{color:#143b61;background:#f46b27;border:2px solid #b9430d;border-radius:16px;box-shadow:0 4px #b9430d}html.art-r4 body[data-game=flight] #menu .brand{color:#143b61}html.art-r4 body[data-game=flight] #menu .brand h1{color:#143b61;text-shadow:0 2px #fff}html.art-r4 body[data-game=flight] #menu .brand .eyebrow,html.art-r4 body[data-game=flight] #menu .brand .intro{color:#143b61;background:#ffffffd9;border-radius:10px;width:fit-content;padding:5px 10px}html.art-r4 .flight-coach{pointer-events:none;align-items:flex-end;gap:6px;display:flex;position:absolute;bottom:20px;left:15px}html.art-r4 .flight-coach img{object-fit:contain;width:88px;height:120px}html.art-r4 .flight-coach span{color:#143b61;white-space:nowrap;background:#fff;border:2px solid #1479b8;border-radius:12px;padding:6px 10px;font-size:13px}html.art-r4 body[data-game=flight] .child-panel button{color:#143b61;border:2px solid #1479b8;border-radius:18px}html.art-r4 body[data-game=flight] .child-action{background:#f46b27!important}html.art-r4 dialog:not(#math-lesson):not(#safety-lesson):not(#passport-dialog){color:#143b61;background:#fff;border:3px solid #1479b8;border-radius:24px}html.art-r4 .done-button{color:#fff;background:#1479b8}html.art-r4 .close-dialog{width:60px;min-height:60px}html.art-r4 .family-row select{min-height:60px}html.art-r4 .family-row input{accent-color:#1479b8;width:60px;height:60px}html.art-r4 .family-dialog-note{color:#346184}@media (width<=900px) and (height>=521px){html.art-r4 .academy-home{grid-template-rows:80px minmax(220px,.7fr) 64px minmax(330px,1fr);padding:0 16px 16px}html.art-r4 .academy-mission{grid-template-columns:minmax(0,1fr) 32%;gap:12px}html.art-r4 .mission-sign{padding:15px}html.art-r4 .vehicle-gallery{grid-template-rows:repeat(3,minmax(100px,1fr));grid-template-columns:1fr;gap:12px}html.art-r4 .academy-card{grid-template-columns:32% minmax(0,1fr)}html.art-r4 .card-copy{grid-template-columns:1fr 45%;grid-template-areas:"label action""title action""desc action";align-content:center;gap:3px 12px;padding:8px 16px;display:grid}html.art-r4 .card-english{grid-area:label}html.art-r4 .card-copy h2{grid-area:title;margin:0;font-size:24px}html.art-r4 .card-copy p{grid-area:desc;margin:0;font-size:12px}html.art-r4 .card-copy p br{display:none}html.art-r4 .card-action{grid-area:action;height:60px}html.art-r4 .vehicle-symbol{width:54px!important;height:54px!important}html.art-r4 .card-stars{padding:2px 6px;font-size:12px;bottom:5px;left:auto;right:5px}html.art-r4 .card-image img{object-position:50% 58%!important}html.art-r4 .brand-wordmark{width:138px}}@media (width<=600px) and (orientation:portrait){html.art-r4 .academy-home{grid-template-rows:128px minmax(218px,.82fr) 64px minmax(270px,1fr);gap:10px;padding:0 10px 12px}html.art-r4 .home-header{align-items:flex-start;height:128px;position:relative}html.art-r4 .academy-brand{gap:4px;height:64px;font-size:14px}html.art-r4 .academy-brand .academy-mark{width:46px;height:46px}html.art-r4 .brand-wordmark{width:133px;height:62px}html.art-r4 .header-tools{gap:9px;top:68px;left:0;right:0}html.art-r4 .header-tools #home-settings{min-height:60px;padding:0 10px;font-size:12px;position:absolute;top:-68px;right:0}html.art-r4 .header-tools .passport-open{flex:1}html.art-r4 .header-tools .star-shelf{min-width:88px}html.art-r4 .header-tools .star-shelf span{display:none}html.art-r4 .academy-mission{grid-template-columns:minmax(0,1fr) 96px;gap:5px}html.art-r4 .mission-sign{border-radius:22px;flex-direction:column;justify-content:center;align-self:stretch;padding:15px 12px 12px;display:flex}html.art-r4 .coach-intro{letter-spacing:0;margin:2px 0 5px;font-size:10px}html.art-r4 .academy-mission h1{margin-bottom:5px;font-size:20px}html.art-r4 #academy-story{font-size:12px;line-height:1.4}html.art-r4 #academy-route{display:none}html.art-r4 #academy-record{margin:6px 0 8px;font-size:11px}html.art-r4 #academy-start{border-radius:14px;flex-shrink:0;min-height:60px;padding:6px 9px;font-size:14px}html.art-r4 .coach-stage>img{width:128%;max-width:128%;height:93%;bottom:8%}html.art-r4 .coach-name{border-width:2px;padding:5px 6px;font-size:11px;bottom:8px}html.art-r4 .welcome{gap:8px}html.art-r4 .welcome button{gap:3px;border-radius:16px!important;padding:3px 6px!important;font-size:12px!important}html.art-r4 .welcome button:before{width:30px;height:36px}html.art-r4 .vehicle-gallery{grid-template-rows:repeat(3,minmax(80px,1fr));gap:10px}html.art-r4 .academy-card{border-radius:20px;grid-template-columns:30% minmax(0,1fr)}html.art-r4 .card-copy{grid-template-columns:1fr 54%;grid-template-areas:"title action";gap:2px 6px;padding:5px 8px}html.art-r4 .card-copy h2{font-size:18px}html.art-r4 .card-copy p,html.art-r4 .card-english,html.art-r4 .card-image .vehicle-symbol,html.art-r4 .card-stars{display:none}html.art-r4 .card-action{border-radius:13px;padding:0 7px;font-size:13px}html.art-r4 .card-action b{font-size:18px}html.art-r4 .dispatch-body{padding:8px}html.art-r4 .dispatch-train{gap:4px;min-height:90px;margin:12px auto}html.art-r4 .dispatch-carriage{border-radius:18px;padding:10px 6px 0}html.art-r4 .dispatch-carriage strong{font-size:28px}html.art-r4 .dispatch-seats span{font-size:22px;line-height:30px}html.art-r4 .dispatch-coach{gap:6px;margin:6px auto;padding:4px 10px;font-size:12px}html.art-r4 .dispatch-coach img{width:62px;height:80px}html.art-r4 .safety-work{padding:14px}html.art-r4 .safety-coach{width:58px;height:76px}html.art-r4 .safety-main{gap:12px}html.art-r4 .safety-header>span{padding:6px;font-size:12px}html.art-r4 .passport-header>div{background-size:44px;padding-left:52px}html.art-r4 #passport-title{font-size:20px}html.art-r4 .flight-coach{bottom:8px;left:auto;right:10px}html.art-r4 .flight-coach img{width:55px;height:78px}html.art-r4 .flight-coach span{display:none}}@media (width<=600px) and (height<=700px) and (orientation:portrait){html.art-r4 .academy-home{grid-template-rows:126px minmax(164px,1fr) 60px 198px;gap:7px;padding:0 8px 9px}html.art-r4 .academy-mission{grid-template-columns:minmax(0,1fr) 80px}html.art-r4 .mission-sign{padding:10px 10px 8px}html.art-r4 .coach-intro,html.art-r4 #academy-story{display:none}html.art-r4 .academy-mission h1{margin-bottom:5px;font-size:18px}html.art-r4 #academy-record{margin:2px 0 6px;font-size:10px}html.art-r4 #academy-start{font-size:12px}html.art-r4 .coach-name{padding:4px;font-size:10px}html.art-r4 .vehicle-gallery{grid-template-rows:repeat(3,60px);gap:7px}html.art-r4 .academy-card{border-radius:16px;grid-template-columns:25% minmax(0,1fr);overflow:visible}html.art-r4 .card-image{border-radius:13px 0 0 13px;overflow:hidden}html.art-r4 .card-copy{grid-template-columns:1fr 58%;padding:0 5px}html.art-r4 .card-copy h2{font-size:15px}html.art-r4 .card-action{border-radius:12px;height:60px;min-height:60px;margin-top:-3px;margin-bottom:-3px;font-size:12px}html.art-r4 .card-action b{font-size:16px}html.art-r4 .dispatch-coach img{width:48px;height:64px}html.art-r4 .dispatch-coach{font-size:11px}html.art-r4 #safety-lesson[open]{gap:6px}html.art-r4 .safety-work{padding:10px}html.art-r4 .safety-coach{width:40px;height:54px}html.art-r4 #safety-lesson .safety-scene{min-height:110px}html.art-r4 #safety-lesson .safety-main{grid-template-rows:minmax(110px,1fr) auto;gap:8px}html.art-r4 #safety-save{font-size:10px;line-height:1.25}html.art-r4 #safety-title{font-size:22px}html.art-r4 #safety-hint{margin:4px 0;font-size:12px}html.art-r4 #safety-rule{font-size:13px}html.art-r4 .safety-signal span{font-size:10px}html.art-r4 .safety-signal strong{font-size:16px}}@media (height<=520px) and (orientation:landscape){html.art-r4 .academy-home{grid-template-rows:64px 82px 60px minmax(60px,1fr);gap:8px;min-height:320px;padding:0 10px 10px}html.art-r4 .home-header{height:64px}html.art-r4 .academy-brand{height:60px}html.art-r4 .academy-brand .academy-mark{display:none}html.art-r4 .brand-wordmark{width:128px;height:60px}html.art-r4 .header-tools{gap:6px;position:static}html.art-r4 .header-tools #home-settings{padding:0 9px;font-size:12px;position:static}html.art-r4 .header-tools .star-shelf{min-width:60px;padding:0 6px}html.art-r4 .star-shelf img{width:28px;height:28px}html.art-r4 .header-tools .passport-open{min-width:70px;font-size:12px}html.art-r4 .academy-mission{grid-template-columns:minmax(0,1fr) 76px;gap:10px}html.art-r4 .mission-sign{border-radius:18px;grid-template-columns:1fr minmax(150px,36%);align-self:stretch;align-items:center;gap:3px 8px;padding:8px 12px;display:grid}html.art-r4 .coach-intro,html.art-r4 #academy-story,html.art-r4 #academy-route{display:none}html.art-r4 .academy-mission h1{grid-column:1;margin:0;font-size:18px}html.art-r4 #academy-record{grid-column:1;margin:0;font-size:11px}html.art-r4 #academy-start{border-radius:13px;grid-area:1/2/3;min-height:60px;padding:5px 8px;font-size:13px}html.art-r4 .coach-stage>img{height:100%;bottom:0}html.art-r4 .coach-name{display:none}html.art-r4 .welcome button{min-height:60px!important;font-size:13px!important}html.art-r4 .welcome button:before{width:34px;height:34px}html.art-r4 .vehicle-gallery{grid-template-rows:1fr;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}html.art-r4 .academy-card{border-radius:18px;grid-template-columns:30% minmax(0,1fr);min-height:60px}html.art-r4 .card-copy{padding:0 4px;display:flex}html.art-r4 .card-copy h2,html.art-r4 .card-copy p,html.art-r4 .card-english,html.art-r4 .card-stars,html.art-r4 .card-image .vehicle-symbol{display:none}html.art-r4 .card-action{min-height:60px;box-shadow:none;border-radius:12px;padding:0 5px;font-size:13px}html.art-r4 .card-action b{font-size:17px}html.art-r4 .dispatch-body{justify-content:center;padding:4px 10px}html.art-r4 .dispatch-train{max-width:650px;min-height:0;margin:4px auto}html.art-r4 .dispatch-carriage{border-radius:14px;padding:4px 8px 0}html.art-r4 .dispatch-carriage strong{font-size:23px}html.art-r4 .dispatch-carriage h2{margin:0;font-size:12px}html.art-r4 .dispatch-seats span{font-size:17px;line-height:20px}html.art-r4 .dispatch-wheels{font-size:14px;line-height:16px}html.art-r4 .dispatch-coach,html.art-r4 .dispatch-instruction,html.art-r4 .dispatch-feedback,html.art-r4 .math-save{display:none}html.art-r4 .dispatch-equation{margin:3px 0;font-size:15px}html.art-r4 .dispatch-controls{gap:7px;padding:4px 8px}html.art-r4 #dispatch-title{margin:2px 0;font-size:18px}html.art-r4 .dispatch-top{padding:2px 6px}html.art-r4 .safety-header{padding-bottom:4px}html.art-r4 .safety-header button{min-height:60px!important}html.art-r4 .safety-route{top:18px}html.art-r4 .safety-main{gap:12px}html.art-r4 .safety-work{border-radius:18px;padding:10px 12px}html.art-r4 .safety-coach{display:none}html.art-r4 #safety-rule{font-size:13px}html.art-r4 #safety-hint{font-size:12px;line-height:1.3}html.art-r4 #safety-title{font-size:20px}html.art-r4 .safety-controls{gap:6px}html.art-r4 #safety-save{margin:6px 0 0;font-size:10px;line-height:1.2}html.art-r4 #safety-step{margin:0 0 2px;font-size:11px}html.art-r4 .safety-header>span{visibility:hidden}html.art-r4 .safety-signal{padding:8px}html.art-r4 .flight-coach,html.art-r4 .coach-avatar{display:none}html.art-r4 #passport-dialog{padding:10px 14px}html.art-r4 .passport-header>div{background-size:44px;min-height:50px;padding-left:52px}}@media (width<=650px) and (height<=520px) and (orientation:landscape){html.art-r4 .brand-wordmark{width:108px}html.art-r4 .header-tools{gap:4px}html.art-r4 .header-tools #home-settings{padding:0 6px;font-size:11px}html.art-r4 .header-tools .star-shelf span{display:none}html.art-r4 .header-tools .star-shelf{padding:0 3px}html.art-r4 .header-tools .passport-open{min-width:60px;padding:0 5px}html.art-r4 .header-tools #music-toggle{min-width:60px}html.art-r4 .academy-home{grid-template-rows:64px 82px 60px minmax(60px,1fr)}html.art-r4 .card-action{font-size:11px}html.art-r4 .card-action b{display:none}html.art-r4 .mission-sign{grid-template-columns:1fr minmax(136px,40%);padding:6px 8px}html.art-r4 .academy-mission h1{font-size:15px}html.art-r4 .academy-mission{grid-template-columns:1fr 60px;gap:6px}html.art-r4 #academy-start{font-size:11px}html.art-r4 .welcome button{padding:3px!important;font-size:11px!important}html.art-r4 .welcome button:before{width:26px}html.art-r4 .safety-route span{padding:4px 7px;font-size:12px}}@media (width<=1100px),(hover:none){html.art-r4 .keyboard-tip,html.art-r4 .keyboard-hint,html.art-r4 .key-hints,html.art-r4 .keyboard-help{display:none!important}}@media (prefers-reduced-motion:reduce){html.art-r4 .academy-card{transition:none}html.art-r4 .academy-card:hover{transform:none}}@media (width>=901px) and (height>=521px) and (height<=700px){html.art-r4 .academy-home{grid-template-rows:72px minmax(210px,1fr) 60px minmax(200px,1fr);gap:10px;padding-bottom:12px}html.art-r4 .home-header{height:72px}html.art-r4 .mission-sign{padding:14px 18px}html.art-r4 .coach-intro,html.art-r4 #academy-route{display:none}html.art-r4 .academy-mission h1{margin-bottom:5px;font-size:24px}html.art-r4 #academy-record{margin:5px 0 8px}html.art-r4 .card-copy{padding:8px 10px}html.art-r4 .card-copy h2{font-size:22px}html.art-r4 .card-copy p{margin-bottom:7px;font-size:12px}}@media (height<=350px) and (orientation:landscape){html.art-r4 body[data-game=flight] .dispatch-card{padding:4px 10px}html.art-r4 body[data-game=flight] .dispatch-card .select-row{margin:0 0 3px}html.art-r4 body[data-game=flight] .dispatch-title{margin-bottom:3px}}
