/* Approved V3 master corrections: presentation only. */
body.ode-ux-v3 .v3-legacy-home-anchors[hidden]{display:none!important}
body.ode-ux-v3 #hubView>.sanctuary-premium-shell>#offlineChestCard{display:block!important;margin:12px 0;border:1px solid #af8b5f;background:radial-gradient(ellipse at 0 0,#55406b4d,transparent 55%),linear-gradient(145deg,#281c2b,#0f0d17);box-shadow:0 14px 35px #0008;padding:20px;max-width:100%;box-sizing:border-box}
body.ode-ux-v3 #hubView #offlineChestCard .chest-reward{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.master-reward-icon{height:30px;width:30px;object-fit:contain;flex:none}
body.ode-ux-v3 #hubView .v3-activity-strip{margin:12px 0 24px}
body.ode-ux-v3 #campaignView .v3-encounter-preview{overflow-wrap:anywhere}
body.ode-premium.ode-ux-v3 .v3-resources .resource[data-resource-id=orderEssenceValue]{display:flex!important;flex-wrap:wrap!important;align-content:flex-start;padding:13px!important;flex-basis:calc(25% - 9px)}
body.ode-premium .v3-resources .resource[data-resource-id=orderEssenceValue]>span:first-child{width:100%;font-size:12px}
body.ode-premium .v3-resources .resource[data-resource-id=orderEssenceValue]:has(.premium-order-icons:not([hidden]))>#orderEssenceValue{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body.ode-premium .v3-resources .resource[data-resource-id=orderEssenceValue]>.premium-order-icons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:100%;min-width:0}
.premium-order-chip{display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid #8b6d4955;border-radius:8px;background:#110d1a99;padding:7px 2px;min-width:0;text-align:center}
.premium-order-chip .premium-resource-icon{position:static!important;width:35px!important;height:35px!important;max-width:100%;object-fit:contain}
.premium-order-chip small{font-size:10px!important;color:#cbbacb;overflow-wrap:anywhere;line-height:1.2}
.premium-order-chip b{font:17px Georgia,serif;color:#f5d9a1}
.premium-order-icons[hidden]{display:none!important}
body.ode-premium .premium-resource-icon{object-fit:contain;max-width:100%}
body.ode-premium .premium-hash-icon{width:28px;height:28px}
body.ode-premium .v3-resource-footer .premium-resource-icon{width:34px;height:34px;flex:none}
body.ode-premium .premium-forge #odeForgeV1Panel .ode-forge-head{padding:6px 7px 14px!important;overflow:visible!important}
body.ode-premium .premium-forge #odeForgeV1Panel .ode-forge-kicker{padding-left:1px!important;letter-spacing:.10em!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important}
body.ode-premium .premium-forge #odeForgeV1Panel .ode-forge-head p{font-size:13px!important;line-height:1.5!important}
body.ode-premium .premium-forge .ode-up-item .premium-piece-meta{white-space:normal!important;line-height:1.35!important;color:#d7c3a1}
body.ode-premium .premium-forge .ode-up-item .premium-carrier{line-height:1.35!important}
body.ode-premium .premium-forge .ode-up-item>span>small:not(.premium-piece-meta):not(.premium-carrier){font-size:11px!important;opacity:.85}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=common]{--rarity-edge:#dbd6c3;--rarity-glow:#e9e6da18}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=uncommon]{--rarity-edge:#6fba86;--rarity-glow:#5ec58318}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=rare]{--rarity-edge:#659ed9;--rarity-glow:#5b9ff118}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=epic]{--rarity-edge:#b183d7;--rarity-glow:#ae67f521}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=legendary]{--rarity-edge:#e1b663;--rarity-glow:#e6a14428}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity=eclipse]{--rarity-edge:#e5d5ee;--rarity-glow:#b799d139}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity]{border-color:var(--rarity-edge)!important;box-shadow:inset 0 0 24px var(--rarity-glow),0 4px 20px #0004!important}
body.ode-premium #inventoryGrid .inventory-list-row[data-rarity] .v3-item-summary{border-color:var(--rarity-edge)!important}
.premium-doctrine-group{border:1px solid #80644566;border-radius:12px;padding:14px;background:#1a1422}
.premium-doctrine-group>h3{margin:0 0 6px!important}
.premium-set-slots,.premium-set-definition{font-size:13px;color:#c9bdcf;line-height:1.5;margin:7px 0!important}
.premium-set-state{font-size:13px;color:#e2c18b;font-weight:800;margin:9px 0!important}
.premium-set-slot{margin:10px 0;padding:8px 10px;border-top:1px solid #80644533}
.premium-set-slot h4{margin:4px 0 8px;font:15px Georgia,serif;color:#e9d09c}
.premium-set-duplicates>summary{cursor:pointer;padding:9px;color:#d8badf}
.premium-active-sets{margin:16px 0 0;padding:16px;border:1px solid #94775b;border-radius:10px;background:#1d1724}
.premium-active-sets[hidden]{display:none!important}
.premium-active-sets h3{margin:0 0 12px;color:#efd29e;font:18px Georgia,serif}
.premium-active-set-card{padding:11px 14px;margin:8px 0;border:1px solid #8a70577a;border-radius:8px;background:#2c223055}
.premium-active-set-card h4{margin:0 0 8px;font:16px Georgia,serif;color:#ecd49d}
.premium-active-set-card p{margin:5px 0;font-size:13px;line-height:1.5;color:#d9cbdc}
.equipment-option .premium-picker-meta{display:block;color:#d9be9c;font-size:12px;line-height:1.4;margin:4px 0}
.master-diamond-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:7px;align-items:center}
.master-diamond-stepper .btn{min-height:42px;min-width:42px;font-size:20px!important;line-height:1!important}
.master-diamond-stepper input{min-width:0;text-align:center;font-size:17px;font-weight:800}
body.ode-ux-v3 #odeWithdrawalV1Card .ode-wdr-policy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0}
body.ode-ux-v3 #odeWithdrawalV1Card .ode-wdr-policy span{display:flex;align-items:center;justify-content:center;border-radius:10px;padding:14px;min-height:68px;box-sizing:border-box;background:linear-gradient(145deg,#35253d,#15111e);border:1px solid #bb955a;color:#f1dcaf;font:700 16px/1.3 Georgia,serif;text-align:center}
@media(max-width:650px){body.ode-ux-v3 #hubView>.sanctuary-premium-shell>#offlineChestCard{padding:15px;margin:10px 0}body.ode-premium.ode-ux-v3 .v3-resources .resource[data-resource-id=orderEssenceValue]{flex-basis:100%;min-height:0;padding:12px!important}body.ode-premium.ode-ux-v3 .v3-resources .resource[data-resource-id=orderEssenceValue]>.premium-order-icons{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.premium-order-chip .premium-resource-icon{width:29px!important;height:29px!important}.premium-order-chip small{font-size:9px!important}body.ode-ux-v3 #odeWithdrawalV1Card .ode-wdr-policy{grid-template-columns:1fr}body.ode-ux-v3 #odeWithdrawalV1Card .ode-wdr-policy span{min-height:50px}.premium-doctrine-group{padding:10px}}
body.ode-premium .premium-forge .ode-up-item .premium-forge-native-subtitle{display:none!important}
@media(min-width:1000px){body.ode-premium .v3-resources [data-resource-id=orderEssenceValue]{grid-area:3/1/4/13!important}body.ode-premium .v3-resources .v3-resource-heading:nth-of-type(3){grid-area:4/1/5/5!important}body.ode-premium .v3-resources .v3-resource-heading:nth-of-type(4){grid-area:4/5/5/9!important}body.ode-premium .v3-resources .v3-resource-heading:nth-of-type(5){grid-area:4/9/5/13!important}body.ode-premium .v3-resources [data-resource-id=summonSealValue]{grid-area:5/1/6/3!important}body.ode-premium .v3-resources [data-resource-id=convergenceSealValue]{grid-area:5/3/6/5!important}body.ode-premium .v3-resources [data-resource-id=odeForgeDustGlobalValueV6]{grid-area:5/5/6/9!important}body.ode-premium .v3-resources [data-resource-id=accountLevelValue]{grid-area:5/9/6/11!important}body.ode-premium .v3-resources [data-resource-id=formationPowerValue]{grid-area:5/11/6/13!important}body.ode-premium .v3-resources [data-resource-id=orderEssenceValue]>.premium-order-icons{grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px}.premium-order-chip small{font-size:12px!important}}
body.ode-premium .premium-forge #odeForgeV1Panel .ode-forge-kicker{margin-left:9px!important;text-indent:2px!important}
body.ode-premium .premium-forge .ode-up-head{padding-left:16px!important;overflow:visible!important}
body.ode-premium .premium-forge .ode-up-head .ode-up-kicker{display:block;padding-left:1px!important;line-height:1.5!important}
@media(max-width:650px){body.ode-premium.ode-ux-v3 .v3-resources .resource[data-resource-id=orderEssenceValue]>.premium-order-icons{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}.premium-order-chip small{font-size:10px!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal;white-space:nowrap}.premium-order-chip b{display:block;font-size:18px;line-height:1.3}}
body.ode-ux-v3 #hubView #offlineChestCard .offline-chest-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
body.ode-ux-v3 #hubView #offlineChestCard .dashboard-kicker{display:block;font-size:11px;letter-spacing:.12em;color:#bea4d0;text-transform:uppercase}
body.ode-ux-v3 #hubView #offlineChestCard h3{font:25px Georgia,serif;color:#efd1a0;margin:4px 0}
body.ode-ux-v3 #hubView #offlineChestCard .offline-chest-top p{font-size:13px;line-height:1.5;color:#cdbecb;margin:4px 0}
body.ode-ux-v3 #hubView #offlineChestCard .offline-chest-badge{font-size:12px;padding:7px 10px}
body.ode-ux-v3 #hubView #offlineChestCard .hub-reward-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
body.ode-ux-v3 #hubView #offlineChestCard .hub-reward-chip{padding:12px;border-radius:9px}
body.ode-ux-v3 #hubView #offlineChestCard .hub-reward-chip span{font-size:10px;letter-spacing:.08em}
body.ode-ux-v3 #hubView #offlineChestCard .hub-reward-chip strong{font-size:15px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-locked{font-size:13px;padding:12px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-time{margin-top:12px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-time strong{font:23px Georgia,serif}
body.ode-ux-v3 #hubView #offlineChestCard .chest-time span{font-size:13px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-rate,body.ode-ux-v3 #hubView #offlineChestCard .claim-row small{font-size:12px;line-height:1.45}
body.ode-ux-v3 #hubView #offlineChestCard .chest-rewards{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-reward{padding:10px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-reward span{font-size:10px}
body.ode-ux-v3 #hubView #offlineChestCard .chest-reward strong{font-size:17px}
@media(max-width:650px){body.ode-ux-v3 #hubView #offlineChestCard h3{font-size:21px}body.ode-ux-v3 #hubView #offlineChestCard .hub-reward-summary,body.ode-ux-v3 #hubView #offlineChestCard .chest-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}body.ode-ux-v3 #hubView #offlineChestCard .offline-chest-top{align-items:flex-start}}
/* Targeted regression repair. Existing navigation catalog and native controls retained. */
body.ode-ux-v3 .v3-more-dialog{width:min(880px,calc(100vw - 24px));max-height:calc(100dvh - 36px);box-sizing:border-box;border:1px solid #987b50;border-radius:14px;background:#17101e;color:#eee;padding:16px;overflow:auto}
.v3-more-dialog::backdrop{background:#09050ccc;backdrop-filter:blur(4px)}
body.ode-ux-v3 .v3-more-dialog .v3-more-menu{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;box-sizing:border-box;overflow:visible!important;border:0;box-shadow:none;padding:12px!important}
.v3-more-close{display:block;margin-left:auto}.premium-doctrine-toolbar{display:flex;gap:8px;margin-bottom:16px}.premium-doctrine-summary{cursor:pointer;list-style:none}.premium-doctrine-summary h3{display:inline}.premium-doctrine-summary::after{content:'⌄';float:right}.premium-doctrine-group[open]>.premium-doctrine-summary{margin-bottom:14px}.premium-equip-doctrine{margin-top:16px;width:100%}.premium-composition-choice{display:flex;align-items:center;gap:7px;font-size:12px}.premium-composition-choice input{width:18px;height:18px}
body.ode-premium .premium-forge .ode-up-item{display:grid!important;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:10px!important}
body.ode-premium .premium-forge .ode-up-item>span{min-width:0}.premium-forge .premium-forge-thumb{width:34px;height:46px}body.ode-premium .premium-forge .ode-up-item strong{font-size:13px!important}body.ode-premium .premium-forge .ode-up-item .premium-piece-meta,body.ode-premium .premium-forge .ode-up-item .premium-carrier{font-size:11px!important;line-height:1.3!important}.premium-forge .ode-up-item>i{grid-column:2;justify-self:start}

body.ode-premium .premium-forge .ode-up-item>.ode-up-badge{grid-column:2;justify-self:start;width:auto;max-width:none}

.premium-doctrine-summary{position:relative;padding-right:20px}.premium-doctrine-summary::after{position:absolute;right:0;top:0;float:none}.v3-more-close{position:sticky;top:0;z-index:1}
@media(max-width:650px){body.ode-premium .premium-doctrine-piece{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important}body.ode-premium .premium-doctrine-piece>div{grid-column:2;min-width:0}body.ode-premium .premium-doctrine-piece>.premium-composition-choice,body.ode-premium .premium-doctrine-piece>button{grid-column:1/-1}body.ode-premium .premium-doctrine-piece:not(:has(>img))>div{grid-column:1/-1}}
