/*
 * Phone layout. Loaded last (after page styles) with media="(max-width: 620px)",
 * so the desktop design stays untouched. Goal: the real content (lessons,
 * texts, word sets) starts on the first screen instead of after long intros.
 */

/* Intro blocks: title + one main button, no long lead text */
.hero,
.ls-hero,
.vc-hero,
.quiz-hero {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 14px;
}

.hero .eyebrow,
.ls-hero .eyebrow,
.vc-hero .eyebrow,
.quiz-hero .eyebrow {
    margin-bottom: 6px;
    font-size: 12.5px;
}

.hero h1,
.ls-hero h1,
.vc-hero h1,
.quiz-hero h1 {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.12;
}

.quiz-hero h1 { margin-bottom: 0; }

.hero-lead,
.hero-stats,
.ls-stats,
.vc-stats,
.anatomy,
.rd-demo,
.ls-demo,
.ls-hero::before,
.vc-hero::before { display: none; }

.hero-actions { gap: 8px; }

.hero-actions .button { flex: 1 1 auto; justify-content: center; padding-top: 12px; padding-bottom: 12px; }

.hero-actions .button-quiet { display: none; }

/* "How it works" blocks are already explained inside every lesson */
.ls-method,
.vc-method { display: none; }

/* Level pickers: one compact scrollable row */
.levels-overview { padding-top: 6px; }

.levels-overview .section-heading p { display: none; }

.section-heading h2 { font-size: 26px; }

.levels-overview .section-heading h2 { margin-bottom: 12px; }

.level-cards,
.ls-level-cards,
.vc-levels {
    display: flex;
    gap: 8px;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.level-cards::-webkit-scrollbar,
.ls-level-cards::-webkit-scrollbar,
.vc-levels::-webkit-scrollbar { display: none; }

.level-card,
.ls-level-card,
.vc-level {
    flex: 0 0 auto;
    min-width: 118px;
    gap: 3px;
    padding: 11px 13px;
    border-radius: 14px;
    scroll-snap-align: start;
}

.level-card:last-child { grid-column: auto; }

.level-card strong,
.ls-level-card strong { margin-top: 2px; font-size: 15px; }

.level-card-count,
.ls-level-card small,
.vc-level small { font-size: 12.5px; }

.ls-levels { padding-top: 10px; }

.vc-search-box { padding-top: 4px; }

.vc-course { padding-top: 20px; }

.level { padding-top: 40px; }

/* Vocabulary "today" card: tighter */
.vc-due,
.vc-wotd { padding: 16px; border-radius: 18px; }

/* Quiz: options start right under the title */
.quiz-hero { padding-bottom: 18px; }

.quiz-note { font-size: 14px; }

.vc-today { gap: 10px; }

.vc-due-top small { font-size: 13.5px; }

.vc-due-numbers { gap: 6px; margin: 12px 0; }

.vc-due-numbers div { padding: 6px 4px; }

.vc-due-numbers b { font-size: 21px; }

.vc-due-numbers span { font-size: 12px; }

.vc-wotd-word strong { font-size: 24px; }

.vc-wotd p { display: none; }

/* Inner pages: shorter headers */
.rd-predict { padding: 14px 16px; }

.rd-predict p:not(.rd-predict-summary) { display: none; }

.ls-panel-head h2 { font-size: 25px; }

.ls-panel-head p { font-size: 14.5px; }

.vc-ring { width: 58px; height: 58px; }

.vc-ring strong { font-size: 17px; }

.vc-page-head { flex-direction: row; align-items: flex-start; gap: 12px; margin-bottom: 16px; }

.vc-page-head > :first-child { min-width: 0; }

.vc-page-progress { flex-direction: column; gap: 2px; font-size: 12px; }

.vc-page-summary { font-size: 14.5px; }

/* Back button: always visible; on phones it takes the logo’s place */
.site-header-inner.has-back { gap: 8px; }

.has-back .brand { display: none; }

.header-back { flex: 0 1 auto; min-width: 0; height: 42px; padding: 0 12px 0 8px; font-size: 14.5px; }

.header-back span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.header-actions .header-account img,
.header-actions .header-account .avatar { width: 38px; height: 38px; }
