/* GENERATED by tools/theme-build.mjs — do not edit by hand. Theme "deep-purple" (admin-only, experimental). */
/* from tokens.css */
:root[data-theme="deep-purple"] { --gold: #8c4dff; --gold-hi: #c08cff; --gold-lo: #4f15b0; --gold-metal: linear-gradient(135deg, #c08cff 0%, #8c4dff 38%, #8c4dff 72%, #8c4dff 100%); --gold-soft: rgba(140, 77, 255, 0.14); --gold-glow: 0 0 1.375rem 2px rgba(140, 77, 255, 0.28); --gold-glow-strong: 0 0 2.25rem 0.375rem rgba(140, 77, 255, 0.45); --busy: #8c4dff; }
/* from base.css */
:root[data-theme="deep-purple"] .splash-word { background-image: var(--rr-word, linear-gradient(180deg, #fff1cc 0%, #8c4dff 42%, #8c4dff 78%, #8c4dff 100%)); }
:root[data-theme="deep-purple"] .intro-word .iw-l, :root[data-theme="deep-purple"] .intro-word .iw-v { background-image: linear-gradient(100deg, transparent 0 38%, rgba(255, 249, 234, .95) 50%, transparent 62%), var(--rr-word, linear-gradient(180deg, #fff1cc 0%, #8c4dff 42%, #8c4dff 78%, #8c4dff 100%)); }
:root[data-theme="deep-purple"] .intro-tag { color: rgba(140, 77, 255, .78); }
:root[data-theme="deep-purple"] .ring-loader-ring { border: 2px solid rgba(140, 77, 255,.18); box-shadow: 0 0 1rem -0.375rem rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .ring-loader-ring::after { background: conic-gradient(from 0deg, rgba(79, 21, 176,0) 0deg, rgba(79, 21, 176,.12) 110deg, #4f15b0 210deg, #8c4dff 300deg, #fff6dc 350deg, rgba(255,246,220,0) 360deg); filter: drop-shadow(0 0 0.1875rem rgba(140, 77, 255,.75)); }
:root[data-theme="deep-purple"] .btn-gold { color: #0c0322; box-shadow: 0 0.375rem 1.125rem -0.5rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .input:focus { border-color: rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .seg[aria-selected="true"] { color: #0c0322; box-shadow: 0 2px 0.625rem rgba(140, 77, 255,.28); }
:root[data-theme="deep-purple"] .poster-fallback-ring { border: 2px solid rgba(140, 77, 255,.55); }
@media (hover: hover) {
:root[data-theme="deep-purple"] .poster:hover .poster-art { box-shadow: 0 0 0 1.5px rgba(140, 77, 255,.55), 0 0.875rem 1.75rem -0.875rem rgba(0,0,0,.9); }
}
:root[data-theme="deep-purple"] .toast { border: 1px solid rgba(140, 77, 255,.35); }
/* from app.css */
:root[data-theme="deep-purple"] .topbar .bell.unread .ic { filter: drop-shadow(0 0 0.375rem rgba(140, 77, 255,.6)); }
:root[data-theme="deep-purple"] .nav-item.active .ic { filter: drop-shadow(0 0 0.375rem rgba(140, 77, 255,.9)) drop-shadow(0 0 1rem rgba(140, 77, 255,.55)); }
:root[data-theme="deep-purple"] .nav-item.active .nav-label { text-shadow: 0 0 0.625rem rgba(140, 77, 255,.65); }
:root[data-theme="deep-purple"] .bottom-nav .nav-item.active::before { background: radial-gradient(closest-side, rgba(140, 77, 255,.28), transparent); }
:root[data-theme="deep-purple"] .banner { border-bottom: 1px solid rgba(140, 77, 255,.25); }
:root[data-theme="deep-purple"] .room-indicator { border: 1px solid rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .ri-live.ri-warn { background: #8c4dff; }
:root[data-theme="deep-purple"] .st-room .st-dot { background: #8c4dff; box-shadow: 0 0 0.375rem rgba(140, 77, 255,.7); }
:root[data-theme="deep-purple"] .avatar.ring-online { box-shadow: 0 0 0 2.5px var(--gold), 0 0 0.875rem rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .search.open .search-bar, :root[data-theme="deep-purple"] .search-bar:focus-within { border-color: rgba(140, 77, 255,.55); box-shadow: 0 0 0 0.25rem rgba(140, 77, 255,.08); }
:root[data-theme="deep-purple"] .poster-add.on { color: #0c0322; }
:root[data-theme="deep-purple"] .invite-card { background: linear-gradient(160deg, rgba(140, 77, 255,.10), rgba(20,20,20,.9) 55%); border: 1px solid rgba(140, 77, 255,.30); }
:root[data-theme="deep-purple"] .seat.on { box-shadow: 0 0 0.375rem rgba(140, 77, 255,.7); }
@media (hover: hover) {
:root[data-theme="deep-purple"] .room-card:hover { border-color: rgba(140, 77, 255,.35); }
}
:root[data-theme="deep-purple"] .star.on { text-shadow: 0 0 0.75rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .heart-btn.on { filter: drop-shadow(0 0 0.5rem rgba(140, 77, 255,.6)); }
:root[data-theme="deep-purple"] .profile-banner { background: radial-gradient(ellipse at 70% 20%, rgba(140, 77, 255,.28), transparent 60%), linear-gradient(180deg, #0c0322, var(--bg)); }
:root[data-theme="deep-purple"] .profile-avatar .avatar { box-shadow: 0 0 0 0.1875rem rgba(140, 77, 255,.85), var(--gold-glow); }
:root[data-theme="deep-purple"] .notif.unread { background: linear-gradient(90deg, rgba(140, 77, 255,.13), transparent); }
:root[data-theme="deep-purple"] .auth-screen, :root[data-theme="deep-purple"] .system-screen { background: radial-gradient(ellipse at 50% 0%, rgba(140, 77, 255,.12), transparent 60%), var(--bg); }
:root[data-theme="deep-purple"] .ob-item.granted { border-color: rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .qr-frame { box-shadow: 0 0 0 2px var(--gold), 0 0 1.75rem rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .stat.friends-open b { background-image: linear-gradient(180deg, #fffaf0 0%, #c08cff 14%, #8c4dff 38%, #4f15b0 62%, #4f15b0 80%, #8c4dff 92%, #8c4dff 100%); filter: drop-shadow(0 0 .5px rgba(255,236,200,.9)) drop-shadow(0 0 0.4375rem rgba(140, 77, 255,.45)); }
:root[data-theme="deep-purple"] .rooms-search { background: linear-gradient(180deg, rgba(140, 77, 255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(140, 77, 255,.45); box-shadow: 0 0 0 0.25rem rgba(140, 77, 255,.08), 0 0.625rem 1.75rem rgba(0,0,0,.35); }
:root[data-theme="deep-purple"] .fab-create { color: #0c0322; background: linear-gradient(135deg, #c08cff, var(--gold) 55%, #4f15b0); box-shadow: 0 0.625rem 1.625rem rgba(0,0,0,.45), 0 0 1.375rem rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .room-card.pinned { border-color: rgba(140, 77, 255,.45); background: linear-gradient(135deg, rgba(140, 77, 255,.08), var(--surface-1) 60%); }
:root[data-theme="deep-purple"] .room-pin { filter: drop-shadow(0 0 0.375rem rgba(140, 77, 255,.6)); }
:root[data-theme="deep-purple"] .room-pin svg { fill: rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .bell-btn.on { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .bell-btn.on .ic { filter: drop-shadow(0 0 0.375rem rgba(140, 77, 255,.6)); }
:root[data-theme="deep-purple"] .season-progress i { background: linear-gradient(90deg, var(--gold), #c08cff); }
:root[data-theme="deep-purple"] .ep-check { color: #0c0322; }
:root[data-theme="deep-purple"] .ep.next { background: linear-gradient(90deg, rgba(140, 77, 255,.07), transparent 40%); }
:root[data-theme="deep-purple"] .legacy-card { border: 1px solid rgba(140, 77, 255,.22); box-shadow: 0 0 2.5rem -1.125rem rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .legacy-tab.on { background: rgba(140, 77, 255,.16); box-shadow: inset 0 0 0 1px rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .legacy-big small { color: var(--gold-2, #c08cff); }
:root[data-theme="deep-purple"] .legacy-row.me .avatar { box-shadow: 0 0 0 1.5px var(--gold), 0 0 0.75rem -0.1875rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .legacy-row.me .legacy-tr i, :root[data-theme="deep-purple"] .legacy-row.first .legacy-tr i { background: linear-gradient(90deg, var(--gold), var(--gold-2, #c08cff)); }
:root[data-theme="deep-purple"] .legacy-pin { background: rgba(140, 77, 255,.10); border: 1px solid rgba(140, 77, 255,.4); }
:root[data-theme="deep-purple"] .replay { border: 1.5px solid rgba(140, 77, 255,.55); background: rgba(140, 77, 255,.08); }
:root[data-theme="deep-purple"] .replay.inf { background: rgba(140, 77, 255,.18); box-shadow: 0 0 1rem -0.25rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .tour-icon { border: 1px solid rgba(140, 77, 255,.4); }
:root[data-theme="deep-purple"] .help-msg.me { border: 1px solid rgba(140, 77, 255,.4); }
:root[data-theme="deep-purple"] .ticket-status.open { border-color: rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .sev.medium { background: rgba(140, 77, 255,.18); }
:root[data-theme="deep-purple"] .import-progress i { background: linear-gradient(90deg, var(--gold), var(--gold-2, #c08cff)); }
:root[data-theme="deep-purple"] .lang-switch button.on { color: #0c0322; }
:root[data-theme="deep-purple"] .cm-gold { box-shadow: 0 0 0 1px var(--gold), 0 0 1.5rem rgba(140, 77, 255,.25); }
:root[data-theme="deep-purple"] .cm-mention { color: var(--gold, #8c4dff); }
:root[data-theme="deep-purple"] .cm-act.on { color: var(--gold, #8c4dff); }
:root[data-theme="deep-purple"] .terms-gate { background: radial-gradient(120% 60% at 50% 0%, rgba(140, 77, 255,.10), transparent 60%); }
:root[data-theme="deep-purple"] .tg-dot { box-shadow: 0 0 0.625rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .rooms-friends .avatar.ring-online { box-shadow: 0 0 0 1.5px var(--gold), 0 0 0.625rem rgba(140, 77, 255,.32); }
:root[data-theme="deep-purple"] .rooms-friends .friend-add .avatar { box-shadow: 0 0 0.75rem rgba(140, 77, 255,.2); }
:root[data-theme="deep-purple"] .cat-pill[aria-selected="true"] { background: linear-gradient(180deg, #c08cff 0%, #8c4dff 55%, #8c4dff 100%); color: #0c0322; box-shadow: 0 0 1rem rgba(140, 77, 255,.38), inset 0 1px 0 rgba(255,255,255,.35); }
:root[data-theme="deep-purple"] .hero-btn-gold { background: linear-gradient(180deg, #c08cff 0%, #8c4dff 55%, #8c4dff 100%); color: #0c0322; box-shadow: 0 0 0.875rem rgba(140, 77, 255,.3), inset 0 1px 0 rgba(255,255,255,.35); }
:root[data-theme="deep-purple"] .hero-btn-ghost[aria-pressed="true"] { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .hero-dot[aria-selected="true"]::before { box-shadow: 0 0 0.375rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .fy-icon { filter: drop-shadow(0 0 0.4375rem rgba(140, 77, 255,.45)); }
@media (hover: hover) {
:root[data-theme="deep-purple"] .fy-poster:hover .poster-art { box-shadow: 0 0 0 1.5px rgba(140, 77, 255,.55), 0 0.875rem 1.75rem -0.875rem rgba(0,0,0,.9); }
}
:root[data-theme="deep-purple"] .rec-btn:active, :root[data-theme="deep-purple"] .rec-btn[aria-expanded="true"] { border-color: rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .rs-option:active { border-color: rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .rs-option-ic { background: rgba(140, 77, 255,.08); }
:root[data-theme="deep-purple"] .rs-check { color: #0c0322; }
:root[data-theme="deep-purple"] .rs-note:focus, :root[data-theme="deep-purple"] .rs-input:focus, :root[data-theme="deep-purple"] .rs-room:focus-visible { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .rs-room[aria-checked="true"] { background: rgba(140, 77, 255,.08); }
:root[data-theme="deep-purple"] .rs-sent-ic { box-shadow: 0 0 1.125rem rgba(140, 77, 255,.2); }
:root[data-theme="deep-purple"] .soc-rsvp[aria-pressed="true"] { color: #0c0322; }
:root[data-theme="deep-purple"] .soc-answer-v.on { border-color: rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .auth-create { border: 1px solid rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .action-menu { border: 1px solid rgba(140, 77, 255,.22); }
:root[data-theme="deep-purple"] .tp-thumb { box-shadow: 0 0 0 1px rgba(140, 77, 255,.38), 0 0.625rem 1.375rem -0.875rem rgba(0,0,0,.9); }
:root[data-theme="deep-purple"] .tp-big { box-shadow: 0 0 0 1px rgba(140, 77, 255,.45), 0 1.5rem 3.75rem -1.25rem rgba(0,0,0,.9); }
:root[data-theme="deep-purple"] .tpa-thumb { box-shadow: 0 0 0 1px rgba(140, 77, 255,.38), 0 0.625rem 1.375rem -0.875rem rgba(0,0,0,.9); }
:root[data-theme="deep-purple"] .lib-rating { color: #0c0322; background: linear-gradient(135deg, #c08cff, #8c4dff 55%, #4f15b0); }
:root[data-theme="deep-purple"] .cm-spoiler-opt input { accent-color: var(--gold, #8c4dff); }
:root[data-theme="deep-purple"] .cm-spoiler { background: rgba(140, 77, 255,.07); border: 1px dashed rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .cm-spoiler-show { border: 1px solid rgba(140, 77, 255,.5); color: var(--gold, #8c4dff); }
:root[data-theme="deep-purple"] .notif-gold { box-shadow: inset 0.1875rem 0 0 var(--gold, #8c4dff); background: rgba(140, 77, 255,.07); }
:root[data-theme="deep-purple"] [dir="rtl"] .notif-gold { box-shadow: inset -0.1875rem 0 0 var(--gold, #8c4dff); }
:root[data-theme="deep-purple"] .ep-check.fm-gold { color: #0c0322 !important; box-shadow: 0 0 0 1px rgba(140, 77, 255, .6); }
:root[data-theme="deep-purple"] .fm-poster { box-shadow: 0 0 0 1px rgba(140, 77, 255, .35); }
:root[data-theme="deep-purple"] .fav-card { border: 1px solid rgba(140, 77, 255,.22); }
:root[data-theme="deep-purple"] .fav-tab.on { color: #0c0322; }
:root[data-theme="deep-purple"] .fav-add { border: 1px dashed rgba(140, 77, 255,.3); }
:root[data-theme="deep-purple"] .fav-pick-n { color: #0c0322; }
:root[data-theme="deep-purple"] .fav-card { border: 1px solid rgba(140, 77, 255,.22); box-shadow: 0 0 2.5rem -1.125rem rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fav-tab.on { color: #8c4dff; box-shadow: inset 0 1px 0 rgba(192, 140, 255, .4); }
:root[data-theme="deep-purple"] .fav-slot { border: 1.5px dashed rgba(140, 77, 255,.3); }
:root[data-theme="deep-purple"] .fav-slot.drop { box-shadow: 0 0 0 2.5px var(--gold-hi, #8c4dff), 0 0 1.375rem -0.25rem rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .fav-rate-star, :root[data-theme="deep-purple"] .fav-rate-n { background-image: linear-gradient(180deg, #fff4d6 0%, #8c4dff 30%, #8c4dff 62%, #4f15b0 100%); filter: drop-shadow(0 0 .5px rgba(255, 236, 200, .8)) drop-shadow(0 0 0.375rem rgba(140, 77, 255, .35)); }
:root[data-theme="deep-purple"]:root:root:root:not([data-theme]) :is(.fav-rate-star, .fav-rate-n) { filter: var(--rr-edge) drop-shadow(0 0 0.375rem rgba(140, 77, 255, .35)); }
:root[data-theme="deep-purple"] .legacy-bar i.lg-movies, :root[data-theme="deep-purple"] .legacy-legend i.lg-movies { background: #8c4dff; }
:root[data-theme="deep-purple"] .legacy-bar i.lg-series, :root[data-theme="deep-purple"] .legacy-legend i.lg-series { background: #c08cff; }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .ep-check.on { color: #8c4dff; box-shadow: var(--rr-glow), inset 0 1px 0 rgba(192, 140, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .35); }
:root[data-theme="deep-purple"]:root:root:root:not([data-theme]) .replay { border-color: rgba(140, 77, 255, .6); box-shadow: 0 0 0.875rem -0.375rem rgba(140, 77, 255, .7); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .ri-live { box-shadow: var(--rr-glow), inset 0 1px 0 rgba(192, 140, 255, .4); }
:root[data-theme="deep-purple"] .fm-stage { background: radial-gradient(ellipse at 50% 36%, rgba(12, 3, 34, .5), transparent 60%), rgba(4, 4, 5, .965); }
:root[data-theme="deep-purple"] .fm-stage .fm-poster { box-shadow: 0 0 0 1.5px rgba(140, 77, 255, .55), 0 0 2.75rem -0.5rem rgba(140, 77, 255, .55), 0 1.625rem 3.75rem -1.5rem rgba(0,0,0,.95); }
:root[data-theme="deep-purple"] .fm-stage .fm-title { background-image: linear-gradient(180deg, #fff4d6 0%, #8c4dff 40%, #4f15b0 100%); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .settings-index { box-shadow: 0 0 1.875rem -1.125rem rgba(var(--fm-glow), .55), inset 1px 1px 0 rgba(192, 140, 255, .07); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .settings-index > .settings-link + .settings-link::before { border-top-color: rgba(140, 77, 255, .14); }
:root[data-theme="deep-purple"] .fm-stage { --fm-metal: linear-gradient(180deg, #fffaf0 0%, #c08cff 22%, #8c4dff 48%, #4f15b0 76%, #c08cff 100%); }
:root[data-theme="deep-purple"]:root:root:root:not([data-theme]) .fm-stage { --fm-metal: linear-gradient(180deg, #fff6dc 0%, #c08cff 20%, #8c4dff 46%, #4f15b0 74%, #8c4dff 100%); }
:root[data-theme="deep-purple"] .fm-stage .fm-close { color: #8c4dff; }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage.fm-stage.fm-stage :is(.fm-title, .fm-kicker, .fm-fact b) { background-image: linear-gradient(105deg, transparent 38%, rgba(192, 140, 255, .95) 50%, transparent 62%), var(--fm-metal); filter: drop-shadow(0 -0.6px 0 rgba(192, 140, 255, .7)) drop-shadow(0 0 0.625rem rgba(var(--fm-glow-c), .5)) drop-shadow(0 0 1.375rem rgba(var(--fm-glow-c), .22)); }
:root[data-theme="deep-purple"]:root:root:root:not([data-theme]) .fm-stage { --fm-deep: #4f15b0; --fm-mid: #4f15b0; --fm-semi: #8c4dff; --fm-num-low: #4f15b0; --fm-btn-a: #0c0322; --fm-btn-b: #0c0322; }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-poster { box-shadow: 0 0 1.375rem -2px rgba(140, 77, 255, .42), 0 0 3.75rem -0.5rem rgba(var(--fm-glow-c), .55), 0 1.625rem 3.75rem -1.5rem rgba(0, 0, 0, .95); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-poster::before { background:
    radial-gradient(38% 30% at 0% 0%, #fff1cc, rgba(255, 241, 204, 0) 70%), radial-gradient(38% 30% at 100% 0%, #c08cff, rgba(192, 140, 255, 0) 70%),
    radial-gradient(38% 30% at 0% 100%, #8c4dff, rgba(140, 77, 255, 0) 70%), radial-gradient(38% 30% at 100% 100%, #c08cff, rgba(192, 140, 255, 0) 70%),
    linear-gradient(180deg, #8c4dff, #4f15b0 35%, #4f15b0 60%, #8c4dff 100%); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage.fm-stage.fm-stage .fm-fact b { background-image: linear-gradient(180deg, #8c4dff 0%, #8c4dff 26%, var(--fm-mid) 62%, var(--fm-num-low) 100%); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-fact b .fm-star { background-image: linear-gradient(180deg, #c08cff, #8c4dff 45%, #4f15b0); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-facts { border-block: 1px solid rgba(140, 77, 255, .14); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-facts::before { background: linear-gradient(90deg, transparent, rgba(140, 77, 255, .55) 25%, #c08cff 50%, rgba(140, 77, 255, .55) 75%, transparent); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-fact + .fm-fact { border-inline-start: 1px solid rgba(140, 77, 255, .14); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-close { background: linear-gradient(180deg, var(--fm-btn-a), var(--fm-btn-b)) padding-box,
    radial-gradient(34% 70% at 50% 0%, #c08cff, rgba(192, 140, 255, 0) 72%) border-box, radial-gradient(34% 70% at 50% 100%, #c08cff, rgba(192, 140, 255, 0) 72%) border-box,
    linear-gradient(90deg, rgba(79, 21, 176, .55), rgba(140, 77, 255, .75) 50%, rgba(79, 21, 176, .55)) border-box; box-shadow: 0 0 1.125rem -0.5rem rgba(140, 77, 255, .5), inset 0 1px 0 rgba(192, 140, 255, .12); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-poster::before { background:
    radial-gradient(30% 22% at 0% 0%, #fff4d6, rgba(255, 244, 214, 0) 75%), radial-gradient(30% 22% at 100% 0%, #ffe8b8, rgba(255, 232, 184, 0) 75%),
    radial-gradient(30% 22% at 0% 100%, #8c4dff, rgba(140, 77, 255, 0) 75%), radial-gradient(30% 22% at 100% 100%, #c08cff, rgba(192, 140, 255, 0) 75%),
    linear-gradient(180deg, #8c4dff, #4f15b0 45%, #4f15b0 70%, #8c4dff 100%); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage.fm-stage.fm-stage .fm-fact b { background-image: linear-gradient(180deg, #c08cff 0%, #8c4dff 24%, var(--fm-mid) 58%, var(--fm-deep) 100%); }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-close { background: linear-gradient(180deg, var(--fm-btn-a), var(--fm-btn-b)) padding-box,
    radial-gradient(30% 80% at 50% 0%, #fff0c8, rgba(255, 240, 200, 0) 75%) border-box, radial-gradient(30% 80% at 50% 100%, #c08cff, rgba(192, 140, 255, 0) 75%) border-box,
    linear-gradient(90deg, #4f15b0, #8c4dff 30%, #8c4dff 50%, #8c4dff 70%, #4f15b0) border-box; }
:root[data-theme="deep-purple"]:root:root:root:is([data-theme="royal-red"], [data-theme="deep-purple"], [data-theme="royal-green"], :not([data-theme])) .fm-stage .fm-facts::before { background: linear-gradient(90deg, transparent, rgba(140, 77, 255, .7) 22%, #fff0c8 50%, rgba(140, 77, 255, .7) 78%, transparent); }
:root[data-theme="deep-purple"] .ph-details { color: #0c0322; }
:root[data-theme="deep-purple"] .cw-bar > i { background: linear-gradient(90deg, var(--gold-lo, #8c4dff), var(--gold-hi, #c08cff)); }
:root[data-theme="deep-purple"] .ts-check { color: #0c0322; }
:root[data-theme="deep-purple"] .sched-day b { background-image: var(--rr-num, linear-gradient(180deg, #fff1cc, #8c4dff 45%, #4f15b0)); }
html[data-theme="deep-purple"]:root .ph-title, html[data-theme="deep-purple"]:root .ph-genres span { background-image: var(--rr-num, linear-gradient(180deg, #fff1cc 0%, #c08cff 16%, #8c4dff 40%, #4f15b0 62%, #8c4dff 100%)); }
/* from room.css */
:root[data-theme="deep-purple"] .room-view { background: radial-gradient(ellipse at 50% -10%, rgba(140, 77, 255,.10), transparent 55%), var(--bg); }
:root[data-theme="deep-purple"] .room-view.reconnecting .rh-status::before { background: #8c4dff; }
:root[data-theme="deep-purple"] .stage-idle { background: radial-gradient(circle at 50% 45%, rgba(140, 77, 255,.12), transparent 60%), #060606; }
:root[data-theme="deep-purple"] .stage-fab { border: 1px solid rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .audio-unlock { color: #0c0322; }
:root[data-theme="deep-purple"] .chat-new-pill { color: #0c0322; }
:root[data-theme="deep-purple"] .chat-form:focus-within { border-color: rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .chat-send { color: #0c0322; }
:root[data-theme="deep-purple"] .rc-btn.on > .ic { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .mem-stat { background: linear-gradient(160deg, rgba(140, 77, 255,.10), rgba(255,255,255,.02)); }
:root[data-theme="deep-purple"] .stage-exit { border: 1px solid rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .room-clock { border: 1px solid rgba(140, 77, 255,.28); }
:root[data-theme="deep-purple"] .room-clock::before { box-shadow: 0 0 0.5rem rgba(140, 77, 255,.8); }
:root[data-theme="deep-purple"] .sr-nominate { color: #0c0322; }
:root[data-theme="deep-purple"] .stage-vote { background: radial-gradient(circle at 50% 0%, rgba(140, 77, 255,.10), transparent 60%), #070707; }
:root[data-theme="deep-purple"] .vote-dot { box-shadow: 0 0 0.5rem rgba(140, 77, 255,.8); }
:root[data-theme="deep-purple"] .vote-add { border: 1px solid rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .vote-empty-ico { border: 1px solid rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .stage-vote-fab { border: 1px solid rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .ep-pick, :root[data-theme="deep-purple"] .ep-mark, :root[data-theme="deep-purple"] .ep-chip { border: 1px solid rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .ep-pick-row.on { box-shadow: inset 0 0 0 1px rgba(140, 77, 255,.4); }
:root[data-theme="deep-purple"] .tap-play-btn { color: #0c0322; background: linear-gradient(135deg, #c08cff, #8c4dff); box-shadow: 0 0 1.875rem -0.375rem rgba(140, 77, 255,.8); }
:root[data-theme="deep-purple"] .unmute-pill { border: 1px solid rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .rate-sheet { border: 1px solid rgba(140, 77, 255,.45); }
:root[data-theme="deep-purple"] .stage-ui { box-shadow: inset 0 1px 0 rgba(140, 77, 255,.22); }
:root[data-theme="deep-purple"] button.ep-label { border: 1px solid rgba(140, 77, 255,.35); background: rgba(140, 77, 255,.06); }
:root[data-theme="deep-purple"] .pv-icon { border: 1px solid rgba(140, 77, 255,.35); }
:root[data-theme="deep-purple"] .pv-play { color: #0c0322; }
:root[data-theme="deep-purple"] .vh-add { border: 1px solid rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .vc-rank { color: #0c0322; }
:root[data-theme="deep-purple"] .vc-trailer { border: 1px solid rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .vf-main { color: #0c0322; }
:root[data-theme="deep-purple"] .vs-opt.hi { border-color: rgba(140, 77, 255,.55); background: linear-gradient(135deg, rgba(140, 77, 255,.12), rgba(140, 77, 255,.03)); }
:root[data-theme="deep-purple"] .vs-opt.hi .vs-ico { color: #0c0322; }
:root[data-theme="deep-purple"] .vs-kind:hover, :root[data-theme="deep-purple"] .vs-kind:focus-visible { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .night-bar { border: 1px solid rgba(140, 77, 255,.38); background: linear-gradient(90deg, rgba(140, 77, 255,.12), rgba(140, 77, 255,.04)); }
:root[data-theme="deep-purple"] .night-bar.soon { background: linear-gradient(90deg, rgba(140, 77, 255,.26), rgba(140, 77, 255,.1)); box-shadow: 0 0 1.375rem rgba(140, 77, 255,.28); }
:root[data-theme="deep-purple"] .night-chip.on { background: linear-gradient(135deg, #c08cff, #8c4dff); color: #0c0322; }
:root[data-theme="deep-purple"] .night-sum { background: rgba(140, 77, 255,.07); border: 1px solid rgba(140, 77, 255,.25); }
:root[data-theme="deep-purple"] .night-row .night-ic { background: rgba(140, 77, 255,.1); }
:root[data-theme="deep-purple"] .night-ans.on { background: linear-gradient(135deg, #c08cff, #8c4dff); color: #0c0322; }
:root[data-theme="deep-purple"] .night-me.ask { color: #0c0322; }
:root[data-theme="deep-purple"] .night-me.going { border: 1px solid rgba(140, 77, 255,.5); }
:root[data-theme="deep-purple"] .participants .p:focus-visible { outline: 2px solid rgba(140, 77, 255,.85); }
:root[data-theme="deep-purple"] .participants .p-net.fair { background: #8c4dff; }
:root[data-theme="deep-purple"] .participants .p.focused { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .rc-share > .ic { border-color: rgba(140, 77, 255,.4); }
:root[data-theme="deep-purple"] .rc-share.on > .ic { border-color: rgba(140, 77, 255,.6); }
:root[data-theme="deep-purple"] .chat-show.on { border-color: rgba(140, 77, 255,.55); }
:root[data-theme="deep-purple"] .chat-unread { color: #0c0322; }
:root[data-theme="deep-purple"] .rank-c-gold { --rank: #8c4dff; }
:root[data-theme="deep-purple"] .rank-c-bronze { --rank: #8c4dff; }
:root[data-theme="deep-purple"] .p.host .p-crown { color: #8c4dff; box-shadow: 0 0 0 1px rgba(140, 77, 255, .55); }
:root[data-theme="deep-purple"] .p.hand-up .p-hand { box-shadow: 0 0 0 1px rgba(140, 77, 255, .55); }
/* hand-written: tools/themes/metal.css */
/* The metal themes (owner 2026-10-19). Black stays black; words are graded gold; numbers are graded in the theme colour;
   every frame is metal of the theme colour whose very edge catches gold light from one source (top-left), fading softly.
   Written in Royal Red's colours: tools/theme-build.mjs swaps them for each theme's own (tools/themes/themes.mjs) and
   replaces ":root:root:root[data-theme="deep-purple"]" with the theme's scope. */
:root:root:root[data-theme="deep-purple"] {
  --text: #f3dcae; --text-2: #d2b583; --text-3: #a88f66;
  --danger: #ff7a3d; --danger-soft: rgba(255, 122, 61, .14);         /* warnings must not look like the theme's buttons */
  --rr-red: linear-gradient(180deg, #8a3cf0 0%, #5a17c4 30%, #2a0870 70%, #12033a 100%);
  /* numbers and gold as polished metal (owner: a natural gradient and a natural shine, numbers too): a bright top light,
     the colour itself, a deep band, and a soft light bouncing back at the bottom */
  --rr-num: linear-gradient(180deg, #ffc9ce 0%, #c08cff 16%, #8c4dff 40%, #5a17c4 62%, #33098a 80%, #b8283f 93%, #e2556a 100%);
  --rr-word: linear-gradient(180deg, #fff1cc 0%, #f1c879 42%, #c48c3c 78%, #e8bd74 100%);
  --rr-gold: linear-gradient(180deg, #fffaf0 0%, #ffe6ad 14%, #f3c27a 38%, #c48a3a 62%, #8a5a20 80%, #c9974c 92%, #f0cc87 100%);
  --rr-rim: linear-gradient(135deg, #fff4d8 0%, #f5c97f 5%, #e9a46a 9%, #e0304a 17%, #5a17c4 32%, #33098a 58%, #4510a8 80%, #b07ad8 92%, #f3c27a 97%, #fff0cc 100%);
  --rr-ring: conic-gradient(from 0deg, #5a1cc4 0deg, #3c0d96 60deg, #33098a 110deg, #b07ad8 132deg, #f3c27a 138deg, #b07ad8 144deg, #33098a 175deg, #3c0d96 230deg, #6a24d8 275deg, #f0a46c 300deg, #fff4d8 315deg, #f0a46c 330deg, #8a3cf0 345deg, #5a1cc4 360deg);
  --rr-glow: 0 0 1rem -2px rgba(128, 56, 245, .5), 0 0 2.5rem -0.75rem rgba(128, 56, 245, .55);
  --rr-edge: drop-shadow(0 -0.6px 0 rgba(255, 214, 150, .85)) drop-shadow(0 0 .35px rgba(255, 214, 150, .55));
}

/* ---- frames: crimson metal with a gold-lit edge ----
   Controls paint the edge as a border-box background (no positioning needed); pictures, avatars and rings use ::after. */
:root:root:root[data-theme="deep-purple"] :is(.cat-pill, .cat-search, .hero-btn, .btn, .chip, .seg, .cm-entry, .re-step, .legacy-seg, .legacy-help, .room-card, .room-card-icon, .settings-link) {
  border: 1.2px solid transparent; background: var(--rr-fill) padding-box, var(--rr-rim) border-box; }
:root:root:root[data-theme="deep-purple"] :is(.re-step, .legacy-help, .room-card-icon, .hero-btn-icon) { background: var(--rr-fill) padding-box, var(--rr-ring) border-box; }
:root:root:root[data-theme="deep-purple"] { --rr-fill: linear-gradient(180deg, #0e0b13, #060509); }
:root:root:root[data-theme="deep-purple"] .room-card { --rr-fill: linear-gradient(160deg, #0d0a12 0%, #060509 55%); }
:root:root:root[data-theme="deep-purple"] .room-card-icon { --rr-fill: radial-gradient(circle at 35% 30%, #2a0870, #110a1c); color: #b07cff; }
:root:root:root[data-theme="deep-purple"] :is(.btn-gold, .hero-btn-gold, .cat-pill[aria-selected="true"], .seg[aria-selected="true"]) { --rr-fill: var(--rr-red); }
:root:root:root[data-theme="deep-purple"] .btn-danger { --rr-fill: linear-gradient(var(--danger), var(--danger)); color: #1a0703; }
:root:root:root[data-theme="deep-purple"] :is(.cm-entry, .room-card, .settings-link, .legacy-seg, .chip, .btn-ghost) { box-shadow: inset 1px 1px 0 rgba(255, 214, 150, .07); }

:root:root:root[data-theme="deep-purple"] :is(.hero, .legacy-card, .poster-art, .poster-add, .avatar, .brand-ring, .splash-ring, .fab-create) { border-color: transparent; }
:root:root:root[data-theme="deep-purple"] :is(.hero, .legacy-card, .brand-ring, .splash-ring) { position: relative; }
:root:root:root[data-theme="deep-purple"] :is(.hero, .legacy-card, .poster-art)::after, :root:root:root[data-theme="deep-purple"] :is(.poster-add, .avatar, .brand-ring, .splash-ring, .fab-create)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 2; background: var(--rr-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
:root:root:root[data-theme="deep-purple"] :is(.poster-add, .avatar, .brand-ring, .splash-ring, .fab-create)::after { background: var(--rr-ring); padding: 1.6px; }
:root:root:root[data-theme="deep-purple"] .avatar::after { inset: -2px; padding: 1.6px; }
:root:root:root[data-theme="deep-purple"] .brand-ring { border-width: 0; } :root:root:root[data-theme="deep-purple"] .brand-ring::after { padding: 2.4px; }
:root:root:root[data-theme="deep-purple"] .splash-ring { border-width: 0; } :root:root:root[data-theme="deep-purple"] .splash-ring::after { padding: 0.2rem; }
:root:root:root[data-theme="deep-purple"] .profile-avatar .avatar::after { inset: -0.25rem; padding: 0.2rem; }
:root:root:root[data-theme="deep-purple"] :is(.avatar.ring-online, .avatar.ring-host, .profile-avatar .avatar, .rooms-friends .avatar.ring-online, .legacy-row.me .avatar) { box-shadow: none; }
:root:root:root[data-theme="deep-purple"] .avatar.ring-offline::after, :root:root:root[data-theme="deep-purple"] .avatar.add::after { opacity: .55; }

/* ---- glow only where it means something ---- */
:root:root:root[data-theme="deep-purple"] :is(.brand-ring, .splash-ring, .profile-avatar .avatar) { box-shadow: var(--rr-glow); }
:root:root:root[data-theme="deep-purple"] .legacy-card { background: linear-gradient(160deg, #0d0a12, #060509 60%); box-shadow: 0 0 2.5rem -1.375rem rgba(128, 56, 245, .55), inset 1px 1px 0 rgba(255, 214, 160, .08); }

/* ---- main actions: the crimson gradient, deep to a little light, a line of gold light on top, gold lettering ---- */
:root:root:root[data-theme="deep-purple"] :is(.btn-gold, .hero-btn-gold, .cat-pill[aria-selected="true"], .seg[aria-selected="true"]) { color: #f6cf86; text-shadow: 0 1px 0 rgba(20, 4, 46, .55);
  box-shadow: var(--rr-glow), inset 0 1px 0 rgba(255, 214, 160, .45), inset 0 -1px 0 rgba(0, 0, 0, .4); }
:root:root:root[data-theme="deep-purple"] .legacy-tab.on { background: var(--rr-red); color: #f6cf86; box-shadow: inset 0 1px 0 rgba(255, 214, 160, .4); }
:root:root:root[data-theme="deep-purple"] .fab-create { background: radial-gradient(circle at 32% 25%, #8f45f5 0%, #5a17c4 40%, #2a0870 80%, #150440 100%); color: #f6cf86;
  box-shadow: 0 0.625rem 1.625rem rgba(0, 0, 0, .5), var(--rr-glow), inset 0 1px 0 rgba(255, 214, 160, .45); }
:root:root:root[data-theme="deep-purple"] :is(.btn-ghost, .hero-btn-icon, .cat-search, .cat-pill:not([aria-selected="true"]), .seg:not([aria-selected="true"]), .chip, .re-step) { color: var(--text); }
:root:root:root[data-theme="deep-purple"] .legacy-bar > * { background: linear-gradient(90deg, #8a3cf0 0%, #5a17c4 30%, #2a0870 100%); }

/* ---- words: graded gold; numbers: graded crimson; large ones catch the gold light on their top edge ---- */
:root:root:root[data-theme="deep-purple"] :is(h1, h2, h3, .page-title, .brand-word, .fy-name, .poster-title, .friend-name, .room-card-text b, .hero-title, .title-name, .stat span, .legacy-cap, .set-label, .settings-link > span, .section-head a, .see-all, .hero-rank, .read-more) {
  background-image: var(--rr-word); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root:root:root[data-theme="deep-purple"] :is(.stat b, .legacy-big, .legacy-big small, .fy-match, .re-saved-num, .score .gold, .legacy-hrs, .brand-o, .splash-word span) {
  background-image: var(--rr-num); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root:root:root[data-theme="deep-purple"] :is(h1, h2, .hero-title, .title-name, .stat b, .legacy-big, .re-saved-num, .brand-word) { filter: var(--rr-edge); }
:root:root:root[data-theme="deep-purple"] .hero-title a { -webkit-text-fill-color: transparent; }
:root:root:root[data-theme="deep-purple"] .splash-word { color: #f1c879; }
/* the opening (owner 2026-11-09): the word in graded gold like every word, its line in a quiet gold, in every theme */
:root:root:root[data-theme="deep-purple"] .splash-word { background-image: var(--rr-word); }
:root:root:root[data-theme="deep-purple"] .intro-word .iw-l, :root:root:root[data-theme="deep-purple"] .intro-word .iw-v { background-image: linear-gradient(100deg, transparent 0 38%, rgba(255, 249, 234, .95) 50%, transparent 62%), var(--rr-word); }
:root:root:root[data-theme="deep-purple"] .intro-tag { color: rgba(214, 176, 108, .78); }
:root:root:root[data-theme="deep-purple"] .hero-dot[aria-selected="true"]::before { background: var(--rr-gold); box-shadow: 0 0 0.375rem rgba(243, 194, 122, .5); }

/* ---- bottom navigation: gold icons; the active one glows in the theme colour ---- */
:root:root:root[data-theme="deep-purple"] .nav-item { color: #9c8662; }
:root:root:root[data-theme="deep-purple"] .nav-item.active { color: #f3c27a; }
:root:root:root[data-theme="deep-purple"] .nav-item.active .ic, :root:root:root[data-theme="deep-purple"] .nav-item.active .ic * { stroke: url(#theme-gold-icon); }
:root:root:root[data-theme="deep-purple"] .nav-item.active .ic { filter: drop-shadow(0 0 .5px rgba(255, 236, 200, .9)) drop-shadow(0 0 0.5rem rgba(128, 56, 245, .75)); }
:root:root:root[data-theme="deep-purple"] .nav-item.active .nav-label { background-image: var(--rr-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
:root:root:root[data-theme="deep-purple"] .bottom-nav .nav-item.active::before { width: 4.5rem; height: 3.125rem; top: 0; background: radial-gradient(closest-side, rgba(128, 56, 245, .42), rgba(128, 56, 245, .12) 60%, transparent); }
:root:root:root[data-theme="deep-purple"] .bottom-nav { box-shadow: 0 -1px 0 rgba(128, 56, 245, .25); }

/* ---- the bell: gold; filled with the theme colour when something is unread ---- */
:root:root:root[data-theme="deep-purple"] .topbar .bell { color: #f3c27a; }
:root:root:root[data-theme="deep-purple"] .topbar .bell .ic, :root:root:root[data-theme="deep-purple"] .topbar .bell .ic * { stroke: url(#theme-gold-icon); }
:root:root:root[data-theme="deep-purple"] .topbar .bell.unread .ic path:first-child { fill: url(#theme-accent); }
:root:root:root[data-theme="deep-purple"] .topbar .bell.unread .ic { filter: drop-shadow(0 0 0.375rem rgba(128, 56, 245, .7)); }
/* the friend / Room bell: gold outline when off; filled with the theme colour when on (owner rule) */
:root:root:root[data-theme="deep-purple"] .bell-btn { color: #f3c27a; }
:root:root:root[data-theme="deep-purple"] .bell-btn .ic, :root:root:root[data-theme="deep-purple"] .bell-btn .ic * { stroke: url(#theme-gold-icon); }
:root:root:root[data-theme="deep-purple"] .bell-btn.on .ic path:first-child { fill: url(#theme-accent); }
:root:root:root[data-theme="deep-purple"] .bell-btn.on .ic { filter: drop-shadow(0 0 0.375rem rgba(128, 56, 245, .7)); }
#theme-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- For You mark: a ring of crimson metal catching gold light, and a gold star with a natural shine ---- */
:root:root:root[data-theme="deep-purple"] .fy-icon { color: #6a24d8; filter: drop-shadow(0 0 0.375rem rgba(128, 56, 245, .45)); }
:root:root:root[data-theme="deep-purple"] .fy-icon circle { stroke: url(#theme-ring); }
:root:root:root[data-theme="deep-purple"] .fy-icon path { fill: url(#theme-gold); filter: drop-shadow(0 0 2px rgba(255, 220, 150, .9)); }

/* ---- every edge on the site (owner 2026-10-19): gold-lit rims on every box and gold-lit hairlines where only one side
   is drawn. The page, cards and sheets stay black in every theme (owner). ---- */
:root:root:root[data-theme="deep-purple"] {
  --line: rgba(243, 194, 122, .14); --line-strong: rgba(243, 194, 122, .24);
  --rr-line: linear-gradient(90deg, rgba(51, 9, 138, 0) 0%, #4510a8 14%, #b07ad8 34%, #f3c27a 50%, #b07ad8 66%, #4510a8 86%, rgba(51, 9, 138, 0) 100%);
}
:root:root:root[data-theme="deep-purple"] :is(.season-chip, .set-tile, .toggle, .cm-gate-card, .dialog, .help-log, .help-msg.bot, .search-bar, .set-group-body, .chat-form, .input, .room-indicator, .banner-edit-preview, .theme-option, .room-clock) {
  border-color: transparent; border-style: solid; background: var(--rr-fill) padding-box, var(--rr-rim) border-box; }
:root:root:root[data-theme="deep-purple"] :is(.person-photo, .seat-empty, .poster-fallback-ring, .stage-ring) { border-color: transparent; border-style: solid; background: var(--rr-fill) padding-box, var(--rr-ring) border-box; }
:root:root:root[data-theme="deep-purple"] .dialog { --rr-fill: linear-gradient(180deg, #131314 0%, #0c0c0d 70%); }   /* black, like the page */
:root:root:root[data-theme="deep-purple"] .toggle[aria-checked="true"], :root:root:root[data-theme="deep-purple"] .theme-option[aria-checked="true"], :root:root:root[data-theme="deep-purple"] .season-chip.done, :root:root:root[data-theme="deep-purple"] .season-chip[aria-pressed="true"] { --rr-fill: var(--rr-red); }
:root:root:root[data-theme="deep-purple"] .input:focus { box-shadow: 0 0 0 2px rgba(128, 56, 245, .35); }
:root:root:root[data-theme="deep-purple"] :is(.notif.unread, .side-tabs, .side-tab, .cm-panel-top, .device-row, .diag-row, .set-row) { border-image: var(--rr-line) 1; }
:root:root:root[data-theme="deep-purple"] .bottom-nav { border-top: 1px solid transparent; border-image: var(--rr-line) 1; }

/* ---- ⋯ menu and toast actions: graded gold with a natural shine (owner: icons and words in gold, never the theme colour) ---- */
:root:root:root[data-theme="deep-purple"] .action-item .ic { color: #f3c27a; filter: drop-shadow(0 0 .5px rgba(255, 236, 200, .7)); }
:root:root:root[data-theme="deep-purple"] .action-item .ic, :root:root:root[data-theme="deep-purple"] .action-item .ic * { stroke: url(#theme-gold-icon); }
:root:root:root[data-theme="deep-purple"] .action-label, :root:root:root[data-theme="deep-purple"] .toast-action { background-image: var(--rr-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- the friends count when the list is open to others (v9_086): graded gold, not the theme colour ---- */
:root:root:root[data-theme="deep-purple"] .stat.friends-open b { background-image: var(--rr-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 .5px rgba(255, 236, 200, .9)) drop-shadow(0 0 0.4375rem rgba(243, 194, 122, .45)); }

/* ---- friends list page: names in graded gold ---- */
:root:root:root[data-theme="deep-purple"] .fl-name { background-image: var(--rr-word); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- loading ring: the theme's metal track, the gold light sweeping round it ---- */
:root:root:root[data-theme="deep-purple"] .ring-loader-ring { border-color: rgba(51, 9, 138, .55); box-shadow: 0 0 1rem -0.375rem rgba(128, 56, 245, .5); }
:root:root:root[data-theme="deep-purple"] .ring-loader-ring::after { background: conic-gradient(from 0deg, rgba(51, 9, 138, 0) 0deg, #33098a 110deg, #6a24d8 200deg, #e9a46a 285deg, #f3c27a 320deg, #fff4d8 350deg, rgba(255, 244, 216, 0) 360deg); }

/* Room cards: the ring is metallic gold (Host) or silver (everybody else) in every theme (owner 2026-10-21), so the theme adds no frame of its own */
:root:root:root[data-theme="deep-purple"] .participants .avatar::after { display: none; }

/* ---- The logo (owner 2026-11-09, choice "ج"): polished gold metal in every theme — dark bronze at the bottom lightening smoothly to bright gold at
   the top (owner 2026-11-09), light on its top edge, a shadow under it and a warm glow. In the opening and in the bar at the top
   of the app a band of light passes over it now and then; everywhere else it stands still. */
:root:root:root[data-theme="deep-purple"] {
  --logo-metal: linear-gradient(0deg, #4f300b 0%, #7a4f19 18%, #a8752d 38%, #d29f4f 58%, #f1c879 78%, #fff1cc 100%);
  --logo-edge: drop-shadow(0 -.03em 0 rgba(255, 246, 220, .9)) drop-shadow(0 .045em 0 rgba(60, 35, 5, .9)) drop-shadow(0 0 .22em rgba(255, 205, 120, .42));
  --logo-glint: linear-gradient(105deg, transparent 0 40%, rgba(255, 255, 255, .95) 49%, rgba(255, 255, 255, .95) 51%, transparent 60%);
}
:root:root:root[data-theme="deep-purple"] :is(.brand-word, .splash-word, .intro-word .iw-l, .intro-word .iw-v) {
  background-image: var(--logo-glint), var(--logo-metal); background-size: 300% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: var(--logo-edge); }
:root:root:root[data-theme="deep-purple"] .intro-tag { color: rgba(226, 190, 122, .85); }
:root:root:root[data-theme="deep-purple"]:not(.motion-off) .brand .brand-word { animation: logoGlint 6s 1.2s cubic-bezier(.4, 0, .2, 1) infinite; }   /* Motion Off: no light passes */
@keyframes logoGlint { 0% { background-position: 100% 0, 0 0; } 20%, 100% { background-position: 0% 0, 0 0; } }
/* this theme's own rules: tools/themes/themes.mjs */
:root:root:root[data-theme="deep-purple"] {
  --rr-red: linear-gradient(180deg, #9a55f5 0%, #6c27d9 20%, #4a12b0 48%, #2a0870 78%, #160440 100%);
  --rr-num: linear-gradient(180deg, #f0e2ff 0%, #c9a0ff 16%, #9a5cff 40%, #6a24d8 62%, #3c0d96 80%, #7d45e8 93%, #b18aff 100%);
  --rr-glow: 0 0 10px -5px rgba(128, 56, 245, .45), 0 2px 10px -6px rgba(0, 0, 0, .6);
  --rr-rim: linear-gradient(135deg, #fff6dc 0%, #f7d48c 7%, #e9b46a 13%, #b07ad8 20%, #6a24d8 34%, #33098a 56%, #4f15b0 76%, #d9a35c 88%, #f7d48c 94%, #fff2cf 100%);
  --rr-ring: conic-gradient(from 0deg, #5a1cc4 0deg, #3c0d96 60deg, #33098a 105deg, #d9a35c 126deg, #f7d48c 138deg, #d9a35c 150deg, #33098a 178deg, #3c0d96 230deg, #6a24d8 270deg, #f0b46c 292deg, #fff6dc 315deg, #f0b46c 338deg, #8a3cf0 350deg, #5a1cc4 360deg);
}
:root:root:root[data-theme="deep-purple"] :is(.btn-gold, .hero-btn-gold, .cat-pill[aria-selected="true"], .seg[aria-selected="true"]) { box-shadow: var(--rr-glow), inset 0 1px 0 rgba(255, 226, 170, .55), inset 0 -1px 0 rgba(0, 0, 0, .5); }
:root:root:root[data-theme="deep-purple"] .legacy-card { box-shadow: inset 1px 1px 0 rgba(255, 214, 160, .1); }
:root:root:root[data-theme="deep-purple"] .bottom-nav .nav-item.active::before { background: radial-gradient(closest-side, rgba(128, 56, 245, .22), transparent); }
:root:root:root[data-theme="deep-purple"] .nav-item.active .ic { filter: drop-shadow(0 0 .5px rgba(255, 236, 200, .9)) drop-shadow(0 0 4px rgba(128, 56, 245, .5)); }
:root:root:root[data-theme="deep-purple"] :is(.brand-ring, .splash-ring, .profile-avatar .avatar) { box-shadow: 0 0 12px -4px rgba(128, 56, 245, .5); }
:root:root:root[data-theme="deep-purple"] .fy-icon { filter: drop-shadow(0 0 3px rgba(128, 56, 245, .35)); }
:root:root:root[data-theme="deep-purple"] .topbar .bell.unread .ic { filter: drop-shadow(0 0 3px rgba(128, 56, 245, .5)); }
