:root{color-scheme:light;--soft:#eef0e5;--header-surface:rgba(248,247,242,.96)}html[data-theme=dark]{color-scheme:dark;--paper:#121d18;--white:#1b2921;--ink:#e6ece1;--muted:#a4b2a6;--green:#b2d199;--green-dark:#cbe0b3;--lime:#2a3e2e;--line:#35493c;--gold:#e6c184;--soft:#213328;--header-surface:rgba(18,29,24,.97)}
/* The Android outer view already applies system-bar and keyboard insets. */
html[data-native-app=android]{--nav-safe-bottom:0px}
.header{background:var(--header-surface)}.header-actions{gap:12px}.header .nav{gap:25px}.ambience-on{color:var(--green);background:var(--lime)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.panel-heading h2{font-size:19px;font-weight:500}.home-explore{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:22px;margin:0 0 20px}.journey-preview,.path-overview,.path-detail{background:var(--white);border:1px solid var(--line);padding:25px;border-radius:13px}.route-stations{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;position:relative}.route-station{text-align:center;display:flex;align-items:center;flex-direction:column;gap:9px;position:relative;min-width:0}.station-circle{display:grid;place-items:center;width:51px;height:51px;border-radius:50%;background:conic-gradient(var(--green) var(--station-progress),var(--lime) 0);border:4px solid var(--paper);font-family:var(--serif);font-size:19px;color:var(--ink);box-shadow:0 0 0 1px var(--line)}.route-station.current .station-circle{box-shadow:0 0 0 2px var(--green)}.route-station strong{font-size:12px;font-weight:500}.route-station small{font-size:10px;color:var(--muted)}.route-station em{font-style:normal;font-size:9px;color:var(--green)}.journey-preview>.reading-note{margin-bottom:0;font-size:10px}.galaxy-preview{border-radius:13px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:16px;color:#edf4e7;background:radial-gradient(circle at 83% 26%,#d2bd7d 0 1px,transparent 2px),radial-gradient(circle at 67% 70%,#b5d4c6 0 1px,transparent 2px),radial-gradient(circle at 35% 78%,#94b2cf 0 1px,transparent 2px),radial-gradient(ellipse at 80% 55%,#34524d 0,transparent 58%),#152630}.galaxy-preview .eyebrow{color:#c9dcb8}.galaxy-preview strong{font-family:var(--serif);font-size:27px;font-weight:500}.galaxy-preview p{line-height:1.8;color:#b7c9c4;font-size:12px}.galaxy-preview>span:last-child{font-size:12px}.home-topics{margin:0 0 35px;border:1px solid var(--line);border-radius:10px;padding:16px 20px}.home-topics summary{font-size:12px;color:var(--green);cursor:pointer}.home-topics[open] summary{margin-bottom:20px}.topic-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:28px}.topic-tiles button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:18px 16px;border:1px solid var(--line);border-radius:9px;background:var(--white)}.topic-tiles button:hover{background:var(--lime)}.topic-tiles strong{font-size:13px;font-weight:500}.topic-tiles span{font-size:10px;color:var(--muted)}.path-overview{margin-bottom:24px;padding:30px}.path-overview .station-circle{width:64px;height:64px;font-size:23px}.route-legend{display:flex;justify-content:center;gap:25px;font-size:10px;color:var(--muted);margin-top:25px}.path-detail{display:grid;grid-template-columns:1.6fr 1fr;gap:25px;align-items:center;margin-bottom:40px;padding:32px}.path-detail h2{font-size:28px;font-weight:500;margin:15px 0}.path-detail p{font-size:12px;line-height:1.9;color:var(--muted)}.path-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center}.path-stats strong{font-family:var(--serif);font-size:38px;font-weight:500;display:block}.path-stats span{font-size:11px;color:var(--muted)}
.reading-tabs,.reading-filters,.reading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.reading-note{font-size:11px;line-height:1.9;color:var(--muted);margin:18px 0}.reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:25px 0 35px}.reading-card{border:1px solid var(--line);background:var(--white);border-radius:13px;overflow:hidden;display:block;transition:transform .2s}.reading-card:hover{transform:translateY(-3px)}.reading-card>img{display:block;width:100%;height:180px;object-fit:cover}.reading-card>div{padding:22px}.reading-card h2{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.4;margin:12px 0 9px}.reading-card p{font-size:12px;color:var(--muted);margin-bottom:17px}.reading-meta{font-size:10px;letter-spacing:.03em;color:var(--muted)}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.book-card{border:1px solid var(--line);background:var(--white);border-radius:14px;padding:28px;display:flex;gap:28px;align-items:center}.book-card>div:last-child{flex:1;min-width:0}.book-card h2{font-size:24px;font-weight:500;margin:13px 0}.book-card p,.reading-intro>p{font-size:12px;line-height:1.9;color:var(--muted)}.book-cover{width:165px;min-height:240px;flex-shrink:0;border-radius:3px 9px 9px 3px;box-shadow:5px 7px 16px #10221822;padding:19px;display:flex;flex-direction:column;gap:18px;color:#ecf1de;position:relative;overflow:hidden;border-left:8px solid #0002;background:radial-gradient(ellipse at 85% 55%,#61846b66,transparent 60%),#264e3d}.book-cover-1{background:radial-gradient(ellipse at 80% 30%,#ddae5f44,transparent 70%),#343b56}.book-cover small{font-family:var(--serif);font-size:12px}.book-cover>span{font-size:41px;line-height:1.2;color:#e4c88b}.book-cover strong{font-family:var(--serif);font-weight:500;font-size:21px;line-height:1.3}.book-cover em{font-style:normal;font-size:10px;margin-top:auto;color:#d2d9c5}.reading-intro{padding:28px;background:var(--white);border:1px solid var(--line);border-radius:12px}.chapter-grid{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:27px 0}.chapter-grid a{display:flex;align-items:center;gap:15px;padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--white);height:100%}.chapter-number{font-family:var(--serif);font-size:25px;color:var(--green)}.chapter-grid strong{font-size:13px;font-weight:500;line-height:1.7;display:block}.chapter-grid small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.chapter-grid a>span:last-child{margin-left:auto;color:var(--green)}.reader-top{display:flex;align-items:center;justify-content:space-between;padding-top:30px}.reader{max-width:820px;margin:35px auto 0}.reader>header{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.reader h1{font-family:var(--serif);font-size:38px;font-weight:500;line-height:1.4;margin:16px 0 12px}.reader-subtitle{font-size:15px;color:var(--muted)}.reader-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 0;border-bottom:1px solid var(--line);margin:20px 0 10px}.reader-toolbar .btn{padding:8px 12px;font-size:11px}.reader-toolbar>span{font-size:10px;color:var(--muted)}.reading-keywords{display:flex;flex-wrap:wrap;gap:7px}.reading-keywords .chip{border:1px solid var(--line);color:var(--green)}.reading-paragraph{padding:14px 0;scroll-margin-top:115px}.reading-paragraph>p[lang=en]{font-family:var(--serif);font-size:var(--reading-font);line-height:2.05;letter-spacing:.1px}.reading-word{font:inherit;letter-spacing:inherit;color:inherit;padding:0;background:transparent;border:0;border-bottom:1px dashed #a1ab8c;line-height:1.45}.reading-word.learned{border-bottom:2px solid #bc9b59}.reading-word:hover{background:var(--lime);color:var(--green)}.reading-translation{font-size:14px;color:var(--muted);line-height:2;margin-top:15px}.paragraph-speak{font-size:10px;margin-top:7px;opacity:.8}.reading-finish{display:flex;flex-wrap:wrap;gap:16px;border-top:1px solid var(--line);padding-top:26px;margin-top:30px}.reading-questions{padding:28px;background:var(--white);border:1px solid var(--line);border-radius:13px;margin:30px 0}.reading-questions h2{font-size:23px;font-weight:500;margin:15px 0}.reading-questions>p:not(.eyebrow){font-size:11px;color:var(--muted);line-height:1.9}.reading-question{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.reading-question h3{font-size:15px;font-weight:500;line-height:1.9;margin-bottom:15px}.reading-question [role=group]{display:flex;flex-wrap:wrap;gap:10px}.reading-question .btn{padding:8px 12px;font-size:10px}.reading-question .answer-right{background:var(--lime);border-color:var(--green)}.reading-question .answer-wrong{background:#e1ad9d33;border-color:#b77b69}.answer-explanation{font-size:12px;color:var(--muted);line-height:1.9;margin-top:13px}
.ambience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.ambience-grid button{text-align:left;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.ambience-grid button.active{background:var(--lime);border-color:var(--green)}.ambience-grid span{font-size:25px;color:var(--green);display:block;margin-bottom:9px}.ambience-grid strong{font-size:13px;font-weight:500;display:block}.ambience-grid small{font-size:10px;line-height:1.7;color:var(--muted);display:block;margin-top:7px}.ambience-volume{font-size:12px;color:var(--muted);display:flex;gap:16px;align-items:center;flex-wrap:wrap}.ambience-volume input{width:100%;accent-color:var(--green)}#ambience-status{font-size:11px;line-height:1.9;color:var(--muted);margin:16px 0}
.galaxy-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:0 0 20px}.galaxy-tools label{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center}.galaxy-tools select,.galaxy-tools input{font:inherit;font-size:12px;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink)}.galaxy-tools input{flex:1;min-width:180px}.galaxy-tools .btn{font-size:11px;padding:11px 15px}.galaxy-stage{position:relative;border-radius:15px;overflow:hidden;background:#101e27}.galaxy-stage canvas{display:block;width:100%;height:500px;touch-action:none;cursor:grab}.galaxy-legend{position:absolute;top:20px;left:24px;display:flex;gap:20px;color:#bbc9c4;font-size:11px;pointer-events:none}.galaxy-legend span:nth-child(3){color:#b9d1a4}.galaxy-legend span:nth-child(4){color:#ffe2a3}.galaxy-controls{position:absolute;right:20px;bottom:20px;display:flex;gap:9px}.galaxy-controls button{width:35px;height:35px;background:#e5efdf1c;border:1px solid #c0d4c44d;border-radius:7px;color:#d5e5d9;font-size:20px}.galaxy-tip{position:absolute;bottom:24px;left:24px;color:#b4c6c1;font-size:11px;max-width:65%;pointer-events:none;line-height:1.8}.galaxy-results{margin:28px 0}.galaxy-results h2{font-size:17px;font-weight:500;margin-bottom:18px}.galaxy-word-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.galaxy-word-list button{text-align:left;border:1px solid var(--line);background:var(--white);padding:16px;border-radius:8px;min-width:0}.galaxy-word-list strong{font-family:var(--serif);font-size:20px;font-weight:500;display:block;overflow-wrap:anywhere}.galaxy-word-list span{font-size:10px;color:var(--muted);display:block;margin-top:8px;line-height:1.7}
html[data-theme=dark] .btn.primary,html[data-theme=dark] .chip.active{color:#152211}html[data-theme=dark] .nav a,html[data-theme=dark] .pronounce,html[data-theme=dark] .filter-tools select,html[data-theme=dark] .animation-sound-note{color:var(--muted)}html[data-theme=dark] .nav a.active{color:var(--green)}html[data-theme=dark] .hero h1 em:after,html[data-theme=dark] .daily-strip,html[data-theme=dark] .daily-icon,html[data-theme=dark] .avatar,html[data-theme=dark] .floating-note .note-icon,html[data-theme=dark] .other-senses,html[data-theme=dark] .big-icon{background:var(--soft)}html[data-theme=dark] .feature-card,html[data-theme=dark] .mini-card,html[data-theme=dark] .word-card,html[data-theme=dark] .floating-note,html[data-theme=dark] .daily-strip,html[data-theme=dark] .hero-orbit,html[data-theme=dark] .hero-orbit:after{border-color:var(--line)}html[data-theme=dark] .round-play,html[data-theme=dark] .pill{background:#20372de8;color:var(--green)}html[data-theme=dark] .view-toggle button.active,html[data-theme=dark] .quiz-picture,html[data-theme=dark] .stat-card,html[data-theme=dark] .learning-intro,html[data-theme=dark] .quiz-shell,html[data-theme=dark] .quiz-option,html[data-theme=dark] .example-box,html[data-theme=dark] .collocations>span,html[data-theme=dark] .setting-row select{background:var(--white);border-color:var(--line)}html[data-theme=dark] .quiz-option.correct{background:var(--lime)}html[data-theme=dark] .quiz-option.wrong{background:#54352e}html[data-theme=dark] .btn.secondary{border-color:var(--line)}html[data-theme=dark] .chip:not(.active):hover{background:var(--lime)}html[data-theme=dark] .hero-orbit{opacity:.4}html[data-theme=dark] .progress-line{background:var(--line)}html[data-theme=dark] .meaning i,html[data-theme=dark] .scene-caption,html[data-theme=dark] .small-dialog>p{color:var(--muted)}
@media(max-width:1100px){.header .nav{gap:17px}.header-actions{gap:8px}.home-explore{grid-template-columns:1.5fr 1fr}.journey-preview{padding:21px}.panel-heading{gap:10px}.panel-heading h2{font-size:17px}.topic-tiles{grid-template-columns:repeat(4,1fr)}.book-card{gap:20px;padding:22px;align-items:flex-start}.book-cover{width:140px;min-height:235px}.book-grid{gap:18px}.reading-grid{gap:18px}.book-card h2{font-size:21px}.path-detail{grid-template-columns:1.3fr 1fr}}
@media(max-width:820px){.home-explore{grid-template-columns:1fr}.galaxy-preview{min-height:190px}.reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid{grid-template-columns:1fr}.topic-tiles{grid-template-columns:repeat(3,1fr)}.path-detail{grid-template-columns:1fr}.path-stats{padding:20px 0 0;border-top:1px solid var(--line)}.galaxy-word-list{grid-template-columns:repeat(3,1fr)}.reader h1{font-size:32px}.header .nav{gap:13px}}
@media(max-width:600px){.header .nav{gap:0;height:calc(48px + var(--nav-safe-bottom,env(safe-area-inset-bottom,0px)));padding:0 0 var(--nav-safe-bottom,env(safe-area-inset-bottom,0px));align-items:stretch}.header .nav a{height:47px;display:flex;align-items:center;justify-content:center;padding:0 2px;min-width:0;font-size:15px;font-weight:600;line-height:1.4}.header-actions{gap:3px}.header-actions .icon-btn{padding:8px}.header .nav .nav-dictionary,.header .brand small{display:none}.home-explore{gap:16px}.journey-preview{padding:20px 15px}.panel-heading h2{font-size:16px}.route-stations{gap:7px}.station-circle{width:40px;height:40px;font-size:16px;border-width:3px}.panel-heading .text-btn,.route-station strong{font-size:10px}.route-station small{font-size:9px}.route-station em{font-size:8px}.route-station{gap:8px}.home-topics{padding:16px}.topic-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.topic-tiles button{padding:16px 12px}.path-overview{padding:22px 12px}.path-overview .station-circle{width:42px;height:42px;font-size:17px}.route-legend{gap:10px;flex-wrap:wrap;line-height:1.8}.path-detail{padding:24px 20px;gap:18px}.path-detail h2{font-size:25px}.reading-grid{grid-template-columns:1fr;gap:17px}.reading-card{display:flex;align-items:stretch}.reading-card>img{width:115px;min-height:160px;height:auto;object-fit:cover}.reading-card>div{padding:18px;min-width:0}.reading-card h2{font-size:20px;margin:8px 0}.reading-card p{font-size:11px}.book-card{padding:20px;gap:18px}.book-cover{width:115px;min-height:200px;padding:15px}.book-cover strong{font-size:18px}.book-cover small{font-size:10px}.book-cover>span{font-size:30px}.book-card h2{font-size:21px}.book-card p{font-size:11px}.book-grid{gap:18px}.chapter-grid{grid-template-columns:1fr}.chapter-grid a{padding:20px}.reading-intro{padding:22px}.reader-top{gap:15px}.reader h1{font-size:29px;overflow-wrap:anywhere}.reader{margin-top:26px}.reading-paragraph>p[lang=en]{font-size:var(--reading-font);line-height:1.95}.reading-translation{font-size:13px}.reader-toolbar{gap:8px}.reader-toolbar .btn{padding:8px;font-size:10px}.reading-questions{padding:21px}.reading-question h3{font-size:14px}.ambience-grid button{padding:15px}.ambience-grid small{font-size:9px}.galaxy-tools{gap:10px}.galaxy-tools label{flex:1}.galaxy-tools select{flex:1;min-width:0}.galaxy-stage canvas{height:380px}.galaxy-legend{left:16px;right:16px;gap:12px;font-size:9px;flex-wrap:wrap}.galaxy-tip{left:16px;bottom:18px;font-size:9px;max-width:55%}.galaxy-controls{right:14px;bottom:18px;gap:6px}.galaxy-controls button{width:29px;height:29px;font-size:17px}.galaxy-word-list{grid-template-columns:repeat(2,minmax(0,1fr))}.galaxy-word-list strong{font-size:18px}html[data-theme=dark] .nav{background:var(--header-surface)}}
.constellation-panel{margin:30px 0}.constellation-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.constellation-grid button{padding:17px;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:9px}.constellation-grid strong,.constellation-grid span,.constellation-grid small{display:block}.constellation-grid strong{font-weight:500;font-size:13px}.constellation-grid span{font-size:11px;color:var(--muted);margin:9px 0}.constellation-grid small{font-size:9px;color:var(--muted);margin-top:8px}.constellation-grid i{height:3px;background:var(--lime);display:block;overflow:hidden;border-radius:3px}.constellation-grid b{height:100%;display:block;background:var(--green)}.constellation-grid .selected{border-color:var(--green);background:var(--lime)}.constellation-grid .lit strong{color:var(--green)}.galaxy-save{position:absolute;top:18px;right:20px;background:#d7e7d51a;color:#d9e7d8;border:1px solid #b0c6b54d;border-radius:6px;font-size:10px;padding:8px 12px}.galaxy-tools button[aria-pressed=true]{background:var(--lime);border-color:var(--green)}@media(max-width:820px){.constellation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.constellation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.galaxy-save{top:46px;right:14px;padding:6px 8px;font-size:9px}.constellation-panel .panel-heading{flex-wrap:wrap}}

html[data-theme=dark] .feature-card{background:var(--white)}

[hidden]{display:none!important}

.catalog-pagination{flex-direction:column;gap:18px}.page-load-state{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}.page-load-state>span{font-size:11px;color:var(--muted)}.page-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.page-link{font-size:12px;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:35px;padding:0 11px;border:1px solid var(--line);border-radius:6px;background:var(--white)}.page-link.active{background:var(--green);color:var(--paper);border-color:var(--green)}.page-link.disabled{opacity:.45}.page-gap{font-size:12px;color:var(--muted)}.catalog-reference{max-width:1280px;margin:0 auto 28px;padding:0 0 28px}.catalog-reference details{border:1px solid var(--line);border-radius:10px;padding:20px;background:var(--white)}.catalog-reference summary{cursor:pointer;color:var(--green);font-size:13px}.catalog-reference dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.catalog-reference dl>div{border-bottom:1px solid var(--line);padding:15px 0;scroll-margin-top:100px}.catalog-reference dt a{font-family:var(--serif);font-size:20px}.catalog-reference dt span{font-size:10px;color:var(--muted);margin-left:10px}.catalog-reference dd{font-size:13px;line-height:1.9;margin:8px 0 0}.catalog-reference dd small{display:block;color:var(--muted);font-size:10px}.compact-catalog{padding-top:38px}@media(max-width:1390px){.catalog-reference{margin-left:48px;margin-right:48px}}@media(max-width:1100px){.catalog-reference{margin-left:30px;margin-right:30px}}@media(max-width:600px){.catalog-reference{margin-left:20px;margin-right:20px}.catalog-reference dl{grid-template-columns:1fr}.page-links{gap:5px}.page-link{font-size:10px;padding:0 8px;min-width:29px;height:31px}.page-load-state>span{font-size:10px}.page-load-state{gap:12px}.catalog-reference details{padding:17px}}
.fun-preview{display:flex;align-items:center;gap:25px;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px 25px;margin:0 0 32px}.fun-preview>span{font-size:25px;letter-spacing:3px;color:var(--green)}.fun-preview strong{font-size:16px;font-weight:500}.fun-preview p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.fun-preview b{font-size:11px;font-weight:500;color:var(--green);margin-left:auto;white-space:nowrap}.fun-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.fun-top>p{font-size:11px;color:var(--muted)}.fun-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:25px;align-items:start}.fun-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.fun-card{position:relative;display:flex;align-items:center;flex-direction:column;gap:12px;padding:25px 12px;background:var(--white);border:1px solid var(--line);border-radius:12px;min-width:0;transition:transform .2s}.fun-card:hover{transform:translateY(-3px)}.fun-card.selected{border-color:var(--green);background:var(--lime)}.fun-card>span{font-size:36px;line-height:1.3;color:var(--green)}.fun-card strong{font-size:14px;font-weight:500}.fun-card small{font-family:var(--serif);font-size:15px;overflow-wrap:anywhere;text-align:center}.fun-card i{position:absolute;top:10px;right:12px;color:var(--green);font-size:12px;font-style:normal}.fun-detail{border:1px solid var(--line);border-radius:14px;padding:30px;background:var(--white);position:sticky;top:108px}.fun-large-symbol{font-size:65px;display:block;text-align:center;color:var(--green);margin:20px 0}.fun-detail h2{font-family:var(--serif);font-size:36px;font-weight:500;margin:13px 0 8px;overflow-wrap:anywhere}.fun-detail>p{font-size:13px;line-height:1.9;color:var(--muted)}.fun-phrase{background:var(--paper);padding:17px;border-radius:9px;margin:22px 0}.fun-phrase strong{display:block;font-family:var(--serif);font-size:21px;font-weight:500}.fun-phrase small{font-size:11px;display:block;margin-top:8px;color:var(--muted)}.fun-detail>p[lang=en]{font-family:var(--serif);font-size:19px;line-height:1.8;color:var(--ink)}.fun-detail .fun-translation{font-size:12px;margin-top:8px}.fun-detail .btn{padding:10px 14px;font-size:12px}#fun-status{font-size:11px;line-height:1.8;color:var(--muted);margin-top:15px}.fun-challenge{border:1px solid var(--line);background:var(--lime);border-radius:14px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:25px;margin:30px 0}.fun-challenge h2{font-size:23px;font-weight:500;margin:13px 0}.fun-challenge p{font-size:11px;line-height:1.9;color:var(--muted)}.fun-question{max-width:850px;margin:45px auto}.fun-question h2{text-align:center;font-size:25px;font-weight:500;margin:20px 0 30px}@media(max-width:950px){.fun-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fun-layout{grid-template-columns:1.25fr 1fr}.fun-preview>span{font-size:21px}.fun-challenge{flex-direction:column;align-items:flex-start}}@media(max-width:600px){.fun-top{flex-wrap:wrap;gap:0;margin-bottom:22px}.fun-top .reading-tabs{margin-bottom:10px}.fun-layout{grid-template-columns:1fr;gap:18px}.fun-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.fun-card{padding:20px 9px}.fun-card>span{font-size:30px}.fun-card small{font-size:13px}.fun-detail{position:static;padding:25px}.fun-preview{padding:19px;gap:14px;flex-wrap:wrap}.fun-preview>span{font-size:22px}.fun-preview strong{font-size:14px}.fun-preview b{margin-left:0}.fun-challenge{padding:24px}.fun-challenge h2{font-size:21px}.fun-question{margin:30px 0}}@media(max-width:360px){.header .nav a{font-size:14px;padding:0 2px}}

.word-notes{margin-top:16px;padding:14px 16px;background:var(--soft);border-radius:8px}.word-notes h3{font-size:10px;font-weight:500;color:var(--green);margin-bottom:7px}.word-notes p{font-size:12px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}

/* v10 learning, insights and local card export */
.home-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 34px}.home-tools a{padding:23px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--paper);text-decoration:none}.home-tools strong,.home-tools span{display:block}.home-tools span{font-size:12px;color:var(--muted);margin-top:9px}.feature-shortcuts{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:26px 0}.practice-new{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border:1px solid var(--line);border-radius:16px;margin-bottom:36px}.practice-new p{color:var(--muted)}.word-share-preview{display:block;width:100%;max-height:58vh;object-fit:contain;margin:16px auto}.modal-actions{gap:4px}@media(max-width:650px){.home-tools{grid-template-columns:1fr}.practice-new{align-items:flex-start;flex-direction:column}.feature-shortcuts{gap:15px}}

/* v11 first-recall session summary */
.recall-summary{padding:40px clamp(20px,5vw,70px);max-width:1000px;margin:auto}.recall-summary h2{font:500 34px var(--serif);margin:18px 0 28px}.recall-summary p{color:var(--muted);line-height:1.9}.recall-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.recall-summary-grid strong{font:500 46px var(--serif);display:block;color:var(--green)}.recall-summary-grid span{font-size:12px;color:var(--muted)}.recall-first-stars{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.recall-first-stars span{padding:10px 14px;border-radius:10px;background:var(--lime);color:var(--green);animation:recall-star-in .45s both;animation-delay:calc(min(var(--star-order),8)*.05s)}@keyframes recall-star-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}html[data-motion=reduced] .recall-first-stars span{animation:none}.filter-tools{flex-wrap:wrap}.setting-row input[type=range]{max-width:180px;accent-color:var(--green)}@media(max-width:550px){.recall-summary{padding:25px 18px}.recall-summary h2{font-size:27px}.recall-summary-grid{gap:10px}.recall-summary-grid strong{font-size:35px}.filter-tools select{max-width:100%}}

/* Keep the exam shortcut and the original learning tools readable. */
.home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.home-tools{grid-template-columns:1fr}}@media(min-width:601px) and (max-width:1100px){.header .nav{gap:9px}.header .nav a{font-size:11px}.header-inner{gap:12px}}

.word-share-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:15px 0}.word-share-actions .btn{font-size:14px;padding:10px 15px}.word-share-url{display:block;font-size:13px;color:var(--muted)}.word-share-url input{display:block;width:100%;font:12px monospace;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:10px;margin-top:7px}.word-share-actions .text-btn{padding:10px}

#small-dialog .word-share-preview{display:block;max-height:38vh;max-width:100%;object-fit:contain;margin:0 auto;border:1px solid var(--line);border-radius:10px}

.book-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.book-filters label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.book-filters .book-search{flex:1;min-width:180px}.book-filters input,.book-filters select{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:14px}.book-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:28px 0}.book-pagination>span{font-size:12px;color:var(--muted)}.book-cover strong{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.book-card h2{overflow-wrap:anywhere}.book-card>div{min-width:0}@media(max-width:600px){.book-filters{padding:14px;gap:12px}.book-filters .book-search{flex-basis:100%}.book-filters label:not(.book-search){flex:1;min-width:120px}.book-pagination{gap:7px}}

/* Self-hosted bilingual chapters and generated audiobook controls. */
.book-media-coverage{font-size:11px!important;line-height:1.8!important;color:var(--green)!important;margin:9px 0 12px}
.reading-media-panel{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--white);margin:20px 0 24px;min-width:0}
.reading-media-note{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 12px}
.reading-audio-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:14px}
.reading-audio-head strong{font-size:13px;font-weight:500}.reading-audio-head span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.reading-media-panel audio{display:block;width:100%;max-width:100%;margin:12px 0;min-width:0;height:44px}
.reading-audio-settings{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:16px 0}
.reading-audio-settings .btn{font-size:11px;padding:9px 12px}.reading-audio-settings label{font-size:11px;display:inline-flex;align-items:center;gap:8px;color:var(--muted)}
.reading-audio-settings select{font:inherit;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:6px;padding:7px 10px}
.reading-audio-follow input{accent-color:var(--green);width:15px;height:15px}.reading-media-panel>.text-btn{font-size:11px}
.reading-paragraph.audio-current{background:color-mix(in srgb,var(--lime) 17%,transparent);box-shadow:inset 3px 0 var(--green);border-radius:5px;padding-left:15px;padding-right:12px}
.paragraph-audio-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.reading-paragraph.audio-current .paragraph-speak{opacity:1}
@media(max-width:600px){.reading-media-panel{padding:16px 13px}.reading-audio-head strong{font-size:12px}.reading-paragraph.audio-current{padding-left:12px;padding-right:8px}.reading-audio-settings,.paragraph-audio-actions{gap:12px}}

/* Compact four-item summary in the Android client; keep values and goals intact. */
@media(max-width:600px){html[data-android-layout=compact] .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 16px}html[data-android-layout=compact] .stat-card{min-width:0;min-height:78px;padding:10px 6px;border-radius:8px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}html[data-android-layout=compact] .stat-card small{font-size:12px;line-height:1.4;white-space:nowrap}html[data-android-layout=compact] .stat-card strong{width:100%;min-width:0;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;column-gap:2px;row-gap:0;font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums;margin:0}}
@media(max-width:360px){html[data-android-layout=compact] .stat-card strong{font-size:20px}}

/* Compact library empty-state panels only in the Android client. */
html[data-android-layout=compact] .library-tabs+.cards>.empty{padding:16px 14px;border-radius:10px}html[data-android-layout=compact] .library-tabs+.cards>.empty h3{font-size:15px;line-height:1.4;margin:0 0 4px}html[data-android-layout=compact] .library-tabs+.cards>.empty p{font-size:12px;line-height:1.5;margin:0}html[data-android-layout=compact] .library-tabs+.cards>.empty .btn{margin-top:10px;min-height:40px;padding:8px 16px;font-size:13px;line-height:1.4}

/* Keep Android library data tools together, with the save status below. */
html[data-android-layout=compact] .export-row.android-library-data{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding-top:16px}html[data-android-layout=compact] .library-data-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}html[data-android-layout=compact] .library-data-actions>.text-btn{min-height:40px;white-space:nowrap}html[data-android-layout=compact] .android-library-data>span{min-width:0;line-height:1.6}

/* Trim the gap above discovery only on the Android library page. */
html[data-android-layout=compact] #main.library-page{padding-bottom:12px;min-height:0}html[data-android-layout=compact] #main.library-page+#daily-discovery{margin-top:8px;padding-top:12px}

/* Bring the Android library summary upward without shrinking its heading. */


/* Compact the Android learning page while preserving plan text and learning actions. */
html[data-android-layout=compact] #main:is(.library-page,.learn-page)>.page-head{padding:12px 0 16px}html[data-android-layout=compact] #main:is(.library-page,.learn-page)>.page-head>.eyebrow{margin-top:0;margin-bottom:10px}html[data-android-layout=compact] #main:is(.library-page,.learn-page)>.page-head>p:not(.eyebrow){margin-top:8px}
html[data-android-layout=compact] #main.learn-page>.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:4px 0 12px}html[data-android-layout=compact] #main.learn-page .stat-card{min-height:68px;padding:8px 4px;gap:4px}html[data-android-layout=compact] #main.learn-page .stat-card strong{font-size:22px}
html[data-android-layout=compact] #main.learn-page>.feature-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;margin:12px 0}html[data-android-layout=compact] #main.learn-page>.feature-shortcuts>*{min-width:0;min-height:36px;padding:6px 4px;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.4;white-space:nowrap;justify-content:center}
html[data-android-layout=compact] #main.learn-page .today-tools{gap:10px;margin:8px 0 14px}html[data-android-layout=compact] #main.learn-page .today-plan{display:flex;flex-direction:column;gap:6px}html[data-android-layout=compact] #main.learn-page .today-plan>.eyebrow{order:0;font-size:10px;line-height:1.4;margin:0}html[data-android-layout=compact] #main.learn-page .today-plan>h2{order:1;font-size:20px;line-height:1.35;margin:0}html[data-android-layout=compact] #main.learn-page .today-plan>p:not(.eyebrow){order:3;font-size:12px;line-height:1.6;margin:0}html[data-android-layout=compact] #main.learn-page .today-plan>p.today-estimate-note{font-size:11px;line-height:1.5}html[data-android-layout=compact] #main.learn-page .today-plan>.reading-actions{order:2;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;margin:4px 0 2px}html[data-android-layout=compact] #main.learn-page .today-plan .reading-actions .btn{min-height:40px;padding:8px 12px;font-size:12px}html[data-android-layout=compact] #main.learn-page .today-word img{width:72px;height:72px;border-radius:10px}html[data-android-layout=compact] #main.learn-page .today-word h2{font-size:20px;margin:6px 0}html[data-android-layout=compact] #main.learn-page .today-word h3{font-size:24px;margin:6px 0}html[data-android-layout=compact] #main.learn-page .today-word small{margin-top:8px}
html[data-android-layout=compact] #main.learn-page .learning-panel{gap:10px;margin:12px 0 16px}html[data-android-layout=compact] #main.learn-page .learning-picture{min-height:88px;border-radius:10px}html[data-android-layout=compact] #main.learn-page .learning-picture .overline{top:8px;left:10px;padding:4px 6px;font-size:9px}html[data-android-layout=compact] #main.learn-page :is(.today-plan,.today-word,.today-tools-placeholder,.learning-intro){padding:14px;border-radius:10px}html[data-android-layout=compact] #main.learn-page .learning-intro h2{font-size:20px;line-height:1.4;margin:8px 0}html[data-android-layout=compact] #main.learn-page .learning-intro p{line-height:1.6}html[data-android-layout=compact] #main.learn-page .learning-intro>.eyebrow{font-size:10px;line-height:1.4;margin:0}html[data-android-layout=compact] #main.learn-page .steps{gap:10px;margin:10px 0;flex-wrap:wrap}html[data-android-layout=compact] #main.learn-page .learning-intro .btn{min-height:40px;margin-top:8px;padding:8px 12px;font-size:12px}
html[data-android-layout=compact] #main.learn-page>.section-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px}html[data-android-layout=compact] #main.learn-page>.section-top>div{min-width:0}html[data-android-layout=compact] #main.learn-page>.section-top .text-btn{min-height:40px}html[data-android-layout=compact] #main.learn-page .today-word,html[data-android-layout=compact] #main.learn-page>.cards{gap:10px}html[data-android-layout=compact] #main.learn-page>.cards .card-body{padding:10px 9px 8px}
@media(max-width:360px){html[data-android-layout=compact] #main.learn-page .stat-card strong{font-size:20px}}

/* Fit the Android learning greeting on one line at normal phone text sizes. */
html[data-android-layout=compact] #main.learn-page>.page-head>h1{font-size:20px;font-size:clamp(20px,6.5vw,24px);line-height:1.4}

/* Keep Android learning plan counts visible and full policy text expandable. */
html[data-android-layout=compact] #main.learn-page .today-plan>:is(.today-plan-summary,.today-plan-goal){font-size:12px;line-height:1.6}html[data-android-layout=compact] #main.learn-page .today-plan>.today-plan-details{order:4;font-size:11px;line-height:1.6;color:var(--muted);margin-top:2px}html[data-android-layout=compact] #main.learn-page .today-plan-details>summary{cursor:pointer;min-height:32px;display:list-item;line-height:32px;color:var(--green);width:fit-content}html[data-android-layout=compact] #main.learn-page .today-plan-details>p{margin:6px 0 0;font-size:11px;line-height:1.6}

/* The Android learning toolbar already links to the same statistics page. */


/* Put Android learning counts beside the primary action; details keep the full width. */
html[data-android-layout=compact] #main.learn-page .today-plan{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:8px;row-gap:6px;align-items:start}html[data-android-layout=compact] #main.learn-page .today-plan>.eyebrow{grid-column:1/-1;grid-row:1}html[data-android-layout=compact] #main.learn-page .today-plan>h2{grid-column:1/-1;grid-row:2}html[data-android-layout=compact] #main.learn-page .today-plan>.reading-actions{grid-column:1;grid-row:3/span 2;align-self:center;min-width:0;max-width:112px;margin:2px 0}html[data-android-layout=compact] #main.learn-page .today-plan>.reading-actions .btn{min-width:0;max-width:100%;padding:8px 10px;white-space:normal;text-align:center}html[data-android-layout=compact] #main.learn-page .today-plan>.today-plan-summary{grid-column:2;grid-row:3;min-width:0;align-self:end}html[data-android-layout=compact] #main.learn-page .today-plan>.today-plan-goal{grid-column:2;grid-row:4;min-width:0;align-self:start}html[data-android-layout=compact] #main.learn-page .today-plan>.today-plan-details{grid-column:1/-1;grid-row:5;min-width:0}

/* Use the Android daily-word middle column, keeping its provenance full width. */
html[data-android-layout=compact] #main.learn-page .today-word{display:grid;grid-template-columns:minmax(68px,.85fr) minmax(0,1.45fr) 64px;column-gap:8px;row-gap:6px;align-items:start}html[data-android-layout=compact] #main.learn-page .today-word>div{display:contents}html[data-android-layout=compact] #main.learn-page .today-word>div>.eyebrow{grid-column:1/-1;grid-row:1;margin:0}html[data-android-layout=compact] #main.learn-page .today-word h2{grid-column:1/-1;grid-row:2;margin:0}html[data-android-layout=compact] #main.learn-page .today-word .reading-meta{grid-column:1;grid-row:3;min-width:0}html[data-android-layout=compact] #main.learn-page .today-word h3{grid-column:1;grid-row:4;min-width:0;margin:0;line-height:1.3}html[data-android-layout=compact] #main.learn-page .today-word>div>p:not(.eyebrow){grid-column:2;grid-row:3;min-width:0;margin:0;line-height:1.5}html[data-android-layout=compact] #main.learn-page .today-word button[data-today=word]{grid-column:2;grid-row:4;min-width:0;justify-content:flex-start;text-align:left;font-size:12px;line-height:1.4;padding:2px 0;margin:0;white-space:normal}html[data-android-layout=compact] #main.learn-page .today-word>img{grid-column:3;grid-row:3/span 2;align-self:center;width:64px;height:64px}html[data-android-layout=compact] #main.learn-page .today-word small{grid-column:1/-1;grid-row:5;min-width:0;margin-top:4px;font-size:10px;line-height:1.5;white-space:normal}
/* Keep the Android learning action alongside its heading instead of below the copy. */
html[data-android-layout=compact] #main.learn-page .learning-intro{display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:8px;row-gap:8px;align-items:start}html[data-android-layout=compact] #main.learn-page .learning-intro>.eyebrow{grid-column:1/-1;grid-row:1}html[data-android-layout=compact] #main.learn-page .learning-intro>h2{grid-column:1;grid-row:2;min-width:0;font-size:clamp(16px,4.8vw,20px);line-height:1.45;margin:0}html[data-android-layout=compact] #main.learn-page .learning-intro>p:not(.eyebrow){grid-column:1/-1;grid-row:3;margin:0}html[data-android-layout=compact] #main.learn-page .learning-intro>.steps{grid-column:1/-1;grid-row:4;margin:0}html[data-android-layout=compact] #main.learn-page .learning-intro>.btn{grid-column:2;grid-row:2;align-self:center;justify-self:end;min-width:0;max-width:clamp(112px,35vw,142px);min-height:40px;margin:0;padding:8px;gap:6px;line-height:1.4;text-align:center;white-space:normal}html[data-android-layout=compact] #main.learn-page .learning-intro>.btn svg{width:16px;height:16px;flex:none}

/* Android practice: one setup, compact questions and complete feedback. */
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .page-head{padding:16px 0 14px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .page-head .eyebrow{font-size:10px;margin:0 0 8px;letter-spacing:1.4px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .page-head h1{font-size:clamp(22px,6vw,28px);line-height:1.4}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .page-head p:not(.eyebrow){font-size:12px;line-height:1.6;margin-top:6px}


html[data-android-layout=compact] #main.practice-page.practice-active,html[data-android-layout=compact] #main.study-page{padding-top:14px}
html[data-android-layout=compact] #main.practice-page .quiz-shell,html[data-android-layout=compact] #main.study-page .typing-panel{padding:14px;margin:0 auto;border-radius:12px}
html[data-android-layout=compact] #main.practice-page .quiz-start{padding:0;text-align:left}
html[data-android-layout=compact] #main.practice-page .quiz-shell h2{font-size:18px;line-height:1.5;margin:0 0 8px}
html[data-android-layout=compact] #main.practice-page .quiz-start p{max-width:none;font-size:12px;line-height:1.6;margin:0}
html[data-android-layout=compact] #main.practice-page .native-practice-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 8px}
html[data-android-layout=compact] #main.practice-page .native-practice-modes button{min-width:0;min-height:44px;padding:10px 6px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.5}
html[data-android-layout=compact] #main.practice-page .native-practice-modes button.active{background:var(--green);color:var(--white);border-color:var(--green)}
html[data-android-layout=compact] #main.practice-page .native-practice-hint{min-height:38.4px}
html[data-android-layout=compact] #main.practice-page .native-quiz-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 12px}
html[data-android-layout=compact] #main.practice-page .native-quiz-fields.text-only{grid-template-columns:1fr}
html[data-android-layout=compact] #main.practice-page .native-quiz-fields label{min-width:0;font-size:12px;line-height:1.5;color:var(--muted)}

html[data-android-layout=compact] #main.practice-page .quiz-start select{width:100%;min-width:0;min-height:44px;margin:5px 0 0;padding:8px;font-size:12px;color:var(--ink)}
html[data-android-layout=compact] #main.practice-page .native-practice-setup>.btn{width:100%;margin:0;min-height:44px;padding:10px 14px}
html[data-android-layout=compact] #main.practice-page .native-practice-setup .native-practice-stats{font-size:11px;margin:10px 0 2px}
html[data-android-layout=compact] #main.practice-page .native-practice-setup>.text-btn{min-height:36px;font-size:12px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-top{gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;margin:0 0 8px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-top .text-btn{min-height:36px;margin-left:auto;font-size:12px}
html[data-android-layout=compact] #main.practice-page .quiz-scene{height:clamp(128px,26vh,200px);aspect-ratio:auto}
html[data-android-layout=compact] #main.practice-page .quiz-picture{object-fit:contain}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-option{min-width:0;min-height:44px;padding:9px 8px;gap:7px;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-option small{flex:none;width:18px;height:18px;font-size:9px}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-feedback{gap:8px;min-height:0;margin-top:12px;align-items:center}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-feedback p{min-width:0;line-height:1.6;font-size:12px;overflow-wrap:anywhere}
html[data-android-layout=compact] #main:is(.practice-page,.study-page) .quiz-feedback .btn{min-height:40px;flex:none;padding:9px 10px;font-size:12px}
html[data-android-layout=compact] #main.practice-page .spell-form{gap:8px;margin-top:12px}
html[data-android-layout=compact] #main.practice-page .spell-form input{min-height:44px;padding:9px;font-size:18px;color:var(--ink)}
html[data-android-layout=compact] #main.practice-page .spell-form .btn{min-height:44px;padding:9px 12px}
html[data-android-layout=compact] #main.practice-page .quiz-summary{gap:24px;margin:16px 0}
html[data-android-layout=compact] .library-tabs+.cards>.empty>svg,html[data-android-layout=compact] #main.learn-page .today-plan>.reading-actions>a[href$="#insights"],html[data-android-layout=compact] #main.practice-page.practice-active>.page-head,html[data-android-layout=compact] #main.practice-page .native-quiz-fields [hidden],html[data-android-layout=compact] #main.practice-page .quiz-start:not(.native-practice-setup)>.big-icon{display:none}
html[data-android-layout=compact] #main.practice-page .quiz-start:not(.native-practice-setup)>.btn{margin-top:12px;min-height:44px}
html[data-android-layout=compact] #main.study-page .study-prompt{padding:8px 0 12px}
html[data-android-layout=compact] #main.study-page .study-prompt h2{font-size:24px;line-height:1.5;margin:0 0 6px;overflow-wrap:anywhere}
html[data-android-layout=compact] #main.study-page .study-prompt p{font-size:12px;line-height:1.6}
html[data-android-layout=compact] #main.study-page .study-prompt .eyebrow{margin:0 0 6px;font-size:10px}
html[data-android-layout=compact] #main.study-page .study-listen{min-height:44px;margin-top:6px;padding:10px 14px}
html[data-android-layout=compact] #main.study-page .study-panel .quiz-feedback{display:flex;flex-direction:column;align-items:stretch}
html[data-android-layout=compact] #main.study-page .quiz-feedback .reading-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0}
html[data-android-layout=compact] #main.study-page .typing-result h1{font-size:24px;line-height:1.5;margin:0 0 8px}
html[data-android-layout=compact] #main.study-page .typing-result p{font-size:12px;line-height:1.6}
html[data-android-layout=compact] #main.study-page .study-score{font-size:36px;margin:8px 0}
html[data-android-layout=compact] #main.study-page .typing-result>.btn{min-height:44px;margin-top:12px}
html[data-android-layout=compact] #main.study-page .study-toolbar{gap:8px;margin:0 0 12px;font-size:12px}
html[data-android-layout=compact] #main.study-page .study-toolbar select{min-height:44px;padding:8px 12px}
html[data-android-layout=compact] #main.study-page .study-modes{gap:10px}

html[data-android-layout=compact] #main.study-page .study-modes h2{font-size:20px;margin:6px 0}


html[data-android-layout=compact] #main.study-page .study-modes .btn{min-height:44px;padding:10px 12px;margin-top:8px}
html[data-android-layout=compact] #main.study-page .study-scheduler{margin-top:14px}
html[data-android-layout=compact] #main.study-page .study-scheduler summary{padding:14px;font-size:13px}

/* Android typing: compact setup, input cards and saved results; web styles stay intact. */
html[data-android-layout=compact] #typing-root .page-head{padding:16px 0 14px}
html[data-android-layout=compact] #typing-root .page-head .eyebrow{font-size:10px;letter-spacing:1.4px;margin:0 0 8px}
html[data-android-layout=compact] #typing-root .page-head h1{font-size:clamp(22px,5.8vw,26px);line-height:1.4}
html[data-android-layout=compact] #typing-root .page-head p:not(.eyebrow){font-size:12px;line-height:1.6;margin-top:6px}
html[data-android-layout=compact] #typing-root .typing-layout{grid-template-columns:1fr;gap:10px}
html[data-android-layout=compact] #typing-root .typing-panel{padding:14px;border-radius:12px;min-width:0}
html[data-android-layout=compact] #typing-root .typing-panel h2{font-size:18px;line-height:1.5;margin:0 0 8px}
html[data-android-layout=compact] #main.study-page .study-modes p:not(.eyebrow),html[data-android-layout=compact] #typing-root .typing-panel p{font-size:12px;line-height:1.6}
html[data-android-layout=compact] #typing-root .typing-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
html[data-android-layout=compact] #typing-root .typing-modes button{min-width:0;min-height:44px;padding:10px 7px;border-radius:8px}
html[data-android-layout=compact] #typing-root .typing-modes strong{font-size:13px;line-height:1.5;margin-bottom:4px}
html[data-android-layout=compact] #typing-root .typing-modes small{font-size:10px;line-height:1.5}
html[data-android-layout=compact] #typing-root .setting-row{gap:10px;margin:10px 0;font-size:12px}
html[data-android-layout=compact] #typing-root .setting-row select{min-width:0;max-width:72%;min-height:44px;padding:8px 10px;font-size:12px;color:var(--ink)}
html[data-android-layout=compact] #typing-root .typing-note{margin:8px 0 10px}
html[data-android-layout=compact] #typing-root .btn{min-height:44px;padding:10px 13px;font-size:12px;line-height:1.5}
html[data-android-layout=compact] #typing-root [data-typing=start]{width:100%}
html[data-android-layout=compact] #typing-root #typing-status{min-height:0;font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}

html[data-android-layout=compact] #typing-root .typing-records{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
html[data-android-layout=compact] #typing-root .typing-records>.eyebrow{grid-column:1;grid-row:1;align-self:center;font-size:10px;letter-spacing:1px}
html[data-android-layout=compact] #typing-root .typing-records .typing-best{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:8px;font-size:28px;line-height:1.2;margin:0}
html[data-android-layout=compact] #typing-root .typing-best small{font-size:10px}
html[data-android-layout=compact] #typing-root .typing-records>p:not(.eyebrow),html[data-android-layout=compact] #typing-root .typing-records>:is(h3,ul){grid-column:1/-1;min-width:0}
html[data-android-layout=compact] #typing-root .typing-records>p:not(.eyebrow){font-size:11px;line-height:1.6}
html[data-android-layout=compact] #typing-root .typing-records h3{font-size:13px;line-height:1.5;margin:4px 0 0}
html[data-android-layout=compact] #typing-root .typing-records li{gap:8px;padding:7px 0;font-size:11px;line-height:1.5;flex-wrap:wrap}
html[data-android-layout=compact] #typing-root :is(.typing-question,.typing-result){margin:14px auto}
html[data-android-layout=compact] #typing-root .quiz-top{align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;margin-bottom:8px}
html[data-android-layout=compact] #typing-root .quiz-top .text-btn{min-height:36px;font-size:12px;margin-left:auto}
html[data-android-layout=compact] #typing-root .typing-image{width:clamp(96px,28vw,140px);height:clamp(80px,18vh,126px);object-fit:contain;margin:8px auto;border-radius:8px}
html[data-android-layout=compact] #typing-root .dictation-cover{padding:10px;font-size:30px;line-height:1.2;border-radius:8px;margin:8px 0}
html[data-android-layout=compact] #typing-root .dictation-cover p{font-size:11px;margin-top:4px}
html[data-android-layout=compact] #typing-root .typing-prompt{margin:8px 0;line-height:1.6;overflow-wrap:anywhere}
html[data-android-layout=compact] #typing-root .typing-prompt p[lang=en]{font-size:16px;line-height:1.6}
html[data-android-layout=compact] #typing-root .typing-prompt small{font-size:11px;line-height:1.6;margin-top:4px}
html[data-android-layout=compact] #typing-root .typing-actions{gap:8px;margin:8px 0}
html[data-android-layout=compact] #typing-root .typing-actions .text-btn{min-height:36px;font-size:12px}
html[data-android-layout=compact] #typing-root .typing-actions small{font-size:10px;line-height:1.5}
html[data-android-layout=compact] #typing-root .typing-question label{font-size:12px;margin:8px 0 6px}
html[data-android-layout=compact] #typing-root .typing-question textarea{min-height:44px;padding:10px;font-size:16px;line-height:1.5;border-radius:8px}
html[data-android-layout=compact] #typing-root #typing-next{margin-top:8px}
html[data-android-layout=compact] #typing-root .typing-result h1{font-size:24px;line-height:1.5;margin:8px 0 12px}
html[data-android-layout=compact] #main.study-page .study-modes .eyebrow,html[data-android-layout=compact] #typing-root .typing-result .eyebrow{font-size:10px;letter-spacing:1px}
html[data-android-layout=compact] #typing-root .quiz-summary{gap:16px;margin:14px 0}
html[data-android-layout=compact] #typing-root .quiz-summary strong{font-size:26px;line-height:1.3}
html[data-android-layout=compact] #typing-root .quiz-summary small{font-size:11px}
html[data-android-layout=compact] #typing-root .typing-result>.typing-actions{margin-top:12px}

/* Sentence cards use the picture's side space; accepted answers no longer need a disabled check row. */
html[data-android-layout=compact] #typing-root .typing-question:has(.typing-image):has(textarea[rows="3"]) .typing-image{float:right;width:76px;height:76px;margin:0 0 8px 10px}
html[data-android-layout=compact] #typing-root .typing-question:has(.typing-image):has(textarea[rows="3"]) .typing-prompt{text-align:left;min-height:76px}



/* One compact lower-page rhythm across Android app sections. */
html[data-android-layout=compact] #main{padding-bottom:12px;min-height:0}
html[data-android-layout=compact] #main+#daily-discovery{margin:8px auto 12px;padding:12px 16px}
html[data-android-layout=compact] #daily-discovery .panel-heading{margin-bottom:10px;gap:10px;flex-wrap:wrap}
html[data-android-layout=compact] #daily-discovery ul{gap:8px;margin:10px 0 0}
html[data-android-layout=compact] #daily-discovery li a{padding:12px;border-radius:10px}
html[data-android-layout=compact] #daily-discovery~.footer{padding:14px 0 60px;gap:8px}

html[data-android-layout=compact] #catalog-reference{margin-top:0;margin-bottom:12px;padding-bottom:0}


/* Compact Android curiosity cards without changing web or study content. */
html[data-android-layout=compact] #fun-root .page-head{padding:16px 0 14px}
html[data-android-layout=compact] #fun-root .page-head .eyebrow{font-size:10px;letter-spacing:1.4px;margin:0 0 8px}
html[data-android-layout=compact] #fun-root .page-head h1{font-size:clamp(18px,5.6vw,28px);line-height:1.4;white-space:nowrap}
html[data-android-layout=compact] #fun-root .page-head p:not(.eyebrow){font-size:12px;line-height:1.6;margin-top:6px}
html[data-android-layout=compact] #fun-root .fun-top{justify-content:flex-start;column-gap:2px;row-gap:6px;margin-bottom:12px}
html[data-android-layout=compact] #fun-root .fun-top .reading-tabs{margin:8px 0}
html[data-android-layout=compact] #fun-root .fun-top .chip{font-size:12px;min-height:40px;padding:8px}
html[data-android-layout=compact] #fun-root .fun-top>p{line-height:1.6}
html[data-android-layout=compact] #fun-root .fun-layout{grid-template-columns:1fr;gap:12px}
html[data-android-layout=compact] #fun-root .fun-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-android-layout=compact] #fun-root .fun-card{padding:10px 6px;gap:6px;border-radius:10px;min-height:100px}
html[data-android-layout=compact] #fun-root .fun-card>span{font-size:28px;line-height:1.2}
html[data-android-layout=compact] #fun-root .fun-card strong{font-size:14px;line-height:1.4}
html[data-android-layout=compact] #fun-root .fun-card small{font-size:13px;line-height:1.4}
html[data-android-layout=compact] #fun-root .fun-card i{top:6px;right:7px}
html[data-android-layout=compact] #fun-root .fun-detail{position:static;padding:14px;border-radius:12px}
html[data-android-layout=compact] #fun-root .fun-large-symbol{font-size:44px;line-height:1.2;margin:8px 0}

html[data-android-layout=compact] #fun-root .fun-detail h2{font-size:28px;line-height:1.4;margin:6px 0}
html[data-android-layout=compact] #fun-root .fun-detail>p{font-size:12px;line-height:1.65}
html[data-android-layout=compact] #fun-root .fun-phrase{padding:12px;margin:12px 0}
html[data-android-layout=compact] #fun-root .fun-phrase strong{font-size:18px;line-height:1.5}
html[data-android-layout=compact] #fun-root .fun-phrase small{line-height:1.6;margin-top:4px}
html[data-android-layout=compact] #fun-root .fun-detail>p[lang=en]{font-size:16px;line-height:1.6}
html[data-android-layout=compact] #fun-root .fun-detail .fun-translation{margin-top:6px}
html[data-android-layout=compact] #fun-root .reading-actions{gap:8px;margin:10px 0}
html[data-android-layout=compact] #fun-root .btn{min-height:44px;padding:10px 12px;font-size:12px;line-height:1.5}
html[data-android-layout=compact] #fun-root .reading-actions .text-btn{min-height:36px}
html[data-android-layout=compact] #fun-root .fun-challenge{padding:14px;border-radius:12px;gap:12px;margin:14px 0}
html[data-android-layout=compact] #fun-root .fun-challenge h2{font-size:20px;line-height:1.5;margin:6px 0}
html[data-android-layout=compact] #fun-root .fun-challenge p{line-height:1.6}
html[data-android-layout=compact] #fun-root :is(.fun-detail,.fun-challenge,.fun-activity) .eyebrow{font-size:10px;letter-spacing:1px}
html[data-android-layout=compact] #fun-root .fun-activities{gap:12px;margin:14px 0}

html[data-android-layout=compact] #fun-root .fun-activity h2{font-size:20px;line-height:1.5;margin:6px 0}
html[data-android-layout=compact] #fun-root .fun-activity>p:not(.eyebrow){line-height:1.6}
html[data-android-layout=compact] #fun-root .fun-reading-links{gap:8px;margin-top:10px}
html[data-android-layout=compact] #catalog-reference details,html[data-android-layout=compact] #fun-root .fun-reading-links a{padding:12px}
html[data-android-layout=compact] #fun-root .fun-reading-links strong{font-size:15px;line-height:1.5;margin:6px 0}
html[data-android-layout=compact] #fun-root .fun-reading-links span{font-size:14px;line-height:1.5}
html[data-android-layout=compact] #fun-root .fun-reading-links b{margin-top:8px}
html[data-android-layout=compact] #fun-root :is(.fun-question,.fun-pair,.typing-result){margin:14px auto}
html[data-android-layout=compact] #main.study-page .study-modes section,html[data-android-layout=compact] #fun-root :is(.fun-activity,.typing-panel){padding:14px;border-radius:12px}
html[data-android-layout=compact] #fun-root .fun-question h2{font-size:20px;line-height:1.5;margin:10px 0 14px}
html[data-android-layout=compact] #fun-root .quiz-top{align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
html[data-android-layout=compact] #fun-root .quiz-top .text-btn{min-height:36px;font-size:12px}
html[data-android-layout=compact] #fun-root .quiz-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
html[data-android-layout=compact] #fun-root .quiz-option{min-width:0;min-height:44px;font-size:16px;line-height:1.4;overflow-wrap:anywhere;padding:9px 8px}
html[data-android-layout=compact] #fun-root .quiz-feedback{gap:8px;min-height:0;margin-top:12px}
html[data-android-layout=compact] #fun-root .quiz-feedback p{font-size:12px;line-height:1.6;min-width:0;overflow-wrap:anywhere}
html[data-android-layout=compact] #fun-root .spell-form{gap:8px;margin-top:12px}
html[data-android-layout=compact] #fun-root .spell-form input{min-height:44px;padding:10px;font-size:16px}
html[data-android-layout=compact] #fun-root .fun-pair>.eyebrow{margin-top:12px;font-size:10px;letter-spacing:1px}
html[data-android-layout=compact] #fun-root .fun-pair h1{font-size:24px;line-height:1.4;margin:8px 0}
html[data-android-layout=compact] #fun-root .fun-pair-instructions{line-height:1.6;margin-bottom:12px}
html[data-android-layout=compact] #fun-root .fun-pair-columns{gap:10px}
html[data-android-layout=compact] #fun-root .fun-pair-columns h2{margin-bottom:8px}
html[data-android-layout=compact] #fun-root .fun-pair-tile{min-height:52px;padding:10px;gap:6px;margin:6px 0}
html[data-android-layout=compact] #fun-root .fun-pair-tile span[lang=en]{font-size:17px}
html[data-android-layout=compact] #fun-root .fun-pair-status{min-height:24px;margin:10px 0 8px;line-height:1.6}
html[data-android-layout=compact] #fun-root .typing-result h1{font-size:24px;line-height:1.4;margin:8px 0 12px}
html[data-android-layout=compact] #fun-root .typing-result p{font-size:12px;line-height:1.6}
html[data-android-layout=compact] #fun-root .quiz-summary{gap:18px;margin:14px 0}
html[data-android-layout=compact] #fun-root .quiz-summary strong{font-size:28px;line-height:1.4}

/* Keep both Android pairing actions on the same row when a resumable round exists. */
html[data-android-layout=compact] #fun-root .fun-activity .reading-actions:has([data-fun="pair-resume"]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
html[data-android-layout=compact] #fun-root .fun-activity .reading-actions:has([data-fun="pair-resume"])>.btn{min-width:0;width:100%;margin:0;padding:9px 6px;white-space:normal;text-align:center;overflow-wrap:anywhere}

/* Place the Android detail symbol beside the name, using the header's right-hand space. */
html[data-android-layout=compact] #fun-root .fun-detail>.fun-large-symbol{float:right;display:grid;place-items:center;width:72px;height:72px;font-size:48px;line-height:1;margin:0 0 8px 12px}
html[data-android-layout=compact] #typing-root .typing-question:has(.typing-image):has(textarea[rows="3"])>.typing-actions,html[data-android-layout=compact] #fun-root .fun-detail>.fun-phrase{clear:both}

/* Compact Android reading catalogues; preserve reader text and media controls. */
html[data-android-layout=compact] #read-root>.page-head{padding:16px 0 14px}
html[data-android-layout=compact] #read-root>.page-head .eyebrow{font-size:10px;letter-spacing:1.4px;margin:0 0 8px}
html[data-android-layout=compact] #read-root>.page-head h1{font-size:clamp(20px,5.6vw,28px);line-height:1.4}

html[data-android-layout=compact] #read-root>.reading-tabs{gap:8px;margin:8px 0 10px}
html[data-android-layout=compact] #read-root>.reading-tabs .chip{min-height:36px;padding:8px 10px;font-size:12px}
html[data-android-layout=compact] #read-root>.reading-filters{gap:6px;margin:8px 0}
html[data-android-layout=compact] #read-root>.reading-filters .chip{min-height:32px;padding:6px 7px;font-size:11px}
html[data-android-layout=compact] #read-root>.reading-note{font-size:11px;line-height:1.6;margin:10px 0}
html[data-android-layout=compact] #read-root .reading-grid{grid-template-columns:1fr;gap:10px;margin:12px 0 16px}
html[data-android-layout=compact] #read-root .reading-card{display:flex;align-items:stretch;border-radius:10px}
html[data-android-layout=compact] #read-root .reading-card>img{width:84px;min-height:112px;height:auto;object-fit:cover;flex:none}
html[data-android-layout=compact] #read-root .reading-card>div{padding:12px;min-width:0}
html[data-android-layout=compact] #read-root .reading-card h2{font-size:18px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}
html[data-android-layout=compact] #read-root .reading-card p{font-size:12px;line-height:1.6;margin:0 0 6px}
html[data-android-layout=compact] #read-root .reading-card .text-btn{min-height:30px;font-size:12px;padding:4px 0}
html[data-android-layout=compact] #read-root .book-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border-radius:10px;align-items:end}
html[data-android-layout=compact] #read-root .book-filters label{min-width:0;gap:4px;font-size:11px;line-height:1.5}
html[data-android-layout=compact] #read-root .book-filters .book-search{grid-column:1/-1;min-width:0}
html[data-android-layout=compact] #read-root .book-filters :is(input,select){min-width:0;min-height:40px;padding:8px 6px;font-size:clamp(11px,3.25vw,12px)}
html[data-android-layout=compact] #read-root .book-filters>.btn{min-height:40px;padding:8px 12px;font-size:12px}
html[data-android-layout=compact] #read-root .book-filters>.text-btn{min-height:40px;justify-self:start;font-size:12px}
html[data-android-layout=compact] #read-root .book-grid{grid-template-columns:1fr;gap:10px}
html[data-android-layout=compact] #read-root .book-card{align-items:flex-start;gap:12px;padding:12px;border-radius:10px}
html[data-android-layout=compact] #read-root .book-cover{width:96px;min-height:134px;padding:10px;gap:8px;border-left-width:4px;box-shadow:3px 4px 10px #10221822}
html[data-android-layout=compact] #read-root .book-cover small{font-size:10px;line-height:1.35}
html[data-android-layout=compact] #read-root .book-cover>span{font-size:24px;line-height:1.2}
html[data-android-layout=compact] #read-root .book-cover strong{font-size:13px;line-height:1.4}
html[data-android-layout=compact] #read-root .book-cover em{font-size:9px;line-height:1.4}
html[data-android-layout=compact] #read-root .book-card h2{font-size:18px;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}
html[data-android-layout=compact] #read-root .book-card p{font-size:11px;line-height:1.6}
html[data-android-layout=compact] #read-root .book-card .book-media-coverage{line-height:1.5!important;margin:6px 0 8px}
html[data-android-layout=compact] #read-root .book-card .text-btn{min-height:30px;font-size:11px;line-height:1.5;padding:4px 0;flex-wrap:wrap;justify-content:flex-start;text-align:left}
html[data-android-layout=compact] #read-root .book-pagination{gap:6px;margin:14px 0}
html[data-android-layout=compact] #read-root .book-pagination .btn{min-height:40px;padding:8px 10px;font-size:12px}
html[data-android-layout=compact] #read-root .book-pagination .chip{min-height:32px;padding:7px 10px}
html[data-android-layout=compact] #read-root>.reading-intro{padding:14px;border-radius:10px}
html[data-android-layout=compact] #read-root>.reading-intro>p{font-size:12px;line-height:1.7}
html[data-android-layout=compact] #read-root>.reading-intro .reading-actions{gap:8px;margin:10px 0}
html[data-android-layout=compact] #read-root>.reading-intro .btn{min-height:40px;padding:8px 12px;font-size:12px}
html[data-android-layout=compact] #read-root>.chapter-grid{gap:8px;margin:14px 0}
html[data-android-layout=compact] #read-root>.chapter-grid a{min-height:56px;padding:12px;gap:10px}
html[data-android-layout=compact] #read-root>.chapter-grid strong{line-height:1.5}
html[data-android-layout=compact] #read-root>.chapter-grid small{margin-top:4px}

/* Compact Android exam overview and planning cards; keep exam content and records intact. */
html[data-android-layout=compact] #exam-root .exam-topline{padding-top:10px;gap:8px;font-size:11px}
html[data-android-layout=compact] #exam-root .exam-topline a{min-height:24px;display:inline-flex;align-items:center}
html[data-android-layout=compact] #exam-root>.page-head{padding:14px 0}
html[data-android-layout=compact] #exam-root>.page-head .eyebrow{font-size:10px;letter-spacing:1.3px;margin:0 0 8px}
html[data-android-layout=compact] #exam-root>.page-head h1{font-size:clamp(20px,5.6vw,28px);line-height:1.4}
html[data-android-layout=compact] :is(#read-root,#exam-root)>.page-head p:not(.eyebrow){font-size:12px;line-height:1.6;margin-top:6px}
html[data-android-layout=compact] #exam-root .exam-entry-grid{grid-template-columns:1fr;gap:10px;margin:6px 0 14px}
html[data-android-layout=compact] #exam-root :is(.exam-entry,.exam-panel){padding:14px;border-radius:12px;margin-bottom:12px}
html[data-android-layout=compact] #exam-root .exam-entry{margin:0}
html[data-android-layout=compact] #exam-root .exam-entry:after{font-size:58px;right:12px;top:4px}
html[data-android-layout=compact] #exam-root .exam-kicker{font-size:10px;letter-spacing:1px}
html[data-android-layout=compact] #exam-root .exam-entry h2{font-size:24px;line-height:1.4;margin:8px 0}
html[data-android-layout=compact] #exam-root .exam-entry p,html[data-android-layout=compact] #exam-root .exam-panel:not(.exam-question):not(.exam-result)>p{font-size:12px;line-height:1.65;margin:6px 0}
html[data-android-layout=compact] #exam-root .exam-entry-note{gap:8px;font-size:11px;line-height:1.5;margin:8px 0}
html[data-android-layout=compact] #exam-root .btn{min-height:44px;padding:10px 12px;font-size:12px;line-height:1.5}
html[data-android-layout=compact] #exam-root .exam-entry .btn{margin-top:4px}
html[data-android-layout=compact] #exam-root .exam-panel h2{font-size:20px;line-height:1.5;margin:0 0 8px}
html[data-android-layout=compact] #exam-root .exam-panel h3{font-size:16px;line-height:1.5}
html[data-android-layout=compact] #exam-root .exam-three{gap:8px;margin:10px 0}
html[data-android-layout=compact] #exam-root .exam-three p{font-size:12px;line-height:1.65;margin:4px 0}
html[data-android-layout=compact] #exam-root .exam-three b{font-size:15px;margin-bottom:4px}
html[data-android-layout=compact] #exam-root .exam-links{gap:8px 12px;margin:12px 0}
html[data-android-layout=compact] #exam-root .exam-links>a,html[data-android-layout=compact] #exam-root .exam-links>.text-btn{min-height:32px;display:inline-flex;align-items:center}
html[data-android-layout=compact] #exam-root .exam-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:4px 0 12px}
html[data-android-layout=compact] #exam-root .exam-stats>div{padding:8px 4px;border-radius:8px}
html[data-android-layout=compact] #exam-root .exam-stats :is(small,span){font-size:10px;line-height:1.45;overflow-wrap:anywhere}
html[data-android-layout=compact] #exam-root .exam-stats strong{font-size:22px;line-height:1.15;margin:4px 0}
html[data-android-layout=compact] #exam-root .exam-settings summary{font-size:13px;line-height:1.5}
html[data-android-layout=compact] #exam-root .exam-settings form{padding-top:8px}
html[data-android-layout=compact] #exam-root .exam-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
html[data-android-layout=compact] #exam-root .exam-form-grid label{gap:4px;font-size:11px;line-height:1.5}
html[data-android-layout=compact] #exam-root .exam-wide{grid-column:span 2}
html[data-android-layout=compact] #exam-root .exam-panel select,html[data-android-layout=compact] #exam-root .exam-panel input[type=date]{min-height:40px;padding:8px;font-size:12px}
html[data-android-layout=compact] #exam-root :is(.exam-checkboxes,.exam-rubric){gap:8px;margin:12px 0}
html[data-android-layout=compact] #exam-root :is(.exam-checkboxes,.exam-rubric) legend{margin-bottom:8px}
html[data-android-layout=compact] #exam-root .exam-checkboxes label{min-height:32px;padding:6px 8px}
html[data-android-layout=compact] #exam-root .exam-section-heading{gap:6px}
html[data-android-layout=compact] #exam-root .exam-section-heading h2{margin-bottom:6px}
html[data-android-layout=compact] #exam-root .exam-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
html[data-android-layout=compact] #exam-root .exam-plan-grid article{padding:12px;border-radius:8px}
html[data-android-layout=compact] #exam-root .exam-plan-grid h3{font-size:14px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
html[data-android-layout=compact] #exam-root .exam-plan-grid .text-btn{min-height:32px;line-height:1.5;white-space:normal;text-align:left;justify-content:flex-start}
html[data-android-layout=compact] #exam-root .exam-warning{padding-left:10px;margin:10px 0}
html[data-android-layout=compact] #exam-root .exam-draft{padding:10px}
html[data-android-layout=compact] #exam-root .exam-roadmap{gap:10px;margin:12px 0 0}
html[data-android-layout=compact] #exam-root .exam-roadmap li{padding-top:10px}
html[data-android-layout=compact] #exam-root .exam-roadmap small{margin-bottom:6px}
html[data-android-layout=compact] #exam-root .exam-roadmap p{line-height:1.6;margin:6px 0}
html[data-android-layout=compact] #exam-root .exam-methods{gap:8px}
html[data-android-layout=compact] #exam-root .exam-methods article{padding:8px 0}
html[data-android-layout=compact] #exam-root .exam-methods p{font-size:12px;line-height:1.65;margin:6px 0}
html[data-android-layout=compact] #exam-root .exam-source-links{gap:8px 12px;margin-top:12px}
html[data-android-layout=compact] #exam-root .exam-filters{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
html[data-android-layout=compact] #exam-root .exam-filters label{min-width:0;gap:4px}
html[data-android-layout=compact] #exam-root .exam-task-grid{grid-template-columns:1fr;gap:8px}
html[data-android-layout=compact] #exam-root .exam-task-grid article{padding:12px;border-radius:8px}
html[data-android-layout=compact] #exam-root .exam-task-meta{gap:6px;margin-bottom:6px}
html[data-android-layout=compact] #exam-root .exam-task-grid h3{font-size:18px;line-height:1.4}
html[data-android-layout=compact] #exam-root .exam-task-grid p{line-height:1.6;margin:6px 0 10px}
html[data-android-layout=compact] #exam-root .exam-task-grid .btn{min-height:40px;padding:9px 12px}
html[data-android-layout=compact] #exam-root .exam-week{gap:8px;min-height:100px;margin-top:14px}
html[data-android-layout=compact] #exam-root .exam-history{margin-top:12px}
html[data-android-layout=compact] #exam-root .exam-history li{padding:10px 0;gap:8px}
html[data-android-layout=compact] #exam-root .exam-history small{margin-top:5px}
html[data-android-layout=compact] #exam-root .exam-history .text-btn{min-height:32px}
html[data-android-layout=compact] #exam-root :is(.exam-question,.exam-result){margin:14px auto}
html[data-android-layout=compact] #exam-root .exam-question-top{gap:8px;margin-bottom:10px}
html[data-android-layout=compact] #exam-root .exam-question-top .text-btn{min-height:32px;font-size:11px}
html[data-android-layout=compact] #exam-root :is(.exam-question,.exam-result) h1{font-size:24px;line-height:1.4;margin:8px 0 12px}
html[data-android-layout=compact] #exam-root .exam-timebar{padding:8px 0;gap:8px}

html[data-android-layout=compact] #exam-root :is(.exam-passage,.exam-saved-answer){padding:12px}
html[data-android-layout=compact] #exam-root .exam-audio{padding:12px;margin:14px 0}
html[data-android-layout=compact] #exam-root :is(.exam-prompt,.exam-passage,.exam-saved-answer,.exam-answer-options){margin:14px 0}
html[data-android-layout=compact] #exam-root .exam-answer-options legend{margin-bottom:8px}
html[data-android-layout=compact] #exam-root .exam-answer-options label{margin:8px 0}
html[data-android-layout=compact] #exam-root .exam-answer-options label>span{min-height:44px;padding:10px}
html[data-android-layout=compact] #exam-root .exam-answer-options input{margin-top:12px}
html[data-android-layout=compact] #exam-root .exam-answer-label{margin:14px 0 8px}
html[data-android-layout=compact] #exam-root .exam-submit{gap:8px;margin-top:14px}
html[data-android-layout=compact] #exam-root .exam-recorder{padding-top:14px;margin-top:16px}
html[data-android-layout=compact] #exam-root .exam-result h2{margin-top:18px}
html[data-android-layout=compact] #exam-root .exam-result-summary{padding:12px;margin:14px 0}
html[data-android-layout=compact] #exam-root .exam-result-summary strong{font-size:20px}
html[data-android-layout=compact] #exam-root .exam-result details{padding:12px 0}
html[data-android-layout=compact] #exam-root .exam-result blockquote{padding-left:12px;margin:14px 0}
html[data-android-layout=compact] #exam-root .exam-vocab{margin-top:18px}
html[data-android-layout=compact] #exam-root #exam-status{min-height:0;margin:8px 0}
html[data-android-layout=compact] #exam-root #exam-status:empty{margin:0}

/* Compact atlas for Android APK and installed PWA; ordinary web stays unchanged. */
@media(max-width:600px){
html[data-android-layout=compact] .hero{min-height:0;padding:14px 0 10px;gap:8px}
html[data-android-layout=compact] .hero .eyebrow{font-size:9px;letter-spacing:1.2px;line-height:1.5}
html[data-android-layout=compact] .hero h1{font-size:26px;line-height:1.35;margin:8px 0}
html[data-android-layout=compact] .hero-desc{font-size:11px;line-height:1.65}
html[data-android-layout=compact] .hero-actions{gap:8px;margin-top:12px;flex-wrap:wrap}
html[data-android-layout=compact] .hero-actions .btn{min-height:40px;padding:8px 10px;font-size:12px;line-height:1.5;gap:6px}
html[data-android-layout=compact] .hero-actions svg{width:16px;height:16px}
html[data-android-layout=compact] .hero-note{gap:10px;flex-wrap:wrap;font-size:10px;line-height:1.5;margin-top:10px}
html[data-android-layout=compact] .hero-visual{height:170px;transform:none;margin:0}
html[data-android-layout=compact] .hero-orbit{inset:8px 12px}
html[data-android-layout=compact] .feature-card{top:4px;width:150px;padding:6px;border-radius:10px}
html[data-android-layout=compact] .feature-image{height:116px}
html[data-android-layout=compact] .feature-image .pill{font-size:8px;top:5px;left:5px;padding:3px 5px}
html[data-android-layout=compact] .feature-image .pill svg{width:10px;height:10px}
html[data-android-layout=compact] .feature-image .round-play{width:40px;height:40px}
html[data-android-layout=compact] .feature-label{padding:4px 2px 0;gap:2px;min-width:0}
html[data-android-layout=compact] .feature-label strong{font-size:19px}
html[data-android-layout=compact] .feature-label small{font-size:9px}
html[data-android-layout=compact] .feature-label .icon-btn{padding:5px}
html[data-android-layout=compact] .feature-label .icon-btn svg{width:14px;height:14px}
html[data-android-layout=compact] .mini-card{width:90px;padding:5px 5px 7px}
html[data-android-layout=compact] .mini-card img{height:80px}
html[data-android-layout=compact] .mini-card strong{font-size:16px;margin-top:4px}
html[data-android-layout=compact] .mini-card small{font-size:9px}
html[data-android-layout=compact] .mini-left{left:calc(50% - 133px);top:35px}
html[data-android-layout=compact] .mini-right{right:calc(50% - 133px);top:20px}
html[data-android-layout=compact] .stat-card p,html[data-android-layout=compact] :is(.hero-spark,.floating-note){display:none}
html[data-android-layout=compact] .daily-strip{padding:10px;gap:8px;margin:0 0 12px}
html[data-android-layout=compact] .daily-icon{width:28px;height:28px;flex-shrink:0}
html[data-android-layout=compact] .daily-left{gap:6px;min-width:0}
html[data-android-layout=compact] .daily-left strong{font-size:11px;line-height:1.5}
html[data-android-layout=compact] .daily-left small{font-size:9px;line-height:1.5;margin-top:3px}
html[data-android-layout=compact] .daily-right .text-btn{min-height:36px}
html[data-android-layout=compact] .home-explore{gap:10px;margin:0 0 12px}

html[data-android-layout=compact] .journey-preview .panel-heading{gap:8px;margin-bottom:12px}
html[data-android-layout=compact] .journey-preview .panel-heading h2{font-size:15px;line-height:1.4}
html[data-android-layout=compact] .journey-preview .panel-heading .text-btn{font-size:10px;min-height:32px;white-space:nowrap}

html[data-android-layout=compact] .journey-preview :is(.route-stations,.route-station){gap:4px}
html[data-android-layout=compact] .journey-preview .station-circle{width:32px;height:32px;font-size:14px;border-width:2px}
html[data-android-layout=compact] .journey-preview .route-station strong{font-size:9px}
html[data-android-layout=compact] .journey-preview .route-station :is(small,em){font-size:8px}
html[data-android-layout=compact] .journey-preview>.reading-note{font-size:10px;line-height:1.6;margin:10px 0 0}
html[data-android-layout=compact] .galaxy-preview{padding:12px;gap:6px;border-radius:10px;min-height:0}
html[data-android-layout=compact] .galaxy-preview strong{font-size:21px}
html[data-android-layout=compact] .galaxy-preview p{font-size:11px;line-height:1.6}
html[data-android-layout=compact] .home-topics{padding:12px;margin:0 0 12px}
html[data-android-layout=compact] .home-topics[open] summary{margin-bottom:12px}
html[data-android-layout=compact] .home-topics .topic-tiles{gap:8px;margin-bottom:10px}
html[data-android-layout=compact] .home-topics .topic-tiles button{padding:10px;min-height:40px}
html[data-android-layout=compact] .fun-preview{display:grid;grid-template-columns:minmax(0,1fr);padding:12px;gap:6px 8px;margin:0 0 12px}

html[data-android-layout=compact] .fun-preview strong{font-size:14px;line-height:1.5}
html[data-android-layout=compact] .fun-preview p{font-size:11px;line-height:1.6;margin-top:4px}
html[data-android-layout=compact] .fun-preview>b{font-size:11px;grid-column:1}
html[data-android-layout=compact] .home-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
html[data-android-layout=compact] .home-tools>a{padding:12px;border-radius:10px;min-width:0}
html[data-android-layout=compact] .home-tools strong{font-size:12px;line-height:1.5}
html[data-android-layout=compact] .home-tools span{font-size:10px;line-height:1.6;margin-top:4px}
html[data-android-layout=compact] #today-tools-home .today-tools{gap:10px;margin:0 0 12px}
html[data-android-layout=compact] .journey-preview,html[data-android-layout=compact] #today-tools-home :is(.today-plan,.today-word,.today-tools-placeholder){padding:12px;border-radius:10px}

html[data-android-layout=compact] #today-tools-home .reading-actions{gap:8px;margin:10px 0}
html[data-android-layout=compact] #today-tools-home .btn{min-height:40px;padding:8px 10px;font-size:12px}
html[data-android-layout=compact] #today-tools-home .today-word img{width:64px;height:64px}
html[data-android-layout=compact] #main>.compact-catalog{padding:14px 0}
html[data-android-layout=compact] #main>.compact-catalog h1{font-size:24px;line-height:1.4}
html[data-android-layout=compact] #atlas-section .section-top{gap:10px;margin-bottom:10px}
html[data-android-layout=compact] #atlas-section .section-title{gap:8px;flex-wrap:wrap}
html[data-android-layout=compact] #atlas-section .section-title h2{font-size:20px}
html[data-android-layout=compact] #atlas-section .section-top p{font-size:10px;line-height:1.6;margin-top:6px}
html[data-android-layout=compact] #atlas-section .search-field{padding:8px 10px;min-height:40px}
html[data-android-layout=compact] #atlas-section .filter-row{gap:6px;margin-bottom:8px}
html[data-android-layout=compact] #atlas-section .chips{gap:6px;padding-bottom:2px;flex-wrap:nowrap;overflow-x:auto;width:100%}
html[data-android-layout=compact] #atlas-section .chip{min-height:36px;padding:6px 8px;font-size:11px}
html[data-android-layout=compact] #atlas-section .filter-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html[data-android-layout=compact] #atlas-section .filter-tools select{width:100%;min-width:0;min-height:36px;padding:6px 8px;font-size:11px}
html[data-android-layout=compact] #atlas-section .view-toggle{grid-column:1/-1;justify-self:end}

html[data-android-layout=compact] #atlas-section .result-info{margin:8px 0;font-size:11px;line-height:1.5}
html[data-android-layout=compact] #word-cards{gap:10px}
html[data-android-layout=compact] #word-cards .card-body{padding:10px 9px 8px}
html[data-android-layout=compact] #word-cards .word-title{font-size:21px;line-height:1.2}
html[data-android-layout=compact] #word-cards .card-bottom{margin-top:8px;gap:4px}
html[data-android-layout=compact] #atlas-section .view-toggle button,html[data-android-layout=compact] #word-cards .card-art .card-play{min-width:36px;min-height:36px}
html[data-android-layout=compact] #word-cards.list-view .card-art{width:96px;height:112px}
html[data-android-layout=compact] #word-cards.list-view .card-body{padding:10px}
html[data-android-layout=compact] #catalog-pagination{margin-top:14px;padding-top:12px;gap:10px}
html[data-android-layout=compact] #atlas-section .collection-end{margin-top:14px;line-height:1.6}

html[data-android-layout=compact] #daily-reading-home .daily-reading{min-height:0;padding:12px;gap:10px;margin:12px 0}
html[data-android-layout=compact] :is(#today-tools-home,#daily-reading-home) h2{font-size:20px;margin:6px 0}
html[data-android-layout=compact] #daily-reading-home h3{font-size:18px;margin:8px 0}
html[data-android-layout=compact] #today-tools-home .today-plan>p:not(.eyebrow),html[data-android-layout=compact] #daily-reading-home p:not(.eyebrow){font-size:11px;line-height:1.6;margin:6px 0}
html[data-android-layout=compact] #daily-reading-home .reading-actions{gap:8px;margin:10px 0 0}
html[data-android-layout=compact] #daily-reading-home .btn{min-height:40px;padding:8px 10px;font-size:12px}

}

/* Short title on phones and Android apps; keep the full desktop title. */

@media(max-width:600px){}

/* Fit the complete short heading on one line; desktop browser keeps its line break. */
html[data-android-layout=compact] .hero h1{font-size:clamp(17px,2.8vw,28px);line-height:1.4;white-space:nowrap}

@media(max-width:600px){
.hero h1,html[data-android-layout=compact] .hero h1{font-size:clamp(17px,5.6vw,28px);line-height:1.4;white-space:nowrap}

}

/* Shared single-line column headings; reading and question content titles remain independent. */
html[data-android-layout=compact] #main>.hero h1,html[data-android-layout=compact] :is(#main,#exam-root,#fun-root,#typing-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>h1,html[data-android-layout=compact] #read-root:has(>.reading-tabs)>.page-head>h1{font-size:clamp(16px,2.8vw,24px);line-height:1.4;white-space:nowrap}
@media(max-width:600px){#main>.hero h1,:is(#main,#exam-root,#fun-root,#typing-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>h1,#read-root:has(>.reading-tabs)>.page-head>h1,html[data-android-layout=compact] #main>.hero h1,html[data-android-layout=compact] :is(#main,#exam-root,#fun-root,#typing-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>h1,html[data-android-layout=compact] #read-root:has(>.reading-tabs)>.page-head>h1{font-size:clamp(16px,4.8vw,24px);line-height:1.4;white-space:nowrap}}
.reading-intro-compact{display:none}
html[data-android-layout=compact] #typing-root :is(#typing-status,#typing-next):empty,html[data-android-layout=compact] #typing-root .typing-question:has(textarea:disabled) #typing-form>.typing-actions,html[data-android-layout=compact] :is(.hero-word-prefix,.reading-intro-full),html[data-android-layout=compact] .hero h1>br{display:none}
html[data-android-layout=compact] .reading-intro-compact{display:inline}
@media(max-width:600px){html[data-android-layout=compact] .fun-preview>span,.hero-word-prefix,.hero h1>br,.reading-intro-full{display:none}.reading-intro-compact{display:inline}}

/* Responsive introductions: retain full desktop copy and complete learning rules. */
.column-copy-short{display:none}
html[data-android-layout=compact] .column-copy-full{display:none}
html[data-android-layout=compact] .column-copy-short{display:inline}
html[data-android-layout=compact] :is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head:has(>p>.column-copy-full){padding-top:12px;padding-bottom:12px}
html[data-android-layout=compact] :is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>p:has(>.column-copy-full),html[data-android-layout=compact] #main>.hero .hero-desc:has(>.column-copy-full){font-size:12px;line-height:1.55;margin-top:6px;margin-bottom:0}
@media(max-width:600px){.column-copy-full{display:none}.column-copy-short{display:inline}
:is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head:has(>p>.column-copy-full),html[data-android-layout=compact] :is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head:has(>p>.column-copy-full){padding-top:12px;padding-bottom:12px}
:is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>p:has(>.column-copy-full),#main>.hero .hero-desc:has(>.column-copy-full),html[data-android-layout=compact] :is(#main,#exam-root,#typing-root,#fun-root,#study-root,#insights-root,#offline-root,#galaxy-root)>.page-head>p:has(>.column-copy-full),html[data-android-layout=compact] #main>.hero .hero-desc:has(>.column-copy-full){font-size:12px;line-height:1.55;margin-top:6px;margin-bottom:0}
}
