/* Approved variant A. Preserve the illustration, palette and physical LTR layout. */
#welcome{width:min(520px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;scrollbar-gutter:stable;border-radius:36px;direction:ltr}
#welcome .welcome-content{padding:10px 28px 26px;display:flex;flex-direction:column;align-items:center;text-align:center}
#welcome .welcome-content>img{width:240px;height:210px;flex:none;object-fit:contain;margin:0 auto}
#welcome .welcome-content>.eyebrow{font-size:.6875rem;line-height:1.5;margin:0 0 10px}
#welcome .welcome-content>h2{font-size:1.875rem;line-height:1.15;display:block;letter-spacing:-.045em;margin:0;overflow-wrap:anywhere}
#welcome .welcome-content>p:not(.eyebrow):not(.welcome-note){font-size:1rem;line-height:1.45;margin:12px 0 18px;color:#7484a0}
#welcome #learning-language{border:0;padding:0;margin:0 0 22px;width:100%;max-width:310px;min-width:0}
#welcome #learning-language legend{display:block;float:none;width:100%;text-align:center;font-size:.8125rem;line-height:1.4;color:#61728f;margin:0 0 9px;padding:0}
#welcome .course-list{display:grid;gap:10px;max-height:calc(4 * 56px + 3 * 10px + 11px);overflow-y:auto;overscroll-behavior:contain;padding:4px 7px 7px;scrollbar-gutter:stable}
#welcome .course-choice{display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 16px;border:2px solid #d7c9ed;border-radius:17px;background:#f7f4fd;box-shadow:0 3px 0 #e5ddf3;cursor:pointer;text-align:left;position:relative;color:#5b458e;transition:background .12s,border-color .12s}
#welcome .course-choice:hover{background:#f0eafb}
#welcome .course-choice:has(input:checked){background:#eee7ff;border-color:#7356d7;box-shadow:0 3px 0 #cbbbeb}
#welcome .course-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
#welcome .course-choice:has(input:focus-visible){outline:3px solid #1670bb;outline-offset:2px}
#welcome .course-name{display:flex;gap:7px;flex:1;min-width:0;flex-wrap:wrap;align-items:baseline;font-size:1.0625rem;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
#welcome .course-native{color:#6b5a83;font-size:.875rem;font-weight:400}
#welcome .course-native:before{content:'·';margin-right:7px}
#welcome .course-mark{width:25px;height:25px;border:2px solid #a99ac5;border-radius:50%;display:grid;place-items:center;flex:none}
#welcome .course-mark svg{width:19px;height:19px;fill:none;stroke:white;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
#welcome .course-choice:has(input:checked) .course-mark{background:#7356d7;border-color:#7356d7}
#welcome .course-choice:has(input:checked) .course-mark svg{visibility:visible}
#welcome #start{font-size:1.0625rem;line-height:1.4;min-width:210px;max-width:100%;min-height:52px;flex:none;white-space:normal}
#welcome #start:focus-visible{outline:3px solid #1670bb!important;outline-offset:4px;filter:none!important}
#welcome .welcome-content>.welcome-note{font-size:.75rem!important;line-height:1.5;margin:18px 0 0!important;color:#7484a0;flex:none}
#welcome bdi{unicode-bidi:isolate}
#welcome.course-compact .welcome-content>img{height:110px;width:140px}
#welcome.course-single-scroll .course-list{max-height:none;overflow:visible}
@media(max-width:420px){#welcome{border-radius:30px}#welcome .welcome-content{padding:8px 20px 23px}#welcome .welcome-content>img{height:180px;width:210px}#welcome .welcome-content>h2{font-size:1.625rem}#welcome .welcome-content>p:not(.eyebrow):not(.welcome-note){margin-top:12px;margin-bottom:16px}}
@media(max-height:650px){#welcome .welcome-content>img{height:120px;width:150px}#welcome .welcome-content{padding-top:8px}#welcome .welcome-content>.eyebrow{margin-bottom:6px}#welcome .welcome-content>p:not(.eyebrow):not(.welcome-note){margin:9px 0 12px}#welcome #learning-language{margin-bottom:17px}}
@media(max-height:480px){#welcome .welcome-content{padding:12px 24px 18px}#welcome .welcome-content>img{width:100px;height:84px}#welcome .welcome-content>h2{font-size:1.5rem}#welcome .welcome-content>.eyebrow{margin:0 0 5px}#welcome .course-list{max-height:none;overflow:visible}#welcome #learning-language{margin-bottom:14px}}
@media(min-width:600px) and (max-height:480px){#welcome .welcome-content{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:18px}#welcome .welcome-content>img{grid-column:1;grid-row:1 / span 6;width:120px;height:140px}#welcome .welcome-content>:not(img){grid-column:2;justify-self:center}#welcome .welcome-content>.welcome-note{margin-top:14px!important}}
@media(prefers-reduced-motion:reduce){#welcome .course-choice{transition:none}}
