:root {
  --navy: #0b1830;
  --navy-2: #13284a;
  --navy-3: #1b3761;
  --coral: #ff735d;
  --coral-dark: #e85a45;
  --mint: #2eb6a2;
  --gold: #dfa94f;
  --ink: #13213a;
  --muted: #66728a;
  --soft: #8f99ab;
  --line: #e3e7ee;
  --line-strong: #d2d8e2;
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --surface-3: #e9edf3;
  --shadow-sm: 0 6px 20px rgba(19, 33, 58, 0.07);
  --shadow-md: 0 18px 52px rgba(19, 33, 58, 0.12);
  --shadow-lg: 0 34px 90px rgba(6, 18, 38, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 76px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html[data-theme="dark"] {
  --ink: #eef3fb;
  --muted: #aab5c9;
  --soft: #93a0b5;
  --line: #26364f;
  --line-strong: #344764;
  --canvas: #091323;
  --surface: #101d31;
  --surface-2: #15243a;
  --surface-3: #1c2d45;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--coral) 58%, transparent); outline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--navy); color: white; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); border-bottom: 1px solid color-mix(in srgb, var(--line) 86%, transparent); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); }
.header-inner { width: min(1440px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; text-align: left; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: var(--coral); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); font-weight: 900; font-size: 20px; letter-spacing: -2px; }
.brand-mark span { transform: translateX(-1px); }
.brand-mark.mini { width: 25px; height: 25px; border-radius: 7px; font-size: 13px; letter-spacing: 0; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { color: var(--navy); font-size: 18px; letter-spacing: -.45px; }
html[data-theme="dark"] .brand-copy strong { color: #fff; }
.brand-copy small { margin-top: 5px; color: var(--soft); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-self: stretch; margin-left: 14px; }
.nav-item { position: relative; padding: 0 17px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-item::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--coral); transform: scaleX(0); transition: transform .18s ease; }
.nav-item:hover, .nav-item.is-active { color: var(--ink); }
.nav-item.is-active::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.icon-button, .avatar-button { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.icon-button { width: 38px; height: 38px; border-radius: 10px; }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.text-button { height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
.member-button { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border: 1px solid #f0d5a3; border-radius: 11px; background: #fff8e9; color: #725323; font-size: 12px; }
.member-button strong { color: #aa681c; font-size: 15px; }
.member-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(223,169,79,.15); }
.avatar-button { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 12px; }

.app-view { display: none; min-height: calc(100vh - var(--header-height)); }
.app-view.is-active { display: block; animation: viewIn .28s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } }

.hero-wrap { position: relative; width: min(1440px, calc(100% - 64px)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 70px; padding: 66px 0 92px; }
.hero-wrap::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -320px; top: 30px; border-radius: 50%; background: radial-gradient(circle, rgba(255,115,93,.1), transparent 68%); }
.eyebrow-pill { width: max-content; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--coral) 24%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--coral) 7%, var(--surface)); color: var(--coral-dark); font-size: 12px; font-weight: 750; }
.eyebrow-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,115,93,.12); }
.hero-copy h1 { margin: 25px 0 20px; color: var(--navy); font-size: clamp(48px, 5.1vw, 78px); line-height: 1.08; letter-spacing: -.065em; font-weight: 850; }
html[data-theme="dark"] .hero-copy h1 { color: #f5f8fc; }
.hero-copy h1 em { position: relative; color: var(--coral); font-style: normal; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 2px; right: 0; bottom: -8px; height: 7px; border-radius: 50%; background: var(--coral); opacity: .16; }
.hero-lead { max-width: 580px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.82; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.primary-button, .secondary-button, .coral-button, .link-button { border: 0; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { min-height: 43px; padding: 0 18px; border-radius: 11px; background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11,24,48,.18); }
.primary-button:hover, .coral-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11,24,48,.24); }
.primary-button.large, .secondary-button.large { height: 52px; padding: 0 22px; border-radius: 13px; }
.primary-button svg { width: 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: middle; }
.secondary-button { min-height: 43px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); color: var(--ink); }
.secondary-button:hover { border-color: var(--navy-3); background: var(--surface-2); }
.play-mini { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; background: var(--surface-3); font-size: 9px; }
.trust-row { display: flex; gap: 0; margin-top: 42px; }
.trust-row div { display: grid; gap: 3px; padding: 0 23px; border-right: 1px solid var(--line); }
.trust-row div:first-child { padding-left: 0; }
.trust-row div:last-child { border: 0; }
.trust-row strong { color: var(--navy); font-size: 20px; letter-spacing: -.03em; }
html[data-theme="dark"] .trust-row strong { color: #fff; }
.trust-row span { color: var(--soft); font-size: 11px; }

.hero-product { position: relative; min-width: 0; perspective: 1200px; }
.hero-glow { position: absolute; inset: 3% 8% -7%; border-radius: 50%; background: radial-gradient(circle, rgba(255,115,93,.22), rgba(46,182,162,.1) 38%, transparent 70%); filter: blur(22px); }
.product-window { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #0b1830; color: #fff; box-shadow: var(--shadow-lg); transform: rotateY(-3deg) rotateX(1deg); }
.window-bar { height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid rgba(255,255,255,.1); background: #101f39; font-size: 12px; }
.window-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.window-progress { color: #9eacc1; }
.window-progress strong { margin-left: 5px; color: #fff; }
.window-body { display: grid; grid-template-columns: 1.14fr .86fr; min-height: 410px; }
.video-preview { position: relative; padding: 17px; border-right: 1px solid rgba(255,255,255,.1); }
.video-photo { position: relative; height: 323px; overflow: hidden; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(180deg, transparent 42%, rgba(4,12,26,.82)), url("https://images.unsplash.com/photo-1709715357510-b687304cee3a?auto=format&fit=crop&w=1100&q=82") center/cover; }
.public-site .video-photo { background-image: linear-gradient(180deg, transparent 42%, rgba(4,12,26,.82)), url("/covers/content_3224594f85bb2074.jpg"); }
.level-badge { position: absolute; left: 13px; top: 13px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; background: rgba(7,17,35,.64); backdrop-filter: blur(10px); font-size: 10px; }
.preview-play, .main-play { border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--coral); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.preview-play { width: 58px; height: 58px; padding-left: 5px; font-size: 15px; }
.video-duration, .poster-duration { position: absolute; right: 13px; bottom: 13px; padding: 5px 7px; border-radius: 6px; background: rgba(7,17,35,.7); color: white; font-size: 10px; }
.waveform { height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.waveform span { width: 3px; height: 12px; border-radius: 4px; background: #67809f; }
.waveform span:nth-child(3n) { height: 25px; background: var(--coral); }
.waveform span:nth-child(2n) { height: 18px; }
.caption-preview { padding: 28px 23px; background: #0e1b32; }
.caption-top { display: flex; justify-content: space-between; color: #8495af; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.caption-preview > p { margin: 44px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.58; }
.caption-preview mark { padding: 0 3px; background: rgba(255,115,93,.17); color: #ff9b8b; border-bottom: 1px solid var(--coral); }
.caption-preview .caption-cn { margin-top: 13px; color: #9cacbf; font-family: inherit; font-size: 13px; line-height: 1.7; }
.caption-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 42px; }
.caption-actions button { padding: 8px 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: rgba(255,255,255,.03); color: #8fa0b8; font-size: 9px; }
.caption-actions .is-current { border-color: rgba(255,115,93,.5); color: #ff9b8b; }
.floating-card { position: absolute; z-index: 4; display: grid; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(16px); box-shadow: var(--shadow-md); }
.word-float { left: -34px; bottom: -38px; min-width: 212px; padding: 15px 17px; }
.word-float span { color: var(--coral); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.word-float strong { margin-top: 7px; font-family: Georgia,serif; font-size: 17px; }
.word-float small { margin-top: 5px; color: var(--muted); }
.streak-float { right: -20px; top: -24px; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px 15px; }
.streak-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #fff3da; color: #a36b1f; font-weight: 850; }
.streak-float div { display: grid; gap: 3px; }.streak-float strong { font-size: 12px; }.streak-float small { color: var(--soft); font-size: 9px; }

.topic-strip { width: min(1220px, calc(100% - 64px)); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 auto 105px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.topic-strip > span { margin-right: 8px; color: var(--soft); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.topic-strip button, .filter-pills button { padding: 8px 13px; border: 1px solid transparent; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.topic-strip button:hover, .filter-pills button:hover, .filter-pills button.is-active { border-color: color-mix(in srgb, var(--coral) 32%, var(--line)); background: color-mix(in srgb, var(--coral) 8%, var(--surface)); color: var(--coral-dark); }

.section-block { width: min(1220px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 120px; }
.section-heading.center { text-align: center; }.section-heading h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(30px,3.2vw,44px); line-height: 1.16; letter-spacing: -.04em; }
html[data-theme="dark"] .section-heading h2 { color: #fff; }
.section-heading p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.section-kicker { color: var(--coral-dark); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.section-heading.row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }.section-heading.row h2 { font-size: 33px; }
.link-button { padding: 8px 0; background: transparent; color: var(--navy-2); font-size: 13px; }.link-button:hover { color: var(--coral-dark); transform: translateX(2px); }
html[data-theme="dark"] .link-button { color: #dce7f7; }
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article { position: relative; min-height: 268px; padding: 32px 28px; border-right: 1px solid var(--line); }.method-grid article:last-child { border: 0; }
.step-number { position: absolute; right: 20px; top: 22px; color: var(--surface-3); font-size: 38px; font-weight: 900; }
.method-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--navy) 6%, var(--surface)); }
.method-icon i { width: 20px; height: 20px; display: block; border: 2px solid var(--navy-3); border-radius: 50%; }
.method-icon.understand i { border-radius: 5px; box-shadow: 7px 7px 0 -3px var(--coral); }.method-icon.speak i { border-radius: 10px 10px 4px 4px; border-color: var(--mint); }.method-icon.remember i { border-style: dashed; border-color: var(--gold); }
.method-grid h3 { margin: 24px 0 10px; color: var(--navy); font-size: 17px; }.method-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
html[data-theme="dark"] .method-grid h3 { color: #fff; }

.video-cover-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .18s ease; }
.is-cover-ready .video-cover-image { opacity:1; }
.cover-placeholder { position:absolute; inset:0; display:grid; place-items:center; padding:48px 20px; background:var(--navy); color:#b8c6d8; font-size:12px; text-align:center; }
.is-cover-ready .cover-placeholder { display:none; }
.is-cover-error .video-cover-image { visibility:hidden; }

/* Subtitle reading uses the same typography, surfaces and accent as the study UI. */
.mode-tabs { flex:1; }
.reader-launch { flex:0 0 auto; display:flex; align-items:center; justify-content:center; gap:6px; height:34px; padding:0 10px; border:1px solid var(--line-strong); border-radius:8px; background:var(--surface-2); color:var(--ink); font-size:10px; font-weight:750; white-space:nowrap; }
.reader-launch:hover { border-color:var(--coral); background:color-mix(in srgb,var(--coral) 8%,var(--surface)); }
.reader-launch svg { display:block; flex:0 0 16px; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; }
.transcript-header .transcript-settings { margin-left:0; }
.reading-dialog { position:fixed; inset:0; width:min(1060px,calc(100% - 64px)); height:calc(100dvh - 64px); max-width:none; max-height:none; margin:auto; padding:0; border:1px solid var(--line); border-radius:22px; background:var(--surface); color:var(--ink); box-shadow:var(--shadow-lg); overflow:hidden; }
.reading-dialog[open] { display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; }
.reading-dialog::backdrop { background:rgba(7,17,35,.65); backdrop-filter:blur(7px); }
.reading-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:19px 28px; border-bottom:1px solid var(--line); }
.reading-brand { display:flex; align-items:center; gap:12px; }
.reading-brand>span { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:var(--navy); color:var(--coral); font:700 21px Georgia,serif; }
.reading-brand>div { display:grid; gap:4px; }
.reading-brand small { color:var(--soft); font-size:9px; font-weight:750; letter-spacing:.12em; }
.reading-brand strong { font-size:15px; }
.reading-icon { display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--muted); font-size:23px; flex-shrink:0; }
.reading-icon:hover { color:var(--ink); background:var(--surface-2); }
.reading-toolbar { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:12px 28px; background:var(--surface-2); border-bottom:1px solid var(--line); }
.reading-toolbar>p { margin:0; font-size:11px; color:var(--muted); }
.reading-options { display:flex; align-items:center; gap:12px; }
.reading-option { height:32px; padding:0 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--muted); font-size:11px; font-weight:650; white-space:nowrap; }
.reading-option[aria-pressed="true"] { color:var(--coral-dark); border-color:var(--coral); }
.reading-font-control { display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--surface); }
.reading-font-control button { height:32px; width:34px; border:0; background:transparent; color:var(--ink); font-size:12px; }
.reading-font-control button:hover { background:var(--surface-3); }
.reading-font-control span { width:28px; text-align:center; font-size:10px; color:var(--soft); font-variant-numeric:tabular-nums; }
.reading-scroll { overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.reading-article { max-width:780px; margin:0 auto; padding:48px 36px 64px; }
.reading-intro { margin-bottom:38px; padding-bottom:30px; border-bottom:1px solid var(--line); }
.reading-intro>span { color:var(--coral-dark); font-size:11px; font-weight:750; }
.reading-intro h2 { margin:14px 0 12px; font-size:27px; line-height:1.5; letter-spacing:-.02em; }
.reading-intro>p { margin:0; font-size:14px; color:var(--muted); line-height:1.7; }
.reading-meta { margin-top:20px; color:var(--soft); font-size:11px; }
.reading-paragraph { margin:0 0 27px; }
.reading-english { margin:0; font:var(--reading-font-size,22px)/1.95 Georgia,"Times New Roman",serif; letter-spacing:.005em; overflow-wrap:anywhere; }
.reading-word { display:inline; padding:1px 0; margin:0; border:0; border-radius:3px; background:transparent; color:inherit; font:inherit; letter-spacing:inherit; }
.reading-word:hover { color:var(--coral-dark); background:color-mix(in srgb,var(--coral) 8%,transparent); }
.reading-word.is-selected { color:var(--ink); background:color-mix(in srgb,var(--coral) 18%,var(--surface)); box-shadow:0 2px 0 var(--coral); }
.reading-chinese { display:none; margin:13px 0 0; padding-left:14px; border-left:2px solid var(--line-strong); color:var(--muted); font-size:14px; line-height:1.9; }
.reading-show-chinese .reading-chinese { display:block; }
.reading-end { margin-top:48px; text-align:center; color:var(--soft); font-size:11px; letter-spacing:.08em; }
.reading-empty { padding:48px 20px; text-align:center; color:var(--muted); }
.reading-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 28px; border-top:1px solid var(--line); background:var(--surface); }
.reading-footer>span { color:var(--soft); font-size:11px; }
.reading-footer>button { padding:0; border:0; background:transparent; color:var(--coral-dark); font-size:12px; font-weight:750; }
.reading-word-card { position:fixed; z-index:5; width:360px; max-width:calc(100vw - 24px); max-height:min(560px,calc(100dvh - 32px)); padding:0 20px; overflow:auto; overscroll-behavior:contain; border:1px solid var(--line-strong); border-radius:16px; background:var(--surface); color:var(--ink); box-shadow:0 18px 60px rgba(7,17,35,.24); }
.reading-word-top { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; padding:14px 0 4px; background:var(--surface); }
.reading-word-top>span { color:var(--soft); font-size:10px; font-weight:750; letter-spacing:.04em; }
.reading-word-top .reading-icon { width:27px; height:27px; font-size:20px; border:0; }
.reading-word-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:3px 0 10px; }
.reading-word-heading h3 { margin:0; overflow-wrap:anywhere; font:700 28px/1.3 Georgia,serif; }
.reading-speak { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border:1px solid var(--line); border-radius:50%; background:var(--surface-2); color:var(--muted); }
.reading-speak:hover { border-color:var(--coral); color:var(--coral-dark); }
.reading-speak svg { width:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.reading-phonetics { display:flex; gap:7px 16px; flex-wrap:wrap; color:var(--soft); font-size:11px; line-height:1.7; }
.reading-phonetics b { font-weight:500; color:var(--muted); }
.reading-meanings { margin:15px 0; font-size:14px; line-height:1.7; }
.reading-meanings p { margin:6px 0; }
.reading-word-context { margin:16px 0; padding:12px 14px; border-radius:9px; background:var(--surface-2); }
.reading-word-context small { color:var(--soft); font-size:10px; font-weight:650; }
.reading-word-context p { margin:7px 0 0; font-size:11px; line-height:1.7; color:var(--muted); overflow-wrap:anywhere; }
.reading-word-context p[lang="en"] { color:var(--ink); font:14px/1.65 Georgia,serif; }
.reading-word-details { border-top:1px solid var(--line); }
.reading-word-details summary { display:flex; align-items:center; justify-content:space-between; padding:14px 0; font-size:12px; font-weight:700; cursor:pointer; list-style:none; }
.reading-word-details summary::-webkit-details-marker { display:none; }
.reading-word-details summary:focus-visible { outline:3px solid color-mix(in srgb,var(--coral) 58%,transparent); outline-offset:3px; border-radius:5px; }
.reading-word-details[open] summary span { transform:rotate(45deg); }
.reading-detail-group { margin:0 0 18px; font-size:12px; line-height:1.7; }
.reading-detail-group h4 { margin:0 0 7px; font-size:10px; color:var(--soft); }
.reading-detail-group p { margin:5px 0; }
.reading-detail-group strong { font-weight:650; }
.reading-example-zh,.reading-source-note { color:var(--muted); }
.reading-source-note { display:block; margin:10px 0 18px; font-size:10px; line-height:1.65; }
.reading-word-bottom { position:sticky; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 0 15px; border-top:1px solid var(--line); background:var(--surface); }
.reading-word-bottom button { border:0; padding:0; background:transparent; color:var(--coral-dark); font-size:11px; font-weight:700; }
.reading-word-bottom a { color:var(--soft); font-size:10px; text-decoration:none; }
.reading-word-bottom a:hover { color:var(--ink); }
.reading-word-loading { display:flex; align-items:center; gap:10px; padding:18px 0; font-size:12px; color:var(--muted); }
.reading-word-notice { padding:12px 0; font-size:12px; line-height:1.8; color:var(--muted); }
.reading-word-notice button { display:block; margin-top:10px; padding:7px 12px; border:1px solid var(--line); border-radius:7px; background:var(--surface-2); color:var(--ink); font-size:11px; }
@media (max-width:600px) {
  .transcript-header { gap:6px; }
  .reader-launch { padding:0 8px; gap:5px; }
  .reading-dialog { width:100%; height:100dvh; border:0; border-radius:0; }
  .reading-header { padding:15px 18px; }
  .reading-toolbar { padding:11px 18px; gap:10px; flex-wrap:wrap; }
  .reading-toolbar>p { font-size:10px; }
  .reading-options { gap:10px; }
  .reading-article { padding:30px 23px 45px; }
  .reading-intro h2 { font-size:22px; }
  .reading-intro { margin-bottom:28px; padding-bottom:24px; }
  .reading-english { line-height:1.85; }
  .reading-footer { padding:14px 18px max(14px,env(safe-area-inset-bottom)); }
  .reading-footer>span { font-size:10px; }
  .reading-word-card { max-height:65dvh; border-radius:18px; }
}
@media (prefers-reduced-motion: reduce) { .video-cover-image { transition:none; } }
.lesson-cover:has(.video-cover-image)::before { z-index:1; background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 40%,rgba(0,0,0,.2)); pointer-events:none; }
.lesson-cover:has(.video-cover-image) { aspect-ratio:16/9; height:auto; }
.lesson-body .lesson-english-title { color:var(--muted); font-size:13px; line-height:1.55; min-height:40px; overflow-wrap:anywhere; }
.lesson-body h3 { line-height:1.5; min-height:3em; }
.lesson-body .lesson-english-title { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:4.65em; }
.lesson-grid .lesson-cover { aspect-ratio:16/9; height:auto; }
.spoken-word { border-radius:4px; transition:background .08s,color .08s; }
button.spoken-word { display:inline; padding:0; border:0; background:transparent; color:inherit; font:inherit; letter-spacing:inherit; text-align:inherit; }
button.spoken-word:hover { color:var(--coral-dark); background:color-mix(in srgb,var(--coral) 10%,transparent); }
button.spoken-word.is-selected { background:color-mix(in srgb,var(--coral) 18%,var(--surface)); box-shadow:0 2px 0 var(--coral); }
.reading-word-card.is-transcript-word-card { margin:0; z-index:220; }
.spoken-word.is-speaking { background:#ffe0a3; color:#442500; box-shadow:0 2px 0 #c88723; }
.exercise-label { display:grid; gap:10px; color:var(--muted); font-size:12px; }
.exercise-label textarea,.exercise-blank { border:1px solid var(--line-strong); border-radius:8px; background:var(--surface); color:var(--ink); padding:10px; font:inherit; }
.exercise-label textarea { width:100%; resize:vertical; font-size:16px; line-height:1.7; }
.exercise-blank { max-width:100%; margin:4px 2px; padding:4px 8px; border-bottom:2px solid var(--coral); font-size:17px; }
.exercise-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.exercise-actions button { padding:8px 12px; min-height:36px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); font-size:12px; }
.exercise-actions button[data-exercise="check"] { background:var(--navy); color:white; }
.exercise-actions button:hover { border-color:var(--coral); }
.exercise-actions button:focus-visible,.exercise-blank:focus-visible,.exercise-label textarea:focus-visible { outline:2px solid var(--coral); outline-offset:3px; }
.exercise-feedback,.exercise-answer { font-size:13px; line-height:1.7; color:var(--muted); overflow-wrap:anywhere; }
.exercise-label { font-size:13px; }
.exercise-actions button { min-height:40px; }
.exercise-label textarea { min-height:100px; box-sizing:border-box; }
.exercise-feedback.correct { color:#16816a; }.exercise-feedback.incorrect { color:#b34830; }
.exercise-answer { padding:10px 12px; background:var(--surface-2); border-radius:8px; }
.lesson-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.lesson-card { position:relative; isolation:isolate; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 1px 0 rgba(19,33,58,.02); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lesson-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--navy-3) 28%, var(--line)); box-shadow: var(--shadow-md); }
.lesson-cover { position: relative; height: 205px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; background: linear-gradient(135deg,#172f55,#395e87); color: #fff; }
.lesson-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 28%,rgba(7,17,35,.76)); }
.lesson-cover.cover-office { background: linear-gradient(180deg,transparent,rgba(7,17,35,.72)), url("https://images.unsplash.com/photo-1709715357510-b687304cee3a?auto=format&fit=crop&w=900&q=80") center/cover; }
.public-site .lesson-cover.cover-office { background-image: linear-gradient(180deg,transparent,rgba(7,17,35,.72)), url("/covers/content_3224594f85bb2074.jpg"); }
.lesson-cover.cover-london { background: radial-gradient(circle at 75% 18%,#e2a060 0 12%,transparent 13%), linear-gradient(135deg,#334b66,#8a665a 55%,#23334a); }
.lesson-cover.cover-cafe { background: radial-gradient(circle at 70% 40%,#edcda4 0 15%,transparent 16%), linear-gradient(120deg,#a9503f,#e8a46a 48%,#283d4f); }
.lesson-cover.cover-travel { background: radial-gradient(circle at 20% 30%,#f5be52 0 8%,transparent 9%), linear-gradient(140deg,#274b6b,#4895a2 48%,#e9915b); }
.lesson-cover.cover-growth { background: linear-gradient(120deg,#1a4b47,#58a78d 50%,#d6bb78); }.lesson-cover.cover-slang { background: linear-gradient(135deg,#5d294d,#b64b58 50%,#e6a85d); }
.lesson-cover.cover-published-0 { background: radial-gradient(circle at 78% 20%,rgba(255,190,113,.92) 0 7%,transparent 8%),linear-gradient(135deg,#112846,#306e79 58%,#d97b61); }
.lesson-cover.cover-published-1 { background: radial-gradient(circle at 22% 22%,rgba(255,221,151,.82) 0 8%,transparent 9%),linear-gradient(140deg,#24365d,#665186 55%,#c56b72); }
.lesson-cover.cover-published-2 { background: radial-gradient(circle at 74% 28%,rgba(177,235,217,.6) 0 10%,transparent 11%),linear-gradient(135deg,#163c3c,#357766 52%,#c79658); }
.lesson-card.is-published { border-color:color-mix(in srgb,var(--coral) 24%,var(--line)); box-shadow:0 10px 30px rgba(11,24,48,.07); }
.lesson-card.is-published .access-badge { background:rgba(219,91,73,.92); }
.card-start:disabled { cursor:wait; opacity:.62; }
.cover-copy { position: relative; z-index: 1; display: grid; gap: 5px; }.cover-copy small { opacity: .72; font-size: 9px; letter-spacing: .14em; }.cover-copy strong { max-width: 250px; font-family: Georgia,serif; font-size: 22px; line-height: 1.15; }
.card-level, .card-duration { position: absolute; z-index: 2; top: 13px; padding: 5px 8px; border-radius: 7px; background: rgba(7,17,35,.66); backdrop-filter: blur(8px); font-size: 10px; }.card-level { left: 13px; }.card-duration { right: 13px; }
.card-favorite { position: absolute; z-index: 3; right: 13px; bottom: 13px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(7,17,35,.48); color: white; font-size: 18px; }.card-favorite.is-saved { background: var(--coral); border-color: var(--coral); }
.lesson-body { padding: 18px; }.lesson-body h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.45; }.lesson-body p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--soft); font-size: 10px; }.card-tags { display: flex; gap: 5px; }.card-tags span { padding: 5px 7px; border-radius: 6px; background: var(--surface-2); }.card-start { padding: 4px 0; border: 0; background: transparent; color: var(--coral-dark); font-weight: 750; }
.access-badge { position:absolute; left:50%; top:13px; z-index:2; display:flex; align-items:center; gap:5px; padding:6px 9px; border-radius:999px; border:1px solid rgba(255,255,255,.18); background:rgba(7,17,35,.78); color:#fff; font-size:9px; font-weight:800; white-space:nowrap; backdrop-filter:blur(8px); transform:translateX(-50%); }.access-badge.free { background:rgba(31,126,111,.88); }.access-badge.locked::before { content:""; width:7px; height:6px; border:1.5px solid currentColor; border-radius:2px; box-shadow:0 -4px 0 -2px currentColor; }.lesson-card.is-locked .lesson-cover::after { background:linear-gradient(180deg,rgba(7,17,35,.04),rgba(7,17,35,.28)); }.lesson-card.is-locked .card-start { display:flex; align-items:center; gap:5px; color:var(--muted); }.lesson-card.is-locked .card-start::before { content:"◆"; color:#d3a553; font-size:8px; }

.membership-banner { position: relative; overflow: hidden; width: min(1220px,calc(100% - 64px)); min-height: 365px; display: grid; grid-template-columns: 1fr 370px; align-items: center; gap: 70px; margin: 0 auto 120px; padding: 55px 66px; border-radius: 26px; background: var(--navy); color: #fff; box-shadow: 0 30px 70px rgba(11,24,48,.22); }
.membership-orb { position: absolute; border-radius: 50%; opacity: .18; filter: blur(1px); }.orb-one { width: 350px; height: 350px; right: -170px; top: -170px; background: var(--coral); }.orb-two { width: 240px; height: 240px; left: 38%; bottom: -190px; background: var(--mint); }
.membership-copy, .membership-price { position: relative; z-index: 1; }.member-label { width: max-content; display: block; padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #ffd3ca; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.membership-copy h2 { margin: 15px 0 10px; font-size: 40px; letter-spacing: -.04em; }.membership-copy > p { margin: 0; color: #aebcd0; }.membership-copy ul { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; color: #dce5f2; font-size: 12px; }.membership-copy li::before { content: "✓"; margin-right: 7px; color: #75d8ca; }
.membership-price { padding: 26px 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); text-align: center; }.membership-price > span { color: #aebcd0; font-size: 11px; }.membership-price > div { margin: 3px 0 -3px; line-height: 1; }.membership-price sup { font-size: 20px; }.membership-price strong { font-size: 76px; letter-spacing: -.08em; }.membership-price small { color: #c7d1df; }.coral-button { min-height: 46px; padding: 0 20px; border-radius: 11px; background: var(--coral); color: #1e1320; box-shadow: 0 12px 28px rgba(255,115,93,.18); }.membership-price .coral-button { width: 100%; margin-top: 19px; }.membership-price > p { margin: 11px 0 0; color: #8292a9; font-size: 9px; }

.page-shell, .study-shell { width: min(1320px,calc(100% - 64px)); margin: 0 auto; padding: 55px 0 110px; }.page-shell.narrow { max-width: 1120px; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }.page-intro h1 { margin: 7px 0 8px; color: var(--navy); font-size: 45px; line-height: 1; letter-spacing: -.045em; }.page-intro p { margin: 0; color: var(--muted); }
html[data-theme="dark"] .page-intro h1 { color: #fff; }
.library-summary { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-left: 2px solid var(--coral); }.library-summary strong { color: var(--navy); font-size: 34px; }.library-summary span { color: var(--soft); font-size: 10px; line-height: 1.55; }
.filter-panel { display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }.search-box { height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }.search-box svg { width: 18px; fill: none; stroke: var(--soft); stroke-width: 1.7; }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }.filter-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }.filter-pills::-webkit-scrollbar { display:none; }.filter-pills button { white-space: nowrap; }.sort-select { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 10px; }.sort-select select, .speed-control select { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }.sort-select select { height: 36px; padding: 0 8px; font-size: 11px; }.result-meta { display: flex; justify-content: space-between; margin: 27px 0 15px; color: var(--soft); font-size: 10px; }.legend { display: flex; align-items: center; gap: 6px; }.dot { width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; }.beginner { background: #34b49f; }.intermediate { background: #e1a44c; }.advanced { background: #d95d66; }
.library-grid { grid-template-columns: repeat(3,1fr); }.empty-state { max-width: 440px; margin: 80px auto; text-align: center; }.empty-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; background: var(--surface-3); color: var(--soft); font-family: Georgia,serif; font-size: 20px; }.empty-state h2 { margin: 0; }.empty-state p { color: var(--muted); }.empty-state button { margin-top: 10px; }
.library-inline-state { grid-column: 1 / -1; min-height: 230px; display: grid; place-items: center; align-content: center; padding: 36px; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface-2); color: var(--muted); text-align: center; }
.library-inline-state strong { margin-top: 14px; color: var(--navy); font-size: 17px; }
.library-inline-state p { margin: 7px 0 0; font-size: 11px; }
.library-inline-state .empty-icon { margin: 0; }
.state-spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--coral); border-radius: 50%; animation: library-spin .8s linear infinite; }
@keyframes library-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .state-spinner { animation: none; border-top-color: var(--line); } }

.study-shell { padding-top: 30px; }.study-breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; }.study-breadcrumb button { padding: 0; border: 0; background: transparent; color: var(--muted); }.study-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 20px 0 25px; }.study-heading > div:first-child { min-width: 0; }.study-tags { display: flex; gap: 7px; }.study-tags span { padding: 5px 8px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font-size: 10px; font-weight: 750; }.study-heading h1 { margin: 10px 0 7px; color: var(--ink); font-size: 30px; font-weight: 800; line-height: 1.22; letter-spacing: -.035em; overflow-wrap: anywhere; }.study-heading p { max-width: 72ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.study-heading-actions { display: flex; flex: 0 0 auto; gap: 8px; }.icon-label-button { height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 11px; }.icon-label-button[aria-pressed="true"] { border-color: rgba(255,115,93,.4); color: var(--coral-dark); background: rgba(255,115,93,.07); }
html[data-theme="dark"] .study-heading h1 { color: #f6f8fc; }
.study-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 18px; }.player-column, .transcript-column { min-width: 0; }.player-frame { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 17px; background: #071224; box-shadow: var(--shadow-md); }.player-frame video, .player-frame iframe, .player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }.player-frame video, .player-frame iframe { display: none; }.player-poster { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 20% 20%,rgba(255,115,93,.22),transparent 30%), linear-gradient(135deg,#08152b,#163154 55%,#0e223e); color: white; }.player-poster::before { content:""; position:absolute; inset:0; opacity:.28; background: linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.08) 50%,transparent 50.2%),linear-gradient(transparent 49.8%,rgba(255,255,255,.06) 50%,transparent 50.2%); background-size:80px 80px; }.player-watermark { position: absolute; left: 20px; top: 19px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .12em; }.poster-quote { position: absolute; left: 34px; bottom: 34px; display: grid; gap: 6px; }.poster-quote span { color: #8ea4c2; font-size: 9px; letter-spacing: .17em; }.poster-quote strong { font-family: Georgia,serif; font-size: 33px; font-weight: 500; }.main-play { position: relative; width: 68px; height: 68px; font-size: 17px; }.main-play span { margin-left: 4px; }.player-controls { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.player-controls > button { height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 11px; }.player-controls > button:hover { background: var(--surface-2); color: var(--ink); }.player-controls .loop-control[aria-pressed="true"] { background: rgba(255,115,93,.1); color: var(--coral-dark); }.control-divider { height: 21px; width: 1px; margin-left: auto; background: var(--line); }.speed-control { display: flex; align-items: center; gap: 7px; color: var(--soft); font-size: 10px; }.speed-control select { height: 32px; padding: 0 6px; }.lesson-note { margin-top: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.lesson-note > div { display: flex; gap: 11px; }.note-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--navy); color: var(--coral); font-size: 9px; font-weight: 850; }.lesson-note strong { font-size: 11px; }.lesson-note p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.lesson-progress { height: 3px; display: block; overflow: hidden; margin-top: 13px; border-radius: 3px; background: var(--surface-3); }.lesson-progress i { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--coral); transition: width .25s ease; }
.transcript-column { height: 614px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); }.transcript-header { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-bottom: 1px solid var(--line); }.mode-tabs { display: flex; min-width: 0; gap: 4px; overflow-x: auto; scrollbar-width: none; }.mode-tabs button { height: 33px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); white-space: nowrap; font-size: 10px; font-weight: 700; }.mode-tabs button.is-active { background: var(--navy); color: #fff; }.transcript-settings { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }.transcript-settings svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }.transcript-list { overflow-y: auto; scroll-behavior: smooth; }.subtitle-card { position: relative; padding: 18px 20px 17px 53px; border-bottom: 1px solid var(--line); transition: background .15s ease; }.subtitle-card:hover { background: var(--surface-2); }.subtitle-card.is-active { background: color-mix(in srgb, var(--coral) 6%, var(--surface)); }.subtitle-card.is-active::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--coral); }.sentence-number { position: absolute; left: 17px; top: 20px; color: var(--soft); font-size: 9px; }.sentence-time { color: var(--soft); font-size: 9px; }.sentence-en { margin: 7px 0 0; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 17px; line-height: 1.64; }.sentence-zh { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.term-button { padding: 0 2px; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--coral) 58%,transparent); background: color-mix(in srgb,var(--coral) 7%,transparent); color: inherit; font-family: inherit; font-size: inherit; }.term-button:hover { background: rgba(255,115,93,.18); color: var(--coral-dark); }.cloze-blank { min-width: 60px; display: inline-block; padding: 0 8px; border: 0; border-bottom: 1px solid var(--coral); background: rgba(255,115,93,.07); color: transparent; }.cloze-blank.is-revealed { color: var(--coral-dark); }.dictation-input { width: 100px; height: 28px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--ink); font-family: inherit; }.dictation-input.is-correct { border-color: var(--mint); background: rgba(46,182,162,.08); }.dictation-input.is-wrong { border-color: #d95d66; background: rgba(217,93,102,.07); }.practice-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }.practice-bar > div { display: grid; gap: 3px; }.practice-bar span { color: var(--soft); font-size: 9px; }.practice-bar strong { font-size: 11px; }.record-button { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--coral); color: #25141a; font-size: 11px; font-weight: 800; }.record-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }.record-button[aria-pressed="true"] .record-dot { animation: recordPulse 1s infinite; }.record-button[aria-pressed="true"] { background: #d95d66; color: #fff; }@keyframes recordPulse { 50% { opacity:.3; transform:scale(.7); } }

.review-intro { align-items:center; }.review-streak { display:flex; align-items:center; gap:12px; padding:12px 16px; border:1px solid #eed6a7; border-radius:12px; background:#fff8e8; color:#735022; }.review-streak > span { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; background:#f3c86a; font-weight:900; }.review-streak div { display:grid; }.review-streak small { margin-top:3px; font-size:9px; opacity:.7; }.review-dashboard { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:13px; margin-bottom:55px; }.review-summary-card,.review-stat { min-height:165px; display:grid; align-content:center; padding:23px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }.review-summary-card { grid-template-columns:1fr auto; background:var(--navy); color:#fff; }.review-summary-card > span,.review-summary-card > small { color:#9cabc0; }.review-summary-card > strong { grid-row:2; font-size:46px; }.review-summary-card > small { grid-row:3; font-size:9px; }.review-summary-card button { grid-column:2; grid-row:1/4; align-self:center; background:var(--coral); color:#1e1320; }.review-stat span { color:var(--muted); font-size:11px; }.review-stat strong { margin:10px 0 3px; color:var(--navy); font-size:32px; }.review-stat small { color:var(--soft); font-size:9px; }html[data-theme="dark"] .review-stat strong { color:#fff; }.section-heading.compact { align-items:center; }.section-heading.compact h2 { font-size:24px; }.vocab-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }.vocab-card { display:grid; grid-template-columns:1fr auto; gap:12px; padding:20px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }.vocab-card .vocab-type { color:var(--coral-dark); font-size:9px; font-weight:800; letter-spacing:.09em; }.vocab-card h3 { margin:7px 0 5px; font-family:Georgia,serif; font-size:20px; }.vocab-card p { margin:0; color:var(--muted); font-size:11px; }.vocab-card button { align-self:center; padding:7px 10px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); color:var(--muted); font-size:10px; }

.site-footer { min-height:150px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:30px; padding:30px max(32px,calc((100% - 1220px)/2)); border-top:1px solid var(--line); background:var(--surface); }.site-footer > div:first-child { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:5px 9px; }.site-footer > div:first-child p { grid-column:2; margin:0; color:var(--soft); font-size:9px; }.footer-links { display:flex; gap:20px; }.footer-links button,.footer-links a { border:0; background:transparent; color:var(--muted); font-size:11px; text-decoration:none; }.site-footer > p { justify-self:end; color:var(--soft); font-size:9px; }.mobile-nav { display:none; }

.modal-layer { position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:20px; }.modal-backdrop { position:absolute; inset:0; border:0; background:rgba(4,11,24,.72); backdrop-filter:blur(9px); }.upgrade-modal,.account-modal { position:relative; z-index:1; width:min(450px,100%); border:1px solid rgba(255,255,255,.12); border-radius:22px; background:var(--navy); color:#fff; box-shadow:var(--shadow-lg); }.upgrade-modal { padding:33px; }.modal-close { position:absolute; right:15px; top:15px; width:34px; height:34px; border:1px solid rgba(255,255,255,.13); border-radius:9px; background:rgba(255,255,255,.06); color:#fff; font-size:19px; }.upgrade-brand { display:flex; align-items:center; gap:9px; margin-bottom:27px; font-weight:800; }.upgrade-modal h2 { margin:14px 0 9px; font-size:31px; line-height:1.22; letter-spacing:-.04em; }.upgrade-modal > p { color:#aab8cb; font-size:12px; }.upgrade-price { display:flex; align-items:baseline; margin:22px 0 15px; }.upgrade-price > span { font-size:22px; }.upgrade-price strong { font-size:68px; line-height:1; letter-spacing:-.08em; }.upgrade-price small { margin-left:8px; color:#aab8cb; }.upgrade-modal ul { display:grid; gap:11px; margin:0 0 24px; padding:18px 0; border-top:1px solid rgba(255,255,255,.1); border-bottom:1px solid rgba(255,255,255,.1); list-style:none; color:#dce4ef; font-size:11px; }.upgrade-modal li span { margin-right:8px; color:#77d7ca; }.coral-button.full { width:100%; }.checkout-note { display:block; margin-top:10px; color:#7e8da4; text-align:center; font-size:9px; }.account-modal { overflow:hidden; padding:25px; background:var(--surface); color:var(--ink); }.account-modal .modal-close { color:var(--muted); border-color:var(--line); background:var(--surface-2); }.account-profile { display:flex; align-items:center; gap:13px; padding:8px 0 20px; }.account-avatar { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:var(--navy); color:white; font-weight:850; }.account-profile h2 { margin:0; font-size:18px; }.account-profile p { margin:4px 0 0; color:var(--soft); font-size:10px; }.account-membership { display:grid; grid-template-columns:1fr auto; gap:5px; padding:16px; border-radius:12px; background:#fff7e5; color:#6f4c1e; }.account-membership span { font-size:9px; }.account-membership strong { grid-row:2; }.account-membership button { grid-column:2; grid-row:1/3; align-self:center; border:0; background:transparent; color:#ad6b18; font-size:10px; font-weight:750; }.account-list { display:grid; margin-top:14px; }.account-list button { display:flex; justify-content:space-between; padding:14px 3px; border:0; border-bottom:1px solid var(--line); background:transparent; font-size:11px; }.account-list small { color:var(--soft); }

.account-modal { width:min(460px,100%); padding:29px; }.account-welcome { display:flex; align-items:center; gap:14px; padding:3px 42px 22px 0; }.account-welcome > .brand-mark { flex:0 0 auto; width:52px; height:52px; }.account-welcome > div > span { color:var(--coral-dark); font-size:8px; font-weight:900; letter-spacing:.15em; }.account-welcome h2 { margin:3px 0 2px; font-size:23px; }.account-welcome p { margin:0; color:var(--muted); font-size:10px; }.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:11px; background:var(--surface-2); }.auth-tabs button { height:36px; border:0; border-radius:8px; background:transparent; color:var(--muted); font-size:11px; font-weight:750; }.auth-tabs button.is-active { background:var(--surface); color:var(--ink); box-shadow:0 2px 8px rgba(15,27,47,.08); }.auth-form { display:grid; gap:12px; margin-top:18px; }.auth-form label { display:grid; gap:6px; }.auth-form label > span { color:var(--muted); font-size:10px; font-weight:700; }.auth-form input { width:100%; height:44px; padding:0 13px; border:1px solid var(--line); border-radius:10px; outline:none; background:var(--surface-2); color:var(--ink); font-size:12px; transition:border-color .15s,box-shadow .15s; }.auth-form input:focus { border-color:var(--coral); box-shadow:0 0 0 3px color-mix(in srgb,var(--coral) 16%,transparent); }.auth-submit { width:100%; margin-top:2px; }.auth-submit:disabled,.draft-save-button:disabled { cursor:not-allowed; opacity:.55; }.form-error { margin:0; padding:10px 12px; border-radius:8px; background:rgba(217,93,102,.09); color:#b43e48; font-size:10px; line-height:1.5; }.auth-privacy { margin:12px 0 0; color:var(--soft); font-size:9px; text-align:center; }.cloud-sync { display:flex; align-items:center; gap:10px; margin-top:12px; padding:13px 4px; }.sync-dot { width:9px; height:9px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px rgba(46,182,162,.12); }.cloud-sync div { display:grid; gap:2px; }.cloud-sync strong { font-size:10px; }.cloud-sync small { color:var(--soft); font-size:9px; }.account-list > div { display:flex; justify-content:space-between; padding:14px 3px; border-bottom:1px solid var(--line); font-size:11px; }.text-danger-button { width:100%; margin-top:17px; padding:10px; border:1px solid color-mix(in srgb,#d95d66 35%,var(--line)); border-radius:9px; background:transparent; color:#b84750; font-size:10px; }.avatar-button.is-guest { width:auto; min-width:48px; padding:0 10px; border-radius:9px; font-size:9px; }.order-receipt { text-align:center; }.receipt-icon { width:50px; height:50px; display:grid; place-items:center; margin:5px auto 15px; border-radius:50%; background:rgba(46,182,162,.16); color:#7ee0d3; font-size:22px; }.order-receipt > p { color:#aab8cb; font-size:11px; line-height:1.6; }.order-receipt dl { display:grid; gap:0; margin:24px 0; border-top:1px solid rgba(255,255,255,.1); }.order-receipt dl > div { display:flex; justify-content:space-between; gap:15px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.1); }.order-receipt dt { color:#7e8da4; font-size:10px; }.order-receipt dd { margin:0; color:#fff; font-size:10px; font-weight:700; word-break:break-all; }.status-chip { padding:4px 8px; border-radius:999px; font-size:8px; }.status-chip.pending { background:rgba(243,200,106,.14); color:#f3c86a; }.order-receipt .secondary-button { border-color:rgba(255,255,255,.18); color:#fff; background:rgba(255,255,255,.05); }

.studio-panel { position:fixed; z-index:260; right:0; top:0; bottom:0; width:min(460px,100%); padding:28px; overflow-y:auto; border-left:1px solid var(--line); background:var(--surface); box-shadow:-28px 0 70px rgba(7,17,35,.2); transform:translateX(105%); transition:transform .26s ease; }.studio-panel.is-open { transform:translateX(0); }.studio-backdrop { position:fixed; inset:0; z-index:250; border:0; background:rgba(4,11,24,.55); backdrop-filter:blur(4px); }.studio-header { display:flex; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--line); }.studio-header span { color:var(--coral-dark); font-size:9px; font-weight:850; letter-spacing:.13em; }.studio-header h2 { margin:5px 0 4px; font-size:27px; }.studio-header p { margin:0; color:var(--muted); font-size:11px; }.studio-header button { width:36px; height:36px; border:1px solid var(--line); border-radius:9px; background:var(--surface-2); font-size:20px; }.studio-body { display:grid; gap:16px; padding-top:20px; }.studio-notice { padding:14px; border-left:3px solid var(--mint); border-radius:8px; background:rgba(46,182,162,.07); }.studio-notice strong { font-size:11px; }.studio-notice p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.55; }.upload-zone { min-height:145px; display:grid; place-items:center; align-content:center; gap:7px; border:1px dashed var(--line-strong); border-radius:13px; background:var(--surface-2); text-align:center; cursor:pointer; }.upload-zone input { position:absolute; opacity:0; pointer-events:none; }.upload-zone > span { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; background:var(--surface); color:var(--coral-dark); font-size:20px; }.upload-zone strong { font-size:12px; }.upload-zone small,.youtube-form small { color:var(--soft); font-size:9px; }.youtube-form { padding:16px; border:1px solid var(--line); border-radius:13px; }.youtube-form > label { display:block; margin-bottom:8px; font-size:11px; font-weight:750; }.youtube-form > div { display:grid; grid-template-columns:1fr auto; gap:7px; }.youtube-form input { min-width:0; height:40px; padding:0 10px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); color:var(--ink); font-size:10px; }.youtube-form button { border:0; border-radius:8px; background:var(--navy); color:white; font-size:10px; font-weight:750; }.youtube-form small { display:block; margin-top:8px; }.pipeline-card { padding:17px; border:1px solid var(--line); border-radius:13px; }.pipeline-title { display:flex; justify-content:space-between; font-size:11px; }.pipeline-title span { color:var(--soft); font-size:9px; }.pipeline-card ol { display:grid; gap:14px; margin:17px 0 0; padding:0; list-style:none; }.pipeline-card li { display:grid; grid-template-columns:28px 1fr; align-items:center; gap:9px; }.pipeline-card li > span { width:28px; height:28px; display:grid; place-items:center; border-radius:8px; background:var(--surface-2); color:var(--soft); font-size:9px; font-weight:800; }.pipeline-card li div { display:grid; gap:2px; }.pipeline-card li strong { font-size:10px; }.pipeline-card li small { color:var(--soft); font-size:9px; }.pipeline-card li.is-active > span { background:var(--coral); color:#20131a; }.pipeline-card li.is-done > span { background:var(--mint); color:white; }
.draft-save-button { width:100%; }.draft-library { padding:16px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }.draft-library > div:first-child { display:flex; justify-content:space-between; margin-bottom:11px; }.draft-library > div:first-child strong { font-size:11px; }.draft-library > div:first-child span { color:var(--soft); font-size:9px; }.draft-empty { margin:0; padding:17px 8px; color:var(--soft); font-size:9px; text-align:center; }.draft-item { display:grid; grid-template-columns:1fr auto; gap:4px 10px; padding:11px 0; border-top:1px solid var(--line); }.draft-item:first-child { border-top:0; }.draft-item strong { font-size:10px; }.draft-item small { color:var(--soft); font-size:8px; }.draft-item .status-chip { grid-column:2; grid-row:1/3; align-self:center; background:var(--surface-2); color:var(--muted); }

.word-popover { position:fixed; z-index:220; right:24px; bottom:24px; width:min(390px,calc(100% - 48px)); padding:23px; border:1px solid var(--line); border-radius:17px; background:var(--surface); box-shadow:var(--shadow-lg); transform:translateY(130%); opacity:0; transition:transform .23s ease,opacity .23s ease; }.word-popover.is-open { transform:translateY(0); opacity:1; }.word-close { position:absolute; right:11px; top:10px; width:30px; height:30px; border:0; background:transparent; color:var(--soft); font-size:19px; }.word-top { display:flex; justify-content:space-between; padding-right:28px; }.word-top > span { color:var(--coral-dark); font-size:9px; font-weight:850; letter-spacing:.12em; }.word-top button { border:0; background:transparent; color:var(--muted); font-size:10px; }.word-top button[aria-pressed="true"] { color:var(--coral-dark); }.word-popover h2 { margin:13px 0 3px; font-family:Georgia,serif; font-size:28px; }.phonetic { margin:0 0 15px; color:var(--soft); font-size:11px; }.phonetic button { width:25px; height:25px; margin-left:6px; border:0; border-radius:50%; background:var(--surface-2); font-size:8px; }.word-popover > strong { font-size:13px; }.word-popover > p:not(.phonetic) { color:var(--muted); font-size:11px; line-height:1.6; }.word-popover blockquote { margin:13px 0 0; padding:12px 14px; border-left:2px solid var(--coral); background:var(--surface-2); color:var(--muted); font-family:Georgia,serif; font-size:12px; }
.toast { position:fixed; z-index:500; left:50%; bottom:28px; max-width:min(420px,calc(100% - 32px)); padding:11px 16px; border-radius:10px; background:var(--navy); color:#fff; box-shadow:var(--shadow-md); font-size:11px; transform:translate(-50%,110px); opacity:0; transition:.22s ease; }.toast.is-visible { transform:translate(-50%,0); opacity:1; }

.account-modal { max-height:calc(100vh - 40px); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }#upgradeOffer > p { color:#aab8cb; font-size:12px; }.full-on-mobile { width:100%; }.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }.auth-submit:disabled::before,#checkoutButton:disabled::before,.draft-save-button:disabled::before { content:""; width:11px; height:11px; display:inline-block; margin-right:7px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; vertical-align:-2px; animation:buttonSpin .7s linear infinite; }@keyframes buttonSpin { to { transform:rotate(360deg); } }

.studio-admin-link { display:inline-flex; margin-top:10px; color:var(--coral-dark); font-size:10px; font-weight:800; text-decoration:none; }

@media (max-width: 1180px) {
  .header-inner { width:calc(100% - 32px); gap:16px; }.brand-copy small,.studio-trigger { display:none; }.main-nav { margin-left:0; }.nav-item { padding:0 11px; }
  .hero-wrap { width:calc(100% - 44px); grid-template-columns:1fr 1.2fr; gap:35px; }.hero-copy h1 { font-size:54px; }.floating-card { display:none; }.window-body { min-height:350px; }.video-photo { height:267px; }.caption-preview > p { margin-top:30px; font-size:19px; }
  .page-shell,.study-shell { width:calc(100% - 40px); }.filter-panel { grid-template-columns:250px 1fr; }.sort-select { grid-column:2; justify-self:end; }.study-grid { grid-template-columns:1fr 430px; }.transcript-column { height:565px; }
}

@media (max-width: 900px) {
  :root { --header-height:68px; }.main-nav { display:none; }.member-button span:not(.member-dot) { display:none; }
  .hero-wrap { grid-template-columns:1fr; min-height:0; padding:55px 0 85px; }.hero-copy { text-align:center; }.eyebrow-pill,.hero-lead { margin-left:auto; margin-right:auto; }.hero-actions,.trust-row { justify-content:center; }.hero-product { width:min(720px,100%); margin:15px auto 0; }.product-window { transform:none; }
  .topic-strip { margin-bottom:80px; }.method-grid { grid-template-columns:repeat(2,1fr); }.method-grid article:nth-child(2) { border-right:0; }.method-grid article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.lesson-grid,.library-grid { grid-template-columns:repeat(2,1fr); }
  .membership-banner { grid-template-columns:1fr 300px; gap:35px; padding:45px 40px; }.membership-copy ul { display:grid; gap:10px; }
  .filter-panel { grid-template-columns:1fr auto; }.search-box { grid-column:1/3; }.filter-pills { grid-column:1; }.sort-select { grid-column:2; }
  .study-heading { align-items:flex-start; }.study-grid { grid-template-columns:1fr; }.transcript-column { height:620px; }.review-dashboard { grid-template-columns:repeat(3,1fr); }.review-summary-card { grid-column:1/4; }.site-footer { grid-template-columns:1fr auto; }.site-footer > p { grid-column:1/3; justify-self:center; }
}

@media (max-width: 620px) {
  body { padding-bottom:65px; }.site-header { position:relative; }.header-inner { width:calc(100% - 24px); }.brand-mark { width:34px;height:34px; }.brand-copy strong { font-size:16px; }.icon-button,.studio-trigger { display:none; }.member-button { padding:0 10px; }.avatar-button { width:36px;height:36px; }
  .hero-wrap { width:calc(100% - 32px); padding:42px 0 70px; }.hero-copy h1 { margin-top:20px; font-size:45px; }.hero-lead { font-size:15px; line-height:1.7; }.hero-actions { display:grid; }.hero-actions button { width:100%; }.trust-row { margin-top:30px; }.trust-row div { padding:0 14px; }.trust-row strong { font-size:17px; }
  .window-body { grid-template-columns:1fr; }.video-preview { border:0; }.video-photo { height:250px; }.caption-preview { display:none; }.product-window { border-radius:17px; }.streak-float,.word-float { display:none; }.topic-strip { width:calc(100% - 32px); justify-content:flex-start; margin-bottom:70px; overflow:hidden; }.topic-strip > span { width:100%; }
  .section-block { width:calc(100% - 32px); padding-bottom:80px; }.section-heading h2 { font-size:31px; }.method-grid { grid-template-columns:1fr; }.method-grid article { min-height:220px; border-right:0; border-bottom:1px solid var(--line); }.lesson-grid,.library-grid { grid-template-columns:1fr; }.lesson-cover { height:210px; }.section-heading.row { align-items:flex-start; }.section-heading.row h2 { font-size:27px; }.section-heading.row .link-button { white-space:nowrap; font-size:10px; }
  .membership-banner { width:calc(100% - 32px); grid-template-columns:1fr; gap:25px; margin-bottom:80px; padding:37px 24px; }.membership-copy h2 { font-size:32px; }.membership-price strong { font-size:64px; }
  .page-shell,.study-shell { width:calc(100% - 28px); padding:38px 0 80px; }.page-intro { align-items:flex-start; }.page-intro h1 { font-size:38px; }.library-summary { display:none; }.filter-panel { display:flex; flex-wrap:wrap; padding:11px; }.search-box { width:100%; }.filter-pills { width:100%; }.sort-select { margin-left:auto; }.result-meta .legend { display:none; }
  .study-heading { display:grid; }.study-heading h1 { font-size:25px; }.study-heading-actions { justify-self:start; }.player-controls { display:grid; grid-template-columns:repeat(3,1fr); }.player-controls > button { padding:0 6px; }.control-divider { display:none; }.speed-control { grid-column:1/4; justify-content:center; padding-top:5px; }.poster-quote { left:20px;bottom:20px; }.poster-quote strong { font-size:26px; }.player-watermark { left:15px;top:14px; }.main-play { width:58px;height:58px; }.transcript-column { height:610px; }.mode-tabs button { padding:0 10px; }.subtitle-card { padding-left:45px; }.sentence-number { left:14px; }.practice-bar { position:sticky;bottom:0; }
  .review-streak { display:none; }.review-dashboard { grid-template-columns:1fr 1fr; }.review-summary-card { grid-column:1/3; }.review-stat { min-height:130px;padding:16px; }.review-stat:nth-child(4) { grid-column:1/3; }.vocab-grid { grid-template-columns:1fr; }
  .site-footer { display:grid; grid-template-columns:1fr; padding:32px 24px; text-align:center; }.site-footer > div:first-child { justify-content:center; }.site-footer > div:first-child p { grid-column:1/3; }.footer-links { justify-content:center; flex-wrap:wrap; }.site-footer > p { grid-column:1; }.mobile-nav { position:fixed; z-index:180; left:0;right:0;bottom:0;height:65px; display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); background:color-mix(in srgb,var(--surface) 94%,transparent); backdrop-filter:blur(16px); }.mobile-nav button { display:grid; place-items:center; align-content:center; gap:3px; border:0; background:transparent; color:var(--soft); font-size:9px; }.mobile-nav button span { font-size:18px; line-height:1; }.mobile-nav button.is-active { color:var(--coral-dark); }
  .upgrade-modal { padding:28px 23px; }.upgrade-modal h2 { font-size:27px; }.studio-panel { padding:22px 18px; }.word-popover { right:12px;bottom:78px;width:calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; } }

/* Keep the lesson and its subtitles together within the mobile viewport. */
.subtitle-follow { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:0 10px; border:1px solid var(--line-strong); border-radius:8px; background:var(--surface-2); color:var(--ink); font-size:11px; font-weight:650; white-space:nowrap; transition:background .15s ease,border-color .15s ease; }
.subtitle-follow svg { display:block; flex:0 0 15px; width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.practice-bar .follow-label { color:inherit; font-size:inherit; }
.subtitle-follow[aria-pressed="true"] { border-color:color-mix(in srgb,var(--mint) 32%,var(--line)); background:color-mix(in srgb,var(--mint) 9%,var(--surface)); }
.subtitle-follow[aria-pressed="true"] svg { color:var(--ink); }
.subtitle-follow[aria-pressed="false"] { border-color:var(--coral); color:var(--ink); }
.subtitle-follow:hover, .reader-launch:hover { background:var(--surface-3); border-color:var(--line-strong); }
.record-button .record-label { color:inherit; font-size:11px; }
.card-start::after { content:""; position:absolute; inset:0; z-index:2; cursor:pointer; }
.card-start:disabled::after { cursor:wait; }
.lesson-card:has(.card-start:focus-visible) { outline:3px solid var(--coral); outline-offset:3px; }
.card-start:focus-visible { outline:none; }
.lesson-card .card-favorite { z-index:3; }

@media (max-width:900px) {
  body.is-study { padding:0; overflow:hidden; }
  .is-study .site-header, .is-study .mobile-nav, .is-study .site-footer { display:none; }
  .is-study .study-view { height:100dvh; min-height:0; animation:none; }
  .is-study .study-shell { width:100%; height:100%; padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); display:grid; grid-template-columns:44px minmax(0,1fr); grid-template-rows:52px minmax(0,1fr); }
  .is-study .study-breadcrumb { grid-area:1 / 1; justify-content:center; }
  .is-study .study-breadcrumb > span { display:none; }
  .is-study .study-breadcrumb button { width:44px; height:44px; font-size:0; border-radius:8px; }
  .is-study .study-breadcrumb button::before { content:'←'; font-size:22px; }
  .is-study .study-heading { grid-area:1 / 2; display:flex; align-items:center; gap:8px; margin:0; padding-right:8px; }
  .is-study .study-heading > div:first-child { flex:1; }
  .is-study .study-tags, .is-study .study-heading p { display:none; }
  .is-study .study-heading h1 { margin:0; font-size:14px; line-height:1.4; letter-spacing:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .is-study .study-heading-actions { gap:4px; }
  .is-study .study-heading-actions button { width:40px; height:40px; padding:0; font-size:0; }
  .is-study .study-heading-actions button span { font-size:18px; }
  .is-study .study-grid { grid-area:2 / 1 / 3 / -1; display:flex; flex-direction:column; gap:0; min-height:0; }
  .is-study .player-column { flex:0 0 auto; }
  .is-study .player-frame { width:100%; max-height:28dvh; border-radius:0; box-shadow:none; }
  .is-study .player-frame video { object-fit:contain; }
  .is-study .player-controls { display:flex; height:48px; gap:2px; margin:0; padding:4px 8px; border-width:0 0 1px; border-radius:0; }
  .is-study .player-controls > button { flex:1; height:40px; padding:0 4px; font-size:11px; white-space:nowrap; }
  .is-study .control-divider { display:none; }
  .is-study .speed-control { flex:0 0 auto; padding:0; gap:0; font-size:0; }
  .is-study .speed-control select { height:40px; width:62px; font-size:12px; }
  .is-study .lesson-note { display:none; }
  .is-study .transcript-column { flex:1; min-height:0; height:auto; border-width:0; border-radius:0; grid-template-rows:auto minmax(0,1fr) auto; box-shadow:none; }
  .is-study .transcript-header { gap:5px; padding:5px 8px; }
  .is-study .mode-tabs { gap:0; flex:1; }
  .is-study .mode-tabs button { flex:1; min-width:40px; height:40px; padding:0 6px; font-size:12px; }
  .is-study .reader-launch, .is-study .transcript-settings { width:40px; height:40px; padding:0; justify-content:center; }
  .is-study .reader-launch span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .is-study .transcript-list { min-height:0; overscroll-behavior:contain; scroll-padding-block:16px; }
  .is-study .subtitle-card { padding:13px 16px 13px 40px; }
  .is-study .sentence-number { top:16px; left:12px; font-size:10px; }
  .is-study .sentence-time { font-size:10px; }
  .is-study .sentence-en { font-size:18px; line-height:1.65; }
  .is-study .sentence-zh { font-size:14px; line-height:1.7; }
  .is-study .practice-bar { position:static; gap:6px; padding:5px 8px; min-height:51px; }
  .is-study .practice-bar > div { min-width:0; flex:1; }
  .is-study .practice-bar strong { font-size:10px; }
  .is-study .subtitle-follow { display:inline-flex; min-height:40px; padding:0 9px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--muted); font-size:11px; white-space:nowrap; }
  .is-study .subtitle-follow[aria-pressed='false'] { border-color:var(--coral); color:var(--coral-dark); background:color-mix(in srgb,var(--coral) 8%,var(--surface)); }
  .is-study .record-button { height:40px; padding:0 10px; gap:5px; }
  .is-study .record-button .record-label { color:inherit; font-size:11px; }
  .is-study .study-breadcrumb button:hover, .is-study .subtitle-follow:hover { background:var(--surface-2); }
}
@media (max-width:900px) and (orientation:landscape) and (max-height:500px) {
  .is-study .study-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
  .is-study .player-frame { max-height:none; }
  .is-study .transcript-column { height:100%; border-left:1px solid var(--line); }
}

@media (max-width:600px) {
  .reading-word-top .reading-icon, .reading-speak { width:40px; height:40px; }
  .reading-word-bottom button, .reading-word-bottom a { min-height:40px; display:flex; align-items:center; }
  .reading-word-bottom { padding:3px 0; }
}
@media (max-width:900px) {
  .is-study .transcript-list input, .is-study .transcript-list textarea { font-size:16px; }
}

/* A content-first home layout for phones, independent of the desktop hero. */
.mobile-home-title, .mobile-home-lead { display:none; }
@media (max-width:620px) {
  body { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .header-inner { width:calc(100% - 40px); height:64px; }
  .header-actions { gap:8px; }
  .header-actions .icon-button { display:grid; width:40px; height:40px; border-radius:12px; }
  .home-view.is-active { display:flex; flex-direction:column; padding-bottom:8px; }
  .home-view .desktop-home-title { display:none; }
  .home-view .mobile-home-title { display:inline; }
  .home-view .hero-wrap { order:1; display:block; width:calc(100% - 40px); padding:24px 0 26px; }
  .home-view .hero-wrap::before { display:none; }
  .home-view .hero-copy { text-align:left; }
  .home-view .eyebrow-pill { width:auto; margin:0; padding:0; border:0; background:none; color:var(--muted); font-size:11px; font-weight:600; }
  .home-view .eyebrow-pill span { width:6px; height:6px; box-shadow:none; background:var(--mint); }
  .home-view .hero-copy h1 { margin:16px 0 12px; font-size:34px; line-height:1.3; letter-spacing:-1px; }
  .home-view .hero-copy h1 em { color:var(--ink); }
  .home-view .hero-copy h1 em::after { display:none; }
  .home-view .hero-lead, .home-view .trust-row, .home-view .hero-product { display:none; }
  .home-view .mobile-home-lead { display:block; margin:0; color:var(--muted); font-size:13px; line-height:1.7; }
  .home-view .hero-actions { display:grid; grid-template-columns:1.2fr 1fr; gap:10px; margin-top:22px; }
  .home-view .hero-actions button { min-width:0; height:48px; padding:0 10px; border-radius:12px; font-size:12px; white-space:nowrap; }
  .home-view .hero-actions .primary-button { box-shadow:0 5px 14px rgba(11,24,48,.12); }
  html[data-theme="dark"] .home-view .hero-actions .primary-button { background:var(--ink); color:var(--navy); }
  .home-view .hero-actions .secondary-button { border-color:var(--line); background:transparent; }
  .home-view .hero-actions .play-mini { width:20px; height:20px; margin-right:3px; font-size:8px; }
  .home-view .topic-strip { order:2; display:flex; width:100%; gap:8px; flex-wrap:nowrap; justify-content:flex-start; margin:0 0 24px; padding:0 20px 6px; overflow-x:auto; border:0; border-radius:0; background:none; box-shadow:none; scrollbar-width:none; scroll-padding-inline:20px; }
  .home-view .topic-strip > span { width:auto; flex:0 0 auto; margin:0 4px 0 0; font-size:11px; letter-spacing:0; }
  .home-view .topic-strip button { flex:0 0 auto; min-height:40px; padding:0 14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); font-size:12px; }
  .home-view .topic-strip button:hover { border-color:var(--coral); background:var(--surface-2); }
  .home-view .home-library { order:3; width:calc(100% - 40px); padding-bottom:32px; }
  .home-view .section-heading.row { align-items:center; gap:8px; margin-bottom:16px; }
  .home-view .section-heading .section-kicker { display:none; }
  .home-view .section-heading.row h2 { margin:0; font-size:20px; line-height:1.4; letter-spacing:-.5px; }
  .home-view .section-heading.row .link-button { min-height:40px; font-size:11px; color:var(--muted); }
  .home-view .lesson-grid { display:grid; gap:12px; }
  .home-view .lesson-card { min-width:0; border-color:var(--line); box-shadow:0 4px 14px rgba(19,33,58,.035); border-radius:16px; }
  .home-view .lesson-card:hover { transform:none; }
  .home-view .lesson-cover { height:auto; aspect-ratio:1.9; }
  .home-view .lesson-body { padding:15px 16px; }
  .home-view .lesson-body h3 { min-height:0; font-size:16px; line-height:1.5; font-weight:750; }
  .home-view .lesson-body > p:not(.lesson-english-title) { display:none; }
  .home-view .lesson-body .lesson-english-title { min-height:0; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; margin:6px 0 12px; font-size:11px; line-height:1.5; }
  .home-view .card-meta { margin-top:12px; }
  .home-view .card-start { min-height:32px; font-size:11px; }
  .home-view .card-favorite { width:40px; height:40px; font-size:22px; }
  .home-view .lesson-card:not(:first-child) { display:grid; grid-template-columns:104px minmax(0,1fr); box-shadow:none; }
  .home-view .lesson-card:not(:first-child) .lesson-cover { height:100%; min-height:136px; aspect-ratio:auto; padding:0; }
  .home-view .lesson-card:not(:first-child) .access-badge, .home-view .lesson-card:not(:first-child) .card-level, .home-view .lesson-card:not(:first-child) .cover-copy { display:none; }
  .home-view .lesson-card:not(:first-child) .card-duration { top:auto; bottom:9px; left:8px; right:auto; padding:3px 5px; font-size:10px; }
  .home-view .lesson-card:not(:first-child) .card-favorite { top:8px; right:8px; bottom:auto; width:40px; height:40px; }
  .home-view .lesson-card:not(:first-child) .lesson-body { padding:12px; min-width:0; }
  .home-view .lesson-card:not(:first-child) h3 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14px; line-height:1.5; }
  .home-view .lesson-card:not(:first-child) .lesson-english-title { margin-bottom:4px; font-size:11px; }
  .home-view .lesson-card:not(:first-child) .card-tags { display:none; }
  .home-view .lesson-card:not(:first-child) .card-meta { margin-top:0; justify-content:flex-end; }
  .home-view .method-section { order:4; width:calc(100% - 40px); padding:26px 0 32px; border-top:1px solid var(--line); }
  .home-view .method-section .section-heading { text-align:left; }
  .home-view .method-section h2 { margin:0; font-size:20px; letter-spacing:-.5px; }
  .home-view .method-section .section-heading p { font-size:12px; line-height:1.7; margin-top:8px; }
  .home-view .method-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; border:0; }
  .home-view .method-grid article { min-height:0; padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
  .home-view .method-icon { width:32px; height:32px; border-radius:9px; }
  .home-view .method-icon i { width:15px; height:15px; }
  .home-view .step-number { top:16px; right:14px; font-size:20px; color:var(--soft); opacity:.5; }
  .home-view .method-grid h3 { margin:13px 0 6px; font-size:13px; color:var(--ink); }
  .home-view .method-grid p { font-size:11px; line-height:1.75; }
  .home-view .membership-banner { min-height:0; order:5; width:calc(100% - 40px); margin:0 auto 24px; padding:24px; gap:18px; border-radius:18px; }
  .home-view .membership-copy h2 { font-size:23px; line-height:1.4; }
  .home-view .membership-copy p { font-size:12px; line-height:1.8; }
  .home-view .membership-copy ul, .home-view .membership-price > span, .home-view .membership-price > div, .home-view .membership-price > small, .home-view .membership-price > p { display:none; }
  .home-view .membership-price { display:block; padding:0; border:0; background:none; }
  .home-view .membership-orb { display:none; }
  .home-view .membership-price button { min-height:46px; margin:0; width:100%; }
  .home-view .topic-strip::-webkit-scrollbar { display:none; }
  .site-footer { gap:20px; padding:28px 20px; }
  .site-footer > div:first-child { width:max-content; max-width:100%; margin:auto; text-align:left; }
  .site-footer > div:first-child p { grid-column:2; }
  .mobile-nav { height:calc(68px + env(safe-area-inset-bottom)); padding:6px 12px calc(6px + env(safe-area-inset-bottom)); background:color-mix(in srgb,var(--surface) 97%,transparent); }
  .mobile-nav button { min-height:52px; gap:3px; color:var(--muted); font-size:10px; font-weight:600; }
  .mobile-nav button span { display:grid; place-items:center; width:44px; height:28px; border-radius:10px; }
  .mobile-nav button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-nav button.is-active { color:var(--ink); }
  .mobile-nav button.is-active span { background:var(--surface-3); }
}
