@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

:root {
  --green: #2c7a4e;
  --green-dark: #1f5d3d;
  --green-soft: #e7f2eb;
  --gold: #e3a12d;
  --gold-soft: #fff4dc;
  --sky: #2e8db4;
  --sky-soft: #e8f3f7;
  --ink: #2a2748;
  --muted: #5b5780;
  --line: #ece8f5;
  --paper: #fffaf6;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 12px 40px -12px rgba(122, 184, 255, .28), 0 4px 14px -6px rgba(255, 142, 182, .2);
  --max: 1120px;
  --pixel: "DotGothic16", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.notice {
  background: #fff0bf;
  border-bottom: 1px solid #f0dc9c;
  color: #61552c;
  font-size: 13px;
  padding: 7px 16px;
  text-align: center;
}
.notice a { color: #61552c; font-weight: 800; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,250,246,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 68px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}
.brand-project { width: 138px; height: 43px; object-fit: contain; object-position: left center; }
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 11px;
}
.nav-links a.active,
.nav-links a:hover {
  background: #fff;
  border-color: #ffd4e3;
  color: #e56d9b;
  text-decoration: none;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  font-size: 22px;
  padding: 6px 10px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.hero { padding: 56px 0 82px; overflow: hidden; position: relative; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before { bottom: 38px; background: rgba(207,229,255,.48); transform: rotate(-5deg); }
.hero::after { bottom: -15px; background: rgba(255,212,227,.52); transform: rotate(4deg); }
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 32px;
  align-items: center;
}
.hero-copy h1,
.page-title {
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -.035em;
}
.page-kids .hero-copy h1,
.page-kids .page-title {
  font-family: var(--pixel);
}
.hero-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-weight: 800;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 18px -10px rgba(42,39,72,.26);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn.primary { background: #50b67d; border-color: #50b67d; color: var(--white); box-shadow: 0 13px 24px -12px #31945e; }
.btn.gold { background: #ffd86b; border-color: #ffd86b; color: #574e2d; }
.hero-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--green-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.stat b { display: block; color: var(--green); font-size: 26px; line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }

.page-kids .hero,
.page-institutional .hero { padding: 56px 0 82px; }
.page-kids .hero-grid,
.page-institutional .hero-grid { display: grid; grid-template-areas: "copy media"; }
.page-kids .hero-media,
.page-institutional .hero-media {
  grid-area: media;
  width: 100%;
  margin: 0;
  border-radius: 47% 53% 44% 56% / 48% 42% 58% 52%;
  border: 8px solid rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  background: #cfe5ff;
}
.page-kids .hero-media img,
.page-institutional .hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.page-kids .hero-copy,
.page-institutional .hero-copy {
  grid-area: copy;
  width: 100%;
  margin: 0;
  text-align: left;
}
.page-kids .hero-copy h1,
.page-institutional .hero-copy h1 {
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.08;
}
.page-kids .hero-copy p,
.page-institutional .hero-copy p {
  margin-inline: 0;
}
.page-kids .hero-actions,
.page-institutional .hero-actions {
  justify-content: flex-start;
}

.jump-section {
  padding: 12px 0 64px;
}
.jump-buttons {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.jump-button {
  display: block;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 20px 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.jump-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.jump-button span {
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}
.jump-button strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}
.jump-button.parents {
  background: linear-gradient(135deg, #ffffff, #edf6ef);
  border-color: #cfe4d5;
}
.jump-button.operators {
  background: linear-gradient(135deg, #ffffff, #fff3d7);
  border-color: #efd799;
}
.jump-button.operators span {
  color: #7b5409;
}

.programs-section { padding-top: 80px; background: linear-gradient(180deg, rgba(255,240,191,.34), rgba(255,250,246,0)); }
.programs-head { text-align: center; }
.programs-head .lead { margin-inline: auto; }
.program-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.program-card { display: grid; grid-template-columns: 146px minmax(0, 1fr); align-items: center; gap: 20px; min-height: 198px; padding: 24px; border: 1px solid; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); }
.program-card:hover { text-decoration: none; transform: translateY(-2px); }
.program-card img { width: 146px; height: 118px; object-fit: contain; }
.program-card h3 { margin: 0 0 6px; font-size: 25px; line-height: 1.3; }
.program-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.program-card span { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 900; }
.program-card.fkatsu { border-color: #8bc5ec; }
.program-card.fkatsu span { color: #247fb5; }
.program-card.fukkurabu { border-color: #efa6af; }
.program-card.fukkurabu span { color: #ce5a6b; }
.program-identities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.program-identity { display: flex; min-height: 86px; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid; border-radius: 12px; background: var(--white); }
.program-identity img { width: 125px; height: 62px; object-fit: contain; }
.program-identity span { font-size: 14px; font-weight: 900; }
.program-identity.fkatsu { border-color: #8bc5ec; color: #247fb5; }
.program-identity.fukkurabu { border-color: #efa6af; color: #ce5a6b; }
.program-context { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: #247fb5; font-size: 14px; font-weight: 900; }
.program-context img { width: 112px; height: 78px; object-fit: contain; }

.band { background: var(--white); border-block: 1px solid var(--line); }
.section-head { margin: 0 0 24px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  background: #fff;
  border: 1.5px dashed #f3adc3;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff8eb6; }
h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.03em;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
  margin: 12px 0 0;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--muted); }
.card li { margin: 4px 0; }
.callout {
  background: #fff0bf;
  border: 1px solid #f2dda2;
  border-left: 7px solid #ffd86b;
  border-radius: 20px;
  padding: 18px 20px;
  margin-top: 18px;
}
.callout strong { color: #655126; }

.updates-section { background: linear-gradient(180deg, rgba(232, 243, 247, .68), rgba(255, 250, 246, 0)); }
.updates-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.update-card {
  background: var(--white);
  border: 1px solid #cfe1ec;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.update-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #477188; font-size: 13px; font-weight: 900; }
.update-club { display: inline-flex; align-items: center; margin: 0; padding: 2px 8px; border-radius: 999px; background: #e8f3f7; color: #247fb5; font-size: 12px; }
.update-card h3 { margin: 10px 0 6px; font-size: 19px; line-height: 1.45; }
.update-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.updates-empty, .updates-note { color: var(--muted); }
.updates-note { margin: 18px 0 0; font-size: 13px; }

.diagnostic-banner {
  width: min(410px, 100%);
  margin: 0 auto 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.diagnostic-heading {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin: 8px 0 20px;
}
.page-kids .diagnostic-heading { font-family: var(--pixel); }
.quiz-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.quiz-card[hidden] { display: none; }
.quiz-progress { height: 9px; background: #edf1e8; border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.quiz-progress-bar { height: 100%; background: var(--green); border-radius: 999px; }
.quiz-step-label { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.quiz-question h3 { font-size: 24px; margin: 8px 0 14px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option, .quiz-back {
  border: 1px solid var(--line);
  background: #fbfaf4;
  border-radius: var(--radius);
  padding: 14px;
  text-align: left;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.quiz-option:hover { border-color: var(--green); background: var(--green-soft); }
.quiz-back { margin-top: 12px; color: var(--muted); background: transparent; }
.result-cards { display: grid; gap: 12px; margin: 18px 0; }
.result-card {
  position: relative;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 126px 16px 16px;
  background: #fbfaf4;
}
.result-card.gold { border-color: #e6be64; background: #fff8e8; }
.result-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 86px;
  height: 86px;
  object-fit: contain;
  transform: translateY(-50%);
}
.result-rank { color: var(--green); font-size: 13px; font-weight: 900; }
.result-name { font-size: 20px; font-weight: 900; }
.result-meta, .result-reason, .result-detail { color: var(--muted); font-size: 13px; }
.result-evidence {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}
.result-evidence-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}
.result-evidence-row strong { display: block; color: var(--green-dark); margin-bottom: 2px; }

.filter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  margin: 0 0 18px;
}
.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
  background: #fff;
}
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.filter-label { color: var(--muted); font-size: 13px; font-weight: 900; }
.filter-chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.filter-chip.active { background: var(--green); border-color: var(--green); color: var(--white); }
.results-count { color: var(--muted); font-weight: 800; margin: 10px 2px; }
.club-grid { display: grid; gap: 28px; }
.club-category-section {
  padding: 0;
}
.club-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.club-category-head img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.club-category-head h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  font-family: var(--pixel);
}
.club-category-head span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.club-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.club-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.club-summary {
  position: relative;
  list-style: none;
  min-height: 126px;
  padding: 15px 104px 15px 15px;
  cursor: pointer;
}
.club-summary::-webkit-details-marker { display: none; }
.club-summary h4 { margin: 6px 0 2px; font-size: 18px; line-height: 1.32; }
.club-sub { color: var(--muted); font-size: 14px; font-weight: 800; }
.club-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
}
.badge-category { background: var(--sky-soft); color: #1f6681; }
.badge-fkatsu { background: var(--green-soft); color: var(--green-dark); }
.badge-pending { background: var(--gold-soft); color: #7b5409; }
.club-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 74px;
  height: 74px;
  object-fit: contain;
  transform: translateY(-50%);
}
.club-details {
  border-top: 1px solid var(--line);
  padding: 14px 17px 17px;
}
.club-details dl { display: grid; grid-template-columns: 80px 1fr; gap: 7px 10px; margin: 0; }
.club-details dt { color: var(--green-dark); font-weight: 900; }
.club-details dd { margin: 0; color: var(--muted); }
.club-cover { width: 100%; max-height: 340px; margin: 0 0 16px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line); }
.badge-update { background: #e8f3f7; border-color: #9fcce2; color: #247fb5; }
.club-updates { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #b9d9e8; }
.club-updates h5 { margin: 0 0 8px; color: #247fb5; font-size: 14px; }
.update-card.compact { padding: 12px; border-radius: 14px; box-shadow: none; }
.update-card.compact + .update-card.compact { margin-top: 8px; }
.update-card.compact h3 { margin-top: 6px; font-size: 16px; }
.club-contact-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.club-contact-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
  background: #fbfaf4;
}

.page-institutional {
  background: #f7f8f5;
  color: #1d2a24;
}
.page-institutional .hero-copy h1 {
  font-weight: 800;
}
.page-institutional .hero-copy p {
  font-size: 17px;
  color: #4e5d54;
}
.page-institutional .band {
  background: #fff;
}
.page-institutional .section-label {
  color: #516159;
  font-size: 12px;
  letter-spacing: .08em;
}
.page-institutional h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 800;
}
.page-institutional .lead {
  color: #53635a;
}
.page-institutional .card,
.page-institutional .comparison,
.page-institutional .timeline-item,
.page-institutional .filter-panel,
.page-institutional .quiz-card {
  border-color: #d8dfd7;
  box-shadow: none;
}
.page-institutional .card {
  background: #fff;
}
.page-institutional .card h3 {
  font-size: 20px;
  font-weight: 800;
}
.page-institutional .callout {
  background: #f7f4eb;
  border-color: #e2d9c5;
  border-left-color: #8f743d;
}
.page-institutional .callout strong {
  color: #5f4a21;
}
.page-institutional .comparison th {
  background: #eef1ec;
}
.page-institutional .route-number {
  background: #236546;
}
.participation-section { background: linear-gradient(180deg, rgba(231, 242, 235, .82), rgba(255, 255, 255, 0)); }
.participation-steps .card { display: flex; flex-direction: column; }
.participation-steps .step-link { margin-top: auto; padding-top: 16px; color: #236546; font-weight: 900; text-decoration: none; }
.participation-steps .step-link:hover { text-decoration: underline; }
.participation-steps .step-link span { display: inline-block; margin-left: 4px; }
.participation-callout { margin-top: 20px; }
.participation-actions { margin-top: 22px; }

.comparison { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.comparison th, .comparison td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison tr:last-child th, .comparison tr:last-child td { border-bottom: 0; }
.comparison th { background: #f0eee6; width: 22%; }
.timeline { display: grid; gap: 12px; }
.timeline-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.timeline-date { color: var(--green-dark); font-weight: 900; }
.timeline-title { font-size: 18px; font-weight: 900; }
.timeline-desc { color: var(--muted); }
.route-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 10px;
}

.footer {
  background: #16251c;
  color: #dce8df;
  padding: 36px 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer h4 { color: var(--white); margin: 0 0 8px; }
.footer p, .footer li { color: #aebfb4; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a { color: #dce8df; }

.admin-main { padding: 40px 0 88px; }
.admin-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin: 0 0 28px; }
.admin-intro h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 60px); line-height: 1.18; letter-spacing: -.04em; }
.admin-intro p { max-width: 700px; margin: 0; color: var(--muted); }
.admin-flow { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border: 1px solid #cfe1ec; border-radius: 999px; background: #fff; box-shadow: var(--shadow); white-space: nowrap; }
.admin-flow strong { color: #247fb5; font-size: 14px; }
.admin-flow span { color: #76a7c2; }
.admin-auth { margin-bottom: 28px; }
.admin-auth h2, .admin-editor h2 { margin: 0; font-size: 26px; }
.admin-auth > p { color: var(--muted); margin: 8px 0 18px; }
.admin-auth-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(160px, .6fr) auto; gap: 12px; align-items: end; }
.admin-auth label, .admin-form-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 900; }
.admin-auth input, .admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea { width: 100%; border: 1px solid #d8d5e8; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; padding: 10px 12px; }
.admin-form-grid textarea { resize: vertical; }
.admin-status { min-height: 1.6em; margin: 12px 0 0 !important; font-size: 14px; font-weight: 800; }
.admin-status[data-tone="warning"] { color: #8a6419; }.admin-status[data-tone="error"] { color: #b24b5d; }
.admin-workspace { display: grid; grid-template-columns: minmax(230px, .35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.club-editor-workspace { grid-template-columns: minmax(0, 1fr); }
.club-editor-workspace .admin-editor { max-width: 920px; }
.admin-sidebar { position: sticky; top: 92px; display: grid; gap: 12px; }
.admin-sidebar > .btn { width: 100%; }
.admin-list { display: grid; gap: 8px; }
.admin-list-item { width: 100%; display: grid; gap: 4px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.admin-list-item:hover, .admin-list-item.active { border-color: #8bc5ec; background: #f5fbfe; }
.admin-list-item strong { font-size: 15px; line-height: 1.45; }.admin-list-item small { color: var(--muted); }
.admin-list-state { width: fit-content; border-radius: 999px; padding: 2px 7px; background: #f0edf6; color: var(--muted); font-size: 11px; font-weight: 900; }.admin-list-state.published { background: #e7f5ec; color: #28724a; }.admin-list-state.archived { background: #f0edf6; }.admin-empty { color: var(--muted); font-size: 14px; }
.admin-editor { min-height: 580px; }.admin-editor-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; margin-bottom: 22px; }.admin-kicker { margin: 0 0 4px; color: #247fb5; font-size: 13px; font-weight: 900; }.admin-save-status { margin: 0; color: #247fb5; font-weight: 800; font-size: 14px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }.admin-wide { grid-column: 1 / -1; }.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }.btn.danger { border-color: #efbbc6; color: #b24b5d; }.btn.danger:hover { background: #fff2f4; }.admin-history { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }.admin-history h3 { margin: 0 0 10px; }.admin-history ol { display: grid; gap: 6px; margin: 0; padding-left: 22px; color: var(--muted); }.admin-history li { display: flex; flex-wrap: wrap; gap: 8px; }.admin-history strong { color: var(--ink); text-transform: capitalize; }.admin-history .manager-row { justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }.admin-history .manager-row > div:first-child { display: grid; gap: 3px; }.manager-actions { display: flex; flex-wrap: wrap; gap: 8px; }.manager-actions .btn { min-height: 38px; padding: 7px 11px; font-size: 13px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { align-items: flex-start; }
  .nav-links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a { display: block; }
  .hero-grid, .split, .cards, .footer-grid, .program-cards, .program-identities, .updates-list { grid-template-columns: 1fr; }
  .page-kids .hero-grid,
  .page-institutional .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media";
    gap: 28px;
  }
  .jump-buttons { grid-template-columns: 1fr; }
  .admin-intro, .admin-workspace { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-auth-row { grid-template-columns: 1fr; }
  .club-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 30px; }
  section { padding: 46px 0; }
  .club-summary { padding-right: 100px; }
  .club-icon { width: 72px; height: 72px; }
}

@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .notice { font-size: 12px; }
  .brand small { display: none; }
  .brand-project { width: 122px; }
  .program-card { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 16px; }
  .program-card img { width: 116px; height: 94px; }
  .hero-copy h1, .page-title { font-size: 35px; }
  .hero-copy p, .lead { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat b { font-size: 22px; }
  .quiz-card { padding: 16px; }
  .result-card { padding: 14px; }
  .result-icon { position: static; width: 76px; height: 76px; transform: none; margin: 0 0 8px auto; }
  .club-summary { padding: 15px; }
  .club-category-grid { grid-template-columns: 1fr; }
  .club-icon { position: static; transform: none; width: 70px; height: 70px; margin-left: auto; }
  .club-details dl { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .comparison { display: block; overflow-x: auto; }
  .admin-main { padding-top: 24px; }
  .admin-flow { justify-content: center; flex-wrap: wrap; white-space: normal; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-wide { grid-column: auto; }
  .admin-history .manager-row { align-items: flex-start; flex-direction: column; }
  .admin-page .nav { gap: 8px; align-items: center; }
  .admin-page .brand { min-width: 0; flex: 1 1 auto; }
  .admin-page .brand > span { min-width: 0; white-space: nowrap; font-size: 14px; }
  .admin-page .brand-project { width: 126px; flex: 0 0 auto; }
  .admin-page .nav > .btn,
  .admin-page .nav > .hero-actions { flex: 0 0 auto; width: auto; margin: 0; }
  .admin-page .nav .hero-actions .btn { width: auto; min-height: 42px; padding: 8px 12px; font-size: 13px; }
}
