/* ==========================================================================
   公益影像档案馆 · 公共样式表（Public Interest Film Archive）
   纯原生 CSS 实现 · 零外链依赖（严格符合站点 _headers CSP 策略）
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-obsidian: #0E0D0C;
  --bg-darkroom: #151412;
  --bg-velvet: #1C1A17;
  --surface-glass: rgba(24, 22, 19, 0.72);
  --border-hairline: rgba(242, 237, 228, 0.08);
  --border-subtle: rgba(242, 237, 228, 0.14);
  --text-ivory: #F2EDE4;
  --text-stonewarm: #A39B8F;
  --text-ash: #6E675E;
  --accent-amber: #D6A86C;
  --accent-amber-bright: #E5BD87;
  --status-official: #6BA384;
  --status-archive: #C89457;
  --status-danger: #D46A5A;

  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-pill: 9999px;

  --shadow-cinema: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(242, 237, 228, 0.06);
}

/* --------------------------------------------------------------------------
   1. 基础复位与暗房画布
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, pre {
  margin: 0;
}

ul, ol {
  list-style: none;
  padding: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background-color: rgba(214, 168, 108, 0.25);
  color: #F2EDE4;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 90;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  background: #D6A86C;
  color: #0E0D0C;
  font-size: 0.75rem;
  font-weight: 500;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: none;
}

/* --------------------------------------------------------------------------
   2. 暗房核心质感与微光特效
   -------------------------------------------------------------------------- */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.028;
  background-image: radial-gradient(rgba(242, 237, 228, 0.6) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.ambient-glow {
  position: relative;
}
.ambient-glow::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  background: radial-gradient(ellipse at 50% 42%, rgba(214, 168, 108, 0.16) 0%, rgba(168, 114, 62, 0.06) 42%, transparent 72%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.glass-bar {
  background: rgba(20, 18, 16, 0.68);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(242, 237, 228, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(242, 237, 228, 0.06);
}

.glass-nav {
  background: rgba(14, 13, 12, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(242, 237, 228, 0.07);
}

.hairline {
  border-color: rgba(242, 237, 228, 0.08);
}

.film-frame img {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.film-frame:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}

.nav-item {
  position: relative;
  transition: color 0.25s ease;
}
.nav-item.active,
.nav-item[aria-current="page"] {
  color: #F2EDE4;
}
.nav-item.active::after,
.nav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D6A86C, transparent);
}

.era-dot {
  transition: all 0.25s ease;
}
.era-btn.active .era-dot {
  background-color: #D6A86C;
  box-shadow: 0 0 14px rgba(214, 168, 108, 0.65);
  transform: scale(1.35);
}
.era-btn.active .era-label {
  color: #F2EDE4;
}

.view-fade {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-enter {
  animation: toastIn 0.3s ease forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --------------------------------------------------------------------------
   3. 全站统一公共外壳与语义化组件类（供首页及全站子页共用）
   -------------------------------------------------------------------------- */
.darkroom-shell {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .darkroom-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.dr-nav-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.dr-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .dr-nav-inner {
    padding: 0 2rem;
  }
}

.dr-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  flex-shrink: 0;
  outline: none;
}
.dr-brand-logo {
  width: 1.75rem;
  height: 1.75rem;
  color: #D6A86C;
  transition: transform 0.5s ease;
}
.dr-brand:hover .dr-brand-logo {
  transform: scale(1.05);
}
.dr-brand-title {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #F2EDE4;
  font-weight: 400;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .dr-brand-title {
    font-size: 16px;
  }
}
.dr-brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #6E675E;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 640px) {
  .dr-brand-sub {
    display: block;
  }
}

.dr-nav-center {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 13.5px;
  color: #A39B8F;
}
@media (min-width: 768px) {
  .dr-nav-center {
    display: flex;
  }
}
.dr-nav-center .nav-item {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.dr-nav-center .nav-item:hover {
  color: #F2EDE4;
}

.dr-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .dr-nav-actions {
    gap: 0.75rem;
  }
}

.dr-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12.5px;
  color: #A39B8F;
  padding: 0.375rem 0.625rem;
  transition: color 0.2s ease;
}
.dr-btn-ghost:hover {
  color: #D6A86C;
}

.dr-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(242, 237, 228, 0.15);
  color: rgba(242, 237, 228, 0.9);
  transition: all 0.2s ease;
}
.dr-btn-outline:hover {
  border-color: rgba(214, 168, 108, 0.6);
  color: #D6A86C;
}

.dr-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background-color: rgba(214, 168, 108, 0.9);
  color: #0E0D0C;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}
.dr-btn-primary:hover {
  background-color: #D6A86C;
}
.dr-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.dr-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(242, 237, 228, 0.14);
  background-color: #151412;
  color: #F2EDE4;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.dr-btn-secondary:hover {
  border-color: rgba(214, 168, 108, 0.5);
  color: #D6A86C;
}

.dr-mobile-drawer {
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  padding: 0.75rem 1rem;
  background-color: rgba(21, 20, 18, 0.95);
}
.dr-mobile-drawer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.dr-mobile-link {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #A39B8F;
  transition: all 0.2s ease;
}
.dr-mobile-link.is-active,
.dr-mobile-link[aria-current="page"] {
  background-color: #1C1A17;
  color: #F2EDE4;
}

.dr-footer {
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  margin-top: 3rem;
}
.dr-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #6E675E;
}
@media (min-width: 640px) {
  .dr-footer-inner {
    padding: 2.5rem 2rem;
    flex-direction: row;
    align-items: center;
  }
}
.dr-footer-title {
  font-family: var(--font-serif);
  color: #A39B8F;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
.dr-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.dr-footer-links a:hover,
.dr-footer-links button:hover {
  color: #F2EDE4;
}

.dr-card {
  background-color: #151412;
  border: 1px solid rgba(242, 237, 228, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.dr-card:hover {
  border-color: rgba(214, 168, 108, 0.35);
}

.dr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: #151412;
  border: 1px solid rgba(242, 237, 228, 0.08);
  color: #A39B8F;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.dr-pill:hover {
  color: #F2EDE4;
  border-color: rgba(214, 168, 108, 0.45);
}
.dr-pill.is-active,
.dr-pill[aria-pressed="true"] {
  background-color: #F2EDE4;
  border-color: #F2EDE4;
  color: #0E0D0C;
  font-weight: 500;
}

.dr-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(107, 163, 132, 0.1);
  color: #6BA384;
  font-size: 0.75rem;
}
.dr-badge-archive {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(200, 148, 87, 0.1);
  color: #C89457;
  font-size: 0.75rem;
}

.dr-quote {
  padding-left: 1rem;
  border-left: 1px solid rgba(214, 168, 108, 0.5);
  font-family: var(--font-serif);
  color: rgba(242, 237, 228, 0.85);
  line-height: 1.75;
}

.dr-input,
.dr-select,
.dr-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background-color: #0E0D0C;
  border: 1px solid rgba(242, 237, 228, 0.1);
  color: #F2EDE4;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dr-input::placeholder,
.dr-textarea::placeholder {
  color: #6E675E;
}
.dr-input:focus,
.dr-select:focus,
.dr-textarea:focus {
  outline: none;
  border-color: rgba(214, 168, 108, 0.55);
  box-shadow: 0 0 0 3px rgba(214, 168, 108, 0.12);
}

/* 剧场播放器容器与嵌入式/原生播放兼容样式（全站电影放映页 & 首页详情复用） */
.dr-player-box {
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(242, 237, 228, 0.08);
  background-color: #000000;
}
.dr-player-box figure.player {
  margin: 0;
  background: #000000;
  border: 0;
}
.dr-player-box figure.player video,
.dr-player-box figure.player iframe,
.dr-player-box .embed-poster,
.dr-player-box .yt {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 76vh;
  background: #050504;
  object-fit: contain;
  border: 0;
}
.dr-player-box .player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background-color: #151412;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #A39B8F;
}
.dr-player-box .player-bar select,
.dr-player-box select#qualitySelect {
  background-color: #0E0D0C;
  color: #F2EDE4;
  border: 1px solid rgba(242, 237, 228, 0.2);
  border-radius: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
}
.dr-player-box .player-bar select:focus,
.dr-player-box select#qualitySelect:focus {
  outline: none;
  border-color: rgba(214, 168, 108, 0.6);
}

.embed-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0E0D0C;
  cursor: pointer;
}
.embed-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.embed-poster:hover img {
  transform: scale(1.03);
  opacity: 0.95;
}
.embed-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(242, 237, 228, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.embed-play::after {
  content: "";
  display: block;
  margin-left: 3px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #F2EDE4;
}
.embed-poster:hover .embed-play {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: rgba(214, 168, 108, 0.55);
}

/* 外跳转或资料条目剧场面板 */
.external-panel {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.875rem;
  min-height: 320px;
  background: radial-gradient(ellipse at 50% 35%, rgba(214, 168, 108, 0.12), transparent 68%), #151412;
}
.external-panel img.external-poster {
  max-width: 340px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(242, 237, 228, 0.1);
}
.external-panel strong {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: #F2EDE4;
}
.external-panel p {
  max-width: 34rem;
  font-size: 0.8125rem;
  color: #A39B8F;
  line-height: 1.7;
}

.caption-note {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  color: #A39B8F;
  background-color: #151412;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
}
.caption-note a.caption-source {
  color: #D6A86C;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: 0.5rem;
}

.transcript {
  background-color: #151412;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  padding: 0.875rem 1.25rem;
}
.transcript summary {
  cursor: pointer;
  font-size: 0.75rem;
  color: #D6A86C;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.transcript-lines ol {
  margin-top: 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #F2EDE4;
}
.transcript-lines li {
  display: flex;
  gap: 0.75rem;
  line-height: 1.6;
}
.transcript-lines li .t {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #6E675E;
  flex-shrink: 0;
}

/* 静态全部影片折叠索引（低碳低调暗房样式） */
.dr-static-index {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
}
.dr-static-index details {
  border: 1px solid rgba(242, 237, 228, 0.08);
  border-radius: 0.75rem;
  background-color: rgba(21, 20, 18, 0.6);
  padding: 0.875rem 1rem;
}
.dr-static-index summary {
  cursor: pointer;
  font-size: 0.8125rem;
  color: #A39B8F;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}
.dr-static-index summary:hover {
  color: #F2EDE4;
}
.dr-static-index ul {
  margin-top: 0.875rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  max-height: 20rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}
@media (min-width: 640px) {
  .dr-static-index ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .dr-static-index ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.dr-static-index li {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.75rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.04);
}
.dr-static-index li a {
  color: #F2EDE4;
}
.dr-static-index li a:hover {
  color: #D6A86C;
}
.dr-static-index li span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #6E675E;
}

/* --------------------------------------------------------------------------
   4. 公共布局与排印工具类库（纯原生 CSS，零外部依赖）
   -------------------------------------------------------------------------- */

/* Display & Positioning */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-x-4 { left: 1rem; right: 1rem; }
.top-0 { top: 0; }
.top-5 { top: 1.25rem; }
.top-\[13px\] { top: 13px; }
.bottom-0 { bottom: 0; }
.bottom-2\.5 { bottom: 0.625rem; }
.bottom-3 { bottom: 0.75rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-16 { bottom: 4rem; }
.left-1\/2 { left: 50%; }
.left-3\.5 { left: 0.875rem; }
.left-4 { left: 1rem; }
.right-0 { right: 0; }
.right-3 { right: 0.75rem; }
.right-3\.5 { right: 0.875rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }

.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-x-0\.5 { transform: translateX(0.125rem); }
.scale-\[1\.03\] { transform: scale(1.03); }

/* Flex & Grid */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-x-7 { column-gap: 1.75rem; }
.gap-y-11 { row-gap: 2.75rem; }

/* Spacing */
.p-0\.5 { padding: 0.125rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-0\.5 { padding-top: 0.125rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-24 { padding-bottom: 6rem; }

.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }
.space-y-14 > :not([hidden]) ~ :not([hidden]) { margin-top: 3.5rem; }

/* Sizing & Aspect Ratios */
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }

.h-px { height: 1px; }
.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }

.min-w-0 { min-width: 0; }
.min-h-\[200px\] { min-height: 200px; }
.min-h-\[360px\] { min-height: 360px; }
.min-h-screen { min-height: 100vh; }

.max-w-full { max-width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }

/* Typography */
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }

.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12\.5px\] { font-size: 12.5px; }
.text-\[13\.5px\] { font-size: 13.5px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

.tracking-\[0\.04em\] { letter-spacing: 0.04em; }
.tracking-\[0\.06em\] { letter-spacing: 0.06em; }
.tracking-\[0\.08em\] { letter-spacing: 0.08em; }
.tracking-\[0\.12em\] { letter-spacing: 0.12em; }
.tracking-\[0\.14em\] { letter-spacing: 0.14em; }
.tracking-\[0\.16em\] { letter-spacing: 0.16em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[0\.24em\] { letter-spacing: 0.24em; }

.uppercase { text-transform: uppercase; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Colors: Text */
.text-ivory { color: #F2EDE4; }
.text-ivory\/20 { color: rgba(242, 237, 228, 0.2); }
.text-ivory\/25 { color: rgba(242, 237, 228, 0.25); }
.text-ivory\/40 { color: rgba(242, 237, 228, 0.4); }
.text-ivory\/70 { color: rgba(242, 237, 228, 0.7); }
.text-ivory\/75 { color: rgba(242, 237, 228, 0.75); }
.text-ivory\/80 { color: rgba(242, 237, 228, 0.8); }
.text-ivory\/85 { color: rgba(242, 237, 228, 0.85); }
.text-ivory\/90 { color: rgba(242, 237, 228, 0.9); }
.text-ivory\/95 { color: rgba(242, 237, 228, 0.95); }
.text-stonewarm { color: #A39B8F; }
.text-stonewarm\/90 { color: rgba(163, 155, 143, 0.9); }
.text-ash { color: #6E675E; }
.text-amberlight { color: #D6A86C; }
.text-amberlight\/80 { color: rgba(214, 168, 108, 0.8); }
.text-amberlight\/90 { color: rgba(214, 168, 108, 0.9); }
.text-celadon { color: #6BA384; }
.text-ochre { color: #C89457; }
.text-obsidian { color: #0E0D0C; }
.text-\[\#151412\] { color: #151412; }

/* Colors: Backgrounds */
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000000; }
.bg-black\/55 { background-color: rgba(0, 0, 0, 0.55); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-obsidian { background-color: #0E0D0C; }
.bg-obsidian\/40 { background-color: rgba(14, 13, 12, 0.4); }
.bg-obsidian\/70 { background-color: rgba(14, 13, 12, 0.7); }
.bg-darkroom { background-color: #151412; }
.bg-darkroom\/50 { background-color: rgba(21, 20, 18, 0.5); }
.bg-darkroom\/80 { background-color: rgba(21, 20, 18, 0.8); }
.bg-darkroom\/95 { background-color: rgba(21, 20, 18, 0.95); }
.bg-velvet { background-color: #1C1A17; }
.bg-ivory { background-color: #F2EDE4; }
.bg-ivory\/10 { background-color: rgba(242, 237, 228, 0.1); }
.bg-ivory\/20 { background-color: rgba(242, 237, 228, 0.2); }
.bg-ash { background-color: #6E675E; }
.bg-amberlight { background-color: #D6A86C; }
.bg-amberlight\/10 { background-color: rgba(214, 168, 108, 0.1); }
.bg-amberlight\/80 { background-color: rgba(214, 168, 108, 0.8); }
.bg-amberlight\/90 { background-color: rgba(214, 168, 108, 0.9); }
.bg-celadon { background-color: #6BA384; }
.bg-celadon\/10 { background-color: rgba(107, 163, 132, 0.1); }
.bg-celadon\/15 { background-color: rgba(107, 163, 132, 0.15); }
.bg-ochre { background-color: #C89457; }
.bg-ochre\/10 { background-color: rgba(200, 148, 87, 0.1); }
.bg-ochre\/15 { background-color: rgba(200, 148, 87, 0.15); }
.bg-\[\#F2EDE4\] { background-color: #F2EDE4; }

/* Gradients (顺序固定：direction -> from -> via -> to) */
.bg-gradient-to-t {
  --gr-from: transparent;
  --gr-to: transparent;
  --gr-stops: var(--gr-from), var(--gr-to);
  background-image: linear-gradient(to top, var(--gr-stops));
}
.bg-gradient-to-r {
  --gr-from: transparent;
  --gr-to: transparent;
  --gr-stops: var(--gr-from), var(--gr-to);
  background-image: linear-gradient(to right, var(--gr-stops));
}
.bg-gradient-to-br {
  --gr-from: transparent;
  --gr-to: transparent;
  --gr-stops: var(--gr-from), var(--gr-to);
  background-image: linear-gradient(to bottom right, var(--gr-stops));
}

.from-obsidian {
  --gr-from: #0E0D0C;
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
.from-obsidian\/70 {
  --gr-from: rgba(14, 13, 12, 0.7);
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
.from-obsidian\/80 {
  --gr-from: rgba(14, 13, 12, 0.8);
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
.from-black\/85 {
  --gr-from: rgba(0, 0, 0, 0.85);
  --gr-to: rgba(0, 0, 0, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
.from-velvet {
  --gr-from: #1C1A17;
  --gr-to: rgba(28, 26, 23, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
.from-darkroom {
  --gr-from: #151412;
  --gr-to: rgba(21, 20, 18, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}

.via-transparent {
  --gr-to: transparent;
  --gr-stops: var(--gr-from), transparent, var(--gr-to);
}
.via-obsidian\/20 {
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), rgba(14, 13, 12, 0.2), var(--gr-to);
}
.via-obsidian\/45 {
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), rgba(14, 13, 12, 0.45), var(--gr-to);
}
.via-velvet\/70 {
  --gr-to: rgba(28, 26, 23, 0);
  --gr-stops: var(--gr-from), rgba(28, 26, 23, 0.7), var(--gr-to);
}

.to-transparent { --gr-to: transparent; }
.to-black\/25 { --gr-to: rgba(0, 0, 0, 0.25); }
.to-darkroom { --gr-to: #151412; }

/* Borders & Dividers */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }

.border-ivory\/15 { border-color: rgba(242, 237, 228, 0.15); }
.border-ivory\/20 { border-color: rgba(242, 237, 228, 0.2); }
.border-amberlight { border-color: #D6A86C; }
.border-amberlight\/20 { border-color: rgba(214, 168, 108, 0.2); }
.border-amberlight\/50 { border-color: rgba(214, 168, 108, 0.5); }
.border-amberlight\/60 { border-color: rgba(214, 168, 108, 0.6); }
.border-celadon { border-color: #6BA384; }
.border-ochre { border-color: #C89457; }

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-top-style: solid;
}
.divide-ivory\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(242, 237, 228, 0.1);
}

/* Radii, Shadows, Effects & Media */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65); }

.opacity-0 { opacity: 0; }
.opacity-55 { opacity: 0.55; }
.opacity-60 { opacity: 0.6; }
.opacity-85 { opacity: 0.85; }
.opacity-100 { opacity: 1; }

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.object-cover { object-fit: cover; }
.object-center { object-position: center; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.resize-none { resize: none; }
.accent-amberlight { accent-color: #D6A86C; }

/* Transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-1000 { transition-duration: 1000ms; }

/* Interactive States */
.placeholder\:text-ash::placeholder { color: #6E675E; }
.placeholder\:text-stonewarm\/75::placeholder { color: rgba(163, 155, 143, 0.75); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-amberlight\/50:focus { border-color: rgba(214, 168, 108, 0.5); }
.focus-within\:border-amberlight\/50:focus-within { border-color: rgba(214, 168, 108, 0.5); }

.hover\:bg-velvet:hover { background-color: #1C1A17; }
.hover\:bg-amberlight:hover { background-color: #D6A86C; }
.hover\:text-ivory:hover { color: #F2EDE4; }
.hover\:text-amberlight:hover { color: #D6A86C; }
.hover\:text-obsidian:hover { color: #0E0D0C; }
.hover\:border-ivory\/15:hover { border-color: rgba(242, 237, 228, 0.15); }
.hover\:border-ivory\/40:hover { border-color: rgba(242, 237, 228, 0.4); }
.hover\:border-amberlight\/35:hover { border-color: rgba(214, 168, 108, 0.35); }
.hover\:border-amberlight\/40:hover { border-color: rgba(214, 168, 108, 0.4); }
.hover\:border-amberlight\/50:hover { border-color: rgba(214, 168, 108, 0.5); }
.hover\:border-amberlight\/60:hover { border-color: rgba(214, 168, 108, 0.6); }
.hover\:underline:hover { text-decoration: underline; }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:opacity-80 { opacity: 0.8; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-amberlight { color: #D6A86C; }
.group:hover .group-hover\:text-ivory\/80 { color: rgba(242, 237, 228, 0.8); }
.group:hover .group-hover\:bg-ivory\/70 { background-color: rgba(242, 237, 228, 0.7); }

/* Responsive Breakpoints: sm (>= 640px) */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:items-center { align-items: center; }
  .sm\:items-baseline { align-items: baseline; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:pt-8 { padding-top: 2rem; }
  .sm\:pt-10 { padding-top: 2.5rem; }
  .sm\:pt-12 { padding-top: 3rem; }
  .sm\:min-h-\[410px\] { min-height: 410px; }
  .sm\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .sm\:w-44 { width: 11rem; }
  .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-\[16px\] { font-size: 16px; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* Responsive Breakpoints: md (>= 768px) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
}

/* Responsive Breakpoints: lg (>= 1024px) */
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:self-end { align-self: flex-end; }
  .lg\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* --------------------------------------------------------------------------
   5. 主题切换按钮（.dr-theme-toggle）与移动端导航防折行适配
   -------------------------------------------------------------------------- */
.dr-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.34rem 0.72rem;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  border: 1px solid rgba(242, 237, 228, 0.14);
  background-color: rgba(28, 26, 23, 0.72);
  color: #A39B8F;
  transition: all 0.2s ease;
}
.dr-theme-toggle:hover {
  border-color: rgba(214, 168, 108, 0.55);
  color: #F2EDE4;
}
.dr-theme-toggle [data-theme-icon] {
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 420px) {
  .dr-theme-toggle {
    padding: 0.28rem 0.55rem;
    font-size: 11.5px;
  }
  .dr-nav-inner {
    gap: 0.5rem;
  }
  .dr-brand-title {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .dr-btn-outline,
  #openSubmitBtn {
    padding: 0.32rem 0.65rem;
    font-size: 11.5px;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   6. 日间暖宣纸主题系统（html[data-theme="light"]）
   -------------------------------------------------------------------------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg-obsidian: #F6F3EC;
  --bg-darkroom: #FFFFFF;
  --bg-velvet: #EFEAE0;
  --surface-glass: rgba(255, 253, 249, 0.82);
  --border-hairline: rgba(24, 22, 20, 0.09);
  --border-subtle: rgba(24, 22, 20, 0.16);
  --text-ivory: #181614;
  --text-stonewarm: #57524A;
  --text-ash: #857E74;
  --accent-amber: #A86428;
  --accent-amber-bright: #8F521D;
  --status-official: #26734D;
  --status-archive: #9C5B1B;
  --status-danger: #B84234;
  --shadow-cinema: 0 18px 44px rgba(24, 22, 20, 0.09);
  --shadow-glass: 0 14px 36px rgba(24, 22, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  background-color: #F6F3EC;
  color: #181614;
}

html[data-theme="light"] body {
  background-color: #F6F3EC;
  color: #181614;
}

html[data-theme="light"] ::selection {
  background-color: rgba(168, 100, 40, 0.2);
  color: #181614;
}

html[data-theme="light"] .skip-link {
  background: #A86428;
  color: #FFFFFF;
}

/* 质感与结构类日间覆盖 */
html[data-theme="light"] .film-grain {
  opacity: 0.018;
  background-image: radial-gradient(rgba(24, 22, 20, 0.45) 0.5px, transparent 0.5px);
}

html[data-theme="light"] .ambient-glow::before {
  background: radial-gradient(ellipse at 50% 42%, rgba(168, 100, 40, 0.11) 0%, rgba(168, 100, 40, 0.03) 45%, transparent 72%);
}

html[data-theme="light"] .glass-bar {
  background: rgba(255, 253, 249, 0.84);
  border-color: rgba(24, 22, 20, 0.12);
  box-shadow: 0 14px 36px rgba(24, 22, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #181614;
}

html[data-theme="light"] .glass-nav {
  background: rgba(246, 243, 236, 0.88);
  border-bottom-color: rgba(24, 22, 20, 0.09);
}

html[data-theme="light"] .hairline {
  border-color: rgba(24, 22, 20, 0.09);
}

html[data-theme="light"] .nav-item.active,
html[data-theme="light"] .nav-item[aria-current="page"] {
  color: #181614;
}

html[data-theme="light"] .nav-item.active::after,
html[data-theme="light"] .nav-item[aria-current="page"]::after {
  background: linear-gradient(90deg, transparent, #A86428, transparent);
}

html[data-theme="light"] .era-btn.active .era-dot {
  background-color: #A86428;
  box-shadow: 0 0 12px rgba(168, 100, 40, 0.45);
}

html[data-theme="light"] .era-btn.active .era-label {
  color: #181614;
}

html[data-theme="light"] .dr-theme-toggle {
  border-color: rgba(24, 22, 20, 0.15);
  background-color: rgba(255, 255, 255, 0.82);
  color: #57524A;
}
html[data-theme="light"] .dr-theme-toggle:hover {
  border-color: rgba(168, 100, 40, 0.55);
  color: #A86428;
}

/* 语义化公共组件日间覆盖 */
html[data-theme="light"] .dr-brand-logo { color: #A86428; }
html[data-theme="light"] .dr-brand-title { color: #181614; }
html[data-theme="light"] .dr-brand-sub { color: #857E74; }
html[data-theme="light"] .dr-nav-center { color: #57524A; }
html[data-theme="light"] .dr-nav-center .nav-item:hover { color: #181614; }
html[data-theme="light"] .dr-btn-ghost { color: #57524A; }
html[data-theme="light"] .dr-btn-ghost:hover { color: #A86428; }

html[data-theme="light"] .dr-btn-outline {
  border-color: rgba(24, 22, 20, 0.16);
  color: #181614;
}
html[data-theme="light"] .dr-btn-outline:hover {
  border-color: rgba(168, 100, 40, 0.65);
  color: #A86428;
}

html[data-theme="light"] .dr-btn-primary {
  background-color: #A86428;
  color: #FFFFFF;
}
html[data-theme="light"] .dr-btn-primary:hover {
  background-color: #8F521D;
}

html[data-theme="light"] .dr-btn-secondary {
  border-color: rgba(24, 22, 20, 0.14);
  background-color: #FFFFFF;
  color: #181614;
}
html[data-theme="light"] .dr-btn-secondary:hover {
  border-color: rgba(168, 100, 40, 0.55);
  color: #A86428;
}

html[data-theme="light"] .dr-mobile-drawer {
  border-top-color: rgba(24, 22, 20, 0.09);
  background-color: rgba(246, 243, 236, 0.98);
}
html[data-theme="light"] .dr-mobile-link { color: #57524A; }
html[data-theme="light"] .dr-mobile-link.is-active,
html[data-theme="light"] .dr-mobile-link[aria-current="page"] {
  background-color: #EFEAE0;
  color: #181614;
}

html[data-theme="light"] .dr-footer { border-top-color: rgba(24, 22, 20, 0.09); }
html[data-theme="light"] .dr-footer-inner { color: #857E74; }
html[data-theme="light"] .dr-footer-title { color: #57524A; }
html[data-theme="light"] .dr-footer-links a:hover,
html[data-theme="light"] .dr-footer-links button:hover {
  color: #181614;
}

html[data-theme="light"] .dr-card {
  background-color: #FFFFFF;
  border-color: rgba(24, 22, 20, 0.09);
  box-shadow: 0 6px 24px rgba(24, 22, 20, 0.04);
}
html[data-theme="light"] .dr-card:hover {
  border-color: rgba(168, 100, 40, 0.45);
}

html[data-theme="light"] .dr-pill {
  background-color: #FFFFFF;
  border-color: rgba(24, 22, 20, 0.12);
  color: #57524A;
}
html[data-theme="light"] .dr-pill:hover {
  color: #181614;
  border-color: rgba(168, 100, 40, 0.55);
}
html[data-theme="light"] .dr-pill.is-active,
html[data-theme="light"] .dr-pill[aria-pressed="true"] {
  background-color: #181614;
  border-color: #181614;
  color: #F6F3EC;
}

html[data-theme="light"] .dr-badge-official {
  background-color: rgba(38, 115, 77, 0.1);
  color: #26734D;
}
html[data-theme="light"] .dr-badge-archive {
  background-color: rgba(156, 91, 27, 0.1);
  color: #9C5B1B;
}

html[data-theme="light"] .dr-quote {
  border-left-color: rgba(168, 100, 40, 0.55);
  color: rgba(24, 22, 20, 0.88);
}

html[data-theme="light"] .dr-input,
html[data-theme="light"] .dr-select,
html[data-theme="light"] .dr-textarea {
  background-color: #FFFFFF;
  border-color: rgba(24, 22, 20, 0.14);
  color: #181614;
}
html[data-theme="light"] .dr-input::placeholder,
html[data-theme="light"] .dr-textarea::placeholder {
  color: #857E74;
}
html[data-theme="light"] .dr-input:focus,
html[data-theme="light"] .dr-select:focus,
html[data-theme="light"] .dr-textarea:focus {
  border-color: rgba(168, 100, 40, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 100, 40, 0.12);
}

html[data-theme="light"] .dr-static-index { border-top-color: rgba(24, 22, 20, 0.09); }
html[data-theme="light"] .dr-static-index details {
  border-color: rgba(24, 22, 20, 0.09);
  background-color: #FFFFFF;
}
html[data-theme="light"] .dr-static-index summary { color: #57524A; }
html[data-theme="light"] .dr-static-index summary:hover { color: #181614; }
html[data-theme="light"] .dr-static-index li { border-bottom-color: rgba(24, 22, 20, 0.06); }
html[data-theme="light"] .dr-static-index li a { color: #181614; }
html[data-theme="light"] .dr-static-index li a:hover { color: #A86428; }
html[data-theme="light"] .dr-static-index li span { color: #857E74; }

/* 原子颜色工具类日间暖宣纸覆盖 */
html[data-theme="light"] .text-ivory { color: #181614; }
html[data-theme="light"] .text-ivory\/20 { color: rgba(24, 22, 20, 0.2); }
html[data-theme="light"] .text-ivory\/25 { color: rgba(24, 22, 20, 0.25); }
html[data-theme="light"] .text-ivory\/40 { color: rgba(24, 22, 20, 0.4); }
html[data-theme="light"] .text-ivory\/70 { color: rgba(24, 22, 20, 0.75); }
html[data-theme="light"] .text-ivory\/75 { color: rgba(24, 22, 20, 0.8); }
html[data-theme="light"] .text-ivory\/80 { color: rgba(24, 22, 20, 0.84); }
html[data-theme="light"] .text-ivory\/85 { color: rgba(24, 22, 20, 0.88); }
html[data-theme="light"] .text-ivory\/90 { color: rgba(24, 22, 20, 0.92); }
html[data-theme="light"] .text-ivory\/95 { color: rgba(24, 22, 20, 0.96); }
html[data-theme="light"] .text-stonewarm { color: #57524A; }
html[data-theme="light"] .text-stonewarm\/90 { color: rgba(87, 82, 74, 0.92); }
html[data-theme="light"] .text-ash { color: #857E74; }
html[data-theme="light"] .text-amberlight { color: #A86428; }
html[data-theme="light"] .text-amberlight\/80 { color: rgba(168, 100, 40, 0.85); }
html[data-theme="light"] .text-amberlight\/90 { color: rgba(168, 100, 40, 0.95); }
html[data-theme="light"] .text-celadon { color: #26734D; }
html[data-theme="light"] .text-ochre { color: #9C5B1B; }
html[data-theme="light"] .text-obsidian { color: #F6F3EC; }

html[data-theme="light"] .bg-obsidian { background-color: #F6F3EC; }
html[data-theme="light"] .bg-obsidian\/40 { background-color: rgba(246, 243, 236, 0.65); }
html[data-theme="light"] .bg-obsidian\/70 { background-color: rgba(239, 234, 224, 0.85); }
html[data-theme="light"] .bg-darkroom { background-color: #FFFFFF; }
html[data-theme="light"] .bg-darkroom\/50 { background-color: rgba(255, 255, 255, 0.72); }
html[data-theme="light"] .bg-darkroom\/80 { background-color: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .bg-darkroom\/95 { background-color: rgba(246, 243, 236, 0.97); }
html[data-theme="light"] .bg-velvet { background-color: #EFEAE0; }
html[data-theme="light"] .bg-ivory { background-color: #181614; }
html[data-theme="light"] .bg-ivory\/10 { background-color: rgba(24, 22, 20, 0.08); }
html[data-theme="light"] .bg-ivory\/20 { background-color: rgba(24, 22, 20, 0.16); }
html[data-theme="light"] .bg-ash { background-color: #857E74; }
html[data-theme="light"] .bg-amberlight { background-color: #A86428; }
html[data-theme="light"] .bg-amberlight\/10 { background-color: rgba(168, 100, 40, 0.1); }
html[data-theme="light"] .bg-amberlight\/80 { background-color: rgba(168, 100, 40, 0.86); }
html[data-theme="light"] .bg-amberlight\/90 { background-color: rgba(168, 100, 40, 0.94); }
html[data-theme="light"] .bg-celadon { background-color: #26734D; }
html[data-theme="light"] .bg-celadon\/10 { background-color: rgba(38, 115, 77, 0.1); }
html[data-theme="light"] .bg-celadon\/15 { background-color: rgba(38, 115, 77, 0.14); }
html[data-theme="light"] .bg-ochre { background-color: #9C5B1B; }
html[data-theme="light"] .bg-ochre\/10 { background-color: rgba(156, 91, 27, 0.1); }
html[data-theme="light"] .bg-ochre\/15 { background-color: rgba(156, 91, 27, 0.14); }

/* 渐变停点日间暖宣纸转换（含巨幕暖纸透光渐变） */
html[data-theme="light"] .from-obsidian {
  --gr-from: rgba(246, 243, 236, 0.95);
  --gr-to: rgba(246, 243, 236, 0.12);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .from-obsidian\/70 {
  --gr-from: rgba(246, 243, 236, 0.82);
  --gr-to: rgba(246, 243, 236, 0.08);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .from-obsidian\/80 {
  --gr-from: rgba(246, 243, 236, 0.9);
  --gr-to: rgba(246, 243, 236, 0.08);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .from-velvet {
  --gr-from: #EFEAE0;
  --gr-to: rgba(239, 234, 224, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .from-darkroom {
  --gr-from: #FFFFFF;
  --gr-to: rgba(255, 255, 255, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .via-obsidian\/20 {
  --gr-to: rgba(246, 243, 236, 0.1);
  --gr-stops: var(--gr-from), rgba(246, 243, 236, 0.36), var(--gr-to);
}
html[data-theme="light"] .via-obsidian\/45 {
  --gr-to: rgba(246, 243, 236, 0.12);
  --gr-stops: var(--gr-from), rgba(246, 243, 236, 0.62), var(--gr-to);
}
html[data-theme="light"] .via-velvet\/70 {
  --gr-to: rgba(239, 234, 224, 0);
  --gr-stops: var(--gr-from), rgba(239, 234, 224, 0.8), var(--gr-to);
}
html[data-theme="light"] .to-darkroom {
  --gr-to: #FFFFFF;
}

/* 边框与分割线日间覆盖 */
html[data-theme="light"] .border-ivory\/15 { border-color: rgba(24, 22, 20, 0.14); }
html[data-theme="light"] .border-ivory\/20 { border-color: rgba(24, 22, 20, 0.2); }
html[data-theme="light"] .border-amberlight { border-color: #A86428; }
html[data-theme="light"] .border-amberlight\/20 { border-color: rgba(168, 100, 40, 0.24); }
html[data-theme="light"] .border-amberlight\/50 { border-color: rgba(168, 100, 40, 0.55); }
html[data-theme="light"] .border-amberlight\/60 { border-color: rgba(168, 100, 40, 0.65); }
html[data-theme="light"] .border-celadon { border-color: #26734D; }
html[data-theme="light"] .border-ochre { border-color: #9C5B1B; }
html[data-theme="light"] .divide-ivory\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(24, 22, 20, 0.1);
}

html[data-theme="light"] .shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(24, 22, 20, 0.18);
}
html[data-theme="light"] .accent-amberlight {
  accent-color: #A86428;
}

/* 交互态日间覆盖 */
html[data-theme="light"] .placeholder\:text-ash::placeholder { color: #857E74; }
html[data-theme="light"] .placeholder\:text-stonewarm\/75::placeholder { color: rgba(87, 82, 74, 0.78); }
html[data-theme="light"] .focus\:border-amberlight\/50:focus { border-color: rgba(168, 100, 40, 0.6); }
html[data-theme="light"] .focus-within\:border-amberlight\/50:focus-within { border-color: rgba(168, 100, 40, 0.6); }

html[data-theme="light"] .hover\:bg-velvet:hover { background-color: #EFEAE0; }
html[data-theme="light"] .hover\:bg-amberlight:hover { background-color: #8F521D; }
html[data-theme="light"] .hover\:text-ivory:hover { color: #181614; }
html[data-theme="light"] .hover\:text-amberlight:hover { color: #A86428; }
html[data-theme="light"] .hover\:text-obsidian:hover { color: #F6F3EC; }
html[data-theme="light"] .hover\:border-ivory\/15:hover { border-color: rgba(24, 22, 20, 0.18); }
html[data-theme="light"] .hover\:border-ivory\/40:hover { border-color: rgba(24, 22, 20, 0.4); }
html[data-theme="light"] .hover\:border-amberlight\/35:hover { border-color: rgba(168, 100, 40, 0.4); }
html[data-theme="light"] .hover\:border-amberlight\/40:hover { border-color: rgba(168, 100, 40, 0.45); }
html[data-theme="light"] .hover\:border-amberlight\/50:hover { border-color: rgba(168, 100, 40, 0.55); }
html[data-theme="light"] .hover\:border-amberlight\/60:hover { border-color: rgba(168, 100, 40, 0.65); }

html[data-theme="light"] .group:hover .group-hover\:text-amberlight { color: #A86428; }
html[data-theme="light"] .group:hover .group-hover\:text-ivory\/80 { color: rgba(24, 22, 20, 0.85); }
html[data-theme="light"] .group:hover .group-hover\:bg-ivory\/70 { background-color: rgba(24, 22, 20, 0.55); }

/* 侧滑抽屉背景遮罩日间柔化 */
html[data-theme="light"] #drawerBackdrop.bg-black\/70 {
  background-color: rgba(24, 22, 20, 0.36);
}

/* --------------------------------------------------------------------------
   7. 首屏巨幕放映框（#wall）与高对比度保护（封面叠层、暗黑播放器框）
   -------------------------------------------------------------------------- */
.dr-hero-frame {
  position: relative;
  background-color: #11100E;
}
img.dr-hero-img {
  opacity: 0.96;
  filter: contrast(1.05) saturate(1.04);
  transition: opacity 0.28s ease, transform 0.6s ease;
}
.dr-hero-frame:hover img.dr-hero-img {
  transform: scale(1.015);
}
.dr-hero-scrim-b {
  background: linear-gradient(to top, rgba(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.52) 36%, rgba(12, 11, 10, 0.08) 65%, transparent 100%);
}
.dr-hero-scrim-l {
  background: linear-gradient(to right, rgba(12, 11, 10, 0.82) 0%, rgba(12, 11, 10, 0.38) 42%, rgba(12, 11, 10, 0.05) 68%, transparent 100%);
}
.dr-hero-kicker {
  color: #E5B879;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
#wall .dr-hero-frame #wallTitle {
  color: #F7F3EB;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.dr-hero-desc {
  color: rgba(242, 237, 228, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
#wall .dr-hero-frame .dr-hero-telemetry {
  background: rgba(16, 15, 13, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.48rem 0.88rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(242, 237, 228, 0.16);
  color: rgba(242, 237, 228, 0.86);
}
#wall .dr-hero-frame .glass-bar {
  background: rgba(16, 15, 13, 0.76);
  border-color: rgba(242, 237, 228, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(242, 237, 228, 0.08);
  color: #F2EDE4;
}
#wall .dr-hero-frame .glass-bar:focus-within {
  border-color: rgba(229, 184, 121, 0.65);
}

.dr-hero-spotlight {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 15, 13, 0.74);
  border: 1px solid rgba(242, 237, 228, 0.18);
  color: #F2EDE4;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  max-width: 100%;
  overflow: hidden;
}
.dr-hero-spotlight-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.46rem 0.75rem 0.46rem 0.85rem;
  background: transparent;
  border: 0;
  color: #F2EDE4;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dr-hero-spotlight-open:hover {
  background: rgba(242, 237, 228, 0.1);
  color: #FFFFFF;
}
.dr-hero-spotlight-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #D6A86C;
  box-shadow: 0 0 8px rgba(214, 168, 108, 0.65);
  flex-shrink: 0;
}
.dr-hero-spotlight-tag {
  color: rgba(242, 237, 228, 0.68);
  flex-shrink: 0;
}
.dr-hero-spotlight-label {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #F7F3EB;
}
@media (min-width: 640px) {
  .dr-hero-spotlight-label {
    max-width: 14.5rem;
  }
}
.dr-hero-spotlight-arrow {
  color: #E5B879;
  flex-shrink: 0;
}
.dr-hero-spotlight-sep {
  width: 1px;
  height: 1.15rem;
  background: rgba(242, 237, 228, 0.18);
  flex-shrink: 0;
}
.dr-hero-spotlight-next {
  padding: 0.46rem 0.85rem 0.46rem 0.75rem;
  background: transparent;
  border: 0;
  color: #E5B879;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dr-hero-spotlight-next:hover {
  background: rgba(214, 168, 108, 0.16);
  color: #F7DFBA;
}

/* 日间暖宣纸主题下：外框立体投影 + 首屏银幕内部全套高对比保护 */
html[data-theme="light"] #wall .dr-hero-frame {
  background-color: #11100E;
  border-color: rgba(24, 22, 20, 0.22);
  box-shadow: 0 24px 56px -16px rgba(24, 22, 20, 0.28), 0 8px 20px -8px rgba(24, 22, 20, 0.14);
}
html[data-theme="light"] #wall .dr-hero-frame #wallTitle {
  color: #F7F3EB;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-desc {
  color: rgba(242, 237, 228, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-kicker {
  color: #E5B879;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-telemetry {
  background: rgba(16, 15, 13, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.48rem 0.88rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(242, 237, 228, 0.16);
  color: rgba(242, 237, 228, 0.86);
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-telemetry .text-ivory {
  color: #F2EDE4;
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-telemetry .text-ivory\/25 {
  color: rgba(242, 237, 228, 0.3);
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-telemetry .text-amberlight {
  color: #E5B879;
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-telemetry .text-stonewarm\/90 {
  color: rgba(214, 206, 194, 0.88);
}
html[data-theme="light"] #wall .dr-hero-frame .glass-bar {
  background: rgba(16, 15, 13, 0.78);
  border-color: rgba(242, 237, 228, 0.2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(242, 237, 228, 0.08);
  color: #F2EDE4;
}
html[data-theme="light"] #wall .dr-hero-frame .glass-bar:focus-within {
  border-color: rgba(229, 184, 121, 0.68);
}
html[data-theme="light"] #wall .dr-hero-frame .glass-bar svg {
  color: #E5B879;
}
html[data-theme="light"] #wall .dr-hero-frame #memorySearchInput {
  color: #F2EDE4;
}
html[data-theme="light"] #wall .dr-hero-frame #memorySearchInput::placeholder {
  color: rgba(214, 206, 194, 0.78);
}
html[data-theme="light"] #wall .dr-hero-frame #clearSearchBtn {
  color: rgba(214, 206, 194, 0.84);
}
html[data-theme="light"] #wall .dr-hero-frame #clearSearchBtn:hover {
  color: #F7F3EB;
}
html[data-theme="light"] #wall .dr-hero-frame #heroRandomBtn {
  background-color: #D6A86C;
  color: #121110;
}
html[data-theme="light"] #wall .dr-hero-frame #heroRandomBtn:hover {
  background-color: #E5B879;
  color: #121110;
}
html[data-theme="light"] #wall .dr-hero-frame .dr-hero-spotlight {
  background: rgba(16, 15, 13, 0.76);
  border-color: rgba(242, 237, 228, 0.2);
  color: #F2EDE4;
}

html[data-theme="light"] .film-frame .aspect-\[16\/9\],
html[data-theme="light"] .film-frame .aspect-\[4\/3\],
html[data-theme="light"] .film-frame .aspect-\[16\/10\] {
  background-color: #151412;
}
html[data-theme="light"] .film-frame .aspect-\[16\/9\] .from-obsidian\/70,
html[data-theme="light"] .film-frame .aspect-\[4\/3\] .from-obsidian\/70,
html[data-theme="light"] .film-frame .aspect-\[16\/10\] .from-obsidian\/70 {
  --gr-from: rgba(14, 13, 12, 0.78);
  --gr-to: rgba(14, 13, 12, 0);
  --gr-stops: var(--gr-from), var(--gr-to);
}
html[data-theme="light"] .film-frame .aspect-\[16\/9\] .text-ivory,
html[data-theme="light"] .film-frame .aspect-\[16\/9\] .text-ivory\/80,
html[data-theme="light"] .film-frame .aspect-\[4\/3\] .text-ivory,
html[data-theme="light"] .film-frame .aspect-\[4\/3\] .text-ivory\/80,
html[data-theme="light"] .film-frame .aspect-\[16\/10\] .text-ivory,
html[data-theme="light"] .film-frame .aspect-\[16\/10\] .text-ivory\/80 {
  color: rgba(242, 237, 228, 0.94);
}
html[data-theme="light"] .film-frame .aspect-\[16\/9\] .glass-bar,
html[data-theme="light"] .film-frame .aspect-\[4\/3\] .glass-bar,
html[data-theme="light"] .film-frame .aspect-\[16\/10\] .glass-bar {
  background: rgba(20, 18, 16, 0.74);
  border-color: rgba(242, 237, 228, 0.16);
  color: #F2EDE4;
}

/* 影院播放器暗盒：日间模式仍保持纯正暗黑影院屏，避免控件文字失真 */
html[data-theme="light"] .dr-player-box,
html[data-theme="light"] #viewFilm .bg-black {
  background-color: #000000;
  border-color: rgba(24, 22, 20, 0.16);
}
html[data-theme="light"] .dr-player-box .bg-darkroom {
  background-color: #151412;
}
html[data-theme="light"] .dr-player-box .bg-obsidian {
  background-color: #0E0D0C;
}
html[data-theme="light"] .dr-player-box .text-ivory,
html[data-theme="light"] .dr-player-box .text-ivory\/90,
html[data-theme="light"] #viewFilm .bg-black .text-ivory {
  color: #F2EDE4;
}
html[data-theme="light"] .dr-player-box .text-stonewarm,
html[data-theme="light"] #viewFilm .bg-black .text-stonewarm {
  color: #A39B8F;
}
html[data-theme="light"] .dr-player-box .text-amberlight {
  color: #D6A86C;
}
html[data-theme="light"] .dr-player-box .bg-amberlight\/90 {
  background-color: rgba(214, 168, 108, 0.92);
}
html[data-theme="light"] .dr-player-box .text-obsidian {
  color: #0E0D0C;
}
html[data-theme="light"] .dr-player-box .hairline {
  border-color: rgba(242, 237, 228, 0.1);
}

