.must-know-page {
    --mk-ink: #102126;
    --mk-muted: #617176;
    --mk-paper: #fffdf8;
    --mk-line: rgba(16, 33, 38, 0.13);
    --mk-accent: #d76a3c;
    --mk-accent-dark: #9f3f20;
    --mk-teal: #0f766e;
    color: var(--mk-ink);
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 0 48px;
}

.must-know-page * {
    box-sizing: border-box;
}

.must-know-hero,
.must-know-toolbar,
.must-know-language-summary,
.must-know-section,
.must-know-thai-ending,
.must-know-onboarding {
    border: 1px solid var(--mk-line);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.must-know-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
}

.must-know-kicker,
.must-know-mini-label {
    display: block;
    margin: 0 0 5px;
    color: var(--mk-teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.must-know-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.must-know-player-link,
.must-know-search button,
.must-know-category-chip,
.must-know-card-actions a,
.must-know-primary-cta,
.must-know-secondary-cta,
.must-know-bulk-buttons button,
.must-know-closing-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.must-know-player-link,
.must-know-search button {
    border: 0;
    background: #111827;
    color: #ffffff;
    padding: 0 18px;
}

.must-know-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
}

.must-know-search {
    display: grid;
    grid-template-columns: minmax(170px, 0.55fr) minmax(220px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.must-know-search label {
    display: grid;
    gap: 5px;
    margin: 0;
}

.must-know-search label span {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.must-know-search select,
.must-know-search input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    background: #f8fafc;
    color: #111827;
    padding: 0 14px;
    font-weight: 700;
    outline: none;
}

.must-know-search select:focus,
.must-know-search input:focus {
    border-color: rgba(13, 148, 136, 0.8);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.must-know-category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 2px;
    scrollbar-width: thin;
}

.must-know-category-chip {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    color: #334155;
    padding: 0 14px;
    font-size: 0.9rem;
}

.must-know-category-chip.is-active {
    border-color: rgba(13, 148, 136, 0.45);
    background: #ccfbf1;
    color: #0f766e;
}

.must-know-language-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 18px;
}

.must-know-language-summary img {
    width: 46px;
    height: 34px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.must-know-language-summary div {
    display: grid;
    line-height: 1.15;
}

.must-know-language-summary strong {
    color: #0f172a;
    font-size: 1rem;
}

.must-know-language-summary span,
.must-know-language-summary small {
    color: #64748b;
    font-weight: 700;
}

.must-know-language-summary small {
    margin-left: auto;
}

/* Short language routes use an editorial cover instead of the utility-page header. */
.must-know-starter-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(24px, 5vw, 64px);
    min-height: 330px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.1), transparent 27%),
        linear-gradient(135deg, #102a30 0%, #0b2026 58%, #08181d 100%);
    box-shadow: 0 28px 70px rgba(8, 24, 29, 0.26);
    color: #f5f0e6;
}

.must-know-starter-hero::after {
    position: absolute;
    z-index: -1;
    right: -110px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 52px rgba(255, 255, 255, 0.025),
        0 0 0 104px rgba(255, 255, 255, 0.018);
    content: "";
}

.must-know-starter-copy {
    align-self: center;
    max-width: 620px;
}

.must-know-starter-copy .must-know-kicker {
    color: #efb18e;
}

.must-know-starter-copy h1 {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #fffdf8;
    letter-spacing: -0.045em;
}

.must-know-starter-copy h1 > span {
    font-size: clamp(3.35rem, 8vw, 6.8rem);
    font-weight: 900;
    line-height: 0.9;
}

.must-know-starter-copy h1 > strong {
    max-width: 560px;
    color: #f3d5c2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.must-know-starter-copy > p {
    max-width: 570px;
    margin: 20px 0 0;
    color: rgba(255, 253, 248, 0.76);
    font-size: 1rem;
    font-weight: 620;
    line-height: 1.55;
}

.must-know-starter-copy .must-know-player-link {
    margin-top: 22px;
}

.must-know-player-link.is-quiet {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fffdf8;
    backdrop-filter: blur(8px);
}

.must-know-flag-feature {
    align-self: center;
    margin: 0;
    transform: rotate(2deg);
}

.must-know-flag-feature img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 10px solid rgba(255, 253, 248, 0.96);
    border-radius: 4px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}

.must-know-flag-feature figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: 13px;
    color: rgba(255, 253, 248, 0.9);
}

.must-know-flag-feature figcaption span {
    font-size: 1.4rem;
    font-weight: 900;
}

.must-know-flag-feature figcaption strong {
    color: #efb18e;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.must-know-thai-ending {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f9f4e9;
}

.must-know-thai-ending h2,
.must-know-onboarding h2 {
    margin: 0;
    color: var(--mk-ink);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.must-know-thai-ending p,
.must-know-onboarding p {
    margin: 5px 0 0;
    color: var(--mk-muted);
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.42;
}

.must-know-ending-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(16, 33, 38, 0.12);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.78);
}

.must-know-ending-options a {
    display: grid;
    min-height: 58px;
    place-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #536267;
    text-align: center;
    text-decoration: none;
}

.must-know-ending-options a span {
    font-size: 1.05rem;
    font-weight: 900;
}

.must-know-ending-options a small {
    margin-top: 1px;
    color: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.must-know-ending-options a.is-active {
    border-color: #193d43;
    background: #193d43;
    box-shadow: 0 8px 18px rgba(16, 42, 48, 0.18);
    color: #fffdf8;
}

.must-know-ending-options a:focus-visible,
.must-know-primary-cta:focus-visible,
.must-know-secondary-cta:focus-visible,
.must-know-bulk-buttons button:focus-visible {
    outline: 3px solid rgba(215, 106, 60, 0.38);
    outline-offset: 3px;
}

.must-know-onboarding {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 22px 24px;
    border-radius: 20px;
}

.must-know-onboarding.is-anonymous {
    border-color: rgba(215, 106, 60, 0.24);
    background: linear-gradient(110deg, #fff8ef, #fffdf8 62%);
}

.must-know-onboarding.is-authenticated {
    border-color: rgba(15, 118, 110, 0.2);
    background: linear-gradient(110deg, #effcf8, #fff 64%);
}

.must-know-onboarding-actions {
    display: grid;
    gap: 9px;
    justify-items: stretch;
    min-width: 250px;
}

.must-know-primary-cta {
    min-height: 48px;
    padding: 0 22px;
    background: var(--mk-accent);
    box-shadow: 0 12px 24px rgba(159, 63, 32, 0.2);
    color: #ffffff;
}

.must-know-secondary-cta {
    min-height: 40px;
    border: 1px solid rgba(16, 33, 38, 0.15);
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.75);
    color: #294147;
    font-size: 0.86rem;
}

.must-know-bulk-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.must-know-bulk-buttons button {
    min-height: 46px;
    border: 1px solid #123f43;
    padding: 0 16px;
    background: #123f43;
    color: #ffffff;
    cursor: pointer;
}

.must-know-bulk-buttons button:first-child {
    background: #ffffff;
    color: #123f43;
}

.must-know-bulk-buttons button:disabled {
    cursor: default;
    opacity: 0.52;
}

.must-know-onboarding-actions > small {
    min-height: 18px;
    color: var(--mk-muted);
    font-size: 0.76rem;
    font-weight: 750;
    text-align: center;
}

.must-know-status {
    min-height: 24px;
    margin: 10px 4px 0;
    color: var(--mk-teal);
    font-weight: 800;
}

.must-know-status.is-error {
    color: #be123c;
}

.must-know-sections {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}

.must-know-section {
    padding: 14px;
    border-radius: 18px;
}

.must-know-sections.is-starter-set .must-know-section {
    padding: clamp(16px, 3vw, 26px);
    border-radius: 22px;
    background: var(--mk-paper);
}

.must-know-section > header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 12px;
}

.must-know-sections.is-starter-set .must-know-section > header {
    padding: 2px 2px 20px;
}

.must-know-section h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.04rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.must-know-sections.is-starter-set .must-know-section h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 500;
}

.must-know-section p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 650;
}

.must-know-section > header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 900;
}

.must-know-sections.is-starter-set .must-know-section > header > span {
    min-width: 48px;
    height: 48px;
    border: 1px solid rgba(215, 106, 60, 0.28);
    background: #fff3e8;
    color: var(--mk-accent-dark);
}

.must-know-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.must-know-sections.is-starter-set .must-know-grid {
    gap: 13px;
}

.must-know-card {
    align-items: start;
    min-height: 122px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #ffffff;
}

.must-know-card.has-selection:not(.is-starter-card) {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
}

.must-know-card.without-selection:not(.is-starter-card) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.must-know-card.is-starter-card.has-selection {
    display: grid;
    grid-template-columns: 42px 34px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 162px;
    padding: 17px;
    border-color: rgba(16, 33, 38, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 33, 38, 0.055);
}

.must-know-card.is-starter-card.without-selection {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 162px;
    padding: 17px;
    border-color: rgba(16, 33, 38, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 33, 38, 0.055);
}

.must-know-card.is-in-bucket {
    border-color: rgba(13, 148, 136, 0.35);
    background: #f0fdfa;
}

.must-know-card.is-preparing {
    opacity: 0.72;
}

.must-know-card-number {
    display: block;
    padding-top: 1px;
    color: #c45b31;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.must-know-check {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.must-know-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.must-know-check span {
    display: block;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(15, 23, 42, 0.2);
    border-radius: 9px;
    background: #ffffff;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.must-know-check input:checked + span {
    border-color: var(--mk-teal);
    background: var(--mk-teal);
    box-shadow: inset 0 0 0 6px #ffffff;
}

.must-know-check input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.25);
}

.must-know-check input:disabled + span {
    cursor: default;
    opacity: 0.72;
}

.must-know-card-main {
    min-width: 0;
}

.must-know-card-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.must-know-card-main strong {
    display: block;
    min-width: 0;
    color: #111827;
    font-size: 1.08rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.must-know-card.is-starter-card .must-know-card-main strong {
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.must-know-english,
.must-know-pronunciation {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.must-know-english {
    color: #1f2937;
    font-size: 0.96rem;
    font-weight: 850;
}

.must-know-pronunciation {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
}

.must-know-card-main p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.35;
}

.must-know-card-actions {
    display: grid;
    gap: 6px;
    justify-items: end;
}

.must-know-card-actions a {
    min-height: 32px;
    border: 1px solid rgba(13, 148, 136, 0.25);
    padding: 0 12px;
    background: #ecfeff;
    color: #0f766e;
    font-size: 0.82rem;
}

.must-know-card-actions span,
.must-know-card-actions small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 850;
}

.must-know-empty {
    margin-top: 16px;
    padding: 32px;
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 18px;
    text-align: center;
}

.must-know-closing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
    padding: 22px;
    border-radius: 18px;
    background: #102a30;
    color: #fffdf8;
}

.must-know-closing-cta span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.must-know-closing-cta a {
    min-height: 42px;
    padding: 0 18px;
    background: #efb18e;
    color: #542513;
}

@media (prefers-color-scheme: dark) {
    .must-know-page {
        --mk-ink: #f3f6f5;
        --mk-muted: #9fb0b5;
        --mk-paper: #0c1519;
        --mk-line: rgba(148, 163, 184, 0.25);
        color: #e5e7eb;
    }

    .must-know-hero,
    .must-know-toolbar,
    .must-know-language-summary,
    .must-know-section,
    .must-know-card,
    .must-know-thai-ending,
    .must-know-onboarding {
        border-color: rgba(148, 163, 184, 0.25);
        background: #0b111a;
        box-shadow: none;
    }

    .must-know-starter-hero {
        background:
            radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.08), transparent 27%),
            linear-gradient(135deg, #102a30 0%, #091b20 62%, #061317 100%);
    }

    .must-know-hero h1,
    .must-know-language-summary strong,
    .must-know-section h2,
    .must-know-card-main strong,
    .must-know-english,
    .must-know-thai-ending h2,
    .must-know-onboarding h2 {
        color: #f8fafc;
    }

    .must-know-player-link:not(.is-quiet),
    .must-know-search button {
        background: #2dd4bf;
        color: #031316;
    }

    .must-know-search select,
    .must-know-search input,
    .must-know-category-chip,
    .must-know-section > header > span,
    .must-know-ending-options {
        border-color: rgba(148, 163, 184, 0.26);
        background: #111827;
        color: #e5e7eb;
    }

    .must-know-ending-options a.is-active {
        border-color: #f0b08c;
        background: #f0b08c;
        color: #271208;
    }

    .must-know-onboarding.is-anonymous,
    .must-know-onboarding.is-authenticated {
        background: #0b111a;
    }

    .must-know-primary-cta {
        background: #e67c4f;
    }

    .must-know-secondary-cta,
    .must-know-bulk-buttons button:first-child {
        border-color: rgba(148, 163, 184, 0.32);
        background: #111827;
        color: #e5e7eb;
    }

    .must-know-card.is-in-bucket {
        border-color: rgba(45, 212, 191, 0.45);
        background: #0f2f2b;
    }

    .must-know-check span {
        border-color: rgba(226, 232, 240, 0.35);
        background: #111827;
    }
}

@media (max-width: 760px) {
    .must-know-page {
        padding: 8px 0 36px;
    }

    .must-know-hero,
    .must-know-toolbar,
    .must-know-language-summary,
    .must-know-section {
        border-radius: 14px;
    }

    .must-know-search {
        grid-template-columns: 1fr;
    }

    .must-know-search button {
        width: 100%;
    }

    .must-know-starter-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        padding: 28px 22px 24px;
        border-radius: 20px;
    }

    .must-know-starter-copy h1 > span {
        font-size: clamp(3.2rem, 18vw, 5rem);
    }

    .must-know-flag-feature {
        display: grid;
        grid-template-columns: minmax(150px, 0.72fr) minmax(110px, 0.28fr);
        align-items: end;
        gap: 14px;
        transform: none;
    }

    .must-know-flag-feature img {
        border-width: 7px;
    }

    .must-know-flag-feature figcaption {
        display: grid;
        justify-content: start;
        margin: 0 0 5px;
    }

    .must-know-thai-ending,
    .must-know-onboarding {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 16px;
    }

    .must-know-onboarding-actions {
        min-width: 0;
    }

    .must-know-ending-options {
        width: 100%;
    }

    .must-know-grid {
        grid-template-columns: 1fr;
    }

    .must-know-card.has-selection:not(.is-starter-card) {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .must-know-card.has-selection:not(.is-starter-card) .must-know-card-actions {
        grid-column: 2;
    }

    .must-know-card.without-selection:not(.is-starter-card) {
        grid-template-columns: minmax(0, 1fr);
    }

    .must-know-card.without-selection:not(.is-starter-card) .must-know-card-actions {
        grid-column: 1;
    }

    .must-know-card.is-starter-card.has-selection {
        grid-template-columns: 32px 30px minmax(0, 1fr);
        min-height: 0;
        padding: 15px;
    }

    .must-know-card.is-starter-card.has-selection .must-know-card-actions {
        grid-column: 3;
    }

    .must-know-card.is-starter-card.without-selection {
        grid-template-columns: 32px minmax(0, 1fr);
        min-height: 0;
        padding: 15px;
    }

    .must-know-card.is-starter-card.without-selection .must-know-card-actions {
        grid-column: 2;
    }

    .must-know-card-actions {
        grid-template-columns: auto auto;
        justify-content: start;
        justify-items: start;
    }

    .must-know-closing-cta {
        display: grid;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .must-know-bulk-buttons {
        grid-template-columns: 1fr;
    }

    .must-know-ending-options {
        grid-template-columns: 1fr 1fr;
    }

    .must-know-ending-options a {
        min-width: 0;
    }
}
