.hub-hero { border-bottom: 3px solid var(--ink); }
.hub-hero .container {
  padding: 48px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}
.hub-hero-copy { flex: 1 1 520px; min-width: 0; }
.hub-title { font-size: 180px; line-height: 0.8; margin: 0; }
.hub-hero-copy .lead { font-size: 26px; line-height: 1.35; margin: 20px 0 0; max-width: 600px; font-weight: 600; }
.hub-cover {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 560px;
  height: 340px;
  object-fit: cover;
  border: var(--border);
  box-shadow: 10px 10px 0 var(--ink);
}
.hub-cover-cutout {
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(8px 8px 0 var(--ink));
}

.class-switcher { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.class-switcher-label { font-size: 22px; font-weight: 800; }
.class-switcher-group { display: flex; border: var(--border); background: var(--white); }
.class-switcher-group button {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  min-height: 56px;
  padding: 8px 22px;
  border: 0;
  border-right: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
}
.class-switcher-group button:last-child { border-right: 0; }
.class-switcher-group button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.switch-category-link { color: var(--accent-fg, inherit); font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; min-height: 44px; }
.switch-category-link:hover, .switch-category-link:focus-visible { color: var(--accent-fg, inherit); text-decoration-thickness: 3px; }

.hub-subnav {
  background: var(--white);
  border-bottom: var(--border-thin);
  position: sticky;
  top: var(--header-offset, 0px);
  z-index: 5;
  transition: top 0.28s ease;
}
.hub-subnav .container { display: flex; gap: 4px; overflow-x: auto; font-weight: 700; font-size: 15px; padding: 0 24px; }
.hub-subnav a {
  padding: 16px 14px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 4px solid transparent;
}
.hub-subnav a.is-active { border-bottom-color: var(--accent); }

.now-strip {
  border: var(--border);
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding: 18px 24px;
}
.now-strip .tag { background: var(--signal); color: var(--ink); font-weight: 800; font-size: 19px; padding: 4px 12px; }
.now-strip .text { font-size: 20px; font-weight: 700; flex: 1 1 300px; }
.now-strip a { color: var(--white); font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; }

.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.overview-card { background: var(--white); border: var(--border); padding: 24px; }
.overview-card.span-2 { grid-row: span 2; }
.overview-card h2 { font-size: 52px; line-height: 0.92; margin: 0 0 12px; }
.overview-card h3 { font-size: 36px; margin: 0; }
.overview-card p { font-size: 20px; line-height: 1.5; margin: 0; }
.overview-card .list-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-top: var(--border-thin);
  padding: 12px 0;
  font-size: 19px;
}
.overview-card .list-item .dot { font-weight: 800; }
.overview-card .plain-list { font-size: 19px; line-height: 1.7; margin-top: 10px; }

.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border: var(--border); background: var(--white); margin-top: 20px; }
.schedule-cell { padding: 20px; border-right: 2px solid var(--ink); }
.schedule-cell:last-child { border-right: 0; }
.schedule-cell.awards { background: var(--signal); }
.schedule-cell .num { font-size: 56px; line-height: 0.8; }
.schedule-cell .title { font-weight: 800; font-size: 18px; margin-top: 10px; }
.schedule-cell .when { font-size: 15px; margin-top: 6px; }
.schedule-cell .note { font-size: 15px; color: var(--text-2); margin-top: 8px; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; margin-top: 20px; }
.rule-card { text-decoration: none; background: var(--white); border: var(--border-thin); padding: 18px; display: block; color: var(--ink); }
.rule-card .article { font-weight: 700; }
.rule-card .title { font-weight: 800; font-size: 19px; margin: 4px 0; }
.rule-card .summary { color: var(--text-2); font-size: 16px; line-height: 1.4; }

.scoring-tabs { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.scoring-bar { display: flex; height: 40px; border-bottom: 3px solid var(--ink); }
.scoring-bar div {
  border-right: 2px solid var(--ink);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
}
.scoring-bar div:last-child { border-right: 0; }
.scoring-body { background: var(--white); border: var(--border); border-top: 0; }
.scoring-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 24px;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}
.scoring-row .swatch { width: 16px; height: 16px; border: 2px solid var(--ink); margin-top: 4px; flex: 0 0 auto; }
.scoring-row .info { flex: 1 1 260px; }
.scoring-row .info .name { font-weight: 800; font-size: 19px; }
.scoring-row .info .note { font-size: 16px; color: var(--text-2); margin-top: 4px; line-height: 1.45; }
.scoring-row .points { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; }
.scoring-total { padding: 16px 24px; font-size: 20px; font-weight: 800; display: flex; justify-content: space-between; }

.awards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; margin-top: 20px; }
.award-card { border: var(--border); padding: 22px; background: var(--white); }
.award-card.gold { background: var(--signal); }
.award-card.special { border-style: dashed; }
.award-card.everyone { background: var(--ink); color: var(--white); }
.award-card .place { font-size: 72px; line-height: 0.8; }
.award-card .special-title { font-size: 32px; line-height: 0.95; }
.award-card .what { font-weight: 800; margin-top: 10px; }

.jury-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-top: 20px; }
.jury-card { background: var(--white); border: var(--border-thin); padding: 16px; display: flex; gap: 14px; align-items: center; }
.jury-card .avatar { width: 64px; height: 64px; flex: 0 0 auto; }
.jury-card .name { font-weight: 800; }
.jury-card .role { font-size: 15px; color: var(--muted); }

.hub-cta { border: var(--border); box-shadow: 10px 10px 0 var(--ink); padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin: 64px 0 80px; }
.hub-cta .title { font-size: 72px; line-height: 0.85; }
.hub-cta .fee { font-size: 18px; margin-top: 8px; }

.hub-mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: var(--border);
  z-index: 10;
}
.hub-mobile-tabbar .row { display: flex; }
.hub-mobile-tabbar a {
  flex: 1 1 0;
  text-align: center;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-right: 2px solid var(--ink);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-mobile-tabbar a:last-child { border-right: 0; }

@media (max-width: 860px) {
  .hub-title { font-size: clamp(44px, 15vw, 96px); }
  .class-switcher-group { flex-wrap: wrap; max-width: 100%; }
  .class-switcher-group button { font-size: 20px; padding: 8px 14px; min-height: 48px; }
  .hub-subnav { display: none; }
  .hub-mobile-tabbar { display: block; }
  main { padding-bottom: 56px; }
  .hub-cta { padding: 24px; }
  .hub-cta > div { min-width: 0; }
  .hub-cta .title { font-size: clamp(32px, 11vw, 44px); }
  .scoring-bar div { min-width: max-content; padding: 0 5px; font-size: 12px; justify-content: center; }
}

.hub-docs-title { font-size: 34px; margin: 40px 0 16px; }
