/* SPBCN competition page */
.hero-audio-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-audio-note b {
  font-size: 11px;
  font-weight: 500;
}

.hero-exam-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.hero-exam-link:hover {
  border-color: rgba(255, 212, 90, 0.6);
  background: rgba(255, 212, 90, 0.11);
  color: var(--yellow);
}

.hero-exam-link b {
  color: var(--yellow);
}

.exam-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 4px 23px;
}

.exam-page-head h1 {
  margin: 5px 0 7px;
  font-size: clamp(31px, 3.3vw, 42px);
  letter-spacing: -0.045em;
}

.exam-page-head p {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.exam-grade-control {
  flex: 0 0 auto;
  min-width: 292px;
  padding: 12px 14px;
  border: var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(52, 47, 105, 0.06);
}

.exam-grade-control > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.exam-grade-control > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.exam-grade-control button {
  padding: 7px 6px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f5f2f8;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.exam-grade-control button.active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 10px rgba(108, 99, 233, 0.2);
}

.exam-grade-control small {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 8px;
}

.exam-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  min-height: 441px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 31px;
  background:
    radial-gradient(circle at 76% 25%, rgba(255, 212, 90, 0.19), transparent 19rem),
    radial-gradient(circle at 92% 100%, rgba(255, 121, 168, 0.18), transparent 20rem),
    linear-gradient(135deg, #302d62, #403b82 60%, #4e448e);
  box-shadow: 0 25px 60px rgba(46, 41, 105, 0.19);
  color: #fff;
}

.exam-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, #fff7c4 0 1.4px, transparent 1.8px),
    radial-gradient(circle, #fff 0 1px, transparent 1.4px);
  background-position: 13px 8px, 72px 41px;
  background-size: 92px 79px, 117px 92px;
  pointer-events: none;
}

.exam-hero-copy {
  position: relative;
  z-index: 2;
  padding: 43px 30px 35px 48px;
}

.exam-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
}

.exam-hero-badge i {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-family: ui-rounded, sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.exam-hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.exam-hero-copy h2 em {
  color: var(--yellow);
  font-style: normal;
}

.exam-hero-copy > p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.75;
}

.exam-hero-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 23px;
}

.exam-law-link {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.exam-word-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
}

.exam-word-warning span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(139, 233, 228, 0.17);
  color: var(--mint);
  font-weight: 900;
}

.exam-word-warning.empty {
  color: #ffd6dc;
}

.exam-word-warning.empty span {
  background: rgba(255, 143, 112, 0.2);
  color: #ffb4a0;
}

.exam-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 420px;
}

.exam-trophy {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 47%;
  display: flex;
  width: 211px;
  height: 211px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.07), 0 25px 50px rgba(21, 18, 66, 0.26);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
  animation: mascot-float 4.5s ease-in-out infinite;
}

.trophy-cup {
  font-size: 82px;
  line-height: 1;
  filter: drop-shadow(0 12px 8px rgba(20, 17, 62, 0.2));
}

.exam-trophy strong {
  margin-top: 7px;
  color: var(--yellow);
  font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif;
  font-size: 20px;
  letter-spacing: 0.15em;
}

.exam-trophy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.trophy-orbit {
  position: absolute;
  left: 50%;
  top: 47%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.orbit-a {
  width: 360px;
  height: 180px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.orbit-b {
  width: 270px;
  height: 347px;
  transform: translate(-50%, -50%) rotate(28deg);
}

.trophy-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: ui-rounded, sans-serif;
  font-weight: 900;
}

.orbit-a span {
  width: 30px;
  height: 30px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
}

.orbit-a span:nth-child(1) { left: 13px; top: 22px; }
.orbit-a span:nth-child(2) { right: 16px; bottom: 15px; background: var(--mint); }
.orbit-a span:nth-child(3) { left: 48%; top: -12px; width: 22px; height: 22px; background: var(--coral); color: #fff; font-size: 8px; }

.orbit-b span {
  right: 15px;
  top: 50%;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--yellow);
  font-size: 10px;
}

.floating-letter {
  position: absolute;
  color: rgba(255, 255, 255, 0.12);
  font-family: ui-rounded, sans-serif;
  font-size: 41px;
  font-weight: 900;
  animation: twinkle 4s ease-in-out infinite;
}

.letter-a { left: 13%; top: 18%; transform: rotate(-13deg); }
.letter-b { right: 8%; top: 12%; animation-delay: -1s; transform: rotate(10deg); }
.letter-c { left: 17%; bottom: 11%; animation-delay: -2s; transform: rotate(8deg); }
.letter-d { right: 15%; bottom: 16%; animation-delay: -0.5s; transform: rotate(-7deg); }

.exam-best-card {
  position: absolute;
  z-index: 5;
  right: 23px;
  bottom: 22px;
  display: flex;
  width: 196px;
  flex-direction: column;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(24, 21, 68, 0.38);
  backdrop-filter: blur(8px);
}

.exam-best-card span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.exam-best-card strong {
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
}

.exam-best-card small {
  margin-top: 3px;
  color: var(--yellow);
  font-size: 8px;
}

.exam-stage-rail {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 17px 0;
  padding: 13px 22px;
  border: var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 9px 28px rgba(52, 47, 105, 0.05);
}

.rail-node {
  display: grid;
  grid-template-columns: 25px auto;
  align-items: center;
  column-gap: 7px;
  min-width: 111px;
}

.rail-node b {
  grid-row: 1 / 3;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: #f1edf7;
  color: var(--ink-soft);
  font-family: ui-rounded, sans-serif;
  font-size: 8px;
}

.rail-node span {
  font-size: 9px;
  font-weight: 900;
}

.rail-node small {
  color: #9993ab;
  font-size: 7px;
}

.rail-node.active b {
  background: var(--purple);
  color: #fff;
}

.exam-stage-rail > i {
  width: 30px;
  height: 1px;
  border-top: 1px dashed #d7d0e1;
}

.exam-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 27px 2px 13px;
}

.exam-section-title h2 {
  margin: 4px 0 0;
  font-size: 23px;
}

.exam-section-title > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.exam-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.exam-mode-card {
  display: flex;
  min-height: 287px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid rgba(48, 45, 98, 0.09);
  border-radius: 23px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 35px rgba(52, 47, 105, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exam-mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(52, 47, 105, 0.11);
}

.exam-mode-card.initial {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 212, 90, 0.24), transparent 9rem),
    #fffdf7;
}

.exam-mode-card.semi {
  background:
    radial-gradient(circle at 100% 0, rgba(139, 233, 228, 0.24), transparent 9rem),
    #fffdf7;
}

.exam-mode-card.oral {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 121, 168, 0.19), transparent 9rem),
    #fffdf7;
}

.exam-mode-card.itso {
  background:
    radial-gradient(circle at 100% 0, rgba(108, 99, 233, 0.18), transparent 9rem),
    #fffdf7;
}

.mode-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mode-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 17px rgba(48, 45, 98, 0.09);
  font-size: 24px;
}

.mode-record {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 800;
}

.mode-kicker {
  margin-top: 16px;
  color: var(--purple);
  font-family: ui-rounded, sans-serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.exam-mode-card h3 {
  margin: 5px 0 7px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.exam-mode-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.65;
}

.mode-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
}

.mode-type-tags span {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 700;
}

.mode-start-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 10px 11px;
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.mode-start-button b {
  color: var(--yellow);
  font-size: 8px;
}

.exam-mode-card.initial .mode-start-button { background: #8a6720; }
.exam-mode-card.semi .mode-start-button { background: #247d87; }
.exam-mode-card.oral .mode-start-button { background: #b84e72; }
.exam-mode-card.itso .mode-start-button { background: var(--purple-dark); }

.itso-set-buttons {
  display: grid;
  gap: 5px;
  margin-top: auto;
}

.itso-set-buttons button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border: 1px solid #e4dff0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  cursor: pointer;
  transition: 0.16s ease;
}

.itso-set-buttons button:hover {
  border-color: var(--purple);
  background: var(--purple-light);
}

.itso-set-buttons b {
  font-size: 8px;
}

.itso-set-buttons span {
  color: var(--ink-soft);
  font-size: 7px;
}

.exam-mode-card button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.exam-lower-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 17px;
}

.exam-question-map,
.exam-law-card {
  border: var(--border);
  border-radius: 23px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 12px 35px rgba(52, 47, 105, 0.06);
}

.exam-question-map {
  padding: 20px 22px;
}

.exam-lower-heading h2 {
  margin: 4px 0 12px;
  font-size: 18px;
}

.question-map-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.question-map-list > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  padding: 8px 9px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(48, 45, 98, 0.06);
}

.question-map-list i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--purple-light);
  color: var(--purple);
  font-family: ui-rounded, sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.question-map-list span {
  display: flex;
  flex-direction: column;
}

.question-map-list b {
  font-size: 9px;
}

.question-map-list small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 7px;
}

.question-map-list em {
  color: #9b95ab;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.exam-law-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 212, 90, 0.17), transparent 9rem),
    #fffaf0;
}

.exam-law-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: #fff0cc;
  font-size: 20px;
}

.exam-law-card h2 {
  margin: 4px 0 7px;
  font-size: 18px;
}

.exam-law-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.65;
}

.law-facts {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.law-facts span {
  color: var(--ink-soft);
  font-size: 7px;
  line-height: 1.5;
}

.law-facts b {
  margin-right: 4px;
  color: var(--ink);
}

/* Competition exam shell */
.exam-overlay {
  padding: 18px;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 212, 90, 0.16), transparent 20rem),
    radial-gradient(circle at 92% 85%, rgba(139, 233, 228, 0.13), transparent 22rem),
    #302d62;
}

.exam-shell {
  position: relative;
  width: min(1120px, 100%);
  height: min(830px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 29px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(16, 13, 58, 0.38);
  animation: panel-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.exam-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  height: 73px;
  padding: 11px 20px;
  border-bottom: 1px solid #eee8f0;
}

.exam-heading h2 {
  margin: 3px 0 0;
  font-size: 17px;
}

.exam-head-stats {
  display: flex;
  align-items: center;
  gap: 9px;
}

.exam-score,
.exam-timer,
.exam-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f6f3f9;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
}

.exam-score i {
  display: grid;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 8px;
  font-style: normal;
}

.exam-score b {
  color: var(--ink);
}

.exam-timer {
  min-width: 66px;
  background: #fff5d9;
  color: #8a6518;
  font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.exam-timer.urgent {
  background: #fff0f1;
  color: var(--danger);
  animation: pulse-soft 1s ease-in-out infinite;
}

.exam-step b {
  color: var(--purple);
  font-size: 13px;
}

.exam-progress {
  position: relative;
  z-index: 4;
  height: 5px;
  background: #ede8f0;
}

.exam-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--yellow));
  transition: width 0.4s ease;
}

.exam-stage {
  position: relative;
  height: calc(100% - 78px);
  overflow: auto;
  scroll-behavior: smooth;
}

/* Exam intro */
.exam-intro {
  display: grid;
  min-height: 100%;
  grid-template-columns: 0.78fr 1.22fr;
}

.exam-intro-visual {
  position: relative;
  display: flex;
  min-height: 580px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.88), transparent 15rem),
    linear-gradient(145deg, #eeeaff, #def8f4);
}

.exam-intro-visual > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 157px;
  height: 157px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe7a1, #ffc858);
  box-shadow: 0 18px 0 rgba(209, 153, 44, 0.2), 0 28px 50px rgba(67, 58, 138, 0.16);
  font-size: 73px;
  animation: orb-float 4.2s ease-in-out infinite;
}

.exam-intro-visual > i {
  position: absolute;
  z-index: 3;
  left: 24%;
  top: 23%;
  color: var(--purple);
  font-size: 18px;
  font-style: normal;
  animation: twinkle 2.8s infinite;
}

.intro-orbit {
  position: absolute;
  width: 410px;
  height: 220px;
  border: 2px dashed rgba(108, 99, 233, 0.19);
  border-radius: 50%;
  transform: rotate(-19deg);
}

.intro-orbit::after {
  content: "A  B  C";
  position: absolute;
  right: 20px;
  top: 12px;
  color: rgba(108, 99, 233, 0.34);
  font-family: ui-rounded, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5em;
}

.exam-intro-visual > small {
  position: relative;
  z-index: 2;
  margin-top: 37px;
  color: var(--purple);
  font-family: ui-rounded, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.exam-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 39px clamp(28px, 5vw, 64px);
}

.exam-intro-copy h1 {
  margin: 12px 0 7px;
  font-size: clamp(32px, 4.1vw, 47px);
  letter-spacing: -0.045em;
}

.exam-intro-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.exam-intro-meta {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.exam-intro-meta span {
  display: flex;
  flex: 1;
  min-height: 55px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #ece7f1;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 8px;
}

.exam-intro-meta b {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
}

.exam-rule-list {
  display: grid;
  gap: 7px;
}

.exam-rule-list span {
  display: grid;
  grid-template-columns: 23px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.exam-rule-list i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.exam-intro-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 24px;
}

.exam-disclaimer {
  margin-top: 13px;
  color: #a49eb2;
  font-size: 7px;
  text-align: right;
}

.intro-set-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 17px;
}

.intro-set-picker button {
  display: flex;
  min-height: 53px;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #e5dfed;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}

.intro-set-picker button.active {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--ink);
  box-shadow: 0 0 0 3px rgba(108, 99, 233, 0.08);
}

.intro-set-picker b {
  margin-bottom: 3px;
  font-size: 9px;
}

.intro-set-picker small {
  font-size: 6px;
  line-height: 1.3;
}

/* Exam questions */
.exam-question {
  display: grid;
  min-height: 100%;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  padding: 27px;
  background:
    radial-gradient(circle at 2% 5%, rgba(255, 212, 90, 0.1), transparent 16rem),
    var(--paper);
}

.exam-question-visual {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 50%, #fff, transparent 13rem),
    linear-gradient(145deg, #eeeaff, #e1f8f4);
}

.exam-question-visual::before {
  content: "";
  position: absolute;
  width: 285px;
  height: 285px;
  border: 2px dashed rgba(108, 99, 233, 0.15);
  border-radius: 50%;
}

.question-section-chip {
  position: absolute;
  left: 18px;
  top: 17px;
  padding: 6px 9px;
  border: 1px solid rgba(48, 45, 98, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
}

.exam-word-orb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #fff3cd;
  box-shadow: 0 15px 0 rgba(226, 171, 61, 0.21), 0 26px 40px rgba(69, 61, 132, 0.14);
  font-size: 66px;
  animation: orb-float 4s ease-in-out infinite;
}

.exam-speaker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 6px 0 var(--purple-dark);
  cursor: pointer;
}

.exam-speaker span {
  font-size: 20px;
}

.exam-speaker small {
  font-size: 9px;
  font-weight: 800;
}

.visual-note {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
}

.exam-answer-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 22px clamp(12px, 3vw, 32px);
}

.exam-question-type {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.exam-question-type::before {
  content: "✦";
  font-size: 12px;
}

.exam-answer-area > h1 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.exam-question-help {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.exam-example {
  margin-bottom: 17px;
  padding: 10px 12px;
  border-left: 3px solid var(--purple);
  border-radius: 0 9px 9px 0;
  background: #f6f3fb;
  color: var(--ink-soft);
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  line-height: 1.55;
}

.exam-definition-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -7px 0 15px;
  color: var(--ink-soft);
  font-size: 9px;
}

.exam-definition-inline span {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 7px;
  font-weight: 900;
}

.letter-pattern {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 55px;
  align-items: center;
  margin-bottom: 19px;
}

.letter-pattern span {
  display: grid;
  width: 38px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 23px;
  font-weight: 900;
}

.letter-pattern .fixed-letter {
  background: #f5f1f7;
  color: var(--ink);
}

.letter-pattern .missing-letter {
  border-bottom: 3px solid var(--purple);
  background: var(--purple-light);
  color: #8b83b8;
}

.letter-pattern .missing-letter.filled {
  background: var(--mint);
  color: var(--ink);
}

.exam-letter-bank,
.scramble-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.exam-letter-bank button,
.scramble-bank button {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #dcd5e7;
  border-bottom-width: 3px;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.15s ease;
}

.exam-letter-bank button:hover,
.scramble-bank button:hover {
  border-color: #bdb4e5;
  transform: translateY(-2px);
}

.exam-letter-bank button.used,
.scramble-bank button.used {
  opacity: 0.18;
  pointer-events: none;
}

.exam-letter-bank button.wrong,
.scramble-bank button.wrong {
  border-color: var(--danger);
  background: #fff0f1;
  color: var(--danger);
  animation: shake 0.34s;
}

.exam-choice-grid,
.picture-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.exam-choice-option,
.picture-choice-grid button {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e4deec;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: 0.16s ease;
}

.exam-choice-option:hover,
.picture-choice-grid button:hover {
  border-color: #bbb2e6;
  background: #fbfaff;
  transform: translateY(-1px);
}

.exam-choice-option span,
.picture-choice-grid span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 900;
}

.exam-choice-option b,
.picture-choice-grid b {
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 15px;
}

.exam-choice-option.correct,
.picture-choice-grid button.correct {
  border-color: var(--green);
  background: #edf9f1;
  color: #287243;
}

.exam-choice-option.wrong,
.picture-choice-grid button.wrong {
  border-color: var(--danger);
  background: #fff0f1;
  color: var(--danger);
}

.exam-choice-option.correct span,
.picture-choice-grid button.correct span {
  background: var(--green);
  color: #fff;
}

.exam-answer-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.exam-answer-form label > span {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
}

.whole-answer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.whole-answer-row input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 13px;
  border: 1.5px solid #ded7e9;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  outline: 0;
  text-transform: lowercase;
}

.whole-answer-row input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(108, 99, 233, 0.09);
}

.whole-answer-row button {
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.definition-card,
.exam-definition-card {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f6f3fb;
}

.exam-definition-card > span {
  color: var(--purple);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.exam-definition-card h2 {
  margin: 4px 0 3px;
  font-size: 17px;
}

.exam-definition-card small {
  color: var(--ink-soft);
  font-size: 8px;
}

.scramble-word {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-end;
  margin: 13px 0;
}

.scramble-word b,
.scramble-word span {
  display: grid;
  width: 34px;
  height: 43px;
  place-items: center;
  border-bottom: 3px solid #d4cede;
  border-radius: 6px 6px 1px 1px;
  background: #faf8fc;
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 20px;
  text-transform: lowercase;
}

.scramble-word b {
  border-bottom-color: var(--purple);
  background: var(--purple-light);
}

.scramble-word span.filled {
  border-bottom-color: var(--purple);
  background: var(--mint);
}

.letter-relay-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.letter-relay-strip span {
  display: grid;
  width: 28px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
}

.exam-clue-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 15px;
}

.exam-clue-cards span {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  padding: 10px;
  border: 1px solid #e8e2ee;
  border-radius: 11px;
  background: #fff;
}

.exam-clue-cards i,
.origin-clue span {
  margin-bottom: 5px;
  color: var(--purple);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.exam-clue-cards b {
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.mystery-sentence {
  margin: 5px 0 17px;
  padding: 17px;
  border: 1px dashed #d8cfa8;
  border-radius: 12px;
  background: #fffaf0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.origin-clue {
  margin-bottom: 15px;
  padding: 13px;
  border: 1px solid #eadcac;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 212, 90, 0.23), transparent 8rem),
    #fffaf0;
}

.origin-clue p {
  margin: 5px 0 7px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}

.origin-clue b {
  color: var(--ink-soft);
  font-size: 9px;
}

.oral-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86), transparent 14rem),
    linear-gradient(145deg, #ffeef3, #ede9ff);
}

.oral-mic {
  position: relative;
  z-index: 2;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb1c9, #ff7da6);
  box-shadow: 0 16px 0 rgba(195, 70, 108, 0.17), 0 25px 40px rgba(116, 61, 115, 0.13);
  font-size: 64px;
  animation: mascot-float 4s ease-in-out infinite;
}

.oral-speak {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.oral-speak span {
  font-size: 16px;
}

.oral-speak b {
  font-size: 9px;
}

.oral-visual > p {
  position: relative;
  z-index: 2;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.oral-visual > p small {
  font-size: 8px;
}

.oral-lifelines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.oral-lifelines button {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 10px;
  border: 1px solid #e3ddeb;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.oral-lifelines button:hover {
  border-color: var(--purple);
  background: var(--purple-light);
}

.oral-lifelines button span {
  color: var(--purple);
  font-size: 7px;
  font-weight: 900;
}

.oral-lifelines button b {
  margin-top: 3px;
  font-size: 9px;
}

.oral-clue-output,
.guess-clues {
  min-height: 70px;
  margin: 9px 0 14px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f6f3fa;
}

.oral-clue-output > span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
}

.oral-clue-output p,
.guess-clues p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.guess-ask-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.guess-ask-grid button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #e1dbea;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.guess-ask-grid button span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
}

.guess-clues {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.guess-clues > span {
  display: flex;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 8px;
}

.guess-clues i {
  min-width: 34px;
  color: var(--purple);
  font-style: normal;
  font-weight: 900;
}

.picture-visual {
  background:
    radial-gradient(circle at 50% 50%, #fff, transparent 15rem),
    linear-gradient(145deg, #fff4dc, #edf9f4);
}

.picture-card {
  position: relative;
  z-index: 2;
  display: flex;
  width: 225px;
  min-height: 225px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 19px 40px rgba(63, 54, 126, 0.14);
  transform: rotate(-2deg);
}

.picture-card span {
  font-size: 73px;
}

.picture-card strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
}

.picture-visual > small {
  position: relative;
  z-index: 2;
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
}

.picture-choice-grid {
  margin-top: 3px;
}

.super-word-word {
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.super-grid {
  display: grid;
  grid-template-columns: repeat(3, 63px);
  gap: 7px;
  justify-content: start;
}

.super-grid button {
  display: grid;
  width: 63px;
  height: 55px;
  place-items: center;
  border: 1px solid #dcd5e7;
  border-bottom-width: 3px;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.super-grid button:hover {
  border-color: var(--purple);
  background: #fbfaff;
}

.super-grid button.selected {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

.super-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.super-progress > span {
  color: var(--ink-soft);
  font-size: 8px;
}

.super-progress b {
  min-width: 90px;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f5f1f8;
  color: var(--purple);
  font-family: ui-rounded, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.super-progress button {
  margin-left: auto;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.laser-card {
  position: relative;
  display: flex;
  min-height: 152px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  overflow: hidden;
  border: 2px solid var(--purple);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(108, 99, 233, 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(108, 99, 233, 0.08) 50%, transparent 51%),
    #f7f3ff;
  box-shadow: 0 0 0 6px rgba(108, 99, 233, 0.05);
}

.laser-card::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 48%;
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff8f70, transparent);
  animation: laser-scan 1.1s ease-in-out infinite;
}

.laser-card span {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 41px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.laser-card small {
  margin-top: 7px;
  color: var(--purple);
  font-size: 8px;
  font-weight: 800;
}

.laser-answer {
  animation: feedback-in 0.25s ease;
}

/* Feedback and result */
.exam-feedback {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 12px;
  border-radius: 12px;
  animation: feedback-in 0.28s ease;
}

.exam-feedback.correct {
  background: #edf9f1;
  color: #287243;
}

.exam-feedback.wrong {
  background: #fff1f2;
  color: #a8464f;
}

.feedback-emblem {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
}

.exam-feedback > div {
  min-width: 0;
}

.exam-feedback strong {
  display: block;
  font-size: 10px;
}

.exam-feedback p {
  margin: 2px 0;
  font-size: 8px;
  line-height: 1.4;
}

.feedback-answer {
  font-family: ui-rounded, "Trebuchet MS", sans-serif;
  font-size: 11px;
}

.feedback-answer small {
  margin-left: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 8px;
  font-weight: 500;
}

.exam-feedback button {
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.exam-result {
  position: relative;
  width: min(700px, calc(100% - 30px));
  margin: 27px auto;
  padding: 29px 34px 27px;
  overflow: hidden;
  border: 1px solid #eee8f1;
  border-radius: 26px;
  background: #fffdf7;
  box-shadow: 0 20px 50px rgba(52, 47, 105, 0.1);
  text-align: center;
}

.result-confetti-glow {
  position: absolute;
  left: 50%;
  top: -180px;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 212, 90, 0.16) 0 10deg, transparent 10deg 23deg);
  transform: translateX(-50%);
  animation: rotate-rays 30s linear infinite;
}

.exam-result-badge {
  position: relative;
  z-index: 2;
  display: grid;
  width: 85px;
  height: 85px;
  margin: 0 auto 14px;
  place-items: center;
  border: 6px solid #fff4ce;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffdc78, #ff9d73);
  box-shadow: 0 8px 0 #dfa847, 0 15px 28px rgba(167, 112, 42, 0.17);
  font-size: 42px;
}

.exam-result .stage-kicker {
  position: relative;
  z-index: 2;
}

.exam-result > h1 {
  position: relative;
  z-index: 2;
  margin: 10px 0 5px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.exam-result > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.exam-result-score {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 21px 0 16px;
  padding: 15px;
  border: 1px solid #ece6ef;
  border-radius: 18px;
  background: #fff;
}

.score-ring {
  position: relative;
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--purple) var(--score), #eee9f2 0);
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}

.score-ring > span {
  position: relative;
  z-index: 2;
  font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif;
  font-size: 27px;
  font-weight: 900;
}

.score-ring small {
  font-size: 11px;
}

.score-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.score-copy strong {
  font-size: 14px;
}

.score-copy span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
}

.score-copy small {
  margin-top: 8px;
  color: #a49eb2;
  font-size: 7px;
}

.section-score-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  max-height: 160px;
  overflow: auto;
  padding: 2px;
}

.section-score-list > div {
  padding: 8px 9px;
  border-radius: 10px;
  background: #f8f5fa;
}

.section-score-list > div > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.section-score-list b {
  font-size: 8px;
}

.section-score-list small {
  color: var(--ink-soft);
  font-size: 7px;
}

.section-score-list i {
  display: block;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: #e5dfea;
}

.section-score-list em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--mint));
}

.result-word-review {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 9px 11px;
  border: 1px dashed #e4dbb5;
  border-radius: 11px;
  background: #fffaea;
  text-align: left;
}

.result-word-review > span {
  color: #8e7440;
  font-size: 8px;
  font-weight: 900;
}

.result-word-review > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.result-word-review b {
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff;
  font-family: ui-rounded, sans-serif;
  font-size: 7px;
}

.result-word-review b.right {
  color: #3d8659;
}

.result-word-review b.wrong {
  color: var(--danger);
}

.exam-result-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 17px;
}

@keyframes laser-scan {
  0% { transform: translateY(-60px); opacity: 0.2; }
  50% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0.2; }
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(223, 93, 104, 0); }
  50% { box-shadow: 0 0 0 6px rgba(223, 93, 104, 0.09); }
}

@media (max-width: 1120px) {
  .exam-mode-grid {
    grid-template-columns: 1fr 1fr;
  }

  .exam-mode-card {
    min-height: 260px;
  }

  .exam-stage-rail {
    overflow-x: auto;
    justify-content: start;
  }

  .rail-node {
    min-width: 105px;
  }
}

@media (max-width: 900px) {
  .exam-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .exam-grade-control {
    width: 100%;
  }

  .exam-hero {
    grid-template-columns: 1fr;
  }

  .exam-hero-copy {
    padding-right: 330px;
  }

  .exam-hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 340px;
    min-height: 410px;
  }

  .exam-best-card {
    display: none;
  }

  .exam-lower-grid {
    grid-template-columns: 1fr;
  }

  .exam-intro {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .exam-intro-visual > span {
    width: 120px;
    height: 120px;
    font-size: 56px;
  }

  .intro-orbit {
    width: 290px;
  }

  .exam-question {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 16px;
    padding: 19px;
  }

  .exam-question-visual {
    min-height: 440px;
  }
}

@media (max-width: 680px) {
  .main-nav .nav-item {
    padding: 10px 4px;
    font-size: 11px;
  }

  .hero-note {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .hero-exam-link {
    margin-left: 0;
  }

  .exam-page-head {
    padding: 4px 2px 17px;
  }

  .exam-page-head h1 {
    font-size: 29px;
  }

  .exam-page-head p {
    font-size: 10px;
  }

  .exam-grade-control {
    padding: 10px;
  }

  .exam-hero {
    min-height: 559px;
    border-radius: 24px;
  }

  .exam-hero-copy {
    padding: 27px 22px 220px;
  }

  .exam-hero-copy h2 {
    margin-top: 15px;
    font-size: 33px;
  }

  .exam-hero-copy > p {
    font-size: 10px;
  }

  .exam-hero-actions {
    flex-wrap: wrap;
  }

  .exam-hero-visual {
    right: 50%;
    bottom: -32px;
    width: 360px;
    min-height: 330px;
    transform: translateX(50%);
  }

  .exam-trophy {
    width: 151px;
    height: 151px;
  }

  .trophy-cup {
    font-size: 58px;
  }

  .exam-trophy strong {
    font-size: 15px;
  }

  .orbit-a {
    width: 294px;
    height: 140px;
  }

  .orbit-b {
    width: 217px;
    height: 273px;
  }

  .exam-word-warning {
    margin-top: 16px;
  }

  .exam-stage-rail {
    margin: 12px 0;
    padding: 10px;
  }

  .rail-node {
    min-width: 104px;
  }

  .exam-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
  }

  .exam-mode-grid {
    grid-template-columns: 1fr;
  }

  .exam-mode-card {
    min-height: 239px;
  }

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

  .exam-question-map {
    padding: 17px;
  }

  .exam-law-card {
    padding: 17px;
  }

  .exam-overlay {
    padding: 0;
  }

  .exam-shell {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .exam-header {
    height: 66px;
    padding: 8px 12px;
  }

  .exam-heading h2 {
    font-size: 14px;
  }

  .exam-head-stats {
    gap: 5px;
  }

  .exam-score,
  .exam-timer,
  .exam-step {
    min-height: 30px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 8px;
  }

  .exam-timer {
    min-width: 56px;
    font-size: 10px;
  }

  .exam-stage {
    height: calc(100% - 71px);
  }

  .exam-intro {
    display: block;
  }

  .exam-intro-visual {
    min-height: 232px;
  }

  .exam-intro-visual > span {
    width: 96px;
    height: 96px;
    border-width: 5px;
    font-size: 45px;
  }

  .exam-intro-visual > small {
    margin-top: 23px;
  }

  .intro-orbit {
    width: 235px;
    height: 130px;
  }

  .exam-intro-copy {
    padding: 24px 20px 32px;
  }

  .exam-intro-copy h1 {
    font-size: 30px;
  }

  .exam-intro-meta {
    gap: 5px;
    margin: 14px 0;
  }

  .exam-intro-meta span {
    padding: 7px;
    font-size: 7px;
  }

  .exam-intro-meta b {
    font-size: 13px;
  }

  .intro-set-picker {
    grid-template-columns: 1fr;
  }

  .intro-set-picker button {
    min-height: 44px;
  }

  .exam-intro-actions {
    justify-content: space-between;
    margin-top: 20px;
  }

  .exam-question {
    display: block;
    min-height: 100%;
    padding: 13px 18px 26px;
  }

  .exam-question-visual {
    min-height: 184px;
    margin-bottom: 18px;
  }

  .exam-question-visual::before {
    width: 185px;
    height: 185px;
  }

  .exam-word-orb {
    width: 86px;
    height: 86px;
    border-width: 5px;
    font-size: 41px;
    box-shadow: 0 9px 0 rgba(226, 171, 61, 0.2), 0 16px 25px rgba(69, 61, 132, 0.12);
  }

  .exam-speaker {
    margin-top: 18px;
    padding: 7px 10px;
  }

  .exam-speaker span {
    font-size: 16px;
  }

  .question-section-chip {
    left: 11px;
    top: 10px;
    font-size: 7px;
  }

  .exam-answer-area {
    padding: 0;
  }

  .exam-answer-area > h1 {
    font-size: 23px;
  }

  .exam-question-help {
    margin-bottom: 13px;
  }

  .letter-pattern span {
    width: 30px;
    height: 40px;
    font-size: 19px;
  }

  .exam-letter-bank button,
  .scramble-bank button {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .exam-choice-grid,
  .picture-choice-grid {
    grid-template-columns: 1fr;
  }

  .exam-choice-option,
  .picture-choice-grid button {
    min-height: 49px;
  }

  .whole-answer-row {
    grid-template-columns: 1fr;
  }

  .whole-answer-row button {
    min-height: 43px;
  }

  .exam-clue-cards {
    grid-template-columns: 1fr;
  }

  .scramble-word b,
  .scramble-word span {
    width: 29px;
    height: 38px;
    font-size: 18px;
  }

  .oral-visual {
    min-height: 218px;
  }

  .oral-mic {
    width: 93px;
    height: 93px;
    border-width: 5px;
    font-size: 43px;
  }

  .oral-speak {
    margin-top: 14px;
  }

  .oral-visual > p {
    margin-top: 10px;
  }

  .oral-lifelines {
    gap: 5px;
  }

  .oral-lifelines button {
    padding: 7px;
  }

  .oral-lifelines button b {
    font-size: 8px;
  }

  .picture-card {
    width: 165px;
    min-height: 156px;
    border-width: 5px;
    border-radius: 22px;
  }

  .picture-card span {
    font-size: 53px;
  }

  .picture-card strong {
    font-size: 12px;
  }

  .picture-visual > small {
    display: none;
  }

  .super-grid {
    grid-template-columns: repeat(3, 61px);
  }

  .super-grid button {
    width: 61px;
    height: 47px;
    font-size: 19px;
  }

  .laser-card {
    min-height: 126px;
  }

  .laser-card span {
    font-size: 33px;
  }

  .exam-feedback {
    grid-template-columns: 32px 1fr;
  }

  .feedback-emblem {
    width: 31px;
    height: 31px;
  }

  .exam-feedback button {
    grid-column: 1 / -1;
    min-height: 37px;
  }

  .exam-result {
    width: calc(100% - 20px);
    margin: 12px auto;
    padding: 22px 17px;
    border-radius: 22px;
  }

  .exam-result-badge {
    width: 67px;
    height: 67px;
    border-width: 5px;
    font-size: 33px;
  }

  .exam-result > h1 {
    font-size: 25px;
  }

  .exam-result-score {
    gap: 14px;
    padding: 12px;
  }

  .score-ring {
    width: 82px;
    height: 82px;
  }

  .score-ring > span {
    font-size: 22px;
  }

  .section-score-list {
    grid-template-columns: 1fr;
    max-height: 142px;
  }

  .result-word-review {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .exam-result-actions {
    flex-wrap: wrap;
    gap: 7px;
  }

  .exam-result-actions .plain-button {
    order: 3;
    width: 100%;
  }

  .exam-result-actions .primary-button {
    min-width: 130px;
  }
}
