html[data-site-theme="classic"][data-classic-palette="ocean"] {
  --background: #06101a;
  --canvas: #06101a;
  --canvas-soft: #0a1723;
  --panel: rgba(7, 18, 29, 0.84);
  --panel-solid: #0d1b28;
  --panel-raised: #132536;
  --surface: rgba(7, 17, 27, 0.8);
  --surface-raised: rgba(16, 31, 45, 0.84);
  --surface-soft: rgba(21, 39, 54, 0.82);
  --card-surface: linear-gradient(145deg, rgba(18, 39, 55, 0.9), rgba(6, 17, 29, 0.93));
  --accent: #55c7ff;
  --accent-rgb: 85, 199, 255;
  --accent-strong: #9de2ff;
  --accent-dark: #071a27;
  --blue: #55c7ff;
  --blue-bright: #82d8ff;
  --cyan: #68e5dc;
  --cyan-rgb: 104, 229, 220;
  --classic-atmosphere-a: rgba(2, 12, 23, 0.8);
  --classic-atmosphere-b: rgba(4, 21, 34, 0.6);
  --classic-atmosphere-c: rgba(7, 22, 34, 0.34);
  --classic-sidebar-surface: linear-gradient(165deg, rgba(7, 22, 34, 0.95), rgba(5, 14, 24, 0.94));
}

html[data-site-theme="classic"][data-classic-palette="violet"] {
  --background: #100b18;
  --canvas: #100b18;
  --canvas-soft: #191124;
  --panel: rgba(20, 12, 30, 0.84);
  --panel-solid: #1b1226;
  --panel-raised: #281a37;
  --surface: rgba(20, 13, 29, 0.8);
  --surface-raised: rgba(36, 24, 48, 0.84);
  --surface-soft: rgba(43, 28, 56, 0.82);
  --card-surface: linear-gradient(145deg, rgba(42, 26, 55, 0.9), rgba(16, 10, 25, 0.93));
  --accent: #bf74ff;
  --accent-rgb: 191, 116, 255;
  --accent-strong: #ddadff;
  --accent-dark: #1b0b28;
  --blue: #bf74ff;
  --blue-bright: #d99cff;
  --cyan: #70d7ff;
  --cyan-rgb: 112, 215, 255;
  --classic-atmosphere-a: rgba(15, 7, 24, 0.82);
  --classic-atmosphere-b: rgba(27, 12, 40, 0.62);
  --classic-atmosphere-c: rgba(22, 15, 42, 0.36);
  --classic-sidebar-surface: linear-gradient(165deg, rgba(27, 16, 40, 0.96), rgba(13, 9, 23, 0.95));
}

html[data-site-theme="classic"][data-classic-palette="amber"] {
  --background: #151007;
  --canvas: #151007;
  --canvas-soft: #20180b;
  --panel: rgba(25, 18, 8, 0.85);
  --panel-solid: #241a0d;
  --panel-raised: #332512;
  --surface: rgba(24, 17, 8, 0.81);
  --surface-raised: rgba(42, 30, 14, 0.85);
  --surface-soft: rgba(50, 36, 17, 0.83);
  --card-surface: linear-gradient(145deg, rgba(49, 34, 15, 0.9), rgba(20, 13, 6, 0.94));
  --accent: #ffb340;
  --accent-rgb: 255, 179, 64;
  --accent-strong: #ffd38a;
  --accent-dark: #281905;
  --blue: #ffb340;
  --blue-bright: #ffc766;
  --cyan: #ffe08a;
  --cyan-rgb: 255, 224, 138;
  --classic-atmosphere-a: rgba(20, 12, 3, 0.82);
  --classic-atmosphere-b: rgba(35, 22, 6, 0.62);
  --classic-atmosphere-c: rgba(38, 27, 10, 0.36);
  --classic-sidebar-surface: linear-gradient(165deg, rgba(35, 24, 10, 0.96), rgba(18, 12, 5, 0.95));
}

html[data-site-theme="classic"]:not([data-classic-palette="lime"])::before {
  background:
    linear-gradient(
      90deg,
      var(--classic-atmosphere-a) 0%,
      var(--classic-atmosphere-b) 42%,
      var(--classic-atmosphere-c) 74%,
      var(--classic-atmosphere-b) 100%
    ),
    linear-gradient(180deg, rgba(3, 8, 12, 0.1), var(--classic-atmosphere-a)),
    var(--site-background-image) 70% center / cover no-repeat,
    var(--background);
}

html[data-site-theme="classic"]:not([data-classic-palette="lime"]) body.admin-page {
  background: transparent;
}

html[data-site-theme="classic"]:not([data-classic-palette="lime"]) :is(.sidebar, .admin-sidebar) {
  border-color: rgba(var(--accent-rgb), 0.16);
  background: var(--classic-sidebar-surface);
}

html[data-site-theme="glass"] {
  --background: #050a12;
  --canvas: #050a12;
  --canvas-soft: #0a111c;
  --page: #05070b;
  --text: #f5f5f7;
  --copy: #f5f5f7;
  --ink: #f5f5f7;
  --muted: #adb8c7;
  --muted-strong: #d9e0ea;
  --subtle: #8490a1;
  --accent: #0a84ff;
  --accent-rgb: 10, 132, 255;
  --accent-strong: #64d2ff;
  --accent-dark: #041426;
  --accent-soft: rgba(10, 132, 255, 0.17);
  --blue: #0a84ff;
  --blue-bright: #64d2ff;
  --cyan: #5ac8fa;
  --cyan-rgb: 90, 200, 250;
  --green: #30d158;
  --success: #30d158;
  --warning: #ffd60a;
  --amber: #ff9f0a;
  --danger: #ff453a;
  --red: #ff453a;
  --radius-large: 30px;
  --radius-medium: 18px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --surface: rgba(18, 34, 46, 0.42);
  --surface-raised: rgba(31, 51, 66, 0.5);
  --surface-soft: rgba(38, 59, 73, 0.46);
  --panel: rgba(18, 35, 47, 0.46);
  --panel-solid: #102022;
  --panel-raised: rgba(35, 56, 70, 0.56);
  --panel-soft: rgba(31, 48, 63, 0.54);
  --card-surface: linear-gradient(145deg, rgba(54, 78, 96, 0.43), rgba(8, 24, 36, 0.48));
  --card-border: rgba(166, 214, 255, 0.2);
  --border: rgba(230, 255, 249, 0.16);
  --line: rgba(230, 255, 249, 0.16);
  --line-strong: rgba(235, 255, 251, 0.26);
  --glass-surface:
    linear-gradient(112deg, rgba(255, 255, 255, 0.12) 0%, rgba(201, 232, 255, 0.04) 22%, transparent 44%),
    radial-gradient(ellipse at 18% -10%, rgba(225, 247, 255, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(31, 57, 78, 0.5), rgba(5, 19, 34, 0.46));
  --glass-surface-soft:
    linear-gradient(112deg, rgba(255, 255, 255, 0.085) 0%, rgba(201, 232, 255, 0.026) 23%, transparent 45%),
    radial-gradient(ellipse at 18% -12%, rgba(225, 247, 255, 0.075), transparent 48%),
    linear-gradient(145deg, rgba(34, 59, 80, 0.38), rgba(5, 20, 35, 0.42));
  --glass-border: rgba(226, 255, 249, 0.19);
  --glass-highlight: inset 0 1px rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 24px 64px rgba(0, 5, 8, 0.32), inset 0 1px rgba(255, 255, 255, 0.12);
  --glass-blur: blur(24px) saturate(155%);
  --shadow: 0 28px 76px rgba(0, 4, 7, 0.34), inset 0 1px rgba(255, 255, 255, 0.09);
  color-scheme: dark;
}

html[data-site-theme="glass"] body {
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
  text-rendering: optimizeLegibility;
}

html[data-site-theme="glass"]::before {
  background:
    radial-gradient(circle at 18% 4%, rgba(90, 200, 250, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 9%, rgba(191, 90, 242, 0.1), transparent 34rem),
    linear-gradient(115deg, rgba(3, 9, 18, 0.64), rgba(6, 16, 28, 0.34) 56%, rgba(5, 10, 18, 0.58)),
    var(--site-background-image, url('/backgrounds/background-01.webp?v=2.7.10')) 70% center / cover no-repeat,
    #071112;
}

html.glass-background-audit body > * {
  visibility: hidden !important;
}

html.glass-background-audit dialog::backdrop {
  opacity: 0 !important;
  background: transparent !important;
}

html[data-site-theme="glass"] :is(
  .sidebar,
  .admin-sidebar,
  .mobile-menu-button,
  .mobile-admin-bar,
  .live-header
) {
  border-color: var(--glass-border);
  box-shadow: var(--glass-highlight), 0 18px 46px rgba(0, 5, 8, 0.24);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

html[data-site-theme="glass"] :is(.sidebar, .admin-sidebar) {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.1) 0%, rgba(207, 235, 255, 0.025) 22%, transparent 43%),
    radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.18), transparent 37%),
    linear-gradient(165deg, rgba(32, 58, 80, 0.92), rgba(5, 20, 36, 0.95));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    inset -1px 0 rgba(151, 205, 255, 0.08),
    18px 0 52px rgba(0, 4, 10, 0.28);
}

@media (min-width: 901px) {
  html[data-site-theme="glass"] :is(.sidebar, .admin-sidebar) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

html[data-site-theme="glass"] :is(.mobile-menu-button, .mobile-admin-bar, .live-header) {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.11) 0%, rgba(207, 235, 255, 0.03) 24%, transparent 46%),
    radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.17), transparent 40%),
    linear-gradient(145deg, rgba(31, 57, 77, 0.76), rgba(5, 20, 35, 0.84));
}

html[data-site-theme="glass"] :is(.brand, .console-brand.sidebar-brand) {
  min-width: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(35, 58, 69, 0.72), rgba(8, 22, 31, 0.78)) padding-box,
    linear-gradient(135deg, rgba(235, 249, 255, 0.2), rgba(100, 210, 255, 0.08) 48%, rgba(191, 90, 242, 0.07)) border-box;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.13),
    0 12px 30px rgba(0, 5, 12, 0.2);
}

html[data-site-theme="glass"] .brand {
  margin: -5px;
  padding: 5px;
  border-radius: 18px;
}

html[data-site-theme="glass"] .console-brand.sidebar-brand {
  margin: -2px -5px 0;
  padding: 6px;
  border-radius: 18px;
}

html[data-site-theme="glass"] :is(.brand, .console-brand) > :is(span, div) {
  min-width: 0;
}

html[data-site-theme="glass"] :is(.brand strong, .console-brand strong) {
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 16px rgba(208, 236, 255, 0.12);
  white-space: nowrap;
}

html[data-site-theme="glass"] :is(.brand-logo, .admin-brand-logo) {
  border: 1px solid rgba(231, 248, 255, 0.12);
  background: rgba(2, 8, 15, 0.78);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.11),
    0 10px 28px rgba(0, 6, 16, 0.34),
    0 0 24px rgba(90, 200, 250, 0.09);
}

html[data-site-theme="glass"] :is(
  .eyebrow,
  .section-index,
  .section-kicker
) {
  color: var(--muted-strong);
}

html[data-site-theme="glass"] .confirm-dialog .section-kicker {
  color: var(--danger);
}

html[data-site-theme="glass"] .settings-tool-icon {
  border-color: rgba(226, 239, 250, 0.18);
  color: rgba(239, 244, 250, 0.92);
  background: linear-gradient(145deg, rgba(225, 238, 250, 0.1), rgba(92, 111, 128, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13);
}

html[data-site-theme="glass"] .settings-tool-action {
  color: rgba(228, 235, 244, 0.9);
}

html[data-site-theme="glass"] .settings-tool-card :is(.step-badge, .count-chip) {
  border-color: rgba(226, 239, 250, 0.17);
  color: rgba(215, 224, 235, 0.86);
  background: rgba(223, 236, 248, 0.075);
}

html[data-site-theme="glass"] :is(
  .account-live-cumulative,
  .failure-summary-rate strong,
  .visitor-summary-pages strong,
  .region-unknown-count,
  .visitor-today-count,
  .visitor-day-heading strong,
  .home-daily-timeline-insights-heading strong
) {
  color: rgba(244, 248, 252, 0.94);
}

html[data-site-theme="glass"] :is(
  .comments-heading p,
  .viewer-speed-kicker,
  .visitor-device-mobile,
  .pressure-summary-intro > span,
  .pressure-guidance > span
) {
  color: var(--muted-strong);
}

html[data-site-theme="glass"] :is(
  .management-panel,
  .login-card,
  .account-grid,
  .history-day-panel,
  .player-panel,
  .comments-panel,
  .account-history-dialog-card,
  .contact-author-card,
  .site-feedback-card,
  .home-live-trend-card,
  .history-date-dialog,
  .history-trend-dialog,
  .admin-settings-dialog
) {
  border-color: var(--glass-border);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.105) 0%, rgba(207, 235, 255, 0.03) 23%, transparent 45%),
    radial-gradient(circle at 14% 0%, rgba(164, 225, 255, 0.14), transparent 40%),
    linear-gradient(145deg, rgba(24, 49, 69, 0.74), rgba(4, 18, 32, 0.84));
  border-radius: var(--radius-large);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-site-theme="glass"] .account-grid {
  border-color: rgba(172, 219, 255, 0.17);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.058) 0%, rgba(116, 197, 255, 0.022) 24%, transparent 43%),
    radial-gradient(circle at 12% -8%, rgba(90, 200, 250, 0.095), transparent 42%),
    linear-gradient(145deg, rgba(9, 31, 50, 0.86), rgba(2, 14, 27, 0.93));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.105),
    inset 0 0 0 1px rgba(112, 190, 246, 0.025),
    0 22px 58px rgba(0, 5, 12, 0.27);
}

html[data-site-theme="glass"] .account-grid > .account-card {
  border-bottom-color: rgba(178, 222, 255, 0.15);
  background:
    linear-gradient(90deg, rgba(88, 181, 232, 0.065), rgba(10, 34, 51, 0.2) 46%, rgba(2, 15, 28, 0.14));
}

html[data-site-theme="glass"] .account-grid > .account-card:hover {
  background:
    linear-gradient(112deg, rgba(123, 207, 255, 0.07), transparent 45%),
    rgba(12, 36, 55, 0.3);
}

html[data-site-theme="glass"] .account-grid :is(.account-name, .profile-value, strong) {
  text-shadow: 0 1px 12px rgba(154, 218, 255, 0.075);
}

html[data-site-theme="glass"] :is(
  .summary-card,
  .scheduler-overview,
  .scheduler-metric,
  .batch-card,
  .backup-card,
  .account-admin-row,
  .proxy-card,
  .failure-summary-card,
  .visitor-summary-card,
  .settings-tool-card,
  .history-summary-metric,
  .history-session-row,
  .history-trend-summary > div,
  .viewer-history-summary > div,
  .room-information,
  .viewer-history-panel
) {
  border-radius: var(--radius-lg);
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-site-theme="glass"] :is(
  .summary-card,
  .scheduler-overview,
  .scheduler-metric,
  .batch-card,
  .backup-card,
  .account-admin-row,
  .proxy-card,
  .failure-summary-card,
  .visitor-summary-card,
  .settings-tool-card,
  .history-summary-metric,
  .history-session-row,
  .history-trend-summary > div,
  .viewer-history-summary > div,
  .room-information,
  .viewer-history-panel
) {
  border-color: var(--glass-border);
  background: var(--glass-surface-soft);
  box-shadow: var(--glass-highlight);
}

html[data-site-theme="glass"] .summary-card-accent {
  background:
    radial-gradient(circle at 96% 8%, rgba(10, 132, 255, 0.2), transparent 48%),
    var(--glass-surface-soft);
}

html[data-site-theme="glass"] .summary-card-live {
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 92, 118, 0.15), transparent 48%),
    var(--glass-surface-soft);
}

html[data-site-theme="glass"] :is(
  .page-header-contact-button,
  .profile-link,
  .primary-button,
  .secondary-button,
  .back-link,
  .room-status,
  .history-date-picker-open,
  .account-sort-select,
  .history-account-sort select,
  .history-account-search-field,
  .history-expand-button,
  .history-trend-button,
  .trend-series-controls button,
  .trend-compare-picker select,
  .button-secondary,
  .button-quiet,
  .count-chip
) {
  border-color: rgba(225, 255, 248, 0.18);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.105) 0%, rgba(205, 235, 255, 0.025) 28%, transparent 50%),
    linear-gradient(145deg, rgba(29, 52, 70, 0.84), rgba(7, 22, 37, 0.9));
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 9px 24px rgba(0, 6, 8, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-site-theme="glass"] body .account-sort-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  color-scheme: dark;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m3 5 4 4 4-4' stroke='%23c9edff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px 14px no-repeat,
    radial-gradient(circle at 14% 0%, rgba(100, 210, 255, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(39, 60, 71, 0.92), rgba(10, 25, 35, 0.96));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.15),
    0 9px 24px rgba(0, 6, 14, 0.18);
}

html[data-site-theme="glass"] body .account-sort-select option {
  color: #f5f5f7;
  background: #111f2b;
  font-weight: 650;
}

html[data-site-theme="glass"] body .account-sort-select option:checked {
  color: #ffffff;
  background: #173a57;
}

html[data-site-theme="glass"] :is(
  .trend-series-controls,
  .viewer-speed-choices,
  .home-daily-timeline-view-switch
) {
  border: 1px solid rgba(226, 255, 249, 0.14);
  border-radius: 999px;
  background: rgba(5, 18, 20, 0.45);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

html[data-site-theme="glass"] .trend-series-controls {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-site-theme="glass"] .trend-series-controls > button {
  width: 100%;
  border-radius: 16px;
}

html[data-site-theme="glass"] .trend-series-controls .trend-compare-picker {
  width: 100%;
  box-sizing: border-box;
  padding: 4px 5px 4px 12px;
  overflow: visible;
  border-radius: 16px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.075), transparent 48%),
    rgba(7, 21, 34, 0.66);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(205, 232, 255, 0.055);
}

html[data-site-theme="glass"] :is(
  .trend-series-controls button[aria-pressed="true"],
  .viewer-speed-choices button[aria-pressed="true"],
  .home-daily-timeline-view-switch button[aria-pressed="true"]
) {
  border-color: rgba(232, 255, 250, 0.3);
  background: linear-gradient(145deg, rgba(224, 242, 255, 0.25), rgba(10, 132, 255, 0.16));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.26), 0 7px 18px rgba(0, 7, 10, 0.22);
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch {
  gap: 3px;
  padding: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 18px;
  border-color: rgba(226, 245, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(226, 241, 255, 0.13), rgba(42, 65, 87, 0.12)),
    rgba(8, 21, 34, 0.66);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px rgba(0, 8, 18, 0.24),
    0 12px 30px rgba(0, 8, 18, 0.2);
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch::before {
  border-color: rgba(180, 225, 255, 0.34);
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.28), transparent 48%),
    linear-gradient(145deg, rgba(126, 205, 255, 0.34), rgba(10, 132, 255, 0.2));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.36),
    inset 0 -1px rgba(6, 73, 138, 0.24),
    0 5px 16px rgba(0, 88, 176, 0.14);
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button,
html[data-site-theme="glass"] .home-daily-timeline-view-switch button[aria-pressed="true"] {
  border: 0;
  border-radius: 13px;
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button {
  color: rgba(239, 247, 255, 0.74);
  background: transparent;
  box-shadow: none;
  text-shadow: 0 1px 10px rgba(0, 8, 18, 0.22);
  transform: translate3d(0, 0, 0);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 140ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 140ms ease;
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button:hover {
  color: #ffffff;
  background: rgba(224, 241, 255, 0.07);
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button[aria-pressed="true"] {
  color: #64d2ff;
  background: transparent;
  box-shadow: none;
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button:active {
  transform: translate3d(0, 1px, 0) scale(0.965);
  filter: brightness(1.08);
  transition-duration: 70ms;
}

html[data-site-theme="glass"] .home-daily-timeline-view-switch button:focus-visible {
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.32),
    inset 0 0 0 1px rgba(202, 235, 255, 0.34),
    0 0 20px rgba(90, 200, 250, 0.18);
}

html[data-site-theme="glass"] :is(
  .field input,
  .field select,
  .field textarea,
  .site-feedback-field input,
  .site-feedback-field textarea,
  .failure-toolbar select,
  .failure-date-picker select,
  .proxy-list-toolbar select
) {
  border-color: rgba(226, 255, 249, 0.19);
  background: rgba(4, 16, 19, 0.52);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

html[data-site-theme="glass"] :is(
  .field input,
  .field select,
  .field textarea,
  .site-feedback-field input,
  .site-feedback-field textarea
):focus {
  border-color: rgba(226, 245, 255, 0.25);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    0 0 20px rgba(90, 200, 250, 0.15),
    0 9px 30px rgba(0, 5, 14, 0.22);
}

html[data-site-theme="glass"] :is(
  a,
  button,
  input,
  textarea,
  select,
  [role="button"],
  [tabindex]
):is(:focus, :focus-visible) {
  outline: none !important;
}

html[data-site-theme="glass"] :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select
):is(:focus, :focus-visible) {
  border-color: rgba(226, 245, 255, 0.25) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.11),
    0 0 20px rgba(90, 200, 250, 0.15),
    0 10px 30px rgba(0, 5, 14, 0.22) !important;
}

html[data-site-theme="glass"] :is(
  a,
  button,
  [role="button"],
  [tabindex]
):focus-visible {
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 0 18px rgba(90, 200, 250, 0.15),
    0 0 34px rgba(191, 90, 242, 0.07);
}

html[data-site-theme="glass"] :is(
  .account-search-field,
  .history-account-search-field
):focus-within {
  border-color: rgba(226, 245, 255, 0.24);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.09),
    0 0 20px rgba(90, 200, 250, 0.14),
    0 9px 28px rgba(0, 5, 14, 0.2);
}

html[data-site-theme="glass"] .live-control-group {
  padding: 4px 5px;
  border: 1px solid rgba(226, 245, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(226, 241, 255, 0.075), transparent 48%),
    rgba(7, 20, 32, 0.42);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    0 9px 24px rgba(0, 7, 16, 0.14);
}

html[data-site-theme="glass"] :is(
  .live-priority-toggle input:focus-visible + .toggle-track,
  .elastic-acquisition-switch input:focus-visible + span,
  .switch-control input:focus-visible + span,
  .check-control input:focus-visible + span
) {
  outline: none !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 0 18px rgba(90, 200, 250, 0.16);
}

html[data-site-theme="glass"] .theme-choice-card:has(input:focus-visible) {
  outline: none !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 0 20px rgba(90, 200, 250, 0.14),
    0 12px 32px rgba(0, 5, 14, 0.2);
}

html[data-site-theme="glass"] .account-card:hover,
html[data-site-theme="glass"] .history-account-card:hover,
html[data-site-theme="glass"] .history-account-card.is-expanded {
  background: rgba(225, 255, 248, 0.045);
}

html[data-site-theme="glass"] dialog::backdrop,
html[data-site-theme="glass"] .account-history-dialog::backdrop,
html[data-site-theme="glass"] .contact-author-dialog::backdrop,
html[data-site-theme="glass"] .site-feedback-dialog::backdrop,
html[data-site-theme="glass"] .home-live-trend-dialog::backdrop,
html[data-site-theme="glass"] .history-date-dialog::backdrop,
html[data-site-theme="glass"] .history-trend-dialog::backdrop,
html[data-site-theme="glass"] .admin-settings-dialog::backdrop {
  background:
    radial-gradient(circle at 18% 8%, rgba(96, 151, 193, 0.07), transparent 44%),
    linear-gradient(145deg, rgba(13, 31, 47, 0.19), rgba(3, 14, 26, 0.23));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-site-theme="glass"] :is(
  .account-history-dialog-card,
  .contact-author-card,
  .site-feedback-card,
  .home-live-trend-card,
  .history-date-dialog,
  .history-trend-dialog,
  .admin-settings-dialog
) {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.125) 0%, rgba(207, 235, 255, 0.035) 22%, transparent 44%),
    radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.2), transparent 36%),
    radial-gradient(circle at 94% 10%, rgba(191, 90, 242, 0.11), transparent 33%),
    linear-gradient(155deg, rgba(27, 53, 72, 0.87), rgba(4, 17, 31, 0.92));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 34px rgba(184, 226, 255, 0.035),
    0 34px 100px rgba(0, 3, 6, 0.66);
}

html[data-site-theme="glass"] :is(
  .home-live-trend-header,
  .history-trend-header,
  .admin-settings-dialog-header
) {
  border-color: var(--glass-border);
  background: linear-gradient(180deg, rgba(33, 60, 80, 0.9), rgba(7, 27, 43, 0.92));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-site-theme="glass"] :is(
  .account-history-frame-shell,
  .account-history-frame
) {
  background: #0b1c2b;
}

html[data-site-theme="glass"] .account-history-frame-feedback {
  background:
    radial-gradient(circle at 22% 8%, rgba(118, 205, 255, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(27, 53, 75, 0.97), rgba(7, 22, 38, 0.985));
}

html[data-site-theme="glass"] .video-shell {
  border-bottom: 1px solid rgba(230, 255, 249, 0.13);
  background:
    radial-gradient(circle at 50% 38%, rgba(57, 211, 189, 0.13), transparent 42%),
    linear-gradient(145deg, #111d20, #050b0e);
}

html[data-site-theme="glass"] :is(.button-primary, .site-feedback-submit) {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.38), 0 14px 30px rgba(10, 132, 255, 0.26);
}

html[data-site-theme="glass"] :is(
  button:not(:disabled),
  a[href],
  [role="button"]:not([aria-disabled="true"]),
  .theme-choice-card,
  .settings-tool-card,
  .history-date-picker-open
) {
  transition-property: transform, box-shadow, border-color, background-color, color;
  transition-duration: 180ms, 240ms, 200ms, 220ms, 180ms;
  transition-timing-function: cubic-bezier(0.2, 0.78, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  html[data-site-theme="glass"] :is(
    .page-header-contact-button,
    .profile-link,
    .back-link,
    .button,
    .settings-tool-card,
    .history-date-picker-open
  ):hover {
    border-color: rgba(229, 255, 249, 0.31);
    background-color: rgba(39, 63, 62, 0.55);
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.16),
      0 0 0 1px rgba(100, 210, 255, 0.075),
      0 10px 26px rgba(0, 6, 14, 0.2),
      0 0 24px rgba(90, 200, 250, 0.07);
    transform: translate3d(0, -1px, 0);
  }
}

html[data-site-theme="glass"] :is(
  .page-header-contact-button,
  .profile-link,
  .back-link,
  .button,
  .settings-tool-card,
  .history-date-picker-open
):active {
  box-shadow:
    inset 0 2px 7px rgba(1, 7, 14, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 4, 10, 0.12);
  transform: translate3d(0, 1px, 0) scale(0.982);
  transition-duration: 65ms;
}

html[data-site-theme="glass"] :is(
  button,
  [role="button"],
  .theme-choice-card
):active {
  box-shadow:
    inset 0 2px 7px rgba(1, 7, 14, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 4, 10, 0.12);
  transform: translate3d(0, 1px, 0) scale(0.982);
  transition-duration: 65ms;
}

html[data-motion-profile="genie"].glass-genie-animation-active,
html[data-motion-profile="genie"].glass-genie-animation-active body {
  overscroll-behavior: none;
}

html[data-motion-profile="none"] dialog,
html[data-motion-profile="none"] dialog *,
html[data-motion-profile="none"] dialog::backdrop {
  animation: none !important;
  transition: none !important;
}

html[data-motion-profile="subtle"] dialog,
html[data-motion-profile="subtle"] dialog[open],
html[data-motion-profile="subtle"] dialog.is-mobile-closing,
html[data-motion-profile="subtle"] dialog::backdrop,
html[data-motion-profile="genie"] dialog,
html[data-motion-profile="genie"] dialog[open],
html[data-motion-profile="genie"] dialog.is-mobile-closing,
html[data-motion-profile="genie"] dialog::backdrop {
  animation: none !important;
  transition: none !important;
}

html[data-motion-profile="subtle"] dialog[open]::backdrop {
  animation: none !important;
}

html[data-motion-profile="subtle"] .glass-subtle-feedback {
  position: absolute;
  z-index: 2147483646;
  inset: 0;
  contain: strict;
  box-sizing: border-box;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(var(--cyan-rgb), 0.08);
  pointer-events: none;
  transform-origin: center;
  will-change: transform, opacity;
}

html[data-motion-profile="genie"] .glass-genie-native-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

html[data-motion-profile="genie"] .glass-genie-native-hidden::backdrop {
  opacity: 0 !important;
}

html[data-site-theme="glass"] dialog,
html[data-site-theme="glass"] dialog[open],
html[data-site-theme="glass"] dialog::backdrop,
html[data-site-theme="glass"] dialog[open]::backdrop {
  animation: none !important;
  transition: none !important;
}

html[data-site-theme="glass"] dialog,
html[data-site-theme="glass"] dialog[open] {
  box-sizing: border-box;
  border: 0 !important;
  outline: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(84, 177, 229, 0.12),
    0 0 0 1px rgba(2, 11, 20, 0.42),
    0 26px 76px rgba(0, 4, 10, 0.56) !important;
}

html[data-site-theme="glass"] dialog > :first-child {
  box-sizing: border-box;
  min-height: 100%;
  border: 1px solid rgba(225, 244, 255, 0.13) !important;
  border-radius: inherit;
  outline: 0 !important;
  background-color: rgba(7, 22, 38, 0.992) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(91, 187, 240, 0.08);
}

html[data-site-theme="glass"] dialog,
html[data-site-theme="glass"] dialog[open],
html[data-site-theme="glass"] dialog.is-mobile-closing {
  transform: none !important;
  will-change: auto;
}

html[data-site-theme="glass"] dialog[open] {
  opacity: 1;
}

html[data-site-theme="glass"] dialog[open]::backdrop {
  opacity: 1;
}

html[data-motion-profile="genie"] .glass-genie-layer {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}

html[data-motion-profile="genie"] .glass-genie-shade {
  display: none !important;
}

html[data-motion-profile="genie"] .glass-genie-stage {
  position: fixed;
  z-index: 1;
  overflow: visible;
  contain: layout style;
  perspective: 1200px;
  pointer-events: none;
  transform: translateZ(0);
}

html[data-motion-profile="genie"] .glass-genie-preparation-surface {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  opacity: 0 !important;
  transform: translate3d(0, 0, 0) scale(0.02, 0.02) !important;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  pointer-events: none !important;
  backface-visibility: hidden;
}

html[data-motion-profile="genie"] .glass-genie-tail {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

html[data-motion-profile="genie"] .glass-genie-tail-path {
  fill: rgba(222, 239, 255, 0.96);
  stroke: none;
}

html[data-motion-profile="genie"] :is(
  .glass-genie-canvas,
  .glass-genie-preparation-canvas
) {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  display: block;
  contain: strict;
  pointer-events: none;
  transform: translateZ(0);
}

html[data-motion-profile="genie"] .glass-genie-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

html[data-motion-profile="genie"] .glass-genie-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  contain: layout style;
  transform-origin: center;
  will-change: transform, opacity, clip-path, filter;
  backface-visibility: hidden;
  pointer-events: none;
}

html[data-motion-profile="genie"] .glass-genie-surface.is-mobile-composited {
  contain: layout paint style;
  filter: none !important;
  clip-path: none !important;
  will-change: transform, opacity;
}

html[data-motion-profile="genie"] .glass-genie-surface.is-mobile-composited::after {
  mix-blend-mode: normal;
}

html[data-motion-profile="genie"] .glass-genie-surface.is-mobile-composited .glass-genie-clone,
html[data-motion-profile="genie"] .glass-genie-surface.is-mobile-composited .glass-genie-clone * {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-motion-profile="genie"] .glass-genie-surface.is-mobile-composited .glass-genie-clone * {
  background-image: none !important;
}

html[data-motion-profile="genie"] .glass-genie-surface.glass-genie-mesh {
  overflow: visible;
  contain: none;
  filter: none;
  clip-path: none;
}

html[data-motion-profile="genie"] .glass-genie-mesh > g {
  will-change: transform;
}

html[data-motion-profile="genie"] .glass-genie-mesh foreignObject {
  overflow: hidden;
}

html[data-motion-profile="genie"] .glass-genie-surface::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 31%, rgba(75, 156, 255, 0.045));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
}

html[data-motion-profile="genie"] .glass-genie-strip {
  position: absolute;
  overflow: hidden;
  contain: paint;
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

html[data-motion-profile="genie"] .glass-genie-clone {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  animation: none !important;
  transition: none !important;
  pointer-events: none !important;
  user-select: none !important;
}

html[data-motion-profile="genie"] .glass-genie-clone:not(.glass-genie-preparation-surface) {
  opacity: 1 !important;
  transform: none !important;
}

html[data-motion-profile="genie"] .glass-genie-clone,
html[data-motion-profile="genie"] .glass-genie-clone * {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  animation: none !important;
  transition: none !important;
  caret-color: transparent !important;
}

html[data-motion-profile="genie"] .glass-genie-surface > .glass-genie-clone {
  contain: layout paint style;
}

html[data-motion-profile="genie"] .glass-genie-layer[data-mode="compatibility"] .glass-genie-strip {
  filter: none;
}

@media (min-width: 901px) {
  html[data-site-theme="glass"] :is(.sidebar, .admin-sidebar) {
    border-radius: 0 30px 30px 0;
  }

  html[data-site-theme="glass"] .home-daily-timeline-dialog {
    width: min(1560px, calc(100vw - 32px));
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
  }

  html[data-site-theme="glass"] .home-daily-timeline-card {
    max-height: 100%;
  }

  html[data-site-theme="glass"] .home-daily-timeline-header {
    padding: 14px 18px 12px;
  }

  html[data-site-theme="glass"] .home-daily-timeline-body {
    padding: 12px 18px 14px;
  }
}

@media (max-width: 900px) {
  html[data-site-theme="glass"] .mobile-menu-button {
    border-color: transparent;
    border-radius: 24px;
    background:
      linear-gradient(145deg, rgba(31, 54, 66, 0.94), rgba(7, 20, 29, 0.96)) padding-box,
      linear-gradient(135deg, rgba(235, 249, 255, 0.24), rgba(100, 210, 255, 0.09) 50%, rgba(191, 90, 242, 0.08)) border-box;
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.16),
      0 14px 38px rgba(0, 5, 14, 0.28);
  }

  html[data-site-theme="glass"] .mobile-admin-bar {
    border-radius: 0 0 24px 24px;
  }
}

@media (max-width: 680px) {
  html[data-site-theme="glass"] {
    --glass-blur: blur(19px) saturate(145%);
    --glass-shadow: 0 18px 48px rgba(0, 5, 8, 0.29), inset 0 1px rgba(255, 255, 255, 0.1);
  }

  html[data-site-theme="glass"] body {
    background: transparent;
    background-attachment: scroll;
  }

  html[data-site-theme="glass"]::before {
    position: fixed;
    top: -96px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100lvh + 192px);
    transform: translate3d(0, 0, 0);
    background:
      radial-gradient(circle at 18% 4%, rgba(90, 200, 250, 0.14), transparent 30rem),
      radial-gradient(circle at 90% 9%, rgba(191, 90, 242, 0.085), transparent 32rem),
      linear-gradient(115deg, rgba(3, 9, 18, 0.64), rgba(6, 16, 28, 0.36) 56%, rgba(5, 10, 18, 0.6)),
      var(--site-background-image, url('/backgrounds/background-01.webp?v=2.7.10')) 70% center / cover no-repeat,
      #071112;
    content: "";
  }

  html[data-site-theme="glass"] :is(.summary-card, .failure-summary-card, .visitor-summary-card) {
    background: linear-gradient(145deg, rgba(37, 60, 59, 0.42), rgba(6, 19, 22, 0.5));
  }
}

@media (hover: none) and (pointer: coarse) {
  html[data-site-theme="glass"] {
    --glass-blur: none;
    --glass-surface:
      linear-gradient(112deg, rgba(255, 255, 255, 0.105) 0%, rgba(205, 235, 255, 0.03) 23%, transparent 45%),
      radial-gradient(ellipse at 18% -10%, rgba(225, 247, 255, 0.1), transparent 46%),
      linear-gradient(145deg, rgba(31, 58, 80, 0.78), rgba(5, 20, 36, 0.87));
    --glass-surface-soft:
      linear-gradient(112deg, rgba(255, 255, 255, 0.075) 0%, rgba(205, 235, 255, 0.022) 24%, transparent 46%),
      radial-gradient(ellipse at 18% -12%, rgba(225, 247, 255, 0.065), transparent 48%),
      linear-gradient(145deg, rgba(34, 60, 81, 0.68), rgba(5, 20, 36, 0.8));
    --glass-shadow: 0 16px 42px rgba(0, 3, 10, 0.34), inset 0 1px rgba(255, 255, 255, 0.11);
  }

  html[data-site-theme="glass"] body {
    background: transparent;
    background-attachment: scroll;
  }

  html[data-site-theme="glass"]::before {
    position: fixed;
    top: -96px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100lvh + 192px);
    transform: translate3d(0, 0, 0);
    background:
      radial-gradient(circle at 18% 4%, rgba(90, 200, 250, 0.14), transparent 30rem),
      radial-gradient(circle at 90% 9%, rgba(191, 90, 242, 0.085), transparent 32rem),
      linear-gradient(115deg, rgba(3, 9, 18, 0.64), rgba(6, 16, 28, 0.36) 56%, rgba(5, 10, 18, 0.6)),
      var(--site-background-image, url('/backgrounds/background-01.webp?v=2.7.10')) 70% center / cover no-repeat,
      #071112;
    content: "";
  }

  html[data-site-theme="glass"] body * {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html[data-site-theme="glass"] :is(
    .sidebar,
    .admin-sidebar,
    .mobile-menu-button,
    .mobile-admin-bar,
    .live-header
  ) {
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.095) 0%, rgba(207, 235, 255, 0.026) 24%, transparent 46%),
      radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.16), transparent 40%),
      linear-gradient(145deg, rgba(34, 62, 84, 0.92), rgba(5, 21, 38, 0.96));
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html[data-site-theme="glass"] :is(
    .management-panel,
    .login-card,
    .account-grid,
    .history-day-panel,
    .player-panel,
    .comments-panel,
    .account-history-dialog-card,
    .contact-author-card,
    .site-feedback-card,
    .home-live-trend-card,
    .history-date-dialog,
    .history-trend-dialog,
    .admin-settings-dialog
  ) {
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.095) 0%, rgba(207, 235, 255, 0.026) 23%, transparent 45%),
      radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.16), transparent 38%),
      linear-gradient(145deg, rgba(25, 51, 72, 0.8), rgba(4, 18, 33, 0.88));
  }

  html[data-site-theme="glass"] .account-grid {
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.1) 0%, rgba(207, 235, 255, 0.03) 23%, transparent 45%),
      radial-gradient(circle at 12% 0%, rgba(164, 225, 255, 0.17), transparent 38%),
      linear-gradient(145deg, rgba(12, 38, 59, 0.9), rgba(3, 16, 30, 0.95));
  }

  html[data-site-theme="glass"] :is(.viewer-chart-line, .history-chart-line) {
    filter: none;
  }

  html[data-site-theme="glass"] .home-daily-timeline-view-switch {
    border-radius: 18px;
  }
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"]::before {
  background:
    radial-gradient(circle at 18% 4%, rgba(90, 200, 250, 0.045), transparent 32rem),
    radial-gradient(circle at 90% 9%, rgba(191, 90, 242, 0.025), transparent 34rem),
    linear-gradient(115deg, rgba(2, 7, 13, 0.44), rgba(4, 10, 17, 0.18) 56%, rgba(2, 7, 13, 0.46)),
    var(--site-background-image, url('/backgrounds/background-01.webp?v=2.7.10')) 70% center / cover no-repeat,
    #050a10;
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main {
  --muted: #c5cfdb;
  --muted-strong: #e4e9f0;
  --subtle: #a3afbe;
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main .management-panel {
  border-color: rgba(208, 229, 244, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 24%),
    radial-gradient(circle at 14% -10%, rgba(183, 226, 250, 0.06), transparent 42%),
    linear-gradient(148deg, rgba(14, 25, 38, 0.95), rgba(3, 10, 18, 0.975));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.105),
    inset 0 0 0 1px rgba(196, 224, 242, 0.025),
    0 24px 64px rgba(0, 4, 10, 0.34);
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main :is(
  .summary-card,
  .scheduler-overview,
  .scheduler-metric,
  .batch-card,
  .backup-card,
  .account-admin-row,
  .proxy-card,
  .failure-summary-card,
  .visitor-summary-card,
  .settings-tool-card
) {
  border-color: rgba(205, 226, 241, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), transparent 26%),
    radial-gradient(circle at 12% -12%, rgba(184, 225, 247, 0.045), transparent 44%),
    linear-gradient(148deg, rgba(20, 33, 47, 0.93), rgba(5, 13, 23, 0.965));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.09),
    0 12px 32px rgba(0, 4, 10, 0.2);
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main .summary-card-accent {
  background:
    radial-gradient(circle at 96% 8%, rgba(10, 132, 255, 0.13), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), transparent 26%),
    linear-gradient(148deg, rgba(20, 33, 47, 0.93), rgba(5, 13, 23, 0.965));
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main .summary-card-live {
  background:
    radial-gradient(circle at 96% 8%, rgba(255, 92, 118, 0.105), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), transparent 26%),
    linear-gradient(148deg, rgba(20, 33, 47, 0.93), rgba(5, 13, 23, 0.965));
}

html[data-site-theme="glass"][data-glass-experience-view="admin-shell"] .admin-main .proxy-card.state-disabled {
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  html[data-site-theme="glass"] *,
  html[data-site-theme="glass"] *::before,
  html[data-site-theme="glass"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-site-theme="glass"] {
    --glass-surface: linear-gradient(145deg, rgba(20, 38, 40, 0.97), rgba(8, 22, 25, 0.98));
    --glass-surface-soft: linear-gradient(145deg, rgba(24, 43, 43, 0.96), rgba(8, 22, 25, 0.97));
  }

  html[data-site-theme="glass"] :is(
    .sidebar,
    .admin-sidebar,
    .mobile-menu-button,
    .mobile-admin-bar,
    .live-header
  ) {
    background: rgba(8, 22, 24, 0.98);
  }
}

dialog::backdrop,
dialog[open]::backdrop {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  opacity: 0 !important;
}
