/* ==========================================================================================================
   v11.1 · dark glass slab (dark mode). No glossy highlight spots, no bubbles: every card is a slab of dark smoked
   glass with one thin, sharp light line on its top edge, a dark inner bottom edge, and a deep soft shadow under it.
   Text sits on a darker body, so contrast stays high. Buttons, chips and the tab bar follow the same idea.
   To make all glass darker or lighter, change --slab (the body) below; for the top line, --slab-edge.
   ========================================================================================================== */
:root:not(.light){
  --slab:rgb(14 14 14 / .78);
  --slab-2:rgb(20 20 20 / .82);
  --slab-edge:rgb(255 255 255 / .2);
  --slab-blur:blur(18px) saturate(120%);
  --sheen:none;
  --slab-shadow:
    inset 0 1px 0 var(--slab-edge),
    inset 0 -1px 0 rgb(0 0 0 / .7),
    inset 0 0 0 .5px rgb(255 255 255 / .05),
    0 1px 2px rgb(0 0 0 / .6),
    0 14px 28px -12px rgb(0 0 0 / .8),
    0 40px 70px -36px rgb(0 0 0 / .95);
  --depth-shadow:var(--slab-shadow);
  /* controls */
  --lq-spec:linear-gradient(transparent,transparent);
  --lq-fill:linear-gradient(180deg,rgb(255 255 255 / .06),rgb(255 255 255 / .015)),linear-gradient(rgb(22 22 22 / .86),rgb(22 22 22 / .86));
  --lq-blur:blur(14px) saturate(120%);
  --lq-shadow:inset 0 1px 0 rgb(255 255 255 / .18),inset 0 -1px 0 rgb(0 0 0 / .6),0 0 0 .5px rgb(255 255 255 / .07),0 8px 18px -10px rgb(0 0 0 / .9);
  --lq-sel:linear-gradient(180deg,rgb(255 255 255 / .2),rgb(255 255 255 / .1));
}

/* the cards */
:root:not(.light) :is(.gl,.card,.meal-card,.post,.pmeal,.soc-chat){
  background:var(--slab)!important;
  box-shadow:var(--slab-shadow)!important;
  -webkit-backdrop-filter:var(--slab-blur)!important;backdrop-filter:var(--slab-blur)!important}
/* the edge: one line along the top, fading down the sides; nothing glossy in the middle */
:root:not(.light) :is(.gl,.card,.hdr .brand,.avatar,.tabbar,.side,.gl-pill)::before{
  background:linear-gradient(180deg,rgb(255 255 255 / .26),rgb(255 255 255 / .07) 18%,rgb(255 255 255 / .03) 60%,rgb(255 255 255 / .05))!important}
/* tiles inside a card sit a little lower: flatter, no shadow */
:root:not(.light) :is(.gl,.card) :is(.gl,.rxt-c,.fx-f .box){box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),inset 0 -1px 0 rgb(0 0 0 / .5)!important}
:root:not(.light) .rxt-c{background:rgb(255 255 255 / .03)}

/* the tab bar and its selected tab */
:root:not(.light) .tabbar{background:var(--slab-2)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .2),inset 0 -1px 0 rgb(0 0 0 / .7),0 20px 44px -16px rgb(0 0 0 / .95)!important}
:root:not(.light) .tabbar a[aria-current=page]{box-shadow:inset 0 1px 0 rgb(255 255 255 / .35),0 6px 14px -8px rgb(0 0 0 / .9)!important}

/* big numbers keep their glow off the glass: crisp white on dark */
:root:not(.light) .num{text-shadow:none}
:root:not(.light) :is(.atm-v,.rdy-pct){text-shadow:0 0 18px rgb(255 255 255 / .18)}

/* the glowing mobility block and the joint workout keep a soft light around them (the only glows left) */
:root:not(.light) .duo.duo-on{box-shadow:var(--slab-shadow),0 0 36px -16px rgb(255 255 255 / .28)!important}

/* ---------- v11.2 · the weekly winner's liquid chrome halo, the all-time #1's crown */
.hon{position:relative;display:inline-flex;flex:none;border-radius:50%;isolation:isolate}
.hon-halo{position:absolute;inset:calc(var(--hs) * -.09);border-radius:50%;pointer-events:none;z-index:1;
  background:conic-gradient(from var(--hon-a,0deg),#5a5a5a,#f4f4f4 8%,#8d8d8d 16%,#ffffff 24%,#6c6c6c 34%,#d9d9d9 46%,#4c4c4c 56%,#fafafa 66%,#7a7a7a 76%,#e8e8e8 88%,#5a5a5a);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - max(3px, var(--hs) * .075)),#000 calc(100% - max(3px, var(--hs) * .075) + .5px));
  mask:radial-gradient(closest-side,transparent calc(100% - max(3px, var(--hs) * .075)),#000 calc(100% - max(3px, var(--hs) * .075) + .5px));
  filter:drop-shadow(0 0 6px rgb(255 255 255 / .35));animation:honSpin 6s linear infinite}
.hon-halo::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from var(--hon-b,0deg),transparent 0 80%,rgb(255 255 255 / .95) 90%,transparent 100%);animation:honSweep 2.8s linear infinite}
@property --hon-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@property --hon-b{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes honSpin{to{--hon-a:360deg}}
@keyframes honSweep{to{--hon-b:360deg}}
.hon-h > .avatar{box-shadow:0 0 0 calc(var(--hs) * .03) #000}
.hon-crown{position:absolute;z-index:2;right:calc(var(--hs) * -.2);top:calc(var(--hs) * -.36);transform:rotate(18deg);pointer-events:none;line-height:0;
  filter:drop-shadow(0 2px 3px rgb(0 0 0 / .6))}
/* rows and rings that held a face no longer cut the crown off */
:is(.lv-ring,.rk-face,.st-ring,.post header,.notif-av,.li,.msg-row,.team-p,.stories,.st-row,.rk-row,.rk-podium,.rk-champ,.ath-head):has(.hon-c){overflow:visible!important}
:is(.stories,.st-row,[data-hscroll]):has(.hon-c){padding-top:calc(12px + 4px)!important}
@media (prefers-reduced-motion:reduce){.hon-halo,.hon-halo::after{animation:none}}
