:root {
  --ink: #25231f;
  --muted: #716c62;
  --paper: #f4f0e7;
  --paper-deep: #e8e0d2;
  --cream: #fbf8f1;
  --line: rgba(37, 35, 31, 0.16);
  --red: #b44535;
  --green: #5f705f;
  --shadow: 0 24px 70px rgba(46, 38, 26, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(41, 37, 30, 0.018) 1px, transparent 1px), var(--paper);
  background-size: 100% 6px;
  font-family:
    Microsoft YaHei,
    PingFang SC,
    Noto Sans CJK SC,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  color: inherit;
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(24px, 6vw, 92px);
  background: rgba(244, 240, 231, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(37, 35, 31, 0.045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--cream);
  background: var(--red);
  border-radius: 50%;
  font-family: KaiTi, STKaiti, serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 4px #ffffff26;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.header-nav a {
  position: relative;
  padding: 8px 0;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.header-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.header-nav a:after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.header-nav a.active {
  color: var(--ink);
}
.header-nav a.active:after {
  transform: scaleX(1);
}
.header-nav .nav-manage {
  padding: 10px 16px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.hero,
.members-section,
.memory-section,
.about-section {
  scroll-margin-top: 86px;
}
.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 86px);
  padding: clamp(70px, 10vh, 126px) clamp(24px, 7vw, 112px) 64px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 48px;
}
.hero:before {
  position: absolute;
  top: 12%;
  left: 42%;
  width: 42vw;
  height: 42vw;
  max-width: 640px;
  max-height: 640px;
  content: "";
  border: 1px solid rgba(180, 69, 53, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero:after {
  position: absolute;
  right: -6vw;
  bottom: -13vw;
  width: 38vw;
  height: 38vw;
  content: "";
  background: #5f705f1a;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
}
.hero h1 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    "Noto Serif CJK SC",
    serif;
  font-size: clamp(52px, 6.2vw, 96px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.hero-lede {
  max-width: 660px;
  margin: 38px 0 35px;
  color: var(--muted);
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.9;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: gap 0.18s ease;
}
.primary-link:hover {
  gap: 26px;
}
.daily-section {
  position: relative;
  display: grid;
  min-height: clamp(400px, 50svh, 520px);
  padding: clamp(46px, 5.5vh, 64px) clamp(24px, 10vw, 180px);
  overflow: hidden;
  color: #f6e6ba;
  background:
    radial-gradient(circle at 70% 30%, rgba(221, 183, 133, 0.2), transparent 34%),
    linear-gradient(120deg, #684538, #876545 68%, #5b3b32);
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: clamp(50px, 10vw, 180px);
  align-items: center;
}
.daily-date-card {
  display: flex;
  min-height: 276px;
  padding: 20px 24px 21px;
  align-items: stretch;
  flex-direction: column;
  color: #fae8b7;
  background: rgba(92, 55, 43, 0.17);
  border: 1px solid rgba(250, 232, 183, 0.72);
  text-align: center;
}
.daily-date-card > span {
  color: inherit;
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(21px, 1.45vw, 26px);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.daily-date-card > strong {
  margin: 10px 0 13px;
  font-family: "Times New Roman", SimSun, serif;
  font-size: clamp(82px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.8;
}
.daily-date-card > small {
  padding-top: 12px;
  color: rgba(250, 232, 183, 0.86);
  border-top: 1px solid rgba(250, 232, 183, 0.62);
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
}
.daily-date-card > i {
  margin-top: 9px;
  color: rgba(250, 232, 183, 0.76);
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(15px, 1vw, 18px);
  font-style: normal;
  letter-spacing: 0.04em;
  text-align: left;
}
.daily-date-card > em {
  margin-top: auto;
  padding-top: 13px;
  color: inherit;
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(23px, 1.7vw, 28px);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.08em;
}
.daily-quote {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 780px;
  min-height: 230px;
  margin-left: auto;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  text-align: right;
}
.daily-quote > span {
  width: 100%;
  padding-bottom: 16px;
  color: rgba(250, 232, 183, 0.58);
  border-bottom: 1px solid rgba(250, 232, 183, 0.52);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: left;
}
.daily-quote blockquote {
  max-width: 720px;
  margin: auto 0 0;
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1.45;
}
.daily-quote footer {
  margin-top: 26px;
  color: rgba(250, 232, 183, 0.72);
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.daily-orbit {
  position: absolute;
  right: -90px;
  bottom: -150px;
  display: grid;
  width: 390px;
  height: 390px;
  place-items: center;
  color: rgba(250, 232, 183, 0.08);
  border: 1px solid rgba(250, 232, 183, 0.18);
  border-radius: 50%;
  font-family: KaiTi, STKaiti, serif;
  font-size: 140px;
  transform: rotate(10deg);
}
.hero-collage {
  position: relative;
  z-index: 2;
  width: min(40vw, 580px);
  height: min(54vw, 630px);
  margin: auto;
}
.collage-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  color: #ffffffeb;
  border: 10px solid var(--cream);
  box-shadow: var(--shadow);
  font-family:
    SimSun,
    Songti SC,
    serif;
}
.collage-card:before,
.collage-card:after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.collage-card:after {
  background: #ffffff29;
}
.collage-card span,
.collage-card small {
  position: relative;
  z-index: 2;
}
.collage-card span {
  font-size: 22px;
}
.collage-card small {
  margin-top: 5px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.collage-card-one {
  top: 0;
  left: 2%;
  width: 57%;
  height: 46%;
  background:
    linear-gradient(145deg, transparent 45%, rgba(74, 92, 72, 0.5)), #8fa18d;
  transform: rotate(-5deg);
}
.collage-card-one:before {
  top: 12%;
  left: 13%;
  width: 36%;
  height: 36%;
  background: #d6c18e;
  box-shadow: 54px 28px #e7ddbda6;
}
.collage-card-one:after {
  right: -16%;
  bottom: -14%;
  width: 70%;
  height: 70%;
}
.collage-card-two {
  top: 17%;
  right: 1%;
  width: 54%;
  height: 53%;
  background: linear-gradient(to bottom, #99bdca 0 54%, #738e87 55% 100%);
  transform: rotate(7deg);
}
.collage-card-two:before {
  top: 12%;
  right: 12%;
  width: 22%;
  height: 22%;
  background: #efcf8a;
}
.collage-card-two:after {
  bottom: 25%;
  left: -13%;
  width: 120%;
  height: 26%;
  background: #ffffff38;
  border-radius: 50% 50% 0 0;
}
.collage-card-three {
  bottom: 2%;
  left: 18%;
  width: 58%;
  height: 41%;
  background:
    radial-gradient(circle at 72% 25%, #eec371 0 6%, transparent 7%),
    linear-gradient(145deg, #6e7782, #363e49);
  transform: rotate(-2deg);
}
.collage-card-three:before {
  right: 12%;
  bottom: 0;
  width: 55%;
  height: 62%;
  background: #181d2280;
  border-radius: 80% 20% 0 0;
}
.collage-card-three:after {
  top: 20%;
  left: 10%;
  width: 19%;
  height: 19%;
}
.collage-stamp {
  position: absolute;
  right: 1%;
  bottom: 10%;
  z-index: 4;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--red);
  background: #f4f0e7eb;
  border: 2px solid var(--red);
  border-radius: 50%;
  font-family: KaiTi, STKaiti, serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  transform: rotate(11deg);
}
.hero-stats {
  position: absolute;
  bottom: 42px;
  left: clamp(24px, 7vw, 112px);
  display: flex;
  gap: clamp(18px, 2.5vw, 36px);
}
.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-stats strong {
  font-family: SimSun, serif;
  font-size: 24px;
  font-weight: 400;
}
.hero-stats span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.members-section {
  padding: 118px clamp(24px, 6vw, 92px) 132px;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 86px;
}
.members-heading {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(32px, 7vw, 110px);
}
.members-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.members-heading > p {
  margin: 0 0 4px;
  color: #f4f0e794;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 16px;
  line-height: 1.9;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
}
.member-card {
  grid-column: span 4;
  color: var(--ink);
  background: var(--paper);
}
.member-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.member-photo-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.member-photo:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(24, 22, 19, 0.3), transparent 32%);
  pointer-events: none;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.member-photo > .member-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #f4ead8;
  background:
    radial-gradient(circle at 74% 22%, rgba(232, 199, 148, 0.32), transparent 26%),
    linear-gradient(145deg, #5f7568, #303d38 72%);
  font-family: SimSun, Songti SC, serif;
  letter-spacing: 0;
}
.member-photo-placeholder b {
  font-family: "Times New Roman", SimSun, serif;
  font-size: clamp(94px, 10vw, 154px);
  font-weight: 400;
  line-height: 0.82;
  opacity: 0.82;
}
.member-photo-placeholder em {
  margin-top: 30px;
  font-size: clamp(24px, 2vw, 34px);
  font-style: normal;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}
.member-photo-placeholder i {
  margin-top: 12px;
  color: rgba(244, 234, 216, 0.66);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.22em;
}
.member-card:hover .member-photo img {
  transform: scale(1.025);
}
.member-photo > span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--cream);
  font-family:
    Times New Roman,
    serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.member-photo > small {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.member-card:hover .member-photo > small,
.member-photo:focus-visible > small {
  opacity: 1;
  transform: translateY(0);
}
.member-info {
  padding: 25px 26px 28px;
}
.member-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.member-name-row h3 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(32px, 2.5vw, 42px);
  font-weight: 500;
}
.member-tagline {
  min-height: 2.4em;
  margin: 24px 0 28px;
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(23px, 1.9vw, 31px);
  line-height: 1.3;
}
.member-details {
  display: grid;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.member-details p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  gap: 8px;
}
.member-details p + p {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.member-details span {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.member-details strong {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.45;
}
.member-like {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 22px;
  padding: 16px 0 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease;
}
.member-like:hover,
.member-like.liked {
  color: var(--red);
}
.member-like > span {
  margin-right: 9px;
  font-size: 21px;
  line-height: 1;
}
.member-like > strong {
  font-family:
    Times New Roman,
    serif;
  font-size: 19px;
  font-weight: 500;
}
.member-like > small {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.member-like:disabled {
  cursor: default;
  opacity: 1;
}
.member-static-link {
  display: flex;
  width: 100%;
  margin-top: 22px;
  padding: 16px 0 0;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    color 0.18s ease,
    padding-left 0.18s ease;
}
.member-static-link:hover {
  padding-left: 5px;
  color: var(--red);
}
.member-static-link > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.member-static-link > small {
  font-size: 11px;
  letter-spacing: 0.06em;
}
.member-comments {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.member-comment-summary {
  display: grid;
  width: 100%;
  margin-top: 14px;
  padding: 15px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  gap: 10px;
}
.member-comment-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.member-comment-count b {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.member-comment-count strong {
  font-family: "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}
.member-comment-count small,
.member-comment-enter {
  color: var(--muted);
  font-size: 11px;
}
.member-comment-latest {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.member-comment-latest strong {
  color: var(--ink);
  font-family: SimSun, Songti SC, serif;
  font-size: 13px;
  white-space: nowrap;
}
.member-comment-latest em {
  display: -webkit-box;
  overflow: hidden;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.member-comment-empty {
  color: var(--muted);
  font-family: KaiTi, STKaiti, serif;
  font-size: 14px;
}
.member-comment-enter {
  justify-self: end;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.member-comment-summary:hover .member-comment-enter {
  color: var(--red);
}
.comments-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.comments-toggle > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.comments-toggle > strong {
  margin-left: 8px;
  color: var(--muted);
  font-family:
    Times New Roman,
    serif;
  font-size: 17px;
  font-weight: 500;
}
.comments-toggle > small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.comments-toggle > i {
  display: grid;
  width: 25px;
  height: 25px;
  margin-left: 10px;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(180, 69, 53, 0.42);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
}
.comments-drawer {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px dashed var(--line);
}
.comment-form {
  padding: 16px;
  background: var(--paper-deep);
}
.comment-form label {
  display: grid;
  margin-bottom: 12px;
  gap: 7px;
}
.comment-form label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px 11px;
  background: #fbf8f1d1;
  border: 1px solid rgba(37, 35, 31, 0.14);
  border-radius: 0;
  font-size: 12px;
  resize: vertical;
}
.comment-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comment-form > div small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
}
.comment-form > div button {
  padding: 8px 13px;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: 11px;
}
.comment-form > div button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.comment-form > p {
  margin: 10px 0 0;
  color: var(--red);
  font-size: 10px;
}
.comment-list {
  max-height: 350px;
  margin-top: 14px;
  overflow: auto;
  overscroll-behavior: contain;
}
.comment-list article {
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.comment-list article:first-child {
  border-top: 0;
}
.comment-list header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.comment-list header strong {
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 14px;
}
.comment-list header time {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
}
.comment-list article p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.comment-empty {
  padding: 18px 2px 4px;
  color: var(--muted);
  font-family: KaiTi, STKaiti, serif;
  font-size: 15px;
}
.member-profile-page {
  min-height: 100svh;
  background: var(--cream);
}
.profile-header {
  position: relative;
  background: var(--cream);
}
.brand-button,
.profile-back {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.brand-button {
  display: flex;
  align-items: center;
}
.profile-back {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.profile-hero {
  display: grid;
  min-height: calc(100svh - 84px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
}
.profile-portrait {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--paper-deep);
}
.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-portrait-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 720px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #f4ead8;
  background:
    radial-gradient(circle at 72% 20%, rgba(232, 199, 148, 0.32), transparent 27%),
    linear-gradient(145deg, #5f7568, #303d38 72%);
  font-family: SimSun, Songti SC, serif;
}
.profile-portrait-placeholder b {
  font-family: "Times New Roman", SimSun, serif;
  font-size: clamp(150px, 18vw, 280px);
  font-weight: 400;
  line-height: 0.8;
  opacity: 0.8;
}
.profile-portrait-placeholder strong {
  margin-top: 40px;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}
.profile-portrait-placeholder small {
  margin-top: 16px;
  color: rgba(244, 234, 216, 0.66);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.profile-portrait > span {
  position: absolute;
  left: 28px;
  bottom: 25px;
  padding: 8px 11px;
  color: var(--cream);
  background: #1f1d1ab8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.profile-copy {
  display: flex;
  padding: clamp(48px, 7vw, 120px);
  justify-content: center;
  flex-direction: column;
}
.profile-copy h1 {
  margin: 16px 0 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(62px, 7vw, 116px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.profile-copy blockquote {
  margin: 32px 0 38px;
  font-family: KaiTi, STKaiti, serif;
  font-size: clamp(27px, 2.4vw, 42px);
  line-height: 1.4;
}
.profile-copy dl {
  display: grid;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-copy dl > div {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.profile-copy dl > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.profile-copy dt {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.profile-copy dd {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(17px, 1.3vw, 22px);
}
.profile-static-note {
  margin: 34px 0 0;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.profile-like {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 14px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.profile-like.liked {
  color: var(--red);
}
.profile-like > span {
  margin-right: 9px;
  font-size: 22px;
}
.profile-like > strong {
  font-family:
    Times New Roman,
    serif;
  font-size: 20px;
  font-weight: 500;
}
.profile-like > small {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
}
.profile-memories {
  padding: 110px clamp(24px, 6vw, 92px) 140px;
}
.profile-memories .section-heading > p {
  color: var(--muted);
  font-size: 12px;
}
.profile-memory-empty {
  padding: 72px 28px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.profile-memory-empty p {
  margin: 0 0 9px;
  color: var(--ink);
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 24px;
}
.profile-footer {
  background: var(--paper);
}
.members-coming {
  position: relative;
  display: flex;
  min-height: 420px;
  padding: clamp(32px, 6vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(244, 240, 231, 0.18);
  grid-column: span 8;
  flex-direction: column;
  justify-content: center;
}
.members-coming:after {
  position: absolute;
  right: -10%;
  bottom: -54%;
  width: 60%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(180, 69, 53, 0.55);
  border-radius: 50%;
}
.members-coming > span {
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.members-coming p {
  max-width: 560px;
  margin: 22px 0 14px;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.2;
}
.members-coming small {
  color: #f4f0e780;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.memory-section {
  padding: 110px clamp(24px, 6vw, 92px) 140px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}
.section-heading h2,
.about-section h2,
.manage-intro h1 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.section-heading .section-kicker {
  margin-bottom: 14px;
}
.filters {
  display: flex;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filters button {
  min-width: 66px;
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}
.filters button.active {
  color: var(--cream);
  background: var(--ink);
}
.category-filters {
  display: flex;
  margin: -35px 0 52px;
  padding-bottom: 4px;
  overflow-x: auto;
  gap: 9px;
  scrollbar-width: thin;
}
.category-filters button {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(37, 35, 31, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
}
.category-filters button.active {
  color: var(--cream);
  background: var(--red);
  border-color: var(--red);
}
.memory-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(38px, 5vw, 76px) clamp(18px, 3vw, 42px);
}
.memory-card {
  grid-column: span 4;
}
.memory-card:nth-child(6n + 1),
.memory-card:nth-child(6n + 5) {
  grid-column: span 5;
}
.memory-card:nth-child(6n + 2),
.memory-card:nth-child(6n + 4) {
  grid-column: span 3;
}
.memory-card:nth-child(6n + 3),
.memory-card:nth-child(6n + 6) {
  grid-column: span 4;
}
.memory-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}
.memory-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.memory-card:nth-child(4n + 2) .memory-frame {
  aspect-ratio: 4 / 3;
  margin-top: 12%;
}
.memory-card:nth-child(4n + 3) .memory-frame {
  aspect-ratio: 1 / 1;
}
.memory-card:nth-child(4n) .memory-frame {
  aspect-ratio: 3 / 4;
}
.memory-frame img,
.memory-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}
.video-preview {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--cream);
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(180, 69, 53, 0.32),
      transparent 28%
    ),
    linear-gradient(145deg, #34312c, #1f1d1a 68%);
}
.video-preview > span {
  display: grid;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.45);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 18px;
}
.memory-open:hover .memory-frame img,
.memory-open:hover .memory-frame video {
  transform: scale(1.035);
  filter: saturate(1.05);
}
.open-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--cream);
  background: #1f1d1acc;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.memory-open:hover .open-hint {
  opacity: 1;
  transform: translateY(0);
}
.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  color: #fff;
  background: #0000009e;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.load-more {
  display: flex;
  margin-top: 72px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.load-more button {
  min-width: 170px;
  padding: 13px 22px;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.load-more span {
  color: var(--muted);
  font-size: 10px;
}
.memory-meta {
  padding-top: 18px;
}
.memory-meta > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.memory-meta > div span:before {
  margin-right: 8px;
  content: "·";
}
.memory-meta h3 {
  margin: 8px 0 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
}
.memory-meta p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.empty-gallery {
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 80px 24px;
  text-align: center;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  border: 1px solid var(--line);
}
.empty-film {
  display: flex;
  gap: 7px;
  margin-bottom: 40px;
  padding: 10px;
  border: 1px solid var(--ink);
}
.empty-film span {
  width: 44px;
  height: 58px;
  background: var(--paper-deep);
}
.empty-film span:nth-child(2) {
  background: var(--green);
}
.empty-gallery .section-kicker {
  margin-bottom: 14px;
}
.empty-gallery h3 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
}
.empty-gallery > p:not(.section-kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.empty-gallery a {
  margin-top: 30px;
  padding: 13px 22px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
}
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: clamp(20px, 4vw, 58px);
  place-items: center;
  background: #161513f0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 200;
}
.lightbox-content {
  display: grid;
  width: min(1180px, 100%);
  max-height: calc(100svh - 80px);
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.28fr);
  gap: 38px;
  align-items: end;
}
.lightbox-media {
  display: grid;
  min-height: 0;
  place-items: center;
}
.lightbox-media img,
.lightbox-media video {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 100px);
  object-fit: contain;
}
.lightbox-caption {
  padding-bottom: 16px;
  color: #fff;
}
.lightbox-caption p {
  margin: 0 0 14px;
  color: #ffffff8c;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.lightbox-caption h2 {
  margin: 0 0 14px;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
}
.lightbox-caption span {
  color: #ffffffb8;
  font-family:
    SimSun,
    Songti SC,
    serif;
  line-height: 1.8;
}
.about-section {
  display: grid;
  padding: 72px clamp(24px, 7vw, 112px);
  background: var(--green);
  color: #f4f0e7;
  grid-template-columns: 0.22fr 1fr 0.55fr;
  gap: 36px;
  align-items: start;
}
.about-section .section-kicker {
  color: #d5b791;
}
.about-section > div p {
  max-width: 660px;
  margin: 18px 0 0;
  color: #ffffffb3;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 16px;
  line-height: 1.85;
}
.about-section blockquote {
  margin: 20px 0 0;
  padding: 10px 0 0 22px;
  color: #ffffffd4;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-family: KaiTi, STKaiti, serif;
  font-size: 18px;
  line-height: 1.7;
}
.site-footer {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  padding: 36px clamp(24px, 6vw, 92px);
  background: var(--ink);
  color: #ffffffb8;
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer p {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 14px;
}
.brand-mark-small {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.site-footer > a {
  padding-bottom: 6px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.manage-shell {
  min-height: 100svh;
  padding: 0 clamp(20px, 5vw, 72px) 80px;
  background:
    linear-gradient(90deg, rgba(37, 35, 31, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 100%;
}
.manage-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.manage-header > div {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}
.manage-header > div a {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.manage-intro {
  display: grid;
  padding: 76px 0 62px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}
.manage-intro .section-kicker {
  margin-bottom: 14px;
}
.manage-intro > p {
  max-width: 560px;
  margin: 0 0 4px;
  color: var(--muted);
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 16px;
  line-height: 1.9;
}
.manage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: start;
}
.upload-panel,
.library-panel {
  background: var(--cream);
  border: 1px solid var(--line);
}
.upload-panel {
  padding: clamp(24px, 4vw, 50px);
}
.library-panel {
  position: sticky;
  top: 22px;
  padding: clamp(22px, 3vw, 34px);
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.panel-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(180, 69, 53, 0.42);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
}
.panel-heading h2 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 25px;
  font-weight: 500;
}
.panel-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.drop-zone {
  position: relative;
  display: flex;
  min-height: 290px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 36px;
  text-align: center;
  background: var(--paper);
  border: 1px dashed rgba(37, 35, 31, 0.35);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.drop-zone.dragging {
  background: #eee5d4;
  border-color: var(--red);
}
.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.drop-plus {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 200;
}
.drop-zone h3 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 22px;
  font-weight: 500;
}
.drop-zone p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 12px;
}
.drop-zone button,
.upload-submit {
  padding: 11px 20px;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}
.drop-zone button:disabled,
.upload-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.file-queue {
  margin-top: 20px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.file-queue > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.file-queue > div strong {
  color: var(--ink);
}
.file-queue ul,
.manage-library {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.file-queue li {
  display: grid;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.file-kind {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 9px;
}
.file-kind.video {
  background: var(--red);
}
.file-queue li > div {
  min-width: 0;
}
.file-queue li strong,
.file-queue li span {
  display: block;
}
.file-queue li strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-queue li div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.file-queue li button {
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 20px;
}
.metadata-heading {
  margin-top: 42px;
}
.metadata-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.metadata-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metadata-form label > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.metadata-form .full-field {
  grid-column: 1 / -1;
}
.metadata-form input,
.metadata-form textarea,
.metadata-form select,
.media-archive-editor select {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 13px;
  resize: vertical;
}
.metadata-form input::placeholder,
.metadata-form textarea::placeholder {
  color: #aaa397;
}
.member-picker {
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: #efe9de7a;
  border: 1px solid var(--line);
}
.member-picker legend {
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.member-picker > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
}
.member-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.member-picker label {
  display: flex;
  padding: 7px 10px;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}
.member-picker input {
  width: auto;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}
.upload-progress {
  margin-top: 24px;
  padding: 16px;
  background: var(--paper);
}
.upload-progress > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11px;
}
.upload-progress progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  appearance: none;
}
.upload-progress progress::-webkit-progress-bar {
  background: var(--paper-deep);
}
.upload-progress progress::-webkit-progress-value {
  background: var(--red);
}
.success-message,
.error-message {
  margin: 20px 0 0;
  padding: 13px 14px;
  font-size: 12px;
}
.success-message {
  color: #345138;
  background: #e0eadf;
}
.error-message {
  color: #843328;
  background: #f3ded9;
}
.upload-submit {
  width: 100%;
  margin-top: 24px;
  padding: 15px 22px;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.manage-library {
  max-height: 60svh;
  overflow: auto;
  overscroll-behavior: contain;
}
.media-archive-editor {
  display: grid;
  margin: 0 0 20px;
  padding: 16px;
  background: var(--paper-deep);
  gap: 14px;
}
.media-archive-editor > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.media-archive-editor > div:first-child button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
}
.media-archive-editor > label {
  display: grid;
  gap: 7px;
}
.media-archive-editor > label > span,
.media-archive-editor legend {
  font-size: 10px;
  font-weight: 700;
}
.member-picker.compact {
  padding: 12px;
  background: var(--paper);
}
.media-archive-editor > button {
  padding: 10px 12px;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: 11px;
}
.manage-library li {
  display: grid;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.library-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--paper-deep);
}
.library-thumb img,
.library-thumb video,
.library-thumb .video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.library-thumb .video-preview > span {
  width: 28px;
  height: 28px;
  font-size: 9px;
}
.manage-library li > div:nth-child(2) {
  min-width: 0;
}
.manage-library strong,
.manage-library span {
  display: block;
}
.manage-library strong {
  overflow: hidden;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manage-library span {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manage-library button {
  padding: 5px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
}
.library-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
.manage-library button:hover {
  color: var(--red);
}
.manage-empty {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.manage-empty > span {
  margin-bottom: 15px;
  color: var(--paper-deep);
  font-size: 56px;
}
.manage-empty p {
  margin: 0;
  color: var(--ink);
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 18px;
}
.manage-empty small {
  margin-top: 6px;
}
.view-gallery-link {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.access-denied {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.access-denied h1 {
  max-width: 650px;
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
}
.access-denied > p:not(.section-kicker) {
  max-width: 520px;
  color: var(--muted);
}
.access-denied > a {
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.manage-login-form {
  width: min(100%, 400px);
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.manage-login-form label {
  display: grid;
  gap: 8px;
  text-align: left;
}
.manage-login-form label > span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.manage-login-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff8c;
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
}
.manage-login-form button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 18px;
  font: inherit;
  cursor: pointer;
}
.manage-tabs {
  display: flex;
  gap: 8px;
  padding: 22px 0 0;
  border-bottom: 1px solid var(--line);
}
.manage-tabs button {
  position: relative;
  padding: 13px 20px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.manage-tabs button:after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  content: "";
  background: transparent;
}
.manage-tabs button.active {
  color: var(--ink);
}
.manage-tabs button.active:after {
  background: var(--red);
}
.member-manage-intro {
  padding-bottom: 42px;
}
.member-admin {
  padding: clamp(24px, 4vw, 50px);
  background: var(--cream);
  border: 1px solid var(--line);
}
.member-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.member-admin-toolbar h2 {
  margin: 0;
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 30px;
  font-weight: 500;
}
.member-admin-toolbar p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.member-admin-toolbar > button,
.member-edit-preview > button,
.member-form-actions button {
  padding: 12px 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.member-admin-toolbar > button,
.member-form-actions button[type="submit"] {
  color: var(--cream);
  background: var(--ink);
}
.member-admin-status {
  margin: 20px 0 0;
  padding: 13px 14px;
  color: #345138;
  background: #e0eadf;
  font-size: 12px;
}
.member-edit-form {
  display: grid;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
}
.member-edit-preview {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
  background: var(--paper-deep);
}
.member-edit-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-edit-preview > span {
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 20px;
}
.member-edit-preview input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.member-edit-preview > button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  color: var(--cream);
  background: #25231fe0;
  border-color: transparent;
}
.member-edit-fields {
  min-width: 0;
}
.member-edit-fields .metadata-form {
  margin-top: 6px;
}
.member-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}
.member-form-actions button[type="button"] {
  color: var(--ink);
  background: transparent;
}
.member-form-actions button:disabled,
.member-admin-toolbar > button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.member-admin-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.member-admin-list li {
  display: grid;
  min-height: 104px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 76px minmax(170px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}
.member-admin-list li.hidden {
  opacity: 0.58;
}
.member-admin-list li > img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  background: var(--paper-deep);
}
.member-admin-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.member-admin-summary strong {
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 20px;
}
.member-admin-summary span {
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-admin-summary small {
  margin-top: 7px;
  color: var(--green);
  font-size: 10px;
}
.member-admin-list li.hidden .member-admin-summary small {
  color: var(--red);
}
.member-order-actions,
.member-row-actions {
  display: flex;
  gap: 7px;
}
.member-order-actions button,
.member-row-actions button {
  min-width: 34px;
  padding: 8px 9px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}
.member-order-actions button:hover,
.member-row-actions button:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.member-row-actions button:last-child:hover {
  color: var(--red);
  border-color: var(--red);
}
.member-order-actions button:disabled,
.member-row-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.comment-admin {
  padding: clamp(24px, 4vw, 50px);
  background: var(--cream);
  border: 1px solid var(--line);
}
.comment-admin-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.comment-admin-list li {
  display: grid;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(180px, 0.35fr) minmax(260px, 1fr) auto;
  gap: 26px;
  align-items: start;
}
.comment-admin-meta {
  display: flex;
  flex-direction: column;
}
.comment-admin-meta strong {
  font-family:
    SimSun,
    Songti SC,
    serif;
  font-size: 19px;
}
.comment-admin-meta span,
.comment-admin-meta time {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.comment-admin-list li > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.comment-admin-list li > button {
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}
.comment-admin-list li > button:hover {
  color: var(--red);
  border-color: var(--red);
}
.comment-admin-list li > button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.comment-admin-empty {
  min-height: 360px;
}
@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 120px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 720px;
  }
  .daily-section {
    min-height: 430px;
    padding: 54px clamp(38px, 8vw, 90px);
    grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
    gap: clamp(42px, 8vw, 90px);
  }
  .daily-date-card {
    min-height: 270px;
  }
  .daily-quote {
    min-height: 230px;
  }
  .hero-collage {
    width: min(78vw, 580px);
    height: min(102vw, 630px);
    margin-top: 20px;
  }
  .hero-stats {
    bottom: 40px;
  }
  .members-heading {
    grid-template-columns: 1fr;
  }
  .member-card,
  .members-coming {
    grid-column: span 6;
  }
  .memory-card,
  .memory-card:nth-child(n) {
    grid-column: span 6;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-section blockquote {
    margin-top: 24px;
  }
  .manage-grid {
    grid-template-columns: 1fr;
  }
  .library-panel {
    position: static;
  }
  .manage-library {
    max-height: none;
  }
  .member-edit-form {
    grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  }
  .member-admin-list li {
    grid-template-columns: 70px minmax(150px, 1fr) auto;
  }
  .member-row-actions {
    grid-column: 2 / -1;
    justify-content: flex-end;
  }
  .comment-admin-list li {
    grid-template-columns: minmax(150px, 0.35fr) minmax(220px, 1fr) auto;
  }
  .profile-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .profile-portrait {
    min-height: 72svh;
  }
  .profile-copy {
    padding: 72px clamp(28px, 8vw, 80px);
  }
}
@media (max-width: 680px) {
  .site-header,
  .manage-header {
    min-height: 70px;
  }
  .site-header {
    padding: 0 10px;
  }
  .brand {
    gap: 0;
  }
  .brand > span:last-child {
    display: none;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }
  .header-nav {
    gap: 9px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .header-nav .nav-manage {
    padding: 7px 10px;
    font-size: 10.5px;
  }
  .hero {
    padding: 68px 20px 108px;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }
  .hero-lede {
    margin-top: 28px;
  }
  .daily-section {
    min-height: 390px;
    padding: 46px 20px;
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 24px;
  }
  .daily-date-card {
    min-height: 238px;
    padding: 15px 12px 14px;
  }
  .daily-date-card > span {
    font-size: 17px;
  }
  .daily-date-card > strong {
    margin: 10px 0 13px;
    font-size: 60px;
  }
  .daily-date-card > small {
    padding-top: 11px;
    font-size: 14px;
  }
  .daily-date-card > i {
    margin-top: 8px;
    font-size: 12px;
  }
  .daily-date-card > em {
    font-size: 20px;
  }
  .daily-quote {
    min-height: 238px;
  }
  .daily-quote > span {
    padding-bottom: 11px;
    font-size: 7px;
  }
  .daily-quote blockquote {
    font-size: clamp(22px, 7vw, 30px);
  }
  .daily-quote footer {
    margin-top: 18px;
    font-size: 7px;
  }
  .daily-orbit {
    right: -130px;
    bottom: -180px;
  }
  .desktop-only {
    display: none;
  }
  .hero-collage {
    width: 92vw;
    height: 115vw;
    max-height: 520px;
  }
  .collage-card {
    padding: 16px;
    border-width: 7px;
  }
  .collage-card span {
    font-size: 17px;
  }
  .collage-stamp {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }
  .hero-stats {
    left: 20px;
    right: 20px;
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(4, auto);
    gap: 8px;
  }
  .hero-stats div {
    gap: 5px;
  }
  .hero-stats strong {
    font-size: 21px;
  }
  .hero-stats span {
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .members-section {
    padding: 82px 18px 90px;
  }
  .members-heading {
    margin-bottom: 42px;
  }
  .members-grid {
    display: block;
  }
  .member-card {
    margin-bottom: 22px;
  }
  .member-photo > small {
    opacity: 1;
    transform: none;
  }
  .member-info {
    padding: 22px 20px 24px;
  }
  .member-name-row h3 {
    font-size: 36px;
  }
  .member-tagline {
    font-size: 27px;
  }
  .member-details span {
    font-size: 14px;
  }
  .member-details strong {
    font-size: 18px;
  }
  .members-coming {
    min-height: 300px;
    padding: 34px 24px;
  }
  .memory-section {
    padding: 82px 18px 90px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }
  .category-filters {
    margin: -18px 0 38px;
  }
  .memory-grid {
    display: block;
  }
  .memory-card {
    margin-bottom: 54px;
  }
  .memory-card:nth-child(n) .memory-frame {
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }
  .memory-card:nth-child(2n) .memory-frame {
    aspect-ratio: 4 / 3;
  }
  .lightbox {
    padding: 66px 12px 18px;
  }
  .lightbox-content {
    display: flex;
    max-height: calc(100svh - 90px);
    flex-direction: column;
    gap: 18px;
    overflow: auto;
  }
  .lightbox-media img,
  .lightbox-media video {
    max-height: 65svh;
  }
  .lightbox-caption {
    width: 100%;
  }
  .profile-header {
    padding: 0 18px;
  }
  .profile-back {
    font-size: 10px;
  }
  .profile-portrait {
    min-height: 62svh;
  }
  .profile-portrait-placeholder {
    min-height: 62svh;
  }
  .profile-copy {
    padding: 56px 20px 68px;
  }
  .profile-copy h1 {
    font-size: clamp(58px, 20vw, 82px);
  }
  .profile-copy dl {
    grid-template-columns: 1fr;
  }
  .profile-copy dl > div + div {
    padding-left: 0;
    border-left: 0;
  }
  .profile-memories {
    padding: 82px 18px 90px;
  }
  .profile-memory-empty {
    padding: 50px 18px;
  }
  .about-section {
    padding: 58px 22px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }
  .manage-shell {
    padding: 0 14px 50px;
  }
  .member-picker > div {
    gap: 6px;
  }
  .member-picker label {
    padding: 7px 8px;
  }
  .manage-library li {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .library-actions {
    grid-column: 2;
    justify-content: flex-end;
  }
  .manage-header > div > span {
    display: none;
  }
  .manage-header > div a {
    padding-left: 0;
    border-left: 0;
  }
  .manage-intro {
    padding: 54px 4px 42px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .manage-intro h1 {
    font-size: 46px;
  }
  .manage-tabs {
    overflow-x: auto;
  }
  .manage-tabs button {
    padding-right: 14px;
    padding-left: 14px;
    white-space: nowrap;
  }
  .member-admin {
    padding: 20px 14px;
  }
  .member-admin-toolbar {
    align-items: flex-start;
  }
  .member-admin-toolbar h2 {
    font-size: 25px;
  }
  .member-edit-form {
    padding: 16px;
    grid-template-columns: 1fr;
  }
  .member-edit-preview {
    width: min(100%, 340px);
    margin: auto;
  }
  .member-edit-fields .metadata-form {
    grid-template-columns: 1fr;
  }
  .member-form-actions button {
    flex: 1;
  }
  .member-admin-list li {
    padding: 16px 0;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .member-admin-list li > img {
    width: 68px;
    height: 68px;
  }
  .member-order-actions {
    flex-direction: column;
  }
  .member-row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .member-row-actions button {
    flex: 1;
  }
  .comment-admin {
    padding: 20px 14px;
  }
  .comment-admin-list li {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .comment-admin-list li > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .comment-admin-list li > button {
    grid-column: 2;
    grid-row: 1;
  }
  .upload-panel,
  .library-panel {
    padding: 20px;
  }
  .drop-zone {
    min-height: 250px;
    padding: 24px 14px;
  }
  .metadata-form {
    grid-template-columns: 1fr;
  }
  .metadata-form .full-field {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
  }
}
.header-nav button,
.site-footer button,
.empty-gallery button,
.manage-close {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.header-nav .nav-manage {
  padding: 10px 16px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.header-nav .nav-manage:hover {
  color: var(--red);
  transform: translateY(-1px);
}
.hero-photo {
  position: relative;
  z-index: 2;
  width: min(42vw, 650px);
  margin: auto;
  padding: 12px 12px 58px;
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(1.8deg);
}
.hero-photo:before {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 32px;
  content: "";
  background: #decaa1b8;
  transform: translate(-50%) rotate(-2deg);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-photo > span,
.hero-photo > small {
  position: absolute;
  bottom: 21px;
}
.hero-photo > span {
  left: 24px;
  font-family: KaiTi, STKaiti, serif;
  font-size: 18px;
}
.hero-photo > small {
  right: 24px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.empty-gallery button {
  margin-top: 30px;
  padding: 13px 22px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
}
.site-footer > button {
  padding: 0 0 6px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.manage-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow: auto;
  background: var(--paper);
}
.domestic-manage {
  min-height: 100%;
}
.manage-close {
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
}
.manage-close:hover {
  color: var(--red);
}
.file-queue li:has(.file-kind) {
  grid-template-columns: auto minmax(0, 1fr);
}
@media (max-width: 960px) {
  .hero-photo {
    width: min(82vw, 650px);
    margin-top: 20px;
  }
}
@media (max-width: 680px) {
  .header-nav .nav-manage {
    padding: 7px 9px;
    font-size: 10.5px;
  }
  .hero-photo {
    width: 94vw;
    padding: 8px 8px 50px;
  }
  .hero-photo > span {
    left: 18px;
    bottom: 17px;
    font-size: 15px;
  }
  .hero-photo > small {
    right: 18px;
    bottom: 18px;
  }
}

/* Batch archive and complete media editing */
.library-selection-toolbar {
  display: flex;
  margin: 0 0 14px;
  padding: 11px 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: rgba(239, 233, 222, 0.48);
  font-size: 10px;
}
.library-selection-toolbar > span strong {
  color: var(--red);
  font-size: 14px;
}
.library-selection-toolbar > div {
  display: flex;
  gap: 10px;
}
.library-selection-toolbar button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
}
.library-selection-toolbar button:hover {
  color: var(--red);
}
.bulk-archive-panel {
  display: grid;
  margin: 0 0 20px;
  padding: 16px;
  background: #e7e1d7;
  border-left: 3px solid var(--red);
  gap: 14px;
}
.bulk-archive-panel header strong,
.bulk-archive-panel header span {
  display: block;
}
.bulk-archive-panel header strong {
  font-family: "SimSun", "Songti SC", serif;
  font-size: 18px;
  font-weight: 500;
}
.bulk-archive-panel header span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}
.bulk-archive-panel > label {
  display: grid;
  gap: 7px;
}
.bulk-archive-panel > label > span {
  font-size: 10px;
  font-weight: 700;
}
.bulk-archive-panel select,
.media-archive-editor input,
.media-archive-editor textarea {
  width: 100%;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  resize: vertical;
}
.bulk-archive-panel > button {
  padding: 11px 12px;
  color: var(--cream);
  background: var(--red);
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.media-archive-editor > div:first-child > div strong,
.media-archive-editor > div:first-child > div span {
  display: block;
}
.media-archive-editor > div:first-child > div span {
  max-width: 260px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.media-edit-grid label {
  display: grid;
  gap: 7px;
}
.media-edit-grid label > span {
  font-size: 10px;
  font-weight: 700;
}
.media-edit-grid .full-field {
  grid-column: 1 / -1;
}
.manage-library li {
  grid-template-columns: 24px 58px minmax(0, 1fr) auto;
}
.manage-library li.selected {
  background: rgba(183, 64, 48, 0.06);
}
.library-select {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  cursor: pointer;
}
.library-select input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--red);
}
.library-item-copy {
  min-width: 0;
}
@media (max-width: 680px) {
  .manage-library li {
    grid-template-columns: 24px 52px minmax(0, 1fr);
  }
  .library-actions {
    grid-column: 3;
    justify-content: flex-end;
  }
  .library-thumb {
    width: 52px;
    height: 52px;
  }
  .library-selection-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .bulk-archive-panel,
  .media-archive-editor {
    padding: 14px;
  }
  .media-edit-grid {
    grid-template-columns: 1fr;
  }
  .media-edit-grid .full-field {
    grid-column: auto;
  }
}
/* Cloud quota fallback notice: keeps the archive transparent while originals stay safe. */
.archive-status-notice {
  margin: 18px 0 26px;
  padding: 14px 18px;
  border: 1px solid rgba(178, 73, 56, 0.28);
  background: rgba(178, 73, 56, 0.07);
  color: #6f3b31;
  font-size: 15px;
  line-height: 1.7;
}
