:root {
  --navy: #0b1f3a;
  --navy-2: #143056;
  --ink: #1c2a3d;
  --muted: #5d6b7c;
  --line: #d7dee8;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --gold: #c4a35a;
  --gold-deep: #9a7a35;
  --danger: #8d2e2e;
  --ok: #1f6b45;
  --shadow: 0 18px 48px rgba(11, 31, 58, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(196, 163, 90, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, var(--paper-2) 100%);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--gold-deep); }

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
}

.skip:focus { transform: none; }

.frame {
  position: fixed;
  z-index: 0;
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  background: var(--navy);
  pointer-events: none;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(14px, 14px);
}

.frame-tl {
  top: -12%;
  left: -10%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.frame-tl::after {
  transform: translate(18px, 18px);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border: 0;
  background: linear-gradient(135deg, var(--gold) 0 1.5px, transparent 1.5px);
}

.frame-br {
  right: -12%;
  bottom: -14%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.topbar,
main,
.colophon-inner {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 28px 0 18px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.brand-text strong {
  letter-spacing: 0.08em;
  color: var(--navy);
}

.brand-text span { color: var(--muted); }

.top-date {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  padding: 48px 0 36px;
  text-align: center;
  animation: rise 0.7s ease both;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 8px;
  width: min(280px, 36vw);
  color: rgba(11, 31, 58, 0.08);
  pointer-events: none;
}

.blueprint { width: 100%; height: auto; }

.year {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Noto Serif KR", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

h1, h2 {
  font-family: "Noto Serif KR", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.15;
}

.invite-script {
  margin: 10px 0 18px;
  color: var(--navy-2);
  font-family: "Great Vibes", "Noto Serif KR", cursive;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  animation: fade-in 0.9s ease 0.15s both;
}

.invite-title {
  margin: 0 auto 12px;
  max-width: 36rem;
  color: var(--navy);
  font-weight: 650;
  font-size: 17px;
}

.lead {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.hero-cta { margin: 28px 0 0; }

.panel {
  margin: 18px auto 8px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.75s ease 0.08s both;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.tab {
  margin: 0;
  padding: 16px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.tab.is-active {
  background: var(--navy);
  color: #fff;
}

.tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.tab-panels { padding: clamp(22px, 4vw, 36px); }

.tab-panel[hidden] { display: none; }

.tab-panel.is-active {
  display: block;
  animation: fade-in 0.35s ease both;
}

.table-status {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.table-status-card {
  padding: 14px 10px;
  background: var(--paper-2);
  border: 2px solid transparent;
  border-radius: 12px;
  text-align: center;
}

.table-status-card.is-full {
  background: #e5f2ea;
  border: 2px solid #111;
}

.table-status-card .table-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.info-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.info-icon svg { width: 20px; height: 20px; }

.info-label {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-label::after {
  content: "";
  width: 1px;
  height: 12px;
  background: var(--gold);
}

.info-value {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.panel-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.program-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: start;
  min-height: 88px;
  height: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.program-list li:nth-child(odd) { padding-right: 22px; }

.program-list li:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.program-list li:nth-last-child(-n + 2) { border-bottom: 0; }

.program-list li > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
}

.program-list li span {
  color: var(--gold-deep);
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  padding-top: 2px;
}

.program-list li p { margin: 0; font-size: 15px; line-height: 1.4; }

.program-remark {
  margin-top: 2px !important;
  min-height: 1.35em;
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.program-remark + .program-remark {
  margin-top: 0 !important;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.section-head h2 { margin: 0; font-size: 28px; }

.section-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.reply { padding: 36px 0 24px; }

.reply-card {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(22px, 4vw, 40px);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.reply-tabs {
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
}

.reply-panels {
  display: grid;
  gap: 8px;
}

.reply-panel[hidden] { display: none; }

.reply-panel.is-active {
  display: block;
  animation: fade-in 0.35s ease both;
}

.presence-subtitle {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.tally-board {
  display: grid;
  grid-template-columns: minmax(168px, 30%) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 18px;
}

.tally-side {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.tally-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.tally-tab {
  margin: 0;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.tally-tab.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.tally-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.tally-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 148px;
  padding: 22px 16px;
  background: #eef2f8;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

/* 참석 회신: 단일 숫자 */
.tally-total > strong {
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(48px, 7vw, 64px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.tally-total > span {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
}

.tally-years {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  align-content: start;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tally-years li {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 8px;
  background: var(--paper-2);
  text-align: center;
  border-radius: 12px;
}

.tally-years > li > strong {
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}

.tally-years > li > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* 출석 현황: 출석/회신 비율 */
.tally-total .tally-figure,
.tally-years .tally-figure,
.table-status-card .tally-figure {
  display: inline-flex;
  align-items: baseline;
  font-family: "Noto Serif KR", serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.tally-total .tally-figure {
  font-size: clamp(48px, 7vw, 64px);
}

.tally-years .tally-figure {
  font-size: 24px;
  font-weight: 600;
}

.table-status-card .tally-figure {
  font-size: 28px;
  font-weight: 600;
}

.tally-subcount {
  display: inline;
  margin: 0;
  padding-left: 0.08em;
  font-style: normal;
  font-family: "Noto Serif KR", serif;
  font-size: 0.5em;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
  vertical-align: baseline;
}

.tally-years .tally-main {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.tally-years .tally-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tally-note {
  margin: 0 0 18px;
}

.banner { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; }

.banner p { margin: 0; }

.banner p + p { margin-top: 4px; }

.banner.ok {
  background: #e5f2ea;
  color: var(--ok);
  border-left: 3px solid var(--ok);
}

.banner.warn {
  background: #f8e8e4;
  color: var(--danger);
  border-left: 3px solid var(--danger);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--navy);
}

.consent span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.55;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.fields label,
.login label,
fieldset {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.fields span,
.login span,
legend {
  font-size: 13px;
  font-weight: 650;
  color: var(--navy);
}

.fields em {
  margin-left: 6px;
  color: var(--muted);
  font-style: normal;
  font-weight: 450;
}

.wide { grid-column: 1 / -1; }

.attendance {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice { position: relative; }

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.fields .choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.fields .choice input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(196, 163, 90, 0.55);
  outline-offset: 1px;
  border-color: var(--gold);
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:hover,
.button:hover {
  background: var(--navy-2);
}

.button:hover { transform: translateY(-1px); }

.colophon {
  position: relative;
  margin-top: 40px;
  min-height: 180px;
  color: #fff;
  overflow: hidden;
}

.colophon-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 72%;
  filter: grayscale(1) brightness(0.45);
  transform: scale(1.04);
}

.colophon-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.55));
}

.colophon-inner {
  position: relative;
  z-index: 1;
  padding: 42px 0 48px;
  font-size: 13px;
}

.colophon-inner p { margin: 0 0 4px; }

.colophon-inner a { color: var(--gold); }

.checkin-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 162, 39, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(27, 54, 93, 0.12), transparent 40%),
    var(--paper-2);
  color: var(--ink);
  min-height: 100vh;
}

.checkin {
  width: min(460px, calc(100% - 32px));
  margin: 40px auto 64px;
}

.checkin-head {
  margin-bottom: 22px;
}

.checkin-head h1 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(32px, 7vw, 42px);
}

.checkin-lead {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkin-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.checkin-result {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.checkin-status {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.checkin-status.is-ok { color: var(--ok); }
.checkin-status.is-already { color: var(--gold-deep); }

.checkin-name {
  margin: 10px 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

.checkin-table {
  margin: 18px auto 0;
  padding: 16px 18px;
  max-width: 280px;
  background: #eef2f8;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
}

.checkin-table strong {
  display: block;
  font-family: "Noto Serif KR", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.checkin-table span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 650;
}

.checkin-meta,
.checkin-time {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.checkin-register {
  display: grid;
  gap: 8px;
}

.checkin-register .button {
  text-align: center;
  text-decoration: none;
}

.checkin-foot {
  margin: 22px 0 0;
  text-align: center;
}

.checkin-foot a { color: var(--gold-deep); }

.checkin-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.checkin-qr canvas,
.checkin-qr img {
  width: min(240px, 100%);
  height: auto;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.admin-body {
  background: var(--paper-2);
  color: var(--ink);
}

.admin {
  width: min(1100px, calc(100% - 32px));
  margin: 32px auto 64px;
}

/* 로그인 전에는 관리 패널·내부 UI를 강제로 숨김 */
#admin-panel,
#admin-panel[hidden],
.admin [hidden] {
  display: none !important;
}

#admin-panel.is-open {
  display: block !important;
}

.admin-head,
.admin-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.admin h1 { margin: 0; font-size: 36px; }

.admin h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.text-link { color: var(--gold-deep); }

.login {
  max-width: 420px;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.admin-card {
  margin: 24px 0;
  padding: 22px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

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

.admin-card-head h2 { margin: 0; }

.admin-fields {
  margin-top: 8px;
}

.program-editor {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.program-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--paper-2);
  border-radius: 10px;
}

.program-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin code {
  font-size: 12px;
  background: #eef2f8;
  padding: 1px 6px;
  border-radius: 4px;
}

.admin-stats {
  display: grid;
  gap: 14px;
  margin: 22px 0 8px;
}

.admin-stats p { margin: 0; }

.admin-stats strong {
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
}

.admin-tally-tabs {
  max-width: 520px;
}

.admin-tally-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.affil {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 14px;
}

.admin-actions { margin: 18px 0; }

.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.table-wrap { overflow-x: auto; }

.table-scroll-top {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 0 6px;
}

.table-scroll-spacer {
  height: 1px;
  pointer-events: none;
}

.admin-rsvp-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  align-items: end;
  margin: 12px 0 4px;
}

.admin-rsvp-filters label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.admin-rsvp-filters span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.admin-rsvp-filters select,
.admin-rsvp-filters .ghost {
  width: 100%;
}

.admin-row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.admin-row-actions .ghost {
  padding: 6px 10px;
  font-size: 12px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 31, 58, 0.45);
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal-dialog {
  width: min(680px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 22px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.admin-modal-dialog .fields {
  margin: 12px 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

td:nth-child(9) { white-space: normal; min-width: 160px; }

.text-button {
  margin: 0;
  padding: 0;
  background: none;
  color: var(--danger);
  border-radius: 0;
}

.empty { color: var(--muted); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .topbar,
  main,
  .colophon-inner { width: min(100% - 28px, 980px); }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .tally-board {
    grid-template-columns: 1fr;
  }

  .tally-total { min-height: 120px; }

  .tally-tab { font-size: 12px; padding: 9px 6px; }

  .table-status {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .hero { padding-top: 28px; text-align: left; }

  .invite-title,
  .lead { margin-left: 0; margin-right: 0; }

  .hero-visual { opacity: 0.5; width: 160px; }

  .program-list { grid-template-columns: 1fr; }

  .program-list li,
  .program-list li:nth-child(odd),
  .program-list li:nth-child(even) {
    padding: 14px 0;
    border-left: 0;
  }

  .program-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .program-list li:last-child { border-bottom: 0; }

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

  .frame { width: 48vw; height: 48vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero,
  .panel,
  .invite-script,
  .tab-panel.is-active { animation: none; }
  .button:hover { transform: none; }
}
