:root {
  color-scheme: light;
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --ink: #121826;
  --muted: #667085;
  --line: #d8e8f6;
  --primary: #1683d8;
  --primary-dark: #075c9f;
  --accent: #4aa8ec;
  --primary-soft: #edf8ff;
  --shadow: 0 18px 42px rgba(21, 101, 168, 0.1);
}

@font-face {
  font-family: "SCoreDream9";
  src:
    local("S-Core Dream 9 Black"),
    local("S-CoreDream-9Black"),
    local("SCDream9"),
    local("에스코어 드림 9 Black"),
    local("에스코어 드림9"),
    url("assets/SCDream9.otf") format("opentype"),
    url("assets/fonts/SCoreDream9.woff2") format("woff2"),
    url("assets/fonts/SCoreDream9.woff") format("woff"),
    url("assets/fonts/SCDream9.woff2") format("woff2"),
    url("assets/fonts/SCDream9.woff") format("woff");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Noto Sans KR", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.menu-toggle {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(228, 232, 240, 0.9);
  background: #fff;
}

.header-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  align-items: center;
  width: min(1180px, 100%);
  min-width: 0;
}

.brand {
  display: inline-grid;
  align-items: center;
  gap: 3px;
  color: #101828;
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 156px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.header-lookup-button {
  min-height: 38px;
  min-width: 116px;
  border: 1px solid #b9d7f3;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.header-lookup-button:hover {
  background: #eef6ff;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.score-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.hero-section {
  overflow: hidden;
  background: #020814;
  color: var(--ink);
}

.hero-inner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-title {
  --hero-image: url("assets/hero-ai-prediction-bg.png");
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 8px;
  place-items: center;
  min-height: 360px;
  padding: 74px 18px 92px;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.18), rgba(2, 8, 20, 0.04) 34%, rgba(2, 8, 20, 0.08) 66%, rgba(2, 8, 20, 0.2)),
    var(--hero-image) center/cover no-repeat;
  box-shadow: inset 0 -1px 0 rgba(148, 218, 255, 0.16);
  text-align: center;
}

.hero-title::before,
.hero-title::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-title::before {
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(ellipse at center, rgba(1, 7, 18, 0.1) 0%, rgba(1, 7, 18, 0.2) 42%, rgba(1, 7, 18, 0.48) 100%),
    linear-gradient(90deg, rgba(2, 8, 20, 0.38) 0%, rgba(2, 8, 20, 0.08) 26%, rgba(2, 8, 20, 0.02) 52%, rgba(2, 8, 20, 0.26) 100%);
}

.hero-title::after {
  inset: 0;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0%, rgba(118, 218, 255, 0.18) 48%, rgba(118, 218, 255, 0.08) 52%, transparent 100%);
}

.hero-analytics {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.analytics-panel,
.analytics-cube,
.analytics-axis,
.analytics-network {
  position: absolute;
  display: block;
}

.analytics-panel {
  border: 1px solid rgba(137, 221, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 39, 63, 0.72), rgba(3, 14, 29, 0.78)),
    repeating-linear-gradient(90deg, rgba(139, 222, 255, 0.11) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(139, 222, 255, 0.08) 0 1px, transparent 1px 32px);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(76, 194, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.analytics-panel-main {
  right: clamp(24px, 7vw, 112px);
  bottom: 58px;
  width: clamp(260px, 31vw, 430px);
  height: clamp(150px, 17vw, 220px);
  transform: perspective(780px) rotateX(58deg) rotateZ(-8deg);
  transform-origin: center bottom;
}

.analytics-panel-main::before {
  content: "";
  position: absolute;
  inset: 18px 26px 34px;
  border-left: 1px solid rgba(151, 221, 255, 0.38);
  border-bottom: 1px solid rgba(151, 221, 255, 0.38);
  background:
    linear-gradient(70deg, transparent 0 12%, rgba(117, 209, 255, 0.8) 12.5% 13.5%, transparent 14% 29%, rgba(117, 209, 255, 0.84) 29.5% 30.5%, transparent 31% 45%, rgba(244, 190, 86, 0.88) 45.5% 46.5%, transparent 47% 62%, rgba(117, 209, 255, 0.82) 62.5% 63.5%, transparent 64% 78%, rgba(244, 190, 86, 0.96) 78.5% 79.7%, transparent 80%),
    linear-gradient(110deg, transparent 0 16%, rgba(244, 190, 86, 0.84) 16.5% 17.5%, transparent 18% 35%, rgba(244, 190, 86, 0.8) 35.5% 36.5%, transparent 37% 53%, rgba(117, 209, 255, 0.72) 53.5% 54.5%, transparent 55% 73%, rgba(244, 190, 86, 0.86) 73.5% 74.5%, transparent 75%);
}

.analytics-panel-main::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 52%;
  height: 44%;
  background:
    linear-gradient(to top, rgba(239, 185, 86, 0.82) 0 36%, transparent 36%) 0 100% / 9% 100% no-repeat,
    linear-gradient(to top, rgba(126, 218, 255, 0.74) 0 52%, transparent 52%) 18% 100% / 9% 100% no-repeat,
    linear-gradient(to top, rgba(239, 185, 86, 0.88) 0 64%, transparent 64%) 36% 100% / 9% 100% no-repeat,
    linear-gradient(to top, rgba(126, 218, 255, 0.8) 0 78%, transparent 78%) 54% 100% / 9% 100% no-repeat,
    linear-gradient(to top, rgba(239, 185, 86, 0.96) 0 92%, transparent 92%) 72% 100% / 9% 100% no-repeat,
    linear-gradient(to top, rgba(126, 218, 255, 0.86) 0 70%, transparent 70%) 90% 100% / 9% 100% no-repeat;
}

.analytics-panel-small {
  right: clamp(250px, 35vw, 520px);
  top: 78px;
  width: clamp(96px, 11vw, 154px);
  height: clamp(72px, 8vw, 102px);
  transform: rotate(-6deg);
}

.analytics-panel-small::before,
.analytics-panel-mini::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 206, 111, 0.92) 0 3px, transparent 4px) 42% 34% / 18px 18px,
    radial-gradient(circle, rgba(91, 215, 255, 0.86) 0 2px, transparent 4px) 58% 54% / 16px 16px,
    conic-gradient(from 220deg, rgba(239, 185, 86, 0.82), rgba(101, 219, 255, 0.7), transparent 65%);
  opacity: 0.84;
}

.analytics-panel-mini {
  right: clamp(34px, 4vw, 74px);
  top: 92px;
  width: clamp(116px, 12vw, 172px);
  height: clamp(78px, 8vw, 108px);
  transform: rotate(4deg);
}

.analytics-cube {
  transform-style: preserve-3d;
  border: 1px solid rgba(154, 226, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(127, 218, 255, 0.4), rgba(13, 53, 83, 0.34)),
    linear-gradient(45deg, rgba(255, 205, 109, 0.18), transparent 56%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(100, 214, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.analytics-cube::before,
.analytics-cube::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(154, 226, 255, 0.22);
  background: rgba(20, 86, 124, 0.36);
}

.analytics-cube::before {
  left: 14%;
  right: -20%;
  top: -22%;
  height: 22%;
  transform: skewX(-36deg);
  transform-origin: bottom left;
  background: linear-gradient(90deg, rgba(197, 240, 255, 0.42), rgba(32, 112, 153, 0.28));
}

.analytics-cube::after {
  top: -1px;
  bottom: 14%;
  right: -22%;
  width: 22%;
  transform: skewY(-48deg);
  transform-origin: top left;
  background: linear-gradient(180deg, rgba(44, 150, 196, 0.42), rgba(4, 29, 54, 0.38));
}

.analytics-cube-large {
  right: clamp(310px, 35vw, 560px);
  bottom: 72px;
  width: clamp(68px, 7vw, 102px);
  height: clamp(68px, 7vw, 102px);
  opacity: 0.86;
  transform: perspective(700px) rotateX(58deg) rotateZ(-18deg);
}

.analytics-cube-small {
  right: clamp(106px, 12vw, 190px);
  top: 170px;
  width: clamp(42px, 4.5vw, 66px);
  height: clamp(42px, 4.5vw, 66px);
  opacity: 0.76;
  transform: perspective(620px) rotateX(54deg) rotateZ(18deg);
}

.analytics-axis {
  right: clamp(80px, 11vw, 178px);
  bottom: 76px;
  width: clamp(170px, 17vw, 250px);
  height: clamp(96px, 9vw, 138px);
  opacity: 0.78;
  transform: perspective(700px) rotateX(60deg) rotateZ(-12deg);
  transform-origin: center bottom;
  border-left: 1px solid rgba(150, 224, 255, 0.52);
  border-bottom: 1px solid rgba(150, 224, 255, 0.52);
  background:
    linear-gradient(to top, rgba(246, 195, 91, 0.86) 0 38%, rgba(246, 195, 91, 0.16) 38% 100%) 12% 100% / 9% 82% no-repeat,
    linear-gradient(to top, rgba(112, 217, 255, 0.8) 0 58%, rgba(112, 217, 255, 0.14) 58% 100%) 31% 100% / 9% 82% no-repeat,
    linear-gradient(to top, rgba(246, 195, 91, 0.92) 0 76%, rgba(246, 195, 91, 0.14) 76% 100%) 50% 100% / 9% 82% no-repeat,
    linear-gradient(to top, rgba(112, 217, 255, 0.9) 0 91%, rgba(112, 217, 255, 0.14) 91% 100%) 69% 100% / 9% 82% no-repeat,
    linear-gradient(to top, rgba(246, 195, 91, 0.96) 0 68%, rgba(246, 195, 91, 0.14) 68% 100%) 88% 100% / 9% 82% no-repeat,
    repeating-linear-gradient(0deg, rgba(153, 225, 255, 0.13) 0 1px, transparent 1px 28px);
  filter: drop-shadow(0 0 18px rgba(98, 209, 255, 0.18));
}

.analytics-axis::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 4%;
  top: 8%;
  height: 70%;
  background:
    linear-gradient(128deg, transparent 0 16%, rgba(248, 202, 101, 0.92) 16.5% 17.8%, transparent 18.3% 34%, rgba(101, 215, 255, 0.9) 34.5% 35.8%, transparent 36.3% 52%, rgba(248, 202, 101, 0.94) 52.5% 53.8%, transparent 54.3% 76%, rgba(101, 215, 255, 0.9) 76.5% 77.8%, transparent 78.3%);
}

.analytics-network {
  left: 5%;
  bottom: 12%;
  width: min(360px, 28vw);
  height: 210px;
  opacity: 0.88;
  background:
    radial-gradient(circle at 8% 72%, rgba(238, 184, 84, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 26% 45%, rgba(238, 184, 84, 0.88) 0 4px, transparent 5px),
    radial-gradient(circle at 42% 62%, rgba(129, 220, 255, 0.82) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 28%, rgba(129, 220, 255, 0.78) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 54%, rgba(238, 184, 84, 0.84) 0 4px, transparent 5px),
    linear-gradient(24deg, transparent 49.3%, rgba(238, 184, 84, 0.5) 49.8% 50.2%, transparent 50.7%) 4% 51% / 120px 58px no-repeat,
    linear-gradient(-18deg, transparent 49.3%, rgba(129, 220, 255, 0.42) 49.8% 50.2%, transparent 50.7%) 25% 42% / 132px 68px no-repeat,
    linear-gradient(22deg, transparent 49.3%, rgba(129, 220, 255, 0.34) 49.8% 50.2%, transparent 50.7%) 45% 35% / 148px 78px no-repeat;
}

.hero-brandmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-width: calc(100% - 48px);
  color: #dff7ff;
  font-family: "SCoreDream9", "Noto Sans KR", Arial, sans-serif;
  font-size: clamp(24px, 2.75vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 2px 0 rgba(0, 10, 22, 0.82),
    0 8px 22px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(99, 216, 255, 0.3);
}

.hero-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 4px;
  padding: 0;
  color: rgba(188, 236, 255, 0.96);
  font-size: clamp(13px, 1.18vw, 16px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.76),
    0 0 18px rgba(98, 215, 255, 0.34);
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  display: block;
  width: clamp(24px, 3vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 218, 255, 0.74));
}

.hero-kicker::after {
  background: linear-gradient(90deg, rgba(116, 218, 255, 0.74), transparent);
}

.hero-brandmark::before,
.hero-brandmark::after {
  content: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 36px);
  padding: 6px 20px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-family: "SCoreDream9", "Noto Sans KR", Arial, sans-serif;
  font-size: clamp(58px, 6.5vw, 92px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0, 12, 28, 0.62) 18%, rgba(0, 12, 28, 0.72) 50%, rgba(0, 12, 28, 0.62) 82%, transparent 100%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow:
    0 1px 0 #001422,
    1px 0 0 #001422,
    -1px 0 0 #001422,
    0 -1px 0 #001422,
    0 8px 22px rgba(0, 0, 0, 0.78),
    0 0 16px rgba(105, 222, 255, 0.26);
}

.mobile-action-bar,
.event-banner,
.participation-proof,
.track-status-section,
.difficulty-stat-section,
.input-panel-section,
.future-score-section,
.notice-section,
.faq-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mobile-action-bar {
  display: none;
}

.event-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid #cfe1f2;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: linear-gradient(90deg, #f4fbff, #fff);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.05);
}

.event-banner span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.event-banner strong {
  min-width: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.event-banner em {
  margin-left: auto;
  color: #667085;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.input-panel-section,
.track-status-section,
.difficulty-stat-section,
.notice-section,
.faq-section {
  padding-top: 58px;
}

.track-status-section {
  padding-top: 46px;
}

.participation-proof {
  padding-top: 14px;
}

.track-total-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(22, 131, 216, 0.2);
  border-radius: 8px;
  background: linear-gradient(90deg, #eef8ff 0%, #fff 100%);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.05);
}

.track-total-stat span {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.track-total-stat strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--primary);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.track-total-stat em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 640px) {
  .participation-proof {
    padding-top: 8px;
  }

  .track-total-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    min-height: 46px;
  }

  .track-total-stat span {
    font-size: 13px;
    white-space: nowrap;
  }

  .track-total-stat strong {
    grid-row: auto;
    grid-column: auto;
    margin-left: auto;
    font-size: 21px;
  }

  .track-total-stat em {
    display: none;
  }
}

.difficulty-stat-section {
  padding-top: 42px;
}

.input-panel-section {
  padding-top: 50px;
}

.form-group,
.track-status-section,
.notice-section,
.faq-section {
  scroll-margin-top: 96px;
}

.section-heading {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #111827;
}

.section-heading h2,
.notice-section h2,
.faq-section h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.input-layout {
  display: grid;
  gap: 18px;
}

.agreement-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.agreement-intro {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #eef6ff;
}

.agreement-intro h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.agreement-intro p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.agreement-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
}

.agreement-list {
  display: grid;
  background: #fff;
}

.agreement-row {
  border-bottom: 1px solid var(--line);
}

.agreement-row:last-child {
  border-bottom: 0;
}

.agreement-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}

.agreement-row summary::-webkit-details-marker {
  display: none;
}

.agreement-row label {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
}

.agreement-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.agreement-badge.is-optional {
  background: transparent;
  color: #667085;
}

.agreement-title {
  min-width: 0;
  font-size: 13px;
}

.agreement-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.agreement-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.agreement-row[open] .agreement-more {
  color: var(--primary);
}

.agreement-row[open] .agreement-more::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.agreement-row ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 18px 16px 58px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.score-form,
.notice-section ul {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 24, 38, 0.05);
}

.score-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-group {
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-group:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.form-group legend {
  padding: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.form-group p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

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

.field-grid.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.examinee-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.exam-grid {
  grid-template-columns: minmax(320px, 1.35fr) minmax(160px, 0.75fr) minmax(220px, 1fr);
}

.fixed-field {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.subject-score-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  row-gap: 28px;
}

.subject-score-grid.is-empty {
  grid-template-columns: 1fr;
}

.subject-empty {
  margin: 0;
  padding: 16px;
  border: 1px solid #d8e8f6;
  border-radius: 8px;
  background: #f6fbff;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.score-form label,
.entry-modal .subject-score-grid label {
  position: relative;
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.examinee-grid label {
  grid-template-rows: auto 48px auto;
  align-content: start;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 18px;
}

.score-form input,
.score-form select,
.entry-modal input[type="number"] {
  width: 100%;
  height: 48px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--surface-soft);
}

.score-form input[aria-invalid],
.entry-modal input[aria-invalid] {
  border-color: #d92d20;
  background: #fff7f6;
}

.score-error,
.field-error {
  display: block;
  color: #d92d20;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.field-label-row .field-error {
  min-width: 0;
  min-height: 0;
  text-align: right;
  white-space: normal;
}

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

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.score-form button {
  min-height: 48px;
  border: 0;
  background: var(--primary);
  color: #fff;
}

.score-form button:disabled {
  background: #c7ced8;
  cursor: not-allowed;
}

.score-form .lookup-open-button {
  min-width: 132px;
  border: 1px solid #b9d7f3;
  background: #fff;
  color: var(--primary);
}

.score-form .lookup-open-button:hover {
  background: #eef6ff;
}

.score-form.is-submitted .form-status {
  border: 1px solid #b8e0c8;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f2fbf5;
  color: #167a4a;
  font-weight: 900;
}

.form-status.is-warning {
  border: 1px solid #f0c36a;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff8e6;
  color: #9a5b00;
  font-weight: 900;
}

.score-form.is-submitted .form-actions button[type="submit"] {
  background: #c7ced8;
  color: #fff;
  cursor: not-allowed;
}

body.is-modal-open {
  overflow: hidden;
}

.entry-modal {
  width: min(940px, calc(100% - 40px));
  max-height: min(760px, calc(100dvh - 40px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  overscroll-behavior: contain;
}

.entry-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.modal-panel {
  display: grid;
  max-height: min(760px, calc(100dvh - 40px));
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 24px;
  background: #244563;
  color: #fff;
}

.modal-head p {
  margin: 0 0 4px;
  color: #c9def0;
  font-size: 13px;
  font-weight: 900;
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.entry-modal.is-submitting .modal-close,
.entry-modal.is-submitting [data-close-modal] {
  pointer-events: none;
  opacity: 0.45;
}

.modal-body {
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 24px;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-context {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #d8e8f6;
  border-radius: 8px;
  background: #eef6ff;
}

.modal-context.is-soft {
  background: #f6fbff;
}

.modal-context strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.modal-context span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

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

.lookup-grid label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.lookup-grid input {
  width: 100%;
  height: 46px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.lookup-message {
  min-height: 20px;
  margin: -4px 0 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.lookup-message.is-error {
  color: #d92d20;
}

.lookup-message.is-success {
  color: #167a4a;
}

.lookup-loading-notice,
.submission-loading-notice {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #a8d5f7;
  border-radius: 8px;
  background: #eef8ff;
  color: #075c9f;
}

.lookup-loading-notice[hidden],
.submission-loading-notice[hidden] {
  display: none;
}

.lookup-loading-notice strong,
.submission-loading-notice strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #075c9f;
  font-size: 15px;
  font-weight: 900;
}

.lookup-loading-notice strong::before,
.submission-loading-notice strong::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px solid #bfddf5;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: submission-spin 0.8s linear infinite;
}

.lookup-loading-notice span,
.submission-loading-notice span {
  color: #1d5f93;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

@keyframes submission-spin {
  to {
    transform: rotate(360deg);
  }
}

.score-modal-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -4px;
}

.score-modal-guide span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d8e8f6;
  border-radius: 8px;
  padding: 0 10px;
  background: #f6fbff;
  color: #1d5f93;
  font-size: 12px;
  font-weight: 900;
}

.score-entry-modal .subject-score-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
}

.future-score-guide {
  display: grid;
  gap: 4px;
  border: 1px dashed #c9d9e7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbfd;
  color: #426071;
  font-size: 12px;
  line-height: 1.5;
}

.future-score-guide strong {
  color: #123447;
  font-size: 13px;
  font-weight: 900;
}

.future-score-section {
  padding-top: 36px;
}

.future-score-section .future-score-guide {
  max-width: none;
}

.score-input-card {
  grid-template-columns: minmax(0, 1fr) 132px 132px 82px;
  align-items: center;
  gap: 10px 14px;
  min-height: 58px;
  border: 1px solid #d8e5f0;
  border-radius: 8px;
  padding: 9px 10px 9px 12px;
  background: #fff;
}

.score-input-card:focus-within {
  border-color: #8fc7ef;
  box-shadow: 0 0 0 3px rgba(22, 131, 216, 0.12);
}

.score-input-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.score-input-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.score-input-title {
  min-width: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.score-input-control {
  position: relative;
  display: block;
}

.score-entry-modal input[type="number"] {
  height: 42px;
  padding-right: 34px;
  text-align: right;
  font-size: 17px;
  font-weight: 900;
  background: #f8fbff;
  scroll-margin: 120px;
}

.score-input-unit {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

.score-input-card .score-error {
  grid-column: 2 / -1;
  min-height: 0;
  margin-top: -4px;
  text-align: right;
}

.score-wrong-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #d8e5f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.score-adjusted-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #d8e5f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.score-adjusted-score[hidden] {
  display: none;
}

.score-adjusted-score.is-filled {
  border-color: #c7ead7;
  background: #f0fbf4;
  color: #067647;
}

.score-adjusted-score.is-pending {
  border-color: #f4d6a1;
  background: #fff8e8;
  color: #b54708;
}

.score-wrong-count.is-filled {
  border-color: #cbe4f7;
  background: #eef6ff;
  color: var(--primary);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.primary-button {
  border: 0;
  background: var(--primary);
  color: #fff;
}

.primary-button:disabled {
  background: #c7ced8;
  cursor: not-allowed;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: #344054;
}

.difficulty-modal .agreement-panel {
  margin: 2px 0 0;
}

.difficulty-grid {
  display: grid;
  gap: 10px;
  counter-reset: difficulty-subject;
}

.difficulty-row {
  counter-increment: difficulty-subject;
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #d8e7f4;
  border-radius: 8px;
  background: #fff;
}

.difficulty-row > strong {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
}

.difficulty-row > strong::before {
  content: counter(difficulty-subject, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.difficulty-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
}

.difficulty-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 38px;
  padding: 0 6px;
  border: 1px solid #d9e7f4;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.difficulty-options label:has(input:checked) {
  border-color: #8fc7ef;
  background: #e7f4ff;
  color: var(--primary);
}

.difficulty-options input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.difficulty-review-field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d8e7f4;
  border-radius: 8px;
  background: #fff;
}

.difficulty-review-field span {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.difficulty-review-field em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.difficulty-review-field textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid #d8e7f4;
  border-radius: 8px;
  background: #f8fbff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.difficulty-review-field textarea:focus {
  outline: 3px solid rgba(22, 131, 216, 0.16);
  border-color: #8fc7ef;
  background: #fff;
}

.track-status-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 24, 38, 0.05);
}

.track-status-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  scrollbar-gutter: stable;
}

.track-status-card.is-expanded .track-status-table-wrap {
  overflow-y: auto;
  max-height: 356px;
}

.track-status-table {
  width: 100%;
  min-width: 960px;
  table-layout: fixed;
  border-collapse: collapse;
  color: #222b36;
  font-size: 12px;
  text-align: center;
}

.track-status-table .rank-col {
  width: 48px;
}

.track-status-table .track-col {
  width: 23%;
}

.track-status-table .region-col {
  width: 9%;
}

.track-status-table .quota-col,
.track-status-table .applicant-col {
  width: 10%;
}

.track-status-table .input-count-col {
  width: 13%;
}

.track-status-table .raw-cutoff-col,
.track-status-table .adjusted-cutoff-col {
  width: 15%;
}

.track-status-table .rate-col {
  width: 9%;
}

.track-status-table th,
.track-status-table td {
  height: 38px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}

.track-status-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef6ff;
  font-weight: 900;
}

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

.track-status-table td:first-child {
  color: var(--primary);
  font-weight: 900;
}

.track-status-table td:nth-child(3) {
  font-weight: 800;
  text-align: left;
}

.locked-input-count span,
.locked-cutoff span,
.track-status-value,
.track-status-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(152, 162, 179, 0.22);
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, rgba(152, 162, 179, 0.1) 0 5px, rgba(255, 255, 255, 0.16) 5px 10px),
    #f6f8fb;
  color: rgba(71, 84, 103, 0.62);
  font-size: 11px;
  font-weight: 900;
}

.track-status-value {
  border-color: rgba(22, 131, 216, 0.18);
  background: #eef6ff;
  color: var(--primary);
}

.track-status-table td:nth-child(6),
.track-status-table td:nth-child(7),
.track-status-table td:nth-child(8) {
  height: auto;
  min-height: 38px;
  overflow: visible;
  white-space: normal;
}

.track-status-table td:nth-child(7) .track-status-value,
.track-status-table td:nth-child(8) .track-status-value {
  max-width: none;
  min-height: 0;
  padding: 4px 8px;
  border-radius: 8px;
  vertical-align: middle;
}

.track-status-pending {
  border-color: rgba(152, 162, 179, 0.22);
  background: #f6f8fb;
  color: #667085;
}

.track-status-table th,
.track-status-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-admin-preview .track-status-table tbody tr {
  cursor: pointer;
}

.is-admin-preview .track-status-table tbody tr:hover td,
.is-admin-preview .track-status-table tbody tr:focus td {
  background: #f1f7ff;
}

.track-status-actions {
  display: flex;
  justify-content: center;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.track-status-toggle {
  min-width: 132px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid #b9d7f3;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.track-status-toggle:hover {
  background: #eef6ff;
}

.difficulty-stat-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 24, 38, 0.05);
}

.difficulty-stat-board {
  display: grid;
  gap: 0;
  padding: 0;
}

.difficulty-stat-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #c8ddf0;
  border-radius: 8px;
  background: #c8ddf0;
}

.difficulty-stat-summary div {
  min-width: 0;
  padding: 18px;
  background: #fff;
}

.difficulty-stat-summary span,
.difficulty-stat-head span,
.difficulty-stat-focus span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.difficulty-stat-summary strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.difficulty-stat-summary div:first-child strong {
  color: var(--primary);
}

.difficulty-stat-summary.is-preview {
  border-color: #b9d7f3;
  background: #b9d7f3;
}

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

.difficulty-stat-table-wrap {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.difficulty-stat-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.difficulty-stat-table th,
.difficulty-stat-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
}

.difficulty-stat-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef6ff;
  color: #516173;
  font-weight: 900;
}

.difficulty-stat-table th:first-child {
  width: 26%;
}

.difficulty-stat-table tbody tr:last-child th,
.difficulty-stat-table tbody tr:last-child td {
  border-bottom: 0;
}

.difficulty-stat-table tbody th {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}

.difficulty-stat-table td strong,
.difficulty-stat-table td span {
  display: block;
}

.difficulty-stat-table td strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.difficulty-stat-table td span {
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.difficulty-stat-table td.is-top {
  background: #fff8ed;
}

.difficulty-stat-table td.is-top strong {
  color: #b94e1f;
}

.difficulty-stat-table-wrap.is-preview .difficulty-stat-table td span {
  color: #667085;
}

.difficulty-stat-table-wrap.is-preview .difficulty-stat-table td.is-top {
  background: #fff;
}

.difficulty-stat-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9e7f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 24, 38, 0.04);
}

.difficulty-stat-item h3 {
  margin: 3px 0 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
}

.difficulty-stat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.difficulty-stat-head strong {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f4ff;
  color: #0b6fb3;
  font-size: 12px;
  font-weight: 900;
}

.difficulty-stat-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 12px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f3f8fc;
}

.difficulty-stat-focus span {
  grid-column: 1 / -1;
}

.difficulty-stat-focus strong {
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.difficulty-stat-focus em {
  color: var(--primary);
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.difficulty-bars {
  display: grid;
  gap: 8px;
}

.difficulty-bar-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.difficulty-bar-row.is-top {
  color: #111827;
  font-weight: 900;
}

.difficulty-bar-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #edf2f7;
}

.difficulty-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #51b5e8, #1683d8);
}

.difficulty-bar-row.is-top .difficulty-bar-track i {
  background: linear-gradient(90deg, #ffbf69, #f47b4b);
}

.difficulty-bar-row em {
  color: #667085;
  font-style: normal;
  text-align: right;
}

.difficulty-stat-total,
.difficulty-stat-empty-text,
.difficulty-stat-empty,
.difficulty-detail-lock {
  margin: 12px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.difficulty-stat-item.is-preview {
  border-color: #cfe1f2;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.difficulty-detail-lock {
  padding: 10px 12px;
  border: 1px dashed #c8d8e8;
  border-radius: 8px;
  background: #f6fbff;
}

.difficulty-stat-empty {
  grid-column: 1 / -1;
  margin: 18px;
  padding: 18px;
  border: 1px dashed #c8d8e8;
  border-radius: 8px;
  background: #f8fbff;
}

.result-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 58px;
  scroll-margin-top: 96px;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.result-main,
.result-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.result-message,
.result-key-metric,
.radar-card,
.score-table-wrap,
.result-side dl {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 101, 168, 0.06);
}

.result-message {
  position: relative;
  overflow: visible;
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(22, 131, 216, 0.14), rgba(255, 255, 255, 0.92) 54%),
    #fff;
}

.result-message::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(22, 131, 216, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.result-message p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.result-message strong {
  color: var(--primary);
}

.result-message h3 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  padding: 8px 13px;
  border-radius: 8px;
  background: #1683d8;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
}

.result-status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.result-help-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cfe1f1;
  border-radius: 50%;
  background: #f6fbff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  cursor: help;
}

.result-help-button::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: min(300px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid #cfe1f1;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.result-help-button:hover::after,
.result-help-button:focus-visible::after,
.result-help-button.is-open::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.help-tooltip-text {
  position: relative;
  cursor: help;
}

.help-tooltip-text::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(300px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid #cfe1f1;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.help-tooltip-text:hover::after,
.help-tooltip-text:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.is-inline-pending {
  display: inline-flex;
  width: fit-content;
}

.summary-cutoff-help {
  width: 22px;
  height: 22px;
  font-size: 12px;
  vertical-align: middle;
}

.summary-cutoff-help::after {
  width: min(260px, calc(100vw - 48px));
}

.result-section[data-status="과락"] .result-message h3 {
  background: #d92d20;
}

.result-section[data-status="추가 확인 필요"] .result-message h3 {
  background: #475467;
}

.result-section[data-status="예상범위보다 낮음"] .result-message h3 {
  border: 1px solid #f6c7b8;
  background: #fff3ed;
  color: #b54708;
}

.result-section[data-status="필기 합격 유력"] .result-message h3 {
  background: #f79009;
}

.result-section[data-status="필기 합격 안정"] .result-message h3 {
  background: #12805c;
}

.result-section[data-status="예측 대기"] .result-message h3 {
  background: #475467;
}

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

.result-key-metric {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.result-key-metric span {
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}

.result-key-metric strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.result-key-metric.is-cutoff {
  border-color: #b9e6cf;
  background: linear-gradient(180deg, #f0fbf5, #fff);
}

.result-key-metric.is-cutoff span,
.result-key-metric.is-cutoff strong {
  color: #087443;
}

.result-key-metric.is-position {
  border-color: #b9e6cf;
  background: linear-gradient(180deg, #f0fbf5, #fff);
}

.result-key-metric.is-position span,
.result-key-metric.is-position strong {
  color: #087443;
}

.result-key-metric.is-cutoff strong {
  font-size: 20px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.result-key-metric .summary-cutoff-help {
  background: #fff;
}

.radar-card {
  padding: 20px;
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
}

.result-card-head h3 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.result-section:not(.is-comparison-public) .chart-legend .is-comparison-only {
  display: none;
}

.comparison-pending-badge {
  padding: 4px 10px;
  border: 1px solid #d8e6f4;
  border-radius: 999px;
  background: #f6fbff;
  color: #516173;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

.result-section.is-comparison-public .comparison-pending-badge {
  display: none;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-user {
  background: #1683d8;
}

.legend-one-x {
  background: #b54708;
}

.legend-two-x {
  background: #087443;
}

.score-radar {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 12px auto 0;
}

.radar-grid {
  fill: rgba(22, 131, 216, 0.018);
  stroke: #e8eef5;
  stroke-width: 1;
}

.radar-axis {
  stroke: #f0f4f8;
  stroke-width: 1;
}

.radar-user {
  fill: none;
  stroke-width: 3;
  stroke-linejoin: round;
}

.radar-user {
  stroke: #1683d8;
}

.radar-user-fill {
  fill: rgba(22, 131, 216, 0.12);
}

.radar-label {
  fill: #98a2b3;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
}

.score-bar-label {
  fill: #344054;
  font-size: 12px;
  font-weight: 900;
  text-anchor: end;
  dominant-baseline: middle;
}

.score-bar-track {
  fill: #edf2f7;
}

.score-bar-fill {
  fill: #1683d8;
}

.score-bar-fill.is-fail {
  fill: #d92d20;
}

.score-bar-value {
  fill: #111827;
  font-size: 12px;
  font-weight: 900;
  dominant-baseline: middle;
}

.score-bar-cutoff-marker line {
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 3 3;
}

.score-bar-cutoff-marker circle {
  stroke: #fff;
  stroke-width: 1.3;
}

.score-bar-cutoff-marker.is-one-x line {
  stroke: #b54708;
}

.score-bar-cutoff-marker.is-one-x circle {
  fill: #b54708;
}

.score-bar-cutoff-marker.is-two-x line {
  stroke: #087443;
}

.score-bar-cutoff-marker.is-two-x circle {
  fill: #087443;
}

.score-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
}

.score-table-wrap > .result-card-head {
  min-height: auto;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.score-table-wrap > .result-card-head h3 {
  font-size: 17px;
}

.score-analysis-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
}

.score-analysis-table th,
.score-analysis-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.score-analysis-table thead th {
  background: #f8fbff;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.score-analysis-table tbody th {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.score-analysis-table td strong {
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
}

.score-analysis-table tr.is-fail th,
.score-analysis-table tr.is-fail td {
  background: #fff7f6;
}

.score-analysis-table tr.is-fail th,
.score-analysis-table tr.is-fail td,
.score-analysis-table tr.is-fail td strong {
  color: #d92d20;
}

.score-position-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf2f7;
  color: #475467;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.score-position-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.score-analysis-table tr.is-fail .score-position-badge {
  background: #ffe4df;
  color: #d92d20;
}

.score-analysis-table .score-position-badge.is-fail {
  background: #ffe4df;
  color: #d92d20;
}

.score-analysis-table tr.is-one-x .score-position-badge,
.score-analysis-table .score-position-badge.is-one-x {
  background: #ffedcc;
  color: #b54708;
}

.score-analysis-table tr.is-two-x .score-position-badge,
.score-analysis-table .score-position-badge.is-two-x {
  background: #dff7ea;
  color: #087443;
}

.score-analysis-table tr.is-outside-two-x .score-position-badge,
.score-analysis-table .score-position-badge.is-outside-two-x {
  background: #edf2f7;
  color: #475467;
}

.score-analysis-table .score-summary-row td {
  padding: 14px;
  background: #fff;
}

.score-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.score-summary-grid span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #f8fbff;
}

.score-summary-grid em {
  color: #667085;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.score-summary-grid strong {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.score-detail-empty {
  padding: 16px;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.result-edit-button {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #b9d7f3;
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(21, 101, 168, 0.08);
}

.result-edit-button:hover {
  background: #eef6ff;
}

.result-edit-button:disabled {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #98a2b3;
  cursor: not-allowed;
}

.result-side dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
}

.result-side dl div {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fbfcfe;
}

.result-side dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.result-side dd {
  min-width: 0;
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.notice-section {
  padding-bottom: 0;
}

.notice-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  box-shadow: none;
}

.notice-section li {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.notice-section li:last-child {
  border-bottom: 0;
}

.notice-section details {
  padding: 0;
}

.notice-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.notice-section summary::-webkit-details-marker {
  display: none;
}

.notice-section summary span {
  color: #111827;
  font-weight: 900;
}

.notice-section time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.notice-section p {
  margin: 0;
  padding: 0 18px 16px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.faq-section {
  padding-bottom: 82px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  min-height: 48px;
  padding: 14px 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
  padding: 30px 20px;
  color: #446074;
  background: #e9f6ff;
  text-align: center;
}

.site-footer strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.footer-info {
  display: grid;
  gap: 5px;
  max-width: 980px;
}

.footer-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-left {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner,
  .input-layout,
  .input-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

  .field-grid,
  .exam-grid,
  .subject-score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .entry-modal {
    width: min(920px, calc(100% - 28px));
  }

  .difficulty-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    position: sticky;
    display: flex;
    min-height: 62px;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom: 1px solid #e4eaf2;
    background: #fff;
    box-shadow: none;
  }

  .header-left {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    border-color: #d8e7f4;
    background: #f8fbff;
  }

  .brand {
    position: absolute;
    left: 50%;
    justify-self: initial;
    min-width: 0;
    font-size: 15px;
    transform: translateX(-50%);
  }

  .brand img {
    width: 126px;
    height: 32px;
  }

  .header-lookup-button {
    position: absolute;
    right: 16px;
    align-self: center;
    width: 76px;
    min-width: 0;
    min-height: 38px;
    padding: 0;
    border-color: #d8e7f4;
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    box-shadow: none;
  }

  .header-lookup-button:hover {
    background: #eef6ff;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    order: 4;
    display: none;
    width: 100%;
    gap: 8px;
    margin: 0;
    padding: 10px 16px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(18, 24, 38, 0.08);
    scrollbar-width: none;
  }

  .site-header.is-menu-open .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    justify-content: center;
    flex: initial;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
  }

  .hero-section {
    background: #020814;
  }

  .hero-inner,
  .mobile-action-bar,
  .event-banner,
  .participation-proof,
  .track-status-section,
  .difficulty-stat-section,
  .input-panel-section,
  .result-section,
  .future-score-section,
  .notice-section {
    width: calc(100% - 32px);
  }

  .hero-inner {
    width: 100%;
  }

  .faq-section {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding-bottom: 0;
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .hero-title {
    gap: 6px;
    min-height: 190px;
    padding: 28px 14px 38px;
    background-position: center;
  }

  .hero-title::before {
    opacity: 1;
  }

  .hero-title::after {
    opacity: 0.28;
  }

  .analytics-panel-main {
    right: -42px;
    bottom: 26px;
    width: 210px;
    height: 124px;
    opacity: 0.42;
  }

  .analytics-panel-small,
  .analytics-panel-mini,
  .analytics-cube-small {
    display: none;
  }

  .analytics-cube-large {
    right: 22px;
    bottom: 54px;
    width: 52px;
    height: 52px;
    opacity: 0.34;
  }

  .analytics-axis {
    right: -20px;
    bottom: 40px;
    width: 148px;
    height: 86px;
    opacity: 0.32;
  }

  .analytics-network {
    left: -68px;
    bottom: 2%;
    width: 220px;
    height: 150px;
    opacity: 0.42;
  }

  .hero-brandmark {
    max-width: calc(100% - 40px);
    padding: 0;
    font-size: clamp(14px, 4.3vw, 18px);
  }

  .hero-kicker {
    margin-bottom: 0;
    padding: 0;
    font-size: clamp(11px, 3.35vw, 14px);
  }

  .hero-brandmark::before,
  .hero-brandmark::after {
    width: 18px;
    margin: 0 8px;
  }

  .hero-title h1 {
    max-width: calc(100% - 20px);
    padding: 4px 10px 6px;
    font-size: clamp(23px, 7.2vw, 40px);
    line-height: 1.08;
  }

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

  .mobile-action-bar {
    display: none;
  }

  .input-panel-section,
  .track-status-section,
  .difficulty-stat-section,
  .result-section,
  .notice-section,
  .faq-section {
    padding-top: 44px;
  }

  .input-panel-section {
    padding-top: 32px;
  }

  .event-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-height: auto;
    margin-top: 12px;
    padding: 11px 12px;
  }

  .event-banner span {
    min-height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .event-banner strong {
    flex: 1 1 calc(100% - 70px);
    font-size: 14px;
  }

  .event-banner em {
    flex-basis: 100%;
    margin-left: 0;
    font-size: 12px;
  }

  .difficulty-stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .difficulty-stat-board {
    padding: 12px;
  }

  .difficulty-stat-summary {
    grid-template-columns: 1fr;
  }

  .difficulty-stat-table-wrap {
    overflow-x: auto;
    border: 1px solid #d9e7f4;
    background: #fff;
  }

  .difficulty-stat-table {
    display: table;
    min-width: 760px;
    background: #fff;
  }

  .difficulty-stat-item {
    padding: 14px;
  }

  .section-heading h2,
  .notice-section h2,
  .faq-section h2 {
    font-size: 19px;
  }

  .score-form {
    gap: 12px;
    padding: 16px;
  }

  .result-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .result-main {
    display: contents;
  }

  .result-message {
    order: 1;
  }

  .result-key-metrics {
    order: 2;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-key-metric {
    min-height: auto;
    padding: 16px;
  }

  .result-key-metric strong {
    font-size: 22px;
  }

  .result-key-metric.is-cutoff strong {
    font-size: 18px;
  }

  .result-side {
    order: 3;
  }

  .result-side dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-table-wrap {
    order: 4;
  }

  .radar-card {
    display: none;
  }

  .result-message {
    min-height: auto;
    padding: 20px;
  }

  .result-message p {
    font-size: 14px;
  }

  .result-message h3 {
    font-size: 20px;
  }

  .result-card-head {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .score-table-wrap > .result-card-head {
    padding: 16px 16px 12px;
  }

  .score-table-wrap {
    overflow-x: visible;
  }

  .chart-legend {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }

  .score-analysis-table {
    display: block;
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    background: transparent;
  }

  .score-analysis-table thead {
    display: none;
  }

  .score-analysis-table tbody {
    display: grid;
    gap: 10px;
  }

  .score-analysis-table tbody {
    padding: 10px 0 0;
  }

  .score-analysis-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d8e7f4;
    border-radius: 8px;
    background: #fff;
  }

  .score-analysis-table th,
  .score-analysis-table td {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .score-analysis-table tbody th {
    grid-column: 1 / -1;
    font-size: 15px;
    line-height: 1.35;
  }

  .score-analysis-table tbody td {
    min-height: 54px;
    padding: 9px 10px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfcfe;
    text-align: left;
    align-content: center;
  }

  .score-analysis-table tbody td::before {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
  }

  .score-analysis-table tbody td:nth-child(2)::before {
    content: "내 점수";
  }

  .score-analysis-table tbody td:nth-child(3)::before {
    content: "과목별 예상 위치";
  }

  .score-analysis-table td strong {
    font-size: 17px;
  }

  .score-position-badge {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .result-side dl div {
    align-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 8px 9px;
  }

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

  .score-summary-grid span:last-child {
    grid-column: 1 / -1;
  }

  .track-status-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 12px;
  }

  .track-status-table colgroup,
  .track-status-table thead {
    display: none;
  }

  .track-status-table,
  .track-status-table tbody,
  .track-status-table tr,
  .track-status-table td {
    display: block;
  }

  .track-status-table-wrap {
    overflow-x: visible;
    max-height: none;
    padding: 10px;
    background: #f6fbff;
  }

  .track-status-card.is-expanded .track-status-table-wrap {
    overflow-y: visible;
    max-height: none;
  }

  .track-status-table tr {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid #d8e7f4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(18, 24, 38, 0.04);
  }

  .track-status-table tr[hidden] {
    display: none;
  }

  .track-status-table tr::before {
    content: attr(data-mobile-title);
    grid-column: 1 / -1;
    min-width: 0;
    padding-bottom: 2px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .track-status-table td {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    height: auto;
    min-height: 32px;
    padding: 0;
    border-bottom: 0;
    overflow: visible;
    text-align: right;
    white-space: normal;
  }

  .track-status-table td::before {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-align: left;
  }

  .track-status-table td:nth-child(1) {
    display: none;
  }

  .track-status-table td:nth-child(2),
  .track-status-table td:nth-child(3) {
    display: none;
  }

  .track-status-table td:nth-child(6),
  .track-status-table td:nth-child(7),
  .track-status-table td:nth-child(8) {
    align-content: start;
    min-height: 68px;
    padding: 10px;
    border: 1px solid #d8e7f4;
    border-radius: 8px;
    background: #f8fbff;
    text-align: left;
  }

  .track-status-table td:nth-child(6) {
    order: 2;
    grid-column: 1 / 3;
  }

  .track-status-table td:nth-child(7) {
    order: 2;
    grid-column: 3 / 5;
  }

  .track-status-table td:nth-child(8) {
    order: 2;
    grid-column: 5 / 7;
  }

  .track-status-table td:nth-child(6)::before {
    content: "입력 인원";
    grid-column: 1 / -1;
  }

  .track-status-table td:nth-child(7)::before {
    content: "원점수 합격컷";
    grid-column: 1 / -1;
  }

  .track-status-table td:nth-child(8)::before {
    content: "조정점수 합격컷";
    grid-column: 1 / -1;
  }

  .track-status-table td:nth-child(4) {
    order: 3;
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 50px;
    padding: 8px 6px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fff;
    text-align: center;
  }

  .track-status-table td:nth-child(4)::before {
    content: "선발인원";
    text-align: center;
  }

  .track-status-table td:nth-child(5) {
    order: 3;
    grid-column: 3 / 5;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 50px;
    padding: 8px 6px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fff;
    text-align: center;
  }

  .track-status-table td:nth-child(5)::before {
    content: "접수인원";
    text-align: center;
  }

  .track-status-table td:nth-child(9) {
    order: 3;
    grid-column: 5 / 7;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 50px;
    padding: 8px 6px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fff;
    text-align: center;
  }

  .track-status-table td:nth-child(9)::before {
    content: "경쟁률";
    text-align: center;
  }

  .locked-input-count span,
  .locked-cutoff span {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    white-space: normal;
  }

  .track-status-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding: 0;
    background: transparent;
  }

  .track-status-card.is-expanded .track-status-table-wrap {
    overflow-y: auto;
    max-height: 356px;
  }

  .track-status-table {
    display: table;
    min-width: 1040px;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
  }

  .track-status-table .input-count-col {
    width: 150px;
  }

  .track-status-table .raw-cutoff-col,
  .track-status-table .adjusted-cutoff-col {
    width: 170px;
  }

  .track-status-table colgroup {
    display: table-column-group;
  }

  .track-status-table thead {
    display: table-header-group;
  }

  .track-status-table tbody {
    display: table-row-group;
  }

  .track-status-table tr {
    display: table-row;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .track-status-table tr[hidden] {
    display: none;
  }

  .track-status-table tr::before,
  .track-status-table td::before {
    content: none;
    display: none;
  }

  .track-status-table th,
  .track-status-table td,
  .track-status-table td:nth-child(1),
  .track-status-table td:nth-child(2),
  .track-status-table td:nth-child(3),
  .track-status-table td:nth-child(4),
  .track-status-table td:nth-child(5),
  .track-status-table td:nth-child(6),
  .track-status-table td:nth-child(7),
  .track-status-table td:nth-child(8),
  .track-status-table td:nth-child(9) {
    display: table-cell;
    height: 38px;
    min-height: 0;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .track-status-table td:nth-child(3) {
    text-align: left;
  }

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

  .locked-input-count span,
  .locked-cutoff span {
    grid-column: auto;
    justify-self: auto;
    min-height: 24px;
    white-space: nowrap;
  }

  .track-status-table td:nth-child(6) {
    overflow: visible;
    white-space: normal;
  }

  .track-status-table td:nth-child(7) {
    overflow: visible;
    white-space: normal;
  }

  .track-status-table td:nth-child(8) {
    overflow: visible;
    white-space: normal;
  }

  .track-status-table td:nth-child(6) .track-status-value,
  .track-status-table td:nth-child(6) .track-status-pending,
  .track-status-table td:nth-child(7) .track-status-value,
  .track-status-table td:nth-child(7) .track-status-pending,
  .track-status-table td:nth-child(8) .track-status-value,
  .track-status-table td:nth-child(8) .track-status-pending,
  .locked-input-count span {
    width: 100%;
    min-height: 30px;
    padding: 4px 8px;
    line-height: 1.25;
    white-space: normal;
  }

  .agreement-intro {
    padding: 14px 16px;
  }

  .agreement-intro h3 {
    font-size: 16px;
  }

  .agreement-row summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .agreement-row label {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
  }

  .agreement-row label input {
    grid-row: auto;
  }

  .agreement-badge {
    font-size: 11px;
  }

  .agreement-title {
    font-size: 12px;
  }

  .agreement-more {
    font-size: 12px;
  }

  .agreement-row ol {
    padding: 0 16px 16px 36px;
  }

  .form-group {
    padding-bottom: 18px;
  }

  .form-group legend {
    font-size: 16px;
  }

  .form-group p {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .field-grid,
  .field-grid.two-column,
  .exam-grid,
  .subject-score-grid {
    grid-template-columns: 1fr;
  }

  .score-form input,
  .score-form select,
  .score-form button,
  .lookup-grid input,
  .entry-modal input[type="number"] {
    height: 46px;
    min-height: 46px;
  }

  .examinee-grid label {
    grid-template-rows: auto 46px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .entry-modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 8px;
  }

  .modal-panel {
    max-height: calc(100dvh - 20px);
  }

  .modal-head {
    min-height: 58px;
    padding: 13px 16px;
  }

  .modal-head p {
    font-size: 12px;
  }

  .modal-head h2 {
    font-size: 18px;
  }

  .modal-close {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .modal-body {
    gap: 14px;
    padding: 16px;
  }

  .modal-context {
    padding: 13px 14px;
  }

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

  .difficulty-grid {
    gap: 8px;
  }

  .difficulty-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .difficulty-row > strong {
    font-size: 14px;
  }

  .difficulty-row > strong::before {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 11px;
  }

  .difficulty-options {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .difficulty-options label {
    justify-content: flex-start;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
    text-align: left;
  }

  .difficulty-review-field {
    padding: 12px;
  }

  .difficulty-review-field textarea {
    min-height: 104px;
    font-size: 16px;
  }

  .score-modal-guide {
    gap: 6px;
  }

  .score-modal-guide span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .score-input-card {
    grid-template-columns: 1fr 112px;
    align-items: center;
    gap: 8px 10px;
    min-height: auto;
    padding: 9px;
  }

  .score-input-meta {
    gap: 8px;
  }

  .score-input-order {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 11px;
  }

  .score-input-title {
    font-size: 14px;
  }

  .score-entry-modal input[type="number"] {
    height: 42px;
    text-align: right;
    font-size: 16px;
  }

  .score-wrong-count {
    justify-self: end;
    min-height: 28px;
  }

  .score-adjusted-score {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 28px;
  }

  .score-wrong-count {
    grid-column: 1 / -1;
  }

  .score-input-card .score-error {
    grid-column: 1 / -1;
    margin-top: -2px;
    text-align: right;
  }

  .modal-actions {
    gap: 8px;
    padding: 12px 16px 16px;
  }

  .primary-button,
  .secondary-button {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

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

  .score-form .lookup-open-button {
    min-width: 0;
  }

  .difficulty-row > strong {
    justify-content: flex-start;
    text-align: left;
  }

  .difficulty-options {
    grid-template-columns: 1fr;
  }

  .difficulty-options label {
    min-height: 36px;
    font-size: 12px;
  }

  .notice-section li {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-section li {
    gap: 8px;
  }

  .faq-list summary {
    min-height: 46px;
    padding: 13px 16px;
  }

  .faq-list p {
    padding: 0 16px 13px;
  }

  .site-footer {
    justify-content: start;
    text-align: left;
    padding: 24px 16px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    min-height: 170px;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero-kicker {
    font-size: clamp(10px, 3.2vw, 12px);
  }

  .hero-brandmark {
    font-size: clamp(12px, 4.1vw, 15px);
  }

  .hero-brandmark::before,
  .hero-brandmark::after {
    width: 12px;
    margin: 0 6px;
  }

  .hero-title h1 {
    font-size: clamp(21px, 7vw, 27px);
  }

  .section-heading h2,
  .notice-section h2,
  .faq-section h2 {
    font-size: 18px;
  }

  .score-analysis-table tr {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
  }

  .score-analysis-table tbody td,
  .score-analysis-table tbody td:nth-child(6) {
    grid-column: 1;
    min-height: 48px;
  }

  .score-summary-grid {
    grid-template-columns: 1fr;
  }

  .result-side dl {
    grid-template-columns: 1fr;
  }

  .score-analysis-table {
    min-width: 0;
  }

  .difficulty-stat-table {
    min-width: 680px;
  }

}
