/*
Theme Name: 第七码头
Theme URI: https://diqimatou.com
Author: 第七码头
Description: 港风网盘转存资源主题，支持 WordPress 后台发布影视资源。
Version: 1.0.0
Text Domain: diqimatou
*/


:root {
  --bg: #fff8ed;
  --paper: #fffdf8;
  --paper-soft: #f5ead9;
  --ink: #233936;
  --muted: #76695d;
  --faint: #b6a492;
  --wine: #9c2d38;
  --wine-dark: #74232c;
  --gold: #bd7d32;
  --gold-dark: #9a6424;
  --jade: #1f6b62;
  --line: rgba(116, 79, 43, 0.18);
  --green: #3c9b69;
  --shadow: 0 22px 64px rgba(101, 67, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(156, 45, 56, 0.08), transparent 30%),
    radial-gradient(circle at 12% 8%, rgba(189, 125, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #fffdf8 0, #fff8ed 54%, #f3e5d3 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 104px;
  padding: 16px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid rgba(189, 125, 50, 0.2);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: 88px auto;
  column-gap: 14px;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(128, 88, 37, 0.12);
}

.brand-line {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-name {
  color: var(--gold);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 31px;
  font-weight: 700;
}

.brand-sub {
  color: var(--wine);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: clamp(28px, 3.5vw, 58px);
  color: #1f2f2d;
  font-size: 16px;
}

.nav-links a {
  padding: 31px 0 25px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links .is-active {
  color: var(--wine);
  border-color: var(--gold);
}

.nav-action {
  justify-self: end;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 15px 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: #fffaf3;
  font-weight: 650;
  box-shadow: 0 16px 34px rgba(116, 35, 44, 0.22);
}

.page-shell {
  width: min(1440px, calc(100% - clamp(28px, 5vw, 72px)));
  min-width: 0;
  margin: 0 auto;
  padding: 16px 0 68px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(440px, 1.08fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(189, 125, 50, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0 46%, rgba(255, 250, 242, 0.78) 57%, transparent 72%),
    repeating-linear-gradient(90deg, transparent 0 116px, rgba(189, 125, 50, 0.08) 116px 117px),
    #fffdf8;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 48px 28px 48px 52px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 26px 0 0;
  color: var(--wine);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 4.35vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--wine), var(--gold), var(--jade));
}

.hero-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  width: min(420px, 100%);
  margin-top: 34px;
  padding: 7px 7px 7px 16px;
  border: 1px solid rgba(189, 125, 50, 0.34);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 48px rgba(91, 61, 33, 0.1);
}

.search-box span {
  color: var(--gold);
  font-size: 28px;
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.search-box button,
.resource-actions a,
.submit-section a {
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #c98b3f, #a76628);
  color: #fffaf3;
  font-weight: 650;
}

.search-box button {
  min-height: 44px;
  padding: 0 22px;
  cursor: pointer;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  width: min(420px, 100%);
  margin-top: 26px;
}

.quick-entry span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.quick-entry a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 36px;
  padding: 9px 8px;
  border: 1px solid rgba(189, 125, 50, 0.25);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.quick-entry i {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(35, 57, 54, 0.42);
  border-radius: 50%;
}

.quick-entry a:nth-of-type(1) i {
  border-color: rgba(189, 125, 50, 0.7);
}

.quick-entry a:nth-of-type(2) i {
  border-color: rgba(70, 76, 105, 0.7);
}

.quick-entry a:nth-of-type(3) i {
  border-color: rgba(154, 100, 36, 0.7);
}

.quick-entry a:nth-of-type(4) i {
  border-radius: 4px;
  border-color: rgba(166, 45, 56, 0.64);
  transform: rotate(45deg);
}

.quick-entry a.is-active {
  border-color: rgba(156, 45, 56, 0.42);
  background: rgba(156, 45, 56, 0.08);
  color: var(--wine);
}

.hero-film {
  position: relative;
  z-index: 1;
  min-height: 100%;
  width: calc(100% + 52px);
  margin-left: -44px;
  padding: 8px 10px 8px 0;
}

.hero-film::before {
  display: none;
}

.archive-stamp {
  position: absolute;
  left: -76px;
  top: 42px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 2px solid rgba(189, 125, 50, 0.22);
  border-radius: 50%;
  color: rgba(189, 125, 50, 0.38);
  font-family: "Noto Serif SC", "Songti SC", serif;
  transform: rotate(-15deg);
}

.archive-stamp span {
  font-size: 23px;
}

.archive-stamp em {
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.16em;
}

.film-photo {
  position: relative;
  height: 100%;
  min-height: 456px;
  overflow: visible;
  border: 18px solid rgba(250, 242, 230, 0.92);
  border-radius: 3px;
  background-clip: padding-box;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 213, 148, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 247, 233, 0.18), rgba(102, 58, 31, 0.04)),
    var(--pier-image, url("./assets/hero-current.jpg")) 50% 50% / cover;
  background-blend-mode: soft-light, soft-light, normal;
  box-shadow:
    inset 0 0 0 1px rgba(116, 79, 43, 0.2),
    inset 0 0 70px rgba(80, 47, 28, 0.18),
    0 0 0 1px rgba(137, 104, 77, 0.2);
  filter: sepia(0.14) saturate(0.86) brightness(1.18) contrast(0.88);
  -webkit-clip-path: polygon(0.00% 1.05%, 1.60% 1.05%, 1.60% 0%, 3.20% 0%, 3.20% 1.05%, 4.80% 1.05%, 4.80% 0%, 6.40% 0%, 6.40% 1.05%, 8.00% 1.05%, 8.00% 0%, 9.60% 0%, 9.60% 1.05%, 11.20% 1.05%, 11.20% 0%, 12.80% 0%, 12.80% 1.05%, 14.40% 1.05%, 14.40% 0%, 16.00% 0%, 16.00% 1.05%, 17.60% 1.05%, 17.60% 0%, 19.20% 0%, 19.20% 1.05%, 20.80% 1.05%, 20.80% 0%, 22.40% 0%, 22.40% 1.05%, 24.00% 1.05%, 24.00% 0%, 25.60% 0%, 25.60% 1.05%, 27.20% 1.05%, 27.20% 0%, 28.80% 0%, 28.80% 1.05%, 30.40% 1.05%, 30.40% 0%, 32.00% 0%, 32.00% 1.05%, 33.60% 1.05%, 33.60% 0%, 35.20% 0%, 35.20% 1.05%, 36.80% 1.05%, 36.80% 0%, 38.40% 0%, 38.40% 1.05%, 40.00% 1.05%, 40.00% 0%, 41.60% 0%, 41.60% 1.05%, 43.20% 1.05%, 43.20% 0%, 44.80% 0%, 44.80% 1.05%, 46.40% 1.05%, 46.40% 0%, 48.00% 0%, 48.00% 1.05%, 49.60% 1.05%, 49.60% 0%, 51.20% 0%, 51.20% 1.05%, 52.80% 1.05%, 52.80% 0%, 54.40% 0%, 54.40% 1.05%, 56.00% 1.05%, 56.00% 0%, 57.60% 0%, 57.60% 1.05%, 59.20% 1.05%, 59.20% 0%, 60.80% 0%, 60.80% 1.05%, 62.40% 1.05%, 62.40% 0%, 64.00% 0%, 64.00% 1.05%, 65.60% 1.05%, 65.60% 0%, 67.20% 0%, 67.20% 1.05%, 68.80% 1.05%, 68.80% 0%, 70.40% 0%, 70.40% 1.05%, 72.00% 1.05%, 72.00% 0%, 73.60% 0%, 73.60% 1.05%, 75.20% 1.05%, 75.20% 0%, 76.80% 0%, 76.80% 1.05%, 78.40% 1.05%, 78.40% 0%, 80.00% 0%, 80.00% 1.05%, 81.60% 1.05%, 81.60% 0%, 83.20% 0%, 83.20% 1.05%, 84.80% 1.05%, 84.80% 0%, 86.40% 0%, 86.40% 1.05%, 88.00% 1.05%, 88.00% 0%, 89.60% 0%, 89.60% 1.05%, 91.20% 1.05%, 91.20% 0%, 92.80% 0%, 92.80% 1.05%, 94.40% 1.05%, 94.40% 0%, 96.00% 0%, 96.00% 1.05%, 97.60% 1.05%, 97.60% 0%, 99.20% 0%, 99.20% 1.05%, 100% 1.05%, 98.95% 1.60%, 100% 1.60%, 100% 3.20%, 98.95% 3.20%, 98.95% 4.80%, 100% 4.80%, 100% 6.40%, 98.95% 6.40%, 98.95% 8.00%, 100% 8.00%, 100% 9.60%, 98.95% 9.60%, 98.95% 11.20%, 100% 11.20%, 100% 12.80%, 98.95% 12.80%, 98.95% 14.40%, 100% 14.40%, 100% 16.00%, 98.95% 16.00%, 98.95% 17.60%, 100% 17.60%, 100% 19.20%, 98.95% 19.20%, 98.95% 20.80%, 100% 20.80%, 100% 22.40%, 98.95% 22.40%, 98.95% 24.00%, 100% 24.00%, 100% 25.60%, 98.95% 25.60%, 98.95% 27.20%, 100% 27.20%, 100% 28.80%, 98.95% 28.80%, 98.95% 30.40%, 100% 30.40%, 100% 32.00%, 98.95% 32.00%, 98.95% 33.60%, 100% 33.60%, 100% 35.20%, 98.95% 35.20%, 98.95% 36.80%, 100% 36.80%, 100% 38.40%, 98.95% 38.40%, 98.95% 40.00%, 100% 40.00%, 100% 41.60%, 98.95% 41.60%, 98.95% 43.20%, 100% 43.20%, 100% 44.80%, 98.95% 44.80%, 98.95% 46.40%, 100% 46.40%, 100% 48.00%, 98.95% 48.00%, 98.95% 49.60%, 100% 49.60%, 100% 51.20%, 98.95% 51.20%, 98.95% 52.80%, 100% 52.80%, 100% 54.40%, 98.95% 54.40%, 98.95% 56.00%, 100% 56.00%, 100% 57.60%, 98.95% 57.60%, 98.95% 59.20%, 100% 59.20%, 100% 60.80%, 98.95% 60.80%, 98.95% 62.40%, 100% 62.40%, 100% 64.00%, 98.95% 64.00%, 98.95% 65.60%, 100% 65.60%, 100% 67.20%, 98.95% 67.20%, 98.95% 68.80%, 100% 68.80%, 100% 70.40%, 98.95% 70.40%, 98.95% 72.00%, 100% 72.00%, 100% 73.60%, 98.95% 73.60%, 100% 75.20%, 100% 76.80%, 98.95% 76.80%, 98.95% 78.40%, 100% 78.40%, 100% 80.00%, 98.95% 80.00%, 98.95% 81.60%, 100% 81.60%, 100% 83.20%, 98.95% 83.20%, 98.95% 84.80%, 100% 84.80%, 100% 86.40%, 98.95% 86.40%, 98.95% 88.00%, 100% 88.00%, 100% 89.60%, 98.95% 89.60%, 98.95% 91.20%, 100% 91.20%, 100% 92.80%, 98.95% 92.80%, 98.95% 94.40%, 100% 94.40%, 100% 96.00%, 98.95% 96.00%, 98.95% 97.60%, 100% 97.60%, 100% 99.20%, 98.95% 99.20%, 98.40% 98.95%, 98.40% 100%, 96.80% 100%, 96.80% 98.95%, 95.20% 98.95%, 95.20% 100%, 93.60% 100%, 93.60% 98.95%, 92.00% 98.95%, 92.00% 100%, 90.40% 100%, 90.40% 98.95%, 88.80% 98.95%, 88.80% 100%, 87.20% 100%, 87.20% 98.95%, 85.60% 98.95%, 85.60% 100%, 84.00% 100%, 84.00% 98.95%, 82.40% 98.95%, 82.40% 100%, 80.80% 100%, 80.80% 98.95%, 79.20% 98.95%, 79.20% 100%, 77.60% 100%, 77.60% 98.95%, 76.00% 98.95%, 76.00% 100%, 74.40% 100%, 74.40% 98.95%, 72.80% 98.95%, 72.80% 100%, 71.20% 100%, 71.20% 98.95%, 69.60% 98.95%, 69.60% 100%, 68.00% 100%, 68.00% 98.95%, 66.40% 98.95%, 66.40% 100%, 64.80% 100%, 64.80% 98.95%, 63.20% 98.95%, 63.20% 100%, 61.60% 100%, 61.60% 98.95%, 60.00% 98.95%, 60.00% 100%, 58.40% 100%, 58.40% 98.95%, 56.80% 98.95%, 56.80% 100%, 55.20% 100%, 55.20% 98.95%, 53.60% 98.95%, 53.60% 100%, 52.00% 100%, 52.00% 98.95%, 50.40% 98.95%, 50.40% 100%, 48.80% 100%, 48.80% 98.95%, 47.20% 98.95%, 47.20% 100%, 45.60% 100%, 45.60% 98.95%, 44.00% 98.95%, 44.00% 100%, 42.40% 100%, 42.40% 98.95%, 40.80% 98.95%, 40.80% 100%, 39.20% 100%, 39.20% 98.95%, 37.60% 98.95%, 37.60% 100%, 36.00% 100%, 36.00% 98.95%, 34.40% 98.95%, 34.40% 100%, 32.80% 100%, 32.80% 98.95%, 31.20% 98.95%, 31.20% 100%, 29.60% 100%, 29.60% 98.95%, 28.00% 98.95%, 28.00% 100%, 26.40% 100%, 26.40% 98.95%, 24.80% 98.95%, 24.80% 100%, 23.20% 100%, 23.20% 98.95%, 21.60% 98.95%, 21.60% 100%, 20.00% 100%, 20.00% 98.95%, 18.40% 98.95%, 18.40% 100%, 16.80% 100%, 16.80% 98.95%, 15.20% 98.95%, 15.20% 100%, 13.60% 100%, 13.60% 98.95%, 12.00% 98.95%, 12.00% 100%, 10.40% 100%, 10.40% 98.95%, 8.80% 98.95%, 8.80% 100%, 7.20% 100%, 7.20% 98.95%, 5.60% 98.95%, 5.60% 100%, 4.00% 100%, 4.00% 98.95%, 2.40% 98.95%, 2.40% 100%, 0.80% 100%, 0.80% 98.95%, 1.05% 98.40%, 0% 98.40%, 0% 96.80%, 1.05% 96.80%, 1.05% 95.20%, 0% 95.20%, 0% 93.60%, 1.05% 93.60%, 1.05% 92.00%, 0% 92.00%, 0% 90.40%, 1.05% 90.40%, 1.05% 88.80%, 0% 88.80%, 0% 87.20%, 1.05% 87.20%, 1.05% 85.60%, 0% 85.60%, 0% 84.00%, 1.05% 84.00%, 1.05% 82.40%, 0% 82.40%, 0% 80.80%, 1.05% 80.80%, 1.05% 79.20%, 0% 79.20%, 0% 77.60%, 1.05% 77.60%, 1.05% 76.00%, 0% 76.00%, 0% 74.40%, 1.05% 74.40%, 1.05% 72.80%, 0% 72.80%, 0% 71.20%, 1.05% 71.20%, 1.05% 69.60%, 0% 69.60%, 0% 68.00%, 1.05% 68.00%, 1.05% 66.40%, 0% 66.40%, 0% 64.80%, 1.05% 64.80%, 1.05% 63.20%, 0% 63.20%, 0% 61.60%, 1.05% 61.60%, 1.05% 60.00%, 0% 60.00%, 0% 58.40%, 1.05% 58.40%, 1.05% 56.80%, 0% 56.80%, 0% 55.20%, 1.05% 55.20%, 1.05% 53.60%, 0% 53.60%, 0% 52.00%, 1.05% 52.00%, 1.05% 50.40%, 0% 50.40%, 0% 48.80%, 1.05% 48.80%, 1.05% 47.20%, 0% 47.20%, 0% 45.60%, 1.05% 45.60%, 1.05% 44.00%, 0% 44.00%, 0% 42.40%, 1.05% 42.40%, 1.05% 40.80%, 0% 40.80%, 0% 39.20%, 1.05% 39.20%, 1.05% 37.60%, 0% 37.60%, 0% 36.00%, 1.05% 36.00%, 1.05% 34.40%, 0% 34.40%, 0% 32.80%, 1.05% 32.80%, 1.05% 31.20%, 0% 31.20%, 0% 29.60%, 1.05% 29.60%, 1.05% 28.00%, 0% 28.00%, 0% 26.40%, 1.05% 26.40%, 1.05% 24.80%, 0% 24.80%, 0% 23.20%, 1.05% 23.20%, 1.05% 21.60%, 0% 21.60%, 0% 20.00%, 1.05% 20.00%, 1.05% 18.40%, 0% 18.40%, 0% 16.80%, 1.05% 16.80%, 1.05% 15.20%, 0% 15.20%, 0% 13.60%, 1.05% 13.60%, 1.05% 12.00%, 0% 12.00%, 0% 10.40%, 1.05% 10.40%, 1.05% 8.80%, 0% 8.80%, 0% 7.20%, 1.05% 7.20%, 1.05% 5.60%, 0% 5.60%, 0% 4.00%, 1.05% 4.00%, 1.05% 2.40%, 0% 2.40%, 0% 0.80%, 1.05% 0.80%);
  clip-path: polygon(0.00% 1.05%, 1.60% 1.05%, 1.60% 0%, 3.20% 0%, 3.20% 1.05%, 4.80% 1.05%, 4.80% 0%, 6.40% 0%, 6.40% 1.05%, 8.00% 1.05%, 8.00% 0%, 9.60% 0%, 9.60% 1.05%, 11.20% 1.05%, 11.20% 0%, 12.80% 0%, 12.80% 1.05%, 14.40% 1.05%, 14.40% 0%, 16.00% 0%, 16.00% 1.05%, 17.60% 1.05%, 17.60% 0%, 19.20% 0%, 19.20% 1.05%, 20.80% 1.05%, 20.80% 0%, 22.40% 0%, 22.40% 1.05%, 24.00% 1.05%, 24.00% 0%, 25.60% 0%, 25.60% 1.05%, 27.20% 1.05%, 27.20% 0%, 28.80% 0%, 28.80% 1.05%, 30.40% 1.05%, 30.40% 0%, 32.00% 0%, 32.00% 1.05%, 33.60% 1.05%, 33.60% 0%, 35.20% 0%, 35.20% 1.05%, 36.80% 1.05%, 36.80% 0%, 38.40% 0%, 38.40% 1.05%, 40.00% 1.05%, 40.00% 0%, 41.60% 0%, 41.60% 1.05%, 43.20% 1.05%, 43.20% 0%, 44.80% 0%, 44.80% 1.05%, 46.40% 1.05%, 46.40% 0%, 48.00% 0%, 48.00% 1.05%, 49.60% 1.05%, 49.60% 0%, 51.20% 0%, 51.20% 1.05%, 52.80% 1.05%, 52.80% 0%, 54.40% 0%, 54.40% 1.05%, 56.00% 1.05%, 56.00% 0%, 57.60% 0%, 57.60% 1.05%, 59.20% 1.05%, 59.20% 0%, 60.80% 0%, 60.80% 1.05%, 62.40% 1.05%, 62.40% 0%, 64.00% 0%, 64.00% 1.05%, 65.60% 1.05%, 65.60% 0%, 67.20% 0%, 67.20% 1.05%, 68.80% 1.05%, 68.80% 0%, 70.40% 0%, 70.40% 1.05%, 72.00% 1.05%, 72.00% 0%, 73.60% 0%, 73.60% 1.05%, 75.20% 1.05%, 75.20% 0%, 76.80% 0%, 76.80% 1.05%, 78.40% 1.05%, 78.40% 0%, 80.00% 0%, 80.00% 1.05%, 81.60% 1.05%, 81.60% 0%, 83.20% 0%, 83.20% 1.05%, 84.80% 1.05%, 84.80% 0%, 86.40% 0%, 86.40% 1.05%, 88.00% 1.05%, 88.00% 0%, 89.60% 0%, 89.60% 1.05%, 91.20% 1.05%, 91.20% 0%, 92.80% 0%, 92.80% 1.05%, 94.40% 1.05%, 94.40% 0%, 96.00% 0%, 96.00% 1.05%, 97.60% 1.05%, 97.60% 0%, 99.20% 0%, 99.20% 1.05%, 100% 1.05%, 98.95% 1.60%, 100% 1.60%, 100% 3.20%, 98.95% 3.20%, 98.95% 4.80%, 100% 4.80%, 100% 6.40%, 98.95% 6.40%, 98.95% 8.00%, 100% 8.00%, 100% 9.60%, 98.95% 9.60%, 98.95% 11.20%, 100% 11.20%, 100% 12.80%, 98.95% 12.80%, 98.95% 14.40%, 100% 14.40%, 100% 16.00%, 98.95% 16.00%, 98.95% 17.60%, 100% 17.60%, 100% 19.20%, 98.95% 19.20%, 98.95% 20.80%, 100% 20.80%, 100% 22.40%, 98.95% 22.40%, 98.95% 24.00%, 100% 24.00%, 100% 25.60%, 98.95% 25.60%, 98.95% 27.20%, 100% 27.20%, 100% 28.80%, 98.95% 28.80%, 98.95% 30.40%, 100% 30.40%, 100% 32.00%, 98.95% 32.00%, 98.95% 33.60%, 100% 33.60%, 100% 35.20%, 98.95% 35.20%, 98.95% 36.80%, 100% 36.80%, 100% 38.40%, 98.95% 38.40%, 98.95% 40.00%, 100% 40.00%, 100% 41.60%, 98.95% 41.60%, 98.95% 43.20%, 100% 43.20%, 100% 44.80%, 98.95% 44.80%, 98.95% 46.40%, 100% 46.40%, 100% 48.00%, 98.95% 48.00%, 98.95% 49.60%, 100% 49.60%, 100% 51.20%, 98.95% 51.20%, 98.95% 52.80%, 100% 52.80%, 100% 54.40%, 98.95% 54.40%, 98.95% 56.00%, 100% 56.00%, 100% 57.60%, 98.95% 57.60%, 98.95% 59.20%, 100% 59.20%, 100% 60.80%, 98.95% 60.80%, 98.95% 62.40%, 100% 62.40%, 100% 64.00%, 98.95% 64.00%, 98.95% 65.60%, 100% 65.60%, 100% 67.20%, 98.95% 67.20%, 98.95% 68.80%, 100% 68.80%, 100% 70.40%, 98.95% 70.40%, 98.95% 72.00%, 100% 72.00%, 100% 73.60%, 98.95% 73.60%, 100% 75.20%, 100% 76.80%, 98.95% 76.80%, 98.95% 78.40%, 100% 78.40%, 100% 80.00%, 98.95% 80.00%, 98.95% 81.60%, 100% 81.60%, 100% 83.20%, 98.95% 83.20%, 98.95% 84.80%, 100% 84.80%, 100% 86.40%, 98.95% 86.40%, 98.95% 88.00%, 100% 88.00%, 100% 89.60%, 98.95% 89.60%, 98.95% 91.20%, 100% 91.20%, 100% 92.80%, 98.95% 92.80%, 98.95% 94.40%, 100% 94.40%, 100% 96.00%, 98.95% 96.00%, 98.95% 97.60%, 100% 97.60%, 100% 99.20%, 98.95% 99.20%, 98.40% 98.95%, 98.40% 100%, 96.80% 100%, 96.80% 98.95%, 95.20% 98.95%, 95.20% 100%, 93.60% 100%, 93.60% 98.95%, 92.00% 98.95%, 92.00% 100%, 90.40% 100%, 90.40% 98.95%, 88.80% 98.95%, 88.80% 100%, 87.20% 100%, 87.20% 98.95%, 85.60% 98.95%, 85.60% 100%, 84.00% 100%, 84.00% 98.95%, 82.40% 98.95%, 82.40% 100%, 80.80% 100%, 80.80% 98.95%, 79.20% 98.95%, 79.20% 100%, 77.60% 100%, 77.60% 98.95%, 76.00% 98.95%, 76.00% 100%, 74.40% 100%, 74.40% 98.95%, 72.80% 98.95%, 72.80% 100%, 71.20% 100%, 71.20% 98.95%, 69.60% 98.95%, 69.60% 100%, 68.00% 100%, 68.00% 98.95%, 66.40% 98.95%, 66.40% 100%, 64.80% 100%, 64.80% 98.95%, 63.20% 98.95%, 63.20% 100%, 61.60% 100%, 61.60% 98.95%, 60.00% 98.95%, 60.00% 100%, 58.40% 100%, 58.40% 98.95%, 56.80% 98.95%, 56.80% 100%, 55.20% 100%, 55.20% 98.95%, 53.60% 98.95%, 53.60% 100%, 52.00% 100%, 52.00% 98.95%, 50.40% 98.95%, 50.40% 100%, 48.80% 100%, 48.80% 98.95%, 47.20% 98.95%, 47.20% 100%, 45.60% 100%, 45.60% 98.95%, 44.00% 98.95%, 44.00% 100%, 42.40% 100%, 42.40% 98.95%, 40.80% 98.95%, 40.80% 100%, 39.20% 100%, 39.20% 98.95%, 37.60% 98.95%, 37.60% 100%, 36.00% 100%, 36.00% 98.95%, 34.40% 98.95%, 34.40% 100%, 32.80% 100%, 32.80% 98.95%, 31.20% 98.95%, 31.20% 100%, 29.60% 100%, 29.60% 98.95%, 28.00% 98.95%, 28.00% 100%, 26.40% 100%, 26.40% 98.95%, 24.80% 98.95%, 24.80% 100%, 23.20% 100%, 23.20% 98.95%, 21.60% 98.95%, 21.60% 100%, 20.00% 100%, 20.00% 98.95%, 18.40% 98.95%, 18.40% 100%, 16.80% 100%, 16.80% 98.95%, 15.20% 98.95%, 15.20% 100%, 13.60% 100%, 13.60% 98.95%, 12.00% 98.95%, 12.00% 100%, 10.40% 100%, 10.40% 98.95%, 8.80% 98.95%, 8.80% 100%, 7.20% 100%, 7.20% 98.95%, 5.60% 98.95%, 5.60% 100%, 4.00% 100%, 4.00% 98.95%, 2.40% 98.95%, 2.40% 100%, 0.80% 100%, 0.80% 98.95%, 1.05% 98.40%, 0% 98.40%, 0% 96.80%, 1.05% 96.80%, 1.05% 95.20%, 0% 95.20%, 0% 93.60%, 1.05% 93.60%, 1.05% 92.00%, 0% 92.00%, 0% 90.40%, 1.05% 90.40%, 1.05% 88.80%, 0% 88.80%, 0% 87.20%, 1.05% 87.20%, 1.05% 85.60%, 0% 85.60%, 0% 84.00%, 1.05% 84.00%, 1.05% 82.40%, 0% 82.40%, 0% 80.80%, 1.05% 80.80%, 1.05% 79.20%, 0% 79.20%, 0% 77.60%, 1.05% 77.60%, 1.05% 76.00%, 0% 76.00%, 0% 74.40%, 1.05% 74.40%, 1.05% 72.80%, 0% 72.80%, 0% 71.20%, 1.05% 71.20%, 1.05% 69.60%, 0% 69.60%, 0% 68.00%, 1.05% 68.00%, 1.05% 66.40%, 0% 66.40%, 0% 64.80%, 1.05% 64.80%, 1.05% 63.20%, 0% 63.20%, 0% 61.60%, 1.05% 61.60%, 1.05% 60.00%, 0% 60.00%, 0% 58.40%, 1.05% 58.40%, 1.05% 56.80%, 0% 56.80%, 0% 55.20%, 1.05% 55.20%, 1.05% 53.60%, 0% 53.60%, 0% 52.00%, 1.05% 52.00%, 1.05% 50.40%, 0% 50.40%, 0% 48.80%, 1.05% 48.80%, 1.05% 47.20%, 0% 47.20%, 0% 45.60%, 1.05% 45.60%, 1.05% 44.00%, 0% 44.00%, 0% 42.40%, 1.05% 42.40%, 1.05% 40.80%, 0% 40.80%, 0% 39.20%, 1.05% 39.20%, 1.05% 37.60%, 0% 37.60%, 0% 36.00%, 1.05% 36.00%, 1.05% 34.40%, 0% 34.40%, 0% 32.80%, 1.05% 32.80%, 1.05% 31.20%, 0% 31.20%, 0% 29.60%, 1.05% 29.60%, 1.05% 28.00%, 0% 28.00%, 0% 26.40%, 1.05% 26.40%, 1.05% 24.80%, 0% 24.80%, 0% 23.20%, 1.05% 23.20%, 1.05% 21.60%, 0% 21.60%, 0% 20.00%, 1.05% 20.00%, 1.05% 18.40%, 0% 18.40%, 0% 16.80%, 1.05% 16.80%, 1.05% 15.20%, 0% 15.20%, 0% 13.60%, 1.05% 13.60%, 1.05% 12.00%, 0% 12.00%, 0% 10.40%, 1.05% 10.40%, 1.05% 8.80%, 0% 8.80%, 0% 7.20%, 1.05% 7.20%, 1.05% 5.60%, 0% 5.60%, 0% 4.00%, 1.05% 4.00%, 1.05% 2.40%, 0% 2.40%, 0% 0.80%, 1.05% 0.80%);
}

.film-photo::before,
.film-photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.film-photo::before {
  inset: -18px;
  z-index: 3;
  border: 1px solid rgba(244, 224, 194, 0.42);
  background: none;
  opacity: 1;
  filter: none;
}

.film-photo::after {
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.1), transparent 30%, rgba(114, 72, 41, 0.06));
}

.film-photo .film-code,
.film-photo .film-num {
  text-shadow: 0 1px 12px rgba(255, 248, 237, 0.55);
}


.film-code,
.film-num {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  color: rgba(116, 79, 43, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.film-code {
  left: 168px;
}

.film-num {
  right: 112px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  margin-top: 28px;
}

.resource-main,
.side-card,
.collection-card,
.submit-section {
  min-width: 0;
  border: 1px solid rgba(189, 125, 50, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.resource-main {
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  flex: 0 0 auto;
  padding: 24px 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tabs button:hover,
.tabs .is-active {
  color: var(--wine);
  border-color: var(--wine);
}

.resource-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 20px 0;
}

.resource-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.resource-toolbar button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(189, 125, 50, 0.28);
  border-radius: 6px;
  background: rgba(255, 248, 237, 0.72);
  color: var(--gold-dark);
  cursor: pointer;
}

.resource-head {
  display: grid;
  grid-template-columns: 96px minmax(220px, 1fr) 72px 82px 78px 82px;
  gap: 12px;
  padding: 16px 20px 12px;
  color: var(--muted);
  font-size: 13px;
  align-items: center;
}

.resource-head span:first-child {
  grid-column: 1 / 3;
}

.resource-head span:nth-child(n + 2) {
  text-align: center;
}

.resource-list {
  display: grid;
}

.resource-card {
  display: grid;
  grid-template-columns: 96px minmax(220px, 1fr) 72px 82px 78px 82px;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.resource-card:hover {
  background: rgba(255, 246, 232, 0.68);
}

.resource-card.is-expanded {
  background: rgba(255, 246, 232, 0.8);
}

.resource-card.is-expanded .resource-info::after {
  content: "已展示平台、清晰度、更新时间与有效率；正式后台接入后这里会展开完整链接、提取码和补链记录。";
  display: block;
  max-width: 520px;
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: 12px;
  line-height: 1.7;
}

.resource-card.is-dimmed {
  display: none;
}

.resource-card.is-soft-match {
  opacity: 0.42;
  transform: translateY(4px);
}

.resource-info {
  min-width: 0;
  align-self: center;
}

.cover {
  position: relative;
  width: 96px;
  min-height: 112px;
  overflow: hidden;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.04), rgba(48, 32, 25, 0.48)),
    var(--pier-image, url("./assets/rainy-pier.png")) center / cover;
  filter: sepia(0.1) saturate(0.8) brightness(1.04);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 250, 243, 0.44);
}

.cover span {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 0 0 6px 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fffaf3;
  font-size: 13px;
  font-weight: 700;
}

.cover-one {
  background-position: 20% center;
}

.cover-two {
  background-position: 42% center;
}

.cover-three {
  background-position: 64% center;
}

.cover-four {
  background-position: 76% center;
}

.cover-five {
  background-position: 90% center;
}

.title-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}

.title-row h2 {
  max-width: 440px;
  margin: 0 0 10px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.hot {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(156, 45, 56, 0.1);
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
}

.resource-info p,
.resource-status p,
.check-time {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.resource-status {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.valid {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(60, 155, 105, 0.13);
  color: var(--green);
  font-weight: 700;
}

.disk-list {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.disk-list em {
  padding: 5px 8px;
  border: 1px solid rgba(189, 125, 50, 0.18);
  border-radius: 5px;
  background: rgba(189, 125, 50, 0.09);
  color: var(--gold-dark);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.resource-actions {
  display: grid;
  gap: 7px;
  justify-items: stretch;
}

.resource-actions button {
  min-height: 34px;
  text-align: center;
  font-size: 13px;
}

.resource-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.resource-actions button {
  border: 1px solid rgba(189, 125, 50, 0.28);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.resource-actions .primary-action {
  border: 0;
  background: linear-gradient(135deg, #c98b3f, #a76628);
  color: #fffaf3;
  font-weight: 650;
}

.empty-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 38px 20px 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.empty-state[hidden],
.toast[hidden] {
  display: none;
}

.empty-state strong {
  color: var(--wine);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
}

.empty-state p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.more-link {
  display: block;
  width: fit-content;
  margin: 22px auto 24px;
  padding: 10px 28px;
  border: 1px solid rgba(189, 125, 50, 0.36);
  border-radius: 7px;
  color: var(--gold-dark);
  text-align: center;
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-card {
  padding: 20px;
}

.side-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.side-title h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
}

.side-title a {
  color: var(--muted);
  font-size: 14px;
}

.update-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.update-list strong {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}

.update-list em {
  display: none;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(31, 107, 98, 0.09);
  color: var(--jade);
  font-style: normal;
}

.alert-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(247, 230, 205, 0.86)),
    var(--paper);
}

.alert-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -8px;
  width: 150px;
  height: 46px;
  opacity: 0.32;
  background: repeating-linear-gradient(100deg, rgba(189, 125, 50, 0.44) 0 12px, transparent 12px 22px);
  transform: rotate(-16deg);
}

.alert-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.stats-card .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stats-card .stat-grid div {
  display: grid;
  gap: 8px;
  min-height: 92px;
  place-items: center;
  border: 1px solid rgba(189, 125, 50, 0.22);
  border-radius: 8px;
  background: rgba(255, 248, 237, 0.72);
}

.stats-card strong {
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 25px;
}

.stats-card span {
  color: var(--muted);
}

.collection-section,
.submit-section,
.publish-format,
.publish-template {
  margin-top: 22px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 14px;
}

.section-title h2,
.submit-section h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
}

.section-title p,
.submit-section p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.collection-card {
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: end;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(255, 244, 225, 0.82)),
    var(--paper);
}

.collection-card:hover,
.collection-card.is-active {
  border-color: rgba(156, 45, 56, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 248, 238, 0.96), rgba(249, 231, 207, 0.9)),
    var(--paper);
}

.collection-card strong {
  color: var(--wine);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
}

.collection-card span {
  color: var(--muted);
  font-size: 14px;
}

.submit-section {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.submit-section a {
  flex: 0 0 auto;
  padding: 11px 18px;
}

.publish-format,
.publish-template {
  min-width: 0;
}

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

.format-grid div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(189, 125, 50, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(255, 244, 225, 0.74)),
    var(--paper);
  box-shadow: 0 14px 36px rgba(101, 67, 36, 0.08);
}

.format-grid strong {
  color: var(--wine);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
}

.format-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.template-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(189, 125, 50, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(255, 244, 225, 0.72)),
    var(--paper);
  box-shadow: 0 14px 36px rgba(101, 67, 36, 0.08);
}

.template-card pre {
  min-width: 0;
  margin: 0;
  white-space: pre-wrap;
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 15px;
  line-height: 1.9;
}

.template-card button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #c98b3f, #a76628);
  color: #fffaf3;
  font-weight: 650;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  padding: 12px 18px;
  border: 1px solid rgba(189, 125, 50, 0.28);
  border-radius: 8px;
  background: rgba(35, 57, 54, 0.94);
  color: #fffaf3;
  box-shadow: 0 20px 48px rgba(35, 57, 54, 0.22);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 4vw, 64px);
  border-top: 1px solid rgba(189, 125, 50, 0.18);
  background: #fffaf3;
  color: var(--muted);
}

.site-footer span {
  color: var(--wine);
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .hero-panel,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 0;
  }

  .hero-panel::before,
  .hero-panel::after,
  .archive-stamp {
    display: none;
  }

  .hero-film {
    order: -1;
    min-height: 340px;
    padding: 10px;
  }

  .film-photo {
    min-height: 340px;
    border-radius: 10px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .resource-head {
    display: none;
  }

  .resource-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .resource-card {
    grid-template-columns: 1fr;
  }

  .cover {
    width: 100%;
    min-height: 190px;
  }

  .disk-list {
    display: flex;
    flex-wrap: wrap;
  }

  .check-time {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-mark,
  .brand-sub {
    display: none;
  }

  .nav-action {
    padding: 10px 13px;
    font-size: 13px;
  }

  .hero-copy {
    padding: 24px 20px 28px;
  }

  .hero-film {
    min-height: 210px;
  }

  .film-photo {
    min-height: 210px;
  }

  .film-photo::before,
  .film-photo::after {
    width: 28px;
  }

  .film-code,
  .film-num {
    display: none;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .search-box {
    grid-template-columns: auto 1fr;
  }

  .search-box button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .quick-entry span {
    grid-column: 1 / -1;
  }

  .quick-entry a {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .resource-card {
    padding: 18px;
  }

  .cover {
    width: 100%;
    min-height: 160px;
  }

  .update-list li {
    grid-template-columns: 1fr;
  }

  .stats-card .stat-grid,
  .collection-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .template-card {
    grid-template-columns: 1fr;
  }

  .template-card button {
    width: 100%;
  }

  .submit-section,
  .site-footer,
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
}
