/* === MAIN.CSS ===
 * путь: assets/css/main.css
 * НАЗНАЧЕНИЕ: Layout, header, базовые компоненты SPA (стиль вайрфрейма v3)
 * СВЯЗИ: после variables.css, перед word.css
 */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--bg-soft);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan-dark); }

/* ----- Header ----- */
.app-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--navy);
    height: var(--header-h);
    box-shadow: 0 2px 12px rgba(27, 39, 97, 0.20);
}
.app-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-decoration: none;
}
.app-logo:hover { text-decoration: none; }
.app-logo-mark {
    background: var(--cyan);
    color: var(--navy);
    font-weight: 900;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: 0.05em;
}
.app-logo-text {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.03em;
}

/* ----- Breadcrumbs ----- */
.app-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.app-breadcrumbs:empty { display: none; }
.app-bc-sep {
    color: rgba(255, 255, 255, 0.20);
    flex: 0 0 auto;
}
.app-bc-link {
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: color 0.15s;
    text-decoration: none;
}
.app-bc-link:hover { color: var(--cyan); text-decoration: none; }
.app-bc-cur {
    color: rgba(255, 255, 255, 0.75);
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ----- Search ----- */
.app-search-wrap {
    position: relative;
    flex: 0 1 320px;
    max-width: 320px;
}
.app-search {
    width: 100%;
    height: 34px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}
.app-search::placeholder { color: rgba(255, 255, 255, 0.45); }
.app-search:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--cyan);
}
.app-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: var(--bg);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 60vh;
    overflow-y: auto;
    z-index: var(--z-dropdown);
}
.search-result-item {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: var(--transition);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cyan-pale); }
.search-result-en { font-weight: 700; color: var(--navy); font-size: 13px; }
.search-result-uk { color: var(--text-muted); font-size: 11px; }
.search-result-theme {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--gray);
    padding: 3px 8px;
    border-radius: 999px;
    flex: 0 0 auto;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.search-results-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* ----- User ----- */
.app-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.app-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex: 0 0 auto;
}

/* ----- Main ----- */
.app-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--gap-lg) var(--gap-md);
    min-height: calc(100vh - var(--header-h));
}
.app-loading {
    text-align: center;
    padding: var(--gap-xl);
    color: var(--text-muted);
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    user-select: none;
    background: var(--bg);
    color: var(--text);
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
}
.btn-primary:hover {
    background: var(--cyan-dark);
    border-color: var(--cyan-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-cyan);
}
.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: #fff; }
.btn-secondary {
    background: var(--bg);
    color: var(--text-mid);
    border-color: var(--gray-2);
}
.btn-secondary:hover { background: var(--gray); color: var(--navy); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-link {
    background: transparent;
    border: none;
    color: var(--cyan);
    padding: 0 var(--gap-sm);
    height: auto;
}
.btn-link:hover { text-decoration: underline; background: transparent; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 14px; }
.btn-sm { padding: 6px 12px; font-size: 11px; }
.btn-icon {
    width: 36px;
    padding: 0;
    flex: 0 0 auto;
}
.is-disabled, [aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
}

/* ----- Page header ----- */
.page-header {
    margin-bottom: var(--gap-lg);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gap-md);
    flex-wrap: wrap;
}
.page-title {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    font-weight: 900;
    margin: 0;
    color: var(--navy);
    line-height: 1.15;
}
.page-subtitle { font-size: var(--fs-sm); color: var(--text-muted); }
.page-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid var(--gray-2);
    background: var(--bg);
    transition: all 0.15s;
    text-decoration: none;
    margin-bottom: var(--gap-sm);
}
.page-back:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }

/* ----- Section header ----- */
.section-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: var(--gap-md);
    flex-wrap: wrap;
}
.section-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 17px;
    color: var(--navy);
}
.section-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* =================================================
   SCREEN: SETS SELECTOR (kits)
   ================================================= */
.sets-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.sets-hero {
    text-align: center;
    margin-bottom: 48px;
}
.sets-kicker {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--cyan);
    margin-bottom: 14px;
}
.sets-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 12px;
}
.sets-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.sets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.set-tile {
    background: var(--bg-card);
    border: 1.5px solid var(--gray-2);
    border-radius: 18px;
    padding: 28px 22px 24px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.set-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cyan);
    opacity: 0;
    transition: opacity 0.2s;
}
.set-tile:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}
.set-tile:hover::before { opacity: 1; }
.set-tile.set-tile-locked {
    opacity: 0.65;
    cursor: not-allowed;
}
.set-tile.set-tile-locked:hover {
    transform: none;
    border-color: var(--gray-2);
    box-shadow: var(--shadow);
}
.set-tile.set-tile-locked:hover::before { opacity: 0; }

/* Активный тайл (текущий выбранный набор) */
.set-tile.set-tile-active {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px var(--cyan), var(--shadow-lg);
}
.set-tile.set-tile-active::after {
    content: '●';
    position: absolute;
    top: 12px;
    right: 16px;
    color: var(--cyan);
    font-size: 18px;
}

/* Кликабельный тайл (доступный набор) */
.set-tile[data-set-slug]:not(.set-tile-locked) {
    cursor: pointer;
}

.set-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--cyan);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: -0.01em;
    margin: 0 auto 16px;
}
.set-badge-irr { font-size: 9px; letter-spacing: -0.02em; }
.set-name {
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.2;
}
.set-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.5;
    min-height: 32px;
}
.set-meta {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}
.set-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.set-meta-val {
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
}
.set-meta-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.set-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    border-top: 1px solid var(--gray-2);
    padding-top: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.set-tile-locked .set-arrow {
    color: var(--text-muted);
}

.sets-how {
    background: var(--navy);
    border-radius: 16px;
    padding: 28px 32px;
}
.sets-how-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
}
.sets-how-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sets-how-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.sets-how-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--cyan);
    color: var(--navy);
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.sets-how-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 400;
}
.sets-how-text strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

/* =================================================
   SCREEN: KIT HOME (главная набора A1)
   ================================================= */
.kit-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.kit-hero {
    background: var(--navy);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
}
.kit-hero-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan);
    margin-bottom: 8px;
}
.kit-hero-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}
.kit-hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    font-weight: 400;
}
.kit-hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.kit-hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.kit-hero-meta-val {
    font-size: 18px;
    font-weight: 900;
    color: var(--cyan);
}
.kit-hero-meta-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ----- Theme grid (модули/темы) ----- */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}
.theme-card {
    background: var(--bg-card);
    border: 1.5px solid var(--gray-2);
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(27, 39, 97, 0.05);
    text-decoration: none;
    color: inherit;
}
.theme-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
}
.theme-card-num {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray);
    border: 1px solid var(--gray-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: var(--text-mid);
    flex-shrink: 0;
    transition: all 0.18s;
    font-family: var(--font);
}
.theme-card:hover .theme-card-num {
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
}
.theme-card-info { flex: 1; min-width: 0; }
.theme-card-title {
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}
.theme-card-en {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 3px;
}
.theme-card-count {
    font-size: 12px;
    color: var(--text-mid);
}
.theme-card-arrow {
    color: var(--gray-2);
    font-size: 18px;
    transition: color 0.15s;
    flex: 0 0 auto;
}
.theme-card:hover .theme-card-arrow { color: var(--cyan); }

/* ----- Pron teaser (заглушка к проверке произношения) ----- */
.pron-teaser {
    background: var(--cyan-pale);
    border: 1.5px solid var(--cyan-mid);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    cursor: default;
}
.pron-teaser-icon { font-size: 28px; flex-shrink: 0; }
.pron-teaser-info { flex: 1; }
.pron-teaser-title {
    font-weight: 900;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 4px;
}
.pron-teaser-sub {
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.5;
}
.pron-teaser-tag {
    background: var(--navy);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =================================================
   SCREEN: MODULE (тема набора)
   ================================================= */
.module-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.module-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.module-title-block { flex: 1; min-width: 0; }
.module-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan);
    margin-bottom: 6px;
}
.module-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 4px;
}
.module-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.module-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.module-search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--gray-2);
    border-radius: 10px;
    padding: 9px 14px;
    transition: border-color 0.15s;
}
.module-search-box:focus-within { border-color: var(--cyan); }
.module-search-icon { color: var(--text-muted); font-size: 14px; }
.module-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 13px;
    color: var(--navy);
    background: transparent;
    font-weight: 500;
}
.module-search-input::placeholder { color: var(--text-muted); font-weight: 400; }
.module-search-count {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 600;
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.word-tile {
    background: var(--bg-card);
    border: 1.5px solid var(--gray-2);
    border-radius: 10px;
    padding: 12px 12px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}
.word-tile:hover {
    border-color: var(--cyan);
    box-shadow: 0 3px 10px rgba(29, 180, 232, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}
.word-tile-num {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 0.04em;
}
.word-tile-en {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
    line-height: 1.2;
    word-break: break-word;
}
.word-tile-uk {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.word-tile-audio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--cyan-pale);
    border: 1px solid var(--cyan-mid);
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.12s;
    font-family: var(--font);
}
.word-tile-audio:hover { background: var(--cyan); color: var(--navy); }
.word-tile-audio.is-playing {
    background: var(--cyan);
    color: var(--navy);
}

/* ----- Forms ----- */
.form-field {
    display: block;
    margin-bottom: var(--gap-md);
}
.form-field span {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.form-field input {
    width: 100%;
    height: var(--input-h);
    padding: 0 var(--gap);
    border: 1.5px solid var(--gray-2);
    border-radius: var(--radius);
    font-size: var(--fs-md);
    font-family: inherit;
    background: var(--bg);
    outline: none;
    transition: var(--transition);
    color: var(--navy);
}
.form-field input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-pale);
}

/* ----- Alerts ----- */
.alert {
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: var(--gap-md);
    font-size: var(--fs-md);
    border: 1.5px solid transparent;
}
.alert-error {
    background: var(--red-pale);
    color: #991B1B;
    border-color: rgba(229, 57, 53, 0.30);
}
.alert-info {
    background: var(--cyan-pale);
    color: var(--navy);
    border-color: var(--cyan-mid);
}

/* ----- Toast ----- */
.toast-container {
    position: fixed;
    top: calc(var(--header-h) + var(--gap));
    right: var(--gap);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    pointer-events: none;
}
.toast {
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: var(--fs-md);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    max-width: 380px;
    font-weight: 500;
    animation: toast-in 200ms ease;
}
.toast-info { background: var(--cyan); color: var(--navy); }
.toast-warn { background: var(--amber); color: #fff; }
.toast-error { background: var(--red); color: #fff; }
@keyframes toast-in {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ----- Empty state ----- */
.empty-state {
    text-align: center;
    padding: var(--gap-xl);
    color: var(--text-muted);
}
.empty-state-emoji { font-size: 48px; margin-bottom: var(--gap-sm); }

/* ----- Адаптив ----- */
@media (max-width: 768px) {
    .app-header-inner {
        gap: 8px;
        padding: 0 12px;
    }
    .app-logo-text { display: none; }
    .app-breadcrumbs {
        font-size: 11px;
        gap: 4px;
    }
    .app-search-wrap { flex: 1 1 auto; max-width: none; }
    .app-user-avatar { width: 26px; height: 26px; font-size: 9px; }
    .app-main {
        padding: var(--gap-md) var(--gap-sm);
    }
    .sets-wrap {
        padding: 24px 12px 60px;
    }
    .sets-grid {
        grid-template-columns: 1fr;
    }
    .sets-how {
        padding: 20px;
    }
    .kit-wrap {
        padding: 20px 12px 60px;
    }
    .kit-hero {
        padding: 20px;
    }
    .kit-hero-meta { gap: 18px; }
    .theme-grid {
        grid-template-columns: 1fr;
    }
    .module-wrap {
        padding: 16px 12px 60px;
    }
    .words-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .pron-teaser {
        flex-wrap: wrap;
    }
    .pron-teaser-tag {
        margin-left: 46px;
    }
}
