/* Light theme for medya.cubix.studio (generated by tool/gen.js from the dark stylesheets; do not edit by hand).
   Dark stays the default; this only applies when <html data-theme="light">. */
html[data-theme="light"] {
  --bg: #faf8f6;
  --bg-2: #f3efeb;
  --surface: #ffffff;
  --surface-2: #f4f0ec;
  --line: rgba(28, 25, 23, 0.09);
  --line-2: rgba(28, 25, 23, 0.16);
  --text: #1c1917;
  --muted: #5c5550;
  --dim: #8c857f;
  --accent: #ea6a0c;
  --accent-2: #f97316;
  --accent-3: #c2410c;
  --accent-soft: rgba(234, 106, 12, 0.1);
  --accent-line: rgba(234, 106, 12, 0.35);
  --glow: rgba(249, 115, 22, 0.25);
  color-scheme: light;
}
html[data-theme="light"] ::selection { background: var(--accent); color: #fff; }
/* White Cubix wordmark/marks become their dark versions on light backgrounds */
html[data-theme="light"] img[src$="logo-wordmark.png"] { content: url("/img/logo-wordmark-dark.png"); }
/*  from style.css  */
html[data-theme="light"] .nav.scrolled .nav-inner {
    background: rgba(255, 252, 248, 0.648);
    box-shadow: 0 20px 50px -30px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .nav-pill {
    background: rgba(28, 25, 23, 0.066)
}
html[data-theme="light"] .btn-ghost {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .tag {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .ip-chip {
    background: rgba(255, 252, 248, 0.63)
}
html[data-theme="light"] .orbit.o2 {
    border-color: rgba(28, 25, 23, 0.066)
}
html[data-theme="light"] .orbit.o3 i {
    background: rgb(180, 176, 170);
    box-shadow: 0 0 14px rgba(28, 25, 23, 0.6)
}
html[data-theme="light"] .float-card {
    background: rgba(255, 252, 248, 0.846);
    box-shadow: 0 20px 40px -20px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .mode::after {
    background: linear-gradient(to top, rgba(255, 252, 248, 0.828), transparent 70%)
}
html[data-theme="light"] .feed-item {
    background: rgba(255, 252, 248, 0.63)
}
html[data-theme="light"] .req div {
    background: rgba(255, 252, 248, 0.54)
}
html[data-theme="light"] .range::-webkit-slider-thumb {
    background: rgb(180, 176, 170);
    box-shadow: 0 0 0 6px rgba(249,115,22,.2), 0 6px 18px rgba(70, 45, 25, 0.128)
}
html[data-theme="light"] .range::-moz-range-thumb {
    background: rgb(180, 176, 170)
}
html[data-theme="light"] .range:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 10px rgba(249,115,22,.25), 0 6px 18px rgba(70, 45, 25, 0.128)
}
html[data-theme="light"] .tier {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .faq-q .pm {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .toast {
    box-shadow: 0 20px 40px -10px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
    background: rgba(255, 252, 248, 0.585)
}
html[data-theme="light"] .field input:hover,
html[data-theme="light"] .field select:hover,
html[data-theme="light"] .field textarea:hover {
    border-color: rgba(28, 25, 23, 0.22)
}
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field select:focus,
html[data-theme="light"] .field textarea:focus {
    background: rgba(255, 252, 248, 0.81)
}
html[data-theme="light"] .platform-pick label {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .platform-pick label:hover {
    border-color: rgba(28, 25, 23, 0.242)
}
html[data-theme="light"] .chips label {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .chips label:hover {
    border-color: rgba(28, 25, 23, 0.242)
}
html[data-theme="light"] .check {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .check:hover {
    border-color: rgba(28, 25, 23, 0.22)
}
html[data-theme="light"] .check input::after {
    border: solid rgb(249, 247, 245)
}
html[data-theme="light"] .review-row {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .elig-row {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .pill.wait {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .status-form input {
    background: rgba(255, 252, 248, 0.585)
}
html[data-theme="light"] .code-box {
    background: rgba(255, 252, 248, 0.63)
}
@media (max-width: 820px) {
    html[data-theme="light"] .nav-inner {
        background: rgba(255, 252, 248, 0.738)
    }
}
@media (max-width: 820px) {
    html[data-theme="light"] .nav-menu {
        background: rgba(255, 252, 248, 0.873)
    }
}
/*  from studio.css  */
html[data-theme="light"] .pod.p2 {
    --pc: rgb(201, 197, 192)
}
html[data-theme="light"] .pod .score {
    background: rgba(255, 252, 248, 0.54)
}
html[data-theme="light"] .f-chip:hover {
    border-color: rgba(28, 25, 23, 0.242)
}
html[data-theme="light"] .thumb {
    background: rgb(250, 248, 246)
}
html[data-theme="light"] .thumb .ph {
    background: radial-gradient(80% 90% at 70% 20%, color-mix(in srgb, var(--c) 40%, transparent), transparent 60%),
  radial-gradient(60% 70% at 10% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
  repeating-linear-gradient(135deg, rgba(28, 25, 23, 0.028) 0 2px, transparent 2px 12px), rgb(250, 248, 245)
}
html[data-theme="light"] .thumb .play {
    background: rgba(255, 252, 248, 0.63);
    border: 1px solid rgba(28, 25, 23, 0.22);
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .thumb .pf {
    background: rgba(255, 252, 248, 0.702);
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .thumb .views {
    background: rgba(255, 252, 248, 0.72)
}
html[data-theme="light"] .toc a:hover {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .server-pick label {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .server-pick label:hover {
    border-color: rgba(28, 25, 23, 0.242)
}
html[data-theme="light"] .mini-srv {
    background: rgba(255, 252, 248, 0.846);
    box-shadow: 0 16px 34px -12px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .btn-discord {
    color: rgb(28, 25, 23);
    box-shadow: 0 10px 30px -10px rgba(88,101,242,.65), inset 0 1px 0 rgba(28, 25, 23, 0.12)
}
html[data-theme="light"] .btn-discord:hover {
    box-shadow: 0 16px 40px -10px rgba(88,101,242,.7), inset 0 1px 0 rgba(28, 25, 23, 0.15)
}
html[data-theme="light"] .mini-srv:hover,
html[data-theme="light"] .mini-srv:focus-visible {
    background: color-mix(in srgb, var(--mc) 14%, rgba(255, 252, 248, 0.846));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mc) 18%, transparent), 0 18px 36px -12px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .panel-mock {
    background: linear-gradient(160deg, rgb(249, 247, 245), rgb(250, 248, 246) 60%)
}
html[data-theme="light"] .pm-balance {
    background: rgba(255, 252, 248, 0.495)
}
html[data-theme="light"] .gate .gate-ic {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .gate .gate-steps span {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .nav-user > button {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .nav-user .menu {
    box-shadow: 0 20px 40px -10px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .nav-user .menu a:hover {
    background: rgba(28, 25, 23, 0.055)
}
/*  from auth.css  */
html[data-theme="light"] .auth-card {
    background: rgba(255, 252, 248, 0.738);
    box-shadow: 0 40px 80px -30px rgba(70, 45, 25, 0.22), 0 0 0 1px rgba(28, 25, 23, 0.012) inset
}
html[data-theme="light"] .auth-alert.info {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .auth-alert code {
    background: rgba(28, 25, 23, 0.088)
}
html[data-theme="light"] .auth-discord {
    color: rgb(28, 25, 23);
    box-shadow: 0 14px 30px -14px rgba(88,101,242,.9), inset 0 1px 0 rgba(28, 25, 23, 0.12)
}
html[data-theme="light"] .auth-discord::before {
    background: linear-gradient(110deg, transparent 30%, rgba(28, 25, 23, 0.22) 50%, transparent 70%)
}
html[data-theme="light"] .auth-discord:hover {
    box-shadow: 0 18px 36px -14px rgba(88,101,242,1), inset 0 1px 0 rgba(28, 25, 23, 0.15)
}
html[data-theme="light"] .auth-discord.loading [data-icon]::after {
    border: 2.5px solid rgba(28, 25, 23, 0.385);
    border-top-color: rgb(180, 176, 170)
}
html[data-theme="light"] .auth-servers img {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .rb {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .rb.partner {
    background: linear-gradient(135deg, rgb(249, 247, 245), rgb(248, 246, 244));
    box-shadow: 0 0 18px -6px rgba(251,191,36,.8), inset 0 1px 0 rgba(28, 25, 23, 0.048)
}
html[data-theme="light"] .perm {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .perm.off i {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .my-app {
    background: rgba(255, 252, 248, 0.45)
}
/*  from polish.css  */
html[data-theme="light"] .gd-search input {
    background: rgba(255, 252, 248, 0.765);
    box-shadow: 0 20px 40px -26px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .gd-search input:focus {
    box-shadow: 0 0 0 4px rgba(249,115,22,.14), 0 20px 40px -26px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .gd-card {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.828), rgba(255, 252, 248, 0.828))
}
html[data-theme="light"] .gd-card-n {
    color: rgba(28, 25, 23, 0.06)
}
html[data-theme="light"] .gd-sec {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.846), rgba(255, 252, 248, 0.846))
}
html[data-theme="light"] .gd-sec-bg {
    color: rgba(28, 25, 23, 0.025)
}
html[data-theme="light"] .gd-prose {
    color: rgb(53, 49, 46)
}
html[data-theme="light"] .gd-prose ul li,
html[data-theme="light"] .gd-prose ol li {
    background: rgba(28, 25, 23, 0.028)
}
html[data-theme="light"] .gd-prose strong {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .gd-next {
    background: rgba(28, 25, 23, 0.022)
}
html[data-theme="light"] .gd-help-ic {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .faq2-link.discord .fl-ic {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .faq2-item {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.828), rgba(255, 252, 248, 0.828))
}
html[data-theme="light"] .faq2-item.open {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.855), rgba(255, 252, 248, 0.855))
}
html[data-theme="light"] .faq2-item .fq-chev {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .lb-row:hover {
    box-shadow: 0 14px 30px -24px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .lb-row.p2 .lb-pos {
    color: rgb(47, 43, 41)
}
/*  from panel.css  */
html[data-theme="light"] .pnl-tab:hover {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .row {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .row .note {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .crow {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .crow-ctl input {
    background: rgba(255, 252, 248, 0.63)
}
html[data-theme="light"] .drawer-bg {
    background: rgba(255, 252, 248, 0.54)
}
html[data-theme="light"] .dl div {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .about {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .ed-table input,
html[data-theme="light"] .ed input,
html[data-theme="light"] .ed textarea,
html[data-theme="light"] .ed select {
    background: rgba(255, 252, 248, 0.63)
}
html[data-theme="light"] .rank-ed {
    background: rgba(255, 252, 248, 0.36)
}
html[data-theme="light"] .toggle input:checked::after {
    background: rgb(249, 247, 245)
}
html[data-theme="light"] .save-bar {
    background: rgba(255, 252, 248, 0.855);
    box-shadow: 0 20px 40px -14px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .g-item {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .g-item button:hover {
    background: rgba(28, 25, 23, 0.066)
}
html[data-theme="light"] .g-preview {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .md-help code {
    background: rgba(28, 25, 23, 0.066)
}
/*  from panel2.css  */
html[data-theme="light"] .kpi .kpi-ic {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .ban-card {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .ban-card b {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .week-stats div {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .tiers-mini div {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .rank-row {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .rank-row.top2 .pos {
    color: rgb(47, 43, 41)
}
html[data-theme="light"] .rank-row.top1 {
    background: linear-gradient(90deg, rgba(251,191,36,.08), rgba(255, 252, 248, 0.405))
}
html[data-theme="light"] .feed-row {
    background: rgba(255, 252, 248, 0.405)
}
html[data-theme="light"] .rc-facts span {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .yt-preview {
    background: rgba(255, 252, 248, 0.45)
}
html[data-theme="light"] .pkg-req i {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .dl-grid div {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .mc-stats span {
    background: rgba(255, 252, 248, 0.45)
}
/*  from panel3.css  */
html[data-theme="light"] .sb {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.864), rgba(255, 252, 248, 0.882))
}
html[data-theme="light"] .sb-me {
    background: rgba(28, 25, 23, 0.028)
}
html[data-theme="light"] .sb-nav .pnl-tab .ti {
    background: rgba(28, 25, 23, 0.039)
}
html[data-theme="light"] .sb-nav .pnl-tab:hover {
    background: rgba(28, 25, 23, 0.044)
}
html[data-theme="light"] .sb-link {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .sb-mini:hover {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .pnl-head h1 {
    background: linear-gradient(180deg, rgb(180, 176, 170), rgb(201, 197, 192))
}
html[data-theme="light"] .pc {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.81), rgba(255, 252, 248, 0.81));
    box-shadow: 0 1px 0 rgba(28, 25, 23, 0.018) inset, 0 20px 40px -32px rgba(70, 45, 25, 0.22)
}
html[data-theme="light"] .kpi {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.81), rgba(255, 252, 248, 0.81))
}
html[data-theme="light"] .ftab:hover:not(.active) {
    border-color: rgba(28, 25, 23, 0.22)
}
html[data-theme="light"] .tl-item {
    background: rgba(255, 252, 248, 0.765)
}
html[data-theme="light"] .tl-item.open {
    background: rgba(255, 252, 248, 0.855)
}
html[data-theme="light"] .tl-body .chip {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .tl-detail {
    background: rgba(255, 252, 248, 0.54)
}
html[data-theme="light"] .staff {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.81), rgba(255, 252, 248, 0.81))
}
html[data-theme="light"] .staff-stats span {
    background: rgba(255, 252, 248, 0.495)
}
@media (max-width: 1040px) {
    html[data-theme="light"] .sb {
        box-shadow: 30px 0 60px -20px rgba(70, 45, 25, 0.22)
    }
}
@media (max-width: 1040px) {
    html[data-theme="light"] .app.sb-open .sb-scrim {
        background: rgba(255, 252, 248, 0.495)
    }
}
@media (max-width: 1040px) {
    html[data-theme="light"] .mob-bar {
        background: rgba(255, 252, 248, 0.81)
    }
}
html[data-theme="light"] .mship {
    background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255, 252, 248, 0.36) 60%)
}
html[data-theme="light"] .ms-stats span {
    background: rgba(255, 252, 248, 0.495)
}
html[data-theme="light"] b .row-srv {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .h2-srv {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .ms-channel {
    background: rgba(255, 252, 248, 0.495)
}
html[data-theme="light"] .stat-box {
    background: rgba(28, 25, 23, 0.033)
}
html[data-theme="light"] .row.notif.unread {
    background: linear-gradient(90deg, rgba(249,115,22,.07), rgba(255, 252, 248, 0.405))
}
html[data-theme="light"] .sbar-tab {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.828), rgba(255, 252, 248, 0.828))
}
html[data-theme="light"] .sbar-tab.active {
    background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(255, 252, 248, 0.855) 70%)
}
html[data-theme="light"] .sbar-cnt {
    background: rgba(28, 25, 23, 0.066)
}
/*  from apply.css  */
/*  from panel-clean.css  */
html[data-theme="light"] .panel-body {
    --text: rgb(185, 182, 176);
    --muted: rgb(201, 197, 192);
    --dim: rgb(220, 217, 213);
    --line: rgba(28, 25, 23, 0.099);
    --line-2: rgba(28, 25, 23, 0.176);
    --surface: rgb(249, 247, 245);
    --surface-2: rgb(249, 247, 245);
    --field: rgb(250, 248, 246)
}
html[data-theme="light"] .panel-body .sb {
    background: rgb(250, 248, 246)
}
html[data-theme="light"] .panel-body .sb-nav .pnl-tab:hover {
    background: rgba(28, 25, 23, 0.055)
}
html[data-theme="light"] .panel-body .sb-nav .pnl-tab.active {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .panel-body .row.click:hover {
    background: rgb(248, 246, 244)
}
html[data-theme="light"] .panel-body .sbar-tab.active {
    color: rgb(28, 25, 23)
}
html[data-theme="light"] .panel-body .drawer-panel {
    background: rgb(250, 248, 246)
}

/* Theme switch button (both themes) */
.theme-toggle { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .2s; }
.theme-toggle:hover { border-color: var(--accent-line); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .ic-moon, html[data-theme="light"] .theme-toggle .ic-sun { display: none; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }
.theme-fade, .theme-fade * { transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s !important; }
