.theme-toggle{display:inline-grid;place-items:center;flex:0 0 auto;width:36px;height:36px;padding:7px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.theme-toggle svg{width:20px;height:20px;pointer-events:none}.theme-toggle:hover{color:var(--pink);border-color:var(--pink);background:rgba(255,93,157,.08)}.theme-toggle:disabled{cursor:wait}.theme-toggle:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
.auth-header{gap:18px}.auth-header .theme-toggle{margin-left:auto}.auth-header .site-language{margin-left:0}
:root{--range-track:#33313e}
::view-transition-old(root){animation:theme-fade-out .36s ease both;mix-blend-mode:normal}::view-transition-new(root){animation:theme-fade-in .36s ease both;mix-blend-mode:normal}
@keyframes theme-fade-out{to{opacity:0}}@keyframes theme-fade-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
@media(min-width:1051px){.nav{gap:18px}.nav-links{gap:20px}}
@media(max-width:560px){.nav{column-gap:10px}.theme-toggle{width:32px;height:32px;padding:6px}.dash-top-actions{gap:8px}.auth-header{gap:12px}.auth-header .site-language{margin-left:auto}}
/* The expanded key field must reserve space instead of covering the theme control. */
@media(min-width:1051px){.redeem-wrap:has(.redeem-form.open){width:376px}}
@media(min-width:761px) and (max-width:1050px){.dash-topbar:has(.redeem-form.open){height:auto;min-height:52px;padding-block:10px;flex-wrap:wrap;gap:8px}.dash-top-actions:has(.redeem-form.open){width:100%;flex-wrap:wrap;justify-content:flex-end}.redeem-wrap:has(.redeem-form.open){order:1;width:100%;height:auto;position:relative}.redeem-form.open{position:relative;top:auto;right:auto;width:100%}.redeem-form.open .redeem-field{width:calc(100% - 94px)}.redeem-wrap:has(.redeem-form.open) #redeem-message{position:relative;top:auto;right:auto;width:100%;margin-top:8px;box-shadow:none}}
:root[data-theme=light]{color-scheme:light;--bg:#f7f5fb;--panel:#fff;--panel2:#efedf6;--text:#231d31;--muted:#696176;--line:rgba(40,25,61,.15);--pink:#c31b68;--violet:#6944b9;--cyan:#096e75;--range-track:#ded9e7}
:root[data-theme=light] body{background:var(--bg);color:var(--text)}
:root[data-theme=light] :is(.hero,.auth-body){background:radial-gradient(circle at 73% 44%,#e9def2 0%,#f1ecf7 35%,#f7f5fb 70%)}
:root[data-theme=light] :is(.experience,.reviews,.faq){background:#f0ecf6}
:root[data-theme=light] .reviews{background:radial-gradient(ellipse at 80% 10%,#ded4ee,transparent 50%),#f0ecf6}
:root[data-theme=light] .closing{background:#f1e5ef}
:root[data-theme=light] .footer{background:#f7f5fb}
:root[data-theme=light] :is(.nav,.site-language,.orbit,.visual-corner,.footer-top,.review-author){border-color:var(--line)}
:root[data-theme=light] :is(.nav-links a,.hero-eyebrow,.hero-lede strong,.feature-tab.is-active,.feature-tab:hover,.feature-rotation:hover,.review-name,.review-quote,.nav-cta,.button-secondary,.faq summary){color:var(--text)}
:root[data-theme=light] :is(.hero-lede,.hero-meta,.visual-caption,.scroll-cue,.section-top,.section-aside,.feature-description,.feature-details dt,.feature-rotation,.feature-tab,.experience-heading>p,.plans-heading>p,.plan-includes,.plan-price span,.plans-footnote,.faq details p,.closing p:not(.eyebrow),.footer-top>div a,.footer-bottom,.reviews-intro,.review-tag){color:var(--muted)}
:root[data-theme=light] :is(.button-secondary,.feature-tab.is-active,.site-language button.active){background:#e9e2f0;border-color:var(--line);color:var(--text)}
:root[data-theme=light] .nav-cta{border-color:#a99ab8}:root[data-theme=light] .nav-cta:hover{background:var(--text);border-color:var(--text);color:#fff}
:root[data-theme=light] .button-primary{background:#d02b76;color:#fff}:root[data-theme=light] .button-primary:hover{background:#b91b65}
:root[data-theme=light] .marquee{background:#f28bb8;color:#301329}
:root[data-theme=light] .hero-grid,:root[data-theme=light] .art-grid{background-image:linear-gradient(#49305e09 1px,transparent 1px),linear-gradient(90deg,#49305e09 1px,transparent 1px)}
:root[data-theme=light] .orbit-core{background:radial-gradient(circle,#eadcec,#faf6fc 65%)}
:root[data-theme=light] .orbit-node{border-color:#f7f5fb}
:root[data-theme=light] .closing h2 span{-webkit-text-stroke-color:#33203e}
:root[data-theme=light] .gradient-word{background-image:linear-gradient(110deg,#ba1d69 10%,#9b397f 48%,#6651b7 90%)}
:root[data-theme=light] .plan-card{background:linear-gradient(145deg,#fff,#f2edf6);border-color:#d6cddd;box-shadow:0 12px 32px #2d163909}
:root[data-theme=light] .plan-card-featured{background:linear-gradient(155deg,#fce6f0,#fff 70%);border-color:#c31b68}
:root[data-theme=light] .plan-card-lifetime{background:linear-gradient(155deg,#e0f2ef,#f9fdfb 70%);border-color:#217c70}
:root[data-theme=light] .plan-card .plan-button{background:#ad2263;border-color:#ad2263;color:#fff}:root[data-theme=light] .plan-card .plan-button:hover{background:#941a53}
:root[data-theme=light] .plan-card-lifetime .plan-button{background:#176d63;border-color:#176d63;color:#fff}
:root[data-theme=light] .plan-card-lifetime :is(.plan-top,.plan-item span){color:#176d63}
:root[data-theme=light] .plan-badge{background:#c31b68;color:#fff}
:root[data-theme=light] .review-card{--review-accent:#b02a65;background:linear-gradient(145deg,#fbeaf3,#fff 70%);border-color:#d9cede;box-shadow:0 12px 30px #2d16390b}
:root[data-theme=light] .review-card[data-tone="1"]{--review-accent:#6650b0;background:linear-gradient(145deg,#eae4f8,#fff 70%)}
:root[data-theme=light] .review-card[data-tone="2"]{--review-accent:#096d70;background:linear-gradient(145deg,#e0f1ef,#fff 70%)}
:root[data-theme=light] .review-avatar{background:#ffffff90;border-color:var(--line)}
:root[data-theme=light] .dashboard-body{background:#f7f5fb;color:var(--text)}
:root[data-theme=light] :is(.dash-sidebar,.dash-topbar){background:#f0ecf6;border-color:var(--line)}
:root[data-theme=light] :is(.settings-panel,.info-card,.summary-card,.subscription-panel,.discord-panel){background:#fff;border-color:var(--line)}
:root[data-theme=light] .dash-welcome{background:linear-gradient(110deg,#fae3ef,#ede7f6 70%,#f6f2fa);border-color:var(--line)}
:root[data-theme=light] :is(.dash-nav a,.dash-nav button,.dash-breadcrumb,.dash-slash,.dash-sidebar-caption,.dash-sidebar-bottom,.dash-footer,.dash-summary .summary-bottom,.dash-section-tag,.connection-details dt,.category-item small,.setting-examples,.category-empty,.setting-group,.settings-offline p,.discord-panel-copy,.discord-account p,.subscription-panel p){color:var(--muted)}
:root[data-theme=light] :is(.dash-nav a.active,.dash-nav button.active,.dash-nav a:hover,.dash-logout,.dash-welcome h1,.summary-card>strong,.connection-title,.info-card h3,.connection-details dd,.category-item strong,.setting-label,.setting-row label,.settings-panel h4,#membership-details dd,.discord-account strong){color:var(--text)}
:root[data-theme=light] .dash-nav :is(a,button).active{background:#f2e4ee;border-color:#d9baca}
:root[data-theme=light] :is(.dash-section-tag,.dash-logout,.category-icon,.setting-value,.setting-text,.settings-offline,.tap-unavailable,.profile-preview,.discord-badge){background:#f5f0f8;border-color:var(--line)}
:root[data-theme=light] :is(.setting-value,.setting-text,.setting-text option){color:var(--text);background:#f5f0f8}
:root[data-theme=light] .setting-examples b{color:#4c3a64}
:root[data-theme=light] .assist-tabs button,:root[data-theme=light] .settings-preset{color:#72677f}
:root[data-theme=light] .assist-tab.is-selected{background:#f9e3ef;border-color:#d7a9bf}
:root[data-theme=light] .assist-tabs button[aria-selected=true]{color:#382233}
:root[data-theme=light] :is(.settings-preset:hover:enabled,.assist-tabs button:hover){color:#fff;background:#ad2263}
:root[data-theme=light] .connection-rings span{border-color:var(--cyan)}
:root[data-theme=light] .settings-plan-lock{background:#f7f5fb66}:root[data-theme=light] .settings-plan-message p{color:var(--text)}
:root[data-theme=light] :is(.settings-plan-link,.settings-plan-icon,.dash-plan-link,.connection-unload,.discord-actions button,.redeem-toggle){background:#f9e8f0;color:var(--pink);border-color:#d8a8bd}
:root[data-theme=light] :is(.save-message,.membership-active,.discord-role-active){color:var(--cyan)}
:root[data-theme=light] :is(.profile-dialog,.download-dialog,.admin-reauth-dialog){background:linear-gradient(145deg,#fff,#f0e9f7);color:var(--text);border-color:var(--line)}
:root[data-theme=light] .profile-dialog::backdrop,:root[data-theme=light] .download-dialog::backdrop,:root[data-theme=light] .admin-auth-dialog::backdrop{background:#35244066}
:root[data-theme=light] :is(.profile-dialog p,.download-dialog p,.profile-close,.profile-remove,.download-hint,.download-subtitle){color:var(--muted)}
:root[data-theme=light] :is(.redeem-form,.admin-card,.admin-form,.keys-group,.keys-table,.logs-panel,.log-card){background:#fff;color:var(--text);border-color:var(--line)}
:root[data-theme=light] :is(.redeem-form input,.admin-form input,.admin-form select,.keys-search,.admin-reauth-dialog input){background:#f5f0f8;color:var(--text);border-color:var(--line)}
:root[data-theme=light] :is(.keys-group-toggle,.keys-table td,.keys-table th,.keys-code,.key-code,.keys-stat strong){color:var(--text)}
:root[data-theme=light] :is(.keys-group-toggle,.keys-page,.keys-pagination button,.keys-refresh,.logs-refresh){background:#f5f0f8;border-color:var(--line)}
:root[data-theme=light] .auth-body{color:var(--text)}
:root[data-theme=light] .auth-card{background:linear-gradient(145deg,#fff,#f4edf8);border-color:var(--line);box-shadow:0 25px 70px #31203712}
:root[data-theme=light] :is(.auth-lede,.auth-description,.auth-note,.auth-footer,.auth-back,.auth-index,.auth-form label){color:var(--muted)}
:root[data-theme=light] :is(.auth-form input,.auth-mode-switch,.auth-password-toggle){background:#f5f0f8;color:var(--text);border-color:var(--line)}
:root[data-theme=light] .auth-mode-switch button{color:var(--muted)}:root[data-theme=light] .auth-mode-switch button[aria-pressed=true]{color:var(--text);background:#eddae8}
:root[data-theme=light] .auth-submit{background:#c31b68;color:#fff}
:root[data-theme=light] .auth-gradient{background-image:linear-gradient(110deg,#ba1d69,#6651b7)}
/* Shared controls and owner pages use the same light palette as the Dashboard. */
:root[data-theme=light] :is(.menu-toggle span,.scroll-line){background:var(--muted)}
@media(max-width:1100px){:root[data-theme=light] .nav-links{background:#f7f5fbfa;border-color:var(--line)}}
:root[data-theme=light] :is(.feature-video-frame,.feature-video-sound){background:#eee8f5;border-color:var(--line)}
:root[data-theme=light] :is(.feature-video-placeholder strong,.feature-clip,.auth-password button,.auth-card-top){color:var(--muted)}
:root[data-theme=light] :is(.auth-hint,.auth-card-footer,.info-card p,.info-card-head,.admin-intro,.admin-card>p:not(.access-message),.admin-card label,.admin-card small,.admin-remove-intro p,.key-group-counts,.key-table th,.key-table td,.key-user-id,.key-legacy,.key-empty,.keys-message,#generated-plan){color:var(--muted)}
:root[data-theme=light] :is(.auth-password button:hover,.auth-mode-switch button:hover,.profile-close:hover,.key-code,.key-user){color:var(--text)}
:root[data-theme=light] :is(.auth-text-button,.access-message[data-state=error],.auth-message:not([data-tone=success]),.keys-message[data-state=error],.key-page-error,#profile-message.is-error,.admin-auth-dialog [role=status]){color:#ad1e57}
:root[data-theme=light] :is(.auth-submit:hover,.profile-save,.dash-save){background:#ad2263;color:#fff}
:root[data-theme=light] :is(.key-group,.log-session,.log-detail,#redeem-message){background:#fff;border-color:var(--line)}
:root[data-theme=light] :is(.admin-card input,.admin-card select,.admin-auth-dialog input,.log-filter input,.log-detail pre,.keys-summary button,.key-page-button){background:#f5f0f8;color:var(--text);border-color:var(--line);color-scheme:light}
:root[data-theme=light] :is(.key-group-toggle:hover,.key-page-button:hover,.keys-summary button:hover,.keys-summary button[aria-expanded=true]){color:var(--text);background:#eddae8;border-color:#c31b6880}
:root[data-theme=light] :is(.key-table td,.key-table th,#key-result){border-color:var(--line)}
:root[data-theme=light] :is(.key-state,.key-output input,.key-output button,.access-message[data-state=success],#log-message,.log-state[data-state=complete]){color:#096e65;border-color:#096e6540}
:root[data-theme=light] :is(.key-state.used,.access-message,.log-empty){color:var(--muted)}
:root[data-theme=light] :is(.key-page-button[aria-current=page],.log-parts a,.profile-remove,.admin-remove-button){color:var(--pink)}
:root[data-theme=light] .log-state{color:#8c5716}
:root[data-theme=light] .redeem-form.open #redeem-toggle{background:var(--pink);color:#fff}
:root[data-theme=light] .discord-role-inactive{color:var(--muted)}
:root[data-theme=light] .dash-connection{background:#ebe5f2;border-color:var(--line)}
:root[data-theme=light] :is(.dash-breadcrumb span:first-child,.dash-connection strong){color:var(--text)}
:root[data-theme=light] :is(.dash-connection small,.dash-back,.dash-nav-index,.language-switch button){color:var(--muted)}
:root[data-theme=light] .language-switch{border-color:var(--line)}
:root[data-theme=light] .language-switch button.active{background:#eddae8;color:var(--text)}
:root[data-theme=light] .auth-field input{background:#f5f0f8;color:var(--text);border-color:var(--line)}
:root[data-theme=light] .auth-field label{color:var(--text)}
:root[data-theme=light] .admin-primary{background:#f9e8f0;color:var(--pink);border-color:#d8a8bd}
:root[data-theme=light] :is(.dash-notice,.dash-welcome p:last-child,.summary-top,.summary-bottom){color:var(--muted)}
:root[data-theme=light] .playfield{background:radial-gradient(circle at 48% 55%,#e6d9f1,#f5effa 65%);border-color:var(--line)}
:root[data-theme=light] .playfield:after{background:linear-gradient(90deg,#ede5f733,transparent 40%,#ede5f733)}
:root[data-theme=light] .playfield-grid{background-image:linear-gradient(#49305e0b 1px,transparent 1px),linear-gradient(90deg,#49305e0b 1px,transparent 1px)}
:root[data-theme=light] :is(.playfield-top,.playfield-bottom){color:var(--muted)}
:root[data-theme=light] .play-target{border-color:#80507399;color:var(--text);box-shadow:0 0 0 11px #7c4c7315,0 0 0 21px #7c4c730a}
:root[data-theme=light] .play-cursor{border-color:#096e75;box-shadow:0 0 22px #096e7540}
:root[data-theme=light] :is(.play-cursor:before,.play-cursor:after){background:#096e75}
:root[data-theme=light] .dash-avatar{background:#f5f0f8}
