/* Page compositions: artwork leads discovery; data leads the trading workspace. */
:root,:root[data-theme=light]{--brand:#315fea;--brand-hover:#214ccf;--navy:#2855dc;--brand-soft:#eaf0ff;--paper:#f8f9fb;--quiet-surface:#f0f3f7;--gold:#997238}
:root[data-theme=dark]{--paper:#0b0e15;--surface:#121822;--quiet-surface:#1a212d;--hover-surface:#212c3b;--line:#2a3443;--fine-line:#202936;--brand:#416af5;--brand-hover:#567dff;--navy:#92afff;--brand-soft:#203458;--gold:#e0bc78;--secondary-text:#a0aec2;--ink:#eef2f8}
body[data-view=home] #app,body[data-view=portfolio] #app,body[data-view=rewards] #app{max-width:none;margin:0 auto;padding-top:24px}
.discovery-stage{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(280px,1fr);gap:16px}
.editorial-feature{position:relative;display:block;min-height:364px;border-radius:14px;overflow:hidden;background:linear-gradient(90deg,#171410ed 0%,#201c16bd 45%,#201c1626 100%),url('assets/genesis-relics.webp') center 48%/cover}
.editorial-feature.feature-realms{background-image:linear-gradient(90deg,#191816ed,#19181670 60%,#19181620),url('assets/realm-sanctuary.webp')}
.editorial-feature.feature-marble{background-image:linear-gradient(90deg,#201d18ed,#201d1890 60%,#201d1820),url('assets/marble-colonnade.webp')}
.editorial-copy{position:relative;z-index:2;padding:28px 32px;max-width:66%;height:100%;display:flex;flex-direction:column;align-items:flex-start}
.editorial-label{width:100%;gap:12px;margin:0 0 32px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}.editorial-label>span{font-size:10px;letter-spacing:1.5px;white-space:nowrap}.editorial-controls{gap:7px;margin:0}.editorial-controls>span{font-size:10px;white-space:nowrap}.editorial-controls button{width:28px;height:28px}
.editorial-copy h2{font:500 clamp(34px,3.2vw,54px)/1.04 Georgia,serif;letter-spacing:-1.6px;margin:0 0 12px}.editorial-copy>p{font-size:15px;line-height:1.5;margin:0 0 24px;color:#d5e0f0}.editorial-metrics{gap:30px;margin:0 0 24px}.editorial-metrics strong{font-size:21px}.editorial-copy>.button{margin-top:auto;min-height:42px;width:auto;min-width:170px;background:linear-gradient(#fff,#e7edf7);color:#163361;border:1px solid #ffffffa3;box-shadow:inset 0 1px 0 #fff,0 3px 5px #04132b24,0 8px 20px #04132b33}
.editorial-art{position:absolute;display:flex;inset:auto 0 0 auto;width:36%;height:100%;padding:0;background:none;align-items:flex-end;border:0;pointer-events:none}.editorial-art>.art,.editorial-art>.art:last-child{display:block;width:100%;height:auto;aspect-ratio:1;flex:none;border:0;border-radius:0;box-shadow:none;transform:none!important;opacity:.98;mask-image:linear-gradient(to right,transparent,#000 12%);-webkit-mask-image:linear-gradient(to right,transparent,#000 12%)}
.collection-previews{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-width:0}.collection-preview{display:flex;align-items:stretch;text-align:left;overflow:hidden;padding:0;border:0;border-radius:12px;min-width:0;background:#eae3d5;color:#332c22;transition:filter 150ms}.collection-preview:hover{filter:brightness(1.07)}.collection-preview>.art{width:42%;min-width:0;flex:none;background-repeat:no-repeat;border-radius:0;align-self:stretch;aspect-ratio:auto}.preview-copy{padding:18px;display:flex;flex-direction:column;justify-content:center;min-width:0}.preview-copy>small{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;opacity:.75}.preview-copy>strong{font-size:20px;line-height:1.15;margin:7px 0}.preview-copy>span{font-size:12px;line-height:1.5;opacity:.8}.preview-copy>b{font-size:11px;font-weight:400;margin-top:16px}.preview-copy .price-display{font-size:13px;margin-left:5px;color:inherit}.preview-copy .price-display small{font-size:9px;color:inherit;opacity:.7}.preview-heroes{background:#173644;color:#e8f6fb}.preview-genesis{background:#552623;color:#fff0da}.preview-realms{background:#204b46;color:#e7f9e9}
.all-collections{margin-top:36px}.collections-heading{margin:0 0 14px}.collections-heading h2{font-size:22px;letter-spacing:-.6px}.collections-heading>div{gap:14px}.collections-heading>div>span{font-size:12px}.collections-controls .search{max-width:240px}.collection-categories{gap:10px;margin-bottom:14px;border:0}.collection-categories button{font-size:13px;padding:7px 14px;border:0;border-radius:6px}.collection-categories button.active{background:var(--brand-soft);color:var(--navy)}
.collection-table-wrap,.market-directory-wrap{border:0;border-radius:0;background:none}.collection-table th,.market-directory th{background:transparent;font-size:12px;padding:10px 12px;color:var(--secondary-text);border-bottom:1px solid var(--line)}.collection-table td,.market-directory td{padding:14px 12px;background:none;border-top:0;border-bottom:1px solid var(--fine-line)}.collection-table td:first-child,.collection-table th:first-child{width:34%}.table-collection strong{font-size:14px}.table-collection small{font-size:12px}.collection-table .collection-thumb{width:40px;height:40px}.collection-table tbody tr:hover{background:var(--quiet-surface)}
/* Preserve the separate cover and identity; keep the compact inventory controls. */

.portfolio-body{padding-top:16px}.portfolio-toolbar{margin-top:0}.portfolio-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}
/* One season scene: identity, standing and progression share a single hierarchy. */
.season-stage{position:relative;isolation:isolate;overflow:hidden;border-radius:14px;padding:30px 36px 32px;background:#101e32;color:#fff}.season-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#191816f5,#191816bf 58%,#191816cc),url('assets/marble-colonnade.webp') center 48%/cover}.season-story>.eyebrow{color:#dfc58f;font-size:11px;letter-spacing:2px}.season-story h2{font:500 40px/1.1 Georgia,serif;letter-spacing:-.8px;color:white;margin:10px 0}.season-story p{font-size:14px;line-height:1.5;color:#d0dcec;margin:0}.season-stage .reward-summary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:80px;margin:24px 0 0;align-items:end}.season-stage .reward-hero,.season-stage .tier-path{padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-height:0}.season-stage .reward-watermark,.season-stage .reward-hero:before{display:none}.season-stage .reward-hero>.eyebrow{font-size:10px;color:#c0cde0;letter-spacing:1.4px}.season-stage .reward-total{font-size:62px;line-height:1.05;margin:10px 0 18px;color:white}.season-stage .reward-total>small{font-size:16px;color:#ccd7e8}.season-stage .reward-hero-bottom{display:flex;gap:24px;font-size:13px;color:#dae3f0;align-items:center;flex-wrap:wrap}.season-stage .reward-tier-label{font-size:13px;color:#ead1a1}.season-stage .reward-claim{margin-left:8px;background:linear-gradient(#f3dba9,#d8b271);border:1px solid #f2d7a0;box-shadow:inset 0 1px 0 #fff6,inset 0 -1px 0 #99713266,0 4px 12px #020a1859;color:#302614;padding:10px 18px;min-height:40px;font-size:13px}.season-stage .tier-path>.eyebrow{font-size:10px;color:#bfcde1;letter-spacing:1.4px}.season-stage .tier-title{margin:8px 0}.season-stage .tier-title h2{font-size:26px;color:white}.season-stage .tier-seal{width:32px;height:32px;color:#e2c286;border-color:#e2c28660}.season-stage .tier-path>p{font-size:13px;color:#d0dcec;margin:0 0 20px}.season-stage progress{height:6px;background:#ffffff25;accent-color:#e2c286;box-shadow:inset 0 1px 2px #0005,0 1px 0 #ffffff12}.season-stage progress::-webkit-progress-bar{background:#ffffff25}.season-stage progress::-webkit-progress-value{background:#e2c286}.season-stage .tier-thresholds,.season-stage .tier-steps{color:#d4dfed;font-size:11px}.season-stage .tier-steps{margin-top:18px}.season-stage .tier-steps i{border-color:#b7c7de88}.season-stage .tier-steps .reached i{background:#ddc08b;color:#273343}.rewards-workspace{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:48px;margin-top:30px}.reward-sidebar{border:0;padding-left:0}.mission{padding:20px 0}.mission-icon{background:var(--brand-soft);color:var(--navy);border-radius:50%;width:36px;height:36px}.mission p{max-width:none}.leader-mini{padding:13px 0}.your-rank{background:var(--brand-soft);padding:13px 12px;border-radius:6px}.staking-compact{border:0;background:var(--quiet-surface);padding:18px;border-radius:8px}
/* Terminal: large chart, continuous inventory, sweep attached to the inventory. */
body[data-trading=true] #app{padding:10px var(--gutter) 48px}:root[data-theme] body[data-trading=true] .collection-header{display:flex;align-items:center;gap:28px;border:0;background:none;border-radius:0;overflow:visible;margin-bottom:8px}body[data-trading=true] .collection-cover{padding:8px 0;background:none;flex:none;height:58px;gap:18px}body[data-trading=true] .collection-cover>[data-action=follow]{min-width:32px;width:32px;height:32px;padding:7px;background:none;border:0;color:var(--secondary-text);backdrop-filter:none}body[data-trading=true] .collection-cover>[data-action=follow]>span{display:none}body[data-trading=true] .collection-subtitle{display:none}body[data-trading=true] .collection-title h1{font-size:20px;margin:0}body[data-trading=true] .collection-stats{min-width:0;flex:1;overflow:auto}body[data-trading=true] .market-metrics{grid-template-columns:repeat(11,minmax(85px,1fr));padding:8px 0;gap:12px}body[data-trading=true] .market-metrics>div{padding:0}body[data-trading=true] .market-metrics>div>span{font-size:10px}body[data-trading=true] .market-metrics strong{font-size:13px}body[data-trading=true] .tabbar{height:42px}.workspace-toolbar{margin-bottom:10px}.terminal{padding-top:10px}
.terminal-grid{height:var(--workspace-height,600px);min-height:490px;display:grid;grid-template-columns:minmax(570px,1.8fr) minmax(235px,.72fr) minmax(265px,.8fr);grid-template-rows:minmax(245px,1.2fr) minmax(175px,.8fr) 62px;grid-template-areas:'items charts charts' 'items bids activity' 'sweep bids activity';gap:0 16px;border:0;border-radius:0;overflow:visible;background:none}
.terminal-panel{border:0;background:transparent;min-height:0}.terminal-items{grid-area:items;border:0}.terminal-charts{grid-area:charts;align-self:stretch;height:auto;border:0}.terminal-bids{grid-area:bids;border:0;min-width:0}.terminal-activity{grid-area:activity;align-self:stretch;height:auto;border:0;min-width:0}.terminal-panel>header{padding:8px 0;border-bottom:1px solid var(--line);min-height:40px}.terminal-panel>header h3{font-size:14px}.terminal-items>header{padding-right:12px}.terminal-items-scroll{border:0;background:var(--surface)}.terminal-table th{background:var(--surface);height:36px;padding-top:8px;padding-bottom:8px}.terminal-table td{height:var(--row-height)}.terminal-charts>header{padding:5px 0}.terminal-chart-readout{padding:10px 0 4px;min-height:34px}.terminal-plot{padding:0 0 8px}.terminal-plot svg{max-height:none}.chart-navigation{border:0;padding:2px 0}.terminal-bids>header .spread{width:auto;order:0;font-size:10px}.terminal-bids>header{gap:5px}.terminal-bids>header h3{width:100%}.terminal-bids .text-button{font-size:11px}.bid-table th,.bid-table td{padding:8px 5px}.bid-table th{font-size:10px}.terminal-events>button{padding:10px 0;min-height:48px}.terminal-events .item-thumb{width:27px;height:27px}.terminal-events strong{font-size:11px}.terminal-events small{font-size:10px}.terminal-manage{padding:6px 0;min-height:30px}.depth-key{padding-left:0}
#terminal-sweep{grid-area:sweep;min-width:0}.terminal-sweepbar{position:static;min-height:62px;height:100%;padding:10px 12px;border:0;border-top:1px solid var(--line);border-radius:0;background:linear-gradient(var(--control-bottom),var(--surface));box-shadow:var(--bevel);gap:12px}.terminal-sweepbar>.button{font-size:12px;padding:8px 12px;white-space:nowrap}.sweep-summary{gap:12px}.sweep-summary strong{font-size:12px;white-space:nowrap}.sweep-summary>.price-display{font-size:14px}.sweep-summary .price-display small{font-size:10px}.sweep-stepper{flex:none}.sweep-available{display:none}
@media(max-width:1250px){.discovery-stage{grid-template-columns:minmax(0,2fr) minmax(245px,1fr)}.editorial-copy{padding:26px;max-width:72%}.editorial-copy h2{font-size:42px}.editorial-art{width:34%}.preview-copy{padding:14px}.preview-copy>strong{font-size:18px}.preview-copy>span{display:none}.season-stage .reward-summary{gap:44px}.terminal-grid{grid-template-columns:minmax(530px,1.5fr) minmax(210px,.7fr) minmax(230px,.7fr)}:root[data-theme] body[data-trading=true] .collection-header{display:block}body[data-trading=true] .collection-cover{height:48px}body[data-trading=true] .market-metrics{grid-template-columns:repeat(11,minmax(85px,1fr))}.terminal-table{min-width:530px}.terminal-table td,.terminal-table .price-display,.terminal-table .trader-item strong{font-size:11px}.sweep-summary{flex-direction:column;align-items:flex-start;gap:3px}}
@media(min-width:901px) and (max-width:1100px){
 .terminal-grid{display:block;height:auto;min-height:0;margin:0}.terminal-panel{display:none;height:auto;border:0}.terminal[data-panel=items] .terminal-items,.terminal[data-panel=bids] .terminal-bids,.terminal[data-panel=activity] .terminal-activity,.terminal[data-panel=charts] .terminal-charts{display:flex;height:auto;min-height:0}.terminal-mobile-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:12px}.terminal-mobile-tabs button{flex:1;background:none;color:var(--secondary-text);padding:12px;border-bottom:2px solid transparent}.terminal-mobile-tabs button[aria-pressed=true]{border-color:var(--brand);color:var(--navy)}.terminal-charts .terminal-plot{height:340px;min-height:340px}.terminal-sweepbar{position:fixed;bottom:36px;left:24px;right:24px;height:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}body[data-trading=true] #app{padding-bottom:120px}
}
@media(max-width:900px){.discovery-stage{grid-template-columns:1fr}.editorial-feature{min-height:330px}.editorial-copy{max-width:65%}.editorial-art{width:38%}.collection-previews{grid-template-columns:1fr 1fr;grid-template-rows:140px}.collection-preview>.art{width:40%}.preview-copy>span{display:block}.season-stage{padding:28px}.season-stage .reward-summary{gap:32px;grid-template-columns:1fr 1fr}.season-stage .reward-hero-bottom{gap:14px}.season-stage .reward-claim{margin:0}.rewards-workspace{grid-template-columns:1fr;gap:28px}.reward-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:28px;border:0;padding:0}.staking-compact{margin:0;align-self:start}.terminal-grid{display:block;min-height:0;height:auto;margin:0}.terminal-panel{display:none;min-height:0;border:0;border-radius:0;background:none}.terminal[data-panel=items] .terminal-items,.terminal[data-panel=bids] .terminal-bids,.terminal[data-panel=activity] .terminal-activity,.terminal[data-panel=charts] .terminal-charts{height:auto;min-height:0}.terminal-table{min-width:570px}.terminal-sweepbar{position:fixed;left:12px;right:12px;bottom:34px;height:auto;min-height:62px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:10px;box-shadow:0 -6px 20px #0001}.sweep-summary{flex-direction:row;gap:12px;align-items:center}.terminal-charts .terminal-plot{height:310px;min-height:310px}.terminal-chart-readout{padding-top:14px}.terminal-bids>header h3{width:auto}.terminal-bids>header .spread{margin-left:auto}.terminal-bids>header .text-button{margin-left:12px}body[data-trading=true] #app{padding:14px var(--gutter) 120px}.terminal-mobile-tabs{margin-bottom:8px}}
@media(max-width:600px){body[data-view=home] #app,body[data-view=portfolio] #app,body[data-view=rewards] #app{padding-top:16px}.discovery-stage{gap:12px}.editorial-feature{min-height:382px;border-radius:12px}.editorial-copy{max-width:none;min-height:382px;padding:22px;justify-content:flex-start}.editorial-label{margin-bottom:100px}.editorial-copy h2{font-size:37px;max-width:95%;margin-bottom:8px}.editorial-copy>p{font-size:14px;margin-bottom:20px}.editorial-metrics{gap:26px;margin-bottom:20px}.editorial-metrics strong{font-size:19px}.editorial-copy>.button{width:100%;min-height:42px}.editorial-art{display:flex;inset:45px 18px auto auto;width:98px;height:98px;opacity:.9}.editorial-art>.art{width:98px;height:98px;mask-image:none;-webkit-mask-image:none;border-radius:8px}.collection-previews{grid-template-rows:116px;gap:10px}.collection-preview{position:relative;border-radius:8px;align-items:flex-end}.collection-preview>.art{position:absolute;inset:0;width:100%;opacity:.26;background-position:center;mask-image:linear-gradient(to bottom,#000,transparent);-webkit-mask-image:linear-gradient(to bottom,#000,transparent)}.preview-copy{position:relative;padding:14px;min-width:0;z-index:1}.preview-copy>strong{font-size:17px;margin:5px 0}.preview-copy>small{font-size:9px}.preview-copy>span{display:none}.preview-copy>b{margin-top:5px;font-size:10px}.preview-copy .price-display{font-size:12px}.all-collections{margin-top:26px}.collections-heading h2{font-size:22px}.collections-heading>div{gap:10px}.collections-heading>div>span{display:none}.collections-controls .search{max-width:none}.collection-categories{gap:5px}.collection-categories button{padding:7px 11px;font-size:13px}.collection-table td,.collection-table th{padding:12px 8px}.collection-table .table-collection strong{font-size:13px}.collection-table .table-collection small{font-size:11px}
.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.season-stage{padding:24px 20px;border-radius:12px}.season-story h2{font-size:34px}.season-story p{font-size:13px;max-width:230px}.season-stage .reward-summary{grid-template-columns:1fr;gap:28px;margin-top:24px}.season-stage .reward-total{font-size:56px;margin:8px 0 16px}.season-stage .reward-hero-bottom{display:grid;grid-template-columns:1fr auto;gap:14px;font-size:12px}.season-stage .reward-tier-label{font-size:12px}.season-stage .reward-claim{width:100%;grid-column:1/-1;margin:0}.season-stage .tier-path{border-top:1px solid #ffffff25;padding-top:22px}.season-stage .tier-title{margin:8px 0}.season-stage .tier-path>p{margin-bottom:16px}.season-stage .tier-steps{margin-top:16px}.reward-sidebar{display:block}.staking-compact{margin-top:24px}.rewards-workspace{margin-top:26px}.mission{grid-template-columns:28px minmax(0,1fr) auto;gap:10px;padding:18px 0}.mission-icon{width:28px;height:28px}.mission-text{min-width:0}.mission h3{font-size:14px}.mission p{font-size:12px;max-width:none}.mission-xp{grid-column:2;grid-row:2;font-size:11px}.mission .button,.mission-complete{grid-column:3;grid-row:1/3;min-width:64px;padding:6px 9px;font-size:12px}.mission .button svg{display:none}.missions-panel .section-heading h2,.rank-preview .section-heading h2{font-size:19px}.missions-panel .section-heading>span{font-size:11px}
:root[data-theme] body[data-trading=true] .collection-header{gap:0}body[data-trading=true] .collection-cover{height:50px;padding:5px 0}body[data-trading=true] .collection-title h1{font-size:20px}body[data-trading=true] .market-metrics{padding:10px 0;grid-template-columns:repeat(11,91px)}body[data-trading=true] .market-metrics>div>span{font-size:11px}body[data-trading=true] .market-metrics strong{font-size:14px}.terminal-sweepbar{gap:8px}.sweep-summary{display:block}.sweep-summary>span{display:block;margin-top:3px}.terminal-sweepbar>.button{padding:8px 10px;font-size:12px}.sweep-stepper input{width:28px}.sweep-stepper button{width:27px}.terminal-events>button{padding:12px 0}.terminal-events strong{font-size:13px}.terminal-events small{font-size:11px}.terminal-events .item-thumb{width:34px;height:34px}.terminal-events b{font-size:14px}
}

/* Compact mobile controls stay on two aligned rows. */
body[data-trading=true] .collection-stats,body[data-trading=true] .collection-cover{background-color:transparent}
@media(max-width:600px){
 .portfolio-toolbar,.portfolio-toolbar:not(:has(.chips)){display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:10px;margin:0 0 16px}
 .portfolio-toolbar>.search,.portfolio-toolbar:not(:has(.chips))>.search{grid-column:1;grid-row:1;width:auto;min-width:0;max-width:none}
 .portfolio-toolbar>.view-switch,.portfolio-toolbar:not(:has(.chips))>.view-switch{grid-column:2;grid-row:1;justify-self:end}
 .portfolio-toolbar>.chips{grid-column:1;grid-row:2;justify-self:start;width:auto;margin:0;gap:0}
 .portfolio-toolbar>.sort-select,.portfolio-toolbar:not(:has(.chips))>.sort-select{grid-column:1/3;grid-row:2;width:156px;min-width:0;max-width:none;justify-self:end;padding-left:10px;padding-right:24px;font-size:12px}
 .portfolio-toolbar .chip{padding:5px 9px;font-size:12px}
 .portfolio-toolbar:not(:has(.chips))>.sort-select{width:100%;max-width:none}
 .season-story p{display:none}.season-stage .reward-summary{margin-top:22px;gap:22px}.season-stage .tier-path{padding-top:18px}.season-stage .reward-total{margin-bottom:14px}.season-stage .tier-path>p{margin-bottom:12px}.season-stage .tier-steps{margin-top:12px}
}
@media(max-width:370px){.portfolio-toolbar:has(.chips)>.sort-select{grid-column:1/-1;grid-row:3;width:100%;max-width:none}.portfolio-toolbar>.chips{grid-column:1/-1}}

/* SVG viewports adapt to their panel; labels and targets retain a readable screen size. */
.terminal-plot text,.chart-expanded .terminal-plot text{font-size:calc(12px * var(--chart-unit,1))}
.terminal-plot .axis-title,.chart-expanded .terminal-plot .axis-title{font-size:calc(10px * var(--chart-unit,1))}
.terminal-plot .sale-dot,.terminal-plot .depth-dot{r:calc(3.5px * var(--chart-unit,1));vector-effect:non-scaling-stroke}
.terminal-plot .sale-dot:hover,.terminal-plot .sale-dot:focus,.terminal-plot .depth-dot:hover,.terminal-plot .depth-dot:focus{r:calc(5px * var(--chart-unit,1))}
.terminal-plot .plot-grid path,.terminal-crosshair{vector-effect:non-scaling-stroke}

/* Artwork has a framed edge; the market below remains a continuous working surface. */
.editorial-feature,.collection-preview,.season-stage,.profile-cover,.drops-hero{position:relative;box-shadow:var(--surface-shadow)}
.editorial-feature:after,.collection-preview:after,.season-stage:after,.profile-cover:after,.drops-hero:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 1px 0 #ffffff38,inset 0 0 0 1px #ffffff14,inset 0 -1px 0 #0003;z-index:3}
.collection-preview{transition:box-shadow 180ms ease,filter 150ms ease}
.collection-preview:hover{box-shadow:var(--surface-hover-shadow);filter:brightness(1.04)}
.profile-avatar{box-shadow:0 3px 7px #0003,0 10px 22px -10px #0008}
.collection-categories button.active,.dv-category-tabs button.active{box-shadow:var(--bevel),0 1px 3px #0000000c}
.mission-icon{box-shadow:var(--bevel),0 2px 5px #00000012}
.staking-compact{background:linear-gradient(var(--surface-top),var(--surface-bottom));box-shadow:var(--surface-shadow)}
.season-stage .tier-seal{background:linear-gradient(#edcf9226,#edcf9208);box-shadow:inset 0 1px 0 #fff2,0 3px 8px #0003}
@media(min-width:701px){
 .profile-header{padding-bottom:24px}
 .portfolio-body{padding-top:20px}
 .portfolio-toolbar{margin-bottom:20px}
 .rewards-workspace{margin-top:32px}
}
@media(prefers-reduced-motion:reduce){.collection-preview{transition:none}}

.season-stage .reward-claim:disabled{box-shadow:none}

/* Trading controls keep chart inspection in the available viewport. */
.terminal-plot{position:relative;min-height:0;flex:1;overflow:hidden}
.terminal-plot svg{display:block;width:100%;height:100%;touch-action:pan-y;cursor:crosshair}
.terminal-plot .plot-grid path{stroke:var(--line);opacity:.7}.terminal-plot .sale-dot{fill:var(--brand);stroke:var(--surface);stroke-width:1}
.chart-inspection{display:flex;gap:4px 12px;flex-wrap:wrap;align-content:center;align-items:center;min-height:46px;padding:6px 0;font-size:12px;line-height:1.4;color:var(--secondary-text);border-top:1px solid var(--fine-line);flex:none}
.chart-inspection strong{color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.chart-inspection>span{min-width:0;overflow-wrap:anywhere}.chart-inspection button{margin-left:auto;min-height:32px}
.chart-window-label{font-size:11px;color:var(--secondary-text)}.chart-navigation button{min-width:32px;height:30px}.terminal-chart-readout{min-height:32px;font-variant-numeric:tabular-nums}.terminal-chart-readout strong{font-size:13px}.terminal-chart-readout>span{font-size:12px}
.terminal-segment button,.terminal-periods button{min-height:32px;font-size:12px}.depth-key{min-height:24px;font-size:12px;padding-bottom:6px}.depth-key+ .chart-inspection{min-height:44px}.depth-spread{fill:var(--quiet-surface);opacity:.8}.depth-spread-label{fill:var(--secondary-text);text-anchor:middle}
.chart-dialog{width:min(1200px,calc(100vw - 48px));height:min(800px,calc(100dvh - 48px));max-height:none;padding:20px}.chart-dialog #modal-content{height:100%}.chart-expanded{height:100%;min-height:0;padding-top:32px;display:flex;flex-direction:column}.chart-expanded .terminal-plot{flex:1;height:auto;min-height:0}.chart-expanded .terminal-plot svg{height:100%;aspect-ratio:auto}.chart-expanded .chart-inspection{min-height:52px}
@media(min-width:1101px){.terminal-grid{grid-template-rows:minmax(300px,1.2fr) minmax(175px,.8fr) 62px;min-height:540px}.terminal-charts{min-height:300px}}
@media(max-width:1100px){
 .terminal:not([data-panel=items]) .workspace-toolbar,.terminal:not([data-panel=items]) .workspace-filters{display:none}
 .terminal{padding-top:0}.terminal-mobile-tabs{margin-bottom:8px}.terminal-mobile-tabs button{min-height:44px;padding:8px;font-size:14px}
 .terminal .workspace-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 8px}.terminal .workspace-toolbar .search{order:0;grid-column:1;min-width:0;width:100%;max-width:none;height:44px}.terminal .workspace-toolbar>.button{order:0;grid-column:2;min-height:44px;width:auto}.terminal .workspace-toolbar>.sort-select{display:none;grid-column:1/-1;order:1;min-height:44px;width:100%;font-size:14px}.terminal:has(.workspace-filters) .workspace-toolbar>.sort-select{display:block}.terminal .density-toggle{display:none}
 .terminal .terminal-charts .terminal-plot{height:var(--inline-plot-height,240px);min-height:0;flex:none}.terminal .terminal-plot svg{height:100%;min-height:0}
 .chart-navigation button{min-width:40px;height:40px}.terminal-segment button,.terminal-periods button{min-height:40px;padding:6px 8px;font-size:13px}.terminal-chart-readout{min-height:30px;padding:5px 0}.chart-inspection{min-height:48px}.chart-inspection button{min-height:40px}
 .mobile-trading-row{padding:10px 8px}.mobile-trading-row details{margin-top:0}.mobile-trading-row summary{min-height:40px}.mobile-item-main .terminal-price{min-height:44px}.mobile-item-main>input{width:24px;height:24px}
 .terminal-sweepbar{min-height:60px;padding:8px 10px;left:12px;right:12px}.sweep-stepper button{min-width:36px;min-height:40px}.sweep-stepper input{height:40px}.terminal-sweepbar .button{min-height:44px}
}
@media(max-width:700px){
 body[data-trading=true] .collection-cover{height:44px}.collection-cover .collection-title h1{font-size:20px}body[data-trading=true] .collection-lore summary{min-height:32px;display:flex;align-items:center}body[data-trading=true] .market-metrics{padding:8px 0;gap:8px}.terminal .terminal-charts .terminal-plot{height:var(--inline-plot-height,200px)}
 #modal.chart-dialog{inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:16px 12px calc(12px + env(safe-area-inset-bottom))}.chart-dialog #modal-content{height:100%;max-height:none}.chart-expanded{height:100%;padding-top:36px;min-height:0}.chart-expanded .terminal-plot{flex:1;min-height:0;height:auto}.chart-expanded .terminal-plot svg{width:100%;height:100%;aspect-ratio:auto;min-height:0}.chart-expanded .terminal-chart-readout{padding:8px 0}.chart-expanded>header{gap:8px}.chart-expanded .terminal-periods{margin-left:auto}.chart-expanded .chart-inspection{min-height:72px}.chart-window-label{font-size:12px}
 .nft-card .save-button{width:40px;height:40px;top:6px;right:6px}.nft-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.nft-actions .card-action,.nft-actions .cart-action,.nft-actions .text-button{min-height:44px;min-width:40px;padding:8px}.nft-actions .text-button{font-size:12px}.nft-card .bulk-select{min-width:36px;min-height:36px}.card-name{font-size:13px;line-height:1.4}.card-meta{font-size:12px}.card-bottom{padding-top:8px;gap:4px}.card-content{padding:10px}.nft-price{font-size:14px}
 .profile-name .button,.profile-address .text-button{min-height:40px}.portfolio-toolbar .chip{min-height:40px}.cv-offers .cv-table td:last-child button{min-height:44px}.drop-tile-copy>button,.drop-access .text-button{min-height:44px}.mission .button{min-height:44px}
 .lucky-grid{max-height:190px;grid-auto-columns:128px}.lucky-tile>.art{max-height:112px}.lucky-console{padding:16px}.lucky-console .console-heading{margin-bottom:12px}.lucky-console .console-item{gap:12px;margin-bottom:12px;display:flex}.lucky-console .console-item>.art{width:44px;height:44px;flex:none}.lucky-console .chance-label{margin-top:8px}.lucky-console .chance-label output{font-size:32px}.lucky-console .chance-presets button{min-height:40px}.lucky-console .console-cost{margin:12px 0}.lucky-console .fate-multiplier{margin:10px 0}.lucky-console .console-risk,.lucky-console .console-subnote{font-size:12px;margin-top:8px}.lucky-layout{gap:16px}
 .collection-table th:nth-child(4)>button:after{content:none}.collection-table th:nth-child(4)>button{font-size:11px}
}

.offer-quantity{display:block;color:var(--muted);font-size:11px;margin-top:3px;white-space:normal}
@media(max-width:700px){.detail-v2-table .text-button,.offer-table .text-button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.offer-quantity{font-size:12px}}

@media(max-width:700px){body[data-trading=true] .collection-lore{padding:0}body[data-trading=true] .collection-lore[open]{padding-bottom:12px}}
/* Medium screens retain every metric without clipped labels or a horizontal rail. */
@media(min-width:701px) and (max-width:1250px){
 body[data-trading=true] .market-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;gap:14px 12px;padding:12px 0}
 body[data-trading=true] .market-metrics>div{min-width:0}
 body[data-trading=true] .market-metrics strong{font-size:13px}
}
