/* A viewport-sized adventure desk. Reading happens one card at a time. */
.ex3-host{display:flex;flex:1 1 auto;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;position:relative;color:#2f4937;background:#f6f0df;isolation:isolate}
.ex3-host *,.ex3-host *:before,.ex3-host *:after{box-sizing:border-box}
.ex3-host button,.ex3-host select{font:inherit;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ex3-host button{cursor:pointer}.ex3-host button:disabled{cursor:default;opacity:1;color:#68745c;background:#e8e8d9}
.ex3-host button:focus-visible,.ex3-host select:focus-visible,.ex3-archive:focus-visible{outline:3px solid #aa763d;outline-offset:-4px}
.ex3-host :is(h2,h3,p){margin:0}.ex3-host img{display:block;object-fit:contain}.ex3-host :is(button,p,h2,h3,small){overflow-wrap:anywhere}
.ex3-app{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0,#e4e8cf88,transparent 55%),repeating-linear-gradient(90deg,#a48b5010 0,#a48b5010 1px,transparent 1px,transparent 5px),#f7f1df}
.ex3-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:0 0 auto;padding:17px 23px 13px;border-bottom:1px solid #d6d5bc;background:#fcf7e9}
.ex3-header>div{min-width:0}.ex3-header small{display:block;font-size:10px;letter-spacing:1.7px;color:#748164;margin-bottom:4px}.ex3-header h2{font-size:22px;line-height:1.4;letter-spacing:-.4px;color:#2d4933;font-weight:750}
.ex3-meter{border:1px solid #a6b58c;border-radius:30px;padding:6px 12px;font:italic 20px Georgia,serif;line-height:1.3;color:#708254;background:#edf0dc;flex-shrink:0;white-space:nowrap}
.ex3-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 23px;background:#e9ecd8;border-bottom:1px solid #cad1b4;flex:0 0 auto;min-height:42px;font-size:14px;line-height:1.5;color:#536943}
.ex3-toolbar b{font-family:Georgia,serif;color:#34542e;font-size:20px;margin-left:4px}.ex3-district-picker{display:flex;align-items:center;gap:10px;font-size:14px;min-width:0}.ex3-district-picker select{min-height:44px;padding:7px 30px 7px 11px;border:1px solid #a8b68e;background:#f7f7e8;border-radius:9px;font-size:16px;min-width:150px;max-width:100%}.ex3-quest-count{font-size:14px;color:#50653f;white-space:nowrap}
.ex3-body{display:flex;flex-direction:column;flex:1 1 0;min-width:0;min-height:0;overflow:hidden;position:relative;padding:20px 24px;gap:12px}
.ex3-bottom{display:flex;align-items:stretch;justify-content:center;gap:10px;flex:0 0 auto;padding:12px 22px max(12px,env(safe-area-inset-bottom));background:#fbf6e8;border-top:1px solid #ced4b8;position:relative;z-index:3}
.ex3-bottom>.ex3-button{flex:1 1 0;min-width:0;max-width:430px;justify-content:center;text-align:center;min-height:46px}
.ex3-button{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 15px;border:1px solid #a9b995;border-radius:11px;background:#f0f2df;line-height:1.55;font-size:16px;text-align:left;transition:background .18s,border-color .18s,transform .18s;position:relative;min-width:0;max-width:100%;white-space:normal;overflow:visible;color:#334f35}
.ex3-button>span{min-width:0;line-height:inherit}.ex3-button:hover:not(:disabled){background:#e1e9cd;border-color:#829a68;transform:translateY(-1px)}.ex3-button>svg{width:39px;height:36px;flex:0 0 39px}.ex3-button>img{width:39px;height:43px;flex:0 0 39px}.ex3-primary{background:#3c5d40;color:#fff9e6!important;border-color:#3c5d40;box-shadow:0 3px 0 #28462d}.ex3-primary:hover:not(:disabled){background:#4d704d;border-color:#4d704d}.ex3-primary:disabled{background:#dce2cc;color:#718164!important;border-color:#b5c29c;box-shadow:none}.ex3-secondary{background:#fff8e6;border-color:#b7c19f;color:#526640}.ex3-text{background:none;border:0;box-shadow:none;padding:8px 0;font-size:14px;color:#61784f;min-height:44px}.ex3-small{padding:8px 13px;font-size:14px;min-height:44px}.ex3-button.is-active{background:#dce7ca;border-color:#738f5f;color:#2e4b2e;box-shadow:inset 0 -3px 0 #b5c89c}.ex3-button.is-selected{background:#dce9c9;border:2px solid #6b8a56;box-shadow:0 2px 0 #b6c99a}
.ex3-notice{font-size:14px;line-height:1.5;color:#5c532d;background:#ede5c9;border-top:1px solid #d1c294;padding:8px 22px;flex:0 0 auto;position:relative;z-index:2}
.ex3-help,.ex3-source-note,.ex3-story-note,.ex3-answer-help{font-size:14px;line-height:1.6;color:#586b4e;display:block}.ex3-prompt{font-size:18px;line-height:1.7;color:#334a32;max-width:48rem}.ex3-empty{padding:24px;font-size:16px;line-height:1.7}
.ex3-map{position:relative;overflow:hidden;border:1px solid #869d73;border-radius:15px;flex:1 1 0;min-height:0;background:#d6e2c5;box-shadow:0 4px 0 #d6ddbf;isolation:isolate}
.ex3-scene-background{position:absolute;inset:0;overflow:hidden;z-index:-2;background:#b0c3a0}.ex3-scene-background>img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--scene-x,50%) var(--scene-y,50%);transform:scale(1.03);filter:saturate(.93)}
.ex3-island .ex3-map .ex3-scene-background>img{transform:scale(1.45);object-position:var(--scene-x,50%) var(--scene-y,50%)}
.ex3-map:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:6;box-shadow:inset 0 0 35px #243b3023;border-radius:15px}
.ex3-place-tag{position:absolute;left:18px;top:17px;z-index:3;max-width:calc(100% - 36px);padding:12px 15px;background:#fff9e8ed;border:1px solid #d7d7b7;border-radius:12px;box-shadow:0 3px 0 #6a79452b;backdrop-filter:blur(5px)}.ex3-place-tag>small{font-size:14px;line-height:1.5;color:#68764f;display:block}.ex3-place-tag h3{font-size:22px;line-height:1.5;color:#395532;margin-top:3px}.ex3-map-caption{position:absolute;bottom:14px;left:15px;right:15px;z-index:5;padding:8px 13px;border-radius:9px;background:#fff7e3ee;text-align:center;font-size:16px;line-height:1.5;color:#4b633d;border:1px solid #d2d5b7}
.ex3-npc{position:absolute;z-index:4;transform:translate(-50%,-65%);background:none;border:0;padding:0;min-width:84px;min-height:100px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 4px 2px #233f3837)}.ex3-npc>img{width:90px;height:118px;animation:ex3-breathe 4s ease-in-out infinite}.ex3-npc>span{background:#fffae9;border:1px solid #b9c7a0;border-radius:20px;font-size:14px;line-height:1.4;padding:5px 10px;box-shadow:0 2px 0 #668a6040;white-space:nowrap;color:#405f39}
.ex3-map-object{position:absolute;z-index:3;transform:translate(-50%,-50%);padding:3px;background:#fff4d7dc;border:1px solid #c9bf97;border-radius:50%;min-height:52px;min-width:52px;box-shadow:0 4px 0 #6e77462b;animation:ex3-float 4s ease-in-out infinite}.ex3-map-object>svg{display:block;width:53px;height:50px}.ex3-map-object.is-packed{opacity:.65;filter:saturate(.5)}
.ex3-player{position:absolute;left:45%;top:72%;width:75px;z-index:4;transform:translate(-50%,-55%);pointer-events:none;transition:left .5s ease,top .5s ease}.ex3-player:before{content:'';position:absolute;bottom:0;left:4px;right:4px;height:15px;border-radius:50%;background:#2642323d;filter:blur(2px)}.ex3-player img{width:75px;height:98px;position:relative;filter:drop-shadow(0 3px 2px #31473221)}.ex3-player.is-walking img{animation:ex3-step .22s ease-in-out infinite alternate}
.ex3-rain-mist{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(115deg,transparent 0,transparent 40px,#e8f1e845 41px,#e8f1e845 42px,transparent 44px,transparent 78px),#49675822;animation:ex3-rain 1.2s linear infinite}.ex3-floating-leaves{position:absolute;inset:0;pointer-events:none}.ex3-floating-leaves i{position:absolute;left:10%;top:30%;width:15px;height:7px;background:#c4a960;border-radius:80% 0;animation:ex3-leaf 7s ease-in-out infinite}.ex3-floating-leaves i:nth-child(2){top:50%;left:40%;animation-delay:-2s;background:#91a65f}.ex3-floating-leaves i:nth-child(3){top:65%;left:20%;animation-delay:-5s}
.ex3-task{display:flex;flex-direction:column;gap:14px;min-height:0;flex:1 1 0;padding:19px 22px;border:1px solid #c2cba9;border-radius:14px;background:repeating-linear-gradient(0deg,transparent,transparent 27px,#d8cfb319 28px),#fff9e9;box-shadow:0 4px 0 #e2dbc3;position:relative;overflow:hidden}
.ex3-task-person{display:grid;grid-template-columns:58px minmax(0,1fr) 44px;gap:13px;align-items:center;flex:0 0 auto}.ex3-task-person>img{width:58px;height:69px}.ex3-task-person small{font-size:14px;line-height:1.5;color:#6e8157;display:block;margin-bottom:3px}.ex3-task-person h3{font-size:22px;line-height:1.5;color:#3d5835}.ex3-task-hint{width:44px;height:44px;border-radius:50%;border:1px solid #9eaf83;background:#edf1d9;color:#617a4b;font-size:21px;line-height:1;display:grid;place-items:center;flex-shrink:0}
.ex3-step-meter{height:5px;background:#e0e4cf;border-radius:5px;overflow:hidden;flex:0 0 5px}.ex3-step-meter>i{display:block;height:100%;background:#7f9b61;border-radius:5px;transition:width .25s}.ex3-actions{display:grid;grid-template-columns:1fr;gap:10px;align-content:center;min-height:0;flex:1 1 0}.ex3-actions>.ex3-button{width:100%;font-size:17px;min-height:50px}.ex3-story-note{margin-top:auto;font-size:14px;line-height:1.5;color:#65754f}
.ex3-roster-view{display:flex;flex-direction:column;flex:1;min-height:0;gap:13px}.ex3-roster-view>.ex3-help{flex-shrink:0}.ex3-roster-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-content:start;padding:3px 3px 12px}.ex3-resident-card{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:142px;padding:12px 7px;background:#edf0db;border-color:#b9c6a0;text-align:center}.ex3-resident-card img{width:100%;height:90px;flex:none}.ex3-resident-card span{font-size:16px}
.ex3-profile{display:flex;flex-direction:column;align-items:center;gap:13px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:15px 24px;border-radius:14px;background:#fff8e6;border:1px solid #bdc6a5}.ex3-profile-art{width:100%;height:140px;border-radius:10px;background:radial-gradient(ellipse,#dce6c9,transparent 70%);flex-shrink:0}.ex3-profile-art img{width:100%;height:140px}.ex3-profile h3{font-size:24px;line-height:1.5;text-align:center}.ex3-profile h3>small{display:block;font-size:14px;line-height:1.5;color:#6f805b}.ex3-profile>p{font-size:17px;line-height:1.7;max-width:35rem}.ex3-profile-facts{display:flex;flex-direction:column;gap:8px;align-self:stretch;max-width:35rem;margin:auto}.ex3-profile-facts small{font-size:14px;line-height:1.65;color:#5d714c}.ex3-profile>.ex3-button{flex-shrink:0;width:100%;justify-content:center}
.ex3-topic-menu{display:flex;flex-direction:column;gap:14px;min-height:0;flex:1}.ex3-topic-menu>p{font-size:16px;line-height:1.6;color:#536b43}.ex3-topic-card{flex:1 1 0;min-height:74px;padding:15px 20px;gap:18px;background:#fff8e7;border-color:#bfc6a3;box-shadow:0 3px 0 #dddcc0}.ex3-topic-card>img{width:66px;height:72px;flex:0 0 66px}.ex3-topic-card b{display:block;font-size:21px;line-height:1.4;color:#3e5c36;margin-bottom:6px}.ex3-topic-card small{display:block;font-size:14px;line-height:1.6;color:#617550}
.ex3-memory-clue{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;flex:1;min-height:0;padding:24px 35px;text-align:center;border-radius:14px;background:radial-gradient(ellipse at 50% 0,#ece5ca88,transparent 60%),#fff8e7;border:1px solid #c5c8a7;box-shadow:0 4px 0 #dbd8bb;position:relative}.ex3-memory-clue:after{content:'';position:absolute;right:0;bottom:0;width:35px;height:35px;background:linear-gradient(135deg,transparent 49%,#d2c69c 50%,#ede3c5 70%);border-radius:0 0 10px 0}.ex3-memory-portrait{width:165px;height:175px;flex:0 1 175px;min-height:45px;background:radial-gradient(ellipse,#e0e8cc,transparent 70%);display:flex;align-items:center;justify-content:center}.ex3-memory-portrait>img{width:100%;height:100%;object-fit:contain}.ex3-memory-decoration{width:85px;height:75px;flex:0 0 75px;transform:rotate(-6deg)}.ex3-memory-decoration>svg{width:100%;height:100%}.ex3-memory-clue>small{font-size:14px;line-height:1.6;color:#708359}.ex3-memory-clue>h3{font-size:24px;line-height:1.5;color:#4e6540}.ex3-memory-clue .ex3-prompt{font-size:20px;line-height:1.7;max-width:35rem}.ex3-memory-clue .ex3-source-note{margin-top:auto;font-size:14px;color:#728260}
.ex3-answer-page{display:flex;flex-direction:column;gap:14px;flex:1 1 0;min-height:0}.ex3-answer-prompt{font-size:17px;line-height:1.65;color:#365333;flex-shrink:0}.ex3-answer-options{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-content:center;flex:1 1 0;min-height:0}.ex3-answer{min-height:50px;padding:12px 15px;width:100%;font-size:16px;line-height:1.6}.ex3-answer>span{display:flex;gap:12px;align-items:center}.ex3-answer-number{display:grid;place-items:center;background:#e3e9d0;border:1px solid #acbc90;border-radius:50%;height:28px;min-width:28px;color:#60794a;font-size:14px;line-height:1.2;flex:0 0 28px}.ex3-answer-options.is-visual{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ex3-answer-options.is-visual>.ex3-answer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:11px 9px;text-align:center;min-height:124px}.ex3-answer-options.is-visual>.ex3-answer>img{width:100%;height:84px;flex:none}.ex3-answer-options.is-visual>.ex3-answer>span{display:block;font-size:16px;line-height:1.5}.ex3-answer-options.is-order>.ex3-answer{padding:8px 14px;min-height:62px}.ex3-answer-options.is-order>.ex3-answer>img{width:48px;height:50px;flex:0 0 48px}.ex3-answer-help{flex-shrink:0;font-size:14px;line-height:1.5;color:#62784e}
.ex3-order-rail{display:flex;gap:7px;flex-shrink:0}.ex3-order-rail>span{flex:1;min-width:0;padding:8px 7px;border:1px dashed #b6c099;border-radius:8px;background:#ecefdc;text-align:center;font-size:14px;line-height:1.4;color:#687e52}
.ex3-feedback-page{display:grid;grid-template-columns:105px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:13px 20px;padding:24px 30px;min-height:0;flex:1;border:1px solid #b3c29a;border-radius:14px;background:#f0f4df;box-shadow:0 4px 0 #d4deba;align-content:center}.ex3-feedback-page>img{grid-column:1;grid-row:1/3;width:105px;height:130px;align-self:center}.ex3-feedback-badge{font-size:16px;line-height:1.5;color:#4c6c3d;align-self:end}.ex3-feedback-page>h3{grid-column:2;grid-row:2;font-size:24px;line-height:1.5;color:#3a5c32}.ex3-feedback-page>p{grid-column:1/-1;grid-row:3;font-size:18px;line-height:1.7;align-self:center;color:#3f5937}.ex3-feedback-page>small{grid-column:1/-1;grid-row:4;font-size:14px;line-height:1.6;color:#627d4f}.ex3-feedback-page.is-wrong{background:#f4e6d5;border-color:#c4a07e;box-shadow:0 4px 0 #dfcdb1}.ex3-feedback-page.is-wrong :is(h3,.ex3-feedback-badge,p){color:#775437}
.ex3-chapter{font-size:14px;line-height:1.5;color:#6e7b59;white-space:nowrap}.ex3-chapter.is-current{color:#2b4c2e;font-weight:800}.ex3-chapter.is-complete{color:#5d7e46}.ex3-case-pin{position:absolute;z-index:4;transform:translate(-50%,-50%);background:none;border:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:44px;min-height:44px}.ex3-case-pin>b{display:grid;place-items:center;width:44px;height:44px;border:2px solid #8c9f70;background:#fff8df;border-radius:50%;box-shadow:0 3px 0 #556c443d;font-size:16px;line-height:1;color:#65774d}.ex3-case-pin>span{padding:5px 9px;border:1px solid #a9b88c;border-radius:7px;background:#fff6dfee;color:#4f6741;white-space:nowrap;font-size:14px;line-height:1.4}.ex3-case-pin.is-found>b{background:#4b7246;color:#fff8e5;border-color:#4b7246}.ex3-case-pin.is-found>span{background:#e6efd7}
.ex3-clue-page{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;flex:1;min-height:0;padding:20px 27px;background:repeating-linear-gradient(0deg,transparent,transparent 27px,#d6c9ab19 28px),#fff8e7;border:1px solid #bac5a0;border-radius:12px;box-shadow:0 4px 0 #dedcc0}.ex3-clue-art{width:86px;height:76px;align-self:center;flex:0 0 76px;background:radial-gradient(ellipse,#e8e0c0,transparent 70%)}.ex3-clue-art>svg{width:100%;height:100%}.ex3-clue-page>small{font-size:14px;line-height:1.5;color:#6e8055}.ex3-clue-page>h3{font-size:24px;line-height:1.5;color:#425f37}.ex3-clue-page>p{font-size:18px;line-height:1.7;color:#3d5635}.ex3-clue-page>.ex3-button{width:100%;justify-content:center;margin-top:auto;flex-shrink:0}
.ex3-deduction-page{display:flex;flex-direction:column;gap:15px;min-height:0;flex:1}.ex3-deduction-page>h3{font-size:24px;line-height:1.5;color:#3d5b34}.ex3-deduction-page>.ex3-help{font-size:16px;line-height:1.65;color:#586e47}.ex3-case-options{display:grid;grid-template-columns:1fr;gap:12px;min-height:0;align-content:center;flex:1}.ex3-case-options>.ex3-button{min-height:65px;padding:12px 14px}.ex3-case-options>.ex3-button>span{display:flex;align-items:center;gap:12px}.ex3-case-options>.ex3-button b{font-size:16px;color:#6e8352;min-width:20px}.ex3-proof-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;min-height:0;align-content:center;flex:1}.ex3-proof-options>.ex3-button{display:flex;flex-direction:column;align-items:flex-start;min-height:150px;padding:15px 16px;gap:8px}.ex3-proof-options>.ex3-button>svg{width:53px;height:47px;flex:0 0 47px;align-self:center}.ex3-proof-options>.ex3-button>span{display:block}.ex3-proof-options b{display:block;font-size:17px;line-height:1.5;color:#445f36;padding-right:15px}.ex3-proof-options small{display:block;font-size:14px;line-height:1.6;color:#61764c;margin-top:5px}.ex3-proof-options i{position:absolute;right:12px;top:10px;font-style:normal;font-size:18px;color:#66834d}
.ex3-destination-options{display:grid;grid-template-columns:1fr;gap:12px;align-content:center;flex:1;min-height:0}.ex3-destination-options>.ex3-button{min-height:82px;padding:15px 18px;gap:18px}.ex3-destination-options>.ex3-button>svg{width:54px;height:50px;flex:0 0 54px}.ex3-destination-options b{display:block;font-size:18px;line-height:1.5;color:#405b34}.ex3-destination-options small{display:block;font-size:14px;line-height:1.6;color:#61784d;margin-top:4px}
.ex3-ending{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0}.ex3-ending-art{flex:1 1 150px;min-height:65px;max-height:220px;position:relative;isolation:isolate;border-radius:13px;overflow:hidden;box-shadow:0 3px 0 #d7ddbe;border:1px solid #8da27d}.ex3-ending-art>img{position:absolute;width:80px;height:100px;left:42%;bottom:7px;filter:drop-shadow(0 3px 2px #28433333)}.ex3-ending-art>div:last-child{position:absolute;left:62%;bottom:9px;width:57px;height:53px}.ex3-ending-art>div:last-child>svg{width:100%;height:100%}.ex3-ending>.ex3-feedback-badge{align-self:start;font-size:16px;line-height:1.5;color:#547b40}.ex3-ending h3{font-size:24px;line-height:1.5;color:#375832}.ex3-ending>p{font-size:18px;line-height:1.7;color:#3e5836}.ex3-ending>small{font-size:14px;line-height:1.6;color:#627c51}
.ex3-sheet{position:absolute;inset:10px;z-index:20;display:flex;flex-direction:column;min-height:0;border:1px solid #9ead87;border-radius:14px;background:#fff8e7;box-shadow:0 0 0 20px #29432c65,0 12px 45px #2d452c3d;animation:ex3-sheet-in .22s ease-out}.ex3-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 19px;border-bottom:1px solid #bdc5a3;background:#eef0dc;flex-shrink:0}.ex3-sheet h3{font-size:20px;line-height:1.5;color:#365430}.ex3-archive{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:23px;display:flex;flex-direction:column;gap:20px;font-size:16px;line-height:1.7;color:#375431}.ex3-archive p{font-size:17px;line-height:1.7}.ex3-archive small{font-size:14px;line-height:1.65;color:#647c50}.ex3-archive-clue{padding-bottom:20px;border-bottom:1px dashed #b7c19c;flex-shrink:0}.ex3-archive-clue h3{font-size:19px;line-height:1.5;margin:7px 0 12px}.ex3-archive-clue p+p{margin-top:13px}.ex3-clue-note{padding:15px;border-left:3px solid #8da470;background:#eef0d9}.ex3-hint-art{width:100px;height:90px;align-self:center}.ex3-hint-art>svg{width:100%;height:100%}
.ex3-paused *{animation-play-state:paused!important}.ex3-paused .ex3-player{transition:none!important}
@media(min-width:761px){.ex3-host{height:min(730px,calc(100dvh - 140px))}}
@media(max-width:760px){
 .ex3-header{padding:11px 15px 10px;gap:10px}.ex3-header small{font-size:14px!important;line-height:1.4!important;letter-spacing:0;display:none}.ex3-header h2{font-size:20px;line-height:1.4}.ex3-meter{font-size:18px;padding:5px 10px}
 .ex3-toolbar{padding:7px 14px;gap:7px;min-height:36px;font-size:14px;line-height:1.4}.ex3-toolbar b{font-size:18px;margin-left:3px}.ex3-district-picker{gap:7px;font-size:14px}.ex3-district-picker select{min-height:44px;min-width:145px;font-size:16px;padding:7px 23px 7px 9px}.ex3-quest-count{font-size:14px}
 .ex3-body{padding:12px 13px;gap:10px}.ex3-bottom{padding:9px 12px max(9px,env(safe-area-inset-bottom));gap:8px}.ex3-bottom>.ex3-button{min-height:44px;padding:8px 9px;font-size:16px!important;line-height:1.5!important}.ex3-bottom>.ex3-button>span{font-size:16px;line-height:1.5}
 .ex3-button{font-size:16px!important;line-height:1.5!important;min-height:44px;padding:10px 12px;gap:10px;border-radius:10px}.ex3-button>svg{width:33px;height:32px;flex:0 0 33px}.ex3-button>img{width:34px;height:37px;flex:0 0 34px}.ex3-small{font-size:16px!important;min-height:44px}.ex3-notice{padding:7px 13px;font-size:14px;line-height:1.45}
 .ex3-help,.ex3-source-note,.ex3-story-note,.ex3-answer-help{font-size:14px!important;line-height:1.5!important}.ex3-prompt{font-size:16px!important;line-height:1.7!important}
 .ex3-map{border-radius:12px}.ex3-map:after{border-radius:12px}.ex3-place-tag{left:10px;top:10px;max-width:calc(100% - 20px);padding:9px 11px;border-radius:9px}.ex3-place-tag small{font-size:14px!important;line-height:1.4!important}.ex3-place-tag h3{font-size:19px;line-height:1.45;margin-top:2px}.ex3-map-caption{left:10px;right:10px;bottom:9px;padding:7px 9px;font-size:16px;line-height:1.4;border-radius:8px}
 .ex3-npc{min-width:70px;min-height:83px}.ex3-npc>img{width:71px;height:91px}.ex3-npc>span{font-size:14px;line-height:1.3;padding:4px 8px}.ex3-map-object{min-width:44px;min-height:44px;padding:2px;animation:none}.ex3-map-object>svg{width:42px;height:41px}.ex3-player{width:60px}.ex3-player img{width:60px;height:78px}
 .ex3-task{padding:12px 13px;gap:10px;border-radius:11px}.ex3-task-person{grid-template-columns:43px minmax(0,1fr) 44px;gap:9px}.ex3-task-person>img{width:43px;height:51px}.ex3-task-person small{font-size:14px!important;line-height:1.4!important;margin:0}.ex3-task-person h3{font-size:18px;line-height:1.4;margin-top:3px}.ex3-task-hint{height:44px;width:44px;min-height:44px;font-size:20px!important;line-height:1!important}
 .ex3-actions{gap:7px}.ex3-actions>.ex3-button{font-size:16px!important;min-height:44px;padding:7px 10px;line-height:1.5!important}.ex3-actions>.ex3-button>svg{height:31px;width:33px;flex:0 0 33px}.ex3-actions>.ex3-button>img{width:30px;height:32px;flex:0 0 30px}.ex3-task[data-quest-phase="ice"] .ex3-task-person h3{display:none}.ex3-task[data-quest-phase="ice"] .ex3-task-person>img{height:44px}.ex3-story-note{margin-top:0;font-size:14px!important;line-height:1.4!important}
 .ex3-roster-scroll{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ex3-resident-card{padding:10px 5px;min-height:120px;gap:6px}.ex3-resident-card img{width:100%;height:78px;flex:none}.ex3-resident-card span{font-size:16px}.ex3-profile{padding:14px 17px;gap:10px}.ex3-profile-art{height:95px}.ex3-profile-art img{height:95px}.ex3-profile h3{font-size:21px;line-height:1.45}.ex3-profile h3>small{font-size:14px!important;line-height:1.5!important}.ex3-profile>p{font-size:16px!important;line-height:1.7!important}.ex3-profile-facts{gap:7px}.ex3-profile-facts small{font-size:14px!important;line-height:1.6!important}
 .ex3-topic-menu{gap:10px}.ex3-topic-menu>p{font-size:16px!important;line-height:1.6!important}.ex3-topic-card{min-height:70px;padding:11px 13px;gap:13px}.ex3-topic-card>img{height:58px;width:49px;flex:0 0 49px}.ex3-topic-card b{font-size:18px;line-height:1.35;margin-bottom:4px}.ex3-topic-card small{font-size:14px!important;line-height:1.5!important}
 .ex3-memory-clue{padding:17px 18px;gap:10px;border-radius:11px}.ex3-memory-portrait{width:130px;height:133px;flex:0 1 133px;min-height:45px}.ex3-memory-decoration{width:65px;height:57px;flex:0 0 57px}.ex3-memory-clue>small{font-size:14px!important;line-height:1.4!important}.ex3-memory-clue>h3{font-size:20px;line-height:1.4}.ex3-memory-clue .ex3-prompt{font-size:16px!important;line-height:1.7!important}.ex3-memory-clue .ex3-source-note{font-size:14px!important;line-height:1.4!important;margin-top:0}
 .ex3-answer-page{gap:10px}.ex3-answer-prompt{font-size:16px!important;line-height:1.7!important}.ex3-answer-options{gap:8px}.ex3-answer{min-height:46px;padding:9px 12px;font-size:16px!important;line-height:1.5!important}.ex3-answer>span{gap:10px}.ex3-answer-number{height:26px;min-width:26px;flex-basis:26px;font-size:14px;line-height:1}
 .ex3-answer-options.is-visual{gap:9px}.ex3-answer-options.is-visual>.ex3-answer{padding:7px 6px;min-height:84px;gap:3px}.ex3-answer-options.is-visual>.ex3-answer>img{height:53px;width:100%;flex:none}.ex3-answer-options.is-visual>.ex3-answer>span{font-size:16px!important;line-height:1.35!important}.ex3-answer-options.is-order>.ex3-answer{padding:6px 10px;min-height:51px}.ex3-answer-options.is-order>.ex3-answer>img{width:38px;height:39px;flex:0 0 38px}.ex3-answer-help{font-size:14px!important;line-height:1.4!important}.ex3-order-rail{gap:6px}.ex3-order-rail>span{padding:6px 5px;font-size:14px;line-height:1.3}
 .ex3-feedback-page{grid-template-columns:68px minmax(0,1fr);gap:10px 13px;padding:17px 17px;border-radius:11px}.ex3-feedback-page>img{width:68px;height:88px}.ex3-feedback-badge{font-size:16px;line-height:1.45}.ex3-feedback-page>h3{font-size:20px;line-height:1.4}.ex3-feedback-page>p{font-size:16px!important;line-height:1.7!important}.ex3-feedback-page>small{font-size:14px!important;line-height:1.5!important}
 .ex3-case-mode .ex3-toolbar{padding-block:9px;gap:5px;flex-wrap:nowrap}.ex3-chapter{font-size:14px;line-height:1.35;white-space:normal}.ex3-case-mode .ex3-meter{font-size:18px}.ex3-case-pin{gap:4px}.ex3-case-pin>b{width:44px;height:44px;min-height:44px;font-size:16px;line-height:1}.ex3-case-pin>span{font-size:14px;line-height:1.35;padding:4px 6px}.ex3-case-map .ex3-place-tag h3{font-size:18px}
 .ex3-clue-page{padding:15px 17px;gap:10px;justify-content:flex-start}.ex3-clue-art{height:49px;width:60px;flex:0 0 49px}.ex3-clue-page>small{font-size:14px!important;line-height:1.4!important}.ex3-clue-page>h3{font-size:20px;line-height:1.45}.ex3-clue-page>p{font-size:16px!important;line-height:1.7!important}.ex3-clue-page>.ex3-button{margin-top:auto;min-height:44px;font-size:16px!important;padding:9px 10px}
 .ex3-deduction-page{gap:10px}.ex3-deduction-page>h3{font-size:20px;line-height:1.45}.ex3-deduction-page>.ex3-help{font-size:16px!important;line-height:1.6!important}.ex3-case-options{gap:9px}.ex3-case-options>.ex3-button{min-height:53px;padding:8px 10px;gap:10px}.ex3-case-options>.ex3-button>span{gap:8px}.ex3-case-options>.ex3-button b{font-size:16px;min-width:16px}.ex3-case-options>.ex3-button>svg{width:33px;height:34px;flex-basis:33px}
 .ex3-proof-options{gap:10px}.ex3-proof-options>.ex3-button{min-height:108px;padding:10px 10px;gap:5px;justify-content:center}.ex3-proof-options>.ex3-button>svg{width:42px;height:37px;flex:0 0 37px}.ex3-proof-options b{font-size:16px;line-height:1.4;padding-right:9px}.ex3-proof-options small{font-size:14px!important;line-height:1.5!important;margin-top:5px}.ex3-proof-options i{right:8px;top:6px;font-size:16px}
 .ex3-destination-options{gap:10px}.ex3-destination-options>.ex3-button{min-height:69px;padding:9px 12px;gap:12px}.ex3-destination-options>.ex3-button>svg{width:43px;height:40px;flex-basis:43px}.ex3-destination-options b{font-size:16px;line-height:1.4}.ex3-destination-options small{font-size:14px!important;line-height:1.5!important;margin-top:4px}
 .ex3-ending{gap:10px}.ex3-ending-art{flex-basis:100px;min-height:52px;max-height:140px}.ex3-ending-art>img{width:61px;height:78px;bottom:4px}.ex3-ending-art>div:last-child{width:43px;height:40px;bottom:6px}.ex3-ending>.ex3-feedback-badge{font-size:16px;line-height:1.4}.ex3-ending h3{font-size:20px;line-height:1.4}.ex3-ending>p{font-size:16px!important;line-height:1.7!important}.ex3-ending>small{font-size:14px!important;line-height:1.5!important}
 .ex3-sheet{inset:7px;border-radius:11px}.ex3-sheet>header{padding:12px 13px;gap:10px}.ex3-sheet h3{font-size:19px;line-height:1.4}.ex3-archive{padding:18px;gap:18px}.ex3-archive p{font-size:16px!important;line-height:1.7!important}.ex3-archive small{font-size:14px!important;line-height:1.65!important}.ex3-archive-clue h3{font-size:18px;line-height:1.5}.ex3-clue-note{padding:13px}.ex3-hint-art{width:75px;height:65px}
}
@media(max-width:760px) and (max-height:720px){
 .ex3-island .ex3-header{display:none}.ex3-island .ex3-body{padding:9px 11px}.ex3-island .ex3-toolbar{padding-block:5px}.ex3-task{padding:11px 12px;gap:8px}.ex3-task-person h3{font-size:17px}.ex3-task-person>img{height:46px}.ex3-prompt{line-height:1.65!important}.ex3-actions{gap:6px}.ex3-task[data-quest-phase="ice"] .ex3-task-person{min-height:44px}.ex3-task[data-quest-phase="ice"] .ex3-task-person small{font-size:14px!important}.ex3-story-note{display:none}
 .ex3-header{padding-block:9px}.ex3-header h2{font-size:19px}.ex3-body{padding:10px 12px}.ex3-memory-clue{padding:13px 15px;gap:8px}.ex3-memory-clue>h3{font-size:19px}.ex3-memory-portrait{height:90px;flex-basis:90px;width:102px}.ex3-memory-decoration{height:43px;flex-basis:43px;width:52px}.ex3-memory-clue .ex3-source-note,.ex3-answer-help{display:none}.ex3-topic-menu{gap:8px}.ex3-topic-card{padding:9px 11px;min-height:66px}.ex3-topic-card>img{height:48px;width:42px;flex-basis:42px}.ex3-topic-card b{font-size:17px}.ex3-answer-page{gap:8px}.ex3-answer-options{gap:6px}.ex3-answer-options.is-visual>.ex3-answer{min-height:78px;padding:5px 6px}.ex3-answer-options.is-visual>.ex3-answer>img{height:45px}.ex3-answer-options.is-order>.ex3-answer{min-height:47px;padding-block:4px}.ex3-answer-options.is-order>.ex3-answer>img{height:36px}
 .ex3-feedback-page{padding:13px 15px;gap:9px 12px;grid-template-columns:59px minmax(0,1fr)}.ex3-feedback-page>img{width:59px;height:75px}.ex3-feedback-page>h3{font-size:18px}.ex3-clue-page{padding:12px 15px;gap:8px}.ex3-clue-art{height:34px;width:45px;flex-basis:34px}.ex3-clue-page>h3{font-size:19px}.ex3-case-mode .ex3-toolbar{padding-block:7px}.ex3-deduction-page{gap:8px}.ex3-deduction-page>.ex3-help{font-size:16px!important;line-height:1.55!important}.ex3-deduction-page>h3{font-size:19px}.ex3-proof-options{gap:8px}.ex3-proof-options>.ex3-button{min-height:94px;padding:8px}.ex3-proof-options>.ex3-button>svg{display:none}.ex3-destination-options>.ex3-button{min-height:63px;padding-block:7px}.ex3-destination-options{gap:8px}.ex3-ending{gap:8px}.ex3-ending-art{flex-basis:58px;max-height:82px;min-height:45px}.ex3-ending-art>img{height:61px;width:48px}.ex3-ending h3{font-size:19px}
}
/* Short landscape devices use a side desk, keeping the working card entirely on screen. */
@media(min-width:521px) and (max-height:460px){
 .ex3-host{height:100%;min-height:0}.ex3-app{display:grid;grid-template-columns:minmax(165px,.34fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:0}.ex3-header{grid-column:1;grid-row:1;padding:11px 12px;align-items:flex-start;border-right:1px solid #cbd2b7;border-bottom:0;min-width:0}.ex3-header small{display:none}.ex3-header h2{font-size:18px;line-height:1.4}.ex3-meter{font-size:16px;padding:4px 7px}.ex3-toolbar{grid-column:1;grid-row:2;flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:start;gap:9px;padding:8px 12px;border-right:1px solid #cbd2b7;border-bottom:0;font-size:14px;min-height:0;background:transparent}.ex3-district-picker{display:block;font-size:14px;max-width:100%}.ex3-district-picker select{display:block;min-height:44px;min-width:0;width:100%;font-size:16px;margin-top:6px}.ex3-quest-count{font-size:14px}.ex3-toolbar b{font-size:17px}.ex3-body{grid-column:2;grid-row:1/4;padding:10px 12px;height:100%;min-height:0;border-left:1px solid #cbd2b7}.ex3-bottom{grid-column:1;grid-row:3;display:flex;flex-direction:column;gap:7px;padding:9px 11px;border:0;background:transparent}.ex3-bottom>.ex3-button{min-height:44px;padding:7px 8px;width:100%;font-size:16px!important;line-height:1.4!important;flex:none;max-width:none}.ex3-notice{position:absolute;left:8px;bottom:0;width:calc(25% - 8px);transform:translateY(-155px);padding:8px;font-size:14px;line-height:1.45;border:1px solid #d2c293;border-radius:7px;z-index:8}.ex3-sheet{grid-column:1/-1;grid-row:1/-1;position:absolute;inset:7px}
 .ex3-island .ex3-header{display:flex}.ex3-island .ex3-body{padding:9px 11px}.ex3-island .ex3-toolbar{padding:6px 12px}.ex3-place-tag{top:9px;left:10px;padding:7px 9px}.ex3-place-tag small{font-size:14px!important;line-height:1.4!important}.ex3-place-tag h3{font-size:18px;margin-top:0}.ex3-map-caption{padding:6px 9px;font-size:16px;line-height:1.4;bottom:8px;left:9px;right:9px}.ex3-npc{min-width:65px;min-height:80px}.ex3-npc>img{height:78px;width:61px}.ex3-npc>span{font-size:14px;padding:3px 7px;line-height:1.3}.ex3-player{width:53px}.ex3-player img{height:67px;width:53px}.ex3-map-object>svg{width:39px;height:37px}.ex3-map-object{padding:2px;min-width:44px;min-height:44px;animation:none}
 .ex3-task{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.93fr);grid-template-rows:auto 4px minmax(0,1fr);gap:8px 14px;padding:12px}.ex3-task-person{grid-column:1;grid-row:1;grid-template-columns:38px minmax(0,1fr) 44px;gap:7px}.ex3-task-person>img{height:44px;width:38px}.ex3-task-person h3{font-size:17px;line-height:1.4}.ex3-task-person small{font-size:14px!important;line-height:1.4!important}.ex3-task-person .ex3-task-hint{height:44px;min-height:44px;width:44px;font-size:20px!important}.ex3-step-meter{grid-column:1;grid-row:2}.ex3-task>.ex3-prompt{grid-column:1;grid-row:3;font-size:16px!important;line-height:1.6!important;align-self:start}.ex3-actions{grid-column:2;grid-row:1/4;gap:7px;align-content:center}.ex3-actions>.ex3-button{min-height:44px;padding:7px 8px;font-size:16px!important;line-height:1.4!important}.ex3-actions>.ex3-button>svg{width:30px;height:29px;flex-basis:30px}.ex3-actions>.ex3-button>img{width:28px;height:30px;flex-basis:28px}.ex3-story-note{display:none}
 .ex3-roster-scroll{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.ex3-resident-card{min-height:112px;padding:8px 5px}.ex3-resident-card>img{width:100%;height:70px;flex:none}.ex3-resident-card>span{font-size:16px}.ex3-roster-view{gap:9px}.ex3-roster-view>.ex3-help{font-size:14px!important;line-height:1.4!important}.ex3-profile{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 14px;padding:13px;align-items:start}.ex3-profile-art{grid-column:1;grid-row:1/4;width:100px;height:125px}.ex3-profile-art>img{height:125px}.ex3-profile>h3{grid-column:2;text-align:left;font-size:20px}.ex3-profile>p{grid-column:2;font-size:16px!important;line-height:1.6!important}.ex3-profile-facts{grid-column:2;font-size:14px;gap:3px}.ex3-profile>.ex3-button{grid-column:1/-1;min-height:44px;padding:7px}
 .ex3-topic-menu{gap:8px}.ex3-topic-menu>p{font-size:16px!important;line-height:1.5!important}.ex3-topic-card{min-height:53px;padding:7px 12px;gap:12px}.ex3-topic-card>img{width:38px;height:42px;flex-basis:38px}.ex3-topic-card b{font-size:17px;line-height:1.35;margin-bottom:2px}.ex3-topic-card small{font-size:14px!important;line-height:1.4!important}
 .ex3-memory-clue{display:grid;grid-template-columns:minmax(90px,.4fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px 17px;padding:17px;text-align:left;align-content:center;align-items:start}.ex3-memory-portrait,.ex3-memory-decoration{grid-column:1;grid-row:1/-1;width:100%;height:100%;min-height:45px;max-height:none;align-self:center;justify-self:center}.ex3-memory-portrait>img{width:100%;height:100%;max-height:190px}.ex3-memory-decoration>svg{width:100%;height:100%;max-height:100px}.ex3-memory-clue>small{grid-column:2;font-size:14px!important;line-height:1.4!important}.ex3-memory-clue>h3{grid-column:2;font-size:19px;line-height:1.4}.ex3-memory-clue>.ex3-prompt{grid-column:2;font-size:16px!important;line-height:1.65!important;align-self:center}.ex3-memory-clue .ex3-source-note{grid-column:2;font-size:14px!important;line-height:1.4!important;display:block}
 .ex3-answer-page{display:grid;grid-template-columns:minmax(135px,.7fr) minmax(0,1.3fr);grid-template-rows:minmax(0,1fr) auto;gap:9px 14px}.ex3-answer-prompt{grid-column:1;grid-row:1;font-size:16px!important;line-height:1.6!important;align-self:start}.ex3-answer-options{grid-column:2;grid-row:1/3;align-content:center;gap:7px;min-height:0}.ex3-answer{min-height:44px;padding:7px 9px;font-size:16px!important;line-height:1.4!important}.ex3-answer>span{gap:8px}.ex3-answer-number{width:24px;height:24px;min-width:24px;flex-basis:24px;font-size:14px}.ex3-answer-options.is-visual{gap:8px}.ex3-answer-options.is-visual>.ex3-answer{min-height:89px;padding:5px;gap:3px}.ex3-answer-options.is-visual>.ex3-answer>img{height:48px;width:100%;flex:none}.ex3-answer-options.is-visual>.ex3-answer>span{font-size:16px;line-height:1.4}.ex3-answer-options.is-order>.ex3-answer{min-height:52px;padding:6px 9px}.ex3-answer-options.is-order>.ex3-answer>img{width:35px;height:37px;flex-basis:35px}.ex3-order-rail{grid-column:1;grid-row:2;gap:5px}.ex3-order-rail>span{font-size:14px;padding:6px 3px;line-height:1.4}.ex3-answer-help{display:none}
 .ex3-feedback-page{grid-template-columns:80px minmax(0,1fr);gap:8px 15px;padding:16px;grid-template-rows:auto auto minmax(0,1fr) auto}.ex3-feedback-page>img{width:80px;height:100px}.ex3-feedback-page>h3{font-size:20px;line-height:1.4}.ex3-feedback-page>p{font-size:16px!important;line-height:1.65!important}.ex3-feedback-page>small{font-size:14px!important;line-height:1.4!important}.ex3-feedback-badge{font-size:16px;line-height:1.4}
 .ex3-case-mode .ex3-toolbar{display:grid;grid-template-columns:1fr;gap:8px;padding:8px 12px}.ex3-chapter{font-size:14px;line-height:1.4}.ex3-clue-page{display:grid;grid-template-columns:65px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px 13px;padding:14px}.ex3-clue-art{grid-column:1;grid-row:1/4;width:65px;height:70px;align-self:center}.ex3-clue-page>small{grid-column:2;grid-row:1;font-size:14px!important;line-height:1.4!important}.ex3-clue-page>h3{grid-column:2;grid-row:2;font-size:19px;line-height:1.4}.ex3-clue-page>p{grid-column:2;grid-row:3;font-size:16px!important;line-height:1.65!important;align-self:center}.ex3-clue-page>.ex3-button{grid-column:1/-1;grid-row:4;min-height:44px;padding:7px;margin:0}
 .ex3-deduction-page{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(0,1.2fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px 15px;align-content:center}.ex3-deduction-page>h3{grid-column:1;grid-row:1;font-size:19px;line-height:1.45}.ex3-deduction-page>.ex3-help{grid-column:1;grid-row:2;font-size:16px!important;line-height:1.55!important;align-self:center}.ex3-deduction-page>.ex3-order-rail{grid-column:1;grid-row:3}.ex3-case-options,.ex3-proof-options,.ex3-destination-options{grid-column:2;grid-row:1/4;align-content:center;gap:8px}.ex3-case-options>.ex3-button{min-height:57px;padding:8px 10px;gap:8px}.ex3-case-options>.ex3-button>svg{width:31px;height:33px;flex-basis:31px}.ex3-case-options>.ex3-button>span{gap:7px;font-size:16px;line-height:1.5}.ex3-proof-options{grid-template-columns:1fr 1fr}.ex3-proof-options>.ex3-button{min-height:101px;padding:9px 10px;gap:5px}.ex3-proof-options>.ex3-button>svg{display:none}.ex3-proof-options b{font-size:16px;line-height:1.4}.ex3-proof-options small{font-size:14px!important;line-height:1.4!important;margin-top:5px}.ex3-proof-options i{font-size:16px;top:4px;right:6px}.ex3-destination-options>.ex3-button{min-height:61px;padding:8px 9px;gap:9px}.ex3-destination-options>.ex3-button>svg{width:34px;height:34px;flex-basis:34px}.ex3-destination-options b{font-size:16px;line-height:1.4}.ex3-destination-options small{font-size:14px!important;line-height:1.4!important;margin-top:3px}
 .ex3-ending{display:grid;grid-template-columns:minmax(90px,.55fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:7px 16px}.ex3-ending-art{grid-column:1;grid-row:1/-1;width:100%;height:100%;max-height:none;min-height:0}.ex3-ending-art>img{width:70px;height:90px;left:calc(50% - 30px);bottom:30px}.ex3-ending-art>div:last-child{width:45px;height:44px;left:55%;bottom:15px}.ex3-ending>.ex3-feedback-badge{grid-column:2;grid-row:1;font-size:16px;line-height:1.4}.ex3-ending>h3{grid-column:2;grid-row:2;font-size:20px;line-height:1.4}.ex3-ending>p{grid-column:2;grid-row:3;font-size:16px!important;line-height:1.6!important;align-self:center}.ex3-ending>small{grid-column:2;grid-row:4;font-size:14px!important;line-height:1.4!important}
}
@keyframes ex3-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes ex3-step{from{transform:rotate(-4deg) translateY(0)}to{transform:rotate(4deg) translateY(-4px)}}@keyframes ex3-float{0%,100%{margin-top:0}50%{margin-top:-4px}}@keyframes ex3-rain{from{background-position:0 0}to{background-position:-28px 55px}}@keyframes ex3-leaf{0%{transform:translate(0,0) rotate(0);opacity:0}20%{opacity:.8}100%{transform:translate(190px,50px) rotate(170deg);opacity:0}}@keyframes ex3-sheet-in{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ex3-host *,.ex3-host *:before,.ex3-host *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Local safety valves for text zoom or unusually short keyboards; never clip an action. */
.ex3-actions,.ex3-answer-options,.ex3-case-options,.ex3-proof-options,.ex3-destination-options{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ex3-task>.ex3-prompt{flex:0 1 auto;min-height:0;max-height:36%;overflow:auto;overscroll-behavior:contain}
.ex3-answer-prompt{max-height:36%;overflow:auto;overscroll-behavior:contain;min-height:0}
.ex3-clue-page>p{flex:0 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
@media(min-width:521px) and (max-height:460px){
.ex3-notice{position:static;grid-column:1;grid-row:2;align-self:stretch;display:flex;align-items:center;left:auto;bottom:auto;transform:none;width:auto;margin:0 8px 7px;padding:10px;font-size:14px;line-height:1.45;border:1px solid #d2c293;border-radius:7px;z-index:3;overflow:auto}
.ex3-app.has-notice>.ex3-toolbar{visibility:hidden}
.ex3-task>.ex3-prompt,.ex3-answer-prompt{max-height:100%}
}
/* Verified short-screen budget: compact labels and four short choices fit as a grid. */
@media(max-width:760px){
.ex3-bottom{padding-bottom:9px}
.ex3-task[data-quest-phase="ice"] .ex3-actions,.ex3-task[data-quest-phase="sort"] .ex3-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ex3-task[data-quest-phase="ice"] .ex3-actions>.ex3-button,.ex3-task[data-quest-phase="sort"] .ex3-actions>.ex3-button{min-height:46px;padding:8px 7px;justify-content:center;font-size:16px!important;line-height:1.5!important}
.ex3-task[data-quest-phase="sort"] .ex3-actions>.ex3-button>svg{display:none}
.ex3-task[data-quest-phase="ice"] .ex3-actions>.ex3-button>img{width:25px;height:29px;flex-basis:25px}
.ex3-task[data-quest-phase="brief"]>.ex3-prompt,.ex3-task[data-quest-phase="route"]>.ex3-prompt{max-height:none;flex:0 1 auto}
}
@media(max-width:760px) and (max-height:720px){
.ex3-app.has-notice>.ex3-header{display:none}
.ex3-app.has-notice .ex3-task-person{display:none}
.ex3-proof-page>.ex3-help{display:none}
.ex3-task[data-quest-phase="sort"] .ex3-task-person h3,.ex3-task[data-quest-phase="route"] .ex3-task-person h3{display:none}
}
@media(min-width:521px) and (max-height:460px){
.ex3-island .ex3-bottom{flex-direction:row;gap:4px;padding:9px 3px}
.ex3-island .ex3-bottom>.ex3-button{flex:1 1 0;min-width:44px;width:auto;max-width:none;min-height:44px;padding:7px 2px;font-size:16px!important;line-height:1.4!important;text-align:center}
.ex3-island .ex3-toolbar{min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
