/* OnlyGuys — 偏 OnlyFans：深底 + 主题色；背景图与标题字融合 */
:root {
  --bg-deep: #0c0c0e;
  --bg-panel: rgba(20, 22, 28, 0.78);
  --text: #f4f4f5;
  --text-muted: #9ca3af;
  --accent: #00aff0;
  --accent-deep: #0088c6;
  --accent-glow: rgba(0, 175, 240, 0.4);
  --accent-soft: rgba(0, 175, 240, 0.12);
  --border: rgba(255, 255, 255, 0.09);
  --hero-opacity: 0.38;
  --hero-photo: url("../onlyGuysPic/cv.jpg");
  /* 标题字纹理：默认同底图；轮播时由 JS 改为当前幻灯片 */
  --hero-title-photo: var(--hero-photo);
  --title-shade-top: rgba(255, 255, 255, 0.9);
  --title-shade-mid: rgba(226, 232, 240, 0.45);
  --title-shade-bot: rgba(0, 175, 240, 0.35);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.theme-girls {
  --accent: #ff4d6d;
  --accent-deep: #e11d48;
  --accent-glow: rgba(255, 77, 109, 0.45);
  --accent-soft: rgba(255, 77, 109, 0.14);
  --hero-photo: url("../onlyGirlsPic/Qing.jpg");
  --hero-title-photo: var(--hero-photo);
  --title-shade-top: rgba(255, 250, 252, 0.92);
  --title-shade-mid: rgba(255, 182, 193, 0.42);
  --title-shade-bot: rgba(225, 29, 72, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-deep);
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--hero-opacity);
  pointer-events: none;
  transition: opacity 0.35s ease, filter 0.6s ease;
  filter: saturate(1.05) contrast(1.02);
}

body.theme-girls .bg-layer {
  filter: saturate(1.08) contrast(1.03);
}

/* 主题图库轮播（叠在 onlyGuysPic/cv.jpg、onlyGirlsPic/Qing.jpg 等底图之上） */
.gallery-carousel {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.gallery-carousel__img,
.gallery-carousel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.95s ease;
  will-change: opacity;
}

.gallery-carousel__img.is-visible,
.gallery-carousel__video.is-visible {
  opacity: 0.92;
}

body.has-gallery-slides .bg-layer {
  opacity: calc(var(--hero-opacity) * 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel__img,
  .gallery-carousel__video {
    transition-duration: 0.01ms;
  }
}

/* 叠色：压暗边缘、中间透气，让照片与 UI 融合 */
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, transparent 28%, transparent 55%, rgba(8, 9, 12, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 9, 12, 0.35) 0%, transparent 18%, transparent 82%, rgba(8, 9, 12, 0.35) 100%);
  mix-blend-mode: multiply;
  opacity: 0.85;
}

body.theme-girls .bg-scrim {
  opacity: 0.82;
  background:
    linear-gradient(180deg, rgba(18, 6, 10, 0.5) 0%, transparent 26%, transparent 52%, rgba(18, 6, 10, 0.9) 100%),
    linear-gradient(90deg, rgba(14, 6, 10, 0.32) 0%, transparent 16%, transparent 84%, rgba(14, 6, 10, 0.32) 100%);
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 38%, transparent 0%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.72) 100%);
}

body.modal-open {
  overflow: hidden;
}

.shell {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* —— 顶栏：OnlyFans 式 + 左上角陀螺开关 —— */
.top-bar {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(180deg, rgba(22, 24, 29, 0.92) 0%, rgba(15, 17, 20, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--accent-soft), 0 12px 40px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  overflow: visible;
}

/* 陀螺：仅按钮参与顶栏宽度；提示「浮动」在按钮正下方，不占导航横向空间 */
.spin-switch-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.spin-hint {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 3px 9px 3px 8px;
  max-width: none;
  width: max-content;
  color: var(--accent);
  pointer-events: none;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 0 24px var(--accent-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.spin-hint__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  color: rgba(235, 238, 245, 0.9);
  text-shadow: 0 0 10px var(--accent-glow), 0 1px 2px rgba(0, 0, 0, 0.65);
  animation: spin-hint-label-pulse 2.2s ease-in-out infinite;
}

.spin-hint__arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  transform: rotate(-90deg);
  transform-origin: center;
  animation: spin-hint-arrow-nudge-up 1.25s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.spin-hint__arrow {
  width: 18px;
  height: 10px;
  display: block;
  overflow: visible;
}

.spin-hint__path {
  animation: spin-hint-stroke-glow 1.25s ease-in-out infinite;
}

.spin-hint__path--head {
  animation-delay: 0.08s;
}

@keyframes spin-hint-label-pulse {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spin-hint-arrow-nudge-up {
  0%,
  100% {
    transform: rotate(-90deg) translateY(0);
  }
  35% {
    transform: rotate(-90deg) translateY(-2px);
  }
  55% {
    transform: rotate(-90deg) translateY(-4px);
  }
}

@keyframes spin-hint-stroke-glow {
  0%,
  100% {
    stroke-opacity: 0.45;
  }
  50% {
    stroke-opacity: 1;
  }
}

@media (min-width: 768px) {
  .spin-hint__label {
    font-size: 0.625rem;
    letter-spacing: 0.025em;
  }

  .spin-hint__arrow {
    width: 20px;
    height: 11px;
  }
}

/* —— 陀螺形主题开关 —— */
.spin-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.14), rgba(30, 32, 38, 0.95));
  color: rgba(230, 235, 245, 0.95);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.spin-switch:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 覆盖 .spin-switch 的 position:relative，使顶栏宽度仅 44px */
.spin-switch-wrap > .spin-switch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  margin: 0;
}

.spin-switch__glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.spin-switch__disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  animation: spin-slow 10s linear infinite;
}

.spin-switch__hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  overflow: visible;
}

.spin-top-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.spin-top-svg__shadow {
  fill: currentColor;
  opacity: 0.28;
}

.spin-top-svg__body {
  fill: currentColor;
  fill-opacity: 0.82;
}

.spin-top-svg__tip {
  fill: currentColor;
  opacity: 0.95;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-fast {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.theme-girls .spin-switch {
  border-color: rgba(255, 77, 109, 0.55);
  color: #ffb3c6;
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 210, 0.2),
    0 0 0 1px rgba(255, 77, 109, 0.25),
    0 4px 22px rgba(255, 77, 109, 0.35);
}

body.theme-girls .spin-switch__glow {
  opacity: 0.75;
}

body.theme-girls .spin-switch__disc {
  animation: spin-fast 2.2s linear infinite;
}

.spin-switch.is-pulse .spin-switch__disc {
  animation: spin-fast 1.4s linear infinite;
}

@keyframes heart-float {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--hx, 0px)), calc(-50% + var(--hy, -80px))) scale(1.1) rotate(25deg);
  }
}

.spin-switch__hearts .heart-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 12px;
  line-height: 1;
  color: #ff2d55;
  text-shadow: 0 0 10px rgba(255, 45, 85, 0.9);
  animation: heart-float 1.1s ease-out forwards;
  pointer-events: none;
}

.brand-mark {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  justify-self: start;
  transition: filter 0.35s;
}

.top-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.top-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s;
}

.top-nav a:hover {
  color: var(--text);
}

.top-actions {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn-small {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

.nav-toggle {
  grid-column: 2;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-drawer {
  background: #161618;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
}

/* —— 浮动音乐唱片 —— */
.music-fab {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.6rem + 2.4rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: auto;
}

.music-lyric-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  height: 2.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(9, 11, 15, 0.92), rgba(7, 8, 12, 0.96));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.music-lyric-bar__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.music-lyric-bar__line {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(234, 240, 249, 0.86);
  text-shadow: 0 0 8px var(--accent-soft);
  animation: lyric-marquee var(--board-speed-sec, 42s) linear infinite, lyric-bounce 1.9s ease-in-out infinite;
  will-change: transform;
}

body.theme-girls .music-lyric-bar__line {
  color: rgba(255, 231, 236, 0.88);
}

@keyframes lyric-marquee {
  0% {
    transform: translate(0, -50%);
  }
  100% {
    transform: translate(-220vw, -50%);
  }
}

@keyframes lyric-bounce {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.16);
  }
}

.music-fab__disc {
  position: relative;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.9));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 10px 24px rgba(0, 0, 0, 0.7),
    0 0 24px var(--accent-soft);
  padding: 0;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out;
}

.music-fab__disc-inner {
  position: relative;
  width: 80%;
  height: 80%;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 1));
  overflow: hidden;
}

.music-fab__disc-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.7);
}

.music-fab__disc-ring--outer {
  border-top-color: rgba(255, 255, 255, 0.12);
  border-left-color: rgba(255, 255, 255, 0.06);
}

.music-fab__disc-ring--mid {
  inset: 0.35rem;
  border-top-color: rgba(255, 255, 255, 0.06);
  border-right-color: rgba(255, 255, 255, 0.14);
}

.music-fab__disc-label {
  position: absolute;
  inset: 0.8rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--accent-soft);
}

.music-fab__disc-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.music-fab__disc:active {
  cursor: grabbing;
  transform: scale(0.96);
}

.music-fab--open .music-fab__disc {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 14px 32px rgba(0, 0, 0, 0.8),
    0 0 36px var(--accent-soft);
}

.music-fab__panel {
  position: relative;
  width: min(320px, 92vw);
  padding: 0.75rem 0.85rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 0% 0%, rgba(0, 175, 240, 0.24), transparent 52%),
    radial-gradient(circle at 100% 0%, rgba(255, 77, 109, 0.24), transparent 60%),
    rgba(10, 11, 16, 0.96);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 18px 40px rgba(0, 0, 0, 0.7);
  display: none;
}

.music-fab--panel-left {
  align-items: flex-start;
}

.music-fab--panel-up .music-fab__panel {
  margin-bottom: 0.55rem;
}

.music-fab--open .music-fab__panel {
  display: block;
}

.music-fab__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.music-fab__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.music-fab__close {
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.7);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}

.music-fab__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.music-fab__body {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
}

.music-fab__frame {
  display: block;
  width: 100%;
  border: none;
  min-height: 80px;
}

.music-fab__hint {
  margin: 0;
  padding: 0.4rem 0.55rem 0.5rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.46);
}

.music-fab--dragging .music-fab__disc {
  cursor: grabbing;
}

@media (max-width: 540px) {
  .music-fab {
    right: 1rem;
    bottom: calc(1.1rem + 2.2rem);
  }
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

/* —— Hero：超大标题 —— */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
  /* 首屏以主视觉为主，避免留言区与评论区同屏抢画面 */
  min-height: calc(100vh - 4.75rem);
  min-height: calc(100dvh - 4.75rem);
  min-height: calc(100svh - 4.75rem);
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4.5rem, 22vw, 12rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 32px var(--accent-glow));
}

/* 标题字：照片 + 渐变罩叠，与全屏背景同一图源，形成一体感 */
.hero-title__text {
  display: inline-block;
  background-image:
    linear-gradient(
      185deg,
      var(--title-shade-top) 0%,
      var(--title-shade-mid) 42%,
      var(--title-shade-bot) 100%
    ),
    var(--hero-title-photo);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.12);
  padding: 0 0.02em;
}

.hero-sub {
  margin: 1.6rem 0 0;
  max-width: 34rem;
  padding: 0 0.5rem;
  line-height: 1.65;
}

.hero-sub__inner {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(0.92rem, 2.35vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(210, 216, 230, 0.72);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-sub__accent {
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(248, 250, 255, 0.94);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, var(--accent) 48%, rgba(255, 255, 255, 0.9) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: hero-sub-glow 10s ease-in-out infinite;
}

@keyframes hero-sub-glow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* —— 全屏弹出卡片（发现 / 关于） —— */
.site-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.site-modal[hidden] {
  display: none !important;
}

.site-modal:not([hidden]) {
  display: block;
}

.site-modal__sheet {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  padding-top: max(1.25rem, var(--safe-top));
  padding-bottom: max(1.25rem, var(--safe-bottom));
  pointer-events: none;
}

.site-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.3s ease;
}

.site-modal--visible .site-modal__backdrop {
  background: rgba(4, 5, 8, 0.78);
}

.site-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  pointer-events: auto;
  max-height: min(85vh, 640px);
  overflow-y: auto;
  padding: 1.65rem 1.5rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(28, 30, 36, 0.94) 0%, rgba(14, 15, 18, 0.97) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px var(--accent-soft);
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-modal--visible .site-modal__panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.site-modal__panel--discover {
  text-align: center;
  padding-top: 2.25rem;
  max-width: 26rem;
}

.site-modal__panel--about {
  max-width: min(36rem, 100%);
}

.site-modal__panel--discover::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

.site-modal__panel--about::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
}

/* 弹出层：年度清单（与 todo 页同款样式，嵌在面板内） */
.site-modal__panel--todo {
  text-align: left;
  max-width: min(46rem, 98vw);
  width: calc(100% - 0.5rem);
  max-height: min(92vh, 900px);
  padding: 1.65rem 1.55rem 1.45rem;
  color-scheme: dark;
}

.site-modal__panel--todo::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
}

.site-modal__panel--todo .site-modal__eyebrow {
  margin-bottom: 0.65rem;
}

.site-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.site-modal__close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.site-modal__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.discover-modal__lead {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.65rem, 5.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  background: linear-gradient(185deg, #fff 0%, var(--text-muted) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

/* —— 弹出层：看世界（收款码 assets/support/ + 旅行地图） —— */
.site-modal__panel--support {
  text-align: center;
  padding: 2rem 2.35rem 1.85rem;
  max-width: min(58rem, 98vw);
  width: calc(100% - 0.5rem);
  max-height: min(94vh, 920px);
}

.site-modal__panel--support::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

.support-modal__lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.support-modal__qr-wrap {
  margin: 0 auto 1rem;
  padding: 0.65rem;
  max-width: min(20rem, 92vw);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.support-modal__qr {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 10px;
  vertical-align: middle;
}

.support-modal__note {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

/* 众筹 · 标语：展示向中文（ZCOOL 小薇）+ 书宋混排，冷灰香槟调 */
.support-slogan {
  margin: 0 0 1.35rem;
  padding: 0.5rem 0.75rem 0.65rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  line-height: 1.7;
  text-wrap: balance;
}

.support-slogan__line {
  display: block;
}

.support-slogan__line--1 {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(1.12rem, 2.8vw, 1.38rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  background: linear-gradient(
    125deg,
    #f2f4f8 0%,
    #c5cdd9 35%,
    #9aa6b8 72%,
    #d8dce4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 24px rgba(0, 0, 0, 0.5));
}

.support-slogan__line--2 {
  margin-top: 0.45rem;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(0.95rem, 2.35vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(210, 218, 228, 0.88);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 0 36px rgba(180, 195, 215, 0.12);
}

body.theme-girls .support-slogan__line--1 {
  background: linear-gradient(
    125deg,
    #fff5f7 0%,
    #e8c4cf 38%,
    #b89aa5 72%,
    #ecd8de 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.theme-girls .support-slogan__line--2 {
  color: rgba(236, 222, 226, 0.9);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 0 32px rgba(255, 120, 140, 0.1);
}

/* 看世界打卡地图 */
.support-travel {
  margin: 0 0 1.35rem;
  text-align: center;
}

.support-travel__heading {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.travel-map__viewport {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
  background: rgba(6, 8, 12, 0.65);
  transition:
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    max-width 0.35s ease;
}

.travel-map__viewport:not(.travel-map__viewport--globe) {
  min-height: clamp(280px, 44vh, 400px);
  max-height: min(400px, 52vw);
  border-radius: 18px;
}

.travel-map__hint {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.32);
}

.travel-map__svg--pannable {
  cursor: grab;
  touch-action: none;
  outline: none;
}

.travel-map__svg--pannable.is-dragging {
  cursor: grabbing;
}

.travel-map__svg--pannable:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-soft);
  border-radius: 4px;
}

.travel-map__label {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: #feffff;
  paint-order: stroke fill;
  /* 细深色描边防浅色陆块上发虚；主体仍为高亮字色 */
  stroke: rgba(6, 10, 18, 0.55);
  stroke-width: 2px;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px var(--accent-glow))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
}

/* 仅中国地图视图：城市名为粉色高亮（世界视图仍用上方默认亮色） */
.travel-map__layer--china .travel-map__label {
  fill: #ffd8ea;
  stroke: rgba(48, 10, 28, 0.62);
  filter: drop-shadow(0 0 6px rgba(255, 182, 210, 0.95)) drop-shadow(0 0 16px rgba(255, 77, 109, 0.5))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.travel-map__coast--island {
  stroke-width: 1.45;
  opacity: 0.95;
}

.travel-map__land--island {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.9;
}

.travel-map__land--tw {
  stroke: rgba(255, 255, 255, 0.16);
}

.travel-map__viewport--globe {
  width: min(100%, 420px);
  max-width: 420px;
  aspect-ratio: 1;
  min-height: 0;
  max-height: none;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.65),
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 48px var(--accent-soft);
}

.travel-map__layer {
  position: absolute;
  inset: 0;
  padding: 0.4rem 0.5rem 0.55rem;
}

.travel-map__layer--china {
  background:
    radial-gradient(ellipse 85% 70% at 50% 45%, rgba(0, 175, 240, 0.07), transparent 62%),
    linear-gradient(180deg, rgba(16, 18, 24, 0.55) 0%, rgba(8, 9, 12, 0.92) 100%);
}

body.theme-girls .travel-map__layer--china {
  background:
    radial-gradient(ellipse 85% 70% at 50% 45%, rgba(255, 77, 109, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(16, 18, 24, 0.55) 0%, rgba(8, 9, 12, 0.92) 100%);
}

.travel-map__layer--world {
  background:
    radial-gradient(ellipse 90% 80% at 42% 38%, var(--accent-soft), transparent 58%),
    linear-gradient(165deg, rgba(22, 24, 32, 0.9) 0%, rgba(10, 11, 14, 0.96) 100%);
}

.travel-map__svg-inner {
  display: block;
  width: 100%;
  height: 100%;
}

.travel-map__coast-glow {
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0.22;
  vector-effect: non-scaling-stroke;
  filter: blur(2.5px);
}

body.theme-girls .travel-map__coast-glow {
  opacity: 0.26;
}

.travel-map__coast-glow--world {
  stroke-width: 4;
  opacity: 0.18;
  filter: blur(2px);
}

.travel-map__land {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.15;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.travel-map__coast {
  stroke: rgba(200, 220, 238, 0.75);
  stroke-width: 2.1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(0, 175, 240, 0.35));
}

body.theme-girls .travel-map__coast {
  stroke: rgba(255, 205, 215, 0.82);
  filter: drop-shadow(0 0 10px rgba(255, 77, 109, 0.35));
}

.travel-map__land--world {
  fill: rgba(210, 225, 240, 0.14);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.05;
}

.travel-map__coast--world {
  stroke: rgba(230, 242, 255, 0.88);
  stroke-width: 1.85;
  filter: drop-shadow(0 0 12px rgba(120, 190, 255, 0.45));
}

body.theme-girls .travel-map__coast--world {
  stroke: rgba(255, 228, 234, 0.9);
  filter: drop-shadow(0 0 12px rgba(255, 120, 140, 0.4));
}

.travel-map__graticule line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}

.travel-map__graticule--world line {
  stroke: rgba(160, 195, 230, 0.1);
  stroke-width: 0.55;
}

/* 球形地球：正射投影下的经纬网 path */
.travel-map__graticule-globe .travel-map__graticule-line {
  fill: none;
  stroke: rgba(160, 195, 230, 0.11);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
}

body.theme-girls .travel-map__graticule-globe .travel-map__graticule-line {
  stroke: rgba(255, 200, 215, 0.12);
}

.travel-map__globe-limb {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 14px rgba(100, 160, 220, 0.25));
  pointer-events: none;
}

body.theme-girls .travel-map__globe-limb {
  stroke: rgba(255, 200, 210, 0.28);
  filter: drop-shadow(0 0 14px rgba(255, 100, 130, 0.22));
}

.travel-map__halo {
  fill: var(--accent);
  opacity: 0.22;
  transform-box: fill-box;
  transform-origin: center;
  animation: travel-pulse-halo 2.8s ease-in-out infinite;
}

.travel-map__core {
  fill: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  animation: travel-pulse-core 2.8s ease-in-out infinite;
}

.travel-map__ring {
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: 0.55;
  animation: travel-pulse-ring 2.8s ease-in-out infinite;
}

@keyframes travel-pulse-halo {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.32;
  }
}

@keyframes travel-pulse-core {
  0%,
  100% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}

@keyframes travel-pulse-ring {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.35);
  }
}

.travel-map__ring {
  transform-box: fill-box;
  transform-origin: center;
}

.travel-map__legend {
  margin: 0.55rem 0 0.65rem;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0 0.25rem;
  min-height: 1.5em;
}

.travel-map__legend[hidden] {
  display: none;
}

/* 深色双栏切换 · 高级感 */
.travel-map__toggle--lux {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: min(100%, 320px);
  max-width: 400px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0e1016 0%, #060709 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 10px 36px rgba(0, 0, 0, 0.45);
}

.travel-map__tab--lux {
  position: relative;
  margin: 0;
  padding: 0.62rem 1.1rem 0.52rem;
  border: none;
  border-radius: 9px;
  font-family: "Inter", system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.travel-map__tab--lux + .travel-map__tab--lux::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent
  );
  pointer-events: none;
}

.travel-map__tab-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.travel-map__tab-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

.travel-map__tab--lux:hover {
  color: rgba(255, 255, 255, 0.72);
}

.travel-map__tab--lux:hover .travel-map__tab-sub {
  color: rgba(255, 255, 255, 0.32);
}

.travel-map__tab--lux.is-active {
  color: rgba(248, 250, 252, 0.96);
  background: linear-gradient(165deg, rgba(38, 42, 52, 0.95) 0%, rgba(18, 20, 26, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 175, 240, 0.28),
    0 4px 20px rgba(0, 0, 0, 0.35);
}

.travel-map__tab--lux.is-active .travel-map__tab-sub {
  color: rgba(0, 175, 240, 0.55);
}

body.theme-girls .travel-map__tab--lux.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 120, 140, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.35);
}

body.theme-girls .travel-map__tab--lux.is-active .travel-map__tab-sub {
  color: rgba(255, 160, 175, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .travel-map__halo,
  .travel-map__core,
  .travel-map__ring {
    animation: none;
  }

  .travel-map__halo {
    opacity: 0.25;
  }
}

/* —— 弹出层：创作者（双头像 + 中部文案） —— */
.site-modal__panel--creators {
  max-width: min(42rem, 96vw);
  max-height: min(90vh, 720px);
  padding: 1.75rem 1.35rem 1.65rem;
  text-align: center;
  /* 默认 panel 的 overflow-y:auto 会裁掉光带的 blur / 外发光，导致「看不到光带」 */
  overflow: visible;
}

.site-modal__panel--creators::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

/* 三列：左头像 | 中间细光带（与头像留缝）| 右头像；标语在标题「创作者」下方 */
.creators-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 12.5rem) minmax(0, 1fr);
  /* 列间距略加大，光带与左右头像等距、均留一点缝 */
  gap: 0.35rem 1.05rem;
  align-items: start;
  margin-top: 0.15rem;
}

.creators-mid {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  /* 左右对称内缩，避免光波 blur 一侧贴头像、另一侧悬空 */
  padding-left: clamp(0.45rem, 2.2vw, 0.75rem);
  padding-right: clamp(0.45rem, 2.2vw, 0.75rem);
  box-sizing: border-box;
  /* 光带与左右头像中心对齐：头像环垂直中心 ≈ padding + 环半径 */
  padding-top: calc(0.35rem + clamp(2.875rem, 11vw, 3.625rem) - 0.5rem);
}

.creators-card--cv {
  grid-column: 1;
  grid-row: 1;
}

.creators-card--qing {
  grid-column: 3;
  grid-row: 1;
}

/* 吸积盘式细线 + 蓝波左→右 / 红波右→左交替（带水波尾迹） */
.creators-bridge {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 2.35rem;
  padding: 0.4rem clamp(0.35rem, 1.5vw, 0.55rem);
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 9.25rem;
  pointer-events: none;
  overflow: visible;
  box-sizing: border-box;
}

.creators-bridge__disk {
  z-index: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108%;
  height: 8px;
  transform: translate(-50%, -50%) scaleY(0.42);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 100% 380% at 50% 50%,
    rgba(72, 82, 98, 0.95) 0%,
    rgba(38, 44, 58, 0.7) 38%,
    transparent 74%
  );
  box-shadow:
    0 0 14px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(0, 175, 240, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-mask-image: radial-gradient(ellipse 90% 96% at 50% 50%, #000 22%, #000 58%, transparent 90%);
  mask-image: radial-gradient(ellipse 90% 96% at 50% 50%, #000 22%, #000 58%, transparent 90%);
}

.creators-bridge__wave {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 0;
  width: 40%;
  height: 11px;
  border-radius: 50%;
  will-change: transform, opacity;
}

.creators-bridge__wave--blue {
  background: radial-gradient(ellipse 72% 100% at 50% 50%, rgba(160, 240, 255, 0.98), rgba(0, 175, 240, 0.4) 52%, transparent 76%);
  filter: blur(2px);
  box-shadow: 0 0 12px rgba(0, 175, 240, 0.65);
  opacity: 0;
  animation: creators-accretion-blue 4s cubic-bezier(0.38, 0.02, 0.22, 1) infinite;
}

.creators-bridge__wave--blue-trail {
  width: 48%;
  filter: blur(5px);
  opacity: 0;
  animation: creators-accretion-blue 4s cubic-bezier(0.38, 0.02, 0.22, 1) infinite;
  animation-delay: 0.1s;
}

@keyframes creators-accretion-blue {
  0% {
    transform: translateY(-50%) translateX(-52%) scale(0.55, 0.7);
    opacity: 0;
  }
  7% {
    opacity: 1;
  }
  46% {
    transform: translateY(-50%) translateX(168%) scale(1.12, 0.78);
    opacity: 0.92;
  }
  52%,
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(188%) scale(0.45, 0.55);
  }
}

.creators-bridge__wave--red {
  background: radial-gradient(ellipse 72% 100% at 50% 50%, rgba(255, 205, 215, 0.98), rgba(255, 77, 109, 0.42) 52%, transparent 76%);
  filter: blur(2px);
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.55);
  opacity: 0;
  animation: creators-accretion-red 4s cubic-bezier(0.38, 0.02, 0.22, 1) infinite;
  animation-delay: 2s;
}

.creators-bridge__wave--red-trail {
  width: 48%;
  filter: blur(5.5px);
  opacity: 0;
  animation: creators-accretion-red 4s cubic-bezier(0.38, 0.02, 0.22, 1) infinite;
  animation-delay: 2.12s;
}

@keyframes creators-accretion-red {
  0%,
  49% {
    opacity: 0;
    transform: translateY(-50%) translateX(218%) scale(0.55, 0.7);
  }
  55% {
    opacity: 1;
  }
  96% {
    transform: translateY(-50%) translateX(-42%) scale(1.1, 0.78);
    opacity: 0.88;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-58%) scale(0.48, 0.55);
  }
}

@media (max-width: 719px) {
  .creators-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .creators-card--cv {
    grid-column: 1;
    grid-row: 1;
  }

  .creators-card--qing {
    grid-column: 2;
    grid-row: 1;
  }

  .creators-mid {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 0.65rem;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .creators-bridge {
    max-width: min(14rem, 78vw);
  }
}

@media (min-width: 720px) {
  .creators-layout {
    gap: 0.35rem 1.2rem;
  }
}

.creators-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
}

.creators-card__ring-wrap {
  position: relative;
  width: clamp(5.75rem, 22vw, 7.25rem);
  height: clamp(5.75rem, 22vw, 7.25rem);
  flex-shrink: 0;
}

/* 头像外缘爱心绽放（蓝 / 粉） */
.creators-card__hearts {
  position: absolute;
  inset: -10px;
  pointer-events: none;
  z-index: 3;
}

.creators-card__hearts span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  margin: -0.375rem 0 0 -0.375rem;
  font-size: 0.62rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: creators-heart-burst 2.6s ease-out infinite;
  animation-delay: var(--d);
}

.creators-card__hearts span::before {
  content: "\2764";
}

.creators-card__hearts--blue span {
  color: #4dd4ff;
  filter: drop-shadow(0 0 6px rgba(0, 175, 240, 0.95)) drop-shadow(0 0 10px rgba(0, 175, 240, 0.5));
}

.creators-card__hearts--pink span {
  color: #ff7a95;
  filter: drop-shadow(0 0 6px rgba(255, 77, 109, 0.95)) drop-shadow(0 0 10px rgba(255, 77, 109, 0.5));
}

@keyframes creators-heart-burst {
  0% {
    opacity: 0;
    transform: rotate(var(--rot)) translateY(-2.2rem) scale(0.2);
  }
  20% {
    opacity: 1;
    transform: rotate(var(--rot)) translateY(-2.75rem) scale(1.05);
  }
  50% {
    opacity: 0.75;
    transform: rotate(var(--rot)) translateY(-3.15rem) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--rot)) translateY(-3.65rem) scale(0.35);
  }
}

.creators-card__ring {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 12px 40px rgba(0, 0, 0, 0.45);
}

.creators-card--cv .creators-card__ring {
  background: linear-gradient(145deg, #00aff0 0%, rgba(255, 255, 255, 0.26) 48%, #0088c6 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(0, 175, 240, 0.42);
}

.creators-card--qing .creators-card__ring {
  background: linear-gradient(145deg, #ff4d6d 0%, rgba(255, 255, 255, 0.3) 48%, #e11d48 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(255, 77, 109, 0.42);
}

.creators-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-deep);
}

/* 头像下创作者名：实色 + 轻体积光，避免 clip 文字在部分环境下「消失」 */
.creators-card__name {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 0.15rem;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.25;
}

.creators-card__name--cv {
  color: #9fd4ee;
  text-shadow:
    0 0 32px rgba(0, 175, 240, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.creators-card__name--qing {
  color: #e8b4bf;
  text-shadow:
    0 0 28px rgba(255, 77, 109, 0.22),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.creators-card__id {
  position: relative;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.creators-hero-text {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.5rem;
  min-width: 0;
}

/* 标语在弹层标题「创作者」正下方、头像网格上方，整行居中 */
.creators-hero-text--under-title {
  max-width: min(38rem, calc(100% - 1rem));
  margin: 0.15rem auto 0.65rem;
  padding: 0.2rem 1rem 0;
  width: 100%;
  box-sizing: border-box;
}

/* 中部标语：衬线主句 + Inter 人名，低饱和金属灰阶 */
.creators-tagline {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(0.86rem, 2.05vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
  color: #6e7580;
}

.creators-tagline__glue {
  color: #5c6370;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.creators-tagline__cv {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #7eb6d4;
}

.creators-tagline__qing {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #c49dad;
}

.creators-tagline__tail {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: #9aa2ae;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

@media (min-width: 520px) {
  .creators-tagline {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creators-bridge__wave--blue,
  .creators-bridge__wave--blue-trail,
  .creators-bridge__wave--red,
  .creators-bridge__wave--red-trail,
  .creators-card__hearts span {
    animation: none;
  }

  .creators-bridge__wave--blue,
  .creators-bridge__wave--blue-trail {
    opacity: 0;
  }

  .creators-bridge__wave--red,
  .creators-bridge__wave--red-trail {
    opacity: 0;
  }

  .creators-card__hearts span {
    opacity: 0.35;
    transform: rotate(var(--rot)) translateY(-2.65rem) scale(0.65);
  }
}

/* —— 关于（正文由 content/about.md 注入；默认在弹出层内） —— */
.about-inner {
  padding: 1.5rem 1.4rem 1.35rem;
  background: var(--bg-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-inner--modal {
  padding: 0.25rem 0.15rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-body p {
  margin: 0 0 1rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-body strong {
  color: var(--text);
  font-weight: 600;
}

.about-body code {
  font-size: 0.85em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.about-fallback {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.55;
}

.about-fallback--hint {
  margin-bottom: 0;
  opacity: 0.9;
}

.about-timer-block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.about-timer + .about-timer {
  margin-top: 1rem;
}

.about-timer {
  margin: 0;
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

.about-timer__lead {
  display: inline;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about-timer__nums {
  display: inline;
  white-space: normal;
}

.about-timer__num {
  display: inline-block;
  min-width: 1.5ch;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
}

/* —— 评论区（置于页脚之后，需向下滚动查看） —— */
.comments-section {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
  text-align: left;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 55%);
}

.comments-heading {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.comments-panel {
  padding: 1rem 1rem 1.25rem;
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 120px;
}

.giscus-mount {
  width: 100%;
}

.giscus-placeholder {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.giscus-placeholder code {
  font-size: 0.78em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(0, 175, 240, 0.1);
  color: var(--accent);
}

/* —— 页脚：细青蓝条 —— */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

.of-strip {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  background: #111113;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

/* 平板及以上：完整导航 */
@media (min-width: 768px) {
  .top-bar {
    grid-template-columns: auto 1fr auto;
    padding: 0.85rem 2rem;
  }

  .top-bar-left {
    grid-column: 1;
  }

  .brand-mark {
    justify-self: start;
  }

  .top-nav {
    display: flex;
    grid-column: 2;
    justify-self: center;
  }

  .top-actions {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }

  .hero {
    padding: 3rem 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(7rem, 14vw, 11rem);
  }
}

/* —— 年度清单：夜间主题 · 玻璃面板 · 极简线格（首页 #modalTodo 弹层内） —— */
body.todo-page {
  color-scheme: dark;
}

.todo-page__shell {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.todo-page__top .todo-page__nav-current {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
  padding: 0.35rem 0.5rem;
}

.todo-page__main {
  flex: 1 1 auto;
  width: 100%;
  max-width: min(46rem, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3.5vw, 1.75rem) clamp(1rem, 4vw, 2rem) 2.75rem;
  box-sizing: border-box;
  min-width: 0;
  align-self: center;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.72) 0%, rgba(8, 9, 12, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* 清单嵌在首页弹层内：去掉外层磨砂卡片，避免双层底 */
.site-modal__panel--todo .todo-page__main--modal {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  align-self: stretch;
}

.todo-page__intro {
  margin-bottom: 1rem;
}

.todo-page__eyebrow {
  margin: 0 0 0.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.todo-page__title {
  margin: 0 0 0.5rem;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: clamp(1.5rem, 4.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
}

.todo-page__tagline {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 400;
}

.todo-page__code {
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 0.82em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.72);
}

.todo-page__source-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(10px);
}

.todo-page__source-status {
  margin: 0;
  flex: 1;
  min-width: 12rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.todo-page__source-status--warn {
  color: rgba(255, 200, 160, 0.75);
}

.btn--todo-sync {
  font-size: 0.72rem;
  padding: 0.42rem 0.85rem;
  flex-shrink: 0;
}

.todo-page__help {
  margin: 0 0 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14, 16, 22, 0.5);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
}

.todo-page__help summary {
  cursor: pointer;
  padding: 0.7rem 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  list-style: none;
}

.todo-page__help summary::-webkit-details-marker {
  display: none;
}

.todo-page__help[open] summary {
  border-bottom: 1px solid var(--border);
}

.todo-page__help-body {
  padding: 0.75rem 1rem 1rem;
}

.todo-page__help ol {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.68;
}

.todo-page__help li {
  margin-bottom: 0.35rem;
}

.todo-page__inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 175, 240, 0.35);
}

body.theme-girls .todo-page__inline-link {
  border-bottom-color: rgba(255, 77, 109, 0.35);
}

.todo-page__inline-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.todo-page__footer .footer-brand {
  text-decoration: none;
  color: inherit;
}

.todo-page__footer .footer-meta a {
  color: var(--accent);
  text-decoration: none;
}

.todo-notebook {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.todo-notebook__accent {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 55%, rgba(0, 0, 0, 0.15) 100%);
  opacity: 0.85;
}

body.theme-girls .todo-notebook__accent {
  opacity: 0.9;
}

.todo-notebook__inner {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1.05rem 1.35rem 1rem;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 27px,
    rgba(255, 255, 255, 0.045) 27px,
    rgba(255, 255, 255, 0.045) 28px
  );
}

.todo-notebook__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
}

.todo-notebook__field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.todo-notebook__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.todo-notebook__select,
.todo-notebook__input {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.todo-notebook__select:focus,
.todo-notebook__input:focus {
  outline: none;
  border-color: rgba(0, 175, 240, 0.45);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

body.theme-girls .todo-notebook__select:focus,
body.theme-girls .todo-notebook__input:focus {
  border-color: rgba(255, 77, 109, 0.45);
}

.todo-notebook__input--year {
  width: 4.75rem;
}

.todo-notebook__year-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.btn--notebook {
  font-size: 0.72rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn--notebook:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn--danger-soft {
  color: rgba(255, 160, 170, 0.92);
  border-color: rgba(255, 77, 109, 0.22);
}

.btn--danger-soft:hover {
  background: rgba(255, 77, 109, 0.08);
}

.btn--notebook-add {
  width: 100%;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.58rem 1rem;
  border-radius: 10px;
}

/* 清单内主按钮：深色底，避免默认青蓝渐变显「土」 */
.todo-notebook .btn-primary.btn--notebook-add {
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.todo-notebook .btn-primary.btn--notebook-add:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.todo-notebook .btn-primary.btn--notebook-add:active {
  background: rgba(0, 0, 0, 0.55);
}

body.theme-girls .todo-notebook .btn-primary.btn--notebook-add {
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-girls .todo-notebook .btn-primary.btn--notebook-add:hover {
  border-color: rgba(255, 200, 210, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.todo-notebook__stats {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

.todo-notebook__empty {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.32);
}

.todo-notebook__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.todo-notebook__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem 0.55rem;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.todo-notebook__check {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.todo-notebook__text {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(6, 8, 12, 0.55);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.5rem;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.todo-notebook__text::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.todo-notebook__row.is-done .todo-notebook__text {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.todo-notebook__del {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.22);
  font-size: 1.2rem;
  line-height: 1;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
}

.todo-notebook__del:hover {
  color: rgba(255, 160, 170, 0.95);
  background: rgba(255, 255, 255, 0.05);
}

.todo-notebook__actions {
  margin-top: 0.85rem;
}

.todo-notebook__sync {
  margin-top: 1.25rem;
  padding: 0.9rem 0.75rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.todo-notebook__sync-title {
  margin: 0 0 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.todo-notebook__sync-hint {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

.todo-notebook__sync-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.todo-notebook__import-label {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.todo-notebook__import-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

@media (max-width: 520px) {
  .todo-notebook {
    flex-direction: column;
  }

  .todo-notebook__accent {
    width: 100%;
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-switch__disc {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .spin-switch__hearts .heart-particle {
    animation: none !important;
    opacity: 0 !important;
  }

  .spin-hint__label {
    animation: none !important;
    opacity: 0.92 !important;
    transform: none !important;
  }

  .spin-hint__arrow-wrap {
    animation: none !important;
    transform: rotate(-90deg) translateY(-2px) !important;
  }

  .spin-hint__path {
    animation: none !important;
    stroke-opacity: 0.95 !important;
  }

  .hero-sub__accent {
    animation: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: var(--accent) !important;
    filter: none !important;
  }

  .site-modal__panel {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
