@import url("./subject-theme.css?v=1");
:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#162743;background:#f8faff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}body:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:#2857ef}.masthead,main,footer{width:min(1120px,calc(100% - 96px));margin:auto}.masthead{height:114px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e6f1}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:750;letter-spacing:-.6px}.brandlight{font-weight:450}.brandmark{display:grid;place-content:center;position:relative;background:#2857ef;color:white;border-radius:13px;width:42px;height:44px;font-size:28px;font-weight:700;font-family:Georgia,serif}.brandmark span{position:absolute;color:#c7ed65;right:6px;bottom:2px;font-size:26px}.headernote{color:#65758c;font-size:14px;letter-spacing:2px}.intro{padding:58px 0 44px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2.5px;color:#2857ef;margin:0 0 18px}h1{font-size:clamp(32px,4vw,47px);letter-spacing:-1.3px;font-weight:750;line-height:1.45;margin:0}.blue{color:#2857ef}.introtext{font-size:16px;color:#69788f;line-height:1.8;margin:16px 0 0}.subjecthead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3ef;padding:0 0 19px}.subjecttitle{display:flex;align-items:center;gap:12px}h2{font-size:23px;margin:0}.subjecticon{font-size:27px;color:#2857ef;font-weight:500}.english{color:#7b879a;font-size:12px;letter-spacing:1.4px;margin-left:3px}.total{font-size:14px;color:#69788f}.gradegroup{display:grid;grid-template-columns:180px 1fr;gap:28px;padding-top:29px}.grade{position:relative;padding:7px 0 0 15px}.gradebar{position:absolute;left:0;top:10px;height:18px;width:3px;background:#2857ef;border-radius:3px}h3{font-size:17px;margin:0}.grade p{font-size:14px;color:#738096;margin:10px 0}.toolcard{color:inherit;text-decoration:none;display:grid;grid-template-columns:45% 55%;background:#fff;border:1px solid #e0e6f1;border-radius:20px;overflow:hidden;min-height:278px;box-shadow:0 8px 28px #21365d06;transition:transform .2s,box-shadow .2s,border-color .2s}.toolcard:hover{transform:translateY(-4px);box-shadow:0 14px 38px #2857ef12;border-color:#9bb2ff}.toolcard:focus-visible{outline:3px solid #2857ef;outline-offset:6px}.numberpanel{background:#2857ef;color:white;display:flex;flex-direction:column;padding:25px 25px 22px;justify-content:space-between}.paneltop{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.5px;color:#d4dfff}.number{font-size:clamp(24px,2.8vw,34px);font-weight:600;letter-spacing:1px;white-space:nowrap;margin-top:25px;font-variant-numeric:tabular-nums}.number span:not(.divider){color:#dbf78a}.number .divider{color:#8da8ff;font-size:22px;margin:0 7px}.reading{font-size:12px;line-height:1.8;margin:7px 0 23px;white-space:nowrap}.reading span{color:#dbf78a}.panelbottom{border-top:1px solid #ffffff30;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:16px;font-size:12px}.answer{padding:5px 8px;border-radius:6px;background:#ffffff15;color:#dbf78a;white-space:nowrap}.cardbody{padding:28px;display:flex;flex-direction:column;justify-content:space-between}.tag{font-size:12px;color:#2857ef;background:#eef3ff;padding:5px 8px;border-radius:5px}h4{font-size:26px;margin:16px 0 10px;letter-spacing:-.5px}.cardbody p{color:#69788f;font-size:14px;line-height:1.85;margin:0}.cardfoot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:25px}.features{color:#7b8799;font-size:12px;white-space:nowrap}.features span{margin:0 6px}.enter{font-size:14px;font-weight:600;color:#2857ef;white-space:nowrap}.enter span{font-size:19px;margin-left:4px}footer{display:flex;justify-content:space-between;border-top:1px solid #e0e6f1;padding:23px 0 28px;margin-top:74px;color:#7d899c;font-size:12px}footer>span:first-child{font-weight:600;letter-spacing:.3px}@media(min-width:1400px){.intro{padding-top:70px;padding-bottom:55px}footer{margin-top:100px}}@media(max-width:1000px){.gradegroup{grid-template-columns:130px 1fr;gap:15px}.toolcard{grid-template-columns:1fr 1fr}.numberpanel,.cardbody{padding:22px 18px}.number{font-size:26px}.number .divider{margin:0 3px}.cardfoot{align-items:flex-start;flex-direction:column;gap:12px}}@media(max-width:760px){.masthead,main,footer{width:calc(100% - 40px)}.masthead{height:90px}.brand{font-size:21px}.headernote{font-size:12px;letter-spacing:0}.intro{padding:39px 0 35px}h1{font-size:34px}.introtext{font-size:14px;max-width:21em}.english{display:none}.gradegroup{display:block;padding-top:22px}.grade{display:flex;align-items:center;gap:15px;padding-top:3px;margin-bottom:19px}.gradebar{top:5px}.grade p{margin:0}.toolcard{grid-template-columns:1fr}.numberpanel{padding:23px 25px}.number{font-size:38px;margin-top:21px;letter-spacing:2px}.number .divider{margin:0 9px}.reading{font-size:14px;margin-bottom:24px}.cardbody{padding:26px}.cardbody p{font-size:16px}.cardfoot{flex-direction:row;align-items:center;margin-top:29px}.paneltop,.panelbottom{font-size:13px}footer{margin-top:45px;padding-top:22px}}@media(max-width:360px){.number{font-size:30px}.reading{font-size:12px}.features{white-space:normal}.cardfoot{gap:8px}}@media(prefers-reduced-motion:reduce){.toolcard{transition:none}.toolcard:hover{transform:none}}

.collection.chinese,.collection.englishcollection{margin-top:46px}.dictationpanel{background:#163a93;color:white;display:flex;flex-direction:column;padding:25px;justify-content:space-between}.dictationtitle{font-family:"Songti SC","STSong",serif;font-size:46px;letter-spacing:12px;margin:22px 0 14px}.soundbars{display:flex;gap:6px;align-items:center;height:35px;margin:0 0 22px}.soundbars i{height:12px;width:5px;background:#cdeb82;border-radius:4px}.soundbars i:nth-child(2n){height:25px}.soundbars i:nth-child(3n){height:34px}.chinese .cardfoot,.englishcollection .cardfoot{gap:10px}.chinese .features,.englishcollection .features{white-space:normal}.englishcard .dictationpanel{background:#174f86}.englishcard .dictationtitle{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;font-size:39px;letter-spacing:7px}.englishcard .soundbars i{background:#bfe8ff}.englishcard .answer{color:#bfe8ff}

/* 学科页签与可扩展工具列表。 */
*{touch-action:manipulation}
.subject-tabs{display:flex;gap:10px;border-bottom:1px solid #dce3ef;margin-bottom:30px;padding-bottom:12px}
.subject-tab{--accent:var(--math-accent);--tint:var(--math-tint);flex:1;min-height:54px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--accent);font:inherit;font-size:18px;font-weight:650;cursor:pointer;transition:background .15s}
.chinese-tab,.chinese{--accent:var(--chinese-accent);--tint:var(--chinese-tint)}.english-tab,.englishcollection{--accent:var(--english-accent);--tint:var(--english-tint)}.play-tab,.play{--accent:#7951b0;--tint:#f3edfb}.math{--accent:var(--math-accent);--tint:var(--math-tint)}
.subject-tab:hover{background:var(--tint)}.subject-tab[aria-selected="true"]{background:var(--accent);color:#fff;box-shadow:0 4px 12px #16274312}.subject-tab:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.collection[hidden]{display:none}.collection.chinese,.collection.englishcollection{margin-top:0}.collection{min-height:340px}.collection .subjecticon,.collection .enter{color:var(--accent)}.collection .gradebar{background:var(--accent)}.collection .tag{color:var(--accent);background:var(--tint)}.collection .toolcard:hover{border-color:var(--accent)}.collection .toolcard:focus-visible{outline-color:var(--accent)}.math .numberpanel{background:var(--math-accent)}.math .paneltop{color:#dcf1e5}.math .number .divider{color:#99d4b2}.chinese .dictationpanel{background:var(--chinese-accent)}.chinese .paneltop{color:#ffe5cf}.chinese .soundbars i{background:#ffdc9b}.chinese .answer{color:#fff0ce}.englishcard .dictationpanel{background:var(--english-accent)}.gradegroup .toolcard + .toolcard{grid-column:2}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:55px 20px;background:#fff;border:1px dashed #d9cbea;border-radius:20px;margin-top:29px;min-height:278px}.empty-state>span{font-size:38px;color:var(--accent);margin-bottom:20px}.empty-state h3{font-size:21px}.empty-state p{color:#738096;font-size:14px;line-height:1.8;margin:14px 0 0}
@media(max-width:760px){.subject-tabs{gap:6px;margin-bottom:25px}.subject-tab{font-size:16px;min-height:50px;padding:10px 4px;border-radius:10px}.gradegroup .toolcard + .toolcard{margin-top:20px}.collection{min-height:340px}}
@media(prefers-reduced-motion:reduce){.subject-tab{transition:none}}

.minecraft-preview{min-height:240px;background:#9fc8b0 url(/ShirleyStudy/minecraft/landscape.svg) center/cover;image-rendering:pixelated;padding:22px}.minecraft-preview>span{font:11px monospace;letter-spacing:1px;background:#fff8dfdf;color:#29422f;padding:8px 10px;display:inline-block}

/* 数学项目沿用统一工具卡片：学科预览、介绍、功能与入口。 */
.daily-number{font-size:64px;font-weight:700;line-height:1.1;margin:20px 0 8px;font-variant-numeric:tabular-nums;color:#dbf78a}.daily-number span{font-size:28px;color:#fff;font-weight:600}.daily-topics{font-size:14px;line-height:1.8;margin-bottom:20px;color:#dcf1e5}
