/* wester.live liquid glass (V61): one black glass look for every page.
 * Loaded last on every page. Layout, colours and behaviour are untouched: only fills, edges, blur and light change.
 * Same family as the community chat (wester-glass.css) with a brighter specular edge and cheaper, softer light. */

:root, html[data-theme], [data-theme] {
  --lq-blur: 22px;
  --lq-edge: rgba(255, 255, 255, .11);
  --lq-edge-hi: rgba(255, 255, 255, .24);
  --lq-fill: linear-gradient(150deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035));
  --lq-tint: linear-gradient(150deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  --lq-sheen: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 -1px 0 rgba(255, 255, 255, .03), inset 0 0 22px rgba(255, 255, 255, .02);
  --lq-drop: 0 16px 36px -18px rgba(0, 0, 0, .9);
  --card: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .1);
}

/* ---------- soft light behind the glass (true black stays black) ---------- */
html { background: #000 !important; }
html body { background: transparent !important; }
html::before, html::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; will-change: transform;
}
html::before {
  width: 78vmax; height: 78vmax; left: -30vmax; top: -34vmax;
  background: radial-gradient(circle, rgba(150, 165, 205, .17), rgba(150, 165, 205, 0) 66%);
  animation: lqDriftA 30s ease-in-out infinite alternate;
}
html::after {
  width: 70vmax; height: 70vmax; right: -28vmax; bottom: -30vmax;
  background: radial-gradient(circle, rgba(190, 180, 220, .13), rgba(190, 180, 220, 0) 68%);
  animation: lqDriftB 38s ease-in-out infinite alternate;
}
@keyframes lqDriftA { to { transform: translate3d(12vmax, 9vmax, 0) scale(1.1); } }
@keyframes lqDriftB { to { transform: translate3d(-11vmax, -8vmax, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { html::before, html::after { animation: none; } }

/* ---------- header and round buttons ---------- */
html header {
  background: linear-gradient(180deg, rgba(6, 6, 9, .8), rgba(6, 6, 9, .5)) !important;
  -webkit-backdrop-filter: blur(var(--lq-blur)) saturate(165%) !important;
  backdrop-filter: blur(var(--lq-blur)) saturate(165%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04), 0 10px 30px -20px #000;
}
html .ib, html .langb {
  background-color: rgba(255, 255, 255, .02);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border-color: var(--lq-edge);
  box-shadow: var(--lq-sheen), 0 6px 18px -10px #000;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- floating bottom bar ---------- */
html #cnav {
  background: var(--lq-tint), rgba(8, 8, 11, .55) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%) !important;
  backdrop-filter: blur(26px) saturate(170%) !important;
  box-shadow: var(--lq-sheen), 0 18px 40px -16px rgba(0, 0, 0, .9) !important;
}
html #cnav a.act {
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px -6px rgba(0, 0, 0, .18), 0 8px 22px -8px rgba(255, 255, 255, .35);
}

/* ---------- menus, dropdowns, search ---------- */
html #menu, html #acct, html .ddm {
  background: var(--lq-tint), rgba(10, 10, 14, .62) !important;
  border: 1px solid var(--lq-edge) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%) !important;
  backdrop-filter: blur(26px) saturate(170%) !important;
  box-shadow: var(--lq-sheen), 0 24px 60px -20px #000 !important;
}
html #menu a, html #acct > a:not(.btn) { background-color: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
html #search {
  background: rgba(0, 0, 0, .52) !important;
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
html .pop {
  background-color: rgba(255, 255, 255, .03); background-image: var(--lq-fill);
  border-color: var(--lq-edge);
  box-shadow: var(--lq-sheen), var(--lq-drop);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}

/* ---------- pop-ups, sheets, toast ---------- */
html #sp {
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html #sp .spc.spw, html .bm-card {
  background: var(--lq-tint), rgba(12, 12, 16, .74) !important;
  border: 1px solid var(--lq-edge) !important;
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: var(--lq-sheen), 0 30px 80px -24px #000 !important;
}
html .bm-bd { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html #ptoast {
  background: rgba(20, 20, 24, .7) !important;
  border: 1px solid var(--lq-edge);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--lq-sheen), 0 14px 34px -14px #000;
}

/* ---------- surfaces: boxes, episode rows, chips, buttons, inputs ---------- */
html .box, html .ec {
  background-image: var(--lq-fill);
  border-color: var(--lq-edge);
  box-shadow: var(--lq-sheen), var(--lq-drop);
}
html .chip, html .pill { background-image: var(--lq-fill); border-color: var(--lq-edge); box-shadow: var(--lq-sheen); }
html .btn:not(.w) { border-color: var(--lq-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
html .in {
  background: rgba(255, 255, 255, .05);
  border-color: var(--lq-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 8px 18px -12px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
html .in:focus { border-color: var(--lq-edge-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 3px rgba(255, 255, 255, .06); }
html .card .pw { outline: 1px solid rgba(255, 255, 255, .09); outline-offset: -1px; }

/* ---------- hero: smooth fade only (V63: blur band removed, it showed a hard edge) ---------- */
/* two-line description: the space is held so nothing jumps when the text arrives */
html .hx .hx-d {
  min-height: 3em;
  color: rgba(255, 255, 255, .76);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6);
}
html .hx .hx-bt .btn:not(.w) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22) !important; }

/* =====================================================================
   V62: second sweep. Every remaining flat dark surface becomes glass.
   Overlays get tint + blur, cards get the glass fill and bright edge.
   ===================================================================== */

/* ---------- hero seam: the old pure-black rounded box showed against the soft light, most when scrolling.
   The hero now has no box: the artwork and the dark fade both melt into the page. ---------- */
html .hx { border-radius: 0 !important; background: transparent !important; }
html .hx .hx-s, html .hx .hx-s.s-on, html .hx .hx-s.s-r, html .hx .hx-s.s-x, html .hx .hx-s.s-l { background: transparent !important; }
html .hx .hx-s picture {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 100%);
}
html .hx .hx-s:after, html .hx .hx-s.s-on:after, html .hx .hx-s:not(.s-on):after {
  top: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,.07) 38%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.4) 52%, rgba(0,0,0,.6) 59%, rgba(0,0,0,.76) 66%, rgba(0,0,0,.86) 73%, rgba(0,0,0,.84) 80%, rgba(0,0,0,.7) 86%, rgba(0,0,0,.45) 91%, rgba(0,0,0,.2) 95.5%, rgba(0,0,0,.05) 98.5%, rgba(0,0,0,0) 100%) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
/* artwork dissolves into the page glow (no black block, so no visible edge) */
html .hx .hx-s picture { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, rgba(0,0,0,.8) 66%, rgba(0,0,0,.5) 78%, rgba(0,0,0,.2) 90%, transparent 100%) !important; mask-image: linear-gradient(180deg, #000 0, #000 55%, rgba(0,0,0,.8) 66%, rgba(0,0,0,.5) 78%, rgba(0,0,0,.2) 90%, transparent 100%) !important; }
html .hx { -webkit-mask-image: none !important; mask-image: none !important; }

/* ---------- mobile menu sheet (the big bottom sheet with Account / Quick) ---------- */
html #csbd { background: rgba(0, 0, 0, .46); -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
html #csheet {
  background: var(--lq-tint), rgba(10, 10, 14, .7);
  border: 1px solid var(--lq-edge); border-bottom: 0;
  -webkit-backdrop-filter: blur(34px) saturate(175%); backdrop-filter: blur(34px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 -24px 70px -30px #000;
}
html .cs-h { background: rgba(255, 255, 255, .26); }
html .cs-top { background-color: rgba(255, 255, 255, .03); background-image: var(--lq-fill); border-color: var(--lq-edge-hi); box-shadow: var(--lq-sheen); }
html .cs-it:active { background-color: rgba(255, 255, 255, .09); }
html .cs-sr input { background: rgba(255, 255, 255, .05); border-color: var(--lq-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }

/* ---------- pop-ups, sheets and panels across the site ---------- */
html .spc, html .dlc, html .nsm, html .pmenu, html .sgd-c, html .cp-sc, html .cc-sc, html .apc, html .lbs-pop, html #ccmn, html .cc-pk, html .mu-md > div {
  background: var(--lq-tint), rgba(12, 12, 16, .76) !important;
  border-color: var(--lq-edge) !important;
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: var(--lq-sheen), 0 26px 70px -26px #000 !important;
}
html .nsm { background: var(--lq-tint), rgba(8, 8, 11, .84) !important; }
html #cpa, html .dsr { background: transparent !important; }
html .dsr { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html .sgd-bd, html .cp-bd, html #ap, html .mu-md { -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
html #adx { background: var(--lq-tint), rgba(12, 12, 16, .76) !important; border-color: var(--lq-edge) !important; -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); }
html .sg-toast { background: rgba(20, 20, 24, .7) !important; border: 1px solid var(--lq-edge); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--lq-sheen); }

/* search page and live channel chat */
html #sa { background: rgba(0, 0, 0, .55) !important; -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); }
html .sah { background: linear-gradient(180deg, rgba(6, 6, 9, .8), rgba(6, 6, 9, .5)); -webkit-backdrop-filter: blur(var(--lq-blur)) saturate(165%); backdrop-filter: blur(var(--lq-blur)) saturate(165%); }
html #chx, html #chx .cc-wrap { background: rgba(4, 4, 6, .8) !important; -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); }
html .cc-hd, html .cc-foot, html .cc-pin, html .lv-bar, html .lv-tabs {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)), rgba(8, 8, 11, .55) !important;
  border-color: var(--lq-edge);
  -webkit-backdrop-filter: blur(var(--lq-blur)) saturate(165%); backdrop-filter: blur(var(--lq-blur)) saturate(165%);
}

/* ---------- music page ---------- */
html:not(.mu-open) body.mu-b { background: transparent !important; }
html:not(.mu-open) .mu-s { background: rgba(6, 6, 9, .6) !important; -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
html header.wm-h {
  background: linear-gradient(180deg, rgba(6, 6, 9, .8), rgba(6, 6, 9, .5)) !important;
  -webkit-backdrop-filter: blur(var(--lq-blur)) saturate(165%) !important; backdrop-filter: blur(var(--lq-blur)) saturate(165%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
}
html header.wm-h .ib { background-color: rgba(255, 255, 255, .02) !important; background-image: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)) !important; border-color: var(--lq-edge) !important; box-shadow: var(--lq-sheen), 0 6px 18px -10px #000; }
html header.wm-h .ib:active { background-color: rgba(255, 255, 255, .16) !important; }
html .mub {
  background: var(--lq-tint), rgba(10, 10, 14, .62) !important;
  border-color: var(--lq-edge) !important;
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--lq-sheen), 0 18px 40px -16px rgba(0, 0, 0, .9) !important;
}
html .wm-sheet { background: rgba(4, 4, 6, .82); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); }
html #musets { background: #000 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html .mu-sf, html .wm-sh-s { background-color: rgba(255, 255, 255, .04); background-image: var(--lq-fill); box-shadow: var(--lq-sheen); }
html .mu-qk, html .wh-qs .mu-qk, html .wh-resume {
  background: var(--lq-fill), rgba(255, 255, 255, .02) !important;
  box-shadow: var(--lq-sheen), 0 10px 24px -14px #000;
}
html .wh-resume { border-color: var(--lq-edge); }
html .wh-home .mu-art, html .wh-cv { background-color: rgba(255, 255, 255, .05) !important; }
html .wh-chip { background-color: rgba(255, 255, 255, .03); background-image: var(--lq-fill); border-color: var(--lq-edge); box-shadow: var(--lq-sheen); }
html .m3-seg { background: rgba(255, 255, 255, .06); border: 1px solid var(--lq-edge); box-shadow: var(--lq-sheen); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html .m3-seg button.on { box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(255, 255, 255, .35); }
html .wm-pact button:not(:first-child) { background: var(--lq-fill), rgba(255, 255, 255, .02); box-shadow: var(--lq-sheen); }
html .mu-t.on { background-color: rgba(255, 255, 255, .08); background-image: var(--lq-fill); box-shadow: var(--lq-sheen); }

/* ---------- other cards and lists ---------- */
html .otag, html .bpill { background-image: var(--lq-fill); box-shadow: var(--lq-sheen); }
html .lb-pn { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }


/* ===== V63: header buttons all the same size and colour (EN was taller and flat) ===== */
html header .ib, html header .langb {
  height: 38px !important; min-height: 0;
  border: 1px solid var(--lq-edge) !important;
  border-radius: 12px !important;
  background-color: rgba(255, 255, 255, .02) !important;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)) !important;
  color: inherit;
  box-shadow: var(--lq-sheen), 0 6px 18px -10px #000;
}
html header .langb { width: auto; padding: 0 9px !important; gap: 3px !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1; }
html header .langb svg { width: 12px !important; height: 12px !important; }
@media (max-width: 380px) { html header .ib, html header .langb { height: 34px !important; border-radius: 10px !important; } html header .langb { padding: 0 7px !important; } }

/* profile 3-dot menu: solid, roomy, easy to read */
html .pmenu{top:60px;right:10px;min-width:230px;padding:8px;border-radius:18px;background:#0b0b0d!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:0 18px 50px rgba(0,0,0,.85)!important;z-index:30}
html .pmenu button{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 14px;font-size:16px;font-weight:600;border-radius:12px;color:#fff}
html .pmenu button+button{margin-top:4px;border-top:1px solid rgba(255,255,255,.08)}
html .pmenu .pmid{float:none;margin-left:0;opacity:1;font-weight:800}

/* ===== Community chat: bigger avatars + avatar decorations ===== */
.wcx .wcx-m{gap:10px}
.wcx .wcx-avb,.wcx .wcx-avs{width:38px}
.wcx .wcx-avb{height:38px;margin-bottom:2px;overflow:visible;border-radius:50%;display:block}
.wcx .wcx-avb .wcx-av,.wcx .wcx-avb .dw{width:38px;height:38px}
.wcx .wcx-avb .wcx-av{font-size:15px}
.wcx .wcx-dw{position:relative;display:block;line-height:0}
.wcx .wcx-dw>.wcx-av{position:relative;z-index:1}
.wcx .wcx-row .wcx-dw,.wcx .wcx-me .wcx-dw{display:inline-block;margin:4px}
.wcx .wcx-ps-av .wcx-dw{display:inline-block;margin:10px}
/* too small to show a decoration cleanly */
.wcx-tavs .dsv,.wcx-stack .dsv,.wcx-men .dsv{display:none}

/* V118: small current-effect preview on the Profile effect row */
.dcr .fxm.fxon{position:relative;overflow:hidden;border-radius:50%;background:#16161c}
.dcr .fxm.fxon .pfx{border-radius:50%}
.dcr .fxm.fxon .pfx .pfxi{object-position:center}

/* V131: spacing under a name (the glass sheet loads later and was winning), plus a dim thread line from a member's name down to their avatar.
   It starts a few px away from the name and stops a few px above the avatar, so it never touches either. Rows: .lf = first of a group (has the name), .ll = last (has the avatar). */
.wcx .wcx-col > .wcx-nm { margin: 2px 0 6px 10px; }
.wcx .wcx-m.ln { position: relative; }
.wcx .wcx-m.ln:not(.lf)::before { content: ""; position: absolute; left: 28px; width: 2px; top: -2px; bottom: -2px; border-radius: 2px; background: rgba(255, 255, 255, .13); pointer-events: none; }
.wcx .wcx-m.ln.ll:not(.lf)::before { bottom: 43px; }
.wcx .wcx-m.ln.lpl:not(.lf)::before { bottom: 1px; }
.wcx .wcx-m.ln.lf::after { content: ""; position: absolute; left: 28px; top: 10px; width: 30px; bottom: -2px; border-left: 2px solid rgba(255, 255, 255, .13); border-top: 2px solid rgba(255, 255, 255, .13); border-top-left-radius: 10px; pointer-events: none; }
.wcx .wcx-m.ln.lf.ll::after { bottom: 43px; }
.wcx .wcx-m.ln.lf.lpl::after { bottom: 1px; }
