:root {
  color-scheme: light;
  --paper: #f6f2e8;
  --paper-warm: #fffaf0;
  --ink: #18211d;
  --muted: #5f6b66;
  --soft: #8f988e;
  --line: rgba(26, 45, 40, 0.11);
  --leaf: #0d6b57;
  --leaf-dark: #0a4037;
  --clay: #c46a3d;
  --aqua: #6ed7c3;
  --sky: #91d9ff;
  --lilac: #c7c0ff;
  --panel: rgba(255, 255, 255, 0.66);
  --shadow: 0 24px 70px rgba(24, 38, 34, 0.11);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 222, 168, 0.62), transparent 24rem),
    radial-gradient(circle at 84% 5%, rgba(203, 246, 227, 0.72), transparent 30rem),
    linear-gradient(135deg, #fffaf0 0%, #f6fbf3 44%, #eff9f8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 999px;
  filter: blur(115px);
  opacity: 0.56;
  pointer-events: none;
}

body::before {
  top: -16vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(255, 205, 121, 0.72), rgba(111, 215, 195, 0.28), transparent 68%);
}

body::after {
  right: -12vw;
  bottom: 8vh;
  background: radial-gradient(circle, rgba(145, 217, 255, 0.68), rgba(199, 192, 255, 0.36), transparent 70%);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 4px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 16px 34px rgba(13, 107, 87, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a,
.site-nav button {
  border: 0;
  padding: 10px 13px;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  color: var(--leaf-dark);
  background: rgba(255, 252, 244, 0.72);
}

.site-nav a[aria-current="page"],
.site-nav button[aria-current="page"] {
  color: var(--leaf-dark);
  background: rgba(255, 252, 244, 0.78);
}

main {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 238px;
  padding: 18px 0 26px;
  text-align: center;
}

.hero-copy {
  width: min(100%, 1020px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: #142820;
  font-family: "Trebuchet MS", "Microsoft YaHei UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 1020px;
  margin: 0 auto;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: clamp(34px, 4.1vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
  background: linear-gradient(90deg, #121918 0%, #0b574a 56%, #122f46 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 760px;
  margin: 15px auto 0;
  color: #34433e;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 650;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.prompt-head button,
.load-more,
.back-top {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 16px 34px rgba(13, 107, 87, 0.2);
}

.gallery-shell {
  padding: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-controls {
  position: sticky;
  top: 12px;
  z-index: 12;
  width: min(1080px, 100%);
  margin: 0 auto 34px;
  padding: 12px 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow:
    0 20px 60px rgba(24, 38, 34, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.member-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 22px 22px 18px;
  color: #314039;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  background: rgba(255, 255, 250, 0.88);
  backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 24px 70px rgba(24, 38, 34, 0.2);
  transform: translate(-50%, -50%);
}

.member-notice[hidden] {
  display: none;
}

.member-notice strong {
  color: var(--leaf-dark);
  font-size: 16px;
}

.member-notice a {
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
}

.notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 250, 0.7);
}

.auth-shell,
.account-shell {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 210px);
  padding: 46px 0 70px;
}

.auth-shell {
  place-items: center;
  padding-top: 34px;
}

.auth-panel,
.account-panel {
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: var(--shadow);
}

.auth-panel {
  width: min(520px, 100%);
  padding: 26px;
}

.account-panel {
  width: min(720px, 100%);
  padding: 26px;
}

.auth-panel-head {
  margin-bottom: 20px;
}

.auth-panel-head h2 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.auth-panel-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(13, 107, 87, 0.08);
}

.auth-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 900;
  background: transparent;
}

.auth-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 12px 26px rgba(13, 107, 87, 0.18);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form[hidden] {
  display: none;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(26, 45, 40, 0.12);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 250, 0.78);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 52px;
}

.text-button {
  border: 0;
  color: var(--leaf-dark);
  font-weight: 900;
  background: transparent;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: rgba(73, 91, 85, 0.62);
  background: transparent;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
  color: var(--leaf-dark);
  background: rgba(13, 107, 87, 0.08);
}

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.check-line input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--leaf);
}

.terms-line {
  align-items: flex-start;
  margin-top: 2px;
}

.terms-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.65;
}

.terms-links {
  white-space: nowrap;
}

.terms-link {
  border: 0;
  border-bottom: 1px solid rgba(13, 107, 87, 0.32);
  padding: 0;
  color: var(--leaf-dark);
  font: inherit;
  font-weight: 900;
  background: transparent;
}

.terms-link:hover,
.terms-link:focus-visible {
  border-bottom-color: var(--leaf-dark);
}

.optional,
.password-hint {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.password-hint {
  margin-top: -6px;
}

.auth-submit,
.account-actions button,
.account-actions a {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 16px 34px rgba(13, 107, 87, 0.18);
}

.auth-submit {
  width: 100%;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.sso-placeholder {
  width: 100%;
  border: 1px dashed rgba(13, 107, 87, 0.22);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 900;
  background: rgba(255, 255, 250, 0.6);
}

.form-message {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-message.is-error {
  color: #a33a2a;
}

.auth-terms-dialog {
  width: min(480px, calc(100vw - 36px));
  height: fit-content;
  min-height: 0;
  max-height: min(500px, calc(100vh - 36px));
}

.auth-terms-panel {
  padding: 34px 34px 30px;
}

.auth-terms-body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.85;
}

.auth-terms-body p {
  margin: 0;
}

.account-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.account-head h1 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0;
  background: none;
}

.account-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 250, 0.7);
}

.account-meta dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.account-meta dd {
  margin: 6px 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.account-actions .ghost {
  color: var(--leaf-dark);
  background: rgba(255, 255, 250, 0.76);
  box-shadow: inset 0 0 0 1px rgba(13, 107, 87, 0.14);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(118px, 150px));
  gap: 8px;
}

.toolbar label {
  position: relative;
  display: grid;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.toolbar label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.toolbar input,
.toolbar select {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  outline: none;
}

.search-box {
  position: relative;
}

.search-box::before {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 12px;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(10, 64, 55, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.search-box::after {
  content: "";
  position: absolute;
  left: 29px;
  bottom: 10px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(10, 64, 55, 0.42);
  transform: rotate(45deg);
  pointer-events: none;
}

.search-box input {
  padding-left: 44px;
}

.toolbar input:focus,
.toolbar select:focus {
  border-color: rgba(13, 107, 87, 0.38);
  box-shadow:
    0 0 0 4px rgba(13, 107, 87, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.load-more-wrap {
  display: grid;
  place-items: center;
  height: 1px;
  margin: 1px auto 0;
  overflow: hidden;
}

.load-more {
  min-width: 132px;
  padding: 11px 22px;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.load-more:not(.is-visible) {
  width: 1px;
  min-width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.load-more.is-visible {
  width: auto;
  height: auto;
  opacity: 1;
  pointer-events: auto;
}

.load-more-wrap:has(.load-more.is-visible) {
  height: auto;
  margin-top: 28px;
  overflow: visible;
}

.load-more:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(13, 107, 87, 0.24);
}

.load-more:disabled {
  cursor: default;
  opacity: 0.5;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-top:hover {
  box-shadow: 0 22px 48px rgba(13, 107, 87, 0.26);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 44px rgba(24, 38, 34, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 74px rgba(24, 38, 34, 0.15);
}

.gallery-card:focus-visible {
  outline: 4px solid rgba(13, 107, 87, 0.18);
  outline-offset: 4px;
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(135deg, rgba(217, 238, 228, 0.92), rgba(242, 245, 244, 0.96));
}

.card-media::before {
  content: attr(data-kind);
  position: absolute;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(13, 107, 87, 0.08);
  border-radius: 50%;
  color: rgba(74, 85, 104, 0.5);
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.46);
}

.card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition: transform 260ms ease;
}

.gallery-card:hover .card-media img {
  transform: scale(1.025);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px;
}

.chip-row span {
  max-width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  color: #4a5568;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(24, 38, 34, 0.06);
}

.site-footer {
  width: min(1480px, calc(100% - 32px));
  margin: 26px auto 52px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.detail-dialog {
  width: min(1120px, calc(100% - 36px));
  height: min(760px, calc(100vh - 36px));
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.statement-dialog,
.feedback-dialog {
  width: min(460px, calc(100% - 36px));
  height: fit-content;
  min-height: 0;
  max-height: min(420px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.media-zoom-dialog {
  width: min(1400px, calc(100vw - 24px));
  height: min(920px, calc(100vh - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 18px;
  background: rgba(12, 16, 15, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.detail-dialog::backdrop,
.statement-dialog::backdrop,
.feedback-dialog::backdrop,
.media-zoom-dialog::backdrop {
  background: rgba(15, 21, 18, 0.62);
  backdrop-filter: blur(5px);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.88);
}

.media-zoom-close {
  top: 16px;
  right: 16px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.media-zoom-dialog img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  height: 100%;
  min-height: 0;
}

.statement-panel {
  padding: 28px 30px 26px;
}

.statement-panel h2,
.feedback-panel h2 {
  margin: 6px 0 14px;
  color: var(--leaf-dark);
  font-size: 24px;
  line-height: 1.18;
}

.statement-panel p:not(.eyebrow) {
  color: #314039;
  font-size: 13px;
  line-height: 1.8;
}

.statement-panel p + p {
  margin-top: 10px;
}

.feedback-panel {
  display: grid;
  gap: 13px;
  padding: 28px 30px 26px;
}

.feedback-intro {
  color: #314039;
  font-size: 13px;
  line-height: 1.8;
}

.feedback-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.feedback-panel input,
.feedback-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: rgba(255, 255, 250, 0.76);
  outline: none;
}

.feedback-panel textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.7;
}

.feedback-panel input:focus,
.feedback-panel textarea:focus {
  border-color: rgba(13, 107, 87, 0.36);
  box-shadow: 0 0 0 3px rgba(13, 107, 87, 0.1);
}

.feedback-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.feedback-actions button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
}

.feedback-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.feedback-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.feedback-status.is-error {
  color: #a33a2a;
}

.detail-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 0;
  padding: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 166, 75, 0.18), transparent 18rem),
    #e7ede2;
}

.detail-media img,
.detail-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(20, 28, 24, 0.16);
}

.ppt-viewer {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.ppt-viewer img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(20, 28, 24, 0.16);
}

.ppt-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 252, 244, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 18px 42px rgba(20, 28, 24, 0.16);
  transform: translateX(-50%);
}

.ppt-nav {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
}

.ppt-nav:disabled {
  cursor: default;
  opacity: 0.32;
}

.detail-copy {
  min-height: 0;
  overflow: auto;
  padding: 28px 34px 30px;
}

.detail-header {
  display: flex;
  align-items: flex-end;
  min-height: 30px;
  margin: 0 56px 18px 0;
}

.detail-eyebrow {
  margin: 0;
}

.detail-copy h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 34px;
  line-height: 1.08;
}

.detail-ad-slot {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  height: 100px !important;
  max-height: 100px !important;
  min-height: 100px !important;
  margin: 4px 56px 14px 0;
  overflow: hidden;
  border: 1px solid rgba(13, 107, 87, 0.1);
  border-radius: 18px;
  background: transparent;
}

.detail-ad-unit {
  position: relative;
  z-index: 1;
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 100px !important;
  max-height: 100px !important;
  min-height: 100px !important;
  overflow: hidden;
}

.detail-ad-unit > * {
  max-height: 100px !important;
}

.detail-ad-unit iframe {
  display: block !important;
  max-height: 100px !important;
  height: 100px !important;
  margin: auto !important;
}

.detail-ad-skeleton {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent),
    linear-gradient(135deg, rgba(13, 107, 87, 0.05), rgba(214, 166, 75, 0.08));
  background-size: 220% 100%, 100% 100%;
  animation: detail-ad-skeleton 1.8s ease-in-out infinite;
}

.detail-ad-slot:has(iframe) .detail-ad-skeleton {
  opacity: 0;
}

@keyframes detail-ad-skeleton {
  0% {
    background-position: 180% 0, 0 0;
  }

  100% {
    background-position: -80% 0, 0 0;
  }
}

.prompt-card {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 250, 0.82);
}

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

.prompt-head button {
  padding: 10px 14px;
}

#detailPrompt {
  color: #27312c;
  line-height: 1.9;
  white-space: pre-wrap;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.detail-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 250, 0.66);
}

.detail-meta dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.detail-note {
  margin-top: 22px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.8;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 24px;
  padding: 54px 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 252, 244, 0.7);
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

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

  .search-box {
    grid-column: 1 / -1;
  }

  .detail-dialog {
    height: min(860px, calc(100vh - 18px));
    width: calc(100% - 18px);
  }

  .detail-media {
    min-height: 46vh;
  }

  .detail-copy {
    padding-top: 34px;
  }

  .detail-header,
  .detail-ad-slot {
    margin-right: 58px;
  }
}

@media (max-width: 560px) {
  .auth-panel {
    border-radius: 22px;
    padding: 22px;
  }

  .inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

  .gallery-shell {
    padding: 12px;
    border-radius: 22px;
  }

  .chip-row {
    padding: 10px;
  }

  h1 {
    letter-spacing: -0.05em;
  }
}

.detail-copy,
.statement-dialog,
.feedback-dialog,
.feedback-panel textarea {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.detail-copy::-webkit-scrollbar,
.statement-dialog::-webkit-scrollbar,
.feedback-dialog::-webkit-scrollbar,
.feedback-panel textarea::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

