/* ============================================================
   VULU — Yubo-style "Live now" mosaic cards (lives column)
   Each live = a photo mosaic of who's in it + title + count.
   ============================================================ */

.cvy .lives__body { padding: 10px 10px; }
.cvy { position: relative; }
.cvy .lives__body { padding-bottom: 64px; }
.cvy .golive { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 38px; border-radius: 10px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: -0.01em; white-space: nowrap; border: 0; cursor: pointer; z-index: 5; box-shadow: 0 10px 24px rgba(0,0,0,0.5); transition: background .15s, transform .12s; }
.cvy .golive:hover { background: #ff5b6c; }
.cvy .golive:active { transform: translateY(1px); }

.lvcard { display: block; width: 100%; text-align: left; font: inherit; border: 0; background: var(--surface); border-radius: 16px; padding: 7px; margin-bottom: 12px; cursor: pointer; transition: background .14s; }
.lvcard:hover { background: var(--raised); }

/* ---- Featured hero: makes "Live now" the home's focal point ----
   The lead room is promoted to a larger, accented card. The whole card is
   the tap target (it's a <button>), so no separate CTA is needed. */
.lives__head--hero { font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; }
.lvcard--hero { background: linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02) 60%); border: 1px solid rgba(255,255,255,0.18); border-radius: 18px; padding: 9px; margin-bottom: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 16px 36px -16px rgba(0,0,0,0.7); }
.lvcard--hero:hover { background: linear-gradient(165deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03) 60%); }
.lvcard--hero .mosaic { height: 196px; border-radius: 13px; }
.lvcard.lvcard--hero .ti { font-size: 16.5px; font-weight: 800; margin-top: 11px; color: #fff; }
.lvcard.lvcard--hero .lvcount { color: var(--text-2); }
.lvcard.lvcard--hero .lvcount .ic { color: var(--muted); }

.mosaic { display: grid; gap: 2px; height: 142px; border-radius: 11px; overflow: hidden; }
.mtile { position: relative; overflow: hidden; display: grid; place-items: center; }
.mtile .ph { position: absolute; inset: 0; }
.mtile .ini { position: relative; font-weight: 700; color: rgba(255,255,255,0.62); font-size: 17px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.mtile .more { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; z-index: 2; }
.mtile .livetag { display: none; }
.mosaic > .livetag { position: absolute; top: 7px; left: 7px; z-index: 3; }
.minilive { display: inline-flex; align-items: center; gap: 4px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 5px; }
.minilive i { width: 4px; height: 4px; border-radius: 999px; background: #fff; }

.lvcard .ti { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; margin: 10px 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.lvcard .lvrow { display: flex; align-items: center; margin: 6px 4px 3px; }
.lvcard .lvcount { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.lvcard .lvcount .ic { width: 16px; height: 16px; color: var(--muted); }
.lvcard .boost { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--red); }

/* mobile horizontal mosaic strip */
.m3 .ystrip { width: 184px; flex: 0 0 auto; }
.m3 .ystrip .mosaic { height: 116px; }
.m3 .ystrip .ti { font-size: 13px; font-weight: 700; margin: 8px 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m3 .ystrip .lvrow { display: flex; align-items: center; margin: 4px 2px 0; }
.m3 .ystrip .lvcount { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.m3 .ystrip .lvcount .ic { width: 14px; height: 14px; color: var(--muted); }
.m3 .ystrip .boost { margin-left: auto; font-size: 9.5px; font-weight: 800; color: var(--red); letter-spacing: 0.05em; }

/* ============================================================
   Rail pages (Music / Leaderboard) + gates (app-only / go-live)
   Glass panel filling the stage area, matching the lives/chat skin.
   ============================================================ */
.page {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column;
  margin: 14px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(162deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035) 47%, rgba(255,255,255,0.065));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 0 0 1px rgba(255,255,255,0.045), 0 26px 64px -24px rgba(0,0,0,0.72);
}
.page__head { flex: 0 0 auto; padding: 22px 24px 14px; display: flex; align-items: baseline; gap: 12px; }
.page__head h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.page__sub { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.page__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-anchor: none; padding: 6px 24px 28px; }
.page__seclabel { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 22px 2px 12px; }

/* shared player primitives — bar/fill + buttons (used by the music dock, video player, upload sheet) */
.np__bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; margin-bottom: 12px; }
.np__fill { display: block; height: 100%; width: 42%; background: #fff; border-radius: 999px; }
.np__btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised-2); color: var(--text); display: grid; place-items: center; cursor: pointer; font: inherit; transition: background .15s, color .15s; }
.np__btn:hover { background: rgba(255,255,255,0.1); }
.np__btn .ic { width: 18px; height: 18px; }
.np__btn--play { width: 48px; height: 48px; background: #fff; border-color: #fff; color: #0a0a0a; }
.np__btn--play:hover { background: #e7ebee; }
.np__btn--play .ic { color: #0a0a0a; }

/* playlists */
.plrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plcard { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; background: var(--raised); border: 1px solid var(--border); cursor: pointer; text-align: left; font: inherit; color: var(--text); transition: background .15s; }
.plcard:hover { background: var(--raised-2); }
.plcard__art { aspect-ratio: 1 / 1; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,0.85); }
.plcard__art .ic { width: 26px; height: 26px; }
.plcard__ti { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* leaderboard */
.lbtabs { flex: 0 0 auto; display: flex; gap: 8px; padding: 0 24px 6px; }
.lbtab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.lbtab:hover { color: var(--text); }
.lbtab.on { background: #fff; border-color: #fff; color: #0a0a0a; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; padding: 16px 0 10px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; background: var(--raised); border: 1px solid var(--border); position: relative; }
.pod--1 { padding-top: 24px; background: linear-gradient(180deg, rgba(242,210,74,0.14), var(--raised)); border-color: rgba(242,210,74,0.34); }
.pod__medal { position: absolute; top: -10px; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--raised-2); border: 1px solid var(--border); color: var(--text); }
.pod--1 .pod__medal { background: var(--gold); color: #2a2300; border-color: var(--gold); }
.pod__nm { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
.pod__sc { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.pod__sc .ic { width: 13px; height: 13px; color: var(--gold); }
.lblist { display: flex; flex-direction: column; margin-top: 8px; }
.lbrow { display: flex; align-items: center; gap: 13px; padding: 10px; border-top: 1px solid var(--hair, rgba(255,255,255,0.06)); }
.lbrow--me { background: rgba(255,255,255,0.06); border-radius: 12px; border-top-color: transparent; }
.lbrow__rk { width: 24px; text-align: center; font-size: 14px; font-weight: 800; color: var(--text-2); flex: 0 0 auto; }
.lbrow__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lbrow__nm { font-size: 14px; font-weight: 700; }
.lbrow__tag { font-size: 11.5px; color: var(--text-2); }
.lbrow__sc { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 800; color: var(--text); flex: 0 0 auto; }
.lbrow__sc .ic { width: 14px; height: 14px; color: var(--gold); }

/* app-only + go-live modals */
.aomodal { position: absolute; inset: 0; z-index: 1500; display: grid; place-items: center; background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }  /* modal tier: above .vfab (1400), below .liveroom (1600) */
.aopop { position: relative; width: 340px; max-width: calc(100% - 40px); padding: 26px 24px; text-align: center; border-radius: 22px; background: linear-gradient(160deg, rgba(26,26,28,0.96), rgba(13,13,14,0.94)); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 70px -18px rgba(0,0,0,0.8); }
.aopop__x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 999px; border: 0; background: var(--raised-2); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.aopop__x:hover { color: var(--text); }
.aopop__x .ic { width: 15px; height: 15px; }
.aopop__icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--border); color: #fff; }
.aopop__icon .ic { width: 28px; height: 28px; }
.aopop h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.aopop p { margin: 0 0 20px; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.aopop__cta, .glpop__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border-radius: 13px; border: 0; background: #fff; color: #0a0a0a; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); transition: background .15s; }
.aopop__cta:hover { background: #e7ebee; }
.aopop__cta .ic, .glpop__go .ic { width: 17px; height: 17px; }

.glpop { width: 380px; max-width: calc(100% - 40px); padding: 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(26,26,28,0.96), rgba(13,13,14,0.94)); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 70px -18px rgba(0,0,0,0.8); }
.glpop__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.glpop__head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.glpop__lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin: 12px 2px 7px; }
.glpop__in { width: 100%; height: 42px; padding: 0 13px; border-radius: 12px; background: var(--input-bg); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 14px; }
.glpop__in:focus { outline: none; border-color: rgba(255,255,255,0.4); }
.glpop__cats { display: flex; flex-wrap: wrap; gap: 7px; }
.glchip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.glchip:hover { color: var(--text); }
.glchip.on { background: #fff; border-color: #fff; color: #0a0a0a; }
.glpop__go { margin-top: 18px; background: linear-gradient(160deg, rgba(255,68,88,0.92), rgba(240,45,68,0.82)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.glpop__go:hover { background: linear-gradient(160deg, rgba(255,90,108,1), rgba(245,60,82,0.9)); }

/* event ticket confirmed state */
.evtpop__done { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); font-size: 13.5px; font-weight: 700; color: var(--text); }
.evtpop__done .ic { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
/* mark-all-read disabled */
.npop__read:disabled { opacity: 0.4; cursor: default; }

/* ════════ extra yubo pages: posts · search · notifications · settings ════════ */
.page__scroll--narrow > * { max-width: 620px; margin-left: auto; margin-right: auto; width: 100%; }

/* posts */
.pcompose { display: flex; align-items: center; gap: 11px; margin: 4px auto 16px; padding: 10px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--border); cursor: pointer; }
.pcompose__ph { flex: 1 1 auto; text-align: left; color: var(--muted); font-size: 14px; }
.pcompose__ic { color: var(--text-2); display: grid; }
.ybpcard { margin: 0 auto 14px; padding: 15px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.ybpcard__head { display: flex; align-items: center; gap: 10px; }
.ybpcard__id { display: flex; flex-direction: column; }
.ybpcard__nm { font-size: 14px; font-weight: 800; color: var(--text); }
.ybpcard__t { font-size: 11.5px; color: var(--muted); }
.ybpcard__txt { margin: 11px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.ybpcard__img { margin-top: 12px; height: 230px; border-radius: 13px; background-size: cover; background-position: center; }
.ybpcard__acts { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.pact { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.pact .ic { width: 16px; height: 16px; }
.pact.on { color: var(--red); border-color: rgba(255,68,88,0.4); background: rgba(255,68,88,0.10); }
.pact--end { margin-left: auto; }

/* search */
.srchbar { display: flex; align-items: center; gap: 10px; align-self: center; width: calc(100% - 48px); max-width: 620px; margin: 0 0 6px; padding: 0 14px; height: 46px; border-radius: 13px; background: var(--raised); border: 1px solid var(--border); }
.srchbar__ic { color: var(--muted); display: grid; }
.srchbar input { flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 15px; font-family: inherit; }
.srchbar__x { width: 28px; height: 28px; border-radius: 999px; border: 0; background: var(--fill); color: var(--text-2); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.srch-empty { text-align: center; color: var(--muted); padding: 44px 0; font-size: 14px; }
.srow { display: flex; align-items: center; gap: 12px; margin: 0 auto; padding: 9px 6px; }
.srow__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.srow__nm { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__tag { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__thumb, .srow__av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: var(--raised-2); color: var(--text-2); font-weight: 800; }
.srow__cta { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text); font-size: 12.5px; font-weight: 800; cursor: pointer; flex: 0 0 auto; }
.srow__cta--live { background: var(--red); border-color: transparent; color: #fff; }
.srow__len { color: var(--muted); font-size: 12.5px; flex: 0 0 auto; }

/* notifications */
.ntf-readall { margin-left: auto; background: none; border: 0; color: var(--text-2); font-size: 12.5px; font-weight: 800; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.ntf-readall:disabled { opacity: 0.4; cursor: default; }
.ntf { display: flex; align-items: center; gap: 12px; margin: 0 auto 2px; padding: 12px; border-radius: 12px; border: 0; background: none; cursor: pointer; text-align: left; }
.ntf--unread { background: rgba(255,255,255,0.035); }
.ntf__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: var(--raised-2); color: var(--text-2); }
.ntf__ic--red { background: rgba(255,68,88,0.14); color: var(--red); }
.ntf__ic--gem { background: rgba(199,125,255,0.16); color: var(--purple); }
.ntf__ic--gold { background: rgba(242,210,74,0.16); color: var(--gold); }
.ntf__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ntf__t { font-size: 14px; font-weight: 700; color: var(--text); }
.ntf__s { font-size: 12px; color: var(--muted); }
.ntf__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); flex: 0 0 auto; }

/* settings */
.setgroup { margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.setrow { display: flex; align-items: center; gap: 13px; margin: 0 auto; padding: 13px 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; text-align: left; }
.setrow > .ic { color: var(--muted); width: 16px; height: 16px; flex: 0 0 auto; }
.setrow__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; background: var(--raised-2); color: var(--text-2); }
.setrow__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.setrow__t { font-size: 14px; font-weight: 700; color: var(--text); }
.setrow__s { font-size: 11.5px; color: var(--muted); }
.setrow__badge { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); background: var(--raised-2); border: 1px solid var(--border); padding: 2px 7px; border-radius: 999px; flex: 0 0 auto; }
.setrow--danger { margin-top: 18px; }
.setrow--danger .setrow__ic, .setrow--danger .setrow__t { color: var(--red); }

/* ════════ page shell v2 — homepage-matched multi-panel columns ════════ */
.pcols { flex: 1 1 auto; min-width: 0; display: flex; gap: 14px; margin: 14px; min-height: 0; }
.pcol { display: flex; flex-direction: column; min-height: 0; min-width: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(162deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035) 47%, rgba(255,255,255,0.065));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 0 0 1px rgba(255,255,255,0.045), 0 26px 64px -24px rgba(0,0,0,0.72); }
.pcol--main { flex: 1 1 auto; }
.pcol--side { width: 304px; flex: 0 0 auto; }
.pcol--nav { width: 240px; flex: 0 0 auto; }
.pcol__head { flex: 0 0 auto; padding: 18px 20px 14px; display: flex; align-items: center; gap: 10px; }
.pcol__head h1 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.pcol__head h2 { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.pcol__sub { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.pcol__headact { margin-left: auto; }
.pcol__tabs { flex: 0 0 auto; display: flex; gap: 8px; padding: 0 20px 12px; }
.pcol__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 18px 22px; }
.pbody-narrow { max-width: 660px; margin: 0 auto; }

/* aside content */
.aside-lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 18px 2px 10px; }
.aside-lbl:first-child { margin-top: 2px; }
.acard { margin: 0 0 12px; padding: 15px; border-radius: 15px; background: rgba(255,255,255,0.045); border: 1px solid var(--border); }
.acard--accent { background: linear-gradient(160deg, rgba(74,222,128,0.16), rgba(74,222,128,0.05)); border-color: rgba(74,222,128,0.30); }
.acard__k { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.acard__big { font-size: 26px; font-weight: 800; color: var(--text); margin-top: 4px; }
.acard__sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ──────────────────────────────────────────────────────────────────
   Videos page — net-new over loaded yubo primitives (.lbtab/.glchip/
   .page__seclabel/.sugg/.setrow__badge/.np__*/.acard/.pcols all reused).
   web-content.css is NOT loaded, so the clip player is authored here.
   ────────────────────────────────────────────────────────────────── */
/* mode pill: leading icons (ic() defaults to 24px → must size here) */
.pcol__tabs .lbtab { display: inline-flex; align-items: center; gap: 7px; }
.pcol__tabs .lbtab .ic, .pcol__tabs .lbtab svg { width: 14px; height: 14px; }
.vid-typechips { display: flex; gap: 8px; margin-bottom: 16px; }

/* Clips mode — the theater stage */
.vid-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); background: #0a0d0c; }
.vid-stage__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.5); background: rgba(0,0,0,0.45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vid-stage__play .ic, .vid-stage__play svg { width: 22px; height: 22px; }
.vid-stage__dur { position: absolute; right: 10px; bottom: 12px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; font-weight: 800; }
.vid-stage__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.15); }
.vid-stage__bar i { display: block; height: 100%; background: var(--green); }
.vid-stagemeta { display: flex; align-items: center; gap: 12px; margin: 12px 2px 18px; }
.vid-stagemeta__by { font-size: 12.5px; color: var(--text-2); }
.vid-stagemeta .vid-act { margin-left: auto; }
.vid-act { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--fill); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: background .15s; }
.vid-act:hover { background: var(--fill-hover); }
.vid-act .ic, .vid-act svg { width: 14px; height: 14px; }

/* Clips grid — minmax(0,…) + min-width:0: the nowrap titles otherwise set each
   card's automatic minimum to the full title width and blow the tracks past the
   column clip (cards cut with no scroll at 768/375). */
.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vid-clip { min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 16px; background: var(--raised); border: 1px solid var(--border); cursor: pointer; text-align: left; font: inherit; color: var(--text); transition: background .15s; }
.vid-clip:hover { background: var(--raised-2); }
.vid-clip__art { position: relative; aspect-ratio: 16 / 9; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,0.5); }
.vid-clip__art .ic, .vid-clip__art svg { width: 24px; height: 24px; }
.vid-clip__dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; font-weight: 800; }
.vid-clip__ti { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vid-clip__by { font-size: 11.5px; color: var(--text-2); }

/* Watch mode — featured spotlight */
.vid-hero { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02) 60%); border: 1px solid rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 16px 36px -16px rgba(0,0,0,0.7); margin-bottom: 18px; }
.vid-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.78), transparent 60%); }
.vid-hero__top { position: absolute; top: 12px; left: 14px; display: flex; gap: 6px; }
.vid-hero__info { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.vid-hero__ti { margin: 0 0 4px; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.vid-hero__meta { font-size: 12.5px; color: var(--text-2); margin-bottom: 12px; }
.vid-hero__acts { display: flex; gap: 8px; }
.vid-play--go { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--green); color: var(--green-ink); font: inherit; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.vid-play--go .ic, .vid-play--go svg { width: 15px; height: 15px; }

/* Watch mode — poster shelves (2:3, horizontal scroll-snap) */
.vid-shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; margin-bottom: 18px; }
.vid-poster { flex: 0 0 128px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.vid-poster__art { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); transition: transform .2s var(--ease, cubic-bezier(0.16,1,0.3,1)), box-shadow .2s var(--ease, cubic-bezier(0.16,1,0.3,1)); }
.vid-poster:hover .vid-poster__art, .vid-poster:focus-visible .vid-poster__art { transform: scale(1.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 0 1.5px rgba(74,222,128,0.45); }
.vid-poster__rank { position: absolute; top: 7px; left: 7px; }
.vid-poster__prog { position: absolute; left: 7px; right: 7px; bottom: 7px; height: 4px; margin: 0; }
.vid-poster .np__fill { background: var(--green); }
.vid-poster__ti { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* shared Friends activity widget docked as a content-page side column (matches .pcol glass) */
.pcols > .mlist {
  width: 304px; flex: 0 0 auto; min-height: 0; position: relative; overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.10); border-radius: 22px; padding: 14px 12px;
  background: linear-gradient(162deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035) 47%, rgba(255,255,255,0.065));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 0 0 1px rgba(255,255,255,0.045), 0 26px 64px -24px rgba(0,0,0,0.72);
}
/* leaderboard Friends rail: ranked friends float to top, shown rank-first with a public-rank chip */
.frow--rank { gap: 9px; }
.frow__rk { flex: 0 0 auto; min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; }
.frow__rk--top { color: var(--green); }                 /* top-3 rank gets the green accent */
.mlist--min .frow__rk { display: none; }                 /* minimized rail = avatars only, still in rank order */

/* green ring for a friend watching a movie/show (VOD), distinct from red live / blue watch-a-live */
.av--vod .avbg { box-shadow: 0 0 0 2px var(--main-bg), 0 0 0 4px var(--green); }

.tagrow { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 6px; border: 0; background: none; cursor: pointer; border-radius: 9px; }
.tagrow:hover { background: rgba(255,255,255,0.04); }
.tagrow__t { font-size: 13.5px; font-weight: 800; color: var(--green); }
.tagrow__n { font-size: 11.5px; color: var(--muted); }
.sugg { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }
.sugg__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sugg__nm { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg__tag { font-size: 11.5px; color: var(--muted); }
.sugg__f { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text); font-size: 11.5px; font-weight: 800; cursor: pointer; flex: 0 0 auto; }

/* settings split-nav */
.setnav { display: flex; flex-direction: column; gap: 3px; padding: 6px 12px 12px; }
.setnav__item { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; border: 0; background: none; color: var(--text-2); font-size: 13.5px; font-weight: 700; font-family: inherit; cursor: pointer; text-align: left; }
.setnav__item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.setnav__item.on { background: rgba(255,255,255,0.07); color: var(--text); }
.setnav__item .ic { width: 17px; height: 17px; flex: 0 0 auto; }

/* page-shell polish */
.pcompose { width: 100%; }
.pbody-left { max-width: 560px; margin: 0; }

.aside-p { font-size: 12.5px; line-height: 1.55; color: var(--text-2); padding: 4px 2px 0; margin: 0; }

/* ─────────────────────────────────────────────────────────────────
   Music page — net-new over loaded yubo primitives (.trrow / .plcard /
   .lbtab / .glchip / .vid-toolbar / .srchbar / .np__* are all reused).
   Single green accent only; dark, minimal. Mirrors the Videos net-new block.
   ───────────────────────────────────────────────────────────────── */

/* quick-access tiles (Liked / Downloaded / History / Playlists) */
.mqtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 2px 0 6px; }
.mqtile { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 10px; border-radius: 16px; background: var(--raised); border: 1px solid var(--border); color: var(--text); font: inherit; cursor: pointer; transition: background .15s; }
.mqtile:hover { background: var(--raised-2); }
.mqtile__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--raised-2); border: 1px solid var(--border); color: var(--text-2); }
.mqtile__ic .ic, .mqtile__ic svg { width: 19px; height: 19px; }
.mqtile__lbl { font-size: 12.5px; font-weight: 700; }
/* Liked Songs — the one green-tinted surface (matches .acard--accent) */
.mqtile--accent { background: linear-gradient(160deg, rgba(74,222,128,0.16), rgba(74,222,128,0.05)); border-color: rgba(74,222,128,0.30); }
.mqtile--accent .mqtile__ic { background: rgba(74,222,128,0.14); border-color: rgba(74,222,128,0.30); color: var(--green); }

/* Your Playlists — horizontal scroll strip of square cards (override the 4-col .plrow grid) */
.plrow--scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }
.plcard--sq { flex: 0 0 140px; scroll-snap-align: start; }
.plcard--sq .plcard__art { aspect-ratio: 1 / 1; position: relative; display: block; }
.plcard__wm { position: absolute; left: 9px; bottom: 8px; font-size: 13px; font-weight: 900; letter-spacing: 0.02em; color: rgba(255,255,255,0.88); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* ── Desktop layout: inline header · side-by-side sections · a wide track table ── */

/* inline header — title on the left, Search/Upload BUTTONS pushed right (search expands on use) */
.musec-head { align-items: center; gap: 16px; }
.musec-toolbar { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.musec-btn { height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--raised); color: var(--text); font: inherit; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.musec-btn .ic, .musec-btn svg { width: 19px; height: 19px; }
.musec-btn--search:hover { background: var(--raised-2); }
.musec-btn--upload { border-color: rgba(74,222,128,0.30); color: var(--green); }
.musec-btn--upload:hover { background: var(--green); color: var(--green-ink); border-color: transparent; }
/* the search input that REPLACES the Search button while in use */
.musec-srch { flex: 0 0 auto; width: min(440px, 42vw); height: 48px; margin: 0; align-self: auto; }
.musec-srch input { font-size: 14px; }

/* featured hero — wide banner that anchors the page and uses the width */
.musec-hero { display: flex; gap: 22px; align-items: center; padding: 20px; margin-bottom: 30px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(120deg, var(--raised-2), var(--raised)); }
.musec-hero__art { width: 128px; height: 128px; flex: 0 0 auto; border-radius: 14px; position: relative; display: block; box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.musec-hero__art .plcard__wm { font-size: 15px; }
.musec-hero__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.musec-hero__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.musec-hero__ti { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; color: #fff; }
.musec-hero__sub { margin: 0; font-size: 13.5px; color: var(--text-2); max-width: 64ch; }
.musec-hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.musec-hero__cta .vid-play--go { height: 40px; padding: 0 22px; font-size: 14px; }
.musec-hero__meta { font-size: 12.5px; color: var(--muted); }

/* quick-access + Your Playlists side by side to use the desktop width */
.musec-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-bottom: 4px; }
.musec-col { min-width: 0; }
.musec-col .page__seclabel { margin-top: 0; }
/* quick tiles become a balanced 2x2 of bigger tiles next to the playlists column */
.musec-col .mqtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.musec-col .mqtile { flex-direction: row; justify-content: flex-start; gap: 13px; padding: 16px 16px; }

/* trending section header — label + tabs on the right */
.musec-sechead { display: flex; align-items: center; gap: 12px; margin-top: 34px; margin-bottom: 4px; }
.musec-sechead .page__seclabel { margin: 0; }
.musec-sechead .musec-tabs { margin-left: auto; padding: 0; }

/* wide trending TABLE — columns: # / Title / Artist / Time */
.mtbl { margin-top: 6px; }
.mtbl__head, .mtrow { display: grid; grid-template-columns: 40px minmax(0, 2.4fr) minmax(0, 1.5fr) 56px; align-items: center; gap: 16px; }
.mtbl__head { padding: 0 12px 9px; margin-bottom: 4px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.mtbl__hlen, .mtrow__len { justify-self: end; }
.mtbl__head .ic, .mtbl__head svg { width: 14px; height: 14px; }
.mtrow { padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: background .12s; }
.mtrow:hover { background: var(--raised); }
.mtrow__ix { position: relative; width: 22px; display: grid; place-items: center; }
.mtrow__n { color: var(--muted); font-size: 14px; transition: opacity .12s; }
.mtrow:hover .mtrow__n { opacity: 0; }
.mtrow__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: none; color: var(--text); cursor: pointer; opacity: 0; transition: opacity .12s; }
.mtrow:hover .mtrow__play { opacity: 1; }
.mtrow__play .ic, .mtrow__play svg { width: 18px; height: 18px; }
.mtrow__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mtrow__art { width: 40px; height: 40px; border-radius: 8px; flex: 0 0 auto; }
.mtrow__ti { font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtrow__ar { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtrow__len { color: var(--muted); font-size: 13px; }
/* now-playing row: green title + a 3-bar equalizer in the rank slot */
.mtrow--cur .mtrow__ti { color: var(--green); }
.mtrow__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; transition: opacity .12s; }
.mtrow:hover .mtrow__eq { opacity: 0; }
.mtrow__eq i { width: 2.5px; height: 5px; background: var(--green); border-radius: 1px; }
.mtrow__eq.on i { animation: meq 0.9s ease-in-out infinite; }
.mtrow__eq.on i:nth-child(2) { animation-delay: .2s; }
.mtrow__eq.on i:nth-child(3) { animation-delay: .4s; }
@keyframes meq { 0%, 100% { height: 4px; } 50% { height: 13px; } }

/* ── Music search dropdown — a real search surface (recent + grouped results), anchored under the bar ── */
.musec-search { position: relative; display: inline-flex; }
.musec-pop { position: absolute; top: calc(100% + 10px); right: 0; width: 480px; max-width: 78vw; max-height: min(62vh, 540px); overflow-y: auto; z-index: 50; padding: 8px; border-radius: 16px; background: rgba(13, 13, 16, 0.82); -webkit-backdrop-filter: blur(34px) saturate(1.4); backdrop-filter: blur(34px) saturate(1.4); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 70px rgba(0,0,0,0.72); }
.musec-pop__lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.musec-pop .srch-empty { padding: 22px 12px; color: var(--text-2); font-size: 13px; text-align: left; }
.musec-res { width: 100%; margin: 0; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; text-align: left; border-radius: 10px; padding: 7px 8px; }
.musec-res:hover { background: var(--raised-2); }
.musec-res .srow__av { width: 44px; height: 44px; border-radius: 8px; }
.musec-res--round .srow__av { border-radius: 999px; }
.musec-res__go { margin-left: auto; flex: 0 0 auto; color: var(--text-2); opacity: 0; transition: opacity .12s; display: inline-flex; }
.musec-res:hover .musec-res__go { opacity: 1; }
.musec-res__go .ic, .musec-res__go svg { width: 18px; height: 18px; }

/* ── right-click context menu (songs + playlists) ────────────────────────────── */
.ctx-scrim { position: fixed; inset: 0; z-index: 119; }
.ctxmenu {
  position: fixed; z-index: 120; min-width: 224px; max-width: 282px;
  padding: 6px; border-radius: 14px;
  background: rgba(13, 13, 16, 0.94);
  -webkit-backdrop-filter: blur(34px) saturate(1.4); backdrop-filter: blur(34px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.72);
}
.ctx__item { position: relative; }
.ctx__row {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 11px; border: 0; background: none; border-radius: 9px;
  color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer;
}
.ctx__row:hover:not(:disabled), .ctx__item--sub:hover > .ctx__row { background: var(--raised-2); }
.ctx__row:disabled { opacity: 0.42; cursor: default; }
.ctx__ic { width: 18px; height: 18px; flex: 0 0 auto; color: var(--text-2); display: grid; place-items: center; }
.ctx__ic .ic, .ctx__ic svg { width: 18px; height: 18px; }
.ctx__lbl { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx__arr { margin-left: auto; width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted); display: grid; place-items: center; }
.ctx__arr .ic, .ctx__arr svg { width: 15px; height: 15px; }
.ctx__sep { height: 1px; background: var(--border); margin: 5px 8px; }
.ctx__row--danger { color: #ff7a7a; }
.ctx__row--danger:hover:not(:disabled) { background: rgba(255, 90, 90, 0.12); }
.ctx__row--danger .ctx__ic { color: #ff7a7a; }
.ctx__av { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.ctx__empty { padding: 10px 12px; color: var(--muted); font-size: 12.5px; }
/* submenu flyout — pure CSS on hover/focus-within */
.ctx__sub {
  display: none; flex-direction: column; position: absolute; left: calc(100% + 6px); top: -6px;
  min-width: 210px; max-width: 244px; max-height: 264px; overflow: hidden;
  padding: 6px; border-radius: 14px;
  background: rgba(13, 13, 16, 0.94);
  -webkit-backdrop-filter: blur(34px) saturate(1.4); backdrop-filter: blur(34px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.72);
}
.ctx__item--sub:hover > .ctx__sub, .ctx__sub:hover, .ctx__item--sub:focus-within > .ctx__sub { display: flex; }
.ctxmenu--flip .ctx__sub { left: auto; right: calc(100% + 6px); }
/* top/bottom anchoring + max-height are set inline per-submenu by CtxMenu (clamped to the music container) */
.ctx__sublist { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
/* invisible bridge across the row→flyout gap so hover (and reaching the search box) isn't dropped mid-move */
.ctx__sub::before { content: ''; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
.ctxmenu--flip .ctx__sub::before { left: auto; right: -8px; }
/* friend search box at the top of a searchable flyout */
.ctx__search { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 2px 4px 8px; }
.ctx__search .ic, .ctx__search svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted); }
.ctx__search input { flex: 1 1 auto; min-width: 0; border: 0; background: var(--raised-2); color: var(--text); font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 8px; outline: none; }
.ctx__search input::placeholder { color: var(--muted); }

/* ── playlist create / rename inline input + "New" affordance ─────────────────── */
.musec-col__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.musec-col__head .page__seclabel { margin: 0; }
.musec-new { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--raised); color: var(--text-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.musec-new:hover { color: var(--text); border-color: rgba(74, 222, 128, 0.4); }
.musec-new .ic, .musec-new svg { width: 15px; height: 15px; }
.plcard--new .plcard__art--new { display: grid; place-items: center; color: var(--text-2); border: 1px dashed var(--border); background: var(--raised); box-sizing: border-box; }
.plcard--new .plcard__art--new .ic, .plcard--new .plcard__art--new svg { width: 26px; height: 26px; }
.plcard__rename { width: 100%; margin-top: 7px; padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(74, 222, 128, 0.5); background: var(--raised-2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; outline: none; box-sizing: border-box; }

/* ── action toast (download / send-to-friend / queue confirmations) ──────────── */
.vtoast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 1800;  /* top of the overlay ladder — toasts outlive every takeover incl. .hub-fs (1700) */
  display: flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 999px;
  background: rgba(13, 13, 16, 0.95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  color: var(--text); font-size: 13.5px; font-weight: 600; animation: vtoast-in 0.18s ease;
}
.vtoast .ic, .vtoast svg { width: 17px; height: 17px; color: var(--green); }
@keyframes vtoast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── Shop — Store / Earn / Wallet ────────────────────────────────────────────── */
.shop2 { --gem: #C77DFF; --fuel: #FF8A3D; }
.shop2-head { gap: 12px; }
.shop2-bal { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.shop2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); font-size: 13px; font-weight: 800; color: var(--text); }
.shop2-chip .ic, .shop2-chip svg { width: 16px; height: 16px; }
.shop2-chip--gem { color: var(--gem); border-color: rgba(199,125,255,0.32); background: rgba(199,125,255,0.10); }
.shop2-chip--robux { color: #F4C942; border-color: rgba(244,201,66,0.30); background: rgba(244,201,66,0.10); }
.shop2-chip--cash { color: var(--green); border-color: rgba(74,222,128,0.26); background: rgba(74,222,128,0.08); }

/* tabs */
.shop2-tabs { gap: 6px; }
.shop2-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 12px; border: 1px solid transparent; background: rgba(255,255,255,0.04); color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.shop2-tab .ic, .shop2-tab svg { width: 16px; height: 16px; }
.shop2-tab:hover { color: var(--text); }
.shop2-tab.on { color: var(--green); background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.40); }
.shop2-wrap { max-width: 1000px; margin: 0 auto; }
.shop2-sec { margin: 0 0 24px; }
.shop2-sec__h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.shop2-sub { margin: -6px 0 12px; font-size: 12.5px; color: var(--text-2); }
.shop2-viewall { margin-left: auto; border: 0; background: none; color: var(--green); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.shop2-bonus { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--gem); background: rgba(199, 125, 255, 0.12); }
.shop2-bonus .ic, .shop2-bonus svg { width: 13px; height: 13px; }
.shop-card__bonus { font-size: 11px; font-weight: 800; color: var(--gem); }
.shop-burn { display: flex; align-items: center; gap: 7px; margin: -6px 0 14px; font-size: 11.5px; color: var(--muted); }
.shop-burn .ic, .shop-burn svg { width: 13px; height: 13px; color: var(--fuel); }
.shop-plus__trial { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--green); }

/* Earn: watch-ad-for-cash + Gem+ daily drop */
.shop-ad--cash { border-color: rgba(74, 222, 128, 0.30); background: rgba(74, 222, 128, 0.10); }
.shop-ad--cash:hover { background: rgba(74, 222, 128, 0.16); }
.shop-ad--cash .shop-ad__r { color: var(--green); }
.shop-ad--cash .shop-ad__r .ic { color: var(--green); }
.shop-drop { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(199, 125, 255, 0.32); background: linear-gradient(135deg, rgba(199, 125, 255, 0.16), rgba(255, 255, 255, 0.02)); }
.shop-drop__ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: rgba(199, 125, 255, 0.18); color: var(--gem); }
.shop-drop__ic .ic, .shop-drop__ic svg { width: 22px; height: 22px; }
.shop-drop__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-drop__t { font-size: 14.5px; font-weight: 800; color: var(--text); }
.shop-drop__s { font-size: 12.5px; color: var(--text-2); }
.shop-btn--drop { background: linear-gradient(135deg, #C77DFF, #8A3BD6); color: #fff; }
.shop-btn--drop:disabled { opacity: 1; background: rgba(74, 222, 128, 0.16); color: var(--green); }

/* shared button system */
.shop-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 11px; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; padding: 9px 14px; }
.shop-btn .ic, .shop-btn svg { width: 15px; height: 15px; }
.shop-btn:disabled { opacity: 0.4; cursor: default; }
.shop-btn--buy, .shop-btn--go, .shop-btn--mine, .shop-btn--x, .shop-btn--wd { background: var(--green); color: var(--green-ink); }
.shop-btn--buy:hover:not(:disabled), .shop-btn--go:hover:not(:disabled), .shop-btn--mine:hover:not(:disabled), .shop-btn--wd:hover:not(:disabled) { background: #5fe892; }
.shop-btn--buy { width: 100%; margin-top: 9px; }
.shop-btn--mine, .shop-btn--wd { width: 100%; padding: 12px; font-size: 14px; }
.shop-btn--ghost { background: rgba(255,255,255,0.05); color: var(--text-2); border: 1px solid var(--border); }
.shop-btn--ghost:hover { color: var(--text); }
.shop-btn--fuel { background: rgba(255,138,61,0.14); color: var(--fuel); border: 1px solid rgba(255,138,61,0.32); }
.shop-btn--fuel:hover:not(:disabled) { background: rgba(255,138,61,0.22); }
.shop-btn--plus { padding: 12px 22px; color: #fff; background: linear-gradient(135deg, #C77DFF, #8A3BD6); box-shadow: 0 12px 30px -8px rgba(199,125,255,0.6); }
.shop-btn--plus:hover:not(:disabled) { filter: brightness(1.08); }
.shop-btn--plus.is-active { background: rgba(74,222,128,0.16); color: var(--green); box-shadow: none; }

/* pay toggle (gems / cash) */
.shop-pay { margin-left: auto; display: inline-flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.shop-pay button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.shop-pay button .ic, .shop-pay button svg { width: 14px; height: 14px; }
.shop-pay button.on { background: rgba(255,255,255,0.10); color: var(--text); }

/* Gem+ card */
.shop-plus { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 4px 0 26px; padding: 22px 24px; border-radius: 22px; border: 1px solid rgba(199,125,255,0.34); background: linear-gradient(135deg, rgba(199,125,255,0.20), rgba(199,125,255,0.05) 60%, rgba(255,255,255,0.02)); }
.shop-plus__glow { position: absolute; top: -55%; right: -6%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(199,125,255,0.30), transparent 70%); pointer-events: none; }
.shop-plus__art { position: relative; flex: 0 0 auto; width: 84px; height: 84px; display: grid; place-items: center; }
.shop-plus__art .ic, .shop-plus__art svg { width: 74px; height: 74px; filter: drop-shadow(0 6px 15px rgba(199,125,255,0.5)); }
.shop-plus__body { position: relative; flex: 1 1 300px; min-width: 0; }
.shop-plus__kick { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gem); }
.shop-plus__kick .ic, .shop-plus__kick svg { width: 14px; height: 14px; }
.shop-plus__ti { margin: 7px 0 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.shop-plus__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.shop-plus__perks li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.shop-plus__perks .ic, .shop-plus__perks svg { width: 15px; height: 15px; color: var(--gem); flex: 0 0 auto; }
.shop-plus__cta { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 184px; }
.shop-plus__price { text-align: center; color: var(--text-2); font-size: 13px; }
.shop-plus__price b { color: var(--text); font-size: 22px; font-weight: 800; margin-right: 4px; }
.shop-plus.is-active { border-color: rgba(74,222,128,0.30); background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(255,255,255,0.02) 60%); }
.shop-plus.is-active .shop-plus__glow { background: radial-gradient(circle, rgba(74,222,128,0.22), transparent 70%); }

/* watch ad row */
.shop-ad { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 14px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(199,125,255,0.30); background: rgba(199,125,255,0.10); color: var(--text); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.shop-ad:hover { background: rgba(199,125,255,0.16); }
.shop-ad__l, .shop-ad__r { display: inline-flex; align-items: center; gap: 8px; }
.shop-ad__r { color: var(--gem); font-weight: 800; }
.shop-ad .ic, .shop-ad svg { width: 16px; height: 16px; }

/* product cards (gems / robux) */
.shop2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.shop-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 14px 14px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-card--best, .shop-card--pop { border-color: rgba(74,222,128,0.42); background: linear-gradient(160deg, rgba(74,222,128,0.10), rgba(255,255,255,0.03)); }
.shop-card__flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 3px 11px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-ink); background: var(--green); white-space: nowrap; }
.shop-card__art { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 4px; }
.shop-card__art .ic, .shop-card__art svg { width: 27px; height: 27px; }
.shop-card__art--gem svg, .shop-card__art--robux svg, .shop-card__art--cash svg { width: 36px; height: 36px; }
.shop-card__art--gem { background: linear-gradient(150deg, rgba(199,125,255,0.42), rgba(199,125,255,0.10)); }
.shop-card__art--gem .ic { color: #EBC6FF; }
.shop-card__art--robux { background: linear-gradient(150deg, rgba(244,201,66,0.30), rgba(244,201,66,0.08)); }
.shop-card__amt { font-size: 20px; font-weight: 800; color: var(--text); }
.shop-card__lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* refuel station */
.shop-tank { margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-tank__top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.shop-tank__top .ic, .shop-tank__top svg { width: 16px; height: 16px; color: var(--fuel); }
.shop-tank__cap { margin-left: auto; color: var(--text-2); font-weight: 700; }
.shop-tank__bar { margin-top: 10px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.shop-tank__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--fuel), #FFB077); }
.shop-fuelrow { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.shop-fuel { flex: 0 0 132px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 16px 12px 12px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-fuel__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,138,61,0.14); color: var(--fuel); }
.shop-fuel__ic .ic, .shop-fuel__ic svg { width: 20px; height: 20px; }
.shop-fuel__t { font-size: 15px; font-weight: 800; color: var(--text); }
.shop-btn--fuel { width: 100%; }

/* mining */
.shop-mine { padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-mine__top { display: flex; align-items: center; gap: 12px; }
.shop-mine__ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: rgba(74,222,128,0.14); color: var(--green); }
.shop-mine__ic .ic, .shop-mine__ic svg { width: 22px; height: 22px; }
.shop-mine__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-mine__st { font-size: 14px; font-weight: 800; color: var(--text); }
.shop-mine__sub { font-size: 12px; color: var(--text-2); }
.shop-mine__rew { display: flex; gap: 8px; }
.shop-mine__rew span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,0.06); font-size: 12px; font-weight: 800; color: var(--text); }
.shop-mine__rew .ic, .shop-mine__rew svg { width: 13px; height: 13px; color: var(--green); }
.shop-mine__bar { margin: 14px 0; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.shop-mine__bar i { display: block; height: 100%; border-radius: 999px; background: var(--green); transition: width 0.9s linear; }

/* daily rewards */
.shop-daily { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-box { flex: 1 1 130px; max-width: 170px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 16px 10px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); cursor: pointer; }
.shop-box.is-lock { opacity: 0.5; border-style: dashed; cursor: default; }
.shop-box.is-next { border-color: rgba(199,125,255,0.5); background: rgba(199,125,255,0.10); }
.shop-box.is-open { border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.10); cursor: default; }
.shop-box__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--text-2); }
.shop-box.is-next .shop-box__ic { background: rgba(199,125,255,0.16); color: var(--gem); }
.shop-box.is-open .shop-box__ic { background: rgba(74,222,128,0.16); color: var(--green); }
.shop-box__ic .ic, .shop-box__ic svg { width: 18px; height: 18px; }
.shop-box__amt { font-size: 17px; font-weight: 800; color: var(--text); }
.shop-box.is-open .shop-box__amt { color: var(--green); }
.shop-box__lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.shop-daily__next { margin-top: 12px; font-size: 12.5px; color: var(--text-2); }

/* exchange rows */
.shop-xrow { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-xrow__cur { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: var(--text); }
.shop-xrow__cur .ic, .shop-xrow__cur svg { width: 18px; height: 18px; }
.shop-xrow__cur--cash .ic { color: var(--green); }
.shop-xrow__cur--gem .ic { color: var(--gem); }
.shop-xrow__arr { color: var(--muted); display: inline-flex; }
.shop-xrow__arr .ic, .shop-xrow__arr svg { width: 16px; height: 16px; }
.shop-xrow .shop-btn--x { margin-left: auto; }

/* withdraw card */
.shop-wd { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 20px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-wd__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: rgba(74,222,128,0.12); color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.shop-wd__ic .ic, .shop-wd__ic svg { width: 26px; height: 26px; }
.shop-wd__k { font-size: 12px; font-weight: 700; color: var(--text-2); }
.shop-wd__big { font-size: 30px; font-weight: 800; color: var(--green); }
.shop-wd__sub { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.shop-wd .shop-btn--wd { max-width: 360px; }

/* history */
.shop-hist { display: flex; flex-direction: column; gap: 8px; }
.shop-histrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-histrow__ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--green); }
.shop-histrow__ic .ic, .shop-histrow__ic svg { width: 18px; height: 18px; }
.shop-histrow__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.shop-histrow__d { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.shop-histrow__st { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.shop-histrow__st--processing { background: rgba(255,138,61,0.16); color: var(--fuel); }
.shop-histrow__st--completed { background: rgba(74,222,128,0.16); color: var(--green); }

/* locked section hint */
.shop-locked { display: flex; align-items: center; gap: 9px; padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--border); background: rgba(255,255,255,0.03); color: var(--text-2); font-size: 13px; }
.shop-locked .ic, .shop-locked svg { width: 16px; height: 16px; color: var(--gem); }

/* ── shop modals (purchase sheet + withdrawal) ── */
.shop-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.shop-modal__card { width: 100%; max-width: 440px; border-radius: 20px; background: rgba(13,13,16,0.96); border: 1px solid rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0,0,0,0.8); overflow: hidden; }
.shop-sheet { padding: 22px; }
.shop-sheet__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.shop-sheet__ic { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; }
.shop-sheet__ic .ic, .shop-sheet__ic svg { width: 26px; height: 26px; }
.shop-sheet__ic--gem { background: rgba(199,125,255,0.16); color: var(--gem); }
.shop-sheet__ic--robux { background: rgba(244,201,66,0.16); color: var(--gold); }
.shop-sheet__ic--fuel { background: rgba(255,138,61,0.14); color: var(--fuel); }
.shop-sheet__head h3 { margin: 0 0 2px; font-size: 17px; font-weight: 800; }
.shop-sheet__head p { margin: 0; font-size: 12.5px; color: var(--text-2); }
.shop-sheet__rows { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.shop-sheet__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 13.5px; }
.shop-sheet__row span:first-child { color: var(--text-2); }
.shop-sheet__row span:last-child { font-weight: 800; color: var(--text); }
.shop-sheet__acts { display: flex; gap: 10px; }
.shop-sheet__acts .shop-btn { flex: 1 1 auto; }
.shop-sheet__state { padding: 12px 0; text-align: center; }
.shop-sheet__state h3 { margin: 14px 0 4px; font-size: 17px; font-weight: 800; }
.shop-sheet__state p { margin: 0; font-size: 13px; color: var(--text-2); }
.shop-sheet__ok { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,0.16); color: var(--green); }
.shop-sheet__ok .ic, .shop-sheet__ok svg { width: 30px; height: 30px; }
.shop-spin { display: block; width: 38px; height: 38px; margin: 6px auto 0; border-radius: 50%; border: 3px solid rgba(255,255,255,0.14); border-top-color: var(--green); animation: shop-spin 0.7s linear infinite; }
@keyframes shop-spin { to { transform: rotate(360deg); } }

/* withdrawal sheet */
.shop-wdm { max-width: 460px; display: flex; flex-direction: column; max-height: 88vh; }
.shop-wdm__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.shop-wdm__headl { flex: 1 1 auto; min-width: 0; }
.shop-wdm__headl h3 { margin: 0 0 7px; font-size: 17px; font-weight: 800; }
.shop-wdm__prog { height: 3px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; max-width: 180px; }
.shop-wdm__prog i { display: block; height: 100%; background: var(--green); transition: width 0.3s; }
.shop-wdm__step { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--text-2); }
.shop-wdm__x { width: 32px; height: 32px; flex: 0 0 auto; border: 0; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.shop-wdm__x .ic, .shop-wdm__x svg { width: 15px; height: 15px; }
.shop-wdm__body { padding: 18px 20px; overflow-y: auto; }
.shop-wdm__lbl { display: flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--text-2); margin: 14px 0 7px; }
.shop-wdm__lbl:first-child { margin-top: 0; }
.shop-wdm__bal { margin-left: auto; font-weight: 600; color: var(--muted); }
.shop-wdm__pick { display: flex; gap: 10px; }
.shop-wdm__pick button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.shop-wdm__pick button .ic, .shop-wdm__pick button svg { width: 16px; height: 16px; }
.shop-wdm__pick button.on { border-color: rgba(74,222,128,0.5); background: rgba(74,222,128,0.12); color: var(--green); }
.shop-wdm__amt { display: flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); }
.shop-wdm__amt input { flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font: inherit; font-size: 22px; font-weight: 800; padding: 8px 0; }
.shop-wdm__amt span { font-size: 12px; font-weight: 800; color: var(--text-2); letter-spacing: 0.04em; }
.shop-wdm__pcts { display: flex; gap: 8px; margin-top: 10px; }
.shop-wdm__pcts button { flex: 1 1 0; padding: 7px; border-radius: 9px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text-2); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.shop-wdm__pcts button:hover { color: var(--text); }
.shop-wdm__min { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.shop-wdm__min .ic, .shop-wdm__min svg { width: 14px; height: 14px; }
.shop-wdm__pre { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(74,222,128,0.10); border: 1px solid rgba(74,222,128,0.25); font-size: 13px; color: var(--text-2); }
.shop-wdm__pre b { color: var(--green); font-size: 18px; margin-left: 4px; }
.shop-wdm__in { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--text); font: inherit; font-size: 14px; outline: none; box-sizing: border-box; }
.shop-wdm__in:focus { border-color: rgba(74,222,128,0.4); }
.shop-wdm__sum { margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.shop-wdm__sumh { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.shop-wdm__sumr { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--text-2); }
.shop-wdm__sumr span:last-child { color: var(--text); font-weight: 700; }
.shop-wdm__sumr--tot { margin-top: 4px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.10); font-weight: 800; }
.shop-wdm__sumr--tot b { color: var(--green); font-size: 16px; }
.shop-wdm__foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.10); }
.shop-wdm__foot .shop-btn--go { flex: 1 1 auto; }
.shop-wdm__foot .shop-btn--ghost { flex: 0 0 auto; }

/* ── Shop REDESIGN: full-width, depth, currency-hued CTAs, richer cards ───────── */
/* (no --gold override here — use the single global --gold so robux/reward gold is one value app-wide) */
.shop2-wrap { max-width: none; }

/* section headers — accent bar + currency tint */
.shop2-sec__h { position: relative; padding-left: 13px; }
.shop2-sec__h::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 1.05em; border-radius: 2px; background: var(--text-2); }
.shop2-sec__h--gem { color: #DCB6FF; } .shop2-sec__h--gem::before { background: var(--gem); }
.shop2-sec__h--robux { color: #F6D873; } .shop2-sec__h--robux::before { background: var(--gold); }
.shop2-sec__h--fuel { color: #FFB077; } .shop2-sec__h--fuel::before { background: var(--fuel); }

/* deterministic grids that always fill (no orphan cells): gems 3-wide (premium, larger), robux 4-wide (secondary) */
.shop2-grid { gap: 16px; }
.shop2-grid--gems { grid-template-columns: repeat(3, 1fr); }
.shop2-grid--robux { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .shop2-grid--gems, .shop2-grid--robux { grid-template-columns: repeat(2, 1fr); } }

/* 2-column layout for the shorter Earn/Wallet tabs — fills the width, cuts the vertical void */
.shop2-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.shop2-col { display: flex; flex-direction: column; min-width: 0; }
.shop2-col > .shop2-sec:last-child, .shop2-col > .shop-drop:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .shop2-2col { grid-template-columns: 1fr; } }
.shop-empty { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 26px 18px; border-radius: 14px; border: 1px dashed var(--border); background: rgba(255,255,255,0.025); color: var(--muted); font-size: 13px; }
.shop-empty .ic, .shop-empty svg { width: 16px; height: 16px; }

/* richer product cards — depth, top sheen, hover lift; uniform height + bottom-anchored CTA (no empty cells) */
.shop-card { min-height: 196px; isolation: isolate;
  background: rgba(255,255,255,0.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 6px 18px -6px rgba(0,0,0,0.5);
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s, border-color .18s; }
.shop-card::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.09), transparent 58%); }
.shop-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 16px 34px -10px rgba(0,0,0,0.7); }
.shop-card .shop-btn--buy { margin-top: auto; }
.shop-card__art { box-shadow: inset 0 1px 0 rgba(255,255,255,0.18); }
.shop-card__amt { font-size: 22px; }

/* size-emphasis on premium gem packs */
.shop-card--xl .shop-card__art { width: 76px; height: 76px; }
.shop-card--xl .shop-card__art .ic, .shop-card--xl .shop-card__art svg { width: 40px; height: 40px; }
.shop-card--xl .shop-card__art--gem svg, .shop-card--xl .shop-card__art--robux svg, .shop-card--xl .shop-card__art--cash svg { width: 52px; height: 52px; }
.shop-card--xl .shop-card__amt { font-size: 25px; }

/* premium glows — best=green, popular/whale=purple, robux-best=gold */
.shop-card--best { border-color: rgba(74,222,128,0.45);
  background: linear-gradient(165deg, rgba(74,222,128,0.13), rgba(255,255,255,0.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 30px -8px rgba(74,222,128,0.45), 0 10px 26px -10px rgba(0,0,0,0.6); }
.shop-card--pop { border-color: rgba(199,125,255,0.45);
  background: linear-gradient(165deg, rgba(199,125,255,0.13), rgba(255,255,255,0.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 28px -8px rgba(199,125,255,0.42), 0 10px 26px -10px rgba(0,0,0,0.6); }
.shop-card--xl:not(.shop-card--best) { border-color: rgba(199,125,255,0.30);
  background: linear-gradient(165deg, rgba(199,125,255,0.10), rgba(255,255,255,0.04)); }
.shop-card--best-gold { border-color: rgba(244,201,66,0.5);
  background: linear-gradient(165deg, rgba(244,201,66,0.13), rgba(255,255,255,0.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 28px -8px rgba(244,201,66,0.45), 0 10px 26px -10px rgba(0,0,0,0.6); }

/* ribbon badges */
.shop-card__flag { padding: 4px 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.45); }
.shop-card__flag--pop { background: #C77DFF; color: #1A0033; }
.shop-card__flag--gold { background: var(--gold); color: #2a1d00; }

/* currency-hued CTAs (kills the all-green look) — dark ink for AA contrast */
.shop-btn--buy--gem { background: linear-gradient(135deg, #DBA8FF, #B36BF2); color: #1c0a36; }
.shop-btn--buy--gem:hover:not(:disabled) { background: linear-gradient(135deg, #E6BEFF, #C57DFF); box-shadow: 0 8px 20px -6px rgba(199,125,255,0.55); }
.shop-btn--buy--robux { background: linear-gradient(135deg, #FBE08A, #F4C942); color: #2a1d00; }
.shop-btn--buy--robux:hover:not(:disabled) { background: linear-gradient(135deg, #FFEBA6, #F8D45E); box-shadow: 0 8px 20px -6px rgba(244,201,66,0.55); }
.shop-fuel .shop-btn--fuel { background: linear-gradient(135deg, #FFB163, #FF7A2A); color: #2a1405; border: 0; }
.shop-fuel .shop-btn--fuel:hover:not(:disabled) { background: linear-gradient(135deg, #FFC183, #FF8A3D); box-shadow: 0 8px 18px -6px rgba(255,138,61,0.55); }

/* Gem+ card depth + glow */
.shop-plus { box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 54px -16px rgba(199,125,255,0.55), 0 18px 40px -14px rgba(0,0,0,0.6); }
.shop-plus__glow { width: 380px; height: 380px; }

/* refuel tank + cards */
.shop-tank { background: linear-gradient(160deg, rgba(255,138,61,0.10), rgba(255,255,255,0.03)); border-color: rgba(255,138,61,0.22); }
.shop-tank__bar { box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); }
.shop-tank__bar i { box-shadow: 0 0 12px rgba(255,138,61,0.6); }
.shop-fuel { transition: transform .18s, box-shadow .18s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.shop-fuel:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 24px -10px rgba(0,0,0,0.6); }

/* mining bar tier gradient + glow */
.shop-mine__bar i { background: linear-gradient(90deg, #2BB562, var(--green)); box-shadow: 0 0 12px rgba(74,222,128,0.45); }
.shop-mine__bar.is-claimable i { background: linear-gradient(90deg, #F4C942, #FBE08A); box-shadow: 0 0 12px rgba(244,201,66,0.5); }

/* daily next-box gentle pulse */
@keyframes shop-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(199,125,255,0); } 50% { box-shadow: 0 0 18px -2px rgba(199,125,255,0.5); } }
.shop-box.is-next { animation: shop-pulse 2.6s ease-in-out infinite; }

/* gem drop + wallet depth + currency-hued history borders */
.shop-drop { border-left: 3px solid var(--gem); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 30px -12px rgba(199,125,255,0.5); }
.shop-wd { border-left: 3px solid var(--green); }
.shop-wd__ic { box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 0 24px -6px rgba(74,222,128,0.5); }
.shop-xrow { transition: background .15s; }
.shop-xrow:hover { background: rgba(255,255,255,0.07); }
.shop-histrow { border-left: 3px solid transparent; }
.shop-histrow[data-currency="cash"] { border-left-color: var(--green); }
.shop-histrow[data-currency="robux"] { border-left-color: var(--gold); }
