/* ═══════════════════════════════════════════════════════════════════════════
   提示词图鉴 — comic / graffiti zine × editorial (scoped)
   Palette: paper tones, ink #0a0a0a, accent #e50000; section bg uses soft gradients + inset hairline
   ═══════════════════════════════════════════════════════════════════════════ */

#archive.anth-archive--zine {
  --z-paper: #f4f3ef;
  --z-ink: #0a0a0a;
  --z-pop: #e50000;
  --z-ink-soft: rgba(10, 10, 10, 0.55);
  --z-ink-faint: rgba(10, 10, 10, 0.35);
  --z-font-shout: "Archivo Black", "Inter", system-ui, sans-serif;
  --z-font-scrawl: "Caveat", cursive;
  --z-font-serif: "Playfair Display", "Source Serif 4", "Noto Serif SC", Georgia, serif;
  --z-font-sans: "Inter", system-ui, sans-serif;
  position: relative;
  overflow-x: clip;
  background-color: #f2f1ec;
  background-image: linear-gradient(183deg, #ffffff 0%, #e6e5e0 36%, #efeee9 68%, #f7f6f2 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  --mag-parchment: var(--z-paper);
}

#archive.anth-archive--zine::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 88% 62% at 48% 38%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 88% 62% at 48% 38%, #000 0%, transparent 78%);
}

#archive.anth-archive--zine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(92deg, rgba(229, 0, 0, 0.16) 0, rgba(229, 0, 0, 0.16) 2px, transparent 2px),
    linear-gradient(180deg, transparent 0 76%, rgba(0, 0, 0, 0.09) 76% 77.2%, transparent 77.2%),
    linear-gradient(98deg, transparent 64%, rgba(229, 0, 0, 0.07) 64% 65.2%, transparent 65.2%),
    radial-gradient(circle at 0% 0%, rgba(229, 0, 0, 0.1) 0%, transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.08) 0%, transparent 46%),
    radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.05) 0%, transparent 30%);
}

#archive.anth-archive--zine > * {
  position: relative;
  z-index: 1;
}

/* —— masthead: broken frame —— */
#archive.anth-archive--zine .anth-archive__masthead {
  border-bottom: 3px solid var(--z-ink);
  transform: rotate(-0.4deg);
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.5rem, 2vw, 1rem);
  padding-right: clamp(0.5rem, 2vw, 1rem);
}

#archive.anth-archive--zine .anth-archive__eyebrow {
  font-family: var(--z-font-shout);
  letter-spacing: 0.14em;
  color: var(--z-ink);
  border-left: 4px solid var(--z-pop);
  padding-left: 0.65rem;
  transform: skewX(-2deg);
}

#archive.anth-archive--zine .anth-archive__display {
  font-family: var(--z-font-serif);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  transform: translateX(-2px) rotate(-0.8deg);
  text-shadow: 3px 3px 0 rgba(10, 10, 10, 0.08);
}

#archive.anth-archive--zine .anth-archive__editorial {
  border-left: 4px solid var(--z-ink);
  transform: translateY(0.35rem) rotate(0.35deg);
}

#archive.anth-archive--zine .anth-archive__editorial-p {
  font-family: var(--z-font-sans);
  font-style: normal;
  color: var(--z-ink-soft);
}

#archive.anth-archive--zine .anth-archive__masthead-right {
  display: flex;
  justify-content: flex-end;
}

#archive.anth-archive--zine .anth-archive__search-form {
  margin: 0;
  width: auto;
  max-width: 100%;
}

/* —— 图鉴检索：brutalist / magazine（作用域内，变量对齐 zine） —— */
#archive.anth-archive--zine .search-wrap {
  display: inline-block;
  max-width: 100%;
  font-family: var(--z-font-sans);
}

#archive.anth-archive--zine .search-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--z-ink);
  position: relative;
  cursor: pointer;
}

#archive.anth-archive--zine .search-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--z-pop);
  transform: scaleX(0.6);
  transform-origin: left;
}

#archive.anth-archive--zine .search-box {
  position: relative;
  display: inline-block;
  width: min(100%, 520px);
}

#archive.anth-archive--zine .search-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 12px 16px;
  box-sizing: border-box;

  font-size: 16px;
  font-family: var(--z-font-sans);
  font-style: normal;
  font-weight: 400;

  background: var(--z-paper);
  color: var(--z-ink);

  border: 3px solid var(--z-ink);
  outline: none;

  transform: rotate(-0.5deg);
  box-shadow: 6px 6px 0 var(--z-ink);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

#archive.anth-archive--zine .search-input:hover {
  transform: translate(-2px, -2px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--z-ink);
}

/* 聚焦：框线、后方块影均保持墨色（与默认/hover 一致） */
#archive.anth-archive--zine .search-input:focus {
  border-color: var(--z-ink);
  box-shadow: 8px 8px 0 var(--z-ink);
}

#archive.anth-archive--zine .search-input::placeholder {
  color: var(--z-ink-faint);
  font-style: normal;
  font-family: var(--z-font-sans);
  font-size: 1em;
  font-weight: 400;
}

#archive.anth-archive--zine .search-input:not(:placeholder-shown) {
  letter-spacing: 0;
}

@media (max-width: 640px) {
  #archive.anth-archive--zine .search-box {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #archive.anth-archive--zine .search-input {
    transition: none;
  }

  #archive.anth-archive--zine .search-input:hover {
    transform: rotate(-0.5deg);
  }
}

/* —— controls: “ripped tab” chips —— */
#archive.anth-archive--zine .anth-archive__controls {
  border-bottom: 3px solid var(--z-ink);
  transform: rotate(0.25deg);
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.5rem, 2vw, 1rem);
  padding-right: clamp(0.5rem, 2vw, 1rem);
}

#archive.anth-archive--zine .anth-archive__controls-heading {
  font-family: var(--z-font-shout);
  letter-spacing: 0.08em;
  color: var(--z-ink);
}

#archive.anth-archive--zine .anth-filter-chip__comma {
  color: var(--z-ink-faint);
}

#archive.anth-archive--zine .anth-filter-chip {
  position: relative;
  font-family: var(--z-font-shout);
  letter-spacing: 0.06em;
  color: var(--z-ink-soft);
  border: 3px solid var(--z-ink);
  border-bottom-width: 3px;
  padding: 0.4rem 0.65rem 0.45rem;
  margin: 0.15rem 0.2rem 0.15rem 0;
  background: var(--z-paper);
  clip-path: polygon(0 0, 100% 2%, 98% 100%, 3% 96%);
  transform: rotate(-1deg);
  transition:
    transform 0.12s ease,
    color 0.12s ease,
    background 0.12s ease;
}

#archive.anth-archive--zine .anth-archive__filters > button.anth-filter-chip:nth-of-type(3n) {
  transform: rotate(1.4deg) translateY(2px);
}

#archive.anth-archive--zine .anth-archive__filters > button.anth-filter-chip:nth-of-type(5n) {
  transform: rotate(-0.8deg) translateY(-1px);
}

#archive.anth-archive--zine .anth-filter-chip:hover:not(.is-active) {
  font-family: var(--z-font-shout);
  font-style: normal;
  text-transform: uppercase;
  color: var(--z-ink);
  transform: rotate(0deg) scale(1.02);
}

#archive.anth-archive--zine .anth-filter-chip.is-active {
  color: var(--z-paper);
  background: var(--z-ink);
  border-color: var(--z-ink);
  box-shadow: 4px 4px 0 var(--z-pop);
}

#archive.anth-archive--zine .anth-filter-chip__vol {
  color: inherit;
  opacity: 0.85;
}

#archive.anth-archive--zine .anth-filter-chip.is-active .anth-filter-chip__vol {
  color: var(--z-pop);
}

#archive.anth-archive--zine .anth-view-tab {
  font-family: var(--z-font-shout);
  border: 3px solid transparent;
  border-bottom: 3px solid transparent;
  color: var(--z-ink-soft);
}

#archive.anth-archive--zine .anth-view-tab.is-active {
  border: 3px solid var(--z-ink);
  border-bottom: 3px solid var(--z-pop);
  color: var(--z-ink);
}

#archive.anth-archive--zine .anth-view-tab:hover:not(.is-active) {
  background: var(--z-pop);
  color: var(--z-paper);
  border-color: var(--z-ink);
}

/* —— panel “sheet shift” —— */
#archive.anth-archive--zine .anth-gallery-panel {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

#archive.anth-archive--zine.zine--shift .anth-gallery-panel:not([hidden]) {
  animation: zine-panel-snap 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes zine-panel-snap {
  0% {
    transform: translateX(6%) skewX(-1deg);
    opacity: 0.35;
  }
  55% {
    transform: translateX(-1%) skewX(0.4deg);
    opacity: 1;
  }
  100% {
    transform: translateX(0) skewX(0deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #archive.anth-archive--zine .anth-gallery-panel,
  #archive.anth-archive--zine.zine--shift .anth-gallery-panel:not([hidden]) {
    animation: none !important;
    transition: opacity 0.15s ease !important;
  }

  #archive.anth-archive--zine .anth-plate-cell.zine-jitter {
    animation: none !important;
  }
}

#archive-swap.is-archive-loading {
  opacity: 0.62;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
  #archive-swap.is-archive-loading {
    transition: none;
  }
}

/* —— index rail: spine tabs —— */
#archive.anth-archive--zine .anth-archive__index-rail {
  border-right: 3px solid var(--z-ink);
}

#archive.anth-archive--zine .anth-index-folio {
  border-left: 4px solid var(--z-ink);
  transform: rotate(-0.5deg);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

#archive.anth-archive--zine .anth-index-folio:nth-child(even) {
  transform: rotate(0.8deg) translateX(3px);
}

#archive.anth-archive--zine .anth-index-folio.is-active {
  border-left-color: var(--z-pop);
  background: rgba(255, 59, 48, 0.06);
}

#archive.anth-archive--zine .anth-index-folio.is-active .anth-index-folio__num,
#archive.anth-archive--zine .anth-index-folio.is-active .anth-index-folio__sec {
  color: var(--z-ink);
}

#archive.anth-archive--zine .anth-index-folio__sec {
  font-family: var(--z-font-shout);
  color: var(--z-ink-soft);
}

#archive.anth-archive--zine .anth-archive__index-rail-scroll {
  scrollbar-color: var(--z-ink) transparent;
}

#archive.anth-archive--zine .anth-archive__index-rail-scroll::-webkit-scrollbar-thumb {
  background: var(--z-ink);
}

/* —— volume headers —— */
#archive.anth-archive--zine .anth-volume__head {
  border-bottom: 3px solid var(--z-ink);
  transform: skewX(-0.5deg);
}

#archive.anth-archive--zine .anth-plate__vol {
  font-family: var(--z-font-shout) !important;
  letter-spacing: 0.12em !important;
}

#archive.anth-archive--zine .anth-volume__title {
  font-family: var(--z-font-serif);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* —— 卷宗芯片链接 + 检索表单 —— */
#archive.anth-archive--zine a.anth-filter-chip {
  text-decoration: none;
  color: inherit;
}

/* —— 空状态 + 分页（与手稿区按钮同系） —— */
#archive.anth-archive--zine .anth-archive__empty-wrap {
  padding: 1rem 0 0;
}

#archive.anth-archive--zine .anth-archive__empty {
  margin: 0;
  font-family: var(--z-font-sans);
  font-size: 1rem;
  color: var(--z-ink-soft);
  border: 2px dashed rgba(10, 10, 10, 0.28);
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 10, 0.03);
}

#archive.anth-archive--zine .anth-archive__pager {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

#archive.anth-archive--zine .anth-archive__pager-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
}

#archive.anth-archive--zine .anth-archive__pager-meta {
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  color: var(--z-ink-soft);
  text-align: center;
}

#archive.anth-archive--zine .anth-archive__pager-meta strong {
  color: var(--z-ink);
}

#archive.anth-archive--zine .anth-archive__pager-btn--nav {
  font-family: var(--z-font-shout);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: max(10px, 0.7rem);
  padding: 0.52rem 1rem;
  border: 3px solid var(--z-ink);
  border-radius: 0;
  background: var(--z-paper);
  color: var(--z-ink);
  text-decoration: none;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 96%);
  box-shadow: 5px 5px 0 rgba(10, 10, 10, 0.1);
  transition:
    background 0.12s ease,
    color 0.12s ease,
    box-shadow 0.12s ease;
}

#archive.anth-archive--zine a.anth-archive__pager-btn--nav:hover {
  background: var(--z-pop);
  color: var(--z-paper);
  box-shadow: 6px 6px 0 rgba(255, 59, 48, 0.35);
}

#archive.anth-archive--zine .anth-archive__pager-btn--nav:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#archive.anth-archive--zine .anth-archive__pager-btn--nav.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  #archive.anth-archive--zine .anth-archive__pager-btn--nav {
    transition: none;
  }
}

/* —— plates: comic frames + marker + jitter hook —— */
#archive.anth-archive--zine .anth-gallery-panel--sections .anth-plate--mag,
#archive.anth-archive--zine .anth-gallery-panel--masonry .anth-plate--mag {
  position: relative;
  border: 3px solid var(--z-ink);
  border-bottom-color: var(--z-ink);
  box-shadow: 8px 10px 0 rgba(10, 10, 10, 0.12);
  background: var(--z-paper);
  transform-origin: 50% 0%;
  transition:
    border-bottom-color 0.2s ease,
    box-shadow 0.2s ease;
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 1) .anth-plate--mag {
  transform: rotate(-1.5deg);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 2) .anth-plate--mag {
  transform: rotate(0.8deg) translateY(4px);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 3) .anth-plate--mag {
  transform: rotate(-0.6deg) translateX(-3px);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n) .anth-plate--mag {
  transform: rotate(1.1deg);
}

#archive.anth-archive--zine .anth-plate-cell:hover .anth-plate--mag,
#archive.anth-archive--zine .anth-plate-cell:focus-within .anth-plate--mag {
  box-shadow: 10px 12px 0 rgba(255, 59, 48, 0.22);
  border-bottom-color: var(--z-pop);
}

#archive.anth-archive--zine .anth-plate-cell.zine-jitter {
  animation: zine-jitter-cell 0.34s steps(2, end);
}

@keyframes zine-jitter-cell {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-1px);
  }
}

#archive.anth-archive--zine .anth-plate__cover--mag,
#archive.anth-archive--zine .anth-plate__img-wrap {
  background: var(--z-paper) !important;
}

#archive.anth-archive--zine .anth-plate__thumb {
  filter: grayscale(1) contrast(1.08) !important;
}

#archive.anth-archive--zine .anth-plate__band--head,
#archive.anth-archive--zine .anth-plate__band--body,
#archive.anth-archive--zine .anth-plate__footer--mag.anth-plate__band--author {
  background: var(--z-paper) !important;
  border-color: var(--z-ink) !important;
}

#archive.anth-archive--zine .anth-plate__title {
  position: relative;
  z-index: 0;
  font-family: var(--z-font-serif);
}

#archive.anth-archive--zine .anth-plate__title::before {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.1em;
  bottom: 0.05em;
  height: 0.42em;
  background: var(--z-pop);
  opacity: 0.22;
  z-index: -1;
  transform: skewX(-4deg) rotate(-1deg);
  clip-path: polygon(0 15%, 3% 0, 100% 4%, 97% 100%, 0 92%);
}

#archive.anth-archive--zine .anth-plate__excerpt--mag {
  font-family: var(--z-font-sans);
  font-style: normal;
  color: var(--z-ink);
  opacity: 0.88;
}

#archive.anth-archive--zine .anth-plate__excerpt--mag::first-letter {
  color: var(--z-pop);
}

#archive.anth-archive--zine .anth-plate__caption-line {
  font-family: var(--z-font-scrawl) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-weight: 600 !important;
}

#archive.anth-archive--zine .anth-plate__badge {
  background: var(--z-paper) !important;
  border: 2px solid var(--z-ink) !important;
  color: var(--z-ink) !important;
  font-family: var(--z-font-shout) !important;
}

#archive.anth-archive--zine .anth-plate-cell {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════
   手稿 Desk — same zine system (#desk.anth-desk--zine)
   ═══════════════════════════════════════════════════════════════════════════ */

#desk.anth-desk--zine {
  --z-paper: #f8f6f2;
  --z-ink: #0a0a0a;
  --z-pop: #ff3b30;
  --z-ink-soft: rgba(10, 10, 10, 0.55);
  --z-ink-faint: rgba(10, 10, 10, 0.35);
  --z-font-shout: "Archivo Black", "Inter", system-ui, sans-serif;
  --z-font-scrawl: "Caveat", cursive;
  --z-font-serif: "Playfair Display", "Source Serif 4", "Noto Serif SC", Georgia, serif;
  --z-font-sans: "Inter", system-ui, sans-serif;
  --anth-ms-red: #d80000;
  --anth-ms-black: #111;
  --anth-ms-white: #fff;
  --anth-ms-paper: #f4f1ea;
  --anth-ms-dot: #dcd8cf;
  --anth-ms-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  /* 参考稿：圆点纸纹 */
  background-color: var(--anth-ms-paper);
  background-image: radial-gradient(var(--anth-ms-dot) 2px, transparent 2px);
  background-size: 24px 24px;
  border-bottom: 3px solid var(--z-ink);
  overflow-x: clip !important;
  overflow-y: visible !important;
}

#desk.anth-desk--zine .anth-desk__brush {
  display: none;
}

#desk.anth-desk--zine::before {
  display: none;
}

#desk.anth-desk--zine .anth-desk__layout {
  position: relative;
  z-index: 1;
}

#desk.anth-desk--zine .anth-desk__rail .anth-vertical {
  font-family: var(--z-font-shout);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--z-ink);
  border-left: 4px solid var(--z-pop);
  padding-left: 0.65rem;
  display: inline-block;
  transform: skewX(-2deg);
}

#desk.anth-desk--zine .anth-desk__sheet--letter {
  position: relative;
  border: 3px solid var(--z-ink);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 10px 12px 0 rgba(10, 10, 10, 0.1);
  /* 避免 transform + clip-path 祖先导致内部 textarea 文字亚像素发糊 */
  transform: none;
  clip-path: none;
  background: var(--z-paper);
}

#desk.anth-desk--zine .anth-desk__head {
  position: relative;
  border-bottom: 3px solid var(--z-ink);
  padding-bottom: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  padding-right: min(10rem, 30%);
}

#desk.anth-desk--zine .anth-utility {
  font-family: var(--z-font-shout);
  letter-spacing: 0.1em;
  color: var(--z-ink);
  margin: 0 0 0.35rem;
}

#desk.anth-desk--zine .anth-desk__display {
  font-family: var(--z-font-serif);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  transform: translateX(-2px) rotate(-0.6deg);
  position: relative;
  z-index: 0;
}

#desk.anth-desk--zine .anth-desk__display::before {
  content: "";
  position: absolute;
  left: -0.05em;
  right: 0.1em;
  bottom: 0.02em;
  height: 0.38em;
  background: var(--z-pop);
  opacity: 0.2;
  z-index: -1;
  transform: skewX(-5deg);
  clip-path: polygon(0 20%, 4% 0, 100% 8%, 96% 100%, 0 88%);
}

#desk.anth-desk--zine .anth-desk__lede {
  font-family: var(--z-font-sans);
  color: var(--z-ink-soft);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
}

#desk.anth-desk--zine .anth-desk__hint {
  font-family: var(--z-font-scrawl);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 600;
  color: var(--z-ink-soft);
}

#desk.anth-desk--zine .anth-desk__zine-hints {
  pointer-events: none;
  position: absolute;
  top: 0.15rem;
  right: 0;
  z-index: 4;
  width: min(8.5rem, 38%);
}

#desk.anth-desk--zine .anth-desk__zine-scrawl {
  display: block;
  font-family: var(--z-font-scrawl);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: var(--z-ink);
  line-height: 1.1;
  transform: rotate(-7deg);
}

#desk.anth-desk--zine .anth-desk__zine-scrawl::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 0.5rem;
  margin-right: 0.3rem;
  vertical-align: middle;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12' fill='none' stroke='%230a0a0a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M2 6h28M26 2l8 4-8 4'/%3E%3C/svg%3E");
}

#desk.anth-desk--zine .anth-desk__zine-scrawl--b {
  margin-top: 1.25rem;
  margin-left: 0.75rem;
  transform: rotate(6deg);
  color: var(--z-pop);
}

#desk.anth-desk--zine .anth-desk__zine-scrawl--b::before {
  width: 1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14' fill='none' stroke='%23ff3b30' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 7h22M20 3l8 4-8 4'/%3E%3C/svg%3E");
}

#desk.anth-desk--zine .anth-form--desk {
  position: relative;
}

#desk.anth-desk--zine .anth-form--desk::before {
  content: "NOTE";
  position: absolute;
  top: -0.35rem;
  right: 0.5rem;
  font-family: var(--z-font-scrawl);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--z-pop);
  transform: rotate(9deg);
  pointer-events: none;
}

#desk.anth-desk--zine .anth-field {
  position: relative;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding: 0.85rem 1rem 1rem;
  border: 3px solid var(--z-ink);
  background: var(--z-paper);
  transform: none;
  clip-path: none;
}

#desk.anth-desk--zine .anth-field:nth-child(even) {
  transform: none;
}

#desk.anth-desk--zine .anth-field--desk-section .anth-desk__custom-section-wrap {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 2px dashed rgba(10, 10, 10, 0.22);
}

#desk.anth-desk--zine .anth-field--desk-section .anth-desk__section-hint {
  margin: 0.65rem 0 0;
  font-family: var(--z-font-scrawl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--z-ink-soft);
  line-height: 1.35;
}

#desk.anth-desk--zine .anth-label {
  font-family: var(--z-font-shout);
  letter-spacing: 0.08em;
  color: var(--z-ink);
}

#desk.anth-desk--zine .anth-label--sub {
  font-family: var(--z-font-sans);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--z-ink-soft);
}

#desk.anth-desk--zine .anth-input--rule,
#desk.anth-desk--zine .saas-input.anth-input--rule {
  font-family: var(--z-font-sans);
  border: none;
  border-bottom: 3px solid var(--z-ink);
  border-radius: 0;
  background: transparent;
  transition: border-bottom-color 0.15s ease;
}

#desk.anth-desk--zine .anth-input--rule:focus,
#desk.anth-desk--zine .anth-input--rule:focus-visible,
#desk.anth-desk--zine .saas-input.anth-input--rule:focus,
#desk.anth-desk--zine .saas-input.anth-input--rule:focus-visible {
  outline: none;
  border-bottom-color: var(--z-pop);
}

#desk.anth-desk--zine .anth-zine-select {
  position: relative;
  width: 100%;
  display: block;
}

#desk.anth-desk--zine .anth-zine-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#desk.anth-desk--zine .anth-zine-select__face {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-family: var(--z-font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.68rem 2.35rem 0.68rem 0.45rem;
  margin: 0;
  border: 3px solid var(--z-ink);
  border-radius: 0;
  background: var(--z-paper);
  color: var(--z-ink);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 2%, 99% 100%, 1% 98%);
  transform: rotate(-0.25deg);
  box-shadow: 4px 5px 0 rgba(10, 10, 10, 0.1);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

#desk.anth-desk--zine .anth-zine-select__face::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  margin-top: -0.32rem;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 5 4-5' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  pointer-events: none;
}

#desk.anth-desk--zine .anth-zine-select.is-open .anth-zine-select__face {
  border-color: var(--z-pop);
  box-shadow: 6px 6px 0 rgba(255, 59, 48, 0.22);
}

#desk.anth-desk--zine .anth-zine-select__face:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#desk.anth-desk--zine .anth-zine-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5000;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 3px solid var(--z-ink);
  background: var(--z-paper);
  max-height: 14rem;
  overflow-y: auto;
  box-shadow: 8px 10px 0 rgba(10, 10, 10, 0.12);
  clip-path: polygon(0 0, 100% 1%, 99% 100%, 1% 99%);
  scrollbar-width: thin;
  scrollbar-color: var(--z-ink) rgba(10, 10, 10, 0.06);
}

#desk.anth-desk--zine .anth-zine-select__panel::-webkit-scrollbar {
  width: 10px;
}

#desk.anth-desk--zine .anth-zine-select__panel::-webkit-scrollbar-track {
  background: var(--z-paper);
  border-left: 2px solid var(--z-ink);
}

#desk.anth-desk--zine .anth-zine-select__panel::-webkit-scrollbar-thumb {
  background: var(--z-ink);
  border: 2px solid var(--z-paper);
  min-height: 2.5rem;
}

#desk.anth-desk--zine .anth-zine-select__panel::-webkit-scrollbar-thumb:hover {
  background: var(--z-pop);
}

/* 展开时父级 clip-path 会裁切面板：临时取消裁切并抬高层级 */
#desk.anth-desk--zine.anth-desk--select-open .anth-desk__sheet--letter {
  overflow: visible;
  z-index: 40;
  clip-path: none;
}

#desk.anth-desk--zine .anth-field:has(.anth-zine-select.is-open) {
  position: relative;
  z-index: 50;
  overflow: visible;
  clip-path: none;
}

#desk.anth-desk--zine .anth-zine-select__opt {
  padding: 0.55rem 0.7rem;
  margin: 0;
  cursor: pointer;
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--z-ink);
  border-bottom: 2px solid rgba(10, 10, 10, 0.12);
  transition: background 0.1s ease;
}

#desk.anth-desk--zine .anth-zine-select__opt:last-child {
  border-bottom: none;
}

#desk.anth-desk--zine .anth-zine-select__opt:hover,
#desk.anth-desk--zine .anth-zine-select__opt[aria-selected="true"] {
  background: rgba(255, 59, 48, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  #desk.anth-desk--zine .anth-zine-select__face {
    transform: none;
  }
}

#desk.anth-desk--zine .anth-textarea--gridpaper {
  font-family: var(--z-font-sans);
  background-color: var(--z-paper) !important;
  border: 3px solid var(--z-ink);
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='32' viewBox='0 0 8 32'%3E%3Cline x1='0' y1='31.5' x2='8' y2='31.5' stroke='%230a0a0a' stroke-opacity='0.16' stroke-width='1'/%3E%3C/svg%3E") !important;
  background-size: 8px 32px !important;
  background-attachment: scroll;
  line-height: 2rem;
  min-height: 15rem;
}

#desk.anth-desk--zine .anth-ref-url-list {
  gap: 0.75rem;
}

#desk.anth-desk--zine .anth-ref-url-row {
  border-bottom: 2px dashed rgba(10, 10, 10, 0.25);
  padding-bottom: 0.5rem;
}

#desk.anth-desk--zine .anth-desk__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 3px solid var(--z-ink);
}

#desk.anth-desk--zine .anth-btn-command:not(.anth-btn-command--ghost) {
  font-family: var(--z-font-shout);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 3px solid var(--z-ink);
  border-radius: 0;
  background: var(--z-ink);
  color: var(--z-paper);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 96%);
  box-shadow: 6px 6px 0 rgba(10, 10, 10, 0.12);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

#desk.anth-desk--zine .anth-btn-command:not(.anth-btn-command--ghost):hover {
  background: var(--z-paper);
  color: var(--z-ink);
  box-shadow: 8px 8px 0 rgba(255, 59, 48, 0.35);
}

#desk.anth-desk--zine .anth-btn-command:not(.anth-btn-command--ghost):focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#desk.anth-desk--zine .anth-btn-command--ghost,
#desk.anth-desk--zine .anth-ref-url-remove {
  font-family: var(--z-font-shout);
  letter-spacing: 0.06em;
  border: 3px solid var(--z-ink);
  border-radius: 0;
  background: var(--z-paper);
  color: var(--z-ink);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 3% 100%);
  transform: rotate(-0.8deg);
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

#desk.anth-desk--zine .anth-btn-command--ghost:hover,
#desk.anth-desk--zine .anth-ref-url-remove:hover {
  background: var(--z-pop);
  color: var(--z-paper);
  transform: rotate(0deg) scale(1.02);
}

#desk.anth-desk--zine .anth-btn-command:focus-visible,
#desk.anth-desk--zine .anth-ref-url-remove:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#desk.anth-desk--zine .anth-msg {
  font-family: var(--z-font-scrawl);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--z-ink);
  margin-left: 0;
}

#desk.anth-desk--zine button.zine-jitter-desk {
  animation: zine-jitter-desk 0.32s steps(2, end);
}

@keyframes zine-jitter-desk {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2px, 1px);
  }
  50% {
    transform: translate(2px, -1px);
  }
  75% {
    transform: translate(-1px, -1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #desk.anth-desk--zine button.zine-jitter-desk {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  #desk.anth-desk--zine .anth-desk__zine-hints {
    display: none;
  }

  #desk.anth-desk--zine .anth-desk__sheet--letter {
    transform: none;
    clip-path: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   手稿 P5 卡片（参考 Manuscript UI，作用域 #desk）
   ═══════════════════════════════════════════════════════════════════════════ */

#desk.anth-desk--zine .anth-desk__sheet--letter.anth-ms-sheet {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(2rem, 5vw, 3rem);
}

#desk.anth-desk--zine .anth-ms-shell {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

#desk.anth-desk--zine .anth-ms-container-wrap {
  position: relative;
  width: 100%;
}

#desk.anth-desk--zine .anth-ms-container-wrap::before {
  content: "";
  position: absolute;
  inset: -10px -14px -18px 8px;
  /* 整卡背后衬纸：潮流杂志内页纸感（暖米 / 浅杏），仅改此层 */
  background: linear-gradient(156deg, #faf5ee 0%, #f3ebe0 36%, #eadfd2 68%, #e2d4c6 100%);
  transform: rotate(2deg);
  z-index: 0;
  border: 4px solid rgba(17, 17, 17, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

#desk.anth-desk--zine .anth-ms-side-tape {
  position: absolute;
  left: -12px;
  top: 22%;
  bottom: 22%;
  width: 26px;
  background: var(--anth-ms-black);
  transform: rotate(1deg);
  z-index: 2;
  border-right: 4px dashed var(--anth-ms-white);
  pointer-events: none;
}

#desk.anth-desk--zine .anth-ms-form-card.anth-form--desk {
  position: relative;
  background: var(--anth-ms-white);
  border: 5px solid var(--anth-ms-black);
  z-index: 1;
  clip-path: polygon(0 40px, 40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  padding-bottom: 5.5rem;
}

#desk.anth-desk--zine .anth-ms-form-card.anth-form--desk::before {
  content: none;
}

#desk.anth-desk--zine .anth-ms-header {
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.02) 10px,
    transparent 10px,
    transparent 20px
  );
  border-bottom: 5px solid var(--anth-ms-black);
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

#desk.anth-desk--zine .anth-ms-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: skewX(-8deg);
  position: relative;
  z-index: 3;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 26rem);
}

#desk.anth-desk--zine .anth-ms-title-block {
  background: var(--anth-ms-black);
  color: var(--anth-ms-white);
  padding: 0.35rem 1.1rem;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  border: 3px solid var(--anth-ms-black);
  font-family: var(--z-font-shout);
  letter-spacing: 0.04em;
}

#desk.anth-desk--zine .anth-ms-title-block--sub {
  /* 参考稿 MANUSCRIPT：期刊感衬纸色 + 柔和锈红投影（不刺眼） */
  background: linear-gradient(165deg, #faf6f1 0%, #f2e8e0 55%, #ebe2d9 100%);
  color: #161311;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  transform: translate(16px, -5px);
  border: 3px solid var(--anth-ms-black);
  box-shadow: 4px 4px 0 rgba(165, 48, 40, 0.38);
}

#desk.anth-desk--zine .anth-ms-editorial-note {
  /* 参考稿 .editorial-note：黑底白字 + 红色侧影（块小，不抢眼） */
  background: var(--anth-ms-black);
  color: var(--anth-ms-white);
  padding: 0.95rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.6;
  flex: 0 1 24rem;
  min-width: min(100%, 12rem);
  max-width: 20rem;
  width: min(100%, 20rem);
  margin-left: auto;
  align-self: flex-start;
  transform: rotate(2deg);
  box-shadow: -6px 6px 0 rgba(216, 0, 0, 0.58);
  position: relative;
  font-family: var(--z-font-sans);
}

#desk.anth-desk--zine .anth-ms-tape {
  position: absolute;
  top: -14px;
  left: -18px;
  width: 72px;
  height: 26px;
  background: var(--anth-ms-red);
  transform: rotate(-10deg);
  z-index: 4;
}

#desk.anth-desk--zine .anth-ms-body {
  padding: 2.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

#desk.anth-desk--zine .anth-ms-form-group {
  position: relative;
  padding-top: 0.9rem;
}

#desk.anth-desk--zine .anth-ms-form-group--1 {
  margin-right: 12%;
  margin-bottom: 2.25rem;
  /* 标签「手稿标题 + TITLE」搭在输入框上沿，需留出顶空 */
  padding-top: 2.65rem;
}

#desk.anth-desk--zine .anth-ms-form-group--1 .anth-ms-label {
  top: 0.15rem;
}

#desk.anth-desk--zine .anth-ms-form-group--2 {
  margin-left: 8%;
  margin-bottom: 2.25rem;
}

#desk.anth-desk--zine .anth-ms-form-group--3 {
  margin-right: 4%;
  margin-left: 4%;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
}

#desk.anth-desk--zine .anth-ms-form-group--4 {
  margin-left: 12%;
  margin-bottom: 1.5rem;
}

#desk.anth-desk--zine .anth-ms-label {
  position: absolute;
  top: -4px;
  left: 1.1rem;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  transform: skewX(-8deg);
  pointer-events: none;
}

#desk.anth-desk--zine .anth-ms-label--right {
  left: auto;
  right: 1.1rem;
}

#desk.anth-desk--zine .anth-ms-label__inner {
  background: var(--anth-ms-white);
  color: var(--anth-ms-black);
  padding: 0.25rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 900;
  border: 3px solid var(--anth-ms-black);
  box-shadow: 4px 4px 0 var(--anth-ms-black);
  font-family: var(--z-font-shout);
  letter-spacing: 0.06em;
}

#desk.anth-desk--zine .anth-ms-label__en {
  background: var(--anth-ms-red);
  color: var(--anth-ms-white);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.25rem 0.45rem;
  margin-left: -4px;
  margin-bottom: 4px;
  border: 2px solid var(--anth-ms-black);
  font-family: var(--z-font-shout);
  letter-spacing: 0.08em;
}

#desk.anth-desk--zine .anth-ms-opt-tag {
  color: var(--anth-ms-red);
  font-size: 0.72rem;
  margin-left: 0.25rem;
  font-weight: 800;
}

#desk.anth-desk--zine .anth-ms-hint-text {
  position: absolute;
  bottom: -0.75rem;
  right: 1rem;
  background: var(--anth-ms-paper);
  border: 2px dashed var(--anth-ms-black);
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #444;
  z-index: 4;
  font-family: var(--z-font-sans);
}

#desk.anth-desk--zine .anth-ms-input-wrap {
  position: relative;
  z-index: 1;
}

#desk.anth-desk--zine .anth-ms-p5-input,
#desk.anth-desk--zine .anth-ms-form-card .anth-zine-select__face {
  width: 100%;
  background: var(--anth-ms-white);
  border: 4px solid var(--anth-ms-black);
  border-bottom-width: 8px;
  padding: 0.95rem 1rem 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--z-font-sans);
  color: var(--anth-ms-black);
  transition: border-color 0.2s var(--anth-ms-ease), background 0.2s var(--anth-ms-ease);
  outline: none;
  appearance: none;
  border-radius: 0;
}

#desk.anth-desk--zine .anth-ms-form-card .anth-zine-select {
  width: 100%;
}

#desk.anth-desk--zine .anth-ms-form-card .anth-zine-select__face {
  text-align: left;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12L0 0H16L8 12Z' fill='%23111'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

#desk.anth-desk--zine .anth-ms-p5-input:focus,
#desk.anth-desk--zine .anth-ms-p5-input:focus-visible,
#desk.anth-desk--zine .anth-ms-form-card .anth-zine-select__face:focus-visible {
  border-color: var(--anth-ms-red);
  background-color: #fafafa;
}

#desk.anth-desk--zine .anth-ms-body-textarea {
  width: 100%;
  border: 4px solid var(--anth-ms-black);
  border-bottom-width: 8px;
  padding: 0.95rem 1rem 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--z-font-sans);
  color: var(--anth-ms-black);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--anth-ms-ease), background-color 0.2s var(--anth-ms-ease);
}

#desk.anth-desk--zine .anth-ms-body-textarea:focus,
#desk.anth-desk--zine .anth-ms-body-textarea:focus-visible {
  border-color: var(--anth-ms-red);
  background-color: #fafafa !important;
}

#desk.anth-desk--zine .anth-ms-overlap-group {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 2.75rem;
  margin-top: 0.5rem;
  gap: 0;
  z-index: 4;
  isolation: isolate;
}

#desk.anth-desk--zine .anth-ms-overlap-col {
  position: relative;
}

#desk.anth-desk--zine .anth-ms-overlap-col--1 {
  width: 55%;
  z-index: 2;
  background: var(--anth-ms-paper);
  padding: 1.5rem 1.5rem 1.1rem 0.65rem;
  border: 3px dashed var(--anth-ms-black);
  transform: rotate(-1deg);
}

#desk.anth-desk--zine .anth-ms-overlap-col--2 {
  width: 50%;
  z-index: 3;
  margin-top: 1.75rem;
  margin-left: -5%;
  background: var(--anth-ms-white);
  padding: 1.5rem 0.85rem 1rem;
  border: 4px solid var(--anth-ms-black);
  box-shadow: -8px 8px 0 rgba(0, 0, 0, 0.1);
}

/* overlap-group 使用 isolation：子列之间比 z-index；展开专栏下拉时须整块高于「署名方式」列，避免面板被盖住 */
#desk.anth-desk--zine .anth-ms-overlap-col--1:has(.anth-zine-select.is-open) {
  z-index: 6;
}

#desk.anth-desk--zine .anth-ms-custom-section-wrap {
  margin-top: 0.9rem;
}

#desk.anth-desk--zine .anth-ms-external-block {
  margin-top: 0.75rem;
}

#desk.anth-desk--zine .anth-ms-external-block .anth-ms-url-row-label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--z-font-sans);
  color: var(--anth-ms-black);
  letter-spacing: 0.02em;
}

#desk.anth-desk--zine .anth-ms-external-block .anth-ms-p5-input + .anth-ms-p5-input {
  margin-top: 0.65rem;
}

#desk.anth-desk--zine .anth-ms-section-hint {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.65);
  line-height: 1.45;
  font-family: var(--z-font-sans);
}

#desk.anth-desk--zine .anth-ms-dropzone {
  position: relative;
  border: 3px dashed var(--anth-ms-black);
  background: linear-gradient(135deg, rgba(216, 0, 0, 0.05) 0%, transparent 50%);
  padding: 1.15rem;
  transition: 0.35s var(--anth-ms-ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#desk.anth-desk--zine .anth-ms-dropzone.dragover {
  background: linear-gradient(135deg, rgba(216, 0, 0, 0.12) 0%, rgba(216, 0, 0, 0.04) 100%);
  transform: scale(1.01);
  box-shadow: inset 0 0 0 4px var(--anth-ms-red);
}

#desk.anth-desk--zine .anth-ms-drop-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

#desk.anth-desk--zine .anth-ms-upload-title {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--z-font-shout);
  letter-spacing: 0.04em;
}

#desk.anth-desk--zine .anth-ms-upload-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 900;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--anth-ms-black);
  background: var(--anth-ms-white);
  box-shadow: 3px 3px 0 var(--anth-ms-black);
  transform: rotate(-6deg);
}

@media (prefers-reduced-motion: no-preference) {
  #desk.anth-desk--zine .anth-ms-upload-icon {
    animation: anth-ms-breathe 2.6s ease-in-out infinite;
  }
}

@keyframes anth-ms-breathe {
  0% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-3px);
  }
  100% {
    transform: rotate(-6deg) translateY(0);
  }
}

#desk.anth-desk--zine .anth-ms-upload-desc {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #555;
  margin-bottom: 0.85rem;
  font-weight: 700;
  font-family: var(--z-font-sans);
}

#desk.anth-desk--zine .anth-ms-pick-btn {
  background: var(--anth-ms-red);
  color: var(--anth-ms-white);
  border: 3px solid var(--anth-ms-black);
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transform: skewX(-12deg);
  box-shadow: 4px 4px 0 var(--anth-ms-black);
  transition: 0.3s var(--anth-ms-ease);
  font-family: var(--z-font-shout);
}

#desk.anth-desk--zine .anth-ms-pick-btn:hover {
  transform: skewX(-12deg) translateY(-2px);
  box-shadow: 6px 6px 0 var(--anth-ms-black);
}

#desk.anth-desk--zine .anth-ms-preview-box {
  position: relative;
  width: 100px;
  height: 100px;
  border: 3px solid var(--anth-ms-black);
  background: #111;
  box-shadow: 4px 4px 0 var(--anth-ms-black);
  flex-shrink: 0;
  overflow: hidden;
  transform: rotate(2deg);
}

#desk.anth-desk--zine .anth-ms-preview-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(216, 0, 0, 0.75) 0%, transparent 22%);
  mix-blend-mode: multiply;
}

#desk.anth-desk--zine .anth-ms-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#desk.anth-desk--zine .anth-ms-preview-img[hidden] {
  display: none !important;
}

#desk.anth-desk--zine .anth-ms-empty-text {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.06em;
  padding: 0.5rem;
  font-family: var(--z-font-shout);
}

#desk.anth-desk--zine .anth-ms-empty-text[hidden] {
  display: none !important;
}

#desk.anth-desk--zine .anth-ms-links-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

#desk.anth-desk--zine .anth-ms-ref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

#desk.anth-desk--zine .anth-ms-ref-row .user-prompt-ref-url {
  flex: 1 1 12rem;
  min-width: 0;
}

#desk.anth-desk--zine .anth-ms-ref-remove {
  flex-shrink: 0;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
}

#desk.anth-desk--zine .anth-ms-btn-add {
  align-self: flex-start;
  background: transparent;
  color: var(--anth-ms-black);
  border: none;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  margin-top: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  font-family: var(--z-font-shout);
  letter-spacing: 0.04em;
}

#desk.anth-desk--zine .anth-ms-btn-add:hover {
  color: var(--anth-ms-red);
}

#desk.anth-desk--zine .anth-ms-actions {
  position: relative;
  min-height: 4rem;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 0.5rem;
}

#desk.anth-desk--zine .anth-ms-submit-btn {
  position: absolute;
  right: -12px;
  bottom: -22px;
  background: var(--anth-ms-red);
  color: var(--anth-ms-white);
  border: 5px solid var(--anth-ms-black);
  padding: 1rem 1.75rem;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transform: skewX(-10deg) rotate(-4deg);
  box-shadow: 10px 10px 0 var(--anth-ms-black);
  transition: 0.2s var(--anth-ms-ease);
  z-index: 20;
  font-family: var(--z-font-shout);
}

#desk.anth-desk--zine .anth-ms-submit-btn:hover {
  transform: skewX(-10deg) rotate(-4deg) translate(-3px, -3px);
  box-shadow: 14px 14px 0 var(--anth-ms-black);
}

#desk.anth-desk--zine .anth-ms-submit-btn:active {
  transform: skewX(-10deg) rotate(0deg) translate(0, 0);
  box-shadow: 4px 4px 0 var(--anth-ms-black);
}

#desk.anth-desk--zine .anth-ms-msg {
  position: absolute;
  left: clamp(1rem, 3vw, 1.5rem);
  bottom: 0.35rem;
  max-width: min(100%, 22rem);
  font-size: 0.95rem;
}

#desk.anth-desk--zine .anth-ms-form-card .anth-zine-select__panel {
  border: 4px solid var(--anth-ms-black);
  border-top: none;
}

@media (max-width: 650px) {
  #desk.anth-desk--zine .anth-ms-form-group--1,
  #desk.anth-desk--zine .anth-ms-form-group--2,
  #desk.anth-desk--zine .anth-ms-form-group--3,
  #desk.anth-desk--zine .anth-ms-form-group--4 {
    margin: 0 0 2rem 0;
  }

  #desk.anth-desk--zine .anth-ms-overlap-group {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  #desk.anth-desk--zine .anth-ms-overlap-col--1,
  #desk.anth-desk--zine .anth-ms-overlap-col--2 {
    width: 100%;
    transform: none;
    margin: 0 0 1rem 0;
  }

  #desk.anth-desk--zine .anth-ms-header {
    flex-wrap: wrap;
    flex-direction: column;
  }

  #desk.anth-desk--zine .anth-ms-editorial-note {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-top: 0.75rem;
    flex: 1 1 auto;
  }

  #desk.anth-desk--zine .anth-ms-dropzone {
    flex-direction: column;
    align-items: stretch;
  }

  #desk.anth-desk--zine .anth-ms-preview-box {
    align-self: flex-start;
    margin-top: 0.5rem;
    width: 100%;
    height: 7.5rem;
    transform: none;
  }

  #desk.anth-desk--zine .anth-ms-submit-btn {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    font-size: 1.15rem;
    padding: 0.85rem 1.25rem;
    display: block;
    width: fit-content;
    margin-left: auto;
  }

  #desk.anth-desk--zine .anth-ms-form-card.anth-form--desk {
    padding-bottom: 1.5rem;
    clip-path: none;
  }

  #desk.anth-desk--zine .anth-ms-msg {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 0.75rem;
  }

  #desk.anth-desk--zine .anth-ms-actions {
    min-height: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   手稿成功提示 — zine toast
   ═══════════════════════════════════════════════════════════════════════════ */

#anth-ms-submit-toast.anth-ms-toast--zine {
  --z-paper: #f8f6f2;
  --z-ink: #0a0a0a;
  --z-pop: #ff3b30;
  --z-ink-soft: rgba(10, 10, 10, 0.55);
  --z-font-shout: "Archivo Black", "Inter", system-ui, sans-serif;
  --z-font-scrawl: "Caveat", cursive;
  --z-font-serif: "Playfair Display", "Source Serif 4", "Noto Serif SC", Georgia, serif;
  --z-font-sans: "Inter", system-ui, sans-serif;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__scrim {
  background: rgba(10, 10, 10, 0.32);
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__dialog {
  border: 3px solid var(--z-ink);
  border-left: 3px solid var(--z-ink);
  border-bottom: 3px solid var(--z-ink);
  background: var(--z-paper);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) 0;
  box-shadow: 12px 14px 0 rgba(10, 10, 10, 0.12);
  transform: rotate(-0.35deg);
  clip-path: polygon(0 0, 100% 1%, 99% 100%, 1% 99%);
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__folio {
  font-family: var(--z-font-shout);
  letter-spacing: 0.1em;
  color: var(--z-ink);
  border-left: 4px solid var(--z-pop);
  padding-left: 0.6rem;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__note-type {
  font-family: var(--z-font-shout);
  letter-spacing: 0.12em;
  color: var(--z-pop);
  margin-top: 0.75rem;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__heading {
  font-family: var(--z-font-serif);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--z-ink);
  position: relative;
  z-index: 0;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0.15em;
  bottom: 0.02em;
  height: 0.32em;
  background: var(--z-pop);
  opacity: 0.18;
  z-index: -1;
  transform: skewX(-4deg);
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__prose {
  font-family: var(--z-font-sans);
  font-style: normal;
  color: var(--z-ink-soft);
  font-size: 1rem;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__close {
  font-family: var(--z-font-shout);
  letter-spacing: 0.12em;
  border-top: 3px solid var(--z-ink);
  color: var(--z-ink);
  margin-top: 1.15rem;
  padding: 1rem 0 1.15rem;
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__close:hover {
  font-family: var(--z-font-shout);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--z-pop);
  color: var(--z-paper);
}

#anth-ms-submit-toast.anth-ms-toast--zine .anth-ms-toast__close:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 2px;
  background: transparent;
  color: var(--z-ink);
}

/* ═══ P5 自适应稿卡（图鉴条目 · 效果图位预留）══════════════════════════════════ */
#archive.anth-archive--zine {
  --p5-snap: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --p5-preview-base: #c3c0ba;
  --p5-preview-deep: #a8a59e;
  --p5-preview-slab: #dad7d2;
}

#archive.anth-archive--zine .anth-gallery-panel--sections .anth-plate-grid--sections,
#archive.anth-archive--zine .anth-gallery-panel--masonry .anth-plate-grid--sections {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.65rem, 4vw, 2.65rem);
  justify-items: stretch;
}

#archive.anth-archive--zine .anth-gallery-panel--sections .anth-plate-grid--sections > .anth-plate-cell,
#archive.anth-archive--zine .anth-gallery-panel--masonry .anth-plate-grid--sections > .anth-plate-cell {
  justify-content: stretch;
  width: 100%;
}

#archive.anth-archive--zine .anth-p5-card {
  position: relative;
  width: 100%;
  max-width: 26.25rem;
  margin: 0 auto;
  isolation: isolate;
}

#archive.anth-archive--zine .anth-p5-card__main {
  position: relative;
  background: #fff;
  border: 5px solid var(--z-ink);
  overflow: hidden;
  z-index: 5;
  box-shadow: 12px 12px 0 rgba(10, 10, 10, 0.92);
  transition:
    transform 0.52s var(--p5-snap),
    box-shadow 0.52s var(--p5-snap);
}

#archive.anth-archive--zine .anth-p5-card.is-active .anth-p5-card__main {
  transform: translate(-16px, -16px) rotate(-2deg) scale(0.97);
  box-shadow: 22px 22px 0 rgba(0, 0, 0, 0.12);
}

#archive.anth-archive--zine .anth-p5-card__main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(229, 0, 0, 0.96) 0%, rgba(229, 0, 0, 0.96) 11%, transparent 11%),
    linear-gradient(-35deg, transparent 0%, transparent 95%, rgba(0, 0, 0, 0.96) 95%, rgba(0, 0, 0, 0.96) 100%);
}

#archive.anth-archive--zine .anth-p5-card__preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translate(18px, 18px) rotate(2deg) scale(0.98);
  transition:
    transform 0.58s var(--p5-snap),
    opacity 0.38s ease;
}

#archive.anth-archive--zine .anth-p5-card.is-active .anth-p5-card__preview {
  opacity: 1;
  pointer-events: auto;
  z-index: 20;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

#archive.anth-archive--zine .anth-p5-card__preview-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--p5-preview-slab) 0%, var(--p5-preview-base) 48%, var(--p5-preview-deep) 100%);
  border: 5px solid var(--z-ink);
  overflow: hidden;
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.08);
}

#archive.anth-archive--zine .anth-p5-card__preview-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(229, 0, 0, 0.42) 0%, rgba(229, 0, 0, 0.42) 11%, transparent 11%),
    linear-gradient(-35deg, transparent 0%, transparent 92%, rgba(62, 58, 55, 0.38) 92%, rgba(72, 68, 64, 0.48) 100%);
}

#archive.anth-archive--zine .anth-p5-card__preview-media {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  box-sizing: border-box;
  background: linear-gradient(160deg, #d9d6d1 0%, #c9c6c0 45%, #c3c0ba 100%);
}

#archive.anth-archive--zine .anth-p5-card__preview-thumb {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

#archive.anth-archive--zine .anth-p5-card__placeholder {
  position: relative;
  z-index: 3;
  font-family: var(--z-font-shout);
  font-size: clamp(1.15rem, 3.8vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--z-pop);
  text-align: center;
  padding: 1.1rem 1.35rem;
  line-height: 1.2;
  transform: skewX(-8deg) rotate(-2deg);
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.55),
    2px 2px 0 rgba(0, 0, 0, 0.12);
  border: 4px solid var(--z-ink);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 6px 6px 0 rgba(10, 10, 10, 0.18);
}

#archive.anth-archive--zine .anth-p5-card__close {
  position: absolute;
  left: 1.125rem;
  bottom: 1.125rem;
  z-index: 5;
  background: var(--z-pop);
  color: #fff;
  border: 4px solid var(--z-ink);
  padding: 0.65rem 1rem;
  font-family: var(--z-font-shout);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  transform: skewX(-14deg) rotate(-3deg);
  box-shadow: 6px 6px 0 var(--z-ink);
  transition: transform 0.28s var(--p5-snap), box-shadow 0.28s var(--p5-snap);
}

#archive.anth-archive--zine .anth-p5-card__close:hover {
  transform: skewX(-14deg) rotate(-3deg) translateY(-3px);
  box-shadow: 10px 10px 0 var(--z-ink);
}

#archive.anth-archive--zine .anth-p5-card__close:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#archive.anth-archive--zine .anth-p5-card__surface {
  display: block;
  position: relative;
  z-index: 5;
  outline: none;
}

#archive.anth-archive--zine .anth-p5-card__top {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem 0;
}

#archive.anth-archive--zine .anth-p5-card__badge {
  background: var(--z-ink);
  color: #fff;
  font-family: var(--z-font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  max-width: 52%;
  transform: skewX(-14deg);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#archive.anth-archive--zine .anth-p5-card__archive {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

#archive.anth-archive--zine .anth-p5-card__archive-id {
  background: var(--z-pop);
  color: #fff;
  border: 3px solid var(--z-ink);
  padding: 0.3rem 0.55rem;
  font-family: var(--z-font-sans);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: skewX(-14deg) rotate(-3deg);
  box-shadow: 4px 4px 0 var(--z-ink);
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#archive.anth-archive--zine .anth-p5-card__archive-sub {
  font-family: var(--z-font-sans);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #111;
}

#archive.anth-archive--zine .anth-p5-card__body {
  position: relative;
  z-index: 5;
  padding: 1rem 1.35rem 1.35rem;
}

#archive.anth-archive--zine .anth-p5-card__title {
  font-family: var(--z-font-shout);
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--z-ink);
  margin: 0 0 0.85rem;
  transition: transform 0.3s var(--p5-snap);
}

#archive.anth-archive--zine .anth-plate-cell:hover .anth-p5-card__title {
  transform: skewX(-6deg) translateX(4px);
}

#archive.anth-archive--zine .anth-p5-card__desc {
  font-family: var(--z-font-serif);
  font-size: 0.9rem;
  line-height: 1.85;
  color: #1f1f1f;
  margin: 0 0 1rem;
}

#archive.anth-archive--zine .anth-p5-card__footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
}

#archive.anth-archive--zine .anth-p5-card__byline {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  padding: 0.15rem 0 0.1rem 0.6rem;
  border-left: 4px solid var(--z-pop);
  line-height: 1.3;
}

#archive.anth-archive--zine .anth-p5-card__byline-tag {
  flex-shrink: 0;
  font-family: var(--z-font-shout);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-pop);
}

#archive.anth-archive--zine .anth-p5-card__byline-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--z-font-shout);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--z-ink);
  word-break: break-word;
}

#archive.anth-archive--zine .anth-p5-card__detail {
  display: inline-block;
  flex: 0 0 auto;
  align-self: flex-end;
  background: #fff;
  border: 4px solid var(--z-ink);
  padding: 0.55rem 0.95rem;
  font-family: var(--z-font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: skewX(-14deg) rotate(-2deg);
  box-shadow: 6px 6px 0 var(--z-ink);
  transition: transform 0.28s var(--p5-snap), box-shadow 0.28s var(--p5-snap);
  text-decoration: none;
  color: inherit;
}

#archive.anth-archive--zine .anth-p5-card__detail:hover,
#archive.anth-archive--zine .anth-p5-card__detail:focus-visible {
  transform: skewX(-14deg) rotate(-2deg) translateY(-3px);
  box-shadow: 10px 10px 0 var(--z-ink);
}

#archive.anth-archive--zine .anth-p5-card__detail:focus-visible {
  outline: 2px solid var(--z-pop);
  outline-offset: 3px;
}

#archive.anth-archive--zine .anth-p5-card__strip {
  position: relative;
  width: 100%;
  height: 3.6rem;
  margin: 0;
  padding: 0;
  border: none;
  border-top: 5px solid var(--z-ink);
  overflow: hidden;
  cursor: pointer;
  background: #b8b5af;
  display: block;
}

#archive.anth-archive--zine .anth-p5-card__strip--has-thumb {
  background: transparent;
}

#archive.anth-archive--zine .anth-p5-card__strip--has-thumb .anth-p5-card__strip-visual {
  background-image:
    linear-gradient(180deg, rgba(12, 12, 12, 0.38) 0%, rgba(12, 12, 12, 0.12) 50%, transparent 100%),
    var(--anth-strip-bg);
  background-size: 100% 100%, cover;
  background-position: center, center bottom;
  background-repeat: no-repeat;
  background-color: #b8b5af;
}

#archive.anth-archive--zine .anth-p5-card__strip-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #c9c6c0 0%, #c3c0ba 42%, #a8a59e 100%),
    repeating-linear-gradient(-28deg, transparent 0 10px, rgba(255, 255, 255, 0.06) 10px 11px);
}

#archive.anth-archive--zine .anth-p5-card__strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(229, 0, 0, 0.42) 0%, rgba(229, 0, 0, 0.42) 16%, transparent 16%),
    linear-gradient(-35deg, transparent 0%, transparent 88%, rgba(120, 116, 110, 0.35) 88%, rgba(100, 96, 90, 0.42) 100%);
  mix-blend-mode: multiply;
}

#archive.anth-archive--zine .anth-p5-card__strip-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%) skewX(-14deg) rotate(-4deg);
  z-index: 5;
  background: var(--z-pop);
  color: #fff;
  border: 3px solid var(--z-ink);
  padding: 0.4rem 0.7rem;
  font-family: var(--z-font-sans);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 4px 4px 0 var(--z-ink);
  pointer-events: none;
}

#archive.anth-archive--zine .anth-plate-cell:hover .anth-p5-card__main,
#archive.anth-archive--zine .anth-plate-cell:focus-within .anth-p5-card__main {
  box-shadow: 14px 14px 0 rgba(229, 0, 0, 0.22);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 1) .anth-p5-card:not(.is-active) .anth-p5-card__main {
  transform: rotate(-1.2deg);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 2) .anth-p5-card:not(.is-active) .anth-p5-card__main {
  transform: rotate(0.7deg) translateY(3px);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 3) .anth-p5-card:not(.is-active) .anth-p5-card__main {
  transform: rotate(-0.5deg) translateX(-2px);
}

#archive.anth-archive--zine .anth-plate-cell:nth-child(4n) .anth-p5-card:not(.is-active) .anth-p5-card__main {
  transform: rotate(1deg);
}

#archive.anth-archive--zine .anth-p5-card.is-active .anth-p5-card__main {
  transform: translate(-16px, -16px) rotate(-2deg) scale(0.97);
}

@media (max-width: 640px) {
  #archive.anth-archive--zine .anth-p5-card__title {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  #archive.anth-archive--zine .anth-p5-card__desc {
    font-size: 0.84rem;
  }

  #archive.anth-archive--zine .anth-p5-card__footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  #archive.anth-archive--zine .anth-p5-card__byline {
    text-align: center;
    order: -1;
    justify-content: center;
    border-left: none;
    padding-left: 0;
    padding-top: 0.45rem;
    border-top: 3px solid var(--z-pop);
  }

  #archive.anth-archive--zine .anth-p5-card__detail {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  #archive.anth-archive--zine .anth-p5-card.is-active .anth-p5-card__main {
    transform: translate(-10px, -10px) rotate(-1deg) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  #archive.anth-archive--zine .anth-p5-card__main,
  #archive.anth-archive--zine .anth-p5-card__preview,
  #archive.anth-archive--zine .anth-p5-card__title,
  #archive.anth-archive--zine .anth-p5-card__detail,
  #archive.anth-archive--zine .anth-p5-card__close {
    transition: none !important;
  }

  #archive.anth-archive--zine .anth-p5-card__preview {
    transform: none;
  }

  #archive.anth-archive--zine .anth-p5-card.is-active .anth-p5-card__preview {
    transform: none;
  }

  #archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 1) .anth-p5-card:not(.is-active) .anth-p5-card__main,
  #archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 2) .anth-p5-card:not(.is-active) .anth-p5-card__main,
  #archive.anth-archive--zine .anth-plate-cell:nth-child(4n + 3) .anth-p5-card:not(.is-active) .anth-p5-card__main,
  #archive.anth-archive--zine .anth-plate-cell:nth-child(4n) .anth-p5-card:not(.is-active) .anth-p5-card__main {
    transform: none !important;
  }
}

/* 长图鉴列表：略过屏外卡片的布局与绘制，条目多时减轻主线程压力 */
@supports (content-visibility: auto) {
  #archive.anth-archive--zine .anth-plate-cell {
    content-visibility: auto;
    contain-intrinsic-size: auto 520px;
  }
}

@media (max-width: 520px) {
  #archive.anth-archive--zine .anth-archive__masthead {
    transform: none;
    margin-left: 0;
    margin-right: 0;
  }

  #archive.anth-archive--zine .anth-archive__controls {
    transform: none;
  }

  #archive.anth-archive--zine .anth-archive__display {
    transform: none;
  }

  #archive.anth-archive--zine .anth-archive__editorial {
    transform: none;
  }

  #archive.anth-archive--zine .anth-gallery-panel--sections .anth-plate-grid--sections,
  #archive.anth-archive--zine .anth-gallery-panel--masonry .anth-plate-grid--sections {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
  }

  #archive.anth-archive--zine .anth-p5-card__strip {
    min-height: 2.75rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}
