
@media (max-width: 380px) {
  .vocabulary-spelling-submit-actions {
    grid-template-columns: minmax(52px, 1fr) minmax(52px, 1fr) 36px 36px minmax(76px, 1.2fr);
    gap: 5px;
  }

  .vocabulary-spelling-submit-actions.is-character-candidates {
    grid-template-columns: minmax(52px, 1fr) minmax(52px, 1fr) 36px minmax(76px, 1.2fr);
  }

  .vocabulary-spelling-symbol,
  .vocabulary-spelling-hint,
  .vocabulary-spelling-delete,
  .vocabulary-spelling-confirm {
    min-height: 40px;
    font-size: 0.82rem;
  }
}

.vocabulary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 2px;
}

.vocabulary-actions button {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 820;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.vocabulary-actions button:hover,
.vocabulary-actions button:focus-visible {
  outline: none;
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.vocabulary-actions button.is-selected {
  filter: none;
  color: #ffffff;
  outline: none;
  transform: translateY(1px) scale(0.985);
}

.vocabulary-word-card.is-advancing .vocabulary-actions button:not(.is-selected),
.vocabulary-word-card.is-advancing .vocabulary-card-nav button {
  opacity: 0.58;
  pointer-events: none;
}

.vocabulary-actions .is-hard {
  border-color: #efb2ab;
  background: #fff1ef;
  color: #a64239;
}

.vocabulary-actions .is-hard.is-selected {
  border-color: #c94f45;
  background: #c94f45;
  box-shadow: 0 12px 24px rgba(201, 79, 69, 0.22);
}

.vocabulary-actions .is-known {
  border-color: #f1c58d;
  background: #fff4e5;
  color: #ff6a00;
}

.vocabulary-actions .is-known.is-selected {
  border-color: #ff6a00;
  background: #ff6a00;
  box-shadow: 0 12px 24px rgba(198, 106, 10, 0.22);
}

.vocabulary-actions .is-mastered {
  border-color: #afd6c0;
  background: #edf8f2;
  color: #246b49;
}

.vocabulary-actions .is-mastered.is-selected {
  border-color: #357b57;
  background: #357b57;
  box-shadow: 0 12px 24px rgba(53, 123, 87, 0.22);
}

.vocabulary-card-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 2px;
}

.vocabulary-card-nav button {
  min-height: 42px;
  border: 1px solid rgba(220, 231, 238, 0.94);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 780;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.vocabulary-card-nav button:hover:not(:disabled),
.vocabulary-card-nav button:focus-visible {
  border-color: rgba(255, 106, 0, 0.32);
  background: #fff8f2;
  color: var(--primary-dark);
  outline: none;
  transform: translateY(-1px);
}

.vocabulary-card-nav .is-next {
  border-color: rgba(220, 231, 238, 0.94);
  background: #f8fafc;
  color: rgba(38, 52, 46, 0.62);
  box-shadow: none;
}

.vocabulary-card-nav .is-next.is-ready,
.vocabulary-spelling-actions .is-primary.is-ready {
  border-color: rgba(255, 106, 0, 0.32);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 106, 0, 0.18);
}

.vocabulary-card-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.vocabulary-summary {
  width: min(100%, 740px);
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(220, 231, 238, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  box-shadow: 0 10px 28px rgba(42, 53, 66, 0.04);
}

.vocabulary-summary[hidden] {
  display: none;
}

.vocabulary-summary p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 0.9rem;
}

.vocabulary-summary strong {
  color: var(--ink);
  font-weight: 830;
  font-variant-numeric: tabular-nums;
}

.vocabulary-course-modal[hidden] {
  display: none;
}

.vocabulary-course-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.vocabulary-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 31, 40, 0.42);
  backdrop-filter: blur(8px);
}

.vocabulary-modal-panel {
  position: relative;
  width: min(100%, 640px);
  max-height: min(82dvh, 720px);
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(220, 231, 238, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 90px rgba(24, 31, 40, 0.22);
}

.vocabulary-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vocabulary-modal-head span,
.vocabulary-modal-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.vocabulary-modal-head h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.2;
}

.vocabulary-modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 231, 238, 0.94);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.vocabulary-modal-close:hover,
.vocabulary-modal-close:focus-visible {
  border-color: rgba(255, 106, 0, 0.32);
  background: #fff8f2;
  color: var(--primary-dark);
  outline: none;
  transform: translateY(-1px);
}

.vocabulary-modal-status {
  min-height: 22px;
}

.vocabulary-modal-status.is-error {
  color: #9a4218;
}

.vocabulary-course-option,
.vocabulary-course-empty {
  width: 100%;
  border: 1px solid rgba(220, 231, 238, 0.86);
  border-radius: 18px;
  background: #fbfcfd;
}

.vocabulary-course-option {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

button.vocabulary-course-option:hover:not(:disabled),
button.vocabulary-course-option:focus-visible {
  border-color: rgba(255, 106, 0, 0.32);
  background: #fff8f2;
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.vocabulary-course-option:disabled {
  cursor: default;
}

.vocabulary-course-option.is-current {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-color: rgba(24, 134, 75, 0.26);
  background: #f0faf4;
  cursor: default;
}

.vocabulary-course-option-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.vocabulary-course-option span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.vocabulary-course-option strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.vocabulary-course-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.vocabulary-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}

.vocabulary-course-tags em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
}

.vocabulary-course-option-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 106, 0, 0.42);
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vocabulary-course-option-action:hover,
.vocabulary-course-option-action:focus-visible {
  border-color: rgba(255, 106, 0, 0.56);
  background: var(--primary-dark);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(255, 106, 0, 0.23);
}

.vocabulary-course-empty {
  padding: 18px;
  color: var(--muted);
  font-weight: 720;
  line-height: 1.5;
}

.vocabulary-round-panel {
  width: min(100%, 520px);
}

.vocabulary-round-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.vocabulary-round-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vocabulary-round-actions button {
  min-height: 48px;
  border: 1px solid rgba(255, 106, 0, 0.32);
  border-radius: 16px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 820;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.vocabulary-round-actions button:hover,
.vocabulary-round-actions button:focus-visible {
  border-color: rgba(255, 106, 0, 0.48);
  background: var(--primary-dark);
  box-shadow: 0 14px 28px rgba(255, 106, 0, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.vocabulary-round-actions button.secondary {
  border-color: rgba(220, 231, 238, 0.94);
  background: #ffffff;
  color: var(--ink-soft);
}

.vocabulary-round-actions button.secondary:hover,
.vocabulary-round-actions button.secondary:focus-visible {
  border-color: rgba(255, 106, 0, 0.32);
  background: #fff8f2;
  color: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(42, 53, 66, 0.08);
}

.site-footer {
  border-top-color: rgba(15, 23, 42, 0.06);
  background: rgba(251, 252, 253, 0.72);
  color: rgba(107, 114, 128, 0.78);
}

@media (max-width: 960px) {
  .learning-hero-inner {
    grid-template-columns: 1fr;
  }

  .vocabulary-heading {
    padding-top: 0;
  }

  .vocabulary-batch-control {
    justify-self: end;
  }
}

@media (min-width: 621px) {
  .vocabulary-lesson-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
  }

  .vocabulary-lesson-menu[hidden] {
    display: none;
  }

  .vocabulary-lesson-menu-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .vocabulary-lesson-options {
    position: fixed;
    top: var(--lesson-menu-top, 72px);
    left: var(--lesson-menu-left, 12px);
    z-index: 1;
    width: var(--lesson-menu-width, 360px);
    max-height: var(--lesson-menu-max-height, calc(100dvh - 156px));
    display: grid;
    gap: 4px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(24, 31, 40, 0.16);
  }

  .vocabulary-lesson-options button {
    min-height: 42px;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-soft);
    font: inherit;
    font-size: 0.84rem;
    line-height: 1.3;
    font-weight: 720;
    text-align: left;
    cursor: pointer;
  }

  .vocabulary-lesson-options button:hover,
  .vocabulary-lesson-options button:focus-visible {
    background: #fff8f2;
    color: var(--primary-dark);
    outline: none;
  }

  .vocabulary-lesson-options button.is-current {
    background: #fff3e8;
    color: var(--primary-dark);
  }

  .vocabulary-page {
    padding-top: 10px;
  }

  .vocabulary-console {
    gap: 10px;
  }

  .vocabulary-course-summary {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 10px;
    padding: 10px 16px 8px;
    border-bottom: 1px solid rgba(220, 231, 238, 0.9);
    color: var(--ink-soft);
  }

  .vocabulary-course-summary-copy {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
  }

  .vocabulary-course-summary-copy > strong {
    flex: 0 1 auto;
    max-width: 62%;
    overflow: hidden;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vocabulary-course-summary-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .vocabulary-course-header-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    padding: 0;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
  }

  .vocabulary-course-header-toggle:hover,
  .vocabulary-course-header-toggle:focus-visible {
    border-color: rgba(255, 106, 0, 0.38);
    background: #fff8f2;
    color: var(--primary-dark);
    outline: none;
  }

  .vocabulary-course-settings-icon {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 200ms ease;
  }

  .vocabulary-course-header-toggle[aria-expanded="true"] .vocabulary-course-settings-icon {
    transform: rotate(60deg);
  }

  .vocabulary-course-details {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 200ms ease, margin-bottom 200ms ease, opacity 160ms ease, visibility 0s linear 200ms;
  }

  .vocabulary-course-details-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 16px;
  }

  .vocabulary-page.is-course-details-expanded .vocabulary-course-details {
    grid-template-rows: 1fr;
    margin-bottom: 0;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows 200ms ease, margin-bottom 200ms ease, opacity 180ms ease, visibility 0s linear 0s;
  }

  .vocabulary-page.is-course-details-expanded .vocabulary-course-details-inner {
    padding-bottom: 10px;
  }

  .vocabulary-course-details-inner {
    gap: 8px;
  }

  .learning-hero-inner {
    width: min(100%, 740px);
    grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
    gap: 10px;
  }

  .vocabulary-heading {
    gap: 4px;
    padding: 4px 0;
  }

  .vocabulary-kicker,
  .vocabulary-title-line {
    display: none;
  }

  .vocabulary-actions-row {
    width: min(100%, 740px);
    justify-self: center;
    justify-content: center;
  }

  .vocabulary-heading h1 {
    max-width: 480px;
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .vocabulary-heading p:not(.vocabulary-kicker),
  .vocabulary-meta-line p {
    font-size: 0.84rem;
  }

  .vocabulary-change-course {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .vocabulary-progress-card {
    gap: 7px;
    padding: 11px 12px;
    border-radius: 8px;
    box-shadow: none;
  }

  .vocabulary-current-progress strong {
    font-size: 1rem;
  }

  .vocabulary-progress-track {
    height: 6px;
  }

  .vocabulary-study-area {
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(42, 53, 66, 0.085);
  }

  .vocabulary-loading {
    min-height: 220px;
  }
}

@media (min-width: 961px) and (max-height: 800px) {
  .vocabulary-word-card {
    gap: 10px;
    padding: 16px 24px 18px;
  }

  .vocabulary-visual-anchor {
    width: min(132px, 18vh);
    margin-bottom: 4px;
  }

  .vocabulary-word strong {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
  }

  .vocabulary-pronunciation {
    gap: 10px;
  }

  .vocabulary-audio-button {
    width: 48px;
    height: 48px;
  }

  .vocabulary-actions,
  .vocabulary-card-nav {
    gap: 10px;
  }

  .vocabulary-actions button {
    min-height: 46px;
  }

  .vocabulary-card-nav button {
    min-height: 40px;
  }
}

@media (max-width: 620px) {
  .vocabulary-word-card {
    touch-action: manipulation;
  }

  .main-content {
    min-height: calc(100vh - 32px);
    min-height: calc(100svh - 32px);
  }

  .vocabulary-page {
    min-height: auto;
    padding: 5px 0 28px;
  }

  .vocabulary-console {
    width: min(100% - 24px, 1080px);
    gap: 10px;
  }

  .vocabulary-course-summary {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px 8px;
    border-bottom: 1px solid rgba(220, 231, 238, 0.82);
    color: var(--ink-soft);
    text-align: left;
  }

  .vocabulary-course-summary-copy {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
  }

  .vocabulary-course-summary-copy > strong {
    flex: 0 1 auto;
    max-width: 55%;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vocabulary-course-summary-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .vocabulary-course-summary-meta [data-course-summary-round] {
    white-space: nowrap;
  }

  .vocabulary-course-header-toggle {
    width: 34px;
    height: 34px;
    min-height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    padding: 0;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    cursor: pointer;
  }

  .vocabulary-course-header-toggle:focus-visible {
    border-color: rgba(255, 106, 0, 0.48);
    outline: 3px solid rgba(255, 106, 0, 0.12);
    outline-offset: 2px;
  }

  .vocabulary-course-details {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 200ms ease, margin-bottom 200ms ease, opacity 160ms ease, visibility 0s linear 200ms;
  }

  .vocabulary-course-details-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 12px;
  }

  .vocabulary-page.is-course-details-expanded .vocabulary-course-details {
    grid-template-rows: 1fr;
    margin-bottom: 0;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows 200ms ease, margin-bottom 200ms ease, opacity 180ms ease, visibility 0s linear 0s;
  }

  .vocabulary-page.is-course-details-expanded .vocabulary-course-details-inner {
    padding-bottom: 10px;
  }

  .learning-hero-inner {
    gap: 10px;
  }

  .vocabulary-heading {
    gap: 6px;
  }

  .vocabulary-heading h1 {
    font-size: 1.46rem;
  }

  .vocabulary-title-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .vocabulary-meta-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .vocabulary-course-actions {
    gap: 7px;
  }

  .vocabulary-change-course {
    min-height: 32px;
  }

  .vocabulary-heading p:not(.vocabulary-kicker) {
    font-size: 0.9rem;
  }

  .vocabulary-status {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    font-size: 0.8rem;
  }

  .vocabulary-motivation-feedback {
    top: calc(env(safe-area-inset-top, 0px) + 70px);
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    max-height: min(42vh, 280px);
    gap: 7px;
    padding: 11px 12px;
    overflow-y: auto;
  }

  .vocabulary-motivation-feedback > strong {
    font-size: 0.88rem;
  }

  .vocabulary-motivation-feedback-metrics span,
  .vocabulary-motivation-feedback-missions li {
    font-size: 0.72rem;
  }

  .vocabulary-progress-card {
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
  }

  .vocabulary-current-progress {
    padding-top: 2px;
  }

  .vocabulary-nav-cluster {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    min-height: 40px;
    padding: 4px;
    border-radius: 999px;
  }

  .vocabulary-toolbar [data-word-progress] {
    grid-column: 1;
    text-align: left;
    padding-left: 10px;
  }

  .vocabulary-mini-button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .vocabulary-batch-control {
    grid-column: 2;
    width: auto;
    justify-content: flex-end;
    justify-self: end;
    min-height: 30px;
    padding: 0 4px 0 0;
    border-left: 0;
  }

  .vocabulary-batch-select {
    min-height: 30px;
  }

  .vocabulary-study-area {
    min-height: auto;
    border-radius: 24px;
  }

  .vocabulary-word-card,
  .vocabulary-word-card.is-flashcard-mode,
  .vocabulary-word-card.is-spelling-mode,
  .vocabulary-word-card.is-image-recall-mode,
  .vocabulary-word-card.is-comprehensive-test-mode {
    gap: 14px;
    padding-top: 11px;
  }

  body.learning-page .site-header {
    min-height: 56px;
  }

  body.learning-page .site-header-inner {
    min-height: 44px;
    padding: 6px 0;
  }

  .vocabulary-word-card.is-flashcard-mode .vocabulary-visual-anchor {
    transform: translateY(5px);
  }

  .vocabulary-pronunciation {
    width: 100%;
    gap: 10px;
  }

  .vocabulary-word {
    gap: 8px;
  }

  .vocabulary-word strong {
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }

  .vocabulary-audio-button {
    width: 48px;
    height: 48px;
  }

  .vocabulary-audio-button .vocabulary-audio-icon {
    width: 24px;
    height: 24px;
  }

  .vocabulary-phonetic {
    max-width: 100%;
    min-height: 34px;
    padding: 5px 14px 6px;
    font-size: clamp(1.08rem, 4.8vw, 1.24rem);
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"] {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px clamp(7px, 2.4vw, 12px);
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"] .vocabulary-meaning-sense {
    gap: 4px;
    white-space: nowrap;
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"] .vocabulary-pos-label {
    min-height: 20px;
    padding: 0 clamp(5px, 1.6vw, 7px);
    font-size: clamp(0.64rem, 2.7vw, 0.72rem);
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"] strong {
    font-size: clamp(0.82rem, 3.55vw, 1rem);
    line-height: 1.35;
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"].is-two-row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: baseline;
  }

  .vocabulary-meaning > .vocabulary-meaning-line > .vocabulary-meaning-senses[data-meaning-count="3"].is-two-row > :last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .vocabulary-audio-toolbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 16px;
  }

  .vocabulary-auto-audio-toggle {
    width: 100%;
  }

  .vocabulary-auto-advance-controls {
    width: 100%;
  }

  .vocabulary-auto-advance-controls select {
    flex: 0 0 auto;
  }

  .vocabulary-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .vocabulary-actions button {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .vocabulary-card-nav {
    gap: 10px;
  }

  .vocabulary-card-nav button {
    min-height: 40px;
  }

  .vocabulary-summary {
    align-items: flex-start;
    border-radius: 18px;
    flex-direction: column;
  }

  .vocabulary-summary p {
    justify-content: flex-start;
  }

  .vocabulary-content-issue-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .vocabulary-course-modal {
    align-items: end;
    padding: 12px;
  }

  .vocabulary-modal-panel {
    width: 100%;
    max-height: 86dvh;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
  }

  .vocabulary-course-option.is-current {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .vocabulary-course-option-action {
    width: 100%;
    min-height: 40px;
  }

  .vocabulary-round-actions {
    grid-template-columns: 1fr;
  }

  .vocabulary-image-recall {
    gap: 10px;
    padding: 52px 14px 14px;
    border-radius: 20px;
  }

  .vocabulary-image-recall[data-image-recall] {
    gap: 6px;
    padding-top: 42px;
  }

  .vocabulary-image-recall-visual .vocabulary-visual-anchor {
    width: min(100%, 210px);
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-visual .vocabulary-visual-anchor {
    width: min(100%, 176px);
  }

  .vocabulary-image-recall-head h2 {
    font-size: 1rem;
  }

  .vocabulary-image-recall-mode-slot,
  .vocabulary-card-mode-slot {
    top: 12px;
    right: 12px;
    gap: 6px;
    font-size: 0.76rem;
  }

  .vocabulary-image-recall-actions {
    gap: 8px;
  }

  .vocabulary-image-recall[data-image-recall] > .vocabulary-image-recall-actions {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -4px;
  }

  .vocabulary-image-recall-option {
    min-height: 44px;
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-option {
    width: 100%;
    min-height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    line-height: 1.35;
    text-align: left;
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-option-word {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-option-word:only-child {
    grid-column: 1 / -1;
  }

  .vocabulary-image-recall-option-meaning {
    font-size: 0.8em;
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-option-meaning {
    overflow: visible;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .vocabulary-image-recall[data-image-recall] .vocabulary-image-recall-option-icon {
    grid-column: 3;
    grid-row: 1;
  }

  .vocabulary-image-recall-next {
    min-height: 38px;
    padding: 0 12px 0 15px;
    font-size: 0.9rem;
  }

  .vocabulary-image-recall-next-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 340px) {
  .vocabulary-course-header-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
    flex-basis: 32px;
  }

  .vocabulary-course-summary-copy > strong {
    max-width: 48%;
    font-size: 0.88rem;
  }

  .vocabulary-course-summary-meta {
    gap: 4px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vocabulary-course-details,
  .vocabulary-course-settings-icon {
    transition: none;
  }
}
.vocabulary-guest-helper-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--brand-strong, #b94c12);
  background: #fff4e9;
  font-weight: 750;
  text-decoration: none;
}

.vocabulary-guest-finish {
  display: grid;
  gap: 14px;
  min-height: 420px;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 7vw, 72px);
  text-align: center;
}

.vocabulary-guest-finish > span {
  color: var(--brand-strong, #b94c12);
  font-weight: 800;
}

.vocabulary-guest-finish h2,
.vocabulary-guest-finish p {
  margin: 0;
}

.vocabulary-guest-finish h2 {
  font-size: clamp(30px, 5vw, 52px);
}

.vocabulary-guest-finish p {
  max-width: 560px;
  color: var(--muted, #667085);
  line-height: 1.7;
}

.vocabulary-guest-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.vocabulary-guest-register,
.vocabulary-guest-restart {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
}

.vocabulary-guest-register {
  color: #fff;
  background: var(--primary);
}

.vocabulary-guest-restart {
  border: 1px solid #efc2a5;
  color: #a8440b;
  background: #fff8f2;
}

@media (max-width: 620px) {
  .vocabulary-guest-actions,
  .vocabulary-guest-register,
  .vocabulary-guest-restart {
    width: 100%;
  }
}

.vocabulary-mobile-primary-nav,
.vocabulary-mobile-sheet {
  display: none;
}

.vocabulary-mobile-install-title {
  display: none;
}

.vocabulary-mobile-install-guide[hidden] {
  display: none !important;
}

@media (min-width: 621px) {
  .vocabulary-page {
    padding-bottom: 42px;
  }

  .vocabulary-footer-tools {
    justify-items: center;
    padding: 20px 0 28px;
  }

  .vocabulary-course-header-toggle,
  .vocabulary-card-mode-slot,
  .vocabulary-image-recall-mode-slot,
  .vocabulary-helper-row,
  .vocabulary-study-area > .vocabulary-course-details,
  .vocabulary-footer-tools > [data-vocabulary-utility-actions],
  .vocabulary-word-card > [data-meaning-details-panel],
  .vocabulary-word-card > [data-synonyms-panel],
  .vocabulary-word-card > [data-examples-panel] {
    display: none !important;
  }

  .vocabulary-card-head {
    width: min(100%, 760px);
    display: block;
  }

  .vocabulary-memory-pill {
    display: none;
  }

  .vocabulary-mobile-card-context {
    width: min(100%, 760px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: 12px;
  }

  .vocabulary-card-context-item {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 12px;
    background: #fff8f2;
    color: var(--primary-dark);
    font: inherit;
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 760;
    text-align: left;
  }

  button.vocabulary-card-context-item {
    width: 100%;
    cursor: pointer;
  }

  button.vocabulary-card-context-item:focus-visible {
    border-color: rgba(255, 106, 0, 0.48);
    outline: 3px solid rgba(255, 106, 0, 0.12);
    outline-offset: 2px;
  }

  .vocabulary-card-context-item > span:not(.vocabulary-card-context-chevron) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vocabulary-card-context-item.is-course > span:not(.vocabulary-card-context-chevron) {
    white-space: nowrap;
  }

  .vocabulary-card-context-item.is-status > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .vocabulary-card-context-item.is-status {
    justify-content: flex-end;
    padding-right: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: right;
  }

  .vocabulary-card-context-item.is-status .vocabulary-card-context-icon {
    display: none;
  }

  .vocabulary-card-context-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
  }

  .vocabulary-card-context-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-left: auto;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  .vocabulary-mobile-primary-nav {
    position: relative;
    z-index: 115;
    width: min(720px, calc(100vw - 48px));
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    padding: 5px 8px;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 34px rgba(42, 53, 66, 0.14);
    backdrop-filter: blur(16px);
    margin: 0 auto;
  }

  .vocabulary-mobile-primary-nav[hidden],
  .vocabulary-mobile-sheet[hidden],
  .vocabulary-mobile-sheet-section[hidden],
  .vocabulary-mobile-tools-panel button[hidden] {
    display: none !important;
  }

  .vocabulary-mobile-primary-nav button {
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #667085;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 760;
    line-height: 1;
  }

  .vocabulary-mobile-nav-visual {
    min-width: 76px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 11px;
    color: inherit;
  }

  .vocabulary-mobile-primary-nav button:hover .vocabulary-mobile-nav-visual,
  .vocabulary-mobile-primary-nav button:focus-visible .vocabulary-mobile-nav-visual,
  .vocabulary-mobile-primary-nav button.is-active .vocabulary-mobile-nav-visual {
    background: #fff4e8;
    color: var(--primary-dark);
  }

  .vocabulary-mobile-primary-nav button:focus-visible {
    outline: none;
  }

  .vocabulary-mobile-primary-nav button:focus-visible .vocabulary-mobile-nav-visual {
    box-shadow: inset 0 0 0 2px rgba(255, 106, 0, 0.32);
  }

  .vocabulary-mobile-nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: inherit;
    stroke: currentColor;
  }

  .vocabulary-mobile-nav-label {
    min-width: 0;
    line-height: 1;
    text-align: center;
  }

  .vocabulary-mobile-sheet {
    position: fixed;
    z-index: 112;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
  }

  .vocabulary-mobile-sheet-backdrop {
    display: none;
  }

  .vocabulary-mobile-sheet-panel {
    width: min(720px, 100%);
    max-height: min(560px, calc(100dvh - 152px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(220, 231, 238, 0.98);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(42, 53, 66, 0.2);
    pointer-events: auto;
  }

  .vocabulary-mobile-sheet-head {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px 8px 18px;
    border-bottom: 1px solid rgba(220, 231, 238, 0.82);
  }

  .vocabulary-mobile-sheet-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 840;
  }

  .vocabulary-mobile-sheet-head button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-size: 1.45rem;
    line-height: 1;
  }

  .vocabulary-mobile-sheet-section {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 16px 18px 18px;
    overflow-y: auto;
  }

  .vocabulary-mobile-card-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 14px;
    background: #f3f5f7;
  }

  .vocabulary-mobile-card-tabs button,
  .vocabulary-mobile-tools-panel button {
    min-height: 44px;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-weight: 780;
  }

  .vocabulary-mobile-card-tabs button {
    border-color: transparent;
    background: transparent;
  }

  .vocabulary-mobile-card-tabs button.is-active,
  .vocabulary-mobile-card-tabs .vocabulary-mobile-favorite[aria-pressed="true"] {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 3px 10px rgba(42, 53, 66, 0.1);
  }

  .vocabulary-mobile-card-body,
  .vocabulary-mobile-learning-preview,
  .vocabulary-mobile-install-guide {
    padding: 14px;
    border: 1px solid rgba(220, 231, 238, 0.84);
    border-radius: 16px;
    background: #fbfcfd;
  }

  .vocabulary-mobile-card-body {
    min-height: 116px;
  }

  .vocabulary-mobile-card-body > :first-child,
  .vocabulary-mobile-sheet-empty {
    margin-top: 0;
  }

  .vocabulary-mobile-card-body > :last-child,
  .vocabulary-mobile-sheet-empty {
    margin-bottom: 0;
  }

  .vocabulary-mobile-tools-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide {
    grid-column: 1 / -1;
  }

  .vocabulary-mobile-install-guide {
    display: grid;
    gap: 10px;
  }

  .vocabulary-mobile-install-guide p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .vocabulary-mobile-learning-panel .vocabulary-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
  }

  .vocabulary-mobile-learning-panel [data-learning-mode="continue"],
  .vocabulary-mobile-learning-panel [data-learning-mode="favorite"] {
    display: none;
  }

  .vocabulary-mobile-learning-panel .vocabulary-mode-switch button {
    min-height: 46px;
    padding: 0 8px;
    border-radius: 14px;
  }

  .vocabulary-mobile-learning-preview {
    min-height: 76px;
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .vocabulary-mobile-learning-preview > strong {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 840;
  }

  .vocabulary-mobile-learning-preview > [data-mobile-learning-preview-body] {
    min-height: 0;
  }

  .vocabulary-mobile-learning-preview-status {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.55;
  }

  .vocabulary-mobile-sheet .vocabulary-learning-mode-control {
    width: 100%;
    margin: 0;
  }

  .vocabulary-mobile-sheet [data-mobile-vocabulary-section="mode"] .vocabulary-learning-mode-trigger,
  .vocabulary-mobile-sheet [data-mobile-vocabulary-section="mode"] .vocabulary-learning-mode-dialog-head {
    display: none;
  }

  .vocabulary-mobile-sheet .vocabulary-learning-mode-dialog {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .vocabulary-mobile-sheet .vocabulary-learning-mode-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .vocabulary-mobile-sheet .vocabulary-learning-mode-option {
    min-height: 92px;
  }

  .vocabulary-mobile-settings-panel .vocabulary-course-details {
    width: 100%;
    display: grid;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .vocabulary-mobile-settings-panel .vocabulary-course-details-inner {
    min-height: 0;
    overflow: visible;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(220, 231, 238, 0.94);
    border-radius: 16px;
    background: #fbfcfd;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-audio-toolbar,
  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-advance-controls {
    display: contents;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-audio-toolbar > span {
    min-width: 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings > .vocabulary-audio-toolbar:not(.vocabulary-auto-advance-toolbar) > span {
    grid-column: 1;
    grid-row: 1;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings > .vocabulary-audio-toolbar:not(.vocabulary-auto-advance-toolbar) > button {
    grid-column: 1;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel .vocabulary-auto-advance-toolbar > span:not(.vocabulary-mobile-delay-label) {
    grid-column: 2;
    grid-row: 1;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-delay-label {
    grid-column: 3;
    grid-row: 1;
    display: block;
  }

  .vocabulary-mobile-settings-panel [data-auto-advance-toggle] {
    grid-column: 2;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel [data-auto-advance-delay] {
    grid-column: 3;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-audio-toggle,
  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings [data-auto-advance-delay] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-audio-toggle span {
    display: none;
  }

  .vocabulary-mobile-settings-panel .vocabulary-meta-line {
    align-items: stretch;
  }

  .vocabulary-mobile-settings-panel .vocabulary-course-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vocabulary-mobile-settings-panel .vocabulary-change-course {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .vocabulary-mobile-settings-panel .vocabulary-auto-audio-toggle .vocabulary-audio-icon,
  .vocabulary-mobile-settings-panel .vocabulary-auto-audio-toggle .vocabulary-auto-advance-icon {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 900px) {
  .vocabulary-console {
    width: min(100% - 64px, 1280px);
  }

  .vocabulary-study-area {
    width: min(100%, 740px);
  }

  .vocabulary-word-card,
  .vocabulary-word-card.is-flashcard-mode {
    gap: 20px;
    padding: 34px 58px 40px;
  }

  .vocabulary-visual-anchor {
    width: min(220px, 22vw);
    margin-bottom: 8px;
  }

  .vocabulary-word strong {
    font-size: clamp(4rem, 6vw, 6.1rem);
  }

  .vocabulary-actions,
  .vocabulary-card-nav {
    width: min(100%, 760px);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .vocabulary-page {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .main-content {
    min-height: auto;
  }

  .vocabulary-footer-tools.is-wide-utility-inline {
    display: none;
  }

  .vocabulary-word-card > .vocabulary-mobile-primary-nav {
    width: 100%;
    margin-top: 2px;
    justify-self: center;
  }

  body.learning-page .site-shell > .site-footer[data-vlingo-footer] {
    display: none;
  }

  body.learning-page .site-header.nav-open .site-nav {
    background: #ffffff;
    backdrop-filter: none;
  }

  body.learning-page .mobile-nav-tools {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 8px;
  }

  body.learning-page .mobile-nav-tools .mobile-nav-entry {
    min-height: 54px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(34, 42, 38, 0.1);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink-soft);
  }

  body.learning-page .mobile-nav-tools .mobile-nav-entry[hidden] {
    display: none !important;
  }

  body.learning-page .mobile-nav-account-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border: 1px solid rgba(34, 42, 38, 0.1);
    border-radius: 10px;
    background: #ffffff;
  }

  body.learning-page .mobile-nav-account-box .mobile-nav-user-entry {
    min-height: 60px;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 5px 6px;
    border: 0;
    background: transparent;
  }

  body.learning-page .mobile-nav-account-box .mobile-nav-buy-learning-time {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(216, 95, 24, 0.24);
    border-radius: 999px;
    background: #fff4ec;
    color: #7c3505;
    font-size: 0.75rem;
    font-weight: 760;
    white-space: nowrap;
  }

  body.learning-page .mobile-nav-entry-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f5f2;
    color: var(--primary-dark);
  }

  body.learning-page .mobile-nav-entry-icon svg,
  body.learning-page .mobile-nav-entry-icon img {
    width: 18px;
    height: 18px;
  }

  body.learning-page .mobile-nav-entry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.learning-page .mobile-nav-entry-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: left;
  }

  body.learning-page .mobile-nav-entry-copy strong,
  body.learning-page .mobile-nav-entry-copy .mobile-nav-user-name,
  body.learning-page .mobile-nav-entry-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.learning-page .mobile-nav-entry-copy strong {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 780;
  }

  body.learning-page .mobile-nav-entry-copy .mobile-nav-user-name {
    color: var(--ink-soft);
    font-size: 0.8rem;
    font-weight: 720;
  }

  body.learning-page .mobile-nav-entry-copy small {
    color: var(--muted);
    font-size: 0.74rem;
  }

  body.learning-page .mobile-nav-entry .mobile-message-unread:not([hidden]) {
    min-width: 22px;
    min-height: 22px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
  }

  .vocabulary-course-header-toggle,
  .vocabulary-card-mode-slot,
  .vocabulary-image-recall-mode-slot,
  .vocabulary-helper-row,
  .vocabulary-study-area > .vocabulary-course-details,
  .vocabulary-footer-tools > [data-vocabulary-utility-actions],
  .vocabulary-word-card > [data-meaning-details-panel],
  .vocabulary-word-card > [data-synonyms-panel],
  .vocabulary-word-card > [data-examples-panel] {
    display: none !important;
  }

  .vocabulary-mobile-primary-nav {
    position: relative;
    z-index: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    min-height: 66px;
    padding: 4px 6px;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 28px rgba(42, 53, 66, 0.08);
    backdrop-filter: none;
  }

  .vocabulary-mobile-primary-nav[hidden] {
    display: none !important;
  }

  .vocabulary-mobile-primary-nav[inert] {
    pointer-events: none;
  }

  .vocabulary-mobile-primary-nav button {
    min-width: 0;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #667085;
    cursor: pointer;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 760;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .vocabulary-mobile-nav-visual {
    width: calc(100% - 12px);
    max-width: 62px;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px 2px;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    box-sizing: border-box;
  }

  .vocabulary-mobile-primary-nav button:hover .vocabulary-mobile-nav-visual,
  .vocabulary-mobile-primary-nav button:focus-visible .vocabulary-mobile-nav-visual,
  .vocabulary-mobile-primary-nav button.is-active .vocabulary-mobile-nav-visual {
    background: #fff4e8;
    color: var(--primary-dark);
  }

  .vocabulary-mobile-primary-nav button:focus-visible {
    outline: none;
  }

  .vocabulary-mobile-primary-nav button:focus-visible .vocabulary-mobile-nav-visual {
    box-shadow: inset 0 0 0 2px rgba(255, 106, 0, 0.32);
  }

  .vocabulary-mobile-nav-icon {
    display: block !important;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    color: inherit;
    stroke: currentColor;
  }

  .vocabulary-mobile-nav-label {
    min-width: 0;
    max-width: 100%;
    line-height: 1;
    text-align: center;
  }

  .vocabulary-mobile-sheet {
    position: fixed;
    z-index: 116;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .vocabulary-mobile-sheet[hidden],
  .vocabulary-mobile-sheet-section[hidden],
  .vocabulary-mobile-tools-panel button[hidden] {
    display: none !important;
  }

  .vocabulary-mobile-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(28, 34, 42, 0.34);
  }

  .vocabulary-mobile-sheet-panel {
    position: relative;
    width: 100%;
    max-height: min(72dvh, 610px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(220, 231, 238, 0.98);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #ffffff;
    box-shadow: 0 -18px 46px rgba(42, 53, 66, 0.18);
  }

  .vocabulary-mobile-sheet-head {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px 8px 18px;
    border-bottom: 1px solid rgba(220, 231, 238, 0.82);
    background: #ffffff;
  }

  .vocabulary-mobile-sheet-head::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #d8dde3;
    transform: translateX(-50%);
  }

  .vocabulary-mobile-sheet-head h2 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 840;
  }

  .vocabulary-mobile-sheet-head button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-top: 4px;
    padding: 0;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 12px;
    background: #ffffff;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-size: 1.45rem;
    line-height: 1;
  }

  .vocabulary-mobile-sheet-section {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .vocabulary-mobile-card-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 14px;
    background: #f3f5f7;
  }

  .vocabulary-mobile-card-tabs button {
    min-height: 42px;
    padding: 0 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 780;
  }

  .vocabulary-mobile-card-tabs button.is-active {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 3px 10px rgba(42, 53, 66, 0.1);
  }

  .vocabulary-mobile-card-tabs .vocabulary-mobile-favorite.is-favorite {
    color: #ff6a00;
    background: rgba(194, 92, 22, 0.08);
    box-shadow: inset 0 0 0 1px rgba(194, 92, 22, 0.24);
  }

  .vocabulary-mobile-card-body {
    min-height: 116px;
    padding: 14px;
    border: 1px solid rgba(220, 231, 238, 0.84);
    border-radius: 16px;
    background: #fbfcfd;
  }

  .vocabulary-mobile-card-body > :first-child,
  .vocabulary-mobile-sheet-empty {
    margin-top: 0;
  }

  .vocabulary-mobile-card-body > :last-child,
  .vocabulary-mobile-sheet-empty {
    margin-bottom: 0;
  }

  .vocabulary-mobile-tools-panel button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(220, 231, 238, 0.96);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-weight: 780;
    text-align: left;
  }

  .vocabulary-mobile-install-guide {
    display: grid;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(220, 231, 238, 0.94);
    border-radius: 14px;
    background: #fbfcfd;
  }

  .vocabulary-mobile-install-guide p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide [data-mobile-vocabulary-install-native] {
    width: auto;
    justify-self: start;
    min-height: 42px;
    border-color: rgba(216, 95, 24, 0.24);
    background: #fff4ec;
    color: #7c3505;
  }

  .vocabulary-mobile-learning-panel .vocabulary-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
  }

  .vocabulary-mobile-learning-panel [data-learning-mode="continue"],
  .vocabulary-mobile-learning-panel [data-learning-mode="favorite"] {
    display: none;
  }

  .vocabulary-mobile-learning-panel .vocabulary-mode-switch button {
    min-height: 46px;
    padding: 0 8px;
    border-radius: 14px;
  }

  .vocabulary-mobile-learning-preview {
    min-height: 88px;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(220, 231, 238, 0.94);
    border-radius: 16px;
    background: #fbfcfd;
    box-shadow: 0 8px 22px rgba(42, 53, 66, 0.06);
  }

  .vocabulary-mobile-learning-preview > strong {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 840;
  }

  .vocabulary-mobile-learning-preview > [data-mobile-learning-preview-body] {
    min-height: 0;
  }

  .vocabulary-mobile-learning-preview-status {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.55;
  }

  .vocabulary-mobile-learning-preview .vocabulary-summary {
    position: static;
    width: 100%;
    display: grid;
    justify-items: start;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .vocabulary-mobile-learning-preview .vocabulary-summary p {
    justify-content: flex-start;
    text-align: left;
  }

  .vocabulary-mobile-learning-panel .vocabulary-summary {
    position: static;
    width: 100%;
    margin: 0;
  }

  .vocabulary-mobile-settings-panel .vocabulary-course-details {
    width: 100%;
    display: grid;
    grid-template-rows: 1fr;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .vocabulary-mobile-settings-panel .vocabulary-course-details-inner {
    min-height: 0;
    display: grid;
    gap: 12px;
    overflow: visible;
    padding: 0;
  }

  .vocabulary-mobile-settings-panel .vocabulary-toolbar {
    width: 100%;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(220, 231, 238, 0.94);
    border-radius: 16px;
    background: #fbfcfd;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-audio-toolbar,
  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-advance-controls {
    display: contents;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-audio-toolbar > span {
    min-width: 0;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings > .vocabulary-audio-toolbar:not(.vocabulary-auto-advance-toolbar) > span {
    grid-column: 1;
    grid-row: 1;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings > .vocabulary-audio-toolbar:not(.vocabulary-auto-advance-toolbar) > button {
    grid-column: 1;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel .vocabulary-auto-advance-toolbar > span:not(.vocabulary-mobile-delay-label) {
    grid-column: 2;
    grid-row: 1;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-delay-label {
    grid-column: 3;
    grid-row: 1;
    display: block;
  }

  .vocabulary-mobile-settings-panel [data-auto-advance-toggle] {
    grid-column: 2;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel [data-auto-advance-delay] {
    grid-column: 3;
    grid-row: 2;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-audio-toggle,
  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings [data-auto-advance-delay] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
  }

  .vocabulary-mobile-settings-panel .vocabulary-mobile-quick-settings .vocabulary-auto-audio-toggle span {
    display: none;
  }

}

@media (max-width: 360px) {
  .vocabulary-mobile-primary-nav button {
    font-size: 0.7rem;
  }

  .vocabulary-mobile-nav-visual {
    width: calc(100% - 10px);
    max-width: 56px;
  }

  .vocabulary-mobile-nav-icon {
    width: 20px;
    height: 20px;
  }

  .vocabulary-mobile-settings-panel .vocabulary-change-course {
    min-height: 46px;
    padding-inline: 10px;
    font-size: 0.86rem;
  }
}

/* Wide-screen reading width and inline learning utility bar. */
@media (min-width: 1100px) {
  .vocabulary-word-card:not(.is-flashcard-mode) > .vocabulary-card-mode-slot,
  .vocabulary-image-recall-mode-slot {
    display: inline-flex !important;
  }

  .vocabulary-current-mode-button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid rgba(194, 92, 22, 0.22);
    border-radius: 999px;
    background: rgba(255, 250, 246, 0.94);
    color: #ff6a00;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 760;
    cursor: pointer;
  }

  .vocabulary-current-mode-button:hover,
  .vocabulary-current-mode-button:focus-visible {
    border-color: rgba(194, 92, 22, 0.42);
    background: #fff5ed;
    outline: none;
  }

  .vocabulary-current-mode-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .vocabulary-card-context-item.is-status > span,
  .vocabulary-card-context-item.is-status > .vocabulary-card-context-icon {
    display: none;
  }

  .vocabulary-card-context-item.is-status .vocabulary-current-mode-button {
    margin-left: auto;
  }

  .vocabulary-mobile-sheet:not([hidden]) {
    z-index: 118;
    background: rgba(247, 249, 250, 0.28);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .vocabulary-console {
    width: min(100% - 72px, 1040px);
  }

  .vocabulary-study-area {
    width: min(100%, 740px);
  }

  .vocabulary-word-card.is-flashcard-mode {
    padding: 30px 54px 34px;
  }

  .vocabulary-word-card.is-spelling-mode {
    padding-top: 24px;
  }

  .vocabulary-image-recall {
    padding-top: 24px;
  }

  .vocabulary-footer-tools.is-wide-utility-inline {
    display: none;
  }

  .vocabulary-word-card > .vocabulary-mobile-primary-nav {
    width: min(100%, 760px);
    min-height: 60px;
    justify-self: center;
    margin-top: -2px;
    padding: 4px 6px;
    border-color: rgba(217, 226, 232, 0.9);
    border-radius: 14px;
    background: #f7f9fa;
    box-shadow: none;
    backdrop-filter: none;
  }

  .vocabulary-word-card > .vocabulary-mobile-primary-nav button {
    min-height: 50px;
  }

  .vocabulary-word-card > .vocabulary-mobile-primary-nav .vocabulary-mobile-nav-visual {
    min-width: 0;
    min-height: 44px;
    padding: 4px 8px;
  }

  .vocabulary-mobile-sheet-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
  }

  .vocabulary-mobile-sheet-panel {
    position: relative;
    z-index: 1;
  }

  .vocabulary-mobile-tools-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    padding: 14px 18px 18px;
  }

  .vocabulary-mobile-tools-panel > .vocabulary-mobile-install-guide {
    grid-column: 1 / -1;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title action"
      "message action";
    align-items: center;
    column-gap: 20px;
    row-gap: 4px;
    padding: 14px 16px;
    border-color: rgba(194, 92, 22, 0.2);
    border-radius: 14px;
    background: #fffaf6;
  }

  .vocabulary-mobile-install-title {
    display: block;
    grid-area: title;
    color: #1f2933;
    font-size: 0.96rem;
    font-weight: 800;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide p {
    grid-area: message;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide [data-mobile-vocabulary-install-native] {
    grid-area: action;
    min-width: 128px;
    min-height: 44px;
    padding: 8px 18px;
    border-color: rgba(194, 92, 22, 0.34);
    color: #ffffff;
    background: #c25c16;
  }

  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide [data-mobile-vocabulary-install-native]:hover,
  .vocabulary-mobile-tools-panel .vocabulary-mobile-install-guide [data-mobile-vocabulary-install-native]:focus-visible {
    background: #a94a13;
  }

  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-reload],
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-guide],
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-report] {
    min-height: 44px;
    padding: 8px 14px;
    border-color: rgba(207, 217, 224, 0.92);
    color: #52606d;
    background: #f8fafb;
    box-shadow: none;
  }

  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-reload]:hover,
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-reload]:focus-visible,
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-guide]:hover,
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-guide]:focus-visible,
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-report]:hover,
  .vocabulary-mobile-tools-panel > [data-mobile-vocabulary-report]:focus-visible {
    border-color: rgba(194, 92, 22, 0.3);
    color: #9b4710;
    background: #fffaf6;
  }

  .vocabulary-mobile-card-tabs .vocabulary-mobile-favorite[aria-pressed="true"]:not(.is-active) {
    color: var(--ink-soft);
    background: transparent;
    box-shadow: none;
  }

  .vocabulary-mobile-card-tabs .vocabulary-mobile-favorite.is-active {
    color: #ff6a00;
    border-color: rgba(194, 92, 22, 0.34);
    background: rgba(255, 246, 238, 0.96);
  }

  .vocabulary-wide-favorite-panel {
    display: grid;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 12px 0 4px;
    gap: 10px;
  }

  .vocabulary-wide-favorite-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .vocabulary-wide-favorite-state p {
    margin: 0;
    color: #1f2933;
    font-weight: 700;
  }

  .vocabulary-wide-favorite-state button {
    min-width: 148px;
    min-height: 42px;
    padding: 9px 22px;
    border: 1px solid rgba(194, 92, 22, 0.36);
    border-radius: 12px;
    color: #fff;
    background: #ff6a00;
    font-weight: 800;
    cursor: pointer;
  }

  .vocabulary-wide-favorite-state button:hover,
  .vocabulary-wide-favorite-state button:focus-visible {
    background: #ff6a00;
  }

  .vocabulary-wide-favorite-feedback {
    align-self: end;
    min-height: 24px;
    margin: 0;
    color: #347257;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }

  .vocabulary-wide-review-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
  }

  .vocabulary-wide-review-action-row .vocabulary-mobile-learning-preview-status {
    margin: 0;
  }

  .vocabulary-wide-review-action {
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid rgba(194, 92, 22, 0.34);
    border-radius: 11px;
    color: #ffffff;
    background: #ff6a00;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }

  .vocabulary-wide-review-action:hover,
  .vocabulary-wide-review-action:focus-visible {
    background: #ff6a00;
  }

  .vocabulary-wide-review-action:disabled {
    border-color: rgba(151, 161, 171, 0.3);
    color: #8a949e;
    background: #edf1f4;
    cursor: not-allowed;
  }
}

/* Keep every answer mode inside the same learning-card frame. */
.vocabulary-word-card.is-spelling-mode > .vocabulary-spelling-practice,
.vocabulary-word-card.is-image-recall-mode > .vocabulary-image-recall,
.vocabulary-word-card.is-comprehensive-test-mode > .vocabulary-comprehensive-test {
  width: min(100%, 760px);
  margin-inline: auto;
}

.vocabulary-word-card.is-image-recall-mode > .vocabulary-image-recall,
.vocabulary-word-card.is-comprehensive-test-mode > .vocabulary-comprehensive-test {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
