/* Readability baseline shared by public pages and the staff workbench. */
.required-mark {
  color: #ff9aaa;
  font-weight: 700;
  margin-inline: 5px;
}
.required-note {
  color: #b6c6d9;
  font-size: 14px;
  font-weight: 400;
  margin: -12px 0 24px;
}
.field-optional {
  color: #b6c6d9;
  font-weight: 400;
}
:root {
  --muted: #b6c6d9;
  --line: #40546d;
}
body {
  font-size: 16px;
  line-height: 1.75;
}
.preview-bar {
  font-size: 13px;
  line-height: 1.7;
  padding: 9px 18px;
  color: #c6d8e8;
}
.brand {
  font-size: 15px;
}
.brand small {
  font-size: 12px;
  letter-spacing: 1px;
  color: #bccbdd;
}
nav,
.site-header nav {
  font-size: 15px;
  gap: 24px;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c3d2e4;
}
nav a.active {
  font-weight: 700;
}
.button,
.button.small,
.event-card .button,
.hero .button {
  min-height: 44px;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 20px;
  letter-spacing: 0;
}
.button {
  border-radius: 5px;
}
.button:disabled {
  opacity: 1;
  color: #b1bfd0;
  background: #243144;
  border-color: #44566f;
  box-shadow: none;
  transform: none;
}
.text-link,
.hero .text-link,
.participation-aside .text-link {
  font-size: 15px;
  line-height: 1.7;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d0e4f5;
}
.eyebrow,
.hero .eyebrow {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 1px;
  flex-wrap: wrap;
}
.hero-copy {
  padding-right: 22px;
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.9;
  color: #cbd7e8;
}
.hero-kicker,
.hero-kicker > span {
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-wrap: wrap;
}
.hero-date > span {
  font-size: 14px;
  line-height: 1.7;
  color: #c6d7eb;
}
.hero-date strong > span {
  font-size: inherit;
  line-height: inherit;
}
.hero h1 {
  text-shadow: none;
}
.hero-rail {
  font-size: 12px;
  letter-spacing: 0.3px;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-copy,
.hero-art {
  padding-bottom: 95px;
}
.hero-art {
  padding-top: 20px;
}
#ambientCanvas {
  opacity: 0.35;
}
.hero::before {
  opacity: 0.6;
}
.section-heading {
  align-items: start;
}
.section-heading > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 38ch;
}
.section-heading h2 {
  line-height: 1.45;
}
.page-title {
  line-height: 1.4;
  letter-spacing: 0;
}
.event-card {
  min-height: 360px;
}
.event-card p,
.film-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #d0dcec;
}
.event-tags {
  font-size: 14px;
  color: #c0d2e7;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.pill,
.film-card .pill {
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  color: #d3e8fa;
  letter-spacing: 0;
}
.event-card h3 {
  line-height: 1.4;
  text-shadow: none;
}
.event-visual {
  opacity: 0.18;
  right: 16px;
  width: 115px;
}
.how-section li strong {
  font-size: 18px;
  font-weight: 600;
}
.how-section li p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.panel,
.admin-record,
.work-card,
.stat-card,
.empty {
  background: #0d1929;
}
.panel {
  padding: 30px;
}
.panel h2 {
  font-size: 23px;
  line-height: 1.5;
}
.panel-heading {
  align-items: start;
  gap: 14px;
  margin-bottom: 28px;
}
.panel-heading p,
.hint,
.rule-line,
.record p,
.admin-record p,
.work-body p,
.participation-aside p,
.participation-aside .hint,
.audit-row {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.panel-heading p {
  margin-top: 6px;
}
.hint {
  margin-top: 12px;
  margin-bottom: 20px;
}
.hint:empty {
  display: none;
}
.hint.error {
  color: #ffb8c2;
}
.participation-aside h4 {
  font-size: 17px;
  line-height: 1.6;
}
.participation-aside h3 {
  font-size: 25px;
  line-height: 1.5;
}
#videoHint {
  white-space: pre-line;
}
label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #edf3fc;
}
input:not([type='checkbox']),
textarea,
select,
.admin-record input,
.admin-record textarea {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 48px;
  padding: 12px 14px;
  border-color: #5a708b;
  background: #07111f;
  color: #f1f6fe;
  margin-top: 8px;
}
input::placeholder,
textarea::placeholder {
  color: #acbcd0;
  opacity: 1;
}
input:disabled,
textarea:disabled,
select:disabled {
  color: #c0ccdb;
  background: #1b2738;
  border-color: #44566f;
}
input[type='file'] {
  font-size: 14px;
  white-space: normal;
}
input[type='file']::file-selector-button {
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 4px;
}
.checkbox {
  font-size: 15px;
  font-weight: 400;
  color: #d0dced;
  line-height: 1.85;
  gap: 12px;
}
.checkbox input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}
.inline-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.8;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #84eaff;
  outline-offset: 3px;
  box-shadow: none;
}
.tabs {
  flex-wrap: wrap;
  border-radius: 6px;
  gap: 8px;
  padding: 6px;
}
.tabs button,
.admin-shell .tabs button {
  font-size: 15px;
  min-height: 44px;
  padding: 10px 18px;
  color: #c1cfe1;
  line-height: 1.6;
}
.tabs button.active {
  font-weight: 700;
  color: #e4f7ff;
  background: #1b425a;
}
.step-number {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-size: 16px;
}
.work-body {
  padding: 24px;
}
.work-body h3,
.admin-record h3 {
  font-size: 22px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.work-body p,
.record p,
.admin-record p {
  white-space: pre-line;
}
.work-scores,
.work-footer,
.pagination {
  font-size: 15px;
  line-height: 1.7;
  color: #c2d3e6;
  flex-wrap: wrap;
}
.work-scores {
  gap: 8px 16px;
}
.status {
  font-size: 14px;
  padding: 5px 12px;
  line-height: 1.6;
  font-weight: 600;
}
.empty {
  line-height: 1.85;
  font-size: 16px;
}
.empty h3 {
  font-size: 24px;
  line-height: 1.5;
}
.record .code {
  font-size: 15px;
}
.stat-card span,
.storage-table table,
.staff-row {
  font-size: 15px;
  line-height: 1.75;
}
.stat-card strong {
  text-shadow: none;
  overflow-wrap: anywhere;
}
.stat-card strong.storage-value {
  font-size: 25px;
}
.admin-top h1 {
  line-height: 1.4;
}
.admin-shell .hint,
#storagePanel > p {
  max-width: 78ch;
}
.admin-login {
  max-width: 510px;
}
.storage-table th,
.storage-table td {
  padding: 14px 12px;
}
#progressText,
.checkin-result {
  font-size: 16px;
  line-height: 1.8;
}
footer,
footer .brand {
  font-size: 14px;
  line-height: 1.8;
  color: #b8c9de;
  flex-wrap: wrap;
}
footer > a:last-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
dialog p,
dialog label,
.toast {
  font-size: 16px;
  line-height: 1.85;
}
dialog h2 {
  line-height: 1.45;
}
.dialog-close {
  width: 44px;
  height: 44px;
  line-height: 1;
  top: 8px;
  right: 8px;
}
dialog {
  max-width: 520px;
}
@media (max-width: 1000px) {
  .site-header nav {
    gap: 12px;
  }
  .hero .eyebrow,
  .hero-kicker,
  .hero-kicker > span {
    font-size: 12px;
  }
  .hero-rail {
    font-size: 11px;
  }
  .hero-copy {
    padding-right: 22px;
  }
}
@media (max-width: 700px) {
  .preview-bar {
    font-size: 12px;
  }
  .brand {
    font-size: 14px;
  }
  .brand small {
    font-size: 11px;
  }
  .site-header nav {
    font-size: 14px;
    gap: 6px;
    padding-top: 8px;
  }
  nav a.active::after {
    bottom: 0;
  }
  .button,
  .button.small,
  .hero .button,
  .event-card .button {
    font-size: 15px;
  }
  .hero-copy {
    padding: 30px 22px 10px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 62px);
    line-height: 1.25;
    letter-spacing: -1px;
  }
  .hero-title-outline {
    font-size: 0.6em;
    letter-spacing: 0;
  }
  .hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .hero-kicker,
  .hero-kicker > span {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero .actions {
    gap: 10px 18px;
  }
  .hero .text-link {
    font-size: 15px;
  }
  .hero-date {
    gap: 14px;
  }
  .hero-date > span {
    font-size: 13px;
    padding-left: 12px;
  }
  .hero-date strong {
    font-size: 35px;
  }
  .hero-art {
    height: 330px;
    padding: 10px 0 50px;
  }
  .tech-core {
    width: 330px;
  }
  .hero-rail {
    font-size: 11px;
    line-height: 1.8;
    padding: 10px 12px;
    gap: 4px 12px;
  }
  .hero-rail > span {
    letter-spacing: 0;
  }
  .hero-rail > span::before {
    display: none;
  }
  .core-caption {
    display: none;
  }
  .art-label.bottom {
    bottom: 50px;
  }
  .ticker {
    font-size: 11px;
  }
  .section-heading h2,
  .how-section h2 {
    font-size: 26px;
    line-height: 1.45;
  }
  .section-heading > p {
    font-size: 16px;
  }
  .event-card {
    padding: 26px 24px;
    min-height: 0;
  }
  .event-card h3 {
    font-size: 32px;
    margin-top: 24px;
  }
  .event-card p {
    font-size: 16px;
  }
  .event-tags {
    font-size: 14px;
    margin: 22px 0;
  }
  .event-visual {
    opacity: 0.14;
    width: 100px;
    top: 78px;
    right: 10px;
  }
  .tabs button {
    font-size: 15px;
    padding: 10px 12px;
    flex-basis: 140px;
  }
  .panel {
    padding: 24px 20px;
  }
  .panel h2 {
    font-size: 22px;
  }
  .page-title {
    font-size: 30px;
  }
  .participation-aside {
    order: 0;
    padding: 24px 20px;
  }
  .participation-aside h4,
  .participation-aside .divider {
    display: block;
  }
  .participation-aside p {
    font-size: 16px;
  }
  .participation-aside h3 {
    font-size: 24px;
  }
  .admin-login {
    max-width: none;
  }
  .admin-shell .tabs button {
    flex: 1 1 130px;
    padding: 10px 12px;
  }
  .admin-top {
    flex-wrap: wrap;
  }
  .stat-card {
    padding: 18px 16px;
  }
  .stat-grid {
    gap: 12px;
  }
  .admin-controls .button {
    white-space: normal;
  }
  .actions {
    gap: 12px;
  }
  .checkbox {
    font-size: 15px;
  }
  .work-footer {
    gap: 12px;
  }
  footer {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot {
    opacity: 1;
  }
}
