/* Liquid glass mode — html[data-glass] (js/glass-mode.js, Profile › Settings, user 2026-10-23).
   The site keeps the theme's page background; cards, panels, bars and dialogs are liquid glass
   (the PNL tab's look, design-refs/pnl-five «Стекло»), in both themes. */
html[data-glass]{
  --g-fill:linear-gradient(160deg,rgba(255,255,255,.13),rgba(255,255,255,.035) 45%,rgba(255,255,255,.085)),rgba(14,14,16,.72);
  --g-fill-soft:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.03) 50%,rgba(255,255,255,.06)),rgba(14,14,16,.56);
  --g-edge:inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 1px rgba(255,255,255,.12);
  --g-drop:0 24px 50px -30px rgba(0,0,0,.55);
  --g-cell:rgba(255,255,255,.08);
  --g-blur:blur(22px) saturate(180%);
}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]){
  --g-fill:linear-gradient(160deg,rgba(255,255,255,.7),rgba(255,255,255,.3) 50%,rgba(255,255,255,.55)),rgba(214,232,250,.72);
  --g-fill-soft:linear-gradient(160deg,rgba(255,255,255,.62),rgba(255,255,255,.26) 50%,rgba(255,255,255,.48)),rgba(214,232,250,.58);
  --g-edge:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.6),0 0 0 1px rgba(0,95,163,.1);
  --g-drop:0 24px 50px -30px rgba(10,37,64,.35);
  --g-cell:rgba(255,255,255,.45);
}

/* ── the page background ──
   2026-10-26 (user): the coin collage overloaded every page. Glass now sits on the theme's own page background,
   the same as the normal mode (light: the soft-blue gradient of light-soft.css; dark: black with grain) —
   one background per theme, so nothing here paints the body */
/* page-size black / blue layers step aside so the page background shows between the glass */
html[data-glass] :is(.right-area,.content,.main-content,.home-sec,.home-sec-curve,.home-sec-pool,.tgt-view,.wlt-view,.dex-view,.pnl-view,
  .profile-view,.holdings-view,.watchlist-view,.bm-pg-view,.campaign-view,.learn-view,#detailView,#dexView .u-bg,.u-bg){background:transparent!important;background-image:none!important}
html[data-glass] .pnl2-wall{display:none}

/* ── the glass ── */
html[data-glass] body :is(
  .sidebar,#platformHeader .search-bar,.mobile-bottom-nav,
  .coin-card.home-card,.c-img,
  .tgt-post,.wlt-wallet-row,.wlt-ev-feed-row,.wlt-empty-card,.wlt-showall-btn,.wlt-io-btn:not(.wlt-io-btn-primary),.wlt-search-wrap.vsf,.vsf,
  .wlt-hist-panel,.wlt-hist-hero,
  .pnl2-sec,.pnl2-btn:not(.pnl2-btn-pri),.pnl-period-tabs,
  .bm-pg-hero,.bm-pg-search,
  .dex-sc-box,.dex-side-card,.dex-sc-slip,
  .trades-wrap,.sx-card,.modal,.toast,.ef-pop,.dv-tf-menu,.ms-drop,.wallet-dropdown
){background:var(--g-fill)!important;border-color:transparent!important;
  box-shadow:var(--g-edge),var(--g-drop)!important;-webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important}
/* many small cards: lighter fill, smaller blur (cheaper to draw) */
html[data-glass] body :is(.coin-card.home-card,.tgt-post,.wlt-wallet-row,.wlt-ev-feed-row){background:var(--g-fill-soft)!important;
  -webkit-backdrop-filter:blur(14px) saturate(160%)!important;backdrop-filter:blur(14px) saturate(160%)!important}
html[data-glass] body .c-img{background:var(--g-cell)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* coin page: the big chart card is a ::before; trade panel sits on it */
html[data-glass] body #detailView.dv-c3.dv-spot{--c3-card:rgba(14,14,16,.72);--c3-s2:var(--g-cell);--c3-glass:var(--g-cell)}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body #detailView.dv-c3.dv-spot{--c3-card:rgba(214,232,250,.72)}
html[data-glass] body #detailView.dv-c3.dv-spot .dv-grid::before{background:var(--g-fill)!important;box-shadow:var(--g-edge),var(--g-drop)!important;
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html[data-glass] body #detailView.dv-c3.dv-spot .dv-right{background:var(--g-cell)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)!important}
html[data-glass] body #detailView.dv-c3.dv-spot :is(.bs-amount-card,.bs-tab:not(.active)){background:var(--g-cell)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
html[data-glass] body #detailView .dv-vtab:not(.active){background:var(--g-cell)!important}

/* Swap: its surfaces read --u-* */
html[data-glass] #dexView{--u-page:transparent;--u-panel:var(--g-fill);--u-pill:var(--g-cell);--u-field:var(--g-cell);--u-buy:var(--g-cell);--u-sell:var(--g-cell);
  --u-panel-shadow:var(--g-edge),var(--g-drop)}
html[data-glass] #dexView#dexView.u :is(.dex-sc-pay,.dex-sc-recv,.u-fee-card,.dex-sc-slip.bs-trade-settings-btn){background:var(--g-fill)!important}

/* rows and tabs inside glass: a lighter cell instead of a solid fill */
html[data-glass] body :is(.tf-btn:not(.active),.sth-seg,.pnl-ptab:not(.active),.wlt-toggle-track){background-color:var(--g-cell)}
html[data-glass] .pnl2-title{padding:6px 16px;border-radius:999px;background:var(--g-fill);box-shadow:var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}

/* section titles on the page background get their own glass chip so they stay readable */

@media(prefers-reduced-transparency:reduce){
  html[data-glass]{--g-fill:rgba(14,14,16,.94);--g-fill-soft:rgba(14,14,16,.9)}
  html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]){--g-fill:rgba(214,232,250,.96);--g-fill-soft:rgba(214,232,250,.92)}
}

/* more surfaces seen on the walk-through */
html[data-glass] body :is(.wlt-hero,.wlt-cb,.wlt-prof-tabs,.wlt-cb-tile,.hld-head,.wl-head){background:var(--g-fill)!important;border-color:transparent!important;
  box-shadow:var(--g-edge),var(--g-drop)!important;-webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important}
html[data-glass] body .wlt-cb-tile{background:var(--g-cell)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* muted text on glass: the grey tones were made for solid black, so they go lighter here */
html[data-glass]{--t2:rgba(255,255,255,.8);--t3:rgba(255,255,255,.66)}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]){--t2:#2C4560;--t3:#3A5571}
html[data-glass] body :is(.wlt-wallet-addr,.wlt-showall-cap,.tgt-time,.tgt-members,.wlt-prof-tab:not(.active),.wlt-ev3-time,.c-tick,.c-addr,.hc-sub){color:var(--t3)!important}
/* labels that sit straight on the page background get a glass chip */
html[data-glass] body .wlt-section-lbl{display:inline-flex;align-items:center;width:max-content;padding:5px 12px;border-radius:999px;color:var(--t2)!important;
  background:var(--g-fill);box-shadow:var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}

/* Swap: the floating coin tiles would sit on top of the page background — hidden; the form gets real glass */
html[data-glass] #dexView .u-tile{display:none!important}
html[data-glass] #dexView#dexView.u :is(.dex-sc-pay,.dex-sc-recv,.u-fee-card,.dex-sc-slip.bs-trade-settings-btn,.dex-sc-flip){
  -webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important;box-shadow:var(--g-edge),var(--g-drop)!important}
html[data-glass] #dexView#dexView.u .dex-sc-flip{background:var(--g-fill)!important}

/* ── Glass in the details (user, 2026-10-23): rounder shapes, and the small parts are glass too ── */
html[data-glass]{
  --g-pri:linear-gradient(180deg,rgba(255,255,255,.94),rgba(236,236,230,.76));
  --g-pri-edge:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.55),0 10px 26px -12px rgba(0,0,0,.55);
  --g-chip:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05)),rgba(20,20,22,.5);
  --g-chip-edge:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.12);
  --g-r-xl:32px;--g-r-l:26px;--g-r-m:20px;
}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]){
  --g-pri:linear-gradient(180deg,rgba(0,129,214,.92),rgba(0,95,163,.86));
  --g-pri-edge:inset 0 1px 0 rgba(255,255,255,.45),inset 0 0 0 1px rgba(255,255,255,.18),0 10px 26px -12px rgba(0,60,110,.45);
  --g-chip:linear-gradient(160deg,rgba(255,255,255,.75),rgba(255,255,255,.4)),rgba(214,232,250,.5);
  --g-chip-edge:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.6),0 0 0 1px rgba(0,95,163,.08);
}

/* primary buttons and chosen tabs: bright glass */
html[data-glass] body :is(#btnSbCreate,#walletBalChip,#walletAvBtn,.wlt-add-btn,.wlt-empty-cta,.tf-btn.active,.pnl-ptab.active,.dv-vtab.active,
  .bm-pg-load-btn,.dex-sc-tok-select,.pnl2-btn-pri,.ts-done-btn,.sth-seg button[aria-pressed="true"],.ef-set.is-on,.ts-preset.active,.dv-type-seg.active){
  background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important;border-color:transparent!important;
  -webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%)}
/* secondary bits: glass chips */
html[data-glass] body :is(.wlt-hb,.wlt-feed-view,.trades-filter,.tgt-hero-icon,.ms-kbd,.pnl2-ico,.wlt-remove-btn,.wlt-io-btn:not(.wlt-io-btn-primary),
  .sx-well,.modal-close,.ts-close-btn,.c-stage,.dex-sc-tok-gram,.dex-sc-tok:not(.dex-sc-tok-select),.dex-sc-max,.dv-type-toggle,.dv-btn,.dv-actions,
  .tf-btn:not(.active),.pnl-ptab:not(.active),.dv-vtab:not(.active),.bs-tab:not(.active),.ts-preset:not(.active),.ef-set:not(.is-on),
  .wlt-cb-tile,.pnl2-art,.sth-seg,.wlt-toggle-track,.hld-chip,.u-chipbtn,.u-search){
  background:var(--g-chip)!important;box-shadow:var(--g-chip-edge)!important;border-color:transparent!important;
  -webkit-backdrop-filter:blur(12px) saturate(160%);backdrop-filter:blur(12px) saturate(160%)}
html[data-glass] body .wlt-toggle input:checked + .wlt-toggle-track{background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important}
/* the main trade button keeps its colour, with a glass sheen */
html[data-glass] body :is(.btn-trade-main,.u-cta,#dexSwapBtn){background-image:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0) 55%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 0 0 1px rgba(255,255,255,.18),0 12px 30px -14px rgba(0,0,0,.6)!important}

/* rounder everywhere */
html[data-glass] body :is(.sidebar,.wlt-hero,.wlt-cb,.trades-wrap,.sth-panel,.modal,.wlt-hist-hero,.pnl2-card,.bm-pg-hero){border-radius:var(--g-r-xl)!important}
html[data-glass] body #detailView.dv-c3.dv-spot .dv-grid::before{border-radius:var(--g-r-xl)!important}
html[data-glass] body :is(.coin-card.home-card,.tgt-post,.wlt-wallet-row,.wlt-ev-feed-row,.dex-sc-box,.dex-side-card,.dex-sc-slip,.sx-card,.pnl2-sec,
  .wlt-empty-card,.wlt-showall-btn,.dv-right,.bs-amount-card,.ef-pop,.dv-tf-menu,.toast,.ms-drop){border-radius:var(--g-r-l)!important}
html[data-glass] body :is(.c-img,.wlt-cb-tile,.pnl2-art,.pnl2-row,.hc-c){border-radius:var(--g-r-m)!important}
html[data-glass] body :is(.vsf,#platformHeader .search-bar,.u-search,.wlt-add-btn,.wlt-hb,.wlt-io-btn,.tf-btn,.pnl-ptab,.dv-vtab,.bs-tab,.btn-trade-main,
  #btnSbCreate,#walletBalChip,#walletAvBtn,.pnl2-btn,.dex-sc-tok,.dex-sc-max,.wlt-feed-view,.trades-filter,.pnl-period-tabs,.sth-seg,.ts-preset,.ts-done-btn,
  .wlt-remove-btn,.modal-close,.ts-close-btn,.dv-btn,.dv-actions,.dv-chart-ctrl,#dvChartCtrl,.wlt-empty-cta,.bm-pg-load-btn,.c-stage,.ms-kbd){border-radius:999px!important}
html[data-glass] body .mobile-bottom-nav.mobile-bottom-nav{border-radius:var(--g-r-xl)!important}
/* text on the bright glass must be dark (dark theme) / white (light theme) */
html[data-glass] body :is(#btnSbCreate,#walletBalChip,#walletAvBtn,.wlt-add-btn,.wlt-empty-cta,.tf-btn.active,.pnl-ptab.active,.dv-vtab.active,
  .bm-pg-load-btn,.dex-sc-tok-select,.pnl2-btn-pri,.ts-done-btn,.sth-seg button[aria-pressed="true"],.ts-preset.active,.dv-type-seg.active),
html[data-glass] body .ef-set.is-on > button{color:#0A0A0A!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body :is(#btnSbCreate,#walletBalChip,#walletAvBtn,.wlt-add-btn,.wlt-empty-cta,
  .tf-btn.active,.pnl-ptab.active,.dv-vtab.active,.bm-pg-load-btn,.dex-sc-tok-select,.pnl2-btn-pri,.ts-done-btn,.sth-seg button[aria-pressed="true"],.ts-preset.active,.dv-type-seg.active),
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .ef-set.is-on > button{color:#fff!important}
/* the toggle knob stands off its glass track */
html[data-glass] body .wlt-toggle-track::after{background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.4)!important}
html[data-glass] body .wlt-toggle input:checked + .wlt-toggle-track::after{background:#0A0A0A!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .wlt-toggle input:checked + .wlt-toggle-track::after{background:#fff!important}

/* ── Round 3 (user, 2026-10-23) ── */
/* 2 · TG / X head: liquid glass tinted with the platform colour */
html[data-glass] body .sth-panel{background:linear-gradient(150deg,color-mix(in srgb,var(--pf-a) 62%,transparent),color-mix(in srgb,var(--pf-b) 70%,transparent))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.16),0 30px 60px -34px rgba(0,0,0,.6)!important;
  -webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%)}
html[data-glass] body .sth-panel .sth-pod .home-card.card-refined{background:color-mix(in srgb,var(--pf-b) 38%,rgba(10,10,12,.35))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.12)!important}
html[data-glass] body .sth-panel .sth-band{background:color-mix(in srgb,var(--pf) 72%,transparent)}
html[data-glass] body .sth-panel :is(.sth-logo,.sth-seg){background:rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}

/* 3 · search and dialogs: soft glass pieces instead of hard blocks */
/* open search: one glass sheet (the open wrap holds the bar and the results); the bar is a soft pill inside it */
html[data-glass] body #platformHeader #searchWrap.ms-wrap.is-open{background:var(--g-fill)!important;border-radius:32px!important;border-color:transparent!important;
  box-shadow:var(--g-edge),0 40px 90px -30px rgba(0,0,0,.7)!important;-webkit-backdrop-filter:blur(28px) saturate(180%)!important;backdrop-filter:blur(28px) saturate(180%)!important}
html[data-glass] body #platformHeader #searchWrap.ms-wrap.is-open #searchTrigger.search-bar{background:var(--g-cell)!important;border-color:transparent!important;border-radius:999px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),inset 0 1px 0 rgba(255,255,255,.14)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-glass] body #platformHeader #searchWrap.ms-wrap.is-open #searchDrop.ms-drop{background:transparent!important;box-shadow:none!important;border:0!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* coin cards across the top: a soft rim; list rows: no box, a rounded glass highlight on hover */
html[data-glass] body #platformHeader .sr-hrow .sr-tile{border-radius:20px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.12),0 10px 24px -14px rgba(0,0,0,.6)!important}
html[data-glass] body #platformHeader .sr-list .sr-tile{border-radius:16px!important;box-shadow:none!important;background:transparent!important}
html[data-glass] body #platformHeader .sr-list .sr-tile:is(:hover,.sr--active){background:var(--g-cell)!important}
html[data-glass] body #platformHeader :is(.sr-chip,.rv-chip,.search-chip,.sr-hist button){background:var(--g-chip)!important;box-shadow:var(--g-chip-edge)!important;border-color:transparent!important;border-radius:999px!important}
html[data-glass] #searchCatch{background:rgba(0,0,0,.22)}
/* dialogs: no hairline dividers, inputs and rows are glass cells */
html[data-glass] body .modal :is(.aw-head,.aw-footer,.mw-head,.mw-footer,.ts-header,.ts-footer,.ep-head,.ep-footer){border-color:transparent!important;background:transparent!important}
html[data-glass] body .modal :is(.ep-input,.ep-textarea,.ts-hero,.wlt-search-input,.u-search,input[type="text"]:not(.ts-slip-inp),input[type="search"],textarea){
  background:var(--g-cell)!important;border-color:transparent!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;border-radius:16px!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .modal :is(.ep-input,.ep-textarea,.ts-hero,.wlt-search-input,.u-search,input[type="text"]:not(.ts-slip-inp),input[type="search"],textarea){
  box-shadow:inset 0 0 0 1px rgba(0,95,163,.12),inset 0 1px 0 #fff!important}
html[data-glass] body .modal :is(.stk-pick-row,.wlt-wallet-row,.u-row,.sr-row){background:var(--g-cell)!important;border-color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;border-radius:18px!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-glass] body .modal .stk-pick-row.is-sel{box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .modal .stk-pick-row.is-sel{box-shadow:inset 0 0 0 2px #005FA3!important}
html[data-glass] body .modal :is(.aw-head-icon,.u-ico){background:var(--g-chip)!important;box-shadow:var(--g-chip-edge)!important;border-color:transparent!important;border-radius:14px!important}
html[data-glass] body :is(.btn-ep-cancel,.btn-aw-add,.mw-done,.mw-add){border-radius:999px!important}
html[data-glass] body :is(.btn-ep-cancel,.mw-done){background:var(--g-chip)!important;box-shadow:var(--g-chip-edge)!important;border-color:transparent!important}
html[data-glass] body :is(.btn-aw-add,.mw-add){background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important;color:#0A0A0A!important;border-color:transparent!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body :is(.btn-aw-add,.mw-add){color:#fff!important}
html[data-glass] body .modal-overlay{background:rgba(4,6,10,.32)}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .sth-seg button:not([aria-pressed="true"]){color:#0A2540!important}
/* the header search was still the solid field (search-fields.css wins on specificity): make it glass like the rest */
html[data-glass] body #platformHeader #searchWrap.ms-wrap:not(.is-open) #searchTrigger.search-bar.vsf{background:var(--g-fill)!important;border-color:transparent!important;
  box-shadow:var(--g-edge),0 14px 34px -20px rgba(0,0,0,.55)!important;-webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important;border-radius:999px!important}
html[data-glass] body #platformHeader #btnSignin.btn-signin{background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important;border-color:transparent!important;border-radius:999px!important;color:#0A0A0A!important;
  -webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%)}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body #platformHeader #btnSignin.btn-signin{color:#fff!important}

/* Profile (user, 2026-10-23): the full-height panel behind the profile was one big square glass sheet — it is
   transparent now; the hero, the tabs and the cards inside carry the glass on their own, all rounded */
html[data-glass] body #wltHistPanel.wlt-hist-panel{background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important}
html[data-glass] body #wltHistPanel :is(.wlt-hist-hero,.wlt-prof-tabs){border-radius:var(--g-r-xl)!important;overflow:hidden}
/* the tab row is wider than a phone: it keeps its sideways scroll (overflow:hidden above left Rewards…Settings unreachable) */
html[data-glass] body #wltHistPanel .wlt-prof-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html[data-glass] body #wltHistPanel .wlt-prof-tabs::-webkit-scrollbar{display:none}
html[data-glass] body #wltHistPanel .wlt-stat-card{background:var(--g-fill)!important;border-color:transparent!important;
  box-shadow:var(--g-edge),var(--g-drop)!important;-webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important;border-radius:var(--g-r-l)!important}

/* ── Tidy pass, both themes (user, 2026-10-24) ── */
/* profile: the light theme kept a gradient wash on the whole panel — gone; empty tab content sits on a glass sheet */
html[data-glass] body #wltHistPanel.wlt-hist-panel{background-image:none!important}
html[data-glass] body #wltHistPanel .wlt-prof-tab-content.active:not(:has(.sx,.wlt-stat-cards)){padding:20px 22px;border-radius:var(--g-r-xl);
  background:var(--g-fill);box-shadow:var(--g-edge),var(--g-drop);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html[data-glass] body #wltHistPanel :is(.wlt-hold-empty,.wlt-empty,.pv-empty,.wlt-hist-empty){display:block;width:max-content;max-width:100%;margin:20px auto;padding:10px 18px;border-radius:999px;
  background:var(--g-fill);box-shadow:var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:var(--t2)!important}
/* settings title and section labels on the page background */
html[data-glass] body .sx :is(.sx-title,.sx-sec){display:inline-flex;width:max-content;padding:5px 14px;border-radius:999px;background:var(--g-fill);box-shadow:var(--g-edge);
  -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html[data-glass] body .sx .sx-title{font-size:20px;padding:6px 16px}

/* home: the coloured sections (purple curve / orange pool) stay as they are; title and sort pills on glass chips */
html[data-glass] body .home-sec-head{align-items:center}
html[data-glass] body .home-explore-pills{gap:2px;padding:4px;border-radius:999px;background:var(--g-fill);box-shadow:var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html[data-glass] body .home-explore-pill{color:var(--t2)!important;text-shadow:none!important}
html[data-glass] body .home-explore-pill.is-active{background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important;color:#0A0A0A!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body .home-explore-pill.is-active{color:#fff!important}

/* small labels on pictures (Curve / Graduated / logo dot): crisp glass chips that read on any art */
html[data-glass] body .coin-card .c-stage{background:rgba(10,10,12,.62)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important;color:#fff!important;
  -webkit-backdrop-filter:blur(10px) saturate(150%)!important;backdrop-filter:blur(10px) saturate(150%)!important;font-weight:700}
html[data-glass] body .coin-card :is(.c-fav,.c-heart,.c-badge,.c-vella){background:rgba(10,10,12,.55)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important;
  -webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}

/* segmented controls: inactive segments readable, one glass track */
html[data-glass] body :is(.tf-btn:not(.active),.pnl-ptab:not(.active),.sth-seg button:not([aria-pressed="true"])){color:var(--t2)!important}
html[data-glass] body :is(.trades-filter,.wlt-feed-view){padding:3px!important;gap:2px}
html[data-glass] body :is(.trades-filter,.wlt-feed-view) .tf-btn:not(.active){background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}

/* Holdings / Watchlist summary banners: same rounding as the rest */
html[data-glass] body :is(.hv-culture,.wl-culture){border-radius:var(--g-r-xl)!important;overflow:hidden}
html[data-glass] body :is(.hv-culture,.wl-culture) .hc-c{border-radius:0!important}
/* stronger selectors where a theme sheet still won */
html[data-glass] body #wltHistPanel#wltHistPanel.wlt-hist-panel{background:transparent!important;background-image:none!important}
html[data-glass] body .home-explore-pills .home-explore-pill.is-active.is-active{background:var(--g-pri)!important;box-shadow:var(--g-pri-edge)!important}
/* the stage frame on coin cards (curve / graduated) keeps its colour, thinner, with the glass rim inside */
html[data-glass] body .home-card.coin-card.coin-card{border-width:2px!important;box-shadow:var(--g-edge),var(--g-drop)!important}
/* Activity and similar profile tabs already have their own card inside — glass that card, not the whole tab */
html[data-glass] body #wltHistPanel .wlt-prof-tab-content.active:not(:has(.sx,.wlt-stat-cards)){padding:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-glass] body #wltHistPanel .wlt-prof-tab-content.active .wlt-section{background:var(--g-fill)!important;border-color:transparent!important;border-radius:var(--g-r-xl)!important;
  box-shadow:var(--g-edge),var(--g-drop)!important;-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
/* light theme captions on glass were a pale sky blue (#5B9ECF, ~2.6:1) — the glass ink instead */
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body #wltHistPanel :is(.wlt-stat-card-lbl,.wlt-stat-card-sub,.wlt-section-sub,.wlt-prof-empty){color:#2C4560!important}
html[data-glass] body #wltHistPanel :is(.wlt-stat-card-lbl,.wlt-stat-card-sub,.wlt-section-sub){color:var(--t2)!important}
/* an empty tab's note on the page background gets a glass chip */
html[data-glass] body #wltHistPanel .wlt-prof-tab-content > .wlt-prof-empty,html[data-glass] body #wltHistPanel .wlt-prof-tab-content > * > .wlt-prof-empty:only-child{display:block;width:max-content;max-width:100%;margin:24px auto;padding:10px 18px;border-radius:999px;
  background:var(--g-fill);box-shadow:var(--g-edge);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html[data-glass] body #wltHistPanel .wlt-hb.wlt-hb{background:var(--g-chip)!important;box-shadow:var(--g-chip-edge)!important;border-color:transparent!important;border-radius:999px!important;
  -webkit-backdrop-filter:blur(12px) saturate(160%)!important;backdrop-filter:blur(12px) saturate(160%)!important}
html[data-glass] body .sth-pod .home-card .sth-nrow .c-stage.c-stage{background:rgba(10,10,12,.62)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)!important}
html[data-glass] body .sth-panel .sth-band-2{opacity:1}
html[data-glass] body :is(#tgTrackerView,#xTrackerView) .sth-pod .c-stage.c-stage{background-color:rgba(10,10,12,.62)!important;background-image:none!important;color:#fff!important}
html[data-glass] body .coin-card .c-stage.c-stage{background-color:rgba(10,10,12,.62)!important}
/* Swap: the wrapper behind the form still had the light-theme card fill — a square pale block around the glass pieces */
html[data-glass] body #dexView#dexView .dex-swap-card{background:transparent!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* light-soft paints a long list of blocks with :not(#_) specificity — beat it with three id-level :not()s */
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) #dexView .dex-swap-card{background-color:transparent!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) :is(.wlt-section,.wlt-stat-card,.hv-summary,.wl-summary,.desc-card,.dex-tabstrip,.hv-empty,.wl-empty,.pnl-empty,.bm-side,.bm-top){
  background:var(--g-fill)!important;border-color:transparent!important;box-shadow:var(--g-edge),var(--g-drop)!important}

/* side rails are back (user, 2026-10-24): the glass list cleared all borders, so the rail is drawn as an inset shadow on the left */
html[data-glass]{--g-rail-tg:#0098EA;--g-rail-x:#F0558E}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]){--g-rail-tg:#0077C2;--g-rail-x:#C2185B}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) #tgTrackerView .tgt-post{border-left:4px solid var(--g-rail-tg)!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) #xTrackerView .tgt-post{border-left:4px solid var(--g-rail-x)!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row{border-left:4px solid transparent!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--buy,:has(> .wlt-hist-ev-icon.buy)){border-left-color:#3DDB8A!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--sell,:has(> .wlt-hist-ev-icon.sell)){border-left-color:#FF5C6A!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--launch,.wlt-ev3--transfer,:has(> .wlt-hist-ev-icon:is(.launch,.transfer))){border-left-color:#4DB8FF!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--grad,:has(> .wlt-hist-ev-icon.grad)){border-left-color:#FFB300!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--buy,:has(> .wlt-hist-ev-icon.buy)){border-left-color:#00A845!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--sell,:has(> .wlt-hist-ev-icon.sell)){border-left-color:#E0234A!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row:is(.wlt-ev3--launch,.wlt-ev3--transfer,:has(> .wlt-hist-ev-icon:is(.launch,.transfer))){border-left-color:#0077C2!important}
/* rows with a rail keep their own, smaller rounding, so the rail reads as a stripe and not a thin arc */
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) :is(#tgTrackerView,#xTrackerView) .tgt-post{border-radius:18px!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .wlt-ev-feed-row{border-radius:14px!important}

/* section titles on home (Explore…): plain white text like the normal mode, no chip (user, 2026-10-24) */
html[data-glass] body .home-sec-head .home-sec-title{color:#fff!important;background:none!important;box-shadow:none!important;padding:0!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-shadow:0 1px 3px rgba(40,20,90,.35)!important}

/* No transparent flash on entering a tab (user, 2026-10-24): a fading parent (opacity < 1) switches the blur
   off until the fade ends, so in glass mode pages and cards only slide in — no opacity in the entrance */
@keyframes gViewIn{from{transform:translateY(8px)}}
@keyframes gCardIn{from{transform:translateY(10px)}}
html[data-glass] :is(#detailView,#profileView,#tgTrackerView,#xTrackerView,#walletTrackerView,#watchlistView,#allListsView,#holdingsView).active,
html[data-glass] .wlt-hist-panel--page.open{animation-name:gViewIn!important}
html[data-glass] body :is(.tgt-post,.wlt-ev-feed-row,.coin-card.home-card,.bm-body,.wlt-wallet-row,.wlt-empty-card){animation-name:gCardIn!important}
/* search fields are one glass pill: the input inside paints nothing (theme sheets gave it its own lighter box) */
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) :is(.vsf,.wlt-search-wrap,.tgt-search-wrap,.mw-search-wrap,.bm-pg-search,.bm-pg-field) :is(input,input:focus){
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;outline:none!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .modal :is(.vsf,.wlt-search-wrap,.mw-search-wrap){
  background:var(--g-cell)!important;border-color:transparent!important;border-radius:999px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-glass]:not([data-theme="dark"]):not([data-theme="voidtype"]):not([data-scheme="dark"]) body:not(#_g1):not(#_g2):not(#_g3) .modal :is(.vsf,.wlt-search-wrap,.mw-search-wrap){
  box-shadow:inset 0 0 0 1px rgba(0,95,163,.12),inset 0 1px 0 #fff!important}
/* add channel / account: no panel around the field, the input itself is the pill */
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .modal .ep-field-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .modal .ep-field-wrap .ep-label{padding-left:18px}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .modal .ep-field-wrap .ep-hint:not(:empty){padding-left:18px}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .modal #asmQ{border-radius:999px!important;height:48px;padding:0 18px!important;border:0!important}
/* Bubble Map: no glass sheet around the field and Load, they stand on the page background by themselves */
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .bm-pg-search{background:transparent!important;box-shadow:none!important;border-color:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding-left:0!important;padding-right:0!important}
html[data-glass] body:not(#_g1):not(#_g2):not(#_g3) .bm-pg-search .bm-pg-field{border-radius:999px!important}

/* 2026-10-26 site pass: on phones the trade column is a card of its own under the chart, but kept the 8% in-card
   cell fill — in dark glass the bright collage showed straight through and "Sell" / the amount vanished.
   It now takes the same card fill as the chart card above it */
@media(max-width:860px){html[data-glass] body #detailView.dv-c3.dv-spot .dv-right{background:var(--c3-card)!important}}
/* Receive is a dark sheet in every theme (header-refinement.css); light glass gave it a light fill under its
   white text. It stays dark glass here (audit 2026-11-04). */
html[data-glass] body #depositModal .dep-modal{background:rgba(16,17,19,.84)!important}
