.rlexam {
  --ink: #17212b;
  --muted: #66727f;
  --paper: #fbfcfb;
  --line: #d9e2e4;
  --green: #107b67;
  --green-soft: #e7f5f0;
  --gold: #d99b27;
  --coral: #d85d4b;
  --blue: #315f9f;
  --violet: #6c5aa8;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff8df;
  font-family: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}
.rlexam * { box-sizing: border-box; }
.rlexam a { color: inherit; }
.rlexam-shell { width: min(1180px, calc(100vw - 36px)); margin: 0 auto; }
.rlexam-hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(40px, 7vw, 86px) 0 42px;
}
.rlexam-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #b9d9d1;
  border-radius: 999px;
  background: rgba(231, 245, 240, .86);
  color: #0b6959;
  font-size: 14px;
  font-weight: 800;
}
.rlexam-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.rlexam h1,
.rlexam h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  letter-spacing: 0;
}
.rlexam h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.02;
  font-weight: 800;
}
.rlexam-hero-text {
  max-width: 720px;
  margin: 0;
  color: #53616d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}
.rlexam-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rlexam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 900;
}
.rlexam-btn.primary { background: var(--ink); color: #fff; }
.rlexam-btn.ghost { background: rgba(255,255,255,.76); color: var(--ink); border-color: #c9d5d8; }
.rlexam-stage {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}
.rlexam-photo-main {
  width: min(430px, 86vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 10px solid #fff;
  box-shadow: 0 28px 80px rgba(23, 33, 43, .18);
}
.rlexam-photo-chip {
  position: absolute;
  width: 154px;
  height: 154px;
  object-fit: cover;
  border-radius: 8px;
  border: 7px solid #fff;
  box-shadow: 0 18px 48px rgba(23, 33, 43, .16);
}
.rlexam-photo-chip.one { left: 0; top: 54px; }
.rlexam-photo-chip.two { right: 4px; bottom: 48px; }
.rlexam-note {
  position: absolute;
  left: 28px;
  bottom: 18px;
  width: min(300px, 70vw);
  padding: 17px;
  border-radius: 8px;
  background: #17212b;
  color: #fff;
  box-shadow: 0 20px 52px rgba(23, 33, 43, .22);
  line-height: 1.6;
}
.rlexam-note strong { color: #ffd36a; }
.rlexam-band { padding: 54px 0; border-top: 1px solid rgba(23, 33, 43, .08); }
.rlexam-band h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.18; }
.rlexam-lead { max-width: 820px; margin: 0 0 26px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.rlexam-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.rlexam-metric {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.74);
}
.rlexam-metric b { display: block; font-size: 34px; line-height: 1; }
.rlexam-metric span { display: block; margin-top: 10px; color: var(--muted); line-height: 1.55; }
.rlexam-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.rlexam-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 46px rgba(23, 33, 43, .07);
}
.rlexam-sidebar {
  position: sticky;
  top: 18px;
  padding: 16px;
}
.rlexam-search {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd7da;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}
.rlexam-tabs { display: grid; gap: 8px; margin: 14px 0; }
.rlexam-tab {
  min-height: 42px;
  border: 1px solid #ccd8dc;
  border-radius: 8px;
  background: #fff;
  color: #2d3c4a;
  font-weight: 900;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}
.rlexam-tab.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.rlexam-progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.rlexam-progress { height: 10px; border-radius: 999px; background: #e4ebed; overflow: hidden; }
.rlexam-progress i { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width .25s ease; }
.rlexam-board { padding: 18px; }
.rlexam-questions { display: grid; gap: 14px; }
.rlexam-card {
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.rlexam-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid #eef2f4;
}
.rlexam-card h3 { margin: 0; font-size: 20px; line-height: 1.35; }
.rlexam-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef4f7;
  color: #46606d;
  font-size: 12px;
  font-weight: 900;
}
.rlexam-card-body { padding: 16px 18px 18px; }
.rlexam-card p { margin: 0 0 12px; color: #566471; line-height: 1.75; }
.rlexam-code {
  display: block;
  padding: 13px;
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font: 14px/1.55 "Cascadia Code", Consolas, monospace;
}
.rlexam-options { display: grid; gap: 9px; margin-top: 12px; }
.rlexam-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid #dbe5e8;
  border-radius: 8px;
  background: #fbfdfc;
  cursor: pointer;
  line-height: 1.6;
}
.rlexam-tools { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.rlexam-small {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd7da;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.rlexam-small.done { background: #e7f5f0; border-color: #9fd2c4; color: #0b6959; }
.rlexam-answer {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #bfe1d8;
  border-radius: 8px;
  background: var(--green-soft);
  color: #24564d;
  line-height: 1.75;
}
.rlexam-card.is-open .rlexam-answer { display: block; }
.rlexam-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rlexam-route article {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.75);
}
.rlexam-route h3 { margin: 0 0 10px; font-size: 21px; }
.rlexam-route ul { margin: 0; padding-left: 1.15em; color: var(--muted); line-height: 1.8; }
.rlexam-split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
}
.rlexam-split img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.rlexam-tip {
  display: grid;
  align-content: center;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #d7c796;
  background: #fff7dc;
}
.rlexam-tip h2 { margin-bottom: 12px; }
.rlexam-tip p { margin: 0; color: #67522b; line-height: 1.9; font-size: 18px; }
.rlexam-footer { padding: 34px 0 70px; color: var(--muted); }
.rlexam-footer a { color: var(--blue); font-weight: 900; }
@media (max-width: 920px) {
  .rlexam-hero,
  .rlexam-app,
  .rlexam-route,
  .rlexam-split { grid-template-columns: 1fr; }
  .rlexam-stage { min-height: 500px; }
  .rlexam-sidebar { position: static; }
  .rlexam-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rlexam-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rlexam-shell { width: min(100vw - 22px, 1180px); }
  .rlexam h1 { font-size: 42px; }
  .rlexam-stage { min-height: 410px; }
  .rlexam-photo-main { width: 78vw; }
  .rlexam-photo-chip { width: 112px; height: 112px; }
  .rlexam-photo-chip.one { top: 10px; }
  .rlexam-photo-chip.two { bottom: 8px; }
  .rlexam-note { left: 8px; bottom: 0; }
  .rlexam-metrics,
  .rlexam-tabs { grid-template-columns: 1fr; }
  .rlexam-card-head { grid-template-columns: 1fr; }
}

.rlexam,
.rlexam * {
  overflow-wrap: anywhere;
}

.rlexam-shell,
.rlexam-hero,
.rlexam-stage,
.rlexam-app,
.rlexam-board,
.rlexam-card,
.rlexam-card-body,
.rlexam-option,
.rlexam-route article,
.rlexam-tip {
  min-width: 0;
}

.rlexam-shell {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.rlexam img,
.rlexam video,
.rlexam iframe {
  max-width: 100%;
}

.rlexam code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rlexam-code code,
.rlexam-code {
  white-space: pre-wrap;
}

body:has(.rlexam) {
  overflow-x: hidden;
}
