[hidden]{display:none!important}.hotspot,.hotspot:hover,.hotspot.is-selected{border:0;background:transparent;box-shadow:none}.hotspot:focus-visible{outline:2px dashed #39896b;outline-offset:2px}.word-wave{display:none;position:absolute;right:-11px;top:50%;transform:translateY(-50%);background:#287961;color:#fff;border-radius:15px;padding:3px 6px;font-size:13px;pointer-events:none}.hotspot.playing-word .word-wave{display:block;animation:pulse .7s ease-in-out infinite alternate}@keyframes pulse{to{opacity:.55}}.compact-read-grid .poster-column{width:min(100%,800px);max-width:800px}.main-content{max-width:1500px;padding-top:24px}.compact-read-grid .poster-card{padding:6px}.page-heading{margin-bottom:15px}.poster-hint{line-height:1.6}.word-column{display:none}.sidebar-footer{font-size:12px}.nav-button{min-height:44px}.side-topic{min-height:40px;font-size:13px}.sidebar .side-primary{flex:none}.table-row .table-theme{display:block}.auth-shell{min-height:100vh;display:grid;place-items:center;background:#f5f8f0;padding:24px}.auth-card{width:min(440px,100%);padding:32px;background:white;border:1px solid #dce8dc;border-radius:22px;box-shadow:0 20px 70px #264c3c10}.auth-brand{color:#287961;font-weight:800;margin-bottom:20px}.auth-card h1{font-size:24px}.auth-card p{color:#788f80;font-size:13px;margin:12px 0 20px}.auth-card form{display:grid;gap:10px}.auth-card label{font-size:14px;margin-top:8px}.auth-card input,.auth-card select{width:100%;min-height:46px;border:1px solid #dce5d9;border-radius:10px;padding:10px;font-size:16px}.auth-card .primary{margin-top:14px;min-height:46px}.auth-card small{display:block;color:#809285;margin-top:15px}.auth-card #authError{color:#a04430;margin:5px 0}.annotation-panel{max-width:800px;margin:20px auto;padding:20px;background:#fff;border:1px solid #d2e5d4;border-radius:15px}.annotation-panel p{font-size:13px;color:#6b8173;margin:12px 0}.annotation-panel select{width:100%;padding:12px;font-size:15px;border:1px solid #d5e2d5;border-radius:10px}.annotation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.editing{touch-action:none}.hotspot.region-edit{border:1px dashed #d28a2e;background:#e9b65b22;pointer-events:none}.hotspot.region-current{border:2px solid #29876c;background:#2aa07e20}.region-edit>span{position:absolute;top:0;left:0;font-size:11px;color:white;background:#327b60;padding:1px 4px}#draftRectangle{display:none;position:absolute;border:2px solid #267961;background:#3dba8522;pointer-events:none;z-index:5}.dialogue-line .say-es{font-size:16px}.dialogue-line .say-zh{font-size:14px}.scene-banner{margin-bottom:14px}.table-strong{font-size:15px}.table-muted{font-size:13px}.book-searchbar select{font-size:14px!important}
@media(max-width:700px){.main-content{padding:18px 12px 150px}.compact-read-grid .poster-column{width:100%}.table-row{grid-template-columns:minmax(110px,1.3fr) minmax(85px,1fr) 75px}.table-row .table-theme{display:none}.table-row .table-strong{font-size:14px}.table-muted{font-size:13px}.table-row .table-strong:after{content:attr(data-theme);font-size:11px}.top-actions #logout{font-size:11px;padding:7px}.word-wave{right:-5px;font-size:10px}.hotspot{min-height:28px}.dialogue-grid{display:flex;flex-direction:column}.dialogue-grid>div,.dialogue-tools{width:100%}.dialogue-tools{position:static;order:-1}.dialogue-tools .tool-block{margin-bottom:10px}.dialogue-tools .tool-desc,.dialogue-tools .progress-card{display:none}.dialogue-tools .dialogue-side-button{width:auto;margin-right:6px}.dialogue-tools .switch-row{display:inline-flex;gap:8px;margin-right:12px}.dialogue-tools .tool-title{margin-bottom:6px}.dialogue-tools .related-link{display:none}.dialogue-tools .tool-block:last-of-type{display:none}}
@media(prefers-reduced-motion:reduce){.word-wave{animation:none}}
.auth-card .field-hint{margin:0;font-size:12px;line-height:1.6}.auth-card .optional{font-size:12px;color:#85968c;font-weight:400}.auth-switch{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;color:#778c80;margin-top:18px}.auth-switch button{border:0;background:transparent;color:#287961;font:inherit;padding:7px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.auth-card input:focus-visible{outline:2px solid #74af91;outline-offset:2px}.auth-card input:user-invalid{border-color:#bd6550}@media(max-width:500px){.auth-shell{padding:16px}.auth-card{padding:24px 20px}.auth-card h1{font-size:23px}}
.trial-banner{background:#eaf3e9;color:#36644c;padding:12px 24px;font-size:13px;line-height:1.7}.trial-banner button{border:0;background:transparent;color:#276e54;text-decoration:underline;font:inherit;cursor:pointer;margin-left:8px}.locked-content{background:#fff;border:1px solid #e0e9dc;border-radius:20px;min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;gap:15px}.locked-content .lock-icon{font-size:32px}.locked-content p{color:#7b8d80;max-width:420px;line-height:1.8}.access-dialog{width:min(520px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:26px;border:1px solid #dbe6d7;border-radius:20px;color:#294337;background:#fff}.access-dialog::backdrop{background:#1f332a70}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.dialog-head h2{font-size:21px}.access-dialog p{font-size:14px;line-height:1.8;margin:12px 0}.access-dialog form{display:grid;gap:10px}.access-dialog label{display:block;font-size:14px;margin-top:8px}.access-dialog input,.access-dialog textarea{width:100%;padding:12px;border:1px solid #d6e4d5;border-radius:10px;font:inherit}.access-dialog textarea{font-family:monospace;font-size:13px}.access-dialog .access-note{font-size:12px;color:#7e8e82}.trial-note{padding:12px 16px;background:#eaf4e9;border-radius:12px;margin-bottom:18px;font-size:14px}.trial-note button{margin-left:10px}.top-actions{flex-wrap:wrap}@media(max-width:700px){.trial-banner{padding:10px 16px}.topbar{height:auto;min-height:62px;padding-block:8px;gap:8px}.top-actions .btn{font-size:12px;padding:7px 10px}.top-actions .small-user{display:none}}
/* Restore the original mascot and quiet, three-part reader transport. */
.learning-ready .brandmark,.learning-ready .small-user{background:#fff0be url('/media/images/P129.png') 45% 94% / 210px auto;border:1px solid #ded8b5;box-shadow:none;flex-shrink:0}.learning-ready .brandmark{width:46px;height:48px;border-radius:16px}.learning-ready .brandmark b{display:none}.learning-ready .brand{gap:10px}.learning-ready .brand-title{font-size:18px;letter-spacing:-.5px}.learning-ready .brand-sub{font-size:11px;letter-spacing:.35px;color:#7d8d80}.learning-ready .small-user{width:38px;height:40px;border-radius:14px}.side-topic>span:first-child{display:flex;align-items:center;gap:8px;min-width:0}.side-topic svg{flex-shrink:0;color:#9ba99d;stroke-width:1.6}.locked-content .lock-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#f2f6f0;color:#7f9b88}.locked-content .lock-icon svg{stroke-width:1.5}
.word-wave{display:none;position:absolute;right:-15px;top:50%;transform:translateY(-50%);align-items:center;justify-content:center;gap:2px;width:24px;height:24px;border-radius:50%;padding:0;background:#287961;box-shadow:0 2px 6px #0002;pointer-events:none;z-index:3}.hotspot.playing-word .word-wave{display:flex;animation:none}.word-wave i{display:block;width:2px;height:8px;background:#fff;border-radius:2px;animation:reader-wave .65s ease-in-out infinite alternate;transform-origin:center}.word-wave i:nth-child(2){height:12px;animation-delay:-.3s}.word-wave i:nth-child(3){animation-delay:-.15s}@keyframes reader-wave{from{transform:scaleY(.55)}to{transform:scaleY(1)}}
.reader-footer{position:fixed;bottom:0;left:var(--sidebar);right:0;background:rgba(255,255,255,.98);z-index:56;box-shadow:0 -4px 20px #24472e06;backdrop-filter:blur(12px)}.reader-progress{height:3px;background:#e4ebe2}.reader-progress span{display:block;height:100%;background:#87b196;transition:width .25s ease}.reader-player{max-width:1400px;margin:auto;min-height:82px;padding:14px 26px;display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(220px,1fr);align-items:center;gap:18px}.reader-current{min-width:0;display:flex;flex-direction:column;gap:5px}.reader-current strong{font-size:16px;line-height:1.4;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reader-current small{font-size:12px;color:#7b8d80;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reader-transport{display:flex;align-items:center;justify-content:center;gap:18px}.reader-transport button{padding:8px 3px;min-height:44px;border:0;background:transparent;color:#355b4c;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.reader-transport .reader-play{display:grid;place-items:center;min-width:52px;width:52px;height:52px;padding:0;border-radius:50%;background:#287961;color:#fff}.reader-play svg{stroke-width:2}.reader-play svg:has(path[d^="m8"]){fill:currentColor;stroke-width:0}.reader-transport .reader-play:hover{background:#216a54}.reader-options{display:flex;gap:8px;justify-content:flex-end;align-items:center}.reader-options>span{font-size:12px;color:#7f9284;white-space:nowrap}.reader-options button{min-height:42px;border:1px solid #e1e9dd;border-radius:13px;padding:0 13px;background:#fff;color:#36594b;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.reader-options .reader-save{padding:0 9px;border:0;color:#9aaa9b}.reader-options .reader-save.saved{color:#287961}.reader-player button:focus-visible{outline:2px solid #438c6c;outline-offset:3px}body:has(.reader-footer) #mobilePlayer{display:none!important}#mainContent:has(.reader-footer){padding-bottom:130px}
/* A single transport row at every viewport; compact icons on narrow screens. */
.reader-player{display:flex;flex-wrap:nowrap;gap:20px;min-height:78px;padding:12px 24px}.reader-current{flex:1 1 180px;min-width:0}.reader-transport{flex:0 0 auto;gap:18px}.reader-transport>button{display:flex;align-items:center;justify-content:center;gap:4px}.reader-transport>button:not(.reader-play)>svg{display:none}.reader-options{flex:1 1 190px;min-width:0;gap:8px}.reader-options button{padding:0 12px}.reader-options .reader-save{display:grid;place-items:center;padding:0 8px}.reader-current strong{max-width:100%}.reader-options>span{min-width:38px;text-align:right;margin-right:3px}
@media(min-width:701px) and (max-width:1150px){.reader-player{gap:12px;padding:10px 16px;min-height:74px}.reader-current{flex-basis:120px}.reader-transport{gap:12px}.reader-transport .reader-play{width:46px;height:46px;min-width:46px}.reader-options{flex-basis:164px;gap:6px}.reader-options button{padding:0 10px}.reader-current strong{font-size:14px}}
@media(max-width:900px){.reader-player{gap:10px;padding:10px 12px}.reader-transport{gap:6px}.reader-transport>button:not(.reader-play){width:32px;min-width:32px;padding:0}.reader-transport>button:not(.reader-play)>svg{display:block}.reader-transport>button:not(.reader-play)>span{display:none}.reader-options{flex:0 0 auto;gap:5px}.reader-options button{min-height:38px;padding:0 9px}.reader-current{flex:1 1 90px}.reader-current small{font-size:11px}}
@media(max-width:700px){.reader-footer{left:0;bottom:calc(62px + env(safe-area-inset-bottom))}.reader-player{min-height:68px;padding:10px 10px;gap:8px}.reader-current{flex:1 1 70px}.reader-current strong{font-size:12px}.reader-current small{font-size:10px}.reader-transport{gap:4px}.reader-transport>button:not(.reader-play){min-width:28px;width:28px;min-height:38px}.reader-transport .reader-play{width:40px;height:40px;min-width:40px}.reader-options{gap:4px}.reader-options button{font-size:11px;min-height:36px;padding:0 7px;border-radius:10px}.reader-options>span{font-size:10px;min-width:26px;margin-right:1px}.reader-options .reader-save{display:grid;padding:0 3px;width:24px}.reader-save svg{width:15px;height:15px}#mainContent:has(.reader-footer){padding-bottom:160px}.word-wave{right:-10px;width:22px;height:22px}}
@media(max-width:360px){.reader-player{gap:5px;padding-inline:8px}.reader-current{flex-basis:54px}.reader-transport{gap:2px}.reader-transport>button:not(.reader-play){width:24px;min-width:24px}.reader-transport .reader-play{width:36px;height:36px;min-width:36px}.reader-options{gap:3px}.reader-options button{padding-inline:5px}}
@media(prefers-reduced-motion:reduce){.word-wave i{animation:none}.reader-progress span{transition:none}}
.learning-ready .brandmark,.learning-ready .small-user{background-size:350px auto;background-position:50% 100%;background-repeat:no-repeat}
/* Production learning layout: only content and essential controls. */
.breadcrumb,.brand-sub,.sidebar-footer,.soft-pill,.trial-banner,.trial-note,.eyebrow,.poster-hint{display:none!important}.topbar{height:64px;min-height:64px;padding:12px 28px;border-bottom:0;background:transparent}.top-actions{margin-left:auto}.account-button{background:transparent!important;border-color:#dce5da;font-weight:500}.sidebar{padding-bottom:16px}.brand{margin-bottom:24px}.side-primary{padding-bottom:18px}.side-list-header{padding-top:16px}.side-search{display:none}.sidebar .side-scroll{margin-top:12px}.main-content{max-width:1320px;margin:0 auto;padding:8px 32px 40px}.page-heading{margin:0 0 24px}.clean-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.page-heading h1{font-size:27px;line-height:1.3;font-weight:650;letter-spacing:-.6px}.page-id-pill{font-size:12px;background:transparent;color:#8a9b8e;padding:0;margin-left:10px}.heading-actions{gap:8px}.compact-read-grid{display:flex;justify-content:center;margin:0}.compact-read-grid .poster-column{width:min(100%,calc((100dvh - 230px)*.75));min-width:360px;max-width:850px}.poster-card{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}.poster-frame{border-radius:16px}.reader-footer{background:#fff}.reader-player{min-height:72px}.bottom-safe{display:none}.book-searchbar{margin-bottom:18px;display:flex;gap:10px;flex-wrap:wrap}.book-searchbar .search-input{flex:1;min-width:190px}.book-searchbar select{max-width:180px}.wordbook-section{border-radius:14px;overflow:hidden}.table-row{padding-top:16px;padding-bottom:16px}.table-head{font-size:12px}.table-theme small{display:none}.pages-bar{padding:14px}.dialogue-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dialogue-controls .btn{min-height:40px;padding:8px 12px}.dialogue-controls .tool-select{min-height:40px}.clean-dialogue{max-width:960px;margin:0 auto;border-top:1px solid #e6ece3}.clean-line{display:flex;gap:18px;align-items:flex-start;padding:25px 6px;border-bottom:1px solid #e6ece3}.clean-line .speaker{width:32px;height:32px;border-radius:50%;background:#edf3e9;color:#60836e;display:grid;place-items:center;font-size:13px;flex-shrink:0}.clean-speech{flex:1;min-width:0}.clean-line .say-es{font-size:19px;line-height:1.65;color:#29473a}.clean-line .say-zh{font-size:14px;line-height:1.7;color:#85958a;margin-top:5px}.clean-line.is-playing{background:#f1f6ee}.clean-line>.icon-only{margin-top:4px;color:#40856a}.account-details{display:flex;justify-content:space-between;align-items:center;padding:12px 0 24px}.account-details span{color:#7e9585;font-size:13px}.account-actions{display:flex;flex-direction:column;gap:10px}#mobileTabs{display:none!important}body:has(.clean-dialogue) #mobilePlayer{display:none!important}#mainContent:has(.reader-footer){padding-bottom:105px}
@media(max-width:1000px){.main-content{padding-inline:24px}.clean-heading{align-items:flex-start;flex-wrap:wrap}.dialogue-controls{gap:6px}.clean-line .say-es{font-size:17px}}
@media(max-width:700px){.topbar{height:56px;min-height:56px;padding:8px 16px}.main-content{padding:6px 16px 28px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:23px}.clean-heading{gap:14px}.heading-actions{width:100%;justify-content:flex-start}.heading-actions .btn{font-size:12px;padding:8px 11px;min-height:38px}.compact-read-grid .poster-column{width:100%;min-width:0;max-width:650px}.poster-frame{border-radius:12px}.reader-footer{bottom:env(safe-area-inset-bottom);left:0}.reader-player{min-height:66px}.reader-current{flex-basis:65px}.book-searchbar{gap:9px}.book-searchbar .search-input{flex:1 0 100%;min-width:0}.book-searchbar select{flex:1;max-width:none}.book-searchbar .segmented{flex-shrink:0}.table-head,.table-row{grid-template-columns:minmax(100px,1.3fr) minmax(70px,1fr) 66px;gap:8px;padding:13px 10px}.table-head>div:nth-child(3){display:none}.table-theme{display:none!important}.table-strong{font-size:13px!important}.table-muted{font-size:12px!important}.row-actions{gap:2px}.row-actions button{min-width:30px}.pages-bar .btn{padding:8px 10px}.pages-bar span{font-size:11px}.dialogue-controls{width:100%;gap:6px}.dialogue-controls .btn{font-size:12px;padding:8px 10px}.dialogue-controls .tool-select{padding:8px;font-size:12px}.clean-line{gap:11px;padding:21px 0}.clean-line .say-es{font-size:16px}.clean-line .say-zh{font-size:13px}.clean-line .speaker{width:27px;height:27px}.clean-line>.icon-only{min-width:28px;padding:5px}.account-button{font-size:13px!important}#mainContent:has(.reader-footer){padding-bottom:100px}}
.account-nav{padding:0 12px 14px}.account-nav .nav-button{width:100%;font-weight:500;color:#6c8375}.side-primary{padding-bottom:4px}.topbar{display:none}.main-content{padding-top:28px}@media(max-width:700px){.topbar{display:flex}.main-content{padding-top:6px}}
.mobile-reader-ui{display:none}
/* Dedicated phone layout; desktop rules above stay unchanged. */
@media(max-width:700px){
html{scroll-padding-bottom:160px}body{overflow-x:clip}.workspace{position:relative;min-width:0}.topbar{position:absolute;top:0;left:0;width:60px;height:52px;min-height:52px;z-index:25;padding:4px 8px;background:transparent}.topbar>div{gap:0!important}.hamburger{display:grid!important;width:44px;height:44px;min-width:44px;padding:10px}.main-content{padding:0 14px 20px;max-width:100%;min-width:0}.clean-heading{gap:0;margin:0 0 10px;display:flex;flex-direction:column;align-items:stretch}.clean-heading>.page-title-line,.clean-heading>h1{min-height:52px;padding-left:46px;display:flex;align-items:center;margin:0;gap:8px;min-width:0}.clean-heading h1{font-size:19px;line-height:1.3;letter-spacing:-.3px;min-width:0;overflow-wrap:anywhere}.clean-heading .page-id-pill{font-size:11px;margin:0;flex-shrink:0}.heading-actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:6px;width:100%;margin:0}.heading-actions .btn{min-height:44px;min-width:44px;padding:8px 6px;justify-content:center;font-size:12px}.compact-read-grid,.poster-column,.poster-card,.poster-frame{min-width:0!important;width:100%;max-width:100%}.compact-read-grid .poster-column{width:100%;max-width:none}.poster-frame{border-radius:10px}.poster-frame img{display:block;width:100%;height:auto}.hotspot{min-width:44px;min-height:44px}.reader-footer{left:0;right:0;bottom:0;padding-bottom:env(safe-area-inset-bottom);z-index:56}.reader-footer .reader-player{display:none}.mobile-reader-ui{display:block;padding:8px 12px 6px}.mobile-word-summary{min-height:43px;padding:0 4px}.mobile-word-line{display:flex;align-items:baseline;gap:10px;min-width:0}.mobile-word-line strong{font-size:14px;line-height:1.4;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}.mobile-word-count{font-size:11px;color:#7d9282;flex-shrink:0}.mobile-word-summary small{display:block;margin-top:2px;font-size:12px;color:#839487;line-height:1.4}.mobile-reader-controls{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));align-items:center;justify-items:center;gap:0}.mobile-reader-controls button{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;border:0;background:transparent;border-radius:12px;padding:0;color:#466c58;font-size:12px;cursor:pointer}.mobile-reader-controls .mobile-main-play{background:#287961;color:white;border-radius:50%}.mobile-main-play svg:has(path[d^="m8"]){fill:currentColor;stroke-width:0}.mobile-reader-controls .mobile-save{color:#91a293}.mobile-reader-controls .saved{color:#287961}.mobile-reader-controls button:focus-visible{outline:2px solid #438c6c;outline-offset:1px}#mainContent:has(.reader-footer){padding-bottom:calc(140px + env(safe-area-inset-bottom))}.book-searchbar{margin:0 0 10px;display:flex;flex-direction:column;align-items:stretch;gap:8px}.book-searchbar .search-input{width:100%;min-height:44px;flex:none;font-size:14px;padding:10px 12px}.book-searchbar .segmented{align-self:flex-start;min-height:44px}.book-searchbar .seg{min-width:58px;min-height:44px;padding:8px 12px}.wordbook-section{border-radius:10px;width:100%;overflow:hidden}.table-row,.table-head{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 88px;gap:4px;padding:5px 8px;min-height:54px;align-items:center}.table-row .table-strong{font-size:13px!important;overflow-wrap:anywhere;line-height:1.4}.table-row .table-muted{text-align:center;font-size:12px!important;line-height:1.4;overflow-wrap:anywhere}.row-actions{display:grid;grid-template-columns:44px 44px;gap:0;justify-content:end}.row-actions .icon-only{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0}.pages-bar{gap:4px;padding:10px 4px}.pages-bar .btn{min-width:58px;min-height:44px;padding:8px}.pages-bar span{font-size:10px;white-space:normal;text-align:center}.dialogue-controls{display:grid;grid-template-columns:minmax(100px,1.3fr) 52px 44px minmax(78px,1fr);gap:6px;width:100%;margin-bottom:2px}.dialogue-controls>.btn,.dialogue-controls>.tool-select{min-height:44px;min-width:44px;padding:8px 6px;font-size:12px;justify-content:center}.dialogue-controls>.tool-select{grid-column:1;width:100%;text-align:center}.clean-dialogue{width:100%;max-width:none}.clean-line{padding:12px 0;gap:8px;min-width:0;align-items:flex-start}.clean-line .speaker{width:24px;height:24px;font-size:11px;margin-top:9px}.clean-speech{padding-top:4px;min-width:0}.clean-line .say-es{font-size:15px;line-height:1.55;overflow-wrap:anywhere}.clean-line .say-zh{font-size:12px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.clean-line>.icon-only{width:44px;min-width:44px;min-height:44px;height:44px;padding:10px;margin-top:0}.clean-line.is-playing{background:#e6f2e8;box-shadow:inset 3px 0 #398264;border-radius:8px;padding-inline:6px}.side-cat .cat-btn,.side-topic,.nav-button,.account-nav button,.zoom-close,.access-dialog button{min-height:44px;min-width:44px}.sidebar{max-width:calc(100vw - 44px)}.access-dialog{max-width:calc(100vw - 24px)}
}
@media(max-width:700px){.page-heading:not(.clean-heading){margin:0 0 10px}.page-heading:not(.clean-heading) .page-title-line{min-height:52px;padding-left:46px;display:flex;align-items:center;margin:0}.page-heading:not(.clean-heading) h1{font-size:19px;line-height:1.3;margin:0}}
@media(max-width:700px){.dialogue-controls{grid-template-columns:minmax(100px,1fr) minmax(64px,1fr) 44px}.dialogue-controls>[data-action="toggleZh"]{grid-column:1}.dialogue-controls>.tool-select{grid-column:2/-1}}
#mobileStudyHeader,.mobile-dialogue-subtitle{display:none}
/* Reference-led phone system: one title bar, module tabs, content, transport. */
@media(max-width:700px){
body{background:#f6f9f5;color:#29473b}.workspace{background:#f6f9f5}.main-content{padding:0 14px 24px}.topbar{position:fixed;left:8px;top:6px;width:44px;height:44px;padding:0;min-height:44px;z-index:38}.hamburger{border:1px solid #dce7dc;background:#fff;border-radius:12px;width:44px;height:44px}.mobile-dialogue-subtitle{display:block;color:#809889;font-size:13px;line-height:1.5;margin:6px 0 14px}#mobileStudyHeader{display:block;position:sticky;top:0;z-index:35;background:#fff;border-bottom:1px solid #dfe8df}.study-titlebar{min-height:58px;padding:7px 14px 7px 63px;display:flex;align-items:center;gap:10px}.study-titlebar>strong{font-size:18px;line-height:1.4;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}.study-page{font-size:11px;font-weight:700;background:#e9f3ec;color:#287c60;padding:4px 8px;border-radius:8px;flex-shrink:0}.study-utility{margin-left:auto;color:#287b60;border:0;background:transparent;font-size:13px;min-width:44px;min-height:44px;padding:0 2px;white-space:nowrap}#mobileStudyHeader #mobileTabs{display:grid!important;position:static;grid-template-columns:repeat(3,minmax(0,1fr));height:46px;padding:0;border:0;background:#fff;box-shadow:none;min-height:46px;width:100%}#mobileTabs .mnav{display:flex;align-items:center;justify-content:center;gap:0;padding:0;border:0;border-radius:0;border-bottom:2px solid transparent;min-height:46px;background:transparent;color:#7d9486;font-size:14px;font-weight:600}#mobileTabs .mnav svg{display:none}#mobileTabs .mnav.active{color:#277a5e;border-bottom-color:#277a5e;background:transparent}.page-heading{padding:17px 0 0;margin:0 0 12px!important}.clean-heading>.page-title-line{display:none}.clean-heading>.heading-actions{display:flex;gap:8px;margin:0}.heading-actions .btn{flex:none;padding:0 11px;min-height:44px;border:1px solid #dce6da;border-radius:11px;background:#fff}.heading-actions [data-action="zoom"]{margin-left:auto}.compact-read-grid .poster-column{padding:0;width:100%}.poster-card{padding:6px!important;border:1px solid #e1e9de!important;border-radius:16px;background:#fff!important}.poster-frame{border-radius:11px;overflow:visible}.poster-frame img{border-radius:11px}.reader-footer{border-top:1px solid #dce7dc;background:#fff}.reader-footer .reader-progress{height:2px;background:#e5eee4}.mobile-reader-ui{padding:10px 14px 12px}.mobile-word-summary{min-height:48px;display:flex;align-items:center;gap:10px;padding:0 0 7px}.mobile-word-copy{min-width:0;flex:1}.mobile-word-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1.35;font-weight:650}.mobile-word-copy small{display:block;font-size:12px;margin-top:4px;color:#839a8b}.mobile-word-count{margin-left:auto;background:#eaf4ed;color:#28775d;border-radius:8px;padding:6px;font-size:12px;flex-shrink:0}.mobile-word-summary .mobile-save{min-width:44px;min-height:44px;display:grid;place-items:center;background:transparent;border:0;color:#94aa9b;padding:0}.mobile-word-summary .saved{color:#28775d}.mobile-reader-controls{display:grid;grid-template-columns:44px 52px 44px minmax(54px,1fr) 48px 48px;gap:4px;justify-content:space-between;align-items:center;padding-top:2px}.mobile-reader-controls button{min-width:44px;min-height:44px;width:100%;height:44px}.mobile-reader-controls .mobile-main-play{width:52px;height:52px;border-radius:50%}.mobile-reader-controls .mobile-repeat,.mobile-reader-controls .mobile-language,.mobile-reader-controls .mobile-speed{border:1px solid #dfe8dd;border-radius:11px;background:#fff;padding:0 5px;font-size:12px}.mobile-prev,.mobile-next{font-weight:600}#mainContent:has(.reader-footer){padding-bottom:calc(160px + env(safe-area-inset-bottom))}.page-heading:not(.clean-heading) .page-title-line{padding-left:0;min-height:32px;margin:0 0 10px}.page-heading:not(.clean-heading) h1{font-size:21px;font-weight:650}.book-searchbar{gap:10px;margin-bottom:14px}.book-searchbar .search-input{height:48px;border:1px solid #dfe7dc;border-radius:13px;font-size:14px;padding:12px}.book-searchbar .segmented{display:flex;background:transparent;padding:0;gap:8px;border:0;min-height:44px}.book-searchbar .seg{height:44px;min-width:78px;border:1px solid #dfe7dc;border-radius:11px;background:#fff;color:#829889;font-size:13px;font-weight:500}.book-searchbar .seg.active{background:#e7f2e9;border-color:#e7f2e9;color:#287b60;font-weight:650}.wordbook-section{border:0;border-radius:0;margin-left:-14px;margin-right:-14px;width:calc(100% + 28px);background:white}.table-head{display:none}.table-row{grid-template-columns:minmax(0,1.45fr) minmax(0,.85fr) 88px;padding:9px 14px;min-height:64px;gap:4px;border-bottom:1px solid #edf0eb;background:#fff}.table-row .table-strong{font-size:15px!important;font-weight:600;line-height:1.45}.table-row .table-muted{font-size:13px!important;text-align:center;color:#84998b}.row-actions .icon-only{color:#287e61}.row-actions .icon-only:last-child{color:#9aafa0}.row-actions .icon-only.saved{color:#287e61}.clean-heading>h1{padding-left:0;min-height:32px;font-size:21px;padding-top:0;font-weight:650}.dialogue-controls{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:0}.dialogue-controls>.btn,.dialogue-controls>.tool-select{min-height:44px;border:1px solid #dfe7dc;border-radius:11px;background:#fff;padding:0 10px;min-width:44px;font-size:12px}.dialogue-controls>.primary{background:#287b60;border-color:#287b60;color:#fff}.dialogue-controls>.tool-select{width:62px;max-width:62px;padding:0 5px}.clean-dialogue{margin-left:-14px;margin-right:-14px;width:calc(100% + 28px);max-width:none;background:#fff;border:0}.clean-line{padding:14px;gap:10px;border-bottom:1px solid #e3eae0;align-items:flex-start}.clean-line .speaker{width:28px;height:30px;border-radius:9px;font-size:13px;font-weight:700;margin-top:2px;background:#e6f2e9;color:#287b60}.clean-line[data-speaker="B"] .speaker{background:#faf0dd;color:#a67a32}.clean-speech{padding-top:0}.clean-line .say-es{font-size:15px;font-weight:600;line-height:1.5}.clean-line .say-zh{font-size:13px;line-height:1.5;margin-top:4px;color:#819689}.clean-line.is-playing{background:#eaf4ed;box-shadow:inset 3px 0 #287b60;border-radius:0;padding-inline:14px}.pages-bar{background:#fff}.sidebar{z-index:80}.sidebackdrop{z-index:70}.sidebar.open~*{pointer-events:auto}
}
@media(max-width:700px){.mobile-reader-controls{grid-template-columns:44px 52px 44px 64px 48px 48px;justify-content:space-between}.mobile-reader-controls .mobile-repeat{max-width:64px}}
.reference-mobile-copy{display:none}@media(max-width:700px){.reference-desktop-copy{display:none}.reference-mobile-copy{display:inline}.table-row{min-height:70px;padding-block:12px}.row-actions svg{width:23px;height:23px}.clean-line>.icon-only svg{width:23px;height:23px}}
@media(max-width:700px){.table-row .table-muted{text-align:left}}
/* Phone wordbook: one compact search/filter row, no repeated content title. */
@media(max-width:700px){
#mainContent:has(.book-searchbar)>.page-heading{display:none}
.book-searchbar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;margin:12px 0;padding:0;width:100%;min-width:0}
.book-searchbar .search-input{flex:1 1 0;width:0;min-width:0;height:44px;min-height:44px;padding:9px 10px;font-size:13px;border-radius:11px}
.book-searchbar .segmented{display:flex;flex:0 0 auto;align-self:auto;gap:5px;min-height:44px;padding:0}
.book-searchbar .seg{min-width:44px;height:44px;min-height:44px;padding:0 8px;font-size:12px;white-space:nowrap}
}
