:root{--ink:#23463e;--muted:#7e958e;--green:#347866;--mint:#eaf2e8;--cream:#fbf8f0;--sand:#f3ead8;--line:#dfe7dc;--yellow:#f0c56b;--red:#d96862;--white:#fff;--shadow:0 18px 55px rgba(45,69,59,.09)}
*{box-sizing:border-box}body{margin:0;background:#f7f5ef;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif}button,input,label{font:inherit}.hidden{display:none!important}.app-shell{min-height:100vh;display:grid;grid-template-columns:270px 1fr}.day-rail{position:sticky;top:0;height:100vh;padding:28px 22px;background:#234d43;color:white;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;margin-bottom:26px}.brand>span{width:46px;height:46px;border-radius:15px;background:#f4cf7b;color:#234d43;display:grid;place-items:center;font-weight:900}.brand b{display:block;font-size:20px}.brand small{opacity:.65}.today-card{padding:18px;border-radius:20px;background:rgba(255,255,255,.1);display:grid;gap:8px}.today-card small,.rail-label{opacity:.65;font-size:12px;letter-spacing:.12em}.today-card strong{font-size:18px}.today-card>div{height:7px;background:rgba(255,255,255,.14);border-radius:9px;overflow:hidden}.today-card i{display:block;width:0;height:100%;background:#f4cf7b}.today-card span{font-size:12px;opacity:.75}.rail-label{margin:28px 8px 10px}.day-list{display:grid;gap:8px}.day-item{width:100%;border:0;border-radius:15px;background:transparent;color:white;text-align:left;padding:13px 14px;display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;cursor:pointer}.day-item.active{background:white;color:var(--ink)}.day-item.locked{opacity:.35;cursor:not-allowed}.day-item>span{font-weight:800}.day-item b,.day-item small{display:block}.day-item small{font-size:11px;opacity:.6;margin-top:2px}.day-item em{font-style:normal;font-size:12px}.review-entry{margin-top:20px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:white;border-radius:16px;padding:13px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer}.review-entry>span{font-size:24px}.review-entry div{flex:1}.review-entry b,.review-entry small{display:block}.review-entry small{opacity:.65}.review-entry em{font-style:normal}.rail-foot{margin-top:auto;display:flex;gap:8px}.rail-foot button,.rail-foot label{cursor:pointer;border:1px solid rgba(255,255,255,.18);background:transparent;color:white;border-radius:10px;padding:8px 10px;font-size:11px}
.main{padding:26px clamp(22px,4vw,64px) 70px;max-width:1700px;width:100%;margin:auto}.topbar{display:flex;align-items:center;gap:18px}.topbar>div:nth-child(2){flex:1}.topbar small{color:var(--muted);font-weight:700;letter-spacing:.13em}.topbar h1{margin:4px 0 0;font-size:24px}.menu{display:none;border:0;background:white;border-radius:12px;padding:10px}.mode-switch{display:flex;background:#e6ebe4;border-radius:14px;padding:4px}.mode-switch button{border:0;background:transparent;color:#6d827b;padding:10px 20px;border-radius:11px;font-weight:800;cursor:pointer}.mode-switch button.active{background:white;color:var(--green);box-shadow:0 4px 12px rgba(30,62,52,.08)}.intro{margin:28px 0 20px;background:linear-gradient(115deg,#eaf3e9,#fbefda);border:1px solid #e4eadf;border-radius:26px;padding:26px 30px;display:flex;align-items:center;gap:30px}.intro>div:first-child{flex:1}.eyebrow{font-size:11px;letter-spacing:.17em;color:#6e8d80;font-weight:800}.intro h2{font-size:clamp(24px,2.3vw,38px);margin:8px 0 7px}.intro p{margin:0;color:#71877f}.summary{display:flex;background:rgba(255,255,255,.65);border-radius:20px;padding:15px}.summary div{min-width:84px;text-align:center;padding:4px 17px;border-right:1px solid #dde6da}.summary div:last-child{border:0}.summary b,.summary span{display:block}.summary b{font-size:23px}.summary span{font-size:11px;color:var(--muted)}.toolbar{display:flex;align-items:center;gap:25px;margin-bottom:18px}.progress-copy{min-width:210px}.progress-copy span{font-size:13px;font-weight:800}.progress-copy>div{height:7px;background:#e2e8df;border-radius:8px;overflow:hidden;margin-top:7px}.progress-copy i{display:block;height:100%;background:#89b384;width:0}.filters{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:white;border-radius:20px;padding:7px 12px;color:#698078;cursor:pointer}.filter.active{background:var(--ink);color:white}.learning-card{background:white;border:1px solid var(--line);border-radius:28px;padding:clamp(20px,2.4vw,38px);box-shadow:var(--shadow)}.word-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.word-identity{display:flex;align-items:center;gap:18px}.word-index{width:58px;height:58px;border-radius:18px;background:#f5ca6e;display:grid;place-items:center;font-size:20px;font-weight:900}.word-identity small{color:var(--muted);letter-spacing:.12em;font-weight:700}.word-identity h2{font-size:34px;margin:4px 0}.word-identity p{margin:0;color:var(--muted)}.sound{border:1px solid var(--line);background:var(--cream);border-radius:14px;padding:12px 16px;color:var(--ink);font-weight:800;cursor:pointer}.word-answer{margin:23px 0 20px}.answer-display{background:#f5f8f3;border-radius:18px;padding:17px 20px;display:flex;gap:16px;align-items:baseline}.answer-display strong{font-size:26px}.answer-display span{color:var(--muted)}.answer-input{width:100%;padding:17px 20px;border:2px solid var(--line);border-radius:16px;font-size:20px;outline:0}.answer-input:focus,.sentence-input:focus{border-color:#7ba999;box-shadow:0 0 0 4px rgba(87,137,117,.1)}.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.scene-card{background:#f3f6ef;border:1px solid #e1e9de;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.scene-photo{aspect-ratio:16/9;background-size:200% 200%;background-position:center;background-repeat:no-repeat;position:relative}.scene-photo:after{content:attr(data-label);position:absolute;left:12px;bottom:10px;background:rgba(255,255,255,.94);border-radius:20px;padding:6px 10px;font-size:11px;font-weight:800;color:var(--ink)}.scene-body{padding:17px;display:flex;flex-direction:column;gap:12px;flex:1}.scene-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.scene-head small{display:block;color:#86a092;letter-spacing:.13em;font-weight:800}.scene-head b{display:block;margin-top:7px;font-size:17px;line-height:1.5}.mini-sound{border:1px solid var(--line);background:white;width:38px;height:38px;border-radius:50%;cursor:pointer}.english{font-size:18px;line-height:1.45;margin:auto 0 0}.english small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.sentence-input{width:100%;min-height:76px;resize:vertical;border:2px solid var(--line);border-radius:14px;padding:12px 14px;outline:0;background:white}.result{font-size:12px;font-weight:800}.result.good{color:#4e8f6f}.result.bad{color:var(--red)}.feedback{margin-top:20px;padding:15px 18px;border-radius:15px;background:#f8eedc;line-height:1.6}.feedback.good{background:#e7f3e9}.card-actions{display:flex;gap:12px;margin-top:24px}.card-actions button{padding:13px 18px;border-radius:14px;font-weight:800;cursor:pointer}.ghost,.next{border:1px solid var(--line);background:white;color:var(--ink)}.primary{border:0;background:var(--green);color:white;box-shadow:0 5px 0 #24594c}.next{margin-left:auto}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,30px);opacity:0;pointer-events:none;background:#203f37;color:white;border-radius:13px;padding:12px 18px;transition:.2s;z-index:50}.toast.show{opacity:1;transform:translate(-50%,0)}.shade{position:fixed;inset:0;background:rgba(23,43,36,.35);z-index:15}
@media(max-width:1050px){.app-shell{grid-template-columns:220px 1fr}.scene-grid{grid-template-columns:1fr}.scene-card{display:grid;grid-template-columns:280px 1fr}.scene-photo{aspect-ratio:auto;min-height:210px}.intro{align-items:flex-start}.summary{display:none}}
@media(max-width:760px){.app-shell{display:block}.day-rail{position:fixed;left:-285px;width:270px;transition:.25s}.day-rail.open{left:0}.main{padding:18px 14px 45px}.menu{display:block}.topbar{align-items:flex-start}.topbar small{font-size:9px}.topbar h1{font-size:19px}.mode-switch button{padding:9px 12px}.intro{padding:20px;margin-top:18px}.intro h2{font-size:25px}.toolbar{align-items:flex-start;flex-direction:column}.filters{margin:0}.learning-card{border-radius:22px;padding:18px}.word-identity{gap:11px}.word-index{width:48px;height:48px}.word-identity h2{font-size:26px}.sound{padding:10px;font-size:12px}.scene-card{display:block}.scene-photo{min-height:190px}.card-actions{display:grid;grid-template-columns:1fr 1fr}.primary{grid-column:1/-1;grid-row:1}.next{margin:0}.answer-display{display:block}.answer-display span{display:block;margin-top:6px}}

/* V4 keeps the original BodyWords blue-violet visual language. */
:root{--ink:#172143;--muted:#7f8baa;--green:#6255ef;--mint:#edf4ff;--cream:#f8f9ff;--sand:#eeeaff;--line:#dfe6f4;--yellow:#ffd36f;--red:#ff627d;--shadow:0 20px 55px rgba(67,82,170,.12)}
body{background:linear-gradient(145deg,#e9f8ff 0%,#eef3ff 48%,#f2efff 100%)}
.day-rail{background:rgba(255,255,255,.92);color:var(--ink);border-right:1px solid #dfe8f4;box-shadow:10px 0 35px rgba(80,104,160,.05)}
.brand>span{background:linear-gradient(145deg,#7758ef,#416fff);color:white;box-shadow:0 10px 22px rgba(93,82,237,.28)}
.brand small,.today-card span,.today-card small,.rail-label{color:#687597;opacity:1}
.today-card{background:linear-gradient(125deg,#fff1c9,#ffe4eb);border:1px solid rgba(255,255,255,.85)}
.today-card>div{background:rgba(255,255,255,.72)}.today-card i{background:linear-gradient(90deg,#6d55ef,#4275ff)}
.day-item{color:var(--ink)}.day-item.active{background:linear-gradient(135deg,#7155ee,#4275ff);color:white;box-shadow:0 12px 24px rgba(76,92,239,.22)}.day-item.locked{opacity:.34}
.review-entry{border-color:#dfe5f3;background:#f5f7ff;color:var(--ink)}.review-entry>span{color:#6856ed}.review-entry small{color:#7d89a7}.rail-foot button,.rail-foot label{border-color:#dfe5f1;background:white;color:#56617f}
.topbar small{color:#6b58eb}.mode-switch{background:#e7e8f8}.mode-switch button{color:#7883a2}.mode-switch button.active{color:#6255ef}
.intro{background:linear-gradient(115deg,rgba(255,255,255,.92),rgba(234,240,255,.94));border-color:rgba(255,255,255,.9);box-shadow:0 14px 40px rgba(72,94,159,.07)}.eyebrow{color:#21b8c0}.intro p{color:#7180a1}
.hero-start{margin-top:20px;border:0;border-radius:18px;background:linear-gradient(135deg,#7554ee,#4177ff);color:white;padding:13px 22px;display:inline-grid;grid-template-columns:auto auto;column-gap:10px;align-items:center;box-shadow:0 7px 0 #4c4dcc;cursor:pointer}.hero-start>span{grid-row:1/3;font-size:22px}.hero-start b{font-size:16px}.hero-start small{font-size:11px;opacity:.75}
.hero-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}.install-app{margin-top:20px;border:1px solid #dfe5f4;border-radius:18px;background:rgba(255,255,255,.88);color:#4e5b7e;padding:12px 18px;display:inline-grid;grid-template-columns:auto auto;column-gap:9px;align-items:center;cursor:pointer;box-shadow:0 7px 18px rgba(62,79,139,.08)}.install-app>span{grid-row:1/3;width:27px;height:27px;border-radius:9px;background:#eeeaff;color:#6556ed;display:grid;place-items:center;font-size:18px;font-weight:900}.install-app b,.install-app small{display:block;text-align:left}.install-app b{font-size:14px}.install-app small{font-size:10px;color:#8490ab;margin-top:2px}
.filter.active{background:linear-gradient(135deg,#7155ee,#4773ff);border-color:transparent}.learning-card{background:rgba(255,255,255,.95);border-color:rgba(255,255,255,.92)}.word-index{background:linear-gradient(145deg,#7356ef,#4773ff);color:white;box-shadow:0 10px 22px rgba(92,80,235,.2)}.answer-display{background:linear-gradient(100deg,#f2f4ff,#eef6ff)}.scene-card{background:linear-gradient(180deg,#f7f8ff,#f1f5ff);border-color:#e0e6f5}.primary{background:linear-gradient(135deg,#7554ee,#4177ff);box-shadow:0 5px 0 #4c4dcc}
.overview-section{margin-top:28px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);border-radius:30px;padding:30px;box-shadow:0 18px 48px rgba(68,84,156,.07)}.overview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:22px}.overview-title{min-width:250px}.overview-head small{color:#6856ec;font-weight:800;letter-spacing:.13em}.overview-head h2{font-size:32px;margin:6px 0}.overview-head p{margin:0;color:#7d88a6}.overview-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}.overview-tools .recall-toolbar{margin:0;padding:10px 12px;border-radius:16px;gap:13px;box-shadow:none}.overview-tools .recall-copy h3{margin:2px 0 0;font-size:14px}.overview-tools .recall-copy small{font-size:9px}.overview-tools .recall-switch button,.overview-tools .reveal-answers{padding:9px 12px}.search{width:min(300px,100%);display:flex;align-items:center;gap:10px;background:white;border:1px solid #e1e6f2;border-radius:16px;padding:0 15px}.search input{width:100%;border:0;outline:0;padding:14px 0;background:transparent;color:var(--ink)}.word-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.overview-card{border:1px solid #e1e6f2;background:white;border-radius:21px;overflow:hidden;padding:0;text-align:left;color:var(--ink);cursor:pointer;transition:transform .18s,box-shadow .18s,opacity .18s;content-visibility:auto;contain-intrinsic-size:300px;user-select:none;-webkit-user-select:none;touch-action:pan-y}.overview-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(70,84,150,.13)}.overview-card.is-pressing{box-shadow:0 0 0 3px rgba(105,88,238,.17)}.overview-card.is-dragging{opacity:.74;transform:scale(.96);box-shadow:0 20px 45px rgba(49,59,118,.28);cursor:grabbing;z-index:8;content-visibility:visible}.word-grid.is-reordering .overview-card:not(.is-dragging){transition:transform .14s,box-shadow .14s}.overview-photo{aspect-ratio:4/3;background-size:cover;background-position:center;position:relative}.overview-photo>span{position:absolute;left:10px;bottom:9px;right:10px;background:rgba(255,255,255,.88);border-radius:11px;padding:6px 8px;font-size:10px}.overview-photo>i{position:absolute;right:10px;top:10px;width:13px;height:13px;border-radius:50%;background:white;border:3px solid #c8d0e6;z-index:2}.overview-photo>i.done{background:#7560ee;border-color:white}.overview-card>div:last-child{padding:14px}.overview-card b,.overview-card small,.overview-card strong{display:block}.overview-card b{font-size:17px}.overview-card small{color:#8a94af;margin:3px 0 9px}.overview-card strong{font-size:14px}.empty{padding:35px;text-align:center;color:#7d88a6}body.card-reordering{cursor:grabbing}
@media(max-width:1380px){.overview-head{align-items:flex-start;flex-direction:column}.overview-tools{width:100%;justify-content:space-between}}@media(max-width:1200px){.word-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-tools{display:grid;grid-template-columns:1fr;width:100%}.overview-tools .recall-toolbar{display:block;padding:12px}.overview-tools .recall-actions{margin-top:10px}.overview-tools .recall-switch{display:grid;grid-template-columns:repeat(3,1fr)}.overview-tools .recall-switch button{padding:9px 4px;font-size:11px}.overview-tools .reveal-answers{width:100%;margin-top:8px}.search{width:100%;margin:0}.overview-section{padding:18px}.hero-start{width:100%;justify-content:center}}@media(max-width:470px){.word-grid{grid-template-columns:1fr}}

.sound{display:inline-flex;align-items:center;gap:8px}.sound svg,.mini-sound svg,.overview-sound svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mini-sound{display:grid;place-items:center;color:var(--ink)}.overview-sound{position:absolute;right:9px;top:9px;width:40px;height:40px;border:1px solid rgba(218,225,241,.95);border-radius:50%;background:rgba(255,255,255,.94);color:#53627f;display:grid;place-items:center;z-index:3;cursor:pointer;box-shadow:0 5px 14px rgba(50,66,120,.12)}.overview-photo>i{left:10px;right:auto}.overview-sound:hover,.mini-sound:hover,.sound:hover{color:#6856ec;border-color:#b9b0f8}

body.modal-open{overflow:hidden}.card-modal{position:fixed;inset:0;z-index:80;background:rgba(20,32,61,.72);padding:clamp(14px,3vw,42px);display:grid;place-items:center}.modal-panel{width:min(1500px,100%);max-height:94vh;overflow:auto;background:#f6f8ff;border:1px solid rgba(255,255,255,.9);border-radius:30px;box-shadow:0 30px 90px rgba(23,34,77,.3);padding:18px}.modal-top{position:sticky;top:-18px;z-index:8;background:#f6f8ff;display:flex;align-items:center;gap:22px;padding:10px 4px 16px}.modal-top .progress-copy{flex:1}.modal-close{width:48px;height:48px;border-radius:50%;border:1px solid #dfe5f3;background:white;color:#53627f;font-size:32px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(50,66,120,.1)}.modal-close:hover{color:#6856ec;border-color:#b9b0f8}.card-modal .learning-card{box-shadow:none}.toolbar{justify-content:flex-end}.toolbar .filters{margin-left:0}@media(max-width:760px){.card-modal{padding:0;place-items:stretch}.modal-panel{max-height:100vh;border-radius:0;padding:12px}.modal-top{top:-12px}.card-modal .scene-grid{grid-template-columns:1fr}}

.review-hub{display:grid;grid-template-columns:minmax(210px,.85fr) 2.8fr auto;align-items:center;gap:20px;background:white;border:1px solid #e1e6f2;border-radius:24px;padding:22px 24px;margin:0 0 20px;box-shadow:0 12px 32px rgba(70,84,150,.07)}.review-hub-copy small{color:#6856ec;font-weight:900;letter-spacing:.13em}.review-hub-copy h2{margin:5px 0 4px;font-size:24px}.review-hub-copy p{margin:0;color:#7d88a6;font-size:13px;line-height:1.5}.level-groups{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.level-group{min-width:0;border:1px solid #e1e6f2;background:#f8f9fd;border-radius:16px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;text-align:left;color:#24304f;cursor:pointer}.level-group>span,.pick-level strong{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e8ebf5;font-size:12px}.level-group b,.level-group small{display:block;white-space:nowrap}.level-group b{font-size:12px}.level-group small{font-size:10px;color:#8a94af;margin-top:2px}.level-group em{font-style:normal;font-weight:900}.level-group:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(70,84,150,.1)}.review-now{border:0;border-radius:16px;background:linear-gradient(135deg,#6f59ef,#4779ff);color:white;padding:14px 18px;cursor:pointer;box-shadow:0 5px 0 #4d52c9}.review-now b,.review-now span{display:block}.review-now span{font-size:11px;opacity:.8;margin-top:3px}.level-picker{background:#f6f7fd}.picker-title{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:13px}.picker-title span{color:#7d88a6;font-size:13px}.picker-levels{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.pick-level{border:1px solid #dfe4f1;background:white;border-radius:15px;padding:10px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;text-align:left;cursor:pointer;color:#24304f}.pick-level strong{grid-row:1/3}.pick-level span{font-weight:800;font-size:12px}.pick-level small{font-size:10px;color:#8a94af}.pick-level.suggested{border:2px solid #6c61ee;box-shadow:0 0 0 3px rgba(108,97,238,.1)}.level-1>span,.level-1 strong{background:#ffe4e8;color:#d54460}.level-2>span,.level-2 strong{background:#fff0d2;color:#b97816}.level-3>span,.level-3 strong{background:#e7f2ff;color:#3579c8}.level-4>span,.level-4 strong{background:#e2f4ec;color:#348368}.level-5>span,.level-5 strong{background:#e8e4ff;color:#6652d8}@media(max-width:1200px){.review-hub{grid-template-columns:1fr}.level-groups{grid-template-columns:repeat(5,1fr)}.review-now{justify-self:start}}@media(max-width:760px){.level-groups,.picker-levels{grid-template-columns:1fr 1fr}.review-hub{padding:18px}.picker-title{display:block}.picker-title span{display:block;margin-top:5px}.level-group b,.level-group small{white-space:normal}}

/* Interactive chapter scene and automatic-learning states. */
.scene-atlas{margin:0 0 20px;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.95);border-radius:28px;padding:24px;box-shadow:0 16px 44px rgba(67,82,170,.08)}.atlas-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.atlas-head small{color:#6856ec;font-weight:900;letter-spacing:.13em}.atlas-head h2{font-size:28px;margin:5px 0}.atlas-head p{margin:0;color:#7d88a6}.atlas-head-actions{display:flex;align-items:center;gap:9px}.atlas-head-actions>span{border-radius:999px;background:#edf0ff;color:#6255ef;padding:9px 14px;font-size:13px;font-weight:800;white-space:nowrap}.atlas-head-actions>button{border:0;border-radius:12px;background:#253151;color:white;padding:10px 14px;font-weight:800;cursor:pointer;white-space:nowrap}.atlas-layout{display:grid;grid-template-columns:minmax(0,2.8fr) minmax(270px,.7fr);gap:18px;align-items:start}.atlas-visual{min-width:0}.atlas-image{aspect-ratio:16/9;min-height:640px;border-radius:22px;background-color:#111936;background-position:center;background-size:contain;background-repeat:no-repeat;position:relative;overflow:hidden}.atlas-image:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,23,52,.01),rgba(13,23,52,.1));pointer-events:none}.atlas-hotspot{position:absolute;z-index:2;transform:translate(-50%,-50%);border:0;background:transparent;padding:0;cursor:pointer;color:white}.atlas-hotspot i{display:block;width:14px;height:14px;margin:auto;border-radius:50%;background:#fff;border:4px solid #6558ee;box-shadow:0 0 0 4px rgba(255,255,255,.35),0 5px 14px rgba(25,34,72,.4);transition:.2s}.atlas-hotspot span{display:block;margin-top:5px;background:rgba(19,27,61,.9);border:1px solid rgba(255,255,255,.3);padding:5px 8px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap;opacity:1;transition:.2s}.atlas-hotspot:hover span,.atlas-hotspot:focus span,.atlas-hotspot.active span{background:#fff;color:#253151;transform:scale(1.08)}.atlas-hotspot.learned i{background:#51d2a3;border-color:white}.atlas-hotspot.active i{transform:scale(1.25);background:#ffd36f}.atlas-words{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}.atlas-word-chip{min-width:0;border:1px solid #e0e5f2;background:white;border-radius:11px;padding:8px 9px;text-align:left;color:#263454;cursor:pointer}.atlas-word-chip b,.atlas-word-chip span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atlas-word-chip b{font-size:12px}.atlas-word-chip span{font-size:10px;color:#8490aa;margin-top:2px}.atlas-word-chip.active{border-color:#6658ee;background:#f0efff;box-shadow:0 0 0 2px rgba(101,88,238,.09)}.atlas-word-chip.learned b:before{content:'✓ ';color:#29a878}.atlas-detail{position:sticky;top:22px;min-height:640px;background:linear-gradient(145deg,#f3f5ff,#edf7ff);border:1px solid #e0e6f5;border-radius:22px;padding:24px;display:flex;flex-direction:column;justify-content:center}.atlas-detail small{color:#6856ec;font-weight:900;letter-spacing:.1em}.atlas-detail h3{font-size:30px;margin:8px 0}.atlas-detail p{color:#6f7d9d;line-height:1.65}.atlas-detail .atlas-meaning{font-weight:800;color:#263454}.atlas-detail>div{display:flex;gap:8px;margin-top:8px}.atlas-detail button{border:1px solid #dbe1f1;background:white;border-radius:12px;padding:10px 12px;color:#263454;font-weight:800;cursor:pointer}.atlas-detail button:last-child{border:0;background:linear-gradient(135deg,#7554ee,#4177ff);color:white}.level-groups{grid-template-columns:repeat(4,1fr)}.auto-group{cursor:default}.auto-group:hover{transform:none;box-shadow:none}.word-scene-hint{color:#76839f;line-height:1.55;margin:auto 0 0}.result{margin-top:8px;font-size:13px;line-height:1.45}body.atlas-open{overflow:hidden}.scene-atlas.fullscreen{position:fixed;inset:10px;z-index:110;margin:0;padding:24px;background:#f6f8ff;overflow:auto;box-shadow:0 35px 100px rgba(15,24,55,.35)}.scene-atlas.fullscreen .atlas-layout{grid-template-columns:minmax(0,4fr) minmax(300px,1fr)}.scene-atlas.fullscreen .atlas-image{min-height:calc(100vh - 175px)}.scene-atlas.fullscreen .atlas-detail{min-height:calc(100vh - 175px)}.scene-atlas.fullscreen .atlas-words{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1050px){.atlas-layout,.scene-atlas.fullscreen .atlas-layout{grid-template-columns:1fr}.atlas-detail,.scene-atlas.fullscreen .atlas-detail{position:static;min-height:220px}.atlas-image,.scene-atlas.fullscreen .atlas-image{min-height:400px}.atlas-words,.scene-atlas.fullscreen .atlas-words{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){body{overflow-x:hidden}.main>*{max-width:100%}.topbar{flex-wrap:wrap}.topbar>div:nth-child(2),.intro>div:first-child{min-width:0}.mode-switch{width:100%;order:3}.mode-switch button{flex:1;min-width:0;font-size:12px;white-space:nowrap}.intro,.scene-atlas,.review-hub,.overview-section{width:100%;min-width:0;overflow:hidden}.intro h2,.intro p{overflow-wrap:anywhere}.atlas-head{align-items:flex-start;flex-direction:column}.atlas-head-actions{width:100%;justify-content:space-between}.atlas-image,.scene-atlas.fullscreen .atlas-image{min-height:360px}.atlas-hotspot span{font-size:8px;padding:3px 5px}.atlas-hotspot i{width:11px;height:11px;border-width:3px}.atlas-words,.scene-atlas.fullscreen .atlas-words{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-detail{padding:18px}.level-groups{grid-template-columns:1fr 1fr}.scene-atlas.fullscreen{inset:0;border-radius:0;padding:14px}}

/* Purpose-built phone interface: the desktop site and learning state stay intact. */
.mobile-dock{display:none}
@media(max-width:760px){
  body{padding-bottom:82px;background:linear-gradient(180deg,#eef8ff 0,#f1f3ff 55%,#f7f5ff 100%)}
  .main{padding:0 12px 28px}
  .topbar{position:sticky;top:0;z-index:14;margin:0 -12px;padding:11px 12px 10px;background:rgba(244,248,255,.94);border-bottom:1px solid rgba(218,226,244,.9);backdrop-filter:blur(14px);align-items:center;gap:10px}
  .menu{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e0e6f3;box-shadow:0 5px 14px rgba(58,76,135,.08);font-size:20px}
  .topbar>div:nth-child(2){min-width:0}.topbar small{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar h1{font-size:18px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mode-switch{order:3;width:100%;margin-left:0;padding:3px;border-radius:12px}.mode-switch button{font-size:0;width:auto;height:34px;padding:0}.mode-switch button:before{font-size:12px}.mode-switch button[data-app-mode="study"]:before{content:'学习版'}.mode-switch button[data-app-mode="exam"]:before{content:'考试版'}
  .intro{margin:12px 0;padding:18px;border-radius:22px;display:block}.intro .eyebrow{font-size:9px}.intro h2{font-size:23px;line-height:1.28;margin:7px 0}.intro p{font-size:13px;line-height:1.55}.hero-actions{display:grid;grid-template-columns:1fr}.hero-start,.install-app{width:100%;margin-top:15px;min-height:53px;border-radius:15px;justify-content:center}.install-app{margin-top:0}.summary{display:grid;grid-template-columns:repeat(3,1fr);margin-top:14px;padding:10px}.summary div{min-width:0;padding:2px 5px}.summary b{font-size:18px}
  .scene-atlas{padding:17px 12px 14px;border-radius:23px;margin-bottom:12px;overflow:visible}.atlas-head{gap:12px;margin-bottom:12px}.atlas-head h2{font-size:23px;margin:4px 0}.atlas-head p{font-size:12px;line-height:1.5}.atlas-head-actions{display:grid;grid-template-columns:1fr 1fr}.atlas-head-actions>span{font-size:11px;padding:8px 8px;text-align:center}.atlas-head-actions>button{font-size:11px;padding:9px 8px}
  .atlas-layout{display:flex;flex-direction:column;gap:10px}.atlas-visual{width:100%;overflow-x:auto;overflow-y:hidden;border-radius:18px;background:#111936;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}.atlas-visual:after{content:'左右滑动查看完整图谱';position:sticky;left:10px;bottom:8px;display:inline-block;margin:0 0 8px 10px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.9);color:#53617f;font-size:10px;font-weight:800;pointer-events:none}
  .atlas-image,.scene-atlas.fullscreen .atlas-image{width:720px;min-height:405px;aspect-ratio:16/9;border-radius:18px;scroll-snap-align:start}.atlas-hotspot span{font-size:10px;padding:4px 6px}.atlas-hotspot i{width:13px;height:13px}
  .atlas-detail,.scene-atlas.fullscreen .atlas-detail{width:100%;min-height:0;padding:17px;border-radius:18px;display:grid;grid-template-columns:1fr auto;column-gap:10px;justify-content:initial}.atlas-detail small,.atlas-detail h3,.atlas-detail p{grid-column:1}.atlas-detail small{font-size:10px}.atlas-detail h3{font-size:25px;margin:4px 0}.atlas-detail p{font-size:13px;margin:4px 0;line-height:1.55}.atlas-detail>div{grid-column:1/-1;margin-top:10px}.atlas-detail button{min-height:43px;flex:1}
  .review-hub{padding:17px;border-radius:22px;gap:14px;margin-bottom:12px}.review-hub-copy h2{font-size:21px}.review-hub-copy p{font-size:12px}.level-groups{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px}.level-group{min-width:145px;padding:9px}.review-now{width:100%;min-height:50px}
  .toolbar{margin:0 0 10px;padding:4px 0;display:block;overflow:hidden}.filters{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.filter{flex:0 0 auto;min-height:38px}
  .overview-section{margin-top:12px;padding:16px 12px 18px;border-radius:23px}.overview-head{margin-bottom:14px}.overview-head h2{font-size:24px}.overview-head p{font-size:12px}.search{margin-top:12px;border-radius:14px}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-card{border-radius:17px}.overview-photo{aspect-ratio:1/1}.overview-card>div:last-child{padding:11px}.overview-card b{font-size:15px}.overview-card small{font-size:10px;margin:2px 0 6px}.overview-card strong{font-size:12px}.overview-sound{width:36px;height:36px}
  .day-rail{left:-310px;width:min(88vw,300px);padding:22px 17px 90px;height:100dvh;overflow-y:auto;box-shadow:18px 0 50px rgba(23,33,67,.24)}.day-rail.open{left:0}.brand{margin-bottom:18px}.today-card{padding:14px}.rail-label{margin-top:18px}.day-list{gap:5px}.day-item{padding:11px}.review-entry{margin-top:12px}.rail-foot{margin-top:18px}
  .mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:max(9px,env(safe-area-inset-bottom));z-index:60;padding:7px 6px;background:rgba(255,255,255,.94);border:1px solid rgba(218,225,241,.95);border-radius:21px;box-shadow:0 12px 34px rgba(34,47,94,.2);backdrop-filter:blur(16px)}.mobile-dock button{border:0;background:transparent;color:#66728f;display:grid;place-items:center;gap:2px;padding:4px 1px;border-radius:14px}.mobile-dock span{font-size:18px;line-height:1}.mobile-dock b{font-size:10px}.mobile-dock .primary-dock{background:linear-gradient(135deg,#7455ee,#4276ff);color:#fff;box-shadow:0 5px 12px rgba(78,85,222,.28)}
  .card-modal{padding:0;align-items:stretch}.modal-panel{max-height:100dvh;border-radius:0;padding:10px 10px 90px}.modal-top{top:-10px;padding:5px 2px 10px}.modal-close{width:43px;height:43px}.progress-copy{min-width:0}.learning-card{padding:15px;border-radius:20px}.word-row{align-items:flex-start}.word-index{width:44px;height:44px;border-radius:14px;font-size:16px}.word-identity h2{font-size:23px}.word-identity small{font-size:9px}.word-identity p{font-size:11px}.sound{width:43px;height:43px;padding:0;display:grid;place-items:center}.sound span{display:none}.word-answer{margin:15px 0}.answer-input{font-size:17px;padding:14px}.scene-grid{gap:11px}.scene-card{border-radius:17px}.scene-photo{min-height:0;aspect-ratio:16/10}.scene-body{padding:13px}.scene-head b{font-size:15px}.card-actions{position:sticky;bottom:0;z-index:4;margin:14px -5px -5px;padding:9px 5px calc(7px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(255,255,255,.25),#fff 24%);grid-template-columns:1fr 1fr}.card-actions button{padding:12px 8px;font-size:12px}.card-actions .primary{grid-column:1/-1}.toast{bottom:92px;width:calc(100% - 30px);text-align:center}
  .scene-atlas.fullscreen{padding:10px 10px 90px}.scene-atlas.fullscreen .atlas-head{position:sticky;top:-10px;z-index:10;background:#f6f8ff;padding:8px 2px}.scene-atlas.fullscreen .atlas-visual{max-height:none}.scene-atlas.fullscreen .atlas-detail{min-height:0}
}
@media(max-width:380px){.main{padding-left:9px;padding-right:9px}.topbar{margin-left:-9px;margin-right:-9px}.word-grid{grid-template-columns:1fr 1fr}.overview-card>div:last-child{padding:9px}.mobile-dock{left:6px;right:6px}.atlas-image,.scene-atlas.fullscreen .atlas-image{width:660px;min-height:371px}}

/* V5 learning and exam interaction model. */
.stage-switch{display:flex;gap:5px;padding:4px;background:#e8eaf8;border-radius:14px}.stage-switch button{border:0;background:transparent;color:#7783a3;border-radius:11px;padding:9px 18px;font-weight:800;cursor:pointer}.stage-switch button.active{background:#fff;color:#6556ed;box-shadow:0 4px 12px rgba(55,69,130,.08)}.study-card-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;margin-top:20px}.study-visual{min-height:340px;border-radius:22px;background-size:cover;background-position:center;position:relative;overflow:hidden}.study-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(12,21,50,.55))}.study-visual span{position:absolute;z-index:2;left:18px;bottom:16px;color:#fff;font-weight:800}.study-reveal{min-height:340px;border-radius:22px;background:linear-gradient(145deg,#f2f3ff,#ecf7ff);padding:28px;display:flex;flex-direction:column;justify-content:center}.study-reveal .front-cue{color:#7c87a6;font-size:13px}.study-reveal h3{font-size:38px;margin:8px 0 2px}.study-reveal .ipa{color:#7c87a6;margin:0 0 18px}.study-reveal .study-example{font-size:17px;line-height:1.6}.study-reveal.is-covered h3,.study-reveal.is-covered .ipa,.study-reveal.is-covered .study-example{filter:blur(12px);opacity:.35;user-select:none}.study-hint{text-align:center;color:#8791ac;font-size:12px;margin:14px 0 0}.swipe-actions{align-items:stretch}.swipe-actions .ghost:first-child{border-color:#ffd4dc;color:#ce4962;background:#fff7f8}.swipe-actions .next{border:0;background:#e8f7f0;color:#278260}.mic-panel{border:1px solid #dde5f3;background:#fff;border-radius:17px;padding:14px;margin-top:14px}.mic-panel button{width:100%;border:0;border-radius:13px;background:linear-gradient(135deg,#7554ee,#4177ff);color:#fff;padding:12px;font-weight:800;cursor:pointer}.mic-panel button.listening{background:#ef5d79;animation:pulseMic 1s infinite}.speech-result{min-height:24px;color:#64728f;margin:10px 0 0;line-height:1.5}.sentence-learning-list{display:grid;gap:10px}.sentence-learning-item{border:1px solid #e0e6f3;background:#fff;border-radius:15px;padding:13px}.sentence-learning-item b,.sentence-learning-item span{display:block;line-height:1.5}.sentence-learning-item span{color:#7a86a4;font-size:13px;margin-top:3px}@keyframes pulseMic{50%{box-shadow:0 0 0 7px rgba(239,93,121,.14)}}
@media(max-width:760px){.stage-switch{width:100%;margin-bottom:9px}.stage-switch button{flex:1}.study-card-shell{grid-template-columns:1fr;gap:10px;margin-top:14px}.study-visual{min-height:230px}.study-reveal{min-height:245px;padding:21px}.study-reveal h3{font-size:32px}.study-hint{margin-top:10px}}
.study-mode-grid{display:block}
.modal-panel,.learning-card,.word-row,.word-identity,.word-identity>div,.study-card-shell,.study-reveal,.card-actions{max-width:100%;min-width:0}.modal-panel{overflow-x:hidden}.word-identity{flex:1}.word-identity h2,.word-identity p{overflow-wrap:anywhere}.sound{flex:0 0 auto}.card-actions button{min-width:0;white-space:normal}.sentence-learning-item{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.main,.toolbar,.stage-switch,.summary{max-width:100%;min-width:0;overflow-x:hidden}.stage-switch button{min-width:0;padding:9px 6px}.summary div{min-width:0;padding-left:3px;padding-right:3px}}
.study-combined{display:grid;gap:18px}.study-word-band{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(100deg,#f2f4ff,#edf7ff);border-radius:19px;padding:18px 20px}.study-word-band small{color:#6d5aed;font-weight:900;letter-spacing:.12em}.study-word-band h3{font-size:32px;margin:4px 0}.study-word-band p{margin:0;color:#7180a0}.study-word-band button{border:1px solid #dce3f2;background:#fff;color:#263454;border-radius:13px;padding:11px 14px;font-weight:800;display:flex;align-items:center;gap:7px}.study-word-band svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.study-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.study-sentence-card{border:1px solid #e0e6f3;border-radius:19px;background:#f7f9ff;overflow:hidden}.study-scene-photo{aspect-ratio:16/10;background-position:center;background-size:cover;position:relative}.study-scene-photo span{position:absolute;left:10px;bottom:9px;background:rgba(255,255,255,.9);border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.study-sentence-copy{padding:14px}.study-sentence-copy>small{color:#6d5aed;font-weight:900;letter-spacing:.1em}.study-sentence-copy>b{display:block;font-size:16px;line-height:1.5;margin:7px 0 3px}.study-sentence-copy>p{color:#74809d;margin:0;line-height:1.5}.study-sentence-copy>div{display:flex;gap:7px;margin-top:11px}.sentence-mic{border:1px solid #dce3f2;background:#fff;color:#4e5c7d;border-radius:999px;padding:7px 11px;font-weight:800}.exam-overview-card>div:last-child{display:flex;flex-direction:column;gap:5px}.exam-overview-card strong{font-size:16px}.exam-overview-card small{margin:0;color:#7f8aa6}.exam-overview-card .overview-photo>i{display:none}
.sense-section{display:grid;gap:12px;padding:16px;border:1px solid #e2e7f4;border-radius:20px;background:#fff}.sense-section>header small{color:#6d5aed;font-weight:900;letter-spacing:.12em}.sense-section>header h3{font-size:23px;margin:4px 0;color:#172347}.sense-section>header p{margin:0;color:#697895;line-height:1.55}.study-sentence-copy h4{margin:7px 0 2px;color:#5a46da;font-size:15px}
.sense-section.single-sense{padding:0;border:0;border-radius:0;background:transparent}
.study-single-visual{display:grid;grid-template-columns:minmax(360px,1.35fr) 1fr;gap:20px;align-items:center;padding:16px;border:1px solid #e2e7f4;border-radius:22px;background:linear-gradient(120deg,#f3f5ff,#eef9ff);margin-bottom:18px}.study-hero-photo{min-height:300px;border-radius:18px;background-position:center;background-size:cover;position:relative;box-shadow:0 14px 36px rgba(33,45,91,.14)}.study-hero-photo span{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.92);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900}.study-single-visual>div:last-child small{color:#6d5aed;font-weight:900;letter-spacing:.11em}.study-single-visual h3{font-size:34px;margin:8px 0}.study-single-visual p{color:#63718f;line-height:1.7;margin:0}.study-sentence-card.text-only{min-height:170px}.study-sentence-card.text-only .study-sentence-copy{height:100%;display:flex;flex-direction:column}.study-sentence-card.text-only .study-sentence-copy>div{margin-top:auto}
@media(max-width:900px){.study-single-visual{grid-template-columns:1fr}.study-hero-photo{min-height:260px}.study-sentence-card.text-only{min-height:0}}
.anatomy-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.anatomy-region{fill:rgba(255,62,72,.08);stroke:rgba(255,70,75,.12);stroke-width:20;stroke-linecap:round;stroke-linejoin:round;opacity:0;pointer-events:all;cursor:pointer;transition:opacity .16s ease,filter .16s ease}.anatomy-region:hover,.anatomy-region.active{opacity:1;fill:rgba(255,50,58,.48);stroke:#ff3038;filter:drop-shadow(0 0 8px #ff3038) drop-shadow(0 0 18px rgba(255,49,56,.85))}.atlas-hotspot{z-index:3}
.collection-mode .atlas-visual{background:#eef2fb}.collection-mode .atlas-image{height:640px;min-height:640px;overflow:auto;background:#eef2fb}.collection-mode .atlas-image:after{display:none}.collection-mode #atlasHotspots{position:relative;inset:auto;width:100%;height:auto}.emotion-collection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px}.emotion-tile{min-width:0;padding:0;border:2px solid transparent;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 5px 16px rgba(31,45,86,.09);cursor:pointer;text-align:left;transition:.18s}.emotion-tile:hover,.emotion-tile:focus,.emotion-tile.active{border-color:#6658ee;transform:translateY(-2px);box-shadow:0 10px 24px rgba(82,70,210,.2)}.emotion-tile img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:#dfe5f2}.emotion-tile>span{display:block;padding:8px 10px}.emotion-tile b,.emotion-tile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emotion-tile b{font-size:13px;color:#202d4e}.emotion-tile small{font-size:10px;color:#7885a2;margin-top:2px}.emotion-tile.learned b:before{content:'✓ ';color:#28a879}.scene-atlas.fullscreen.collection-mode .atlas-image{height:calc(100vh - 175px);min-height:500px}.scene-atlas.fullscreen .emotion-collection{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1050px){.emotion-collection{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-atlas.fullscreen .emotion-collection{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.collection-mode .atlas-visual{overflow:hidden}.collection-mode .atlas-visual:after{display:none}.collection-mode .atlas-image,.scene-atlas.fullscreen.collection-mode .atlas-image{width:100%;height:auto;min-height:0;max-height:none;overflow:visible}.emotion-collection,.scene-atlas.fullscreen .emotion-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.emotion-tile>span{padding:7px 8px}.emotion-tile b{font-size:12px}.emotion-tile small{font-size:9px}}
@media(max-width:900px){.study-scenes{grid-template-columns:1fr}.study-sentence-card{display:grid;grid-template-columns:minmax(150px,.8fr) 1.2fr}.study-scene-photo{aspect-ratio:auto;min-height:185px}}
@media(max-width:760px){.study-word-band{padding:15px}.study-word-band h3{font-size:27px}.study-word-band button{font-size:12px;padding:10px}.study-sentence-card{display:block}.study-scene-photo{aspect-ratio:16/10;min-height:0}.study-sentence-copy>b{font-size:15px}}

/* Textbook-style visual vocabulary board: every word stays visible at once. */
.collection-mode .atlas-layout{grid-template-columns:minmax(0,4.6fr) minmax(250px,1fr);align-items:start}
.collection-mode .atlas-visual{overflow:visible!important;background:#f3f5fa}
.collection-mode .atlas-image,.scene-atlas.fullscreen.collection-mode .atlas-image{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;background:#f3f5fa}
.collection-mode .emotion-collection{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:14px}
.collection-mode .emotion-tile{border-radius:14px;box-shadow:0 4px 14px rgba(31,45,86,.08)}
.collection-mode .emotion-tile img{aspect-ratio:4/3}
.collection-mode .emotion-tile>span{padding:9px 10px 10px}
.collection-mode .emotion-tile b{font-size:14px;white-space:normal;line-height:1.2}
.collection-mode .emotion-tile small{font-size:11px;white-space:normal;line-height:1.3}
.scene-atlas.fullscreen.collection-mode .emotion-collection{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:1250px){.collection-mode .emotion-collection{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.collection-mode .atlas-layout{grid-template-columns:1fr}.collection-mode .emotion-collection,.scene-atlas.fullscreen.collection-mode .emotion-collection{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.collection-mode .emotion-collection,.scene-atlas.fullscreen.collection-mode .emotion-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.collection-mode .emotion-tile b{font-size:12px}.collection-mode .emotion-tile small{font-size:10px}}
@media(max-width:430px){.collection-mode .emotion-collection,.scene-atlas.fullscreen.collection-mode .emotion-collection{grid-template-columns:repeat(2,minmax(0,1fr))}}
.scene-atlas.baked-labels .atlas-hotspot span{opacity:0!important;pointer-events:none}
.scene-atlas.baked-labels .atlas-visual{min-width:0;overflow:hidden}
.scene-atlas.baked-labels .atlas-image{width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;aspect-ratio:16/9!important}
.scene-atlas.baked-labels .atlas-hotspot i{opacity:.08;background:#fff;border-color:#fff;box-shadow:none}
.scene-atlas.baked-labels .atlas-hotspot:hover i,.scene-atlas.baked-labels .atlas-hotspot:focus i,.scene-atlas.baked-labels .atlas-hotspot.active i{opacity:.95;background:#ffd36f;border-color:#fff;box-shadow:0 0 0 7px rgba(255,211,111,.35),0 0 22px rgba(255,211,111,.9)}
.recall-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 20px;padding:20px 24px;border:1px solid #e0e5f3;border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 12px 30px rgba(67,82,170,.06)}
.recall-toolbar small{color:#6856ec;font-weight:900;letter-spacing:.13em}.recall-toolbar h2{font-size:23px;margin:4px 0}.recall-toolbar p{margin:0;color:#7b87a4}.recall-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.recall-switch{display:flex;padding:4px;background:#e9e9f8;border-radius:14px}.recall-switch button,.reveal-answers{border:0;border-radius:11px;padding:11px 16px;font-weight:800;cursor:pointer;color:#6f7895;background:transparent}.recall-switch button.active{background:#fff;color:#6255ef;box-shadow:0 4px 13px rgba(54,66,123,.1)}.reveal-answers{background:linear-gradient(135deg,#7554ee,#4177ff);color:#fff}.card-open-hint{display:block;margin-top:8px;color:#8a94af;font-size:11px;font-style:normal}
@media(max-width:760px){.recall-toolbar{display:block;padding:17px 14px}.recall-actions{margin-top:14px;display:block}.recall-switch{display:grid;grid-template-columns:repeat(3,1fr)}.recall-switch button{padding:10px 5px;font-size:12px}.reveal-answers{width:100%;margin-top:9px}}

/* App-icon-style card sorting: quick lift, floating preview, animated reflow and snap-back. */
.overview-card.is-pressing{transform:scale(.985);box-shadow:0 0 0 3px rgba(105,88,238,.14)}
.overview-card.is-placeholder{visibility:hidden}
.word-grid.is-reordering .overview-card:hover{transform:none}
.card-drag-float{position:fixed!important;z-index:9999!important;margin:0!important;pointer-events:none!important;content-visibility:visible!important;opacity:.94;transform:translate3d(var(--drag-x),var(--drag-y),0) scale(1);transform-origin:center;box-shadow:0 12px 26px rgba(38,47,102,.2);transition:box-shadow .13s,opacity .13s;will-change:transform;backface-visibility:hidden}
.card-drag-float.is-lifted{transform:translate3d(var(--drag-x),var(--drag-y),0) scale(1.045) rotate(-.35deg);opacity:1;box-shadow:0 24px 52px rgba(38,47,102,.28),0 0 0 2px rgba(255,255,255,.9)}
.card-drag-float.is-dropping{transform:translate3d(var(--drag-x),var(--drag-y),0) scale(1);opacity:.9;box-shadow:0 7px 16px rgba(38,47,102,.1);transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s,opacity .16s}
body.card-reordering{cursor:grabbing;user-select:none}
.pin-first{position:absolute;left:9px;top:9px;z-index:4;width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(25,35,69,.78);color:#fff;padding:0;cursor:pointer;box-shadow:0 5px 14px rgba(30,40,80,.2);backdrop-filter:blur(8px);transition:transform .15s,background .15s,box-shadow .15s}
.pin-first svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.pin-first:hover,.pin-first:focus-visible{transform:translateY(-1px) scale(1.06);background:#6658ee;box-shadow:0 8px 18px rgba(75,63,190,.3);outline:none}.overview-photo>i{left:53px;right:auto}.card-drag-float .pin-first{display:none}
@media(max-width:470px){.pin-first{width:34px;height:34px}.overview-photo>i{left:50px}}

/* Image-free quick-recall list for collection chapters. */
.collection-mode .atlas-visual{background:#f6f7fc!important}
.collection-mode .word-list-mode{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}
.collection-mode .word-list-mode .emotion-tile{min-height:92px;border:1px solid #e1e5f1;border-radius:14px;background:#fff;box-shadow:none;display:flex;align-items:stretch;overflow:hidden;text-align:left;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}
.collection-mode .word-list-mode .emotion-tile:hover,.collection-mode .word-list-mode .emotion-tile:focus-visible{transform:translateY(-2px);border-color:#9a8cff;box-shadow:0 9px 20px rgba(73,65,151,.1);outline:none}
.collection-mode .word-list-mode .emotion-tile.active{border-color:#6d5af0;box-shadow:0 0 0 2px rgba(109,90,240,.14)}
.collection-mode .word-list-mode .emotion-tile>span{width:100%;padding:13px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:transparent}
.collection-mode .word-list-mode .emotion-tile em{font-size:11px;font-weight:900;letter-spacing:.1em;color:#7565ed;font-style:normal}
.collection-mode .word-list-mode .emotion-tile b{font-size:17px;line-height:1.2;color:#162343;overflow-wrap:anywhere}
.collection-mode .word-list-mode .emotion-tile i{font-size:11px;line-height:1.3;color:#8a94ae;font-style:normal}
.collection-mode .word-list-mode .emotion-tile small{font-size:13px;line-height:1.35;color:#505c78;display:block}
.collection-mode .atlas-detail{min-height:0;position:sticky;top:14px}
.collection-mode .atlas-detail h3{margin-bottom:6px}
.collection-mode .atlas-meaning-zh{font-weight:750;color:#2f3b5b}
.atlas-examples{display:grid;gap:9px;margin:15px 0 18px}
.atlas-examples article{position:relative;padding:10px 10px 10px 34px;border-radius:12px;background:rgba(255,255,255,.66);border:1px solid rgba(213,220,239,.9)}
.atlas-examples article em{position:absolute;left:10px;top:11px;color:#7665ec;font-size:10px;font-style:normal;font-weight:900}
.atlas-examples article b,.atlas-examples article span{display:block;font-size:12px;line-height:1.45}
.atlas-examples article b{color:#25314f}.atlas-examples article span{color:#77839e;margin-top:3px}
@media(max-width:1100px){.collection-mode .word-list-mode{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.collection-mode .word-list-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.collection-mode .word-list-mode .emotion-tile{min-height:86px}.collection-mode .word-list-mode .emotion-tile>span{padding:11px}.collection-mode .atlas-detail{position:static}}

/* Merged study identity and in-depth word explanation. */
.word-row.study-merged-header{justify-content:flex-end;min-height:48px;padding-bottom:8px}
.word-row.study-merged-header .word-identity{display:none}
.study-main-identity h3{font-size:40px;margin:8px 0 3px;line-height:1.1}
.study-main-identity .study-main-meta{font-weight:800;color:#34415f;margin:0 0 12px}
.word-guide{margin-top:20px;padding:22px;border:1px solid #e0e6f3;border-radius:22px;background:linear-gradient(135deg,#fafaff,#f2f7ff)}
.word-guide>header{margin-bottom:15px}.word-guide>header small{color:#6958ed;font-weight:900;letter-spacing:.13em}.word-guide>header h3{font-size:25px;margin:5px 0}.word-guide>header p{margin:0;color:#74809b}
.word-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.word-guide-grid article{padding:17px;border:1px solid #e2e7f3;border-radius:17px;background:#fff;min-width:0}
.word-guide-grid article small{color:#6c5bed;font-size:11px;font-weight:900;letter-spacing:.08em}.word-guide-grid article h4{margin:7px 0;font-size:17px;color:#172343}.word-guide-grid article p{margin:0;color:#66738f;line-height:1.7}.word-guide-grid article strong{display:block;margin-top:11px;padding:9px 11px;border-radius:11px;background:#f1f3ff;color:#33405e;font-size:13px;line-height:1.5}
@media(max-width:760px){.word-row.study-merged-header{min-height:42px}.study-main-identity h3{font-size:32px}.word-guide{padding:16px}.word-guide-grid{grid-template-columns:1fr}.word-guide-grid article{padding:14px}}

.word-guide-prose{padding:28px 32px;background:#fff}
.word-guide-prose>header{padding-bottom:16px;border-bottom:1px solid #e5e9f3}
.word-guide-prose>header h3{font-size:28px;margin:6px 0 0}
.deep-dive-copy{max-width:980px;margin:20px auto 0;color:#34415f;font-size:16px;line-height:1.9}
.deep-dive-copy p{margin:0 0 17px}.deep-dive-copy strong{color:#182544}.deep-dive-copy b{color:#172343}
.deep-dive-copy blockquote{margin:12px 0 18px;padding:13px 16px;border-left:4px solid #6b5aee;border-radius:0 12px 12px 0;background:#f4f5ff}
.deep-dive-copy blockquote b,.deep-dive-copy blockquote span{display:block}.deep-dive-copy blockquote span{margin-top:4px;color:#697691}
.contrast-line{display:grid;grid-template-columns:max-content 1fr;gap:6px 12px;margin:12px 0 20px;padding:16px;border-radius:14px;background:#f7f8fc}
.contrast-line i{display:none}.contrast-line b{color:#5d4add}.contrast-line span{color:#596681}
.deep-dive-copy .memory-line{padding:14px 16px;border-radius:14px;background:#eef8f4;border:1px solid #d7eee5;color:#285f4d}
/* Chapter 14 reading-layout pilot. Other chapters retain their existing layout. */
.chapter14-reading.word-guide-prose{padding:48px 32px;background:#fff}
.chapter14-reading>header,.chapter14-reading .deep-dive-copy{width:100%;max-width:720px;box-sizing:border-box;margin-left:auto;margin-right:auto}
.chapter14-reading>header{padding-bottom:24px;margin-bottom:34px}
.chapter14-reading .deep-dive-copy{font-size:18px;line-height:1.9;margin-top:0;overflow-wrap:break-word;text-align:left}
.chapter14-reading .deep-dive-copy p{margin:0 0 26px}
.chapter14-reading .deep-dive-copy blockquote{margin:32px 0;padding:4px 0 4px 20px;background:transparent;border-left:3px solid #a698f4;border-radius:0;line-height:1.75}
.chapter14-reading .deep-dive-copy blockquote span{margin-top:10px;font-size:17px;color:#66738b}
.chapter14-reading .reading-focus{padding:18px 20px;background:#f7f6ff;border-radius:12px}
.chapter14-reading ul{padding:0;margin:0 0 32px;list-style:none}
.chapter14-reading .reading-comparisons li{margin-bottom:22px}.chapter14-reading .reading-comparisons li b{display:block;margin-bottom:4px}
.chapter14-reading .reading-pairs li{display:flex;flex-wrap:wrap;gap:4px 20px;margin-bottom:14px}.chapter14-reading .reading-pairs li b{min-width:250px}
.chapter14-reading .reading-pairs .mall-usage-example{display:grid;grid-template-columns:minmax(180px,270px) 1fr;align-items:start;padding:15px 0;border-bottom:1px solid #e8ebf5}
.chapter14-reading .mall-usage-example span{display:grid;gap:5px;color:#607099;line-height:1.6}
.chapter14-reading .mall-usage-example span strong{color:#17264e;font-size:15px;line-height:1.55}
.chapter14-reading .mall-usage-example span small{color:#7582a4;font-size:14px;line-height:1.55}
.chapter14-reading .contrast-line{display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:transparent;padding:0;margin:28px 0}.chapter14-reading .contrast-line i{display:none}.chapter14-reading .contrast-line span{margin-bottom:18px}
.chapter14-reading .memory-line{margin-top:34px;padding:20px 24px}
.chapter14-reading .original-answer h4{margin:44px 0 24px;font-size:21px;line-height:1.65;color:#172343}
.chapter14-reading .original-answer h4:first-child{margin-top:0;font-size:18px;font-weight:400;line-height:1.9}
.chapter14-reading .original-answer p{margin-bottom:26px}
.chapter14-reading .original-answer del{color:#8c5260;text-decoration-thickness:2px}
@media(max-width:760px){.chapter14-reading.word-guide-prose{padding:28px 18px}.chapter14-reading .deep-dive-copy{font-size:17px;line-height:1.85}.chapter14-reading>header h3{font-size:24px}.chapter14-reading .deep-dive-copy blockquote{padding-left:14px}.chapter14-reading .deep-dive-copy blockquote span{font-size:16px}.chapter14-reading .reading-pairs li{display:block}.chapter14-reading .reading-pairs li span{display:block}.chapter14-reading .memory-line{padding:18px}}
@media(max-width:760px){.chapter14-reading .reading-pairs .mall-usage-example{display:grid;grid-template-columns:1fr;gap:7px}.chapter14-reading .mall-usage-example span{display:grid}}
@media(max-width:760px){.word-guide-prose{padding:20px 16px}.deep-dive-copy{font-size:15px;line-height:1.8}.word-guide-prose>header h3{font-size:23px}.contrast-line{grid-template-columns:1fr;gap:3px}.contrast-line span{margin-bottom:7px}}

.sentence-language-notes{display:grid!important;gap:6px!important;margin:12px 0 3px!important;padding:10px 11px;border-radius:12px;background:#eef3ff;color:#63708d;font-size:12px;line-height:1.6}
.sentence-language-notes span{display:block;color:#63708d;font-size:11px;line-height:1.45}
.sentence-language-notes span b{display:inline;margin-right:6px;color:#5b49d8;font-size:11px}

/* Keep the chapter rail usable on short viewports and browser zoom levels. */
.day-rail{min-height:0;overflow:hidden}
.day-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8c3df transparent;padding:0 4px 8px 0;scrollbar-gutter:stable}
.day-list::-webkit-scrollbar{width:7px}
.day-list::-webkit-scrollbar-track{background:transparent}
.day-list::-webkit-scrollbar-thumb{background:#c5cce0;border-radius:8px}
.day-list::-webkit-scrollbar-thumb:hover{background:#9ea9ca}
.review-entry{flex:0 0 auto}
.rail-foot{flex:0 0 auto}
.study-sentence-card.text-only{min-height:250px}
@media(max-width:900px){.study-sentence-card.text-only{min-height:0}}

/* Collection detail: readable sidebar instead of compressed horizontal strips. */
.collection-mode .atlas-layout{grid-template-columns:minmax(0,3.2fr) minmax(360px,1fr);gap:20px}
.collection-mode .atlas-detail{justify-content:flex-start;padding:24px 22px;overflow:hidden}
.collection-mode .atlas-detail>.atlas-examples{display:grid;grid-template-columns:1fr;gap:8px;width:100%;margin:15px 0 16px}
.collection-mode .atlas-examples article{width:100%;min-width:0;padding:11px 12px 11px 38px}
.collection-mode .atlas-examples article b,.collection-mode .atlas-examples article span{overflow-wrap:anywhere;word-break:normal}
.collection-mode .atlas-detail>.atlas-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;width:100%;margin-top:auto}
.collection-mode .atlas-actions button{min-width:0;white-space:normal;line-height:1.25}
@media(max-width:1200px){.collection-mode .atlas-layout{grid-template-columns:minmax(0,2.4fr) minmax(330px,1fr)}}
@media(max-width:1050px){.collection-mode .atlas-layout{grid-template-columns:1fr}.collection-mode .atlas-detail{position:static}.collection-mode .atlas-detail>.atlas-actions{grid-template-columns:auto minmax(0,1fr)}}

/* Keep the expanded quick-word list inside its section instead of overlapping review. */
.scene-atlas.collection-mode:not(.fullscreen),
.scene-atlas.collection-mode:not(.fullscreen) .atlas-layout,
.scene-atlas.collection-mode:not(.fullscreen) .atlas-visual,
.scene-atlas.collection-mode:not(.fullscreen) .atlas-image,
.scene-atlas.collection-mode:not(.fullscreen) #atlasHotspots,
.scene-atlas.collection-mode:not(.fullscreen) .word-list-mode{
  height:max-content!important;
  min-height:0!important;
  max-height:none!important;
}
.scene-atlas.collection-mode:not(.fullscreen){overflow:visible!important}
.scene-atlas.collection-mode:not(.fullscreen) .atlas-layout{display:grid!important;overflow:visible!important}
.scene-atlas.collection-mode:not(.fullscreen) .atlas-visual,
.scene-atlas.collection-mode:not(.fullscreen) .atlas-image,
.scene-atlas.collection-mode:not(.fullscreen) #atlasHotspots{position:relative;overflow:visible!important}
.scene-atlas.collection-mode.baked-labels:not(.fullscreen) .atlas-image{aspect-ratio:auto!important}
.scene-atlas.collection-mode:not(.fullscreen) .word-list-mode{position:relative;inset:auto;overflow:visible!important}
@media(max-width:1050px){.scene-atlas.collection-mode:not(.fullscreen) .atlas-layout{display:flex!important;flex-direction:column}}

/* Study-card hero uses the complete independently generated image. */
.study-single-visual{grid-template-columns:minmax(420px,1.25fr) minmax(300px,1fr);align-items:center}
.study-hero-photo{aspect-ratio:3/2;min-height:0!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#e9edf6}
@media(max-width:900px){.study-single-visual{grid-template-columns:1fr}.study-hero-photo{width:100%;aspect-ratio:3/2;min-height:0!important}}
@media(max-width:520px){.study-hero-photo{aspect-ratio:4/3}}

.study-word-title{display:flex;align-items:center;gap:12px;min-width:0}
.study-word-title h3{min-width:0;overflow-wrap:anywhere}
.study-word-title button{flex:0 0 auto;display:flex;align-items:center;gap:7px;border:1px solid #dce3f2;border-radius:12px;background:#fff;color:#273454;padding:9px 12px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px rgba(48,61,112,.06)}
.study-word-title button:hover,.study-word-title button:focus-visible{border-color:#7564ed;color:#5f4de0;outline:none}
.study-word-title button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:520px){.study-word-title{align-items:flex-start}.study-word-title button span{display:none}.study-word-title button{padding:9px}}

/* Separate text-and-audio notebook for spontaneous daily English. */
.scene-atlas.collection-mode .atlas-image,
.scene-atlas.collection-mode:not(.fullscreen) .atlas-image{height:clamp(300px,65vh,680px)!important;max-height:680px!important;min-height:0!important;overflow:auto!important;aspect-ratio:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.scene-atlas.collection-mode .atlas-visual,
.scene-atlas.collection-mode:not(.fullscreen) .atlas-visual{overflow:hidden!important}
.scene-atlas.fullscreen.collection-mode .atlas-image{height:calc(100dvh - 170px)!important;max-height:calc(100dvh - 170px)!important}
.card-recall-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#f1f4ff;border:1px solid #dce3f2;border-radius:16px}
.card-recall-toolbar>span{font-weight:800;color:#344363}.card-recall-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.card-recall-toolbar button,.recall-reveal{border:1px solid #d8dff1;border-radius:10px;padding:9px 13px;background:white;color:#5143cf;font-weight:700;cursor:pointer}
.card-recall-toolbar button[aria-pressed=true]{background:#6354eb;color:white;border-color:#6354eb}
.recall-reveal{margin-top:10px}.recall-guide-control{grid-column:1/-1;padding:12px 0}
.study-mode-grid [hidden]{display:none!important}
@media(max-width:760px){.scene-atlas.collection-mode:not(.fullscreen) .atlas-image{height:55dvh!important;max-height:540px!important}.card-recall-toolbar{align-items:flex-start;flex-direction:column}.card-recall-toolbar button{font-size:12px}}
.daily-practice-entry{margin-top:10px;border:1px solid #dcdff1;background:linear-gradient(135deg,#f4f1ff,#edf4ff);color:var(--ink);border-radius:16px;padding:13px;display:flex;align-items:center;gap:11px;text-align:left;text-decoration:none}.daily-practice-entry>span{font-size:23px;color:#6755e8}.daily-practice-entry div{flex:1}.daily-practice-entry b,.daily-practice-entry small{display:block}.daily-practice-entry small{color:#7d89a7;font-size:11px;margin-top:2px}.daily-practice-entry em{font-style:normal}
.grocery-overview{padding:28px;background:#fff;border-radius:28px;margin:24px 0;box-shadow:0 12px 40px #24346108}
.grocery-overview[hidden]{display:none}
.grocery-overview header{margin-bottom:20px}.grocery-overview small{color:#7058ff;font-weight:800;letter-spacing:1.5px}.grocery-overview h2{margin:8px 0;font-size:28px}.grocery-overview p{color:#7d89a7;line-height:1.8}
.grocery-overview>img{display:block;width:100%;height:auto;border-radius:20px}
.grocery-lesson .overview-photo{background-size:contain!important;background-repeat:no-repeat;background-color:#eef2f8}
.grocery-lesson .study-hero-photo{background-size:contain!important;background-repeat:no-repeat}
.grocery-lesson .study-single-visual:has(.study-hero-photo[hidden]){grid-template-columns:1fr}
.grocery-lesson .word-row.study-merged-header{display:none}
.grocery-lesson .card-recall-toolbar{position:sticky;top:64px;z-index:7;box-shadow:0 5px 16px #24346112}
.grocery-lesson .study-scenes{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.grocery-lesson .study-sentence-card.has-scene-image{display:flex;flex-direction:column;overflow:hidden;padding:0;min-width:0}
.study-sentence-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eef2f8}
.grocery-lesson .has-scene-image .study-sentence-copy{padding:22px;flex:1}
@media(max-width:760px){.grocery-overview{padding:18px;border-radius:20px}.grocery-overview h2{font-size:24px}.grocery-lesson .study-scenes{grid-template-columns:1fr}.grocery-lesson .has-scene-image .study-sentence-copy{padding:18px}.grocery-lesson .card-recall-toolbar{top:58px}}
.structured-reading .deep-dive-copy{max-width:800px;margin:0 auto}
.structured-reading header{max-width:800px;margin-left:auto;margin-right:auto}
.structured-reading .reading-intro{font-size:15px;color:#7d89a7;line-height:1.8;margin:12px 0 0}
.structured-reading .reading-block{padding:30px 0;border-bottom:1px solid #e8ecf5}
.structured-reading .reading-block{scroll-margin-top:170px}
.structured-reading .reading-block:first-child{padding-top:10px}
.structured-reading .reading-block:last-child{border-bottom:0;padding-bottom:0}
.structured-reading .reading-block h4{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.6;margin:0 0 18px;color:#202e50;font-weight:800}
.structured-reading .reading-block h4>span{font-size:12px;letter-spacing:1px;color:#7158ed;background:#f0edff;border-radius:9px;padding:7px 9px;flex:none}
.structured-reading .reading-block p{font-size:17px;line-height:2;margin:0 0 18px;overflow-wrap:anywhere}
.structured-reading .reading-block p:last-child{margin-bottom:0}
.structured-reading .reading-term{font-weight:700;color:#233a65}
.structured-reading .reading-block .word-building-parts{padding:16px 20px;border-radius:12px;background:#f4f2ff;border-left:3px solid #8d74ed;font-weight:700;line-height:1.9}
.structured-reading .reading-block{scroll-margin-top:100px}
.structured-reading .reading-block blockquote{margin:20px 0;padding:16px 20px;border-left:3px solid #9b85ff;background:#f8f7ff;border-radius:0 10px 10px 0}
.structured-reading .reading-block blockquote>b{display:block;font-size:17px;line-height:1.8}
.structured-reading .reading-block blockquote>span{display:block;margin-top:9px;color:#7d89a7;font-size:16px;line-height:1.9}
@media(min-width:761px) and (max-width:1100px){.grocery-lesson .study-scenes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.structured-reading .reading-block{padding:24px 0}.structured-reading .reading-block h4{font-size:18px;gap:10px}.structured-reading .reading-block p{font-size:16px;line-height:1.95}.structured-reading .reading-block blockquote{padding:14px 16px}.grocery-lesson .study-sentence-card.text-only{min-height:0}}
@media(max-width:760px){.grocery-lesson .card-actions{position:fixed;left:20px;right:20px;bottom:max(8px,env(safe-area-inset-bottom));margin:0;padding:8px;background:#fffffff5;backdrop-filter:blur(12px);border:1px solid #e6eaf4;border-radius:15px;z-index:11;box-shadow:0 4px 18px #24346112}}
@media(max-width:760px){.mobile-dock{grid-template-columns:repeat(6,1fr)}.mobile-dock b{font-size:9px}.mobile-dock span{font-size:17px}}

