.sci-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;margin:16px 0;background:linear-gradient(110deg,#f6fbea,#e1f4e9);border:1px solid #c9e5d5;border-radius:22px}.sci-welcome img{width:180px;height:116px;object-fit:contain;background:white;border-radius:15px;padding:7px}.sci-welcome small{color:#136b51;font-weight:800;letter-spacing:.3px}.sci-welcome h2{font-size:30px;color:#184c43}.sci-tabs,.sci-subtabs{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}.sci-tabs button,.sci-subtabs button{background:white;color:#285147;border:1px solid #cfe2da;border-radius:13px;padding:11px 17px;font-weight:700}.sci-tabs .chosen,.sci-subtabs [aria-pressed=true]{background:#177c69;color:white;border-color:#177c69}.sci-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;padding:12px;border-radius:15px;border:1px solid #dbe7de;font-size:14px;color:#44685a}.sci-tools progress{max-width:140px;accent-color:#188e77}.sci-tools select{padding:5px;border:1px solid #c5dad0;border-radius:8px;background:white}.sci-section,.sci-game{background:white;border:1px solid #d6e7dd;padding:22px;margin:16px 0;border-radius:22px;box-shadow:0 4px 20px #183a2610}.sci-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.sci-heading span{background:#e4f4e9;padding:6px 12px;border-radius:20px;color:#216a50;font-size:14px}.sci-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sci-card{display:flex;flex-direction:column;gap:8px;text-align:center;background:#fbfdf8;border:1px solid #dce8d7;border-radius:18px;overflow:hidden;padding:12px}.sci-card img{width:100%;height:178px;object-fit:contain;background:white;border-radius:12px}.sci-card h3{font-size:25px;color:#235e49;line-height:1.4}.sci-card p{font-size:16px;line-height:1.6;flex:1}.sci-card small{font-size:12px;color:#607465}.sc-voice-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:bold;background:#e6f5eb;color:#125c46;border:1px solid #b8e2ca;padding:9px 13px;border-radius:12px;cursor:pointer}.sc-voice-btn.sc-speaking{background:#167c68;color:white}.sci-narr{background:#f5f9ed;border:1px solid #d4e4ce;border-radius:17px;padding:20px;margin:20px 0}.sci-narr p{margin-top:10px}.sci-target{text-align:center;background:#f5faf5;border:1px dashed #b7d5c6;border-radius:18px;padding:18px;margin:16px 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.sci-target strong{font-size:32px;color:#155b48}.sci-target img{height:180px;max-width:100%;object-fit:contain}.sci-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px;margin:14px 0}.sci-option{border:2px solid #d8e6dd;background:#f8fbf8;border-radius:16px;font-size:21px;font-weight:bold;color:#245243;padding:12px;min-height:54px}.sci-option img{width:100%;height:145px;object-fit:contain;border-radius:10px;background:white}.sci-option.correct{border-color:#16955e;background:#e7f9e9}.sci-option.incorrect{border-color:#d16855;background:#fff2eb}.sci-feedback,.sci-book-feedback{min-height:38px;margin:8px 0;padding:5px 10px;font-weight:700;color:#185d47}.sci-feedback.try{color:#9a3f31}.sci-feedback.ok{background:#e9f8ec;border-radius:10px}.sci-sequence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;background:#eef6e8;border-radius:15px}.sci-sequence>div{border:1px solid #bed8cb;padding:7px;border-radius:12px;display:grid;place-items:center;min-height:90px}.sci-sequence img{width:100%;height:90px;object-fit:contain}.sci-empty{font-size:30px;color:#83a798}.sci-book-task{margin:16px 0;padding:16px;background:#f9fcf7;border:1px solid #dce9da;border-radius:16px}.sci-book-task>img{display:block;max-width:100%;height:240px;object-fit:contain;margin:12px auto}.sci-book-task h3{margin:8px 0}.sci-section>.btn{margin-top:10px}@media(max-width:850px){.sci-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.sci-welcome{padding:14px;gap:10px}.sci-welcome img{width:82px;height:83px}.sci-welcome h2{font-size:22px}.sci-welcome p{font-size:14px}.sci-tabs button,.sci-subtabs button{font-size:13px;padding:9px}.sci-grid{gap:9px}.sci-section,.sci-game{padding:12px}.sci-card{padding:8px}.sci-card img{height:105px}.sci-card h3{font-size:19px}.sci-card p{font-size:13px}.sc-voice-btn{font-size:12px;padding:7px}.sci-option{font-size:16px;padding:8px}.sci-option img{height:100px}.sci-options{grid-template-columns:repeat(2,minmax(0,1fr))}.sci-sequence img{height:55px}.sci-sequence{gap:4px;padding:5px}.sci-sequence>div{min-height:55px}.sci-tools{gap:8px}.sci-target img{height:135px}}
/* Keep the first row of word cards and play controls above the fold on desktop. */
.sc-unit-title:has(+.sci-welcome){padding:14px 22px;margin-bottom:8px}.sc-unit-title:has(+.sci-welcome) h1{font-size:clamp(26px,3vw,39px)}.sci-welcome{padding:13px 20px;margin:10px 0}.sci-welcome img{height:76px;width:138px}.sci-welcome h2{font-size:25px}.sci-tabs{margin:10px 0}.sci-tools{padding:8px 12px}.sci-section,.sci-game{margin:12px 0;padding:18px}.sci-card img{height:152px}.sci-card p{min-height:42px}.sci-sequence{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:580px){.sc-unit-title:has(+.sci-welcome){padding:11px 13px}.sci-welcome{padding:10px}.sci-welcome h2{font-size:21px}.sci-welcome img{width:72px;height:64px}.sci-section,.sci-game{padding:10px}.sci-card img{height:100px}.sci-card p{min-height:0}.sci-tools progress{max-width:110px}}
