/* Larger base font for accessibility — affects all vocabulary pages */
.vocab-scope {
    font-size: 20px;
    line-height: 1.7;
}

/* Flashcard Setup Styles */
.vocab-scope .theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin: 20px 0 30px 0;
}

.vocab-scope .theme-card {
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    min-height: 100px;
    width: 100%;
    font-family: inherit;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-color);
    box-sizing: border-box;
}

.vocab-scope .theme-card:hover {
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.vocab-scope .theme-card.active {
    border-color: var(--primary-color);
    background-color: #e6f0ff;
    box-shadow: 0 4px 12px rgba(0,51,102,0.15);
}

/* Mode Grid Styles (Index Page) */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.mode-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #eee;
}

.mode-card .mode-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.mode-card h3 {
    margin: 10px 0;
    color: #333;
    font-size: 1.794em;
}

.mode-card p {
    color: #666;
    font-size: 1.345em;
    margin: 0;
    line-height: 1.5;
}

.theme-icon, .theme-emoji {
    font-size: 2.5em;
    margin-bottom: 8px;
    display: block;
}

.theme-name {
    font-weight: bold;
    color: #444;
}

.setup-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 12px 40px;
    font-size: 1.794em;
}

/* Mode Selection Styles */
.mode-selection-container {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mode-options {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.mode-option {
    flex: 1;
    min-width: 200px;
    cursor: pointer;
    position: relative;
}

.mode-option input {
    position: absolute;
    opacity: 0;
}

.mode-content {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mode-option input:checked + .mode-content {
    border-color: var(--primary-color);
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(0,51,102,0.1);
}

.mode-icon {
    font-size: 2em;
    margin-right: 15px;
}

.mode-info {
    display: flex;
    flex-direction: column;
}

.mode-title {
    font-weight: bold;
    color: var(--text-color, #333);
    margin-bottom: 4px;
}

.mode-desc {
    font-size: 1.27em;
    color: #666;
}

/* Quiz Styles */
.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    text-align: center;
}

.quiz-header {
    margin-bottom: 30px;
    position: relative;
}

.quiz-word {
    font-size: 3.738em;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.quiz-options {
    display: grid;
    gap: 12px;
}

/* Word List Styles */
.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ── 无图片的原始卡片 ── */
.word-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.word-card.saved {
    border-color: #ffd700;
    background-color: #fffdf5;
}

.word-hu {
    font-size: 2.542em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.word-zh {
    font-size: 1.615em;
    color: #243447;
    margin-bottom: 0;
    font-weight: 600;
}

.word-example {
    font-size: 1.42em;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.4;
    background: #f9f9f9;
    padding: 10px 12px;
    border-radius: 6px;
    flex-grow: 1;
    min-height: 72px;
    border-left: 3px solid rgba(44,123,229,0.16);
}

.example-zh {
    font-size: 1.345em;
    color: #888;
    margin-top: 6px;
    border-top: 1px dashed #eee;
    padding-top: 6px;
}

.word-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
}

.word-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef5ff 0%, #f7fbff 100%);
}

.word-media__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.word-media__badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    font-size: 1.121em;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    color: #46607d;
    backdrop-filter: blur(6px);
}

.word-media--object,
.word-media--scene {
    min-height: 170px;
}

.word-media--scene .word-media__badge {
    background: rgba(44,123,229,0.12);
    color: #2c7be5;
}

.word-media--icon {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f9ff 0%, #eef4fb 100%);
}

.word-media--small.word-media--object,
.word-media--small.word-media--scene {
    min-height: 78px;
}

.word-media--small.word-media--icon {
    min-height: 78px;
}

.word-media__icon {
    font-size: 2.4em;
    line-height: 1;
}

/* ── 图片背景卡片 ── */
.word-card--photo {
    position: relative;
    height: 300px;
    padding: 0;
    background: #c5bdb5;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.word-card--photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

/* 图片铺满 */
.word-card--photo .word-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.word-card--photo:hover .word-card__bg {
    transform: scale(1.05);
}

/* 渐变蒙层 */
.word-card--photo .word-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.02) 0%,
        rgba(0,0,0,0.18) 45%,
        rgba(0,0,0,0.72) 75%,
        rgba(0,0,0,0.88) 100%
    );
    pointer-events: none;
}

/* 图片加载失败时降级 */
.word-card--no-img .word-card__overlay {
    background: none;
}
.word-card--no-img .word-card__content {
    color: #333 !important;
}
.word-card--no-img .word-hu,
.word-card--no-img .word-zh {
    color: var(--primary-color) !important;
}
.word-card--no-img .word-example--photo {
    background: #f9f9f9 !important;
    color: #555 !important;
}
.word-card--no-img .word-example--photo .example-zh {
    color: #888 !important;
    border-top-color: #eee !important;
}

/* 文字内容区 */
.word-card--photo .word-card__content {
    position: relative;
    z-index: 2;
    padding: 14px 16px 16px;
    color: white;
}

.word-card--icon {
    gap: 14px;
}

.word-card--icon .word-media {
    min-height: 110px;
}

.word-card--photo .word-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

/* 覆盖颜色：图片卡上的标题用白色 */
.word-card--photo .word-hu {
    color: #fff;
    font-size: 2.243em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    margin-bottom: 2px;
}

.word-card--photo .word-zh {
    color: rgba(255,255,255,0.72);
    font-size: 1.42em;
    margin-bottom: 0;
}

/* 例句区 */
.word-example--photo {
    font-size: 1.316em;
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 0;
    flex-grow: 0;
}

.word-example--photo .example-zh {
    color: rgba(255,255,255,0.52);
    border-top-color: rgba(255,255,255,0.2);
    margin-top: 5px;
    padding-top: 5px;
}

/* 图片卡按钮 */
.word-card--photo .word-actions {
    margin-top: 0;
}

.word-card--photo .btn-audio,
.word-card--photo .btn-save {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    color: white;
    backdrop-filter: blur(4px);
}

.word-card--photo .btn-audio:hover {
    background: rgba(255,255,255,0.28);
    border-color: white;
    color: white;
}

.word-card--photo .btn-save:hover,
.word-card--photo .btn-save.saved {
    background: rgba(245,158,11,0.35);
    border-color: #fbbf24;
    color: #fde68a;
}

/* ── 例句关键词高亮 ── */
.kw-highlight {
    color: #fcd34d;
    font-weight: 600;
    font-style: italic;
}

/* 无图片卡片里的高亮用主色 */
.word-card:not(.word-card--photo) .kw-highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-style: normal;
    background: rgba(0, 80, 180, 0.08);
    border-radius: 3px;
    padding: 0 2px;
}

.btn-audio, .btn-save {
    background: none;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.345em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-audio:hover {
    background: #f0f7ff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-save:hover {
    background: #fffdf0;
    color: #f59e0b;
    border-color: #f59e0b;
}

.btn-save.saved {
    color: #f59e0b;
    border-color: #f59e0b;
    background: #fffdf0;
}

/* Flashcard Specific Styles */
.card-example {
    font-size: 1.42em;
    color: #555;
    margin-top: 15px;
    font-style: italic;
    padding: 0 10px;
}

.card-example-zh {
    font-size: 1.345em;
    color: #888;
    margin-top: 8px;
    border-top: 1px dashed #eee;
    padding-top: 8px;
    font-style: normal;
}

.card-media,
.quiz-media {
    margin: 12px auto 16px;
    max-width: 360px;
}

.card-media:empty,
.quiz-media:empty {
    display: none;
}

.flashcard-front .card-word {
    font-size: 4.485em;
    font-weight: 800;
    line-height: 1.15;
}

.flashcard-back .card-translation {
    font-size: 2.317em;
    font-weight: 700;
    color: #243447;
}

.flashcard-back .card-example {
    font-size: 1.495em;
    line-height: 1.55;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
}

.flashcard-back .card-example-zh {
    font-size: 1.405em;
    line-height: 1.55;
}

.quiz-word {
    font-size: 4.186em;
    font-weight: 800;
    line-height: 1.2;
}

.card-media .word-media,
.quiz-media .word-media {
    min-height: 150px;
}

.card-media .word-media--icon,
.quiz-media .word-media--icon {
    min-height: 96px;
}

/* Rebuilt vocabulary pages */
.vocab-page-shell,
.mywords-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.vocab-study-shell,
.vocab-training-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 56px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

.vocab-hero-card,
.vocab-sidebar-card,
.study-focus-card,
.study-list-card,
.training-detail-card,
.mywords-stat-card,
.myword-card,
.empty-state-card {
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(208, 216, 228, 0.6);
    box-shadow: 0 14px 40px rgba(28, 52, 84, 0.08);
    border-radius: 28px;
}

.vocab-kicker {
    margin: 0 0 8px;
    font-size: 1.226rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6a7c93;
    font-weight: 700;
}

.vocab-hero-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 28px 30px;
    margin-bottom: 26px;
}

.vocab-hero-card h2,
.study-list-head h3,
.training-detail-card h2,
.vocab-sidebar-card h2 {
    margin: 0;
    color: #19324f;
}

.vocab-hero-copy {
    margin: 10px 0 0;
    color: #526476;
    font-size: 1.539rem;
    max-width: 640px;
    line-height: 1.75;
}

.vocab-hero-note {
    flex: 0 0 240px;
    background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
    border-radius: 20px;
    padding: 18px 20px;
    color: #314a68;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.vocab-entry-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px;
    border-radius: 28px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(208, 216, 228, 0.6);
    box-shadow: 0 14px 40px rgba(28, 52, 84, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vocab-entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(28, 52, 84, 0.12);
}

.vocab-entry-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(180deg, #f0f6ff 0%, #e4efff 100%);
    color: #2c7be5;
    flex-shrink: 0;
}

.vocab-entry-body h3 {
    margin: 4px 0 10px;
    color: #16314d;
}

.vocab-entry-body p {
    margin: 0;
    color: #5b6d80;
    line-height: 1.72;
}

.vocab-entry-link {
    display: inline-block;
    margin-top: 16px;
    color: #2c7be5;
    font-weight: 700;
}

.vocab-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vocab-sidebar-card {
    padding: 22px 20px;
}

.vocab-sidebar-card--soft {
    background: linear-gradient(180deg, #f7fbff 0%, #f0f6ff 100%);
}

.vocab-sidebar-note {
    color: #5d6f83;
    line-height: 1.7;
    margin: 10px 0 0;
}

.vocab-theme-nav,
.training-mode-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.vocab-theme-btn,
.training-mode-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(208, 216, 228, 0.8);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    color: #33475b;
}

.vocab-theme-btn:hover,
.training-mode-btn:hover {
    border-color: rgba(44, 123, 229, 0.35);
    transform: translateX(2px);
}

.vocab-theme-btn.active,
.training-mode-btn.active {
    background: linear-gradient(180deg, #eef5ff 0%, #e2eeff 100%);
    border-color: rgba(44, 123, 229, 0.42);
    color: #154b9f;
    box-shadow: 0 10px 24px rgba(44, 123, 229, 0.12);
}

.vocab-theme-btn__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f5f8fc;
    color: #2c7be5;
    font-size: 1.42rem;
    font-weight: 800;
    flex-shrink: 0;
}

.vocab-theme-btn__label {
    font-weight: 600;
}

.vocab-session-progress {
    margin-top: 14px;
}

.vocab-session-bar {
    width: 100%;
    height: 10px;
    background: rgba(44, 123, 229, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

.vocab-session-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c7be5 0%, #6ba8ff 100%);
    border-radius: 999px;
}

.vocab-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vocab-study-header,
.study-list-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.vocab-panel-copy,
.study-list-meta {
    color: #5e6e80;
    line-height: 1.7;
    margin: 10px 0 0;
}

.study-focus-card,
.study-list-card,
.training-detail-card {
    padding: 28px 30px;
}

.study-focus-topline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.vocab-level-pill,
.vocab-theme-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 1.166rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vocab-level-pill {
    background: #fceef5;
    color: #c1487e;
}

.vocab-theme-pill {
    background: #eef6ff;
    color: #2c7be5;
}

.study-headline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.study-headline-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.study-word {
    margin: 0;
    font-size: clamp(4.037rem, 4vw, 6.578rem);
    line-height: 1.05;
    color: #1357b8;
    letter-spacing: -0.03em;
}

.study-word-zh {
    margin: 10px 0 0;
    font-size: 2.093rem;
    color: #24394d;
    font-weight: 600;
}

.study-audio-btn,
.study-save-btn,
.myword-remove-btn {
    border: 0;
    border-radius: 18px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
}

.study-audio-btn {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    font-size: 1.794rem;
    color: #165fc5;
}

.study-save-btn {
    background: #f5f8fb;
    color: #23425f;
}

.study-save-btn.saved {
    background: #fff7df;
    color: #b97a03;
}

.study-example-card,
.study-hint-box {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f6f9fd;
    border: 1px solid rgba(208, 216, 228, 0.7);
}

.study-label {
    margin: 0 0 10px;
    font-size: 1.226rem;
    color: #72859a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.study-example-hu,
.study-hint-text {
    margin: 0;
    color: #24384c;
    font-size: 1.615rem;
    line-height: 1.75;
}

.study-example-zh {
    margin: 10px 0 0;
    color: #67788b;
    line-height: 1.7;
}

.study-nav-row,
.training-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.theme-word-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.theme-word-chip {
    border: 1px solid rgba(208, 216, 228, 0.85);
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.theme-word-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 123, 229, 0.32);
}

.theme-word-chip.active {
    background: linear-gradient(180deg, #eef5ff 0%, #e5efff 100%);
    border-color: rgba(44, 123, 229, 0.44);
}

.theme-word-chip__hu {
    display: block;
    color: #16468f;
    font-weight: 700;
    font-size: 1.495rem;
}

.theme-word-chip__zh {
    display: block;
    color: #607286;
    margin-top: 6px;
    font-size: 1.375rem;
}

.training-points {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #56687b;
    line-height: 1.85;
}

.training-detail-card:not(.training-detail-card--active) {
    display: none;
}

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

.mywords-stat-card {
    padding: 24px 26px;
}

.mywords-stat-card h2 {
    margin: 8px 0 4px;
    font-size: 3.588rem;
    color: #173a62;
}

.mywords-stat-card p:last-child {
    margin: 0;
    color: #64778b;
}

.mywords-controls {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 22px 0;
    flex-wrap: wrap;
}

.mywords-filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.myword-card {
    padding: 22px 24px;
}

.myword-card--link {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.myword-card--link:hover,
.myword-card--link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(44, 123, 229, 0.34);
    box-shadow: 0 18px 44px rgba(28, 52, 84, 0.12);
    outline: none;
}

.myword-card--link .myword-card__top h3::after {
    content: "打开词页";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-left: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2c7be5;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    vertical-align: middle;
}

.myword-card__top,
.myword-card__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.myword-card__top h3 {
    margin: 12px 0 8px;
    color: #15468f;
    font-size: 2.841rem;
}

.myword-card__top p {
    margin: 0;
    color: #304659;
    font-size: 1.644rem;
    font-weight: 600;
}

.myword-card__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.myword-remove-btn {
    background: #fff3f2;
    color: #d85f55;
}

.myword-status {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fdf5df;
    color: #af7b0f;
    font-weight: 700;
    font-size: 1.316rem;
}

.myword-status.mastered {
    background: #e9f8ef;
    color: #208a58;
}

.myword-meta {
    color: #718394;
    font-size: 1.405rem;
}

.empty-state-card {
    padding: 34px 28px;
    text-align: center;
}

.empty-state-card h3 {
    margin: 0 0 12px;
    color: #19324f;
}

.empty-state-card p {
    margin: 0 0 18px;
    color: #607285;
}

@media (max-width: 980px) {
    .vocab-entry-grid,
    .mywords-summary-grid {
        grid-template-columns: 1fr;
    }

    .vocab-study-shell,
    .vocab-training-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .vocab-scope {
        font-size: 22px;
        line-height: 1.7;
    }

    .vocab-page-shell,
    .mywords-shell,
    .vocab-study-shell,
    .vocab-training-shell {
        padding: 18px 14px 36px;
    }

    .vocab-hero-card,
    .study-focus-card,
    .study-list-card,
    .training-detail-card,
    .vocab-sidebar-card,
    .myword-card,
    .mywords-stat-card {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .vocab-hero-card,
    .study-headline,
    .vocab-study-header,
    .study-list-head,
    .myword-card__top,
    .myword-card__bottom {
        flex-direction: column;
    }

    .theme-word-rail {
        grid-template-columns: 1fr;
    }

    .study-headline-actions,
    .myword-card__actions,
    .study-nav-row,
    .training-detail-actions,
    .mywords-controls,
    .mywords-filter-group {
        width: 100%;
    }
}
