:root {
  color-scheme: light;
  --color-canvas-white: #ffffff;
  --color-ink-black: #000000;
  --color-surface-gray: #f3f3f3;
  --color-supporting-text-grey: #55575c;
  --color-subtle-border-gray: #d7d7d7;
  --color-dark-charcoal: #0b0b0d;
  --color-red-accent: #c91920;
  --black: var(--color-ink-black);
  --white: var(--color-canvas-white);
  --ink: var(--color-ink-black);
  --muted: var(--color-supporting-text-grey);
  --line: var(--color-subtle-border-gray);
  --soft: var(--color-surface-gray);
  --paper: var(--color-canvas-white);
  --steel: var(--color-dark-charcoal);
  --red: var(--color-red-accent);
  --gold: var(--color-red-accent);
  --table-head: var(--color-surface-gray);
  --hover-blue: var(--color-surface-gray);
  --shadow: none;
  --shadow-hover: rgba(0, 0, 0, 0.14) 0 12px 22px -18px;
  --radius: 4px;
  --pill: 4px;
  --container: min(1160px, calc(100vw - 48px));
  --font-inter:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans KR", sans-serif;
  --font-roobert: var(--font-inter);
  --font: var(--font-inter);
  --button-radius: 3px;
  font-family: var(--font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #fafafa;
  color: var(--black);
  font-family: var(--font);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 170px;
  align-items: center;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--black);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 116px;
  height: 38px;
  overflow: hidden;
}

.brand img,
.site-footer img {
  width: 116px;
  height: auto;
}

.brand img {
  filter: brightness(0) contrast(1.18);
}

.site-footer img {
  filter: brightness(0) contrast(1.18);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.auth-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.auth-nav a:hover {
  color: var(--red);
}

.auth-nav a.active {
  color: var(--red);
}

.auth-nav .signup-link {
  border-color: var(--black);
}

.auth-nav .signup-link:hover {
  border-color: var(--red);
}

.auth-user {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-group.active > .nav-link,
.nav-group:hover > .nav-link {
  border-color: var(--red);
  background: transparent;
  color: var(--red);
}

.nav-link:hover,
.nav-link.active,
.nav-group.active > .nav-link,
.nav-group:hover > .nav-link {
  text-decoration: none;
}

.nav-group {
  position: relative;
}

.nav-trigger::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.subnav {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 176px;
  padding: 10px 8px 8px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-hover);
}

.wide-subnav {
  min-width: 230px;
}

.nav-group:hover .subnav,
.nav-group:focus-within .subnav {
  display: grid;
  gap: 2px;
}

.subnav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
}

.subnav a:hover,
.subnav a.active {
  background: var(--white);
  color: var(--red);
  outline: 1px solid var(--red);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--black);
  border-radius: var(--button-radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--black);
}

.hero {
  position: relative;
  width: var(--container);
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 58px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 34px 0 36px;
  width: auto;
  height: auto;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  opacity: 1;
}

.hero::after {
  content: none;
}

.hero-mark {
  position: absolute;
  right: 4%;
  bottom: 18%;
  width: min(440px, 38vw);
  opacity: 0.09;
  pointer-events: none;
}

.hero-mark img {
  width: 100%;
  filter: brightness(0) contrast(1.12);
}

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
  padding-left: clamp(22px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 12px;
  padding: 4px 8px;
  border: 1px solid var(--black);
  border-radius: 2px;
  color: var(--black);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  border-color: var(--red);
  color: var(--red);
}

.eyebrow.dark {
  border-color: var(--red);
  color: var(--red);
  background: var(--white);
}

h1,
h2,
h3,
p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  font-family: var(--font-roobert);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--black);
}

h1 {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.hero-copy,
.page-hero p,
.content-card p,
.panel p,
.post-item p,
.board-detail p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-copy {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--black);
  border-radius: var(--button-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

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

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button.ghost {
  background: var(--white);
  color: var(--black);
}

.hero .button.ghost {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.portal-hero {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: 390px 44px;
  gap: 14px;
  align-items: stretch;
}

.portal-visual {
  position: relative;
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
}

.portal-visual::before {
  content: none;
}

.portal-visual.is-sliding-left > *:not(.hero-mark),
.event-digest.is-sliding-left > * {
  animation: slideInLeft 720ms ease both;
}

.portal-visual.is-sliding-right > *:not(.hero-mark),
.event-digest.is-sliding-right > * {
  animation: slideInRight 720ms ease both;
}

.portal-visual .hero-mark {
  right: 5%;
  bottom: 12%;
  width: min(430px, 42%);
}

.portal-visual h1 {
  position: relative;
  z-index: 1;
  color: var(--black);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
}

.portal-visual p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 620px;
  min-height: 84px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.portal-visual .hero-actions {
  position: relative;
  z-index: 1;
}

.event-digest {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 18px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.event-digest > strong {
  color: var(--black);
  font-size: 24px;
  font-weight: 900;
}

.event-digest dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  margin: 0;
}

.event-digest dt,
.event-digest dd {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.event-digest dt {
  color: var(--muted);
  font-weight: 800;
}

.event-digest dd {
  color: var(--black);
  font-weight: 800;
}

.event-digest dd[data-home-event-deadline] {
  min-height: 86px;
  white-space: pre-line;
}

.digest-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--red);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.event-carousel-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 44px;
  min-height: 44px;
}

.event-carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--black);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.event-carousel-controls button:hover {
  border-color: var(--red);
  color: var(--red);
}

.event-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-carousel-dots button {
  width: 9px;
  height: 9px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--black);
  border-radius: 100px;
  background: var(--white);
  font-size: 0;
}

.event-carousel-dots button.active {
  border-color: var(--red);
  background: var(--red);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quick-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 14px;
}

.quick-menu a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.quick-menu a:hover {
  border-color: var(--red);
}

.quick-menu span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-menu strong {
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: stretch;
}

.portal-card,
.board-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 24px;
  line-height: 1.25;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.section-head a:hover {
  border-color: var(--red);
  color: var(--red);
}

.section-head a.button.primary {
  border-color: var(--red);
  color: var(--white);
}

.section-head a.button.primary:hover {
  color: var(--white);
}

.portal-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.portal-list strong {
  color: var(--black);
  font-size: 16px;
  font-weight: 900;
}

.portal-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.event-index {
  padding-bottom: 12px;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.event-list-card {
  display: grid;
  gap: 16px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.event-list-card:hover {
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.event-list-card strong {
  color: var(--black);
  font-family: var(--font-roobert);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.event-list-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  margin: 0;
}

.event-list-card dt,
.event-list-card dd {
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.event-list-card dt {
  color: var(--muted);
  font-weight: 800;
}

.event-list-card dd {
  color: var(--black);
  font-weight: 700;
}

.event-status {
  justify-self: start;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--red);
  border-radius: var(--button-radius);
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.event-status.closed {
  border-color: var(--line);
  background: var(--soft);
  color: var(--black);
}

.compact-process {
  margin: 12px 0 18px;
}

.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.data-table thead {
  background: var(--soft);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.data-table th.red-corner,
.data-table th.blue-corner {
  color: var(--white);
  font-size: 14px;
}

.data-table th.red-corner {
  background: var(--red);
}

.data-table th.blue-corner {
  background: #0ea5d7;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--red);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.live {
  background: var(--red);
  color: var(--white);
}

.status-pill.ready {
  border-color: var(--black);
  color: var(--black);
}

.status-pill.pending {
  border-color: var(--line);
  background: var(--soft);
  color: var(--black);
}

.query-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 18px;
}

.query-form label {
  display: grid;
  gap: 6px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
}

.query-form input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  outline: none;
}

.query-form input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.event-detail {
  padding-top: 28px;
}

.event-detail-header {
  grid-column: 1 / -1;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.event-detail-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.event-detail-header p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-actions .button {
  min-height: 34px;
}

.event-detail-page {
  padding-top: 28px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.info-strip div {
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--black);
  background: var(--white);
}

.info-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.info-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--black);
  font-size: 18px;
  line-height: 1.45;
}

.board-preview {
  display: grid;
  gap: 0;
  margin-bottom: 32px;
}

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

.board-mini-list .mini-item {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.board-mini-list .home-board-item {
  display: grid;
  grid-template-columns: 76px 62px minmax(0, 1fr) 120px 92px 70px 52px;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
}

.board-mini-list .home-board-item:last-child {
  border-bottom: 1px solid var(--line);
}

.board-mini-list .home-board-item:hover {
  background: var(--soft);
}

.board-mini-list .home-board-item strong,
.board-mini-list .home-board-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-mini-list .home-board-item strong {
  font-size: 14px;
  font-weight: 800;
}

.board-mini-list .home-board-item span {
  color: var(--muted);
}

.board-no,
.board-kind {
  color: var(--black);
  font-weight: 800;
}

.page-main {
  min-height: calc(100vh - 68px);
}

.page-hero {
  width: var(--container);
  margin: 0 auto;
  min-height: 170px;
  padding: 38px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
}

body:not([data-page="home"]) .page-hero > h1 {
  visibility: hidden;
}

body:not([data-page="home"]) .page-hero.detail-page-hero > h1 {
  visibility: visible;
}

.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
}

.page-hero > .eyebrow,
.page-hero > p {
  display: none;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-band div {
  min-height: 78px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.status-band div:last-child {
  border-right: 0;
}

.status-band span,
.status-list span,
.detail-list dt,
.page-links span,
.number,
.meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.status-band span {
  color: var(--muted);
  text-transform: uppercase;
}

.status-band strong,
.status-list strong {
  display: block;
  margin-top: 6px;
  color: var(--black);
  font-family: var(--font-roobert);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-links a,
.panel,
.content-card,
.post-item,
.board-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.page-links a {
  display: grid;
  min-height: 132px;
  padding: 22px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.page-links a:hover,
.post-item:hover,
.post-item.active {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.page-links strong {
  display: block;
  margin-top: 18px;
  color: var(--black);
  font-family: var(--font-roobert);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.fight-console {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.console-copy,
.console-board {
  border-radius: var(--radius);
}

.console-copy {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.console-copy h2 {
  max-width: 520px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
}

.console-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.console-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 0;
  background: var(--white);
}

.console-board div {
  min-height: 102px;
  padding: 18px;
  background: var(--soft);
}

.console-board span {
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
}

.console-board strong,
.console-board small {
  display: block;
}

.console-board strong {
  margin-top: 14px;
  color: var(--black);
  font-family: var(--font-roobert);
  font-size: 19px;
  font-weight: 800;
}

.console-board small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.page-links p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
}

.panel {
  min-height: 190px;
  padding: 22px;
}

.panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.black-panel {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.black-panel h2,
.black-panel strong {
  color: var(--black);
}

.black-panel p,
.black-panel span {
  color: var(--muted);
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.mini-list,
.post-list {
  display: grid;
  gap: 10px;
}

.mini-item {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.mini-item strong,
.post-item strong {
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.two-column,
.event-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-card {
  padding: 22px;
}

.content-card h2 {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

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

article[id],
section[id],
.apply-step[id],
.visit-grid div[id] {
  scroll-margin-top: 96px;
}

.black-card {
  border-color: var(--black);
  background: var(--white);
  color: var(--black);
}

.black-card h2 {
  color: var(--black);
}

.black-card p,
.black-card li,
.black-card span {
  color: var(--muted);
}

.black-card .detail-list dt {
  color: var(--muted);
}

.black-card .detail-list dd {
  color: var(--black);
}

.black-card .detail-list dt,
.black-card .detail-list dd {
  border-bottom-color: var(--line);
}

.overview-card {
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--black);
}

.overview-card h2,
.overview-card .detail-list dd {
  color: var(--black);
}

.overview-card .detail-list dt {
  color: var(--muted);
}

.overview-card .detail-list dt,
.overview-card .detail-list dd {
  border-bottom-color: var(--line);
}

.rules-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.black-card .rules-table {
  border-top-color: var(--line);
}

.rules-table div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.black-card .rules-table div {
  border-bottom-color: var(--line);
}

.rules-table div:last-child {
  border-bottom: 0;
}

.rules-table strong {
  color: var(--black);
  font-size: 13px;
}

.black-card .rules-table strong {
  color: var(--red);
}

.rules-table span {
  font-size: 14px;
  line-height: 1.65;
}

.detail-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  margin: 0;
}

.detail-list dt,
.detail-list dd {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt:nth-last-of-type(1),
.detail-list dd:last-child {
  border-bottom: 0;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

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

.check-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.apply-panel {
  display: grid;
  gap: 16px;
}

.apply-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.apply-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.registration-timeline {
  --timeline-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.registration-timeline::before,
.registration-timeline::after {
  content: "";
  position: absolute;
  top: 43px;
  right: calc((100% / 3) / 2);
  left: calc((100% / 3) / 2);
  height: 4px;
  border-radius: 999px;
}

.registration-timeline::before {
  background: var(--line);
}

.registration-timeline::after {
  width: var(--timeline-progress);
  right: auto;
  background: var(--red);
}

.timeline-step {
  position: relative;
  z-index: 1;
  min-height: 112px;
  padding: 44px 18px 18px;
  text-align: center;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 4px solid var(--line);
  border-radius: 50%;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-step.active::before {
  border-color: var(--red);
  background: var(--red);
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

.timeline-step span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.timeline-step strong {
  display: block;
  margin-top: 16px;
  color: var(--black);
  font-family: var(--font-roobert);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.timeline-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.timeline-step.active span,
.timeline-step.active strong {
  color: var(--red);
}

.timeline-step.active p {
  color: var(--black);
}

.apply-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.apply-summary div {
  min-height: 72px;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.apply-summary div:last-child {
  border-right: 0;
}

.apply-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.apply-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--black);
  font-size: 15px;
  line-height: 1.45;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 6px;
}

.process-line a,
.process-line span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--black);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.process-line a:hover {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.apply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.apply-step {
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.apply-step span {
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
}

.apply-step h3 {
  margin-top: 12px;
  font-size: 19px;
}

.apply-step p {
  margin: 10px 0 0;
  font-size: 14px;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.visit-grid div {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.visit-grid strong {
  color: var(--black);
  font-size: 20px;
}

.visit-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.post-item {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  cursor: pointer;
  text-align: left;
}

.post-item p {
  margin: 0;
  font-size: 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.board-tools {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.board-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.board-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

.board-table .col-index {
  width: 8%;
}

.board-table .col-type {
  width: 7%;
}

.board-table .col-title {
  width: 52%;
}

.board-table .col-author {
  width: 12%;
}

.board-table .col-date {
  width: 10%;
}

.board-table .col-views {
  width: 7%;
}

.board-table .col-comments {
  width: 5%;
}

.board-table thead {
  background: var(--table-head);
}

.board-table th,
.board-table td {
  height: 39px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.board-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.board-table tbody tr {
  transition: background-color 160ms ease;
}

.board-table tbody tr:hover {
  background: var(--hover-blue);
}

.board-table tbody tr.active-row {
  background: #fff8f6;
}

.board-table tbody tr:last-child td {
  border-bottom: 0;
}

.board-table .notice-row {
  background: #fff8f6;
}

.board-table .notice-row td:first-child {
  color: var(--black);
  font-weight: 900;
}

.board-table .title-cell {
  text-align: left;
}

.board-table .type-cell {
  color: var(--black);
  font-weight: 800;
}

.board-title-link,
.board-table .title-cell button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-title-link:hover,
.board-table .title-cell button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.board-table .empty-row {
  height: 120px;
  color: var(--muted);
  text-align: center;
}

.board-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(120px, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.board-detail-full {
  position: static;
  margin-bottom: 18px;
  background: var(--white);
}

.board-detail-full[hidden] {
  display: none;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.detail-breadcrumb a {
  color: inherit;
}

.detail-breadcrumb .breadcrumb-label {
  color: var(--muted);
}

.detail-breadcrumb strong {
  color: var(--black);
}

.detail-breadcrumb a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-breadcrumb .breadcrumb-sep {
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.detail-page-hero {
  padding-left: 0;
}

.board-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.board-detail-head .board-kind {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--black);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 900;
}

.board-detail-head h3 {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.25;
}

.board-detail-body {
  min-height: 120px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.comment-section {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.comment-section h3 {
  font-size: 20px;
}

.comment-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.comment-list > li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.comment-row,
.reply-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 90px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
}

.comment-list strong,
.reply-list strong {
  color: var(--black);
  line-height: 1.5;
}

.comment-list time,
.reply-list time {
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
}

.comment-list p,
.reply-list p {
  margin: 0;
  color: var(--black);
  line-height: 1.6;
}

.comment-list .empty-comment {
  grid-template-columns: 1fr;
  color: var(--muted);
}

.reply-list {
  display: grid;
  gap: 0;
  margin: 8px 0 0 120px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reply-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

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

.comment-form {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.reply-form {
  margin: 10px 0 0 120px;
  grid-template-columns: 140px minmax(0, 1fr) auto;
}

.comment-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  outline: none;
}

.comment-form input {
  min-height: 42px;
  padding: 0 12px;
}

.comment-form textarea {
  height: 42px;
  min-height: 42px;
  padding: 10px 12px;
  resize: vertical;
  overflow: hidden;
}

.board-search {
  display: flex;
  gap: 8px;
  justify-self: start;
  width: min(420px, 100%);
}

.board-search select,
.board-search input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.board-search select {
  flex: 0 0 112px;
  padding: 0 12px;
}

.board-search input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
}

.board-search select:focus,
.board-search input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination button {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.pagination button:hover,
.pagination button.active {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.write-button {
  justify-self: end;
  min-width: 112px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-field {
  display: grid;
  flex: 1;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-field input,
.composer-dialog input,
.composer-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  outline: none;
}

.search-field input {
  min-height: 42px;
  padding: 0 14px;
}

.search-field input:focus,
.composer-dialog input:focus,
.composer-dialog textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
  align-items: start;
}

.board-detail {
  position: sticky;
  top: 96px;
  min-height: 330px;
  padding: 24px;
}

.board-detail.board-detail-full {
  position: static;
  top: auto;
  z-index: auto;
}

.board-detail h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 26px;
  font-weight: 900;
}

.board-detail p {
  white-space: pre-wrap;
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer img {
  width: 96px;
}

.composer-dialog {
  width: min(620px, calc(100vw - 30px));
  padding: 0;
  border: 0;
  background: transparent;
}

.composer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.2);
}

.composer-dialog form {
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
}

.dialog-header,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-header h2 {
  font-size: 32px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--black);
  border-radius: var(--button-radius);
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.composer-dialog label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.composer-dialog input,
.composer-dialog textarea {
  padding: 12px 13px;
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-message.error {
  color: var(--red);
  font-weight: 800;
}

.auth-section {
  display: grid;
  justify-items: center;
}

.auth-form-card {
  display: grid;
  gap: 18px;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
}

.mypage-card {
  display: grid;
  gap: 22px;
  width: min(760px, 100%);
  padding: 32px;
  background: var(--white);
}

.mypage-card h2 {
  font-size: 28px;
}

.mypage-card p {
  margin: 0;
  color: var(--muted);
}

.wide-auth-form {
  width: min(760px, 100%);
}

.auth-fieldset {
  display: grid;
  gap: 12px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.auth-fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.auth-fieldset h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-form-card label {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.auth-form-card label span {
  color: var(--black);
}

.required-label::after {
  content: " *";
  color: var(--red);
}

.field-control {
  display: grid;
  gap: 6px;
}

.field-control small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.birth-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 8px;
}

.auth-form-card input,
.auth-form-card select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--black);
  outline: none;
}

.auth-form-card input:focus,
.auth-form-card select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

.auth-form-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-hover);
  }

  body.menu-open .primary-nav {
    display: flex;
  }

  .auth-nav {
    display: none;
  }

  .primary-nav a,
  .nav-link {
    color: var(--black);
    justify-content: center;
  }

  .nav-group {
    display: grid;
  }

  .subnav {
    position: static;
    display: grid;
    min-width: 0;
    margin: 4px 0 8px;
    border-color: var(--line);
    background: var(--soft);
    box-shadow: none;
  }

  .subnav a {
    color: var(--black);
  }

  .page-links,
  .home-grid,
  .two-column,
  .event-layout,
  .board-layout,
  .fight-console,
  .portal-hero,
  .portal-grid,
  .quick-menu,
  .info-strip,
  .board-mini-list,
  .apply-head,
  .apply-summary,
  .apply-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

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

  .board-search,
  .write-button {
    justify-self: stretch;
  }

  .pagination {
    order: 3;
  }

  .board-detail {
    position: static;
  }

  .apply-head .button {
    justify-self: stretch;
  }

  .apply-actions {
    justify-content: start;
  }

  .apply-summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .apply-summary div:last-child {
    border-bottom: 0;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-digest {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .site-header {
    min-height: 66px;
  }

  .brand,
  .brand img {
    width: 108px;
  }

  .primary-nav {
    top: 66px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 48px;
  }

  .hero-mark {
    right: -18%;
    bottom: 14%;
    width: 82vw;
  }

  h1 {
    font-size: 42px;
  }

  .page-hero h1,
  .console-copy h2 {
    font-size: 30px;
  }

  .detail-breadcrumb {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .detail-breadcrumb .breadcrumb-sep {
    font-size: 22px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .portal-hero {
    padding-top: 18px;
    grid-template-rows: auto auto auto;
  }

  .portal-visual {
    height: auto;
    min-height: 430px;
    padding: 28px 22px;
  }

  .event-digest {
    min-height: auto;
  }

  .event-carousel-controls {
    gap: 12px;
  }

  .portal-visual h1 {
    font-size: 42px;
  }

  .portal-visual .hero-mark {
    right: -20%;
    bottom: 12%;
    width: 88vw;
  }

  .event-digest,
  .portal-card,
  .board-preview {
    padding: 20px;
  }

  .quick-menu a {
    min-height: 76px;
    padding: 15px;
  }

  .info-strip div {
    min-height: 74px;
  }

  .board-mini-list .home-board-item {
    grid-template-columns: 58px 46px minmax(180px, 1fr) 86px 76px 48px 38px;
    gap: 7px;
    padding: 0 10px;
    font-size: 12px;
    min-width: 620px;
  }

  .hero-actions,
  .board-tools,
  .dialog-actions,
  .auth-form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-form-card {
    padding: 22px;
  }

  .auth-form-card label {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .query-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
  }

  .registration-timeline::before,
  .registration-timeline::after {
    top: 34px;
    bottom: 34px;
    left: 25px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .registration-timeline::after {
    width: 4px;
    height: var(--timeline-progress);
  }

  .timeline-step {
    min-height: auto;
    padding: 0 18px 0 58px;
    text-align: left;
  }

  .timeline-step::before {
    top: 0;
    left: 25px;
  }

  .timeline-step::after {
    top: 9px;
    left: 25px;
  }

  .process-line a,
  .process-line span {
    min-height: 52px;
    padding: 9px 6px;
    font-size: 12px;
  }

  .board-table {
    min-width: 900px;
  }

  .board-table .col-index {
    width: 8%;
  }

  .board-table .col-type {
    width: 7%;
  }

  .board-table .col-title {
    width: 48%;
  }

  .board-table .col-author {
    width: 13%;
  }

  .board-table .col-date {
    width: 11%;
  }

  .board-table .col-views {
    width: 8%;
  }

  .board-table .col-comments {
    width: 5%;
  }

  .board-table th,
  .board-table td {
    height: 39px;
    padding: 0 8px;
    font-size: 13px;
  }

  .comment-row,
  .reply-list li,
  .comment-form,
  .reply-form {
    grid-template-columns: 1fr;
  }

  .reply-list,
  .reply-form {
    margin-left: 0;
  }

  .comment-list time,
  .reply-list time {
    text-align: left;
  }

  .detail-breadcrumb {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .detail-page-hero {
    padding-left: 0;
  }

  .board-search {
    flex-direction: column;
  }

  .board-search select {
    flex-basis: auto;
  }

  .section {
    padding: 44px 0;
  }

  .page-hero {
    min-height: 200px;
    padding: 44px 0 24px;
  }

  .status-band {
    grid-template-columns: 1fr;
  }

  .status-band div {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid var(--white);
  }

  .status-band div:last-child {
    border-bottom: 0;
  }

  .content-card,
  .panel,
  .page-links a,
  .board-detail,
  .apply-step {
    padding: 20px;
  }

  .rules-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

  .detail-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .detail-list dd {
    padding-top: 4px;
  }
}
