.cn-expand-entry{margin-top:18px;border-color:#b9dfc2;background:linear-gradient(135deg,#fffdf6,#effaee)}
.cn-expand-entry .cn-pill{background:#dff3df;color:#367742}.cn-expand-cover{overflow:hidden;border-radius:20px;background:#eaf7e9}
.cn-expand-cover img{width:100%;height:100%;object-fit:cover}
.cn-expand-page{background:linear-gradient(#f7e7b4,#f8fcf5 40%,#fff8df)}
.cn-expand-hero{background:#f5dea3}
.cn-expand-page .cn-hero-hit{background:transparent;box-shadow:none}.cn-expand-page .cn-hero-hit>img{opacity:0}
.cn-expand-body{position:relative;z-index:3;margin-top:-5px;padding:18px 20px max(34px,var(--sab));background:#fffdf8;border-radius:32px 32px 0 0;min-height:650px}
.cn-expand-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 2px 16px}.cn-expand-heading h1{margin:5px 0 0;font-size:29px}.cn-expand-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.cn-expand-status>b{padding:8px 13px;border-radius:999px;background:#edf7ef;color:#397c48;white-space:nowrap}.cn-expand-heading-actions{display:flex;gap:7px}.cn-expand-review,.cn-expand-new{min-height:36px;padding:7px 12px;border:1px solid #cfe3d2;border-radius:999px;background:#fff;color:#397c48;font-weight:900}.cn-expand-review.active{border:0;background:#4b9b62;color:#fff}.cn-expand-new{border-color:#edcfaa;color:#a15d27}.cn-expand-topic{color:#7d695f;font-weight:800}
.cn-expand-card{overflow:hidden;border:4px solid #cbe8d1;border-radius:28px;background:#fff;box-shadow:0 13px 32px rgba(75,91,54,.12)}
.cn-expand-picture{aspect-ratio:991/371;background:#f4f8ec;overflow:hidden}.cn-expand-picture img{display:block;width:100%;height:100%;object-fit:cover}
.cn-expand-fields{padding:15px;display:grid;gap:10px}.cn-expand-row{display:grid;width:100%;grid-template-columns:120px 1fr;align-items:stretch;padding:0;border:1px solid #eadcb9;border-radius:16px;overflow:hidden;background:#fffdf6;color:inherit;text-align:left;cursor:pointer}.cn-expand-label{display:flex;align-items:center;justify-content:center;padding:11px 9px;background:#fff1c8;color:#76501d;font-weight:900;text-align:center;line-height:1.35}.cn-expand-answer{display:flex;align-items:center;padding:11px 14px;min-height:48px;color:#49362b;font-size:17px;line-height:1.65;font-weight:700;white-space:pre-wrap}.cn-expand-answer.blank{justify-content:center;background:repeating-linear-gradient(to bottom,#fff 0,#fff 31px,#dce8ec 32px,#fff 33px)}.cn-expand-hint{padding:3px 12px;border-radius:999px;background:rgba(255,255,255,.9);color:#9a9a8d;font-size:13px;font-weight:800}.cn-expand-answer.shown{animation:cnAnswerIn .2s ease-out both;background:#f8fcf6}@keyframes cnAnswerIn{from{opacity:.1;transform:rotateX(12deg)}to{opacity:1;transform:none}}
.cn-expand-nav{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:10px;margin:18px 0 0}.cn-expand-nav button{min-height:52px;border:1px solid #ddceb2;border-radius:17px;background:#fffaf0;color:#684934;font-size:16px;font-weight:900}.cn-expand-nav button:disabled{opacity:.35}.cn-expand-nav .cn-expand-toggle{border:0;background:#ee8b3e;color:#fff;box-shadow:0 7px 16px rgba(212,105,34,.2)}.cn-expand-nav .cn-expand-toggle.active{background:#4b9b62}
@media(min-width:700px){.cn-expand-body{padding-left:48px;padding-right:48px}.cn-expand-fields{padding:20px}.cn-expand-row{grid-template-columns:155px 1fr}.cn-expand-answer{font-size:18px}}
@media(max-width:430px){.cn-expand-body{padding-left:12px;padding-right:12px}.cn-expand-heading{align-items:flex-start}.cn-expand-heading h1{font-size:25px}.cn-expand-status{max-width:190px}.cn-expand-review,.cn-expand-new{font-size:13px;padding:6px 10px}.cn-expand-card{border-width:3px}.cn-expand-fields{padding:10px;gap:8px}.cn-expand-row{grid-template-columns:92px 1fr}.cn-expand-label{padding:9px 6px;font-size:14px}.cn-expand-answer{padding:9px 10px;min-height:43px;font-size:15px}.cn-expand-nav{gap:7px}.cn-expand-nav button{font-size:14px;padding:6px 4px}}
.cn-expand-landscape-reference{position:relative;width:min(100vw,calc(100vh * 4 / 3));margin:auto}.cn-expand-landscape-reference>img{display:block;width:100%;height:auto}.cn-expand-landscape-hit{position:absolute;border:0;background:transparent}.cn-expand-landscape-hit.back{left:1%;top:1%;width:10%;height:13%}.cn-expand-landscape-hit.home{right:1%;top:1%;width:10%;height:13%}.cn-expand-landscape-hit.prev{left:0;top:40%;width:9%;height:30%}.cn-expand-landscape-hit.next{right:0;top:40%;width:9%;height:30%}

/* V5.55：横屏扩句训练沿用原随机三卡、记忆和复习逻辑，仅切换为 4:3 学习布局。 */
html.device-landscape .cn-expand-page{position:relative;width:var(--app-w);height:var(--app-h);max-width:none;min-height:0;aspect-ratio:auto;margin:0;overflow:hidden;background:#f8f5eb url('assets/ipad-landscape/chinese-expand-training-bg.png') center/cover no-repeat;box-shadow:none}
html.device-landscape .cn-expand-page .cn-expand-hero{position:absolute;inset:0 0 auto;height:29%;background:transparent}
html.device-landscape .cn-expand-page .cn-expand-hero>img{opacity:0}
html.device-landscape .cn-expand-page .cn-expand-body{position:absolute;z-index:3;left:1%;right:1%;top:28.5%;bottom:1.3%;min-height:0;margin:0;padding:2.2% 4.2% 1.6%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1.4%;border-radius:38px;background:rgba(255,253,248,.97);overflow:hidden}
html.device-landscape .cn-expand-page .cn-expand-heading{min-height:0;margin:0;gap:18px}
html.device-landscape .cn-expand-page .cn-expand-heading h1{margin-top:4px;font-size:clamp(28px,3.3vw,48px)}
html.device-landscape .cn-expand-page .cn-expand-topic{font-size:clamp(14px,1.7vw,23px)}
html.device-landscape .cn-expand-page .cn-expand-status{flex-wrap:nowrap;gap:12px}
html.device-landscape .cn-expand-page .cn-expand-status>b{font-size:clamp(17px,2vw,27px);padding:9px 18px}
html.device-landscape .cn-expand-page .cn-expand-review,html.device-landscape .cn-expand-page .cn-expand-new{min-height:46px;padding:8px 22px;font-size:clamp(15px,1.55vw,21px)}
html.device-landscape .cn-expand-page .cn-expand-card{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:2%;padding:0;border:0;border-radius:24px;background:transparent;box-shadow:none;overflow:hidden}
html.device-landscape .cn-expand-page .cn-expand-picture{height:100%;min-height:0;aspect-ratio:auto;border:4px solid #cbe8d1;border-radius:24px}
html.device-landscape .cn-expand-page .cn-expand-fields{min-height:0;padding:0 5px 0 0;align-content:start;gap:8px;overflow-y:auto}
html.device-landscape .cn-expand-page .cn-expand-row{grid-template-columns:29% 1fr;min-height:52px;border-radius:14px}
html.device-landscape .cn-expand-page .cn-expand-label{padding:8px 7px;font-size:clamp(13px,1.35vw,18px)}
html.device-landscape .cn-expand-page .cn-expand-answer{min-height:50px;padding:8px 13px;font-size:clamp(13px,1.35vw,18px);line-height:1.45}
html.device-landscape .cn-expand-page .cn-expand-nav{min-height:44px;margin:0;gap:12px}
html.device-landscape .cn-expand-page .cn-expand-nav button{min-height:44px;font-size:clamp(13px,1.4vw,18px)}

/* V5.55.1：完整展示较长的最后一行，仍保留逐行显示/隐藏逻辑。 */
html.device-landscape .cn-expand-page .cn-expand-fields{padding-bottom:8px;scrollbar-gutter:stable}
html.device-landscape .cn-expand-page .cn-expand-row:last-child{min-height:64px}
html.device-landscape .cn-expand-page .cn-expand-row:last-child .cn-expand-answer{font-size:clamp(12px,1.18vw,16px);line-height:1.32;overflow-wrap:anywhere}
