.adl-journey{font-family:'PingFang HK','Microsoft JhengHei',system-ui,sans-serif;background:#142529;overflow:auto;color:white}.adl-journey *{box-sizing:border-box}.adl-journey button{font-family:inherit;cursor:pointer;touch-action:manipulation}.adl-journey [hidden]{display:none!important}#journey{position:relative;height:100dvh;min-height:690px;isolation:isolate;overflow:hidden}.journey-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}#journey:before{content:'';position:absolute;inset:0;background:linear-gradient(#071a2ba8,transparent 47%,#071a2b77);z-index:-1}.journey-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 25px;background:#07131dde;font-weight:800;font-size:18px}.journey-toolbar a{font-size:25px;color:#ffd53d;text-decoration:none}.journey-toolbar button,.prompt-actions button,#completed button,dialog button{background:#ffd53d;border:3px solid #07131d;border-radius:12px;color:#07131d;font-size:20px;font-weight:800;padding:10px 20px;min-height:48px;box-shadow:0 4px 0 #07131d}.journey-question{text-align:center;margin:20px auto 0;width:min(980px,95%)}.journey-question>p{display:inline-block;margin:0 0 10px;padding:7px 19px;background:#07131ddb;border-radius:30px;font-size:18px}.journey-question h1{margin:0;padding:16px 20px;border:6px solid white;border-radius:25px;background:linear-gradient(#fffaf0,#ffe08a);box-shadow:0 8px 0 #07131d;color:#07131d;font-size:clamp(27px,3vw,46px);line-height:1.4}.prompt-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:19px}.prompt-actions button{font-size:18px;background:#fff}.message-wrap{position:relative;text-align:center;margin:14px auto;width:min(850px,93%)}#feedback,#tracking-status,#audio-status{width:fit-content;margin:7px auto;padding:8px 17px;border-radius:12px;background:#07131de8;font-size:21px;line-height:1.5}#tracking-status,#audio-status{font-size:16px}#tracking-status:empty,#audio-status:empty{display:none}.adl-journey .options{bottom:3%;gap:22px;pointer-events:auto}.adl-journey .lanternOpt{width:min(260px,26vw);padding:24px 10px 8px;color:#052913;cursor:pointer}.adl-journey .lanternOpt img{width:100%;height:155px;object-fit:contain;pointer-events:none}.adl-journey .object-label{font-size:27px;font-weight:950;line-height:1.2;margin-top:5px}.adl-journey .sideLbl{font-size:15px;top:5px;left:7px}.adl-journey .holdRing{pointer-events:none}.adl-journey .lanternOpt:focus-visible,.adl-journey button:focus-visible,.adl-journey a:focus-visible{outline:5px solid #ffcf3a;outline-offset:4px}.adl-journey .lanternOpt:disabled{cursor:default}.adl-journey #video{inset:auto 20px 30px auto;width:180px;height:135px;object-fit:cover;border:4px solid white;border-radius:15px;z-index:4}.adl-journey #completed{position:absolute;bottom:3%;left:50%;transform:translateX(-50%);width:min(760px,94%);padding:20px;text-align:center;background:#fff8e8;color:#07131d;border:6px solid white;border-radius:25px;box-shadow:0 8px 0 #07131d}.adl-journey #completed h2{font-size:32px;margin:0 0 12px}.adl-journey #completed p{font-size:21px;line-height:1.5}.adl-journey #completed .prototype-note{font-size:16px;color:#50616b}.adl-journey #completed button{margin:5px}dialog{background:#fff8e8;color:#07131d;border:5px solid #07131d;border-radius:24px;padding:30px;text-align:center;max-width:90vw}dialog h2{font-size:30px}dialog p{font-size:22px}dialog::backdrop{background:#07131ddd}.adl-journey .lanternOpt.hinted{border-color:#ffcf3a;box-shadow:0 8px 0 #07131d,0 0 25px #ffe660}
@media(max-width:700px){#journey{min-height:790px}.journey-toolbar{padding:12px;font-size:14px;gap:8px}.journey-toolbar a{font-size:21px}.journey-toolbar span{max-width:140px}.journey-toolbar button{font-size:17px;padding:8px 12px}.journey-question{margin-top:18px}.prompt-actions button{font-size:16px;padding:8px 11px}.adl-journey .lanternOpt{width:42vw;border-width:6px;border-radius:23px}.adl-journey .options{gap:10px}.adl-journey .lanternOpt img{height:120px}.adl-journey .object-label{font-size:23px}.adl-journey #video{bottom:245px;right:10px;width:100px;height:75px}#feedback{font-size:20px}.message-wrap{margin-top:16px}}@media(prefers-reduced-motion:reduce){.adl-journey *{animation:none!important;transition:none!important}}

/* Camera remains rendering for MediaPipe but never appears in the game. */
.adl-journey #video.tracking-video{position:fixed;inset:0 auto auto -10000px;width:640px;height:480px;opacity:0;pointer-events:none;border:0;transform:none}
#glove-layer{position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden}
.tracked-glove{position:absolute;width:clamp(60px,8vw,115px);height:clamp(60px,8vw,115px);object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 6px #0008);pointer-events:none}
.adl-journey[data-np='1'] .lanternOpt{aspect-ratio:auto;min-height:240px}
@media(max-width:700px){.adl-journey[data-np='1'] .lanternOpt{width:42vw;min-height:205px}}

.companion-tools{display:flex;gap:12px;align-items:center}.companion-tools details{position:relative;z-index:20}.companion-tools summary{cursor:pointer;list-style:none;padding:12px;border:1px solid #c1cbd3;border-radius:10px;font-size:15px;color:white}.companion-tools summary::-webkit-details-marker{display:none}#companion-menu[open]{position:absolute;right:100px;top:12px;width:min(330px,70vw);padding:10px;background:#10202b;border:2px solid #fff;border-radius:14px;box-shadow:0 6px 20px #0008}#companion-menu .prompt-actions{flex-direction:column;margin:12px 0 0}#companion-menu #audio-status{font-size:15px;max-width:100%;margin-top:10px}.companion-tools summary:focus-visible{outline:3px solid #ffd53d;outline-offset:3px}

/* Programme layout: separate flow rows prevent the story, bag and cards overlapping. */
#journey{height:100dvh;min-height:850px;display:flex;flex-direction:column;padding-bottom:20px}
.journey-toolbar{flex-shrink:0}.journey-question{margin-top:12px}.journey-question h1{font-size:clamp(25px,2.6vw,40px);padding:12px 18px}
.message-wrap{margin:8px auto}#feedback{font-size:20px;margin:3px auto;padding:5px 14px}
#story-state{flex:1;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
#route-reminder,#scene-context{margin:0;background:#10202be8;color:white;border-radius:12px;padding:6px 16px;text-align:center;font-size:18px}#scene-context:empty{display:none}
#scene-props{display:flex;align-items:center;justify-content:center;gap:12px;min-height:80px}
#scene-props figure,#bag-items figure{margin:0;text-align:center;background:#fffaf0;color:#132820;border-radius:14px;padding:5px;box-shadow:0 4px 10px #0003}
.item-art{display:block;flex-shrink:0;width:150px;height:150px;text-align:center;font-size:90px;line-height:150px;overflow:hidden;border-radius:12px;background-color:white}
.sprite-art{background-image:url('../assets/adl/programme/items.webp');background-size:400% 400%;background-repeat:no-repeat}
.adl-journey .lanternOpt .item-art img,.item-art img{width:100%;height:100%;object-fit:contain;display:block}
#scene-props .item-art{width:90px;height:90px;font-size:58px;line-height:90px}#scene-props figcaption{font-size:17px;font-weight:800}
.weather-cue{font-size:85px;line-height:1.1}
#bag-panel{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px auto;padding:6px 14px;border-radius:16px;background:#122b26e8;max-width:94%;flex-shrink:0}#bag-panel strong{font-size:18px;white-space:nowrap}
#bag-items{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}#bag-items .item-art{width:43px;height:43px;line-height:43px;font-size:30px}#bag-items figure{padding:3px}#bag-items figcaption{font-size:13px}
.adl-journey #playerOpts{position:relative;flex-shrink:0;margin:8px 0 0;width:100%;height:auto;pointer-events:auto}
.adl-journey #playerOpts .options{position:relative;inset:auto!important;transform:none!important;display:flex;justify-content:center;align-items:stretch;margin:0 auto;gap:24px}
.adl-journey[data-np='1'] .lanternOpt{min-height:225px;width:min(290px,36vw);display:flex;flex-direction:column;align-items:center;padding:22px 14px 10px;gap:5px}
.adl-journey .lanternOpt:disabled{opacity:.8}.adl-journey .lanternOpt .object-label{font-size:26px}
#session-info{font-size:15px;line-height:1.6}#completed{z-index:8}
@media(max-width:700px){#journey{height:auto;min-height:100dvh;padding-bottom:16px}.journey-toolbar>span{display:none}.journey-question h1{font-size:25px}.journey-question>p{font-size:16px}#story-state{min-height:170px}#route-reminder{font-size:16px;max-width:94%}#scene-props{flex-wrap:wrap}#scene-props .item-art{width:65px;height:65px;line-height:65px;font-size:45px}#scene-props figcaption{font-size:14px}.adl-journey #playerOpts .options{gap:12px}.adl-journey[data-np='1'] .lanternOpt{width:44vw;min-height:190px;padding:22px 6px 8px}.lanternOpt .item-art{width:110px;height:110px;font-size:65px;line-height:110px}.adl-journey .lanternOpt .object-label{font-size:23px}#bag-panel{gap:8px;padding:6px}#bag-panel strong{font-size:15px}#bag-items{gap:4px}#bag-items .item-art{width:33px;height:33px;line-height:33px;font-size:25px}#bag-items figcaption{font-size:12px}#feedback{font-size:18px}}

.story-signal{width:90px;height:90px;border:6px solid white;border-radius:50%;display:grid;place-items:center;font-size:40px;font-weight:900;box-shadow:0 0 0 5px #10202b}.story-signal.red{background:#af2020;color:white}.story-signal.green{background:#176d32;color:white}

#bag-items .item-art{width:60px;height:60px;line-height:60px;font-size:40px}#bag-items figcaption{font-size:15px}@media(max-width:700px){#bag-items .item-art{width:48px;height:48px;line-height:48px;font-size:32px}#bag-items figcaption{font-size:14px}}

/* Brighter story art and clearer picture choices, with the familiar maths layout. */
#journey{min-height:780px}
#journey:before{background:linear-gradient(#071a2b59,transparent 34%,transparent 64%,#071a2b48)}
.journey-toolbar{background:#102923f2;border-bottom:2px solid #d9bd7155}
#journey-progress{display:inline-flex;align-items:center;gap:14px;list-style:none;padding:0;margin:0 15px 10px 0;vertical-align:middle}
#journey-progress li{position:relative;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#173c32;color:#fff;border:2px solid #fff9;font-size:16px;font-weight:800}
#journey-progress li+li:before{content:'';position:absolute;right:100%;width:16px;height:3px;background:#fff9}
#journey-progress li.current{background:#ffe08a;color:#102923;border-color:white;box-shadow:0 0 0 4px #ffe08a30}
#journey-progress li.done{background:#d4edc6;color:#174028;border-color:#d4edc6}
#story-state{justify-content:flex-start;gap:12px;padding:5px 0 12px;min-height:150px}
#scene-props{margin-top:auto;flex-wrap:wrap;max-width:95%}#scene-props:empty{display:none}
#route-reminder{background:#163d32f2;border:1px solid #ead6a169;box-shadow:0 3px 8px #0002}
#bag-panel{border:2px solid #c9a769;background:linear-gradient(#3e5f42f5,#213e2ff5);box-shadow:0 5px 14px #0003;padding:8px 16px}
#bag-panel strong{color:#fff1bd}
.adl-journey[data-np='1'] .lanternOpt{width:min(320px,40vw);min-height:245px;padding-top:27px;box-shadow:0 8px 0 #16332b,0 12px 24px #0003}
.lanternOpt .item-art{width:165px;height:165px;line-height:165px;font-size:100px;box-shadow:0 2px 8px #0b241214}
.adl-journey .lanternOpt .scene-art{width:100%;height:165px;max-width:270px}.adl-journey .lanternOpt .scene-art img{object-fit:cover}
.adl-journey .lanternOpt.chosen{opacity:1;border-color:#ffdc65;background:linear-gradient(#fff7ce,#ffe08a);box-shadow:0 8px 0 #6b5420,0 0 0 5px #ffe08a44}
.just-added{animation:item-arrive .4s ease-out}
@keyframes item-arrive{from{transform:translateY(-10px) scale(.92);opacity:.4}to{transform:none;opacity:1}}
@media(max-width:700px){#journey{min-height:100dvh}#journey-progress{gap:10px;margin:0 10px 9px 0}#journey-progress li{width:23px;height:23px;font-size:13px}#journey-progress li+li:before{width:12px}.journey-question>p{font-size:14px;padding:7px 11px}#story-state{min-height:170px}.adl-journey[data-np='1'] .lanternOpt{width:44vw;min-height:210px}.lanternOpt .item-art{width:130px;height:130px;line-height:130px;font-size:75px}.adl-journey .lanternOpt .scene-art{height:130px}.adl-journey .lanternOpt .object-label{font-size:24px}#bag-panel{padding:6px 9px}}
@media(max-width:400px){#journey-progress{display:flex;margin:0 auto 10px;width:fit-content}.lanternOpt .item-art{width:112px;height:112px}.adl-journey .lanternOpt .scene-art{height:112px}}
@media(prefers-reduced-motion:reduce){.just-added{animation:none}}

/* White answer surfaces let the illustrations occupy the card rather than a small inset. */
.adl-journey[data-np='1'] .lanternOpt{background:#fff;border-color:#fff;width:min(350px,43vw);padding:27px 8px 10px;min-height:285px;color:#102923}
.adl-journey .lanternOpt .item-art{width:min(250px,35vw);height:min(250px,35vw);line-height:min(250px,35vw);box-shadow:none;border-radius:0}
.adl-journey .lanternOpt .scene-art{width:100%;max-width:none;height:210px;border-radius:12px}
.adl-journey .lanternOpt.chosen{background:#fffdf1;border-color:#ffdc65}
.adl-journey .lanternOpt .sideLbl{background:#31594a}.adl-journey .lanternOpt.hinted{border-color:#ffcf3a}
.orientation-mode .message-wrap,.orientation-mode #story-state{display:none}
#orientation-board{width:min(890px,94%);margin:16px auto;text-align:center;color:#142c25}
.orientation-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;text-align:center}
.calendar-panel,.clock-panel,.weather-panel{background:#fff;border-radius:22px;padding:18px;box-shadow:0 5px 0 #16332b40}
.calendar-panel h2{margin:0 -18px 14px;padding:12px;background:#2e6751;color:#fff;font-size:28px}
.today-date{display:flex;align-items:center;justify-content:center;gap:20px}.today-date strong{font-size:88px;line-height:1.15;color:#214e3b}.today-date span{font-size:25px;font-weight:800}
#calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:12px}#calendar-grid span{display:grid;place-items:center;min-height:35px;font-size:21px;border-radius:50%}#calendar-grid .calendar-week{font-size:17px;color:#486457}#calendar-grid .calendar-today{background:#f7d66e;color:#102923;font-weight:900;outline:2px solid #345b46}
.time-weather{display:flex;flex-direction:column;gap:14px}.clock-panel{display:grid;grid-template-columns:auto 1fr;align-items:center;justify-items:center;gap:6px 14px}.clock-panel>p{margin:0;grid-column:1/-1;font-size:18px}.clock-panel #orientation-place{font-size:17px;margin-top:4px}
#analogue-clock{width:130px;height:130px;border:5px solid #254e3f;border-radius:50%;position:relative;background:#fffdf5;font-size:18px;font-weight:800}
#analogue-clock span{position:absolute}.clock-n12{top:3px;left:50%;transform:translateX(-50%)}.clock-n3{right:5px;top:50%;transform:translateY(-50%)}.clock-n6{bottom:2px;left:50%;transform:translateX(-50%)}.clock-n9{left:5px;top:50%;transform:translateY(-50%)}
#hour-hand,#minute-hand{position:absolute;left:calc(50% - 3px);bottom:50%;width:6px;height:32px;background:#173c32;transform-origin:50% 100%;border-radius:5px}#minute-hand{height:45px;width:4px;left:calc(50% - 2px);background:#ad6f20}.clock-centre{position:absolute;left:calc(50% - 5px);top:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:#173c32}#digital-clock{font-size:30px;line-height:1.4}
.weather-panel{display:flex;flex-direction:column;align-items:center;gap:6px}.weather-panel .item-art{width:96px;height:96px;line-height:96px;box-shadow:none}.weather-panel>strong{font-size:26px}.weather-panel p{margin:2px 0;font-size:14px;line-height:1.5}.weather-panel summary{font-size:15px;cursor:pointer}#forecast-text{text-align:left;max-height:150px;overflow:auto}
#orientation-help{color:white;background:#12372ee8;padding:8px 16px;border-radius:12px;font-size:19px;line-height:1.5}#start-outing{padding:14px 28px;background:#ffe08a;color:#15372b;border:4px solid white;border-radius:16px;box-shadow:0 5px 0 #173c32;font-size:25px;font-weight:800}#start-outing:disabled{opacity:.55;cursor:wait}.orientation-note{font-size:14px;color:white;text-shadow:0 1px 4px #000;background:#12372ee8;border-radius:8px;padding:4px 8px}
.orientation-settings{display:flex;flex-direction:column;gap:9px}.orientation-settings label{display:flex;flex-direction:column;gap:5px;font-size:15px}.orientation-settings input,.orientation-settings select{font:inherit;padding:8px;border-radius:6px;max-width:100%;color:#102923;background:#fff}.orientation-settings button{font-size:16px;padding:8px}#location-status{font-size:13px;line-height:1.5;margin:0}#companion-menu[open]{max-height:85dvh;overflow:auto}
@media(max-width:700px){.adl-journey[data-np='1'] .lanternOpt{width:44vw;min-height:220px}.adl-journey .lanternOpt .item-art{width:36vw;height:36vw}.adl-journey .lanternOpt .scene-art{width:100%;height:150px}#orientation-board{margin-top:12px}.orientation-grid{gap:10px}.calendar-panel,.clock-panel,.weather-panel{padding:12px;border-radius:16px}.calendar-panel h2{font-size:22px;margin:0 -12px 10px}.today-date{gap:8px;flex-wrap:wrap}.today-date strong{font-size:64px}.today-date span{font-size:20px}#calendar-grid{gap:2px}#calendar-grid span{font-size:17px;min-height:29px}#calendar-grid .calendar-week{font-size:14px}.clock-panel{grid-template-columns:1fr}#analogue-clock{width:108px;height:108px}#hour-hand{height:25px}#minute-hand{height:37px}#digital-clock{font-size:24px}.weather-panel>strong{font-size:22px}.weather-panel .item-art{width:76px;height:76px}.weather-panel p{font-size:13px}#orientation-help{font-size:17px}}
@media(max-width:420px){.orientation-grid{grid-template-columns:1fr}.time-weather{display:grid;grid-template-columns:1fr 1fr;gap:8px}.calendar-panel{padding:10px}#calendar-grid span{min-height:25px}.today-date strong{font-size:52px}.clock-panel #orientation-place{font-size:14px}#digital-clock{font-size:21px}.weather-panel>strong{font-size:19px}}
#journey{height:auto;min-height:100dvh}#journey.orientation-mode{height:auto;min-height:100dvh;overflow:visible}

/* Allow the document to grow when a smaller window cannot fit every activity row. */
body.adl-journey{height:auto;min-height:100dvh;overflow-y:auto}#journey>.journey-question,#journey>.message-wrap{flex-shrink:0}


/* Carried belongings have a stable side shelf, separate from the current task cue. */
#story-state{display:grid;grid-template-columns:clamp(92px,16vw,176px) minmax(0,1fr) clamp(92px,16vw,176px);grid-template-rows:auto 1fr auto;align-items:start;column-gap:10px;padding:5px 14px 12px}
#route-reminder{grid-column:2;grid-row:1;justify-self:center}
#scene-props{grid-column:2;grid-row:2;align-self:end;justify-self:center}
#scene-context{grid-column:2;grid-row:3;justify-self:center}
#bag-panel{grid-column:3;grid-row:1 / 4;position:static;align-self:center;display:flex;flex-direction:column;width:100%;max-width:none;margin:0;padding:10px 6px;gap:8px}
#bag-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
#bag-items figure{min-width:0;box-shadow:none}#bag-items .item-art{width:100%;height:auto;aspect-ratio:1}#bag-items figcaption{font-size:14px}
@media(max-width:700px){#story-state{grid-template-columns:0 minmax(0,1fr) 92px;column-gap:8px;padding-inline:8px}#bag-items{grid-template-columns:1fr}#bag-items .item-art{width:44px;height:44px;margin:auto}#bag-items figure{display:flex;align-items:center;gap:2px;padding:2px}#bag-items figcaption{font-size:12px}#bag-panel strong{font-size:15px}#bag-panel{padding:7px 4px}}

#present-reminder{margin:8px auto 0;padding:6px 14px;max-width:94%;border-radius:10px;background:#fff;color:#173c32;text-align:center;font-size:17px;flex-shrink:0}#return-to-present{font-weight:800}

/* Touch trial: a compact reading area replaces the space reserved for body tracking. */
#journey{padding-bottom:28px}
#story-state{flex:0 0 auto;min-height:110px;grid-template-rows:auto auto auto;row-gap:8px;margin:4px auto 8px;width:min(1180px,100%)}
#scene-props{margin:0;align-self:center}
#scene-props .item-art{width:120px;height:120px}
#scene-props figcaption{font-size:22px}
#scene-context{font-size:20px}
.adl-journey #playerOpts{margin:12px auto 0}
.adl-journey[data-np='1'] .lanternOpt{width:min(440px,43vw);padding:42px 14px 18px;min-height:330px;gap:10px}
.adl-journey .lanternOpt .item-art{width:min(290px,34vw);height:min(290px,34vw)}
.adl-journey .lanternOpt .scene-art{width:100%;height:240px}
.adl-journey .lanternOpt .object-label{font-size:34px}
.adl-journey .lanternOpt .sideLbl{font-size:19px;padding:5px 10px}
#route-reminder{font-size:20px}#present-reminder{font-size:20px}
#bag-panel{background:#fff9e8;color:#173c32;border:2px solid #355b48;box-shadow:0 3px 8px #0002}
#bag-panel strong{color:#173c32;font-size:20px}#bag-items figcaption{font-size:17px}
#journey:before{background:linear-gradient(#16382b40,#16382b20)}
#completed{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;margin:20px auto}
@media(max-width:700px){
 #story-state{min-height:80px;grid-template-columns:0 minmax(0,1fr) 100px}
 #route-reminder,#scene-context,#present-reminder{font-size:17px}
 #scene-props .item-art{width:90px;height:90px}#scene-props figcaption{font-size:18px}
 .adl-journey[data-np='1'] .lanternOpt{padding:38px 7px 14px;min-height:230px}
 .adl-journey .lanternOpt .item-art{width:34vw;height:34vw}
 .adl-journey .lanternOpt .scene-art{height:160px}
 .adl-journey .lanternOpt .object-label{font-size:27px}
 .adl-journey .lanternOpt .sideLbl{font-size:16px}
 #bag-panel strong{font-size:17px}#bag-items figcaption{font-size:14px}
}

.adl-journey .lanternOpt:disabled{opacity:1}

/* Tablet stage: measure the complete content before scaling, never crop answer controls. */
@media(min-width:600px){
 html:has(body.adl-journey){height:100%;overflow:hidden}
 body.adl-journey{height:100dvh;min-height:0;overflow:hidden;position:relative}
 #journey,#journey.orientation-mode{position:absolute;top:0;left:50%;width:100%;height:auto;min-height:0;overflow:visible;transform:translateX(-50%) scale(var(--tablet-fit,1));transform-origin:top center;padding-bottom:12px}
 .journey-toolbar{padding:8px 16px}
 .journey-question{margin-top:8px}.journey-question h1{font-size:clamp(27px,3vw,36px);padding:9px 14px}
 #present-reminder{margin-top:5px}
 #story-state{min-height:70px;margin:2px auto 4px;row-gap:4px}
 #scene-props .item-art{width:82px;height:82px}#scene-props figcaption{font-size:19px}
 #bag-items .item-art{width:48px;height:48px;margin:auto}#bag-items figcaption{font-size:15px}
 #bag-panel{padding:6px}#bag-items{gap:4px}
 .adl-journey #playerOpts{margin-top:6px}
 .adl-journey[data-np='1'] .lanternOpt{min-height:0;padding:35px 12px 12px;gap:5px}
 .adl-journey .lanternOpt .item-art{width:min(240px,28vw);height:min(240px,28vw)}
 .adl-journey .lanternOpt .scene-art{width:100%;height:min(200px,24vw)}
 .adl-journey .lanternOpt .object-label{font-size:30px}
 #orientation-board{margin:10px auto}.calendar-panel,.clock-panel,.weather-panel{padding:12px}
 .calendar-panel h2{margin:0 -12px 8px;padding:8px}.today-date strong{font-size:64px}
 #calendar-grid span{min-height:28px}#calendar-grid{gap:3px}
 .weather-panel .item-art{width:72px;height:72px}#analogue-clock{width:110px;height:110px}
 #orientation-help{margin:9px auto}#start-outing{padding:10px 24px}
 .orientation-note{margin:8px auto}
}

@media(min-width:600px){
 #companion-menu[open]{width:min(620px,90vw);right:12px;max-height:none;overflow:visible}
 #companion-menu .prompt-actions{flex-direction:row}
 #companion-menu .orientation-settings{display:grid;grid-template-columns:1fr 1fr;align-items:start}
 #companion-menu #location-status{grid-column:1/-1}
 #forecast-text{max-height:none;overflow:visible}
}

#mirror-board{width:min(850px,94%);margin:16px auto;text-align:center;background:#fff;color:#173c32;padding:18px;border-radius:22px}
#mirror-board h2{font-size:30px}#mirror-board p{font-size:22px}
#mirror-video{position:static!important;width:min(420px,80%)!important;height:230px!important;object-fit:contain;transform:scaleX(-1);background:#152921;border-radius:16px}
#mirror-board button{font-size:24px;padding:14px 20px;margin:8px;background:#ffe08a;border:3px solid #173c32;border-radius:14px}

.location-setup{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;background:white;padding:10px;border-radius:14px;margin-bottom:10px}.location-setup select,.location-setup button{font:inherit;font-size:19px;padding:8px;min-height:44px}.location-setup label{font-size:19px}.location-setup #location-status{width:100%;font-size:15px}

/* Fixed place in the top-left toolbar for reality-orientation information. */
.journey-toolbar{align-items:center}
.journey-toolbar>a,.journey-toolbar>span{display:none}
.journey-toolbar #present-reminder{margin:0 auto 0 0;max-width:calc(100% - 205px);padding:8px 12px;white-space:pre-line;line-height:1.45;text-align:left;font-size:18px;background:#fffef5;color:#173c32;border-radius:12px}
@media(max-width:700px){.journey-toolbar #present-reminder{font-size:16px;max-width:calc(100% - 170px);padding:6px 8px}.companion-tools{gap:6px}.companion-tools summary{font-size:13px;padding:9px}}

/* Matching bathroom scene with live self-view inside an actual mirror frame. */
.bathroom-stage{position:relative;width:min(680px,100%);aspect-ratio:16/9;margin:10px auto;background:url('../assets/adl/programme/bathroom.webp') center/cover;border-radius:16px;overflow:hidden}
.bathroom-mirror{position:absolute;left:28%;top:7%;width:44%;height:52%;border:9px solid #d6c3a1;border-radius:26px;background:linear-gradient(120deg,#e9f5f4,#b9d1d1);box-shadow:0 4px 10px #0005,inset 0 0 0 3px #fff8;overflow:hidden;display:grid;place-items:center}
#mirror-placeholder{font-size:22px;color:#264d48;padding:8px}
#mirror-board #mirror-video{display:block;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover;transform:scaleX(-1);border:0;border-radius:0}
#mirror-board{padding:12px}#mirror-board h2{margin:8px}#mirror-board p{margin:8px}

#bag-identity .item-art{width:52px;height:52px;border-radius:10px}#bag-panel strong{font-size:17px}#shopping-list{grid-column:2;grid-row:4;margin:0;background:#fff;color:#173c32;padding:8px;border-radius:10px;font-size:19px}#bag-panel{grid-row:1/5}

/* TV-style information strip: a stable horizontal band above the activity. */
.journey-toolbar{background:#102f2bed;border-bottom:2px solid #d7bd75;padding:8px 16px;gap:16px}
.journey-toolbar #present-reminder{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1;min-width:0;max-width:none;margin:0;padding:0;background:none;color:#fffef5;border-radius:0;white-space:normal;line-height:1.25;font-size:20px}
.tv-date-time{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.tv-date-time strong{font-size:27px;font-variant-numeric:tabular-nums;color:#ffe08a}
.tv-weather{display:flex;align-items:center;gap:8px;white-space:nowrap}.tv-weather .item-art{display:block;width:48px;height:48px;border-radius:10px;background-color:white;flex:none}.tv-weather small{display:block;font-size:13px;color:#dae4de;margin-top:3px}
.tv-place{max-width:30%;overflow-wrap:anywhere;font-size:18px}
@media(max-width:900px){.journey-toolbar{gap:10px;padding:7px 10px}.journey-toolbar #present-reminder{gap:12px;font-size:18px}.tv-date-time strong{font-size:24px}.tv-place{font-size:16px}.tv-weather .item-art{width:40px;height:40px}.companion-tools{gap:6px}.companion-tools summary{font-size:13px;padding:9px}}
@media(max-width:700px){.journey-toolbar{flex-wrap:wrap}.journey-toolbar #present-reminder{flex-basis:100%}.journey-toolbar .companion-tools{margin-left:auto}.tv-place{max-width:30%}}

/* Keep the senior-facing screen focused on the current question. */
#journey-progress,#stage-label{display:none!important}

/* Three touch targets only for the Hong Kong taxi-colour activity. */
.adl-journey #playerOpts .three-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:94%;gap:16px}
.adl-journey[data-np='1'] .three-options .lanternOpt{width:100%;min-width:0;padding:35px 8px 12px}
.adl-journey .three-options .lanternOpt .item-art{width:min(240px,24vw);height:min(240px,24vw)}
.adl-journey .three-options .lanternOpt .object-label{font-size:clamp(21px,2.7vw,30px)}
@media(max-width:700px){.adl-journey #playerOpts .three-options{gap:8px}.adl-journey .three-options .sideLbl{font-size:12px}}

/* Local JoyMotion integration: keep the journey layout, share the app's visual language. */
.adl-journey{--jm-ink:#0b0d0c;--jm-yellow:#ffda3d}
.adl-journey .journey-toolbar{background:#101820;border-bottom:4px solid var(--jm-ink)}
.adl-journey .journey-toolbar>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 14px;border:3px solid var(--jm-ink);border-radius:999px;background:#fff;color:var(--jm-ink);font-size:18px;white-space:nowrap;box-shadow:0 3px 0 var(--jm-ink)}
.adl-journey .journey-question h1{border:4px solid var(--jm-ink);background:#fff7d7;box-shadow:0 6px 0 var(--jm-ink)}
.adl-journey button:not(.lanternOpt),.adl-journey .companion-tools summary{min-height:48px;border:3px solid var(--jm-ink);border-radius:16px;font-weight:800;box-shadow:0 3px 0 var(--jm-ink)}
.adl-journey .companion-tools summary{background:white;color:var(--jm-ink)}
.adl-journey #start-outing,.adl-journey #pause,.adl-journey #mirror-next,.adl-journey #resume{background:var(--jm-yellow);color:var(--jm-ink)}
.adl-journey[data-np='1'] .lanternOpt{border:4px solid var(--jm-ink);box-shadow:0 6px 0 var(--jm-ink);border-radius:24px}
.adl-journey button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:900px){.adl-journey .journey-toolbar{flex-wrap:wrap}.adl-journey .journey-toolbar #present-reminder{flex-basis:100%}.adl-journey .companion-tools{margin-left:auto}}

/* JoyMotion yellow theme: green remains only on meaningful traffic signals. */
.adl-journey{background:#fff7d7;color:#171712}
.adl-journey #journey:before{background:linear-gradient(#fff2b530,#fff2b518)}
.adl-journey .journey-toolbar,.adl-journey .calendar-panel h2{background:var(--jm-yellow);color:var(--jm-ink)}
.adl-journey .journey-toolbar #present-reminder,.adl-journey .tv-date-time strong,.adl-journey .tv-weather small{color:var(--jm-ink)}
.adl-journey #route-reminder,.adl-journey #scene-context,.adl-journey #orientation-help,.adl-journey .orientation-note{background:#fff1ac;color:var(--jm-ink);text-shadow:none;border-color:#d5ac22}
.adl-journey .today-date strong,.adl-journey #calendar-grid .calendar-week,.adl-journey #mirror-board,.adl-journey #shopping-list,.adl-journey #bag-panel strong{color:var(--jm-ink)}
.adl-journey #calendar-grid .calendar-today{background:var(--jm-yellow);color:var(--jm-ink);outline-color:var(--jm-ink)}
.adl-journey #analogue-clock{border-color:var(--jm-ink);background:#fffbed}
.adl-journey #hour-hand,.adl-journey .clock-centre{background:var(--jm-ink)}
.adl-journey #bag-panel{background:#fff7d7;color:var(--jm-ink);border-color:#caa229}
.adl-journey .lanternOpt .sideLbl{background:var(--jm-yellow);color:var(--jm-ink)}
.adl-journey #journey-progress li.done{background:var(--jm-yellow);color:var(--jm-ink);border-color:var(--jm-ink)}

/* Readable feedback and companion messages in the yellow theme. */
.adl-journey #feedback,.adl-journey #tracking-status,.adl-journey #audio-status{background:#fff1ac;color:#0b0d0c;border:2px solid #d5ac22;text-shadow:none}
.adl-journey #companion-menu[open]{background:#fff7d7;color:#0b0d0c;border-color:#0b0d0c}
.adl-journey #session-info,.adl-journey .orientation-settings label{color:#0b0d0c}

/* Explicit text/surface pairs prevent inherited colors in every journey state. */
.adl-journey #orientation-board,.adl-journey #completed,.adl-journey #rest,.adl-journey .lanternOpt,.adl-journey #scene-props figure,.adl-journey #bag-items figure{color:var(--jm-ink)}
.adl-journey #completed,.adl-journey #rest{background:#fff7d7}
.adl-journey .journey-question>p{background:#fff1ac;color:var(--jm-ink)}
.adl-journey input,.adl-journey select{background:#fff;color:var(--jm-ink);color-scheme:light}
.adl-journey input::placeholder{color:#545454;opacity:1}
.adl-journey #completed .prototype-note{color:#454545}
.adl-journey button:disabled{opacity:1;background:#e7e7e7;color:#484848;border-color:#666;box-shadow:none}
.adl-journey .lanternOpt:disabled{opacity:1;color:var(--jm-ink)}
.adl-journey :is(button,a,summary,input,select):focus-visible{outline:3px solid #1557b0;outline-offset:4px}

/* Stable viewport layout: never shrink the whole scene to the current question. */
html:has(body.adl-journey){height:auto;min-height:100%;overflow:auto}
body.adl-journey{height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto}
.adl-journey #journey,.adl-journey #journey.orientation-mode{position:relative;inset:auto;width:100%;height:auto;min-height:100dvh;transform:none;display:flex;flex-direction:column;overflow:visible;padding-bottom:20px}
.adl-journey .journey-scene{position:fixed;inset:0;width:100%;height:100dvh;object-fit:cover}
.adl-journey #journey:before{position:fixed;height:100dvh}
.adl-journey #story-state{flex:1 0 auto}
.adl-journey #playerOpts{margin-top:auto;padding-top:12px}
.adl-journey #orientation-board,.adl-journey #mirror-board{flex-shrink:0}
@media(min-width:900px) and (max-height:850px){
 .adl-journey .journey-toolbar{gap:10px;padding:6px 12px}
 .adl-journey .journey-question h1{font-size:30px;padding:8px 12px}
 .adl-journey .message-wrap{margin:5px auto}
 .adl-journey #feedback{font-size:19px}
 .adl-journey #story-state{min-height:60px;padding-bottom:4px}
 .adl-journey .lanternOpt .scene-art{height:clamp(130px,24dvh,200px)}
 .adl-journey .lanternOpt .item-art{height:clamp(130px,24dvh,200px);width:clamp(130px,24dvh,200px)}
 .adl-journey .lanternOpt .scene-art{width:100%}
 .adl-journey .lanternOpt .object-label{font-size:26px}
}

/* Stable activity rows and larger pictures without scaling the whole page. */
.adl-journey #journey:not(.orientation-mode) .journey-question h1{min-height:84px;display:grid;place-items:center}
.adl-journey #journey:not(.orientation-mode) .message-wrap{min-height:58px;display:grid;place-items:center}
.adl-journey #playerOpts .options{align-items:stretch}
.adl-journey #playerOpts .lanternOpt .scene-art{height:clamp(180px,29dvh,280px)}
.adl-journey #playerOpts .lanternOpt .item-art:not(.scene-art){width:clamp(160px,27dvh,260px);height:clamp(160px,27dvh,260px)}
.adl-journey #playerOpts .object-label{min-height:2.5em;display:grid;place-items:center;text-align:center}
.adl-journey #playerOpts .lanternOpt.chosen:disabled{background:#fff1ac;border-color:#0b0d0c;box-shadow:0 6px 0 #0b0d0c,0 0 0 5px #ffda3d;color:#0b0d0c}
.adl-journey #playerOpts .lanternOpt.chosen .sideLbl{background:#0b0d0c;color:#fff}
.adl-journey #recap-pictures{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.adl-journey #recap-pictures figure{margin:0;padding:10px;background:white;border:2px solid #0b0d0c;border-radius:16px;flex:1 1 120px;max-width:200px}
.adl-journey #recap-pictures .item-art{width:100%;height:120px;line-height:120px;font-size:70px}
.adl-journey #recap-pictures figcaption{font-size:18px;font-weight:800}
.adl-journey #favourite-recap{margin:18px 0;padding:12px;border-top:2px solid #d5ac22}
.adl-journey #favourite-recap h3{font-size:25px;margin:8px 0}
.adl-journey #favourite-recap button[aria-pressed=true]{background:#0b0d0c;color:white}
.adl-journey #return-to-present{background:white;border-radius:12px;padding:14px}
@media(max-width:700px){.adl-journey #playerOpts .lanternOpt .scene-art{height:170px}.adl-journey #playerOpts .lanternOpt .item-art:not(.scene-art){width:30vw;height:30vw}.adl-journey #playerOpts .object-label{font-size:23px}}



.adl-journey .music-settings{margin:16px 0;padding:14px;border:2px solid #101820;border-radius:14px;background:#fff;color:#101820;}
.adl-journey .music-setting-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.adl-journey .music-settings label{display:flex;justify-content:space-between;font-size:18px;}
.adl-journey #music-volume{width:100%;min-height:44px;accent-color:#806500;cursor:pointer;}
.adl-journey #music-toggle{min-width:80px;background:#fff0a1;color:#101820;}
.adl-journey #music-toggle[aria-pressed="false"]{background:#e7e7e7;}
.adl-journey #companion-menu[open]{max-height:85dvh;overflow:auto;}

/* Location setup is exclusive to the RO page. */
.adl-journey #helper-setup{display:block;width:min(960px,94%);margin:20px auto;padding:clamp(20px,3vw,36px);box-sizing:border-box;text-align:center;background:#fffdf3;color:var(--jm-ink);border:4px solid var(--jm-ink);border-radius:28px;box-shadow:0 7px 0 var(--jm-ink);}
.adl-journey #helper-setup h2{margin:0 0 24px;font-size:clamp(24px,2.8vw,34px);line-height:1.3;}
.adl-journey #helper-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;text-align:left;}
.adl-journey #helper-fields label{display:grid;gap:8px;font-size:clamp(20px,2vw,26px);font-weight:700;min-width:0;}
.adl-journey #helper-fields label:last-child{grid-column:auto;}
.adl-journey #helper-fields input,.adl-journey #helper-fields select{width:100%;min-width:0;min-height:60px;box-sizing:border-box;padding:12px 16px;font:inherit;font-weight:500;color:var(--jm-ink);background:#fff;border:3px solid var(--jm-ink);border-radius:16px;}
.adl-journey #helper-fields input::placeholder{color:#62666a;opacity:1;}
.adl-journey #helper-fields input:focus-visible,.adl-journey #helper-fields select:focus-visible,.adl-journey #helper-setup button:focus-visible{outline:4px solid #2372c8;outline-offset:4px;}
.adl-journey #saved-location{font-size:clamp(24px,3vw,36px);font-weight:700;line-height:1.5;overflow-wrap:anywhere;}
.adl-journey #helper-setup #location-status{margin:20px 0 14px;font-size:clamp(17px,1.7vw,21px);line-height:1.5;color:#444;}
.adl-journey #confirm-location,.adl-journey #edit-location{margin:8px;padding:14px 28px;min-height:60px;background:var(--jm-yellow);color:var(--jm-ink);border:3px solid var(--jm-ink);border-radius:22px;box-shadow:0 5px 0 var(--jm-ink);font-size:clamp(22px,2.3vw,28px);font-weight:800;}
.adl-journey #edit-location{background:#fff;}
.adl-journey #location-voice-status:empty{display:none;}
@media(max-width:640px){.adl-journey #helper-fields{grid-template-columns:1fr;gap:16px}.adl-journey #helper-setup{margin:14px auto}.adl-journey #helper-setup button{width:100%;margin:8px 0}}

.adl-journey .destination-art{display:block;width:100%;aspect-ratio:1;background-size:200% 100%;background-repeat:no-repeat;}
.adl-journey #outing-settings{margin:18px 0;text-align:left;font-size:18px;}
.adl-journey #outing-rows fieldset{border:2px solid var(--jm-ink);border-radius:16px;margin:12px 0;padding:16px;}
.adl-journey #outing-rows label{display:block;margin:10px 0;font-size:18px;}
.adl-journey #outing-rows input{width:22px;height:22px;vertical-align:middle;margin-right:10px;}
.adl-journey #outing-rows select{max-width:100%;font:inherit;padding:10px;}
.adl-journey #keepsake{background:#fff;border:4px solid var(--jm-ink);border-radius:20px;padding:12px;max-width:300px;margin:12px auto;box-shadow:0 6px 0 var(--jm-yellow);}
.adl-journey #keepsake .destination-art{max-height:190px;width:190px;margin:auto;}
.adl-journey #keepsake figcaption{font-size:20px;font-weight:800;margin-top:8px;}
.adl-journey .celebrating #keepsake{animation:ro-celebrate .6s ease-out;}
@keyframes ro-celebrate{from{opacity:0;transform:scale(.85) rotate(-3deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.adl-journey .celebrating #keepsake{animation:none}}

/* RO-only complete picture sizing and compact celebration. */
.adl-journey #playerOpts .lanternOpt .destination-art{flex:none;width:min(100%,clamp(160px,27dvh,260px));height:auto;aspect-ratio:1;background-size:200% 100%;margin-inline:auto;border-radius:12px;}
.adl-journey #playerOpts .lanternOpt .item-art img{width:100%;height:100%;object-fit:contain;}
.adl-journey #journey.completion-mode{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;}
.adl-journey .completion-mode>.journey-question,.adl-journey .completion-mode>.message-wrap,.adl-journey .completion-mode>#story-state{display:none;}
.adl-journey #journey.completion-mode #completed{flex:1;min-height:0;width:min(960px,96%);margin:12px auto;padding:clamp(8px,2dvh,20px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;overflow:hidden;}
.adl-journey #completed h2{font-size:clamp(24px,4dvh,38px);margin:0;}
.adl-journey #completed p{margin:2px 0;font-size:clamp(16px,2.5dvh,23px);line-height:1.3;}
.adl-journey #completed #keepsake{margin:2px auto;padding:4px 16px;border:0;box-shadow:none;background:transparent;}
.adl-journey .celebration-award{font-size:clamp(36px,9dvh,84px);line-height:1;}
.adl-journey #completed button,.adl-journey #save-photo{font-size:clamp(17px,2.7dvh,24px);min-height:44px;padding:8px 16px;margin:2px;border-radius:18px;}
.adl-journey #photo-stage{min-height:0;flex:1;width:100%;}
.adl-journey #celebration-camera{display:block;position:static;width:100%;height:calc(100% - 58px);object-fit:contain;transform:scaleX(-1);}
.adl-journey #photo-result{min-height:0;max-height:25dvh;max-width:100%;object-fit:contain;}
.adl-journey #photo-status:empty{display:none;}
.adl-journey #save-photo{display:inline-block;background:#ffdf37;color:#07131d;border:3px solid #07131d;font-weight:bold;}
@media(max-height:600px){.adl-journey #completed #keepsake{display:none}.adl-journey #completed #return-to-present{font-size:14px}.adl-journey .completion-mode .journey-toolbar{padding-block:4px;}}

.adl-journey .completion-mode>.message-wrap{display:none!important}.adl-journey .completion-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.adl-journey #completed{border-color:var(--jm-ink)}

body.adl-journey{margin:0;}

.adl-journey #celebration-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:20px}.adl-journey #celebration-confetti i{position:absolute;left:var(--x);top:-24px;width:12px;height:20px;background:var(--colour);animation:ro-confetti 2.5s var(--delay) ease-out both;}@keyframes ro-confetti{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translateY(70dvh) rotate(500deg);opacity:0}}@media(prefers-reduced-motion:reduce){.adl-journey #celebration-confetti{display:none}}

/* RO picture cards: full-width scenes and compact, consistently sized captions. */
.adl-journey #playerOpts .lanternOpt{padding:0;gap:0;overflow:hidden;min-height:0;justify-content:flex-start;}
.adl-journey #playerOpts .lanternOpt .item-art{width:100%;max-width:none;height:clamp(180px,32dvh,310px);border-radius:0;margin:0;flex:none;}
.adl-journey #playerOpts .lanternOpt .item-art:not(.scene-art){width:100%;height:clamp(180px,32dvh,310px);}
.adl-journey #playerOpts .lanternOpt .item-art img{object-fit:cover;object-position:center;}
.adl-journey #playerOpts .lanternOpt .sprite-art{width:clamp(180px,32dvh,310px);max-width:100%;aspect-ratio:1;height:auto;align-self:center;}
.adl-journey #playerOpts .lanternOpt .destination-art{width:100%;height:clamp(180px,32dvh,310px);aspect-ratio:auto;background-size:200% auto;}
.adl-journey #playerOpts .lanternOpt .object-label{width:100%;min-height:64px;margin:0;padding:10px 12px;font-size:clamp(22px,2.5vw,30px);line-height:1.25;background:#fff;}
.adl-journey #playerOpts .lanternOpt .sideLbl{top:8px;left:8px;font-size:clamp(13px,1.5vw,18px);padding:6px 10px;z-index:2;}
.adl-journey #playerOpts .lanternOpt.chosen .object-label{background:#fff1ac;}
@media(max-width:700px){.adl-journey #playerOpts .lanternOpt .item-art,.adl-journey #playerOpts .lanternOpt .item-art:not(.scene-art){height:clamp(150px,26dvh,230px)}.adl-journey #playerOpts .lanternOpt .sprite-art{width:min(100%,230px);height:auto}.adl-journey #playerOpts .lanternOpt .object-label{font-size:22px;min-height:62px;padding:8px}.adl-journey #playerOpts .three-options .sideLbl{font-size:12px;padding:5px}}

/* Completion frame: one viewport on tablets and laptops. */
.adl-journey #journey.completion-mode #completed{width:min(1000px,96%);position:relative;flex:1;min-height:0;justify-content:flex-start;margin:8px auto;padding:10px 16px;gap:5px;background:#fff8df;}
.adl-journey #completed h2{font-size:clamp(25px,4.2dvh,42px)}
.adl-journey #completed #outing-summary{font-size:clamp(17px,2.4dvh,23px);background:white;border-radius:10px;padding:4px 12px;}
.adl-journey #completed #return-to-present{font-size:clamp(13px,1.8dvh,17px)}
.adl-journey #celebration-frame{position:relative;flex:1;min-height:100px;width:min(850px,100%);border:3px solid #17241c;border-radius:22px;overflow:hidden;background:repeating-conic-gradient(from 7deg,#ffdf48 0deg 15deg,#fffdf0 15deg 30deg,#ff9870 30deg 45deg,#fffdf0 45deg 60deg,#f6b7cf 60deg 75deg,#fffdf0 75deg 90deg);}
.adl-journey .frame-title{position:absolute;top:2%;width:100%;font-size:clamp(18px,2.7dvh,28px);font-weight:900;text-align:center;}
.adl-journey .frame-window{position:absolute;inset:15% 8% 21%;border:4px solid white;border-radius:14px;overflow:hidden;background:#fff9e9;display:grid;place-items:center;}
.adl-journey .frame-caption{position:absolute;bottom:3%;width:100%;font-size:clamp(18px,2.8dvh,28px);font-weight:900;text-align:center;}
.adl-journey .frame-caption small{display:block;font-size:clamp(11px,1.6dvh,15px)}
.adl-journey #photo-placeholder strong{font-size:clamp(20px,3dvh,30px)}
.adl-journey #completed #photo-stage{position:absolute;inset:0;width:100%;height:100%;}
.adl-journey #completed #celebration-camera,.adl-journey #completed #photo-result{width:100%;height:100%;max-height:none;object-fit:cover;position:absolute;inset:0;}
.adl-journey #photo-count{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(70px,16dvh,150px);font-weight:900;color:white;text-shadow:0 4px #17241c;-webkit-text-stroke:2px #17241c;}
.adl-journey #photo-actions,.adl-journey #photo-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.adl-journey #completed #photo-status{font-size:clamp(14px,2dvh,18px);min-height:1.2em;}
.adl-journey #take-photo,.adl-journey #capture-photo{background:#ffdf37;}
@media(max-height:650px){.adl-journey #completed #return-to-present{display:none}.adl-journey #completed .frame-title{font-size:18px}.adl-journey #completed .frame-caption{font-size:18px}.adl-journey #completed p{font-size:16px}.adl-journey #completed button,.adl-journey #save-photo{font-size:17px;padding:6px 12px;min-height:44px}.adl-journey #journey.completion-mode #completed{gap:3px;padding:6px 12px}}
