:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #607080;
  --paper: #fffdf7;
  --soft: #f4efe2;
  --line: #ded3bf;
  --brick: #b64b36;
  --teal: #167a7f;
  --gold: #c8932f;
  --green: #497d45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(22px, 3vw, 34px); }
h2 { font-size: clamp(28px, 4.5vw, 56px); line-height: 1.08; }
h3 { font-size: 22px; }
.eyebrow {
  color: var(--brick);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 6px;
}

nav { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-lockup img {
  width: 94px;
  height: 38px;
  object-fit: contain;
  background: white;
  border-radius: 4px;
}
nav a, .button, .chip {
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.primary, .chip.active { background: var(--teal); color: white; border-color: var(--teal); }
.button.danger { border-color: #ca4a39; color: #9f2e22; }
.hidden { display: none !important; }

main { padding: 0 clamp(20px, 5vw, 72px) 72px; }
.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: center;
}
.hero-copy p { margin-top: 20px; font-size: clamp(18px, 2.3vw, 26px); color: var(--muted); line-height: 1.55; max-width: 840px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.prompt-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff7e5, #eef8f7);
  padding: 28px;
  border-radius: 8px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.prompt-card span { color: var(--teal); font-weight: 900; }
.prompt-card strong { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.prompt-card p { color: var(--muted); line-height: 1.5; }

.panel {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.section-heading { margin-bottom: 22px; }
.rowed { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 900;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 112px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.message { margin-top: 12px; color: var(--teal); font-weight: 800; }

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.image-slot {
  aspect-ratio: 4 / 3;
  background: #f3ead7;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 16px;
  font-weight: 900;
}
.image-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-body { padding: 16px; display: grid; gap: 10px; }
.work-meta { color: var(--teal); font-weight: 900; font-size: 14px; }
.award-badge {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(200, 147, 47, 0.45);
  background: #fff4d1;
  color: #7b5510;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 900;
}
.intro { color: var(--muted); line-height: 1.45; }
dl { display: grid; grid-template-columns: 74px 1fr; gap: 6px 10px; margin: 0; font-size: 14px; }
dt { color: var(--muted); font-weight: 900; }
dd { margin: 0; }
blockquote {
  margin: 2px 0 0;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
  color: #6a4b16;
  font-weight: 800;
}

.admin-login { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-login input { max-width: 220px; }
.admin-list { display: grid; gap: 10px; }
.admin-row {
  display: grid;
  grid-template-columns: 1fr minmax(180px, auto) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 12px;
}
.admin-row select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
  padding: 10px;
  font: inherit;
  font-weight: 800;
}
.status { font-weight: 900; color: var(--teal); }
.award-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.award-types span {
  border: 1px solid var(--line);
  background: #fffaf0;
  color: #6a4b16;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero { min-height: auto; padding: 48px 0; grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .rowed { align-items: flex-start; flex-direction: column; }
  .admin-row { grid-template-columns: 1fr; }
}
