/* ==========================================================================
   CORTIS 粉丝站原型 —— 高冲击力双面 Zine & 交互动效样式系统
   零外部依赖 · 自托管字体 · 支持画报模式 / 暗房模式双面撞色
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Grace Hand";
  src: url("./fonts/covered-by-your-grace-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f4ec;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #52514c;
  --line: #d3d0c5;
  --green: #2bc650;
  --red: #d9231b;
  --yellow: #ffe44d;
  --focus: #1f4bff;
  --active-vibe: #2bc650;
  --member-color: #2bc650;

  --font-body: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-hand: "Grace Hand", "Kaiti SC", "STKaiti", "KaiTi", "Nanum Pen Script", "Apple SD Gothic Neo", cursive;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --bar-h: 60px;

  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobble-lg: 14px 5px 11px 4px / 5px 12px 6px 13px;
  --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='r' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23r)' d='M6 34 L50 8 L14 60 L94 8 L40 82 L140 10 L78 92 L182 22 L120 94 L194 54 L166 92' fill='none' stroke='%23000' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
  --paper: #0c0d10;
  --surface: #15171d;
  --ink: #f4f4ed;
  --ink-2: #a5a8b3;
  --line: #373a44;
}

.sec-dark {
  --paper: #0e1014;
  --surface: #171a21;
  --ink: #f4f4ed;
  --ink-2: #a5a8b3;
  --line: #373a44;
  background: var(--paper);
  color: var(--ink);
  border-top: 2px solid #232630;
  border-bottom: 2px solid #232630;
}

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

html {
  scroll-padding-top: calc(var(--bar-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.has-dock {
  padding-bottom: 84px;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

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

img, svg {
  display: block;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.svg-defs {
  position: absolute;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 75;
  pointer-events: none;
  opacity: 0.036;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 全屏交互涂鸦画板与贴纸层 -------------------------------------------------- */
.crayon-canvas {
  position: fixed;
  inset: 0;
  z-index: 44;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

body.is-drawing .crayon-canvas {
  pointer-events: auto;
  cursor: crosshair;
}

.sticker-layer {
  position: fixed;
  inset: 0;
  z-index: 43;
  pointer-events: none;
  overflow: hidden;
}

.user-sticker {
  position: absolute;
  padding: 5px 12px;
  border: 2px solid #111;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #111;
  box-shadow: 3px 3px 0 #111;
  user-select: none;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .user-sticker {
    animation: stickerPop 0.28s cubic-bezier(0.22, 1.4, 0.36, 1) both;
  }
}

@keyframes stickerPop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(var(--rot, -4deg));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--rot, -4deg));
  }
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.quiet {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 12px;
}

/* 蜡笔涂色 ------------------------------------------------------------------ */
.member-card.is-current::before,
.day.is-next::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--active-vibe, var(--green));
  -webkit-mask: var(--scribble) center / 100% 100% no-repeat;
  mask: var(--scribble) center / 100% 100% no-repeat;
  pointer-events: none;
}

/* 按钮、标签、链接 ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  background: var(--active-vibe, var(--green));
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--active-vibe, var(--green));
  color: #111111;
}

.btn-small {
  min-height: 44px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.btn-play svg {
  width: 14px;
  height: 14px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-btn:hover,
.link-line a:hover {
  text-decoration-color: var(--active-vibe, var(--green));
}

.ext::after {
  content: "↗";
  margin-left: 0.25em;
  font-size: 0.85em;
}

.link-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.link-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.tag {
  display: inline-block;
  margin-inline: 0.6em 0;
  padding: 1px 10px 2px;
  border: 1.5px solid var(--ink);
  border-radius: var(--wobble);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: 0.12em;
}

.tag-yellow {
  background: var(--yellow);
  color: #111111;
}

.tag-green {
  background: var(--green);
  color: #111111;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.chip:hover {
  background: var(--active-vibe, var(--green));
  color: #111111;
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--ink);
  color: var(--paper);
}

.more-label {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
}

/* 顶栏 ---------------------------------------------------------------------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 48;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}

.bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  min-height: var(--bar-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bar-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.logo-box {
  padding: 2px 10px;
  background: var(--active-vibe, var(--green));
  color: #111111;
  border: 2px solid var(--ink);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  transform: rotate(-2deg);
  transition: transform 0.18s ease, background-color 0.25s ease;
}

.bar-logo:hover .logo-box {
  transform: rotate(1deg) scale(1.04);
}

.bar-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.bar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
}

.bar-nav a:hover,
.bar-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--active-vibe, var(--green));
  text-underline-offset: 6px;
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-btn {
  min-height: 36px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.theme-btn[aria-pressed="true"] {
  background: var(--active-vibe, var(--green));
  color: #111111;
}

.lang {
  display: flex;
}

.lang button {
  min-width: 40px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--active-vibe, var(--green));
  text-underline-offset: 6px;
}

.menu-btn {
  display: none;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* 主视觉 -------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: #0d0e11;
}

.hero-photo .photo {
  width: 100%;
  aspect-ratio: 1920 / 825;
  height: auto;
  max-height: 63svh;
  border: 0;
  border-radius: 0;
}

.hero-expand {
  position: absolute;
  right: var(--gutter);
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #f6f4ec;
  border-radius: var(--wobble);
  background: #111111;
  color: #f6f4ec;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-stage:has(.photo.is-empty) .hero-expand {
  display: none;
}

.hero-expand:hover,
.hotspot:hover {
  background: var(--green);
  color: #111111;
}

.hero-member-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(8px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
}

.hero-member-links button {
  min-height: 44px;
  padding: 0 3px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: clamp(0.76rem, 1.4vw, 0.9rem);
  font-weight: 800;
}

.hero-member-links button:hover {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 11em);
  align-items: center;
  gap: 20px clamp(20px, 3.4vw, 48px);
  padding-block: clamp(20px, 3vw, 40px);
}

.hero-body:has(.next-note[hidden]) {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

/* 矮宽屏空间不足时，仍保留合照里的五张脸。 */
@media (min-aspect-ratio: 17/10) {
  .hero-photo .photo {
    max-height: 58svh;
  }

  .hero-photo .photo img {
    object-fit: contain;
  }

  .hero-body {
    padding-block: 20px;
  }
}

.wordmark {
  width: 100%;
  max-width: 580px;
}

.wordmark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.wordmark text {
  font-family: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 236px;
}

.wm-fill {
  fill: var(--paper);
}

.wm-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linejoin: round;
}

.wm-crayon {
  fill: none;
  stroke: var(--active-vibe, var(--green));
  stroke-width: 64;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .wm-crayon {
    animation: crayon-draw 1.4s cubic-bezier(0.55, 0, 0.25, 1) 0.15s both;
  }
}

@keyframes crayon-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.hero-line {
  max-width: 26em;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
}

.hero-actions .btn {
  padding-inline: 10px;
  font-size: 0.92rem;
  box-shadow: none;
}

.next-note:not([hidden]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-self: start;
  gap: 2px 10px;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  text-decoration: none;
}

.next-label,
.next-date {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 0.8rem;
}

.next-count {
  padding: 2px 6px;
  border-radius: var(--wobble);
  background: var(--yellow);
  color: #111111;
  font-weight: 900;
  line-height: 1.2;
}

.next-what {
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.next-note:hover .next-what {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-strip {
  padding-block: 8px;
  border-block: 1px solid var(--ink);
  background: #111111;
  color: #f6f4ec;
  font-size: clamp(0.68rem, 1.1vw, 0.84rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-strip span {
  color: var(--green);
  margin-inline: 4px;
}

/* 照片位与精致角标 ---------------------------------------------------------- */
.photo {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: #181a20;
}

.photo--wide {
  aspect-ratio: 3 / 2;
}

.photo--portrait {
  aspect-ratio: 3 / 4;
}

.photo--square {
  aspect-ratio: 1;
}

.photo--thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-width: 1.5px;
  border-radius: 6px 3px 5px 2px / 3px 5px 3px 6px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 竖版海报等不想被裁的图：整张显示，两侧留深色底 */
.photo--contain {
  background: #0d0e11;
}

.photo--contain img {
  object-fit: contain;
}

.tour-photo {
  margin-bottom: 18px;
}

.tour-photo .photo {
  aspect-ratio: 16 / 9;
}

.photo.is-empty {
  border-style: dashed;
  background: var(--paper);
}

.photo.is-empty img {
  display: none;
}

.photo-empty {
  position: absolute;
  inset: 0;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 14px;
  text-align: center;
}

.photo.is-empty .photo-empty {
  display: grid;
}

.doodle {
  width: min(46%, 150px);
  height: auto;
}

.doodle--wide {
  width: min(70%, 320px);
}

.photo--thumb .doodle {
  width: 34px;
}

.photo--thumb .photo-empty {
  padding: 0;
}

.photo-empty-title {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.photo-empty-hint {
  max-width: 22em;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.photo-pick {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* 精致单行暗色图源角标，不遮挡照片主体 */
.photo-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: none;
  max-width: calc(100% - 16px);
}

.photo.is-ok .photo-credit {
  display: block;
}

.photo-credit a {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(12, 13, 16, 0.72);
  color: #f6f4ec;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  backdrop-filter: blur(4px);
}

.photo-credit a:hover {
  background: var(--active-vibe, var(--green));
  color: #111111;
  border-color: #111111;
}

.hero-photo .photo-credit {
  left: var(--gutter);
  right: auto;
  top: auto;
  bottom: 8px;
}

/* 区块 ---------------------------------------------------------------------- */
.sec {
  padding-block: clamp(54px, 7.5vw, 102px);
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.sec-head-row .sec-title,
.sec-head-row .sub-title {
  margin-bottom: 0;
}

.sec-title {
  margin-bottom: clamp(24px, 3.5vw, 44px);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 900;
  font-stretch: 114%;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.sub {
  margin-top: clamp(52px, 7vw, 88px);
}

.sub-title {
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .reveal.entry-visible {
    transition: none;
  }
}

/* 介绍 & 3D 倾角入坑三首 ---------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-text p {
  max-width: 34em;
  font-size: 1.08rem;
}

.about-text p + p {
  margin-top: 0.9em;
}

.about-text .sec-title + p {
  font-size: clamp(1.16rem, 1.9vw, 1.38rem);
  font-weight: 600;
  line-height: 1.6;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 16px clamp(20px, 3.5vw, 44px);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.facts dt {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 700;
}

.facts dd {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-photo {
  position: relative;
  transform: rotate(1.4deg);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: var(--wobble-lg);
}

.about-photo::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -12px;
  left: 50%;
  width: 104px;
  height: 26px;
  margin-left: -52px;
  background: var(--yellow);
  opacity: 0.92;
  transform: rotate(-4deg);
}

.starters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(18px, 3vw, 32px);
}

.starter {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--wobble-lg);
  background: var(--surface);
}

.starter-step {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.starter-title {
  margin-top: 2px;
  font-size: 1.4rem;
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.25;
}

.starter-why {
  flex: 1;
  margin-top: 8px;
  font-size: 0.96rem;
}

.starter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
}

.starter-actions .btn {
  box-shadow: none;
}

.starter-actions .btn:not(.btn-solid) {
  border-width: 1px;
}

.starter-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.timeline li span,
.item-title,
.day-title,
.next-what {
  overflow-wrap: anywhere;
}

.timeline {
  columns: 2;
  column-gap: clamp(32px, 6vw, 88px);
  border-top: 2px solid var(--ink);
}

.timeline li {
  display: grid;
  grid-template-columns: 7.6em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--ink);
  break-inside: avoid;
}

.timeline time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

/* 音乐（暗房唱片台 + 黑胶滑出搓盘） ---------------------------------------- */
.music-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.release-list {
  display: grid;
  gap: 8px;
}

.release-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 0 4px 4px 0;
  background: none;
  text-align: left;
  color: var(--ink);
}

.release-btn[aria-current="true"] {
  border-left-color: var(--green);
  background: var(--surface);
}

.release-btn:hover .release-btn-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.release-btn-text {
  display: grid;
  min-width: 0;
}

.release-btn-title {
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.release-btn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  color: var(--ink-2);
  font-size: 0.84rem;
}

.release-detail {
  min-width: 0;
}

.release-head {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

/* 专辑封套 + 黑胶滑出盘体 */
.album-stage {
  position: relative;
  padding-right: 46px;
}

.album-stage .photo {
  position: relative;
  z-index: 2;
  box-shadow: 5px 5px 0 #000;
}

.vinyl-disc {
  position: absolute;
  top: 6%;
  right: 8px;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 1;
  background:
    radial-gradient(circle at center, var(--active-vibe, var(--green)) 0 17%, #111 17.5% 20%, #1c1f26 20.5% 48%, #0c0d10 48.5% 50%, #1c1f26 50.5% 75%, #0a0b0e 75.5% 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  cursor: grab;
  touch-action: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(0) rotate(var(--vinyl-deg, 0deg));
}

/* 盘心被封套挡住时，外圈的刻痕也能显示转动。 */
.vinyl-disc::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(
    from 18deg,
    #acb3bf 0deg 28deg,
    transparent 28deg 120deg,
    #626b79 120deg 160deg,
    transparent 160deg 251deg,
    #acb3bf 251deg 270deg,
    transparent 270deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  pointer-events: none;
}

.vinyl-disc::after {
  content: "";
  position: absolute;
  inset: 44%;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid #111;
}

.album-stage.is-spinning .vinyl-disc {
  transform: translateX(26%) rotate(var(--vinyl-deg, 0deg));
}

.vinyl-disc.is-scratching {
  cursor: grabbing;
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  .album-stage.is-spinning .vinyl-disc:not(.is-scratching) {
    animation: spinVinyl 2.8s linear infinite;
  }
}

@keyframes spinVinyl {
  from { transform: translateX(26%) rotate(0deg); }
  to { transform: translateX(26%) rotate(360deg); }
}

.vinyl-hint {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.76rem;
}

.release-meta {
  min-width: 0;
}

.release-kind {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-weight: 700;
}

.release-title {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.release-desc {
  max-width: 34em;
  margin-top: 12px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.track-list {
  margin-top: clamp(24px, 3.5vw, 38px);
  border-top: 2px solid var(--ink);
}

.track {
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 45%, transparent);
}

.track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 6px;
}

.play-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  background: var(--surface);
  color: var(--ink);
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.play-btn svg {
  width: 16px;
  height: 16px;
}

.play-btn:hover,
.play-btn[aria-pressed="true"] {
  background: var(--active-vibe, var(--green));
  color: #111111;
  border-color: var(--active-vibe, var(--green));
  transform: scale(1.06);
}

.track-toggle {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 52px;
  padding: 4px 34px 4px 0;
  border: 0;
  background: none;
  text-align: left;
  position: relative;
}

.track-toggle::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.track-toggle[aria-expanded="true"]::after {
  content: "–";
}

.track-name {
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
}

.track-more {
  padding: 0 0 18px 60px;
}

.track-more .more-label:first-child {
  margin-top: 4px;
}

.track-more .quiet {
  margin-top: 8px;
}

.includes {
  margin-top: 10px;
}

.video-inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 6px;
}

/* 成员（扑克扇形卡 + 专属蜡笔色） ------------------------------------------ */
.member-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 20px var(--gutter) 26px;
}

.member-card {
  position: relative;
  isolation: isolate;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .member-card:nth-child(odd) {
    transform: rotate(-1.6deg);
  }
  .member-card:nth-child(even) {
    transform: rotate(1.6deg);
  }
  .member-card:hover,
  .member-card.is-current {
    transform: rotate(0deg) translateY(-6px);
  }
}

.member-card.is-current::before {
  left: -12px;
  right: -12px;
  bottom: -8px;
  height: 68px;
  background: var(--member-color, var(--green));
  transform: rotate(-1.5deg);
}

.member-card.is-current .photo {
  border-width: 3px;
  box-shadow: 5px 5px 0 var(--member-color, var(--green));
}

.member-card.is-current .member-name,
.member-card.is-current .member-sub {
  color: #111111;
}

.member-select {
  display: grid;
  width: 100%;
  min-height: 56px;
  padding: 10px 4px 0;
  border: 0;
  background: none;
  text-align: left;
}

.member-select::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.member-select:focus-visible {
  outline: none;
}

.member-select:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.member-name {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 900;
  font-stretch: 116%;
  line-height: 1.2;
}

.member-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  color: var(--ink-2);
  font-size: 0.86rem;
}

.member-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px clamp(32px, 6vw, 96px);
  margin-top: 18px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}

.md-portrait {
  display: none;
}

.md-name {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.md-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 10px;
  font-weight: 700;
}

.md-alt .tag {
  margin: 0;
}

.md-bio {
  max-width: 32em;
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.md-side .more-label:first-child {
  margin-top: 0;
}

.md-birth {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 16px;
  font-size: 1.25rem;
  font-weight: 800;
}

.md-count {
  color: var(--red);
  font-size: 1rem;
  font-weight: 700;
}

/* Zine 街头拍立得画廊 ------------------------------------------------------- */
.zine-sub {
  margin-top: 8px;
  max-width: 44em;
}

.zine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.zine-actions .btn {
  box-shadow: none;
  border-width: 1px;
}

.zine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 26px;
}

.polaroid {
  position: relative;
  padding: 10px 10px 16px;
  background: #f6f4ec;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 5px 5px 0 var(--tape-color, #2bc650);
  text-align: left;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.polaroid-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 78px;
  height: 20px;
  margin-left: -39px;
  background: var(--tape-color, #ffe44d);
  opacity: 0.92;
  transform: rotate(-3deg);
  z-index: 4;
}

.polaroid .photo {
  border-radius: 2px;
  border: 1.5px solid #111111;
}

.polaroid-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #52514c;
}

.polaroid-note {
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (prefers-reduced-motion: no-preference) {
  .polaroid:nth-child(odd) {
    transform: rotate(-1.4deg);
  }
  .polaroid:nth-child(even) {
    transform: rotate(1.3deg);
  }
  .polaroid:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.02);
    box-shadow: 8px 8px 0 var(--tape-color, #2bc650);
    z-index: 3;
  }
}

/* 日程与现场模式 ------------------------------------------------------------ */
.official-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin-top: -10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.official-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
}

.schedule-grid .quiet {
  margin-top: -10px;
  margin-bottom: 16px;
}

.day-list {
  border-top: 2px solid var(--ink);
}

.day {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 7.4em minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  min-height: 60px;
  padding: 6px 0;
  border-bottom: 1.5px solid var(--ink);
}

.day.is-next::before {
  inset: -6px -12px -8px -10px;
  background: var(--yellow);
  transform: rotate(-0.6deg);
}

.day.is-next {
  color: #111111;
}

.day-date {
  font-size: 1.05rem;
}

.day-title {
  font-weight: 700;
}

.day-count {
  font-weight: 900;
  font-stretch: 118%;
  white-space: nowrap;
}

.day-venue {
  color: var(--ink-2);
  font-size: 0.86rem;
  text-align: right;
}

/* PUT YOUR PHONE DOWN 聚光灯现场暗场 ---------------------------------------- */
.stage-mode {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #050608;
  color: #f6f4ec;
  display: grid;
  place-items: center;
  padding: 24px;
}

.stage-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 340px at var(--spot-x, 50%) var(--spot-y, 46%),
    rgba(43, 198, 80, 0.34),
    rgba(5, 6, 8, 0.96) 72%
  );
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.stage-kicker {
  color: #2bc650;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stage-quote {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  font-stretch: 120%;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.stage-sub {
  color: #cfcfc8;
  font-size: 1.08rem;
  max-width: 28em;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.stage-mode .btn {
  --ink: #f6f4ec;
  --surface: #14171d;
  --paper: #050608;
}

/* 动态 ---------------------------------------------------------------------- */
.item-list {
  margin-bottom: 28px;
  border-top: 2px solid var(--ink);
}

.item {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr) 56px;
  gap: 4px 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--ink);
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 1.05rem;
}

.item-meta .tag {
  margin: 0;
}

.item-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.feed-main {
  min-height: 70vh;
  padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 112px);
}

.feed-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 24px;
}

.feed-search {
  width: min(100%, 300px);
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--surface);
  color: var(--ink);
}

.feed-search::placeholder {
  color: var(--ink-2);
}

.feed-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-block: 12px 28px;
}

/* 页脚 ---------------------------------------------------------------------- */
.foot {
  background: #111111;
  color: #f6f4ec;
  padding-block: clamp(44px, 6vw, 80px);
}

.foot :focus-visible {
  outline-color: var(--yellow);
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px clamp(32px, 6vw, 96px);
  align-items: start;
}

.foot-title {
  margin-bottom: 12px;
  color: #b9b9b2;
  font-size: 0.9rem;
  font-weight: 600;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.channel-list a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  min-height: 48px;
  padding-block: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 112%;
  text-decoration: none;
}

.channel-list a:hover {
  color: var(--active-vibe, var(--green));
}

.channel-handle {
  order: 3;
  flex-basis: 100%;
  color: #b9b9b2;
  font-size: 0.8rem;
  font-weight: 500;
  font-stretch: 100%;
}

.foot-note {
  color: #d6d6d0;
  font-size: 0.9rem;
}

.egg-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #f6f4ec;
  font-family: var(--font-hand);
  font-size: 1.7rem;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transform: rotate(-3deg);
}

/* 右下角“涂出线外”玩具盒 ---------------------------------------------------- */
.toybox {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 62;
  display: grid;
  justify-items: end;
  gap: 10px;
  transition: bottom 0.2s ease;
}

body.has-dock .toybox {
  bottom: 92px;
}

.toy-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--green);
  color: #111111;
  border: 2px solid #111111;
  border-radius: var(--wobble);
  font-weight: 800;
  font-size: 0.9rem;
}

.toy-panel {
  width: min(300px, calc(100vw - 32px));
  padding: 14px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  box-shadow: 5px 5px 0 var(--ink);
  display: grid;
  gap: 10px;
}

.toy-hint {
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.toy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.toy-row .chip {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.toy-colors {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.swatch.is-active {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* 试听播放器（含 12 段声波柱） --------------------------------------------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: #111111;
  color: #f6f4ec;
  border-top: 3px solid var(--active-vibe, var(--green));
}

.dock :focus-visible {
  outline-color: var(--yellow);
}

.dock-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  min-height: 78px;
  margin-inline: auto;
  padding: 8px var(--gutter);
}

.dock-nav-btn,
.dock-play,
.dock-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: none;
  color: #f6f4ec;
}

.dock-play {
  width: 46px;
  height: 46px;
  background: var(--active-vibe, var(--green));
  border-color: var(--active-vibe, var(--green));
  color: #111111;
}

.dock-play svg {
  width: 16px;
  height: 16px;
}

.dock-close {
  border-color: transparent;
  font-size: 1.1rem;
}

.dock-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  padding-inline: 4px;
}

.dock-eq span {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--active-vibe, var(--green));
  transition: height 0.12s ease;
}

.dock-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dock-listen {
  font-weight: 700;
  text-decoration: underline;
}

.dock-title {
  overflow: hidden;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dock-demo {
  overflow: hidden;
  color: #b9b9b2;
  font-size: 0.74rem;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dock-bar {
  height: 4px;
  margin-top: 4px;
  background: #3a3a37;
}

.dock-progress {
  width: 0;
  height: 100%;
  background: var(--active-vibe, var(--green));
}

.dock-time {
  font-size: 0.8rem;
  color: #b9b9b2;
}

/* 站内弹窗（视频双源 & 拍立得放大 & 彩蛋） -------------------------------- */
.media-dialog {
  width: min(94vw, 760px);
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--active-vibe, var(--green));
}

.media-dialog:has(.hero-lightbox) {
  width: min(94vw, 1080px);
}

.hero-lightbox {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.hero-lightbox-hint {
  display: none;
}

.hero-lightbox-credit {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.hero-lightbox-frame {
  position: relative;
}

.hero-lightbox-frame.has-hotspots {
  min-width: 760px;
}

.hero-lightbox img {
  display: block;
  width: 100%;
}

.hero-lightbox-frame:not(.has-hotspots) img {
  max-height: 68svh;
  object-fit: contain;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: #111111;
  color: #f6f4ec;
  font-size: 0.8rem;
  font-weight: 800;
}

.media-dialog::backdrop {
  background: rgba(8, 9, 12, 0.78);
}

.media-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.media-dialog-head h2 {
  font-size: 1.3rem;
  font-weight: 900;
}

.media-dialog-head .dock-close {
  color: var(--ink);
  border-color: var(--ink);
}

.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0b0d;
  border: 2px solid var(--ink);
  overflow: hidden;
}

.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-route-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.lightbox-img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #0d0e11;
  border: 2px solid var(--ink);
}

.egg {
  width: min(92vw, 30em);
  padding: 30px 28px 26px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--green);
}

.egg::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.egg h2 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}

.egg p {
  margin-block: 14px 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 80;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: var(--wobble);
  background: #111111;
  color: #f6f4ec;
  border: 2px solid var(--active-vibe, var(--green));
  font-weight: 700;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.2s;
}

.toast.is-on {
  opacity: 1;
}

/* 分享面板、本命、追更、日程操作 -------------------------------------------- */
.share-dialog {
  width: min(94vw, 860px);
}

.share-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.share-preview {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: center;
}

.share-preview img {
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  border: 2px solid var(--ink);
  background: #f6f4ec;
  /* 让手机上长按能弹出“保存图片” */
  -webkit-touch-callout: default;
  user-select: auto;
}

.share-status {
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.5;
}

.share-status:empty {
  display: none;
}

.share-side .more-label {
  display: block;
}

.share-text {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.6;
  resize: vertical;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-hint {
  margin-top: 16px;
}

.share-actions .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
}

.share-actions [hidden] {
  display: none;
}

.md-actions,
.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schedule-actions {
  margin-top: 20px;
}

.btn[aria-pressed="true"] {
  background: var(--yellow);
  color: #111111;
}

.bias-flag {
  position: absolute;
  top: 10px;
  left: -8px;
  z-index: 3;
  padding: 2px 12px 3px;
  background: var(--yellow);
  color: #111111;
  border: 2px solid #111111;
  font-size: 0.82rem;
  font-weight: 900;
  transform: rotate(-6deg);
  pointer-events: none;
}

.day-title .tag {
  margin-inline: 0.6em 0;
}

.follow {
  margin-bottom: 26px;
}

.follow .more-label {
  margin-top: 0;
}

.follow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toy-row .chip-save {
  background: var(--yellow);
  color: #111111;
}

.theme-btn {
  min-height: 44px;
}

/* 周边页 -------------------------------------------------------------------- */
.shop-intro {
  max-width: 40em;
  margin-top: -8px;
  font-size: 1.08rem;
}

.shop-disclosure {
  max-width: 46em;
  margin: 26px 0 36px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--yellow);
}

.shop-disclosure-title {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 900;
}

.shop-disclosure .quiet {
  margin-top: 8px;
}

.shop-list {
  display: grid;
  gap: 22px;
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.shop-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 18px clamp(18px, 3vw, 36px);
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--ink);
}

.shop-item--empty {
  display: block;
}

.shop-noimg {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 2px dashed var(--ink);
  border-radius: var(--wobble-lg);
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.shop-title {
  margin-top: 4px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.15;
}

.shop-note {
  max-width: 34em;
  margin-top: 10px;
}

.shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.shop-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.shop-link .tag {
  margin: 0;
}

.shop-checked {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .shop-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-media {
    max-width: 220px;
  }
}

/* 读屏专用文字 ------------------------------------------------------------- */
.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;
}

.wrap-narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

/* 站长推荐 ------------------------------------------------------------------ */
.curator-sec {
  padding-block: clamp(36px, 5vw, 64px) 0;
}

.curator-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(0, 1fr);
  gap: 20px clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--green);
}

.curator-label {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-weight: 900;
  font-size: 0.95rem;
}

.curator-label .tag {
  margin: 0;
}

.curator-note {
  margin: 0;
  padding: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
}

.curator-note p::before {
  content: "“";
}

.curator-note p::after {
  content: "”";
}

.curator-track {
  margin-top: 14px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900;
  font-stretch: 116%;
  line-height: 1.1;
}

.curator-release {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 700;
}

.curator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
}

.curator-sign {
  margin-top: 14px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

/* 日期数字用正文字体，手写体的 1 和 7 不好认 */
.curator-sign .num {
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.curator-works {
  margin-top: 26px;
}

.works-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 14px;
}

.works-item {
  flex: 0 0 auto;
  width: 180px;
  padding: 8px 8px 12px;
  background: #f6f4ec;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0 var(--yellow);
}

.works-item:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.works-item:nth-child(even) {
  transform: rotate(1.4deg);
}

.works-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1.5px solid #111111;
}

.curator-edit {
  margin-top: 10px;
}

/* 首页：今天玩什么 ---------------------------------------------------------- */
.play-sec {
  padding-block: clamp(36px, 5vw, 64px) clamp(8px, 2vw, 20px);
}

.play-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.play-tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 22px 22px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.play-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--green);
}

.play-tile-title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.15;
}

.play-tile-text {
  max-width: 26em;
}

.play-tile-go {
  justify-self: start;
  margin-top: 4px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--green);
  text-underline-offset: 6px;
}

.mini-squares {
  display: flex;
  gap: 6px;
}

.mini-sq {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.mini-sq.is-empty {
  border-style: dashed;
}

.mini-sq.is-right,
.game-row.is-right .game-row-no {
  background: var(--green);
}

.mini-sq.is-album,
.game-row.is-album .game-row-no {
  background: var(--yellow);
}

.mini-sq.is-wrong,
.game-row.is-wrong .game-row-no {
  background: var(--red);
  color: #ffffff;
}

.mini-sq.is-skip,
.game-row.is-skip .game-row-no {
  background: var(--ink);
  color: var(--paper);
}

.mini-cards {
  position: relative;
  display: block;
  height: 44px;
}

.mini-cards span {
  position: absolute;
  top: 0;
  width: 30px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--surface);
}

.mini-cards span:nth-child(1) {
  left: 0;
  transform: rotate(-8deg);
  background: var(--green);
}

.mini-cards span:nth-child(2) {
  left: 20px;
  transform: rotate(2deg);
  background: var(--yellow);
}

.mini-cards span:nth-child(3) {
  left: 40px;
  transform: rotate(10deg);
}

/* 每日猜歌 ------------------------------------------------------------------ */
.game {
  margin-top: 18px;
}

.game-no {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-weight: 800;
}

.game-no .tag {
  margin: 0;
}

.game-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.game-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  color: #111111;
}

.game-play svg {
  width: 22px;
  height: 22px;
}

.game-play[aria-pressed="true"] {
  background: var(--yellow);
}

.game-track {
  flex: 1;
  min-width: 0;
}

.game-bar {
  position: relative;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}

.game-unlocked {
  position: absolute;
  inset: 0 auto 0 0;
  background: color-mix(in srgb, var(--green) 30%, transparent);
}

.game-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--green);
}

.game-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  opacity: 0.35;
}

.game-play-label {
  margin-top: 8px;
  font-weight: 700;
}

.game-play-label.is-error {
  color: var(--red);
}

.game-rows {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.game-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px 0 0;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--surface);
}

.game-row.is-empty {
  border-style: dashed;
  background: transparent;
}

.game-row-no {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 2px solid var(--ink);
  border-radius: 8px 0 0 8px;
  font-weight: 900;
}

.game-row.is-empty .game-row-no {
  border-right-style: dashed;
  color: var(--ink-2);
}

.game-row-text {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.game-row-kind {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.game-guess {
  margin-top: 22px;
}

.game-search {
  width: 100%;
  margin-bottom: 12px;
}

.game-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-option[aria-pressed="true"] {
  background: var(--yellow);
  color: #111111;
}

.game-option:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: default;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.game-actions .btn[aria-disabled="true"] {
  opacity: 0.5;
}

.game-result {
  margin-top: 24px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--yellow);
}

.game-result-title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
}

.game-answer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.game-answer .photo--thumb {
  width: 84px;
  height: 84px;
}

.game-answer .more-label {
  margin: 0;
}

.game-answer-title {
  font-size: 1.35rem;
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.15;
}

.game-result .link-line {
  margin-top: 10px;
}

.game-next {
  margin-top: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.game-attrib {
  margin-top: 16px;
}

.game-stats {
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.game-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.game-stat-grid dt {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.game-stat-grid dd {
  font-size: 1.9rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.game-dist {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.game-dist-row {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.game-dist-label {
  font-weight: 800;
  font-size: 0.9rem;
}

.game-dist-bar {
  min-width: 28px;
  padding: 2px 8px;
  background: var(--green);
  color: #111111;
  font-weight: 900;
  font-size: 0.86rem;
  text-align: right;
}

.game-dist-bar.is-lost {
  background: var(--ink-2);
  color: var(--paper);
}

.game-dist-bar.is-zero {
  background: transparent;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}

.game-empty {
  padding: 20px 0;
}

/* 小卡册 -------------------------------------------------------------------- */
.binder-privacy {
  max-width: 44em;
  margin-top: 10px;
}

.binder-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.binder-tools label {
  cursor: pointer;
}

.binder-tools label:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.binder-status {
  margin-top: 22px;
  font-weight: 800;
}

.binder-filters {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.binder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 18px;
  margin-top: 24px;
  padding: clamp(14px, 2.5vw, 24px);
  border: 2px solid var(--ink);
  border-radius: var(--wobble-lg);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--ink) 6%, transparent) 31px 32px),
    var(--surface);
}

.binder-empty {
  grid-column: 1 / -1;
  padding: 28px 8px;
  text-align: center;
  font-weight: 700;
}

.pc {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.pc-sleeve {
  position: relative;
  display: block;
  aspect-ratio: 55 / 85;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}

.pc-sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 卡套的反光 */
.pc-sleeve::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.38) 45%, transparent 60%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pc-sleeve::after {
    transform: translateX(-60%);
    transition: transform 0.6s ease;
  }

  .pc:hover .pc-sleeve::after,
  .pc:focus-visible .pc-sleeve::after {
    transform: translateX(60%);
  }

  .pc:hover .pc-sleeve {
    transform: translateY(-3px) rotate(-1deg);
  }

  .pc-sleeve {
    transition: transform 0.18s ease;
  }
}

.pc.is-want .pc-sleeve {
  border-style: dashed;
  box-shadow: none;
}

.pc.is-want img {
  opacity: 0.55;
  filter: grayscale(0.6);
}

.pc-want {
  position: absolute;
  top: 8px;
  left: -6px;
  margin: 0;
  transform: rotate(-6deg);
}

.pc-name {
  font-weight: 800;
  font-size: 0.92rem;
}

.binder-dialog {
  width: min(94vw, 720px);
}

.binder-form {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.binder-form-photo .pc-sleeve {
  box-shadow: 4px 4px 0 var(--green);
}

.binder-form fieldset {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.binder-form legend {
  padding: 0;
}

.binder-form fieldset .more-label {
  margin-top: 0;
}

.binder-select,
.binder-note {
  width: 100%;
}

.binder-form-actions {
  margin-top: 18px;
}

.binder-facts {
  display: grid;
  gap: 10px;
}

.binder-facts dt {
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.binder-facts dd {
  font-weight: 800;
}

/* 站长工作台 ---------------------------------------------------------------- */
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 22px;
}

.desk-form input[type="text"] {
  width: min(100%, 320px);
}

.desk-songs {
  display: grid;
  gap: 12px;
}

.desk-release-title {
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.desk-songs .chip[aria-pressed="true"] {
  background: var(--yellow);
  color: #111111;
}

.desk-count {
  margin-top: 6px;
  text-align: right;
}

.desk-side {
  position: sticky;
  top: calc(var(--bar-h) + 20px);
}

.desk-preview .curator-card {
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  box-shadow: 5px 5px 0 var(--yellow);
}

.desk-actions {
  margin-top: 18px;
}

.desk-dad {
  margin-top: 18px;
}

.desk-snippet {
  margin-top: 8px;
  padding: 12px;
  overflow-x: auto;
  border: 2px dashed var(--ink-2);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}

.desk-snippet:empty {
  display: none;
}

@media (max-width: 760px) {
  .curator-card,
  .desk-preview .curator-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .curator-cover {
    max-width: 200px;
  }

  .play-tiles,
  .desk-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .desk-side {
    position: static;
  }

  .play-tile {
    min-height: 0;
  }

  .game-player {
    padding: 12px;
  }

  .game-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .binder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .binder-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .binder-form-photo {
    max-width: 160px;
  }
}

/* 真材质贴图：textures/ 里有文件时生效，没有则保持上面的代码模拟效果 ------ */
html.tex-paper:not([data-theme="dark"]) body,
html.tex-paper:not([data-theme="dark"]) .bar {
  background-image: var(--tex-paper);
  background-size: 560px auto;
  background-blend-mode: multiply;
}

/* 顶栏和页面用同一张纸，不再半透明 */
html.tex-paper:not([data-theme="dark"]) .bar {
  background-color: var(--paper);
}

/* 有真纸纹就不再叠程序噪点 */
html.tex-paper:not([data-theme="dark"]) .grain {
  display: none;
}

/* 贴图只提供胶带的纸质纹理，颜色仍然用每条胶带自己的颜色 */
html.tex-tape .polaroid-tape {
  background: var(--tex-tape) center / cover no-repeat, var(--tape-color, #ffe44d);
}

html.tex-tape .about-photo::before {
  background: var(--tex-tape) center / cover no-repeat, var(--yellow);
}

html.tex-tape .polaroid-tape,
html.tex-tape .about-photo::before {
  background-blend-mode: multiply;
  opacity: 1;
  /* 两头撕口 */
  clip-path: polygon(0 12%, 3% 0, 6% 14%, 9% 2%, 12% 12%, 100% 0, 97% 16%, 100% 34%, 96% 52%, 100% 70%, 97% 88%, 100% 100%, 12% 90%, 9% 100%, 6% 86%, 3% 100%, 0 84%, 3% 66%, 0 48%, 3% 30%);
}

.wm-tex {
  display: none;
}

.wm-tex-fill {
  fill: var(--green);
}

html.tex-wordmark .wm-tex {
  display: inline;
}

html.tex-wordmark .wm-crayon {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.tex-wordmark .wm-tex-fill {
    transform-box: fill-box;
    transform-origin: left center;
    animation: crayon-wipe 1.3s cubic-bezier(0.55, 0, 0.25, 1) 0.15s both;
  }
}

@keyframes crayon-wipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* 中等宽度 ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .bar-inner {
    gap: 6px;
  }

  .bar-tools {
    margin-left: auto;
    gap: 4px;
  }

  .theme-btn {
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .lang button {
    min-width: 34px;
    padding: 0 3px;
    font-size: 0.86rem;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .bar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 14px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }

  .bar.is-open .bar-nav {
    display: flex;
  }

  .bar-nav a {
    min-height: 52px;
    padding: 0;
    border-bottom: 1.5px solid var(--ink);
    font-size: 1.15rem;
  }

  .bar-nav a:last-child {
    border-bottom: 0;
  }

  .music-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .release-nav {
    margin-inline: calc(var(--gutter) * -1);
  }

  .release-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px var(--gutter) 16px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
  }

  .release-list li {
    flex: 0 0 auto;
    max-width: 78vw;
    scroll-snap-align: start;
  }

  .starters {
    grid-template-columns: minmax(0, 1fr);
  }

  .zine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, auto));
  }
}

/* 手机 ---------------------------------------------------------------------- */
@media (max-width: 855px) {
  .hero-lightbox-hint {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-2);
    font-size: 0.82rem;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero-photo .photo {
    max-height: none;
  }

  .hero-expand {
    right: 8px;
  }

  .hero-photo .photo-credit {
    left: 8px;
  }

  .hero-member-links {
    gap: 0 clamp(4px, 2vw, 16px);
  }

  .hero-member-links button {
    padding-inline: 0;
  }

  .hero-body,
  .hero-body:has(.next-note[hidden]) {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .wordmark {
    max-width: 420px;
  }

  .about-grid,
  .member-detail,
  .schedule-grid,
  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-photo {
    max-width: 100%;
  }

  .timeline {
    columns: 1;
  }

  .timeline li {
    grid-template-columns: 6.6em minmax(0, 1fr);
  }

  .release-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .album-stage {
    max-width: 260px;
  }

  .track-more {
    padding-left: 0;
  }

  .member-row {
    gap: clamp(4px, 1.5vw, 10px);
    padding-block: 12px 16px;
  }

  .member-row .member-card {
    transform: none;
  }

  .member-card.is-current::before {
    display: none;
  }

  .member-row .member-card .photo {
    aspect-ratio: 1;
    border: 2px solid var(--line);
    border-radius: 50%;
    box-shadow: none;
  }

  .member-row .is-current .photo {
    border-color: var(--green);
  }

  .member-row .photo.is-ok .photo-credit,
  .member-row .photo .photo-empty,
  .member-row .member-sub {
    display: none;
  }

  .member-row .bias-flag {
    top: 0;
    right: 0;
    font-size: 0.55rem;
    padding: 2px 3px;
    box-shadow: none;
  }

  .member-select {
    min-height: 36px;
    padding: 4px 0 0;
    text-align: center;
  }

  .member-name,
  .member-card.is-current .member-name {
    color: var(--ink);
    font-size: clamp(0.58rem, 2.6vw, 0.91rem);
    font-stretch: 82%;
    overflow-wrap: anywhere;
  }

  .member-card.is-current .member-name {
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }

  .member-detail {
    gap: 24px;
    margin-top: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--wobble-lg);
    background: var(--surface);
  }

  .md-portrait {
    display: block;
    margin-bottom: 16px;
  }

  .md-portrait .photo {
    aspect-ratio: 7 / 5;
  }

  .zine-grid {
    gap: 20px 12px;
  }

  .polaroid {
    padding: 6px 6px 12px;
    overflow-wrap: anywhere;
  }

  .polaroid:first-child {
    grid-column: 1 / -1;
  }

  .polaroid:first-child .photo {
    aspect-ratio: 16 / 10;
  }

  .polaroid-tape {
    width: 48px;
    height: 14px;
    margin-left: -24px;
  }

  .day {
    grid-template-columns: 6.2em minmax(0, 1fr) auto;
  }

  .item {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .item-meta {
    grid-column: 1 / -1;
  }

  .channel-list a {
    font-size: 1.12rem;
  }

  .dock-eq,
  .dock-time,
  .dock-demo {
    display: none;
  }

  .share-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-preview img {
    max-height: 40vh;
  }

  .share-dialog {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .hero-expand span { display: none; }
  .bar-inner { padding-inline: 10px; }
  .logo-box { padding-inline: 6px; font-size: 1rem; }
  .theme-btn {
    width: 38px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }
  .theme-btn::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  }
  .lang button { min-width: 30px; }
}
