.combat-panel{grid-column:1 / -1;display:flex;flex-direction:column;gap:14px;padding:0;border:0;background:transparent;box-shadow:none;color:#e8dcc6}.combat-panel--empty{min-height:180px;justify-content:center;padding:18px;border:1px solid rgba(190,154,87,.22);background:#0e1011d6}.combat-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:0 2px}.combat-panel__header-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.combat-panel__header-copy h2{color:#f2dfbd;font-size:1.1rem;line-height:1.2}.combat-panel__header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.combat-panel__header-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.combat-panel .pill{min-height:26px;padding:4px 8px;border:1px solid rgba(190,154,87,.2);background:#141819c7;color:#dac59c;font-size:.75rem}.combat-panel__back-button{min-height:30px;padding:6px 10px}.combat-panel__tabs{display:flex;gap:6px;border:0}.combat-panel__tab{min-height:30px;padding:5px 12px;border:1px solid rgba(190,154,87,.18);background:#101212b3;color:#e8dcc6ad;font:inherit;cursor:pointer}.combat-panel__tab--active{border-color:#be9a576b;background:#232927e6;color:#f4dfb2;font-weight:700}.combat-panel__tab:disabled{cursor:default;opacity:.48}.combat-panel__status{display:flex;align-items:center;gap:10px;margin:0;padding:8px 10px;border:1px solid rgba(190,154,87,.16);background:#0a0d0eb8}.combat-panel__summary{margin:0;min-width:0;color:#e8dcc6bd;font-size:.86rem;line-height:1.4}.battle-layout{display:grid;grid-template-columns:minmax(520px,640px) minmax(320px,1fr);gap:16px;align-items:start;justify-content:start}.battle-stage-frame,.battle-info-frame{border:1px solid rgba(190,154,87,.22);background:#0a0d0ed6;box-shadow:0 16px 34px #00000047}.battle-stage-frame{width:100%;max-width:640px;aspect-ratio:1 / 1;overflow:hidden}.battle-stage{position:relative;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;overflow:hidden;background-color:#101419;background-position:center bottom;background-repeat:no-repeat;background-size:cover;image-rendering:pixelated}.battle-stage__overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background:linear-gradient(90deg,#0508097a,#05080914 34%,#05080985),linear-gradient(180deg,#ffeebe0f,#080a0c57);pointer-events:none}.battle-info-column{display:grid;grid-template-rows:auto minmax(180px,1fr);gap:12px}.battle-info-frame{min-width:0;display:flex;flex-direction:column;gap:8px;padding:12px}.battle-info-frame--log{min-height:260px}.battle-info-frame__title{display:flex;align-items:center;justify-content:space-between;min-height:24px;padding-bottom:8px;border-bottom:1px solid rgba(190,154,87,.16);color:#f1d69a;font-size:.86rem;font-weight:700}.battle-skill-list{display:flex;flex-direction:column;gap:10px}.battle-skill-list__group{display:grid;grid-template-columns:54px repeat(4,minmax(0,1fr));gap:5px;align-items:stretch;grid-template-areas:"name slot1 slot2 slot3 slot4"}.battle-skill-list__group-title{grid-area:name;display:grid;place-items:center;gap:2px;min-height:48px;padding:5px;border:1px solid rgba(83,151,145,.22);background:#142a289e;color:#bfe9df;font-size:.68rem;font-weight:700;text-align:center}.battle-skill-list__group-title img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.battle-skill-list__item{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:48px;padding:5px 6px;border:1px solid rgba(190,154,87,.14);background:#121515c7;color:#e8dcc6d1}.battle-skill-list__item:nth-child(2){grid-area:slot1}.battle-skill-list__item:nth-child(3){grid-area:slot2}.battle-skill-list__item:nth-child(4){grid-area:slot3}.battle-skill-list__item:nth-child(5){grid-area:slot4}.battle-skill-list__item--empty{opacity:.42}.battle-skill-list__empty-state{grid-column:2 / -1;display:grid;place-items:center;min-height:48px;padding:5px 6px;border:1px dashed rgba(190,154,87,.2);background:#1215158a;color:#e8dcc694;font-size:.78rem;font-weight:700}.battle-skill-list__item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.battle-skill-list__item-cd{color:#d8b86c;font-size:.74rem;font-variant-numeric:tabular-nums;white-space:nowrap}.combat-log-panel{min-height:0;max-height:none;overflow:auto;padding:0;border:0;background:transparent}.combat-log-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.combat-log-select{min-height:28px;border:1px solid rgba(190,154,87,.24);background:#0c0f0ff0;color:#e8dcc6;font-size:.78rem}.combat-log-meta{color:#e8dcc68a;font-size:.72rem;white-space:nowrap}.combat-log{display:flex;flex-direction:column;gap:5px}.combat-log-entry{min-height:28px;padding:6px 8px;border-left:2px solid rgba(190,154,87,.18);background:#121515b8}.combat-log-entry p{margin:0;color:#e8dcc6c2;font-size:.8rem;line-height:1.42}.combat-log-entry--damage{border-left-color:#d2564cb3}.combat-log-entry--damage p,.damage-float--damage{color:#e25d50}.combat-log-entry--heal{border-left-color:#57be7fb8}.combat-log-entry--heal p,.damage-float--heal{color:#62d68f}.combat-log-entry--system p{color:#e8dcc694}.combat-log-entry--ally{border-left-color:#5acdbead}.combat-log-entry--ally p{color:#aeece0}.combat-log-entry--enemy{border-left-color:#e25d50b8}.combat-log-entry--enemy p{color:#f0a49a}.combat-log-entry__time{margin-right:4px;color:#d8b86cb8;font-size:.78em;font-variant-numeric:tabular-nums}.combat-unit{position:absolute;display:flex;flex-direction:column;align-items:center;gap:8px;image-rendering:pixelated;transition:transform .18s ease-out,opacity .18s ease-out,filter .18s ease-out}.combat-unit--ally{left:8%}.combat-unit--enemy{right:8%}.combat-unit--ally[data-side-count="1"],.combat-unit--enemy[data-side-count="1"]{bottom:30%}.combat-unit--ally[data-side-count="2"],.combat-unit--enemy[data-side-count="2"]{bottom:calc(10% + var(--slot-index, 0) * 38%)}.combat-unit--ally[data-side-count="3"],.combat-unit--enemy[data-side-count="3"]{bottom:calc(5% + var(--slot-index, 0) * 28%)}.combat-unit[data-side-count="2"],.combat-unit[data-side-count="3"]{z-index:calc(2 + var(--slot-index, 0))}.combat-unit__sprite{display:flex;align-items:flex-end;justify-content:center;width:150px;height:150px;padding:16px;border:none;background:transparent;box-shadow:inset 0 0 0 1px #ffffff0a,0 10px 20px #00000038}.combat-unit__sprite-image{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 10px 10px rgba(0,0,0,.28))}.combat-unit--enemy .combat-unit__sprite-image{transform:scaleX(-1)}.combat-unit__sprite-fallback{width:160px;height:200px;background:linear-gradient(180deg,#de8271 0,#de8271 18%,#a64242 18%,#a64242 70%,#5f2528 70%);box-shadow:inset 0 0 0 2px #ffffff14,0 8px #0000002e}.combat-unit--ally .combat-unit__sprite-fallback{background:linear-gradient(180deg,#89d6cf 0,#89d6cf 18%,#3d8b93 18%,#3d8b93 70%,#245663 70%)}.combat-unit__hud{width:154px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border:none;background:transparent}.combat-unit__hud-name{overflow:hidden;color:#f1dfbf;font-size:.68rem;line-height:1.1;text-align:center;text-overflow:ellipsis;text-shadow:1px 1px 0 rgba(0,0,0,.8);white-space:nowrap}.combat-unit__hud-hp,.combat-unit__hud-shentong,.cast-bar{position:relative;height:6px;overflow:hidden;background:#0000006b}.combat-unit__hud-shentong-empty{min-height:15px;padding:2px 5px;border:1px dashed rgba(216,184,108,.28);color:#e8dcc69e;font-size:.58rem;line-height:1.2;text-align:center}.combat-unit__hud-hp-fill,.combat-unit__hud-shentong-fill,.cast-bar__fill{height:100%}.combat-unit__hud-hp-fill{background:#c9473f}.combat-unit__hud-shentong-fill,.cast-bar__fill{background:#d8b86c}.combat-unit__hud-hp-text{position:absolute;top:-1px;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#ffffffd1;font-size:.52rem;font-variant-numeric:tabular-nums;line-height:1}.combat-unit--active{filter:drop-shadow(0 0 8px rgba(99,222,210,.82))}.combat-unit--active:after{content:"";position:absolute;left:16px;right:16px;bottom:168px;height:24px;background:radial-gradient(ellipse at center,rgba(222,190,94,.5),transparent 70%);pointer-events:none}.combat-unit--dead{opacity:.48;filter:grayscale(.8)}.cast-bar__fill{width:0%;animation:cast-fill var(--cast-duration, .6s) linear forwards}.damage-float{position:absolute;top:-8px;left:50%;z-index:10;transform:translate(-50%);animation:float-up .9s ease-out forwards;font-size:1rem;font-weight:800;line-height:1;pointer-events:none;text-shadow:1px 1px 0 rgba(0,0,0,.9);white-space:nowrap}.damage-float--shentong{color:#d8b86c}@keyframes float-up{0%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(-34px)}}.battle-result-banner{align-self:stretch;justify-content:flex-start;gap:12px;border:1px solid rgba(190,154,87,.22);background:#0a0d0edb;color:#f1dfbf}@media(max-width:1100px){.battle-layout{grid-template-columns:minmax(420px,560px) minmax(280px,1fr)}.battle-skill-list__group{grid-template-columns:50px repeat(4,minmax(0,1fr))}}@media(max-width:820px){.battle-layout{grid-template-columns:1fr}.battle-info-column{grid-template-rows:auto auto}.battle-stage-frame{max-width:min(100%,560px);justify-self:center}.battle-skill-list__group{grid-template-columns:50px minmax(0,1fr);grid-template-areas:"name slot1" "name slot2" "name slot3" "name slot4"}}@media(max-width:560px){.combat-panel__header,.combat-panel__header-actions,.combat-panel__status{align-items:stretch;flex-direction:column}.combat-panel__header-actions{gap:8px}.battle-info-frame{padding:10px}.combat-unit__sprite{width:120px;height:120px;padding:12px}.combat-unit__sprite-fallback{width:120px;height:150px}.combat-unit__hud{width:124px}.combat-unit__hud-name{font-size:.6rem}.combat-unit--ally{left:4%}.combat-unit--enemy{right:4%}.combat-unit--ally[data-side-count="1"],.combat-unit--enemy[data-side-count="1"]{bottom:30%}.combat-unit--ally[data-side-count="2"],.combat-unit--enemy[data-side-count="2"]{bottom:calc(8% + var(--slot-index, 0) * 36%)}.combat-unit--ally[data-side-count="3"],.combat-unit--enemy[data-side-count="3"]{bottom:calc(4% + var(--slot-index, 0) * 30%)}}.combat-panel{gap:12px;color:#e8dcc6}.combat-panel--empty{min-height:0;justify-content:flex-start;padding:12px 14px;border-color:#be9a5733;background:#0a0d0edb}.combat-panel--empty h2{margin:0;color:#f2dfbd;font-size:1rem}.combat-panel--empty .muted-text{margin:0;color:#e8dcc6a8;font-size:.84rem}.combat-panel__header{align-items:center;padding:0}.combat-panel__header-copy h2{font-size:1rem}.combat-panel__tabs{gap:4px;padding:4px;border:1px solid rgba(190,154,87,.14);background:#080b0ca8}.combat-panel__tab{min-height:28px;padding:4px 10px}.combat-panel__status{padding:7px 9px;border-color:#be9a5729;background:#0a0d0ec7}.combat-unit--enemy .combat-unit__hud-hp,.combat-unit--enemy .combat-unit__hud-shentong{display:none}.combat-settlement-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(190,154,87,.2);background:#0a0d0ed1}.combat-settlement-card__copy{display:flex;align-items:center;gap:10px}.combat-settlement-card__copy p{margin:0;color:#e8dcc6b8;font-size:.86rem;line-height:1.4}.combat-settlement-card__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.combat-settlement-card__stats div{min-width:0;padding:8px;border:1px solid rgba(190,154,87,.14);background:#0f1212b3}.combat-settlement-card__stats dt,.combat-settlement-card__stats dd{margin:0}.combat-settlement-card__stats dt{color:#e8dcc680;font-size:.74rem}.combat-settlement-card__stats dd{margin-top:3px;color:#f2dfbd;font-weight:700}.combat-settlement-card__actions{display:flex;gap:8px}.combat-settlement-card__actions button{min-height:32px}.battle-history{padding:10px;border:1px solid rgba(190,154,87,.16);background:#0a0d0eb8}.battle-history__categories{gap:4px;margin-bottom:8px;padding:4px;border:1px solid rgba(190,154,87,.12);background:#080b0ca3}.battle-history__cat-tab{min-height:28px;padding:4px 9px;border:1px solid transparent;background:transparent;color:#e8dcc6a3}.battle-history__cat-tab--active{border-color:#53979157;background:#142a28c2;color:#bfe9df}.battle-history__list{gap:5px}.battle-history__item{min-height:32px;padding:6px 8px;border-left:2px solid rgba(190,154,87,.22)}.battle-history__item-status--victory{background:#5397912e;color:#bfe9df}.battle-history__item-status--defeat{background:#d2564c2e;color:#e25d50}.battle-history__empty,.battle-history .muted-text{margin:0;padding:8px 10px;border:1px dashed rgba(190,154,87,.18);background:#1215158f;color:#e8dcc694;font-size:.8rem;line-height:1.35;text-align:left}@media(max-width:560px){.combat-panel{gap:9px}.combat-panel__header,.combat-panel__header-actions,.combat-panel__status{gap:8px}.combat-panel__header-pills,.combat-panel__tabs,.battle-history__categories{flex-wrap:wrap}.combat-panel__back-button,.combat-panel__tab,.battle-history__cat-tab{width:auto}.combat-settlement-card{padding:10px}.combat-settlement-card__copy,.combat-settlement-card__actions{align-items:stretch;flex-direction:column}.combat-settlement-card__stats{grid-template-columns:repeat(3,minmax(0,1fr))}.battle-history{padding:8px}.battle-history__item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 6px}.battle-history__item-time,.battle-history__item-noreplay{grid-column:1 / -1;min-width:0;text-align:left}}.combat-panel .battle-layout{grid-template-columns:minmax(360px,640px) minmax(320px,1fr);align-items:start}.combat-panel .battle-stage-frame{width:min(100%,640px);max-width:640px;aspect-ratio:1 / 1}.combat-panel .battle-stage{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:1 / 1}.combat-panel .combat-unit--ally{left:8%}.combat-panel .combat-unit--enemy{right:8%}.combat-panel .combat-log-panel{max-height:none;padding:0}.combat-panel .combat-log{gap:1px}.combat-panel .combat-log-entry{min-height:0;padding:2px 6px}.combat-panel .combat-log-entry p{font-size:.76rem;line-height:1.18}@media(max-width:720px){.combat-panel .battle-layout{grid-template-columns:1fr}.combat-panel .battle-stage-frame{width:min(100%,520px)}}.map-panel--stage-view{grid-column:1 / -1;display:flex;flex-direction:column;gap:14px;color:#e8dcc6}.map-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0}.map-panel-heading-copy{min-width:0}.map-panel-heading-copy h2,.map-panel-heading-copy p{margin:0}.map-panel-heading-copy h2{color:#f2dfbd;font-size:1.18rem;line-height:1.2}.map-panel-heading-copy .muted-text{margin-top:5px;color:#e8dcc6a8}.map-topbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.map-panel--stage-view .pill{min-height:26px;padding:4px 8px;border:1px solid rgba(190,154,87,.2);background:#121616c7;color:#dac59c;font-size:.75rem}.map-panel--stage-view .map-panel-layout{display:grid;grid-template-columns:minmax(360px,520px) minmax(320px,380px);gap:12px;align-items:stretch;justify-content:start;width:fit-content;max-width:100%}.map-panel--stage-view .map-panel-main--stage{min-width:0;display:flex;justify-content:flex-start}.map-stage-shell{width:min(100%,520px);aspect-ratio:2 / 3;min-height:0;border:1px solid rgba(190,154,87,.24);background:#0a0d0edb;box-shadow:0 18px 36px #0000004d;overflow:hidden}.map-stage-visual{position:relative;width:100%;height:100%;overflow:hidden;background-color:#101419;background-position:center;background-repeat:no-repeat;background-size:cover;image-rendering:pixelated}.map-stage-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#070a0c14,#070a0c42),linear-gradient(90deg,rgba(7,10,12,.22),transparent 22%,transparent 72%,rgba(7,10,12,.24));pointer-events:none}.map-stage-badge{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:2px;max-width:calc(100% - 24px);padding:7px 9px;border:1px solid rgba(190,154,87,.28);background:#080b0cb8}.map-stage-player{position:absolute;left:50%;bottom:18%;z-index:2;width:clamp(56px,13%,92px);height:auto;image-rendering:pixelated;transform:translate(-50%);filter:drop-shadow(0 8px 0 rgba(0,0,0,.24)) drop-shadow(0 0 8px rgba(191,233,223,.42));pointer-events:none}.map-stage-badge span{color:#e8dcc6a3;font-size:.72rem}.map-stage-badge strong{overflow:hidden;color:#f1d69a;font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.map-panel--stage-view .map-side-module{min-width:0;height:100%;min-height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px}.map-intel-section{min-width:0;display:flex;flex-direction:column;gap:8px;padding:11px;border:1px solid rgba(190,154,87,.2);background:#0a0d0ed6;box-shadow:0 14px 28px #0003}.map-side-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px;padding-bottom:7px;border-bottom:1px solid rgba(190,154,87,.15)}.map-side-title span{color:#f1d69a;font-size:.82rem;font-weight:700}.map-side-title strong{overflow:hidden;color:#e8dcc69e;font-size:.74rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.map-summary-grid,.map-control-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}.map-summary-grid div,.map-control-stats div{min-width:0;padding:7px 8px;border:1px solid rgba(190,154,87,.12);background:#121616ad}.map-summary-grid dt,.map-control-stats dt{margin:0 0 3px;color:#e8dcc68a;font-size:.7rem}.map-summary-grid dd,.map-control-stats dd{margin:0;color:#f2dfbd;font-size:.9rem;font-variant-numeric:tabular-nums;font-weight:700}.map-average-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.map-average-scope button{min-height:28px;border:1px solid rgba(190,154,87,.16);background:#121616b8;color:#e8dcc6ad;font-size:.72rem}.map-average-scope button.active{border-color:#5397916b;background:#14373399;color:#bfe9df}.map-progress-stack{display:flex;flex-direction:column;gap:7px}.map-progress-row{display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid rgba(190,154,87,.12);background:#101414b8}.map-progress-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e8dcc694;font-size:.7rem}.map-progress-label strong{color:#f2dfbd;font-size:.78rem;font-variant-numeric:tabular-nums}.map-progress-track{position:relative;height:7px;overflow:hidden;border:1px solid rgba(190,154,87,.16);background:#06090ad1}.map-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#be9a57b3,#f1d69aeb)}.map-progress-track--energy span{background:linear-gradient(90deg,#539791b8,#bfe9dff0)}.map-offline-note{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;padding:8px;border:1px solid rgba(83,151,145,.24);background:#142a2899}.map-offline-note strong,.map-offline-note span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-offline-note strong{color:#bfe9df;font-size:.78rem}.map-offline-note span{color:#e8dcc6a6;font-size:.72rem}.map-offline-note button{grid-row:1 / span 2;grid-column:2;min-height:26px;padding:3px 8px}.map-latest-event{display:flex;flex-direction:column;gap:7px}.map-latest-event div{display:flex;flex-direction:column;gap:4px}.map-latest-event span{width:fit-content;padding:2px 6px;border:1px solid rgba(83,151,145,.24);color:#bfe9df;font-size:.7rem}.map-latest-event strong{color:#e8dcc6db;font-size:.85rem;line-height:1.45}.map-latest-event p,.map-empty-line{margin:0;color:#e8dcc694;font-size:.76rem;line-height:1.4}.map-intel-section--log{min-height:0}.map-log-list{min-height:0;max-height:min(48vh,640px);overflow:auto;display:flex;flex-direction:column;gap:3px;padding-right:2px}.map-log-row{display:grid;grid-template-columns:58px 48px minmax(0,1fr);gap:7px;align-items:center;min-height:30px;padding:5px 7px;border-left:2px solid rgba(190,154,87,.22);background:#121616a8}.map-log-row span,.map-log-row strong,.map-log-row p,.map-log-row em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-log-row span{color:#d8b86cbf;font-size:.7rem;font-variant-numeric:tabular-nums}.map-log-row strong{color:#bfe9df;font-size:.74rem}.map-log-row p{margin:0;color:#e8dcc6bd;font-size:.76rem}.map-log-row em{grid-column:3;color:#e8dcc66b;font-size:.68rem;font-style:normal}.map-control-field{display:flex;flex-direction:column;gap:5px;color:#e8dcc694;font-size:.72rem}.map-control-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.map-control-field select{width:100%;min-height:34px;border:1px solid rgba(190,154,87,.22);background:#121616e6;color:#f2dfbd}.map-command-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.map-command-dock .primary-button,.map-command-dock .secondary-button{min-height:34px;padding:7px 10px}.map-panel--stage-view .feedback{margin:0;color:#e25d50}@media(min-width:1180px){.map-panel--stage-view .map-panel-layout{grid-template-columns:minmax(520px,520px) minmax(340px,380px)}}@media(max-width:960px){.map-panel--stage-view .map-panel-layout{grid-template-columns:1fr;width:100%}.map-stage-shell{max-width:520px;justify-self:center}.map-panel--stage-view .map-side-module{height:auto;grid-template-rows:auto auto minmax(220px,1fr) auto}}@media(max-width:620px){.map-panel-heading,.map-topbar-actions{align-items:stretch;flex-direction:column}.map-stage-shell{width:min(100%,420px)}.map-summary-grid,.map-control-stats,.map-control-fields,.map-command-dock{grid-template-columns:1fr}.map-log-row{grid-template-columns:54px 42px minmax(0,1fr)}.map-log-row em{display:none}}.map-panel--stage-view{gap:12px}.map-panel-heading{padding:0}.map-intel-section{border-color:#be9a572e;background:#090c0ddb}.map-summary-grid div,.map-control-stats div,.map-log-row{border-color:#be9a571f;background:#101414ad}.map-empty-line{padding:7px 8px;border:1px dashed rgba(190,154,87,.16);background:#1216167a}@media(max-width:620px){.map-panel--stage-view{gap:9px}.map-panel-heading{gap:8px}.map-panel-heading-copy h2{font-size:1rem}.map-panel-heading-copy .muted-text{display:none}.map-topbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.map-panel--stage-view .pill{min-width:0;justify-content:flex-start;min-height:24px;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-stage-shell{width:min(100%,360px)}.map-panel--stage-view .map-side-module{gap:8px;grid-template-rows:auto auto auto auto}.map-intel-section{gap:7px;padding:9px}.map-side-title{min-height:22px;padding-bottom:5px}.map-summary-grid div,.map-control-stats div{padding:6px 7px}.map-offline-note{grid-template-columns:1fr}.map-offline-note button{grid-column:auto;grid-row:auto;width:100%}.map-log-list{max-height:180px}.map-log-row{min-height:28px;padding:4px 6px}.map-command-dock{gap:6px}}:root{color-scheme:light;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,serif;color:#241911;background:radial-gradient(circle at top,rgba(211,160,88,.22),transparent 38%),linear-gradient(135deg,#efe3cf,#dbc1a2 46%,#c28f5a);--hud-bg-main: rgba(18, 14, 10, .94);--hud-bg-panel: rgba(30, 24, 16, .92);--hud-bg-light: rgba(40, 32, 20, .85);--hud-bg-soft: rgba(50, 40, 28, .78);--hud-bg-dim: rgba(18, 14, 10, .5);--hud-line-soft: rgba(135, 87, 35, .1);--hud-line-mid: rgba(135, 87, 35, .15);--hud-line-strong: rgba(135, 87, 35, .25);--hud-line-gold: rgba(180, 150, 100, .15);--hud-line-jade: rgba(77, 168, 184, .2);--hud-line-red: rgba(192, 57, 43, .25);--hud-text: rgba(212, 196, 168, 1);--hud-text-mid: rgba(212, 196, 168, .72);--hud-text-dim: rgba(212, 196, 168, .5);--hud-text-faint: rgba(212, 196, 168, .4);--hud-shadow-panel: rgba(0, 0, 0, .6);--hud-shadow-card: rgba(92, 54, 18, .14);--hud-shadow-subtle: rgba(92, 54, 18, .1);--hud-accent-jade: rgba(99, 183, 166, .16);--hud-accent-gold: rgba(212, 196, 168, .12);--hud-accent-red: rgba(192, 57, 43, .2);--hud-accent-green: rgba(109, 190, 122, .2);--hud-parchment: rgba(247, 235, 218, .88);--hud-parchment-dim: rgba(247, 235, 218, .7);--bg-parchment: rgba(255, 251, 245, .92);--bg-parchment-dim: rgba(255, 248, 237, .76);--bg-parchment-bright: rgba(255, 250, 243, .98);--bg-card: rgba(255, 251, 245, .92);--bg-panel: linear-gradient(180deg, var(--bg-parchment-bright), var(--bg-parchment));--border-light: rgba(84, 48, 12, .12);--border-warm: rgba(135, 87, 35, .1);--border-warm-mid: rgba(141, 90, 34, .12);--border-warm-strong: rgba(141, 90, 34, .46);--border-gold: rgba(180, 150, 100, .2);--border-gold-dim: rgba(180, 150, 100, .1);--text-primary: rgba(56, 38, 22, .82);--text-secondary: rgba(89, 60, 32, .72);--text-tertiary: rgba(89, 60, 32, .68);--text-dim: rgba(97, 65, 36, .72);--text-faint: rgba(135, 87, 35, .5);--shadow-panel: rgba(92, 54, 18, .14);--shadow-card: rgba(92, 54, 18, .12);--overlay-warm: rgba(135, 87, 35, .1);--overlay-warm-dim: rgba(133, 86, 35, .08);--accent-jade: rgba(77, 168, 184, .15);--white-overlay: rgba(255, 255, 255, .55);--brown-text: #6f4419;--brown-text-mid: #7a4a1e;--brown-text-light: #8d5a22;--brown-text-dark: #8a5c1e;--red-accent: #c0392b;--green-dark: #2f6f41;--jade: #4da8b8;--gold: #d4a44c;--parchment: #e8d5b7;--ui-bg-canvas: #08100e;--ui-bg-canvas-2: #101713;--ui-bg-shell: rgba(13, 20, 17, .96);--ui-bg-panel: rgba(18, 27, 23, .96);--ui-bg-panel-2: rgba(23, 34, 29, .96);--ui-bg-inset: rgba(7, 12, 11, .72);--ui-bg-paper: #e8ddc9;--ui-bg-paper-soft: #d8c9ad;--ui-line-faint: rgba(197, 185, 145, .08);--ui-line-soft: rgba(197, 185, 145, .14);--ui-line-mid: rgba(197, 185, 145, .24);--ui-line-strong: rgba(226, 204, 146, .42);--ui-line-active: rgba(91, 190, 172, .62);--ui-text-primary: #f1eadb;--ui-text-secondary: rgba(241, 234, 219, .76);--ui-text-muted: rgba(241, 234, 219, .58);--ui-text-faint: rgba(241, 234, 219, .42);--ui-text-paper: #221a11;--ui-text-paper-muted: rgba(34, 26, 17, .66);--ui-accent-jade: #5bbfac;--ui-accent-jade-hover: #6ed3c2;--ui-accent-jade-soft: rgba(91, 191, 172, .16);--ui-accent-gold: #d6ad55;--ui-accent-gold-soft: rgba(214, 173, 85, .16);--ui-accent-red: #d26b5f;--ui-accent-green: #78bf73;--ui-accent-blue: #6ba8c8;--ui-accent-debuff: #9a8a70}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at top,rgba(211,160,88,.22),transparent 38%),linear-gradient(135deg,#efe3cf,#dbc1a2 46%,#c28f5a)}button,input,select{font:inherit}button{cursor:pointer}#root{min-height:100vh;background:radial-gradient(circle at top,rgba(211,160,88,.22),transparent 38%),linear-gradient(135deg,#efe3cf,#dbc1a2 46%,#c28f5a)}.combat-panel__step-card,.item-card,.system-hub-card,.skill-loadout-button,.skill-slot-card,.estate-recipe-card,.market-listing-button,.market-record,.quick-link-button,.game-mobile-home__more-menu{border-radius:0;border:1px solid var(--border-warm);background:var(--bg-parchment)}.eyebrow{margin:0 0 12px;font-size:.76rem;letter-spacing:.24em;text-transform:uppercase;color:var(--brown-text-light)}h1,h2{margin:0;line-height:1.16}h1{font-size:clamp(2.2rem,4vw,4.4rem);max-width:12ch}h2{font-size:1.9rem}.hero-copy{max-width:58ch;line-height:1.7;color:#312217d1}.hero-metrics,.status-grid,.field-grid{display:grid;gap:12px}.hero-metrics div,.status-grid div{padding:14px 16px;border-radius:0;background:var(--bg-parchment-dim);border:1px solid rgba(132,82,24,.1)}.hero-metrics span,.status-grid dt{display:block;font-size:.82rem;color:var(--text-dim)}.hero-metrics strong,.status-grid dd{margin:8px 0 0;font-size:1rem}.tab-row,.inline-row,.segmented-row,.checkbox-row{display:flex;gap:10px}.tab-row{margin-bottom:18px}.tab,.segment{flex:1;border:1px solid var(--border-gold);border-radius:0;background:#fff7eed9;color:var(--brown-text);padding:12px 16px}.tab.active,.segment.active{background:linear-gradient(135deg,#8b5524,#b67738);color:#fff8f1}.auth-form,.status-panel,.loading-state{display:flex;flex-direction:column;gap:18px}.field-group{display:flex;flex-direction:column;gap:8px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}label{font-size:.92rem;color:#3d2814e0}input{width:100%;border-radius:0;border:1px solid var(--border-gold);background:#fffbf6f5;padding:14px 16px;color:#2e1f15}select{width:100%;border-radius:0;border:1px solid var(--border-gold);background:#fffbf6f5;padding:12px 14px;color:#2e1f15}input:focus{outline:2px solid rgba(183,119,56,.35);outline-offset:1px}select:focus{outline:2px solid rgba(183,119,56,.35);outline-offset:1px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:0;padding:10px 18px;min-width:0;white-space:nowrap}.primary-button{background:linear-gradient(135deg,#7a4618,#b77738);color:#fff9f3}.primary-button:disabled,.secondary-button:disabled{opacity:.6;cursor:not-allowed}.button--block{display:flex;width:100%}.checkbox-row{align-items:center;color:#45301bc7}.checkbox-row input{width:auto}.feedback{margin:0;padding:12px 14px;border-radius:0;background:#fff4dee6;color:#72410f}.field-error{min-height:1.2em;font-size:.82rem;color:#9a3e25}.hint{font-size:.82rem;color:#7f582d}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:980px){.auth-shell,.hero-metrics,.field-grid,.status-grid{grid-template-columns:1fr}.auth-pixel-theme .primary-button,.auth-pixel-theme .secondary-button{padding:12px 20px!important;font-size:.9rem}}@media(max-width:640px){.auth-pixel-theme h1{font-size:2rem!important}.auth-pixel-theme h2{font-size:1.5rem!important}.auth-pixel-theme .hero-panel,.auth-pixel-theme .panel-card{padding:20px!important}.auth-pixel-theme .primary-button,.auth-pixel-theme .secondary-button{width:100%!important;box-sizing:border-box!important}.game-shell .primary-button,.game-shell .secondary-button{display:flex;width:100%}}.auth-pixel-theme .eyebrow{color:var(--pixel-accent)!important;text-transform:uppercase;letter-spacing:2px;font-size:.9rem;text-shadow:2px 0 var(--pixel-shadow)}.auth-pixel-theme .hero-copy{color:var(--pixel-text-secondary)!important;text-shadow:1px 1px 0 var(--pixel-shadow)}.auth-pixel-theme .tab-row .tab{background:transparent!important;border:2px solid var(--pixel-border)!important;color:var(--pixel-text-secondary)!important;padding:12px 20px!important;text-transform:uppercase;letter-spacing:1px;font-size:.9rem;transition:all .1s}.auth-pixel-theme .tab-row .tab:hover{background:var(--pixel-bg-light)!important;transform:translateY(-2px);box-shadow:0 4px 8px var(--pixel-shadow)}.auth-pixel-theme .tab-row .tab.active{background:var(--pixel-accent)!important;color:var(--pixel-text-primary)!important;box-shadow:0 0 0 4px var(--pixel-border-light)}.auth-pixel-theme .primary-button,.auth-pixel-theme .secondary-button{background:var(--pixel-accent)!important;color:var(--pixel-text-primary)!important;border:none!important;padding:14px 24px!important;text-transform:uppercase;letter-spacing:1px;font-weight:700;transition:all .1s;box-shadow:0 4px 0 var(--pixel-border),0 6px 8px var(--pixel-shadow)}.auth-pixel-theme .primary-button:hover,.auth-pixel-theme .secondary-button:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--pixel-border),0 8px 12px var(--pixel-shadow)}.auth-pixel-theme .primary-button:active,.auth-pixel-theme .secondary-button:active{transform:translateY(2px);box-shadow:0 2px 0 var(--pixel-border),0 4px 4px var(--pixel-shadow)}.auth-pixel-theme .secondary-button{background:transparent!important;border:2px solid var(--pixel-border)!important;color:var(--pixel-text-primary)!important}.auth-pixel-theme .secondary-button:hover{background:var(--pixel-border-light)!important}.auth-pixel-theme .field-error{color:var(--pixel-red)!important;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.auth-pixel-theme .feedback{background:#4ade8033!important;border:1px solid var(--pixel-green)!important;color:var(--pixel-text-primary)!important;text-shadow:1px 1px 0 var(--pixel-shadow)}.auth-pixel-theme .hint{color:var(--pixel-text-secondary)!important;text-shadow:1px 1px 0 var(--pixel-shadow)}.game-shell{min-height:100vh;padding:24px;display:flex;flex-direction:column;gap:24px}.game-hero-card,.game-summary-card{padding:24px 28px;border-radius:0;border:1px solid var(--border-light);background:var(--bg-panel),var(--white-overlay);box-shadow:0 20px 50px var(--shadow-panel)}.game-summary-card{display:flex;flex-direction:column;gap:10px}.game-summary-rail{align-self:start;justify-self:end;width:100%;max-width:320px;padding:16px 14px}.overview-list{display:grid;gap:8px}.overview-rail .overview-item{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 12px;border-radius:0;background:var(--bg-parchment-dim);border:1px solid rgba(132,82,24,.1)}.overview-rail .overview-item span{flex:0 0 auto;font-size:.76rem;color:var(--text-dim);white-space:nowrap}.overview-rail .overview-item strong{min-width:0;margin:0;font-size:.94rem;line-height:1.3;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions,.topbar-account,.chip-group,.info-banner,.detail-meta,.detail-stat-list{display:flex;gap:10px}.global-feedback-stack{display:flex;flex-direction:column;gap:12px}.global-feedback-item{padding:14px 18px;border-radius:0;border:1px solid var(--border-light);background:#fffcf7e0;box-shadow:0 14px 32px #5c361214}.global-feedback-item strong{display:block;margin-bottom:4px}.global-feedback-item p{margin:0;color:#583b20c7}.topbar-actions,.topbar-account{align-items:center}.topbar-account{flex-direction:column;align-items:flex-end;gap:6px}.topbar-account span{font-size:.86rem;color:#583b20ad;text-align:right}.game-card{padding:24px;border-radius:0;border:1px solid var(--border-light);background:var(--bg-panel),var(--white-overlay);box-shadow:0 20px 50px var(--shadow-panel)}.map-panel{grid-column:1 / -1}.map-panel__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000008c;pointer-events:none;z-index:0}.map-panel__overlay~*{position:relative;z-index:1}.battle-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 240px;gap:12px;align-items:stretch}.battle-stage{position:relative;aspect-ratio:16 / 9;width:100%;max-height:520px;min-height:360px;background-size:cover;background-position:center bottom;background-repeat:no-repeat;background-color:#1a1a2e;image-rendering:pixelated;overflow:hidden}.battle-stage__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#18100a8c,#18100a2e,#18100a8c),linear-gradient(180deg,#fff5dc14,#24160c59);pointer-events:none;z-index:0}.battle-stage>*:not(.battle-stage__overlay):not(.combat-unit){position:relative;z-index:1}.battle-stage>.combat-unit{position:absolute;z-index:2}.battle-skill-panel,.enemy-status-panel{--panel-text: #d4c4a8;--panel-text-dim: var(--text-faint);--panel-text-mid: var(--text-dim);--panel-border: var(--border-gold);image-rendering:pixelated;font-size:.85rem;color:var(--panel-text);background-color:#100e0ad1;border:1px solid var(--panel-border);border-radius:0;padding:0;position:relative;display:flex;flex-direction:column}.battle-skill-panel__header,.enemy-status-panel__header{position:relative;font-size:.85rem;font-weight:700;color:var(--parchment);text-shadow:1px 1px 0 rgba(0,0,0,.6);padding:6px 12px;text-align:center;min-height:24px;display:flex;align-items:center;justify-content:center;background-size:100% 100%;image-rendering:pixelated;border-bottom:1px solid var(--panel-border)}.battle-skill-panel__header span,.enemy-status-panel__header span{position:relative;z-index:1}.battle-skill-panel__header img,.enemy-status-panel__header img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated;pointer-events:none}.battle-skill-panel__body,.enemy-status-panel__body{padding:10px 12px}.enemy-status-panel__unit-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-weight:600;color:var(--parchment);text-shadow:1px 1px 0 rgba(0,0,0,.4);margin-bottom:4px}.enemy-status-panel__unit-rank{font-size:.7rem;font-weight:700;padding:1px 5px;border-radius:0;text-transform:uppercase}.enemy-status-panel__unit-hp{font-size:.8rem;color:var(--panel-text-mid);margin-bottom:4px}.enemy-status-panel__unit--dead .enemy-status-panel__unit-hp{color:#e05545}.enemy-status-panel__unit-hp-bar{width:100%;height:6px;background:#0000004d;image-rendering:pixelated}.enemy-status-panel__unit-hp-fill{height:100%;background:var(--red-accent);transition:width .3s ease-out;image-rendering:pixelated}.enemy-status-panel__unit-buff{display:inline-block;font-size:.75rem;color:var(--panel-text-dim);margin-right:6px;margin-top:2px}.enemy-status-panel__unit-skill{display:block;font-size:.75rem;color:var(--panel-text-dim);margin-top:2px}.combat-panel{grid-column:1 / -1;display:flex;flex-direction:column;gap:20px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.section-heading.compact{margin-bottom:14px}.pill,.source-pill,.capacity-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:0;padding:8px 12px;background:#814f1a1a;color:var(--brown-text);font-size:.86rem}.capacity-badge{min-width:90px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stat-block,.source-card,.equipment-slot-card,.item-detail-panel{padding:16px;border-radius:0;border:1px solid var(--border-warm);background:var(--bg-parchment-dim)}.stat-block h3,.sources-block h3,.item-detail-panel h3{margin:0 0 14px}.stat-block dl,.status-grid,.detail-meta{margin:0}.stat-block dl div,.status-grid div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed rgba(126,87,41,.12)}.stat-block dl div:last-child{border-bottom:none}.stat-block dt,.stat-block dd,.status-grid dt,.status-grid dd{margin:0}.info-banner{flex-wrap:wrap;margin:18px 0}.realm-progress-card,.realm-source-block{display:flex;flex-direction:column;gap:16px}.realm-progress-card{margin:20px 0 0;padding:18px;border-radius:0;border:1px solid var(--border-warm);background:#fff8edad}.realm-summary-grid,.realm-stage-grid{display:grid;gap:14px}.realm-summary-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.realm-summary-card,.realm-stage-card{padding:16px;border-radius:0;border:1px solid rgba(133,86,35,.12);background:var(--bg-parchment)}.realm-summary-card span,.realm-stage-card span{display:block;font-size:.82rem;color:var(--text-tertiary)}.realm-summary-card strong,.realm-stage-header strong{display:block;margin-top:8px}.realm-summary-card p,.realm-stage-card p{margin:8px 0 0;line-height:1.6;color:var(--text-primary)}.realm-summary-card p+p,.realm-stage-card p+p{margin-top:6px}.realm-stage-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.realm-stage-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.realm-stage-card.is-complete{border-color:#3e8d533d;background:#f4fbf5f0}.realm-stage-card.is-current{border-color:#8d5a225c;box-shadow:0 12px 26px #8d5a221a}.realm-stage-card.is-upcoming{opacity:.92}.sources-block{margin-top:20px}.source-list{display:flex;flex-direction:column;gap:12px}.source-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.source-header span,.muted-text{font-size:.86rem;color:var(--text-tertiary)}.source-values{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.source-note,.item-description{margin:12px 0 0;line-height:1.6;color:var(--text-primary)}.equipment-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.equipment-slot-card span{display:block;margin-bottom:8px;font-size:.82rem;color:#593c20b3}.bag-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}.bag-detail-actions{display:flex;flex-wrap:wrap;gap:10px}.bag-detail-actions>button{flex:1 1 calc(50% - 5px);min-width:0}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:110px;border-radius:0;padding:8px 12px;font-size:.84rem}.map-config-grid,.map-session-grid,.map-event-list,.combat-grid,.battle-stage__side,.battle-stage__arena,.combat-panel__subcard{border-radius:0;border:1px solid var(--border-warm);background:var(--bg-parchment-dim)}.battle-stage__arena{position:relative;min-height:520px;padding:18px;overflow:hidden;background:radial-gradient(circle at 50% 18%,rgba(255,247,228,.92),transparent 34%),linear-gradient(135deg,#f1e2c9f5,#e1c397e6)}.battle-stage__arena:before,.battle-stage__arena:after{content:"";position:absolute;inset:auto 18px 18px;border-radius:0;pointer-events:none}.battle-stage__arena:before{top:22px;bottom:22px;left:50%;width:2px;transform:translate(-50%);background:linear-gradient(180deg,#6f441914,#6f44195c,#6f441914)}.battle-result-banner{margin-top:-4px}.battle-result-banner--settlement{border-color:var(--border-gold);background:linear-gradient(180deg,#1e1912f2,#14100aeb);color:#d4c4a8;box-shadow:0 8px 16px #0000004d}.combat-unit-row,.combat-toolbar{display:flex;justify-content:space-between;gap:12px}.progress-fill.is-defeated{background:linear-gradient(135deg,#9a3e25,#c76c4b)}.combat-unit-card+.combat-unit-card,.combat-log-entry+.combat-log-entry{margin-top:12px}.combat-log-entry p{margin:10px 0 0;line-height:1.6}.map-option-card,.map-session-card,.latest-event-card,.map-event-entry,.map-history-block{border-radius:0;border:1px solid var(--border-warm);background:var(--bg-parchment-dim)}.map-option-card.active{border-color:var(--border-warm-strong);box-shadow:0 14px 28px var(--border-warm-mid)}.map-option-header,.map-option-meta,.map-event-title-row,.map-toolbar,.session-kv-list div{display:flex;justify-content:space-between;gap:12px}.map-option-card p,.latest-event-card p,.map-event-entry p{margin:12px 0 0;line-height:1.6;color:var(--text-primary)}.map-selection-row,.map-selection-summary{display:grid;gap:14px}.map-selection-row{grid-template-columns:minmax(260px,340px) minmax(0,1fr)}.map-selection-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.map-selection-summary div{padding:14px 16px;border-radius:0;background:var(--bg-parchment-dim)}.map-selection-summary span{display:block;font-size:.82rem;color:var(--text-tertiary)}.map-selection-summary strong{display:block;margin-top:8px}.map-session-card,.map-history-block{padding:18px}.session-kv-list{margin:0}.session-kv-list div{padding:10px 0;border-bottom:1px dashed rgba(126,87,41,.12)}.session-kv-list div:last-child{border-bottom:none}.session-kv-list dt,.session-kv-list dd{margin:0}.latest-event-card,.map-event-entry{padding:16px}.event-reward-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;font-size:.84rem;color:var(--text-secondary)}.item-grid{display:grid;grid-template-columns:1fr;gap:8px;align-content:start}.item-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;min-height:48px;padding:9px 11px;color:inherit}.item-card.active{border-color:var(--border-warm-strong);box-shadow:0 14px 28px var(--border-warm-mid)}.item-card strong,.item-card small{display:block}.item-card__main{min-width:0}.item-card__main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-card small{color:var(--text-tertiary)}.item-card__quantity{color:#d8b86c;font-variant-numeric:tabular-nums;white-space:nowrap}.item-card__meta{justify-self:end;color:var(--text-tertiary);font-size:.74rem}.quality-mark{position:static;width:10px;height:10px;border-radius:0}.empty-state{min-height:140px;display:grid;place-items:center;border-radius:0;border:1px dashed rgba(133,86,35,.22);background:#fff9f0bd;color:var(--text-secondary);text-align:center;padding:16px}.panel{padding:24px;border-radius:0;border:1px solid var(--border-light);background:var(--bg-panel),var(--white-overlay);box-shadow:0 20px 50px var(--shadow-panel)}.panel-header,.market-toolbar,.market-section-header,.market-offer,.market-record,.market-balance,.field{display:flex;gap:12px}.panel-header,.market-toolbar,.market-section-header,.market-offer,.market-record{justify-content:space-between;align-items:flex-start}.market-balance{align-items:center;flex-wrap:wrap;color:var(--text-secondary)}.system-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-hub-card{padding:18px}.system-hub-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.system-hub-card p{margin:12px 0 0;line-height:1.6;color:var(--text-primary)}.system-status-planned,.secondary-button{background:#7b4b1a17;color:var(--brown-text)}.secondary-button{padding:10px 18px}.skill-strategy-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.skill-loadout-list{display:flex;flex-direction:column;gap:10px}.skill-loadout-button{width:100%;text-align:left;padding:16px;color:inherit}.skill-loadout-button.is-active{border-color:var(--border-warm-strong);box-shadow:0 14px 28px var(--border-warm-mid)}.skill-loadout-button span{display:block;margin-top:8px;color:var(--text-tertiary);font-size:.86rem}.skill-editor{display:flex;flex-direction:column;gap:14px}.editor-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.editor-summary-info{display:flex;gap:12px;align-items:center;flex:1;min-width:0}.editor-rule-list{display:flex;flex-direction:column;gap:6px}.editor-rule-row{border:1px solid var(--border-warm);background:var(--surface-base);border-radius:0;padding:10px 12px;display:flex;flex-direction:column;gap:8px;transition:border-color .15s}.editor-rule-row:hover{border-color:var(--border-warm-strong)}.editor-rule-row.is-disabled{opacity:.5}.rule-main-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rule-order{font-size:.8rem;color:var(--text-tertiary);font-weight:700;min-width:24px;flex-shrink:0}.rule-enable-toggle{display:flex;align-items:center;flex-shrink:0}.rule-enable-toggle input[type=checkbox]{width:16px;height:16px;accent-color:var(--border-warm-strong);cursor:pointer}.rule-field-inline{padding:4px 8px;border:1px solid var(--border-warm);background:var(--surface-base);color:inherit;font-size:.85rem;border-radius:0;cursor:pointer;min-width:0}.rule-field-inline:focus{outline:2px solid var(--border-warm-strong);outline-offset:-1px}.rule-field-skill{flex:1;min-width:100px}.rule-action-group{display:flex;gap:4px;margin-left:auto;flex-shrink:0}.rule-action-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-warm);background:var(--surface-base);color:inherit;font-size:.85rem;cursor:pointer;border-radius:0;transition:background .12s,border-color .12s}.rule-action-btn:hover:not(:disabled){background:var(--border-warm-mid);border-color:var(--border-warm-strong)}.rule-action-btn:disabled{opacity:.35;cursor:not-allowed}.rule-action-btn--danger:hover:not(:disabled){background:#b428281f;border-color:#b4282866;color:#8b2020}.rule-condition-area{padding-top:6px;border-top:1px dashed var(--border-warm-mid);display:flex;flex-direction:column;gap:8px}.condition-toolbar{display:flex;gap:8px;align-items:center}.condition-list{display:flex;flex-direction:column;gap:6px}.condition-row{display:grid;grid-template-columns:minmax(0,1.2fr) 100px minmax(0,1fr) 28px;gap:6px;align-items:center}.editor-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid var(--border-warm)}.market-panel,.estate-panel,.sect-panel,.magic-weapon-panel,.shentong-panel{display:flex;flex-direction:column;gap:18px}.estate-overview-grid,.estate-grid,.estate-zone-grid,.estate-plot-grid{display:grid;gap:16px}.estate-zone-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.estate-zone-card{min-height:96px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;border:1px solid rgba(190,154,87,.18);background:#0c0f0fc2;color:#e8dcc6;text-align:left}.estate-zone-card span{color:#bfe9dfb8;font-size:.78rem}.estate-zone-card strong{color:#f2dfbd;font-size:.95rem;line-height:1.35}.estate-section-toolbar{display:flex;justify-content:flex-start}.estate-panel--menu .estate-overview-grid,.estate-panel--menu .estate-grid{display:none}.estate-panel--spirit .estate-section-card:not(.estate-section-card--spirit),.estate-panel--farm .estate-section-card:not(.estate-section-card--farm),.estate-panel--alchemy .estate-section-card:not(.estate-section-card--alchemy),.estate-panel--forge .estate-section-card:not(.estate-section-card--forge),.estate-panel--profession .estate-section-card:not(.estate-section-card--profession){display:none}.estate-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mw-hero-section{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px}.mw-hero-card{padding:22px;border:1px solid var(--border-warm-strong);background:var(--bg-panel),var(--white-overlay);box-shadow:0 14px 28px var(--border-warm-mid);display:flex;flex-direction:column;gap:16px}.mw-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.mw-hero-identity{flex:1;min-width:0}.mw-hero-name-row{display:flex;align-items:center;gap:10px}.mw-hero-name{font-size:1.3rem;line-height:1.2}.mw-tier-badge{display:inline-flex;align-items:center;padding:3px 10px;background:linear-gradient(135deg,#d4a44c2e,#b496641f);border:1px solid rgba(212,164,76,.3);font-size:.78rem;color:var(--gold);letter-spacing:.04em}.mw-hero-meta{margin:6px 0 0;font-size:.86rem;color:var(--text-secondary)}.mw-hero-trait{margin:0;padding:10px 14px;background:var(--bg-parchment-dim);border-left:3px solid var(--gold);font-size:.88rem;color:var(--text-primary);line-height:1.6}.mw-exp-section{display:flex;flex-direction:column;gap:8px}.mw-exp-label{display:flex;justify-content:space-between;font-size:.82rem;color:var(--text-secondary)}.mw-bonus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mw-bonus-item{padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.mw-bonus-item.mw-bonus--core{background:#d4a44c0f;border-color:#d4a44c2e}.mw-bonus-label{display:block;font-size:.78rem;color:var(--text-dim);margin-bottom:4px}.mw-bonus-value{display:block;font-size:.95rem}.mw-slots-card{padding:18px;border:1px solid var(--border-warm);background:var(--bg-parchment);display:flex;flex-direction:column;gap:14px}.mw-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.mw-slot-list{display:flex;flex-direction:column;gap:10px}.mw-slot-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.mw-slot-row--locked{opacity:.55}.mw-slot-info strong{display:block;margin-bottom:2px}.mw-slot-affix{color:var(--gold)}.mw-slot-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.mw-pill--active{background:#d4a44c1f;border:1px solid rgba(212,164,76,.2);color:var(--gold)}.mw-bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mw-card{padding:18px;border:1px solid var(--border-warm);background:var(--bg-parchment);display:flex;flex-direction:column;gap:14px}.mw-weapon-list{display:flex;flex-direction:column;gap:10px}.mw-weapon-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.mw-weapon-item--active{border-color:#d4a44c4d;background:#d4a44c0f}.mw-weapon-info strong{display:block;margin-bottom:2px}.mw-weapon-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.mw-feed-list{display:flex;flex-direction:column;gap:10px}.mw-feed-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.mw-feed-info strong{display:block;margin-bottom:2px}.mw-feed-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.mw-imprint-list{display:flex;flex-direction:column;gap:10px}.mw-imprint-item{padding:14px 16px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm);display:flex;flex-direction:column;gap:10px}.mw-imprint-info strong{display:block}.mw-imprint-name-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.mw-imprint-grade{font-size:.72rem;padding:2px 8px;background:#87572314;color:var(--text-secondary)}.mw-imprint-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.mw-imprint-status{font-size:.82rem;color:var(--text-dim)}.mw-imprint-actions{display:flex;flex-wrap:wrap;gap:8px}.mw-card p,.mw-hero-card p{margin:0;line-height:1.6;color:var(--text-primary)}.st-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.st-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.st-card{padding:18px;border:1px solid var(--border-warm);background:var(--bg-parchment);display:flex;flex-direction:column;gap:14px}.st-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.st-active-card{border-color:var(--border-warm-strong);background:var(--bg-panel),var(--white-overlay);box-shadow:0 14px 28px var(--border-warm-mid)}.st-active-name{margin:0;font-size:1.2rem}.st-active-desc{margin:0;padding:10px 14px;background:var(--bg-parchment-dim);border-left:3px solid var(--jade);font-size:.88rem;color:var(--text-primary);line-height:1.6}.st-active-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.st-stat-item{padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.st-stat-label{display:block;font-size:.78rem;color:var(--text-dim);margin-bottom:4px}.st-rule-list{display:flex;flex-direction:column;gap:10px}.st-rule-item{padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.st-rule-item strong{display:block;margin-bottom:4px}.st-rule-item p{margin:0;font-size:.86rem;color:var(--text-secondary);line-height:1.6}.st-book-list{display:flex;flex-direction:column;gap:10px}.st-book-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.st-book-info strong{display:block;margin-bottom:2px}.st-book-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.st-list{display:flex;flex-direction:column;gap:10px}.st-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 14px;background:var(--bg-parchment-dim);border:1px solid var(--border-warm)}.st-row--active{border-color:#4da8b84d;background:#4da8b80a}.st-row--learned{border-color:#3e8d5347}.st-row--unlearned{opacity:.7}.st-row-info strong{display:block;margin-bottom:2px}.st-row-info p{margin:2px 0 0;font-size:.86rem;color:var(--text-secondary)}.st-row-desc{font-size:.82rem;color:var(--text-dim)}.st-pill--active{background:#4da8b81a;border:1px solid rgba(77,168,184,.2);color:var(--jade)}.st-pill--learned{background:#3e8d5314;color:var(--green-dark)}.st-pill--unlearned{background:#8757230f;color:var(--text-dim)}.st-card p{margin:0;line-height:1.6;color:var(--text-primary)}.sect-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.estate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.estate-plot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-select-field{display:flex;flex-direction:column;gap:8px}.estate-select-field>span{font-size:12px;color:var(--text-secondary)}.estate-select-field select{width:100%;min-height:40px;border-radius:12px;border:1px solid var(--border-color);background:var(--panel-bg-elevated);color:var(--text-primary);padding:0 12px}.forge-select-list{display:grid;gap:12px}.forge-job-card,.forge-assembler{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--border-color);background:var(--bg-parchment-dim)}.forge-job-info{display:flex;justify-content:space-between;align-items:center;gap:12px}.forge-job-info strong,.forge-slot-section h4{margin:0}.forge-slot-section{display:flex;flex-direction:column;gap:10px}.forge-selected-materials{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.forge-material-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(122,111,92,.5);background:#00000014;font-size:13px}.forge-material-tag em{font-style:normal;color:var(--accent-color)}.forge-warning{margin:0;color:var(--warning-color);font-size:13px}.estate-card,.estate-plot-card,.estate-recipe-card{padding:18px}.estate-card{display:flex;flex-direction:column;gap:14px}.estate-card-header,.estate-summary-list div{display:flex;justify-content:space-between;gap:12px;align-items:center}.estate-summary-list{display:flex;flex-direction:column;gap:10px}.estate-summary-list div{padding:12px 0;border-bottom:1px dashed rgba(126,87,41,.12)}.estate-summary-list div:last-child{border-bottom:none}.estate-formation-list,.estate-auto-config,.estate-plot-actions,.estate-recipe-list{display:flex;flex-wrap:wrap;gap:10px}.estate-recipe-list{flex-direction:column}.progress-track{height:10px;border-radius:0;background:var(--hud-line-soft);overflow:hidden}.progress-fill{height:100%;border-radius:0;background:linear-gradient(90deg,#8b5e34,#c48b44)}.estate-recipe-card p,.estate-plot-card p,.estate-card p{margin:0;line-height:1.6;color:var(--text-primary)}.sect-member-list,.sect-log-list{display:flex;flex-direction:column;gap:10px}.sect-member-row,.sect-log-row{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:0;background:var(--bg-parchment-dim)}.sect-member-row p,.sect-log-row p{margin:4px 0 0;color:#382616cc}.market-categories{display:flex;flex-wrap:wrap;gap:10px}.pill-button{border:1px solid var(--border-gold);border-radius:0;background:#fff7eed9;color:var(--brown-text);padding:10px 14px}.pill-button.is-active{background:linear-gradient(135deg,#8b5524,#b67738);color:#fff8f1}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.market-column{display:flex;flex-direction:column;gap:14px;min-width:0}.market-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.market-listing-button{width:100%;text-align:left;padding:14px;display:flex;flex-direction:column;gap:4px}.market-listing-button.is-active{border-color:var(--border-warm-strong);box-shadow:0 14px 28px var(--border-warm-mid)}.market-detail{display:flex;flex-direction:column;gap:12px}.pill.is-muted{opacity:.55}.estate-formation-entry{display:grid;gap:8px;width:100%}.market-offer,.market-record{padding:14px}.field{flex-direction:column}.field select,.field input{width:100%}.panel-error{margin:0;padding:12px 14px;border-radius:0;background:#ffebe1eb;color:#9a3e25}.sub-view-tabs{display:flex;gap:0;margin-bottom:16px;border-bottom:1px solid var(--border-warm)}.sub-view-tab{flex:1;border:none;border-radius:0;background:transparent;color:var(--brown-text-light);padding:12px 16px;font:inherit;font-size:.92rem;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .12s,border-color .12s}.sub-view-tab:hover{color:var(--brown-text)}.sub-view-tab.is-active{color:var(--brown-text-dark);font-weight:700;border-bottom-color:var(--border-warm-strong)}.sub-view-content{display:flex;flex-direction:column;gap:16px}.empty-state{padding:24px 16px;text-align:center;color:var(--text-secondary);display:flex;flex-direction:column;gap:8px}.empty-state p{margin:0}.empty-state p:first-child{font-weight:700;color:var(--text-primary)}.skill-learning-view{display:flex;flex-direction:column;gap:16px}.skill-learned-section,.skill-books-section{display:flex;flex-direction:column;gap:8px}.skill-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.skill-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:154px;padding:12px;text-align:left;border:1px solid var(--border-warm);background:var(--bg-parchment);color:var(--text-primary)}.skill-card:hover,.skill-card.is-selected{border-color:#8d5a226b;background:linear-gradient(135deg,#fffaf3fa,#f8e8cff0);box-shadow:0 12px 28px #5c361214}.skill-card--learnable{border-style:dashed}.skill-card__eyebrow{color:var(--text-tertiary);font-size:.76rem}.skill-card strong{font-size:.95rem}.skill-card p{margin:0;color:var(--text-secondary);font-size:.85rem;line-height:1.5}.skill-card small{margin-top:auto;color:var(--text-tertiary)}.skill-kind{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid rgba(132,82,24,.14);background:#814f1a14;color:var(--brown-text);font-size:.76rem}.skill-kind--damage{border-color:#9e462d33;background:#be50301a}.skill-kind--heal{border-color:#38854838;background:#4c9a5b1a}.skill-kind--buff{border-color:#46759e33;background:#46759e1a}.skill-kind--debuff{border-color:#804e9633;background:#804e961a}.skill-detail-panel{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--border-warm);background:linear-gradient(135deg,#fffaf3f5,#f4e2c5db),var(--bg-parchment)}.skill-detail-panel h3{margin:0}.skill-detail-panel p{margin:0;color:var(--text-secondary);line-height:1.6}.skill-detail-panel .primary-button{align-self:flex-start}.skill-detail-meta{display:flex;flex-wrap:wrap;gap:8px}.skill-detail-meta span:not(.skill-kind){padding:4px 8px;border:1px solid rgba(132,82,24,.12);background:#fffaf2b8;color:var(--text-secondary);font-size:.78rem}.panel-hint{margin:0;color:var(--text-secondary);font-size:.9rem}.chest-result-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#130c0694;display:flex;justify-content:center;align-items:center;padding:20px}.chest-result-modal{width:min(780px,100%);max-height:min(86vh,900px);overflow-y:auto;border-radius:0;border:1px solid rgba(143,96,42,.24);background:linear-gradient(180deg,#fff8effa,#faeedbfa);box-shadow:0 30px 54px #150d0740;padding:18px;display:flex;flex-direction:column;gap:12px}.offline-summary-banner{padding:16px 18px;border-radius:0;border:1px solid rgba(137,87,33,.14);background:#fffaf2e6;display:flex;flex-direction:column;gap:8px}.offline-summary-banner span{color:#3a2512bd}.offline-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.offline-summary-grid div{border:1px solid rgba(137,87,33,.14);border-radius:0;background:#fffaf2e0;padding:12px 14px}.offline-summary-grid dt{color:var(--text-secondary);font-size:.84rem}.offline-summary-grid dd{margin:8px 0 0;font-size:1.1rem;font-weight:600}.chest-roll-list,.chest-pity-list{display:flex;flex-direction:column;gap:10px}.chest-roll-item,.chest-pity-item{border:1px solid rgba(137,87,33,.14);border-radius:0;background:#fffaf2e0;padding:10px 12px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.chest-roll-item p,.chest-pity-item p{margin:2px 0 0;color:#3a2512bd;font-size:.9rem}.chest-roll-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.leaderboard-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{border:1px solid var(--hud-line-soft);border-radius:0;background:var(--bg-parchment);padding:14px;display:flex;flex-direction:column;gap:14px}.settings-card h3{margin:0}.cdk-input-group{display:flex;gap:8px;margin-bottom:12px}.cdk-input{flex:1;padding:8px 12px;border:1px solid var(--hud-line-soft);border-radius:0;background:var(--bg-parchment);color:var(--text-primary);font-family:inherit;font-size:.9rem}.cdk-input:focus{outline:2px solid var(--hud-line-gold);outline-offset:-2px}.cdk-button{padding:8px 16px;font-size:.9rem}.cdk-result{margin-top:12px}.cdk-result.success{color:var(--hud-text);border:1px solid var(--hud-accent-green);background:var(--hud-accent-green);padding:8px 12px;border-radius:0}.cdk-result.error{color:var(--hud-text);border:1px solid var(--hud-accent-red);background:var(--hud-accent-red);padding:8px 12px;border-radius:0}.cdk-success-message{margin:0 0 8px;font-weight:600}.cdk-rewards-list{margin:0;padding:0 0 0 16px;list-style-type:disc}.cdk-rewards-list li{margin:4px 0}.leaderboard-row,.mail-row{border:1px solid var(--hud-line-soft);border-radius:0;background:var(--bg-parchment);padding:10px 12px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.leaderboard-row p,.mail-row p{margin:2px 0 0}@media(max-width:1180px){.game-overview,.game-grid,.bag-layout,.map-config-grid,.map-session-grid,.map-parameter-grid,.combat-grid,.combat-summary-grid,.market-grid,.realm-summary-grid,.realm-stage-grid,.leaderboard-grid,.settings-grid,.estate-overview-grid,.sect-overview-grid,.estate-grid,.mw-hero-section,.mw-bottom-grid,.st-top-grid,.st-bottom-grid,.sect-grid,.estate-plot-grid,.system-hub-grid,.skill-strategy-layout{grid-template-columns:1fr}}@media(max-width:980px){.game-topbar{flex-direction:column;align-items:flex-start}.topbar-actions{width:100%;justify-content:space-between;align-items:center}.topbar-account{width:100%;justify-content:flex-start;align-items:flex-start}.quick-nav-grid,.equipment-strip,.item-grid,.stats-grid,.mw-bonus-grid,.condition-row{grid-template-columns:1fr}.map-toolbar,.skill-slot-header,.skill-condition-toolbar,.skill-editor-actions,.editor-summary,.condition-toolbar,.rule-main-row{flex-direction:column;align-items:stretch}.rule-action-group{margin-left:0;justify-content:flex-end}}.game-shell{min-height:100vh;padding:24px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start;background:radial-gradient(circle at top,rgba(211,160,88,.22),transparent 38%),linear-gradient(135deg,#efe3cf,#dbc1a2 46%,#c28f5a)}.game-shell.is-sidebar-collapsed{grid-template-columns:96px minmax(0,1fr)}.game-sidebar-backdrop{display:none}.game-sidebar{position:sticky;top:24px;min-height:calc(100vh - 48px);padding:22px 18px;border-radius:0;border:1px solid rgba(84,48,12,.14);background:linear-gradient(180deg,#fffaf1f5,#f2e4cfe6),#ffffffb8;box-shadow:0 24px 60px var(--shadow-card);display:flex;flex-direction:column;gap:18px;overflow:hidden}.game-sidebar-header,.game-sidebar-player,.sidebar-item,.content-heading-row{display:flex;gap:12px;align-items:center}.game-sidebar-header{justify-content:space-between}.sidebar-toggle,.content-sidebar-button{border:1px solid var(--border-gold);border-radius:0;background:#fff7eee0;color:var(--brown-text);padding:10px 14px}.game-sidebar-player{padding:16px;border-radius:0;background:#fffaf3e6;border:1px solid var(--border-warm)}.sidebar-avatar{width:48px;height:48px;border-radius:0;display:grid;place-items:center;font-size:1.2rem;color:#fff7ef;background:linear-gradient(135deg,#8b5524,#c48b44)}.sidebar-avatar img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.sidebar-player-copy,.sidebar-item-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.sidebar-player-copy strong,.sidebar-item-copy strong{font-size:.96rem}.sidebar-player-copy span,.sidebar-item-copy span,.content-description{color:#593c20bd;line-height:1.6}.game-sidebar-status{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-sidebar-status div{padding:12px 14px;border-radius:0;background:#fff8edc7;border:1px solid var(--overlay-warm-dim)}.game-sidebar-status span{display:block;font-size:.78rem;color:var(--text-dim)}.game-sidebar-status strong{display:block;margin-top:8px}.game-sidebar-nav{display:flex;flex-direction:column;gap:16px;overflow:auto}.sidebar-group{display:flex;flex-direction:column;gap:8px}.sidebar-group-title,.map-featured-event__kicker,.ui-skin-card__eyebrow{margin:0;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:#6e4b26c2}.sidebar-group-list{display:flex;flex-direction:column;gap:8px}.sidebar-task-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(190,154,87,.16);background:#0c0f0fc2;min-width:0}.sidebar-task-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.sidebar-task-card__header strong{color:#f2dfbd}.sidebar-task-card__badge{flex:0 0 auto;padding:5px 8px;border:1px solid rgba(190,154,87,.18);background:#201c13bd;color:#d8b86c;font-size:.75rem}.sidebar-task-card__body{display:flex;flex-direction:column;gap:8px;min-width:0}.sidebar-task-card__title{color:#f2dfbd;line-height:1.35}.sidebar-task-card__desc{margin:0;color:#e8dcc6b8;line-height:1.5;font-size:.84rem}.sidebar-task-card__progress{display:flex;align-items:center;gap:8px;color:#bfe9dfad;font-size:.78rem}.sidebar-task-card__progress-bar{flex:1;height:6px;background:#080b0ceb;border:1px solid rgba(190,154,87,.16);overflow:hidden}.sidebar-task-card__progress-fill{height:100%;background:linear-gradient(90deg,#539791eb,#7ac5b8f5)}.sidebar-task-card__progress-fill.is-done{background:linear-gradient(90deg,#be9a57eb,#e8c675f5)}.sidebar-task-card__actions{display:flex;align-items:center;gap:8px}.sidebar-task-card__actions .primary-button{width:100%}.sidebar-task-card__hint{color:#bfe9dfad;font-size:.82rem}.task-panel{display:flex;flex-direction:column;gap:16px;padding:20px;max-width:720px;margin:0 auto}.task-panel__header{display:flex;align-items:center;justify-content:space-between}.task-panel__title{font-size:1.25rem;font-weight:700;color:#f2dfbd;margin:0}.task-panel__subtitle{font-size:.82rem;color:#e8dcc699;margin:2px 0 0}.task-panel__tabs{display:flex;gap:4px;border-bottom:1px solid rgba(190,154,87,.2);padding-bottom:0}.task-panel__tab{padding:8px 16px;font-size:.88rem;font-family:inherit;font-weight:600;color:#e8dcc68c;background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:color .15s,border-color .15s}.task-panel__tab:hover{color:#e8dcc6d9}.task-panel__tab.is-active{color:#d8b86c;border-bottom-color:#d8b86c}.task-panel__body{min-height:200px}.task-panel__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:48px 20px;text-align:center}.task-panel__empty p{font-size:1rem;font-weight:600;color:#e8dcc6b8;margin:0}.task-panel__empty span{font-size:.84rem;color:#e8dcc673}.task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.task-list-item{padding:12px 14px;border:1px solid rgba(190,154,87,.12);background:#0c0f0f99;border-radius:6px}.task-list-item--locked{opacity:.45}.task-list-item--claimed{opacity:.6}.task-list-item.is-current{border-color:#be9a574d;background:#141816d9}.task-list-item__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-list-item__title{font-size:.92rem;color:#f2dfbd}.task-list-item__status{flex-shrink:0;font-size:.72rem;padding:2px 8px;border-radius:3px;font-weight:600}.task-list-item__status--locked{color:#e8dcc659;border:1px solid rgba(232,220,198,.12)}.task-list-item__status--active{color:#7ac5b8e6;border:1px solid rgba(83,151,145,.35)}.task-list-item__status--completed{color:#d8b86c;border:1px solid rgba(190,154,87,.35)}.task-list-item__status--claimed{color:#e8dcc666;border:1px solid rgba(232,220,198,.1)}.task-list-item__desc{font-size:.82rem;color:#e8dcc699;line-height:1.5;margin:8px 0 0}.task-list-item__progress{display:flex;align-items:center;gap:8px;margin-top:8px;color:#bfe9dfad;font-size:.78rem}.task-list-item__progress-bar{flex:1;height:5px;background:#080b0ceb;border:1px solid rgba(190,154,87,.12);border-radius:2px;overflow:hidden}.task-list-item__progress-fill{height:100%;background:linear-gradient(90deg,#539791eb,#7ac5b8f5);transition:width .3s ease}.task-list-item__progress-fill.is-done{background:linear-gradient(90deg,#be9a57eb,#e8c675f5)}.task-list-item__progress-text{white-space:nowrap}.task-list-item__rewards{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.task-list-item__reward-tag{font-size:.72rem;padding:2px 6px;background:#201c13bd;color:#d8b86c;border:1px solid rgba(190,154,87,.18);border-radius:3px}.task-list-item__actions{margin-top:8px}.task-list-item__actions .primary-button{width:100%}.sidebar-item.is-active{border-color:#8d5a2257;background:linear-gradient(135deg,#fff8f0fa,#f7e9d5f0);box-shadow:0 14px 28px var(--border-warm-mid)}.sidebar-item-glyph{width:36px;height:36px;flex:0 0 36px;border-radius:0;display:grid;place-items:center;font-size:.86rem;background:var(--border-warm);color:var(--brown-text-mid)}.sidebar-item-icon,.mobile-home-action__icon,.mobile-home-more__icon,.quick-link-icon,.game-mobile-nav__icon{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.sidebar-item-badge{flex:0 0 auto;margin-left:auto;justify-self:end;text-align:right;font-size:.76rem;color:var(--brown-text-mid);background:var(--border-warm);border-radius:0;padding:6px 10px}.is-sidebar-collapsed .game-sidebar{padding:22px 12px}.is-sidebar-collapsed .game-sidebar-header strong,.is-sidebar-collapsed .sidebar-group-title,.is-sidebar-collapsed .sidebar-player-copy,.is-sidebar-collapsed .sidebar-item-copy,.is-sidebar-collapsed .sidebar-item-badge,.is-sidebar-collapsed .game-sidebar-status,.is-sidebar-collapsed .sidebar-task-card{display:none}.is-sidebar-collapsed .game-sidebar-player,.is-sidebar-collapsed .sidebar-item{justify-content:center;padding:12px}.game-content{min-width:0;display:flex;flex-direction:column;gap:14px}.game-content-topbar{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.95fr) auto;gap:14px 16px;align-items:center;padding:14px 18px;border-radius:0;border:1px solid var(--border-light);background:linear-gradient(135deg,#fff7ebe0,#f0e1cccc),#ffffff7a;box-shadow:0 18px 36px #5c36121a}.game-content-topbar h2{margin:0;font-size:1.15rem}.content-heading{min-width:0}.content-heading-row{flex-wrap:wrap;align-items:center;gap:10px}.content-heading-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.content-heading-copy h2{margin:0}.content-description{margin:6px 0 0;max-width:48ch;font-size:.84rem;line-height:1.5}.topbar-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.topbar-metric{min-width:0;padding:8px 10px;border-radius:0;border:1px solid var(--overlay-warm-dim);background:var(--bg-parchment-dim)}.topbar-metric span{display:block;font-size:.72rem;color:#614124b3}.topbar-metric strong{display:block;margin-top:4px;font-size:.88rem;line-height:1.25;color:#4d3015;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-account{min-width:0;flex-direction:column;align-items:flex-end;gap:8px}.topbar-account-copy{display:flex;flex-direction:column;gap:4px;align-items:flex-end}.topbar-account-copy span{color:#593c20bd;line-height:1.4;font-size:.82rem;text-align:right}.topbar-account .secondary-button{padding:10px 14px;border-radius:0}.game-content-body,.game-content-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.game-mobile-nav,.game-mobile-home{display:none}.game-overview-split{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(210px,.52fr);gap:16px}.overview-hero-card{padding:18px 20px;gap:14px}.overview-hero-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:14px;align-items:start}.overview-hero-copy-block{min-width:0}.overview-hero-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.overview-hero-name{max-width:none;font-size:clamp(1.8rem,3vw,2.8rem)}.overview-hero-copy{margin:8px 0 0;max-width:none;font-size:.92rem;line-height:1.55}.overview-hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.overview-hero-metrics div{padding:10px 12px;border-radius:0;background:var(--bg-parchment-dim);border:1px solid rgba(132,82,24,.08)}.overview-hero-metrics span{display:block;font-size:.74rem;color:#614124ad}.overview-hero-metrics strong{display:block;margin-top:6px;font-size:.92rem;line-height:1.3}.quick-link-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-link-button{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;color:inherit;text-align:left}.quick-link-glyph{width:32px;height:32px;flex:0 0 32px;border-radius:0;display:grid;place-items:center;font-size:.82rem;background:var(--border-warm);color:var(--brown-text-mid)}.quick-link-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.quick-link-copy strong{font-size:.92rem;line-height:1.25}.quick-link-copy small{color:var(--text-secondary);font-size:.76rem;line-height:1.25}.game-inline-banner{padding:12px 16px;border-radius:0;border:1px solid rgba(141,90,34,.16);background:#fff7eceb;box-shadow:0 10px 20px #8d5a2214;display:flex;justify-content:space-between;gap:12px;align-items:center}.game-inline-banner-copy{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.game-inline-banner-copy strong{white-space:nowrap}.game-inline-banner p{margin:0;color:#593c20c2;font-size:.88rem}.map-topbar-actions{flex-wrap:wrap;justify-content:flex-end}.map-panel-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}.map-panel-main,.map-panel-rail{display:flex;flex-direction:column;gap:18px;min-width:0}.map-panel-rail{position:sticky;top:16px;align-self:start}.map-panel-rail .map-selection-row,.map-panel-rail .map-selection-summary{grid-template-columns:1fr}.map-panel-heading-copy{max-width:56ch}.map-history-block--hero{padding:22px;border-color:var(--border-gold);background:linear-gradient(180deg,#fffaf1fa,#f7ebdae6),#ffffffa3;box-shadow:0 20px 50px var(--shadow-panel),inset 0 1px #ffffffb8}.map-history-block--battle{padding:18px}.map-history-block--hero .section-heading{margin-bottom:16px}.map-featured-event{display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:0;border:1px solid var(--border-gold);background:radial-gradient(circle at top left,rgba(255,247,231,.88),transparent 34%),linear-gradient(135deg,#fbf2e5fa,#f0e0c9eb);box-shadow:0 18px 34px #925d231a}.map-featured-event__meta{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.map-featured-event__meta strong{display:block;margin-top:6px;font-size:1rem}.map-featured-event__text{margin:0;line-height:1.74;color:#382616e6;font-size:1.05rem}.map-featured-event__chips{display:flex;flex-wrap:wrap;gap:8px}.map-featured-event__chips span{display:inline-flex;align-items:center;border-radius:0;padding:8px 12px;background:var(--border-warm);color:var(--brown-text);font-size:.84rem}.map-featured-empty{min-height:220px}.map-event-list--main{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.map-event-list--main .map-event-entry{min-height:148px}.map-control-actions{justify-content:space-between;flex-wrap:wrap}.map-control-actions .primary-button,.map-control-actions .secondary-button{flex:1 1 160px}.map-yield-card{border-color:var(--border-gold);background:linear-gradient(180deg,#fffaf1f7,#f7ebdae6),#ffffff9e}.map-yield-card .section-heading{margin-bottom:14px}.map-yield-stats{margin-top:14px}.map-difficulty-row{margin-bottom:14px}.offline-summary-inline{display:flex;flex-direction:column;gap:14px;margin-bottom:16px;padding:18px;border-radius:0;border:1px solid rgba(171,110,46,.2);background:linear-gradient(180deg,var(--bg-parchment-bright),rgba(247,235,219,.92)),#fff9;box-shadow:0 18px 36px #925d231a}.offline-summary-inline .topbar-actions{flex-wrap:wrap}.offline-summary-banner--inline{padding:14px 16px;border-radius:0}.offline-summary-grid--inline{grid-template-columns:repeat(3,minmax(0,1fr))}.offline-summary-inline-stats{display:flex;flex-wrap:wrap;gap:8px}.offline-summary-inline-stats span{display:inline-flex;align-items:center;border-radius:0;padding:7px 11px;background:var(--border-warm);color:var(--brown-text);font-size:.84rem}.game-bootstrap-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;background:linear-gradient(180deg,#121616f7,#0a0d0ef2),#07090af5;color:var(--text-primary)}.game-bootstrap-content{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.game-bootstrap-spinner{width:36px;height:36px;border:3px solid rgba(190,154,87,.18);border-top-color:#be9a57b3;border-radius:50%;animation:bootstrap-spin .8s linear infinite}@keyframes bootstrap-spin{to{transform:rotate(360deg)}}.game-bootstrap-title{font-size:1.2rem;font-weight:600;color:var(--text-primary)}.game-bootstrap-subtitle{font-size:.88rem;color:var(--text-secondary)}.offline-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;display:flex;align-items:center;justify-content:center;background:#000c;padding:20px 16px}.offline-modal-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px;padding:24px 20px 20px;border:1px solid rgba(190,154,87,.25);background:linear-gradient(180deg,#1e1a14fa,#120f0afa),#0a0806f7;box-shadow:0 20px 50px #00000080,inset 0 1px #be9a571f}.offline-modal-header{text-align:center}.offline-modal-eyebrow{display:block;font-size:.76rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#d4a44ccc;margin-bottom:4px}.offline-modal-title{font-size:1.1rem;font-weight:700;color:#e8dcc4;margin:0}.offline-modal-desc{font-size:.82rem;line-height:1.5;color:#c8baa2b3;margin:6px 0 0}.offline-modal-duration{display:flex;align-items:baseline;justify-content:center;gap:6px;padding:8px 0}.offline-modal-duration strong{font-size:1.3rem;font-weight:700;color:#f0c878;font-variant-numeric:tabular-nums}.offline-modal-duration span{font-size:.82rem;color:#c8baa299}.offline-modal-warning{padding:8px 12px;border:1px solid rgba(210,150,50,.35);background:#d2963214;font-size:.78rem;line-height:1.5;color:#d8a84a;text-align:center}.offline-modal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.offline-modal-stat{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px;border:1px solid rgba(190,154,87,.14);background:#be9a570a}.offline-modal-stat-label{font-size:.72rem;color:#c8baa28c;letter-spacing:.04em}.offline-modal-stat-value{font-size:1.15rem;font-weight:700;color:#f0c878;font-variant-numeric:tabular-nums}.offline-modal-cta{display:block;width:100%;padding:12px 0;margin-top:2px;border:1px solid rgba(190,154,87,.35);background:linear-gradient(180deg,#be9a572e,#be9a5714);color:#f0c878;font-size:.92rem;font-weight:600;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}.offline-modal-cta:hover{background:linear-gradient(180deg,#be9a5747,#be9a5724);border-color:#be9a5780}.offline-modal-cta:active{background:linear-gradient(180deg,#be9a5759,#be9a572e)}@media(max-width:1080px){.map-panel-layout{grid-template-columns:1fr}.map-panel-rail{position:static}.map-control-actions .primary-button,.map-control-actions .secondary-button{flex-basis:100%}.offline-summary-grid--inline,.battle-stage__layout,.battle-stage__lower-grid{grid-template-columns:1fr}.battle-stage__arena{min-height:420px}.battle-stage__arena-grid{grid-template-columns:1fr}.battle-stage__arena:before{top:50%;left:18px;right:18px;width:auto;height:2px;transform:translateY(-50%)}.battle-stage__arena-lane,.battle-stage__arena-lane--enemy{align-items:flex-start;text-align:left}.battle-stage__arena-core{order:-1}}@media(max-width:720px){.map-history-block--hero,.map-history-block--battle,.map-featured-event{padding:16px}.map-featured-event__meta{align-items:flex-start}.map-event-list--main{grid-template-columns:1fr}.offline-summary-inline{padding:16px}.battle-stage__intro,.battle-stage__footer{flex-direction:column;align-items:stretch}.battle-stage__intro-pills,.battle-stage__footer-group{justify-content:flex-start}.battle-stage__arena{min-height:360px;padding:14px}.battle-stage__side,.combat-panel__subcard{padding:14px}}@media(max-width:1080px){.game-shell,.game-shell.is-sidebar-collapsed{grid-template-columns:1fr}.game-sidebar{position:fixed;inset:16px auto 16px 16px;width:min(320px,calc(100vw - 32px));min-height:auto;max-height:calc(100vh - 32px);z-index:50;transition:transform .18s ease,opacity .18s ease}.game-shell.is-sidebar-collapsed .game-sidebar{transform:translate(calc(-100% - 24px));opacity:0;pointer-events:none}.game-sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:none;background:#18100a38;display:block;opacity:1}.game-shell.is-sidebar-collapsed .game-sidebar-backdrop{opacity:0;pointer-events:none}.game-content-topbar,.game-overview-split,.overview-hero-main{grid-template-columns:1fr}.game-summary-rail{max-width:none;justify-self:stretch}}@media(max-width:980px){.offline-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-content-topbar{grid-template-columns:1fr;align-items:stretch}.game-inline-banner{flex-direction:column;align-items:stretch}.game-shell{padding:14px;gap:16px}.game-content-topbar,.game-card,.panel,.game-hero-card,.game-summary-card{padding:18px 16px;border-radius:0}.content-description{margin-top:6px;font-size:.86rem}.topbar-metrics{grid-template-columns:1fr}.topbar-account,.topbar-account-copy{align-items:flex-start}.topbar-account span{text-align:left}.quick-nav-grid,.quick-link-list,.overview-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.system-hub-grid{grid-template-columns:1fr}.section-heading,.map-toolbar,.map-topbar-actions{gap:12px}.map-topbar-actions{justify-content:flex-start}.map-selection-row,.map-selection-summary{grid-template-columns:1fr}.game-mobile-home{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:0;border:1px solid rgba(171,110,46,.16);background:linear-gradient(180deg,var(--bg-parchment-bright),rgba(247,235,219,.94)),#ffffffad;box-shadow:0 18px 36px #925d231f}.game-overview-split,.game-overview-panel{display:none}.game-mobile-home__hero{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.game-mobile-home__copy{min-width:0;display:flex;flex-direction:column;gap:6px}.game-mobile-home__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.game-mobile-home__name{margin:0;font-size:clamp(1.5rem,6vw,2rem);line-height:1.1;color:#6e4118}.game-mobile-home__summary,.game-mobile-home__copyline{margin:0;line-height:1.5;color:#4d3015d6}.game-mobile-home__more{flex:0 0 auto;align-self:flex-start;white-space:nowrap}.game-mobile-home__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-mobile-home__stat{min-width:0;padding:10px 12px;border-radius:0;background:#fff8edd1;border:1px solid var(--overlay-warm-dim)}.game-mobile-home__stat span{display:block;font-size:.72rem;color:var(--text-dim)}.game-mobile-home__stat strong{display:block;margin-top:6px;line-height:1.25;font-size:.88rem;color:#4d3015}.game-mobile-home__primary,.game-mobile-home__more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-mobile-home__more-menu{display:flex;flex-direction:column;gap:10px;padding:14px}.mobile-home-action,.mobile-home-more{min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:0;border:1px solid var(--border-warm);background:#fffbf5f5;color:inherit;text-align:left}.mobile-home-action__glyph,.mobile-home-more__glyph{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:0;background:var(--border-warm);color:var(--brown-text-mid);font-size:.8rem}.mobile-home-action__copy,.mobile-home-more__copy{min-width:0;display:flex;flex-direction:column;gap:3px}.mobile-home-action__copy strong,.mobile-home-more__copy strong{font-size:.9rem;line-height:1.2}.mobile-home-action__copy small,.mobile-home-more__copy small{color:var(--text-secondary);font-size:.76rem;line-height:1.2}.game-content{padding-bottom:calc(148px + env(safe-area-inset-bottom))}.game-mobile-nav{position:fixed;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px;border-radius:0;border:1px solid rgba(133,86,35,.14);background:linear-gradient(180deg,#fffaf3f5,#f7ebd9eb),#ffffffc7;box-shadow:0 18px 36px var(--hud-shadow-panel);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.game-mobile-nav__item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 6px;border-radius:0;border:1px solid transparent;background:transparent;color:inherit;text-align:center}.game-mobile-nav__item.is-active{border-color:#ab6e2e57;background:#fff6e8f0;box-shadow:0 10px 18px #925d231f}.game-mobile-nav__item--more{background:#7b4b1a14}.game-mobile-nav__glyph{width:28px;height:28px;display:grid;place-items:center;border-radius:0;background:var(--border-warm);color:var(--brown-text-mid);font-size:.78rem;letter-spacing:.04em}.game-mobile-nav__item.is-active .game-mobile-nav__glyph{background:linear-gradient(135deg,#7a4618,#b77738);color:#fff9f3}.game-mobile-nav__item--more .game-mobile-nav__glyph{background:#7b4b1a1f}.game-mobile-nav__label{font-size:.74rem;line-height:1.1;color:#4d3015db;white-space:nowrap}}@media(max-width:640px){.offline-modal-card{max-width:none;padding:20px 16px 16px}.offline-modal-overlay{padding:16px 12px;align-items:flex-end}.offline-modal-stat-value{font-size:1.05rem}.offline-modal-duration strong{font-size:1.15rem}.offline-summary-grid{grid-template-columns:1fr}.game-content-topbar{padding:12px 14px}.quick-link-list,.overview-hero-metrics{grid-template-columns:1fr}}.aurora-surface{position:relative;overflow:hidden;isolation:isolate}.aurora-surface:before{content:"";position:absolute;inset:-18% auto auto -10%;width:60%;height:60%;border-radius:0;background:radial-gradient(circle,rgba(245,214,154,.28),transparent 68%);filter:blur(8px);opacity:.9;pointer-events:none;z-index:-1}.section-stage{animation:section-fade-up .24s ease;transform-origin:top center}.reveal-card{animation:card-fade-up .36s cubic-bezier(.2,.9,.24,1);transform-origin:center top;will-change:transform,opacity}.stagger-grid>*{animation:card-fade-up .42s cubic-bezier(.2,.9,.24,1) both}.stagger-grid>*:nth-child(1){animation-delay:30ms}.stagger-grid>*:nth-child(2){animation-delay:70ms}.stagger-grid>*:nth-child(3){animation-delay:.11s}.stagger-grid>*:nth-child(4){animation-delay:.15s}.stagger-grid>*:nth-child(5){animation-delay:.19s}.stagger-grid>*:nth-child(6){animation-delay:.23s}.glow-button,.reveal-button{position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease}.glow-button{box-shadow:0 16px 28px #9f662729,0 0 0 1px #c78e491f}.glow-button:hover,.glow-button:focus-visible{transform:translateY(-1px);box-shadow:0 20px 32px #9f662738,0 0 0 1px #c78e4933,0 0 18px #ddac5f3d}.reveal-button:hover,.reveal-button:focus-visible{transform:translateY(-1px);box-shadow:0 14px 28px #75491b1f}.animated-number{font-variant-numeric:tabular-nums;letter-spacing:.01em}.game-hero-card h1,.game-content-topbar h2,.panel-header h2,.section-heading h2,.section-heading h3,.hero-panel h1,.realm-progress-card h3{background:linear-gradient(180deg,#6e4118 8%,#8e5924 48%,#ba8040);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:.02em;text-shadow:0 8px 24px rgba(160,105,42,.08)}.game-hero-card h1,.hero-panel h1{animation:title-bloom .42s ease both}.ui-skin-card__art,.ui-skin-card__art:before,.entity-portrait__art--text,.map-backdrop__surface--text,.battle-stage__banner--text{background:linear-gradient(135deg,#f1e5d3f5,#dfc4a0e0),#fff6;border-style:dashed}.entity-portrait__glyph{position:relative;z-index:1;font-size:2.3rem;letter-spacing:.06em;color:#663c16e6;text-shadow:0 12px 24px var(--shadow-card)}.entity-portrait__overlay{position:absolute;inset:auto 12px 12px;z-index:1}.ui-skin-card__meta,.map-backdrop__copy,.battle-stage__banner-copy{display:flex;flex-direction:column;gap:6px}.ui-skin-card__title{font-size:1rem;color:#5f3817}.ui-skin-card__description{line-height:1.6;color:var(--text-secondary)}.map-backdrop__veil{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 22% 28%,rgba(255,248,233,.28),transparent 24%),radial-gradient(circle at 78% 18%,rgba(255,233,194,.22),transparent 22%),linear-gradient(180deg,transparent,rgba(96,61,24,.08));pointer-events:none}.map-backdrop__copy{position:relative;z-index:1;max-width:36ch}.ui-skin-card__content{min-width:0}.battle-stage{gap:16px}.battle-stage__arena{min-height:160px;padding:18px;border-radius:0;border:1px dashed rgba(133,86,35,.18);background:#fff9f19e}.battle-stage__arena>:first-child{margin-top:0}.battle-stage__arena>:last-child{margin-bottom:0}.sidebar-item,.segment,.tab,.market-listing-button,.skill-loadout-button,.pill-button,.mail-row,.map-session-card,.system-hub-card,.combat-summary-card,.realm-summary-card,.source-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease}.sidebar-item:hover,.market-listing-button:hover,.skill-loadout-button:hover,.mail-row.is-claimable:hover,.map-session-card:hover,.system-hub-card:hover,.combat-summary-card:hover,.realm-summary-card:hover,.source-card:hover{transform:translateY(-2px);box-shadow:0 16px 30px #734a1c1a}.sidebar-item.is-active,.segment.active,.tab.active,.market-listing-button.is-active,.skill-loadout-button.is-active,.pill-button.is-active{border-color:#ab6e2e70;box-shadow:0 18px 34px #925d2324,0 0 0 1px #ca96501f,0 0 18px #d6ab6829}.mail-row.is-claimable,.map-selection-card,.combat-summary-card:first-child,.realm-source-block .source-card:first-of-type{border-color:#ab6e2e38;box-shadow:inset 0 1px #ffffffa6,0 14px 28px #925d2314}.game-hero-card,.game-summary-card,.panel,.game-card,.hero-metrics>div strong,.offline-summary-grid dd,.overview-list strong,.session-kv-list dd{font-variant-numeric:tabular-nums}@keyframes card-fade-up{0%{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes section-fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes title-bloom{0%{opacity:0;filter:blur(10px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.section-stage,.reveal-card,.stagger-grid>*,.game-hero-card h1,.hero-panel h1{animation:none}.glow-button,.reveal-button,.sidebar-item,.segment,.tab,.market-listing-button,.skill-loadout-button,.pill-button,.mail-row,.map-session-card,.system-hub-card,.combat-summary-card,.realm-summary-card,.source-card{transition:none}}.combat-panel{grid-column:1 / -1;display:flex;flex-direction:column;gap:18px;padding:22px;border-radius:0;border:1px solid rgba(120,87,40,.12);background:radial-gradient(circle at top,#ffffffeb,#fff0 42%),linear-gradient(180deg,#fffaf2fa,#f7eedfeb);box-shadow:0 20px 50px #7857281f,inset 0 1px #ffffff85}.combat-panel--empty{min-height:220px;justify-content:center}.combat-panel__header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:flex-start}.combat-panel__header-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.combat-panel__header-copy h2,.combat-panel__header-copy p{margin:0}.combat-panel__summary{max-width:62ch;line-height:1.6;color:#3f2914c2}.combat-panel__status{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:16px;padding:14px 16px;border-radius:0;border:1px solid rgba(167,116,58,.14);background:#fffbf5d6}.combat-panel__status .combat-panel__summary{flex:1 1 320px;max-width:none}.combat-panel__status-pill{flex:0 0 auto}.combat-panel__header-actions{display:flex;flex-direction:column;gap:12px;align-items:flex-end}.combat-panel__header-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.combat-panel__back-button{align-self:flex-end}.combat-panel__tabs{display:flex;gap:0;border-bottom:2px solid rgba(180,150,100,.15)}.combat-panel__tab--active{color:var(--parchment);border-bottom-color:var(--parchment);font-weight:700}.battle-history{padding:16px}.battle-history__categories{display:flex;gap:0;margin-bottom:12px}.battle-history__cat-tab--active{background:#b4966426;color:var(--parchment);font-weight:700;border-color:#b496644d}.battle-history__list{display:flex;flex-direction:column;gap:6px}.battle-history__item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;background:#1e191299;border:1px solid rgba(180,150,100,.12);border-radius:0;cursor:pointer;font-family:inherit;text-align:left;font-size:.8rem;color:#d4c4a8;image-rendering:pixelated}.battle-history__item:hover:not(:disabled){background:#282014cc;border-color:#b4966440}.battle-history__item:disabled{cursor:default;opacity:.6}.battle-history__item-enemies{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-history__item-status{font-size:.7rem;font-weight:700;padding:2px 6px;border-radius:0;flex-shrink:0}.battle-history__item-round{color:#d4c4a880;font-size:.7rem;flex-shrink:0}.battle-history__item-time{color:var(--text-faint);font-size:.65rem;flex-shrink:0;min-width:52px;text-align:right}.battle-history__item-noreplay{font-size:.6rem;color:#d4c4a84d;flex-shrink:0}.battle-history__empty{color:var(--text-faint);font-size:.85rem;text-align:center;padding:24px 16px}.combat-log-panel{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:0;border:1px solid rgba(180,150,100,.15);background:#100e0ad1;max-height:180px;overflow-y:auto;image-rendering:pixelated}.combat-log{display:flex;flex-direction:column;gap:4px}.combat-log-entry{display:flex;flex-direction:column;gap:2px;padding:4px 8px;position:relative;min-height:22px;background-size:100% 100%;image-rendering:pixelated}.combat-log-entry p{margin:0;line-height:1.4;font-size:.82rem;color:#d4c4a8d9;text-shadow:1px 1px 0 rgba(0,0,0,.5)}.combat-log-entry img.combat-log-entry__bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated;pointer-events:none;opacity:.5}.combat-log-entry--system,.combat-log-entry--system p{color:#d4c4a8a6}.progress-bar{display:flex;flex-direction:column;gap:6px}.progress-bar__meta{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:.72rem;color:#5d3e1cc7}.progress-bar__value{font-variant-numeric:tabular-nums}.combat-unit--active{filter:drop-shadow(0 0 8px rgba(77,168,184,.8))}.combat-unit--active:after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:20px;background:radial-gradient(ellipse at center,#f5c84280,#f5c84200 72%);pointer-events:none}.combat-unit--dead{opacity:.55;filter:saturate(.5) grayscale(.4)}.combat-unit__sprite{image-rendering:pixelated}.combat-unit__hud{position:relative;width:110px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 6px 6px}.combat-unit__hud-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated;pointer-events:none}.combat-unit__hud-name{position:relative;z-index:1;font-size:.75rem;line-height:1.2;color:var(--parchment);text-shadow:1px 1px 0 rgba(0,0,0,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100px;text-align:center}.combat-unit__hud-hp{position:relative;z-index:1;width:88px;height:12px}.combat-unit__hud-hp-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated}.combat-unit__hud-hp-fill{position:absolute;left:3px;top:3px;bottom:3px;background:var(--red-accent);image-rendering:pixelated}.combat-unit__hud-hp-text{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.65rem;color:#fff;text-shadow:1px 1px 0 rgba(0,0,0,.8);font-variant-numeric:tabular-nums;z-index:1}.combat-unit__hud-shentong{position:relative;z-index:1;width:88px;height:12px}.combat-unit__hud-shentong-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated}.combat-unit__hud-shentong-fill{position:absolute;left:3px;top:3px;bottom:3px;background:var(--gold);image-rendering:pixelated}@media(min-width:768px){.combat-panel__header-actions{margin-left:auto}}.combat-unit--acting.combat-unit--ally{transform:translate(24px) translateY(-8px)}.combat-unit--acting.combat-unit--enemy{transform:translate(-24px) translateY(-8px)}.cast-bar{position:relative;z-index:1;height:4px;width:88px;margin-top:2px;background:#0000004d;overflow:hidden}.cast-bar__fill{height:100%;width:0%;background:#b8860b;animation:cast-fill var(--cast-duration, .6s) linear forwards}@keyframes cast-fill{0%{width:0%}to{width:100%}}.combat-unit--hit{animation:hit-flash .3s ease-out}@keyframes hit-flash{0%{filter:brightness(2) saturate(.5)}to{filter:none}}.damage-float{position:absolute;top:-4px;left:50%;transform:translate(-50%);pointer-events:none;font-weight:700;font-size:1.05rem;line-height:1;white-space:nowrap;z-index:10;animation:float-up .9s ease-out forwards}@keyframes float-up{0%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(-36px)}}@media(max-width:1100px){.battle-layout{grid-template-columns:1fr 1fr;gap:10px}.battle-stage{grid-column:1 / -1;max-height:none;min-height:auto}.battle-skill-panel{grid-column:1}.enemy-status-panel{grid-column:2}}@media(max-width:640px){.battle-layout{display:flex;flex-direction:column;gap:10px}.battle-stage{width:100%;max-height:none;min-height:auto;order:1}.battle-skill-panel{order:2}.enemy-status-panel{order:3}.combat-unit__hud{width:80px}.combat-unit__hud-name{font-size:.6rem;max-width:72px}.combat-unit__hud-hp,.combat-unit__hud-shentong{width:64px;height:10px}.cast-bar{width:64px}.combat-unit--ally{bottom:calc(6% + var(--slot-index, 0) * 5%);left:calc(4% + var(--slot-index, 0) * 12%)}.combat-unit--enemy{bottom:calc(12% + var(--slot-index, 0) * 12%);right:calc(2% + var(--slot-index, 0) * 8%)}.battle-skill-panel,.enemy-status-panel{font-size:.9rem}}.combat-log-entry__time{color:var(--text-faint);font-size:.8em;font-variant-numeric:tabular-nums;margin-right:4px}.pixel-auth{--pa-ink: #1a1a2e;--pa-parchment: var(--parchment);--pa-jade: var(--jade);--pa-jade-dim: #3a8a98;--pa-gold: var(--gold);--pa-cinnabar: #c75b39;--pa-panel-bg: rgba(221, 211, 181, .9);--pa-panel-border: #d1a84e;--pa-panel-text: #182330;--pa-panel-muted: rgba(24, 35, 48, .72);--pa-panel-soft: rgba(24, 35, 48, .12);--pa-input-bg: rgba(18, 35, 58, .9);--pa-input-border: #3f91a3;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background-color:#1a1a2e;background-image:url(/assets/login-background-CM4and-j.png);background-size:cover;background-position:center;background-repeat:no-repeat;color:var(--pa-parchment);position:relative}.pixel-auth:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0a168c;pointer-events:none;z-index:0}.pixel-auth>*{position:relative;z-index:1}.pixel-auth *,.pixel-auth *:before,.pixel-auth *:after{box-sizing:border-box}.pixel-auth__logo{width:clamp(180px,30vw,320px);height:auto;image-rendering:pixelated;margin-bottom:24px}.pixel-auth__panel{width:100%;max-width:min(440px,calc(100vw - 32px));padding:32px 28px;background:var(--pa-panel-bg);border:3px solid var(--pa-panel-border);color:var(--pa-panel-text);box-shadow:0 0 0 1px #1a1a2ef2,0 0 0 5px #5dbbbc8c,inset 0 0 0 1px #fff4cd73,0 18px 42px #00000094}.pixel-auth__hint{text-align:center;font-size:.85rem;color:var(--pa-panel-muted);margin:0 0 16px}.pixel-auth .tab-row{margin-bottom:20px}.pixel-auth .tab{flex:1;min-width:0;border:2px solid var(--pa-input-border);background:#12233ab8;color:var(--pa-parchment);padding:10px 14px;font-size:.95rem;line-height:1.3;text-align:center;overflow-wrap:anywhere;transition:background .12s,color .12s}.pixel-auth .tab.active{background:var(--pa-jade);color:var(--pa-ink);border-color:var(--pa-jade);font-weight:700}.pixel-auth .tab:hover:not(.active){background:#3a8a98b8}.pixel-auth .auth-form{display:flex;flex-direction:column;gap:18px}.pixel-auth .field-group{display:flex;flex-direction:column;gap:6px}.pixel-auth label{font-size:.88rem;color:#245e68;letter-spacing:.04em}.pixel-auth input{width:100%;border:2px solid var(--pa-input-border);background:var(--pa-input-bg);padding:12px 14px;color:var(--pa-parchment);font-size:.95rem;transition:border-color .12s}.pixel-auth input::placeholder{color:#e8d5b759}.pixel-auth input:focus{outline:none;border-color:var(--pa-jade);box-shadow:0 0 0 1px var(--pa-jade)}.pixel-auth .primary-button{width:100%;border:2px solid var(--pa-gold);background:linear-gradient(180deg,#c49a3a,#a07a28);color:var(--pa-ink);padding:14px 18px;font-size:1rem;font-weight:700;letter-spacing:.06em;transition:background .12s,transform 80ms}.pixel-auth .primary-button:hover:not(:disabled){background:linear-gradient(180deg,#d4aa4a,#b08a38);transform:translateY(-1px)}.pixel-auth .primary-button:disabled{opacity:.5;cursor:not-allowed}.pixel-auth .secondary-button{border:1px solid var(--pa-jade-dim);background:#12233ac2;color:var(--pa-parchment);padding:8px 12px;font-size:.85rem;white-space:nowrap;transition:background .12s}.pixel-auth .secondary-button:hover:not(:disabled){background:#3a8a98c7}.pixel-auth .secondary-button:disabled{opacity:.4;cursor:not-allowed}.pixel-auth .inline-row{display:flex;gap:8px}.pixel-auth .inline-row input{flex:1}.pixel-auth .field-grid{display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}.pixel-auth .checkbox-row{display:flex;align-items:center;gap:8px;color:var(--pa-panel-muted);font-size:.9rem}.pixel-auth .checkbox-row input{width:auto}.pixel-auth .feedback{margin:0;padding:10px 12px;background:#c75b3933;border:1px solid var(--pa-cinnabar);color:var(--pa-cinnabar);font-size:.9rem}.pixel-auth .field-error{min-height:1.1em;font-size:.8rem;color:var(--pa-cinnabar)}.pixel-auth .hint{font-size:.8rem;color:var(--pa-panel-muted)}.pixel-auth .segmented-row{display:flex;gap:8px}.pixel-auth .segment{flex:1;border:2px solid var(--pa-input-border);background:#12233abd;color:var(--pa-parchment);padding:8px 14px}.pixel-auth .segment.active{background:var(--pa-jade);color:var(--pa-ink);border-color:var(--pa-jade);font-weight:700}.pixel-auth .segment:hover:not(.active){background:#3a8a98c7}.pixel-auth .loading-state{text-align:center;padding:32px 16px}.pixel-auth .loading-state .eyebrow{color:var(--pa-jade)}.pixel-auth .loading-state h2{color:var(--pa-parchment);margin-top:8px}.pixel-auth .loading-state p{color:#e8d5b799}@media(max-width:580px){.pixel-auth{padding:16px 16px 48px;justify-content:flex-end}.pixel-auth__panel{padding:24px 20px}.pixel-auth .tab{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 6px;font-size:.88rem}.pixel-auth .inline-row{flex-wrap:wrap}.pixel-auth .inline-row input{flex:1 1 100%}.pixel-auth .inline-row .secondary-button{flex:1 1 calc(50% - 4px)}.pixel-auth .field-grid{grid-template-columns:1fr}}.game-shell{color:#e8dcc6;background:radial-gradient(circle at 18% 0%,rgba(83,151,145,.16),transparent 30%),radial-gradient(circle at 88% 8%,rgba(190,154,87,.14),transparent 28%),linear-gradient(135deg,#080b0d,#111617 48%,#1b1812)}.game-sidebar,.game-content-topbar,.game-card,.game-hero-card,.game-summary-card,.panel,.offline-summary-inline{border-color:#be9a5733;background:linear-gradient(180deg,#121616f0,#0a0d0ee6),#07090aeb;box-shadow:0 18px 42px #00000047;color:#e8dcc6}.game-sidebar{padding:18px 14px;gap:14px}.game-sidebar-header strong,.content-heading-copy h2,.overview-hero-name,.game-mobile-home__name,.system-hub-header strong,.quick-link-copy strong,.mobile-home-action__copy strong,.mobile-home-more__copy strong,.topbar-metric strong,.overview-hero-metrics strong,.game-mobile-home__stat strong,.overview-rail .overview-item strong{color:#f2dfbd}.content-description,.topbar-account-copy span,.topbar-account span,.sidebar-player-copy span,.sidebar-item-copy span,.overview-hero-copy,.hero-copy,.quick-link-copy small,.mobile-home-action__copy small,.mobile-home-more__copy small,.system-hub-card p,.game-mobile-home__summary,.game-mobile-home__copyline,.game-inline-banner p{color:#e8dcc6ad}.eyebrow,.sidebar-group-title,.overview-hero-metrics span,.topbar-metric span,.overview-rail .overview-item span,.game-mobile-home__stat span{color:#bfe9dfad}.game-sidebar-player,.game-sidebar-status div,.topbar-metric,.overview-hero-metrics div,.overview-rail .overview-item,.game-mobile-home__stat,.empty-state{border-color:#be9a5724;background:#0e1111b8}.sidebar-toggle,.content-sidebar-button,.secondary-button,.tab,.segment{border-color:#be9a573d;background:#141819c7;color:#dac59c}.sidebar-item,.quick-link-button,.system-hub-card,.mobile-home-action,.mobile-home-more,.game-mobile-home__more-menu{border-color:#be9a5729;background:#0c0f0fc2;color:#e8dcc6}.sidebar-item.is-active,.quick-link-button:hover,.system-hub-card:hover,.mobile-home-action:hover,.mobile-home-more:hover,.game-mobile-nav__item.is-active{border-color:#53979170;background:#142a28c7;box-shadow:inset 3px 0 #539791b8,0 12px 24px #00000038}.sidebar-item-glyph,.quick-link-glyph,.mobile-home-action__glyph,.mobile-home-more__glyph,.game-mobile-nav__glyph,.sidebar-avatar{background:#53979133;color:#bfe9df}.sidebar-item-badge,.pill,.source-pill,.capacity-badge,.map-featured-event__chips span,.offline-summary-inline-stats span{border:1px solid rgba(190,154,87,.18);background:#201c13bd;color:#d8b86c}.game-content-topbar{grid-template-columns:minmax(0,1fr) minmax(270px,.92fr) auto;padding:10px 14px}.topbar-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar-metric{padding:6px 8px}.topbar-metric span{font-size:.66rem}.topbar-metric strong{margin-top:2px;font-size:.8rem}.topbar-account .secondary-button{padding:7px 10px}.game-overview-split{grid-template-columns:minmax(0,1.34fr) minmax(210px,.48fr)}.overview-hero-card{padding:14px}.overview-hero-main{grid-template-columns:minmax(0,1fr) minmax(240px,.72fr);gap:10px}.overview-hero-name{font-size:clamp(1.45rem,2.1vw,2.1rem)}.overview-hero-copy{margin-top:6px;font-size:.84rem}.quick-link-list{gap:8px}.quick-link-button{min-height:52px;padding:8px 10px}.quick-link-glyph,.quick-link-icon{width:28px;height:28px;flex-basis:28px}.game-summary-rail{padding:12px}.overview-rail .overview-item{padding:8px 10px}.game-overview-panel{padding:14px}.game-overview-panel .panel-header{margin-bottom:10px}.system-hub-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.system-hub-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:10px 12px}.system-hub-header{min-width:0}.system-hub-card p{grid-column:1;margin:0;font-size:.78rem;line-height:1.35}.system-hub-card .secondary-button{grid-column:2;grid-row:1 / span 2;align-self:stretch;padding:6px 10px;white-space:nowrap}.empty-state{min-height:0;place-items:start;padding:10px 12px;text-align:left;color:#e8dcc6a3}@media(max-width:980px){.game-shell{padding:10px;gap:10px}.game-content-topbar,.game-card,.panel,.game-hero-card,.game-summary-card{padding:12px}.game-content-topbar{gap:10px}.game-mobile-home{gap:9px;padding:12px;border-color:#be9a5733;background:linear-gradient(180deg,#121616f2,#0a0d0eeb),#07090aeb;box-shadow:0 16px 32px #00000042}.game-mobile-home__hero{gap:8px}.game-mobile-home__name{font-size:clamp(1.25rem,5vw,1.6rem)}.game-mobile-home__summary,.game-mobile-home__copyline{font-size:.8rem;line-height:1.35}.game-mobile-home__stats{gap:6px}.game-mobile-home__stat{padding:7px 8px}.game-mobile-home__stat strong{margin-top:3px;font-size:.82rem}.game-mobile-home__primary,.game-mobile-home__more-grid{gap:6px}.mobile-home-action,.mobile-home-more{min-height:48px;padding:7px 8px}.mobile-home-action__glyph,.mobile-home-more__glyph,.mobile-home-action__icon,.mobile-home-more__icon{width:28px;height:28px;flex-basis:28px}.game-mobile-home__more-menu{gap:8px;padding:10px}.game-mobile-nav{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));gap:4px;padding:7px;border-color:#be9a573d;background:#080b0cf0;box-shadow:0 16px 34px #0000006b}.game-mobile-nav__item{padding:7px 3px}.game-mobile-nav__glyph{width:24px;height:24px}.game-mobile-nav__label{color:#e8dcc6c2;font-size:.68rem}.game-content{padding-bottom:calc(118px + env(safe-area-inset-bottom))}}.game-shell .info-banner,.game-shell .game-inline-banner,.game-shell .panel,.game-shell .combat-panel,.game-shell .battle-history,.game-shell .global-feedback-item,.game-shell .combat-panel__status{border-color:#be9a572e;background:#0a0d0ec7;color:#e8dcc6;box-shadow:none}.game-shell .info-banner,.game-shell .game-inline-banner,.game-shell .global-feedback-item{margin:8px 0;padding:9px 12px}.game-shell .global-feedback-item p,.game-shell .game-inline-banner p,.game-shell .combat-panel__summary{color:#e8dcc6b8}.game-shell .source-values .pill-button,.game-shell .source-values .secondary-button,.game-shell .source-values .primary-button{border-color:#be9a573d;background:#141819c7;color:#dac59c}.game-shell .source-values .pill-button:disabled,.game-shell .source-values .secondary-button:disabled,.game-shell .source-values .primary-button:disabled{background:#1215158f;color:#e8dcc652;opacity:.72}.game-shell .panel-header,.game-shell .market-toolbar{border-color:#be9a5729;background:#0c0f10b8;color:#f2dfbd}.game-shell .panel-hint,.game-shell .empty-state,.game-shell .battle-history__empty,.game-shell .battle-history .muted-text{border-color:#be9a572e;background:#0f1212b8;color:#e8dcc6ad}.game-shell input,.game-shell select,.game-shell textarea{border-color:#be9a573d;background:#0c0f0fe6;color:#e8dcc6}.game-shell .stat-block,.game-shell .source-card,.game-shell .equipment-slot-card,.game-shell .item-detail-panel,.game-shell .item-card,.game-shell .estate-card,.game-shell .estate-recipe-card,.game-shell .realm-summary-card,.game-shell .realm-progress-card,.game-shell .sect-member-row,.game-shell .sect-log-row{border-color:#be9a572e;background:#0c0f0fbd;color:#e8dcc6;box-shadow:none}.game-shell .section-heading{margin-bottom:10px}.game-shell .stat-block,.game-shell .source-card,.game-shell .equipment-slot-card,.game-shell .item-detail-panel,.game-shell .estate-card,.game-shell .estate-recipe-card,.game-shell .realm-summary-card,.game-shell .realm-progress-card{padding:10px 12px}.game-shell .source-list,.game-shell .source-values,.game-shell .equipment-strip,.game-shell .stats-grid{gap:8px}.game-shell .stat-block h3,.game-shell .sources-block h3,.game-shell .item-detail-panel h3{margin-bottom:8px}.game-shell .stat-block dl div,.game-shell .status-grid div{padding:5px 0;border-color:#be9a571c}.game-shell .bag-category-row,.game-shell .bag-equipment-strip,.game-shell .item-grid{padding:8px;border:1px solid rgba(190,154,87,.16);background:#080b0c75}.game-shell .bag-category-row{margin-bottom:10px}.game-shell .bag-category-row .tab{min-height:44px;padding:7px 10px}.game-shell .bag-equipment-strip{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-bottom:10px}.game-shell .equipment-slot-card{min-height:0}.game-shell .equipment-slot-card span{margin-bottom:4px;color:#bfe9df8f}.game-shell .item-card{min-height:40px;padding:7px 9px;border-color:#be9a5724}.game-shell .item-card.active{border-color:#5397918f;background:#142a28b8;box-shadow:inset 3px 0 #539791b3}.game-shell .feedback,.game-shell .panel-error,.game-shell .offline-summary-banner,.game-shell .offline-summary-grid div,.game-shell .overview-list div,.game-shell .market-offer,.game-shell .market-record,.game-shell .leaderboard-row,.game-shell .market-listing-button,.game-shell .settings-card,.game-shell .chest-result-modal,.game-shell .chest-roll-item,.game-shell .chest-pity-item{border:1px solid rgba(190,154,87,.18);background:#0c0f0fc7;color:#e8dcc6;box-shadow:none}.game-shell .feedback,.game-shell .panel-error{color:#f0c08f}.game-shell .offline-summary-banner span,.game-shell .market-offer p,.game-shell .market-record p,.game-shell .leaderboard-row p,.game-shell .chest-roll-item p,.game-shell .chest-pity-item p{color:#e8dcc6ad}.game-shell .tab.active,.game-shell .segment.active,.game-shell .pill-button.is-active,.game-shell .market-listing-button.is-active{border-color:#be9a5770;background:#7e4d1cd6;color:#f9e4b8}.game-shell .pill-button,.game-shell .tab,.game-shell .segment,.game-shell .secondary-button,.game-shell .market-listing-button{border-color:#be9a5738;background:#101313d1;color:#dac59c}.game-shell .pill-button:disabled,.game-shell .secondary-button:disabled,.game-shell .primary-button:disabled,.game-shell .tab:disabled{background:#1215158a;color:#e8dcc657;opacity:.72}.game-shell .field span,.game-shell .offline-summary-grid dt,.game-shell .overview-list span{color:#bfe9df94}.game-shell .field input,.game-shell .field select,.game-shell .field textarea{border-color:#be9a573d;background:#080b0ceb;color:#e8dcc6}.bag-layout--list-only{grid-template-columns:minmax(0,1fr)}.character-stats-grid{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(280px,1fr);align-items:start}.character-growth-center .character-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-source-list{display:grid;gap:6px}.character-source-row{display:grid;grid-template-columns:minmax(86px,.34fr) minmax(0,1fr);gap:8px;align-items:center;padding:5px 0;border-bottom:1px dashed rgba(190,154,87,.11)}.character-source-row:last-child{border-bottom:none}.character-source-row__value{min-width:0;color:var(--text-secondary);line-height:1.45;overflow-wrap:anywhere;white-space:normal}.realm-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.companion-panel .companion-lineup-list,.companion-panel .companion-roster-list{gap:8px}.companion-row{display:grid;grid-template-columns:minmax(160px,.5fr) minmax(0,1fr) auto;gap:8px 12px;align-items:center}.companion-row .source-values{margin-top:0}.companion-detail-card{margin-top:8px}.market-tab-row,.leaderboard-tab-row{margin-bottom:12px}.market-section-panel{display:flex;flex-direction:column;gap:14px;padding:12px;border:1px solid rgba(190,154,87,.16);background:#080b0c6b}.market-grid--browse,.market-grid--sell{grid-template-columns:minmax(260px,.8fr) minmax(320px,1fr)}.leaderboard-grid--single{grid-template-columns:minmax(0,1fr)}.companion-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:14px;align-items:start}.companion-sidebar,.companion-detail-area,.companion-section,.companion-list{min-width:0}.companion-sidebar,.companion-list{display:flex;flex-direction:column;gap:10px}.companion-section{display:flex;flex-direction:column;gap:8px}.companion-section h3{margin:0;color:#f2dfbd;font-size:.92rem}.companion-lineup-compact{display:grid;gap:6px}.companion-lineup-pill{display:flex;justify-content:space-between;gap:8px}.companion-list-item{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;text-align:left}.companion-list-item.is-active{border-color:#5397918a;background:#142a28b8;box-shadow:inset 3px 0 #539791b3}.companion-list-item strong,.companion-list-item small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.companion-detail-card{margin-top:0}.companion-detail-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.sect-create-requirements{margin:8px 0}@media(max-width:980px){.character-stats-grid,.realm-summary-grid,.companion-row,.companion-layout,.market-grid--browse,.market-grid--sell{grid-template-columns:1fr}.companion-row .source-values{justify-content:flex-start}.game-content-topbar{grid-template-columns:1fr!important;gap:8px;padding:10px}.content-heading-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.content-heading-copy,.topbar-account-copy,.topbar-metric{min-width:0}.content-heading-copy h2,.content-heading-copy .eyebrow,.content-description,.topbar-metric span,.topbar-metric strong,.topbar-account-copy strong,.topbar-account-copy span{writing-mode:horizontal-tb;word-break:keep-all;overflow-wrap:normal}.content-description{display:none}.topbar-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.topbar-metric{padding:6px 7px}.topbar-metric span{font-size:.64rem}.topbar-metric strong{margin-top:2px;font-size:.76rem}.topbar-account{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.topbar-account-copy{flex:1 1 auto}.topbar-account-copy strong,.topbar-account-copy span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:640px){.bag-detail-actions>button{flex-basis:100%}.quick-link-list,.overview-hero-metrics,.system-hub-grid{grid-template-columns:1fr}.topbar-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.system-hub-card{grid-template-columns:1fr}.system-hub-card .secondary-button{grid-column:auto;grid-row:auto;width:100%}.game-mobile-home,.game-mobile-home__hero,.game-mobile-home__copy,.game-mobile-home__title-row,.game-mobile-home__stats,.game-mobile-home__primary,.game-mobile-home__more-grid,.game-mobile-home__more-menu,.mobile-home-action,.mobile-home-more,.sidebar-task-card,.sidebar-task-card__header,.sidebar-task-card__body,.sidebar-task-card__title,.sidebar-task-card__desc{min-width:0;writing-mode:horizontal-tb;word-break:break-word;overflow-wrap:break-word}.game-mobile-home__hero{flex-direction:column;align-items:stretch}.game-mobile-home__more{width:100%;align-self:stretch}.game-mobile-home__stats,.game-mobile-home__primary,.game-mobile-home__more-grid{grid-template-columns:1fr}.mobile-home-action,.mobile-home-more{grid-template-columns:28px minmax(0,1fr);display:grid;align-items:center}.mobile-home-action__copy,.mobile-home-more__copy{min-width:0}.mobile-home-action__copy strong,.mobile-home-action__copy small,.mobile-home-more__copy strong,.mobile-home-more__copy small,.game-mobile-home__summary,.game-mobile-home__copyline,.game-mobile-home__stat span,.game-mobile-home__stat strong{white-space:normal}}.ui-shell-surface{background:var(--ui-bg-shell);color:var(--ui-text-primary);border:1px solid var(--ui-line-soft)}.ui-panel{background:var(--ui-bg-panel);color:var(--ui-text-primary);border:1px solid var(--ui-line-soft);padding:16px}.ui-panel--raised{background:var(--ui-bg-panel-2);border-color:var(--ui-line-mid)}.ui-inset{background:var(--ui-bg-inset);border:1px solid var(--ui-line-faint);padding:8px 12px}.ui-paper{background:var(--ui-bg-paper);color:var(--ui-text-paper);border:1px solid var(--ui-line-mid);padding:16px}.ui-page-header{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ui-line-mid);color:var(--ui-text-primary);font-size:1.15rem;font-weight:700}.ui-subnav{display:flex;gap:0;border-bottom:1px solid var(--ui-line-soft)}.ui-subnav>*{padding:8px 16px;color:var(--ui-text-secondary);font-size:.88rem;cursor:pointer;border:none;border-bottom:2px solid transparent;background:transparent}.ui-subnav>*:hover{color:var(--ui-text-primary);background:var(--ui-bg-panel-2)}.ui-subnav>*[data-active],.ui-subnav>*.active{color:var(--ui-accent-jade);border-bottom-color:var(--ui-accent-jade)}.ui-mode-rail{display:flex;flex-direction:column;gap:2px;padding:8px 0;min-width:140px;border-right:1px solid var(--ui-line-soft)}.ui-mode-rail>*{padding:6px 12px;color:var(--ui-text-secondary);font-size:.85rem;cursor:pointer;border-left:2px solid transparent;background:transparent}.ui-mode-rail>*:hover{color:var(--ui-text-primary);background:var(--ui-bg-panel-2)}.ui-mode-rail>*[data-active],.ui-mode-rail>*.active{color:var(--ui-accent-jade);border-left-color:var(--ui-accent-jade);background:var(--ui-accent-jade-soft)}.ui-workspace{display:flex;flex:1;min-width:0;min-height:0}.ui-detail-pane{border-left:1px solid var(--ui-line-soft);background:var(--ui-bg-panel-2);padding:16px;overflow-y:auto;color:var(--ui-text-secondary);min-width:200px}.ui-editor-shell{display:flex;flex-direction:column;flex:1;min-height:0}.ui-editor-rail{border-right:1px solid var(--ui-line-soft);padding:8px 0;overflow-y:auto;min-width:160px;background:var(--ui-bg-panel)}.ui-editor-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--ui-line-soft);background:var(--ui-bg-panel-2);min-height:40px}.ui-editor-row{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--ui-line-faint);color:var(--ui-text-primary);font-size:.88rem;cursor:pointer}.ui-editor-row:hover{background:var(--ui-bg-panel-2)}.ui-editor-row--selected,.ui-editor-row[data-selected]{background:var(--ui-accent-jade-soft);border-left:2px solid var(--ui-accent-jade);color:var(--ui-text-primary)}.ui-editor-row--disabled{opacity:.5;pointer-events:none}.ui-editor-condition-row{display:flex;align-items:center;gap:6px;padding:4px 12px 4px 24px;font-size:.82rem;color:var(--ui-text-muted);border-bottom:1px solid var(--ui-line-faint)}.ui-row-actions{display:flex;gap:4px;margin-left:auto;flex-shrink:0}.ui-ledger{display:flex;flex-direction:column;gap:2px;padding:8px 0}.ui-ledger>*{display:flex;justify-content:space-between;align-items:baseline;padding:2px 12px;font-size:.85rem}.ui-kv-grid{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;padding:8px 12px;font-size:.85rem}.ui-kv-grid>*:nth-child(odd){color:var(--ui-text-muted)}.ui-kv-grid>*:nth-child(2n){color:var(--ui-text-primary);font-variant-numeric:tabular-nums}.ui-meter{height:6px;background:var(--ui-bg-inset);border:1px solid var(--ui-line-faint);overflow:hidden}.ui-meter>.ui-meter__fill{height:100%;background:var(--ui-accent-jade);transition:width .16s ease}.ui-empty-state{padding:32px 16px;text-align:center;color:var(--ui-text-faint);font-size:.88rem}.ui-chip{display:inline-flex;align-items:center;padding:2px 8px;font-size:.76rem;letter-spacing:.02em;border:1px solid var(--ui-line-soft);color:var(--ui-text-secondary);background:transparent;border-radius:0}.ui-chip--active{border-color:var(--ui-accent-jade);color:var(--ui-accent-jade);background:var(--ui-accent-jade-soft)}.ui-chip--muted{color:var(--ui-text-faint);border-color:var(--ui-line-faint)}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;font-size:.88rem;font-family:inherit;font-weight:700;border:1px solid var(--ui-line-mid);border-radius:0;background:var(--ui-bg-panel-2);color:var(--ui-text-primary);cursor:pointer;white-space:nowrap;min-height:32px;transition:background .12s ease,border-color .12s ease}.ui-button:hover{background:var(--ui-bg-inset);border-color:var(--ui-line-strong)}.ui-button:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:1px}.ui-button:disabled{opacity:.45;cursor:not-allowed}.ui-button--primary{background:var(--ui-accent-jade);color:var(--ui-bg-canvas);border-color:var(--ui-accent-jade)}.ui-button--primary:hover{background:var(--ui-accent-jade-hover)}.ui-button--primary:focus-visible{outline:2px solid rgba(91,191,172,.6);outline-offset:1px}.ui-button--secondary{background:transparent;color:var(--ui-text-secondary);border-color:var(--ui-line-soft)}.ui-button--secondary:hover{background:var(--ui-bg-panel-2);border-color:var(--ui-line-mid);color:var(--ui-text-primary)}.ui-button--secondary:focus-visible{outline:2px solid rgba(91,191,172,.4);outline-offset:1px}.ui-button--danger{background:transparent;color:var(--ui-accent-red);border-color:var(--ui-accent-red)}.ui-button--danger:hover{background:#d26b5f1f}.ui-button--danger:focus-visible{outline:2px solid rgba(210,107,95,.5);outline-offset:1px}.ui-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--ui-line-soft);border-radius:0;background:transparent;color:var(--ui-text-secondary);cursor:pointer;transition:background .12s ease,border-color .12s ease}.ui-icon-button:hover{background:var(--ui-bg-panel-2);border-color:var(--ui-line-mid);color:var(--ui-text-primary)}.ui-icon-button:focus-visible{outline:2px solid rgba(91,191,172,.4);outline-offset:1px}.ui-icon-button:disabled{opacity:.4;cursor:not-allowed}.ui-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:6px 28px 6px 10px;font-size:.88rem;font-family:inherit;border:1px solid var(--ui-line-mid);border-radius:0;background:var(--ui-bg-inset);color:var(--ui-text-primary);cursor:pointer;min-height:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23f1eadb'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}.ui-select:hover{border-color:var(--ui-line-strong)}.ui-select:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:1px}.ui-select:disabled{opacity:.45;cursor:not-allowed}.ui-input{padding:6px 10px;font-size:.88rem;font-family:inherit;border:1px solid var(--ui-line-mid);border-radius:0;background:var(--ui-bg-inset);color:var(--ui-text-primary);min-height:32px}.ui-input::placeholder{color:var(--ui-text-faint)}.ui-input:hover{border-color:var(--ui-line-strong)}.ui-input:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:1px}.ui-input:disabled{opacity:.45;cursor:not-allowed}.ui-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border:1px solid var(--ui-line-mid);border-radius:0;background:var(--ui-bg-inset);cursor:pointer;vertical-align:middle;position:relative}.ui-checkbox:hover{border-color:var(--ui-line-strong)}.ui-checkbox:checked{background:var(--ui-accent-jade);border-color:var(--ui-accent-jade)}.ui-checkbox:checked:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #08100e;border-width:0 2px 2px 0;transform:rotate(45deg)}.ui-checkbox:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:1px}.ui-checkbox:disabled{opacity:.45;cursor:not-allowed}.ui-v2-character{background:var(--ui-bg-shell);border:1px solid var(--ui-line-soft);color:var(--ui-text-primary)}.ui-v2-character .eyebrow{color:var(--ui-text-muted);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 2px}.ui-v2-character h2{color:var(--ui-text-primary);margin:0}.ui-v2-character .ui-page-header{padding:12px 16px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-character .ui-subnav{border-bottom:1px solid var(--ui-line-soft)}.ui-v2-character .sub-view-tab{color:var(--ui-text-secondary);border-bottom:2px solid transparent;background:transparent;transition:color .12s,border-color .12s,background .12s}.ui-v2-character .sub-view-tab:hover{color:var(--ui-text-primary);background:var(--ui-bg-panel-2)}.ui-v2-character .sub-view-tab.is-active{color:var(--ui-accent-jade);border-bottom-color:var(--ui-accent-jade)}.ui-v2-character .sub-view-content{padding:16px}.ui-v2-skill-learning .section-heading h3{color:var(--ui-text-primary)}.ui-v2-skill-learning .panel-hint{color:var(--ui-text-muted);font-size:.82rem;line-height:1.5}.ui-v2-skill-learning .skill-card{background:var(--ui-bg-panel);border:1px solid var(--ui-line-soft);color:var(--ui-text-primary);transition:border-color .12s,background .12s,box-shadow .12s}.ui-v2-skill-learning .skill-card:hover{background:var(--ui-bg-panel-2);border-color:var(--ui-line-mid)}.ui-v2-skill-learning .skill-card.is-selected{background:var(--ui-accent-jade-soft);border-color:var(--ui-accent-jade);border-left:3px solid var(--ui-accent-jade);box-shadow:inset 0 0 0 1px var(--ui-accent-jade-soft)}.ui-v2-skill-learning .skill-card.is-selected .skill-card__eyebrow{color:var(--ui-accent-jade)}.ui-v2-skill-learning .skill-card__eyebrow{color:var(--ui-text-faint)}.ui-v2-skill-learning .skill-card strong{color:var(--ui-text-primary)}.ui-v2-skill-learning .skill-card p{color:var(--ui-text-secondary)}.ui-v2-skill-learning .skill-card small{color:var(--ui-text-muted)}.ui-v2-skill-learning .skill-card--learnable{border-style:dashed;border-color:var(--ui-line-mid)}.ui-v2-skill-learning .skill-card--learnable:hover{border-color:var(--ui-line-strong);border-style:dashed}.ui-v2-skill-learning .skill-card--learnable.is-selected{border-style:solid}.ui-v2-skill-learning .skill-kind{border-color:var(--ui-line-mid);background:var(--ui-bg-inset);color:var(--ui-text-secondary);font-size:.72rem}.ui-v2-skill-learning .skill-kind--damage{border-color:#d26b5f59;background:#d26b5f1f;color:var(--ui-accent-red)}.ui-v2-skill-learning .skill-kind--heal{border-color:#78bf7359;background:#78bf731f;color:var(--ui-accent-green)}.ui-v2-skill-learning .skill-kind--buff{border-color:#6ba8c859;background:#6ba8c81f;color:var(--ui-accent-blue)}.ui-v2-skill-learning .skill-kind--debuff{border-color:#9a8a7059;background:#9a8a701f;color:var(--ui-accent-debuff)}.ui-v2-skill-learning .skill-detail-panel.ui-paper{background:var(--ui-bg-paper);color:var(--ui-text-paper);border:1px solid var(--ui-line-mid)}.ui-v2-skill-learning .skill-detail-panel.ui-paper h3{color:var(--ui-text-paper)}.ui-v2-skill-learning .skill-detail-panel.ui-paper p{color:var(--ui-text-paper-muted);line-height:1.6}.ui-v2-skill-learning .skill-detail-panel.ui-paper .eyebrow{color:var(--ui-text-paper-muted)}.ui-v2-skill-learning .skill-detail-panel.ui-paper .skill-detail-meta span:not(.skill-kind){border-color:var(--ui-line-mid);background:var(--ui-bg-paper-soft);color:var(--ui-text-paper-muted);font-size:.78rem}.ui-v2-skill-learning .skill-detail-panel.ui-paper .skill-kind--damage{border-color:#d26b5f59;background:#d26b5f1f;color:var(--ui-accent-red)}.ui-v2-skill-learning .skill-detail-panel.ui-paper .skill-kind--heal{border-color:#78bf7359;background:#78bf731f;color:var(--ui-accent-green)}.ui-v2-skill-learning .skill-detail-panel.ui-paper .skill-kind--buff{border-color:#6ba8c859;background:#6ba8c81f;color:var(--ui-accent-blue)}.ui-v2-skill-learning .skill-detail-panel.ui-paper .skill-kind--debuff{border-color:#9a8a7059;background:#9a8a701f;color:var(--ui-accent-debuff)}.ui-v2-skill-learning .skill-detail-panel.ui-paper .panel-hint{color:var(--ui-text-paper-muted)}.ui-v2-skill-learning .empty-state{color:var(--ui-text-muted)}.ui-v2-skill-strategy{background:var(--ui-bg-shell);border:1px solid var(--ui-line-soft);color:var(--ui-text-primary)}.ui-v2-skill-strategy .eyebrow{color:var(--ui-text-muted);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 2px}.ui-v2-skill-strategy h2{color:var(--ui-text-primary)}.ui-v2-skill-strategy .panel-hint{color:var(--ui-text-muted);font-size:.82rem}.ui-v2-skill-strategy .skill-strategy-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:0;border:1px solid var(--ui-line-soft);background:var(--ui-bg-panel);min-height:400px}.ui-v2-skill-strategy .skill-loadout-list.ui-editor-rail{border-right:1px solid var(--ui-line-soft);padding:8px 0;gap:0;min-width:160px;background:var(--ui-bg-panel)}.ui-v2-skill-strategy .skill-loadout-button{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:transparent;border:none;border-left:2px solid transparent;color:var(--ui-text-secondary);font-size:.88rem;cursor:pointer;width:100%;text-align:left;transition:color .12s,background .12s,border-color .12s}.ui-v2-skill-strategy .skill-loadout-button:hover{color:var(--ui-text-primary);background:var(--ui-bg-panel-2)}.ui-v2-skill-strategy .skill-loadout-button.is-active{color:var(--ui-accent-jade);border-left-color:var(--ui-accent-jade);background:var(--ui-accent-jade-soft)}.ui-v2-skill-strategy .skill-loadout-button.is-active span{color:var(--ui-accent-jade)}.ui-v2-skill-strategy .skill-loadout-button span{color:var(--ui-text-faint);font-size:.76rem}.ui-v2-skill-strategy .skill-loadout-button--create{border-top:1px solid var(--ui-line-faint);margin-top:8px;color:var(--ui-text-muted)}.ui-v2-skill-strategy .skill-editor.ui-editor-shell{display:flex;flex-direction:column;gap:0}.ui-v2-skill-strategy .editor-summary.ui-editor-toolbar{background:var(--ui-bg-panel-2);border-bottom:1px solid var(--ui-line-soft);padding:8px 12px}.ui-v2-skill-strategy .editor-label-flex{flex:1}.ui-v2-skill-strategy .editor-summary-info .field span{color:var(--ui-text-muted);font-size:.78rem}.ui-v2-skill-strategy .editor-rule-list{padding:4px 0;gap:0}.ui-v2-skill-strategy .editor-rule-list .panel-hint{padding:8px 12px;color:var(--ui-text-faint);font-size:.78rem;margin:0}.ui-v2-skill-strategy .editor-rule-row.ui-editor-row{border-bottom:1px solid var(--ui-line-faint);background:transparent;padding:6px 12px}.ui-v2-skill-strategy .editor-rule-row.ui-editor-row:hover{background:var(--ui-bg-panel-2)}.ui-v2-skill-strategy .editor-rule-row.ui-editor-row.is-disabled{opacity:.4}.ui-v2-skill-strategy .rule-order{color:var(--ui-text-faint);font-size:.76rem;font-weight:700;min-width:28px;flex-shrink:0}.ui-v2-skill-strategy .rule-enable-toggle input{accent-color:var(--ui-accent-jade)}.ui-v2-skill-strategy .rule-main-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ui-v2-skill-strategy .rule-field-inline.ui-select{padding:4px 24px 4px 8px;font-size:.82rem;border:1px solid var(--ui-line-mid);background:var(--ui-bg-inset);color:var(--ui-text-primary);border-radius:0;min-height:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23f1eadb'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center}.ui-v2-skill-strategy .rule-field-inline.ui-select:hover{border-color:var(--ui-line-strong)}.ui-v2-skill-strategy .rule-field-inline.ui-select:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:-1px}.ui-v2-skill-strategy .rule-condition-area{padding:6px 12px 8px 32px;border-top:none;border-left:2px solid var(--ui-line-faint);margin-left:24px;background:#070c0b4d}.ui-v2-skill-strategy .condition-toolbar{display:flex;gap:6px;align-items:center;padding:4px 0}.ui-v2-skill-strategy .condition-row.ui-editor-condition-row{display:grid;grid-template-columns:minmax(0,1.2fr) 80px minmax(0,1fr) 28px;gap:4px;align-items:center;padding:3px 0;font-size:.82rem;color:var(--ui-text-muted);border-bottom:none}.ui-v2-skill-strategy .condition-row.ui-editor-condition-row select.ui-select{padding:3px 20px 3px 6px;font-size:.78rem;min-height:26px}.ui-v2-skill-strategy .rule-action-group.ui-row-actions{display:flex;gap:3px;margin-left:auto}.ui-v2-skill-strategy .rule-action-btn.ui-icon-button{width:28px;height:28px;font-size:.82rem}.ui-v2-skill-strategy .rule-action-btn--danger.ui-icon-button:hover:not(:disabled){background:#d26b5f1f;border-color:var(--ui-accent-red);color:var(--ui-accent-red)}.ui-v2-skill-strategy .editor-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px;border-top:1px solid var(--ui-line-soft);background:var(--ui-bg-panel)}.ui-v2-character .stats-grid{color:var(--ui-text-primary)}.ui-v2-character .stat-block{background:var(--ui-bg-panel);border:1px solid var(--ui-line-soft);padding:12px}.ui-v2-character .stat-block h3{color:var(--ui-text-primary);border-bottom:1px solid var(--ui-line-faint);padding-bottom:6px;margin-bottom:8px;font-size:.92rem}.ui-v2-character .stat-block dt{color:var(--ui-text-muted);font-size:.82rem}.ui-v2-character .stat-block dd{color:var(--ui-text-primary);font-variant-numeric:tabular-nums}.ui-v2-character .character-source-section .section-heading h3{color:var(--ui-text-primary)}.ui-v2-character .character-source-row{background:var(--ui-bg-panel);border:1px solid var(--ui-line-faint);padding:8px 12px;color:var(--ui-text-primary)}.ui-v2-character .character-source-row strong{color:var(--ui-text-primary)}.ui-v2-character .character-source-row__value{color:var(--ui-text-secondary);font-size:.82rem}.ui-v2-skill-strategy input.ui-input{background:var(--ui-bg-inset);border:1px solid var(--ui-line-mid);color:var(--ui-text-primary)}.ui-v2-skill-strategy .empty-state{color:var(--ui-text-muted)}.ui-v2-skill-strategy .panel-error{color:var(--ui-accent-red)}@media(max-width:768px){.ui-v2-skill-strategy .skill-strategy-layout{grid-template-columns:1fr}.ui-v2-skill-strategy .skill-loadout-list.ui-editor-rail{border-right:none;border-bottom:1px solid var(--ui-line-soft);flex-direction:row;overflow-x:auto;min-width:0;padding:6px 0}.ui-v2-skill-strategy .skill-loadout-button{white-space:nowrap;border-left:none;border-bottom:2px solid transparent;padding:8px 12px}.ui-v2-skill-strategy .skill-loadout-button.is-active{border-left-color:transparent;border-bottom-color:var(--ui-accent-jade)}.ui-v2-skill-strategy .rule-main-row{flex-wrap:wrap}.ui-v2-skill-strategy .rule-field-inline.ui-select{min-width:70px;flex:1}.ui-v2-skill-learning .skill-card-grid{grid-template-columns:1fr}}.ui-v2-task-panel .ui-eyebrow,.ui-v2-settings .ui-eyebrow,.ui-v2-mail .ui-eyebrow,.ui-v2-leaderboard .ui-eyebrow{color:var(--ui-text-muted);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 2px}.ui-v2-task-panel .ui-page-header h1,.ui-v2-task-panel .ui-page-header h2,.ui-v2-settings .ui-page-header h2,.ui-v2-mail .ui-page-header h2,.ui-v2-leaderboard .ui-page-header h2{color:var(--ui-text-primary);margin:0}.ui-panel-error{color:var(--ui-accent-red);padding:8px 12px;border:1px solid rgba(210,107,95,.3);background:#d26b5f14;margin:8px 0}.ui-v2-task-panel .ui-page-header{padding:12px 16px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-task-panel .ui-subnav{border-bottom:1px solid var(--ui-line-soft)}.ui-v2-task-panel .task-list-item{background:var(--ui-bg-panel);border:1px solid var(--ui-line-faint);border-radius:0;padding:10px 14px;transition:border-color .12s,background .12s}.ui-v2-task-panel .task-list-item__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ui-v2-task-panel .task-list-item__title{color:var(--ui-text-primary);font-size:.92rem}.ui-v2-task-panel .task-list-item__desc{color:var(--ui-text-secondary);font-size:.82rem;line-height:1.5;margin:8px 0 0}.ui-v2-task-panel .task-status-chip--locked{color:var(--ui-text-faint);border-color:var(--ui-line-faint)}.ui-v2-task-panel .task-status-chip--available{color:var(--ui-accent-blue);border-color:#6ba8c859;background:#6ba8c814}.ui-v2-task-panel .task-status-chip--active{color:var(--ui-accent-jade);border-color:#5bbfac59;background:var(--ui-accent-jade-soft)}.ui-v2-task-panel .task-status-chip--completed{color:var(--ui-accent-gold);border-color:#be9a5759;background:#be9a5714}.ui-v2-task-panel .task-status-chip--claimed{color:var(--ui-text-faint);border-color:var(--ui-line-faint)}.ui-v2-task-panel .task-list-item__progress{display:flex;align-items:center;gap:8px;margin-top:8px;color:var(--ui-text-muted);font-size:.78rem}.ui-v2-task-panel .task-list-item__progress-bar{flex:1;height:5px;background:var(--ui-bg-inset);border:1px solid var(--ui-line-faint);border-radius:0;overflow:hidden}.ui-v2-task-panel .task-list-item__progress-fill{height:100%;background:var(--ui-accent-jade);transition:width .3s ease}.ui-v2-task-panel .task-list-item__progress-fill.is-done{background:var(--ui-accent-gold)}.ui-v2-task-panel .task-list-item__progress-text{color:var(--ui-text-muted);white-space:nowrap}.ui-v2-task-panel .task-list-item__actions{margin-top:8px}.ui-v2-task-panel .task-list-item__actions .ui-button{width:100%}.ui-v2-task-panel .task-panel-progress-summary{margin-left:8px;font-size:.78rem}.ui-v2-task-panel .task-panel__body{padding:12px;background:var(--ui-bg-shell)}.ui-v2-task-panel .task-list{background:var(--ui-bg-panel);border:1px solid var(--ui-line-soft);padding:2px 0}.ui-v2-task-panel .task-list-item.is-current{background:var(--ui-bg-panel-2);border-color:var(--ui-line-mid);border-left:2px solid var(--ui-accent-jade);box-shadow:inset 2px 0 0 var(--ui-accent-jade-soft)}.ui-v2-task-panel .task-list-item--locked{opacity:.4;border-color:var(--ui-line-faint)}.ui-v2-task-panel .task-list-item--claimed{opacity:.55;border-color:var(--ui-line-faint)}.ui-v2-task-panel .task-reward-chip{font-size:.72rem;color:var(--ui-accent-gold);border-color:#be9a5740;background:#be9a570f}.ui-v2-settings .ui-page-header{padding:12px 16px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-settings .settings-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.ui-v2-settings .settings-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.ui-v2-settings .settings-group{padding:14px;display:flex;flex-direction:column;gap:12px}.ui-v2-settings .settings-group-title{color:var(--ui-text-primary);margin:0}.ui-v2-settings .settings-group-desc{color:var(--ui-text-muted);font-size:.82rem;margin:0}.ui-v2-settings .settings-checkbox-row{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--ui-text-secondary);cursor:pointer}.ui-v2-settings .settings-cdk-row{display:flex;gap:8px}.ui-v2-settings .settings-cdk-row .ui-input{flex:1}.ui-v2-settings .settings-cdk-result{margin-top:10px;padding:8px 12px;border-radius:0}.ui-v2-settings .settings-cdk-result--success{color:var(--ui-text-primary);border:1px solid rgba(120,191,115,.35);background:#78bf7314}.ui-v2-settings .settings-cdk-result--error{color:var(--ui-accent-red);border:1px solid rgba(210,107,95,.35);background:#d26b5f14}.ui-v2-settings .settings-cdk-success{color:var(--ui-accent-green);margin:0 0 8px;font-weight:600}.ui-v2-settings .settings-cdk-rewards{margin:0;padding:0 0 0 16px;list-style-type:disc;color:var(--ui-text-secondary)}.ui-v2-settings .settings-cdk-rewards li{margin:4px 0}.ui-v2-settings .settings-cdk-error{margin:0;color:var(--ui-accent-red)}.ui-v2-mail .ui-page-header{padding:12px 16px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-mail .mail-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.ui-v2-mail .mail-summary-bar{padding:8px 16px;border-bottom:1px solid var(--ui-line-faint)}.ui-v2-mail .mail-stats{display:flex;gap:24px;padding:8px 16px;border-bottom:1px solid var(--ui-line-faint)}.ui-v2-mail .mail-stat-item{display:flex;align-items:baseline;gap:6px;font-size:.85rem}.ui-v2-mail .mail-stat-item span{color:var(--ui-text-muted)}.ui-v2-mail .mail-stat-item strong{color:var(--ui-text-primary)}.ui-v2-mail .mail-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:1px solid var(--ui-line-soft)}.ui-v2-mail .mail-list-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 16px;border-bottom:1px solid var(--ui-line-soft);background:var(--ui-bg-panel);transition:background .12s}.ui-v2-mail .mail-list-row:hover{background:var(--ui-bg-panel-2)}.ui-v2-mail .mail-list-row.is-claimable{border-left:3px solid var(--ui-accent-jade);background:var(--ui-accent-jade-soft);border-bottom-color:var(--ui-line-mid)}.ui-v2-mail .mail-list-row__content{flex:1;min-width:0}.ui-v2-mail .mail-list-row__header{display:flex;align-items:center;gap:8px}.ui-v2-mail .mail-list-row__header strong{color:var(--ui-text-primary)}.ui-v2-mail .mail-list-row__body{color:var(--ui-text-secondary);font-size:.85rem;margin:4px 0 0}.ui-v2-mail .mail-list-row__rewards{color:var(--ui-text-muted);font-size:.82rem;margin:4px 0 0}.ui-v2-mail .mail-list-row__date{color:var(--ui-text-faint);font-size:.76rem}.ui-v2-leaderboard .ui-page-header{padding:12px 16px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-leaderboard .leaderboard-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.ui-v2-leaderboard .leaderboard-meta{padding:6px 16px;border-bottom:1px solid var(--ui-line-faint)}.ui-v2-leaderboard .leaderboard-meta-text{color:var(--ui-text-muted);font-size:.82rem}.ui-v2-leaderboard .ui-subnav{border-bottom:1px solid var(--ui-line-soft)}.ui-v2-leaderboard .leaderboard-board{padding:16px}.ui-v2-leaderboard .leaderboard-board-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.ui-v2-leaderboard .leaderboard-board-header h3{color:var(--ui-text-primary);margin:0}.ui-v2-leaderboard .leaderboard-rank-info{color:var(--ui-text-muted);font-size:.82rem}.ui-v2-leaderboard .leaderboard-entry-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;background:var(--ui-bg-panel);border:1px solid var(--ui-line-soft)}.ui-v2-leaderboard .leaderboard-entry{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--ui-line-soft);font-size:.88rem;background:var(--ui-bg-panel);transition:background .12s}.ui-v2-leaderboard .leaderboard-entry:hover{background:var(--ui-bg-panel-2)}.ui-v2-leaderboard .leaderboard-entry:last-child{border-bottom:none}.ui-v2-leaderboard .leaderboard-entry__rank{color:var(--ui-accent-gold);min-width:36px;font-size:.92rem;font-weight:700;font-variant-numeric:tabular-nums}.ui-v2-leaderboard .leaderboard-entry__info{flex:1;min-width:0}.ui-v2-leaderboard .leaderboard-entry__info p{color:var(--ui-text-primary);margin:0}.ui-v2-leaderboard .leaderboard-entry__secondary{color:var(--ui-text-muted);font-size:.76rem}.ui-v2-leaderboard .leaderboard-entry__score{color:var(--ui-text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}@media(max-width:768px){.ui-v2-settings .settings-body{grid-template-columns:1fr}.ui-v2-task-panel .task-list-item__header{flex-wrap:wrap}.ui-v2-mail .mail-list-row{flex-direction:column;gap:8px;padding:12px;border-bottom:1px solid var(--ui-line-mid)}.ui-v2-leaderboard .leaderboard-entry{flex-wrap:wrap;gap:6px;padding:10px 12px}}.ui-v2-bag,.ui-v2-estate,.ui-v2-market{background:var(--ui-bg-panel);color:var(--ui-text-primary);border:1px solid var(--ui-line-soft);display:flex;flex-direction:column;min-height:0}.ui-v2-bag .ui-editor-row,.ui-v2-estate .ui-editor-row,.ui-v2-market .ui-editor-row{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;border:0;border-bottom:1px solid var(--ui-line-faint);background:var(--ui-bg-inset);color:var(--ui-text-primary);text-align:left}.ui-v2-bag .ui-editor-row:hover,.ui-v2-estate .ui-editor-row:hover,.ui-v2-market .ui-editor-row:hover{background:var(--ui-bg-panel-2)}.ui-v2-bag .ui-editor-row:focus-visible,.ui-v2-estate .ui-editor-row:focus-visible,.ui-v2-market .ui-editor-row:focus-visible{outline:2px solid rgba(91,191,172,.5);outline-offset:-2px}.ui-v2-bag .ui-editor-row--selected,.ui-v2-estate .ui-editor-row--selected,.ui-v2-market .ui-editor-row--selected{background:var(--ui-accent-jade-soft);border-left:2px solid var(--ui-accent-jade)}.ui-v2-bag__eyebrow,.ui-v2-estate__eyebrow,.ui-v2-market__eyebrow{margin:0 0 4px;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ui-text-muted)}.ui-v2-bag__title,.ui-v2-estate__title,.ui-v2-market__title{margin:0;font-size:1.25rem;font-weight:700;color:var(--ui-text-primary);line-height:1.3}.ui-v2-bag__header-text,.ui-v2-estate__header-text,.ui-v2-market__header-text{flex:1}.ui-v2-bag__error,.ui-v2-estate__error,.ui-v2-market__error{padding:8px 12px;border-left:3px solid var(--ui-accent-red);background:#d26b5f14;color:var(--ui-accent-red);font-size:.88rem;margin:8px 0}.ui-v2-bag__notice,.ui-v2-bag__feedback,.ui-v2-estate__feedback,.ui-v2-market__hint,.ui-v2-bag__detail-hint,.ui-v2-estate__hint{padding:6px 12px;font-size:.85rem;color:var(--ui-text-secondary)}.ui-v2-bag__feedback,.ui-v2-estate__feedback{border-left:2px solid var(--ui-accent-jade);background:var(--ui-accent-jade-soft);margin:4px 0}.ui-v2-estate__warning{padding:8px 12px;border-left:3px solid var(--ui-accent-gold);background:var(--ui-accent-gold-soft);color:var(--ui-accent-gold);font-size:.85rem;font-weight:600;margin:8px 0}.ui-v2-bag__loadout{display:flex;gap:2px;padding:8px 0;border-bottom:1px solid var(--ui-line-soft);overflow-x:auto}.ui-v2-bag__loadout-slot{display:flex;align-items:center;gap:6px;padding:6px 10px;background:var(--ui-bg-panel-2);border:1px solid var(--ui-line-faint);font-size:.82rem;white-space:nowrap;flex-shrink:0}.ui-v2-bag__loadout-label{color:var(--ui-text-muted);font-size:.76rem}.ui-v2-bag__loadout-name{color:var(--ui-text-primary)}.ui-v2-bag__loadout-level{color:var(--ui-text-muted);font-size:.76rem}.ui-v2-bag__workspace{display:flex;flex:1;min-height:0}.ui-v2-bag__list{flex:1;min-width:0;overflow-y:auto;padding:4px 0}.ui-v2-bag__detail{flex:0 0 320px}.ui-v2-bag__detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--ui-line-faint);margin-bottom:8px}.ui-v2-bag__detail-eyebrow{margin:0 0 2px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-text-muted)}.ui-v2-bag__detail-title{margin:0;font-size:1.05rem;font-weight:700;color:var(--ui-text-primary)}.ui-v2-bag__detail-desc{font-size:.88rem;color:var(--ui-text-secondary);margin:0 0 8px;line-height:1.5}.ui-v2-bag__detail-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;border-top:1px solid var(--ui-line-faint);margin-top:8px}.ui-v2-bag__cost-hint{font-size:.82rem;color:var(--ui-text-muted);display:flex;align-items:center}.ui-v2-bag__stat-list{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}.ui-v2-bag__item-main{flex:1;display:flex;flex-direction:column;min-width:0}.ui-v2-bag__item-main strong{color:var(--ui-text-primary)}.ui-v2-bag__item-main small{color:var(--ui-text-muted);font-size:.76rem}.ui-v2-bag__item-qty{color:var(--ui-text-secondary);font-size:.85rem;font-variant-numeric:tabular-nums;white-space:nowrap}.ui-v2-bag__total{padding:8px 16px;font-size:.82rem;color:var(--ui-text-muted);border-top:1px solid var(--ui-line-faint)}.ui-v2-bag__quality{flex-shrink:0}.ui-v2-bag__chest-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#08100ed9;display:flex;align-items:center;justify-content:center;z-index:100}.ui-v2-bag__chest-modal{max-width:520px;width:90%;max-height:80vh;overflow-y:auto}.ui-v2-bag__chest-rolls{display:flex;flex-direction:column;gap:2px}.ui-v2-bag__chest-roll-info{flex:1}.ui-v2-bag__chest-roll-info strong{color:var(--ui-text-primary)}.ui-v2-bag__chest-roll-meta{display:flex;gap:4px;flex-shrink:0;flex-wrap:wrap}@keyframes chest-shake{0%,to{transform:translate(0)}15%{transform:translate(-4px) rotate(-2deg)}30%{transform:translate(4px) rotate(2deg)}45%{transform:translate(-3px) rotate(-1deg)}60%{transform:translate(3px) rotate(1deg)}75%{transform:translate(-2px)}90%{transform:translate(2px)}}.chest-anim{display:flex;justify-content:center;padding:1rem 0 .5rem}.chest-anim--shaking .chest-anim__img{animation:chest-shake .6s ease-in-out infinite}.chest-anim--revealed .chest-anim__img{animation:none}.chest-anim__img{image-rendering:pixelated;width:128px;height:128px}@media(prefers-reduced-motion:reduce){.chest-anim--shaking .chest-anim__img{animation:none;opacity:.85}}.ui-v2-estate__header-chips{display:flex;gap:6px;flex-wrap:wrap}.ui-v2-estate__station-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px;padding:8px 0}.ui-v2-estate__station-card{justify-content:space-between}.ui-v2-estate__toolbar{padding:8px 0;border-bottom:1px solid var(--ui-line-soft)}.ui-v2-estate__overview{padding:12px 16px;border:1px solid var(--ui-line-faint);background:var(--ui-bg-inset);margin:8px 0}.ui-v2-estate__overview-header{padding-bottom:6px;border-bottom:1px solid var(--ui-line-faint);margin-bottom:6px;color:var(--ui-text-primary);font-size:.92rem}.ui-v2-estate__stations{display:flex;flex-direction:column;gap:12px;padding:8px 0}.ui-v2-estate__station{padding:12px}.ui-v2-estate__station-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--ui-line-mid);margin-bottom:8px;color:var(--ui-text-primary)}.ui-v2-estate__auto-config{display:flex;align-items:center;gap:8px}.ui-v2-estate__checkbox-row{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--ui-text-secondary);cursor:pointer}.ui-v2-estate__select-field{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--ui-text-secondary)}.ui-v2-estate__select-field span{min-width:60px;color:var(--ui-text-muted)}.ui-v2-estate__plot-grid{display:flex;flex-direction:column;gap:2px}.ui-v2-estate__plot{flex-wrap:wrap;align-items:flex-start}.ui-v2-estate__plot-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.ui-v2-estate__plot-header{display:flex;align-items:center;gap:8px}.ui-v2-estate__plot-chips{display:flex;gap:4px}.ui-v2-estate__plot-actions{display:flex;gap:4px;flex-wrap:wrap}.ui-v2-estate__recipe-list{display:flex;flex-direction:column;gap:2px}.ui-v2-estate__recipe{flex-wrap:wrap;align-items:flex-start}.ui-v2-estate__recipe-info{flex:1;min-width:0}.ui-v2-estate__recipe-info strong{color:var(--ui-text-primary)}.ui-v2-estate__recipe-cost{margin:4px 0}.ui-v2-estate__bonus-list{display:flex;gap:4px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--ui-line-faint)}.ui-v2-estate__section-label{margin:0 0 6px;font-size:.92rem;font-weight:700;color:var(--ui-text-primary)}.ui-v2-estate__forge-assembler{display:flex;flex-direction:column;gap:12px;padding:8px 0}.ui-v2-estate__forge-section{padding:8px 12px;border:1px solid var(--ui-line-faint);background:var(--ui-bg-inset)}.ui-v2-estate__material-tags{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0}.ui-v2-estate__function-slots{display:flex;flex-direction:column;gap:6px}.ui-v2-estate__decompose-list{display:flex;flex-direction:column;gap:2px}.ui-v2-estate__decompose-row{flex-wrap:wrap;align-items:center}.ui-v2-estate__decompose-info{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.ui-v2-estate__job-card{padding:12px}.ui-v2-market__balance{display:flex;gap:6px}.ui-v2-market__summary{padding:8px 16px;background:var(--ui-bg-inset);border-bottom:1px solid var(--ui-line-soft)}.ui-v2-market__section{padding:8px 0}.ui-v2-market__section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--ui-line-soft);margin-bottom:8px}.ui-v2-market__column-title{margin:0 0 8px;font-size:.95rem;font-weight:700;color:var(--ui-text-primary)}.ui-v2-market__categories{display:flex;gap:4px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--ui-line-soft)}.ui-v2-market__categories button{cursor:pointer}.ui-v2-market__grid{display:flex;gap:0;min-height:0}.ui-v2-market__grid--browse,.ui-v2-market__grid--sell{flex:1}.ui-v2-market__column{flex:1;min-width:0;padding:8px 12px;display:flex;flex-direction:column;gap:6px}.ui-v2-market__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.ui-v2-market__offer{flex-wrap:wrap;align-items:flex-start}.ui-v2-market__offer-info{flex:1;min-width:0}.ui-v2-market__offer-info strong{color:var(--ui-text-primary)}.ui-v2-market__record{flex-wrap:wrap;align-items:flex-start}.ui-v2-market__record-info{flex:1;min-width:0}.ui-v2-market__record-info strong{color:var(--ui-text-primary)}.ui-v2-market__field{display:flex;flex-direction:column;gap:4px;font-size:.88rem;color:var(--ui-text-secondary)}.ui-v2-market__price{color:var(--ui-accent-gold);font-size:.85rem;font-variant-numeric:tabular-nums}@media(max-width:768px){.ui-v2-bag__workspace{flex-direction:column}.ui-v2-bag__detail{flex:0 0 auto;border-left:none;border-top:1px solid var(--ui-line-soft)}.ui-v2-bag__loadout{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}.ui-v2-estate__station-grid{grid-template-columns:1fr 1fr}.ui-v2-estate__station-header,.ui-v2-estate__auto-config{flex-wrap:wrap}.ui-v2-market__grid{flex-direction:column}.ui-v2-market__categories{overflow-x:auto;-webkit-overflow-scrolling:touch;flex-wrap:nowrap}.ui-v2-market__categories button{flex-shrink:0}}@media(max-width:480px){.ui-v2-estate__station-grid{grid-template-columns:1fr}.ui-v2-bag__loadout-slot{flex-direction:column;align-items:flex-start;gap:2px}}
