/* One compact scale for the catalogue, account screens and trade details. */
.fusion-shell .simple-page-heading { margin-bottom: 16px; }
.fusion-shell .simple-page-heading h1 { font-size: 20px; line-height: 1.3; }
.fusion-shell .shop-intro { min-height: 0; padding: 0; margin: 0 0 16px; border: 0; background: none; border-radius: 0; gap: 12px; }
.fusion-shell .shop-intro p { margin: 0; font-size: var(--type-label); }
.fusion-shell .shop-intro button { min-height: 36px; padding: 8px 13px; font-size: var(--type-label); }
.fusion-shell .shop-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 16px; }
.fusion-shell .shop-layout>div { min-width: 0; }
.fusion-shell .shop-grid, .fusion-shell .cards { grid-template-columns: repeat(auto-fill,minmax(158px,1fr)); gap: 10px; align-items: stretch; }
.fusion-shell .skin-card { border-radius: 9px; min-width: 0; overflow: hidden; }
.fusion-shell .skin-card .skin-art { height: 110px; flex: none; }
.fusion-shell .skin-art img { max-width: 88%; max-height: 92px; object-fit: contain; }
.fusion-shell .skin-art .pill { top: 8px; left: 8px; font-size: var(--type-caption); padding: 3px 6px; max-width: calc(100% - 16px); }
.fusion-shell .skin-card .skin-card-content { padding: 10px; gap: 0; }
.fusion-shell .skin-card .skin-card-content>small { font-size: var(--type-caption); line-height: 1.35; min-height: 30px; color: var(--muted); }
.fusion-shell .skin-card .skin-card-content h3 { font-size: var(--type-body); line-height: 1.3; min-height: 18px; margin: 4px 0 9px; overflow-wrap: anywhere; }
.fusion-shell .skin-card .skin-card-content>.flex { margin: auto 0 10px; gap: 5px; }
.fusion-shell .skin-card .skin-card-content .price { font-size: 19px; line-height: 1.25; }
.fusion-shell .skin-card .skin-card-content .flex small { font-size: var(--type-micro); }
.fusion-shell .skin-card .skin-card-content>button, .fusion-shell .skin-card .mini-buttons button { margin-top: 0; min-height: 34px; padding: 7px 5px; font-size: var(--type-label); line-height: 1.3; }
.fusion-shell .cards .skin-card-content>.mini-buttons { margin-top: auto; margin-bottom: 0; gap: 5px; }
.fusion-shell .shop-filters { display: grid; grid-template-columns: minmax(0,1fr) 140px; gap: 8px; margin: 0; }
.fusion-shell .shop-filters input { height: 36px; font-size: var(--type-label); min-width: 0; width: 100%; }
.fusion-shell .shop-filter-details { border-radius: 7px; }
.fusion-shell .shop-filter-details summary { padding: 9px 11px; font-size: var(--type-label); }
.fusion-shell .shop-filter-details select { min-width: 130px; font-size: var(--type-label); padding-block: 9px; }
.fusion-shell .shop-result-count { font-size: var(--type-label); margin: 12px 0 10px; }
.fusion-shell .shop-cart { padding: 14px; border-radius: 10px; box-shadow: none; top: 76px; }
.fusion-shell .shop-cart h2 { font-size: var(--type-subhead); }
.fusion-shell .shop-cart .text-btn { font-size: var(--type-label); }
.fusion-shell .cart-rows { margin: 12px 0; max-height: min(390px,46vh); overflow-y: auto; scrollbar-width: thin; }
.fusion-shell .cart-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px; padding: 10px 0; }
.fusion-shell .cart-row img { width: 42px; height: 36px; }
.fusion-shell .cart-row strong { font-size: var(--type-label); line-height: 1.4; overflow-wrap: anywhere; }
.fusion-shell .cart-row small { font-size: var(--type-caption); }
.fusion-shell .cart-price { font-size: var(--type-label); }
.fusion-shell .cart-stepper { gap: 8px; margin-top: 6px; }
.fusion-shell .cart-stepper button { width: 28px; height: 28px; padding: 0; }
.fusion-shell .shop-totals { margin: 12px 0; padding-top: 12px; gap: 9px; border-color: var(--line); }
.fusion-shell .shop-totals .kv { font-size: var(--type-label); gap: 8px; }
.fusion-shell .shop-cart .order-total { font-size: 22px!important; }
.fusion-shell .shop-cart .order-total small { font-size: var(--type-micro); }
.fusion-shell .shop-cart>.brand-btn, .fusion-shell .shop-cart>.ghost { min-height: 38px; padding: 9px; font-size: var(--type-label); }
.fusion-shell .shop-cart .order-foot { font-size: var(--type-caption); line-height: 1.5; margin-top: 10px; }
.fusion-shell .shop-cart .empty-state { min-height: 100px; padding: 8px 0; }
.fusion-shell .shop-cart .empty-state h3 { font-size: var(--type-label); }
.fusion-shell .simple-inventory-bar { padding: 12px 14px; margin-bottom: 12px; gap: 12px; }
.fusion-shell .simple-inventory-bar strong { font-size: 18px; }
.fusion-shell .simple-inventory-bar button { min-height: 36px; padding: 8px 12px; }
.fusion-shell .toolbar { margin-bottom: 14px; gap: 12px; }
.fusion-shell .toolbar p { font-size: var(--type-label); }
.fusion-shell .toolbar button { font-size: var(--type-label); }
.fusion-shell .toolbar .segmented button { min-height: 33px; padding: 7px 11px; font-size: var(--type-label); }
.fusion-shell .history-list { padding: 0 16px; }
.fusion-shell .history-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 12px; padding: 13px 0; font-size: var(--type-label); line-height: 1.45; }
.fusion-shell .history-icon { width: 30px; height: 30px; border-radius: 7px; }
.fusion-shell .history-row small { font-size: var(--type-caption); }
.fusion-shell .history-amount { font-size: var(--type-label); }
.fusion-shell .stat-card { padding: 14px; gap: 5px; }
.fusion-shell .stat-card strong { font-size: 24px; }
.fusion-shell .market-table td, .fusion-shell .market-table th { padding: 12px; }
.fusion-shell .market-table button { font-size: var(--type-label); padding: 8px 11px; }
.fusion-shell .footer { margin-top: 18px; padding-top: 14px; }
.skin-live-state { display: none; }
.skin-stage[data-trend=up] .skin-live-state { color: var(--green); }
.skin-stage[data-trend=down] .skin-live-state { color: var(--red); }
/* Exact quotes remain available to assistive technology while visual digits roll. */
.reel-accessible { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.number-reel { display: inline-flex; align-items: baseline; white-space: pre; vertical-align: bottom; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.reel-cell { display: inline-block; position: relative; width: .62em; height: 1.2em; line-height: 1.2; text-align: center; overflow: hidden; }
.reel-punctuation { display: inline-block; line-height: 1.2; white-space: pre; }
.reel-outgoing, .reel-incoming { display: block; position: absolute; inset: 0; will-change: transform; }
dialog:not(.picker-dialog) { width: 440px; padding: 20px; }
dialog:not(.picker-dialog) .modal-head { margin-bottom: 14px; }
dialog:not(.picker-dialog) .modal-head h2 { font-size: 18px; }
dialog:not(.picker-dialog) .modal-body { gap: 13px; }
dialog:not(.picker-dialog) .modal-body p { font-size: var(--type-body); line-height: 1.5; }
dialog:not(.picker-dialog) .modal-actions { margin-top: 16px; padding-top: 13px; }
@media (max-width: 1050px) {
 .fusion-shell .shop-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 12px; }
 .fusion-shell .shop-grid { grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); }
}
@media (max-width: 800px) {
 .fusion-shell .shop-layout { grid-template-columns: 1fr; }
 .fusion-shell .shop-cart { position: static; }
 .fusion-shell .shop-grid, .fusion-shell .cards { grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); }
 .fusion-shell .cards .skin-card-content>.mini-buttons { flex-direction: row; }
 .mobile-cart-jump { margin: 0 0 12px; min-height: 38px; font-size: var(--type-label); padding: 9px 12px; }
}
@media (max-width: 480px) {
 .fusion-shell .simple-page-heading h1 { font-size: 18px; }
 .fusion-shell .shop-intro { flex-wrap: nowrap; gap: 10px; margin-bottom: 12px; }
 .fusion-shell .shop-intro p { max-width: 140px; font-size: var(--type-label); line-height: 1.4; }
 .fusion-shell .shop-intro button { font-size: var(--type-label); padding: 8px 10px; flex: none; }
 .fusion-shell .shop-grid, .fusion-shell .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 .fusion-shell .skin-card .skin-art { height: 100px; }
 .fusion-shell .skin-card .skin-card-content { padding: 9px; }
 .fusion-shell .skin-card .skin-card-content h3 { font-size: var(--type-label); }
 .fusion-shell .skin-card .skin-card-content .price { font-size: 18px; }
 .fusion-shell .skin-card .skin-card-content>button { min-height: 38px; }
 .fusion-shell .cards .skin-card-content>.mini-buttons { flex-direction: column; }
 .fusion-shell .shop-filters { grid-template-columns: minmax(0,1fr) 125px; }
 .fusion-shell .shop-filters input { font-size: var(--type-label); }
 .fusion-shell .simple-inventory-bar { padding: 12px; }
 .fusion-shell .toolbar .segmented button { padding: 7px 5px; font-size: var(--type-caption); }
 .fusion-shell .history-row { grid-template-columns: 26px minmax(0,1fr); gap: 7px 10px; }
 .fusion-shell .history-icon { width: 26px; height: 26px; }
 .fusion-shell .history-amount { grid-column: 2; justify-self: start; margin: 0; }
 .fusion-shell .history-row small { font-size: var(--type-caption); }
 .fusion-shell .market-table td { padding: 0; }
 dialog:not(.picker-dialog) { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
}
/* Live updates never change the height of surrounding controls. */
body { font-variant-numeric: tabular-nums; }
.number-reel { height: 1.2em; vertical-align: -.2em; line-height: 1.2; }
.reel-cell { width: 1ch; flex: none; }
[data-price], [data-position-mark], [data-futures-value], [data-futures-net], [data-result-amount] { white-space: nowrap; }
.futures-totals strong { min-height: 31px; }
.futures-status>p { min-height: 20px; }
.fusion-shell .cards .skin-card-content>.mini-buttons button, .fusion-shell .cards .skin-card-content>button { min-height: 44px; }
.fusion-shell .cards .skin-card-content>.mini-buttons { min-height: 44px; }
.fusion-shell .shop-intro { flex-direction: row; }
.fusion-shell .shop-intro>button { width: auto; }
@media (max-width:640px) {
 .futures-status>p { min-height: 36px; }
 .futures-totals strong { min-height: 45px; }
}
@media (max-width:480px) {
 .fusion-shell .cards .skin-card-content>.mini-buttons { min-height: 44px; flex-direction: row; }
 .fusion-shell .cards .skin-card-content>.mini-buttons button { font-size: var(--type-caption); padding-inline: 3px; }
 .fusion-shell .shop-intro { align-items: center; }
}
@media (prefers-reduced-motion:no-preference) {
 button:active:not(:disabled) { transform: none; }
 .pair-menu:not([hidden]), details[open]>.details-content { animation: none; }
}
.fusion-shell .cards .skin-card-content h3 { min-height: 36px; }
/* Price updates in confirmation keep the action row anchored as well. */
.modal-body .simple-basket { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.modal-body .simple-basket .simple-result-value { padding: 5px 0 8px; text-align: left; }
.modal-body .simple-basket .simple-result-value>strong { font-size: 30px; margin: 4px 0; height: 38px; }
.modal-body .simple-basket .simple-result-value>div { display: flex; justify-content: space-between; }
.modal-body .simple-basket .skin-stage { height: 160px; }
.modal-body .simple-basket .simple-result-skins { height: 160px; overflow-y: auto; scrollbar-width: thin; }
.modal-body .simple-basket .simple-result-skin { align-content: start; padding: 8px; }
.modal-body .simple-basket .simple-result-skin img { height: 75px; margin: 0; }
.modal-body .simple-basket .simple-result-skin strong { font-size: var(--type-label); min-height: 18px; }
.modal-body .simple-basket .simple-result-skin small { min-height: 28px; font-size: var(--type-caption)!important; }
.modal-body .simple-basket .simple-result-skin>b { font-size: var(--type-label); margin-top: 3px; }
.modal-body .simple-basket .skin-swap-caption { height: 18px; margin: 0 0 7px; }
.modal-body .simple-basket .result-upgrade>div:first-child { min-height: 28px; }
.modal-body .simple-basket .simple-result-note { min-height: 39px; margin: 7px 0 0; }
/* Closing a position only needs its current result and the proposed skins. */
#modal .simple-basket { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 8px 12px; }
#modal .simple-basket .result-origin { grid-column: 1/-1; grid-row: 1; width: 100%; margin: 0; height: 26px; font-size: var(--type-caption); }
#modal .simple-basket .simple-result-value { grid-column: 1; grid-row: 2; width: 100%; margin: 0; padding: 0; text-align: left; }
#modal .simple-basket .simple-result-value>span { font-size: var(--type-label)!important; }
#modal .simple-basket .simple-result-value>strong { height: 38px; font-size: 28px; line-height: 38px; margin: 4px 0; letter-spacing: -.5px; }
#modal .simple-basket .simple-result-value>strong small { font-size: var(--type-micro); }
#modal .simple-basket .simple-result-value>div { display: grid; justify-content: start; gap: 4px; font-size: var(--type-label)!important; }
#modal .simple-basket .skin-stage { grid-column: 2; grid-row: 2; width: 100%; height: 165px; border-radius: 9px; }
#modal .simple-basket .simple-result-skins { display: grid; grid-template-columns: 1fr; height: 165px; overflow-y: auto; gap: 7px; }
#modal .simple-basket .simple-result-skin { padding: 7px; min-height: 165px; border-radius: 9px; align-content: start; }
#modal .simple-basket .simple-result-skin img { height: 65px; width: 100%; margin: 0; }
#modal .simple-basket .simple-result-skin strong { font-size: var(--type-label); line-height: 17px; min-height: 17px; }
#modal .simple-basket .simple-result-skin small { font-size: var(--type-caption)!important; line-height: 14px; min-height: 28px; text-align: center; margin: 3px 0; }
#modal .simple-basket .simple-result-skin>b { font-size: var(--type-label); line-height: 16px; margin: 0; }
#modal .simple-basket .skin-swap-caption { grid-column: 1/-1; grid-row: 3; width: 100%; height: 18px; margin: 0; font-size: var(--type-caption); text-align: left; }
#modal .simple-basket .simple-result-remainder { grid-column: 1/-1; grid-row: 4; width: 100%; height: 20px; margin: 0; font-size: var(--type-label); }
#modal .simple-basket .result-upgrade, #modal .simple-basket .simple-result-note { display: none; }
/* Navigation goes directly to the new screen; only explicit in-page jumps scroll smoothly. */
html { scroll-behavior: auto; }
