/* Page-level components for the website (landing, hub, profile, leaderboard, login, admin) */

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 64px 0 40px; }
.hero-logo { width: clamp(104px, 22vw, 150px); height: auto; margin: 0 auto 26px; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 0 35px rgba(255,255,255,.2)); }
.hero .badge-row { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #aaa; margin-bottom: 22px; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 20px); color: #888; max-width: 640px; margin: 22px auto 34px; line-height: 1.8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-stats { margin-top: 52px; }

/* ---------- Game cards ---------- */
.game-card { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.game-card .art { position: relative; height: 150px; display: grid; place-items: center; font-size: 78px; overflow: hidden; background: radial-gradient(circle at 50% 115%, rgba(56,189,248,.34), transparent 65%), linear-gradient(160deg, #102a46, #071526); border-bottom: 1px solid rgba(122,179,224,.24); color: #e0f2fe; }
.game-card .art::before { content: ''; position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg, rgba(122,179,224,.07) 0 10deg, transparent 10deg 20deg); animation: spin 60s linear infinite; }
.game-card .art span { position: relative; filter: drop-shadow(0 6px 22px rgba(56,189,248,.42)); transition: transform .4s var(--ease); }
.game-card:hover .art span { transform: scale(1.12) rotate(-4deg); }
.game-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card .name { font-size: 22px; font-weight: 900; }
.game-card .desc { color: var(--fg-3); font-size: 14px; line-height: 1.7; flex: 1; }
.game-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.game-card .actions { display: flex; gap: 10px; margin-top: 6px; }
.game-card .actions .btn { flex: 1; }
.game-card.soon { opacity: .55; }
.game-card.disabled .art { filter: grayscale(1); }

/* ---------- Feature tiles ---------- */
.feature { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: #151515; border: 1px solid #2a2a2a; }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { color: var(--fg-3); font-size: 14px; line-height: 1.7; }
.steps .step-n { font-size: 44px; font-weight: 900; font-family: ui-monospace, monospace; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #1a1a1a; padding: 30px 0 18px; color: var(--fg-3); font-size: 14px; }

/* ---------- Login ---------- */
.login-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 20px; position: relative; z-index: 1; }
.login-card { width: min(100%, 400px); text-align: center; padding: 34px 28px; border-radius: 28px; }
.login-card .logo { width: 84px; height: 84px; border-radius: 22px; background: #111; border: 1px solid #2a2a2a; display: grid; place-items: center; margin: 0 auto 22px; }
.login-card .logo img { width: 56px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--fg-4); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #222; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 13px; text-align: right; background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); color: #f4a1a1; margin-bottom: 18px; }

/* ---------- Hub ---------- */
.welcome { padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.welcome .who { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 240px; }
.lvl-ring { --p: 0; position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: conic-gradient(#f0f0f0 calc(var(--p) * 1%), #222 0); }
.lvl-ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #0e0e0e; }
.lvl-ring b { position: relative; font-size: 22px; font-weight: 900; }
.xp-block { flex: 1; min-width: 200px; }
.join-box { display: flex; gap: 10px; flex-wrap: wrap; }
.join-box .input { flex: 1; min-width: 130px; text-transform: uppercase; letter-spacing: .2em; text-align: center; font-family: ui-monospace, monospace; font-weight: 700; }

/* ---------- Profile ---------- */
.p-banner { height: 150px; border-radius: 26px 26px 0 0; position: relative; overflow: hidden; }
@media (min-width: 720px) { .p-banner { height: 190px; } }
.p-banner:not(.has-custom)::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 120%, rgba(0,0,0,.55), transparent 60%), repeating-conic-gradient(from 0deg at 80% 0%, rgba(255,255,255,.04) 0 8deg, transparent 8deg 16deg); }
.banner-silver { background: linear-gradient(135deg, #3a3a3a, #8e8e8e 50%, #2a2a2a); }
.banner-obsidian { background: linear-gradient(135deg, #0b0b0b, #2b2b33 55%, #101014); }
.banner-aurora { background: linear-gradient(135deg, #0f2d2a, #1f6f5f 45%, #3b4a8f); }
.banner-ember { background: linear-gradient(135deg, #2b1010, #7a2d1f 55%, #1c0f0f); }
.banner-ocean { background: linear-gradient(135deg, #07162b, #134e7a 55%, #0b2540); }
.banner-royal { background: linear-gradient(135deg, #1b1033, #5b3a9a 55%, #221343); }
.p-head { position: relative; padding: 0 22px 22px; margin-top: -54px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.p-head .avatar-xl { border-color: #0e0e0e; box-shadow: 0 0 0 2px #333, 0 10px 30px rgba(0,0,0,.6); }
.p-name { font-size: clamp(24px, 4vw, 34px); font-weight: 900; line-height: 1.15; }
.p-actions { margin-inline-start: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.p-bio { padding: 0 22px 22px; color: var(--fg-2); font-size: 15px; line-height: 1.8; }
.kpi { padding: 16px; border-radius: 18px; text-align: center; }
.kpi .v { font-size: clamp(22px, 4vw, 30px); font-weight: 900; }
.kpi .l { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.donut { --w: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--green) calc(var(--w) * 1%), #262626 0); flex-shrink: 0; }
.donut::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #111; }
.donut b { position: relative; font-size: 26px; font-weight: 900; }
.stack-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: #1c1c1c; }
.stack-bar i { display: block; height: 100%; }
.stack-bar .w { background: var(--green); } .stack-bar .d { background: #8a8a8a; } .stack-bar .l { background: var(--red); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.chart .col-b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.chart .col-b i { display: block; width: 100%; max-width: 26px; min-height: 4px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #f0f0f0, #666); transition: height .8s var(--ease); }
.chart .col-b.zero i { background: #222; }
.chart .col-b span { font-size: 10px; color: var(--fg-4); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge-item { padding: 14px; border-radius: 16px; background: #131313; border: 1px solid #222; text-align: center; transition: transform .25s var(--ease); }
.badge-item .ic { font-size: 30px; }
.badge-item b { display: block; font-size: 14px; margin-top: 6px; }
.badge-item small { color: var(--fg-3); font-size: 11px; }
.badge-item.locked { opacity: .35; filter: grayscale(1); }
.badge-item:not(.locked):hover { transform: translateY(-3px); border-color: rgba(251,191,36,.35); }
.match-row .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: #161616; border: 1px solid #262626; flex-shrink: 0; }
.res { font-weight: 800; font-size: 13px; }
.res.win { color: var(--green); } .res.loss { color: var(--red); } .res.draw { color: var(--fg-2); }

/* ---------- Leaderboard ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px; align-items: end; margin-bottom: 22px; }
.podium .p { padding: 18px 10px; border-radius: 22px; text-align: center; position: relative; }
.podium .p.r1 { padding-bottom: 28px; border-color: rgba(251,191,36,.35); box-shadow: 0 0 40px rgba(251,191,36,.08); }
.podium .medal { font-size: 28px; }
.podium .avatar-wrap { margin: 8px auto; }
.podium .avatar { margin: 8px auto; width: 64px; height: 64px; }
.podium .avatar-wrap .avatar { margin: 0; }
.podium .r1 .avatar { width: 80px; height: 80px; border-color: #d9b24a; }
.podium .nm { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium .sc { font-size: 13px; color: var(--fg-3); }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; transition: background .2s; }
.lb-row:hover { background: rgba(255,255,255,.03); }
.lb-row.me { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.lb-row .rk { width: 34px; text-align: center; font-weight: 900; color: var(--fg-3); font-family: ui-monospace, monospace; }
.lb-row .info { flex: 1; min-width: 0; }
.lb-row .info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .val { text-align: left; font-weight: 800; }
.lb-row .val small { display: block; font-weight: 500; color: var(--fg-3); font-size: 11px; }

/* ---------- Admin ---------- */
.toggle { position: relative; width: 52px; height: 30px; border-radius: 99px; background: #262626; transition: background .2s; flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; background: #888; transition: all .25s var(--ease); }
.toggle.on { background: #3a7d5c; } .toggle.on::after { right: 25px; background: #fff; }

/* ---------- Cosmetics & Currency ---------- */
.coin-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px;
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.28); color: #fcd34d;
  font-weight: 800; font-size: 13px; white-space: nowrap;
}
.coin-pill svg { width: 15px; height: 15px; }

.avatar-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.avatar-wrap.frame-silver { padding: 3px; background: linear-gradient(135deg, #fff, #8c8c8c, #e5e5e5); box-shadow: 0 0 18px rgba(255,255,255,.28); }
.avatar-wrap.frame-gold { padding: 3px; background: linear-gradient(135deg, #fef08a, #d97706, #fde047); box-shadow: 0 0 22px rgba(251,191,36,.42); }
.avatar-wrap.frame-neon { padding: 3px; background: conic-gradient(from 0deg, #38bdf8, #818cf8, #22d3ee, #38bdf8); box-shadow: 0 0 22px rgba(56,189,248,.45); }
.avatar-wrap.frame-fire { padding: 3px; background: linear-gradient(135deg, #fb7185, #f59e0b, #ef4444); box-shadow: 0 0 24px rgba(239,68,68,.48); }
.avatar-wrap.frame-crown { padding: 3px; background: linear-gradient(135deg, #fde047, #b45309, #fef08a); box-shadow: 0 0 24px rgba(250,204,21,.5); }
.avatar-wrap.frame-crown::before {
  content: '👑'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 16px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.8)); pointer-events: none; z-index: 2;
}
.avatar-wrap .avatar { border-color: #0d0d0d; margin: 0; display: block; }

.banner-crimson { background: radial-gradient(circle at 20% 25%, rgba(239,68,68,.38), transparent 55%), linear-gradient(135deg, #2a0a0d, #110708); }
.banner-gold { background: radial-gradient(circle at 80% 25%, rgba(251,191,36,.32), transparent 55%), linear-gradient(135deg, #261d09, #0c0a06); }
.banner-cyber { background: radial-gradient(circle at 30% 20%, rgba(34,211,238,.3), transparent 55%), radial-gradient(circle at 80% 80%, rgba(168,85,247,.3), transparent 55%), #0c0e1a; }
.banner-galaxy { background: radial-gradient(circle at 25% 30%, rgba(139,92,246,.38), transparent 50%), radial-gradient(circle at 75% 65%, rgba(56,189,248,.28), transparent 55%), #070812; }

.title-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px;
  font-size: 11px; font-weight: 800; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #e5e5e5;
}
.name-gold { background: linear-gradient(90deg, #fef08a, #f59e0b, #fde047); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.name-emerald { background: linear-gradient(90deg, #6ee7b7, #10b981, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.name-rainbow {
  background: linear-gradient(90deg, #f472b6, #facc15, #4ade80, #38bdf8, #c084fc, #f472b6);
  background-size: 200% auto; animation: raveRain 4s linear infinite;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
@keyframes raveRain { to { background-position: 200% center; } }

/* ---------- Shop & Daily Rewards ---------- */
.daily-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 20px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(251,191,36,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(251,191,36,.26);
}
.daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 780px) { .daily-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 460px) { .daily-grid { grid-template-columns: repeat(3, 1fr); } }
.day-cell {
  padding: 12px 8px; border-radius: 16px; text-align: center; background: #111; border: 1px solid var(--line);
  transition: transform .2s, border-color .2s; position: relative;
}
.day-cell.done { opacity: .65; background: rgba(74,222,128,.05); border-color: rgba(74,222,128,.28); }
.day-cell.next { border-color: rgba(251,191,36,.65); background: rgba(251,191,36,.09); box-shadow: 0 0 24px rgba(251,191,36,.14); }
.day-cell.upcoming { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
.day-cell .d-lbl { font-size: 11px; color: var(--fg-3); font-weight: 700; }
.day-cell .d-val { font-size: 16px; font-weight: 900; color: #fcd34d; margin: 4px 0 2px; }
.day-cell .d-xp { font-size: 11px; color: var(--fg-3); }
.daily-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.streak-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px;
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); color: #fcd34d;
  font-size: 12px; font-weight: 800;
}
.countdown-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--fg-2);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.shop-card {
  padding: 18px; border-radius: 22px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(16,16,16,.8); border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.shop-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.shop-card.equipped { border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.04); }
.shop-preview {
  height: 82px; border-radius: 16px; background: #0b0b0b; border: 1px solid #1e1e1e;
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.rarity-tag { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--fg-3); }
.rarity-tag.rare { color: #7dd3fc; border-color: rgba(125,211,252,.3); }
.rarity-tag.epic { color: #c084fc; border-color: rgba(192,132,252,.32); }
.rarity-tag.legendary { color: #fcd34d; border-color: rgba(252,211,77,.35); }

.baloot-preview {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 16px; letter-spacing: 6px; font-weight: 900;
  color: rgba(255, 255, 255, 0.42); border-radius: 14px;
}
.baloot-preview.baloot-sadu {
  background: radial-gradient(circle at 50% 50%, rgba(28,16,14,.55), rgba(16,10,9,.9)),
    repeating-linear-gradient(90deg, #5c1616 0 14px, #161412 14px 26px, #c9a86a 26px 29px, #161412 29px 41px);
  border: 1.5px solid rgba(201,168,106,.55); color: rgba(228,198,140,.75);
}
.baloot-preview.baloot-majlis {
  background: radial-gradient(circle at 50% 50%, rgba(92,24,34,.6), rgba(30,10,14,.95)), linear-gradient(145deg, #42121a, #1d090d);
  border: 1.5px solid rgba(212,175,55,.5); color: rgba(212,175,55,.75);
}
.baloot-preview.baloot-qahwa {
  background: radial-gradient(circle at 50% 50%, rgba(120,74,42,.42), rgba(28,17,11,.95)), linear-gradient(145deg, #362115, #1b100a);
  border: 1.5px solid rgba(184,115,51,.5); color: rgba(212,155,100,.75);
}
.baloot-preview.baloot-zal {
  background: radial-gradient(circle at 50% 50%, rgba(114,33,44,.6), rgba(19,28,46,.96)), linear-gradient(145deg, #1b2840, #101726);
  border: 1.5px solid rgba(218,179,96,.55); color: rgba(218,179,96,.8);
}

/* ---------- Game Mode Picker (Activity / Quick Choice) ---------- */
.mode-modal {
  max-width: 540px !important; padding: 26px !important;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.07), transparent 60%), #0e0e0e !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
.mode-head { text-align: center; margin-bottom: 18px; }
.mode-badge {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.mode-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .mode-picker { grid-template-columns: 1fr; } }
.mode-card {
  position: relative; padding: 18px 16px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1); text-align: right; cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column; gap: 10px; color: var(--fg);
}
.mode-card:hover {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.32); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.mode-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mode-ic-box {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e5e5e5;
}
.mode-ic-box svg { width: 20px; height: 20px; }
.mode-tag {
  font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 99px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--fg-2);
}
.mode-card[data-mode="people"] .mode-tag { color: #86efac; border-color: rgba(74,222,128,.28); background: rgba(74,222,128,.08); }
.mode-card[data-mode="bot"] .mode-tag { color: #93c5fd; border-color: rgba(96,165,250,.28); background: rgba(96,165,250,.08); }
.mode-card .m-tt { font-weight: 800; font-size: 16px; color: var(--fg); }
.mode-card .m-ds { font-size: 12px; color: var(--fg-3); line-height: 1.55; }

/* ---------- Custom Dark Rave Color Picker ---------- */
.rv-picker { padding: 14px; border-radius: 16px; background: #121212; border: 1px solid #262626; display: flex; flex-direction: column; gap: 12px; }
.rv-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-preset {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px;
  background: #1a1a1a; border: 1px solid #2c2c2c; font-size: 11px; font-weight: 700; color: var(--fg-2); cursor: pointer; transition: all .18s;
}
.rv-preset:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.rv-preset i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(255,255,255,.25); }
.rv-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rv-slot {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 12px;
  background: #171717; border: 1px solid #292929; cursor: pointer; font-size: 12px; font-weight: 700; transition: border-color .18s;
}
.rv-slot.active { border-color: rgba(255,255,255,.55); background: #1e1e1e; }
.rv-dot { width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); }
.rv-swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.rv-sw {
  aspect-ratio: 1; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, border-color .15s;
}
.rv-sw:hover { transform: scale(1.1); }
.rv-sw.on { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,.35); }
.rv-hue {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #30b0c7, #007aff, #5856d6, #af52de, #ff2d55, #ff3b30);
}
.rv-hue::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 2px solid #090909; box-shadow: 0 0 8px rgba(0,0,0,.7); cursor: pointer;
}
.rv-preview-box {
  padding: 10px 14px; border-radius: 12px; background: #090909; border: 1px solid #222;
  text-align: center; font-weight: 800; font-size: 20px;
}


