/* Craft controls stay contextual; permanent progression has a persistent HUD entry. */
.hammer-timing-gauge{position:absolute;left:95px;top:-27px;width:410px;height:8px;border-radius:4px;background:#0a1713cc;pointer-events:none;--hammer-tone:#f1d48c}.hammer-target,.hammer-center{position:absolute;top:0;height:8px;background:#d3c38a55;left:40%;width:20%}.hammer-center{left:47%;width:6%;background:#eddfb088}.hammer-needle,.hammer-last-marker{position:absolute;top:-7px;width:3px;height:22px;transform:translateX(-50%);background:#ffe3a7;box-shadow:0 0 7px #e0c58733}.hammer-last-marker{width:1px;height:14px;top:-3px;background:#b8a470;opacity:.65}.hammer-timing-gauge.locked .hammer-needle{width:4px;background:var(--hammer-tone);box-shadow:0 0 12px #e0c58777}.hammer-timing-gauge.locked .hammer-needle:before{content:"";position:absolute;width:8px;height:8px;top:-5px;left:-2px;background:var(--hammer-tone);transform:rotate(45deg)}
.hammer-result{height:61px;display:flex;align-items:center;gap:19px;--hammer-tone:#f1d48c}.hammer-result>span{font:14px var(--body);color:#c9c7ac}.hammer-result>strong{min-width:152px;text-align:right;font:44px/60px var(--heading);font-weight:400;color:var(--hammer-tone);font-variant-numeric:tabular-nums}.hammer-result b{font-weight:400}.hammer-result small{font-size:18px;margin-left:5px}.hammer-history{position:absolute;left:20px;right:20px;top:76px;height:25px;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.hammer-hit{display:flex;align-items:center;justify-content:center;gap:9px;border-top:1px solid #a99b6b33;color:#85947e;--hammer-tone:#f1d48c;font-variant-numeric:tabular-nums}.hammer-hit>small{font-size:11px;opacity:.65}.hammer-hit>b{font:16px/24px var(--heading);font-weight:400}.hammer-hit.done{color:var(--hammer-tone)}.hammer-hit.latest{border-top-color:var(--hammer-tone)}[data-band=steady]{--hammer-tone:#bdd0a5}[data-band=rough]{--hammer-tone:#e1aa90}
.settings-row select{width:230px;height:38px;padding:0 12px;border:1px solid #b6a17877;border-radius:1px;background:#17261e;color:#ede2c3;font:14px var(--body)}
html:lang(en) .title-menu h1{font-size:72px}html:lang(ja) .title-menu h1{font-size:55px}html:lang(zh-CN) .title-menu h1,html:lang(zh-TW) .title-menu h1{font-size:76px}
html:not(:lang(ko)) .pause-nav-button{font-size:18px}html:not(:lang(ko)) .skill-node>strong{font-size:14px}html:not(:lang(ko)) .skill-inspector h3{font-size:22px}html:not(:lang(ko)) .skill-inspector p{font-size:13px;line-height:20px}html:not(:lang(ko)) .equipment-detail h3{font-size:22px;line-height:28px}
/* Coupon entry uses the same fixed dialog frame as the other settings tools. */
.coupon-content{width:620px;height:330px;margin:0 auto;padding:58px 28px 20px;text-align:center}.coupon-content>label{display:block;height:42px;font:24px/42px var(--heading);color:#eadbb9}.coupon-content>input{display:block;width:100%;height:58px;margin-top:18px;padding:0 18px;border:1px solid #b9a36a88;background:#0b1913b8;color:#f2dfae;font:24px/58px var(--body);text-align:center;letter-spacing:1px;border-radius:1px}.coupon-content>input:focus{outline:1px solid #e1c68e;border-color:#e1c68e}.coupon-content>input[aria-invalid=true]{border-color:#d59b80}.coupon-content>p{margin-top:24px;font-size:14px;line-height:24px;color:#b6c2a3}.coupon-received{padding-top:25px}.coupon-received>.item-icon{width:110px;height:110px;display:block;margin:0 auto 18px}.coupon-received>h3{font:32px/44px var(--heading);font-weight:400;color:#ecd19a}.coupon-received>p{margin-top:18px}
:root{--panel:#232921;--panel-deep:#111b18;--line:#ab96705c;--cream:#f2e8cb;--muted:#b6bea7;--gold:#e8ca8e}.step-heading.hammer-heading{left:170px;width:400px}.equipment-condition{height:65px;margin-top:12px;--condition-color:#a8c38e}.condition-heading{height:23px;display:flex;align-items:center;justify-content:space-between;color:#c7cdb6;font-size:14px}.condition-heading>strong{font:23px/23px var(--heading);font-weight:400;color:var(--condition-color)}.condition-heading small{font-size:15px;color:#9fae97}.condition-bar{height:12px;margin-top:5px;border:1px solid #8c9c705e;background:#07120f;box-shadow:inset 0 1px 3px #0008}.condition-bar>i{display:block;height:100%;background:linear-gradient(90deg,#687a50,var(--condition-color));box-shadow:0 0 7px #b1c99422}.condition-state{height:19px;margin-top:5px;font-size:12px;line-height:19px;color:var(--condition-color)}.equipment-condition.broken{--condition-color:#e7a188}.equipment-condition.broken .condition-bar{border-color:#c17d6088;background:#472b245c}.equipment-condition.spent{--condition-color:#cfb57c}.equipment-detail .equipment-stats{height:94px;grid-template-rows:42px 42px;margin-top:12px}.equipment-detail .equipment-actions{margin-top:14px}.equipment-stats strong.unavailable{font-size:21px;color:#d7a98b}
.game-shell:after{display:none}.scene:after{z-index:1;background:linear-gradient(#111d1633,transparent 22%,transparent 59%,#07100de8);box-shadow:inset 0 0 100px #030c0866}
.topbar{background:none;height:78px}.brand,.navigation,.top-resources,.statusbar,.orders-panel,.journey-panel,.scene-top,.work-hint,.forge-preview-label,.caravan-queue,.caravan-status,.customer-arrival{display:none!important}
#settings-button{left:1216px;top:22px;width:42px;height:42px;border:1px solid #cab78455;background:#101d16b8;box-shadow:none;border-radius:50%}#settings-button svg{width:21px;height:21px;color:#e9dec1}
.expedition-bar{left:550px;top:22px;width:180px;height:36px;display:grid;place-items:center}.stage-chip{font:22px/36px var(--heading);color:#eee0ba;text-shadow:0 2px 5px #07110c}
.toast-stack{left:24px;top:24px;right:auto;bottom:auto;width:370px;height:130px;justify-content:flex-start;gap:8px}.toast{height:52px;padding:12px 15px;font-size:14px;line-height:25px;border:0;border-left:3px solid #d4bc83;background:linear-gradient(90deg,#101e17f2,#14251fe3 85%,transparent);box-shadow:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.toast.error{border-left-color:#df9a83}
.toast{height:56px;padding:8px 14px;line-height:20px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex-shrink:0}
.is-front .expedition-bar{display:none}.has-game-menu .subtle-button{text-decoration:none}#enemy-value{display:none}
.primary-button{height:48px;min-height:48px;min-width:190px;font-size:22px;border:1px solid #ebce95;border-radius:1px;background:linear-gradient(#eed8ab,#cfaf76);color:#342c1c;box-shadow:inset 0 1px #fff6,inset 0 -2px #7f633e55,0 3px #58442b,0 5px 10px #0005}.secondary-button{height:48px;min-height:48px;font-size:17px;border-color:#b6a17877;border-radius:1px;background:linear-gradient(#3a4131ee,#1d2b20ee);box-shadow:inset 0 1px #d5c79822,0 3px 8px #0004;color:#ede2c3}
.subtle-button{font-size:13px;height:30px}
.customer-bubble{top:202px;height:252px;box-shadow:inset 0 0 0 3px #fff4,0 8px 20px #07140d88}.customer-bubble-heading h2{font-size:27px}.customer-line{font-size:14px;line-height:21px;height:42px}.customer-request{height:48px;margin-top:4px}.customer-request small{display:none}.customer-request strong{height:34px;font:26px/34px var(--heading)}.customer-request>.item-icon{height:47px;width:47px}.customer-actions{height:83px;margin-top:10px;gap:9px}.customer-actions>.primary-button{height:42px;min-height:42px;font-size:21px}.customer-actions>.secondary-button{height:31px;min-height:31px;font-size:12px}.customer-actions>small{display:none}.customer-bubble-heading>span{font-size:11px}
.order-bubble{left:916px;top:142px;width:280px;height:210px;padding:15px 17px}.order-bubble .customer-bubble-heading{justify-content:center}.order-bubble .customer-request{height:78px;justify-content:center;margin-top:7px}.order-bubble .customer-request>.item-icon{width:70px;height:70px}.order-bubble .customer-actions{height:46px;margin-top:10px}.order-bubble .customer-actions>.primary-button{height:46px;min-height:46px;font-size:24px}.recovery-shortcut{position:absolute;left:35px;top:638px;width:183px;height:49px;display:flex;align-items:center;gap:10px;padding:0 10px;border:1px solid #bca57866;background:linear-gradient(#303d2bd9,#132319ed);color:#eadbb8;pointer-events:auto;font:18px var(--heading);box-shadow:0 3px 8px #06140d66}.recovery-shortcut>.item-icon{width:31px;height:31px}.recovery-shortcut>b{margin-left:auto;font-size:17px;color:#e6c386}.departure-controls{position:absolute;left:335px;top:648px;width:610px;height:54px;display:flex;align-items:center;justify-content:center;gap:19px;pointer-events:auto}.departure-controls>.primary-button{width:360px;height:54px;font-size:25px}.departure-controls>.subtle-button{position:absolute;right:-238px;top:8px;width:170px;color:#e1d1a7;text-decoration:none;font-size:13px}
.work-controls,.is-crafting .work-controls{left:280px;top:538px;width:720px;height:164px;padding:12px 20px;display:block;border:0;clip-path:none;background:none;box-shadow:none}.work-controls .controls-bottom.single-action>.forge-start{width:360px;height:54px;min-height:54px;font-size:25px}.heat-gauge{position:absolute;left:20px;top:76px;width:680px;height:17px;z-index:1;border:1px solid #bdab7d;background:#07120fee;box-shadow:0 2px 7px #020b08,inset 0 1px #000b}.heat-fill{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#653d27,#f2a44e);opacity:.86}.heat-target{position:absolute;top:-3px;height:21px;border:1px solid #d5e7a5;background:#8db05a88;box-shadow:0 0 10px #c6dc7c44}.heat-target>small{position:absolute;top:20px;left:50%;width:50px;transform:translateX(-50%);font:11px/14px var(--body);color:#d3e4ae;text-align:center;text-shadow:0 1px 3px #000}.heat-marker{position:absolute;top:-5px;height:25px;width:3px;transform:translateX(-50%);background:#fff4cd;box-shadow:0 0 5px #fff0b6}.heat-gauge[data-band=target]{border-color:#e1efad;box-shadow:0 0 9px #b7d37588}.heat-gauge[data-band=hot] .heat-fill{background:linear-gradient(90deg,#87472a,#e87949)}
.controls-heading{height:27px}.controls-heading h3{font:23px/27px var(--heading)}.recipe-picker{display:none}.order-return{height:27px;font-size:13px;border:0;text-decoration:none;color:#e4d3a8}.material-options{position:absolute;left:20px;right:20px;top:43px;height:58px;gap:10px}.material-card{height:58px;border-color:#a79b6d88;background:linear-gradient(#243323c9,#102016e8);box-shadow:none;padding:5px 9px;gap:10px}.material-card.selected{background:linear-gradient(#725c32ce,#382e1fe8);border-color:#ebce95;box-shadow:inset 0 0 12px #d4b97822}.material-card strong{font:19px/23px var(--heading);height:23px}.material-card small{font-size:12px;line-height:17px;height:17px}.material-card .item-icon{height:43px;width:43px}.empty-label{display:none}
.controls-bottom{position:absolute;left:20px;right:20px;top:110px;height:48px;gap:20px;justify-content:space-between}.controls-bottom>.material-description{display:none}.controls-bottom>.primary-button:only-of-type:not(.hold-button){margin-left:auto}.controls-bottom>.primary-button{min-width:236px}.controls-bottom>.secondary-button{min-width:225px}.controls-bottom.single-action{justify-content:center}.controls-bottom.single-action>.primary-button{margin:0!important;width:290px}.hold-button{height:48px;width:290px}.controls-bottom>.hold-button{margin:0}.hold-control{position:absolute;left:20px;right:20px;top:10px;height:61px;display:flex;align-items:center;justify-content:space-between}.hold-copy h3{font:20px/28px var(--heading);color:#ded2b3}.hold-copy p{display:none}.live-reading{height:60px;font:44px/60px var(--heading);color:#f0d391}.live-reading small{font-size:15px}.work-progress{width:180px;gap:8px}.work-progress i{height:8px;width:29px}#assembly-slider{position:absolute;left:20px;top:84px;width:680px!important;height:14px}#assembly-feedback{font-size:23px!important;width:160px;text-align:right}
.step-heading{left:330px;top:124px;width:820px;height:79px}.step-heading h2{font:37px/45px var(--heading);height:45px}.step-heading p{font-size:16px;height:24px;line-height:24px;color:#e0d6b9;text-shadow:0 2px 5px #08140c}.step-eyebrow{display:none}.station-tabs,.is-crafting .station-tabs{left:563px;top:82px;width:154px;height:18px;border:0;background:none;padding:0;gap:15px}.station{position:relative;flex:1;height:10px;margin:0;padding:0;overflow:hidden;color:transparent;font-size:0;border:0;background:none}.station>*{display:none}.station:after{content:'';position:absolute;left:7px;top:2px;width:7px;height:7px;transform:rotate(45deg);border:1px solid #adac7c88;background:#101d1677}.station.active:after{background:#efcf8e;border-color:#f0d8a5;box-shadow:0 0 8px #e3bc6b77}.station.done:after{background:#a2b48b}
.is-battling .work-controls{left:280px;top:608px;width:720px;height:94px;display:block;padding:0;background:none;border:0;box-shadow:none}.battle-info-line{position:absolute;right:-240px;top:40px;height:35px;display:flex;gap:10px}.battle-info-line .pause-button{height:35px;padding:0 12px;font-size:14px;border-color:#ac9d7277;background:#102018d9}.battle-team-row{position:absolute;left:50px;top:16px;width:620px;height:60px;gap:22px}.hero-health{height:60px;border:0;background:linear-gradient(90deg,#112018c4,transparent);padding:5px 9px;gap:8px}.hero-health img{height:49px;width:40px}.hero-health strong{font:17px/22px var(--heading);height:22px}.hero-health .hp-bar{height:7px}.hero-health small{display:none}.hero-health:hover small,.hero-health:focus-within small{display:block;font-size:11px;line-height:14px;height:14px}.is-battling .work-controls>.material-description{display:none}.battle-hud{left:435px;top:88px;width:410px;height:57px;gap:12px;align-items:center;justify-content:center}.battle-counter{height:32px;font-size:14px;padding:0 12px;border:0;background:#102219b3}.battle-counter i{display:none}.battle-enemy{width:295px;height:57px;padding:7px 12px;border:0;background:linear-gradient(#101e17c4,#101e1777);box-shadow:none}.battle-enemy p{height:26px;font:20px/26px var(--heading)}.battle-enemy .hp-bar{height:6px}
.modal-backdrop{background:#08110de3;backdrop-filter:blur(7px)}.modal,.modal.wide{background:linear-gradient(130deg,#34382bee,#19251efc 62%,#111b17);border-color:#a38d62aa;box-shadow:inset 0 0 0 5px #d0bd7f0a,inset 0 1px #e4d4a42b,0 16px 80px #000b}.modal-header{background:none;border-bottom-color:#a99c6344}.modal-header h2{font-size:34px;color:#f2dfb0}.modal-close{background:transparent;border-color:#b5a77955}.modal-content{font-size:14px;line-height:22px}.modal-footer{background:#0a170f33;border-top-color:#a99c6344}.modal-actions>.primary-button,.modal-actions>.secondary-button{font-size:19px}
.has-game-menu .modal-header h2{left:244px;top:25px;width:565px;text-align:left;height:47px;font:35px/47px var(--heading)}.has-game-menu .modal-content{left:244px;top:106px;width:724px;height:367px;padding:0;overflow-y:auto}.has-game-menu .modal-footer{grid-template-rows:54px;align-content:center}.has-game-menu .base-reward{display:none}.menu-currency{position:absolute;right:65px;top:25px;height:45px;display:flex;align-items:center;gap:9px;font:25px/45px var(--heading);color:#eacb8e}.menu-currency .item-icon{height:31px;width:31px}.menu-currency .coin-icon{display:inline-block;width:23px;height:23px}
.pause-navigation{position:absolute;left:25px;top:106px;width:192px;height:367px;display:grid;grid-template-rows:repeat(7,42px);align-content:start;gap:4px;border-right:1px solid #a79d6944;padding-right:15px}.pause-nav-button{height:42px;width:176px;padding:0 15px;text-align:left;font:21px/42px var(--heading);color:#aeb89e;border-left:2px solid transparent;white-space:nowrap}.pause-nav-button.selected{color:#f4d8a1;border-color:#e2c082;background:linear-gradient(90deg,#bca05e26,transparent)}.pause-nav-button:hover{color:#f1e3c2;background:#d7c8960a}
.native-menu-page{height:367px;width:100%;font-size:14px}.pause-home{height:367px;position:relative;text-align:center}.pause-home>img{height:235px;width:205px;object-fit:contain;position:absolute;left:260px;top:-10px;filter:drop-shadow(0 9px 10px #06110a99)}.pause-home>strong{position:absolute;left:130px;top:233px;width:460px;height:55px;font:45px/55px var(--heading);font-weight:400;color:#ead1a0}.pause-home-actions{position:absolute;left:160px;top:305px;width:405px;height:44px;display:flex;justify-content:center;align-items:center;gap:25px}.pause-home-actions .secondary-button{height:40px;min-height:40px;font-size:17px;width:175px}.pause-home-actions .subtle-button{font-size:14px}
.native-inventory{height:367px;display:grid;grid-template-columns:250px 1fr;gap:18px}.equipment-list{height:357px;overflow-y:auto;overflow-x:hidden;padding-right:12px;scrollbar-width:thin;scrollbar-color:#a08d5c77 transparent}.equipment-list>h3{font:19px/27px var(--heading);height:27px;margin-bottom:7px;color:#d7c89f;font-weight:400}.equipment-list>h3:not(:first-child){margin-top:15px}.equipment-list>h3 small{font-size:13px;float:right;color:#a7b599}.equipment-slot{position:relative;display:flex;width:100%;height:64px;align-items:center;gap:10px;padding:4px 10px;margin-bottom:6px;border:1px solid #81926655;background:#18291d66;text-align:left}.equipment-slot.selected{border-color:#d0b477;background:#baa05c1a}.equipment-slot>.item-icon,.equipment-slot>img{width:45px;height:50px;object-fit:contain}.equipment-slot>span{flex:1;min-width:0}.equipment-slot strong{display:block;font:19px/24px var(--heading);font-weight:400;color:#e5d7b1}.equipment-slot small{font-size:13px;line-height:20px;color:#aab89b}.slot-durability{position:absolute;left:67px;bottom:7px;width:140px;height:3px;background:#091710}.slot-durability>b{display:block;height:3px;background:#b7c597}.slot-durability.low>b{background:#c78365}.recovered-slots{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:52px;gap:6px}.item-slot{height:52px;display:grid;place-items:center;border:1px solid #81926655;background:#0b1a1266}.item-slot.selected{border-color:#dfc289;background:#b79a5322}.item-slot.empty{background:#0b1a1233;border-color:#8192662a}.item-slot>.item-icon{height:42px;width:42px}
.equipment-detail{height:367px;position:relative;padding:8px 16px;border-left:1px solid #8c996033}.equipment-art{position:absolute;left:18px;top:4px;width:88px;height:96px;display:grid;place-items:center;background:radial-gradient(#ccb6751b,transparent 70%)}.equipment-art>.item-icon{height:85px;width:85px}.equipment-owner{display:block;height:20px;line-height:20px;margin-left:111px;font-size:12px;color:#b5c19e}.equipment-detail h3{height:65px;margin-left:111px;font:25px/29px var(--heading);font-weight:400;overflow:hidden}.equipment-stats{height:112px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:51px 51px;gap:10px 18px;margin-top:23px}.equipment-stats>span{font-size:12px;color:#abb99a;border-bottom:1px solid #8c996033}.equipment-stats strong{display:block;font:27px/32px var(--heading);font-weight:400;color:#e3d3a6}.equipment-stats strong.danger{color:#df9d80}.equipment-actions{display:flex;gap:11px;margin-top:16px;height:39px}.equipment-actions>.secondary-button{height:38px;min-height:38px;min-width:0;padding:0 12px;flex:1;font-size:14px}.equip-targets{height:50px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.equip-targets>button{display:flex;align-items:center;justify-content:center;gap:5px;height:45px;border:1px solid #89966855;background:#10201766;font-size:12px}.equip-targets img{width:24px;height:35px;object-fit:contain}
.native-skills{height:367px;display:grid;grid-template-columns:462px 1fr;gap:16px}.skill-constellations{display:grid;grid-template-columns:repeat(3,146px);gap:12px;height:367px}.skill-constellation>h3{height:27px;font:20px/27px var(--heading);font-weight:400;text-align:center;color:#c2b889}.skill-constellation>div{height:332px;position:relative}.skill-constellation>div:before{content:'';position:absolute;left:72px;top:25px;height:241px;width:1px;background:linear-gradient(#a8a46c33,#a8a46c88,#a8a46c33)}.skill-node{height:108px;width:146px;position:relative;display:block;padding:3px 0 0}.skill-node>span{position:relative;display:grid;place-items:center;width:62px;height:62px;margin:auto;border:1px solid #a0a16a88;border-radius:50%;background:radial-gradient(#425035,#15271bec 70%);box-shadow:0 3px 8px #07150b77}.skill-node.selected>span{border-color:#f0d29a;box-shadow:0 0 0 3px #b99c4c22,0 0 16px #bda35e33}.skill-node.learned>span{background:radial-gradient(#72663c,#22331ddd 75%)}.skill-node .item-icon{height:45px;width:45px}.skill-node i{position:absolute;right:-4px;bottom:-3px;min-width:23px;height:23px;line-height:21px;background:#293b25;border:1px solid #aa9f6866;border-radius:50%;font-style:normal;font-size:13px;color:#e8d19b}.skill-node>strong{position:relative;display:block;height:26px;font:16px/26px var(--heading);font-weight:400;white-space:nowrap;color:#c8cfb5}.skill-node.selected>strong{color:#f0d6a0}.skill-inspector{position:relative;height:357px;padding:7px 10px 62px;border-left:1px solid #8c996044}.skill-inspector>.item-icon{width:61px;height:61px;display:block;margin-bottom:10px}.skill-inspector h3{font:25px/30px var(--heading);font-weight:400;color:#eddbad}.skill-level{display:block;font-size:13px;line-height:23px;color:#b2c29f;margin:3px 0 13px}.skill-inspector p{font-size:14px;line-height:22px;color:#c0cbb0}.skill-inspector p.skill-effect{font-size:13px;line-height:21px;color:#dfc58c;margin-top:15px}.skill-inspector>.primary-button{position:absolute;bottom:7px;left:10px;right:0;width:calc(100% - 10px);min-width:0;font-size:16px;height:44px;min-height:44px}.skill-inspector>.primary-button .item-icon{width:25px;height:25px}
.native-records{height:367px;display:grid;grid-template-columns:324px 1fr;gap:18px}.record-list{height:357px;overflow-y:auto;padding-right:12px;scrollbar-width:thin;scrollbar-color:#a08d5c77 transparent}.record-row{width:100%;height:54px;display:flex;align-items:center;gap:11px;text-align:left;padding:6px 10px;border-bottom:1px solid #81926644;border-left:2px solid transparent}.record-row.selected{background:linear-gradient(90deg,#aa945c22,transparent);border-left-color:#dcc18c}.record-row>.item-icon{height:33px;width:33px}.record-row>strong{font:18px/23px var(--heading);font-weight:400;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d9d5b6}.record-row>span{font-size:12px;color:#c8b67e;white-space:nowrap}.contract-list .record-row{height:88px}.contract-list .record-row>strong{font-size:18px;white-space:normal}.record-inspector{position:relative;height:357px;padding:7px 18px 58px;border-left:1px solid #8c996044}.record-inspector>.item-icon{height:58px;width:58px;display:block;margin-bottom:13px}.record-inspector>h3{height:59px;font:27px/30px var(--heading);font-weight:400;color:#ead5a4}.record-inspector>p{height:45px;font-size:14px;line-height:22px;color:#b5c3a5}.record-count{display:block;height:37px;font:28px/37px var(--heading);font-weight:400;color:#ead5a4}.record-count small{font:16px var(--body);color:#9caf91}.native-progress{height:7px;background:#091810;overflow:hidden}.native-progress>i{display:block;height:100%;background:linear-gradient(90deg,#97ad7d,#d0bd80)}.record-reward{display:flex;height:39px;align-items:center;gap:8px;font-size:15px;color:#d9c18c;margin-top:8px}.record-reward>.item-icon{width:27px;height:27px}.record-inspector>.primary-button{position:absolute;left:18px;right:0;bottom:7px;width:calc(100% - 18px);min-width:0;font-size:19px;height:44px;min-height:44px}
.native-rankings{min-height:367px}.ranking-caption{display:flex;align-items:center;justify-content:space-between;height:40px;color:#c9ceaf;font-size:15px}.ranking-table th{font-size:14px;height:38px}.ranking-table td{font-size:16px;height:46px}.ranking-table td:first-child{font-size:24px}.ranking-table td:last-child{font-size:24px}.rank-empty,.menu-empty{font-size:16px;line-height:26px;min-height:235px;display:flex;align-items:center;justify-content:center;color:#bec9ad;text-align:center}
.has-game-menu .settings-row{height:64px;font-size:16px;padding:8px 9px;gap:12px}.has-game-menu .settings-row small{font-size:12px;line-height:18px;height:18px;max-width:350px;overflow:hidden;text-overflow:ellipsis}.has-game-menu .settings-row>.secondary-button{height:36px;min-height:36px;font-size:14px;width:116px}.has-game-menu .settings-row input{width:190px}.has-game-menu .save-description{display:none}.has-game-menu .help-steps{grid-template-rows:148px 148px;gap:14px}.has-game-menu .help-step{height:148px;padding:13px 15px}.has-game-menu .help-step h3{font-size:22px}.has-game-menu .help-step p{font-size:13px;line-height:19px}.has-game-menu .modal-intro{display:none}
input[type=range]{appearance:none;background:transparent;outline:none}input[type=range]::-webkit-slider-runnable-track{height:5px;background:#776b4788;border:1px solid #c3ab7355}input[type=range]::-webkit-slider-thumb{appearance:none;width:19px;height:19px;margin-top:-8px;border-radius:50%;background:#e3c28c;border:2px solid #8d744a;box-shadow:0 1px 4px #0006}
.reward-card h3{font-size:26px}.reward-card p{font-size:14px;line-height:21px;height:46px}.reward-card>.secondary-button{font-size:16px}.reward-rarity{font-size:12px}.modal[data-kind=reward] .modal-intro{font-size:15px;line-height:22px}.modal[data-kind=reward] .base-reward{font-size:12px;line-height:18px}
.modal[data-kind=reward] .modal-content{top:112px;height:434px}.modal[data-kind=reward] .modal-intro{height:26px;line-height:26px;margin-bottom:16px}.modal[data-kind=reward] .reward-cards{height:350px;gap:20px}.modal[data-kind=reward] .reward-card{height:350px;padding:24px 15px 68px}.modal[data-kind=reward] .reward-card>.item-icon{height:96px;width:96px;margin:15px 0 18px}.modal[data-kind=reward] .reward-card h3{height:36px;line-height:36px}.modal[data-kind=reward] .reward-card p{height:65px}.modal[data-kind=reward] .reward-card>.secondary-button{height:44px;min-height:44px;width:168px;left:calc(50% - 84px);bottom:18px;font-size:18px}.modal[data-kind=reward] .modal-footer{top:560px;height:38px;display:block;padding:0 25px;border:0;background:none}.modal[data-kind=reward] .modal-footer>.modal-actions{display:none}.modal[data-kind=reward] .base-reward{height:28px;line-height:28px}

/* Only earned, unclaimed rewards draw attention; the list and dialog keep their fixed size. */
.record-row.reward-ready{position:relative;background:linear-gradient(90deg,#caa15d16,#caa15d04)}
.record-row.reward-ready.selected{background:linear-gradient(90deg,#d3ae6b2e,#caa15d08)}
.record-row.reward-ready>span{color:#efd28d}
.record-row.claimed>strong,.record-row.claimed>span{color:#94a08a}
.record-row.claimed>.item-icon{opacity:.6}
.record-row.reward-ready::after,.achievement-card.unlocked::after{
  content:'';position:absolute;inset:2px;border:1px solid #efcb83;border-radius:3px;
  box-shadow:inset 0 0 6px #e6c47822,0 0 7px #e6c47855;pointer-events:none;
  animation:achievement-reward-glow 1.8s ease-in-out infinite;
}
@keyframes achievement-reward-glow{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes achievement-reward-glow-soft{0%,100%{opacity:.6}50%{opacity:1}}
.reduced-motion .record-row.reward-ready::after,.reduced-motion .achievement-card.unlocked::after{animation-name:achievement-reward-glow-soft;animation-duration:2.8s}
@media(prefers-reduced-motion:reduce){.record-row.reward-ready::after,.achievement-card.unlocked::after{animation-name:achievement-reward-glow-soft;animation-duration:2.8s}}

/* A completed commission waits here until the player explicitly hands it over. */
.delivery-result{position:absolute;left:400px;top:112px;width:570px;height:492px;padding:22px 28px;color:#e9dfc0;border:1px solid #b9a276;background:radial-gradient(ellipse at 75% 0%,#b1944a1f,transparent 65%),linear-gradient(135deg,#283126f5,#101b16fc 72%);box-shadow:inset 0 0 0 4px #b9a27612,inset 0 1px #e0cc9d55,0 14px 40px #020b09b3;pointer-events:auto}
.delivery-result:after{content:'';position:absolute;right:-12px;bottom:78px;width:22px;height:22px;transform:rotate(-45deg);border-right:1px solid #b9a276;border-bottom:1px solid #b9a276;background:#142018}
.delivery-heading{height:26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b8a47738;padding-bottom:6px}.delivery-heading h2{font:25px/26px var(--heading);font-weight:400;color:#e9d5a4}.delivery-heading>span{font-size:13px;color:#bfc4a9}
.delivery-identity{position:absolute;left:28px;right:28px;top:60px;height:76px;display:flex;align-items:center;gap:14px}.delivery-identity>.item-icon{height:72px;width:72px;filter:drop-shadow(0 3px 5px #0009)}.delivery-identity h3{flex:1;min-width:0;font:25px/30px var(--heading);font-weight:400;color:#ede0bc;overflow:hidden;max-height:64px;word-break:keep-all}.delivery-identity>.weapon-grade{flex:none}
.weapon-grade{position:relative;width:82px;height:74px;display:grid;place-items:center;clip-path:polygon(8% 0,92% 0,100% 12%,100% 77%,50% 100%,0 77%,0 12%);background:linear-gradient(125deg,#d4c39e33,#080d0cbb 55%),var(--grade-color);box-shadow:inset 0 0 0 3px #d6c29155;color:var(--grade-color);isolation:isolate}.weapon-grade:before{content:'';position:absolute;inset:3px;background:linear-gradient(155deg,#3f4437,#162219 60%,#0d1712);clip-path:inherit;z-index:-1}.weapon-grade b{font:37px/50px var(--heading);font-weight:400;transform:translateY(-3px);text-shadow:0 2px 3px #000b}.weapon-grade[data-grade=SSS] b{color:#fff1b6;text-shadow:0 0 13px #f1c65099,0 2px 3px #000b}.weapon-grade[data-grade=SSS]:before{background:linear-gradient(155deg,#796237,#382b14 60%,#182216)}.weapon-grade:is([data-grade=D],[data-grade=E]){filter:saturate(.4);opacity:.8}.compact-grade{width:47px;height:38px}.compact-grade b{font-size:18px;line-height:26px;transform:translateY(-2px)}.compact-grade:before{inset:2px}.equipment-art>.compact-grade{position:absolute;right:-6px;bottom:-4px}
.weapon-performance{--performance-color:#f4d977}.delivery-result>.weapon-performance{position:absolute;top:151px;left:28px;right:28px;height:102px}.performance-heading{display:flex;height:46px;align-items:center;justify-content:space-between}.performance-heading>span{font-size:15px;color:#cbd0b6}.performance-heading>strong{font:45px/46px var(--heading);font-weight:400;letter-spacing:-1px;color:var(--performance-color);text-shadow:0 2px 4px #000a}.performance-heading small{font-size:23px;margin-left:4px}.over-performance{--performance-color:#bded91}.over-performance .performance-heading>strong{text-shadow:0 0 14px #89ca6c35,0 2px 4px #000a}.performance-track{position:relative;height:15px;margin-top:9px;background:#040c09;border:1px solid #b4a06c66;box-shadow:inset 0 2px 4px #0008;isolation:isolate}.performance-track>i{position:absolute;top:1px;bottom:1px;display:block;min-width:0}.performance-base{left:0;background:linear-gradient(#f2dc87,#cba342);box-shadow:0 0 7px #dbb94744}.performance-over{background:repeating-linear-gradient(115deg,transparent 0 8px,#ebffce17 8px 11px),linear-gradient(#c7f39a,#75b856);box-shadow:0 0 12px #94e96d66}.performance-reference{position:absolute;top:-3px;bottom:-4px;width:2px;background:#fff1ba;box-shadow:0 0 4px #0009;z-index:2}.performance-scale{position:relative;height:17px;margin-top:4px;display:flex;justify-content:space-between;font-size:10px;line-height:17px;color:#9da98f}.performance-reference-label{position:absolute;transform:translateX(-50%);color:#dfcf94}.over-performance .performance-scale>span:last-child{color:#c4e8a2}.performance-caption{height:15px;font-size:10px;line-height:15px;color:#98a58d;text-align:center}
.delivery-stats{position:absolute;top:267px;left:28px;right:28px;height:50px;display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:16px}.delivery-stats>span{font-size:12px;color:#b2bda2;border-bottom:1px solid #9eab7b33}.delivery-stats strong{display:block;font:28px/32px var(--heading);font-weight:400;color:#e7d7ac}.delivery-stats small{font-size:16px;margin-left:2px}.delivery-grade-note{position:absolute;top:323px;left:28px;right:28px;height:20px;font-size:12px;line-height:20px;color:#c9bf96}.delivery-result[data-grade=SSS] .delivery-grade-note{color:#f0d48a}.delivery-stations{position:absolute;top:352px;left:28px;right:28px;height:46px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid #a9b38433;padding-top:7px}.delivery-stations>span{text-align:center}.delivery-stations small{display:block;color:#9fad93;font-size:11px;line-height:15px}.delivery-stations b{font:20px/25px var(--heading);font-weight:400;color:#c6cdb3}.delivery-result>.primary-button{position:absolute;left:28px;right:28px;top:418px;width:calc(100% - 56px);height:48px;font-size:24px;gap:18px}.delivery-result[data-grade=SSS]{border-color:#e8cb81;box-shadow:inset 0 0 0 4px #d8b86a1b,inset 0 1px #f8e6a977,0 0 30px #d4af5e19,0 14px 40px #020b09b3}.equipment-stats strong.over-performance-value{color:#bde698}
html:not(:lang(ko)) .delivery-identity h3{font-size:23px;line-height:28px}html:not(:lang(ko)) .delivery-grade-note{font-size:11px}html:lang(en) .performance-caption{font-size:9px}html:lang(en) .delivery-stats>span{font-size:11px}
.weapon-grade:is([data-grade=C],[data-grade=D],[data-grade=E]):before{background:repeating-linear-gradient(122deg,#c6bea912 0 1px,transparent 1px 17px),linear-gradient(#353b2e,#172019)}.delivery-result:is([data-grade=C],[data-grade=D],[data-grade=E]){border-color:#8b927b}.delivery-result:is([data-grade=D],[data-grade=E]) .delivery-identity>.item-icon{filter:saturate(.5) brightness(.85) drop-shadow(0 3px 5px #0009)}

/* The core progression entry and title return keep fixed game-space coordinates. */
.skills-shortcut{position:absolute;left:1000px;top:18px;width:200px;height:56px;display:flex;align-items:center;gap:12px;padding:7px 14px;border:1px solid #bcab775c;background:linear-gradient(145deg,#354130ed,#15251def);box-shadow:inset 0 1px #d6ca9433,0 3px 9px #030c0877;color:#dbd7b7;text-align:left;isolation:isolate}.skills-shortcut-symbol{display:grid;place-items:center;width:37px;height:37px;border:1px solid #ab9c6655;background:#0a19134d;transform:rotate(45deg);flex:none}.skills-shortcut-symbol>svg{width:28px;height:28px;transform:rotate(-45deg);color:#d3c493}.skills-shortcut-copy{display:block;flex:1;min-width:0}.skills-shortcut-copy>strong{display:block;font:21px/24px var(--heading);font-weight:400;white-space:nowrap}.skills-shortcut-copy>small{height:19px;display:flex;align-items:center;gap:5px;font:15px/19px var(--heading);color:#c5bd99}.skills-shortcut-copy .item-icon{width:18px;height:18px}.skills-shortcut.research-available{border-color:#e7c45c;background:linear-gradient(145deg,#625335e8,#273323f5);box-shadow:inset 0 1px #ffe5a755,0 0 16px #dfb34530,0 3px 9px #030c0877}.skills-shortcut.research-available .skills-shortcut-copy>strong{color:#ffe397}.skills-shortcut.research-available .skills-shortcut-symbol{border-color:#d9ba6099}.skills-shortcut-notice,.skill-menu-notice,.skill-ready{display:grid;place-items:center;background:#ffd35d;color:#49391c;border:1px solid #fff1a4;box-shadow:0 0 9px #e7bf5266,0 2px 3px #07130d88;border-radius:50%;font:19px/22px var(--heading);font-weight:400;font-style:normal}.skills-shortcut-notice{position:absolute;right:-7px;top:-7px;width:25px;height:25px}.skills-shortcut:hover{border-color:#f1d691}.skills-shortcut:focus-visible,.title-shortcut:focus-visible,.modal-title-shortcut:focus-visible{outline:2px solid #f4d88e;outline-offset:4px}.pause-nav-button{position:relative}.pause-nav-button.research-available{color:#f4d882}.skill-menu-notice{position:absolute;right:8px;top:11px;width:19px;height:19px;font-size:16px;line-height:18px}.skill-node.research-ready>span{border-color:#dfbf5e;box-shadow:0 0 8px #d7ba4b28}.skill-node.research-ready.selected>span{box-shadow:0 0 0 3px #c9a94c26,0 0 13px #dfbd5140}.skill-ready{position:absolute;right:-6px;top:-5px;width:20px;height:20px;font-size:16px;line-height:19px}.title-shortcut,.modal-title-shortcut{display:flex;align-items:center;justify-content:center;gap:9px;height:42px;width:150px;padding:0 10px;border:1px solid #a18f5b4d;background:linear-gradient(#273426d9,#122218ed);box-shadow:inset 0 1px #d0c2951a,0 2px 5px #06120b66;color:#cbd0b7;font:18px/25px var(--heading);font-weight:400}.title-shortcut{position:absolute;left:24px;top:658px;z-index:10}.title-shortcut svg,.modal-title-shortcut svg{width:20px;height:20px;transform:rotate(180deg);color:#c9ba8b}.title-shortcut:hover,.modal-title-shortcut:hover{color:#f0deb0;border-color:#d0b87888}.has-modal>.title-shortcut{visibility:hidden}.recovery-shortcut{left:24px;top:606px;height:42px}.modal-title-shortcut{position:absolute;left:25px;top:10px;height:38px;font-size:17px;z-index:1}.has-game-menu .modal-title-shortcut{top:35px;height:42px}.modal[data-kind=reward] .modal-title-shortcut{top:0;height:30px;font-size:15px}.modal[data-kind=reward] .modal-footer>.base-reward{width:calc(100% - 180px);margin-left:180px}
html:not(:lang(ko)) .skills-shortcut-copy>strong{font-size:19px}html:lang(en) .title-shortcut,html:lang(en) .modal-title-shortcut{font-size:16px}
/* Inventory and scouting live in fixed game space, outside the forging controls. */
.armory-stock,.armory-loadout,.enemy-scout,.loot-inspector{position:absolute;z-index:6;color:#ddd9bc;background:linear-gradient(125deg,#263025f2,#0e1d16f5);border:1px solid #a18c5f88;box-shadow:inset 0 0 0 3px #d0b7780a,inset 0 1px #e5d19b25,0 5px 14px #03100b88;box-sizing:border-box}
.armory-stock{left:24px;top:88px;width:250px;height:146px;padding:9px 10px}.armory-stock>header,.armory-loadout>header,.enemy-scout>header{height:25px;display:flex;align-items:center;justify-content:space-between;gap:6px}.armory-stock header strong,.armory-loadout header strong,.enemy-scout header strong{font:18px/25px var(--heading);font-weight:400;color:#e1cf9d}.armory-stock header button,.armory-loadout header span,.enemy-scout header span{font-size:11px;color:#aaa98b}.stock-ore{display:flex;height:46px;gap:4px;margin-top:2px}.stock-metal{display:flex;align-items:center;justify-content:center;width:53px;height:43px;border-bottom:1px solid #81926644;gap:1px}.stock-metal img{width:31px;height:32px;object-fit:contain;filter:drop-shadow(0 2px 3px #000a)}.stock-metal b{font:16px/23px var(--heading);font-weight:400;color:#e4d3a3}.stock-parts{display:flex;gap:6px;height:45px;margin-top:7px}.loot-slot{position:relative;width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;background:radial-gradient(#c2ae5730,#0b1916);border:1px solid #8e98765e;box-shadow:inset 0 0 0 2px #0002}.loot-art{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #0008)}.loot-slot .loot-art{width:35px;height:35px}.loot-slot b{position:absolute;bottom:0;right:3px;font:14px/15px var(--heading);font-weight:400;text-shadow:1px 1px 2px #000,-1px -1px 2px #000;color:#f9eccb}.rarity-2{border-color:#6babbdbb}.rarity-4{border-color:#d3b764cc;background:radial-gradient(#bf9d4d44,#19271e)}.loot-slot:hover,.loadout-slot:hover,.stock-metal:hover{border-color:#edcd8b;background-color:#b79a5322}.stock-more{width:33px;font:17px var(--heading);color:#ccb981}.empty-stock{font-size:11px;color:#929e87;padding-top:10px}
.armory-loadout{left:24px;top:246px;width:250px;height:113px;padding:7px 10px}.armory-loadout>div{display:flex;gap:10px;height:52px;justify-content:center;margin-top:1px}.loadout-slot{position:relative;display:grid;grid-template-columns:38px 27px;align-items:center;width:66px;height:48px;border:1px solid #a196695c;background:#10201888}.loadout-slot .loot-art{width:38px;height:40px}.loadout-slot>small{font:12px/16px var(--heading);width:24px;word-break:keep-all;color:#c6c1a0}.loadout-slot>i{position:absolute;left:3px;top:3px;width:4px;height:4px;background:#b8d984}.empty-component{font-size:26px;text-align:center;color:#777f64}.armory-loadout>small{font-size:10px;line-height:16px;color:#a1a98c;display:block;text-align:center}
.enemy-scout{left:24px;top:374px;width:250px;height:216px;padding:9px 11px}.scout-enemies{height:87px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,41px);gap:4px;margin-top:4px;align-content:start}.scout-enemy{position:relative;width:52px;height:41px;border:1px solid #8d95684d;background:#091b1488;display:flex;align-items:center;justify-content:center}.scout-enemy>img{height:38px;width:38px;object-fit:contain}.scout-enemy>small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;line-height:13px;background:#0a1815c9;color:#dad5b1}.scout-boss{border-color:#ca9560}.family-undead>img,.family-undead .enemy-portrait{filter:hue-rotate(105deg) saturate(.65) brightness(1.2)}.family-construct>img,.family-construct .enemy-portrait{filter:saturate(.2) brightness(1.1)}.scout-advice{height:41px;margin:5px 0 0;line-height:20px}.scout-advice strong{display:block;font:17px/21px var(--heading);font-weight:400;color:#e4cc8e}.scout-advice>span{display:block;font-size:11px;color:#b7d69d}.scout-apply{display:flex;justify-content:space-between;align-items:center;width:100%;height:28px;border-top:1px solid #a3905e55;margin-top:3px;font:16px/24px var(--heading);color:#e2c387}.scout-apply>span{font-size:24px}.scout-apply:hover{color:#ffe5a8}
.loot-inspector{left:290px;top:88px;width:305px;height:296px;padding:17px 18px;z-index:15}.loot-close{position:absolute;right:8px;top:5px;width:25px;height:25px;font-size:23px;color:#c5bb98;z-index:2}.loot-detail-identity{height:83px;padding-left:81px;position:relative;border:0;background:none}.loot-detail-identity>.loot-art{position:absolute;left:0;top:0;width:72px;height:76px}.loot-detail-identity>span{display:block;font-size:10px;color:#bcb48d;line-height:18px;padding-top:8px}.loot-detail-identity>h3{font:23px/27px var(--heading);font-weight:400;color:#f0d6a0;margin:0}.loot-effects{margin:10px 0 0;padding:0;list-style:none;height:69px;overflow-y:auto}.loot-effects>li{font:17px/23px var(--heading);font-weight:400;color:#c4e6a8}.loot-detail-stock{font-size:12px;color:#d6c99f;line-height:21px;margin-top:6px}.loot-detail-rule{height:33px;line-height:16px;font-size:10px;color:#a3ad92;margin-top:2px}.loot-inspector>.primary-button{width:100%;height:32px;min-height:32px;margin-top:0;font-size:15px}.loot-slot:focus-visible,.scout-enemy:focus-visible,.stock-metal:focus-visible,.loadout-slot:focus-visible,.scout-apply:focus-visible{outline:2px solid #f1d795;outline-offset:2px}
.has-modal>.armory-stock,.has-modal>.enemy-scout,.has-modal>.armory-loadout,.has-modal>.loot-inspector{visibility:hidden}.is-crafting .loot-inspector{top:88px}.is-battling .armory-stock{opacity:.9}.inventory-switch{position:absolute;left:445px;top:30px;height:36px;display:flex;gap:3px;border:1px solid #a8996566;background:#09191088;padding:3px}.inventory-switch button{font:17px/28px var(--heading);padding:0 16px;color:#adb89a}.inventory-switch button[aria-pressed=true]{background:#a38c4b35;color:#efd39d;box-shadow:inset 0 -2px #ddbd76}.native-parts{height:367px;display:grid;grid-template-columns:365px 1fr;gap:15px}.parts-list{height:357px;overflow-y:auto;overflow-x:hidden;padding:0 12px 10px 0;scrollbar-width:thin;scrollbar-color:#a08d5c77 transparent}.parts-filter{display:flex;gap:4px;height:34px;position:sticky;top:0;background:#1f2b21;z-index:1}.parts-filter>button{font:15px/28px var(--heading);padding:0 12px;color:#aeba9c;border-bottom:1px solid #7d8e6655}.parts-filter>button.selected{color:#f1d9a1;border-color:#dac281}.parts-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:92px;gap:7px;margin-top:12px}.part-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid transparent;padding:3px}.part-entry.selected{border-color:#cfb97877;background:#ccb76b0f}.part-entry.unowned{opacity:.4}.part-entry>.loot-slot{width:56px;height:56px}.part-entry .loot-art{width:48px;height:48px}.part-entry>span{font:12px/21px var(--heading);color:#cbcdb1;text-align:center}.parts-storage-note{font-size:11px;color:#96a78d;line-height:17px;margin-top:13px}.part-inspector{height:357px;border-left:1px solid #8c996044;padding:5px 0 47px 16px;position:relative}.part-inspector .loot-detail-identity{height:120px;padding-left:105px;padding-top:15px}.part-inspector .loot-detail-identity>.loot-art{height:102px;width:96px}.part-inspector .loot-detail-identity>h3{font-size:25px}.part-inspector .loot-effects{height:93px;margin-top:9px}.part-inspector .loot-effects>li{font-size:19px;line-height:28px}.part-inspector .loot-detail-rule{font-size:11px;line-height:17px;height:36px;margin-top:6px}.part-inspector>.primary-button{position:absolute;bottom:0;left:16px;width:calc(100% - 16px);height:40px;min-height:40px;font-size:18px}.battle-weapon-bar{height:5px;width:100%;background:#06120e;margin:4px 0 1px;box-shadow:0 0 0 1px #c6aa5e44}.battle-weapon-bar>i{display:block;height:100%;background:linear-gradient(#f1d88a,#c4a354)}.hero-health.fleeing{opacity:.45}.hero-health .weapon-durability-value{font-size:10px;line-height:14px;color:#d7c18f;display:block}.hero-health{height:99px}.hero-health>div{min-width:0}.delivery-parts{display:flex;position:absolute;left:113px;top:60px;height:21px;gap:5px}.delivery-parts .loot-art{width:21px;height:21px}.delivery-durability-bar{height:3px;display:block;background:#08180f;margin-top:1px}.delivery-durability-bar i{height:3px;background:#e0c67c;width:100%;display:block}
html:not(:lang(ko)) .scout-advice strong{font-size:14px}html:not(:lang(ko)) .scout-advice>span{font-size:10px}html:lang(en) .loadout-slot>small{font:10px/13px var(--heading);word-break:normal}html:lang(en) .part-entry>span{font-size:10px;line-height:13px;height:26px}html:lang(en) .parts-filter>button{font-size:12px;padding:0 8px}html:lang(en) .loot-effects>li{font-size:15px}html:lang(en) .loot-detail-identity>h3{font-size:19px;line-height:23px}html:lang(en) .loot-detail-rule{font-size:9px}
.equipment-parts{position:absolute;left:18px;top:75px;display:flex;gap:4px;height:24px}.equipment-parts .loadout-slot{width:24px;height:24px;display:block;border:0;background:none;opacity:1}.equipment-parts .loadout-slot .loot-art{height:24px;width:24px}.equipment-parts small,.equipment-parts .empty-component,.equipment-parts i{display:none}.equipment-parts .loadout-slot:not(:has(img)){display:none}.is-battling .battle-team-row{top:-4px;height:94px}.hero-health{height:94px}.hero-health .weapon-durability-value{height:14px;display:block;white-space:nowrap}.hero-health:hover small:not(.weapon-durability-value){display:none}.hero-health .hp-bar{margin-top:1px}.hero-health img{height:59px}.hero-health>div{width:128px}.hero-health .weapon-durability-value{font-size:10px}.is-battling .battle-enemy{width:330px}.is-battling .battle-hud{width:450px;left:415px}.is-battling #enemy-name{font-size:17px}.loot-inspector>.primary-button{margin-top:0}.delivery-parts{left:86px;top:60px}.delivery-parts>span{height:21px;width:21px}.delivery-identity h3{padding-bottom:14px}
.parts-metals{display:flex;gap:20px;height:45px;margin-top:8px;border-bottom:1px solid #9eaa7333}.parts-metals .stock-metal{width:65px;border:0}.scout-advice>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.loadout-slot{font-family:var(--heading)}
.is-crafting .armory-loadout{top:88px}.hero-health .weapon-durability-value{overflow:hidden;text-overflow:ellipsis}.enemy-scout .scout-advice{overflow:hidden}
.delivery-matchups{position:absolute;top:135px;left:28px;right:28px;height:15px;line-height:15px;font-size:11px;color:#b6d99b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.equipment-detail .equipment-actions{margin-top:14px}
.scout-advice>strong{display:flex;align-items:center;justify-content:space-between;gap:5px}.scout-advice>strong>b{font-weight:400;min-width:0;white-space:nowrap}.scout-rec-parts{display:flex;gap:3px;height:21px;flex-shrink:0}.scout-rec-parts>span{display:block;height:21px;width:21px}.scout-rec-parts .loot-art{width:21px;height:21px}
/* Assembly feedback reports the same position and score used to forge the weapon. */
.assembly-control .hold-copy{max-width:490px}.assembly-control .hold-copy h3{font-size:19px;line-height:26px}.assembly-control .hold-copy .assembly-preview{display:block;height:20px;font-size:12px;line-height:20px;color:#b8c7a3;margin-top:3px;white-space:nowrap}.assembly-result{width:155px;height:65px;text-align:right;--assembly-color:#e3ab86;display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.assembly-result>span{font-size:11px;line-height:14px;color:#abb99b}.assembly-result strong{font:34px/36px var(--heading);font-weight:400;color:var(--assembly-color);height:36px;white-space:nowrap}.assembly-result strong>b{font-weight:400}.assembly-result strong>small{font-size:19px;margin-left:3px}.assembly-result>#assembly-feedback{font-size:11px!important;line-height:14px;width:auto;text-align:right;color:var(--assembly-color);height:14px}.assembly-result[data-band=precise]{--assembly-color:#efd48b}.assembly-result[data-band=steady]{--assembly-color:#b7d498}.assembly-result.locked strong{text-shadow:0 0 12px #d2be6d33}html:not(:lang(ko)) .assembly-control .hold-copy h3{font-size:17px}html:not(:lang(ko)) .assembly-control .assembly-preview{font-size:11px}html:lang(en) .assembly-control .hold-copy{max-width:470px}html:lang(en) .assembly-control .hold-copy h3{font-size:16px}
/* Keep combat scouting on the left and crafting supplies on the right. */
.armory-stock{left:1006px;top:88px;width:250px;height:146px}.armory-loadout{left:1006px;top:246px;width:250px;height:148px;padding:8px 10px}.is-crafting .armory-loadout{left:1006px;top:88px}.armory-loadout>header{height:25px}.loadout-availability{display:flex;align-items:center;gap:6px;white-space:nowrap}.armory-loadout>.loadout-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;height:74px;margin-top:4px;justify-content:normal}.armory-loadout .loadout-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:74px;padding:5px 3px;box-sizing:border-box;min-width:0}.armory-loadout .loadout-slot>.loot-art{display:block;width:36px;height:36px;flex:none}.armory-loadout .empty-component{display:block;width:36px;height:36px;font-size:27px;line-height:36px}.armory-loadout .loadout-slot>small{display:block;width:100%;height:18px;max-width:100%;margin:0;font:13px/18px var(--heading);color:#cfc8a6;text-align:center;white-space:nowrap;word-break:normal;overflow:hidden;text-overflow:ellipsis}.component-count{display:grid;place-items:center;flex:none;min-width:22px;width:22px;height:22px;border:1px solid #fff0a3;border-radius:50%;background:#f3ca59;color:#493719;box-shadow:0 0 8px #e7be5266;font:14px/20px var(--heading);font-weight:400;animation:component-available-glow 1.8s ease-in-out infinite}.component-count.slot-count{position:absolute;right:3px;top:3px;min-width:18px;width:18px;height:18px;font-size:12px;line-height:16px}.armory-loadout .can-add-part{border-color:#cfad5f;background:radial-gradient(#a2833e22,#102018)}.armory-loadout>.loadout-footer{display:block;height:24px;margin-top:5px}.loadout-footer>small{display:block;height:24px;font-size:10px;line-height:24px;text-align:center;color:#a7b497;white-space:nowrap}.loadout-recommendation{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:24px;padding:0 3px;border-top:1px solid #9e895e66;font:12px/23px var(--heading);color:#bbc7a5;white-space:nowrap}.loadout-recommendation>b{font-weight:400;color:#e8cc89}.loadout-recommendation:hover{color:#f3dfaf}.loadout-recommendation:hover>b{color:#fff0b5}.component-count[aria-hidden=true]{pointer-events:none}
@keyframes component-available-glow{0%,100%{box-shadow:0 0 3px #e6bc4933;filter:brightness(1)}50%{box-shadow:0 0 11px #f2c64eaa;filter:brightness(1.17)}}@keyframes component-available-soft{0%,100%{box-shadow:0 0 3px #e6bc4944}50%{box-shadow:0 0 7px #f2c64e77}}.reduced-motion .component-count{animation:component-available-soft 3.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.component-count{animation:component-available-soft 3.2s ease-in-out infinite}}
/* The caravan order bubble starts at y=142; keep supplies in the strip above it. */
.is-front .armory-stock{left:756px;top:88px;width:500px;height:44px;padding:4px 9px;display:flex;align-items:center;gap:10px}.is-front .armory-stock>header{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;width:96px;height:34px;flex:none}.is-front .armory-stock header strong{font-size:14px;line-height:17px}.is-front .armory-stock header button{font-size:9px;line-height:15px}.is-front .stock-ore{height:34px;gap:2px;margin:0;flex:none}.is-front .stock-metal{width:38px;height:34px;gap:0;border:0}.is-front .stock-metal img{width:25px;height:29px}.is-front .stock-metal b{font-size:13px}.is-front .stock-parts{height:32px;margin:0;gap:4px;align-items:center}.is-front .stock-parts .loot-slot{width:32px;height:32px}.is-front .stock-parts .loot-art{width:27px;height:27px}.is-front .loot-slot>b{font-size:12px;line-height:13px;right:2px}.is-front .stock-more{width:23px;font-size:13px}.is-front .empty-stock{padding-top:0;font-size:9px;line-height:13px;max-width:105px}
.enemy-scout{left:24px;top:88px;width:450px;height:44px;padding:0 4px 0 0;display:flex;align-items:center;gap:9px;background:none;border:0;box-shadow:none}.scout-label{display:block;flex:none;white-space:nowrap;font:16px/30px var(--heading);font-weight:400;color:#ddd0a7;text-shadow:0 2px 4px #05120e,1px 0 #05120e,-1px 0 #05120e}.enemy-scout .scout-enemies{display:flex;flex-wrap:nowrap;gap:4px;height:40px;margin:0;align-items:center;overflow:visible}.enemy-scout .scout-enemy{height:38px;width:36px;flex:none;border:1px solid #8e9a6b55;background:linear-gradient(#15251dd9,#0a1915d9);box-shadow:inset 0 1px #c4ba8522}.enemy-scout .scout-enemy>img{width:33px;height:34px;pointer-events:none}.enemy-scout .scout-boss{border-color:#c9945f}.enemy-scout .scout-enemy:hover,.enemy-scout .scout-enemy:focus-visible{border-color:#edcd8b;box-shadow:0 0 7px #d0ad5e33}
.loot-inspector{left:666px;top:88px;width:324px;height:296px;z-index:15}.loot-inspector[data-kind=enemy]{left:24px;top:144px;width:305px;height:256px}.loot-inspector[data-pinned=false]{pointer-events:none}.loot-inspector[data-pinned=true]{pointer-events:auto;cursor:pointer}.loot-inspector .inspector-hint{position:absolute;bottom:9px;right:15px;height:13px;line-height:13px;font-size:10px;color:#a4af93}.loot-inspector[data-kind=enemy] .loot-effects{margin-top:6px}.loot-inspector[data-kind=enemy] .loot-detail-rule{margin-top:3px}.loot-inspector[data-kind=slot]{width:324px;height:360px;padding:16px}.component-picker-heading{height:44px;padding-right:22px}.component-picker-heading>small{display:block;font-size:10px;line-height:14px;color:#b9b18e}.component-picker-heading>h3{font:25px/30px var(--heading);font-weight:400;color:#eed4a0}.component-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:110px 110px;gap:8px;margin-top:8px;height:228px}.component-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;height:110px;padding:5px 6px;border:1px solid #87957666;background:#102019;font-family:var(--heading);text-align:center;box-sizing:border-box}.component-choice>.loot-art{display:block;width:42px;height:36px;flex:none;margin-bottom:2px}.component-choice>strong{display:block;width:100%;height:18px;font:13px/18px var(--heading);font-weight:400;color:#e0d4af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.component-choice>span{display:block;width:100%;height:34px;font-size:10px;line-height:11px;color:#b8d69d;overflow:hidden}.component-choice .component-stock{position:absolute;right:6px;top:5px;font:13px/18px var(--heading);font-weight:400;color:#dcd5ae}.component-choice .component-selected{position:absolute;left:5px;top:5px;font-size:15px;line-height:18px;color:#f0d083;font-style:normal}.component-choice.selected{border-color:#e5c780;box-shadow:inset 0 0 0 1px #c7aa5b44;background:#a88b3d24}.component-choice.unavailable{opacity:.4}.component-choice:is(button):hover{border-color:#edce8c;background-color:#b69b4b33}.component-use-basic.secondary-button{position:static;width:100%;height:32px;min-height:32px;margin-top:8px;padding:0 9px;font-size:15px;line-height:30px}.loot-inspector .component-choice:focus-visible,.component-use-basic:focus-visible{outline:2px solid #f0d48e;outline-offset:2px}
html:not(:lang(ko)) .scout-label{font-size:13px}html:not(:lang(ko)) .armory-loadout .loadout-slot>small{font:12px/18px var(--heading);width:100%;word-break:normal}html:lang(en) .loadout-recommendation{font-size:11px}html:not(:lang(ko)) .component-choice>strong{font-size:12px}html:lang(en) .component-choice>span{font-size:9px;line-height:11px}html:lang(ja) .component-choice>span{font-size:9px;line-height:11px}
.component-choice .component-effects>small{display:block;font:inherit;line-height:11px}

/* The party and applicable parts vary; all outer HUD frames stay fixed. */
.battle-team-row{grid-template-columns:repeat(var(--party-size,3),minmax(0,1fr))}.armory-loadout>.loadout-slots{grid-template-columns:repeat(var(--part-slots,3),minmax(0,1fr))}.armory-loadout .basic-string{opacity:.3}.discovery-slot{box-shadow:inset 0 0 9px #80b9ca28}.parts-filter{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.parts-filter>button{min-width:0;padding:0 3px;font-size:12px}html:lang(en) .parts-filter>button{font-size:10px;padding:0 2px}.discovery-collection{margin-top:14px;padding-top:12px;border-top:1px solid #87957655}.discovery-collection h4{font:15px var(--heading);font-weight:400;color:#cfc6a2;margin-bottom:8px}.discovery-entry{display:flex;align-items:center;gap:10px;width:100%;height:64px;border:1px solid #91a58d66;background:#12231b;text-align:left;padding:5px 9px;color:#ddd3b1}.discovery-entry>img{width:49px;height:49px;object-fit:contain}.discovery-entry>span{font:15px/20px var(--heading)}.discovery-entry small{display:block;font:11px/17px var(--body);color:#a9d7bb}.discovery-entry.unfound{opacity:.42}.discovery-entry:hover{border-color:#ddc180}.assembly-timing-control .hold-copy{width:470px;max-width:470px}.assembly-timing-control:has(.assembly-result:not([hidden])) .hold-copy{width:430px;max-width:430px}.assembly-timing-control .assembly-preview{font-size:13px;line-height:19px;white-space:normal}.assembly-timing-control .assembly-result[hidden]{display:none!important}.bow-flex-target{position:absolute;left:53%;top:0;width:9.2%;height:100%;border:1px solid #e9e6ad;background:#b6c78c66}.bow-flex-gauge .heat-fill{max-width:100%}html:not(:lang(ko)) .assembly-timing-control .assembly-preview{font-size:11px;line-height:16px}

/* The canvas keeps its logical workbench. On phones the surrounding controls reflow at reading size. */
@media (pointer: coarse) {
  .game-shell button:not([data-hold]) { touch-action: manipulation; }
}
@media (max-width: 820px) and (orientation: portrait) {
  .game-viewport { overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; }
  .game-viewport:has(.has-modal, #title-screen) { overflow: hidden; }
  .game-viewport[data-orientation=portrait] .viewport-helper { display: none; }
  .game-viewport .game-shell {
    position: relative; inset: auto; width: 100%; height: auto; min-height: 100%; transform: none; overflow: visible;
    display: flex; flex-direction: column; gap: 8px; padding: env(safe-area-inset-top) 0 max(12px,env(safe-area-inset-bottom));
    background: #17281e;
  }
  .game-shell::after { display: none; }
  .game-shell > .topbar {
    position: relative; inset: auto; width: auto; height: auto; min-height: 56px; padding: 5px 9px;
    display: flex; align-items: center; justify-content: flex-end; gap: 5px;
    border-bottom: 1px solid #ab9e6c55;
  }
  #settings-button, .game-shell .skills-shortcut { position: relative; inset: auto; height: 44px; }
  #settings-button { width: 44px; flex: 0 0 44px; }
  .game-shell .skills-shortcut { width: auto; min-width: 127px; padding: 4px 8px; gap: 6px; }
  .skills-shortcut-symbol { width: 25px; height: 25px; }
  .skills-shortcut-symbol > svg { width: 21px; height: 21px; }
  .game-shell > .expedition-bar {
    position: absolute; z-index: 9; inset: calc(8px + env(safe-area-inset-top)) auto auto 9px; width: auto;
  }
  .main-layout, .workshop { position: relative; inset: auto; overflow: visible; }
  .game-shell .scene { position: relative; inset: auto; width: 100%; height: auto; touch-action: pan-y; }
  .scene canvas {
    position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9;
  }
  .is-crafting .scene canvas { touch-action: none; }
  .scene-overlay { position: static; }
  .scene-overlay:empty { display: none; }
  .station-tabs, .is-crafting .station-tabs {
    position: static; width: auto; height: 33px; margin: 0 8px; gap: 12px; justify-content: center;
  }
  .step-heading, .hammer-heading {
    top: 4px; left: 0; right: 0; width: auto; height: auto; padding: 0 6px; pointer-events: none;
  }
  .step-heading h2 { height: auto; font-size: 24px; line-height: 1.2; }
  .step-heading p { height: auto; font-size: 12px; text-shadow: 0 1px 4px #07140d; }
  .storefront-overlay { position: relative; inset: auto; width: auto; height: auto; z-index: 2; }
  .caravan-skip, .departure-controls, .customer-bubble, .delivery-result, .weapon-result {
    position: relative; inset: auto; transform: none; width: auto; height: auto; margin: 0;
  }
  .caravan-skip, .departure-controls { width: 100%; min-height: 46px; justify-content: center; padding: 3px 8px; background: #182b21; }
  .caravan-skip { font-size: 14px; }
  .customer-bubble, .delivery-result, .weapon-result {
    margin: 0 8px 8px; padding: 10px 12px; animation: none;
  }
  .customer-bubble::after, .delivery-result::after { display: none; }
  .order-bubble .customer-request { height: 52px; margin-top: 2px; }
  .order-bubble .customer-request > .item-icon { width: 50px; height: 50px; }
  .order-bubble .customer-actions { height: auto; margin-top: 4px; }
  .delivery-identity, .delivery-result > .weapon-performance, .delivery-matchups, .delivery-stats,
  .delivery-grade-note, .delivery-stations, .delivery-result #deliver-weapon {
    position: static; width: auto; height: auto; min-height: 0; margin-top: 6px; transform: none;
  }
  .delivery-identity { gap: 5px; flex-wrap: wrap; }
  .delivery-identity > .item-icon { width: 48px; height: 48px; }
  .delivery-identity h3 { font-size: 20px; line-height: 1.25; max-height: none; }
  .delivery-parts { position: static; flex-basis: 100%; }
  .delivery-stats { gap: 6px; }
  .delivery-stats strong { font-size: 23px; }
  .delivery-result #deliver-weapon { width: 100%; min-height: 46px; }
  .recovery-shortcut { position: relative; inset: auto; margin: 4px 8px; min-height: 44px; z-index: 3; }
  .workshop .work-controls, .is-crafting .workshop .work-controls,
  .is-battling .workshop .work-controls, .is-gameover .workshop .work-controls {
    position: relative; inset: auto; width: auto; height: auto; min-height: 0; padding: 8px;
    margin: 0 8px; display: grid; gap: 8px; background: #13271fed; border: 1px solid #aa986958;
  }
  .is-front .workshop .work-controls:empty { display: none; }
  .work-controls .controls-heading, .work-controls .material-options, .work-controls .controls-bottom,
  .work-controls .hold-control, .work-controls .heat-gauge, .work-controls .hammer-timing-gauge,
  .work-controls .hammer-history, .work-controls #assembly-slider {
    position: relative; inset: auto; width: auto; height: auto; min-width: 0;
  }
  .work-controls .controls-heading { flex-wrap: wrap; gap: 4px; }
  .work-controls .controls-heading h3 { font-size: 19px; }
  .work-controls .recipe-picker { display: flex; flex-wrap: wrap; height: auto; gap: 4px; }
  .work-controls .recipe-option { min-width: 42px; height: 42px; }
  .work-controls .material-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .work-controls .material-card { width: auto; min-width: 0; height: 48px; gap: 3px; padding: 3px 5px; }
  .material-card > .item-icon { width: 26px; height: 27px; flex: none; }
  .material-card strong { font-size: 14px; line-height: 1.2; }
  .material-card .empty-label { display: none; }
  .work-controls .controls-bottom { gap: 5px; align-items: stretch; }
  .work-controls .controls-bottom > .primary-button, .work-controls .controls-bottom > .secondary-button,
  .work-controls .controls-bottom.single-action > .forge-start {
    flex: 1; min-width: 0; max-width: 100%; min-height: 46px; width: auto; height: auto;
    font-size: 18px; white-space: normal; line-height: 1.2; padding: 5px 7px;
  }
  .work-controls .heat-gauge { height: 17px; }
  .work-controls .hammer-timing-gauge { height: 8px; margin-top: 4px; }
  .work-controls .hammer-history { height: 25px; gap: 4px; }
  .work-controls #assembly-slider { width: 100% !important; height: 36px; margin: 0; }
  .work-controls .hold-copy h3 { font-size: 18px; line-height: 1.2; height: auto; }
  .work-controls .hold-copy p, .work-controls .hold-copy .assembly-preview { height: auto; white-space: normal; }
  .work-controls .live-reading, .work-controls .assembly-result { width: auto; min-width: 84px; flex-shrink: 0; }
  .work-controls .live-reading { height: 44px; font-size: 30px; line-height: 44px; }
  .is-battling .battle-hud { inset: 5px 8px auto; width: auto; height: auto; gap: 4px; }
  .battle-enemy { height: auto; min-height: 40px; padding: 4px 7px; }
  .battle-enemy p { height: auto; font-size: 16px; }
  .is-battling .battle-team-row, .is-battling .battle-info-line {
    position: static; width: auto; height: auto; justify-content: center; gap: 4px;
  }
  .is-battling .battle-info-line .pause-button { min-height: 44px; }
  .battle-team-row .hero-health { padding: 3px; gap: 2px; min-width: 0; }
  .battle-team-row .hero-health img { width: 26px; height: 35px; }
  .battle-team-row .hero-health strong { font-size: 14px; }
  .game-shell > .armory-stock, .game-shell > .armory-loadout, .game-shell > .enemy-scout {
    position: relative; inset: auto; width: auto; height: auto; margin: 0 8px; padding: 7px 9px;
  }
  .game-shell.is-front > .armory-stock { display: block; }
  .game-shell.is-front > .armory-stock > header { width: auto; height: 25px; flex-direction: row; }
  .game-shell .armory-stock .stock-ore { display: flex; flex-wrap: wrap; height: auto; min-height: 40px; margin-top: 3px; }
  .game-shell .armory-stock .stock-metal { min-width: 41px; min-height: 39px; }
  .game-shell > .enemy-scout { flex-wrap: wrap; }
  .game-shell .scout-enemies { flex-wrap: wrap; height: auto; max-width: 100%; }
  .game-shell .loot-inspector[data-pinned=true] {
    position: fixed; inset: auto 8px max(8px,env(safe-area-inset-bottom)); width: auto; max-height: 65dvh; height: auto;
    min-height: 240px; overflow-y: auto;
  }
  .loot-inspector .loot-close { width: 44px; height: 44px; }
  .game-shell > .title-shortcut { position: relative; inset: auto; margin: 0 8px; min-height: 44px; }
  .game-shell .toast-stack { position: fixed; left: 8px; right: 8px; bottom: max(10px,env(safe-area-inset-bottom)); width: auto; }

  .game-shell .title-screen {
    position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    overflow-y: auto; padding: max(12px,env(safe-area-inset-top)) 18px max(14px,env(safe-area-inset-bottom)); background-position: 61% center;
  }
  .title-screen::before { background: linear-gradient(0deg,#091910f5 3%,#0a1c14b9 47%,#10241b44 80%); }
  .title-screen::after { inset: 6px; }
  .title-character { top: 2%; left: 50%; width: 88%; height: 55%; transform: translateX(-50%); animation: none; }
  .title-menu { position: relative; inset: auto; width: 100%; height: auto; margin-top: min(30dvh,220px); }
  .title-menu > *, .title-screen .title-footer { position: relative; inset: auto; width: auto; height: auto; }
  .title-menu h1 { width: auto; height: auto; font-size: clamp(46px,12vw,74px); line-height: 1.12; letter-spacing: -2px; }
  .title-rule { width: 100%; height: 1px; margin: 10px 0; }
  .title-buttons { display: flex; flex-wrap: wrap; gap: 4px; }
  .title-buttons button { flex: 1 1 auto; min-height: 44px; width: auto; height: auto; font-size: 20px; text-align: center; padding: 0 6px; background: #1d3023eb; }
  .title-buttons .title-primary { flex: 1 0 100%; font-size: 23px; text-align: left; padding-left: 13px; }
  .title-record { margin: 7px 0; }
  .title-screen .title-footer { gap: 8px; }

  .game-shell .modal-backdrop {
    position: fixed; inset: 0; width: 100%; height: 100%;
    padding: max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom));
  }
  .game-shell .modal, .game-shell .modal.wide {
    position: relative; inset: auto; width: 100%; height: 100%; min-width: 0; max-width: none; min-height: 0; max-height: none;
    display: flex; flex-direction: column; animation: none;
  }
  .game-shell .modal-header, .game-shell .modal-content, .game-shell .modal-footer,
  .game-shell .pause-navigation, .game-shell .modal-header h2, .game-shell .modal-header .modal-eyebrow {
    position: relative; inset: auto; width: auto; height: auto; min-width: 0;
  }
  .game-shell .modal-header { flex: none; min-height: 54px; padding: 6px 50px 6px 10px; }
  .game-shell .modal-header h2 { text-align: left; font-size: 25px; line-height: 1.35; }
  .game-shell .modal-header .modal-eyebrow { text-align: left; font-size: 11px; }
  .game-shell .modal-close { width: 44px; height: 44px; top: 4px; right: 4px; }
  .game-shell .inventory-switch, .game-shell .menu-currency { position: static; width: max-content; height: auto; max-width: 100%; }
  .game-shell .inventory-switch button { min-height: 38px; }
  .game-shell .menu-currency { font-size: 19px; line-height: 1.4; }
  .game-shell .menu-currency .item-icon { width: 25px; height: 25px; }
  .game-shell .pause-navigation {
    flex: none; display: flex; gap: 3px; overflow: auto hidden; padding: 2px 5px; border: 0;
    touch-action: pan-x; scrollbar-width: thin; overscroll-behavior-x: contain;
  }
  .pause-navigation .pause-nav-button { flex: none; min-width: 60px; width: auto; min-height: 44px; padding: 0 7px; font-size: 16px; }
  .game-shell .modal-content { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 7px 8px 11px; }
  .game-shell .modal-footer { flex: none; display: flex; flex-wrap: wrap; align-items: center; padding: 5px; gap: 4px; }
  .game-shell .modal-footer .modal-actions { width: auto; flex: 1 1 auto; height: auto; gap: 4px; flex-wrap: wrap; }
  .game-shell .modal-actions > button { width: auto; min-width: 0; flex: 1 1 auto; min-height: 44px; }
  .game-shell .modal-footer .modal-title-shortcut {
    position: static; width: auto; min-height: 44px; height: auto; font-size: 15px; flex: 1 0 auto;
  }
  .game-shell .modal-footer .base-reward { width: auto; height: auto; order: 1; flex-basis: 100%; }
  .game-shell .modal-footer .base-reward:empty { display: none; }
  .game-shell .modal-content :is(.native-menu-page,.native-skills,.native-records,.native-inventory,.native-parts,.pause-home) {
    display: block; width: auto; height: auto; min-height: 0;
  }
  .pause-home > img, .pause-home > strong, .pause-home-actions { position: static; width: auto; height: auto; }
  .pause-home > img { height: min(25dvh,210px); }
  .pause-home > strong { display: block; font-size: 32px; }
  .pause-home-actions { margin: 8px 0; }
  .skill-constellations { width: auto; height: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .skill-constellation > div, .skill-node { width: auto; height: auto; }
  .skill-constellation > div::before { display: none; }
  .skill-node { width: 100%; min-height: 92px; }
  .modal-content :is(.skill-detail,.equipment-detail,.record-detail,.part-detail) {
    width: auto; height: auto; min-height: 230px; border-left: 0; border-top: 1px solid #9d9d6255;
  }
  .modal-content :is(.equipment-list,.parts-list,.record-list) { width: auto; height: auto; max-height: 37dvh; padding-right: 3px; }
  .parts-metals { height: auto; flex-wrap: wrap; gap: 2px; }
  .parts-filter { grid-template-columns: repeat(auto-fit,minmax(50px,1fr)); }
  .parts-filter button { min-height: 40px; }
  .game-shell .has-game-menu .settings-row { height: auto; min-height: 60px; flex-wrap: wrap; padding: 4px; }
  .has-game-menu .settings-row small { height: auto; max-width: 100%; white-space: normal; }
  .game-shell .has-game-menu .settings-row > button { min-height: 44px; }
  .has-game-menu .settings-row input { max-width: 100%; }
  .has-game-menu .help-steps { display: flex; flex-direction: column; gap: 5px; }
  .game-shell .has-game-menu .help-step { height: auto; min-height: 100px; }
  .game-shell .modal[data-kind=reward] .modal-intro { height: auto; }
  .game-shell .modal[data-kind=reward] .reward-cards { display: grid; grid-template-columns: 1fr; height: auto; gap: 5px; }
  .game-shell .modal[data-kind=reward] .reward-card { height: auto; min-height: 150px; padding: 8px; }
  .game-shell .modal[data-kind=reward] .reward-card > .item-icon { width: 52px; height: 52px; margin: 0; }
  .game-shell .modal[data-kind=reward] .reward-card p { height: auto; }
  .game-shell .modal[data-kind=reward] .reward-card > .secondary-button { position: static; margin-top: 6px; transform: none; }
}
@media (max-height: 560px) and (orientation: landscape) and (pointer: coarse) {
  .title-buttons button, .work-controls .controls-bottom > button, .game-shell #settings-button { min-height: 58px; }
  .pause-navigation .pause-nav-button { min-height: 48px; }
  .modal-header .modal-close { width: 58px; height: 58px; }
}
