*{box-sizing:border-box;margin:0;padding:0;font-family:PingFang SC,Microsoft Yahei,sans-serif}:root{--ink-card:#ffffffc7;--line-soft:#3b82f62e;--cyan:#3b82f6;--teal:#60a5fa;--amber:#fbbf24;--emerald:#f59e0b;--txt-dim:#5d78a8;--txt-main:#1f3d70}body{min-height:100vh;color:var(--txt-main);background-color:#0000;background-image:radial-gradient(circle at 12% 12%,#3b82f629,#0000 32%),radial-gradient(circle at 88% 16%,#60a5fa2e,#0000 32%),radial-gradient(circle at 52% 92%,#f59e0b21,#0000 40%),linear-gradient(165deg,#eef4fe 0%,#e6edfb 52%,#dde7f8 100%);background-position:0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat;background-size:auto,auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;padding:12px 10px;position:relative;overflow-x:hidden}body:before{content:"";z-index:-2;pointer-events:none;background:conic-gradient(#0000 0deg,#3b82f614 60deg,#0000 120deg,#fbbf2414 200deg,#0000 260deg,#60a5fa17 320deg,#0000 360deg);animation:32s linear infinite haloSpin;position:fixed;inset:-35%}@keyframes haloSpin{to{transform:rotate(360deg)}}#app{min-height:100vh}#particles-canvas{z-index:-1;pointer-events:none;width:100%;height:100%;position:fixed;top:0;left:0}.container{z-index:2;max-width:750px;margin:0 auto;position:relative}@keyframes floatIn{0%{opacity:0;transform:translateY(20px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.container>*{animation:.5s cubic-bezier(.22,1,.36,1) both floatIn}.container>:first-child{animation-delay:20ms}.container>:nth-child(2){animation-delay:90ms}.container>:nth-child(3){animation-delay:.16s}.container>:nth-child(4){animation-delay:.23s}.container>:nth-child(5){animation-delay:.3s}@keyframes gradientFlow{to{background-position:300% 0}}.class-header{-webkit-backdrop-filter:blur(22px)saturate(160%);border:1px solid var(--line-soft);background:linear-gradient(160deg, #ffffffe6, #f0f7ffbd), var(--ink-card);text-align:center;color:var(--txt-main);border-radius:20px;margin-bottom:12px;padding:18px;box-shadow:inset 0 1px #fffffff2,0 12px 30px #254a8c1f}.class-header:after{content:"";background:linear-gradient(90deg, var(--cyan), var(--teal), var(--amber));opacity:.9;border-radius:3px;width:64px;height:3px;margin:12px auto 0;display:block}.class-name{letter-spacing:4px;background:linear-gradient(90deg,#1d4ed8,#3b82f6,#f59e0b,#fbbf24,#1d4ed8) 0 0/300% 100%;color:#0000;-webkit-background-clip:text;background-clip:text;justify-content:center;align-items:center;gap:10px;font-size:25px;font-weight:900;animation:7s linear infinite gradientFlow;display:flex}.logo-wrap{flex:none;justify-content:center;align-self:center;align-items:center;width:clamp(76px,26vw,168px);display:flex;position:relative}.logo-icon{object-fit:contain;filter:drop-shadow(0 5px 12px #0f286438);width:100%;height:auto;display:block;position:relative}.title-icon{font-size:26px;transform:translateY(-2px)}.today-title{color:#35517f;margin:10px 0 0;font-size:15px;font-weight:800}.header-inner{grid-template-columns:auto 1fr auto;align-items:center;column-gap:14px;display:grid}.header-main{min-width:0}.header-actions{flex-direction:column;align-items:center;gap:6px;display:flex}.icon-btn{color:#2563eb;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffffffd9;border:1px solid #3b82f659;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:background .2s,color .2s,transform .12s,box-shadow .2s;display:flex}.icon-btn svg{width:19px;height:19px}.icon-btn:active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);transform:scale(.9);box-shadow:0 0 14px #3b82f666}.icon-btn.spinning svg{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{color:#fff;text-align:center;white-space:pre-line;z-index:99;-webkit-backdrop-filter:blur(10px);background:#173a82f5;border:1px solid #93c5fd99;border-radius:999px;max-width:min(86vw,420px);padding:10px 18px;font-size:13px;font-weight:600;line-height:1.6;position:fixed;bottom:44px;left:50%;transform:translate(-50%);box-shadow:0 8px 26px #173a8259}.toast-fade-enter-active,.toast-fade-leave-active{transition:opacity .25s,transform .25s}.toast-fade-enter-from,.toast-fade-leave-to{opacity:0;transform:translate(-50%)translateY(10px)}.toast-fade-enter-to,.toast-fade-leave-from{opacity:1;transform:translate(-50%)translateY(0)}.preview-tab-wrap{-webkit-backdrop-filter:blur(22px)saturate(160%);border:1px solid var(--line-soft);color:var(--txt-main);background:linear-gradient(160deg, #ffffffe6, #f1f7ffc2), var(--ink-card);border-radius:20px;margin-bottom:12px;padding:14px;box-shadow:inset 0 1px #fffffff2,0 12px 30px #254a8c1f}.preview-tab-wrap.tab-today{background:linear-gradient(160deg, #fbbf2429, #ffffffe0), var(--ink-card);border-color:#f59e0b73}.preview-tab-wrap.tab-next{background:linear-gradient(160deg, #3b82f61f, #ffffffe0), var(--ink-card);border-color:#3b82f659}.preview-tab-btn-group,.poem-tab-btn-group{gap:8px;margin-bottom:12px;display:flex}.preview-tab-btn,.poem-tab-btn{color:#2b4a7e;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffffffd9;border:1px solid #3b82f647;border-radius:12px;flex:1;padding:9px;font-size:13px;font-weight:700;transition:all .25s}.preview-tab-btn.active,.poem-tab-btn.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#93c5fde6;transform:translateY(-1px);box-shadow:0 6px 18px #2563eb52}.preview-section{margin-bottom:8px}.preview-section:last-child{margin-bottom:0}.preview-section-title{color:var(--txt-dim);letter-spacing:1px;margin-bottom:5px;font-size:12px;font-weight:800}.preview-course-text{flex-wrap:wrap;gap:6px;display:flex}.course-item{color:#16386c;white-space:nowrap;text-align:center;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f652;border-radius:9px;flex:calc(25% - 8px);padding:5px 7px;font-size:12px;font-weight:800;box-shadow:inset 0 1px #ffffffbf}.course-item.is-empty{color:#5d78a8bf;box-shadow:none;background:#ffffff8c;border-style:dashed;border-color:#3b82f62e;font-weight:700}.course-item.is-single{flex:100%}.round-tab-group{gap:8px;margin-bottom:10px;display:flex}.round-tab{color:#2b4a7e;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#ffffffd9;border:1px solid #3b82f647;border-radius:12px;flex-direction:column;flex:1;align-items:center;padding:8px 4px;transition:all .25s;display:flex}.round-tab .round-label{font-size:13px;font-weight:800}.round-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#93c5fde6;transform:translateY(-1px);box-shadow:0 6px 18px #2563eb52}.round-tab.is-current{border-color:#f59e0bcc}.round-tab.is-current.active{box-shadow:0 6px 18px #2563eb52,inset 0 0 0 2px #fbbf24bf}.poem-tab-wrap{-webkit-backdrop-filter:blur(22px)saturate(160%);background:linear-gradient(160deg, #ffffffe6, #f1f7ffc7), var(--ink-card);border:1px solid #3b82f638;border-radius:20px;margin-bottom:12px;padding:14px;box-shadow:inset 0 1px #fffffff2,0 12px 30px #254a8c1f}.poem-block{display:none}.poem-block.active{display:block}.poem-title{display:none}.poem-content{letter-spacing:1px;color:#2a4875;text-align:left;white-space:pre-line;height:200px;padding:2px 4px;font-size:14px;font-weight:600;line-height:2;overflow-y:auto}.poem-content .hl-blue{color:#1d4ed8;font-weight:900}.poem-content .hl-final{color:#b45309;font-weight:900}.poem-content::-webkit-scrollbar{width:6px}.poem-content::-webkit-scrollbar-thumb{background:#3b82f659;border-radius:3px}.poem-content::-webkit-scrollbar-track{background:0 0}.table-card{-webkit-backdrop-filter:blur(22px)saturate(160%);border:1px solid var(--line-soft);background:linear-gradient(160deg, #ffffffe6, #f1f7ffc2), var(--ink-card);color:var(--txt-main);border-radius:20px;margin-bottom:14px;padding:14px;box-shadow:inset 0 1px #fffffff2,0 12px 30px #254a8c1f}.table-title{text-align:center;letter-spacing:2px;background:linear-gradient(90deg,#1d4ed8,#3b82f6,#f59e0b,#fbbf24,#1d4ed8) 0 0/300% 100%;color:#0000;-webkit-background-clip:text;background-clip:text;border-bottom:1px solid #3b82f62e;margin-bottom:12px;padding-bottom:10px;font-size:17px;font-weight:900;animation:8s linear infinite gradientFlow}.table-title small{-webkit-text-fill-color:#6b87b8;filter:none;letter-spacing:1px;margin-left:8px;font-size:12px;font-weight:700}table{border-collapse:separate;border-spacing:5px;width:100%;font-size:12px}th{color:#1e40af;letter-spacing:1px;background:#3b82f624;border:1px solid #3b82f64d;border-radius:10px;padding:11px 6px;font-weight:800}td{text-align:center;border:1px solid #3b82f62e;border-radius:10px;padding:11px 6px;font-weight:700;transition:all .2s}.day-td{color:#fff;text-shadow:0 1px 2px #02103059;background:linear-gradient(#3b82f6,#2563eb);font-weight:800}.white-td,.night-td{color:#16386c;background:linear-gradient(135deg,#dbeafe,#c3d8ff);border-color:#60a5fa6b;font-weight:800;box-shadow:inset 0 1px #ffffffd9}.empty-td{color:#607aa2cc;background:#ffffff80;border-style:dashed;border-color:#3b82f629}@keyframes todayGlow{0%,to{box-shadow:inset 0 0 0 1px #f59e0b8c,0 0 12px #fbbf2473}50%{box-shadow:inset 0 0 0 2px #f59e0be6,0 0 22px #fbbf24b3}}table th.today-col,table td.today-col{font-weight:900;animation:2s ease-in-out infinite todayGlow;color:#5b3200!important;background:linear-gradient(135deg,#fde047,#f59e0b)!important;border-color:#fde047!important}table th.next-col,table td.next-col{box-shadow:inset 0 1px #ffffff59,0 0 12px #2563eb59;color:#fff!important;background:linear-gradient(135deg,#60a5fa,#2563eb)!important;border-color:#93c5fd!important}.tip{text-align:center;color:#35517f;padding:60px 0;font-size:15px}.tip.error{color:#dc2626}@media (width<=420px){table{font-size:11px}td{padding:10px 4px}.class-name{font-size:22px}.logo-wrap{width:clamp(64px,20vw,168px)}.icon-btn{width:34px;height:34px}.today-title{margin-top:6px;font-size:13px}}@media (prefers-reduced-motion:reduce){body:before,.container>*,.class-name,.table-title,table th.today-col,table td.today-col{animation:none!important}}@media (width>=1024px){body{padding:22px 32px}.container{grid-template-columns:minmax(0,1.25fr) minmax(0,1.05fr);grid-template-areas:"header header""preview poem""day poem";gap:14px 18px;max-width:1270px;display:grid}.class-header{grid-area:header}.preview-tab-wrap{grid-area:preview}.day-column{grid-area:day}.poem-tab-wrap{grid-area:poem}.container>.tip{grid-column:1/-1}.day-column{flex-direction:column;min-width:0;display:flex}.class-header{border-radius:18px;margin-bottom:0;padding:28px 36px}.class-header:after{width:88px;height:4px;margin-top:16px}.logo-wrap{width:170px}.class-name{letter-spacing:7px;font-size:34px}.today-title{margin-top:12px;font-size:17px}.header-inner{column-gap:26px}.icon-btn{border-radius:14px;width:44px;height:44px}.icon-btn svg{width:22px;height:22px}.preview-tab-wrap,.poem-tab-wrap,.table-card{border-radius:18px;margin-bottom:0;padding:22px 26px}.table-card{margin-bottom:14px}.preview-tab-btn-group,.round-tab-group{margin-bottom:12px}.preview-tab-btn{border-radius:12px;padding:10px 8px;font-size:14px}.preview-section-title{margin-bottom:5px;font-size:13px}.preview-course-text{gap:8px}.course-item{border-radius:10px;flex:calc(12.5% - 8px);padding:7px 5px;font-size:13px}.course-item.is-single{flex:100%}.poem-tab-wrap{flex-direction:column;gap:14px;min-height:0;display:flex;position:absolute;inset:0 0 14px}.poem-tab-btn-group{display:none}.poem-block{background:#ffffff9e;border:1px solid #3b82f629;border-radius:12px;flex-direction:column;flex:1 1 0;min-height:0;padding:18px 20px;display:flex;box-shadow:inset 0 1px #ffffffd9}.poem-block:not(:last-child){margin-bottom:0}.poem-title{text-align:center;letter-spacing:3px;color:#b45309;flex:none;margin-bottom:10px;font-size:16px;font-weight:900;display:block}.poem-content{letter-spacing:1px;flex:auto;height:auto;min-height:0;padding-right:4px;font-size:15px;line-height:1.8;overflow-y:auto}.poem-content::-webkit-scrollbar{width:6px}.poem-content::-webkit-scrollbar-thumb{background:#3b82f659;border-radius:3px}.poem-content::-webkit-scrollbar-track{background:0 0}.round-tab{border-radius:14px;padding:11px 8px}.round-tab .round-label{font-size:15px}.table-title{letter-spacing:4px;margin-bottom:16px;padding-bottom:12px;font-size:21px}.table-title small{font-size:13px}table{border-spacing:7px;font-size:15px}th,td{border-radius:12px;padding:14px 8px}}
