.course-section-main--vocabulary {
  max-width: none;
  height: calc(100vh - 7.5rem);
  min-height: calc(100vh - 7.5rem);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.vocabulary-layout {
  --vocabulary-sidebar-width: 18rem;
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: calc(100vh - 7.5rem);
  min-width: 0;
}

.vocabulary-sidebar-wrap {
  position: relative;
  display: flex;
  flex: 0 0 var(--vocabulary-sidebar-width);
  width: var(--vocabulary-sidebar-width);
  min-width: 0;
  height: 100%;
  overflow: visible;
  transition: width 0.2s ease, flex-basis 0.2s ease;
}

.vocabulary-layout.is-sidebar-collapsed .vocabulary-sidebar-wrap {
  flex: 0 0 0;
  width: 0;
  overflow: hidden;
}

.vocabulary-sidebar {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 1.25rem 0 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: #eef2f6;
  border-right: 1px solid #d8e4ef;
}

.vocabulary-sidebar-resizer {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 0.4rem;
  height: 100%;
  margin-right: -0.2rem;
  border: none;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}

.vocabulary-sidebar-resizer:hover,
.vocabulary-sidebar-resizer.is-dragging,
.vocabulary-sidebar-resizer:focus-visible {
  background: rgba(90, 125, 154, 0.28);
  outline: none;
}

.vocabulary-sidebar-show-btn {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 2rem;
  margin: 0;
  padding: 0.75rem 0.2rem;
  border: none;
  border-right: 1px solid #d8e4ef;
  background: #eef2f6;
  color: #5a7d9a;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  cursor: pointer;
}

.vocabulary-sidebar-show-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  transform: rotate(90deg);
}

.vocabulary-sidebar-show-btn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.vocabulary-sidebar-show-btn:hover {
  background: #e6f0f9;
}

.vocabulary-sidebar-show-btn[hidden] {
  display: none !important;
}

.vocabulary-nav-heading-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.vocabulary-nav-heading-row .vocabulary-nav-heading {
  flex: 1 1 auto;
  min-width: 0;
}

.vocabulary-sidebar-hide-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid #d8e4ef;
  border-radius: 50%;
  background: #ebf3fa;
  color: #5a7d9a;
  box-shadow: 0 1px 4px rgba(46, 74, 104, 0.08);
  transform: translate(50%, -50%);
  cursor: pointer;
}

.vocabulary-sidebar-hide-btn svg {
  width: 0.75rem;
  height: 0.75rem;
}

.vocabulary-sidebar-hide-btn:hover {
  background: #dfeaf4;
}

body.vocabulary-sidebar-resizing {
  cursor: col-resize;
  user-select: none;
}

body.vocabulary-sidebar-resizing * {
  cursor: col-resize;
}

.vocabulary-course-cover {
  display: block;
  width: calc(100% - 1.7rem);
  max-width: 11rem;
  margin: 0 auto;
  border-radius: 0.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.vocabulary-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.vocabulary-nav-heading {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #dde8f2;
  background: #ebf3fa;
  color: #5a7d9a;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.vocabulary-nav-item,
.vocabulary-unit-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: none;
  border-bottom: 1px solid #dde8f2;
  background: #ebf3fa;
  color: #5a7d9a;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-align: left;
  cursor: pointer;
}

.vocabulary-nav-item:hover,
.vocabulary-unit-toggle:hover {
  background: #dfeaf4;
}

.vocabulary-nav-item.is-active:not(.vocabulary-nav-item--nested) {
  background: #dfeaf4;
  color: #5a7d9a;
}

.vocabulary-unit-toggle.is-active {
  background: #dfeaf4;
  color: #5a7d9a;
}

.vocabulary-unit {
  display: flex;
  flex-direction: column;
}

.vocabulary-nav-item--nested {
  padding: 0.75rem 0.85rem 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  background: #ffffff;
  color: #647d93;
  border-bottom: 1px solid #e2e8f0;
}

.vocabulary-nav-item--nested:hover {
  background: #e6f0f9;
  color: #5a7d9a;
}

.vocabulary-nav-item--nested.is-active {
  background: #e6f0f9;
  color: #5a7d9a;
  font-weight: 400;
}

.vocabulary-unit-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #dde8f2;
}

.vocabulary-unit-panel .vocabulary-nav-item--nested:last-child {
  border-bottom: none;
}

.vocabulary-unit-panel[hidden] {
  display: none !important;
}

.vocabulary-nav-item span,
.vocabulary-unit-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.vocabulary-unit-chevron {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  opacity: 0.75;
}

.vocabulary-unit.is-open .vocabulary-unit-chevron {
  transform: rotate(180deg);
}

.vocabulary-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  container-type: inline-size;
}

@container (max-width: 34rem) {
  .vocabulary-content-toolbar,
  .vocabulary-term-row {
    column-gap: 0.5rem;
    grid-template-columns: 1.75rem minmax(0, 1fr) 1px minmax(0, 1fr) 1rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .vocabulary-term-text,
  .vocabulary-term-row > .vocabulary-term-btn > .vocabulary-term-text {
    font-size: 0.88rem;
  }

  .vocabulary-term-translation,
  .vocabulary-term-row > .vocabulary-term-btn > .vocabulary-term-translation {
    font-size: 0.88rem;
  }
}

.vocabulary-content-header {
  flex-shrink: 0;
  border-bottom: 1px solid #c5d9ea;
  background: #eef1f4;
}

.vocabulary-content-header--lesson {
  background: #a8cce8;
  border-bottom-color: #97bfd9;
}

.vocabulary-content-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.65rem 1rem;
}

.vocabulary-content-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #2e4a68;
}

.vocabulary-content-breadcrumb {
  min-width: 0;
}

.vocabulary-content-unit,
.vocabulary-content-lesson {
  margin: 0;
  color: #2e4a68;
  line-height: 1.35;
}

.vocabulary-content-unit {
  font-size: 0.95rem;
  font-weight: 500;
}

.vocabulary-content-lesson {
  font-size: 0.88rem;
  font-weight: 400;
}

.vocabulary-content-toolbar {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1px minmax(0, 1fr) 1.25rem;
  flex-shrink: 0;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #d8e6f2;
  background: #e8f2fa;
  color: #5a7d9a;
  font-size: 0.82rem;
  box-sizing: border-box;
}

.vocabulary-content-header-actions {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.vocabulary-pronunciation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.vocabulary-pronunciation-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.vocabulary-content-header--lesson .vocabulary-pronunciation-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.vocabulary-pronunciation-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.vocabulary-pronunciation-btn.is-flashing {
  animation: vocabulary-pronunciation-flash 0.65s ease-in-out 4;
}

@keyframes vocabulary-pronunciation-flash {
  0%,
  100% {
    background: transparent;
    box-shadow: 0 0 0 0 rgba(126, 17, 104, 0);
  }

  50% {
    background: rgba(126, 17, 104, 0.16);
    box-shadow: 0 0 0 4px rgba(126, 17, 104, 0.28);
  }
}

.vocabulary-search-wrap--header {
  flex-shrink: 0;
  color: #2e4a68;
}

.vocabulary-content-header--lesson .vocabulary-search-wrap--header:focus-within {
  border-color: #8eb5d4;
  background: rgba(255, 255, 255, 0.45);
}

.vocabulary-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #667788;
}

.vocabulary-search-wrap:focus-within {
  border-color: #c5d4e3;
  background: #f7fafc;
}

.vocabulary-search-wrap svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.vocabulary-search-input {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  color: var(--navy);
  transition: width 0.2s ease;
}

.vocabulary-search-wrap:focus-within .vocabulary-search-input,
.vocabulary-search-wrap.is-open .vocabulary-search-input,
.vocabulary-search-input:not(:placeholder-shown) {
  width: 7rem;
}

.vocabulary-search-input:focus {
  outline: none;
}

.vocabulary-print-btn,
.vocabulary-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #667788;
  cursor: pointer;
}

.vocabulary-print-btn:hover,
.vocabulary-search-btn:hover {
  background: #e3e9ef;
  color: var(--navy);
}

.vocabulary-print-btn svg,
.vocabulary-search-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.vocabulary-list-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.vocabulary-content-toolbar,
.vocabulary-term-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1px minmax(0, 1fr) 1.25rem;
  align-items: center;
  column-gap: 0.75rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.vocabulary-term-row {
  padding: 0.95rem 1rem;
  background: #ffffff;
  transition: background-color 0.12s ease;
}

.vocabulary-term-row:hover {
  background: #f5f9fc;
}

.vocabulary-term-btn {
  display: contents;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vocabulary-term-row > .vocabulary-term-btn > .vocabulary-term-text {
  color: #2e4a68;
  font-size: 0.95rem;
}

.vocabulary-list-col-english {
  color: #5a7d9a;
  font-weight: 500;
  min-width: 0;
}

.vocabulary-content-toolbar .vocabulary-list-col-divider,
.vocabulary-list-col-divider,
.vocabulary-term-divider {
  align-self: stretch;
  width: 1px;
  min-height: 1.25rem;
  background: #c5d9ea;
}

.vocabulary-list-col-translation {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.vocabulary-language-select {
  width: 100%;
  max-width: 100%;
  padding: 0.2rem 1.5rem 0.2rem 0;
  border: none;
  background: transparent;
  color: #2e4a68;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a7d9a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.vocabulary-language-select:focus {
  outline: 2px solid #a8cce8;
  outline-offset: 2px;
}

.vocabulary-list {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
}

.vocabulary-term {
  border-bottom: 1px solid #e2e8f0;
  min-width: 0;
}

.vocabulary-term-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.vocabulary-term-star-btn.is-active .vocabulary-term-star {
  fill: #f0b429;
  stroke: #f0b429;
  color: #f0b429;
}

.vocabulary-term-star {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: #8a96a3;
}

.vocabulary-term-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vocabulary-term-translation {
  min-width: 0;
  color: #647d93;
  text-align: left;
  overflow-wrap: anywhere;
}

.vocabulary-term-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #8a96a3;
}

.vocabulary-empty {
  padding: 2rem 1.25rem;
  color: #667788;
  font-size: 0.92rem;
}

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

@media (min-width: 641px) {
  body:has(.course-section-main--vocabulary) {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .course-section-main--vocabulary {
    height: auto;
    min-height: calc(100vh - 7.5rem);
    overflow: visible;
  }

  .vocabulary-layout {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 7.5rem);
  }

  .vocabulary-sidebar-wrap {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .vocabulary-layout.is-sidebar-collapsed .vocabulary-sidebar-wrap {
    display: none;
  }

  .vocabulary-sidebar-resizer {
    display: none;
  }

  .vocabulary-sidebar-show-btn {
    width: 100%;
    flex-direction: row;
    writing-mode: horizontal-tb;
    padding: 0.55rem 0.85rem;
    border-right: none;
    border-bottom: 1px solid #d8e4ef;
  }

  .vocabulary-sidebar-show-btn svg {
    transform: none;
  }

  .vocabulary-sidebar-show-btn span {
    writing-mode: horizontal-tb;
  }

  .vocabulary-sidebar {
    flex: none;
    max-width: none;
    height: auto;
    max-height: 40vh;
    border-right: none;
    border-bottom: 1px solid #c5d4e3;
  }

  .vocabulary-content {
    height: auto;
    min-height: 50vh;
    overflow: visible;
  }

  .vocabulary-list-panel {
    overflow: visible;
  }

  .vocabulary-list {
    overflow-y: visible;
  }

  .vocabulary-course-cover {
    max-width: 8rem;
  }
}

@media print {
  .course-section-subnav,
  .show-header,
  .vocabulary-sidebar-wrap,
  .vocabulary-sidebar-show-btn,
  .vocabulary-content-toolbar,
  .vocabulary-search-wrap,
  .vocabulary-detail-overlay {
    display: none !important;
  }

  .course-section-main--vocabulary {
    height: auto;
    overflow: visible;
  }

  .vocabulary-layout {
    display: block;
    height: auto;
  }

  .vocabulary-content-title {
    font-size: 1.1rem;
  }

  .vocabulary-term-chevron {
    display: none;
  }
}

body.vocabulary-detail-open {
  overflow: hidden;
}

.vocabulary-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.vocabulary-detail-overlay[hidden] {
  display: none;
}

.vocabulary-detail {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.vocabulary-detail-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #d8e4ef;
  background: #ebf3fa;
  color: #2e4a68;
}

.vocabulary-detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #5a7d9a;
  cursor: pointer;
}

.vocabulary-detail-close:hover {
  background: rgba(255, 255, 255, 0.65);
}

.vocabulary-detail-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.vocabulary-detail-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.vocabulary-detail-stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.5rem 4.5rem;
  background: #f3f7fb;
}

.vocabulary-detail-card {
  width: min(100%, 42rem);
  padding: 1.75rem 1.5rem 1.25rem;
  border: 1px solid #d8e4ef;
  border-radius: 0.15rem;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(46, 74, 104, 0.08);
}

.vocabulary-detail-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.vocabulary-detail-word-text {
  margin: 0;
  color: #2e4a68;
  font-size: 1.45rem;
  font-weight: 600;
}

.vocabulary-detail-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.vocabulary-detail-play--small {
  width: 1.5rem;
  height: 1.5rem;
}

.vocabulary-detail-play-icon {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  background: url('/app/courses/playbutton.png') center / contain no-repeat;
}

.vocabulary-detail-play--small .vocabulary-detail-play-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.vocabulary-detail-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #4fa3e0;
  cursor: pointer;
}

.vocabulary-detail-mic svg {
  width: 1.35rem;
  height: 1.35rem;
}

.vocabulary-detail-mic--small svg {
  width: 1.15rem;
  height: 1.15rem;
}

.vocabulary-detail-mic.is-listening {
  background: #ebf3fa;
  color: #2e4a68;
}

.vocabulary-detail-mic.is-unavailable {
  animation: vocabulary-detail-shake 0.35s ease;
}

@keyframes vocabulary-detail-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

.vocabulary-detail-section {
  margin-bottom: 1rem;
  border: 1px solid #d8e4ef;
}

.vocabulary-detail-section-title {
  margin: 0;
  padding: 0.45rem 0.75rem;
  background: #ebf3fa;
  color: #5a7d9a;
  font-size: 0.82rem;
  font-weight: 600;
}

.vocabulary-detail-translation,
.vocabulary-detail-example {
  padding: 0.85rem 0.75rem;
}

.vocabulary-detail-translation {
  margin: 0;
  color: #2e4a68;
  font-size: 1rem;
}

.vocabulary-detail-example {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.vocabulary-detail-example-text {
  flex: 1 1 auto;
  margin: 0.15rem 0 0;
  color: #2e4a68;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vocabulary-detail-example-text strong {
  font-weight: 700;
}

.vocabulary-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
}

.vocabulary-detail-personal,
.vocabulary-detail-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #5a7d9a;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.vocabulary-detail-personal:hover,
.vocabulary-detail-reset:hover {
  color: #2e4a68;
}

.vocabulary-detail-personal svg,
.vocabulary-detail-reset svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.vocabulary-detail-personal.is-active {
  color: #2e4a68;
}

.vocabulary-detail-personal.is-active .vocabulary-detail-personal-star {
  fill: #f0b429;
  stroke: #f0b429;
}

.vocabulary-detail-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #5a7d9a;
  box-shadow: 0 2px 10px rgba(46, 74, 104, 0.12);
  transform: translateY(-50%);
  cursor: pointer;
}

.vocabulary-detail-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.vocabulary-detail-nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.vocabulary-detail-nav--prev {
  left: 1rem;
}

.vocabulary-detail-nav--next {
  right: 1rem;
}

@media (max-width: 640px) {
  .vocabulary-detail-stage {
    padding: 1rem 3.25rem;
  }

  .vocabulary-detail-card {
    padding: 1.25rem 1rem 1rem;
  }

  .vocabulary-detail-word {
    flex-wrap: wrap;
  }

  .vocabulary-detail-word-text {
    width: 100%;
    text-align: center;
  }

  .vocabulary-detail-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .vocabulary-detail-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}
