:root {
  --bg: #f4f1ea;
  --bg-panel: #fffdf8;
  --bg-soft: #efe7da;
  --text: #1f2933;
  --muted: #61717f;
  --line: #d6d8db;
  --line-strong: #b6bcc3;
  --brand: #123b5d;
  --brand-2: #8d5c2c;
  --green: #2b6e4d;
  --amber: #94631d;
  --red: #9a352c;
  --shadow: 0 14px 36px rgba(24, 39, 58, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(141, 92, 44, 0.08), transparent 32%),
    linear-gradient(180deg, #f8f5ef 0%, #f2ede4 100%);
  font: 16px/1.5 "Georgia", "Times New Roman", serif;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid rgba(18, 59, 93, 0.08);
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner,
.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #20253a;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: #3b4055;
}

.site-nav a:hover {
  color: var(--brand);
}

.language-toggle {
  min-height: 36px;
  padding: 8px 14px;
  background: rgba(255, 248, 229, 0.9);
  border-color: rgba(141, 92, 44, 0.28);
}

.profile-menu {
  position: relative;
}

.profile-menu summary {
  list-style: none;
  cursor: pointer;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-menu__summary {
  width: 48px;
  height: 48px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(36, 39, 56, 0.12);
}

.profile-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 180px;
  padding: 14px;
  display: grid;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(18, 59, 93, 0.08);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 48px rgba(24, 39, 58, 0.14);
}

.profile-menu__panel a,
.profile-menu__logout {
  color: var(--brand);
  text-decoration: none;
  font: 600 0.92rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.profile-menu__name {
  color: var(--text);
  font: 700 0.96rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.profile-menu__logout {
  padding: 0;
}

.dashboard-shell {
  padding-top: 26px;
}

.dashboard-page {
  display: grid;
  gap: 26px;
}

.dashboard-hero-card {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  padding: 10px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 237, 174, 0.62), transparent 32%),
    radial-gradient(circle at 76% 28%, rgba(255, 233, 190, 0.68), transparent 28%),
    linear-gradient(135deg, #fff4cf, #fff7e5 58%, #fff3d5);
  box-shadow: 0 18px 40px rgba(138, 103, 42, 0.12);
}

.dashboard-hero-card__copy {
  max-width: 520px;
  padding: 20px 38px;
}

.dashboard-hero-card__copy h1 {
  font-size: clamp(2.15rem, 3.2vw, 3.5rem);
  color: #24243b;
  margin-bottom: 14px;
}

.dashboard-hero-card__text {
  max-width: 34rem;
  color: #414558;
  font: 500 1.12rem/1.75 "Helvetica Neue", Arial, sans-serif;
}

.dashboard-hero-card__actions {
  margin-top: 26px;
}

.dashboard-cta {
  min-height: 52px;
  padding: 12px 24px;
  background: linear-gradient(180deg, #ffbb52, #f59d2f);
  border-color: rgba(181, 111, 15, 0.24);
  color: #fffaf2;
  box-shadow: 0 14px 26px rgba(230, 159, 52, 0.24);
}

.dashboard-hero-card__art {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-self: end;
}

.dashboard-hero-card__art img {
  width: min(100%);
  height: auto;
  display: block;
  object-fit: contain;
}

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

.dashboard-module-card {
  position: relative;
  min-height: 452px;
  display: grid;
  grid-template-rows: auto minmax(124px, auto) 1fr auto;
  padding: 24px 26px 22px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(54, 50, 43, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.dashboard-module-card--locked {
  opacity: 0.8;
}

.dashboard-module-card--toefl {
  background: linear-gradient(180deg, #fffef8, #f8f2ea 34%, #fffaf3);
}

.dashboard-module-card--ielts {
  background: linear-gradient(180deg, #fffef8, #fff2ec 34%, #fffaf6);
}

.dashboard-module-card--phrases {
  background: linear-gradient(180deg, #fffef8, #f2fbf5 34%, #fffbf5);
}

.dashboard-module-card__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.progress-ring--dashboard {
  width: 90px;
  height: 90px;
  background:
    radial-gradient(circle closest-side, rgba(255, 253, 247, 0.98) 69%, transparent 70% 100%),
    conic-gradient(var(--ring-color, var(--brand)) var(--progress), rgba(57, 63, 78, 0.12) 0);
}

.dashboard-module-card--toefl .progress-ring--dashboard {
  --ring-color: #2b6ea0;
}

.dashboard-module-card--ielts .progress-ring--dashboard {
  --ring-color: #ef9d62;
}

.dashboard-module-card--phrases .progress-ring--dashboard {
  --ring-color: #2d9395;
}

.dashboard-module-card__body {
  max-width: 100%;
  align-self: start;
}

.dashboard-module-card__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.dashboard-module-card__body h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.9rem, 2vw, 2.3rem);
  color: #1f2337;
}

.dashboard-module-card__description {
  margin: 0;
  color: #404456;
  font: 500 1.02rem/1.65 "Helvetica Neue", Arial, sans-serif;
}

.dashboard-module-card__summary {
  margin: 14px 0 6px;
  color: #2a3342;
  font: 600 0.96rem/1.55 "Helvetica Neue", Arial, sans-serif;
}

.dashboard-module-card__location {
  margin: 0;
  color: rgba(31, 41, 51, 0.7);
  font: 0.92rem/1.55 "Helvetica Neue", Arial, sans-serif;
}

.dashboard-module-card__art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 200px;
  padding: 12px 0 18px;
}

.dashboard-module-card__art img {
  width: min(100%, 318px);
  max-height: 184px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.dashboard-module-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.dashboard-module-card__action {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  color: #2e3a4b;
  text-decoration: none;
  font: 600 0.88rem/1.3 "Helvetica Neue", Arial, sans-serif;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dashboard-module-card__action:hover {
  box-shadow: none;
  transform: none;
}

.dashboard-module-card--toefl .dashboard-module-card__action {
  background: #4f95e8;
  color: #ffffff;
}

.dashboard-module-card--toefl .dashboard-module-card__action:hover {
  background: #3f84d8;
}

.dashboard-module-card--ielts .dashboard-module-card__action {
  background: #f7a14a;
  color: #fffdf8;
}

.dashboard-module-card--ielts .dashboard-module-card__action:hover {
  background: #ea9238;
}

.dashboard-module-card--phrases .dashboard-module-card__action {
  background: #34a8a0;
  color: #ffffff;
}

.dashboard-module-card--phrases .dashboard-module-card__action:hover {
  background: #27928b;
}

.dashboard-module-card__action--disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.page-shell {
  padding: 32px 0 64px;
}

.page-shell--auth {
  min-height: 100vh;
  padding: 24px 0 40px;
}

.panel,
.auth-card {
  background: var(--bg-panel);
  border: 1px solid rgba(18, 59, 93, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.panel--hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-hero {
  align-items: flex-start;
  background:
    radial-gradient(circle at right top, rgba(141, 92, 44, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(247, 240, 229, 0.98));
}

.dashboard-hero__content {
  flex: 1;
  min-width: 0;
}

.auth-card {
  width: min(440px, calc(100% - 32px));
  padding: 36px;
}

.auth-stage {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
}

.auth-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-ambient__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.42;
  will-change: transform, opacity;
  animation: authBlobDrift 22s ease-in-out infinite;
}

.auth-ambient__blob--cream {
  top: 90px;
  left: 3%;
  width: 280px;
  height: 280px;
  background: rgba(250, 220, 144, 0.46);
  animation-duration: 24s;
}

.auth-ambient__blob--blue {
  top: 210px;
  right: 6%;
  width: 320px;
  height: 320px;
  background: rgba(178, 215, 245, 0.4);
  animation-duration: 26s;
  animation-delay: -5s;
}

.auth-ambient__blob--green {
  bottom: 90px;
  left: 16%;
  width: 240px;
  height: 240px;
  background: rgba(190, 225, 198, 0.4);
  animation-duration: 20s;
  animation-delay: -10s;
}

.auth-ambient__blob--apricot {
  bottom: 40px;
  right: 15%;
  width: 280px;
  height: 280px;
  background: rgba(245, 196, 151, 0.34);
  animation-duration: 28s;
  animation-delay: -13s;
}

.auth-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 28px;
}

.auth-banner__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.auth-banner__logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #214973, #406991);
  color: #fff;
  font: 700 1.15rem/1 "Georgia", "Times New Roman", serif;
  box-shadow: 0 14px 30px rgba(33, 73, 115, 0.2);
}

.auth-banner__title {
  color: var(--brand);
  font: 700 1.05rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.auth-banner__toggle {
  min-height: 40px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.auth-banner__toggle:hover {
  background: rgba(255, 248, 236, 0.92);
  border-color: rgba(18, 59, 93, 0.16);
  transform: translateY(-1px);
}

.auth-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.auth-intro {
  padding: 24px 0 24px 8px;
}

.auth-intro h1 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  color: #1f4368;
}

.auth-intro__copy {
  max-width: 540px;
  font-size: 1.06rem;
  line-height: 1.8;
}

.auth-intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 59, 93, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: #36516d;
  font: 600 0.9rem/1 "Helvetica Neue", Arial, sans-serif;
  backdrop-filter: blur(8px);
}

.auth-card--enhanced {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 34px 34px 32px;
  background: rgba(255, 253, 249, 0.8);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  box-shadow: 0 22px 48px rgba(44, 43, 38, 0.1);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.auth-card--enhanced:hover {
  box-shadow: 0 28px 56px rgba(44, 43, 38, 0.14);
  transform: translateY(-1px);
}

.auth-form {
  margin-top: 22px;
}

.auth-form input {
  min-height: 50px;
  border-radius: 16px;
  border-color: rgba(18, 59, 93, 0.1);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-form input::placeholder {
  color: rgba(84, 101, 116, 0.7);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(63, 132, 216, 0.42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 176, 233, 0.12);
}

.auth-submit {
  position: relative;
  min-height: 48px;
  margin-top: 6px;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(33, 73, 115, 0.16);
}

.auth-submit__spinner {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.auth-form.is-submitting .auth-submit {
  pointer-events: none;
  transform: translateY(-1px);
}

.auth-form.is-submitting .auth-submit__spinner {
  opacity: 1;
  animation: authSpin 0.8s linear infinite;
}

.auth-form.is-submitting .auth-submit__label {
  opacity: 0.92;
}

.auth-stage.is-leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.eyebrow {
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 10px;
}

h1,
h2,
h3,
legend {
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--brand);
}

.subtle {
  margin: 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.module-card--locked {
  opacity: 0.75;
}

.module-card,
.review-card {
  display: flex;
  flex-direction: column;
}

.module-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  border: none;
  box-shadow: 0 18px 44px rgba(43, 44, 52, 0.08);
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3));
  pointer-events: none;
}

.module-card > * {
  position: relative;
  z-index: 1;
}

.module-card--ink {
  background: linear-gradient(145deg, #f4efe8, #dce7ec);
}

.module-card--clay {
  background: linear-gradient(145deg, #fbefe1, #efd2be);
}

.module-card--sage {
  background: linear-gradient(145deg, #edf4ea, #d7e6d7);
}

.module-card--gold {
  background: linear-gradient(145deg, #fbf4e7, #eee0bb);
}

.module-card__top,
.section-head,
.practice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.practice-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(18, 59, 93, 0.06);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

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

.summary-grid div {
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 14px;
}

.summary-grid dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.summary-grid dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.stack-form label,
fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

label span,
legend {
  font-size: 0.88rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 88px;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font: 0.84rem/1.45 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.bulk-result {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.bulk-result h2 {
  margin: 0;
  font-size: 1rem;
}

.bulk-result__csv {
  min-height: 160px;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  white-space: pre;
}

.inline-form {
  display: inline;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

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

.button--danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button--ghost {
  background: transparent;
}

.button--disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
}

.link-button--danger {
  color: var(--red);
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
}

.hero-actions,
.meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions__form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hero-actions__form--upload {
  flex-wrap: wrap;
}

.file-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px dashed rgba(148, 163, 184, 0.72);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.88);
  cursor: pointer;
}

.file-pill span {
  color: var(--brand);
  font: 700 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.file-pill input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.panel--summary {
  margin-bottom: 24px;
}

.module-note {
  margin: 16px 0 0;
  color: var(--brand-2);
  font: 600 0.88rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.module-meta {
  margin: 18px 0 8px;
  color: #38444f;
  font: 500 0.96rem/1.6 "Helvetica Neue", Arial, sans-serif;
}

.module-location {
  margin: 0;
  color: rgba(31, 41, 51, 0.72);
  font: 0.88rem/1.55 "Helvetica Neue", Arial, sans-serif;
}

.module-card__copy {
  max-width: 72%;
}

.module-card__copy h2 {
  margin-bottom: 8px;
}

.module-card__kicker {
  margin-bottom: 16px;
}

.progress-ring {
  --progress: 0%;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, rgba(255, 252, 247, 0.98) 69%, transparent 70% 100%),
    conic-gradient(var(--brand) var(--progress), rgba(18, 59, 93, 0.12) 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.progress-ring__inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.progress-ring__inner strong {
  font: 700 1rem/1 "Helvetica Neue", Arial, sans-serif;
}

.status-pill,
.timer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-pill--green {
  background: rgba(43, 110, 77, 0.1);
  color: var(--green);
}

.status-pill--amber {
  background: rgba(148, 99, 29, 0.12);
  color: var(--amber);
}

.status-pill--muted {
  background: rgba(97, 113, 127, 0.12);
  color: var(--muted);
}

.timer-pill {
  min-width: 92px;
  justify-content: center;
  background: rgba(255, 251, 244, 0.95);
  color: #22314a;
  border: 1px solid rgba(18, 59, 93, 0.08);
  font-variant-numeric: tabular-nums;
}

.profile-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  font: 700 1.35rem "Helvetica Neue", Arial, sans-serif;
}

.profile-badge--quill { background: #7d4f50; }
.profile-badge--atlas { background: #355070; }
.profile-badge--lamp { background: #6d597a; }
.profile-badge--compass { background: #386641; }
.profile-badge--pencil { background: #bc6c25; }

.profile-badge--image {
  background: transparent;
  border: 1px solid transparent;
}

.profile-badge--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.avatar-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 14px;
}

.avatar-option,
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.avatar-option--image {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-size: 0.82rem;
}

.avatar-option--image input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.avatar-option--image:has(input:checked) {
  background: transparent;
  box-shadow: none;
}

.avatar-option--image:has(input:checked) .profile-badge--image {
  border-color: rgba(18, 59, 93, 0.58);
  box-shadow: 0 0 0 3px rgba(18, 59, 93, 0.14);
}

.avatar-option--image input:focus-visible + .profile-badge--image {
  outline: 3px solid rgba(18, 59, 93, 0.22);
  outline-offset: 3px;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-bottom: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
}

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash {
  padding: 12px 14px;
  border-radius: 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.flash--success {
  background: rgba(43, 110, 77, 0.1);
  color: var(--green);
}

.flash--error {
  background: rgba(154, 53, 44, 0.12);
  color: var(--red);
}

.flash--info {
  background: rgba(18, 59, 93, 0.1);
  color: var(--brand);
}

.rule {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.practice-panel {
  padding: 24px;
}

.practice-panel--editorial {
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 221, 170, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.98), rgba(253, 248, 240, 0.98));
  border: 1px solid rgba(18, 59, 93, 0.06);
  box-shadow: 0 22px 42px rgba(46, 43, 37, 0.08);
}

.practice-toolbar,
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.question-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.question-nav__item {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.question-nav__item:hover {
  background: rgba(18, 59, 93, 0.06);
}

.question-nav__item--active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.question-nav__item--attempted {
  background: rgba(141, 92, 44, 0.12);
}

.question-nav__item--correct {
  background: rgba(43, 110, 77, 0.12);
}

.question-nav__item--answer {
  background: rgba(18, 59, 93, 0.12);
}

.practice-body {
  display: block;
  margin-top: 24px;
}

.review-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin: 18px 0;
  border-radius: 16px;
  background: rgba(154, 53, 44, 0.08);
  border: 1px solid rgba(154, 53, 44, 0.14);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.review-banner--soft {
  background: rgba(18, 59, 93, 0.08);
  border-color: rgba(18, 59, 93, 0.14);
}

.prompt-card {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18, 59, 93, 0.08);
}

.prompt-card p {
  font-size: 1.12rem;
  margin: 0;
  color: var(--brand);
}

.prompt-label {
  margin-bottom: 10px;
  font: 700 0.76rem "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.workspace {
  padding: 28px 28px 24px;
  border: 1px solid rgba(18, 59, 93, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 249, 241, 0.96));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.template-line {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: flex-end;
  margin-bottom: 22px;
  font-size: 1.26rem;
  line-height: 2.2;
}

.fixed-token {
  display: inline;
  color: #33424d;
  font-size: inherit;
}

.fixed-token--punctuation {
  margin-left: -4px;
}

.slot {
  min-width: 74px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px 3px;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid rgba(141, 92, 44, 0.72);
  background: transparent;
  color: var(--text);
  font-size: inherit;
  cursor: pointer;
}

.slot:hover {
  border-bottom-color: var(--brand);
}

.slot:focus-visible {
  outline: none;
  box-shadow: inset 0 -3px 0 var(--brand);
}

.slot.filled {
  background: rgba(255, 255, 255, 0.42);
  border-bottom-color: var(--green);
  cursor: grab;
}

.word-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 59, 93, 0.08);
}

.word-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 59, 93, 0.1);
  background: rgba(255, 252, 247, 0.95);
  cursor: pointer;
  font-size: 0.96rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.word-chip:hover {
  border-color: rgba(18, 59, 93, 0.18);
  background: #fff;
  transform: translateY(-1px);
}

.word-chip.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.practice-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.feedback {
  min-height: 28px;
  margin-top: 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.feedback.is-correct {
  color: var(--green);
}

.feedback.is-error {
  color: var(--red);
}

.feedback.is-info {
  color: var(--brand);
}

.question-stats {
  margin-top: 20px;
}

.question-stats div {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(18, 59, 93, 0.06);
}

.question-stats dt {
  margin-bottom: 8px;
}

.question-stats dd {
  color: #22314a;
  font: 700 1.12rem/1.1 "Georgia", "Times New Roman", serif;
}

.status-text {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.status-text--mastered {
  color: var(--green);
}

.status-text--review {
  color: var(--red);
}

.status-text--practicing,
.status-text--new {
  color: var(--brand);
}

.review-grid {
  display: grid;
  gap: 20px;
}

.toefl-shell {
  display: grid;
  gap: 22px;
}

.toefl-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 180, 0.28), transparent 28%),
    linear-gradient(135deg, #fffef8, #fff8ef 55%, #fff6ea);
  border: 1px solid rgba(18, 59, 93, 0.06);
  box-shadow: 0 18px 34px rgba(46, 43, 37, 0.08);
}

.toefl-hero-card--soft {
  background:
    radial-gradient(circle at top right, rgba(208, 228, 241, 0.3), transparent 30%),
    linear-gradient(135deg, #fffef8, #f7fbfd 55%, #f4f8fb);
}

.toefl-hero-card__copy {
  max-width: 680px;
}

.toefl-hero-card__copy h1 {
  margin-bottom: 12px;
  color: #24314a;
}

.toefl-hero-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toefl-overview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.toefl-overview-chip,
.toefl-metric {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.86);
  border: 1px solid rgba(18, 59, 93, 0.06);
}

.toefl-overview-chip span,
.toefl-metric span {
  display: block;
  color: var(--muted);
  font: 0.85rem/1.35 "Helvetica Neue", Arial, sans-serif;
}

.toefl-overview-chip strong,
.toefl-metric strong {
  display: block;
  margin-top: 8px;
  color: #22314a;
  font: 700 1.5rem/1 "Georgia", "Times New Roman", serif;
}

.toefl-metric strong small {
  margin-left: 4px;
  font: 600 0.82rem/1 "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
}

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

.toefl-card {
  padding: 24px 24px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 235, 198, 0.18), transparent 25%),
    rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(18, 59, 93, 0.06);
  box-shadow: 0 16px 30px rgba(46, 43, 37, 0.07);
}

.toefl-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.toefl-card h2 {
  margin-bottom: 12px;
  color: #22314a;
}

.toefl-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.toefl-card__status-line {
  margin: 16px 0 0;
  color: #314056;
  font: 600 0.94rem/1.65 "Helvetica Neue", Arial, sans-serif;
}

.toefl-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.practice-header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18, 59, 93, 0.08);
}

.practice-header h1 {
  margin-bottom: 10px;
}

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

.content-grid--two {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.content-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.question-editor {
  display: grid;
  gap: 18px;
}

.question-editor__card {
  padding-bottom: 24px;
}

.paste-area {
  min-height: 360px;
  font: 0.96rem/1.6 "SFMono-Regular", Menlo, Monaco, monospace;
}

.import-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid rgba(18, 59, 93, 0.08);
  font: 0.9rem/1.55 "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
}

.import-note p {
  margin: 0;
}

.import-note p + p {
  margin-top: 8px;
}

.import-help {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.import-help summary {
  cursor: pointer;
  color: var(--brand);
  font: 600 0.95rem "Helvetica Neue", Arial, sans-serif;
}

.import-help__body {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.code-block {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 16px;
  background: #f5f0e6;
  border: 1px solid rgba(18, 59, 93, 0.08);
  font: 0.84rem/1.55 "SFMono-Regular", Menlo, Monaco, monospace;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.review-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--bg-soft);
}

.review-row__number,
.review-row__meta {
  font: 600 0.86rem "Helvetica Neue", Arial, sans-serif;
  color: var(--brand);
}

.review-row__prompt {
  color: var(--text);
}

.stat-number {
  margin: 8px 0 0;
  font-size: 2rem;
  color: var(--brand);
}

@keyframes authBlobDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.34;
  }
  20% {
    transform: translate3d(24px, -18px, 0) scale(1.08);
    opacity: 0.46;
  }
  45% {
    transform: translate3d(46px, 10px, 0) scale(0.96);
    opacity: 0.38;
  }
  70% {
    transform: translate3d(-28px, 28px, 0) scale(1.1);
    opacity: 0.48;
  }
  85% {
    transform: translate3d(-44px, -12px, 0) scale(0.94);
    opacity: 0.36;
  }
}

@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 26px;
  }

  .auth-intro {
    padding: 8px 0 0;
  }

  .auth-intro h1 {
    max-width: none;
  }

  .auth-card--enhanced {
    max-width: 520px;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .toefl-overview-strip,
  .toefl-card-grid {
    grid-template-columns: 1fr;
  }

  .toefl-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .toefl-metric-row {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .two-column,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-card,
  .dashboard-module-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-card {
    padding: 28px 24px;
  }

  .dashboard-hero-card__art {
    justify-content: center;
  }

  .dashboard-module-card {
    min-height: auto;
  }

  .dashboard-module-card__body {
    max-width: 100%;
  }

  .panel--hero,
  .practice-header,
  .practice-meta {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .module-card__copy {
    max-width: 100%;
  }

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

  .review-banner,
  .review-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
  }

  .dashboard-hero-card__copy h1 {
    font-size: 2.2rem;
  }

  .dashboard-module-card {
    padding: 22px 20px 20px;
  }

  .dashboard-module-card__head {
    align-items: center;
  }

  .dashboard-module-card__actions {
    flex-wrap: wrap;
  }
}

.blog-shell {
  padding-top: 28px;
  padding-bottom: 40px;
}

.blog-page,
.blog-post {
  display: grid;
  gap: 24px;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.blog-hero__copy,
.blog-hero__summary {
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.blog-hero__copy {
  background:
    radial-gradient(circle at top left, rgba(255, 225, 166, 0.62), transparent 28%),
    linear-gradient(135deg, #fffdf7, #f6efe2);
}

.blog-hero__copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.96;
  color: #21324b;
}

.blog-hero__text {
  max-width: 44rem;
  font-size: 1.05rem;
}

.blog-hero__summary {
  background: linear-gradient(180deg, #fffef9, #f8f1e4);
  display: grid;
  gap: 18px;
  align-content: start;
}

.blog-kicker {
  font: 700 0.9rem/1.3 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.blog-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.blog-summary-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 59, 93, 0.08);
}

.blog-summary-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-section {
  display: grid;
  gap: 18px;
}

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

.blog-card {
  display: grid;
  background: rgba(255, 253, 248, 0.96);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.blog-card__body h2,
.blog-card__body h3 {
  margin: 0;
  font-size: 1.4rem;
}

.blog-card__body h2 a,
.blog-card__body h3 a,
.blog-related__item a,
.blog-list-item__copy a {
  text-decoration: none;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font: 600 0.88rem/1.4 "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
}

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

.blog-category-card {
  display: grid;
  gap: 14px;
}

.blog-category-card h3 {
  margin: 0;
}

.blog-category-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 600 0.92rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.blog-list {
  display: grid;
  gap: 16px;
}

.blog-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.blog-filter-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 59, 93, 0.12);
  background: rgba(255, 252, 247, 0.92);
  text-decoration: none;
  font: 600 0.92rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.blog-filter--active {
  background: #143b5f;
  border-color: #143b5f;
  color: #fffaf2;
}

.blog-post__header {
  align-items: center;
}

.blog-post__excerpt {
  max-width: 42rem;
  font-size: 1.06rem;
}

.blog-post__cover {
  border-radius: 26px;
  overflow: hidden;
  min-height: 260px;
}

.blog-post__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 24px;
  overflow: hidden;
}

.blog-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-post__body {
  padding: 34px;
}

.blog-post__body > *:first-child {
  margin-top: 0;
}

.blog-post__body > *:last-child {
  margin-bottom: 0;
}

.blog-post__body h2,
.blog-post__body h3 {
  color: #173b5b;
  margin-top: 2.1rem;
}

.blog-post__body p,
.blog-post__body li,
.blog-post__body blockquote {
  font: 400 1.02rem/1.9 "Helvetica Neue", Arial, sans-serif;
}

.blog-post__body ul,
.blog-post__body ol {
  padding-left: 1.4rem;
}

.blog-post__body blockquote {
  margin: 1.6rem 0;
  padding: 0.8rem 1.1rem;
  border-left: 4px solid rgba(18, 59, 93, 0.2);
  background: rgba(18, 59, 93, 0.04);
}

.blog-post__body img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.blog-post__split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.blog-related__list {
  display: grid;
  gap: 14px;
}

.blog-related__item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(18, 59, 93, 0.08);
}

.blog-related__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.post-editor {
  display: grid;
  gap: 14px;
}

.post-editor__toolbar {
  display: none;
  gap: 10px;
  flex-wrap: wrap;
}

.post-editor--enhanced .post-editor__toolbar {
  display: flex;
}

.post-editor__canvas {
  display: none;
  min-height: 380px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fffdf9;
  font: 400 1rem/1.85 "Helvetica Neue", Arial, sans-serif;
}

.post-editor--enhanced .post-editor__canvas {
  display: block;
}

.post-editor--enhanced .post-editor__input {
  display: none;
}

.post-editor__canvas:focus {
  outline: 2px solid rgba(18, 59, 93, 0.18);
}

.post-editor-form__cover-preview {
  max-width: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-editor-form__cover-preview img {
  width: 100%;
  display: block;
}

.post-editor-form__toggles {
  display: grid;
  gap: 14px;
  align-content: center;
}

@media (max-width: 920px) {
  .blog-hero,
  .blog-card-grid,
  .blog-category-grid,
  .blog-post__split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .blog-hero__copy,
  .blog-hero__summary,
  .blog-post__body {
    padding: 24px;
  }

  .blog-list-item,
  .blog-preview-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.brand--forum {
  font: 500 1.35rem/1.2 "Helvetica Neue", Arial, sans-serif;
  color: #111;
}

.forum-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 500 1rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.forum-nav__link {
  position: relative;
  text-decoration: none;
  color: #111;
  padding: 4px 0;
}

.forum-nav__link--active::after,
.forum-nav__link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #111;
}

.forum-nav__item {
  position: relative;
}

.forum-nav__submenu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 220px;
  display: none;
  padding: 12px;
  border: 1px solid rgba(18, 59, 93, 0.08);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 48px rgba(24, 39, 58, 0.14);
  z-index: 30;
}

.forum-nav__submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.forum-nav__submenu a:hover {
  background: rgba(18, 59, 93, 0.06);
}

.forum-nav__item--practice:hover .forum-nav__submenu,
.forum-nav__item--practice:focus-within .forum-nav__submenu {
  display: block;
}

.blog-shell--forum {
  padding-top: 30px;
}

.forum-page {
  display: grid;
  gap: 24px;
}

.forum-hero {
  padding: 42px 46px;
  border-radius: 0;
  border-top: 4px solid #111;
  background:
    linear-gradient(90deg, rgba(246, 251, 180, 0.96), rgba(255, 253, 214, 0.9));
  box-shadow: none;
}

.forum-hero__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font: 600 0.92rem/1.4 "Helvetica Neue", Arial, sans-serif;
  color: #475569;
}

.forum-hero h1 {
  max-width: 980px;
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
}

.forum-hero h1 a {
  text-decoration: none;
}

.forum-hero p {
  max-width: 42rem;
  margin-bottom: 20px;
}

.forum-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.forum-sidebar {
  position: sticky;
  top: 110px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.forum-sidebar h2 {
  margin: 6px 0 16px;
}

.forum-sidebar__nav {
  display: grid;
  gap: 10px;
}

.forum-sidebar__link {
  padding: 10px 0 10px 18px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: #111;
  font: 500 1rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.forum-sidebar__link--active,
.forum-sidebar__link:hover {
  border-left-color: #111;
}

.forum-main {
  display: grid;
  gap: 20px;
}

.forum-main__head h2 {
  margin: 6px 0 10px;
  font-size: 2.15rem;
}

.forum-post {
  display: grid;
  gap: 16px;
  background: rgba(255, 253, 248, 0.98);
  border-radius: 0;
  box-shadow: none;
  border-top: 4px solid #111;
  padding: 0 0 16px;
}

.forum-post--lead {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  align-items: stretch;
}

.forum-post--lead.forum-post--text {
  grid-template-columns: 1fr;
  padding: 24px 0 18px;
}

.forum-post--compact {
  padding-top: 20px;
}

.forum-post__media {
  display: block;
  min-height: 280px;
  overflow: hidden;
}

.forum-post__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.forum-post__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px 0 0;
}

.forum-post__body h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.forum-post__body h3 a {
  text-decoration: none;
}

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

.forum-post-grid .forum-post {
  padding-top: 0;
}

.forum-post-grid .forum-post__body h3 {
  font-size: 1.5rem;
}

.forum-pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.forum-pagination__link {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  font: 600 0.95rem/1 "Helvetica Neue", Arial, sans-serif;
}

.forum-pagination__link--active {
  background: #111;
  color: #fff;
}

.archive-post {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 16px;
  border-top: 4px solid #111;
}

.archive-post + .archive-post {
  margin-top: 12px;
}

.archive-post--text {
  grid-template-columns: 1fr;
  padding-top: 20px;
}

.archive-post__media {
  display: block;
  min-height: 180px;
  overflow: hidden;
}

.archive-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-post__body {
  display: grid;
  align-content: start;
  gap: 10px;
}

.archive-post__body h2 {
  margin: 0;
}

.archive-post__body h2 a {
  text-decoration: none;
}

.blog-archive-list {
  display: grid;
  gap: 18px;
}

.blog-post__body iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
}

.post-editor__hint {
  margin-top: -4px;
}

.post-editor__file-input {
  display: none;
}

@media (max-width: 980px) {
  .forum-layout,
  .forum-post--lead,
  .archive-post {
    grid-template-columns: 1fr;
  }

  .forum-sidebar {
    position: static;
  }

  .forum-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .forum-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
  }

  .forum-hero {
    padding: 28px 24px;
  }

  .forum-hero h1 {
    font-size: 2.5rem;
  }
}

/* 2026 refresh: public magazine shell + private tool shell */

body.shell-public,
body.shell-private {
  color: #14202d;
  background-image: none;
}

body.shell-public {
  background: #f6f1e8;
  font: 16px/1.65 "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

body.shell-private {
  background: #f3f5f7;
  font: 15px/1.6 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body.shell-public h1,
body.shell-public h2,
body.shell-public h3 {
  color: #101828;
  font-family: "Iowan Old Style", "Georgia", "Songti SC", serif;
  font-weight: 600;
}

body.shell-private h1,
body.shell-private h2,
body.shell-private h3,
body.shell-private legend {
  color: #0f2740;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(12px);
}

.shell-public .site-header {
  background: rgba(249, 246, 239, 0.92);
}

.site-header__inner,
.page-shell {
  width: min(1120px, calc(100% - 40px));
}

.site-header__inner {
  min-height: 74px;
  gap: 24px;
}

.page-shell {
  padding: 24px 0 48px;
}

.page-shell--auth {
  min-height: 100vh;
  padding: 36px 0 48px;
}

.brand {
  color: #101828;
  font-size: 1.28rem;
}

.brand--forum {
  font: 600 1.2rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.site-nav,
.forum-nav {
  gap: 20px;
  font: 500 0.94rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.site-nav a,
.forum-nav__link {
  position: relative;
  padding: 4px 0;
  color: #344054;
  text-decoration: none;
}

.site-nav a::after,
.forum-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #101828;
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-nav a:hover,
.site-nav__link--active,
.forum-nav__link:hover,
.forum-nav__link--active {
  color: #101828;
}

.site-nav a:hover::after,
.site-nav__link--active::after,
.forum-nav__link:hover::after,
.forum-nav__link--active::after {
  opacity: 1;
  transform: scaleX(1);
}

.forum-nav__link--active::after,
.forum-nav__link:hover::after {
  bottom: -8px;
}

.forum-nav__submenu {
  top: calc(100% + 14px);
  min-width: 210px;
  padding: 10px;
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.forum-nav__submenu a {
  padding: 8px 10px;
  border-radius: 8px;
}

.panel,
.auth-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

.panel {
  padding: 22px;
}

.private-panel {
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.panel--hero {
  gap: 16px;
  margin-bottom: 18px;
}

.private-hero {
  background: #fff;
}

.eyebrow {
  margin-bottom: 8px;
  color: #8d5c2c;
  font: 700 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.14em;
}

.subtle,
label span,
legend {
  color: #667085;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border-color: #d0d5dd;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(20, 68, 107, 0.44);
  box-shadow: 0 0 0 4px rgba(20, 68, 107, 0.08);
}

.button,
.dashboard-module-card__action {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid #cfd4dc;
  background: #fff;
  color: #16324a;
  font: 600 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.button:hover,
.dashboard-module-card__action:hover {
  box-shadow: none;
  transform: none;
  border-color: #98a2b3;
  background: #f8fafc;
}

.button--primary,
.dashboard-module-card__action--primary {
  background: #163a5a;
  border-color: #163a5a;
  color: #fff;
}

.button--primary:hover,
.dashboard-module-card__action--primary:hover {
  background: #102f4b;
  border-color: #102f4b;
  color: #fff;
}

.button--active {
  background: #e8f1f8;
  border-color: #8fb7d4;
  color: #123a5a;
}

.button--danger {
  background: #8f3028;
  border-color: #8f3028;
  color: #fff;
}

.button--ghost {
  background: transparent;
}

.link-button {
  color: #163a5a;
  font: 600 0.88rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.status-pill,
.timer-pill {
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 6px;
  font: 700 0.76rem/1.1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.status-pill--green {
  background: rgba(43, 110, 77, 0.08);
}

.status-pill--amber {
  background: rgba(148, 99, 29, 0.1);
}

.status-pill--muted {
  background: rgba(102, 112, 133, 0.08);
}

.status-pill--published {
  background: rgba(43, 110, 77, 0.1);
  color: #1f5c3f;
}

.status-pill--draft {
  background: rgba(148, 99, 29, 0.12);
  color: #8a5b00;
}

.status-pill--missing {
  background: rgba(102, 112, 133, 0.1);
  color: #475467;
}

.blog-filter-strip,
.tab-strip {
  gap: 8px;
  margin-bottom: 16px;
}

.blog-filter {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 8px;
  border-color: #d0d5dd;
  background: #fff;
  font: 600 0.84rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.blog-filter--active {
  background: #101828;
  border-color: #101828;
  color: #fff;
}

.table {
  margin-top: 14px;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 10px 8px;
}

.table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.button--danger {
  border-color: rgba(154, 53, 44, 0.22);
  color: #8a2f28;
  background: rgba(154, 53, 44, 0.08);
}

.button--small {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 0.78rem;
  border-radius: 8px;
}

.admin-listening-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-listening-search {
  min-width: 220px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  font: 500 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.admin-listening-bulkbar {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.admin-listening-bulkbar__selectall {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-listening-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.admin-listening-table {
  min-width: 1480px;
  margin-top: 0;
  font-size: 0.82rem;
}

.admin-listening-table th,
.admin-listening-table td {
  padding: 7px 6px;
  vertical-align: top;
}

.admin-listening-table audio {
  width: 150px;
  height: 30px;
}

.admin-listening-asr {
  min-width: 110px;
  max-width: 220px;
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-listening-asr summary {
  display: inline-flex;
  cursor: pointer;
  white-space: nowrap;
}

.admin-listening-asr div {
  margin-top: 4px;
  color: #667085;
}

.admin-listening-boundary {
  display: grid;
  grid-template-columns: 82px 82px auto;
  gap: 5px;
  align-items: center;
  min-width: 220px;
}

.admin-listening-boundary label {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 3px;
  align-items: center;
  color: #667085;
  font: 700 0.72rem/1 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.admin-listening-boundary input {
  width: 60px;
  min-height: 30px;
  padding: 4px 5px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  font: 600 0.78rem/1 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.admin-listening-table__set,
.admin-listening-table__id {
  font: 500 0.76rem/1.35 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

.admin-listening-table__transcript,
.admin-listening-table__answers {
  min-width: 260px;
  max-width: 420px;
  line-height: 1.45;
}

.checkbox-row,
.avatar-option:not(.avatar-option--image) {
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
}

.profile-menu__summary {
  width: 42px;
  height: 42px;
  box-shadow: none;
}

.profile-menu__panel {
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.forum-page,
.blog-page,
.blog-post,
.dashboard-page {
  gap: 18px;
}

.blog-shell {
  padding-top: 18px;
  padding-bottom: 28px;
}

.forum-hero {
  padding: 28px 30px;
  border-radius: 16px;
  border-top: 3px solid #101828;
  background: linear-gradient(90deg, #f4f7c3, #f7f6d7 58%, #faf7e8);
}

.forum-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.forum-hero__content {
  min-width: 0;
}

.forum-hero__meta {
  margin-bottom: 10px;
  color: #667085;
  font: 700 0.78rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forum-hero h1 {
  max-width: 14ch;
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.forum-hero__actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.forum-layout {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
}

.forum-sidebar__nav {
  gap: 8px;
}

.forum-sidebar h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.forum-sidebar__link {
  padding: 8px 0 8px 14px;
  font-size: 0.95rem;
}

.forum-post,
.archive-post {
  border-top: 2px solid #101828;
}

.forum-post-list {
  display: grid;
  gap: 14px;
}

.forum-post--row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: 168px;
  overflow: hidden;
  background: #fffdf8;
}

.forum-post--row.forum-post--text {
  grid-template-columns: 1fr;
  min-height: 0;
}

.forum-post--row .forum-post__media {
  min-height: 168px;
  max-height: 168px;
}

.forum-post--row .forum-post__body {
  align-content: center;
  padding: 16px 18px;
}

.forum-post__body,
.archive-post__body {
  gap: 10px;
}

.forum-post__body h3 {
  font-size: 1.28rem;
  line-height: 1.18;
}

.archive-post__body h2 {
  font-size: 1.4rem;
}

.forum-pagination__link {
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
  border-color: #d0d5dd;
}

.forum-pagination__link--active {
  background: #101828;
  border-color: #101828;
}

.blog-card__meta {
  gap: 10px;
  font: 600 0.8rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #667085;
}

.blog-post__header {
  align-items: flex-start;
}

.blog-post__excerpt {
  font-size: 1rem;
}

.blog-post__body {
  padding: 26px 28px;
  background: #fff;
}

.blog-post__body p,
.blog-post__body li,
.blog-post__body blockquote {
  font: 400 1rem/1.9 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.blog-post__body iframe {
  min-height: 340px;
}

.blog-post__split {
  gap: 18px;
}

.blog-related__item {
  padding-bottom: 12px;
}

.auth-stage--public {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.auth-layout--compact {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: 28px;
  align-items: start;
}

.auth-intro--public {
  padding: 24px 0 0;
}

.auth-intro--public h1 {
  max-width: 12ch;
  color: #0f2740;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.03;
}

.auth-intro__copy {
  max-width: 36rem;
}

.auth-public-links {
  margin-top: 20px;
}

.auth-card--public {
  width: 100%;
  padding: 28px;
  background: #fffdf8;
  border-radius: 16px;
  box-shadow: none;
}

.auth-card--enhanced:hover {
  transform: none;
  box-shadow: none;
}

.auth-form {
  margin-top: 16px;
}

.auth-form input {
  min-height: 44px;
  border-radius: 10px;
  background: #fff;
}

.auth-submit {
  min-height: 38px;
}

.dashboard-page {
  gap: 18px;
}

.dashboard-summary-grid {
  margin-top: -4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-summary-grid div {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-summary-grid dt {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-summary-grid dd {
  font-size: 1.35rem;
}

.dashboard-module-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-module-card--compact {
  min-height: 0;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  grid-template-rows: auto 1fr auto;
}

.dashboard-module-card--compact .dashboard-module-card__head {
  justify-content: space-between;
}

.dashboard-module-card--compact .progress-ring--dashboard {
  width: 74px;
  height: 74px;
}

.dashboard-module-card--compact .progress-ring__inner {
  width: 54px;
  height: 54px;
}

.dashboard-module-card--compact .dashboard-module-card__body h2 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}

.dashboard-module-card--compact .dashboard-module-card__summary {
  margin: 0 0 8px;
  color: #344054;
  font: 600 0.9rem/1.55 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.dashboard-module-card--compact .dashboard-module-card__location {
  font-size: 0.84rem;
}

.dashboard-module-card--compact .dashboard-module-card__actions {
  gap: 8px;
  margin-top: 16px;
}

.dashboard-module-card__action--disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.admin-summary-grid {
  margin-bottom: 18px;
}

.admin-summary-grid .panel {
  padding: 18px;
}

.admin-summary-grid h2 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.ielts-sample-admin__search {
  min-width: min(320px, 100%);
}

.ielts-sample-admin__prompt {
  max-width: 38rem;
  color: #101828;
  font-weight: 650;
  line-height: 1.55;
}

.phrase-count {
  display: inline-flex;
  align-items: center;
  margin: 0 6px 6px 0;
  padding: 4px 8px;
  border-radius: 999px;
  font: 700 0.75rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.phrase-count--topic {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.phrase-count--academic {
  background: rgba(255, 247, 205, 0.96);
  color: #92400e;
}

.ielts-sample-meta-panel {
  display: grid;
  gap: 14px;
}

.ielts-sample-editor {
  display: grid;
  gap: 18px;
}

.ielts-sample-editor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.ielts-sample-editor__workspace,
.ielts-sample-editor__side {
  display: grid;
  gap: 14px;
}

.ielts-sample-editor__side {
  position: sticky;
  top: 84px;
}

.ielts-sample-editor__mode {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font: 700 0.78rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-sample-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
}

.ielts-sample-editor__textarea-label {
  display: grid;
  gap: 8px;
}

.ielts-sample-editor__textarea-label textarea {
  min-height: 640px;
  resize: vertical;
  font: 0.94rem/1.62 "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  color: #101828;
}

.ielts-sample-editor__status {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #475467;
  font: 700 0.84rem/1.35 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.form-hint {
  margin-top: 6px;
  color: #667085;
  font-size: 0.8rem;
}

.form-hint--error {
  color: #9b2c2c;
}

.ielts-sample-preview .question-sample-body {
  display: grid;
  gap: 12px;
  color: #1f2937;
  font: 500 1rem/1.85 Georgia, "Times New Roman", serif;
}

.ielts-sample-preview .question-sample-body p {
  margin: 0;
}

.ielts-sample-editor__phrases h3 {
  margin-top: 6px;
}

.ielts-sample-editor .question-sample-phrase-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ielts-sample-editor .question-sample-phrase-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  font: 650 0.84rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-sample-editor .question-sample-phrase-chip--topic {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.ielts-sample-editor .question-sample-phrase-chip--academic {
  background: rgba(255, 247, 205, 0.96);
  color: #92400e;
}

.ielts-topic-phrase-admin__table .question-sample-phrase-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  font: 650 0.84rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-topic-phrase-admin__table .question-sample-phrase-chip--topic {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.ielts-topic-phrase-admin__table .question-sample-phrase-chip--academic {
  background: rgba(255, 247, 205, 0.96);
  color: #92400e;
}

.ielts-topic-phrase-admin__head {
  align-items: flex-end;
}

.ielts-topic-phrase-admin__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
}

.ielts-topic-phrase-admin__controls .ielts-sample-admin__search {
  min-width: 180px;
}

.ielts-topic-phrase-admin__controls select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  color: #16324a;
  font: 600 0.88rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-topic-phrase-admin__result {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  color: #64748b;
  font: 700 0.78rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-topic-phrase-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.ielts-topic-phrase-chip-form {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.ielts-topic-phrase-chip-form[hidden] {
  display: none;
}

.ielts-topic-phrase-chip-form:hover {
  border-color: rgba(22, 101, 52, 0.45);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.ielts-topic-phrase-chip-form.is-selected {
  border-color: #0f766e;
  background: rgba(204, 251, 241, 0.84);
  box-shadow:
    0 0 0 2px rgba(15, 118, 110, 0.16),
    0 8px 20px rgba(15, 23, 42, 0.1);
}

.ielts-topic-phrase-chip-form__checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.ielts-topic-phrase-chip-form .question-sample-phrase-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  font: 650 0.78rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-topic-phrase-chip-form .question-sample-phrase-chip--topic {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.ielts-topic-phrase-chip-form .question-sample-phrase-chip--academic {
  background: rgba(255, 247, 205, 0.96);
  color: #92400e;
}

.inline-delete-form {
  display: inline-flex;
  margin: 0;
}

.inline-delete-form .button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.post-editor {
  gap: 12px;
}

.post-editor__toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-editor__tool {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #16324a;
  cursor: pointer;
  font: 600 0.83rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.post-editor__tool:hover {
  background: #f8fafc;
  border-color: #98a2b3;
}

.post-editor__tool.is-active {
  background: #163a5a;
  border-color: #163a5a;
  color: #fff;
}

.post-editor__tool:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.post-editor__surface {
  border-radius: 14px;
  overflow: hidden;
}

.post-editor__input {
  min-height: 360px;
  font: 400 0.9rem/1.55 "SFMono-Regular", Menlo, Monaco, monospace;
}

.post-editor--enhanced .post-editor__input {
  display: none;
}

.post-editor__hint {
  margin-top: 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .auth-layout--compact,
  .forum-layout,
  .dashboard-module-grid--compact,
  .dashboard-summary-grid,
  .summary-grid--four {
    grid-template-columns: 1fr;
  }

  .forum-sidebar {
    position: static;
  }

  .forum-hero__layout,
  .forum-post--row {
    grid-template-columns: 1fr;
  }

  .dashboard-module-grid--compact {
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .forum-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .page-shell {
    width: min(1120px, calc(100% - 28px));
  }

  .panel,
  .blog-post__body,
  .forum-hero {
    padding: 20px;
  }

  .forum-hero h1 {
    max-width: none;
    font-size: 2.4rem;
  }
}

body.shell-blog {
  background:
    radial-gradient(circle at top left, rgba(214, 230, 255, 0.44), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fc 44%, #eef4fb 100%);
}

.shell-blog .site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.15);
}

.shell-blog .site-header__inner,
.shell-blog .page-shell {
  width: min(1220px, calc(100% - 56px));
}

.shell-blog .site-header__inner {
  min-height: 80px;
}

.shell-blog .brand--forum {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shell-blog .blog-shell--forum {
  padding-top: 22px;
  padding-bottom: 56px;
}

.shell-blog .forum-nav {
  gap: 28px;
  align-items: center;
}

.shell-blog .forum-nav__link {
  padding: 8px 0;
  color: #0f172a;
  font-size: 0.98rem;
}

.shell-blog .forum-nav__link::after {
  bottom: -12px;
  height: 2.5px;
  background: #5a6f8e;
}

.shell-blog .forum-nav__submenu {
  top: calc(100% + 10px);
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.shell-blog .forum-nav__submenu a {
  padding: 10px 12px;
  font-size: 0.94rem;
  color: #334155;
}

.shell-blog .forum-page {
  gap: 24px;
}

.shell-blog .forum-hero {
  position: relative;
  min-height: 304px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px;
  background: linear-gradient(135deg, #eef5ff, #ffffff 56%, #edf4fb);
  box-shadow: 0 24px 50px rgba(148, 163, 184, 0.16);
}

.shell-blog .forum-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 31, 0.12), rgba(8, 15, 31, 0.04)),
    var(--forum-hero-image) center center / cover no-repeat;
}

.shell-blog .forum-hero--fallback::before {
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.72), transparent 32%),
    linear-gradient(135deg, #edf5ff 0%, #ffffff 58%, #eef4fb 100%);
}

.shell-blog .forum-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.shell-blog .forum-hero__layout {
  position: relative;
  z-index: 1;
  min-height: 304px;
  padding: 34px;
  display: flex;
  align-items: center;
}

.shell-blog .forum-hero__card {
  max-width: 560px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(20px);
}

.shell-blog .forum-hero__eyebrow {
  margin: 0 0 12px;
  color: #334155;
  font: 500 0.98rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-hero__title {
  max-width: none;
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.1vw, 3.56rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.shell-blog .forum-hero__title a {
  color: #0f172a;
  text-decoration: none;
}

.shell-blog .forum-hero__actions {
  justify-content: flex-start;
  margin-top: 22px;
}

.shell-blog .forum-hero__actions .button {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 1rem;
}

.shell-blog .forum-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.shell-blog .forum-sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}

.shell-blog .forum-sidebar h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1rem;
  letter-spacing: 0;
}

.shell-blog .forum-sidebar__nav {
  gap: 6px;
}

.shell-blog .forum-sidebar__link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.shell-blog .forum-sidebar__link:hover,
.shell-blog .forum-sidebar__link--active {
  background: linear-gradient(135deg, rgba(226, 237, 255, 0.92), rgba(244, 248, 255, 0.98));
  border-color: rgba(191, 219, 254, 0.92);
  color: #13315c;
}

.shell-blog .forum-sidebar__icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  color: #476588;
  font: 700 0.76rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  flex-shrink: 0;
}

.shell-blog .forum-sidebar__link:nth-child(1) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #eaf2ff);
}

.shell-blog .forum-sidebar__link:nth-child(2) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #e7f4ff);
}

.shell-blog .forum-sidebar__link:nth-child(3) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #edf7f4);
}

.shell-blog .forum-sidebar__link:nth-child(4) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #f5f2ff);
}

.shell-blog .forum-sidebar__link:nth-child(5) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #eaf8f2);
}

.shell-blog .forum-sidebar__link:nth-child(6) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #fff3e2);
}

.shell-blog .forum-sidebar__link:nth-child(7) .forum-sidebar__icon {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
}

.shell-blog .forum-main {
  gap: 18px;
}

.shell-blog .forum-post-list {
  gap: 18px;
}

.shell-blog .forum-post {
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.11);
  overflow: hidden;
}

.shell-blog .forum-post--row {
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 0;
  gap: 0;
}

.shell-blog .forum-post--row .forum-post__media {
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  margin: 18px 0 18px 18px;
  border-radius: 16px;
  overflow: hidden;
}

.shell-blog .forum-post--row.forum-post--text {
  grid-template-columns: 1fr;
}

.shell-blog .forum-post--row .forum-post__body {
  display: grid;
  align-content: stretch;
  gap: 12px;
  padding: 22px 24px 22px 22px;
}

.shell-blog .forum-post--row.forum-post--text .forum-post__body {
  padding: 24px 28px;
}

.shell-blog .forum-post__title {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.66rem, 2.3vw, 2.16rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.shell-blog .forum-post__title a {
  color: #0f172a;
  text-decoration: none;
}

.shell-blog .forum-post__summary {
  margin: 0;
  color: #334155;
  font: 500 1rem/1.58 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shell-blog .forum-post__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.shell-blog .forum-post__cta {
  color: #4a6787;
  font: 600 1rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
}

.shell-blog .forum-post__cta:hover {
  color: #163a5a;
}

.shell-blog .forum-pagination {
  margin-top: 8px;
}

.shell-blog .forum-pagination__link {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.shell-blog .panel--summary {
  background: rgba(255, 255, 255, 0.9);
}

.shell-blog .forum-page--question-bank {
  gap: 24px;
}

.shell-blog .question-bank-hero {
  min-height: 0;
}

.shell-blog .question-bank-hero::before {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 52%, #f9f2df 100%);
}

.shell-blog .question-bank-hero__layout {
  min-height: 0;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 16px;
  align-items: stretch;
}

.shell-blog .question-bank-hero__card {
  max-width: none;
  display: grid;
  align-content: center;
  padding: 24px 26px;
}

.shell-blog .question-bank-hero__summary {
  margin: 12px 0 0;
  color: #334155;
  font: 500 1rem/1.68 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-bank-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 10px;
  align-content: center;
  align-self: center;
}

.shell-blog .question-bank-hero__layout--compact {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  align-items: center;
}

.shell-blog .question-bank-hero__layout--compact .question-bank-hero__stats {
  grid-template-columns: repeat(2, minmax(112px, 1fr));
}

.shell-blog .question-bank-hero__layout--compact .question-bank-stat {
  min-height: 82px;
}

.shell-blog .question-bank-hero__layout--single {
  grid-template-columns: 1fr;
}

.shell-blog .question-bank-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.shell-blog .question-bank-stat--accent {
  background: linear-gradient(135deg, #143d6b 0%, #245f8d 100%);
  border-color: rgba(20, 61, 107, 0.28);
}

.shell-blog .question-bank-stat__value {
  color: #0f172a;
  overflow-wrap: anywhere;
  font: 700 clamp(1.5rem, 2.2vw, 2.05rem)/1.05 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-bank-stat--accent .question-bank-stat__value,
.shell-blog .question-bank-stat--accent .question-bank-stat__label {
  color: #fff;
}

.shell-blog .question-bank-stat__label {
  color: #526072;
  font: 600 0.88rem/1.45 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-bank-sidebar__block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.shell-blog .question-bank-sidebar__label {
  margin: 0 0 10px;
  color: #5b6575;
  font: 700 0.76rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell-blog .question-bank-sidebar__jumps {
  display: grid;
  gap: 6px;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jumps {
  max-height: clamp(180px, calc(100vh - 438px), 420px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-color: rgba(36, 95, 141, 0.42) rgba(226, 232, 240, 0.7);
  scrollbar-width: thin;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jumps::-webkit-scrollbar {
  width: 8px;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jumps::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.7);
  border-radius: 999px;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jumps::-webkit-scrollbar-thumb {
  background: rgba(36, 95, 141, 0.38);
  border-radius: 999px;
}

.shell-blog .question-bank-sidebar__jump {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(244, 247, 251, 0.88);
  color: #425466;
  font: 600 0.84rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.shell-blog .question-bank-sidebar__jump:hover {
  background: rgba(226, 232, 240, 0.96);
  color: #0f172a;
  transform: translateY(-1px);
}

.shell-blog .cambridge-hub .forum-main {
  min-width: 0;
}

.shell-blog .cambridge-hub-sidebar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.shell-blog .cambridge-hub-sidebar__modules {
  display: grid;
  gap: 8px;
}

.shell-blog .cambridge-hub-hero {
  min-height: 0;
}

.shell-blog .cambridge-hub-hero::before {
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 31%),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.15), transparent 30%),
    linear-gradient(135deg, #f0f9ff 0%, #ffffff 52%, #f7f3e8 100%);
}

.shell-blog .cambridge-hub-hero__layout {
  min-height: 0;
}

.shell-blog .cambridge-hub .question-bank-stat__value {
  overflow-wrap: anywhere;
}

.shell-blog .cambridge-hub .question-bank-stat:last-child .question-bank-stat__value {
  font-size: clamp(1.16rem, 1.8vw, 1.58rem);
}

.shell-blog .cambridge-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shell-blog .cambridge-module-grid--single {
  grid-template-columns: minmax(0, 420px);
}

.shell-blog .cambridge-module-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 206px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.1);
}

.shell-blog .cambridge-module-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shell-blog .cambridge-module-card__index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  border: 1px solid rgba(191, 219, 254, 0.88);
  color: #315474;
  font: 700 0.82rem/1 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-module-card__kicker {
  color: #64748b;
  font: 700 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-blog .cambridge-module-card h2 {
  margin: 0;
  color: #0f172a;
  font: 700 1.18rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-module-card p {
  margin: 0;
  color: #475569;
  font: 500 0.94rem/1.62 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-resource-panel {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.shell-blog .cambridge-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shell-blog .cambridge-resource-card {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 16px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
}

.shell-blog .cambridge-resource-card span {
  color: #2563eb;
  font: 700 0.78rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-resource-card h3 {
  margin: 0;
  color: #0f172a;
  font: 700 1.06rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-resource-card p {
  margin: 0;
  color: #475569;
  font: 500 0.9rem/1.58 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-hub-posts {
  display: grid;
  gap: 16px;
}

.shell-blog .cambridge-hub-posts__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 0;
}

.shell-blog .cambridge-hub-posts__head h2 {
  margin: 0;
  color: #0f172a;
  font: 700 1.42rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .cambridge-hub-posts__head span {
  color: #64748b;
  font: 600 0.92rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
}

.shell-blog .question-year__copy h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.shell-blog .question-year__copy p {
  margin-bottom: 0;
}

.shell-blog .question-year {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 104px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    #fff;
}

.shell-blog .question-year[hidden] {
  display: none;
}

.shell-blog .question-year::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--question-year-accent, #245f8d);
}

.shell-blog .question-year[data-year="2025"] {
  --question-year-accent: #245f8d;
}

.shell-blog .question-year[data-year="2024"] {
  --question-year-accent: #0f766e;
}

.shell-blog .question-year[data-year="2023"] {
  --question-year-accent: #b45309;
}

.shell-blog .question-year__header {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.shell-blog .question-year__filters {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.shell-blog .question-year__filter-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.shell-blog .question-year__select-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
  color: #526072;
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-year__select-filter select {
  width: 180px;
  min-width: 0;
  min-height: 36px;
  padding: 0 30px 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font: 600 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .article-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}

.shell-blog .article-panel h1 {
  margin: 0;
  color: #0f172a;
  font: 700 2.4rem/1.08 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .article-lede {
  margin: 0;
  max-width: 760px;
  color: #334155;
  font: 600 1.05rem/1.75 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .article-section {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.shell-blog .article-section h2 {
  margin: 12px 0 0;
  color: #0f172a;
  font: 700 1.24rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .article-section p,
.shell-blog .article-source {
  margin: 0;
  color: #334155;
  font: 500 1rem/1.8 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .article-source {
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  font-size: 0.9rem;
}

.shell-blog .article-source a {
  color: #245f8d;
  font-weight: 700;
}

.shell-blog .question-year__result {
  margin: 0;
  font-size: 0.9rem;
}

.shell-blog .question-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shell-blog .question-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.94)),
    #fff;
  box-shadow: 0 18px 32px rgba(148, 163, 184, 0.1);
}

.shell-blog .question-card[hidden],
.shell-blog .question-card.is-hidden {
  display: none;
}

.shell-blog .question-card__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.shell-blog .question-card__date {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 76px;
  padding: 12px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--question-year-accent, #245f8d), rgba(36, 95, 141, 0.82));
  color: #fff;
  text-align: center;
}

.shell-blog .question-card__month {
  font: 700 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
}

.shell-blog .question-card__day {
  font: 700 1.75rem/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.shell-blog .question-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-blog .question-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font: 700 0.77rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-card__chip--type {
  background: rgba(223, 242, 255, 0.9);
  color: #0f4c75;
}

.shell-blog .question-card__chip--topic {
  background: rgba(255, 244, 226, 0.94);
  color: #b45309;
}

.shell-blog .question-card__chip--repeat {
  background: rgba(234, 179, 8, 0.12);
  color: #8a5b00;
}

.shell-blog .question-card__prompt {
  margin: 0;
  color: #0f172a;
  font: 500 1rem/1.76 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-card__prompt-link {
  color: inherit;
  text-decoration: none;
}

.shell-blog .question-card__prompt-link:hover .question-card__prompt {
  color: #133b63;
}

.shell-blog .question-card__repeat {
  margin: 0;
  font-size: 0.88rem;
}

.shell-blog .question-card__sample-status {
  margin: 14px 0 0;
  font: 700 0.78rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
}

.shell-blog .question-card__sample-status--ready {
  color: #1f6a49;
}

.shell-blog .question-card__sample-status--pending {
  color: #8d5c2c;
}

.shell-blog .question-card-grid__empty {
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px dashed rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.74);
}

.shell-blog .question-card-grid__empty h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.shell-blog .forum-page--question-sample {
  gap: 24px;
}

.shell-blog .question-sample-hero {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .question-sample-hero::before,
.shell-blog .question-sample-hero::after {
  content: none;
}

.shell-blog .question-sample-hero__layout {
  grid-template-columns: 1fr;
  padding: 0;
}

.shell-blog .question-sample-hero__card {
  gap: 12px;
  width: 100%;
  max-width: none;
  padding: 24px;
  border-color: rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
  backdrop-filter: none;
}

.shell-blog .question-sample-hero .forum-hero__eyebrow {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shell-blog .question-sample-hero .forum-hero__title {
  max-width: 64rem;
  color: #0f172a;
  font-size: clamp(1.46rem, 2.45vw, 2.18rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.shell-blog .question-sample-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.shell-blog .question-sample-hero__status {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-sample-hero__status--ready {
  background: rgba(201, 245, 222, 0.18);
  color: #dcfce7;
}

.shell-blog .question-sample-hero__status--pending {
  background: rgba(226, 237, 255, 0.88);
  color: #245f8d;
}

.shell-blog .question-sample-sidebar__block {
  margin-top: 18px;
}

.shell-blog .question-sample-sidebar__meta {
  display: grid;
  gap: 10px;
}

.shell-blog .question-sample-sidebar__meta dt {
  margin: 0 0 4px;
  color: #64748b;
  font: 700 0.72rem/1.3 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-blog .question-sample-sidebar__meta dd {
  margin: 0;
  color: #0f172a;
  font: 600 0.96rem/1.5 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-bank-sidebar__jump--static {
  cursor: default;
}

.shell-blog .question-sample-panel {
  padding: 28px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}

.shell-blog .question-sample-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.shell-blog .question-sample-panel__head h2 {
  margin: 6px 0 0;
}

.shell-blog .question-sample-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shell-blog .question-sample-body {
  display: grid;
  gap: 14px;
  color: #1f2937;
  font: 500 1.02rem/1.9 "Georgia", "Times New Roman", serif;
}

.shell-blog .question-sample-body p {
  margin: 0;
}

.shell-blog .question-sample-body--preview {
  margin-bottom: 18px;
}

.shell-blog .question-sample-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.shell-blog .question-sample-lock h3 {
  margin: 0 0 8px;
}

.sample-phrase {
  display: inline;
  padding: 0.08em 0.22em;
  border-radius: 0.35em;
  font-weight: 700;
}

.sample-phrase--topic {
  background: rgba(183, 244, 216, 0.86);
  color: #14532d;
}

.sample-phrase--academic {
  background: rgba(255, 232, 183, 0.92);
  color: #854d0e;
}

.shell-blog .question-sample-phrase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shell-blog .question-sample-phrase-panel h3 {
  margin-top: 6px;
}

.shell-blog .question-sample-phrase-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shell-blog .question-sample-phrase-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font: 600 0.92rem/1.35 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .question-sample-phrase-chip--topic {
  background: rgba(220, 252, 231, 0.96);
  color: #166534;
}

.shell-blog .question-sample-phrase-chip--academic {
  background: rgba(255, 247, 205, 0.96);
  color: #92400e;
}

.shell-blog .question-sample-panel--empty {
  text-align: left;
}

.shell-blog .forum-page--topic-vocabulary {
  gap: 24px;
}

.shell-blog .topic-vocab-hero::before {
  background:
    radial-gradient(circle at 82% 12%, rgba(183, 244, 216, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(19, 59, 99, 0.94), rgba(21, 94, 117, 0.9));
}

.shell-blog .topic-vocab-main {
  display: grid;
  gap: 18px;
}

.shell-blog .topic-vocab-panel {
  padding: 26px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}

.shell-blog .topic-vocab-panel--academic {
  background:
    radial-gradient(circle at top right, rgba(255, 247, 205, 0.72), transparent 30%),
    rgba(255, 255, 255, 0.97);
}

.shell-blog .topic-vocab-panel[hidden] {
  display: none;
}

.shell-blog .question-bank-sidebar__jump--active {
  border-color: rgba(36, 95, 141, 0.38);
  background: rgba(226, 237, 255, 0.95);
  color: #123b5d;
}

.shell-blog .topic-vocab-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}

.shell-blog .topic-vocab-toolbar span {
  padding: 0 6px 0 10px;
  color: #64748b;
  font: 700 0.8rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .topic-vocab-toolbar__button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.86);
  color: #334155;
  cursor: pointer;
  font: 750 0.8rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .topic-vocab-toolbar__button.is-active {
  border-color: rgba(36, 95, 141, 0.48);
  background: #133b5d;
  color: #fff;
}

.shell-blog .topic-vocab-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  font: 600 0.92rem/1.36 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .topic-vocab-table th {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(241, 245, 249, 0.92);
  color: #475569;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-blog .topic-vocab-table td {
  padding: 8px 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: #0f172a;
  vertical-align: top;
}

.shell-blog .topic-vocab-table__row {
  cursor: pointer;
}

.shell-blog .topic-vocab-table__phrase {
  width: 54%;
}

.shell-blog .topic-vocab-table__translation {
  width: 46%;
  color: #64748b;
}

.shell-blog .topic-vocab-table__row:hover td,
.shell-blog .topic-vocab-table__row.is-expanded td {
  background: rgba(240, 253, 250, 0.72);
}

.shell-blog .topic-vocab-table__row--academic:hover td,
.shell-blog .topic-vocab-table__row--academic.is-expanded td {
  background: rgba(255, 251, 235, 0.86);
}

.shell-blog .topic-vocab-table__phrase-button {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #166534;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.shell-blog .topic-vocab-table__row--academic .topic-vocab-table__phrase-button {
  color: #92400e;
}

.shell-blog .topic-vocab-table__phrase-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shell-blog .topic-vocab-table__example-row[hidden] {
  display: none;
}

.shell-blog .topic-vocab-table__example-row td {
  padding: 11px 14px 13px;
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  font: 500 0.9rem/1.62 Georgia, "Times New Roman", serif;
}

.shell-blog .topic-vocab-table__example-label {
  display: inline-flex;
  margin-right: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(226, 237, 255, 0.92);
  color: #123b5d;
  font: 800 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog [data-vocab-language-state="english"] .topic-vocab-table__translation,
.shell-blog [data-vocab-language-state="chinese"] .topic-vocab-table__phrase {
  display: none;
}

.shell-blog [data-vocab-language-state="english"] .reading-vocab-table__number,
.shell-blog [data-vocab-language-state="english"] .reading-vocab-table__speak,
.shell-blog [data-vocab-language-state="chinese"] .reading-vocab-table__number,
.shell-blog [data-vocab-language-state="chinese"] .reading-vocab-table__speak {
  display: table-cell;
}

.shell-blog [data-vocab-language-state="english"] .topic-vocab-table__phrase,
.shell-blog [data-vocab-language-state="chinese"] .topic-vocab-table__translation {
  width: 100%;
}

.shell-blog .topic-vocab-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shell-blog .topic-vocab-chip-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.74);
}

.shell-blog .topic-vocab-chip-card--academic {
  background: rgba(255, 251, 235, 0.76);
}

.shell-blog .topic-vocab-chip-card__meta {
  color: #64748b;
  font: 650 0.76rem/1.35 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.shell-blog .topic-vocab-chip-card__source {
  color: #0f4c75;
  text-decoration: none;
  font: 700 0.78rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .topic-vocab-chip-card__source:hover {
  text-decoration: underline;
}

.shell-blog .topic-vocab-lock {
  margin: 0;
}

.shell-blog .topic-vocab-sidebar-lock {
  display: grid;
  gap: 10px;
}

.shell-blog .forum-page--reading-vocabulary {
  gap: 24px;
}

.shell-blog .reading-vocab-hero::before {
  background:
    radial-gradient(circle at 84% 14%, rgba(191, 219, 254, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(15, 45, 88, 0.95), rgba(14, 116, 144, 0.88));
}

.shell-blog .reading-vocab-hero {
  min-height: 0;
}

.shell-blog .reading-vocab-toolbar {
  margin: 16px 0 12px;
}

@media (min-width: 1121px) {
  .shell-blog .reading-vocab-hero .question-bank-hero__layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .reading-vocab-hero .question-bank-hero__stats {
    grid-template-columns: 1fr;
    grid-auto-rows: 108px;
    align-self: center;
    align-content: center;
  }

  .shell-blog .reading-vocab-hero .question-bank-stat {
    width: 108px;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .shell-blog .reading-vocab-hero .question-bank-stat__value {
    font-size: 1.7rem;
  }

  .shell-blog .reading-vocab-hero .question-bank-stat__label {
    font-size: 0.76rem;
    line-height: 1.3;
  }
}

.shell-blog .reading-vocab-sidebar .question-bank-sidebar__jumps {
  margin-top: 4px;
}

.shell-blog .reading-vocab-sidebar__locked {
  opacity: 0.72;
}

.shell-blog .reading-vocab-sidebar__locked:hover {
  opacity: 1;
}

.shell-blog .reading-vocab-panel {
  background:
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.5), transparent 28%),
    rgba(255, 255, 255, 0.97);
}

.shell-blog .reading-vocab-table {
  font-size: 0.88rem;
}

.shell-blog .reading-vocab-table__number {
  width: 52px;
  color: #7a8798;
  text-align: center;
  font: 800 0.78rem/1.3 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .reading-vocab-table th,
.shell-blog .reading-vocab-table td {
  overflow-wrap: anywhere;
}

.shell-blog .reading-vocab-table__word {
  width: 34%;
}

.shell-blog .reading-vocab-table__speak {
  width: 58px;
  text-align: center;
}

.shell-blog .reading-vocab-table__definition {
  width: 56%;
}

.shell-blog .reading-vocab-table__word-button {
  color: #0f4c75;
}

.shell-blog .reading-vocab-table__speak-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: rgba(219, 234, 254, 0.72);
  color: #143e78;
  cursor: pointer;
}

.shell-blog .reading-vocab-table__speak-button:hover {
  background: rgba(191, 219, 254, 0.96);
}

.shell-blog .reading-vocab-table__speak-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.shell-blog .reading-vocab-table__row:hover td,
.shell-blog .reading-vocab-table__row.is-expanded td {
  background: rgba(239, 246, 255, 0.82);
}

.shell-blog .reading-vocab-table__example-row td {
  padding: 12px 14px 14px;
  white-space: normal;
}

.shell-blog .reading-vocab-example {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.shell-blog .reading-vocab-example p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.shell-blog .reading-vocab-example__sentence {
  color: #172033;
  font: 600 0.82rem/1.56 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .reading-vocab-example__sentence mark {
  padding: 0 3px;
  border-radius: 4px;
  background: rgba(191, 219, 254, 0.85);
  color: #0f3b68;
}

.shell-blog .reading-vocab-example__translation {
  color: #475569;
  font: 600 0.88rem/1.58 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .reading-vocab-example .topic-vocab-table__example-label {
  margin: 0 7px 0 0;
  padding: 2px 6px;
  vertical-align: 0.08em;
}

.shell-blog [data-vocab-language-state="english"] .reading-vocab-example__translation,
.shell-blog [data-vocab-language-state="chinese"] .reading-vocab-example__sentence {
  display: none;
}

.shell-blog [data-vocab-language-state="english"] .reading-vocab-table__number,
.shell-blog [data-vocab-language-state="english"] .reading-vocab-table__speak,
.shell-blog [data-vocab-language-state="chinese"] .reading-vocab-table__number,
.shell-blog [data-vocab-language-state="chinese"] .reading-vocab-table__speak {
  display: table-cell;
}

.shell-blog .placement-page {
  gap: 22px;
}

.shell-blog .placement-main {
  display: grid;
  gap: 18px;
}

.shell-blog .placement-panel {
  padding: 28px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.1);
}

.shell-blog [data-placement-screen][hidden],
.shell-blog .placement-passage[hidden],
.shell-blog .placement-listening[hidden],
.shell-blog .placement-order[hidden] {
  display: none;
}

.shell-blog .placement-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(125, 178, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.96));
}

.shell-blog .placement-intro__copy {
  align-self: center;
}

.shell-blog .placement-kicker {
  margin: 0 0 10px;
  color: #476588;
  font: 700 0.76rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shell-blog .placement-intro h1,
.shell-blog .placement-test__header h1,
.shell-blog .placement-report__head h1 {
  margin: 0;
  color: #0f172a;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.1rem, 3.7vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.shell-blog .placement-intro__summary,
.shell-blog .placement-report__summary {
  max-width: 44rem;
  margin: 16px 0 0;
  color: #334155;
  font: 500 1.02rem/1.72 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-stat,
.shell-blog .placement-time-limit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(226, 237, 255, 0.92);
  color: #13315c;
  font: 700 0.9rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-stat strong {
  color: #123b5d;
  font: 700 1rem/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.shell-blog .placement-stat span,
.shell-blog .placement-note,
.shell-blog .placement-feedback,
.shell-blog .placement-skill-card p,
.shell-blog .placement-skill-card span,
.shell-blog .placement-advice li {
  color: #526072;
  font: 600 0.92rem/1.5 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-intro__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.shell-blog .placement-note--intro {
  margin-top: 10px;
  color: #64748b;
}

.shell-blog .placement-button {
  min-height: 46px;
  border-radius: 14px;
}

.shell-blog .placement-test__header,
.shell-blog .placement-report__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.shell-blog .placement-test__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shell-blog .placement-test__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(226, 237, 255, 0.92);
  color: #13315c;
  font: 700 0.86rem/1.2 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-test__meta span.is-low {
  background: rgba(254, 226, 226, 0.92);
  color: #9a352c;
}

.shell-blog .placement-progress {
  height: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.shell-blog .placement-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #245f8d, #2b8a7e);
  transition: width 0.22s ease;
}

.shell-blog .placement-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.shell-blog .placement-card h2 {
  margin: 0;
  color: #0f172a;
  font: 700 clamp(1.35rem, 2.2vw, 1.8rem)/1.24 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.025em;
}

.shell-blog .placement-passage {
  padding: 18px 20px;
  border-left: 4px solid #245f8d;
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.8);
  color: #1f2937;
  font: 500 1rem/1.75 "Georgia", "Times New Roman", serif;
}

.shell-blog .placement-passage__title {
  margin-bottom: 12px;
  color: #0f172a;
  text-align: center;
  font: 700 1.1rem/1.35 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-passage__body {
  margin: 0;
}

.shell-blog .placement-listening {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.82);
}

.shell-blog .placement-audio-button {
  min-height: 42px;
  border-radius: 12px;
}

.shell-blog .placement-options {
  display: grid;
  gap: 10px;
}

.shell-blog .placement-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font: 600 1rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.shell-blog .placement-option:has(input:checked) {
  border-color: rgba(36, 95, 141, 0.46);
  background: rgba(226, 237, 255, 0.82);
}

.shell-blog .placement-option input {
  width: 18px;
  height: 18px;
}

.shell-blog .placement-order {
  display: grid;
  gap: 14px;
}

.shell-blog .placement-order__answer,
.shell-blog .placement-order__bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 58px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
}

.shell-blog .placement-order__answer {
  border: 1px dashed rgba(36, 95, 141, 0.36);
  background: rgba(239, 246, 255, 0.72);
}

.shell-blog .placement-order__bank {
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.76);
}

.shell-blog .placement-order__placeholder {
  color: #64748b;
  font: 600 0.92rem/1.4 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-order-chip {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font: 700 0.95rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-order-chip--selected {
  border-color: rgba(36, 95, 141, 0.42);
  background: rgba(226, 237, 255, 0.95);
}

.shell-blog .placement-order-chip:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.shell-blog .placement-order__reset {
  justify-self: start;
  min-height: 38px;
  border-radius: 12px;
}

.shell-blog .placement-feedback {
  min-height: 24px;
}

.shell-blog .placement-feedback.is-correct {
  color: #1f6a49;
}

.shell-blog .placement-feedback.is-error {
  color: #9a352c;
}

.shell-blog .placement-feedback.is-info {
  color: #245f8d;
}

.shell-blog .placement-test__actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.shell-blog .placement-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.shell-blog .placement-skill-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.82);
}

.shell-blog .placement-skill-card h2 {
  margin: 0;
  color: #0f172a;
  font: 700 1rem/1.3 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-skill-card strong {
  color: #123b5d;
  font: 700 2.1rem/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.shell-blog .placement-report__head h1 small,
.shell-blog .placement-skill-card strong small {
  display: inline-block;
  margin-left: 6px;
  color: #526072;
  font: 700 0.92rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .placement-skill-card p,
.shell-blog .placement-skill-card span {
  margin: 0;
}

.shell-blog .placement-advice {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.shell-blog .placement-advice h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font: 700 1.25rem/1.25 "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .placement-advice ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 20px;
}

@media (max-width: 1120px) {
  .shell-blog .forum-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .shell-blog .forum-post--row {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .shell-blog .question-bank-hero__layout,
  .shell-blog .question-year__header {
    grid-template-columns: 1fr;
  }

  .shell-blog .cambridge-module-grid,
  .shell-blog .cambridge-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell-blog .question-bank-hero__stats {
    grid-template-columns: repeat(2, minmax(136px, 180px));
    justify-content: start;
  }

  .shell-blog .question-bank-stat {
    min-height: 76px;
  }

  .shell-blog .question-year__filters,
  .shell-blog .question-year__filter-meta {
    justify-items: start;
    justify-content: flex-start;
  }

  .shell-blog .question-sample-hero__layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .question-sample-hero__card {
    width: 100%;
  }

  .shell-blog .question-sample-panel__head,
  .shell-blog .question-sample-lock {
    flex-direction: column;
    align-items: stretch;
  }

  .shell-blog .placement-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ielts-sample-editor__grid,
  .content-grid--three {
    grid-template-columns: 1fr;
  }

  .ielts-sample-editor__side {
    position: static;
  }

  .shell-blog .forum-layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .forum-sidebar {
    position: static;
  }

  .shell-blog .question-card-grid {
    grid-template-columns: 1fr;
  }

  .shell-blog .question-sample-phrase-grid {
    grid-template-columns: 1fr;
  }

  .shell-blog .topic-vocab-chip-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .ielts-sample-admin__table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ielts-sample-editor__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ielts-topic-phrase-admin__head,
  .ielts-topic-phrase-admin__controls {
    align-items: stretch;
  }

  .ielts-topic-phrase-admin__controls,
  .ielts-topic-phrase-admin__controls .ielts-sample-admin__search {
    width: 100%;
  }

  .ielts-sample-editor__textarea-label textarea {
    min-height: 460px;
  }

  .shell-blog .site-header__inner,
  .shell-blog .page-shell {
    width: min(1220px, calc(100% - 28px));
  }

  .shell-blog .forum-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .shell-blog .forum-hero {
    min-height: 0;
  }

  .shell-blog .forum-hero:not(.question-sample-hero) .forum-hero__layout {
    min-height: 0;
    padding: 18px;
  }

  .shell-blog .forum-hero__card {
    padding: 20px;
  }

  .shell-blog .forum-hero__title {
    font-size: 2.1rem;
  }

  .shell-blog .question-sample-hero .forum-hero__title {
    font-size: 1.36rem;
  }

  .shell-blog .article-panel {
    padding: 22px;
  }

  .shell-blog .article-panel h1 {
    font-size: 2rem;
  }

  .shell-blog .question-bank-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell-blog .question-year,
  .shell-blog .question-card {
    padding: 18px;
  }

  .shell-blog .question-bank-hero__layout {
    padding: 18px;
  }

  .shell-blog .question-bank-hero__card {
    padding: 20px;
  }

  .shell-blog .question-bank-stat {
    aspect-ratio: auto;
    min-height: 78px;
    padding: 12px;
  }

  .shell-blog .question-card__meta {
    grid-template-columns: 1fr;
  }

  .shell-blog .question-card__date {
    min-width: 0;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: baseline;
    gap: 8px;
  }

  .shell-blog .question-card__month {
    letter-spacing: 0.08em;
  }

  .shell-blog .question-card__day {
    font-size: 1.42rem;
  }

  .shell-blog .question-year__filter-meta {
    gap: 10px;
  }

  .shell-blog .question-year__select-filter {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .shell-blog .question-year__select-filter select {
    width: 100%;
    min-width: 0;
  }

  .shell-blog .question-sample-panel,
  .shell-blog .question-sample-phrase-panel,
  .shell-blog .topic-vocab-panel {
    padding: 22px;
  }

  .shell-blog .topic-vocab-toolbar {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .shell-blog .reading-vocab-table {
    font-size: 0.82rem;
  }

  .shell-blog .reading-vocab-table th,
  .shell-blog .reading-vocab-table td {
    padding-inline: 8px;
  }

  .shell-blog .placement-panel,
  .shell-blog .placement-card {
    padding: 20px;
  }

  .shell-blog .placement-test__header,
  .shell-blog .placement-report__head {
    flex-direction: column;
    align-items: stretch;
  }

  .shell-blog .placement-test__meta {
    justify-content: flex-start;
  }

  .shell-blog .placement-skill-grid {
    grid-template-columns: 1fr;
  }

  .shell-blog .cambridge-module-grid,
  .shell-blog .cambridge-resource-grid {
    grid-template-columns: 1fr;
  }

  .shell-blog .cambridge-hub-posts__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shell-blog .forum-post--row {
    grid-template-columns: 1fr;
  }

  .shell-blog .forum-post--row .forum-post__media {
    margin: 18px 18px 0;
  }

  .shell-blog .forum-post--row .forum-post__body,
  .shell-blog .forum-post--row.forum-post--text .forum-post__body {
    padding: 18px;
  }

.shell-blog .forum-post__title {
    font-size: 1.52rem;
  }
}

/* Unified navigation and right-side login drawer */

.site-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 10px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px) saturate(1.12);
}

.shell-public .site-header,
.shell-blog .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.site-header__inner,
.shell-blog .site-header__inner {
  width: min(1240px, calc(100% - 56px));
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand,
.shell-blog .brand--forum {
  color: #0f172a;
  font: 750 1.05rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.site-nav--global {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.site-nav--global .site-nav__link {
  position: relative;
  padding: 25px 0 23px;
  color: #0f1f3a;
  font: 650 0.86rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
}

.site-nav--global .site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #1f63e9;
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-nav--global .site-nav__link:hover,
.site-nav--global .site-nav__link--active {
  color: #123b78;
}

.site-nav--global .site-nav__link:hover::after,
.site-nav--global .site-nav__link--active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-account {
  justify-self: end;
  display: flex;
  align-items: center;
}

.login-avatar-button,
.profile-menu__summary {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 15px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  overflow: hidden;
}

.login-avatar-button img,
.profile-menu__summary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-avatar-button:focus-visible,
.profile-menu__summary:focus-visible {
  outline: 3px solid rgba(31, 99, 233, 0.2);
  outline-offset: 3px;
}

.profile-menu__panel {
  min-width: 190px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.profile-menu__panel a,
.profile-menu__logout {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  color: #1e3a5f;
  font: 650 0.9rem/1.3 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  text-decoration: none;
}

.profile-menu__panel a:hover,
.profile-menu__logout:hover {
  background: #f1f5fb;
}

.profile-menu__name {
  padding: 6px 10px 8px;
  color: #0f172a;
}

.login-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
}

.login-drawer-backdrop[hidden] {
  display: none;
}

.login-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(430px, 100vw);
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.login-drawer.is-open {
  pointer-events: auto;
  transform: translateX(0);
}

.login-drawer__panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 30px;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  overflow-y: auto;
}

.login-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f3f6fb;
  color: #334155;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.login-drawer__close:hover {
  background: #e8eef7;
}

.login-drawer__intro {
  padding-right: 38px;
}

.login-drawer__eyebrow {
  margin: 0 0 8px;
  color: #1f63e9;
  font: 800 0.74rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-drawer__intro h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font: 800 1.72rem/1.18 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.login-drawer__intro p,
.login-drawer__contact p {
  margin: 0;
  color: #64748b;
  font: 500 0.94rem/1.7 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.login-drawer__form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(31, 99, 233, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.login-drawer--attention .login-drawer__form {
  border-color: rgba(31, 99, 233, 0.56);
  box-shadow: 0 0 0 4px rgba(31, 99, 233, 0.1), 0 18px 42px rgba(15, 23, 42, 0.1);
}

.login-drawer__form label {
  display: grid;
  gap: 7px;
}

.login-drawer__form label span {
  color: #334155;
  font: 700 0.86rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.login-drawer__form input {
  min-height: 46px;
  border-radius: 12px;
}

.login-drawer__submit {
  min-height: 48px;
  justify-content: center;
  margin-top: 4px;
}

.login-drawer__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f6f8fb;
}

.login-drawer__contact strong {
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
  font: 750 1rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.login-drawer__contact img {
  width: 128px;
  height: 128px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
  .site-header__inner,
  .shell-blog .site-header__inner {
    width: min(100% - 28px, 1240px);
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-nav--global {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .site-nav--global .site-nav__link {
    padding-top: 10px;
    padding-bottom: 13px;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .shell-blog .site-header__inner {
    width: min(100% - 20px, 1240px);
  }

  .brand,
  .shell-blog .brand--forum {
    font-size: 0.98rem;
  }

  .login-avatar-button,
  .profile-menu__summary {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .login-drawer {
    width: 100vw;
  }

  .login-drawer__panel {
    padding: 24px 18px;
  }

  .login-drawer__contact {
    grid-template-columns: 1fr;
  }
}

/* IELTS question bank visual refresh */
.shell-blog .forum-page--question-bank {
  gap: 0;
}

.shell-blog .forum-page--question-bank .forum-layout {
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.shell-blog .forum-page--question-bank .forum-main {
  gap: 26px;
  min-width: 0;
}

.shell-blog .forum-page--question-bank .forum-sidebar {
  top: 96px;
  display: grid;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__card {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(25, 45, 80, 0.08);
  backdrop-filter: blur(16px);
}

.shell-blog .forum-page--question-bank .forum-sidebar h2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 20px;
  color: #0b1736;
  font: 800 1.05rem/1.25 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--question-bank .forum-sidebar h2 span {
  color: #0b1736;
  font-weight: 800;
}

.shell-blog .forum-page--question-bank .forum-sidebar__nav {
  gap: 6px;
}

.shell-blog .forum-page--question-bank .forum-sidebar__link {
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #263653;
  font: 700 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .forum-sidebar__link:hover,
.shell-blog .forum-page--question-bank .forum-sidebar__link--active {
  background: linear-gradient(90deg, rgba(39, 105, 229, 0.11), rgba(39, 105, 229, 0.04));
  color: #1f63e9;
  transform: none;
}

.shell-blog .forum-page--question-bank .forum-sidebar__icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(238, 244, 255, 0.96);
  color: #52627a;
  font-size: 0.7rem;
  box-shadow: inset 0 0 0 1px rgba(123, 151, 190, 0.12);
}

.shell-blog .forum-page--question-bank .forum-sidebar__link--active .forum-sidebar__icon,
.shell-blog .forum-page--question-bank .forum-sidebar__link:hover .forum-sidebar__icon {
  background: rgba(39, 105, 229, 0.12);
  color: #1f63e9;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__card--years {
  padding-top: 20px;
  padding-bottom: 20px;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__label {
  margin-bottom: 10px;
  color: #0b1736;
  font: 800 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jumps {
  gap: 4px;
  max-height: clamp(190px, calc(100vh - 440px), 360px);
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jump {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 9px;
  background: transparent;
  color: #4a5d7a;
  font: 700 0.84rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-bank-sidebar__jump:hover,
.shell-blog .forum-page--question-bank .question-bank-sidebar__jump--active {
  background: linear-gradient(90deg, rgba(39, 105, 229, 0.12), rgba(39, 105, 229, 0.04));
  color: #1f63e9;
  transform: none;
}

.shell-blog .forum-page--question-bank .question-bank-hero {
  min-height: 278px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 18%, rgba(108, 153, 245, 0.22), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #f1f6ff 62%, #eaf2ff 100%);
  box-shadow: 0 18px 48px rgba(47, 78, 128, 0.08);
  overflow: hidden;
}

.shell-blog .forum-page--question-bank .question-bank-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 44%, rgba(255, 255, 255, 0) 70%);
}

.shell-blog .forum-page--question-bank .question-bank-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -34%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(218, 229, 250, 0.48);
  filter: blur(2px);
}

.shell-blog .forum-page--question-bank .question-bank-hero__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(360px, 0.8fr) minmax(330px, 1fr);
  gap: 12px;
  min-height: 278px;
  padding: 36px 0 0 56px;
  align-items: stretch;
}

.shell-blog .forum-page--question-bank .question-bank-hero__card {
  max-width: 520px;
  padding: 12px 0 36px;
  align-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .forum-page--question-bank .forum-hero__eyebrow {
  margin-bottom: 14px;
  color: #3f5274;
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--question-bank .forum-hero__title {
  color: #0b1736;
  font: 900 clamp(2.35rem, 4vw, 3.55rem)/1.04 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--question-bank .question-bank-hero__summary {
  max-width: 500px;
  margin-top: 18px;
  color: #60708c;
  font: 650 1rem/1.82 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-bank-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.shell-blog .forum-page--question-bank .question-bank-hero__facts span {
  display: inline-flex;
  align-items: baseline;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(147, 169, 203, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: #172642;
  font: 800 0.88rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 10px 24px rgba(62, 91, 140, 0.05);
}

.shell-blog .forum-page--question-bank .question-bank-hero__facts strong {
  margin-right: 4px;
  font-size: 1.02rem;
}

.shell-blog .forum-page--question-bank .question-bank-hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
}

.shell-blog .forum-page--question-bank .question-bank-hero__visual img {
  width: min(630px, 122%);
  height: auto;
  max-width: none;
  margin: 0 -24px -18px 0;
  filter: drop-shadow(0 22px 34px rgba(34, 72, 130, 0.1));
  opacity: 0.96;
}

.shell-blog .forum-page--question-bank .question-year {
  position: relative;
  overflow: visible;
  scroll-margin-top: 104px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .forum-page--question-bank .question-year::before {
  content: none;
}

.shell-blog .forum-page--question-bank .question-year[hidden] {
  display: none;
}

.shell-blog .forum-page--question-bank .question-year__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.shell-blog .forum-page--question-bank .question-year__copy h2 {
  margin: 0;
  color: #0b1736;
  font: 900 1.82rem/1.15 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--question-bank .question-year__filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.shell-blog .forum-page--question-bank .question-year__filter-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.shell-blog .forum-page--question-bank .question-year__select-filter {
  gap: 10px;
  color: #66758d;
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-year__select-filter select {
  width: 132px;
  min-height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(147, 161, 184, 0.18);
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.84);
  color: #10203b;
  box-shadow: 0 8px 20px rgba(49, 73, 111, 0.04);
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-year__result {
  margin: 0;
  color: #66758d;
  white-space: nowrap;
  font: 700 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-card-grid {
  gap: 16px;
}

.shell-blog .forum-page--question-bank .question-card {
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  column-gap: 22px;
  row-gap: 10px;
  min-height: 204px;
  padding: 22px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 38px rgba(33, 51, 82, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.shell-blog .forum-page--question-bank .question-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(33, 51, 82, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.shell-blog .forum-page--question-bank .question-card__meta {
  display: contents;
}

.shell-blog .forum-page--question-bank .question-card__date {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 62px;
  min-width: 62px;
  min-height: 62px;
  padding: 8px 4px;
  border-radius: 10px;
  background: linear-gradient(145deg, #143e78 0%, #0f2f65 100%);
  box-shadow: 0 10px 20px rgba(15, 47, 101, 0.18);
}

.shell-blog .forum-page--question-bank .question-card__month {
  font: 800 0.74rem/1.15 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--question-bank .question-card__day {
  font: 900 1.68rem/0.98 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--question-bank .question-card__chips {
  grid-column: 2;
  grid-row: 1;
  gap: 9px;
  min-height: 28px;
  align-items: flex-start;
}

.shell-blog .forum-page--question-bank .question-card__chip {
  padding: 6px 10px;
  border-radius: 9px;
  font: 800 0.78rem/1.15 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-card__chip--type {
  background: #eaf3ff;
  color: #1f63b7;
}

.shell-blog .forum-page--question-bank .question-card__chip--topic {
  background: #fff0df;
  color: #c56519;
}

.shell-blog .forum-page--question-bank .question-card__prompt-link {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: block;
}

.shell-blog .forum-page--question-bank .question-card__prompt {
  color: #0b1736;
  font: 650 0.98rem/1.58 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-card__prompt-link:hover .question-card__prompt {
  color: #1f63e9;
}

.shell-blog .forum-page--question-bank .question-card__repeat {
  grid-column: 2;
  margin: -2px 0 0;
  color: #78869a;
  font-size: 0.78rem;
}

.shell-blog .forum-page--question-bank .question-card__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  align-self: end;
  margin-top: 6px;
}

.shell-blog .forum-page--question-bank .question-card__sample-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  letter-spacing: 0;
  font: 800 0.78rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--question-bank .question-card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.86;
}

.shell-blog .forum-page--question-bank .question-card__sample-status--ready {
  color: #35a96d;
}

.shell-blog .forum-page--question-bank .question-card__sample-status--pending {
  color: #8b96aa;
}

.shell-blog .forum-page--question-bank .question-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #163e7a;
  font: 900 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.shell-blog .forum-page--question-bank .question-card__cta:hover {
  color: #1f63e9;
}

.shell-blog .forum-page--question-bank .question-card-grid__empty {
  border: 0;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(33, 51, 82, 0.07);
}

@media (max-width: 900px) {
  .shell-blog .forum-page--question-bank .forum-layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar {
    position: static;
    display: grid;
    gap: 16px;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__jumps {
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__jump {
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__copy h2 {
    max-width: none;
    white-space: normal;
  }

  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__filters {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__filter-meta {
    gap: 14px;
  }
}

@media (max-width: 940px) {
  .shell-blog .forum-page--question-bank .question-bank-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__card {
    max-width: none;
    padding: 0;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__visual {
    display: none;
  }

  .shell-blog .forum-page--question-bank .question-year__header,
  .shell-blog .forum-page--question-bank .question-year__filters,
  .shell-blog .forum-page--question-bank .question-year__filter-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter {
    justify-content: space-between;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter select {
    width: min(220px, 100%);
  }

  .shell-blog .forum-page--question-bank .question-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell-blog .forum-page--question-bank .forum-layout {
    gap: 20px;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar,
  .shell-blog .forum-page--question-bank .question-bank-hero {
    border-radius: 14px;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__layout {
    padding: 26px 22px;
  }

  .shell-blog .forum-page--question-bank .forum-hero__title {
    font-size: 2.05rem;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__summary {
    font-size: 0.94rem;
  }

  .shell-blog .forum-page--question-bank .question-year__copy h2 {
    font-size: 1.48rem;
  }

  .shell-blog .forum-page--question-bank .question-card {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .shell-blog .forum-page--question-bank .question-card__date {
    width: 56px;
    min-width: 56px;
    min-height: 58px;
  }

  .shell-blog .forum-page--question-bank .question-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* IELTS family surface */
.shell-blog .forum-page--ielts {
  gap: 0;
}

.shell-blog .forum-page--ielts .forum-layout {
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shell-blog .forum-page--ielts .forum-main {
  gap: 26px;
  min-width: 0;
}

.shell-blog .forum-page--ielts .forum-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__card {
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(25, 45, 80, 0.08);
  backdrop-filter: blur(16px);
}

.shell-blog .forum-page--ielts .question-bank-sidebar__card--jumps,
.shell-blog .forum-page--ielts .question-bank-sidebar__card--years {
  padding-top: 16px;
  padding-bottom: 16px;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__card--note {
  display: grid;
  gap: 10px;
}

.shell-blog .forum-page--ielts .forum-sidebar h2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 13px;
  color: #0b1736;
  font: 850 1.04rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--ielts .forum-sidebar h2 span {
  color: #0b1736;
  font-weight: 850;
}

.shell-blog .forum-page--ielts .forum-sidebar__nav {
  gap: 1px;
}

.shell-blog .forum-page--ielts .forum-sidebar__link {
  min-height: 29px;
  gap: 7px;
  padding: 4px 7px;
  border: 0;
  border-radius: 8px;
  color: #263653;
  font: 760 0.81rem/1.14 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--ielts .forum-sidebar__link:hover,
.shell-blog .forum-page--ielts .forum-sidebar__link--active {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(39, 105, 229, 0.13), rgba(39, 105, 229, 0.04));
  color: #1f63e9;
  transform: none;
}

.shell-blog .forum-page--ielts .forum-sidebar__icon {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #637390;
  box-shadow: none;
  flex: 0 0 16px;
}

.shell-blog .forum-page--ielts .forum-sidebar__link .forum-sidebar__icon {
  border: 0;
  background: transparent;
}

.shell-blog .forum-page--ielts .forum-sidebar__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.95;
}

.shell-blog .forum-page--ielts .forum-sidebar__link:hover .forum-sidebar__icon,
.shell-blog .forum-page--ielts .forum-sidebar__link--active .forum-sidebar__icon {
  border-color: transparent;
  background: transparent;
  color: #1f63e9;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__label {
  margin: 0 0 8px;
  color: #0b1736;
  font: 850 0.86rem/1.18 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__jumps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 6px;
  max-height: clamp(224px, calc(100vh - 370px), 460px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-color: rgba(36, 95, 141, 0.36) rgba(226, 232, 240, 0.62);
  scrollbar-width: thin;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__jump {
  justify-content: center;
  min-height: 27px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4a5d7a;
  font: 760 0.79rem/1.1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  transform: none;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__jump:hover,
.shell-blog .forum-page--ielts .question-bank-sidebar__jump--active {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(39, 105, 229, 0.12), rgba(39, 105, 229, 0.04));
  color: #1f63e9;
  transform: none;
}

.shell-blog .forum-page--ielts .question-bank-sidebar__jump--static {
  justify-content: flex-start;
  color: #4a5d7a;
}

.shell-blog .forum-page--ielts .question-bank-hero {
  min-height: 238px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 18%, rgba(108, 153, 245, 0.22), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #f1f6ff 62%, #eaf2ff 100%);
  box-shadow: 0 18px 48px rgba(47, 78, 128, 0.08);
  overflow: hidden;
}

.shell-blog .forum-page--ielts .question-bank-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 44%, rgba(255, 255, 255, 0) 70%);
}

.shell-blog .forum-page--ielts .question-bank-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -34%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(218, 229, 250, 0.48);
  filter: blur(2px);
}

.shell-blog .forum-page--ielts .question-bank-hero__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(360px, 0.8fr) minmax(330px, 1fr);
  gap: 12px;
  min-height: 238px;
  padding: 30px 0 0 56px;
  align-items: stretch;
}

.shell-blog .forum-page--ielts .question-bank-hero__card {
  max-width: 530px;
  padding: 8px 0 30px;
  align-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shell-blog .forum-page--ielts .forum-hero__eyebrow {
  margin-bottom: 14px;
  color: #3f5274;
  font: 750 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--ielts .forum-hero__title {
  color: #0b1736;
  font: 900 clamp(2.28rem, 3.8vw, 3.45rem)/1.04 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--ielts .question-bank-hero__summary {
  max-width: 500px;
  margin-top: 18px;
  color: #60708c;
  font: 650 1rem/1.82 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--ielts .question-bank-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.shell-blog .forum-page--ielts .question-bank-hero__facts span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(147, 169, 203, 0.2);
  background: rgba(255, 255, 255, 0.64);
  color: #172642;
  text-align: center;
  font: 850 0.86rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 10px 24px rgba(62, 91, 140, 0.05);
  white-space: nowrap;
}

.shell-blog .forum-page--ielts .question-bank-hero__facts strong {
  font-size: 1.02rem;
  line-height: 1;
}

.shell-blog .forum-page--ielts .question-bank-hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
}

.shell-blog .forum-page--ielts .question-bank-hero__visual img {
  width: min(590px, 116%);
  height: auto;
  max-width: none;
  margin: 0 -24px -18px 0;
  filter: drop-shadow(0 22px 34px rgba(34, 72, 130, 0.1));
  opacity: 0.96;
}

.shell-blog .forum-page--ielts .topic-vocab-toolbar,
.shell-blog .forum-page--ielts .question-sample-panel,
.shell-blog .forum-page--ielts .question-sample-phrase-panel,
.shell-blog .forum-page--ielts .topic-vocab-panel,
.shell-blog .forum-page--ielts .question-sample-lock,
.shell-blog .forum-page--ielts .panel--summary {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(33, 51, 82, 0.07);
}

.shell-blog .forum-page--ielts .topic-vocab-panel,
.shell-blog .forum-page--ielts .question-sample-panel,
.shell-blog .forum-page--ielts .question-sample-phrase-panel {
  padding: 24px;
}

.shell-blog .forum-page--ielts .topic-vocab-panel--academic,
.shell-blog .forum-page--ielts .reading-vocab-panel {
  background:
    radial-gradient(circle at top right, rgba(231, 239, 255, 0.54), transparent 30%),
    rgba(255, 255, 255, 0.9);
}

.shell-blog .forum-page--ielts .topic-vocab-toolbar {
  padding: 8px;
  border-radius: 12px;
}

.shell-blog .forum-page--ielts .topic-vocab-toolbar__button {
  min-height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

.shell-blog .forum-page--ielts .topic-vocab-toolbar__button.is-active {
  background: #143e78;
  color: #fff;
}

.shell-blog .forum-page--ielts .topic-vocab-table {
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(147, 161, 184, 0.12);
}

.shell-blog .forum-page--ielts .topic-vocab-table th {
  background: #f3f7fc;
  color: #61728a;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--ielts .topic-vocab-table td {
  border-top-color: rgba(226, 232, 240, 0.72);
}

.shell-blog .forum-page--ielts .topic-vocab-table__phrase-button,
.shell-blog .forum-page--ielts .reading-vocab-table__word-button {
  color: #143e78;
}

.shell-blog .forum-page--ielts .topic-vocab-table__row:hover td,
.shell-blog .forum-page--ielts .topic-vocab-table__row.is-expanded td,
.shell-blog .forum-page--ielts .reading-vocab-table__row:hover td,
.shell-blog .forum-page--ielts .reading-vocab-table__row.is-expanded td {
  background: #f4f8ff;
}

.shell-blog .forum-page--ielts .question-sample-hero {
  min-height: 0;
}

.shell-blog .forum-page--ielts .question-sample-hero__layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.72fr);
}

.shell-blog .forum-page--ielts .question-sample-hero__card {
  max-width: 760px;
}

.shell-blog .forum-page--ielts .question-sample-hero .forum-hero__title {
  max-width: 760px;
  font-size: clamp(1.48rem, 2.15vw, 2.12rem);
  line-height: 1.24;
}

.shell-blog .forum-page--ielts .question-sample-hero__status {
  border-radius: 9px;
}

.shell-blog .forum-page--ielts .question-sample-hero__status--ready {
  background: rgba(220, 252, 231, 0.9);
  color: #187148;
}

.shell-blog .forum-page--ielts .question-sample-hero__status--pending {
  background: rgba(226, 237, 255, 0.9);
  color: #245f8d;
}

.shell-blog .forum-page--ielts .question-sample-sidebar__block {
  margin-top: 0;
}

.shell-blog .forum-page--ielts .question-sample-sidebar__block:has(.button:only-child) {
  padding: 14px 16px;
}

.shell-blog .forum-page--ielts .question-sample-sidebar__block .button {
  min-height: 36px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.shell-blog .forum-page--ielts .forum-post-list {
  display: grid;
  gap: 14px;
}

.shell-blog .forum-page--ielts .forum-post--row {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(33, 51, 82, 0.07);
}

.shell-blog .forum-page--ielts .forum-post__title {
  font-size: 1.28rem;
}

.shell-blog .forum-page--ielts-post .blog-post__header {
  margin: 0;
}

.shell-blog .forum-page--ielts-post .blog-post__body,
.shell-blog .forum-page--ielts-post .blog-related,
.shell-blog .forum-page--ielts-post .blog-preview-banner {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(33, 51, 82, 0.07);
}

.shell-blog .forum-page--ielts-post .blog-post__body {
  padding: 30px;
}

.shell-blog .forum-page--ielts-post .blog-post__body h2,
.shell-blog .forum-page--ielts-post .blog-post__body h3 {
  color: #0b1736;
}

.shell-blog .forum-page--ielts-post .blog-post__body p,
.shell-blog .forum-page--ielts-post .blog-post__body li {
  color: #253654;
  font-size: 1rem;
  line-height: 1.84;
}

.shell-blog .forum-page--ielts-post .blog-related {
  padding: 24px;
}

.shell-blog .forum-page--ielts-post .blog-related__item {
  border-bottom-color: rgba(147, 161, 184, 0.16);
}

.shell-blog .forum-page--ielts-post .blog-related__item a {
  color: #143e78;
}

@media (max-width: 900px) {
  .shell-blog .forum-page--ielts .forum-layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .forum-page--ielts .forum-sidebar {
    position: static;
    gap: 16px;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar__jumps {
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar__jump {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 940px) {
  .shell-blog .forum-page--ielts .question-bank-hero__layout,
  .shell-blog .forum-page--ielts .question-sample-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px;
  }

  .shell-blog .forum-page--ielts .question-bank-hero__card,
  .shell-blog .forum-page--ielts .question-sample-hero__card {
    max-width: none;
    padding: 0;
  }

  .shell-blog .forum-page--ielts .question-bank-hero__visual {
    display: none;
  }
}

@media (max-width: 620px) {
  .shell-blog .forum-page--ielts .forum-layout {
    gap: 20px;
  }

  .shell-blog .forum-page--ielts .question-bank-hero,
  .shell-blog .forum-page--ielts .question-bank-sidebar__card {
    border-radius: 14px;
  }

  .shell-blog .forum-page--ielts .question-bank-hero__layout,
  .shell-blog .forum-page--ielts .question-sample-hero__layout {
    padding: 26px 22px;
  }

  .shell-blog .forum-page--ielts .forum-hero__title {
    font-size: 2.05rem;
  }

  .shell-blog .forum-page--ielts .question-sample-hero .forum-hero__title {
    font-size: 1.36rem;
  }

  .shell-blog .forum-page--ielts .question-bank-hero__summary {
    font-size: 0.94rem;
  }

  .shell-blog .forum-page--ielts .topic-vocab-panel,
  .shell-blog .forum-page--ielts .question-sample-panel,
  .shell-blog .forum-page--ielts .question-sample-phrase-panel {
    padding: 20px;
  }

  .shell-blog .forum-page--ielts .topic-vocab-toolbar {
    width: 100%;
    flex-wrap: wrap;
  }
}

.private-shell--ielts-module {
  width: min(1220px, calc(100% - 48px));
}

.ielts-module-page {
  display: grid;
  gap: 16px;
  width: 100%;
  color: #0b1736;
}

.ielts-module-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(220px, 0.52fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 236px;
  padding: 30px 34px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 20%, rgba(108, 153, 245, 0.2), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #f2f7ff 62%, #eaf2ff 100%);
  box-shadow: 0 18px 48px rgba(47, 78, 128, 0.08);
  overflow: hidden;
}

.ielts-module-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2) 72%);
  pointer-events: none;
}

.ielts-module-hero > * {
  position: relative;
  z-index: 1;
}

.ielts-module-hero__copy {
  min-width: 0;
}

.ielts-module-hero h1 {
  margin: 8px 0 12px;
  color: #0b1736;
  font: 900 clamp(2rem, 3.5vw, 3rem)/1.05 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.ielts-module-hero p,
.ielts-module-hero .subtle {
  max-width: 590px;
  color: #60708c;
  font: 650 0.98rem/1.72 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-module-hero__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.ielts-module-hero__visual img {
  width: min(390px, 124%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(34, 72, 130, 0.09));
}

.ielts-module-hero__actions {
  align-self: end;
  justify-content: flex-end;
  min-width: 126px;
}

.ielts-module-hero__actions .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font: 800 0.85rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-module-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
}

.ielts-module-summary div {
  min-width: 78px;
  padding: 9px 12px;
  border: 1px solid rgba(147, 169, 203, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(62, 91, 140, 0.04);
}

.ielts-module-summary dt {
  margin: 0 0 4px;
  color: #64748b;
  font: 760 0.73rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-module-summary dd {
  margin: 0;
  color: #0b1736;
  font: 900 1rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.ielts-module-grid {
  gap: 14px;
}

@media (max-width: 960px) {
  .private-shell--ielts-module {
    width: min(100% - 28px, 1220px);
  }

  .ielts-module-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px;
  }

  .ielts-module-hero__visual {
    display: none;
  }

  .ielts-module-hero__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .private-shell--ielts-module {
    width: min(100% - 20px, 1220px);
  }

  .ielts-module-hero {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .ielts-module-hero h1 {
    font-size: 2rem;
  }

  .ielts-module-summary div {
    min-width: calc(50% - 5px);
  }
}

.shell-blog .forum-page--course {
  --course-accent: #2563eb;
  --course-accent-2: #0891b2;
  --course-hero-bg:
    radial-gradient(circle at 78% 18%, rgba(96, 165, 250, 0.2), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #f2f7ff 62%, #eaf2ff 100%);
}

.shell-blog .forum-page--toefl {
  --course-accent: #2563eb;
  --course-accent-2: #0891b2;
  --course-hero-bg:
    radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.2), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #eef7ff 62%, #e8f4ff 100%);
}

.shell-blog .forum-page--pet {
  --course-accent: #0f766e;
  --course-accent-2: #d97706;
  --course-hero-bg:
    radial-gradient(circle at 78% 18%, rgba(45, 212, 191, 0.19), transparent 31%),
    linear-gradient(135deg, #fbfffd 0%, #effaf6 62%, #eaf7ee 100%);
}

.shell-blog .forum-page--fce {
  --course-accent: #1d4ed8;
  --course-accent-2: #7c3aed;
  --course-hero-bg:
    radial-gradient(circle at 78% 18%, rgba(124, 58, 237, 0.17), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #f1f5ff 62%, #eef2ff 100%);
}

.shell-blog .forum-page--course .forum-layout {
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shell-blog .forum-page--course .forum-main {
  gap: 22px;
  min-width: 0;
}

.shell-blog .forum-page--course .course-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shell-blog .forum-page--course .course-sidebar__card {
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(25, 45, 80, 0.08);
  backdrop-filter: blur(16px);
}

.shell-blog .forum-page--course .course-sidebar h2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 13px;
  color: #0b1736;
  font: 850 1.04rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--course .course-sidebar h2 span {
  color: #0b1736;
  font-weight: 850;
}

.shell-blog .forum-page--course .course-sidebar__nav {
  gap: 1px;
}

.shell-blog .forum-page--course .forum-sidebar__link {
  min-height: 29px;
  gap: 7px;
  padding: 4px 7px;
  border: 0;
  border-radius: 8px;
  color: #263653;
  font: 760 0.81rem/1.14 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--course .forum-sidebar__link:hover,
.shell-blog .forum-page--course .forum-sidebar__link--active {
  border-color: transparent;
  background: linear-gradient(90deg, color-mix(in srgb, var(--course-accent) 13%, transparent), color-mix(in srgb, var(--course-accent) 4%, transparent));
  color: var(--course-accent);
  transform: none;
}

.shell-blog .forum-page--course .forum-sidebar__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #637390;
  box-shadow: none;
}

.shell-blog .forum-page--course .forum-sidebar__link .forum-sidebar__icon {
  border: 0;
  background: transparent;
}

.shell-blog .forum-page--course .forum-sidebar__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.95;
}

.shell-blog .forum-page--course .forum-sidebar__link:hover .forum-sidebar__icon,
.shell-blog .forum-page--course .forum-sidebar__link--active .forum-sidebar__icon {
  color: var(--course-accent);
}

.shell-blog .forum-page--course .course-hero {
  min-height: 230px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--course-hero-bg);
  box-shadow: 0 18px 48px rgba(47, 78, 128, 0.08);
  overflow: hidden;
}

.shell-blog .forum-page--course .course-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 46%, rgba(255, 255, 255, 0) 74%);
}

.shell-blog .forum-page--course .course-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(300px, 0.7fr);
  gap: 12px;
  min-height: 230px;
  padding: 30px 0 0 54px;
  align-items: stretch;
}

.shell-blog .forum-page--course .course-hero__card {
  max-width: 570px;
  padding: 8px 0 30px;
  align-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shell-blog .forum-page--course .forum-hero__eyebrow {
  margin-bottom: 12px;
  color: #3f5274;
  font: 760 0.82rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shell-blog .forum-page--course .forum-hero__title {
  color: #0b1736;
  font: 900 clamp(2.18rem, 3.6vw, 3.25rem)/1.04 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--course .course-hero__summary {
  max-width: 510px;
  margin: 16px 0 0;
  color: #60708c;
  font: 650 0.98rem/1.76 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--course .course-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.shell-blog .forum-page--course .course-hero__facts span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(147, 169, 203, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
  color: #172642;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(62, 91, 140, 0.05);
  font: 850 0.84rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--course .course-hero__facts strong {
  color: #0b1736;
  font-size: 1rem;
  line-height: 1;
}

.shell-blog .forum-page--course .course-hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
}

.shell-blog .forum-page--course .course-hero__visual img {
  width: min(540px, 116%);
  max-width: none;
  height: auto;
  margin: 0 -18px -10px 0;
  filter: drop-shadow(0 22px 34px rgba(34, 72, 130, 0.09));
  opacity: 0.96;
}

.shell-blog .forum-page--course .course-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.shell-blog .forum-page--course .course-module-card,
.shell-blog .forum-page--course .course-article-panel,
.shell-blog .forum-page--course .cambridge-hub-posts .panel,
.shell-blog .forum-page--course .placement-panel {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(33, 51, 82, 0.07);
}

.shell-blog .forum-page--course .course-module-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 18px;
}

.shell-blog .forum-page--course .course-module-card__kicker,
.shell-blog .forum-page--course .cambridge-module-card__kicker {
  color: var(--course-accent);
  font: 850 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shell-blog .forum-page--course .course-module-card h2,
.shell-blog .forum-page--course .course-article-panel h2,
.shell-blog .forum-page--course .cambridge-hub-posts__head h2 {
  margin: 0;
  color: #0b1736;
  font: 850 1.2rem/1.22 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.shell-blog .forum-page--course .course-module-card p {
  margin: 0;
  color: #52637d;
  font: 620 0.92rem/1.62 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.shell-blog .forum-page--course .course-module-card .button {
  justify-self: start;
  min-height: 34px;
  margin-top: 4px;
  border-radius: 9px;
}

.shell-blog .forum-page--course .button--primary {
  border-color: transparent;
  background: #143e78;
  color: #fff;
}

.shell-blog .forum-page--pet .button--primary {
  background: #0f766e;
}

.shell-blog .forum-page--fce .button--primary {
  background: #1d4ed8;
}

.shell-blog .forum-page--course .course-article-panel {
  padding: 26px;
}

.shell-blog .forum-page--course .course-article-panel h2 {
  margin-bottom: 14px;
  font-size: 1.46rem;
}

.shell-blog .forum-page--course .course-article-panel .article-section h2 {
  font-size: 1.1rem;
}

.shell-blog .forum-page--course .cambridge-module-card {
  min-height: 186px;
  border: 0;
}

.shell-blog .forum-page--course .cambridge-module-card__index {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--course-accent) 12%, white);
  color: var(--course-accent);
}

.shell-blog .forum-page--course .cambridge-hub-posts {
  gap: 14px;
}

.shell-blog .forum-page--course .cambridge-hub-posts__head {
  padding-inline: 2px;
}

.shell-blog .forum-page--course .placement-main {
  gap: 16px;
}

.shell-blog .forum-page--course .placement-intro {
  background: var(--course-hero-bg);
}

@media (max-width: 900px) {
  .shell-blog .forum-page--course .forum-layout {
    grid-template-columns: 1fr;
  }

  .shell-blog .forum-page--course .course-sidebar {
    position: static;
  }

  .shell-blog .forum-page--course .course-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 26px;
  }

  .shell-blog .forum-page--course .course-hero__visual {
    display: none;
  }
}

@media (max-width: 620px) {
  .shell-blog .forum-page--course .course-hero,
  .shell-blog .forum-page--course .course-sidebar__card {
    border-radius: 14px;
  }

  .shell-blog .forum-page--course .course-hero__layout {
    padding: 24px 20px;
  }

  .shell-blog .forum-page--course .forum-hero__title {
    font-size: 2rem;
  }
}

.private-shell--practice {
  width: min(1220px, calc(100% - 48px));
}

.private-shell--practice .dashboard-page {
  gap: 16px;
}

.private-shell--practice .practice-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(220px, 0.5fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 238px;
  padding: 30px 34px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 20%, rgba(96, 165, 250, 0.2), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #f2f7ff 62%, #eaf2ff 100%);
  box-shadow: 0 18px 48px rgba(47, 78, 128, 0.08);
  overflow: hidden;
}

.private-shell--practice .practice-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2) 72%);
  pointer-events: none;
}

.private-shell--practice .practice-hero > * {
  position: relative;
  z-index: 1;
}

.private-shell--practice .practice-hero h1 {
  margin: 8px 0 12px;
  color: #0b1736;
  font: 900 clamp(2.1rem, 3.6vw, 3.08rem)/1.05 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.private-shell--practice .practice-hero p {
  max-width: 590px;
  color: #60708c;
  font: 650 0.98rem/1.72 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .practice-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.private-shell--practice .practice-hero__visual img {
  width: min(390px, 124%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(34, 72, 130, 0.09));
}

.private-shell--practice .practice-hero__actions {
  align-self: end;
  justify-content: flex-end;
  min-width: 126px;
}

.private-shell--practice .practice-hero__actions .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font: 800 0.85rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .practice-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
}

.private-shell--practice .practice-hero__facts div {
  min-width: 78px;
  padding: 9px 12px;
  border: 1px solid rgba(147, 169, 203, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(62, 91, 140, 0.04);
}

.private-shell--practice .practice-hero__facts dt {
  margin: 0 0 4px;
  color: #64748b;
  font: 760 0.73rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .practice-hero__facts dd {
  margin: 0;
  color: #0b1736;
  font: 900 1rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .dashboard-summary-grid {
  display: none;
}

.private-shell--practice .dashboard-module-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.private-shell--practice .dashboard-module-card--compact {
  --module-accent: #2563eb;
  min-height: 228px;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--module-accent) 10%, transparent), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(33, 51, 82, 0.07);
}

.private-shell--practice .dashboard-module-card--toefl {
  --module-accent: #2563eb;
}

.private-shell--practice .dashboard-module-card--ielts {
  --module-accent: #143e78;
}

.private-shell--practice .dashboard-module-card--fce {
  --module-accent: #1d4ed8;
}

.private-shell--practice .dashboard-module-card--pet {
  --module-accent: #0f766e;
}

.private-shell--practice .dashboard-module-card--compact .dashboard-module-card__body h2 {
  color: #0b1736;
  font: 850 1.12rem/1.24 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .dashboard-module-card--compact .dashboard-module-card__summary {
  color: #52637d;
  font: 620 0.9rem/1.55 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .dashboard-module-card--compact .dashboard-module-card__location {
  color: #64748b;
  font: 650 0.82rem/1.45 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .dashboard-module-card--compact .progress-ring--dashboard {
  --ring-color: var(--module-accent);
  width: 66px;
  height: 66px;
}

.private-shell--practice .dashboard-module-card--compact .progress-ring__inner {
  width: 49px;
  height: 49px;
}

.private-shell--practice .dashboard-module-card--compact .progress-ring__inner strong {
  color: var(--module-accent);
  font-size: 0.78rem;
}

.private-shell--practice .dashboard-module-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: #263653;
  text-align: center;
  font: 800 0.82rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--practice .dashboard-module-card__action--primary,
.private-shell--practice .dashboard-module-card--compact .dashboard-module-card__action:first-child {
  border-color: transparent;
  background: var(--module-accent);
  color: #fff;
}

@media (max-width: 960px) {
  .private-shell--practice {
    width: min(100% - 28px, 1220px);
  }

  .private-shell--practice .practice-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px;
  }

  .private-shell--practice .practice-hero__visual {
    display: none;
  }

  .private-shell--practice .practice-hero__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .private-shell--practice {
    width: min(100% - 20px, 1220px);
  }

  .private-shell--practice .practice-hero {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

.private-shell--toefl-module {
  width: min(1220px, calc(100% - 48px));
}

.private-shell--toefl-module .toefl-shell {
  gap: 16px;
}

.private-shell--toefl-module .toefl-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(220px, 0.46fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 230px;
  padding: 30px 34px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 20%, rgba(191, 219, 254, 0.52), transparent 32%),
    linear-gradient(135deg, #fbfdff 0%, #f3f8ff 62%, #eaf2ff 100%);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

.private-shell--toefl-module .toefl-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 74%);
  pointer-events: none;
}

.private-shell--toefl-module .toefl-hero-card > * {
  position: relative;
  z-index: 1;
}

.private-shell--toefl-module .toefl-hero-card__copy {
  max-width: 620px;
}

.private-shell--toefl-module .toefl-hero-card__copy h1 {
  margin: 8px 0 12px;
  color: #0b1736;
  font: 900 clamp(2rem, 3.4vw, 2.9rem)/1.06 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.private-shell--toefl-module .toefl-hero-card__copy .subtle {
  color: #60708c;
  font: 650 0.98rem/1.72 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .toefl-hero-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.private-shell--toefl-module .toefl-hero-card__visual img {
  width: min(360px, 126%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(37, 99, 235, 0.09));
}

.private-shell--toefl-module .toefl-hero-card__actions {
  align-self: end;
  justify-content: flex-end;
  min-width: 128px;
}

.private-shell--toefl-module .button {
  min-height: 34px;
  border-radius: 9px;
  font: 800 0.82rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .button--primary {
  border-color: transparent;
  background: #2563eb;
  color: #fff;
}

.private-shell--toefl-module .toefl-overview-strip {
  gap: 10px;
}

.private-shell--toefl-module .toefl-overview-chip,
.private-shell--toefl-module .toefl-metric {
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(33, 51, 82, 0.055);
}

.private-shell--toefl-module .toefl-overview-chip span,
.private-shell--toefl-module .toefl-metric span {
  color: #64748b;
  font: 760 0.73rem/1.15 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .toefl-overview-chip strong,
.private-shell--toefl-module .toefl-metric strong {
  margin-top: 6px;
  color: #0b1736;
  font: 900 1.2rem/1 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .toefl-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 14px;
}

.private-shell--toefl-module .toefl-card {
  min-height: 218px;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.7), transparent 36%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(33, 51, 82, 0.07);
}

.private-shell--toefl-module .toefl-card h2 {
  margin: 0 0 10px;
  color: #0b1736;
  font: 850 1.12rem/1.24 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .toefl-card .subtle {
  color: #52637d;
  font: 620 0.9rem/1.55 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.private-shell--toefl-module .toefl-metric-row {
  gap: 8px;
  margin-top: 14px;
}

.private-shell--toefl-module .toefl-card__actions {
  gap: 8px;
  margin-top: 16px;
}

.private-shell--toefl-module .toefl-card__status-line {
  color: #52637d;
  font: 650 0.88rem/1.55 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 960px) {
  .private-shell--toefl-module {
    width: min(100% - 28px, 1220px);
  }

  .private-shell--toefl-module .toefl-hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 24px;
  }

  .private-shell--toefl-module .toefl-hero-card__visual {
    display: none;
  }

  .private-shell--toefl-module .toefl-hero-card__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .private-shell--toefl-module {
    width: min(100% - 20px, 1220px);
  }

  .private-shell--toefl-module .toefl-hero-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .private-shell--toefl-module .toefl-overview-strip,
  .private-shell--toefl-module .toefl-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile navigation and compact app surfaces */

body.modal-lock,
body.login-drawer-is-open,
body.mobile-nav-is-open {
  overflow: hidden;
}

.site-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

.site-menu-button span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #10203b;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(2px);
}

.mobile-nav-backdrop[hidden] {
  display: none;
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 88;
  width: min(330px, 86vw);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition:
    transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 0.26s;
}

.mobile-nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav-drawer__panel {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: calc(22px + env(safe-area-inset-top)) 20px 24px;
  background: #fff;
  box-shadow: none;
  overflow-y: auto;
}

.mobile-nav-drawer.is-open .mobile-nav-drawer__panel {
  box-shadow: 24px 0 60px rgba(15, 23, 42, 0.16);
}

.mobile-nav-drawer__close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f3f6fb;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-drawer__eyebrow {
  margin: 0;
  color: #1f63e9;
  font: 850 0.72rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav-drawer h2 {
  margin: 0 38px 2px 0;
  color: #0f172a;
  font: 850 1.28rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.mobile-nav-drawer__links {
  display: grid;
  gap: 6px;
}

.mobile-nav-drawer__links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-radius: 11px;
  color: #263653;
  font: 800 0.94rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
}

.mobile-nav-drawer__links a:hover,
.mobile-nav-drawer__links a.is-active {
  background: linear-gradient(90deg, rgba(39, 105, 229, 0.12), rgba(39, 105, 229, 0.04));
  color: #1f63e9;
}

@media (max-width: 760px) {
  .site-header__inner,
  .shell-blog .site-header__inner {
    width: min(100% - 20px, 1240px);
    min-height: 64px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .site-menu-button {
    display: inline-flex;
    justify-self: start;
  }

  .site-nav--global {
    display: none;
  }

  .brand,
  .shell-blog .brand--forum {
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.94rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-account {
    justify-self: end;
  }

  .login-avatar-button,
  .profile-menu__summary {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .page-shell,
  .shell-blog .page-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 14px;
    padding-bottom: 36px;
  }

  .login-drawer {
    width: 100vw;
  }

  .login-drawer__panel {
    min-height: 100dvh;
    gap: 18px;
    padding: calc(24px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));
  }

  .login-drawer__intro {
    padding-right: 38px;
  }

  .login-drawer__intro h2 {
    font-size: 1.45rem;
  }

  .login-drawer__form {
    padding: 16px;
    border-radius: 16px;
  }

  .login-drawer__form input,
  .login-drawer__submit {
    min-height: 48px;
  }

  .login-drawer__contact {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .login-drawer__contact img {
    width: 104px;
    height: 104px;
  }

  .shell-blog .forum-page--question-bank,
  .shell-blog .forum-page--ielts,
  .shell-blog .forum-page--course {
    gap: 14px;
  }

  .shell-blog .forum-page--question-bank .forum-layout,
  .shell-blog .forum-page--ielts .forum-layout,
  .shell-blog .forum-page--course .forum-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shell-blog .forum-page--question-bank .forum-main,
  .shell-blog .forum-page--ielts .forum-main,
  .shell-blog .forum-page--course .forum-main {
    gap: 16px;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar,
  .shell-blog .forum-page--ielts .forum-sidebar,
  .shell-blog .forum-page--course .course-sidebar {
    position: static;
    gap: 10px;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__card,
  .shell-blog .forum-page--ielts .question-bank-sidebar__card,
  .shell-blog .forum-page--course .course-sidebar__card {
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(25, 45, 80, 0.06);
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__card--years,
  .shell-blog .forum-page--ielts .question-bank-sidebar__card--years,
  .shell-blog .forum-page--ielts .question-bank-sidebar__card--jumps,
  .shell-blog .forum-page--course .course-sidebar__card--modules {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar h2,
  .shell-blog .forum-page--ielts .forum-sidebar h2,
  .shell-blog .forum-page--course .course-sidebar h2 {
    margin-bottom: 9px;
    font-size: 0.94rem;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar__nav,
  .shell-blog .forum-page--ielts .forum-sidebar__nav,
  .shell-blog .forum-page--course .course-sidebar__nav {
    gap: 1px;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar__link,
  .shell-blog .forum-page--ielts .forum-sidebar__link,
  .shell-blog .forum-page--course .forum-sidebar__link {
    min-height: 30px;
    gap: 7px;
    padding: 5px 7px;
    border: 0;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar__icon,
  .shell-blog .forum-page--ielts .forum-sidebar__icon,
  .shell-blog .forum-page--course .forum-sidebar__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #637390;
    font-size: 0;
  }

  .shell-blog .forum-page--question-bank .forum-sidebar__icon svg,
  .shell-blog .forum-page--ielts .forum-sidebar__icon svg,
  .shell-blog .forum-page--course .forum-sidebar__icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__label,
  .shell-blog .forum-page--ielts .question-bank-sidebar__label,
  .shell-blog .forum-page--course .question-bank-sidebar__label {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__jumps,
  .shell-blog .forum-page--ielts .question-bank-sidebar__jumps {
    display: flex;
    gap: 6px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__jumps::-webkit-scrollbar,
  .shell-blog .forum-page--ielts .question-bank-sidebar__jumps::-webkit-scrollbar {
    display: none;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__jump,
  .shell-blog .forum-page--ielts .question-bank-sidebar__jump {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero,
  .shell-blog .forum-page--ielts .question-bank-hero,
  .shell-blog .forum-page--course .course-hero {
    min-height: 0;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(47, 78, 128, 0.07);
  }

  .shell-blog .forum-page--question-bank .question-bank-hero::after,
  .shell-blog .forum-page--ielts .question-bank-hero::after,
  .shell-blog .forum-page--course .course-hero::after {
    display: none;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero::before,
  .shell-blog .forum-page--ielts .question-bank-hero::before,
  .shell-blog .forum-page--course .course-hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.38));
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__layout,
  .shell-blog .forum-page--ielts .question-bank-hero__layout,
  .shell-blog .forum-page--ielts .question-sample-hero__layout,
  .shell-blog .forum-page--course .course-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 16px;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__card,
  .shell-blog .forum-page--ielts .question-bank-hero__card,
  .shell-blog .forum-page--ielts .question-sample-hero__card,
  .shell-blog .forum-page--course .course-hero__card {
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__visual,
  .shell-blog .forum-page--ielts .question-bank-hero__visual,
  .shell-blog .forum-page--course .course-hero__visual {
    display: none;
  }

  .shell-blog .forum-page--question-bank .forum-hero__eyebrow,
  .shell-blog .forum-page--ielts .forum-hero__eyebrow,
  .shell-blog .forum-page--course .forum-hero__eyebrow {
    margin-bottom: 8px;
    font-size: 0.74rem;
  }

  .shell-blog .forum-page--question-bank .forum-hero__title,
  .shell-blog .forum-page--ielts .forum-hero__title,
  .shell-blog .forum-page--course .forum-hero__title {
    font-size: clamp(1.68rem, 9vw, 2.08rem);
    line-height: 1.08;
  }

  .shell-blog .forum-page--ielts .question-sample-hero .forum-hero__title {
    font-size: 1.22rem;
    line-height: 1.28;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__summary,
  .shell-blog .forum-page--ielts .question-bank-hero__summary,
  .shell-blog .forum-page--course .course-hero__summary {
    max-width: min(100%, 27em);
    margin-top: 10px;
    font-size: 0.84rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__facts,
  .shell-blog .forum-page--ielts .question-bank-hero__facts,
  .shell-blog .forum-page--course .course-hero__facts {
    gap: 8px;
    margin-top: 16px;
  }

  .shell-blog .forum-page--question-bank .question-bank-hero__facts span,
  .shell-blog .forum-page--ielts .question-bank-hero__facts span,
  .shell-blog .forum-page--course .course-hero__facts span {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    line-height: 1.1;
  }

  .shell-blog .forum-page--question-bank .question-year__header,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .shell-blog .forum-page--question-bank .question-year__copy h2,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__copy h2 {
    font-size: 1.38rem;
    line-height: 1.18;
  }

  .shell-blog .forum-page--question-bank .question-year__filters,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__filters,
  .shell-blog .forum-page--question-bank .question-year__filter-meta,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__filter-meta {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__select-filter {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    width: 100%;
    align-items: center;
    justify-content: stretch;
    gap: 12px;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter select,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__select-filter select {
    width: 100%;
    min-height: 34px;
  }

  .shell-blog .forum-page--question-bank .question-year__result {
    white-space: normal;
  }

  .shell-blog .forum-page--question-bank .question-card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shell-blog .forum-page--question-bank .question-card {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 8px;
    min-height: 0;
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(33, 51, 82, 0.06);
  }

  .shell-blog .forum-page--question-bank .question-card:hover {
    transform: none;
  }

  .shell-blog .forum-page--question-bank .question-card__date {
    width: 42px;
    min-width: 42px;
    min-height: 50px;
    padding: 6px 2px;
    border-radius: 9px;
  }

  .shell-blog .forum-page--question-bank .question-card__month {
    font-size: 0.62rem;
  }

  .shell-blog .forum-page--question-bank .question-card__day {
    font-size: 1.25rem;
  }

  .shell-blog .forum-page--question-bank .question-card__chips {
    min-width: 0;
    gap: 6px;
    min-height: 0;
  }

  .shell-blog .forum-page--question-bank .question-card__chip {
    padding: 5px 7px;
    border-radius: 7px;
    font-size: 0.68rem;
  }

  .shell-blog .forum-page--question-bank .question-card__prompt {
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .shell-blog .forum-page--question-bank .question-card__prompt-link,
  .shell-blog .forum-page--question-bank .question-card__repeat,
  .shell-blog .forum-page--question-bank .question-card__footer {
    min-width: 0;
  }

  .shell-blog .forum-page--question-bank .question-card__repeat {
    font-size: 0.72rem;
  }

  .shell-blog .forum-page--question-bank .question-card__footer {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-top: 2px;
  }

  .shell-blog .forum-page--question-bank .question-card__sample-status,
  .shell-blog .forum-page--question-bank .question-card__cta {
    font-size: 0.72rem;
  }

  .shell-blog .forum-page--ielts .topic-vocab-panel,
  .shell-blog .forum-page--ielts .question-sample-panel,
  .shell-blog .forum-page--ielts .question-sample-phrase-panel,
  .shell-blog .forum-page--ielts-post .blog-post__body,
  .shell-blog .forum-page--ielts-post .blog-related,
  .shell-blog .forum-page--course .course-module-card,
  .shell-blog .forum-page--course .course-article-panel,
  .shell-blog .forum-page--course .cambridge-hub-posts .panel,
  .shell-blog .forum-page--course .placement-panel {
    padding: 16px;
    border-radius: 12px;
  }

  .shell-blog .forum-page--course .course-module-grid,
  .shell-blog .forum-page--course .cambridge-module-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shell-blog .forum-page--course .course-module-card,
  .shell-blog .forum-page--course .cambridge-module-card {
    min-height: 0;
  }

  .shell-blog .forum-page--course .course-module-card h2,
  .shell-blog .forum-page--course .course-article-panel h2,
  .shell-blog .forum-page--course .cambridge-hub-posts__head h2 {
    font-size: 1.08rem;
  }

  .shell-blog .forum-page--course .course-module-card p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .shell-blog .forum-page--course .course-module-card .button {
    min-height: 38px;
  }

  .shell-blog .forum-page--ielts .topic-vocab-toolbar {
    padding: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .shell-blog .forum-page--ielts .topic-vocab-toolbar__button {
    flex: 0 0 auto;
    min-height: 34px;
  }

  .shell-blog .forum-page--ielts .topic-vocab-table,
  .shell-blog .forum-page--ielts .reading-vocab-table,
  .shell-blog .forum-page--course table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .private-shell--practice,
  .private-shell--toefl-module,
  .private-shell--ielts-module,
  .private-shell--ielts-tests.private-shell--ielts-module {
    width: min(100% - 20px, 1220px);
  }

  .private-shell--practice .dashboard-page,
  .private-shell--toefl-module .toefl-shell,
  .private-shell--ielts-module .ielts-home {
    gap: 14px;
  }

  .private-shell--practice .practice-hero,
  .private-shell--toefl-module .toefl-hero-card,
  .ielts-module-page--tests .ielts-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(47, 78, 128, 0.07);
  }

  .private-shell--practice .practice-hero h1,
  .private-shell--toefl-module .toefl-hero-card__copy h1,
  .ielts-module-page--tests .ielts-home-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    line-height: 1.08;
  }

  .private-shell--practice .practice-hero p,
  .private-shell--toefl-module .toefl-hero-card__copy .subtle,
  .ielts-module-page--tests .ielts-home-hero p {
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .private-shell--practice .practice-hero__visual,
  .private-shell--toefl-module .toefl-hero-card__visual {
    display: none;
  }

  .private-shell--practice .practice-hero__actions,
  .private-shell--toefl-module .toefl-hero-card__actions,
  .ielts-module-page--tests .ielts-home-hero__meta {
    justify-content: flex-start;
  }

  .private-shell--practice .practice-hero__actions .button,
  .private-shell--toefl-module .button,
  .ielts-module-page--tests .ielts-section-link {
    min-height: 40px;
  }

  .private-shell--practice .dashboard-summary-grid,
  .private-shell--practice .dashboard-module-grid--compact,
  .private-shell--toefl-module .toefl-card-grid,
  .ielts-module-page--tests .ielts-book-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .private-shell--practice .dashboard-module-card--compact,
  .private-shell--toefl-module .toefl-card,
  .ielts-module-page--tests .ielts-book-card {
    min-height: 0;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(33, 51, 82, 0.06);
  }

  .private-shell--practice .dashboard-module-card__action,
  .private-shell--toefl-module .toefl-card__actions .button {
    min-height: 38px;
  }

  .ielts-module-page--tests .ielts-test-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .ielts-module-page--tests .ielts-test-row__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ielts-module-page--tests .ielts-section-link {
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .login-drawer__contact {
    grid-template-columns: 1fr;
  }

  .login-drawer__contact img {
    width: 118px;
    height: 118px;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter select,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__select-filter select {
    width: min(140px, 54vw);
  }
}

/* Mobile IELTS refinements */
.question-bank-sidebar__year-select {
  display: none;
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell-blog .forum-page--ielts,
  .shell-blog .forum-page--ielts .forum-layout,
  .shell-blog .forum-page--ielts .forum-main,
  .shell-blog .forum-page--ielts .forum-sidebar,
  .shell-blog .forum-page--ielts .question-bank-sidebar__card,
  .shell-blog .forum-page--ielts .question-bank-hero,
  .shell-blog .forum-page--ielts .question-year,
  .shell-blog .forum-page--ielts .question-card-grid,
  .shell-blog .forum-page--ielts .question-card {
    min-width: 0;
    max-width: 100%;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar__card:first-child {
    padding: 12px;
    overflow: hidden;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar__card:first-child h2 {
    display: none;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__nav--ielts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__link {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 4px;
    border-radius: 12px;
    background: rgba(248, 251, 255, 0.92);
    color: #243d62;
    font-size: 0.72rem;
    line-height: 1.12;
    text-align: center;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__link:hover,
  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__link--active {
    background: rgba(232, 242, 255, 0.96);
    color: #1f63e9;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: currentColor;
  }

  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.85;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__card--years {
    padding: 10px 12px;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__card--years .question-bank-sidebar__label,
  .shell-blog .forum-page--question-bank .question-bank-sidebar__card--years .question-bank-sidebar__jumps {
    display: none;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__year-select {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    color: #5d6c82;
    font: 800 0.78rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  }

  .shell-blog .forum-page--question-bank .question-bank-sidebar__year-select select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font: 800 0.86rem/1.2 "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .shell-blog .forum-page--question-bank .question-year__select-filter select,
  .shell-blog .forum-page--ielts.forum-page--question-bank .question-year__select-filter select {
    width: 100%;
    min-height: 40px;
  }

  .shell-blog .forum-page--question-bank .question-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
  }

  .shell-blog .forum-page--question-bank .question-card__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }

  .shell-blog .forum-page--question-bank .question-card__date {
    width: auto;
    min-width: 0;
    min-height: 30px;
    display: inline-flex;
    grid-column: auto;
    grid-row: auto;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 10px;
    border-radius: 9px;
    box-shadow: none;
    white-space: nowrap;
  }

  .shell-blog .forum-page--question-bank .question-card__month {
    font-size: 0.68rem;
    line-height: 1;
  }

  .shell-blog .forum-page--question-bank .question-card__day {
    font-size: 1.08rem;
    line-height: 1;
  }

  .shell-blog .forum-page--question-bank .question-card__chips {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .shell-blog .forum-page--question-bank .question-card__prompt-link,
  .shell-blog .forum-page--question-bank .question-card__repeat,
  .shell-blog .forum-page--question-bank .question-card__footer {
    grid-column: 1;
    grid-row: auto;
  }

  .shell-blog .forum-page--question-bank .question-card__prompt-link {
    display: block;
    overflow: hidden;
  }

  .shell-blog .forum-page--question-bank .question-card__prompt {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .shell-blog .forum-page--question-bank .question-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 0;
  }

  .shell-blog .forum-page--question-bank .question-card__sample-status {
    color: #1f8a60;
    font-size: 0.74rem;
  }

  .shell-blog .forum-page--question-bank .question-card__cta {
    font-size: 0.74rem;
  }

  .shell-blog .forum-page--question-sample .question-sample-sidebar__block--meta {
    display: none;
  }
}

@media (max-width: 420px) {
  .shell-blog .forum-page--ielts .question-bank-sidebar .forum-sidebar__nav--ielts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
