/* 高端版暗色层：只命中 data-view=high + data-scheme=dark。
   低端完整版 / 极简版仍走原有主题；高端版保留液态玻璃，不变成纯黑。 */

html[data-theme][data-view="high"][data-scheme="dark"] {
  color-scheme: dark;
  --paper: #090d14;
  --surface: rgba(22, 29, 40, .72);
  --quiet: rgba(18, 24, 34, .56);
  --raised: #1b2432;
  --ink: #edf2fb;
  --muted: #98a5b8;
  --line: rgba(255, 255, 255, .14);
  --rule-soft: rgba(255, 255, 255, .08);
  --green: #83a8ff;
  --focus: #83a8ff;
  --accent-soft: rgba(131, 168, 255, .15);
  --today-fill: rgba(131, 168, 255, .16);
  --nav-active: rgba(131, 168, 255, .18);
  --danger: #ff9696;
  --credit-rule: #96a4b8;
  --schedule-secondary: #8b99ad;
  --drop-border: #8b99ad;
  --accent-hover: #a9c1ff;
  --shadow: 0 26px 70px rgba(0, 0, 0, .42);
  --veil: rgba(3, 6, 11, .72);
  --overlay-veil: rgba(3, 6, 11, .68);
  --overlay-shadow: rgba(0, 0, 0, .48);
  --toast-shadow: rgba(0, 0, 0, .4);
}

html[data-theme][data-view="high"][data-scheme="dark"] body {
  color: var(--ink);
  background-color: #090d14;
  background-image:
    linear-gradient(180deg,
      #090d14 0px,
      #090d14 calc(env(safe-area-inset-top, 0px) + 10px),
      rgba(9, 13, 20, 0) calc(env(safe-area-inset-top, 0px) + 72px)),
    radial-gradient(46% 38% at 4% 0%, rgba(219, 138, 82, .22), transparent 66%),
    radial-gradient(44% 36% at 100% 2%, rgba(92, 142, 255, .28), transparent 64%),
    radial-gradient(52% 42% at 84% 100%, rgba(70, 194, 171, .17), transparent 68%),
    radial-gradient(48% 36% at 6% 100%, rgba(145, 119, 226, .17), transparent 68%),
    linear-gradient(150deg, #080c12 0%, #0c1320 48%, #081019 100%);
  background-attachment: fixed;
}
html[data-theme][data-view="high"][data-scheme="dark"] body::after {
  opacity: .36;
  background:
    radial-gradient(30vw 22vw at 18% 16%, rgba(241, 159, 92, .22), transparent 70%),
    radial-gradient(32vw 30vw at 88% 24%, rgba(89, 139, 255, .26), transparent 72%),
    radial-gradient(34vw 24vw at 56% 100%, rgba(74, 211, 182, .17), transparent 70%);
}
html[data-theme][data-view="high"][data-scheme="dark"] footer {
  border-top-color: rgba(255, 255, 255, .1);
  color: var(--muted);
}

/* 玻璃卡片改成深色玻璃，保留顶部高光和边缘反光 */
html[data-theme][data-view="high"][data-scheme="dark"] .panel,
html[data-theme][data-view="high"][data-scheme="dark"] .set-card,
html[data-theme][data-view="high"][data-scheme="dark"] .settings-menu,
html[data-theme][data-view="high"][data-scheme="dark"] .course-manager,
html[data-theme][data-view="high"][data-scheme="dark"] .minimal-agenda,
html[data-theme][data-view="high"][data-scheme="dark"] .tool-directory,
html[data-theme][data-view="high"][data-scheme="dark"] .admin-center,
html[data-theme][data-view="high"][data-scheme="dark"] #stats-dashboard,
html[data-theme][data-view="high"][data-scheme="dark"] .agenda-section,
html[data-theme][data-view="high"][data-scheme="dark"] .day-side .tomorrow-section,
html[data-theme][data-view="high"][data-scheme="dark"] .tools-intro,
html[data-theme][data-view="high"][data-scheme="dark"] .week-wrap,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-scroll,
html[data-theme][data-view="high"][data-scheme="dark"] .settings-overview,
html[data-theme][data-view="high"][data-scheme="dark"] .settings-detail,
html[data-theme][data-view="high"][data-scheme="dark"] .room-page,
html[data-theme][data-view="high"][data-scheme="dark"] .day-feature {
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .035) 42%, transparent 72%),
    linear-gradient(145deg, rgba(30, 39, 54, .84), rgba(16, 22, 32, .68));
  border-color: rgba(255, 255, 255, .14);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, .38),
    0 2px 8px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .06);
}
html[data-theme][data-view="high"][data-scheme="dark"] .panel::after,
html[data-theme][data-view="high"][data-scheme="dark"] .set-card::after {
  opacity: .14;
  background: linear-gradient(118deg, rgba(255, 255, 255, .38), transparent 26%, transparent 74%, rgba(255, 255, 255, .16));
}

/* 今日页与周课表 */
html[data-theme][data-view="high"][data-scheme="dark"] .day-feature .next-lesson {
  background: linear-gradient(160deg, rgba(29, 38, 53, .9), rgba(15, 21, 31, .7));
}
html[data-theme][data-view="high"][data-scheme="dark"] .daily-figure img,
html[data-theme][data-view="high"][data-scheme="dark"] .day-feature .daily-figure img,
html[data-theme][data-view="high"][data-scheme="dark"] #daily-card .daily-figure img {
  filter: saturate(.32) contrast(1.02) brightness(.56) hue-rotate(-8deg) !important;
  opacity: .62 !important;
}
html[data-theme][data-view="high"][data-scheme="dark"] .week-controls {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(20, 27, 38, .78);
}
html[data-theme][data-view="high"][data-scheme="dark"] .week-controls #this-week {
  background: rgba(255, 255, 255, .09);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-head,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-corner,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-times {
  background: rgba(18, 25, 36, .9);
  border-color: var(--line);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-board {
  background: rgba(17, 24, 35, .72);
  border-color: rgba(255, 255, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-day {
  background: transparent;
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-rule,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-cell {
  border-color: rgba(255, 255, 255, .08);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-head.is-today {
  background: linear-gradient(180deg, rgba(131, 168, 255, .17), rgba(24, 32, 45, .8));
  color: var(--green);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-head.is-today > b {
  background: var(--green);
  color: #08101d;
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-day.is-today {
  background: rgba(131, 168, 255, .08);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course {
  background: color-mix(in srgb, var(--course-color) 18%, #111925);
  border: 1px solid color-mix(in srgb, var(--course-color) 28%, transparent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course strong,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course span,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course small {
  color: #f4f7fd;
}
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course .schedule-room,
html[data-theme][data-view="high"][data-scheme="dark"] .schedule-course .schedule-detail {
  color: rgba(244, 247, 253, .72);
}
html[data-theme][data-view="high"][data-scheme="dark"] .course-block {
  background-color: color-mix(in srgb, var(--course-color, #4d668c) 16%, rgba(17, 25, 37, .88));
  border-color: color-mix(in srgb, var(--course-color, #4d668c) 26%, transparent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* 设置、菜单、弹窗与输入 */
html[data-theme][data-view="high"][data-scheme="dark"] dialog[open],
html[data-theme][data-view="high"][data-scheme="dark"] .menu-panel,
html[data-theme][data-view="high"][data-scheme="dark"] .sheet {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, .1), transparent 58%),
    linear-gradient(160deg, rgba(29, 38, 53, .96), rgba(13, 19, 28, .9));
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .16);
}
html[data-theme][data-view="high"][data-scheme="dark"] dialog[open]::backdrop {
  background: rgba(2, 5, 10, .64);
}
html[data-theme][data-view="high"][data-scheme="dark"] input,
html[data-theme][data-view="high"][data-scheme="dark"] select,
html[data-theme][data-view="high"][data-scheme="dark"] textarea {
  color: var(--ink);
  background-color: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme][data-view="high"][data-scheme="dark"] input::placeholder,
html[data-theme][data-view="high"][data-scheme="dark"] textarea::placeholder {
  color: rgba(226, 234, 246, .42);
}
html[data-theme][data-view="high"][data-scheme="dark"] input[type="time"],
html[data-theme][data-view="high"][data-scheme="dark"] input[type="date"] {
  color-scheme: dark;
  background: rgba(255, 255, 255, .07) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  color: var(--ink);
}
html[data-theme][data-view="high"][data-scheme="dark"] input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.25);
  opacity: .7;
}
html[data-theme][data-view="high"][data-scheme="dark"] input:focus,
html[data-theme][data-view="high"][data-scheme="dark"] select:focus,
html[data-theme][data-view="high"][data-scheme="dark"] textarea:focus {
  background-color: rgba(255, 255, 255, .11);
  border-color: rgba(131, 168, 255, .5);
  box-shadow: 0 0 0 4px rgba(131, 168, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .set-row,
html[data-theme][data-view="high"][data-scheme="dark"] .course-card,
html[data-theme][data-view="high"][data-scheme="dark"] .tomorrow-row {
  border-color: rgba(255, 255, 255, .1);
}
html[data-theme][data-view="high"][data-scheme="dark"] .set-back,
html[data-theme][data-view="high"][data-scheme="dark"] .subtle,
html[data-theme][data-view="high"][data-scheme="dark"] .week-controls button:not(#this-week),
html[data-theme][data-view="high"][data-scheme="dark"] .tool-tabs button:not(.primary) {
  color: var(--ink);
  background-color: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .primary,
html[data-theme][data-view="high"][data-scheme="dark"] #add,
html[data-theme][data-view="high"][data-scheme="dark"] .set-primary,
html[data-theme][data-view="high"][data-scheme="dark"] .actions .primary,
html[data-theme][data-view="high"][data-scheme="dark"] .stage-actions .primary,
html[data-theme][data-view="high"][data-scheme="dark"] .tool-tabs button.primary,
html[data-theme][data-view="high"][data-scheme="dark"] #import-pdf,
html[data-theme][data-view="high"][data-scheme="dark"] #week-share {
  color: #fff;
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(255, 255, 255, .22), transparent 46%),
    linear-gradient(135deg, #4d7fff 0%, #2b5cf0 52%, #1942c9 100%);
  box-shadow: 0 16px 34px rgba(18, 38, 105, .4), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* 显示模式、高端外观、夜间自动深色 */
html[data-theme][data-view="high"][data-scheme="dark"] .view-mode-options {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  border-color: rgba(255, 255, 255, .14);
}
html[data-theme][data-view="high"][data-scheme="dark"] .view-mode-choice:not(.view-mode-high) {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .13);
}
html[data-theme][data-view="high"][data-scheme="dark"] .view-mode-high {
  background:
    radial-gradient(120% 110% at 10% 0%, rgba(255, 255, 255, .16), transparent 54%),
    linear-gradient(135deg, rgba(86, 130, 255, .23), rgba(255, 255, 255, .06)) !important;
  border-color: rgba(131, 168, 255, .4) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}
html[data-theme][data-view="high"][data-scheme="dark"] .high-appearance-options {
  display: grid;
  gap: 8px;
}
html[data-theme][data-view="high"][data-scheme="dark"] .high-appearance-choice {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .13);
}
html[data-theme][data-view="high"][data-scheme="dark"] .high-appearance-choice input[type="radio"] {
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
  box-shadow: none;
}
html[data-theme][data-view="high"][data-scheme="dark"] .high-appearance-choice input[type="radio"]:checked {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--paper);
}
html[data-theme][data-view="high"][data-scheme="dark"] .high-appearance-choice:has(input:checked) {
  background: linear-gradient(135deg, rgba(86, 130, 255, .2), rgba(255, 255, 255, .07));
  border-color: rgba(131, 168, 255, .4);
}
html[data-theme][data-view="high"][data-scheme="dark"] .night-auto .check,
html[data-theme][data-view="high"][data-scheme="dark"] .night-times,
html[data-theme][data-view="high"][data-scheme="dark"] .night-now {
  color: var(--muted);
}
html[data-theme][data-view="high"][data-scheme="dark"] .course-block,
html[data-theme][data-view="high"][data-scheme="dark"] .room-swipe-wrap,
html[data-theme][data-view="high"][data-scheme="dark"] .room-thread {
  border-color: rgba(255, 255, 255, .12);
}

/* 同校论坛与聊天 */
html[data-theme][data-view="high"][data-scheme="dark"] .room-swipe-wrap,
html[data-theme][data-view="high"][data-scheme="dark"] .room-thread {
  background: rgba(24, 32, 45, .78);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-swipe-wrap[data-self] .room-thread {
  background: linear-gradient(112deg, rgba(86, 130, 255, .22), rgba(24, 32, 45, .78) 58%);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-detail {
  background-color: #090e16;
  background-image:
    radial-gradient(46% 36% at 4% 0%, rgba(218, 139, 85, .24), transparent 64%),
    radial-gradient(44% 36% at 100% 0%, rgba(91, 139, 255, .27), transparent 62%),
    radial-gradient(52% 42% at 84% 100%, rgba(65, 192, 167, .16), transparent 68%),
    linear-gradient(150deg, #0a1019 0%, #0d1522 50%, #0a1418 100%);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-detail-nav {
  background: rgba(15, 22, 32, .8);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-detail-hero,
html[data-theme][data-view="high"][data-scheme="dark"] .room-detail .set-card {
  background: linear-gradient(150deg, rgba(30, 39, 54, .9), rgba(15, 21, 31, .7));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .14);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-detail-back {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-chat {
  background: linear-gradient(180deg, rgba(18, 25, 36, .92), rgba(11, 17, 26, .9)) !important;
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-item {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(24, 32, 45, .8);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-compose {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .room-mine {
  color: #a8c2ff;
  background: rgba(131, 168, 255, .15);
}

/* 工具箱 */
html[data-theme][data-view="high"][data-scheme="dark"] .directory-icon {
  color: var(--green);
  background: rgba(131, 168, 255, .12);
}
html[data-theme][data-view="high"][data-scheme="dark"] .directory-item {
  border-color: rgba(255, 255, 255, .1);
}

/* Toast / 提示 */
html[data-theme][data-view="high"][data-scheme="dark"] #toast {
  color: var(--ink);
  border-color: rgba(255, 255, 255, .15);
  background: rgba(21, 29, 41, .94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .44);
}
html[data-theme][data-view="high"][data-scheme="dark"] #toast.show { color: var(--ink); }

/* 移动端底栏：深色高透玻璃，保留液态高光 */
@media (max-width: 650px) {
  html[data-theme][data-view="high"][data-scheme="dark"] aside {
    background-color: rgba(255, 255, 255, .07) !important;
    background-image: linear-gradient(180deg,
      rgba(255, 255, 255, .12) 0%,
      rgba(255, 255, 255, .025) 46%,
      rgba(255, 255, 255, .07) 100%) !important;
    border-color: rgba(255, 255, 255, .18) !important;
    box-shadow:
      0 22px 54px rgba(0, 0, 0, .42),
      inset 0 1px 0 rgba(255, 255, 255, .18),
      inset 0 -1px 0 rgba(255, 255, 255, .07) !important;
  }
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button {
    color: rgba(231, 238, 250, .66) !important;
  }
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button span,
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button svg {
    color: rgba(231, 238, 250, .66) !important;
  }
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button.active {
    color: #9dbcff !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .14),
      inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  }
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button.active span,
  html[data-theme][data-view="high"][data-scheme="dark"] aside nav button.active svg,
  html[data-theme][data-view="high"][data-scheme="dark"] aside.nav-motion-running nav button.nav-motion-target span,
  html[data-theme][data-view="high"][data-scheme="dark"] aside.nav-motion-running nav button.nav-motion-target svg {
    color: #9dbcff !important;
  }
  html[data-theme][data-view="high"][data-scheme="dark"] .nav-motion-blob {
    background: radial-gradient(130% 110% at 50% 8%,
      rgba(255, 255, 255, .1) 0%,
      rgba(255, 255, 255, .025) 45%,
      rgba(150, 164, 187, .08) 100%);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .16),
      0 6px 16px rgba(0, 0, 0, .3),
      0 16px 30px rgba(0, 0, 0, .22);
  }
  html[data-theme][data-view="high"][data-scheme="dark"] .nav-motion-blob.drag {
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(176, 189, 209, .06));
  }
  html[data-theme][data-view="high"][data-scheme="dark"] .nav-motion-blob.full[data-mode="css"] {
    background: radial-gradient(130% 110% at 50% 8%,
      rgba(255, 255, 255, .06) 0%,
      rgba(255, 255, 255, .012) 45%,
      rgba(157, 171, 195, .07) 100%);
  }
  html[data-theme][data-view="high"][data-scheme="dark"] .nav-motion-rim {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .42),
      inset 0 3px 3px rgba(255, 255, 255, .08),
      inset 0 1px 1px rgba(255, 255, 255, .28),
      inset 0 -1px 0 rgba(0, 0, 0, .2);
  }
  html[data-theme][data-view="high"][data-scheme="dark"] .nav-motion-prism { opacity: .56; }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-theme][data-view="high"][data-scheme="dark"] .panel,
  html[data-theme][data-view="high"][data-scheme="dark"] .set-card,
  html[data-theme][data-view="high"][data-scheme="dark"] .day-feature,
  html[data-theme][data-view="high"][data-scheme="dark"] .schedule-scroll {
    background: #141c28;
  }
}

/* ── 暗色收口：高端版仍有几处写死的暖白（输入框、弹窗操作条），
   暗色下白底配白字，什么都看不见。这里统一拉回深色玻璃。 ── */
html[data-theme][data-view="high"][data-scheme="dark"] input:not([type="radio"]):not([type="checkbox"]):not([type="color"]):not([type="range"]),
html[data-theme][data-view="high"][data-scheme="dark"] textarea,
html[data-theme][data-view="high"][data-scheme="dark"] select {
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}
html[data-theme][data-view="high"][data-scheme="dark"] input::placeholder,
html[data-theme][data-view="high"][data-scheme="dark"] textarea::placeholder {
  color: rgba(152, 165, 184, .85);
  -webkit-text-fill-color: rgba(152, 165, 184, .85);
}
html[data-theme][data-view="high"][data-scheme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme][data-view="high"][data-scheme="dark"] input[type="time"]::-webkit-calendar-picker-indicator,
html[data-theme][data-view="high"][data-scheme="dark"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme][data-view="high"][data-scheme="dark"] input[type="month"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(.9);
  opacity: .8;
}
html[data-theme][data-view="high"][data-scheme="dark"] dialog .actions {
  background: rgba(15, 21, 31, .96);
  border-top-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* 暗色收口 2：文件选择区仍是 58% 暖白，浅灰文字糊在灰底上 */
html[data-theme][data-view="high"][data-scheme="dark"] .file-picker {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .16);
}
html[data-theme][data-view="high"][data-scheme="dark"] .file-picker input {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--ink);
}

/* 深色皮肤 + 浅色外观：文字改深，避免米白字看不清 */
:is(html[data-theme="nailong"],html[data-theme="kakashi"],html[data-theme="amber"],html[data-theme="ocean"],html[data-theme="pine"])[data-scheme="light"]{--ink:#1b1c20!important;--muted:#5c616c!important;--line:rgba(20,24,40,.14)!important;--rule-soft:rgba(20,24,40,.1)!important;color-scheme:light!important}
