/* 西禾日语「新编日语5课文题目」：明亮的品牌蓝 / 黄与日系轻盈感 */
.sp-app{background:linear-gradient(180deg,#f8fbff 0%,#f4faff 100%)}
.sp-content{max-width:1300px;padding-top:35px}
.sp-topbar .sp-sound{border:1px solid #ddedf6;border-radius:100px;padding:8px 14px;background:#f4faff;color:#377fae;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.sp-sidebar-bottom{margin-top:auto;text-align:center;color:#7395b1;font-size:12px;padding:30px 0 0;border-top:1px solid #f0f4fa}
.sp-sidebar-bottom small{display:block;font-size:9px;letter-spacing:1.4px;margin-top:3px}
.sp-hero{background:linear-gradient(113deg,#059df5,#0089e0);border-radius:23px;padding:38px 42px 34px;color:#fff;box-shadow:0 15px 35px #008ee72c;overflow:hidden;position:relative}
.sp-hero:before{content:'';position:absolute;width:340px;height:340px;right:-160px;top:-180px;border:47px solid #ffffff1d;border-radius:50%}
.sp-hero:after{content:'';position:absolute;width:150px;height:150px;right:100px;bottom:-160px;border:20px solid #ffed002e;border-radius:50%}
.sp-eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:800;color:#d0edff}
.sp-deco{font-size:50px;color:#fff000;opacity:.7;position:absolute;right:30px;top:8px;transform:rotate(-20deg)}
.sp-hero-title{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:1}
.sp-hero h1{font-weight:900;line-height:1.3;font-size:37px;margin:14px 0 10px;letter-spacing:-.7px}
.sp-hero h1 em{font-style:normal;color:var(--xihe-yellow)}
.sp-hero-jp{font-size:17px;letter-spacing:.4px;font-weight:720;color:#f9ffff;margin:0}
.sp-hero-sub{color:#d8effd;font-size:13px;margin:13px 0 0}
.sp-spark{color:var(--xihe-yellow)}.sp-whale{font-size:102px;line-height:1.2;filter:drop-shadow(0 8px 18px #156da74d);transform:rotate(-8deg);padding:20px}
.sp-hero-foot{position:relative;z-index:1;display:flex;gap:16px;align-items:center;margin-top:38px;padding-top:16px;border-top:1px solid #ffffff4a}
.sp-hero-foot b{font-size:21px;color:var(--xihe-yellow)}.sp-hero-foot span,.sp-hero-foot small{font-size:12px;color:#ebf7ff}.sp-hero-foot small{white-space:nowrap}
.sp-bar{flex:1;background:#ffffff40;border-radius:20px;height:7px;overflow:hidden;max-width:380px}.sp-bar i{height:100%;background:var(--xihe-yellow);display:block;border-radius:20px;transition:width .3s}
.sp-section-title{display:flex;justify-content:space-between;align-items:end;margin:36px 0 18px}.sp-section-title span{font-size:10px;font-weight:900;color:var(--xihe-blue-deep);letter-spacing:1.8px}.sp-section-title h2{margin:4px 0 0;font-size:23px}.sp-section-title h2 b{color:var(--xihe-blue);font-size:18px;margin-left:6px}.sp-section-title small{font-size:12px;color:#7797b1}
.sp-unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.sp-unit{min-width:0;border:1px solid #e4eff7;border-radius:18px;background:#fff;box-shadow:0 11px 30px #0099f40a;padding:24px;text-align:left;color:var(--text);display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s}
.sp-unit:hover{transform:translateY(-4px);border-color:#9bd5fc;box-shadow:0 16px 35px #0099f420}
.sp-unit-top{display:flex;justify-content:space-between;align-items:center}.sp-unit-icon{display:grid;place-items:center;background:#fff7b3;border-radius:15px;width:48px;height:48px;color:#147eae;font-weight:950;font-size:27px}.sp-unit-range{color:#85a3b8;font-size:12px;font-weight:800;letter-spacing:.5px}
.sp-unit-no{font-size:10px;color:var(--xihe-blue);letter-spacing:1.5px;font-weight:850;margin-top:25px}.sp-unit strong{font-size:22px;margin-top:4px}.sp-unit-jp{font-size:12px;color:#6195b6;font-weight:730;margin-top:2px}.sp-unit p{color:#7b96ad;font-size:12px;margin:13px 0 24px;min-height:41px}.sp-unit-foot{border-top:1px dashed #deedf7;padding-top:18px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8fa4b6;gap:6px;margin-top:auto}.sp-unit-foot b{color:#007dca;white-space:nowrap}.sp-home-note{font-size:12px;color:#8ba0af;margin-top:20px}
.sp-quiz-bread{display:flex;justify-content:space-between;align-items:center}.sp-quiz-bread button{border:0;color:#007dcd;background:transparent;font-weight:800;font-size:12px;padding:2px 0}.sp-quiz-bread span{color:#8ba7ba;font-size:12px}
.sp-quiz-top{display:flex;justify-content:space-between;align-items:center;margin:21px 0}.sp-quiz-overline{font-size:11px;color:#2595ce;letter-spacing:1px;font-weight:800}.sp-quiz-overline span{color:#f4d800;margin:0 6px}.sp-quiz-top h1{font-size:31px;margin:6px 0 0;line-height:1.25}.sp-quiz-top h1 small{font-size:14px;color:#9cafc0;font-weight:600}.sp-quiz-score{background:#ecf8ff;padding:9px 14px;border-radius:99px;color:#258ec5;font-weight:750;font-size:12px;white-space:nowrap}
.sp-category-tabs{display:flex;gap:10px;margin:23px 0 15px;flex-wrap:wrap}.sp-category-tabs button{border:1px solid #d8eaf6;border-radius:12px;padding:10px 18px;background:#fff;color:#68869e;font-weight:750}.sp-category-tabs button.selected{background:var(--xihe-yellow);color:#065e9e;border-color:#ffdc00}
.sp-numberbar{background:#fff;border-radius:16px;border:1px solid #e4eff7;padding:15px 19px;margin:14px 0 22px}.sp-numberhead{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px}.sp-numberhead strong{font-size:13px}.sp-numberhead span{color:#9ab0c3}.sp-numrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.sp-number{width:37px;height:36px;border-radius:10px;background:#f5f9fc;color:#7894ac;border:1px solid #e5eff5;font-weight:800;font-size:12px}.sp-number.sp-current{color:#fff;background:var(--xihe-blue);border-color:var(--xihe-blue)}.sp-number.sp-done:not(.sp-current){color:#148c72;background:#ebfbf5;border-color:#cdece1}.sp-number.sp-wrong:not(.sp-current){color:#bf6c6a;background:#fff4f4;border-color:#f4d9d8}
.sp-question-card{background:#fff;border:1px solid #e5eff6;border-radius:19px;padding:26px 30px 23px;box-shadow:0 13px 33px #0086dd09;max-width:1000px}.sp-question-heading{display:flex;align-items:center;justify-content:space-between;color:#8ba7ba;font-size:12px}.sp-qtag{color:#007dce;font-size:11px;letter-spacing:1.8px;font-weight:950}
.sp-question-text{margin:15px 0 0;font-size:21px;font-weight:750;line-height:1.95;white-space:pre-wrap;word-break:break-word;color:#183f5c;letter-spacing:.15px}
.sp-guide{background:#f3faff;border-left:3px solid var(--xihe-yellow);padding:10px 14px;font-size:12px;color:#7196b0;border-radius:6px;margin:17px 0 23px}
.sp-options{display:grid;gap:11px}.sp-opt{display:flex;gap:13px;align-items:center;text-align:left;background:#fff;border:1.5px solid #e2edf5;border-radius:13px;min-height:60px;padding:12px 17px;color:#255470;transition:background .1s,border-color .1s}.sp-opt:hover:not(:disabled){border-color:var(--xihe-blue);background:#f1faff}.sp-opt-n{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf7ff;color:#158bd2;font-size:15px;font-weight:850;flex-shrink:0}.sp-opt-txt{font-size:15px;line-height:1.8;flex:1;word-break:break-word}.sp-opt-deco{font-size:19px;color:#91b8cc}.sp-opt.sp-correct{background:#f0fcf3;border-color:#6acfa0;opacity:1}.sp-opt.sp-correct .sp-opt-n{background:#2aaa75;color:#fff}.sp-opt.sp-correct .sp-opt-deco{color:#21945f}.sp-opt.sp-incorrect{background:#fff5f4;border-color:#eba7a2;opacity:1}.sp-opt.sp-incorrect .sp-opt-n{background:#dc7470;color:#fff}.sp-opt.sp-incorrect .sp-opt-deco{color:#cd615c}.sp-opt:disabled{opacity:1;cursor:default}
.sp-result{border-radius:12px;margin-top:18px;padding:14px 17px}.sp-result.success{background:#eafdF2;border:1px solid #bce8d1;color:#167450}.sp-result.failure{background:#fff5f2;border:1px solid #fad9d2;color:#ad5952}.sp-result-title{font-weight:850;font-size:16px}.sp-result p{margin:5px 0 0;font-size:13px}
.sp-explanation{padding:21px 23px;margin-top:12px;border:1px solid #deeffb;border-radius:12px;background:#f7fbff}.sp-explain-hd{color:#087dc5;font-size:12px;font-weight:900;letter-spacing:.7px}.sp-explain-content{margin-top:10px;line-height:1.9;white-space:pre-wrap;font-size:14px;color:#406078}.sp-explanation small{display:block;color:#84a1b4;margin-top:8px}
.sp-quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid #edf2f7}.sp-quiz-actions button{border:0;padding:11px 19px;background:#eff8fd;color:#1c8ac8;font-size:13px;border-radius:10px;font-weight:800}.sp-quiz-actions button:last-child{background:var(--xihe-blue);color:#fff}.sp-quiz-actions button:disabled{opacity:.35}.sp-bottom-note{font-size:12px;color:#92aabb;margin-top:17px;max-width:1000px;text-align:center}
.sp-passage{padding:22px 23px;margin-bottom:28px;background:#f9fcff;border:1px solid #e6f1fa;border-radius:15px}.sp-passage-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.sp-passage-head span{font-size:10px;font-weight:900;letter-spacing:1.4px;color:#1b89c5}.sp-passage-head button{border:0;color:#0079bf;font-size:12px;background:transparent;font-weight:800}.sp-passage h3{font-size:18px;color:#214963;margin:10px 0 16px}.sp-passage p{font-size:14px;line-height:2.2;color:#35566d;margin:10px 0;white-space:pre-line}.sp-passage h4{font-size:14px;color:#2373a6;margin:18px 0 7px}
.sp-finish{padding-top:60px}.sp-finish-card{background:#fff;text-align:center;border-radius:24px;border:1px solid #d8ebf8;max-width:650px;margin:auto;padding:50px 30px;box-shadow:var(--shadow)}.sp-finish-icon{font-size:54px;color:#ffcf00}.sp-finish-card .sp-eyebrow{color:#2c96cd}.sp-finish-card h1{font-size:31px;margin:10px 0}.sp-finish-card p{color:#829db1;font-size:14px}.sp-finish-stats{margin:22px auto;color:#517a94}.sp-finish-stats strong{font-size:25px;color:#0695ed}.sp-finish-card button{border:0;border-radius:12px;background:var(--xihe-yellow);color:#086ba9;font-weight:900;padding:14px 25px}.sp-finish-card button.sp-quiet{background:transparent;color:#849eaf;display:block;margin:15px auto 0}
@media(max-width:1250px){.sp-whale{font-size:72px}.sp-hero h1{font-size:31px}.sp-unit-grid{gap:12px}.sp-unit{padding:20px}}
@media(max-width:900px){.sp-unit-grid{grid-template-columns:1fr}.sp-unit{min-height:210px}.sp-unit p{min-height:0}.sp-whale{font-size:62px}.sp-hero h1{font-size:29px}}
@media(max-width:650px){.sp-content{padding:20px 16px 80px}.sp-topbar{padding:0 16px}.sp-topbar .path{font-size:11px}.sp-hero{padding:24px 19px 20px;border-radius:17px}.sp-whale{font-size:51px;padding:2px}.sp-hero h1{font-size:24px}.sp-hero-jp{font-size:12px}.sp-hero-sub{font-size:11px}.sp-hero-foot{margin-top:27px}.sp-section-title{margin-top:24px}.sp-section-title h2{font-size:20px}.sp-section-title small{font-size:10px}.sp-unit-grid{gap:12px}.sp-unit{min-height:205px}.sp-unit-no{margin-top:12px}.sp-quiz-top h1{font-size:26px}.sp-quiz-score{font-size:10px}.sp-category-tabs{gap:6px}.sp-category-tabs button{font-size:12px;min-width:0;padding:10px 11px}.sp-numberbar{padding:12px}.sp-numrow{gap:5px}.sp-number{width:34px;height:33px}.sp-question-card{padding:20px 16px}.sp-question-text{font-size:17px}.sp-opt-txt{font-size:14px}.sp-opt{padding:11px;min-height:58px}.sp-passage{padding:18px 15px}.sp-passage p{font-size:13px}.sp-quiz-bread span{font-size:10px}}
/* 手机导航两行排布：Logo 单独一行，两个学习入口并排，避免挤压 */
@media(max-width:850px){
  .sp-app .sidebar{display:block;position:static;max-height:none;border-right:0;border-bottom:1px solid #e2eff7;padding:10px 17px 15px}
  .sp-app .logo-panel{display:flex;justify-content:flex-start;min-height:0;padding:0}
  .sp-app .official-logo{width:156px}
  .sp-app .sidebar-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
  .sp-app .nav-only{width:100%;max-width:100%;min-width:0;min-height:54px;font-size:12px;padding:8px 12px;white-space:normal;justify-content:start;gap:8px}
  .sp-app .nav-icon{font-size:17px}
  .sp-app .sp-sidebar-bottom{display:none}
}
@media(max-width:560px){.sp-app .sidebar{padding:9px 15px 12px}.sp-app .official-logo{width:145px}.sp-app .nav-only{font-size:12px;padding:8px;line-height:1.4}}
