:root {
  --paper: #fcfbf8;
  --white: #ffffff;
  --ink: #121316;
  --body: #3b3d42;
  --muted: #73757b;
  --line: #e5e1d9;
  --line-strong: #cbc3b5;
  --gold: #b88935;
  --gold-dark: #805d20;
  --gold-soft: #f5efe3;
  --red: #e31c4b;
  --red-dark: #bd123a;
  --red-soft: #fff0f3;
  --blue: #245b78;
  --blue-soft: #eef5f8;
  --green: #186447;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --page-width: 1180px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--body);
  background:
    linear-gradient(90deg, transparent calc(50% - 590px), rgba(184, 137, 53, 0.09) calc(50% - 590px), rgba(184, 137, 53, 0.09) calc(50% - 589px), transparent calc(50% - 589px)),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

button,
input,
textarea { font: inherit; }

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

a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 91, 120, 0.28);
  outline-offset: 3px;
}

.site-header {
  width: min(var(--page-width), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.brand img:first-child { width: 44px; height: 44px; object-fit: contain; }
.brand .wordmark { width: 136px; height: auto; object-fit: contain; }

.site-header nav { display: flex; align-items: center; gap: 30px; }

.site-header nav a {
  color: #56585d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover { color: var(--ink); }

.site-header .site-menu {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 28px;
}

.site-menu-link,
.site-menu-group > summary {
  min-height: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: #56585d;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.site-menu-group { position: relative; }
.site-menu-group > summary::-webkit-details-marker { display: none; }
.site-menu-group > summary::marker { content: ""; }
.site-menu-group > summary > span { color: #9a7127; font-size: 12px; transition: transform 160ms ease; }
.site-menu-group[open] > summary > span { transform: rotate(180deg); }

.site-menu-link::after,
.site-menu-group > summary::after {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  margin: auto;
  background: #b28a3b;
  transition: width 160ms ease;
}

.site-menu-link:hover::after,
.site-menu-link.is-current::after,
.site-menu-group:hover > summary::after,
.site-menu-group:focus-within > summary::after,
.site-menu-group.is-current > summary::after { width: 100%; }

.site-submenu {
  width: 184px;
  padding: 8px 0;
  position: absolute;
  top: calc(100% - 1px);
  right: -22px;
  z-index: 80;
  display: none;
  border: 1px solid #d8cebf;
  background: #f4efe5;
  box-shadow: 0 18px 38px rgba(34, 27, 17, 0.16);
}

.site-menu-group[open] > .site-submenu,
.site-menu-group:hover > .site-submenu,
.site-menu-group:focus-within > .site-submenu { display: grid; }

.site-header .site-menu .site-submenu a {
  min-height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  color: #4b4741;
  border-left: 2px solid transparent;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.site-header .site-menu .site-submenu a:hover,
.site-header .site-menu .site-submenu a.is-current {
  color: #111820;
  border-left-color: #b28a3b;
  background: #ebe2d3;
}

main { overflow: clip; }

.hero {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.58fr);
  gap: clamp(64px, 8vw, 112px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-meta-line {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.eyebrow,
.dialog-eyebrow {
  margin: 0;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.stage-badge {
  padding: 6px 10px;
  border-left: 2px solid var(--red);
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 900;
}

.stage-badge[data-stage="in_progress"] { color: var(--green); border-color: var(--green); background: #edf7f2; }
.stage-badge[data-stage="feedback"] { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.stage-badge[data-stage="archived"] { color: var(--muted); border-color: var(--muted); background: #f2f2f1; }

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(50px, 5.2vw, 78px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.theme {
  margin: 26px 0 0;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.subtitle {
  margin: 16px 0 0;
  color: #5a5c61;
  font-size: 18px;
  line-height: 1.75;
}

.history-proof {
  width: fit-content;
  margin-top: 34px;
  padding: 14px 18px 14px 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 16px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.history-proof .proof-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.history-proof strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.history-proof span:last-child {
  align-self: end;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-action {
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid var(--red);
  border-radius: 2px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 13px 28px rgba(227, 28, 75, 0.18);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover { background: var(--red-dark); box-shadow: 0 16px 32px rgba(227, 28, 75, 0.23); }
.primary-action:active { transform: translateY(1px); }
.primary-action:disabled { cursor: not-allowed; opacity: 0.48; box-shadow: none; }
.primary-action b { font-size: 20px; }

.text-action {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--body);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.text-action:hover { color: var(--red); border-color: var(--red); }

.course-facts {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-facts div {
  min-height: 88px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-facts dt {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.course-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.city-vote-trigger {
  width: 100%;
  padding: 0;
  display: grid;
  gap: 3px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.city-vote-trigger span { transition: color 160ms ease; }
.city-vote-trigger small { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.city-vote-trigger:hover span { color: var(--blue); }

.poster-column { position: relative; padding: 0 24px 48px 0; }

.poster-column::before {
  content: "";
  position: absolute;
  top: -24px;
  right: 0;
  bottom: 22px;
  left: 34px;
  z-index: -1;
  border: 1px solid rgba(184, 137, 53, 0.44);
}

.poster-frame {
  width: 100%;
  padding: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  background: #f7f4ed;
  cursor: zoom-in;
  box-shadow: 0 24px 54px rgba(44, 35, 20, 0.14);
}

.poster-frame img { width: 100%; height: auto; display: block; }

.poster-frame span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(18, 19, 22, 0.88);
  font-size: 11px;
  font-weight: 800;
}

.seat-meter {
  width: 168px;
  height: 112px;
  padding: 16px 18px;
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(18, 19, 22, 0.22);
}

.seat-meter span { grid-column: 1 / -1; color: #d4d4d4; font-size: 11px; font-weight: 800; }
.seat-meter strong { margin-top: 5px; font-family: var(--serif); font-size: 40px; line-height: 1; }
.seat-meter small { align-self: end; padding-bottom: 4px; color: #e1c48d; font-size: 12px; }

.progress-section {
  padding: 72px max(24px, calc((100% - var(--page-width)) / 2));
  color: #fff;
  background: var(--ink);
}

.section-heading p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.compact-heading h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); }

.progress-track {
  margin: 46px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.progress-track li {
  min-width: 0;
  padding-right: 16px;
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.progress-track li::after {
  content: "";
  height: 1px;
  position: absolute;
  top: 20px;
  right: 8px;
  left: 48px;
  background: #4a4a49;
}

.progress-track li:last-child::after { display: none; }

.progress-marker {
  width: 42px;
  height: 42px;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid #595a5d;
  border-radius: 50%;
  color: #9b9b9d;
  background: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.progress-track strong,
.progress-track small { display: block; }
.progress-track strong { color: #b9b9ba; font-size: 13px; }
.progress-track small { margin-top: 3px; color: #77787b; font-size: 11px; }
.progress-track .is-complete .progress-marker { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.progress-track .is-complete::after { background: var(--gold); }
.progress-track .is-current .progress-marker { border: 5px solid #3b3020; color: #fff; background: var(--red); box-shadow: 0 0 0 1px var(--gold); }
.progress-track .is-current strong { color: #fff; }
.progress-track .is-current small { color: #e1c48d; }

.course-body {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 88px;
  align-items: start;
}

.agenda-list {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.agenda-list li {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.agenda-list .list-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}

.agenda-list p { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.65; }

.includes {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.fit-panel {
  border-top: 4px solid var(--gold);
  background: #f2efe8;
}

.fit-panel section { padding: 30px 32px; }
.fit-panel section + section { border-top: 1px solid #d8d1c4; }

.aside-label {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
}

.fit-panel ul { margin: 22px 0 0; padding: 0; list-style: none; }

.fit-panel li {
  padding: 12px 0 12px 23px;
  position: relative;
  border-bottom: 1px dashed #cfc6b7;
}

.fit-panel li:last-child { border-bottom: 0; }
.fit-panel li::before { content: ""; width: 7px; height: 7px; position: absolute; top: 21px; left: 0; border: 2px solid var(--gold); border-radius: 50%; }
.fit-panel li p { margin: 0; color: #4c4b47; font-size: 14px; line-height: 1.72; }

.history-section {
  padding: 100px max(24px, calc((100% - var(--page-width)) / 2)) 112px;
  border-top: 1px solid var(--line);
  background: #f4f2ed;
}

.history-heading { max-width: 750px; }
.history-heading > span { display: block; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.history-list { margin-top: 48px; border-top: 1px solid var(--line-strong); }

.history-card {
  min-height: 152px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 170px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line-strong);
}

.history-date { margin: 0 0 7px; color: var(--gold-dark); font-size: 12px; font-weight: 900; }
.history-identity h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 26px; }
.history-identity > span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }

.history-rating { display: grid; grid-template-columns: auto 1fr; align-items: end; }
.history-rating strong { color: var(--ink); font-family: var(--serif); font-size: 44px; line-height: 1; }
.history-rating > span { padding-bottom: 5px; color: var(--muted); font-size: 12px; }
.history-rating small { grid-column: 1 / -1; margin-top: 7px; color: var(--gold-dark); font-size: 11px; font-weight: 800; }
.history-rating.no-score strong { color: #aaa7a0; }

.history-action { justify-self: end; }
.history-action a,
.history-action button {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.history-action span { color: var(--muted); font-size: 12px; }
.empty-history { margin: 34px 0; color: var(--muted); }

footer {
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 128px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
}

footer img { width: 36px; height: 36px; }
footer p { margin: 0; display: flex; flex-direction: column; gap: 3px; }
footer strong { color: var(--ink); font-size: 13px; letter-spacing: 0.12em; }
footer span { color: var(--muted); font-size: 12px; }
footer a { color: var(--body); font-size: 12px; font-weight: 800; text-decoration: none; }

.mobile-action { display: none; }

dialog {
  color: var(--body);
  border: 0;
  padding: 0;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(18, 19, 22, 0.28);
}

dialog::backdrop { background: rgba(18, 19, 22, 0.62); backdrop-filter: blur(4px); }

.sheet-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: min(790px, calc(100vh - 40px));
  max-height: min(790px, calc(100dvh - 40px));
  padding: 46px 48px 42px;
  overflow: auto;
  border-top: 5px solid var(--red);
}

.city-vote-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: min(880px, calc(100vh - 32px));
  max-height: min(880px, calc(100dvh - 32px));
  padding: 40px 42px 34px;
  border-top-color: var(--blue);
}

.city-vote-route {
  min-height: 58px;
  margin-top: 22px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 13px;
  align-items: center;
  color: #fff;
  background: var(--ink);
}

.city-vote-route span {
  padding: 5px 7px;
  color: var(--ink);
  background: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.city-vote-route strong { font-family: var(--serif); font-size: 17px; }
.city-vote-route b { color: var(--gold); font-size: 21px; }
.city-vote-route small { color: #d7d9dc; font-size: 11px; font-weight: 800; }

.city-vote-leader {
  min-height: 106px;
  margin-top: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid #c6d7df;
  background:
    linear-gradient(115deg, rgba(36, 91, 120, .12), transparent 58%),
    var(--blue-soft);
}

.city-vote-leader div { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; align-items: baseline; }
.city-vote-leader span { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.city-vote-leader strong { color: var(--ink); font-family: var(--serif); font-size: 29px; line-height: 1.15; }
.city-vote-leader small { grid-column: 2; color: var(--muted); font-size: 10px; font-weight: 800; }
.city-vote-leader > b { color: #8f9298; font-family: var(--serif); font-size: 44px; line-height: 1; }
.city-vote-leader.has-leader > b { color: var(--blue); }

.city-vote-ballot,
.city-vote-board { margin-top: 24px; }

.city-vote-section-title {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.city-vote-section-title h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 18px; }
.city-vote-section-title span { color: var(--muted); font-size: 10px; font-weight: 800; }

.city-vote-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.city-vote-option {
  min-width: 0;
  min-height: 68px;
  padding: 11px 8px 9px;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.city-vote-option strong { font-family: var(--serif); font-size: 16px; }
.city-vote-option small { color: var(--muted); font-size: 9px; white-space: nowrap; }
.city-vote-option:hover { color: var(--blue); background: var(--blue-soft); }
.city-vote-option[aria-pressed="true"] { color: #fff; background: var(--blue); }
.city-vote-option[aria-pressed="true"] small { color: #dbe9ef; }
.city-vote-option:disabled { cursor: wait; opacity: .65; }

.city-vote-board ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 20px;
  list-style: none;
}

.city-vote-board li {
  min-height: 38px;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 24px 44px minmax(40px, 1fr) 38px 27px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.city-rank { color: #9a9ba0; font-family: var(--serif); font-size: 12px; font-weight: 900; }
.city-rank-name { color: var(--ink); font-size: 12px; }
.city-rank-track { height: 4px; overflow: hidden; background: #e8e8e6; }
.city-rank-track i { height: 100%; display: block; background: var(--gold); transition: width 260ms ease; }
.city-rank-probability { color: var(--body); font-size: 10px; text-align: right; font-variant-numeric: tabular-nums; }
.city-rank-votes { color: var(--muted); font-size: 9px; text-align: right; white-space: nowrap; }
.city-vote-board li.is-leading .city-rank,
.city-vote-board li.is-leading .city-rank-name { color: var(--blue); }
.city-vote-board li.is-leading .city-rank-track i { background: var(--blue); }
.city-vote-board li.is-selected { box-shadow: inset 3px 0 var(--red); }

.city-vote-status { min-height: 20px; margin: 18px 0 0; color: var(--blue); font-size: 12px; font-weight: 900; }
.city-vote-note { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.dialog-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.sheet-dialog h2 {
  margin: 12px 40px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.35;
}

.dialog-lead,
.registration-status > p:not(.dialog-eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.sheet-dialog form { margin-top: 28px; }

.sheet-dialog label {
  margin-top: 18px;
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.sheet-dialog label:first-child { margin-top: 0; }
.sheet-dialog label small { color: var(--muted); font-weight: 500; }

.sheet-dialog input[type="text"],
.sheet-dialog input[type="tel"],
.sheet-dialog input:not([type]),
.sheet-dialog textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cfcfd2;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.sheet-dialog input { min-height: 48px; }
.sheet-dialog textarea { resize: vertical; }
.sheet-dialog input::placeholder,
.sheet-dialog textarea::placeholder { color: #a0a1a5; }

.sheet-dialog .privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.registration-account-panel {
  margin: 18px 0;
  padding: 15px 16px;
  display: grid;
  gap: 7px;
  border: 1px solid #d8c49b;
  border-radius: 4px;
  background: #faf6ed;
}

.registration-account-panel > span { color: var(--gold-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.registration-account-panel > strong { color: var(--ink); font-size: 13px; }
.registration-account-panel > a { width: fit-content; color: var(--red); font-size: 12px; font-weight: 900; }
.registration-account-panel .account-bind-check {
  margin: 2px 0 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.account-bind-check input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--red); }
.registration-account-binding { margin: 10px 0 0; color: var(--gold-dark); font-size: 12px; font-weight: 800; line-height: 1.55; }

.privacy-check input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--red); }
.form-error { min-height: 20px; margin: 16px 0 0; color: #b42318; font-size: 12px; font-weight: 800; line-height: 1.55; }
.form-error.is-success { color: var(--green); }
.full-action { width: 100%; margin-top: 5px; }

.registration-status { text-align: left; }
.registration-status[hidden],
#registration-form-view[hidden] { display: none; }

.status-symbol {
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 900;
}

.status-symbol[data-status="approved"] { background: var(--green); }
.status-symbol[data-status="rejected"] { background: #9a5a20; }

.registration-status dl { margin: 28px 0; border-top: 1px solid var(--line); }
.registration-status dl div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.registration-status dt { color: var(--muted); font-size: 12px; }
.registration-status dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 900; }

.secondary-action {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 800;
  cursor: pointer;
}

.poster-dialog {
  width: min(1100px, calc(100% - 32px));
  height: min(900px, calc(100vh - 32px));
  height: min(900px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  background: #ece8df;
}

.poster-dialog-head {
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ink);
}

.poster-dialog-head p { margin: 0; color: #d5b673; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.poster-dialog-head h2 { margin: 4px 0 0; font-family: var(--serif); font-size: 21px; }
.poster-dialog-head button { width: 42px; height: 42px; border: 0; color: #fff; background: transparent; font-size: 30px; cursor: pointer; }

.poster-pages {
  height: calc(100% - 74px);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  overflow: auto;
}

.poster-pages img { width: 100%; height: auto; display: block; box-shadow: 0 10px 30px rgba(18, 19, 22, 0.15); }

.rating-dialog fieldset { margin: 0; padding: 0; border: 0; }
.rating-dialog legend { color: var(--ink); font-size: 13px; font-weight: 900; }

.rating-buttons {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.rating-buttons button {
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.rating-buttons button:last-child { border-right: 0; }
.rating-buttons button[aria-pressed="true"] { color: #fff; background: var(--red); }

.loading-failure {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 20;
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: #8e1e2f;
  font-size: 13px;
}

.loading-failure[hidden] { display: none; }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  h1 { font-size: clamp(44px, 6vw, 62px); }
  .course-body { gap: 50px; }
  .history-card { grid-template-columns: 1fr 150px 150px; }
  .progress-track { grid-template-columns: 1fr; gap: 0; }
  .progress-track li { min-height: 70px; grid-template-columns: 42px 1fr; }
  .progress-track li::after { width: 1px; height: auto; top: 42px; bottom: 0; right: auto; left: 20px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; background: var(--paper); }
  .site-header { width: calc(100% - 28px); height: 64px; }
  .brand img:first-child { width: 38px; height: 38px; }
  .brand .wordmark { width: 112px; }
  .site-header .site-menu { gap: 14px; }
  .site-header .site-menu > .site-menu-link:first-child { display: inline-flex; }
  .site-menu-link,
  .site-menu-group > summary { font-size: 11px; }
  .site-menu-link::after,
  .site-menu-group > summary::after { bottom: 10px; }
  .site-submenu { right: -12px; }
  .hero {
    width: calc(100% - 28px);
    padding: 42px 0 58px;
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-meta-line { margin-bottom: 20px; align-items: flex-start; justify-content: space-between; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(39px, 12vw, 52px); line-height: 1.16; }
  .theme { margin-top: 20px; font-size: 28px; }
  .subtitle { margin-top: 12px; font-size: 15px; }
  .history-proof { margin-top: 28px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .primary-action { display: none; }
  .course-facts { margin-top: 36px; grid-template-columns: 1fr; }
  .course-facts div { min-height: 76px; }
  .poster-column { width: min(370px, calc(100% - 14px)); margin: 0 auto; }
  .progress-section { padding: 58px 20px; }
  .course-body { width: calc(100% - 28px); padding: 74px 0; grid-template-columns: 1fr; gap: 58px; }
  .section-heading h2 { font-size: 34px; }
  .agenda-list { margin-top: 34px; }
  .agenda-list li { min-height: 86px; grid-template-columns: 46px 1fr; }
  .agenda-list p { font-size: 15px; }
  .fit-panel section { padding: 26px 24px; }
  .history-section { padding: 72px 14px 80px; }
  .history-card { padding: 26px 0; grid-template-columns: 1fr auto; gap: 18px; }
  .history-identity { grid-column: 1 / -1; }
  .history-rating strong { font-size: 38px; }
  .history-action { align-self: end; }
  footer { width: calc(100% - 28px); min-height: 110px; grid-template-columns: 36px 1fr; }
  footer a { display: none; }
  .mobile-action {
    min-height: 68px;
    padding: 9px 12px 9px 16px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    background: rgba(18, 19, 22, 0.97);
    box-shadow: 0 -8px 24px rgba(18, 19, 22, 0.18);
  }
  .mobile-action[hidden] { display: none; }
  .mobile-action div { display: flex; flex-direction: column; gap: 2px; }
  .mobile-action span { color: #d9bd83; font-size: 10px; font-weight: 800; }
  .mobile-action strong { font-size: 13px; }
  .mobile-action button { min-width: 148px; min-height: 48px; border: 0; border-radius: 2px; color: #fff; background: var(--red); font-weight: 900; }
  .mobile-action button:disabled { opacity: 0.55; }
  .sheet-dialog { width: 100%; max-width: none; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; padding: 40px 20px 28px; border-top-width: 4px; }
  .sheet-dialog h2 { font-size: 27px; }
  .poster-dialog { width: 100%; height: 96vh; height: 96dvh; margin: auto 0 0; }
  .poster-pages { grid-template-columns: 1fr; padding: 14px; }
  .rating-buttons { grid-template-columns: repeat(5, 1fr); }
  .rating-buttons button:nth-child(5) { border-right: 0; }
  .rating-buttons button:nth-child(n+6) { border-top: 1px solid var(--line); }
}

@media (max-width: 390px) {
  .stage-badge { padding: 5px 7px; }
  h1 { font-size: 38px; }
  .history-proof { grid-template-columns: 1fr; }
  .history-proof .proof-label,
  .history-proof small { grid-column: auto; }
  .course-facts dd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Card-first course archive */
body { background: var(--paper); }

.library-intro {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 72px;
  align-items: end;
  border-bottom: 1px solid var(--line-strong);
}

.library-intro > div > p,
.catalog-heading p {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
}

.library-intro h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.16;
}

.library-intro > p {
  margin: 0 0 7px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.course-catalog {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.catalog-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.catalog-heading > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.course-card-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  min-width: 0;
  min-height: 300px;
  padding: 0;
  display: grid;
  overflow: hidden;
  grid-template-columns: 58px minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--body);
  background: #fff;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(39, 34, 25, .05);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 20px 42px rgba(39, 34, 25, .09);
}

.course-card.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), 0 18px 42px rgba(128, 93, 32, .12);
}

.course-card-rail {
  min-height: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f4f1e9;
}

.course-card.is-selected .course-card-rail { color: #fff; background: var(--ink); }
.course-card-rail b,
.course-card-rail small { writing-mode: vertical-rl; }
.course-card-rail b { color: var(--gold-dark); font-size: 12px; letter-spacing: .14em; }
.course-card.is-selected .course-card-rail b { color: #e3c386; }
.course-card-rail small { color: #98938a; font-size: 9px; font-weight: 800; letter-spacing: .18em; }

.course-card-body {
  min-width: 0;
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.course-card-timing { display: flex; align-items: center; gap: 9px; min-width: 0; }
.course-card-date { color: var(--gold-dark); font-size: 12px; font-weight: 900; }
.course-card-city {
  padding-left: 9px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.card-stage {
  padding: 5px 8px;
  border-left: 2px solid var(--red);
  color: var(--red);
  background: var(--red-soft);
  font-size: 10px;
  font-weight: 900;
}

.card-stage[data-stage="feedback"] { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.card-stage[data-stage="archived"] { color: #666; border-color: #8b8b88; background: #f1f1ef; }
.card-stage[data-stage="in_progress"] { color: var(--green); border-color: var(--green); background: #edf7f2; }

.course-card-title {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 33px);
  line-height: 1.3;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.course-card-theme { margin-top: 9px; color: var(--muted); font-size: 13px; }

.course-card-platform {
  margin-top: 16px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  background: #faf7ef;
}

.course-card-platform small {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.course-card-platform b { font-size: 12px; font-weight: 900; }

.course-card-metrics {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.course-card-metrics > span { min-width: 0; }
.course-card-metrics > span + span { padding-left: 22px; border-left: 1px solid var(--line); }
.course-card-metrics small,
.course-card-metrics b { display: block; }
.course-card-metrics small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.course-card-metrics b { margin-top: 5px; color: var(--ink); font-family: var(--serif); font-size: 25px; font-variant-numeric: tabular-nums; }
.course-card-link { margin-top: 18px; color: var(--ink); font-size: 11px; font-weight: 900; }

.course-detail {
  padding-top: 98px;
  border-top: 1px solid var(--line-strong);
}

.detail-context {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.detail-context a { color: var(--ink); text-decoration: none; }
.detail-context a:hover { color: var(--gold-dark); }

.course-cover {
  width: 100%;
  aspect-ratio: 941 / 1320;
  padding: clamp(30px, 4vw, 46px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 92% 6%, rgba(184, 137, 53, .15), transparent 23%),
    linear-gradient(145deg, transparent 0 64%, rgba(184, 137, 53, .08) 64% 64.4%, transparent 64.4% 68%, rgba(184, 137, 53, .07) 68% 68.4%, transparent 68.4%),
    #fff;
  box-shadow: 0 24px 54px rgba(44, 35, 20, .14);
}

.course-cover::before {
  content: "";
  width: 210px;
  height: 210px;
  position: absolute;
  top: -118px;
  right: -92px;
  border: 34px solid rgba(184, 137, 53, .12);
  border-radius: 50%;
}

.course-cover::after {
  content: "";
  width: 4px;
  height: 82px;
  position: absolute;
  right: 0;
  bottom: 70px;
  background: linear-gradient(var(--gold), var(--red));
}

.course-cover-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.course-cover-brand img:first-child { width: 52px; height: 52px; object-fit: contain; }
.course-cover-brand img:last-child { width: 126px; height: auto; object-fit: contain; }

.course-cover-copy {
  margin: auto 0;
  position: relative;
  z-index: 1;
}

.course-cover-copy > span {
  display: block;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.course-cover-copy strong {
  max-width: 9em;
  margin-top: 22px;
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.course-cover-copy p {
  margin: 26px 0 0;
  padding-top: 20px;
  position: relative;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
}

.course-cover-copy p::before {
  content: "";
  width: 46px;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--red);
}

.course-cover-meta {
  padding-top: 18px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.course-cover-meta span + span { padding-left: 10px; border-left: 1px solid var(--line-strong); }
.course-cover-meta b { justify-self: end; color: var(--red); }

.cover-city-vote {
  padding: 2px 0 2px 17px;
  position: relative;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.cover-city-vote::before { content: "⌖"; position: absolute; left: 0; top: -1px; color: var(--red); font-size: 14px; }
.cover-city-vote + span { padding-left: 10px; border-left: 1px solid var(--line-strong); }
.cover-city-vote:hover { color: var(--red); }

.review-section[hidden] { display: none; }

.attendance-meter {
  width: 100%;
  min-height: 122px;
  margin-top: 16px;
  padding: 16px 18px 14px;
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(18, 19, 22, .22);
}

.attendance-meter > div + div { padding-left: 16px; border-left: 1px solid #44474c; }
.attendance-meter span,
.attendance-meter strong { display: block; }
.attendance-meter span { color: #d4d4d4; font-size: 10px; font-weight: 800; }
.attendance-meter strong { margin-top: 5px; font-family: var(--serif); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.attendance-meter small { grid-column: 1 / -1; margin-top: 12px; padding-top: 9px; border-top: 1px solid #44474c; color: #e1c48d; font-size: 10px; }

.invite-notice {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 24px auto 0;
  padding: 14px 18px;
  border-left: 3px solid #a43a32;
  color: #842b25;
  background: #fff0ee;
  font-size: 13px;
  font-weight: 800;
}
.invite-notice[hidden] { display: none; }

.review-section { scroll-margin-top: 24px; }
.review-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 148px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.review-score { align-self: start; display: flex; align-items: end; }
.review-score strong { color: var(--ink); font-family: var(--serif); font-size: 43px; line-height: 1; font-variant-numeric: tabular-nums; }
.review-score span { padding: 0 0 5px 3px; color: var(--muted); font-size: 11px; }
.review-copy { min-width: 0; padding-left: 22px; border-left: 1px solid var(--line); }
.review-copy p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-copy small { display: block; margin-top: 18px; color: var(--muted); font-size: 10px; }
.empty-list { grid-template-columns: 1fr !important; }
.empty-list p { color: var(--muted) !important; font-weight: 500 !important; }

@media (max-width: 940px) {
  .library-intro { gap: 40px; }
  .course-card-grid { grid-template-columns: 1fr; }
  .course-card-title { font-size: 30px; }
  .review-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .library-intro {
    width: calc(100% - 28px);
    padding: 56px 0 42px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .library-intro h1 { font-size: clamp(38px, 11.4vw, 50px); }
  .library-intro > p { padding-left: 16px; }
  .course-catalog { width: calc(100% - 28px); padding: 42px 0 64px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 12px; }
  .course-card-grid { margin-top: 28px; }
  .course-card { min-height: 280px; grid-template-columns: 46px minmax(0, 1fr); }
  .course-card-body { padding: 22px 20px 20px; }
  .course-card-title { margin-top: 24px; font-size: 27px; }
  .course-card-metrics > span + span { padding-left: 16px; }
  .course-detail { padding-top: 72px; }
  .detail-context { width: calc(100% - 28px); padding-top: 20px; }
  .attendance-meter { width: 100%; }
  .review-card { padding: 22px 20px; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; }
  .review-score strong { font-size: 36px; }
  .review-copy { padding-left: 16px; }
  .invite-notice { width: calc(100% - 28px); }
  .city-vote-dialog { width: 100%; max-width: none; max-height: 94vh; max-height: 94dvh; margin: auto 0 0; padding: 36px 20px 26px; }
  .city-vote-route { grid-template-columns: auto 1fr auto; gap: 9px; }
  .city-vote-route small { grid-column: 2 / -1; }
  .city-vote-leader { min-height: 92px; padding: 16px; }
  .city-vote-leader strong { font-size: 26px; }
  .city-vote-leader > b { font-size: 38px; }
  .city-vote-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city-vote-option { min-height: 62px; }
  .city-vote-board ol { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .course-card-body { padding-right: 16px; padding-left: 16px; }
  .course-card-top { align-items: flex-start; }
  .course-card-timing { align-items: flex-start; flex-direction: column; gap: 5px; }
  .course-card-city { padding-left: 0; border-left: 0; }
  .course-card-title { font-size: 25px; }
  .review-card { grid-template-columns: 1fr; }
  .review-copy { padding: 14px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .city-vote-dialog { padding-right: 16px; padding-left: 16px; }
  .city-vote-route { padding-right: 12px; padding-left: 12px; }
  .city-vote-leader { gap: 12px; }
  .city-vote-board li { grid-template-columns: 22px 42px minmax(36px, 1fr) 36px 27px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .course-card { transition: none; }
}
