:root{--bg:#f7f8fc;--panel:#fff;--text:#24253a;--muted:#7c8094;--line:#e8eaf2;--accent:#7263eb;--accent2:#24b5a6;--soft:#efedff;--shadow:0 10px 30px #292b5010;--sidebar:222px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.dark{--bg:#13151d;--panel:#1d202b;--text:#eff0f8;--muted:#9da1b3;--line:#303342;--soft:#2c2947;--shadow:0 10px 30px #0003}.icons{position:absolute;width:0;height:0}.promo{height:35px;background:linear-gradient(90deg,#087f8c,#0d647b);color:#eaffff;display:flex;align-items:center;justify-content:center;gap:14px;font-size:11px;position:relative}.promo span{font-weight:800}.promo b{font-weight:500;opacity:.9}.promo button{position:absolute;right:18px;top:4px;color:white;background:none;font-size:19px}.layout{min-height:calc(100vh - 35px)}.sidebar{position:fixed;left:0;top:35px;bottom:0;width:var(--sidebar);background:var(--panel);border-right:1px solid var(--line);padding:18px 12px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);padding:0 7px 20px;border-bottom:1px solid var(--line)}.brand img{width:35px;height:35px}.brand b{display:block;font-size:14px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:var(--muted)}nav{padding-top:12px}.nav-label{font-size:10px;color:#9da1b4;margin:13px 9px 7px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:0;background:transparent;border-radius:9px;padding:10px 11px;color:var(--muted);font-size:12px;cursor:pointer}.nav-item:hover,.nav-item.active{background:var(--soft);color:#6095f6;font-weight:750}.nav-item svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.nav-item em{margin-left:auto;font-style:normal;background:#e9fff5;color:#17a389;font-size:8px;padding:2px 5px;border-radius:4px}.side-note{margin-top:auto;border-radius:12px;background:linear-gradient(135deg,#eeedff,#e8f8f6);padding:14px;color:#6095f6;font-size:11px}.dark .side-note{background:#292a43;color:#6095f6}.side-note p{margin:5px 0 0;color:var(--muted);font-size:10px}.main{margin-left:var(--sidebar)}.topbar{height:62px;position:sticky;top:0;background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(14px);z-index:3;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px}.crumb{font-size:11px;color:var(--muted)}.crumb span{padding:0 8px}.crumb b{color:var(--text)}.top-actions{display:flex;align-items:center;gap:8px}.search{height:34px;width:280px;border:1px solid var(--line);background:var(--panel);display:flex;align-items:center;gap:7px;padding:0 10px;border-radius:9px}.search svg{width:15px;height:15px;fill:none;stroke:var(--muted);stroke-width:2}.search input{width:100%;border:0;background:transparent;outline:0;color:var(--text);font-size:10px}.points,.member,.theme,.avatar,.mobile-menu{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:8px;height:34px;padding:0 10px;font-size:10px;cursor:pointer}.points b{color:#6095f6}.member{color:#6095f6;font-weight:700}.theme{width:34px;padding:0;display:grid;place-items:center}.theme svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.avatar{width:32px;border:0;border-radius:50%;background:linear-gradient(145deg,#8c74ff,#57c7c0);color:white;font-weight:800}.mobile-menu{display:none}main#content{max-width:1500px;padding:30px 38px 50px;margin:auto}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;color:#6095f6;font-weight:800;letter-spacing:.5px}.heading h1{font-size:25px;line-height:1.25;margin:6px 0;color:var(--text);letter-spacing:-.5px}.heading p{font-size:11px;color:var(--muted);margin:0}.count{color:var(--muted);font-size:10px}.hero{min-height:195px;border-radius:18px;background:linear-gradient(110deg,#202639,#202343 55%,#27344b);color:white;position:relative;overflow:hidden;padding:29px 34px;box-shadow:var(--shadow)}.hero:after{content:"VI";position:absolute;right:9%;top:0;font:130px Georgia;color:#6095f622}.hero h2{font-size:27px;line-height:1.25;margin:12px 0 6px}.hero p{font-size:11px;color:#c5c8dc;margin:0 0 16px}.hero .eyebrow{color:#8fe4e0}.button{border:0;border-radius:8px;padding:10px 15px;background:var(--accent);color:white;font-weight:750;font-size:11px;cursor:pointer}.button.secondary{background:var(--panel);color:#6095f6;border:1px solid var(--line)}.button.teal{background:var(--accent2)}.section{margin-top:28px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-head h2{font-size:15px;margin:0}.section-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.subject-grid,.resource-grid,.topic-grid,.sandbox-grid,.question-grid,.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.subject,.resource,.topic,.sandbox,.question,.stat,.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.subject{padding:15px 12px;text-align:center;cursor:pointer;color:var(--text)}.subject:hover,.resource:hover,.topic:hover,.sandbox:hover{transform:translateY(-2px);border-color:#c5c0ff}.subject i{font-style:normal;font-size:20px;display:block}.subject b{font-size:11px;display:block;margin-top:7px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chip{border-radius:999px;border:1px solid var(--line);background:var(--panel);padding:7px 12px;color:var(--muted);font-size:10px;cursor:pointer}.chip.active{background:var(--accent);border-color:var(--accent);color:white}.select{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:8px;padding:8px 10px;font-size:10px}.resource-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.resource{overflow:hidden;transition:.18s;cursor:pointer}.resource img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;background:var(--soft)}.resource-body{padding:11px 12px}.resource h3{font-size:12px;margin:0 0 5px}.resource p{font-size:10px;color:var(--muted);margin:0;min-height:32px}.badges{display:flex;gap:5px;margin-bottom:7px}.badge{font-size:8px;padding:3px 6px;background:#e8f9f1;color:#119b76;border-radius:4px}.badge.limited{background:#fff2e8;color:#e38538}.badge.subject{background:var(--soft);color:#6095f6}.resource-foot{border-top:1px solid var(--line);margin-top:9px;padding-top:8px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.resource-foot b{color:#6095f6}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topic{padding:18px;display:flex;gap:17px;align-items:center}.topic-cover{width:120px;height:92px;border-radius:10px;object-fit:cover;background:var(--soft);flex-shrink:0}.topic h3{font-size:14px;margin:3px 0 6px}.topic p{font-size:10px;color:var(--muted);margin:0 0 10px}.price{font-size:18px;font-weight:850;color:#6095f6}.old-price{text-decoration:line-through;color:var(--muted);font-size:10px;margin-left:7px}.panel{padding:20px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:18px}.price-table{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.price-step{border:1px solid var(--line);border-radius:9px;padding:12px 9px;text-align:center}.price-step small{display:block;color:var(--muted);font-size:9px}.price-step b{display:block;font-size:14px;color:#6095f6;margin-top:5px}.notice{padding:10px 12px;background:var(--soft);border-radius:8px;color:#6095f6;font-size:10px;margin:11px 0}.question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.question{box-shadow:none;padding:10px 11px;font-size:10px;display:flex;justify-content:space-between;align-items:center}.question small{color:var(--muted)}.muted{color:var(--muted)}.list{padding-left:18px;color:var(--muted);font-size:11px}.list li{margin:7px 0}.stat-grid{grid-template-columns:repeat(3,1fr)}.stat{padding:15px}.stat small{font-size:10px;color:var(--muted)}.stat b{display:block;font-size:20px;color:#6095f6;margin-top:5px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.field label{font-size:10px;color:var(--muted);font-weight:700}.field input,.field textarea,.field select{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--text);font:inherit;font-size:11px}.field textarea{min-height:120px;resize:vertical}.empty{padding:35px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px;font-size:11px}.footer{margin-top:45px;border-top:1px solid var(--line);padding-top:17px;color:var(--muted);font-size:9px;display:flex;justify-content:space-between}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,12px);background:#292944;color:white;border-radius:9px;padding:11px 16px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;z-index:9}.toast.show{opacity:1;transform:translate(-50%,0)}button{font-family:inherit}button:hover{filter:brightness(.98)}@media(max-width:1100px){.subject-grid{grid-template-columns:repeat(3,1fr)}.resource-grid{grid-template-columns:repeat(3,1fr)}.sandbox-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){:root{--sidebar:0px}.sidebar{width:250px;transform:translateX(-105%);transition:.2s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.mobile-menu{display:block}.topbar{padding:0 14px}.crumb{display:none}.top-actions{gap:5px}.search{width:min(42vw,220px)}.member{display:none}main#content{padding:23px 15px 38px}.heading h1{font-size:22px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.subject-grid{grid-template-columns:repeat(3,1fr);gap:8px}.topic-grid{grid-template-columns:1fr}.detail-layout,.two-col{grid-template-columns:1fr}.price-table{grid-template-columns:repeat(2,1fr)}.sandbox-grid{grid-template-columns:repeat(2,1fr)}.question-grid{grid-template-columns:1fr}.promo{font-size:9px;gap:6px}.promo b{display:none}.points{padding:0 6px}.theme{display:none}}@media(max-width:430px){.search{width:34vw}.points{font-size:0}.points b{font-size:10px}.resource h3{font-size:10px}.resource-body{padding:8px}.resource p{font-size:9px}}
.shade{position:fixed;inset:0;background:#10132188;backdrop-filter:blur(5px);z-index:8;display:grid;place-items:center;padding:18px}.modal{position:relative;width:min(650px,100%);max-height:90vh;overflow:auto;padding:24px}.close{position:absolute;right:18px;top:18px;width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-size:18px;z-index:1}
.promo button{opacity:.3;border:0;width:24px;height:24px;top:5px;right:14px;border-radius:6px;color:#d8eeee;transition:opacity .15s,background .15s}
.promo button:hover,.promo button:focus-visible{opacity:.95;background:#ffffff20;outline:2px solid #ffffff8a;outline-offset:1px}
/* 侧栏品牌分隔线与顶部栏底线保持同一高度。 */
.sidebar{padding:0 12px 18px}
.brand{height:62px;min-height:62px;padding:0 7px;flex-shrink:0}
:root[data-theme="dark"]{color-scheme:dark;--bg:#13151d;--panel:#1d202b;--text:#eff0f8;--muted:#9da1b3;--line:#303342;--soft:#2c2947;--shadow:0 10px 30px #0003}
:root[data-theme="light"]{color-scheme:light}
.brand{height:62px;min-height:62px;padding:0 7px;flex-shrink:0}
.brand img.brand-logo{width:100%;height:auto;max-height:44px;object-fit:contain}
.brand .brand-logo-dark{display:none}
body.dark .brand .brand-logo-light{display:none}
body.dark .brand .brand-logo-dark{display:block}

/* 顶部广告条每次进入时下滑展开，关闭时上滑收起并带动页面回顶。 */
.promo{overflow:hidden;animation:promo-enter .42s cubic-bezier(.2,.75,.25,1) both}
@keyframes promo-enter{from{height:0;transform:translateY(-100%);opacity:0}to{height:35px;transform:translateY(0);opacity:1}}
.promo.closing{animation:promo-exit .3s cubic-bezier(.55,0,.8,.35) both;pointer-events:none}
@keyframes promo-exit{from{height:35px;transform:translateY(0);opacity:1}to{height:0;transform:translateY(-100%);opacity:0}}
.layout{transition:min-height .3s ease}
.sidebar{transition:top .3s ease}
.promo-dismissed .sidebar{top:0}
.promo-dismissed .layout{min-height:100vh}
@media(prefers-reduced-motion:reduce){.promo,.promo.closing{animation-duration:.01ms}.layout,.sidebar{transition-duration:.01ms}}

/* 活动公告栏参考 LibTV 顶部公告：深海蓝到青色渐变、光环和翻牌倒计时。 */
.promo{height:60px;min-height:60px;position:sticky;top:0;z-index:10;justify-content:center;padding:0 54px;background:linear-gradient(90deg,#001328,#02c6c4);overflow:hidden;animation:promo-enter .42s cubic-bezier(.2,.75,.25,1) both}
.promo-aurora{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 130%,#02c6c455 0,transparent 56%),linear-gradient(90deg,#001328 0%,#063147 42%,#02a8ae 100%)}
.promo-aurora:before{content:"";position:absolute;width:34vw;aspect-ratio:1;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,transparent 31%,#02c6c455 44%,#02c6c411 59%,transparent 72%);animation:promo-aurora-pulse 5s ease-in-out infinite}
.promo-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:18px;min-width:0;max-width:calc(100vw - 120px);color:#fff}
.promo-countdown{height:28px;display:flex;align-items:center;gap:2px;flex:none;font-variant-numeric:tabular-nums;font-family:var(--font-text,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}
.promo-time-group{height:26px;display:flex;align-items:center;gap:3px}
.promo-digit{width:24px;height:26px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#fff;color:#04202f;font-size:15px;font-weight:650;line-height:1}
.promo-time-group i{width:8px;color:#ffffff80;text-align:center;font-size:15px;font-style:normal;font-weight:600}
.promo-digit.tick{animation:digit-tick .24s ease-out}
.promo-message{display:flex;align-items:center;gap:9px;min-width:0;font-size:14px;line-height:1.4;color:#fff;font-weight:500;white-space:nowrap}
.promo-message strong{font-weight:650}
.promo-message>span{opacity:.9}
.promo-cta{height:32px;display:flex;align-items:center;gap:8px;flex:none;padding:0 12px;border-radius:8px;background:#fff;color:#04202f;text-decoration:none;font-size:12px;font-weight:650;transition:background .16s,transform .16s}
.promo-cta:hover{background:#e7ffff;transform:translateY(-1px)}
.promo button{top:50%;right:16px;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#fff;opacity:.42;font-size:18px;transition:opacity .18s,background .18s}
.promo button:hover,.promo button:focus-visible{opacity:1;background:#ffffff1a;outline:none}
@keyframes promo-enter{from{height:0;min-height:0;transform:translateY(-100%);opacity:0}to{height:60px;min-height:60px;transform:translateY(0);opacity:1}}
@keyframes promo-exit{from{height:60px;min-height:60px;transform:translateY(0);opacity:1}to{height:0;min-height:0;transform:translateY(-100%);opacity:0}}
@keyframes promo-aurora-pulse{0%,100%{opacity:.24;scale:.82}50%{opacity:.86;scale:1.12}}
@keyframes digit-tick{from{transform:rotateX(-70deg);opacity:.35}to{transform:rotateX(0);opacity:1}}
.topbar{top:60px}
.sidebar{top:0;z-index:4;padding-top:60px;transition:padding-top .3s ease}
.brand{height:62px;min-height:62px;padding:0 7px;justify-content:center}
.brand img.brand-logo{width:88%;max-height:34px;flex:0 1 88%;margin:0 auto;object-fit:contain}
.promo-dismissed .sidebar{padding-top:0}
.promo-dismissed .topbar{top:0}
.promo-dismissed .layout{min-height:100vh}
@media(max-width:760px){.promo{height:48px;min-height:48px;padding:0 38px}.promo-content{gap:8px;max-width:100%}.promo-countdown{transform:scale(.82);transform-origin:center}.promo-message{font-size:11px;white-space:normal;line-height:1.2}.promo-message>span{display:none}.promo-cta{height:28px;padding:0 8px;font-size:10px}.promo button{right:5px;width:26px;height:26px}.sidebar{padding-top:48px}.topbar{top:48px}@keyframes promo-enter{from{height:0;min-height:0;transform:translateY(-100%);opacity:0}to{height:48px;min-height:48px;transform:translateY(0);opacity:1}}@keyframes promo-exit{from{height:48px;min-height:48px;transform:translateY(0);opacity:1}to{height:0;min-height:0;transform:translateY(-100%);opacity:0}}}
@media(prefers-reduced-motion:reduce){.promo,.promo.closing,.promo-aurora:before,.promo-digit.tick{animation-duration:.01ms!important}.layout,.sidebar,.topbar{transition-duration:.01ms}}

/* 按 LibTV 公告栏的实际构造复刻配色、数字牌和横幅排版。 */
.promo{background:linear-gradient(90deg,#001328,#02c6c4);color:#fff}
.promo-aurora{background-color:#001328;background-image:none}
.promo-aurora:before{content:"";position:absolute;left:50%;top:50%;width:min(52vw,760px);height:100%;transform:translate(-50%,-50%);border-radius:0;background-image:radial-gradient(closest-side,rgba(2,198,196,0) 16%,rgba(2,198,196,0) 20%,rgba(2,198,196,0) 24%,rgba(2,198,196,.02) 28%,rgba(2,198,196,.076) 32%,rgba(2,198,196,.159) 36%,rgba(2,198,196,.27) 40%,rgba(2,198,196,.406) 44%,rgba(2,198,196,.556) 48%,rgba(2,198,196,.704) 52%,rgba(2,198,196,.826) 56%,rgba(2,198,196,.902) 60%,rgba(2,198,196,.918) 64%,rgba(2,198,196,.871) 68%,rgba(2,198,196,.769) 72%,rgba(2,198,196,.632) 76%,rgba(2,198,196,.48) 80%,rgba(2,198,196,.335) 84%,rgba(2,198,196,.211) 88%,rgba(2,198,196,.114) 92%,rgba(2,198,196,.045) 96%,rgba(2,198,196,0) 100%);animation:activity-banner-aurora-ring 20s ease-in-out infinite}
@keyframes activity-banner-aurora-ring{0%,100%{opacity:.48;scale:.78}50%{opacity:1;scale:1.12}}
.promo-content{gap:10px}
.promo-message{font-size:15px;font-weight:500;line-height:22px}
.promo-cta{height:32px;border-radius:8px;background:#fff;color:#04202f;border:0;font-size:14px;font-weight:500;padding:7px 10px}
.promo-cta:hover{background:#fff;color:#04202f;filter:brightness(.96)}
.promo button{opacity:1;color:#fff}
.topbar{height:50px;border-bottom:0}
.topbar .crumb{display:none}
.sidebar{padding-top:60px}
.brand{height:50px;min-height:50px}
.brand img.brand-logo{width:82%;max-height:30px;flex-basis:82%}
@media(max-width:760px){.topbar{top:48px;height:50px}.sidebar{padding-top:48px}.brand{height:50px;min-height:50px}.promo-message{font-size:11px;line-height:14px}}
.promo-dismissed .sidebar{padding-top:0}
.promo-dismissed .topbar{top:0}
@media(prefers-reduced-motion:reduce){.promo-aurora:before{animation-duration:.01ms!important}}

/* 恢复到上一版顶栏与侧栏品牌行的尺寸和导航状态。 */
.topbar{height:62px;border-bottom:1px solid var(--line)}
.topbar .crumb{display:block}
.brand{height:62px;min-height:62px}
.brand img.brand-logo{width:88%;max-height:34px;flex-basis:88%}
@media(max-width:760px){.topbar{height:62px}}

/* Final LibTV-style treatment: dark navy canvas, cyan aurora ring, compact white timer tiles. */
.promo{background:linear-gradient(90deg,#001328,#02c6c4);color:#fff}
.promo-aurora{background-color:#001328;background-image:none}
.promo-aurora:before{width:min(720px,92vw);height:min(720px,92vw);left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);background-image:radial-gradient(closest-side,rgba(2,198,196,0) 16%,rgba(2,198,196,0) 20%,rgba(2,198,196,0) 24%,rgba(2,198,196,.02) 28%,rgba(2,198,196,.076) 32%,rgba(2,198,196,.159) 36%,rgba(2,198,196,.27) 40%,rgba(2,198,196,.406) 44%,rgba(2,198,196,.556) 48%,rgba(2,198,196,.704) 52%,rgba(2,198,196,.826) 56%,rgba(2,198,196,.902) 60%,rgba(2,198,196,.918) 64%,rgba(2,198,196,.871) 68%,rgba(2,198,196,.769) 72%,rgba(2,198,196,.632) 76%,rgba(2,198,196,.48) 80%,rgba(2,198,196,.335) 84%,rgba(2,198,196,.211) 88%,rgba(2,198,196,.114) 92%,rgba(2,198,196,.045) 96%,rgba(2,198,196,0) 100%);animation:activity-banner-aurora-ring 20s ease-in-out infinite}
@keyframes activity-banner-aurora-ring{0%,100%{opacity:.48;transform:translate(-50%,-50%) scale(.82)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}}
.promo-content{max-width:calc(100vw - 220px);gap:20px}
.promo-message{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;font-weight:500;line-height:22px;letter-spacing:0}
.promo-countdown{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.promo-digit{background-color:#fff;color:#04202f;border-radius:8px;font-size:15px;font-weight:600}
.promo-cta{background-color:#fff;color:#04202f;border:0;border-radius:8px;font-size:14px;font-weight:500;height:32px;line-height:18px;padding:7px 10px}
.promo-cta:hover{background:#fff;color:#04202f;transform:none;filter:brightness(.96)}
.promo button{height:32px;opacity:1;right:16px;width:32px}
@media(max-width:760px){.promo-content{max-width:calc(100vw - 54px);gap:8px}.promo-message{font-size:11px;line-height:14px}}

/* Keep the fixed sidebar and sticky header in lockstep with the promo collapse. */
.sidebar{transition:padding-top .3s cubic-bezier(.55,0,.8,.35)}
.topbar{transition:top .3s cubic-bezier(.55,0,.8,.35)}
@media(max-width:760px){.sidebar{transition:padding-top .3s cubic-bezier(.55,0,.8,.35)}.topbar{transition:top .3s cubic-bezier(.55,0,.8,.35)}}

/* Shared geometry: all moving elements consume the same animated offset. */
:root{--promo-offset:0px}
.promo,.promo.closing{height:var(--promo-offset);min-height:var(--promo-offset);animation:none;transform:none;opacity:1}
.sidebar,.promo-dismissed .sidebar{top:0;padding-top:var(--promo-offset);transition:none}
.topbar,.promo-dismissed .topbar{top:var(--promo-offset);height:50px;transition:none}
.brand{height:50px;min-height:50px}
.layout,.promo-dismissed .layout{min-height:calc(100vh - var(--promo-offset));transition:none}

/* Two broad luminous clouds travel independently behind the announcement. */
.promo-aurora{background:#001328}
.promo-aurora::before,.promo-aurora::after{
 content:"";position:absolute;top:50%;left:50%;width:clamp(440px,48vw,1000px);height:260px;
 aspect-ratio:auto;border-radius:50%;opacity:1;scale:1;filter:blur(22px);
 background:radial-gradient(ellipse at center,rgba(255,255,255,.68) 0%,rgba(222,255,255,.5) 16%,rgba(114,241,238,.4) 34%,rgba(2,198,196,.25) 52%,rgba(2,198,196,0) 73%);
 will-change:transform;animation:promo-cloud-left 7s ease-in-out infinite;
}
.promo-aurora::after{height:300px;animation:promo-cloud-right 8s ease-in-out infinite;animation-delay:-2s}
@keyframes promo-cloud-left{
 0%,100%{transform:translate(-50%,-50%) translateX(-34vw) scale(1)}
 50%{transform:translate(-50%,-50%) translateX(22vw) scale(1.15)}
}
@keyframes promo-cloud-right{
 0%,100%{transform:translate(-50%,-50%) translateX(35vw) scale(1.12)}
 50%{transform:translate(-50%,-50%) translateX(-18vw) scale(.96)}
}
.promo-message{display:block;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 4px #00132880}
@media(prefers-reduced-motion:reduce){.promo-aurora::before,.promo-aurora::after{animation:none!important}.promo-aurora::before{transform:translate(-85%,-50%)}.promo-aurora::after{transform:translate(-10%,-50%)}}

/* Local preview: emphasize the permanent-membership discount in the CTA teal. */
.promo-message .promo-sale-five{font-size:20px;font-weight:800;line-height:1;color:#58d7dc;white-space:nowrap}

/* Sidebar introduction card, restored from the supplied reference. */
.side-note{padding:14px;border:1px solid #7263eb26;border-radius:14px;background:linear-gradient(135deg,#eeedff,#e8f8f6)}
.dark .side-note{background:linear-gradient(125deg,#29263e,#202c39);border-color:#7568ba33;color:#6095f6}
.side-note-kicker{display:flex;align-items:center;gap:7px;color:#6095f6;font-size:10px;line-height:16px;margin-bottom:6px}
.side-note-kicker span{font-size:18px;line-height:16px}
.side-note>b{display:block;font-size:12px;letter-spacing:.3px}
.side-note p{margin:5px 0 12px;font-size:10px;line-height:16px}
.side-note-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:#7263eb1c;border-radius:7px;color:#6095f6;text-decoration:none;font-size:10px;font-weight:600}
.dark .side-note-link{background:#55448645;color:#6095f6}
.side-note-link span{font-size:16px;line-height:16px}
.side-note-link:hover{background:#7263eb30}

.weekly-free-timer{padding:10px 14px;background:linear-gradient(100deg,#d7faf1,#e6f4ff);color:#126b63;display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;font-size:11px}.weekly-free-timer b{font-variant-numeric:tabular-nums;font-size:13px}.weekly-free-timer small{width:100%;font-size:10px;opacity:.75}.dark .weekly-free-timer{background:linear-gradient(100deg,#153b3d,#233347);color:#78e5d9}

.resource-media{position:relative;overflow:hidden}.resource-media>img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover}.resource-media .weekly-free-timer{position:absolute;left:0;right:0;bottom:0;padding:9px 14px;background:rgba(13,41,49,.68);color:#aff9ea;backdrop-filter:blur(8px);border-top:1px solid #ffffff1c;pointer-events:none}.dark .resource-media .weekly-free-timer{background:rgba(13,41,49,.68);color:#aff9ea}.badge.member-exclusive{background:#ece6ff;color:#6095f6}.dark .badge.member-exclusive{background:#463665;color:#6095f6}.resource-heart{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff90;border-radius:50%;background:#ffffffbf;color:#727388;backdrop-filter:blur(6px);cursor:pointer;z-index:1}.resource-heart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.resource-heart:hover{background:#fff;color:#e45e8b}.resource-heart.is-favorite{color:#e34f82;background:#fff0f5}.resource-heart.is-favorite svg{fill:currentColor}.resource-heart:focus-visible{outline:3px solid #7263eb;outline-offset:2px}.resource-heart:disabled{opacity:.6;cursor:wait}.login-prompt-link{color:#6095f6;font-weight:650;text-decoration:underline;text-underline-offset:3px}

.sandbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sandbox.panel{padding:0;overflow:hidden}.sandbox-preview{position:relative;aspect-ratio:16/9;background:var(--soft);overflow:hidden}.sandbox-preview img{width:100%;height:100%;object-fit:cover;display:block}.sandbox-preview>span{position:absolute;right:12px;bottom:10px;background:#17233780;color:white;backdrop-filter:blur(6px);border-radius:5px;padding:3px 7px;font-size:10px}.sandbox-body{padding:20px}.sandbox-body h3{display:flex;align-items:center;gap:10px;margin:0;font-size:16px}.sandbox-icon{display:inline-flex;align-items:center;justify-content:center;font-size:23px;color:#6095f6;width:26px;line-height:1}.sandbox-body p{font-size:12px;margin:12px 0 20px;min-height:19px}.sandbox-body .button{font-size:12px}@media(max-width:760px){.sandbox-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sandbox-body{padding:15px}.sandbox-body h3{font-size:14px}}@media(max-width:480px){.sandbox-grid{grid-template-columns:1fr}}

/* Compact sandbox card details and share action. */
.sandbox-body{padding:16px 20px}.sandbox-body h3{font-size:16px;line-height:24px}.sandbox-body p{margin:6px 0 12px;min-height:0;line-height:20px}.sandbox-actions{display:flex;align-items:center;gap:12px}.sandbox-actions .button{padding:7px 13px;line-height:20px}.sandbox-share{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;border-radius:7px}.sandbox-share svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sandbox-share:hover{background:var(--soft);color:#6095f6}.sandbox-share:focus-visible{outline:2px solid var(--accent)}.sandbox-share-url{width:100%;padding:12px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px}.sandbox.shared-sandbox{border-color:var(--accent)}@media(max-width:760px){.sandbox-body{padding:14px}.sandbox-actions{gap:6px}}

/* Consistent subject icons anchored beside the compact action row. */
.sandbox-body{position:relative;padding:14px 20px}.sandbox-body h3{line-height:22px}.sandbox-body p{margin:3px 0 10px;line-height:18px}.sandbox-actions{padding-right:34px}.sandbox-body .sandbox-icon{position:absolute;right:20px;bottom:20px;width:24px;height:24px;color:#6095f6;pointer-events:none}.sandbox-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:760px){.sandbox-body{padding:12px 14px}.sandbox-body .sandbox-icon{right:14px;bottom:18px}.sandbox-actions{gap:4px}.sandbox-share{padding-inline:6px}}

/* Three-day membership banner: one digit per tile. */
.promo-content{gap:14px}
.promo-countdown{gap:3px;flex:none}
.promo-time-group{gap:2px}
.promo-digit{width:19px;height:26px;border-radius:6px;font-size:15px}
.promo-countdown>i{display:block;width:5px;color:#fff;font-size:15px;font-style:normal;text-align:center}
.promo-message{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-overflow:clip}
.promo-message>span{display:inline}
@media(max-width:760px){.promo-content{gap:7px}.promo-countdown{transform:scale(.8);transform-origin:center right;margin-right:-14px}.promo-message{font-size:11px;gap:5px}.promo-message>span{display:inline}.promo-sale-emphasis{font-size:1.2em!important}.promo-cta{font-size:10px;padding:0 7px}}
@media(max-width:520px){.promo-message>span{display:none}.promo-content{gap:5px}.promo-countdown{transform:scale(.74);margin-right:-20px}}

/* Match the reference banner tile and CTA proportions. */
.promo-digit{width:23px;height:26px;border-radius:6px;font-size:16px;font-weight:700}
.promo-countdown>i{width:7px;font-size:15px}
.promo-message,.promo-message>strong,.promo-message>span{font-size:14px;font-weight:600;line-height:1.4}
.promo-message .promo-sale-five{font-size:20px;font-weight:800;color:#58d7dc;line-height:1}
.promo-cta{height:32px;min-width:116px;justify-content:center;padding:0 12px;font-size:12px;font-weight:600}
@media(max-width:760px){.promo-digit{width:23px;height:26px;font-size:16px}.promo-message,.promo-message>strong,.promo-message>span{font-size:11px}.promo-message .promo-sale-five{font-size:16px}.promo-cta{height:28px;min-width:78px;font-size:10px}}

.catalog-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.resource-media>img[src="assets/logo-symbol.svg"]{object-fit:contain;padding:48px;background:var(--soft)}
.catalog-page{background:transparent;border:0;box-shadow:none;padding:0}.catalog-category-filters{margin-top:-3px}.catalog-results-title{display:flex;gap:10px;align-items:center;margin:22px 0 14px}.catalog-results-title strong{font-size:15px}.catalog-results-title span{font-size:11px;color:var(--muted)}.catalog-empty{border:0;background:transparent;box-shadow:none;text-align:center;padding:38px 12px}
/* Align the first painted logo pixel with the navigation text below. */
.brand img.brand-logo{transform:translateX(-8px)}
.catalog-filters .button{height:36px;min-height:36px;padding:0 13px;line-height:1.2}
.promo-digit{font-weight:500}
.promo-message,.promo-message>strong,.promo-message>span{font-size:14px;line-height:22px;font-weight:600}
.promo-message>span{display:inline-flex;align-items:center}
.promo-message .promo-sale-five{font-size:20px;line-height:22px;font-weight:800}
.promo-cta{min-width:96px;height:30px;padding:0 8px;font-size:12px}
@media(max-width:760px){.promo-message,.promo-message>strong,.promo-message>span{font-size:11px;line-height:16px}.promo-message .promo-sale-five{font-size:16px;line-height:16px}.promo-cta{min-width:72px;height:27px;padding:0 6px;font-size:10px}}

/* Brand mark for the card-code redemption dialog. */
.modal .modal-brand-title{display:flex;align-items:center;gap:10px}
.modal .modal-brand-title::before{content:"";width:34px;height:34px;flex:0 0 34px;background:url('/assets/logo-symbol.svg') center/contain no-repeat}

/* Soften the header divider on the dark resource layout. */
body.dark .topbar{border-bottom-color:rgb(48 51 66 / 60%)}

/* Hide homepage floating labels on phones only. */
@media (max-width:760px){.home-v29 .hero-art .orbit-label{display:none!important}}

/* Regulatory filing notice */
.site-footer{margin:52px 0 10px;padding:18px 0 4px;border-top:1px solid var(--line);text-align:center;font-size:12px;line-height:1.5}.site-footer a{color:var(--muted);text-decoration:none;transition:color .18s}.site-footer a:hover{color:var(--primary);text-decoration:underline}@media(max-width:700px){.site-footer{margin-top:34px;padding-top:15px;font-size:11px}}
