/* Grand Picnic interface. Canvas owns the playfield; these surfaces keep choices readable. */
.ultimate-guide kbd{width:75px;font-size:11px;letter-spacing:0}
.game-frame{background:#c8dcac;transition:background-color 1s}
.game-frame[data-chapter="2"]{background:#dfc194}
.game-frame[data-chapter="3"]{background:#788da4}
.loadout-area{max-width:48%}
.loadout-label{display:block;font-size:7px;font-weight:800;color:#456444;margin:0 0 7px;letter-spacing:.3px;text-shadow:0 1px 4px #fff8db}
.loadout{max-width:none}
.loadout>span.empty-slot{background:#fff9e77a;border-style:dashed;border-bottom-width:1px;color:#66845188;font-size:18px;box-shadow:none}
.action-buttons{display:flex;align-items:end;gap:10px}
.ultimate-wrap{display:flex;align-items:center;gap:7px}
.ultimate-wrap>span{font-size:8px;font-weight:800;background:#fff8e6b8;padding:5px 7px;border-radius:6px;color:#687752}
.ultimate-button{pointer-events:auto;position:relative;isolation:isolate;width:68px;height:53px;border:2px solid #4c6653;border-bottom-width:4px;border-radius:15px;background:#d9e0c4;display:flex;align-items:center;justify-content:center;gap:4px;font-size:9px;font-weight:900;overflow:hidden;transition:transform .15s,background .2s}
.ultimate-button::before{content:'';position:absolute;inset:auto 0 0;height:var(--charge,0%);background:#f4b5b9aa;z-index:-1;transition:height .15s}
.ultimate-button>svg{height:19px;width:19px;color:#a26c86}
.ultimate-button>kbd{position:absolute;top:3px;right:4px;font-size:5px;border:0;width:auto;height:auto;background:none}
.ultimate-button:disabled{opacity:.8}
.ultimate-button.ready{background:#ffdce0;border-color:#6d4258;box-shadow:0 0 0 3px #ffe4a966,0 0 22px #ffcc7390;animation:fever-breathe 1.6s ease-in-out infinite}
.ultimate-button.ready>svg{color:#d76985}
.ultimate-button:active{transform:scale(.94)}
@keyframes fever-breathe{50%{box-shadow:0 0 0 5px #ffe4a933,0 0 29px #ffcc73aa}}
.tactical-row{position:absolute;top:129px;left:18px;right:18px;display:flex;align-items:start;justify-content:space-between;gap:12px}
.objective-card{width:205px;background:#fffbeddb;border:1px solid #55724955;box-shadow:0 2px 0 #36532b16;border-radius:12px;padding:10px 12px;backdrop-filter:blur(8px);opacity:.85;transition:opacity .2s}
.objective-card.has-objective{opacity:1;border-color:#8f9c6366;background:#fff9e9ee}
.objective-eyebrow{display:block;font-size:6px;letter-spacing:1px;font-weight:900;color:#8b976d}
.objective-card>strong{display:block;font-size:11px;margin-top:5px;line-height:1.4;letter-spacing:-.2px}
.objective-card>span:nth-of-type(2){display:block;font-size:9px;line-height:1.5;color:#82906f;margin-top:4px}
.objective-track{height:4px;margin-top:8px;border-radius:4px;background:#dfe4c9;overflow:hidden}
.objective-track>i{display:block;width:0;height:100%;background:#e0ad5c;border-radius:4px;transition:width .15s}
.objective-card>small{display:block;font-size:7px;color:#98a17e;margin-top:5px}
.objective-card:not(.has-objective) .objective-track,.objective-card:not(.has-objective)>small{display:none}
.minimap-wrap{border:1px solid #46634266;background:#fff9e6d9;padding:4px 4px 3px;border-radius:10px;box-shadow:0 2px 0 #36532b16;overflow:hidden}
#minimap{display:block;width:82px;height:64px;border-radius:6px;opacity:.91}
.minimap-wrap>span{display:block;font-size:6px;text-align:center;line-height:1.8;color:#6b8159;font-weight:800;letter-spacing:.8px}
.boss-hud{position:absolute;bottom:91px;left:50%;transform:translateX(-50%);width:min(320px,55%);background:#fff8eceb;border:1px solid #986d8155;border-radius:11px;padding:7px 10px;box-shadow:0 2px 0 #6c355b22}
.boss-hud>div:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.boss-hud span{font-size:5px;letter-spacing:.6px;color:#a97e8d;font-weight:900}
.boss-hud strong{font-size:10px;color:#735064;line-height:1.4}
.boss-hud small{font-size:5px;color:#a2838c;margin-left:auto}
.boss-track{height:5px;background:#ddcbd0;border-radius:5px;overflow:hidden;margin-top:5px}
.boss-track i{display:block;height:100%;background:linear-gradient(90deg,#bc6c94,#ef9eaa);width:100%;transition:width .15s}
.overtime-banner{position:absolute;bottom:147px;left:50%;transform:translateX(-50%);text-align:center;z-index:6;background:#fff0e2ed;border:1.5px solid #ba6f72;border-radius:12px;padding:9px 16px;pointer-events:none;box-shadow:0 3px 0 #69374d22;white-space:nowrap}
.overtime-banner strong{display:block;font-size:15px;color:#aa5567;margin-bottom:4px}
.overtime-banner span{font-size:10px;color:#aa7a7a}
.upgrade-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.upgrade-footer .panel-hint{margin:0}
.reroll-btn{display:flex;align-items:center;gap:7px;border:1px solid #c5ceb4;background:#eeefdf;border-radius:20px;padding:8px 12px;font-size:10px;font-weight:800}
.reroll-btn>span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#fff9e5;font-size:9px}
.reroll-btn:disabled{opacity:.45}
.upgrade-card.new-weapon{background:#f3f0d8}
.upgrade-card.new-weapon .upgrade-tag{background:#dbe6c4;color:#658052}
.upgrade-card.new-weapon:hover{background:#ffedbd}
.expedition-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:24px}
.route-stop{display:flex;align-items:center;gap:10px;min-width:0;background:#f3f0e4;border:1px solid #d8ddc9;border-radius:13px;padding:10px;text-align:left;transition:transform .2s,border-color .2s;position:relative}
.route-stop:hover{transform:translateY(-3px);border-color:#93a67a}
.route-scene{position:relative;display:block;height:59px;width:59px;flex-shrink:0;overflow:hidden;border-radius:9px;background:#d1dfac;color:#789b66}
.route-scene::after{content:'';position:absolute;bottom:-17px;left:6px;width:65px;height:45px;border:11px solid #e9dcac;transform:rotate(-37deg);border-radius:50%}
.route-scene i{position:absolute;right:6px;top:3px;font-style:normal;font-size:20px;color:#fff5b9}
.route-scene b{position:absolute;left:10px;bottom:8px;font:24px Georgia;z-index:1}
.route-scene em{position:absolute;left:32px;bottom:1px;font:35px Georgia;z-index:1}
.orchard-scene{background:#e1c298;color:#9d9f61}
.orchard-scene::after{border-color:#a7c9b5}
.moon-scene{background:#8998b2;color:#c6cde9}
.moon-scene::after{border-color:#b8b4c3}
.route-stop>span:nth-child(2){min-width:0}
.route-stop small{display:block;font-size:5px;color:#9aa087;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.route-stop strong{font-size:10px;display:block;margin:5px 0}
.route-stop em{display:block;font-size:8px;color:#8b967c;font-style:normal;line-height:1.5}
.route-stop>b{margin-left:auto;font-size:12px;color:#a2ad91}
.route-stop.current{border-color:#7c9363;background:#eceddb}
.route-stop.current::before{content:'';position:absolute;left:12px;right:12px;bottom:-5px;height:2px;background:#8a9e72;border-radius:2px}
.route-stop.completed .route-scene::before{content:'✓';position:absolute;inset:0;display:grid;place-items:center;background:#46644555;color:#fff8dd;z-index:4;font-size:22px}
.info-dialog.wide-dialog{width:min(780px,92vw);max-width:92vw}
.book-tabs{display:flex;gap:6px;padding:5px;background:#e9eada;border-radius:11px;margin:18px 0}
.book-tabs button{flex:1;padding:10px 7px;background:none;border-radius:8px;font-size:11px;font-weight:800;color:#8c987b}
.book-tabs button[aria-selected="true"]{background:#fffaf0;color:#3e5940;box-shadow:0 2px 5px #4b643015}
.weapon-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.weapon-book-card{border:1px solid #d9ddc7;background:#f0eedf;border-radius:14px;padding:17px 15px}
.weapon-book-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:7px}
.weapon-book-card>div:first-child>span{font-size:31px}
.weapon-book-card>div:first-child>small{font-size:7px;color:#8f9b77;line-height:1.5;text-align:right}
.weapon-book-card h3{font-size:14px;margin:12px 0 8px}
.weapon-book-card p{font-size:10px;line-height:1.8;color:#859174;word-break:keep-all;margin:0;min-height:55px}
.evolution-recipe{border-top:1px dashed #d0d8ba;margin-top:12px;padding-top:11px}
.evolution-recipe span{display:block;font-size:10px;color:#b3914e;font-weight:800;margin-bottom:5px}
.evolution-recipe small{font-size:8px;line-height:1.7;color:#9a9f83}
.boss-book-grid{display:flex;flex-direction:column;gap:14px}
.boss-book-card{display:flex;align-items:center;gap:23px;position:relative;overflow:hidden;border-radius:16px;border:1px solid #d3cad5;background:#eae1e9;padding:23px}
.boss-color-1{background:#f0e0cd;border-color:#e0c5af}
.boss-color-2{background:#e0e1e9;border-color:#c9c9da}
.boss-book-number{position:absolute;left:-5px;bottom:-18px;font:900 100px var(--display);color:#9b80ad12;pointer-events:none}
.boss-book-icon{font-size:64px;min-width:85px;text-align:center;filter:drop-shadow(0 9px 4px #72526622)}
.boss-book-card h3{font-size:20px;margin:7px 0 8px}
.boss-book-card p{font-size:11px;line-height:1.8;color:#8c8590;margin:0 0 10px;word-break:keep-all}
.boss-book-card>div>strong{font-size:9px;color:#a98c79}
.boss-book-card>div>p:last-child{margin:4px 0 0;font-size:10px}
.region-book{display:flex;flex-direction:column;gap:15px}
.region-book-card{display:flex;gap:20px;align-items:center;border:1px solid #d8dcc9;padding:18px;border-radius:16px;background:#f1efe4}
.region-book-card.highlighted{border-color:#9cae81;box-shadow:0 0 0 2px #a4b18b22}
.region-book-art{width:110px;height:137px;flex-shrink:0;display:grid;place-items:center;position:relative;background:var(--region-color);border-radius:12px;font:72px Georgia;color:#fff7d9;overflow:hidden}
.region-book-art::after{content:'';position:absolute;left:-30px;bottom:-25px;width:160px;height:75px;border:20px solid #fff3ce44;border-radius:50%;transform:rotate(-25deg)}
.region-book-art span{position:absolute;top:10px;left:11px;font:800 9px Arial;color:#ffffff99}
.region-book-card small{font-size:6px;letter-spacing:1px;color:#9aa286}
.region-book-card h3{font-size:20px;margin:8px 0 9px}
.region-book-card>div>strong{font-size:10px;font-weight:600;color:#7f8c6e}
.region-book-card p{font-size:10px;line-height:1.9;color:#8f987d;word-break:keep-all;margin:7px 0}
.region-boss-tag{display:inline-block;background:#e4e7d4;border-radius:5px;padding:5px 8px;font-size:8px;color:#7a8e67}
#end-screen{padding:23px}
#end-screen .end-panel{width:min(710px,100%);padding:0;display:grid;grid-template-columns:1fr 1fr;text-align:center;border-radius:23px;overflow:auto}
.result-summary{padding:27px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.result-summary .end-badge{display:inline-block;font-size:6px;line-height:1.7}
.result-summary>p{font-size:10px;color:#879477;line-height:1.8;margin:0 0 14px;word-break:keep-all}
.result-summary .end-stats{width:100%;margin-bottom:16px}
.result-summary .end-stats strong{font-size:21px}
.result-summary .new-record{font-size:9px}
.result-actions{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;margin-top:4px}
.result-actions .text-btn{font-size:8px;padding:8px 6px 0}
.result-actions .lobby-btn{flex-basis:100%;margin-top:3px}
.run-report{padding:27px 23px;text-align:left;background:#e8eddb;border-left:1px solid #c8d1b9;min-width:0}
.report-heading h3{font-size:20px;letter-spacing:-.6px;margin:9px 0 16px}
.report-heading .panel-eyebrow{font-size:6px;letter-spacing:1px}
.report-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px dashed #bfcbb0;border-bottom:1px dashed #bfcbb0;padding:12px 0}
.report-facts span{display:block;font-size:7px;color:#8d9d7c;margin-bottom:5px}
.report-facts strong{font:800 17px var(--font)}
.report-section-label{font-size:10px;margin:17px 0 11px;letter-spacing:-.2px;color:#6f835e}
.damage-graph{display:flex;flex-direction:column;gap:10px}
.damage-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;margin-bottom:5px}
.damage-label>strong{font:800 8px Arial;color:#83936e}
.damage-track{height:5px;background:#d6dec7;border-radius:5px;overflow:hidden}
.damage-track>i{display:block;height:100%;border-radius:5px}
.report-empty,.report-tip{font-size:9px;line-height:1.8;color:#899977;word-break:keep-all}
.report-tip{border-top:1px dashed #c4cfb4;padding-top:13px;margin-top:17px}
.report-evolutions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:13px}
.report-evolutions>span{font-size:7px;color:#ad9a5d;flex-basis:100%;margin-bottom:2px}
.report-evolutions>strong{font-size:7px;background:#fff4cf;border:1px solid #dfcea1;border-radius:5px;padding:4px 5px;color:#ad9557}
.reward-pill{display:flex;align-items:center;gap:7px;padding:6px 8px;margin-top:5px;border:1px solid #dbcfaa;background:#fff3d6;border-radius:8px}
.reward-pill>span{font-size:16px;line-height:1}
.reward-pill strong{font-size:9px}
.reward-pill small{margin-left:auto;font-size:6px;color:#b09c69}
.report-more{display:block;font-size:7px;text-align:right;color:#96a282;margin-top:7px}
.share-text{width:100%;height:160px;border:1px solid #c5cfb3;background:#fffdf2;border-radius:12px;padding:14px;font:12px var(--font);color:var(--ink);line-height:1.9;resize:none}
.info-dialog>.close-dialog{position:sticky;top:0;float:right;width:36px;height:36px;z-index:2;background:#f8f5e9ed;border:1px solid #d1d7c3;border-radius:50%;margin:-10px -10px 0 10px}
.book-tabs{position:sticky;top:3px;z-index:1}
.book-tabs button:focus-visible{outline-offset:1px}
@media(max-width:680px){.start-bottom{top:108px;bottom:auto}.speech-bubble{top:-45px}.book-tabs{top:0}}
@media(max-height:550px) and (max-width:1100px){.start-bottom{top:auto;bottom:40px}}
body.focused-play{overflow:hidden}
body.focused-play .site-shell{max-width:none;padding:0 10px}
body.focused-play .site-header,body.focused-play .intro,body.focused-play .site-footer,body.focused-play .arena-footer,body.focused-play .game-caption,body.focused-play .expedition-route{display:none}
body.focused-play .main-layout{display:block;padding:5px 0}
body.focused-play .play-column{width:100%}
body.focused-play .game-topline{height:18px;margin-bottom:5px}
body.focused-play .game-frame{height:calc(100dvh - 33px);width:100%;min-height:0;max-height:none;aspect-ratio:auto;border-radius:12px}
@media(max-width:1199px){.ultimate-wrap>span,.dash-wrap>span{display:none}.route-stop{gap:7px;padding:8px}.route-scene{height:43px;width:43px}.route-stop small{font-size:4px}.route-stop strong{font-size:9px}.route-stop em{display:none}.route-stop>b{display:none}.boss-hud{width:55%}.objective-card{width:183px}}
@media(max-width:900px){.expedition-route{gap:7px}.route-stop{display:block}.route-scene{height:46px;width:100%;margin-bottom:8px}.route-stop strong{font-size:9px}.route-stop small{font-size:4px}.objective-card{width:165px}.objective-card>strong{font-size:10px}.tactical-row{left:13px;right:13px}.minimap-wrap{padding:3px}#minimap{width:66px;height:52px}.boss-hud{width:66%;bottom:93px}.boss-hud strong{font-size:9px}.boss-hud span{display:none}.ultimate-button{height:51px;width:61px}.action-buttons{gap:6px}.end-panel h2{font-size:23px}.run-report{padding:22px 17px}.result-summary{padding:22px 19px}.result-summary .end-stats{gap:8px}.result-summary .end-stats strong{font-size:17px}.weapon-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.ultimate-guide{display:none}.loadout-area{max-width:48%}.loadout-label{font-size:6px;margin-bottom:6px}.loadout{gap:4px}.loadout>span{width:29px;height:31px;font-size:17px;border-radius:8px}.loadout sup{font-size:6px}.dash-button{height:56px;width:57px;border-radius:13px;font-size:9px}.ultimate-button{height:56px;width:62px;border-radius:13px;font-size:8px}.ultimate-button>svg{width:17px;height:17px}.ultimate-button>kbd{font-size:6px;top:4px;right:5px}.action-buttons{gap:7px}.tactical-row{top:123px;left:14px;right:14px}.objective-card{width:180px;padding:9px 10px;border-radius:11px}.objective-eyebrow{font-size:5px;letter-spacing:.8px}.objective-card>strong{font-size:10px}.objective-card>span:nth-of-type(2){font-size:8px}.objective-card>small{font-size:6px}.objective-track{margin-top:6px}.minimap-wrap{border-radius:8px}#minimap{width:61px;height:48px}.minimap-wrap>span{font-size:5px}.boss-hud{left:14px;transform:none;bottom:99px;width:calc(100% - 104px);padding:7px 9px}.boss-hud small{font-size:5px}.boss-track{height:4px}.overtime-banner{bottom:151px;padding:7px 10px;width:max-content;max-width:90%;white-space:normal}.overtime-banner strong{font-size:12px}.overtime-banner span{font-size:8px}.expedition-route{margin-top:17px;gap:8px}.route-stop{padding:8px}.route-scene{height:51px}.route-stop small{font-size:4px}.route-stop strong{font-size:9px;line-height:1.4}.upgrade-footer{margin-top:13px;justify-content:center}.upgrade-footer .panel-hint{display:none}.reroll-btn{font-size:9px;padding:7px 10px}.reroll-btn>span{height:16px;width:16px;font-size:8px}body.playing .expedition-route{display:none}.info-dialog.wide-dialog{padding:25px 18px}.book-tabs button{font-size:10px;padding:9px 3px}.weapon-book-grid{gap:9px}.weapon-book-card{padding:14px 11px;border-radius:12px}.weapon-book-card h3{font-size:12px}.weapon-book-card p{font-size:9px;min-height:65px}.weapon-book-card>div:first-child>span{font-size:27px}.weapon-book-card>div:first-child>small{font-size:6px}.evolution-recipe span{font-size:8px}.evolution-recipe small{font-size:7px}.boss-book-card{padding:18px 14px;gap:11px}.boss-book-icon{font-size:43px;min-width:50px}.boss-book-card h3{font-size:17px}.boss-book-card p{font-size:9px}.boss-book-card>div>p:last-child{font-size:9px}.region-book-card{display:block;padding:14px}.region-book-art{width:100%;height:100px;font-size:62px;margin-bottom:15px}.region-book-card h3{font-size:19px}.region-book-card>div>strong{font-size:9px}.region-book-card p{font-size:9px}#end-screen{padding:14px}#end-screen .end-panel{display:block;max-height:100%;width:100%}.result-summary{padding:23px 21px}.result-summary .end-pig{width:48px;margin-top:11px}.result-summary .end-pig svg{width:48px;height:48px}.result-summary h2{font-size:24px;margin-top:4px}.result-summary>p{font-size:10px;margin-bottom:12px}.result-summary .end-stats strong{font-size:23px}.run-report{border-left:0;border-top:1px solid #c8d1b9;padding:22px 21px}.report-heading h3{font-size:20px}.report-facts span{font-size:8px}.report-facts strong{font-size:19px}.damage-label{font-size:10px}.damage-label>strong{font-size:9px}.reward-pill strong{font-size:10px}.reward-pill small{font-size:7px}.result-actions .text-btn{font-size:9px}}
@media(max-width:360px){.objective-card{width:165px}.objective-card>span:nth-of-type(2){font-size:7px}.loadout>span{width:26px;height:29px;font-size:16px}.loadout{gap:3px}.action-buttons{gap:5px}.ultimate-button{width:58px}.dash-button{width:53px}.tactical-row{left:11px;right:11px}.game-bottom{left:11px;right:11px}}
@media(max-height:550px) and (max-width:1100px){.tactical-row{top:108px}.objective-card{width:174px;padding:8px 10px}.objective-card>span:nth-of-type(2){display:none}.objective-track{margin-top:5px}.minimap-wrap{display:none}.boss-hud{top:109px;bottom:auto;width:38%;left:50%;transform:translateX(-50%);padding:6px 9px}.boss-hud span{display:none}.boss-hud strong{font-size:9px}.overtime-banner{top:160px;bottom:auto;padding:6px 9px}.overtime-banner strong{font-size:11px}.overtime-banner span{font-size:8px}.fever-indicator{top:91px}.action-buttons{gap:8px}.ultimate-button,.dash-button{height:48px;width:63px}.loadout-label{font-size:6px}.is-playing .arena-tools{bottom:76px}.loadout>span{height:31px;width:31px}.upgrade-footer{margin-top:10px}.upgrade-panel .panel-eyebrow{font-size:5px}.upgrade-panel>p{font-size:9px}.reroll-btn{padding:5px 9px;font-size:8px}.reroll-btn>span{width:14px;height:14px}.upgrade-card .upgrade-description{min-height:0;font-size:8px}.upgrade-card .upgrade-icon{margin-bottom:7px}.upgrade-card .upgrade-tag{font-size:6px}.upgrade-card strong{font-size:11px}#end-screen{padding:12px}#end-screen .end-panel{display:grid;grid-template-columns:1fr 1fr;width:700px;max-height:100%;overflow:auto}.result-summary{padding:16px 20px}.result-summary .end-pig{display:none}.result-summary h2{font-size:23px;margin:8px 0}.result-summary>p{font-size:9px;margin-bottom:9px}.result-summary .end-stats{padding:11px 0;margin-bottom:9px}.result-summary .end-stats strong{font-size:19px}.result-summary .end-badge{font-size:5px}.result-summary .new-record{font-size:8px;margin:0 0 8px}.result-actions .text-btn{font-size:8px}.run-report{border-top:0;border-left:1px solid #c8d1b9;padding:17px 19px}.report-heading h3{font-size:17px;margin-bottom:10px}.report-facts{padding:9px 0}.report-facts span{font-size:6px}.report-facts strong{font-size:15px}.report-section-label{margin:11px 0 9px;font-size:9px}.damage-graph{gap:8px}.damage-label{font-size:8px}.damage-track{height:4px}.report-tip{font-size:8px}.report-heading .panel-eyebrow{font-size:5px}.report-rewards{display:none}.expedition-route{display:none}}
@media(prefers-reduced-motion:reduce){.ultimate-button.ready{animation:none}.route-stop:hover{transform:none}}

.recipe-btn{padding:8px 9px;min-height:34px;border:1px solid #cbd2ba;border-radius:9px;background:#f8f5e8;font-size:10px;font-weight:700;color:#8a7954;white-space:nowrap}
.pause-links{display:flex;justify-content:center;gap:18px;margin:5px 0 15px}.pause-links .text-btn{font-size:11px;min-height:36px;padding:9px 4px}
.calm-setting{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#7a886b;margin-top:3px;cursor:pointer;min-height:30px}.calm-setting input{accent-color:#ad6684;width:16px;height:16px;margin:0}
.calm-motion *,.calm-motion *::before,.calm-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:680px){.upgrade-footer{justify-content:space-between}.recipe-btn{font-size:10px;min-height:36px}.pause-links{margin-bottom:10px}.calm-setting{font-size:11px}}
@media(max-height:550px) and (max-width:1100px){.recipe-btn{font-size:8px;padding:5px 7px;min-height:29px}.pause-panel{padding:18px 24px}.pause-panel>p{margin-bottom:12px}.pause-panel h2{margin:8px 0}.pause-links{margin:0 0 5px;gap:15px}.pause-links .text-btn{font-size:9px;min-height:28px;padding:6px 3px}.calm-setting{font-size:9px;min-height:24px}.calm-setting input{width:14px;height:14px}}
/* A landscape visitor should reach the same one-tap start without scrolling past the scene. */
@media(max-height:550px) and (max-width:1100px) and (orientation:landscape){
 body:not(.playing):not(.focused-play) .site-shell{padding:0 18px}
 body:not(.playing):not(.focused-play) .site-header{height:58px}
 body:not(.playing):not(.focused-play) .brand>svg{height:33px;width:33px}
 body:not(.playing):not(.focused-play) .brand>span{font-size:17px}
 body:not(.playing):not(.focused-play) .main-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;padding:13px 0}
 body:not(.playing):not(.focused-play) .intro{display:block;padding:0;width:100%}
 body:not(.playing):not(.focused-play) .intro .edition,body:not(.playing):not(.focused-play) .intro-copy,body:not(.playing):not(.focused-play) .rules-mini,body:not(.playing):not(.focused-play) .input-guide,body:not(.playing):not(.focused-play) .dash-guide,body:not(.playing):not(.focused-play) .touch-guide,body:not(.playing):not(.focused-play) .personal-best,body:not(.playing):not(.focused-play) .intro-foot{display:none}
 body:not(.playing):not(.focused-play) h1{font-size:28px;letter-spacing:-2px;white-space:nowrap;margin:1px 0 12px;line-height:1}
 body:not(.playing):not(.focused-play) h1 br{display:none}
 body:not(.playing):not(.focused-play) h1>span{margin-left:5px}
 body:not(.playing):not(.focused-play) .intro #journey-root{margin:0}
 body:not(.playing):not(.focused-play) .intro .jny-selector{display:block;margin:0;padding:10px}
 body:not(.playing):not(.focused-play) .intro .jny-heading{margin-bottom:8px}
 body:not(.playing):not(.focused-play) .intro .jny-eyebrow{font-size:6px}
 body:not(.playing):not(.focused-play) .intro .jny-stamp-count{font-size:7px}
 body:not(.playing):not(.focused-play) .intro .jny-character{padding:6px 3px;gap:3px}
 body:not(.playing):not(.focused-play) .intro .jny-pig{width:29px;height:29px}
 body:not(.playing):not(.focused-play) .intro .jny-character strong{font-size:9px}
 body:not(.playing):not(.focused-play) .intro .jny-character-trait{font-size:6px}
 body:not(.playing):not(.focused-play) .intro .jny-modes{margin-top:7px;padding:3px}
 body:not(.playing):not(.focused-play) .intro .jny-mode{font-size:9px;padding:6px 2px}
 body:not(.playing):not(.focused-play) .intro .jny-selector-foot{margin-top:7px}
 body:not(.playing):not(.focused-play) .intro .jny-selector-foot>span{font-size:7px}
 body:not(.playing):not(.focused-play) .intro .jny-journal-link{font-size:9px}
 body:not(.playing):not(.focused-play) .game-topline{height:16px;margin-bottom:7px}
 body:not(.playing):not(.focused-play) .game-frame{height:calc(100dvh - 111px);min-height:0;max-height:none;aspect-ratio:auto;border-radius:14px}
 body:not(.playing):not(.focused-play) .start-bottom{top:auto;bottom:40px;gap:8px}
 body:not(.playing):not(.focused-play) .play-button{min-width:210px;height:54px;font-size:17px}
 body:not(.playing):not(.focused-play) .speech-bubble{top:-43px;font-size:10px}
 body:not(.playing):not(.focused-play) .start-ribbon{top:15px;left:15px;font-size:6px;padding:6px 9px}
 body:not(.playing):not(.focused-play) .field-stamp{display:none}
 body:not(.playing):not(.focused-play) .arena-footer,body:not(.playing):not(.focused-play) .game-caption,body:not(.playing):not(.focused-play) .expedition-route,body:not(.playing):not(.focused-play) .site-footer{display:none}
}

@media(max-width:680px) and (max-height:600px) and (orientation:portrait){
 body:not(.playing) .site-header{height:60px}
 body:not(.playing) .main-layout{padding-top:14px}
 body:not(.playing) .intro .edition,body:not(.playing) .intro-copy,body:not(.playing) .touch-guide{display:none}
 body:not(.playing) .intro{padding-bottom:14px}
 body:not(.playing) h1{font-size:34px}
 body:not(.playing) .intro #journey-root{margin-top:12px}
 body:not(.playing) .start-bottom{top:74px;bottom:auto}
 body:not(.playing) .speech-bubble{top:-40px}
}

.boss-milestones{position:absolute;top:102px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:3px 8px;border-radius:12px;background:#fff8e8a8;color:#6f815c;line-height:1}
.boss-milestones>span{font-size:7px;font-weight:800;margin-right:2px}.boss-milestones>i{font-style:normal;font-size:12px;color:#a6b18d}.boss-milestones>i.earned{color:#c4964c;text-shadow:0 1px #fff4c0}
@media(max-width:680px){.boss-milestones{top:99px;padding:3px 6px;gap:4px}.boss-milestones>span{font-size:6px}.boss-milestones>i{font-size:11px}}
@media(max-height:550px) and (max-width:1100px){.boss-milestones{top:87px}}

.siege-meter{width:190px;max-width:100%;padding:7px 9px 6px;border:1px solid #57704b55;background:#fff8e8e0;border-radius:10px;margin-bottom:11px;box-shadow:0 2px 0 #46622c14}.siege-meter>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:5px}.siege-meter strong{font-size:10px;font-weight:850;color:#4c6542}.siege-meter b{font:900 10px Georgia;color:#a78c4f}.siege-track{height:5px;border-radius:4px;background:#dbe0c5;overflow:hidden}.siege-track>i{display:block;height:100%;background:linear-gradient(90deg,#b5ba70,#e3ad60);width:0;transition:width .2s}.siege-meter>small{display:block;font-size:7px;color:#849173;line-height:1.5;margin-top:4px}
@media(max-width:680px){.siege-meter{width:153px;padding:6px 7px;margin-bottom:8px;border-radius:9px}.siege-meter strong{font-size:9px}.siege-meter b{font-size:9px}.siege-meter>small{font-size:6px}.siege-track{height:4px}.loadout-area{max-width:49%}.boss-hud{bottom:143px}.overtime-banner{bottom:197px}}
@media(max-width:360px){.siege-meter{width:132px}.siege-meter strong{font-size:8px}.siege-meter>small{font-size:5.5px}}
@media(max-height:550px) and (max-width:1100px){.siege-meter{width:155px;padding:5px 7px;margin-bottom:6px}.siege-meter>div:first-child{margin-bottom:3px}.siege-meter strong,.siege-meter b{font-size:8px}.siege-meter>small{font-size:5px;line-height:1.3;margin-top:3px}.siege-track{height:3px}.boss-hud{bottom:auto}.overtime-banner{bottom:auto}.loadout-label{display:none}}

.siege-book{display:grid;gap:10px;margin-top:18px}.siege-book>article{display:flex;gap:17px;align-items:center;border:1px solid #d7dbc5;border-radius:13px;padding:15px 18px;background:#efeedf}.siege-book>article>b{display:grid;place-items:center;flex-shrink:0;width:49px;height:49px;border:1px solid #c5cead;background:#e3e8cf;border-radius:14px;font:900 24px Georgia;color:#96a16b}.siege-book h3{margin:0 0 5px;font-size:16px}.siege-book small{font-size:9px;color:#a38f5d}.siege-book p{font-size:11px;color:#839071;line-height:1.7;margin:5px 0 0;word-break:keep-all}.siege-book>article:last-child{background:#f3e8c9;border-color:#d6c28c}.siege-book>article:last-child>b{background:#e9d596;border-color:#c0a96b;color:#a1813c}
@media(max-width:680px){.book-tabs button{font-size:9px}.siege-book>article{padding:13px 12px;gap:12px}.siege-book h3{font-size:14px}.siege-book p{font-size:10px}.siege-book small{font-size:8px}.siege-book>article>b{width:37px;height:42px;font-size:20px}}

.report-siege{border:1px solid #c8d0ac;background:#f4eed5;border-radius:9px;padding:10px 11px;margin-top:14px}.report-siege strong{display:block;font-size:10px;color:#7c8051;line-height:1.5}.report-siege span{display:block;font-size:8px;color:#919875;margin-top:5px;line-height:1.5}
@media(max-height:550px) and (max-width:1100px){.report-siege{margin-top:9px;padding:7px 9px}.report-siege strong{font-size:8px}.report-siege span{font-size:6px}}

/* Long recipes remain reachable inside the arena on short phones. */
.upgrade-panel{max-height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(max-width:360px) and (orientation:portrait){
 .upgrade-panel{padding:16px 12px}
 .upgrade-panel h2{font-size:21px;margin:8px 0}
 .upgrade-panel>p{font-size:9px;line-height:1.5;margin-bottom:12px}
 .upgrade-choices{grid-template-columns:1fr;gap:7px}
 .upgrade-card{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:8px;padding:9px 10px;text-align:left}
 .upgrade-card .upgrade-icon{font-size:24px;grid-row:1 / 4}
 .upgrade-card strong{font-size:11px}
 .upgrade-card .upgrade-description{font-size:9px;line-height:1.5;grid-column:2}
 .upgrade-card .upgrade-tag{grid-column:2;grid-row:3;justify-self:start;margin-top:4px;padding:3px 5px}
}

.objective-card.action-event{opacity:1;background:#fff3dbeF;border-color:#b39454;box-shadow:0 3px 0 #75563325}
.objective-card.action-event .objective-eyebrow{color:#a07a42}
.objective-card.action-event>strong{color:#73543d}
.objective-card.action-event .objective-track>i{background:#c9974e}
.objective-card.action-warning{background:#fff0e5f0;border-color:#bc776c;animation:action-ready 1.8s ease-in-out infinite}
.objective-card.action-warning .objective-eyebrow{color:#ad655c}
.objective-card.action-warning>strong{color:#8e514b}
.objective-card.action-warning .objective-track>i{background:#d18777}
@keyframes action-ready{50%{box-shadow:0 0 0 3px #d9a77d22,0 3px 0 #75563325}}
.report-action{padding:10px 11px;margin-top:9px;border:1px solid #d3b793;background:#f5e6cf;border-radius:9px}
.report-action strong{display:block;font-size:10px;color:#8d6a42;line-height:1.5}
.report-action span{display:block;font-size:8px;line-height:1.6;color:#9a8362;margin-top:4px}
.action-book{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.action-book>article{border:1px solid #d6cfb5;background:#f0ecdd;padding:13px;border-radius:15px;overflow:hidden}
.action-book>article>small{display:block;font-size:6px;letter-spacing:.7px;color:#a08a67;margin:16px 0 7px;font-weight:800}
.action-book h3{font-size:17px;margin:0 0 10px;letter-spacing:-.5px}
.action-book p{font-size:11px;line-height:1.8;color:#839071;word-break:keep-all;margin:0 0 12px}
.action-book>article>strong{display:block;border-top:1px dashed #c9c8aa;padding-top:10px;font-size:10px;line-height:1.6;color:#9a784b;word-break:keep-all}
.action-book-art{height:95px;border-radius:9px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e3dfbd;color:#b57864}
.barrage-art{background:linear-gradient(135deg,#e6c5a7,#dfd9b8);gap:5px}
.barrage-art i{font:32px Georgia;font-style:normal;width:43px;height:43px;display:grid;place-items:center;border:1px dashed #b77867;border-radius:50%}
.barrage-art i:nth-child(2){transform:translateY(-15px)}
.convoy-art{background:linear-gradient(155deg,#dfd8a8,#edc883)}
.convoy-art b{font-size:7px;letter-spacing:.7px;background:#c19c53;color:#fff8d6;padding:19px 12px 14px;border:2px solid #806f4e;border-radius:7px;box-shadow:-20px 25px 0 -17px #62684b,20px 25px 0 -17px #62684b;transform:rotate(-5deg)}
.convoy-art i{position:absolute;top:8px;right:22px;font-style:normal;font-size:29px;color:#fff2ae}
.charge-art{gap:5px;background:repeating-linear-gradient(-20deg,#dce1c4 0 17px,#e6e6d1 17px 20px);color:#b97c61}
.charge-art i{font:900 68px Georgia;font-style:normal;line-height:1;text-shadow:2px 3px #f8e7bf}
@media(max-width:680px){.action-book{grid-template-columns:1fr;gap:10px}.action-book>article{padding:15px}.action-book-art{height:82px}.action-book>article>small{margin-top:12px}.action-book p{font-size:11px}.book-tabs{gap:3px}.book-tabs button{min-width:0;line-height:1.4}.report-action{padding:8px 9px}.report-action span{font-size:8px}}
@media(max-height:550px) and (max-width:1100px){.report-action{padding:7px 9px;margin-top:8px}.report-action strong{font-size:8px}.report-action span{font-size:6px}}
@media(max-height:550px) and (max-width:1100px){.objective-card.action-event>span:nth-of-type(2){display:block;font-size:8px;line-height:1.4}}
@media(max-width:360px) and (max-height:600px) and (orientation:portrait){.objective-card.action-event{width:155px;padding:7px 9px}.objective-card.action-event>span:nth-of-type(2){display:none}.objective-card.action-event>strong{font-size:9px;margin-top:3px}.objective-card.action-event>small{font-size:7px;color:#8b694d}.objective-card.action-event .objective-track{margin-top:5px}}

/* Dedicated play presentation. The lobby keeps its original paper branding. */
body.immersive-play{background:#101b19;overscroll-behavior:none}
body.immersive-play .site-shell,body.immersive-play .main-layout,body.immersive-play .play-column{position:static;display:block;width:100%;max-width:none;margin:0;padding:0}
body.immersive-play .site-header,body.immersive-play .intro,body.immersive-play .site-footer,body.immersive-play .game-topline,body.immersive-play .arena-footer,body.immersive-play .game-caption,body.immersive-play .expedition-route{display:none!important}
body.immersive-play .game-frame{overflow:hidden;overflow:clip;overflow-anchor:none;overscroll-behavior:none;position:fixed;inset:0;z-index:50;width:100vw;width:100dvw;height:var(--play-height,100vh);height:100dvh;min-height:0;max-height:none;aspect-ratio:auto;margin:0;border:0;border-radius:0;box-shadow:none;--ui-glass:#142620df;--ui-line:#e7d4993d;--ui-text:#fff6d9;--ui-muted:#c0c9af;--ui-gold:#edcb73;--ui-left:max(20px,env(safe-area-inset-left));--ui-right:max(20px,env(safe-area-inset-right));--ui-top:max(16px,env(safe-area-inset-top));--ui-bottom:max(18px,env(safe-area-inset-bottom))}
body.immersive-play #game{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:0;outline:none}
body.immersive-play .game-vignette{border-radius:0;box-shadow:inset 0 0 90px #10241b3d}
body.immersive-play .hud{z-index:4;color:var(--ui-text);font-variant-numeric:tabular-nums}
body.immersive-play .hud-top{position:absolute;top:var(--ui-top);left:50%;transform:translateX(-50%);width:440px;max-width:calc(100% - 460px);display:grid;grid-template-columns:minmax(0,1.55fr) minmax(85px,1fr) 62px;align-items:stretch;gap:8px;padding:0}
body.immersive-play .health-box,body.immersive-play .timer-box,body.immersive-play .kill-box{min-width:0;padding:9px 11px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-glass);box-shadow:0 5px 20px #081a1824,inset 0 1px #ffffff0b;color:var(--ui-text);backdrop-filter:blur(12px)}
body.immersive-play .health-box{gap:8px;display:flex;align-items:center}
body.immersive-play .health-box>div{min-width:0;flex:1}
body.immersive-play .hud-caption{display:block;font-size:7px;font-weight:800;letter-spacing:.8px;color:var(--ui-muted);margin:0 0 5px}
body.immersive-play .hp-face{font-size:18px;color:#eda09b;text-shadow:0 2px #0b1a13}
body.immersive-play #health-text{display:inline;font-size:13px;font-weight:900;color:var(--ui-text)}
body.immersive-play .health-track{height:5px;width:100%;background:#071713a8;border-radius:3px;box-shadow:inset 0 1px 3px #0004;overflow:hidden}
body.immersive-play #health-fill{background:linear-gradient(90deg,#72b67f,#b9db92);box-shadow:0 0 10px #98ca6b44;height:100%;border-radius:3px}
body.immersive-play .low-health{border-color:#e7807177;background:#3b2524eb}
body.immersive-play .low-health #health-fill{background:linear-gradient(90deg,#d96b58,#f5b18d)}
body.immersive-play .timer-box{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px}
body.immersive-play .timer-box>span{font-size:23px;line-height:1;letter-spacing:-.7px;color:#fff6d9}
body.immersive-play .timer-box small{font-size:8px;color:#b7c1a7;white-space:nowrap}
body.immersive-play .kill-box{display:flex;justify-content:center;align-items:center;gap:5px;font-size:12px}
body.immersive-play .kill-box svg{height:12px;width:12px;color:var(--ui-gold)}
body.immersive-play .xp-row{position:absolute;top:calc(var(--ui-top) + 54px);left:50%;transform:translateX(-50%);width:440px;max-width:calc(100% - 460px);gap:7px;margin:0;color:#f3edce;font-size:8px;text-shadow:0 1px 3px #10231c}
body.immersive-play .xp-track{height:4px;background:#172b21bd;border:1px solid #e7d49924;box-shadow:0 1px 4px #10231c44;overflow:hidden}
body.immersive-play #xp-fill{background:linear-gradient(90deg,#b9bd75,#f4d188);height:100%}
body.immersive-play #xp-label{color:#e2e7c9;font-size:7px;white-space:nowrap}
body.immersive-play .tactical-row{top:var(--ui-top);left:var(--ui-left);right:var(--ui-right);gap:20px;pointer-events:none}
body.immersive-play .objective-card{width:215px;padding:11px 13px;border:1px solid var(--ui-line);border-left:3px solid #cfb16c;border-radius:9px;background:var(--ui-glass);color:var(--ui-text);box-shadow:0 6px 24px #09201c25;backdrop-filter:blur(12px);opacity:1}
body.immersive-play .objective-eyebrow{font-size:6px;letter-spacing:1.2px;color:var(--ui-gold)}
body.immersive-play .objective-card>strong{font-size:12px;color:var(--ui-text);margin-top:5px;line-height:1.45}
body.immersive-play .objective-card>span:nth-of-type(2){font-size:9px;color:var(--ui-muted);line-height:1.6;margin-top:5px}
body.immersive-play .objective-card>small{font-size:8px;color:#e4cf91;margin-top:6px;line-height:1.4}
body.immersive-play .objective-track{height:3px;background:#071b159c;margin-top:8px}
body.immersive-play .objective-track>i,body.immersive-play .objective-card.action-event .objective-track>i{background:var(--ui-gold)}
body.immersive-play .objective-card:not(.has-objective){opacity:.8;background:#182e23a6;border-color:#d9d49c26}
body.immersive-play .objective-card:not(.has-objective)>span{display:none}
body.immersive-play .objective-card:not(.has-objective)>strong{font-size:10px;margin:0;color:#e2e8c7}
body.immersive-play .objective-card.action-event{background:#2c2c1be8;border-color:#e4bf705c;box-shadow:0 6px 24px #15201433}
body.immersive-play .objective-card.action-warning{background:#412c24e8;border-left-color:#ed9e7e;animation:none}
body.immersive-play .objective-card.action-warning .objective-eyebrow{color:#ffb89a}
body.immersive-play .minimap-wrap{margin-top:53px;padding:5px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-glass);box-shadow:0 5px 20px #081a1824;backdrop-filter:blur(12px)}
body.immersive-play #minimap{width:96px;height:75px;opacity:.87;border:1px solid #e6d49840;border-radius:5px}
body.immersive-play .minimap-wrap>span{color:#dbd7b0;font-size:6px;letter-spacing:1px;line-height:2}
body.immersive-play .boss-milestones{top:calc(var(--ui-top) + 73px);background:#13291fc9;border:1px solid #e7d49920;color:#cad2b6;gap:5px;padding:4px 9px}
body.immersive-play .boss-milestones>span{color:#cbd1b5;font-size:7px}
body.immersive-play .boss-milestones>i{font-size:11px;color:#82917b}
body.immersive-play .boss-milestones>i.earned{color:#f3d280;text-shadow:0 0 7px #ebc86a44}
body.immersive-play .boss-hud{top:calc(var(--ui-top) + 100px);bottom:auto;left:50%;transform:translateX(-50%);width:380px;max-width:calc(100% - 490px);padding:9px 12px;background:#241e27e8;border:1px solid #ddafc556;border-radius:10px;box-shadow:0 5px 22px #11152122;backdrop-filter:blur(10px)}
body.immersive-play .boss-hud>div:first-child{flex-wrap:nowrap;gap:8px;line-height:1.3}
body.immersive-play .boss-hud strong{font-size:11px;color:#ffebe0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.immersive-play .boss-hud span{color:#d3b2c4;font-size:5px}
body.immersive-play .boss-hud small{display:block;color:#d3b2c4;font-size:7px;white-space:nowrap}
body.immersive-play .boss-track{height:5px;background:#110f1e99;margin-top:7px}
body.immersive-play .boss-track>i{background:linear-gradient(90deg,#ba627d,#eda4a8)}
body.immersive-play .boss-break-row{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:8px}
body.immersive-play .boss-break-row>span{font-size:7px;color:#e0cca0;letter-spacing:.2px}
body.immersive-play .boss-break-row>small{font-size:6px;color:#c2b996;margin:0}
body.immersive-play .boss-break-track{height:3px;background:#090f1680;border-radius:3px;margin-top:4px;overflow:hidden}
body.immersive-play .boss-break-track>i{display:block;height:100%;background:linear-gradient(90deg,#b8b978,#f5d87b);width:0;transition:width .15s}
body.immersive-play .boss-hud.is-broken{border-color:#ffe2a9a3;box-shadow:0 0 0 2px #ffe4a31a,0 5px 22px #11152133}
body.immersive-play .is-broken .boss-break-row>span{color:#ffe7aa;font-weight:900}
body.immersive-play .is-broken .boss-break-track>i{background:#ffe4a2;box-shadow:0 0 8px #f5ce87}
body.immersive-play .break-recovering .boss-break-track{opacity:.45}
body.immersive-play .game-bottom{bottom:var(--ui-bottom);left:var(--ui-left);right:var(--ui-right);align-items:end;gap:20px}
body.immersive-play .loadout-area{max-width:45%}
body.immersive-play .siege-meter{width:190px;max-width:100%;padding:8px 10px 7px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-glass);box-shadow:0 4px 16px #0d241a24;margin-bottom:9px}
body.immersive-play .siege-meter strong{font-size:10px;color:var(--ui-text);letter-spacing:.1px}
body.immersive-play .siege-meter b{color:var(--ui-gold);font-size:12px}
body.immersive-play .siege-meter>small{font-size:7px;color:#c0c8a7;line-height:1.4}
body.immersive-play .siege-track{background:#071b16a6;height:3px}
body.immersive-play .siege-track>i{background:linear-gradient(90deg,#a7b878,#e5be69)}
body.immersive-play .loadout-label{font-size:7px;color:#e3e7c7;text-shadow:0 1px 4px #132b20;margin-bottom:6px}
body.immersive-play .loadout{gap:6px}
body.immersive-play .loadout>span{height:38px;width:38px;font-size:22px;border:1px solid #e4d59e55;border-bottom:2px solid #9caa7b66;background:var(--ui-glass);border-radius:9px;box-shadow:0 3px 12px #10251c33}
body.immersive-play .loadout>span.empty-slot{border-color:#ced4ab22;border-style:dashed;background:#182d23a1;color:#d4dfb943;font-size:16px}
body.immersive-play .loadout>span.evolved{border-color:#efcd7c;background:#473d25e6;box-shadow:0 0 0 1px #e9cc6a22}
body.immersive-play .loadout sup{font-size:7px;color:#f7eac7;background:#1b2b22}
body.immersive-play .action-buttons{align-items:end;gap:10px}
body.immersive-play .ultimate-wrap,body.immersive-play .dash-wrap{display:flex;flex-direction:column;align-items:center;gap:7px}
body.immersive-play .ultimate-wrap>span,body.immersive-play .dash-wrap>span{display:block;max-width:110px;background:none;padding:0;color:#edf1d8;font-size:8px;line-height:1.2;font-weight:800;text-shadow:0 1px 4px #12291b}
body.immersive-play .ultimate-button,body.immersive-play .dash-button{height:66px;width:76px;border:1px solid #dfd5a764;border-bottom:3px solid #8b9d7280;border-radius:15px;background:#1b332aeb;color:#f7edcf;box-shadow:0 6px 18px #10241e44,inset 0 1px #fff6;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px}
body.immersive-play .dash-button svg{color:#ecd58e;width:24px;height:24px}
body.immersive-play .ultimate-button>svg{color:#f0bdaf;width:22px;height:22px}
body.immersive-play .ultimate-button::before{background:linear-gradient(0deg,#ca8d796b,#efc89055)}
body.immersive-play .ultimate-button>kbd{color:#eadfb8;font-size:7px;top:6px;right:7px}
body.immersive-play .ultimate-button:disabled,body.immersive-play .dash-button:disabled{opacity:.72;filter:saturate(.7)}
body.immersive-play .ultimate-button.ready{color:#fff6d9;background:#68502aeb;border-color:#f2d386;box-shadow:0 0 0 2px #edce7a30,0 0 27px #edb75c30;animation:none}
body.immersive-play .ultimate-button.ready>svg{color:#ffe4a4}
body.immersive-play .dash-button.cooling{background:#172c26c9;color:#c8d0b7}
body.immersive-play .fever-indicator{top:auto;bottom:calc(var(--ui-bottom) + 15px);left:50%;transform:translateX(-50%);width:180px;opacity:1;gap:6px}
body.immersive-play .fever-indicator>span{color:#fff0bd;text-shadow:0 1px 5px #16271d;text-align:center;font-size:7px;letter-spacing:1px}
body.immersive-play .fever-indicator>div{height:4px;background:#1a2d22c9;border:1px solid #e8cc7d38}
body.immersive-play .fever-indicator i{background:#e5bf73}
body.immersive-play .fever-indicator.active>span{color:#ffdfa1}
body.immersive-play .fever-indicator.active i{background:#ffda8c}
body.immersive-play .arena-tools{top:var(--ui-top);bottom:auto;left:auto;right:var(--ui-right);gap:6px;z-index:7}
body.immersive-play .arena-tools .icon-btn{height:33px;width:33px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-glass);box-shadow:0 3px 12px #0d241b24;color:#e9e9cb}
body.immersive-play .arena-tools .icon-btn[aria-pressed="true"]{border-color:#efd08c91;color:#f5d88c}
body.immersive-play .arena-tools .icon-btn:disabled{opacity:.5}
body.immersive-play .arena-tools svg{height:15px;width:15px}
body.immersive-play .game-frame[data-ui="upgrade"] .arena-tools,body.immersive-play .game-frame[data-ui="paused"] .arena-tools,body.immersive-play .game-frame[data-ui="ended"] .arena-tools{visibility:hidden}
body.immersive-play .state-overlay{padding:max(22px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));background:#101c22a3;backdrop-filter:blur(9px);overflow:hidden}
body.immersive-play .upgrade-panel,body.immersive-play .pause-panel,body.immersive-play .end-panel{border-color:#a3a17b;border-width:1px;box-shadow:0 18px 80px #03141166,0 0 0 5px #e1cf8d10;max-height:100%;overscroll-behavior:contain}
body.immersive-play .upgrade-panel{width:760px;max-width:100%;padding:30px;border-radius:18px}
body.immersive-play .upgrade-panel h2{font-size:30px;margin:12px 0}
body.immersive-play .upgrade-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.immersive-play .upgrade-card{background:#eeecd8;border:1px solid #adb597;border-bottom:3px solid #a6af87;border-radius:13px;box-shadow:0 5px 12px #53623c10;padding:22px 15px}
body.immersive-play .upgrade-card:hover{transform:translateY(-3px);border-color:#778b5c;background:#f8f3de}
body.immersive-play .upgrade-card:focus-visible{outline:3px solid #ac8a45;outline-offset:3px}
body.immersive-play .upgrade-footer{gap:12px;margin-top:20px}
body.immersive-play .pause-links{flex-wrap:wrap;gap:5px 14px}
body.immersive-play .pause-links .text-btn{font-size:10px}
body.immersive-play .game-toast{top:23%;border-radius:8px;background:#172c23e8;border:1px solid #e4cf8e77;border-left:3px solid #e9c87f;color:#fff1ce;box-shadow:0 5px 24px #10241c3d;max-width:min(600px,72%);font-size:12px;line-height:1.6;padding:10px 16px;white-space:normal;text-align:center}
body.immersive-play .overtime-banner{top:calc(var(--ui-top) + 188px);bottom:auto;background:#3e2529e8;border:1px solid #df8f8777;color:#ffddc7;padding:8px 13px;border-radius:8px;box-shadow:0 4px 20px #11151d33}
body.immersive-play .overtime-banner strong{font-size:12px;color:#ffd2b1;margin-bottom:3px}
body.immersive-play .overtime-banner span{font-size:9px;color:#f3c6ad}
body.immersive-play button:focus-visible{outline:3px solid #f1d28d;outline-offset:3px}

@media(max-width:1000px){
 body.immersive-play .game-frame{--ui-left:max(14px,env(safe-area-inset-left));--ui-right:max(14px,env(safe-area-inset-right));--ui-top:max(12px,env(safe-area-inset-top));--ui-bottom:max(14px,env(safe-area-inset-bottom))}
 body.immersive-play .objective-card{width:190px;padding:9px 11px}
 body.immersive-play .objective-card>strong{font-size:11px}
 body.immersive-play .hud-top,body.immersive-play .xp-row{width:365px;max-width:calc(100% - 420px)}
 body.immersive-play .hud-top{grid-template-columns:minmax(0,1.5fr) 93px 54px;gap:6px}
 body.immersive-play .timer-box>span{font-size:21px}
 body.immersive-play .timer-box small{font-size:7px}
 body.immersive-play .health-box{padding:8px;gap:6px}
 body.immersive-play .boss-hud{width:330px;max-width:calc(100% - 440px)}
 body.immersive-play .minimap-wrap{margin-top:47px}
 body.immersive-play #minimap{width:82px;height:64px}
}
@media(max-width:680px) and (orientation:portrait){
 body.immersive-play .game-frame{--ui-left:max(12px,env(safe-area-inset-left));--ui-right:max(12px,env(safe-area-inset-right));--ui-top:max(12px,env(safe-area-inset-top));--ui-bottom:max(14px,env(safe-area-inset-bottom))}
 body.immersive-play .hud-top{left:var(--ui-left);right:calc(var(--ui-right) + 106px);top:var(--ui-top);transform:none;width:auto;max-width:none;grid-template-columns:minmax(0,1fr) 77px;gap:6px}
 body.immersive-play .health-box{padding:8px;gap:6px;border-radius:9px}
 body.immersive-play .hud-caption{font-size:6px;letter-spacing:.3px;margin-bottom:4px}
 body.immersive-play .hp-face{font-size:13px}
 body.immersive-play #health-text{font-size:11px}
 body.immersive-play .timer-box{padding:8px 5px;gap:3px;border-radius:9px}
 body.immersive-play .timer-box>span{font-size:19px}
 body.immersive-play .timer-box small{font-size:6px}
 body.immersive-play .kill-box{display:none}
 body.immersive-play .arena-tools .icon-btn{width:30px;height:34px;border-radius:9px}
 body.immersive-play .arena-tools{gap:5px}
 body.immersive-play .xp-row{top:calc(var(--ui-top) + 48px);left:var(--ui-left);right:var(--ui-right);transform:none;width:auto;max-width:none;font-size:8px}
 body.immersive-play #xp-label{font-size:7px}
 body.immersive-play .boss-milestones{top:calc(var(--ui-top) + 65px);padding:3px 7px;gap:4px}
 body.immersive-play .boss-milestones>span{font-size:6px}
 body.immersive-play .boss-milestones>i{font-size:10px}
 body.immersive-play .tactical-row{top:calc(var(--ui-top) + 88px);left:var(--ui-left);right:var(--ui-right);gap:14px}
 body.immersive-play .objective-card{width:195px;max-width:calc(100% - 85px);padding:9px 10px;border-radius:8px}
 body.immersive-play .objective-eyebrow{font-size:5px;letter-spacing:.9px}
 body.immersive-play .objective-card>strong{font-size:10px;margin-top:4px}
 body.immersive-play .objective-card>span:nth-of-type(2){font-size:8px;line-height:1.5;margin-top:4px}
 body.immersive-play .objective-card>small{font-size:7px;margin-top:5px}
 body.immersive-play .objective-track{margin-top:6px}
 body.immersive-play .minimap-wrap{display:block;margin-top:0;padding:4px;border-radius:8px}
 body.immersive-play #minimap{width:64px;height:50px;border-radius:4px}
 body.immersive-play .minimap-wrap>span{font-size:5px;line-height:1.8;letter-spacing:.5px}
 body.immersive-play .boss-hud{top:auto;bottom:calc(var(--ui-bottom) + 132px);left:50%;transform:translateX(-50%);width:290px;max-width:calc(100% - 32px);padding:8px 11px;border-radius:9px}
 body.immersive-play .boss-hud>div:first-child>span{display:none}
 body.immersive-play .boss-hud strong{font-size:10px}
 body.immersive-play .boss-hud small{font-size:6px}
 body.immersive-play .boss-break-row{margin-top:6px}
 body.immersive-play .boss-break-row>span{font-size:7px}
 body.immersive-play .boss-break-row>small{font-size:6px}
 body.immersive-play .game-bottom{left:var(--ui-left);right:var(--ui-right);bottom:var(--ui-bottom);gap:12px}
 body.immersive-play .loadout-area{max-width:48%}
 body.immersive-play .siege-meter{width:155px;padding:6px 8px;margin-bottom:8px}
 body.immersive-play .siege-meter strong{font-size:9px}
 body.immersive-play .siege-meter b{font-size:10px}
 body.immersive-play .siege-meter>small{font-size:6px}
 body.immersive-play .loadout-label{font-size:6px;margin-bottom:5px}
 body.immersive-play .loadout{gap:5px}
 body.immersive-play .loadout>span{width:30px;height:33px;font-size:19px;border-radius:8px}
 body.immersive-play .loadout sup{font-size:6px}
 body.immersive-play .action-buttons{gap:7px}
 body.immersive-play .ultimate-button,body.immersive-play .dash-button{height:59px;width:63px;border-radius:14px;font-size:9px}
 body.immersive-play .ultimate-wrap>span,body.immersive-play .dash-wrap>span{font-size:6px;max-width:70px}
 body.immersive-play .ultimate-wrap,body.immersive-play .dash-wrap{gap:6px}
 body.immersive-play .ultimate-button>svg{width:19px;height:19px}
 body.immersive-play .dash-button>svg{width:22px;height:22px}
 body.immersive-play .fever-indicator{bottom:calc(var(--ui-bottom) + 109px);width:175px}
 body.immersive-play .fever-indicator>span{font-size:6px}
 body.immersive-play .fever-indicator>div{display:none}
 body.immersive-play .overtime-banner{top:auto;bottom:calc(var(--ui-bottom) + 207px);max-width:calc(100% - 32px);white-space:normal;padding:7px 11px}
 body.immersive-play .overtime-banner strong{font-size:11px}
 body.immersive-play .overtime-banner span{font-size:8px}
 body.immersive-play .game-toast{top:37%;max-width:85%;font-size:10px;padding:8px 12px}
 body.immersive-play .state-overlay{padding:max(14px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 body.immersive-play .upgrade-panel{padding:20px 16px;border-radius:16px}
 body.immersive-play .upgrade-panel h2{font-size:25px;margin:10px 0}
 body.immersive-play .upgrade-panel>p{font-size:10px;margin-bottom:16px}
 body.immersive-play .upgrade-choices{grid-template-columns:1fr;gap:9px}
 body.immersive-play .upgrade-card{display:grid;grid-template-columns:35px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;padding:12px;text-align:left}
 body.immersive-play .upgrade-card .upgrade-icon{grid-row:1/4;margin:0;font-size:28px}
 body.immersive-play .upgrade-card strong{font-size:12px;margin:0 0 4px}
 body.immersive-play .upgrade-card .upgrade-description{font-size:10px;line-height:1.5;min-height:0;grid-column:2}
 body.immersive-play .upgrade-card .upgrade-tag{grid-column:2;grid-row:3;justify-self:start;align-self:start;margin-top:6px;font-size:7px;padding:3px 6px}
 body.immersive-play .upgrade-footer{margin-top:16px;gap:7px}
 body.immersive-play .recipe-btn,body.immersive-play .reroll-btn{min-height:38px;font-size:10px}
}
@media(max-width:360px) and (orientation:portrait){
 body.immersive-play .game-frame{--ui-left:max(10px,env(safe-area-inset-left));--ui-right:max(10px,env(safe-area-inset-right))}
 body.immersive-play .hud-top{right:calc(var(--ui-right) + 99px);grid-template-columns:minmax(0,1fr) 70px;gap:5px}
 body.immersive-play .health-box{padding:7px 6px;gap:4px}
 body.immersive-play .hp-face{display:none}
 body.immersive-play .timer-box>span{font-size:18px}
 body.immersive-play .timer-box small{font-size:5px}
 body.immersive-play .arena-tools .icon-btn{width:29px;height:33px}
 body.immersive-play .arena-tools{gap:4px}
 body.immersive-play .objective-card{width:169px;max-width:calc(100% - 81px);padding:8px 9px}
 body.immersive-play .objective-card>strong{font-size:10px}
 body.immersive-play .objective-card>span:nth-of-type(2){display:block;font-size:8px}
 body.immersive-play .minimap-wrap{padding:3px}
 body.immersive-play #minimap{width:59px;height:46px}
 body.immersive-play .siege-meter{width:135px;padding:6px 7px}
 body.immersive-play .siege-meter strong{font-size:8px}
 body.immersive-play .siege-meter>small{font-size:5.5px}
 body.immersive-play .loadout{gap:4px}
 body.immersive-play .loadout>span{width:26px;height:31px;font-size:17px}
 body.immersive-play .ultimate-button,body.immersive-play .dash-button{width:58px;height:58px;font-size:8px}
 body.immersive-play .action-buttons{gap:6px}
 body.immersive-play .upgrade-panel{padding:16px 12px}
 body.immersive-play .upgrade-panel h2{font-size:22px;margin:8px 0}
 body.immersive-play .upgrade-panel>p{font-size:9px;line-height:1.5;margin-bottom:12px}
 body.immersive-play .upgrade-choices{gap:7px}
 body.immersive-play .upgrade-card{grid-template-columns:29px minmax(0,1fr);column-gap:8px;padding:10px}
 body.immersive-play .upgrade-card .upgrade-icon{font-size:24px}
 body.immersive-play .upgrade-card strong{font-size:11px}
 body.immersive-play .upgrade-card .upgrade-description{font-size:9px}
 body.immersive-play .upgrade-card .upgrade-tag{font-size:6px;margin-top:4px}
}
@media(max-height:550px) and (orientation:landscape){
 body.immersive-play .game-frame{--ui-left:max(14px,env(safe-area-inset-left));--ui-right:max(14px,env(safe-area-inset-right));--ui-top:max(10px,env(safe-area-inset-top));--ui-bottom:max(12px,env(safe-area-inset-bottom))}
 body.immersive-play .hud-top,body.immersive-play .xp-row{width:355px;max-width:calc(100% - 440px)}
 body.immersive-play .hud-top{grid-template-columns:minmax(0,1.4fr) 88px 49px;gap:5px}
 body.immersive-play .health-box{padding:7px;gap:5px}
 body.immersive-play .timer-box{padding:7px 5px}
 body.immersive-play .timer-box>span{font-size:20px}
 body.immersive-play .hud-caption{font-size:6px;margin-bottom:4px}
 body.immersive-play #health-text{font-size:11px}
 body.immersive-play .xp-row{top:calc(var(--ui-top) + 44px);font-size:7px}
 body.immersive-play #xp-label{font-size:6px}
 body.immersive-play .objective-card{width:180px;padding:8px 10px}
 body.immersive-play .objective-eyebrow{font-size:5px}
 body.immersive-play .objective-card>strong{font-size:10px;margin-top:4px}
 body.immersive-play .objective-card>span:nth-of-type(2),body.immersive-play .objective-card.action-event>span:nth-of-type(2){display:block;font-size:8px;line-height:1.4}
 body.immersive-play .objective-card>small{font-size:7px;margin-top:5px}
 body.immersive-play .objective-track{margin-top:5px}
 body.immersive-play .boss-milestones{top:calc(var(--ui-top) + 60px);padding:3px 7px}
 body.immersive-play .boss-milestones>span{font-size:6px}
 body.immersive-play .boss-milestones>i{font-size:9px}
 body.immersive-play .boss-hud{top:calc(var(--ui-top) + 83px);bottom:auto;left:50%;transform:translateX(-50%);width:300px;max-width:calc(100% - 460px);padding:7px 10px}
 body.immersive-play .boss-hud>div:first-child>span{display:none}
 body.immersive-play .boss-hud strong{font-size:10px}
 body.immersive-play .boss-break-row{margin-top:5px}
 body.immersive-play .boss-break-row>span{font-size:6px}
 body.immersive-play .boss-break-row>small{font-size:5px}
 body.immersive-play .arena-tools .icon-btn{width:30px;height:30px}
 body.immersive-play .arena-tools{gap:5px}
 body.immersive-play .minimap-wrap{display:block;margin-top:42px;padding:4px}
 body.immersive-play #minimap{width:70px;height:55px}
 body.immersive-play .minimap-wrap>span{font-size:5px}
 body.immersive-play .siege-meter{width:160px;padding:6px 8px;margin-bottom:6px}
 body.immersive-play .siege-meter strong{font-size:8px}
 body.immersive-play .siege-meter>small{font-size:6px}
 body.immersive-play .loadout-label{display:none}
 body.immersive-play .loadout>span{height:32px;width:32px;font-size:19px}
 body.immersive-play .action-buttons{gap:8px}
 body.immersive-play .ultimate-button,body.immersive-play .dash-button{width:62px;height:52px;border-radius:12px;font-size:9px}
 body.immersive-play .ultimate-wrap>span,body.immersive-play .dash-wrap>span{font-size:6px}
 body.immersive-play .fever-indicator{bottom:calc(var(--ui-bottom) + 8px);width:150px}
 body.immersive-play .fever-indicator>span{font-size:6px}
 body.immersive-play .overtime-banner{top:calc(var(--ui-top) + 152px);bottom:auto;padding:6px 10px}
 body.immersive-play .overtime-banner strong{font-size:10px}
 body.immersive-play .overtime-banner span{font-size:7px}
 body.immersive-play .game-toast{top:49%;max-width:65%;font-size:10px;padding:7px 12px}
 body.immersive-play .state-overlay{padding:max(12px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
 body.immersive-play .upgrade-panel{padding:18px 22px;width:760px}
 body.immersive-play .upgrade-panel h2{font-size:23px;margin:8px 0}
 body.immersive-play .upgrade-panel>p{font-size:10px;margin-bottom:12px}
 body.immersive-play .upgrade-choices{gap:10px}
 body.immersive-play .upgrade-card{display:flex;padding:12px 10px;text-align:center}
 body.immersive-play .upgrade-card .upgrade-icon{font-size:29px;margin:0 0 9px}
 body.immersive-play .upgrade-card strong{font-size:11px;margin:0 0 7px}
 body.immersive-play .upgrade-card .upgrade-description{font-size:9px;line-height:1.5;min-height:0}
 body.immersive-play .upgrade-card .upgrade-tag{font-size:6px;margin-top:9px}
 body.immersive-play .upgrade-footer{margin-top:14px}
 body.immersive-play .recipe-btn,body.immersive-play .reroll-btn{min-height:33px;font-size:9px}
 body.immersive-play .pause-panel{padding:20px 26px}
 body.immersive-play .pause-panel h2{font-size:24px}
}
@media(max-width:700px) and (orientation:landscape){
 body.immersive-play .hud-top,body.immersive-play .xp-row{max-width:none;width:220px;left:48%}
 body.immersive-play .hud-top{grid-template-columns:minmax(0,1fr) 83px}
 body.immersive-play .kill-box{display:none}
 body.immersive-play .objective-card{width:145px;padding:7px 8px}
 body.immersive-play .objective-card>strong{font-size:9px}
 body.immersive-play .objective-card>span:nth-of-type(2),body.immersive-play .objective-card.action-event>span:nth-of-type(2){font-size:7px}
 body.immersive-play .boss-hud{width:220px;max-width:none;left:48%}
 body.immersive-play .boss-hud strong{font-size:9px}
 body.immersive-play #minimap{width:58px;height:45px}
}

.boss-milestones>strong{font-size:10px;line-height:1;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap;color:#8c794d}
.boss-milestones>small{font-size:7px;line-height:1;color:#869373;border-left:1px solid #a6b18d55;padding-left:7px;margin-left:2px;white-space:nowrap}
body.immersive-play .boss-milestones>strong{font-size:10px;color:#f2d384;letter-spacing:.5px}
body.immersive-play .boss-milestones>small{font-size:7px;color:#cbd1b5;border-color:#d8d4a735}
.course-guide{margin-top:24px;border-top:1px solid #d8ddc9;padding-top:18px}
.course-guide h3{font-size:15px;margin:0 0 12px}
.course-guide>div{display:grid;grid-template-columns:100px 115px minmax(0,1fr);gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #dce0d0}
.course-guide strong{font-size:12px}.course-guide span{font-size:10px;color:#84754f}.course-guide small{font-size:10px;line-height:1.5;color:#859176}
.mastery-guide{border:1px solid #d1c49f;background:#f5edd5;border-radius:11px;padding:15px 17px;margin-top:17px}
.mastery-guide strong{font-size:12px;color:#7f704a}.mastery-guide p{font-size:11px;line-height:1.8;color:#849071;margin:8px 0 0;word-break:keep-all}
.report-expedition{padding:10px 11px;margin-top:9px;border:1px solid #c7b580;background:#f3ebd0;border-radius:9px}
.report-expedition strong{display:block;font-size:10px;color:#827142;line-height:1.5}.report-expedition span{display:block;font-size:8px;line-height:1.6;color:#928463;margin-top:4px}
@media(max-width:680px){.course-guide>div{grid-template-columns:90px minmax(0,1fr);gap:5px 10px}.course-guide small{grid-column:1/-1;font-size:10px}.mastery-guide{padding:13px}.mastery-guide strong{font-size:11px}.mastery-guide p{font-size:10px}body.immersive-play .boss-milestones>strong{font-size:9px}body.immersive-play .boss-milestones>small{font-size:6px}}
@media(max-height:550px) and (orientation:landscape){.report-expedition{padding:7px 9px;margin-top:8px}.report-expedition strong{font-size:8px}.report-expedition span{font-size:6px}}

.retire-btn{display:block;margin:2px auto 8px;color:#657b56;font-weight:800}.retire-btn[hidden]{display:none}
@media(max-height:550px) and (orientation:landscape){.retire-btn{display:inline-block;margin:2px 8px 5px}.retire-btn[hidden]{display:none}}

/* Keep the unlimited label legible without squeezing longer survival times. */
body.immersive-play .timer-box.timer-endless{flex-direction:column;gap:1px;padding:4px 5px;justify-content:center}
body.immersive-play .timer-box.timer-endless small{font-size:8px;line-height:9px;letter-spacing:0;color:#e1e7cc}

.release-tag{font:700 9px var(--font);letter-spacing:0;padding:3px 6px;background:#edf0e3;border:1px solid #bdc9b4;border-radius:5px;color:#506b49;white-space:nowrap}
@media(max-width:380px){.release-tag{font-size:8px;padding:2px 4px}}

/* V8: compact readable battle information, kept outside the central play space. */
.boss-roster{display:flex;gap:8px;margin-top:7px}.boss-roster>div{flex:1;min-width:0}.boss-roster span{display:block!important;font:600 9px system-ui!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.boss-roster i{display:block;height:3px;margin-top:3px;background:linear-gradient(to right,#d788a8 var(--boss-hp),#ffffff22 var(--boss-hp));border-radius:3px}.boss-roster .exposed i{background:linear-gradient(to right,#ffe795 var(--boss-hp),#ffffff22 var(--boss-hp))}.boss-stance{margin:5px 0 0;font:600 10px system-ui;color:#d0e5fa}.is-exposed .boss-stance{color:#ffe598}.encounter-status{position:absolute;z-index:6;left:50%;transform:translateX(-50%);top:270px;max-width:60%;padding:7px 13px;border-radius:20px;background:#29213ce6;border:1px solid #d8b7f077;color:#f6e8ff;font:700 11px system-ui;text-align:center;pointer-events:none}.encounter-status.warning{color:#ffe2a6;border-color:#ffc979aa}body.immersive-play .encounter-status{top:calc(var(--ui-top) + 215px);max-width:440px}.boss-roster[hidden],.encounter-status[hidden]{display:none!important}
@media(max-width:680px){body.immersive-play .encounter-status{top:calc(var(--ui-top) + 205px);max-width:calc(100% - 32px);width:max-content;font-size:9px;padding:6px 10px}.boss-stance{font-size:9px}.boss-roster span{font-size:8px!important}}
@media(max-height:550px) and (min-width:681px){body.immersive-play .encounter-status{top:auto;bottom:calc(var(--ui-bottom) + 91px);font-size:9px}.boss-stance{font-size:8px}.boss-roster{margin-top:3px}}

.departure{position:absolute;z-index:15;left:50%;top:38%;transform:translate(-50%,-50%);width:min(620px,90%);text-align:center;color:#fff5ce;pointer-events:none;text-shadow:0 3px 16px #162b38;padding:26px 12px;background:linear-gradient(90deg,transparent,#1e3448d9 20%,#1e3448d9 80%,transparent)}.departure>span{font:600 9px system-ui;letter-spacing:4px;color:#d4dcb8}.departure>strong{display:block;font:900 clamp(23px,4vw,43px) system-ui;letter-spacing:-2px;margin:11px 0}.departure>i{display:block;width:90px;height:2px;margin:14px auto;background:#e4c981}.departure>small{font:600 13px system-ui;letter-spacing:.3px}.departure.departing{animation:depart 2.1s both}@keyframes depart{0%{opacity:0;transform:translate(-50%,-45%)}18%,70%{opacity:1;transform:translate(-50%,-50%)}100%{opacity:0;transform:translate(-50%,-56%)}}
.end-rig{position:relative;background:radial-gradient(ellipse at 50% 64%,#d1b66a33,transparent 65%);margin:0 -12px 4px}.end-rig canvas{display:block;width:100%;max-height:154px;object-fit:contain}.end-rig>span{display:block;text-align:center;color:#71765d;font-size:9px;letter-spacing:1px;padding-bottom:7px}.end-highlights{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 15px}.end-highlights>span{border:1px solid #d7ceae;background:#eee8d6;border-radius:5px;padding:5px 7px;font-size:9px;color:#606849}#end-screen:not([hidden]) .result-summary{animation:result-arrive .85s both}#end-screen:not([hidden]) .run-report{animation:result-arrive .85s .2s both}#end-screen[data-outcome="victory"] .end-rig{background:radial-gradient(ellipse,#ffe09777,transparent 65%)}.report-subtitle,.report-heading>p{line-height:1.8!important;word-break:keep-all!important;white-space:normal!important;display:block!important}.report-subtitle>*{margin-right:.4em}@keyframes result-arrive{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:680px){.end-rig canvas{max-height:112px}.end-highlights{justify-content:center}.departure>small{font-size:11px}.departure>span{font-size:7px;letter-spacing:2px}}
@media(max-height:550px){.end-rig canvas{max-height:70px}.end-rig>span{font-size:7px;padding:0}.end-highlights{margin:5px 0;gap:3px}.end-highlights>span{font-size:7px;padding:3px}.departure{top:40%;padding:12px}}
@media(prefers-reduced-motion:reduce){.departure.departing,#end-screen .result-summary,#end-screen .run-report{animation:none!important}}.calm-motion .departure.departing,.calm-motion #end-screen .result-summary,.calm-motion #end-screen .run-report{animation:none!important}

.report-endless{display:grid;gap:5px;padding:11px 12px;margin:10px 0;border:1px solid #c7cbdd;border-radius:9px;background:#ebeaf4;color:#565e78;word-break:keep-all}.report-endless strong{display:block;font-size:12px;line-height:1.6}.report-endless span{display:block;font-size:11px;line-height:1.6}
