@font-face{font-family:DoHyeon;src:url('assets/DoHyeon-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
:root{color-scheme:dark;--ink:#111d17;--panel:#203126;--panel-deep:#14241d;--line:#83936566;--gold:#e5c286;--cream:#eee3c6;--muted:#a8b89b;--green:#a9c29c;--danger:#e09b87;--heading:DoHyeon,'Malgun Gothic',sans-serif;--body:'Malgun Gothic','Apple SD Gothic Neo',sans-serif}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden;background:#080e0b;color:var(--cream);font:13px var(--body);overscroll-behavior:none}button,input,select,a{font:inherit}button{border:0;color:inherit;background:none;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:hover:not(:disabled){filter:brightness(1.13)}button:active:not(:disabled){filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button,a,input,select{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}h1,h2,h3,p{margin:0}a{color:var(--gold);text-underline-offset:3px}strong{font-weight:700}small{font-size:11px}svg{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.heading{font-family:var(--heading);font-weight:400}.muted{color:var(--muted)}.gold{color:var(--gold)}.green{color:var(--green)}.danger{color:var(--danger)}
.item-icon{width:48px;height:48px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 5px #0005)}
.primary-button,.secondary-button,.research-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:2px;white-space:nowrap;user-select:none}
.primary-button{height:44px;min-height:44px;min-width:180px;padding:0 17px;font:20px var(--heading);color:#382b17;border:1px solid #f0d49a;background:linear-gradient(#eed5a1,#cfab69 51%,#c39958 52%,#ddbd7f);box-shadow:inset 0 1px #fff6,inset 0 -3px #80602f55,0 3px #6b502c,0 6px 12px #0005;text-shadow:0 1px #ffedb855}
.primary-button svg{width:18px;height:18px}.primary-button.large{width:240px;height:48px}.secondary-button{height:38px;min-height:38px;padding:0 15px;border:1px solid #9ca47477;background:linear-gradient(#47543b99,#253a27d9);box-shadow:inset 0 1px #bdc79322,0 3px 7px #0004;color:#d5ddbd;font-size:12px}.secondary-button svg{height:16px;width:16px}.research-button{height:28px;min-height:28px;padding:0 11px;font-size:11px;border:1px solid #b8a06677;background:linear-gradient(#74643d88,#4d4329bb);color:#e7cc92;box-shadow:inset 0 1px #e0cd8b22}.research-button .item-icon{width:21px;height:21px}.subtle-button{height:30px;padding:0 4px;font-size:11px;color:#b5c1a3;text-decoration:underline;text-underline-offset:4px}.icon-button{width:36px;height:36px;border:1px solid #96875977;background:linear-gradient(#374530e8,#18291ddd);box-shadow:inset 0 1px #c7c18e22;display:grid;place-items:center;border-radius:2px}.icon-button svg{height:18px;width:18px;color:#c9c9a5}
.brand{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.brand-pig{width:56px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 5px #0008)}.brand strong{display:block;font:34px/1 var(--heading);white-space:nowrap;color:#f0d7a2;text-shadow:0 3px #735a36,0 6px 10px #0008;letter-spacing:-1.4px}.brand small{display:none}
.nav-button{position:relative;width:88px;height:48px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0;border:1px solid #94875b88;background:linear-gradient(135deg,#2e3c30ed,#18271eeb);box-shadow:inset 0 1px #b5af7e22,inset 0 -2px #08140d77,0 3px 8px #0005;clip-path:polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);font-size:12px;color:#c2ccb2;white-space:nowrap}.nav-button svg{height:17px;width:17px;color:#bcae7f}.nav-button.active{background:linear-gradient(#695b3dde,#342f22ed);border-color:#d3b57b;color:#f1d7a0;box-shadow:inset 0 1px #ffde9d44,inset 0 -2px #37291599}.notification-dot{position:absolute;top:6px;right:6px;height:5px;width:5px;border-radius:50%;background:#ebbf7b;box-shadow:0 0 6px #d4a15588}
.resource{height:40px;display:flex;align-items:center;gap:8px;min-width:0}.resource>span{min-width:0;flex:1;overflow:hidden}.resource small{display:block;height:15px;color:#adb99c;font-size:9px;line-height:15px;white-space:nowrap}.resource strong{display:block;height:21px;line-height:21px;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e6d3a0}.resource .item-icon{height:31px;width:27px}.coin-icon{position:relative;display:block;height:23px;width:23px;flex-shrink:0;margin:2px;border:2px solid #bb934e;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f0d590,#ad7733);box-shadow:inset 0 0 0 3px #d0ab59,0 3px 7px #0005}.coin-icon:after{content:'';position:absolute;left:8px;top:4px;width:3px;height:11px;border:1px solid #715026aa;border-radius:2px}
.stage-location{height:50px;display:flex;align-items:center;gap:13px;padding:6px 17px 6px 12px;border-left:2px solid #bca66d;background:linear-gradient(90deg,#15251de9,#14251b88 80%,transparent)}.stage-location small{display:block;height:13px;line-height:13px;font-size:9px;color:#b4c0a2}.stage-location strong{display:block;height:25px;white-space:nowrap;font:20px/25px var(--heading);text-shadow:0 2px 4px #0008}.stage-location strong b{font-weight:400;color:var(--gold);margin-right:8px}.stage-emblem{width:28px;height:28px;border:1px solid #a4aa7266;background:#43553844;transform:rotate(45deg);display:grid;place-items:center}.stage-emblem svg{transform:rotate(-45deg);width:16px;height:16px;color:#c1cca2}.route-progress{display:flex;align-items:center;gap:8px}.route-node{height:7px;width:7px;transform:rotate(45deg);border:1px solid #b0b57f77;background:#1b2a1ccc}.route-node.done{background:#bcb17a}.route-node.current{background:#efd498;border-color:#f5daa1;box-shadow:0 0 8px #d8b56a88}.route-connector{height:1px;width:27px;background:#a2ad7655}.boss-note{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:10px;color:#b4c2a0;text-shadow:0 2px 5px #000}.boss-note svg{height:16px;width:16px;color:#cbbb89}
.panel-title{height:29px;display:flex;align-items:center;justify-content:space-between;padding:0 3px 5px}.panel-title h2{font:18px/24px var(--heading);font-weight:400;display:flex;align-items:center;gap:8px;color:#e4d7ae;text-shadow:0 2px 6px #0009}.panel-title svg{height:16px;width:16px;color:#b9b78d}.counter{height:20px;line-height:20px;padding:0 6px;background:#20311ccc;border:1px solid #7d8e5255;border-radius:2px;font-size:10px;color:#b9c7a5;font-variant-numeric:tabular-nums}
.order-card{position:relative;width:196px;height:106px;padding:11px 12px 9px;text-align:left;overflow:hidden;border:1px solid #92905c88;background:linear-gradient(110deg,#203125f0,#1c2b20b8);box-shadow:inset 0 1px #c1b97e22,0 4px 10px #0005;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% 100%,0 100%,0 6px)}.order-card.selected{border-color:#d0b378;background:linear-gradient(110deg,#51472edb,#263323d9);box-shadow:inset 0 1px #f0d69d33,0 4px 10px #0005}.order-card.selected:before{content:'';position:absolute;left:0;top:9px;bottom:9px;width:2px;background:var(--gold)}.order-number{display:block;height:15px;line-height:15px;font-size:8px;letter-spacing:1px;color:#c0c39d}.order-card h3{height:28px;font:24px/28px var(--heading);font-weight:400}.order-card .job{font:9px var(--body);color:#b2c2a1;margin-left:5px}.order-recipe{display:block;height:17px;line-height:17px;font-size:10px;color:#c8b88f}.order-card .portrait{position:absolute;right:5px;top:6px;width:68px;height:82px;object-fit:contain;filter:drop-shadow(0 4px 5px #0007)}.order-state{height:21px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #a8ae6b33;margin-top:3px;padding-top:5px;font-size:9px;color:#a8ba98}.order-state.ready{color:#bed0a7}.tiny-item{height:19px!important;width:19px!important;margin:-4px 4px -4px 0;vertical-align:middle}.speech-note{display:none}.side-link{height:33px;width:196px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:#15271bd9;border:1px solid #7c8e5266;font-size:10px;color:#b1c3a0}.side-link svg{height:13px;width:13px}
.journey-card{padding:11px 1px 12px}.journey-heading{height:16px;line-height:16px;display:flex;align-items:center;gap:7px;font-size:9px;color:#b2c19d;margin-bottom:8px}.journey-heading svg{height:13px;width:13px;color:var(--gold)}.stage-large{height:45px;font:42px/45px var(--heading);color:#e7ca8d}.stage-large small{font:10px var(--body);margin-left:6px;color:#afbc9d}.stage-line{height:22px;margin-top:7px;display:flex;align-items:center;justify-content:space-between;color:#a7b695;font-size:10px}.stage-line strong{font-weight:400;color:#d7daba;font-size:11px}.divider{height:1px;background:#89975d44;margin:10px 0}.power-label{height:18px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:#b0be9d}.power-label strong{font-weight:400;font-size:8px;color:#d5bf87}.party-power{height:29px;font:27px/29px var(--heading);color:#e1c992}.party-power small{font:10px var(--body);color:#a6b994;margin-left:5px}.power-meter{height:5px;background:#0b1a1266;overflow:hidden;border:1px solid #a0ad5b22;margin-top:6px}.power-meter i{display:block;height:100%;background:linear-gradient(90deg,#a6ac7d,#dec082);transition:width .15s linear}.relic-row{display:grid;grid-template-columns:repeat(4,39px);grid-auto-rows:39px;gap:6px}.relic-slot{height:39px;width:39px;border:1px dashed #8c9b5f66;display:grid;place-items:center;background:#0b1c1366;color:#8ca774;font-size:19px}.relic-slot.filled{border-style:solid;border-color:#b8a56788;background:#99834522}.relic-slot .item-icon{height:32px;width:32px}.note-card,.depart-button{display:none}
.scene-label{height:29px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;font-size:10px;color:#d2d7b4;background:linear-gradient(90deg,#15271ddb,#15271d66);border-left:2px solid #b7a36966}.scene-label svg{height:14px;width:14px;color:var(--gold)}.scene-status{height:25px;display:flex;align-items:center;gap:7px;padding:0 9px;background:#13251cd6;border:1px solid #8d9c5b44;font-size:9px;color:#b7c5a1}.scene-status i{height:5px;width:5px;border-radius:50%;background:#e1b76e;box-shadow:0 0 6px #e1b76e88}.hint-bubble{width:430px;height:48px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#14281feb;border:1px solid #b1a36977;padding:5px 10px;color:#d3d9b5;font-size:10px;line-height:17px;box-shadow:0 4px 13px #0005}.hint-bubble b{color:#f1d59d;font-weight:400}.hint-bubble small{font-size:9px;color:#b4c3a3}.station{height:34px;display:flex;align-items:center;justify-content:center;gap:6px;position:relative;flex:1;font-size:11px;color:#91a585}.station.active{color:#eed199;background:linear-gradient(transparent,#c0a96422)}.station.done{color:#b6cda1}.station svg{height:14px;width:14px}.station-number{font-size:9px;opacity:.65}.station:not(:last-child):after{content:'';height:1px;width:18px;background:#81905b66;position:absolute;right:-9px}.forge-preview-label{padding:10px 13px;background:linear-gradient(90deg,#15291ee6,#15291d99);border-left:2px solid #b8a56b88;font-size:10px;line-height:19px;color:#adbf9a}.forge-preview-label span{display:block;height:26px;font:21px/26px var(--heading);color:#e5d6aa}
.controls-heading{height:25px;display:flex;align-items:center;justify-content:space-between;gap:14px}.controls-heading h3{font:20px/25px var(--heading);font-weight:400;white-space:nowrap}.controls-heading small{font-size:10px;color:#adbe9a}.recipe-picker{height:29px;display:flex;align-items:center;gap:5px}.recipe-option{height:29px;width:31px;display:grid;place-items:center;border:1px solid #88956066;background:#10221999}.recipe-option.active{border-color:#d5ba7c;background:#a08b4333}.recipe-option .item-icon{height:25px;width:25px}.material-options{height:56px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.material-card{position:relative;height:56px;display:flex;align-items:center;justify-content:center;gap:7px;padding:5px 7px;text-align:left;overflow:hidden;border:1px solid #89985c77;background:linear-gradient(#43503444,#102417bb);box-shadow:inset 0 1px #bcc68c22}.material-card.selected{border-color:#dbbf82;background:linear-gradient(#8c794b55,#594b2e55);box-shadow:inset 0 0 14px #c3a14e22}.material-card .item-icon{width:41px;height:41px}.material-card>span{min-width:0}.material-card strong{display:block;height:18px;line-height:18px;font-weight:400;font-size:12px}.material-card small{display:block;height:15px;line-height:15px;font-size:9px;color:#b4c29f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.empty-label{position:absolute;top:1px;right:3px;font-size:7px;background:#20331f;color:#9eb58b}.controls-bottom{height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}.material-description{font-size:10px;line-height:17px;color:#aaba99}.material-description b{font-weight:400;color:#dfcd9b}.ready-dock-note{text-align:center}.controls-bottom .secondary-button{height:38px}.hold-control{height:70px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hold-copy{min-width:0;flex:1}.hold-copy h3{height:27px;font:21px/27px var(--heading);font-weight:400;margin-bottom:4px}.hold-copy p{font-size:11px;line-height:18px;color:#adbf9b}.live-reading{height:55px;width:126px;flex-shrink:0;display:flex;align-items:baseline;justify-content:center;gap:6px;font:39px/55px var(--heading);color:#efcd8b;font-variant-numeric:tabular-nums}.live-reading small{font:11px var(--body);color:#b1c39d}.hold-button{width:250px;height:44px;touch-action:none;-webkit-user-select:none}.hold-button.pressed{filter:brightness(1.13);box-shadow:inset 0 3px 7px #6b3e2266,0 1px #6b502c}.work-progress{width:160px;display:flex;justify-content:flex-end;gap:6px}.work-progress i{height:6px;width:25px;border:1px solid #82915877;background:#0f251966}.work-progress i.done{background:#dfbd7b;border-color:#e8ce91}input[type=range]{accent-color:#dbbd80;height:14px;margin:0;cursor:pointer}#assembly-slider{width:100%;height:14px}#assembly-feedback{width:140px;font-size:24px!important;white-space:nowrap}
.quality-stars{height:18px;font-size:13px;letter-spacing:3px;color:var(--gold)}.weapon-result{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at 50% 40%,#81714455,#12271df5 80%);border:1px solid #c1a87199;box-shadow:inset 0 1px #ddca8a33,0 12px 45px #0008}.weapon-result .item-icon{height:74px;width:74px}.weapon-result h2{height:34px;font:26px/34px var(--heading);font-weight:400;margin:5px 0;white-space:nowrap}.result-eyebrow{height:16px;font-size:9px;color:#c1bc8c;letter-spacing:1px}.weapon-result p{height:18px;line-height:18px;font-size:11px;color:#b9c6a5}.result-stats{height:53px;display:flex;justify-content:center;gap:30px;margin-top:11px}.result-stats small{height:16px;display:block;font:9px/16px var(--body);color:#acbd98}.result-stats strong{font:25px/30px var(--heading);font-weight:400}.result-close{position:absolute;right:11px;top:9px;width:26px;height:26px;pointer-events:auto;font-size:20px;color:#bccaa6}
.battle-enemy{width:235px;height:65px;padding:11px 14px;background:linear-gradient(135deg,#183023ee,#10261ee5);border:1px solid #a1a96966;box-shadow:0 4px 14px #0004}.battle-enemy p{height:27px;font:20px/27px var(--heading);display:flex;justify-content:space-between;align-items:center;gap:12px}.hp-bar{height:6px;background:#081a10;overflow:hidden;border:1px solid #c8bd7c22}.hp-bar i{display:block;height:100%;background:linear-gradient(#d4a66b,#ab6e3b);transition:width .1s linear}.battle-counter{height:34px;padding:0 13px;line-height:34px;background:#11291fe6;border:1px solid #9caa6466;font-size:11px;color:#bdcba9}.battle-counter i{display:inline-block;height:5px;width:5px;margin-right:7px;background:#bad18c;border-radius:50%;box-shadow:0 0 6px #aac47988}.battle-info-line{height:23px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#b6c6a4}.battle-info-line strong{color:var(--gold);font-weight:400}.pause-button{height:23px;padding:0 9px;border:1px solid #8d9e5e66;background:#1c352488;font-size:10px}.battle-team-row{height:53px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero-health{height:53px;padding:6px 10px;display:flex;align-items:center;gap:9px;border:1px solid #8f9e6066;background:#10281d77}.hero-health img{height:39px;width:32px;object-fit:contain}.hero-health>div{min-width:0;flex:1}.hero-health strong{display:block;height:15px;line-height:15px;font-size:11px;font-weight:400;color:#dddaba}.hero-health .hp-bar{height:5px;margin-top:2px}.hero-health .hp-bar i{background:linear-gradient(90deg,#859f75,#c1d09b)}.hero-health small{display:block;height:12px;line-height:12px;font-size:8px;color:#a4bd91;margin-top:2px}.hero-health.fallen{opacity:.4}.pause-overlay{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:90px;z-index:5;background:#10271dbb;color:#e3cd94;font:43px var(--heading);text-shadow:0 3px #263924}
.collection-header .eyebrow{font-size:9px;line-height:14px;letter-spacing:1px;color:#beaa78}.collection-header h1{font:32px/38px var(--heading);font-weight:400;color:#ecd9ac;text-shadow:0 2px #263522}.collection-header p{font-size:11px;line-height:18px;color:#aebf9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-header .balance{width:175px;height:61px;display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 12px;border:1px solid #ac9a6366;background:#79673522;font:27px var(--heading);font-variant-numeric:tabular-nums}.collection-header .balance .item-icon{height:36px;width:30px}.collection-header .balance small{display:block;height:16px;line-height:16px;font:9px var(--body);color:#b3c09e}.skill-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.skill-branch{min-width:0}.branch-name{height:26px;font:23px/26px var(--heading);font-weight:400;color:#d4c99c;display:flex;align-items:center;gap:12px;margin-bottom:12px}.branch-name:after{content:'';flex:1;height:1px;background:linear-gradient(90deg,#94a06466,transparent)}.skill-card{position:relative;height:112px;margin-bottom:10px;padding:10px 12px 10px 70px;background:linear-gradient(120deg,#4b5e3633,#18301fbb);border:1px solid #8b9c6277;box-shadow:inset 0 1px #c0cb9422}.skill-card.can-buy{border-color:#bea56caa;background:linear-gradient(120deg,#92773c33,#26371fbb)}.skill-card+.skill-card:before{content:'';position:absolute;top:-11px;left:30px;height:10px;width:1px;background:#b7b67577}.skill-card>.item-icon{position:absolute;left:11px;top:23px;width:46px;height:55px}.skill-card h3{height:23px;font:20px/23px var(--heading);font-weight:400;display:flex;align-items:center;justify-content:space-between;gap:7px;white-space:nowrap}.skill-card h3 small{font:9px var(--body);color:#a9bc96}.skill-card p{height:28px;line-height:14px;font-size:10px;color:#aebf9e;margin:4px 0 6px;overflow:hidden}.skill-card .research-button{height:26px;min-height:26px}.permanent-note,.ranking-note{margin:15px 0 0;font-size:10px;line-height:18px;color:#a0b892}.permanent-note svg{height:14px;width:14px}.inline-notice{height:34px;line-height:20px;margin-bottom:12px;padding:6px 12px;border:1px solid #b6a56955;background:#a1903b11;color:#d0c599;font-size:10px}
.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:226px;gap:14px}.achievement-card{position:relative;height:226px;padding:16px;border:1px solid #82965b77;background:linear-gradient(135deg,#53653a33,#17301caa);box-shadow:inset 0 1px #c0ca8b14}.achievement-card.unlocked{border-color:#c2a666aa;background:linear-gradient(135deg,#a08b3d33,#26371caa)}.achievement-card.claimed{border-color:#91a86c88}.achievement-card>.item-icon{height:39px;width:39px;margin-bottom:8px}.achievement-card.locked>.item-icon{filter:grayscale(.8) brightness(.7)}.achievement-card h3{height:27px;font:21px/27px var(--heading);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-card>p{height:33px;line-height:16px;font-size:10px;color:#a9bd99;overflow:hidden}.achievement-progress{height:18px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a7ba94;margin-top:8px}.achievement-card .research-button{position:absolute;left:16px;bottom:15px}.claimed-label{position:absolute;right:13px;top:16px;font-size:9px;color:#b9cca3}.claimed-label svg{height:13px;width:13px;margin-right:4px}
.contracts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-top:7px}.contract-card{position:relative;height:326px;padding:21px;border:1px solid #ac9d6577;background:linear-gradient(145deg,#6a6b3f44,#20351fbb);box-shadow:inset 0 1px #c5bd7d22}.contract-card:before{content:'';position:absolute;top:-6px;left:calc(50% - 5px);height:11px;width:11px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#c8bb89,#837148);box-shadow:0 2px 4px #0006}.contract-seal{height:58px;width:58px;display:grid;place-items:center;border-radius:50%;border:1px solid #aea56b66;background:#9f8b3d22;margin-bottom:15px}.contract-seal .item-icon{height:46px;width:46px}.contract-card h3{height:54px;font:24px/27px var(--heading);font-weight:400;overflow:hidden}.contract-card>p{height:38px;font-size:11px;line-height:18px;color:#b0c09e;overflow:hidden}.contract-card>.achievement-progress{margin-top:10px}.contract-reward{position:absolute;left:21px;right:21px;bottom:20px;height:43px;border-top:1px solid #92a05b66;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.contract-reward>span{display:flex;align-items:center;gap:5px;color:#dcc78e;font-size:11px}.contract-reward .item-icon{height:24px;width:24px}.contract-reward .secondary-button{height:32px;min-height:32px}
.warehouse-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;height:62px;margin-bottom:18px}.ore-stock{height:62px;padding:7px 12px;display:flex;align-items:center;gap:10px;border:1px solid #8c9d5f66;background:#3b512833}.ore-stock .item-icon{width:43px;height:43px}.ore-stock small{display:block;font-size:10px;line-height:15px;height:15px;color:#aabd97}.ore-stock strong{font:26px/30px var(--heading);font-weight:400}.warehouse-section-title{height:30px;display:flex;align-items:center;gap:12px;font:24px/30px var(--heading);font-weight:400;margin:16px 0 12px}.warehouse-section-title small{font:10px var(--body);color:#a6b996}.collection-scroll:has(.warehouse-top)>.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:248px}.weapon-card{height:248px;padding:14px;border:1px solid #8b9e6277;background:linear-gradient(130deg,#4d603833,#17301caa);display:grid;grid-template-rows:64px 36px 18px 5px 66px;gap:5px}.weapon-top{display:flex;align-items:center;gap:11px;min-width:0}.weapon-top>.item-icon{height:59px;width:47px}.weapon-top>div{min-width:0;flex:1}.weapon-card h3{height:42px;font:20px/21px var(--heading);font-weight:400;overflow:hidden}.weapon-top small{display:block;height:14px;font-size:9px;line-height:14px;color:#a8be92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.weapon-details{display:flex;gap:27px;align-items:center}.weapon-details span{font-size:15px;color:#ddd5ac;line-height:20px}.weapon-details small{display:block;height:12px;line-height:12px;font-size:9px;color:#a8bd94}.weapon-card>.achievement-progress{margin:0}.weapon-card>.power-meter{margin:0}.weapon-actions{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:30px;gap:6px}.weapon-actions button{height:30px;min-height:30px;font-size:10px;padding:0 7px}.weapon-actions select{height:30px;padding:0 7px;background:#1b321d;border:1px solid #8f9e6366;border-radius:1px;font-size:10px;color:#c4d2ae}.empty-space{min-height:110px;border:1px dashed #85965b66;background:#17301a33;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px;font-size:12px;color:#a7bd94;line-height:22px}
.rankings-panel{border:1px solid #8d9d6166;background:#152d1e99;overflow:hidden}.ranking-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left}.ranking-table th{height:36px;padding:0 20px;font-weight:400;font-size:11px;color:#b0c09c;background:#364a2bdd;border-bottom:1px solid #8b9e5f66}.ranking-table td{height:44px;padding:0 20px;font-size:13px;border-bottom:1px solid #8b9e5f33;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ranking-table th:first-child,.ranking-table td:first-child{width:100px}.ranking-table td:first-child{font:22px var(--heading);color:#d8c38c}.ranking-table th:last-child,.ranking-table td:last-child{width:190px}.ranking-table td:last-child{font:24px var(--heading);color:var(--gold)}.ranking-table .mine{background:#b4a14b22}.mine-label{font-size:9px;padding:2px 6px;margin-left:7px;border:1px solid #aab87a66;color:#b9cda0}.rank-empty{height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;font-size:12px;color:#aec59a;line-height:22px;text-align:center}.rank-empty svg{height:36px;width:36px;color:#c4af76}.ranking-note{min-height:36px}
.modal-eyebrow{font-size:10px;line-height:16px;color:#beaa76;letter-spacing:1px}.modal h2{font:33px/40px var(--heading);font-weight:400;color:#efdcac;text-shadow:0 3px #2b3b24;white-space:nowrap}.modal-close{width:30px;height:30px;display:grid;place-items:center;color:#d2d7b5;border:1px solid #a9a16b55;background:#233827cc}.modal-close svg{width:17px;height:17px}.modal-intro{font-size:12px;line-height:21px;text-align:center;color:#afc09e;margin-bottom:18px}.confirm-text{font-size:13px;line-height:25px;color:#bec9a9;text-align:center;padding:30px 15px}.modal-actions{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;height:54px;margin:0}.modal-actions>.primary-button,.modal-actions>.secondary-button{height:44px;min-height:44px;width:236px;padding:0 14px;flex-shrink:0}.modal-actions>.secondary-button{font-size:13px}.modal-actions>.subtle-button{height:40px}.base-reward{height:30px;line-height:14px;font-size:10px;color:#a5b894;text-align:center;margin:0;overflow:hidden}.reward-cards{height:290px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.reward-card{position:relative;height:290px;padding:19px 15px 57px;border:1px solid #b19f6677;background:linear-gradient(145deg,#a18b3d33,#173020b8);box-shadow:inset 0 1px #dbca8922;text-align:center;display:flex;flex-direction:column;align-items:center}.reward-card:hover{border-color:#dec080;background:linear-gradient(145deg,#a18b3d44,#203721cc)}.reward-rarity{height:15px;font-size:10px;letter-spacing:1px;color:#c5ba87}.reward-card>.item-icon{height:78px;width:78px;margin:12px 0}.reward-card h3{height:32px;font:23px/32px var(--heading);font-weight:400;white-space:nowrap}.reward-card p{height:40px;font-size:11px;line-height:19px;color:#b0c09e;margin-top:8px;overflow:hidden}.reward-card>.secondary-button{position:absolute;left:calc(50% - 68px);bottom:17px;width:136px;height:35px;min-height:35px;border-color:#c1a66b99;color:#e7cf94;background:#8e773522}.gameover-number{height:96px;font:85px/96px var(--heading);text-align:center;color:#e3c98e}.gameover-number small{font:16px var(--body);margin-left:9px;color:#aebf9e}.gameover-stats{height:74px;display:flex;align-items:center;justify-content:center;gap:65px;text-align:center;font:29px var(--heading);color:#ddca92;margin-top:16px}.gameover-stats small{display:block;height:23px;line-height:23px;font:11px var(--body);color:#a9be98}.settings-row{height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 4px;border-bottom:1px solid #859a5844;color:#c1cfaf;font-size:13px}.settings-row>span:first-child{flex:1;min-width:0}.settings-row small{display:block;height:18px;line-height:18px;font-size:10px;color:#9fb78d;margin-top:5px;white-space:nowrap}.settings-row>.secondary-button{width:118px;flex-shrink:0;font-size:12px}.settings-row input{width:200px;height:14px;flex-shrink:0}.save-description{height:69px;padding:12px 16px;background:#11281977;border:1px solid #81995855;font-size:11px;line-height:20px;color:#a7bd94;margin-top:15px;overflow:hidden}.help-steps{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:131px 131px;gap:15px}.help-step{height:131px;padding:15px 17px;border:1px solid #8b9f5c66;background:#19331d66}.help-step h3{height:28px;font:22px/28px var(--heading);font-weight:400;color:#d9c893;margin-bottom:7px}.help-step p{font-size:11px;line-height:20px;color:#afc39d}.help-step b{font-weight:400;color:#e0d3a0}
.save-indicator{display:flex;align-items:center;gap:6px;font-size:9px;color:#a3b695;white-space:nowrap}.save-indicator i{height:4px;width:4px;border-radius:50%;background:#a8c198}.save-indicator.warning i{background:#dab777}.save-indicator.error i{background:#dd9782}.footer-tip{display:none}.footer-actions{display:flex;align-items:center;gap:20px}.footer-actions button{height:24px;font-size:10px;color:#a7b99a;padding:0}.footer-actions button:last-child{width:60px}.toast{height:65px;padding:11px 16px;border:1px solid #b4a269aa;background:linear-gradient(110deg,#30472df2,#142e20f5);font-size:11px;line-height:20px;box-shadow:0 7px 22px #0006;overflow:hidden;animation:fade-in .13s ease}.toast.error{border-color:#ba8c63;color:#ebc4a1}
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fire-light{50%{opacity:.4}}@keyframes smith-breathe{50%{transform:translateY(-4px) rotate(-1deg)}}
