/* Recovered premium shell and recorded specificity fixes. Native IA retained. */
body.ode-premium{--premium-edge:#74604a;--premium-ink:#10101a;--premium-gold:#ebd5a6;background:radial-gradient(ellipse at 10% 0,#694f7a44,transparent 60%),linear-gradient(#090811df,#08070eec),url('../game-assets/v1.3.2/0ec7514f188052f55314.webp') center/cover fixed;color:#efe7d7}
.ode-premium .app-shell{border-inline:1px solid #b9985a19;background:linear-gradient(90deg,#0c0911b8,#13101ad9 50%,#0c0911b8);box-shadow:0 0 100px #0008;min-height:100vh}
.ode-premium .topbar{border-bottom:1px solid #a68a534d;padding:14px 0 20px;gap:20px;flex-wrap:wrap}.ode-premium .brand{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:200px}.ode-premium .brand>h1{font-size:17px;letter-spacing:.04em;margin:0}.ode-premium .brand>p{display:none}
.premium-identity{display:flex;align-items:center;gap:12px}.premium-avatar{height:58px;width:58px;padding:8px;border:1px solid #bda06c;border-radius:50%;background:radial-gradient(circle,#473255,#14101c);box-shadow:0 0 0 4px #8e714522,0 7px 16px #0008}.premium-identity strong{display:block;font:20px Georgia,serif;color:#f6e3bf;max-width:200px;overflow-wrap:anywhere}.premium-identity small{display:block;color:#b7a9c7;margin-top:4px;font-size:12px}
.ode-premium .v3-balances{display:flex;gap:7px;margin-left:auto;flex-wrap:wrap;align-items:center}.premium-hud-resource{display:flex;align-items:center;gap:8px;padding:9px 12px;background:linear-gradient(140deg,#282333,#0c0b13);border:1px solid #89715050;border-radius:8px;color:#f4dfb9;min-width:90px}.premium-hud-resource strong{font:600 17px Georgia,serif;overflow-wrap:anywhere}.ode-premium .premium-hud-resource small{font-size:11px;color:#c2b5c8}.premium-resource-icon{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 3px 3px #0008)}.premium-hp{cursor:pointer;text-align:left}.premium-hp-icon{font-size:27px;color:#b69ade}.premium-hp:hover{border-color:#d7b46a}.premium-hud-resource[hidden]{display:none}.ode-premium .v3-account>summary{font-size:12px;padding:12px}
.ode-premium .app-shell>.nav{background:linear-gradient(180deg,#28212d99,#14101bb0);border:1px solid #a48a5240;border-radius:6px;padding:3px;box-shadow:0 8px 30px #0005;margin-top:16px}.ode-premium .app-shell>.nav>.nav-btn.active{background:radial-gradient(ellipse at bottom,#a9814833,transparent 85%);text-shadow:0 1px 8px #b8853133}.ode-premium .v3-disclosure{background:linear-gradient(115deg,#211927eb,#100d16f5);border-color:#7c644c88;box-shadow:inset 0 1px #f2cf7a0b,0 8px 22px #0003}.ode-premium .v3-disclosure>summary{font-family:Georgia,serif;letter-spacing:.025em;color:#e4cfaa}.ode-premium .v3-more-menu{background:linear-gradient(145deg,#27202f,#100d17);border-color:#987b50;box-shadow:0 24px 70px #000b}.ode-premium .v3-more-group h3{color:#cab187;letter-spacing:.08em;font-size:12px}.ode-premium .v3-hub-link{background:linear-gradient(105deg,#392b4333,#19151f);border-color:#6b535855;min-height:44px}.ode-premium .v3-hub-link:hover{border-color:#b69360}
body.ode-premium.ode-ux-v3 .v3-resources .resource-bar{gap:9px;padding:0 20px 18px!important}
body.ode-premium.ode-ux-v3 .v3-resources .resource{position:relative;flex:0 1 calc(25% - 9px);min-height:84px;padding:14px 14px 14px 58px!important;border:1px solid #82664177!important;background:linear-gradient(135deg,#2d2431,#14111b)!important;border-radius:8px;box-shadow:inset 0 1px #d5b56e0e!important}
body.ode-premium.ode-ux-v3 .v3-resources .resource>.premium-resource-icon,.premium-resource-glyph{position:absolute;left:13px;top:24px;width:32px;height:32px}.premium-resource-glyph{color:#b39ad1;font-size:26px;text-align:center}
body.ode-premium.ode-ux-v3 .v3-resources .resource>span:not(.premium-resource-glyph){font-size:12px;line-height:1.4;color:#c6bbcd}body.ode-premium.ode-ux-v3 .v3-resources .resource strong{display:block;font:25px Georgia,serif;color:#f0d49b;margin:5px 0;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}body.ode-premium.ode-ux-v3 .v3-resources .resource small{font-size:11px;line-height:1.5;color:#b5a8bf}body.ode-premium.ode-ux-v3 .v3-resources .resource>span,body.ode-premium.ode-ux-v3 .v3-resources .resource>small{letter-spacing:0!important;text-transform:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.ode-premium .v3-resource-heading{margin:13px 0 2px;font:15px Georgia,serif;color:#d1b987;border-bottom:1px solid #a3814a36;padding-bottom:7px}body.ode-premium.ode-ux-v3 .v3-resources .premium-progress-resource{background:transparent!important;padding-left:15px!important;border:0!important;border-left:2px solid #73608a!important;min-height:70px}.ode-premium .v3-resources .premium-progress-resource strong{font-size:20px;color:#c9b4df}
body.ode-premium .v3-resource-footer>.v3-hub-link{display:flex;align-items:center;gap:15px;flex-wrap:wrap;max-width:100%;width:auto;padding:16px 22px;font:16px Georgia,serif;color:#dac5ff;background:radial-gradient(ellipse at left,#563c704d,transparent),#16111d;border-left:3px solid #a986c8}body.ode-premium .v3-resource-footer strong{font:22px Georgia,serif}.premium-hp-label{font-size:14px}
.ode-premium #hubView .sanctuary-hero-premium{border:1px solid #94704b66;box-shadow:inset 0 0 40px #0007,0 15px 35px #0004;min-height:410px}
body.ode-premium.ode-ux-v3 #hubView .sanctuary-hero-art{inset:0 48% 0 0!important;width:52%!important;opacity:1!important}body.ode-premium.ode-ux-v3 #hubView .sanctuary-hero-content{margin-left:46%;width:54%!important;min-height:410px;padding:32px 34px 32px 42px!important;background:linear-gradient(90deg,transparent,#101019ed 18%,#100d17f5)!important;text-align:left}body.ode-premium.ode-ux-v3 #hubView #hubHeroKael{left:3%!important;right:auto!important;width:52%!important;height:94%!important;bottom:0!important}body.ode-premium.ode-ux-v3 #hubView #hubHeroLysara{left:45%!important;right:auto!important;width:50%!important;height:90%!important;bottom:0!important}
.ode-premium .v3-home-team{background:linear-gradient(120deg,#32263577,#13101b);border-color:#92745166;border-radius:8px;box-shadow:0 8px 25px #0004}.ode-premium .v3-team-member{background:radial-gradient(ellipse at center,#58426944,#120e1a);border-color:#9d7e4e77}.ode-premium .panel,.ode-premium .warrior-progress-card,.ode-premium .warrior-skills-card,.ode-premium .equip-slot{background:linear-gradient(140deg,#251e2be8,#100d17f5);border-color:#77604477;box-shadow:inset 0 1px #d7b9860b}
.ode-premium .warrior-roster-heading{display:flex!important;justify-content:center;align-items:center;min-height:52px;text-align:center!important}.ode-premium .warrior-roster-heading strong{font:20px Georgia,serif!important;letter-spacing:.02em!important}html body.ode-premium #charactersView .warrior-roster-shell::before,html body.ode-premium #charactersView .warrior-roster-shell::after{display:none!important;content:none!important}
.premium-build-meta{display:block;color:#d2b887!important;line-height:1.5;font-size:12px!important;margin-top:8px}.premium-doctrine-open{margin:0 0 16px!important;background:linear-gradient(130deg,#4b335e,#1d1529)!important;border-color:#a088b0!important}.premium-costs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:15px 0}.premium-cost-card{border:1px solid #8e755255;border-radius:8px;padding:14px;background:#110f19}.premium-cost-card h5{font:16px Georgia,serif;color:#e6c88f;margin:0 0 12px}.premium-cost-card p{font-size:13px;line-height:1.55;color:#c1b4cb}.premium-cost-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.premium-cost-line strong{font-size:15px;color:#eed9b3}.premium-cost-line span{font-size:12px;color:#bcb0c7;margin-left:auto}.premium-cost-line[data-affordable=false] span{color:#f2aca3}.ode-premium .warrior-skill-entry{padding:18px!important;min-width:0}.ode-premium .warrior-skill-entry p{font-size:14px!important;line-height:1.6!important;color:#d1c5d9!important}.premium-skill-rule{border-top:1px solid #8a71533d;padding-top:10px}.premium-skill-mechanics{color:#efddbb!important}body.ode-premium .warrior-skill-entry>.premium-skill-legacy{display:none!important}
.ode-premium .v3-open{background:linear-gradient(145deg,#2b2032,#100e18 60%)!important;border-color:#a38656!important;box-shadow:-20px 0 65px #000a!important}
.premium-dialog{color:#eee4d4;background:radial-gradient(ellipse at 45% 0,#58395a44,transparent 60%),linear-gradient(140deg,#211a29,#0e0c14);border:1px solid #947950;border-radius:12px;padding:22px;width:min(1280px,94vw);max-height:90dvh;overflow:auto;box-sizing:border-box;box-shadow:0 25px 100px #000c}.premium-dialog::backdrop{background:#06040bd9;backdrop-filter:blur(5px)}.premium-dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #94734477;padding:10px 0 16px;margin-bottom:20px;position:sticky;top:-22px;z-index:5;background:#211a29;box-shadow:0 8px 18px #0004}.premium-dialog-head h2{font:26px Georgia,serif;margin:0;color:#efd5a0}.premium-dialog-head .btn{flex-shrink:0}.premium-dialog p{line-height:1.6}
.ode-premium .premium-forge #odeForgeV1Panel{display:block;margin:0!important;padding:0!important;background:transparent!important;border:0!important;width:100%!important}.ode-premium .premium-forge #odeEquipmentProgressionUnifiedV1{border:0!important;background:transparent!important;padding:0!important}.ode-premium .premium-forge .ode-up-body{display:grid!important;grid-template-columns:minmax(220px,.85fr) minmax(250px,1.3fr) minmax(210px,.9fr)!important;gap:18px!important;align-items:start}.ode-premium .premium-forge .ode-up-panel{padding:16px!important;border:1px solid #81654066!important;background:linear-gradient(130deg,#2c233199,#100e16)!important;border-radius:10px!important;min-width:0}.ode-premium .premium-forge .ode-up-head{padding:0 0 14px!important}.ode-premium .premium-forge .ode-up-head h2{display:none}.ode-premium .premium-forge .ode-up-head h3{font:21px Georgia,serif!important;color:#e6c68b}.ode-premium .premium-forge .ode-up-head p{font-size:13px!important}.ode-premium .premium-forge .ode-up-head .ode-up-kicker{font-size:12px}.ode-premium .premium-forge .ode-up-tabs button{min-height:44px;font-size:14px}.ode-premium .premium-forge .ode-up-tabs button.is-active{background:#4c354f;border-color:#b38d58}
.ode-premium .premium-forge .ode-up-item{display:flex!important;gap:10px;align-items:center;padding:12px!important;min-height:78px;text-align:left}.ode-premium .premium-forge .ode-up-item strong{font-size:14px!important;line-height:1.4!important}.ode-premium .premium-forge .ode-up-item small{font-size:12px!important;line-height:1.5!important;white-space:normal!important}.ode-premium .premium-forge .ode-up-item.is-selected{border-color:#c09b63;background:#3b2b4066}.premium-forge-thumb{width:44px;height:52px;object-fit:contain;flex-shrink:0}.premium-forge-art{text-align:center;padding:12px;background:radial-gradient(ellipse,#67467555,transparent 70%);border-bottom:1px solid #85643c55;margin-bottom:15px}.premium-forge-art img{height:190px;max-width:100%;object-fit:contain;filter:drop-shadow(0 15px 20px #000a)}.premium-forge-art p{font-size:13px;color:#bea7cc;margin:8px 0}.premium-forge .ode-up-selected strong{font:24px Georgia,serif!important;line-height:1.25!important;color:#edcfa0}.premium-forge .ode-up-selected small{font-size:14px!important;color:#bca7d0}.premium-comparison-title,.premium-forge-cost h3{font:17px Georgia,serif;color:#dfc59d;margin:18px 0 12px}.premium-forge .ode-up-stats{grid-template-columns:1fr!important}.premium-forge .ode-up-stats>div{padding:10px!important}.premium-forge .ode-up-stats strong{font-size:18px!important}.premium-forge .ode-up-stats small{font-size:12px!important}.premium-forge .ode-up-stat>span{font-size:12px}
.ode-premium .premium-forge #odeProgressionRoutesV1{display:flex!important;flex-direction:column;gap:12px}.ode-premium .premium-forge .ode-up-route{padding:14px!important;min-width:0}.ode-premium .premium-forge .ode-up-route strong{font:20px Georgia,serif!important;line-height:1.4!important;color:#f0d7aa}.ode-premium .premium-forge .ode-up-route small{font-size:12px!important;line-height:1.5!important}.ode-premium .premium-forge .ode-up-route>span{font-size:12px}.ode-premium .premium-forge .ode-up-route button{min-height:46px;font-size:14px!important;width:100%;white-space:normal}.premium-owned{display:block;color:#c3afcb;margin-top:10px}.premium-owned[data-affordable=false]{color:#f0b1a0!important}.premium-owned[data-affordable=true]{color:#b4d7b5!important}.premium-forge #odeProgressionStatusV1{font-size:13px;line-height:1.5;margin-top:15px}.premium-forge .ode-up-levels{margin:14px 0!important}.premium-forge .ode-up-level{min-width:0!important}.premium-forge .ode-up-level b{font-size:14px}.premium-forge-search{width:100%;box-sizing:border-box;min-height:42px;margin:10px 0;padding:10px;border:1px solid #7d6650;border-radius:6px;background:#100d18;color:#eee4d4;font-size:14px}.premium-forge [data-ode-instance][hidden]{display:none!important}
.premium-doctrine{width:min(850px,94vw)}.premium-doctrine-group{margin:20px 0}.premium-doctrine-group h3{font:21px Georgia,serif;color:#e1c591}.premium-doctrine-piece{display:flex;align-items:center;gap:14px;padding:14px;margin:9px 0;background:#30233755;border:1px solid #80664566;border-radius:8px}.premium-doctrine-piece img{width:52px;height:60px;object-fit:contain}.premium-doctrine-piece>div{flex:1;min-width:0}.premium-doctrine-piece strong,.premium-doctrine-piece small{display:block;overflow-wrap:anywhere}.premium-doctrine-piece small{font-size:13px;margin-top:6px;color:#bdaac9}.premium-transfer{width:min(520px,92vw)}.premium-transfer>.btn{margin:8px}
@media(min-width:1000px){body.ode-premium.ode-ux-v3 .v3-resources .resource-bar{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:12px!important}body.ode-premium .v3-resource-heading:nth-of-type(1){grid-area:1/1/2/5}body.ode-premium .v3-resource-heading:nth-of-type(2){grid-area:1/5/2/13}body.ode-premium .v3-resource-heading:nth-of-type(3){grid-area:3/1/4/5}body.ode-premium .v3-resource-heading:nth-of-type(4){grid-area:3/5/4/9}body.ode-premium .v3-resource-heading:nth-of-type(5){grid-area:3/9/4/13}body.ode-premium [data-resource-id=goldValue]{grid-area:2/1/3/3}body.ode-premium [data-resource-id=diamondValue]{grid-area:2/3/3/5}body.ode-premium [data-resource-id=essenceValue]{grid-area:2/5/3/7}body.ode-premium [data-resource-id=coreValue]{grid-area:2/7/3/9}body.ode-premium [data-resource-id=universalFragmentValue]{grid-area:2/9/3/11}body.ode-premium [data-resource-id=orderEssenceValue]{grid-area:2/11/3/13}body.ode-premium [data-resource-id=summonSealValue]{grid-area:4/1/5/3}body.ode-premium [data-resource-id=convergenceSealValue]{grid-area:4/3/5/5}body.ode-premium [data-resource-id=odeForgeDustGlobalValueV6]{grid-area:4/5/5/9}body.ode-premium [data-resource-id=accountLevelValue]{grid-area:4/9/5/11}body.ode-premium [data-resource-id=formationPowerValue]{grid-area:4/11/5/13}}
@media(min-width:1051px){.premium-forge-art img{height:130px}.premium-forge-art{padding:6px}.premium-forge .ode-up-item{padding:8px!important}.premium-forge .ode-up-selected strong{font-size:21px!important}}
@media(max-width:1050px){.ode-premium .brand>h1{display:none}.ode-premium .topbar{gap:12px}.ode-premium .v3-balances{flex:1}.ode-premium .premium-forge .ode-up-body{grid-template-columns:1fr 1fr!important}.premium-forge-cost{grid-column:1/-1}.ode-premium .premium-forge #odeProgressionRoutesV1{flex-direction:row!important}.premium-forge .ode-up-route{flex:1}body.ode-premium.ode-ux-v3 .v3-resources .resource{flex-basis:calc(33.33% - 9px)}}
@media(max-width:650px){body.ode-premium .topbar{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:8px 0 12px;gap:10px!important}body.ode-premium .brand{min-width:0;flex:1!important;justify-content:flex-start!important}.premium-avatar{width:42px;height:42px}.premium-identity strong{font-size:18px}.premium-identity small{font-size:11px}body.ode-premium .v3-account{order:1;margin:0!important;width:auto!important}body.ode-premium .v3-account>summary{font-size:11px;padding:10px 7px}body.ode-premium .v3-balances{order:2;width:100%!important;flex-basis:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;justify-content:stretch!important;margin:0!important}.premium-hud-resource{padding:7px;gap:5px;min-width:0}.premium-hud-resource strong{font-size:15px}.premium-hud-resource .premium-resource-icon{width:22px;height:26px}.premium-hp-icon{font-size:23px}.ode-premium .premium-hud-resource small{font-size:10px;white-space:normal}.ode-premium .app-shell>.nav{margin:0;border-radius:0;background:#17101ff5}body.ode-premium.ode-ux-v3 .v3-resources .resource-bar{padding:0 10px 12px!important}body.ode-premium.ode-ux-v3 .v3-resources .resource{flex:0 1 calc(50% - 5px);min-height:104px;padding:12px 10px 12px 43px!important}body.ode-premium.ode-ux-v3 .v3-resources .resource>.premium-resource-icon,.premium-resource-glyph{left:8px;width:27px;height:27px}body.ode-premium.ode-ux-v3 .v3-resources .resource strong{font-size:22px}body.ode-premium.ode-ux-v3 .v3-resources .resource>span:not(.premium-resource-glyph){font-size:11px}.ode-premium #hubView .sanctuary-hero-premium{min-height:0}body.ode-premium.ode-ux-v3 #hubView .sanctuary-hero-art{position:relative!important;inset:auto!important;height:235px!important;min-height:235px!important;width:100%!important}body.ode-premium.ode-ux-v3 #hubView .sanctuary-hero-content{width:100%!important;margin-left:0!important;min-height:0;padding:20px!important;background:linear-gradient(180deg,#14101ace,#100d17)!important}.ode-premium #hubView h2{font-size:32px}.premium-dialog{width:calc(100vw - 18px);max-height:94dvh;padding:14px;margin:auto}.premium-dialog-head{gap:8px;top:-14px}.premium-dialog-head h2{font-size:21px}.ode-premium .premium-forge .ode-up-body{display:flex!important;flex-direction:column}.premium-forge .ode-up-panel{width:100%}.premium-forge #odeProgressionItemsV1{max-height:220px;overflow:auto}.premium-forge-art img{height:160px}.ode-premium .premium-forge #odeProgressionRoutesV1{flex-direction:column!important}.premium-forge .ode-up-levels{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important}.premium-forge .ode-up-level{padding:8px 2px!important}.premium-forge .ode-up-level small{font-size:10px!important}.premium-doctrine-piece{flex-wrap:wrap;gap:10px}.premium-doctrine-piece .btn{width:100%}.premium-costs{grid-template-columns:1fr}.ode-premium .warrior-skill-entry p{font-size:14px!important}}

/* Render evidence corrections: long name header and readable build summary. */
@media(min-width:651px) and (max-width:1500px){body.ode-premium .topbar .brand>h1{display:none}body.ode-premium .topbar .brand{min-width:180px;max-width:260px;flex:0 1 240px}}
body.ode-premium #characterDetail .equip-slot{padding:14px!important}body.ode-premium #characterDetail .equip-slot>span{font-size:12px!important}body.ode-premium #characterDetail .equip-slot>strong{font-size:16px!important;line-height:1.4!important}body.ode-premium #characterDetail .equip-slot>small{font-size:13px!important;line-height:1.5!important}.premium-forge-classification{color:#e4cfa9!important;font-size:14px!important}
/* Render correction: quantities retain a full readable line on narrow screens. */
@media(max-width:650px){
body.ode-premium .v3-balances{grid-template-columns:repeat(2,minmax(0,1fr))}
.premium-hud-resource strong{font-size:15px;white-space:nowrap;overflow-wrap:normal}
.premium-hp{grid-column:1/-1;order:5}.premium-hp>div{display:flex;align-items:center;gap:12px}
body.ode-premium.ode-ux-v3 .v3-resources .resource{display:grid!important;grid-template-columns:27px minmax(0,1fr);align-content:start;gap:4px 7px;padding:12px!important}
body.ode-premium.ode-ux-v3 .v3-resources .resource>.premium-resource-icon,body.ode-premium.ode-ux-v3 .v3-resources .resource>.premium-resource-glyph{position:static!important;grid-column:1;grid-row:1;align-self:center}
body.ode-premium.ode-ux-v3 .v3-resources .resource>span:not(.premium-resource-glyph){grid-column:2;grid-row:1;align-self:center}
body.ode-premium.ode-ux-v3 .v3-resources .resource>strong{grid-column:1/-1;font-size:21px;white-space:nowrap!important;overflow-wrap:normal!important}
body.ode-premium.ode-ux-v3 .v3-resources .resource>small{grid-column:1/-1}
body.ode-premium.ode-ux-v3 .v3-resources .resource #orderEssenceValue{white-space:normal!important}
body.ode-premium.ode-ux-v3 .v3-resources .premium-progress-resource>span{grid-column:1/-1!important}
}

@media(max-width:650px){.ode-premium .premium-forge .ode-up-item{flex-wrap:wrap}.premium-forge .ode-up-item>div{min-width:0;flex:1}.premium-forge .ode-up-item>span{max-width:100%;white-space:normal}}
