:root {
  --night: #06191e;
  --deep: #0a272e;
  --paper: #f0eee4;
  --mist: #d9e9de;
  --cyan: #69cad0;
  --ocean: #177886;
  --green: #417b60;
  --moss: #9caf79;
  --amber: #e6ad52;
  --line: rgba(233, 242, 235, .16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

.load-status { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 90px 20px; color: rgba(240,238,228,.55); text-align: center; }
.collection-card-cover { background-position: center; background-size: cover; }
.admin-login-form { display: grid; gap: 14px; margin-top: 28px; }
.admin-login-form input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--paper); background: rgba(255,255,255,.05); }
.admin-login-form button { min-height: 48px; border: 0; border-radius: 999px; color: var(--night); background: var(--mist); font-weight: 800; cursor: pointer; }
.admin-login-error { min-height: 1.5em; color: #ef9b89; }
.admin-logout { border: 0; padding: 9px 14px; border-radius: 999px; color: var(--paper); background: rgba(255,255,255,.08); cursor: pointer; }
.admin-editor small { color: rgba(240,238,228,.42); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 18%, rgba(48, 121, 105, .22), transparent 28rem),
    radial-gradient(circle at 87% 34%, rgba(42, 129, 145, .16), transparent 30rem),
    var(--night);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { color: var(--night); background: var(--amber); }

.interactive-canvas {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(6, 25, 30, .73);
  box-shadow: 0 16px 46px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.wordmark {
  font: 400 1.45rem/1 "Baskerville", "Times New Roman", serif;
  letter-spacing: -.04em;
  text-decoration: none;
}
.wordmark span { color: var(--amber); }
.site-links { display: flex; align-items: center; gap: 26px; }
.site-links a { color: rgba(240,238,228,.72); font-size: .82rem; text-decoration: none; transition: color .2s ease; }
.site-links a:hover { color: var(--paper); }
.site-links a:last-child { padding: 10px 16px; border-radius: 999px; color: var(--night); background: var(--mist); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--night); background: var(--paper); cursor: pointer; }

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 104px max(14px, calc((100% - 1180px) / 2)) 54px;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(circle at 9% 16%, rgba(255,255,255,.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 8%, rgba(105,202,208,.62) 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 32%, rgba(230,173,82,.66) 0 1px, transparent 1.4px);
  background-size: 90px 100px, 140px 130px, 170px 180px;
}
.clock-rings {
  position: absolute;
  z-index: -2;
  width: min(72vw, 880px);
  aspect-ratio: 1;
  right: -24vw;
  top: -22vw;
  border: 1px solid rgba(105,202,208,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(105,202,208,.025), 0 0 0 84px rgba(105,202,208,.02);
  animation: orbit 30s linear infinite;
}
.clock-rings::before,
.clock-rings::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(230,173,82,.25);
  border-radius: 50%;
}
.clock-rings::after { inset: 35%; border-style: solid; border-color: rgba(156,175,121,.2); }
@keyframes orbit { to { transform: rotate(360deg); } }

.hero-panel {
  min-height: min(700px, calc(100svh - 158px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius-lg);
  color: var(--night);
  background:
    radial-gradient(circle at 36% 20%, rgba(255,255,255,.94), transparent 28%),
    linear-gradient(135deg, #f1ede1 0%, #c7e3d3 44%, #6cc4cc 100%);
  box-shadow: 0 38px 110px rgba(0,0,0,.33);
}
.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
}
.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-copy .eyebrow { color: #2e7168; }
.hero-copy .eyebrow::before { content: "✦"; margin-right: 10px; color: #b77b22; }
.hero-copy h1 {
  margin: 0;
  font: 500 clamp(2.8rem, 5.5vw, 5.8rem)/1.03 "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -.07em;
}
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 27px 0 0; color: rgba(6,25,30,.69); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.primary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px 0 24px;
  border: 0;
  border-radius: 999px;
  color: var(--night);
  background: rgba(255,255,255,.82);
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(6,25,30,.12);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease;
}
.primary-button span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--green); }
.primary-button:hover { transform: translateY(-3px); background: white; }
.quiet-link { color: var(--night); font-weight: 800; text-underline-offset: 5px; }

.portrait-stage { position: relative; min-height: 560px; overflow: hidden; isolation: isolate; }
.portrait-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; transition: filter .35s ease, transform .7s var(--ease); }
.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #c9e4d4 0%, transparent 21%), linear-gradient(0deg, rgba(3,28,36,.35), transparent 40%);
}
.portrait-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 25%;
  right: 8%;
  bottom: -26%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,139,42,.68), rgba(230,79,15,.18) 48%, transparent 70%);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .22s ease, transform .32s var(--ease);
  mix-blend-mode: screen;
  pointer-events: none;
}
.portrait-stage.is-ignited::after { opacity: 1; transform: scale(1.05); }
.portrait-stage.is-ignited > img { filter: saturate(1.14) contrast(1.04); transform: scale(1.012); }
.ocean-touch-zone {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
}
.ocean-touch-zone span,
.energy-label { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(3,28,36,.4); backdrop-filter: blur(10px); font-size: .66rem; letter-spacing: .06em; }
.energy-label { position: absolute; z-index: 5; top: 24px; right: 24px; }

.grass-bank {
  --sway: 0deg;
  --lift: 0px;
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 88px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  pointer-events: none;
}
.grass-bank i { display: block; width: 5px; height: calc(24px + (var(--blade, 1) * 28px)); border-radius: 100% 0; background: linear-gradient(#7fb184, #1f594c); transform: translateY(var(--lift)) rotate(calc(var(--sway) + var(--angle, 0deg))); transform-origin: bottom; transition: transform .38s var(--ease); }
.grass-bank i:nth-child(3n) { --angle: 13deg; height: 62px; }
.grass-bank i:nth-child(3n + 1) { --angle: -11deg; height: 46px; }

.edge-flora {
  --sway: 0deg;
  --lift: 0px;
  position: fixed;
  z-index: 8;
  width: 90px;
  height: 260px;
  bottom: 5vh;
  pointer-events: none;
  transition: transform .45s var(--ease);
  transform: translateY(var(--lift)) rotate(var(--sway));
  transform-origin: bottom;
}
.edge-flora-left { left: -28px; }
.edge-flora-right { right: -30px; transform: translateY(var(--lift)) scaleX(-1) rotate(var(--sway)); }
.edge-flora::before { content: ""; position: absolute; left: 45px; bottom: 0; width: 4px; height: 240px; border-radius: 99px; background: linear-gradient(#487f5f, #193f35); transform: rotate(-8deg); }
.edge-flora i { position: absolute; left: 35px; width: 48px; height: 22px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #6f9b6f, #2d6652); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.edge-flora i:nth-child(1) { bottom: 58px; transform: rotate(-18deg) translateX(-18px); }
.edge-flora i:nth-child(2) { bottom: 106px; transform: rotate(35deg) translateX(16px); }
.edge-flora i:nth-child(3) { bottom: 154px; transform: rotate(-28deg) translateX(-18px); }
.edge-flora i:nth-child(4) { bottom: 200px; transform: rotate(31deg) translateX(14px); }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.about-section { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.about-grid h2,
.section-heading h2 {
  margin: 0;
  font: 400 clamp(2.5rem, 5vw, 5rem)/1.12 "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -.055em;
}
.about-grid > div { padding: 25px 0 4px; border-top: 1px solid var(--line); color: rgba(240,238,228,.64); }
.about-grid strong { color: var(--paper); }
.about-grid span { display: inline-block; margin-top: 20px; color: var(--cyan); font-size: .78rem; letter-spacing: .08em; }

.content-section { padding: 110px 0 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.section-heading > div > p:last-child { margin: 18px 0 0; color: rgba(240,238,228,.55); }
.section-heading > b { color: rgba(240,238,228,.18); font: 400 4.5rem/1 "Baskerville", serif; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collection-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: -14px 0 54px; }
.collection-card { min-height: 250px; display: grid; grid-template-columns: minmax(190px, .78fr) minmax(0, 1.22fr); overflow: hidden; border: 1px solid rgba(105,202,208,.2); border-radius: var(--radius-md); color: inherit; background: linear-gradient(145deg, rgba(105,202,208,.08), rgba(10,37,43,.94)); text-decoration: none; transition: transform .32s var(--ease), border-color .32s ease, box-shadow .32s ease; }
.collection-card:hover { transform: translateY(-7px); border-color: rgba(105,202,208,.5); box-shadow: 0 28px 64px rgba(0,0,0,.28); }
.collection-card-cover { position: relative; min-height: 250px; overflow: hidden; background-position: center; background-size: cover; }
.collection-card-cover::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; right: -20%; top: -18%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.04), 0 0 0 56px rgba(255,255,255,.025); }
.collection-card-cover span { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(6,25,30,.55); backdrop-filter: blur(8px); font-size: .68rem; }
.collection-card-cover b { position: absolute; left: 18px; bottom: 14px; color: rgba(255,255,255,.72); font: 400 3.4rem/1 "Baskerville", serif; }
.collection-card-copy { min-width: 0; display: flex; flex-direction: column; padding: 25px; }
.collection-card-copy p { margin: 0; color: var(--cyan); font-size: .7rem; letter-spacing: .08em; }
.collection-card-copy h3 { margin: 13px 0 10px; font: 500 1.55rem/1.25 "Songti SC", serif; }
.collection-card-copy > span { color: rgba(240,238,228,.56); font-size: .86rem; line-height: 1.7; }
.collection-card-copy strong { margin-top: auto; padding-top: 26px; color: var(--paper); font-size: .78rem; }
.latest-content-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.latest-content-heading h3 { margin: 0; font: 500 1.45rem/1.2 "Songti SC", serif; }
.latest-content-heading span { color: rgba(240,238,228,.42); font-size: .75rem; }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #0a252b; transition: transform .32s var(--ease), box-shadow .32s ease; }
.content-card:hover { transform: translateY(-7px); box-shadow: 0 24px 54px rgba(0,0,0,.26); }
.content-card > button { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.content-cover { position: relative; aspect-ratio: 1.28; overflow: hidden; background-position: center; background-size: cover; }
.tone-0 { background: linear-gradient(145deg, #c0ddce, #428b81 48%, #073b49); }
.tone-1 { background: linear-gradient(145deg, #17353d, #14727a 54%, #d3a34e); }
.tone-2 { background: linear-gradient(145deg, #153846, #257c87 52%, #a4dad0); }
.tone-3 { background: linear-gradient(145deg, #d9c99b, #6f936e 50%, #184c46); }
.content-cover::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -10%; top: -16%; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.04), 0 0 0 52px rgba(255,255,255,.035); }
.content-cover span { position: absolute; top: 15px; left: 15px; padding: 6px 10px; border-radius: 999px; background: rgba(6,25,30,.55); backdrop-filter: blur(8px); font-size: .7rem; }
.content-cover strong { position: absolute; right: 16px; bottom: 9px; color: rgba(255,255,255,.65); font: 400 3.5rem/1 "Baskerville", serif; }
.content-card-copy { padding: 23px; }
.content-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--cyan); font-size: .72rem; }
.content-meta b { color: var(--amber); }
.content-card h3 { margin: 13px 0 9px; font: 500 1.3rem/1.35 "Songti SC", serif; }
.content-card p { min-height: 3.3em; margin: 0; color: rgba(240,238,228,.55); font-size: .87rem; }
.content-action { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: .8rem; }
.content-action i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--night); background: var(--mist); font-style: normal; }
.empty-public { grid-column: 1 / -1; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: rgba(240,238,228,.5); text-align: center; }
.help-section { position: relative; padding: 120px 0 140px; background: linear-gradient(180deg, rgba(65,123,96,.02), rgba(65,123,96,.14), rgba(65,123,96,.02)); }
.help-contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.help-contact-layout.no-wechat { grid-template-columns: 1fr; }
.help-offer-list { display: grid; gap: 12px; }
.help-offer { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(7,31,37,.62); }
.help-offer > span { color: var(--cyan); font: 400 1.35rem/1 "Baskerville", serif; }
.help-offer h3 { margin: 0 0 9px; font: 500 1.3rem/1.35 "Songti SC", serif; }
.help-offer p { margin: 0; color: rgba(240,238,228,.58); white-space: pre-line; }
.help-offer-image { display: block; width: min(100%, 520px); margin-top: 18px; border-radius: 14px; }
.wechat-card-panel { position: sticky; top: 96px; padding: 24px; border: 1px solid rgba(105,202,208,.28); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(105,202,208,.1), rgba(10,37,43,.92)); box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.wechat-card-image { aspect-ratio: 820 / 1214; display: grid; place-items: center; margin: 18px 0 22px; overflow: hidden; border-radius: 20px; background: var(--paper); }
.wechat-card-image img { width: 100%; height: 100%; object-fit: contain; }
.wechat-card-panel h3 { margin: 0 0 9px; font: 500 1.38rem/1.3 "Songti SC", serif; }
.wechat-card-panel > p:last-child { margin: 0; color: rgba(240,238,228,.58); font-size: .88rem; }

footer { width: min(1180px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 38px 0; border-top: 1px solid var(--line); color: rgba(240,238,228,.42); font-size: .76rem; }
footer a { color: var(--cyan); }

.site-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; color: var(--paper); background: #0a252b; box-shadow: 0 34px 100px rgba(0,0,0,.6); }
.site-dialog::backdrop { background: rgba(1,12,15,.8); backdrop-filter: blur(8px); }
.dialog-body { position: relative; padding: clamp(28px, 6vw, 48px); }
.dialog-close { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.06); cursor: pointer; }
.dialog-body h2 { max-width: calc(100% - 50px); margin: 0 0 24px; font: 500 clamp(1.8rem, 5vw, 2.8rem)/1.2 "Songti SC", serif; }
.dialog-body audio, .dialog-body video, .dialog-body img { width: 100%; margin: 24px 0; border-radius: 16px; }
.dialog-copy { color: rgba(240,238,228,.68); white-space: pre-line; }
.download-link { display: inline-flex; margin: 8px 0 24px; padding: 13px 18px; border-radius: 999px; color: var(--night); background: var(--mist); font-weight: 800; text-decoration: none; }

/* Admin */
.admin-access { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.admin-access > div { width: min(620px, 100%); padding: clamp(32px, 7vw, 64px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.045); }
.admin-access h1 { margin: 0; font: 500 clamp(2.4rem, 7vw, 4.4rem)/1.08 "Songti SC", serif; }
.admin-access p:not(.section-kicker) { margin: 22px 0 30px; color: rgba(240,238,228,.62); }
.admin-access .quiet-link { display: inline-block; margin-left: 18px; color: var(--paper); }
.admin-shell { min-height: 100svh; padding: 32px; background: #071b20; }
.admin-header { width: min(1440px, 100%); display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 auto 26px; }
.admin-header h1 { margin: 0; font: 500 2.7rem/1 "Songti SC", serif; }
.admin-free-note { margin: 10px 0 0; color: rgba(240,238,228,.46); font-size: .78rem; }
.admin-user { display: flex; align-items: center; gap: 14px; color: rgba(240,238,228,.55); font-size: .82rem; }
.admin-user a { padding: 9px 14px; border-radius: 999px; color: var(--night); background: var(--mist); text-decoration: none; }
.admin-sections { width: min(1440px, 100%); display: flex; gap: 8px; margin: 0 auto 16px; }
.admin-sections button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; color: rgba(240,238,228,.58); background: rgba(255,255,255,.025); cursor: pointer; white-space: nowrap; }
.admin-sections button:hover { border-color: rgba(105,202,208,.4); color: var(--paper); }
.admin-sections button.is-active { border-color: var(--cyan); color: var(--night); background: var(--cyan); }
.admin-sections button span { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .66rem; }
.admin-sections .admin-new-content { margin-left: auto; border-color: rgba(211,163,78,.38); color: #f0c878; background: rgba(211,163,78,.08); }
.admin-layout { width: min(1440px, 100%); min-height: calc(100svh - 150px); display: grid; grid-template-columns: 360px 1fr; gap: 16px; margin: 0 auto; }
.admin-list,
.admin-editor { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.035); }
.admin-list { padding: 14px; }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 18px; }
.admin-list-head button { padding: 8px 12px; border: 0; border-radius: 999px; color: var(--night); background: var(--mist); font-weight: 800; cursor: pointer; }
.admin-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; padding: 7px; border: 1px solid transparent; border-radius: 16px; background: rgba(255,255,255,.03); }
.admin-item.is-active { border-color: rgba(105,202,208,.42); background: rgba(105,202,208,.08); }
.admin-item-main { min-width: 0; display: grid; gap: 3px; padding: 7px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.admin-item-main span { color: rgba(240,238,228,.44); font-size: .68rem; }
.admin-item-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-admin-item { width: 100%; display: grid; gap: 5px; margin-bottom: 8px; padding: 15px; border: 1px solid transparent; border-radius: 16px; color: var(--paper); background: rgba(255,255,255,.03); text-align: left; cursor: pointer; }
.collection-admin-item:hover { background: rgba(255,255,255,.055); }
.collection-admin-item.is-active { border-color: rgba(105,202,208,.42); background: rgba(105,202,208,.08); }
.collection-admin-item span { color: rgba(240,238,228,.43); font-size: .68rem; }
.collection-admin-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.publish-toggle { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: rgba(240,238,228,.45); background: transparent; font-size: .68rem; cursor: pointer; }
.publish-toggle.is-on { border-color: rgba(111,185,127,.3); color: #92cf99; background: rgba(85,143,95,.13); }
.admin-empty { padding: 60px 14px; color: rgba(240,238,228,.4); text-align: center; }
.admin-editor { padding: clamp(22px, 4vw, 42px); }
.editor-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 30px; }
.editor-heading span { color: var(--cyan); font-size: .72rem; letter-spacing: .08em; }
.editor-heading h2 { margin: 5px 0 0; font: 500 2rem/1.2 "Songti SC", serif; }
.save-message { color: var(--amber) !important; }
.admin-editor > label,
.field-grid > label { display: grid; gap: 8px; margin-bottom: 20px; }
.admin-editor label > span { color: rgba(240,238,228,.62); font-size: .8rem; }
.admin-editor input:not([type="checkbox"]),
.admin-editor textarea,
.admin-editor select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--paper); background: rgba(255,255,255,.045); outline: 0; }
.admin-editor textarea { resize: vertical; }
.admin-editor input:focus,
.admin-editor textarea:focus,
.admin-editor select:focus { border-color: var(--cyan); }
.admin-editor select option { color: var(--night); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fixed-field { display: grid; gap: 8px; margin-bottom: 20px; }
.fixed-field span { color: rgba(240,238,228,.62); font-size: .8rem; }
.fixed-field strong { min-height: 45px; display: flex; align-items: center; padding: 12px 13px; border: 1px solid rgba(105,202,208,.2); border-radius: 12px; color: var(--cyan); background: rgba(105,202,208,.06); font-size: .88rem; }
.file-field input { padding: 8px !important; }
.file-field small { color: rgba(240,238,228,.38); }
.file-field .remove-upload { display: block; margin-top: 9px; color: rgba(240,238,228,.62); font-size: .78rem; }
.file-field .remove-upload input { width: auto; margin-right: 5px; padding: 0 !important; }
.collection-field small { color: rgba(240,238,228,.42); }
.collection-content-picker { display: grid; gap: 8px; margin: 26px 0 0; padding: 20px; border: 1px solid rgba(105,202,208,.2); border-radius: 18px; background: rgba(105,202,208,.035); }
.collection-content-picker legend { padding: 0 8px; color: var(--cyan); font-weight: 800; }
.collection-content-picker > p { margin: 0 0 10px; color: rgba(240,238,228,.45); font-size: .78rem; }
.collection-content-picker > label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); cursor: pointer; }
.collection-content-picker > label:hover { border-color: rgba(105,202,208,.35); }
.collection-content-picker input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); }
.collection-content-picker label span { min-width: 0; display: grid; gap: 4px; }
.collection-content-picker label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-content-picker label small { color: rgba(240,238,228,.4); }
.wechat-upload { padding: 18px; border: 1px solid rgba(105,202,208,.2); border-radius: 16px; background: rgba(105,202,208,.04); }
.switch-field { grid-template-columns: 1fr auto; align-items: center; align-content: start; }
.switch-field input { position: absolute; opacity: 0; pointer-events: none; }
.switch-field i { position: relative; width: 48px; height: 27px; border-radius: 999px; background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s ease; }
.switch-field i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); transition: transform .22s var(--ease); }
.switch-field input:checked + i { background: var(--green); }
.switch-field input:checked + i::after { transform: translateX(21px); }
.switch-field small { grid-column: 1 / -1; }
.publish-grid { align-items: end; }
.publish-grid small { color: rgba(240,238,228,.38); }
.publish-field { min-height: 76px; margin-top: 4px; }
.editor-actions { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.save-button,
.delete-button { padding: 12px 20px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.save-button { border: 0; color: var(--night); background: var(--mist); }
.delete-button { border: 1px solid rgba(230,110,86,.35); color: #ef9b89; background: transparent; }
.save-button:disabled,
.delete-button:disabled,
.publish-toggle:disabled { opacity: .5; cursor: wait; }

/* Public collection detail */
.collection-page { min-height: 100svh; padding: 26px 26px 90px; background: radial-gradient(circle at 80% 0, rgba(105,202,208,.11), transparent 32%), var(--night); }
.collection-page-header { width: min(1180px, 100%); display: flex; justify-content: space-between; align-items: center; margin: 0 auto 70px; }
.collection-page-header > a:last-child { color: rgba(240,238,228,.62); font-size: .8rem; text-decoration: none; }
.collection-page-header > a:last-child:hover { color: var(--paper); }
.collection-hero { width: min(1180px, 100%); margin: 0 auto 44px; padding: clamp(32px, 7vw, 76px); overflow: hidden; border: 1px solid rgba(105,202,208,.22); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(105,202,208,.13), rgba(10,37,43,.78) 48%, rgba(211,163,78,.09)); }
.collection-hero h1 { max-width: 900px; margin: 14px 0 18px; font: 400 clamp(2.8rem, 7vw, 6.8rem)/1.02 "Songti SC", serif; letter-spacing: -.055em; }
.collection-hero > p:not(.section-kicker) { max-width: 720px; margin: 0; color: rgba(240,238,228,.6); font-size: clamp(.92rem, 1.4vw, 1.08rem); line-height: 1.8; }
.collection-hero-meta { display: flex; gap: 16px; margin-top: 32px; color: var(--cyan); font-size: .74rem; }
.collection-detail-grid { width: min(1180px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 auto; }
.collection-not-found { min-height: 100svh; display: grid; place-items: center; padding: 24px; text-align: center; }
.collection-not-found h1 { margin: 10px 0 14px; font: 500 clamp(2.3rem, 7vw, 4.7rem)/1.1 "Songti SC", serif; }
.collection-not-found p { color: rgba(240,238,228,.58); }
.collection-not-found a { display: inline-flex; margin-top: 18px; padding: 12px 18px; border-radius: 999px; color: var(--night); background: var(--mist); text-decoration: none; font-weight: 800; }

@media (max-width: 920px) {
  .site-links { position: fixed; top: 74px; left: 0; right: 0; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(6,25,30,.97); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s var(--ease); }
  .site-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-links a { padding: 13px; border-bottom: 1px solid var(--line); }
  .site-links a:last-child { margin-top: 8px; border: 0; text-align: center; }
  .menu-toggle { display: block; }
  .hero-section { padding-inline: 14px; padding-top: 94px; }
  .hero-panel { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 28px 36px; }
  .portrait-stage { min-height: 540px; }
  .portrait-stage::before { background: linear-gradient(180deg, #c5e2d3 0%, transparent 18%), linear-gradient(0deg, rgba(3,28,36,.38), transparent 45%); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .collection-library { grid-template-columns: 1fr; }
  .help-contact-layout { grid-template-columns: 1fr; }
  .wechat-card-panel { position: static; display: grid; grid-template-columns: minmax(180px, 280px) 1fr; column-gap: 24px; align-items: center; }
  .wechat-card-panel .section-kicker { grid-column: 1 / -1; }
  .wechat-card-image { grid-row: 2 / span 2; margin-bottom: 0; }
  .edge-flora { opacity: .68; }
  .admin-shell { padding: 20px; }
  .admin-sections { overflow-x: auto; padding-bottom: 3px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-list { max-height: 430px; overflow: auto; }
  .collection-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-actions { width: 100%; }
  .hero-actions .primary-button { width: 100%; justify-content: space-between; }
  .portrait-stage { min-height: 440px; }
  .energy-label { top: 15px; right: 15px; }
  .ocean-touch-zone { padding: 15px; }
  .section-shell { width: calc(100% - 28px); }
  .about-section { padding: 90px 0; }
  .about-grid h2, .section-heading h2 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .content-section, .help-section { padding: 88px 0; }
  .section-heading { align-items: start; margin-bottom: 32px; }
  .section-heading > b { font-size: 2.8rem; }
  .content-grid { grid-template-columns: 1fr; }
  .collection-card { grid-template-columns: 1fr; }
  .collection-card-cover { min-height: 185px; }
  .latest-content-heading { align-items: start; flex-direction: column; gap: 6px; }
  footer { width: calc(100% - 28px); flex-direction: column; }
  .edge-flora { display: none; }
  .admin-header { align-items: start; flex-direction: column; }
  .admin-sections .admin-new-content { margin-left: 0; }
  .admin-user { width: 100%; justify-content: space-between; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .admin-editor { padding: 20px; }
  .editor-heading { flex-direction: column; }
  .wechat-card-panel { display: block; }
  .wechat-card-image { width: min(100%, 340px); margin-inline: auto; }
  .help-offer { grid-template-columns: 40px 1fr; padding: 20px; }
  .collection-page { padding: 20px 14px 64px; }
  .collection-page-header { margin-bottom: 38px; }
  .collection-hero { padding: 30px 24px; }
  .collection-detail-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .interactive-canvas, .edge-flora, .grass-bank { display: none; }
}
