/* One shared scene, two material palettes. This file only changes color,
   reflections and contrast; the established layout and motion live upstream. */
.sidebar .theme-toggle {
  flex:none;display:grid;place-items:center;position:relative;width:46px;height:46px;
  padding:0;margin:0;min-height:44px;border:1px solid #c9b6df79;border-radius:15px;
  color:#eee5f5;background:linear-gradient(142deg,#bda4d535,#38323d9c 45%,#202128ce 72%,#ad8bd92e); /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  box-shadow:inset 0 1px 1px #f7eaff45,inset 0 -1px 3px #d8b7f329,0 2px 7px #09091026; /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  transition:color 160ms ease,border-color 160ms ease,transform 160ms ease;
}
.theme-toggle svg { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round; }
.theme-toggle .theme-moon { display:none; }
.theme-toggle[aria-pressed=true] .theme-sun { display:none; }
.theme-toggle[aria-pressed=true] .theme-moon { display:block; }
.theme-toggle:focus-visible { outline:2px solid #d5b5ef;outline-offset:4px; }
.sidebar .theme-toggle:active { transform:scale(.97); }
@media(hover:hover) and (pointer:fine) { .sidebar .theme-toggle:hover { color:#fff5ff;border-color:#e3cbf5ac; } }
@media(max-width:600px) { .sidebar .theme-toggle { width:44px;height:44px;border-radius:13px; } }
@media(prefers-reduced-motion:reduce) { .sidebar .theme-toggle { transition:none; } }

/* The mobile post layout uses display:contents, so the detail pane alone
   cannot paint its background. Color the actual visible surfaces as well. */
html[data-theme=dark] #igDialog .ig-modal,
html[data-theme=dark] #igDialog .ig-detail header { background:#23212a;color:#d9cde4; }
html[data-theme=dark] #igDialog .ig-close { color:#e5d9ee; }
html[data-theme=dark] #igDialog time { color:#aaa0b6; }
html[data-theme=dark]:has(#page-gallery.active),
html[data-theme=dark] #igDialog,html[data-theme=dark] #igDialog * { scrollbar-color:#65596d #23212a; }
html[data-theme=dark] #igDialog ::-webkit-scrollbar-track { background:#23212a; }
html[data-theme=dark] #igDialog ::-webkit-scrollbar-thumb { background:#65596d; }

html[data-theme=light] {
  color-scheme:light;
  --ink:#302c3a;--text:#302c3a;--muted:#675b71;--accent:#76518f;
  --line:#68547d33;--panel:#f7f4fa;--bg:#f2eff5;--card:#faf8fc;--primary:#79558f;
  --light-edge:#8d75a94d;--light-shadow:#47345518;
}
html[data-theme=light]:has(body.theater) {
  background:radial-gradient(ellipse at 50% 78%,#d7cce53b,transparent 58%),linear-gradient(125deg,#f6f4f8,#eeebf2 60%,#f5f1f7); /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  background-attachment:fixed;
}
html[data-theme=light] body.theater { color:var(--ink);background:transparent; }
html[data-theme=light]:is(.home-booting,.home-entering) .home-loader { background:#f2eff5; }
html[data-theme=light] .home-loader-mark img { filter:brightness(0);opacity:.65; }
html[data-theme=light] .page,html[data-theme=light] #page-profile { --ink:#302c3a;--muted:#675b71; }
html[data-theme=light] :is(button,a,input,textarea,select):focus-visible { outline-color:#805397; }
html[data-theme=light] :is(input,textarea,select) { color-scheme:light;accent-color:#79558f; }
html[data-theme=light] ::selection { background:#b79bd659;color:#282032; }
html[data-theme=light] { scrollbar-color:#b5a8c1 #efebf4; }

/* The watermark remains the same SVG silhouette at exactly the same size. */
html[data-theme=light] .brand-art img { filter:brightness(0) saturate(100%);opacity:.78; }
html[data-theme=light] .brand-art::after { background:#79578e; }
html[data-theme=light] .nav.is-glass-menu .section-app { color:#76518f;text-shadow:none; }
html[data-theme=light] .nav.is-glass-menu .section-app-label { color:#695571;text-shadow:none; }
html[data-theme=light] .nav.is-glass-menu :is(.is-current,.section-app:hover) .section-app-label { color:#3b284a;text-shadow:none; }
html[data-theme=light] .nav.is-glass-menu .launcher-face {
  background:radial-gradient(ellipse at 50% 100%,#a982c61a,transparent 64%),linear-gradient(135deg,#ffffff99,#f1ecf533 52%,#cec0de4d); /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  border-color:#9e85af99;box-shadow:inset 1px 1px 1px #fff,inset -1px -1px 1px #a286b54d,0 3px 9px #5d42651c; /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
}
html[data-theme=light] .nav.is-glass-menu .section-app.is-current .launcher-face {
  border-color:#9672ad;box-shadow:inset 1px 1px 1px #fff,inset -1px -1px 2px #9870b14d,0 0 8px #a681c21a,0 4px 12px #644a781a; /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
}
html[data-theme=light] .sidebar :is(.theme-toggle,.channel-toggle,.login-pill),
html[data-theme=light] .sidebar .header-actions #adminLoginPill {
  color:#574260;border-color:#947ca76b;background:linear-gradient(142deg,#ffffffa6,#f1ebf533 55%,#d7cae44d); /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #a48ab540,0 2px 7px #51405f12; /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
}
html[data-theme=light] .sidebar .channel-panel { background:linear-gradient(145deg,#fdfbfff5,#f0eaf7f5);border-color:#9b80ae70;box-shadow:inset 0 1px 1px #fff,0 12px 30px #47345525; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .sidebar .channel-menu .channel-icons .social-icon { color:#654e73;border-color:#9f88b15e;background:linear-gradient(140deg,#fff9,#e4d8ee7d);box-shadow:inset 0 1px 1px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .sidebar .channel-menu .social-icon small { color:#61486f; }
html[data-theme=light] .sidebar .brand-youtube svg path { fill:#f4eef8; }
html[data-theme=light] .sidebar .channel-menu.is-open .channel-toggle { color:#473252;border-color:#9772b0;box-shadow:inset 0 1px 1px #fff,0 0 9px #8d67a91c; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */

/* Keep photos, video pixels and the LP black. Only their surrounding material
   changes. The old floor's static luminance texture becomes a pearl ground. */
html[data-theme=light] .theater-floor { filter:grayscale(1) invert(1);opacity:.24;mix-blend-mode:multiply; }
html[data-theme=light] .theater-floor::after { background:none; }
html[data-theme=light] .theater-home::before { background:radial-gradient(ellipse at 50% 72%,#ac83c527,transparent 63%); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .home-backlight.is-on { opacity:.32;mix-blend-mode:multiply; }
html[data-theme=light] .home-frame-light.is-on { opacity:.46;mix-blend-mode:multiply; }
html[data-theme=light] .home-backlight.is-playing,html[data-theme=light] .home-frame-light.is-playing { opacity:.18; }
html[data-theme=light] .backlight-edge { opacity:.65; }
html[data-theme=light] .is-concave :is(.theater-video,.video-window,.video-reflection .reflection-source) { background:#ede8f2; }
html[data-theme=light] .is-concave .video-window.is-native-cover>img { background:#ede8f2; }
html[data-theme=light] .is-concave .video-reflection .video-window.is-native-cover>img { background:transparent; }
html[data-theme=light] .is-concave .theater-video::after { border-top-color:#9275a359;background:linear-gradient(115deg,#ffffff70,#f6f2fa12 48%,#baa4cf1c); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .video-title,html[data-theme=light] .video-caption { color:#352b40; }
html[data-theme=light] .video-meta,html[data-theme=light] .video-platform { color:#6b5878; }
html[data-theme=light] .platform-wordmark { background:linear-gradient(175deg,#594463,#7b638c 52%,#574263); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .is-concave .video-play { color:#5d456e;border-color:#9277a78c;background:#fff5; }
html[data-theme=light] .video-empty { color:#6b5878;background:#ede8f2; }
html[data-theme=light] .is-concave .inline-video-toolbar { background:#eee8f3f5;color:#3c3049;border-bottom-color:#a58bb642; }
html[data-theme=light] .inline-video-toolbar button { color:#5d456e; }
/* The status is over artwork in both themes: retain a readable smoky backing. */
html[data-theme=light] #page-home .theater-status { border-color:#dfccebad;background:linear-gradient(118deg,#76698073,#342a40e8 45%,#4a3c56cc); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .ruler-arrow { color:#654c76;border-color:#987ca885;background:#fff5;box-shadow:inset 0 1px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] :is(.ruler-selected,.ruler-axis button,.ruler-date,.ruler-day-label,.ruler-day,.ruler-tick-label) { color:#64516f; }
html[data-theme=light] .ruler-axis { --timeline-ink:#765789; }
html[data-theme=light] .ruler-window::before { background:linear-gradient(90deg,#9c7bb438,#805b9b85,#9c7bb438);box-shadow:0 1px #fff8; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .ruler-light>span { background:linear-gradient(90deg,transparent,#a17aba6b 27%,#8352a1cc 50%,#a17aba6b 73%,transparent); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #rulerToday { color:#694f79;border-color:#9c80ae73;background:linear-gradient(140deg,#fff9,#e5dbee80);box-shadow:inset 0 1px #fff9; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .theater-next,html[data-theme=light] #homeNextStream { color:#413347; }
html[data-theme=light] #homeNextStream :is(.v148-heading,small,.v148-date,.v148-title,.v148-time,.timeline-status) { color:inherit; }
html[data-theme=light] .theater-next .next-rule { background:none; }
html[data-theme=light] .theater-next .next-rule::before { background:linear-gradient(90deg,transparent,#9672b1b3); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .next-rule::after { background:linear-gradient(90deg,transparent,#9470b3,transparent); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */

/* Profile: the lens/LP renderer and animations are untouched. */
html[data-theme=light] #page-profile .lens-copy { color:#3e3148; }
html[data-theme=light] #page-profile :is(.lens-eyebrow,.profile-facts dt,.profile-crew-block>p,.lens-description) { color:#685371; }
html[data-theme=light] #page-profile .profile-facts dd { color:#3b2b47; }
html[data-theme=light] #page-profile .dial-nav button { color:#6d557d; }
html[data-theme=light] #page-profile .dial-nav button[aria-selected=true] { color:#583568; }
html[data-theme=light] .dial-line { stroke:#9574af80; }
html[data-theme=light] .crew-trigger { color:#5b416a; }
html[data-theme=light] .crew-logo.ivory { filter:brightness(0) saturate(100%);opacity:.74; }
html[data-theme=light] .profile-crew-block { border-color:#8b709f40; }
html[data-theme=light] .crew-popover { color:#3c3046;background:#f8f4fcf7;border-color:#aa8fbc5c;box-shadow:0 16px 54px #45315329; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .crew-popover p { color:#685371; }
html[data-theme=light] .profile-dialog { color:#493651;background:#f6f1faf7;border-color:#a38ab754;box-shadow:0 24px 80px #47305230; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .profile-dialog::backdrop { background:#30253866; }
html[data-theme=light] .profile-dialog header { border-color:#a38ab733; }
html[data-theme=light] .profile-dialog :is(.profile-photo-count,.profile-photo-note) { color:#786482; }
html[data-theme=light] .profile-dialog header .profile-glass-button { color:#6d4a80;border-color:#a38ab75e;background:#e7dcec66; }
html[data-theme=light] .cat-thumbs button { color:#735680; }
html[data-theme=light] .cat-choice-photo { background:#ece3f2;border-color:#9875b075;box-shadow:inset 0 1px 2px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .cat-choice-photo>span { color:#7d5d90; }
html[data-theme=light] #page-profile .ending-words { color:#4a3c55; }
html[data-theme=light] #page-profile :is(.ending-transport,.ending-audio-state,.lyric-fan-legend) { color:#6e537e; }
html[data-theme=light] #page-profile .ending-words :is(p,span) { color:inherit; }
html[data-theme=light] #page-profile .ending-words .lyric-fan { color:#81539b; }

/* Calendar geometry, day/time fonts and optical offsets are never reset. */
html[data-theme=light] #page-schedule {
  --schedule-personal:#8a58ab;--schedule-collab:#287c6a;--schedule-commerce:#9b6b20;--schedule-off:#737482;
  --schedule-personal-fill:#9870b322;--schedule-collab-fill:#4c9d8b24;--schedule-commerce-fill:#c6994e26;--schedule-off-fill:#81849120;
  --schedule-holiday:#ae4566;--schedule-saturday:#426fa9;--schedule-weekday:#493a53;--schedule-event-ink:#493953;
}
html[data-theme=light] #page-schedule .v44-calendar-card { background:linear-gradient(135deg,#faf8fcd9,#f0ebf5ed);border-color:#9b82ac6b;box-shadow:inset 0 1px #fff,0 10px 28px #4834550d; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-schedule .v44-calendar-card::before { opacity:.62; }
html[data-theme=light] #page-schedule .v44-calendar-card::after { opacity:.65; }
html[data-theme=light] #page-schedule :is(.v44-day,.v44-dow) { border-color:#8e769f21; }
html[data-theme=light] #page-schedule .v44-day:hover { background-color:#9d80b00a; }
html[data-theme=light] #page-schedule .v44-day.is-today { background-color:#b393ca14; }
html[data-theme=light] #page-schedule .v44-start { color:#75617f; }
html[data-theme=light] #page-schedule .v44-note { color:#75617f;border-color:#997daa2b;background:#fff6; }
html[data-theme=light] #page-schedule .v44-month button { color:#614a70;border-color:#a388b956;background:linear-gradient(145deg,#fff8,#d7c5e517);box-shadow:inset 0 1px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-schedule :is(.schedule-month-trigger svg,#monthPickerYear,.v44-legend) { color:#6f587f; }
html[data-theme=light] #page-schedule .schedule-month-panel { background:linear-gradient(145deg,#fcfaff,#f0e9f6);border-color:#987eaf70;box-shadow:inset 0 1px #fff,0 16px 34px #48315624; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-schedule .schedule-picker-grid button[aria-pressed=true] { background:#b395cb38;border-color:#9e78b6;color:#4d315c; }
html[data-theme=light] #page-schedule .v44-event:hover { background-color:#9870b333; }
html[data-theme=light] #page-schedule .v44-event.collab:hover { background-color:#4c9d8b33; }
html[data-theme=light] #page-schedule .v44-event.commerce:hover { background-color:#c6994e33; }

/* Chustagram stays a slightly raised, neutral surface, including popups. */
html[data-theme=light] #page-gallery .ig-shell { background:linear-gradient(180deg,#fcfaff,#f7f4fa 160px,#f5f2f8);border-color:#a18bb938; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-gallery :is(.ig-account h2,.ig-display-name,.ig-stats li,.ig-stats b,.ig-stats li>span,.ig-profile-note,.ig-empty h3) { color:#4b3f55; }
html[data-theme=light] #page-gallery .ig-profile-actions button { color:#5b436a;border-color:#a58ab74a;background:linear-gradient(135deg,#fff8,#dfd4e937);box-shadow:inset 0 1px #fff8; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-gallery .ig-profile-actions button:not(:disabled):hover { color:#482b5a;background-color:#d9c7e52e; }
html[data-theme=light] #page-gallery .ig-tabs { border-color:#9984aa38; }
html[data-theme=light] #page-gallery .ig-tabs button[aria-selected=true]::after { background:#8a5da7; }
html[data-theme=light] #page-gallery :is(.ig-engraved-icon,.ig-archive-wordmark) { background:linear-gradient(175deg,#5b4567,#8b709c 48%,#61436e); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-gallery .ig-tabs [aria-selected=true] .ig-engraved-icon { background:linear-gradient(175deg,#563366,#9568b2 48%,#4e2f5e); } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-gallery #vodTabs { border-color:#8b729f38;background:linear-gradient(180deg,#c3afd41a,#fff2 56%,#c7b8d513),#ddd2e52e;box-shadow:inset 0 1px 1px #6854780c,inset 0 -1px #fff8,0 1px 0 #ffffff80; } /* taste-skill-ignore: user-requested lavender glass capsule. */
html[data-theme=light] #page-gallery #vodTabs::before { background:radial-gradient(ellipse at 24% 0%,#ffffffeb,transparent 64%),radial-gradient(ellipse at 88% 110%,#d3bce829,transparent 60%),linear-gradient(115deg,#ffffff80,#ffffff29 48%,#e6d9f14a),#ffffff38;border-color:#a28ab64d;box-shadow:inset 0 1px #fff,inset 1px 0 #ffffff80,inset 0 -1px #ffffff94,0 2px 5px #59466920,0 0 0 1px #ffffff38; } /* taste-skill-ignore: layered reflections preserve the requested glass material. */
html[data-theme=light] #page-gallery #vodTabs button { color:#73637f; }
html[data-theme=light] #page-gallery #vodTabs button[aria-pressed=true] { color:#513264; }
@media(hover:hover) and (pointer:fine){html[data-theme=light] #page-gallery #vodTabs button:hover{color:#513264}}
html[data-theme=light] #page-gallery .auto-vod-body h4 a { color:#483a52; }
html[data-theme=light] #page-gallery :is(.auto-vod-meta,.vod-empty-state,.ig-empty,#igStatus) { color:#685673; }
/* Source/duration labels sit on unpredictable thumbnails, so retain dark glass. */
html[data-theme=light] #igFollowingDialog { color:#413247;background:#faf7fc;border-color:#a38ab754; }
html[data-theme=light] #igFollowingDialog header { border-color:#a38ab733; }
html[data-theme=light] :is(#igFollowingClose,.following-name) { color:#4d3c58; }
html[data-theme=light] :is(.following-name span,.following-empty,.following-state) { color:#6c5576; }
html[data-theme=light] #igFollowingSearch { color:#413247;background:#ebe4f1;border-color:#ad97be59; }
html[data-theme=light] #igDialog { color:#413247;background:#f8f5fb;border-color:#a38ab754; }
html[data-theme=light] #igDialog :is(.ig-modal,.ig-detail header) { background:#f8f5fb;color:#413247; }
html[data-theme=light] #igDialog :is(.ig-detail,.ig-comment-input) { color:#413247;background:#f8f5fb; }
html[data-theme=light] #igDialog :is(.ig-detail header,footer,.ig-comment-input) { border-color:#ab94bd38; }
html[data-theme=light] #igDialog :is(.ig-detail header button,.ig-actions button,.ig-caption p,.ig-comments,input,textarea) { color:#56425f; }
html[data-theme=light] #igDownloadMenu { color:#413247;background:#faf7fd;border-color:#a38ab754;box-shadow:0 12px 36px #41304b2b; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #igDownloadMenu button { color:#61476f;border-color:#aa8cbe38;background:#d0b9e015; }
html[data-theme=light] #igDownloadMenu p { color:#6b5377; }
html[data-theme=light] :is(#chustagramDM,#dmAdmin) { color-scheme:light;--dm-bg:#f8f5fc;--dm-surface:#ebe4f1;--dm-raised:#e2d8ec;--dm-line:#b29bc34a;--dm-text:#413247;--dm-muted:#66516f;--dm-accent:#67427e; }
html[data-theme=light] .dm-window { background:linear-gradient(145deg,#fffdfef5,#f1ecf6eb);border-color:#9577a65e;box-shadow:inset 0 1px #fff,inset 0 -1px #bba4ca52,0 24px 70px #47305230; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .dm-sidebar { background:#ece6f170;border-color:#9d83b12e; }
html[data-theme=light] .dm-header { border-color:#9d83b12e; }
html[data-theme=light] .dm-person { background:#b59bc312; }
html[data-theme=light] .dm-outgoing .dm-bubble { background:#ddd0e8; }
html[data-theme=light] .dm-input-row { background:#fff8;border-color:#9d83b14d; }
html[data-theme=light] #chustagramDM :is(.dm-fields input,select),html[data-theme=light] #dmAdmin :is(input,select,textarea) { background:#fff8; }
html[data-theme=light] :is(#dmAdmin,.dm-copy-preview) { background:#f8f5fbe8;border-color:#ad94bf40; }
html[data-theme=light] .dm-messages { scrollbar-color:#b4a0c2 transparent; }
html[data-theme=light] .dm-admin-sidebar { border-color:#9d83b12e; }

/* The legacy avatar's dark backing showed through its 4px/3px inset. Keep
   its outer and image dimensions, but make that ring disappear in light. */
html[data-theme=light] #page-gallery .ig-avatar { background:transparent;border-color:transparent;box-shadow:none; }

/* All content dialogs, simple planner, and existing game/admin surfaces. */
html[data-theme=light] :is(.admin-login-card,.content-detail-card,.schedule-modal-card,.schedule-editor,.schedule-plan-dialog) {
  color-scheme:light;color:#413247;border-color:#a287b461;
  background:linear-gradient(145deg,#fffffff5,#f4eff8ed 55%,#eae2f2e8); /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
  box-shadow:inset 0 1px #fff,inset 0 -1px #ac92bf47,0 20px 60px #4c355d2b; /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
}
html[data-theme=light] :is(.admin-login-card,.content-detail-card,.schedule-modal-card,.schedule-plan-dialog) :is(h2,h3,h4) { color:#44314f; }
html[data-theme=light] :is(.admin-login-card,.content-detail-card,.schedule-modal-card,.schedule-plan-dialog) :is(p,label,small,.kicker,.admin-login-kicker,.plan-check) { color:#6b5377; }
html[data-theme=light] :is(.admin-login-card,.schedule-plan-dialog,.schedule-editor) input { color:#46314f;background:#ffffff9c;border-color:#a38bb55e;box-shadow:inset 0 1px 3px #7654820a; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] :is(.admin-login-card,.schedule-plan-dialog,.schedule-editor) button { color:#61446f;border-color:#a38bb55e;background:#c5abd91a; }
html[data-theme=light] .plan-field input::placeholder { color:#74617e; }
html[data-theme=light] .plan-types span { color:#654c73;background:#d1bde015;border-color:#a78ab547; }
html[data-theme=light] .plan-types input:checked+span { color:#4f305e;background:#c6a9dc45;border-color:#9c75b5; }
html[data-theme=light] .schedule-plan-dialog .plan-save { color:#fffafF;background:linear-gradient(145deg,#805d94,#68457d);border-color:#614071; }
html[data-theme=light] .plan-actions { border-color:#a78ab52e; }
html[data-theme=light] .schedule-plan-dialog .plan-delete { color:#a04f69;background:none; }
html[data-theme=light] :is(.plan-error,#adminLoginError) { color:#a13f60; }
html[data-theme=light] :is(.admin-login-close,.schedule-modal-close) { color:#6c527c; }
html[data-theme=light] :is(.card,.admin-card) { color:#46344f;background:#f8f5fbc9;border-color:#a18ab83d;box-shadow:inset 0 1px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */





html[data-theme=light] :is(#page-admin) :is(input,textarea,select) { color:#493351;background:#ffffffad;border-color:#a38bb55e; }
html[data-theme=light] #page-admin :is(.crew-editor,.crew-editor summary,.crew-logo-preview) { color:#59416a; }
html[data-theme=light] #page-admin .crew-editor label { color:#6c517d!important; }
html[data-theme=light] #page-admin :is(.crew-editor>p,.crew-file-info,#crewEditorStatus,.crew-edit-card h4) { color:#795f87; }
html[data-theme=light] #page-admin :is(.crew-editor,.crew-edit-card) { border-color:#9e81b338; }
html[data-theme=light] :is(.kicker,.admin-login-title,.admin-login-desc) { color:#7c6388; }
html[data-theme=light] .toast { color:#4d365b;background:#f6f0fbeF;border-color:#a38bb55e; }
html[data-theme=light] dialog::backdrop { background:#30253855; }

/* Audio controls keep their footprint and their independent playback state. */
html[data-theme=light] body.theater :is(.music-dock,.music-details) { color:#654a75;background:linear-gradient(135deg,#fcfaffed,#e8dfefed);border-color:#9f82b465;box-shadow:inset 0 1px #fff,0 5px 20px #4a335a1c; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] body.theater .music-dock :is(button,#musicDockToggle,#musicTitle) { color:#6b487e; }
html[data-theme=light] body.theater .music-dock #theaterPlay::before { border-color:#a88cbb6b;background:linear-gradient(135deg,#fff9,#d1b7e737);box-shadow:inset 0 1px #fff; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .music-details :is(button,a,.music-message) { color:#6b487e; }
html[data-theme=light] :is(.music-volume-panel,.ending-volume-panel) { color:#60446e;background:#f6f0fcf5;border-color:#a38bb55e; }
html[data-theme=light] body.theater #musicDock #musicDockToggle,
html[data-theme=light] body.theater #musicDock.is-playing #musicDockToggle { color:#76558c; }
html[data-theme=light] #musicTrackName { color:#533b61; }
html[data-theme=light] :is(.music-meta,.music-meter) { color:#7a5e89; }
html[data-theme=light] .music-volume-popover { color:#60446e;background:#f6f0fcf5;border-color:#a38bb55e;box-shadow:inset 0 1px #fff,0 8px 22px #47305225; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] body.theater #page-home #rulerSelected { color:#654478; }
html[data-theme=light] #rulerToday { background:none;box-shadow:none; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #rulerToday::before { background:linear-gradient(135deg,#fff9,#e5dbeeeb);border-color:#9c80ae73;box-shadow:inset 0 1px #fff9; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] #page-profile #lyrics { color:#55465f; }
html[data-theme=light] #page-profile[data-fan=true] #lyrics .lyric-fan { color:#794294;-webkit-text-stroke-color:#794294; }
html[data-theme=light] #page-profile[data-fan=false] #lyrics .lyric-fan { color:inherit; }
html[data-theme=light] #page-profile .ending-track .ending-audio-status { color:#6d507d; }
html[data-theme=light] #page-profile :is(.profile-fan-toggle,.lyrics-heading,.ending-lyrics-heading) { color:#6f527f;border-color:#a085b535; }
html[data-theme=light] #page-profile .ending-lyrics-heading h3 { color:#6f527f; }
html[data-theme=light] #page-profile .ending-volume button { color:#78538f; }
html[data-theme=light] #page-profile .ending-play { color:#614172;background:linear-gradient(145deg,#fff9,#d5c6dfeb);border-color:#9473ab8c;box-shadow:inset 0 1px 1px #fff,inset 0 -2px 5px #8e6ba629; } /* taste-skill-ignore: preserve the user-approved lavender glass material and its theme equivalent. */
html[data-theme=light] .plan-types legend { color:#6b5377; }
html[data-theme=light] #page-schedule .v44-dow { color:#7b6788; }
html[data-theme=light] #page-schedule .v44-dow.sun { color:var(--schedule-holiday); }
html[data-theme=light] #page-schedule .v44-dow.sat { color:var(--schedule-saturday); }

/* Daylight glass: a darker outer edge, a white inner return, and a clear body.
   Reuse the existing layers, dimensions, motion variables and compositing.
   No extra canvas, moving blur, or per-frame work is introduced. */
html[data-theme=light] .is-concave .glass-rim {
  border-image-source:url('assets/theater/optical-glass-rim-light.svg');
}
html[data-theme=light] .is-concave .glass-back {
  border-color:#8c729d52;background:#b9a6cc12;
}
html[data-theme=light] .is-concave .glass-edge {
  background:linear-gradient(90deg,#ffffffd9,#826a98a6 23%,#d4c6e366 60%,#fffafed9);
}
html[data-theme=light] .is-concave .glass-rim::after { opacity:.65; }
html[data-theme=light] .is-concave .glass-surface-light {
  background:radial-gradient(ellipse 60% 75% at var(--glass-wash-x,35%) -15%,#ffffff38,transparent 72%),linear-gradient(var(--glass-angle,110deg),transparent 5%,#ffffff09 12%,#ffffff1f 21%,#e4c8f20b 29%,transparent 42%,transparent 73%,#cab2df0d 97%);
}
html[data-theme=light] .is-concave .glass-surface-light::after { opacity:.65; }
html[data-theme=light] #page-home:is(.active,.section-departing) .is-concave .theater-hero {
  box-shadow:0 calc(12px + var(--wing-lift,0) * 3px) calc(24px + var(--wing-lift,0) * 5px) -19px #46314e99;
}
html[data-theme=light] .is-concave .theater-video {
  box-shadow:0 calc(14px + var(--wing-lift,0) * 3px) calc(25px + var(--wing-lift,0) * 5px) -20px #46314e99;
}
/* The static fallback is baked from the same curved glass as the live renderer. */
html[data-theme=light] #page-profile .lens-crystal-fallback { content:url('assets/theater/profile-crystal/rim-light.webp?v=curved-glass-1'); }
html[data-theme=light] #page-profile .lens-depth {
  box-shadow:inset 0 0 9px #7460802e,0 3px 7px #66517233,0 10px 22px #5942651c,0 0 10px #b293d01c;
}

/* Resolve the original ID-specific inquiry rule through its own ink token. */
html[data-theme=light] #page-gallery { --ig-action-ink:#513d60; }
html[data-theme=light] #page-gallery #igMessageOpen { color:var(--ig-action-ink); }
html[data-theme=light] #page-gallery #igMessageOpen:not(:disabled):hover { color:#482b5a; }
html[data-theme=light] #page-gallery .ig-profile-more { color:#685371; }
html[data-theme=light] #page-gallery .ig-shell {
  box-shadow:inset 0 1px #fff,inset 0 -1px #b69dc323,0 18px 48px #4937550d;
}

/* Small indicators retain their exact diameter, offsets and hit areas. */
html[data-theme=light] #page-schedule .v44-start .live-dot {
  border-color:#86629f9c;
  background:radial-gradient(circle at 29% 23%,#fff 0 12%,#ffffff90 19%,transparent 36%),radial-gradient(circle at 45% 64%,#aa80c7,#75528e 65%,#533865);
  box-shadow:inset 0 0 1px #fff,0 0 2px #9b75b32e;
}
html[data-theme=light] #page-profile .profile-switch-track {
  background:#e7dfed;border-color:#9981ab80;box-shadow:inset 0 1px 2px #6650751a;
}
html[data-theme=light] #page-profile .profile-switch-track i { background:#8c739d; }
html[data-theme=light] #page-profile .profile-fan-toggle[aria-checked=true] .profile-switch-track { background:#806194;border-color:#715086; }
html[data-theme=light] #page-profile .profile-fan-toggle[aria-checked=true] .profile-switch-track i { background:#fff9ff; }
html[data-theme=light] .ending-volume input::-webkit-slider-runnable-track { background:linear-gradient(to right,#7a558f var(--ending-level),#c9bcd3 var(--ending-level)); }
html[data-theme=light] .ending-volume input::-moz-range-track { background:linear-gradient(to right,#7a558f var(--ending-level),#c9bcd3 var(--ending-level)); }

/* Only the modal's exterior is translucent. Text/input surfaces stay readable. */
html[data-theme=light] :is(.profile-dialog,#igFollowingDialog,#igDownloadMenu) {
  background:linear-gradient(145deg,#fffffff5,#f1ebf7ed);border-color:#9577a65e;
  box-shadow:inset 0 1px #fff,inset 0 -1px #bba4ca52,0 18px 50px #47305226;
}
html[data-theme=light] :is(#igDialog,#igFollowingDialog,#chustagramDM,.profile-dialog,.schedule-plan-dialog)::backdrop {
  background:#30253855;backdrop-filter:blur(6px);
}
html[data-theme=light] :is(.admin-login-modal,.content-detail-modal) { background:#30253855;backdrop-filter:blur(6px); }
html[data-theme=light] .content-detail-modal .content-detail-backdrop { background:transparent; }
html[data-theme=light] .admin-login-card .admin-login-submit {
  color:#fffaff;background:linear-gradient(145deg,#805d94,#68457d);border-color:#614071;
  box-shadow:inset 0 1px #d8bfe766,0 2px 4px #61407117;
}
html[data-theme=light] :is(.schedule-plan-dialog,.admin-login-card) input::placeholder { color:#74617e;opacity:1; }
html[data-theme=light] #chustagramDM :is(input,textarea)::placeholder { color:var(--dm-muted);opacity:1; }
html[data-theme=light] :is(#chustagramDM,#dmAdmin) .dm-review-state[data-state=approved] { color:#5c4172; }
html[data-theme=light] #page-admin { --text:#46344f;--muted:#6b5377; }
html[data-theme=light] #page-admin :is(.sub,.admin-note,.admin-card-title p,.field label small,.admin-mode-guide span) { color:#6b5377; }
html[data-theme=light] #page-admin .btn {
  color:#5c416d;border-color:#9b80ad66;
  background:linear-gradient(145deg,#ffffffa6,#e7ddec66);box-shadow:inset 0 1px #fff;
}
html[data-theme=light] #page-admin .btn.primary { color:#fffaff;background:linear-gradient(145deg,#805d94,#68457d);border-color:#614071; }
html[data-theme=light] #page-admin :is(input,textarea)::placeholder { color:#74617e;opacity:1; }
@media(hover:hover) and (pointer:fine) {
  html[data-theme=light] #homeNextStream:not(:disabled):hover .v148-title { color:#51315f;text-decoration-color:#8d67a982; }
  html[data-theme=light] #page-schedule .v44-month button:hover:not(:disabled) { border-color:#87669f;background-color:#d8c6e52b; }
  html[data-theme=light] .sidebar :is(.theme-toggle,.channel-toggle,.login-pill):hover,
  html[data-theme=light] .sidebar .header-actions #adminLoginPill:hover { color:#392345;border-color:#85609d; }
  html[data-theme=light] .schedule-plan-dialog .plan-save:hover,
  html[data-theme=light] .admin-login-card .admin-login-submit:hover { background:linear-gradient(145deg,#745188,#5f3e73); }
}
html[data-theme=light] #page-schedule .v44-day.today .schedule-date-ink { color:#6a3f93;text-shadow:none; }
