﻿:root{--paper:#F7F9FC;--navy:#1E2A5A;--ink:#2B3550;--muted:#5B6680;--line:#E3E8F0;--white:#FFFFFF;--yellow:#FFD666;--sage-fill:#DFF3E8;font-family:"Microsoft JhengHei","PingFang TC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}a,button,input{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #6C5CE7;outline-offset:4px}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}p,h1,h2,h3,figure{margin:0}p{line-height:1.9}h1,h2,h3{color:var(--navy)}svg{display:block;flex-shrink:0}.icon{width:48px;height:48px}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}[hidden]{display:none!important}.skip-link{position:absolute;left:16px;top:-100px;background:var(--navy);color:white;padding:12px 20px;z-index:10}.skip-link:focus{top:12px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:30px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;color:var(--navy);min-width:0}.brand .icon{width:50px;height:50px}.brand-name{display:block;font-size:24px;font-weight:900;letter-spacing:1px}.brand-subtitle{display:block;color:var(--muted);font-size:12px;margin-top:6px;line-height:1.7}.header-nav{display:flex;gap:28px;font-size:14px;color:var(--navy);flex-shrink:0}.header-nav a{padding-block:12px}.header-nav a:hover,.text-link:hover{text-decoration:underline}
.hero{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:20px;padding-block:68px}.hero-copy{min-width:0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:10px}.little-dot{width:8px;height:8px;background:#6C5CE7;border-radius:50%}h1{font-size:clamp(32px,3.8vw,53px);line-height:1.65;font-weight:900;margin-block:20px}.underline{position:relative;white-space:nowrap;isolation:isolate}.underline::after{content:"";position:absolute;z-index:-1;left:-3%;bottom:0;width:106%;height:19px;border-radius:48% 36% 44% 30%;background:#FFD666B3;transform:rotate(-2deg)}.hero-description{font-size:16px;color:var(--muted);line-height:2;max-width:34em}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:50px;padding:14px 23px;border:1px solid var(--navy);border-radius:12px;background:var(--navy);color:white;font-size:15px;font-weight:700;line-height:1.5;transition:background .2s,transform .2s}.button:hover{background:#304580;transform:translateY(-2px)}.button.secondary{background:var(--white);color:var(--navy);border-color:#B8C3DD}.button.secondary:hover{background:#EDF1FA}.button span{font-size:21px}.text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;color:var(--navy)}.resume-note{font-size:12px;color:var(--muted);margin-top:12px;min-height:23px}.encouragement{font-size:13px;color:var(--muted);margin-top:18px}.hero-art{min-width:0}.hero-art img{width:100%}
.section{padding-block:40px;scroll-margin-top:16px}.subjects-section,.learning-section,.how-section{border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.section-heading h2{font-size:27px;line-height:1.6;margin-top:6px}.section-heading>p{font-size:13px;color:var(--muted)}
.ochre{--accent:#E8574A;--tint:#FFF0ED;--accent-text:#AE352B}.sage{--accent:#2FA36B;--tint:#E8F7EF;--accent-text:#207348}.blue{--accent:#1B9AAA;--tint:#E6F6F8;--accent-text:#11727F}.clay{--accent:#E59A1F;--tint:#FFF5DF;--accent-text:#8E5B0C}.olive{--accent:#6C5CE7;--tint:#F0EDFF;--accent-text:#5C49CD}
.subject-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.subject-card{padding:19px;border:1px solid var(--line);border-top:5px solid var(--accent);border-radius:16px;background:white;transition:transform .2s,box-shadow .2s;min-width:0}.subject-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #1E2A5A0D}.card-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.subject-number{font-size:11px;letter-spacing:2px}.card-arrow{font-size:20px}.subject-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;margin-top:18px;background:var(--tint);color:var(--accent)}.subject-icon .icon{width:42px;height:42px}.subject-card h3{font-size:23px;letter-spacing:3px;margin-top:18px}.subject-english{font-size:10px;letter-spacing:1.5px;color:var(--muted);display:block;margin-top:5px}.subject-card p{font-size:12px;color:var(--muted);margin-top:13px}.subject-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.status-dot{width:6px;height:6px;background:#7C879D;border-radius:50%;flex-shrink:0}.available{color:var(--accent-text);font-weight:700}.available .status-dot{background:var(--accent)}
.unit-card{border:1px solid var(--line);border-radius:20px;background:white;display:grid;grid-template-columns:200px minmax(0,1fr);overflow:hidden}.unit-illustration{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:var(--tint);color:var(--accent-text);min-height:235px}.unit-illustration .icon{width:88px;height:88px;color:var(--accent)}.unit-illustration>span{font-size:12px;letter-spacing:3px}.unit-content{padding:28px 34px;min-width:0}.unit-meta{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.tag{background:var(--tint);color:var(--accent-text);padding:4px 10px;border-radius:6px;font-weight:700}.unit-content h2,.unit-content h3{font-size:26px;line-height:1.6;margin-top:13px}.unit-code{color:var(--muted);font-size:.75em;margin-right:5px}.unit-description{font-size:13px;color:var(--muted);margin-top:10px}.unit-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.duration{font-size:12px;color:var(--muted)}.unit-bottom .button{min-height:46px;padding:12px 20px;font-size:13px}.featured-section #featured-units{display:grid;gap:20px}
.storage-note{font-size:12px;color:var(--muted);margin-bottom:18px}.section-heading>.streak{padding:9px 16px;border:1px solid #F5DF9D;background:#FFF7DF;border-radius:24px;color:var(--navy);font-weight:700;white-space:nowrap}.progress-list{display:grid;gap:16px}.progress-card{background:white;border:1px solid var(--line);border-radius:16px;padding:22px 26px;min-width:0}.progress-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.progress-heading h3{font-size:17px;line-height:1.8}.progress-heading a{white-space:nowrap}.progress-card progress{display:block;width:100%;height:12px;border:0;border-radius:10px;overflow:hidden;background:var(--line);accent-color:var(--accent);margin-block:12px}.progress-card progress::-webkit-progress-bar{background:var(--line);border-radius:10px}.progress-card progress::-webkit-progress-value{background:var(--accent);border-radius:10px}.progress-card progress::-moz-progress-bar{background:var(--accent);border-radius:10px}.progress-details{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.certificate-link{color:var(--navy);font-weight:700;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}.exam-countdown{margin-top:20px;padding:20px 24px;background:#EDF1FA;border:1px solid var(--line);border-radius:14px;line-height:1.8;color:var(--navy);font-weight:700}.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.badge-card{display:flex;align-items:center;gap:18px;background:white;border:1px solid var(--accent);border-radius:18px;padding:24px;min-width:0}.badge-emblem{display:grid;place-items:center;width:64px;height:72px;flex-shrink:0;font-size:36px;border:2px solid var(--accent);border-radius:40% 40% 48% 48%;color:var(--accent-text);background:var(--tint)}.badge-card h3{font-size:18px}.badge-card p{font-size:12px;color:var(--muted);margin-top:5px}.badge-card.locked{--accent:#BCC4D2;--accent-text:#667086;--tint:#F3F5F8;border-style:dashed}.badge-card.locked h3{color:var(--muted)}
.how-section{margin-top:15px;padding-bottom:56px}.steps{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.steps li{display:flex;gap:16px;padding-block:10px}.step-number{font-size:24px;color:#8E5B0C;font-family:Georgia,serif}.steps h3{font-size:16px;line-height:1.8}.steps p{font-size:13px;color:var(--muted);margin-top:6px}.site-footer{border-top:1px solid var(--line);padding-block:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}.footer-name{display:flex;align-items:center;gap:12px}.footer-name .icon{width:34px;height:34px;color:var(--navy)}.site-footer>a{padding-block:12px;white-space:nowrap}
.breadcrumb{display:flex;gap:12px;font-size:12px;color:var(--muted);padding-top:28px;line-height:1.8}.breadcrumb a:hover{text-decoration:underline}.subject-hero{display:flex;align-items:center;gap:26px;padding-block:40px}.subject-heading-icon{background:var(--tint);color:var(--accent);width:106px;height:106px;border-radius:28px;display:grid;place-items:center;flex-shrink:0}.subject-heading-icon .icon{width:65px;height:65px}.subject-hero h1{font-size:42px;margin:5px 0 9px;line-height:1.5;color:var(--accent-text);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:12px;text-decoration-thickness:4px}.subject-hero p:not(.eyebrow){font-size:15px;color:var(--muted)}.subject-hero .count-pill{margin-left:auto;font-size:12px;border:1px solid var(--line);border-radius:25px;padding:10px 18px;white-space:nowrap}.subject-nav{display:flex;gap:12px;border-bottom:1px solid var(--line);padding-bottom:24px;flex-wrap:wrap}.subject-nav a{display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;border:1px solid var(--line);border-radius:10px;min-height:48px;padding:10px 23px;background:white}.subject-nav .icon{width:23px;height:23px}.subject-nav a[aria-current="page"]{background:var(--navy);border-color:var(--navy);color:white}.unit-list{display:grid;gap:24px;padding-block:38px 60px;min-height:350px}.subject-afterword{padding-bottom:40px;display:flex;justify-content:space-between;align-items:center;gap:20px}.subject-afterword p{font-size:13px;color:var(--muted)}.empty-state{text-align:center;padding:24px 20px 10px}.empty-art{margin:0 auto 23px;width:120px;height:110px;display:grid;place-items:center;background:#EDF1FA;border-radius:35px;position:relative}.empty-art .icon{width:62px;height:62px;color:var(--navy)}.empty-art>span{position:absolute;right:-8px;top:0;font-size:34px;color:#8E5B0C}.empty-state .eyebrow{justify-content:center;font-size:11px}.empty-state h2{font-size:27px;margin-top:12px;line-height:1.7}.empty-state>p:not(.eyebrow){font-size:14px;color:var(--muted);margin-top:14px}.empty-state .button{margin-top:24px}.empty-message{padding:32px;border:1px solid var(--line);border-radius:16px;background:white;color:var(--muted)}
.certificate-main{max-width:700px;padding-block:32px}.certificate-tools{margin-bottom:24px}.certificate-tools label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}.certificate-tools input{width:100%;padding:12px 15px;border:1px solid #B8C3DD;border-radius:10px;background:white;color:var(--navy);min-height:48px}.certificate-tools p{font-size:12px;color:var(--muted);margin-top:5px}.certificate-tools button{padding:0;background:none;border:0;font-size:12px;text-decoration:underline}.certificate{position:relative;background:white;border:2px solid var(--navy);border-top:8px solid var(--accent);border-radius:18px;padding:34px 30px;text-align:center;box-shadow:0 12px 30px #1E2A5A08}.certificate>.eyebrow{justify-content:center;font-size:11px}.certificate-seal{color:var(--accent-text);font-size:34px;margin-top:15px}.certificate h1{font-size:32px;margin:6px 0 18px;line-height:1.5}.certificate-name{font-size:26px;font-weight:800;color:var(--navy);overflow-wrap:anywhere;margin-bottom:10px}.certificate>p{font-size:14px}.certificate .certificate-name{font-size:26px}.certificate-badge{display:inline-block;background:var(--tint);color:var(--accent-text);border-radius:20px;padding:5px 15px;margin-top:16px}.certificate .completion-date{font-size:12px;color:var(--muted);margin-block:16px}.certificate h2{font-size:16px;text-align:left;margin-top:22px}.certificate table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;margin-top:10px;table-layout:fixed}.certificate th,.certificate td{padding:9px 4px;border-bottom:1px solid var(--line);font-weight:400;overflow-wrap:anywhere}.certificate thead th{font-weight:700;color:var(--muted);font-size:11px}.certificate th:first-child{width:58%}.certificate td{text-align:right}.certificate .certificate-motto{font-size:14px;color:var(--navy);font-weight:700;margin-top:24px}.certificate .certificate-footer{font-size:11px;color:var(--muted);margin-top:8px}
@media(min-width:1600px){.wrap{width:min(1440px,calc(100% - 128px))}.hero{padding-block:85px}.hero h1{font-size:60px}.hero-description{font-size:18px}.certificate-main{max-width:700px}}
@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.hero{padding-block:48px;gap:8px}.hero h1{font-size:clamp(30px,3.8vw,43px)}.hero-description{font-size:14px}.hero-actions .button{padding-inline:18px;font-size:14px}.subject-grid{gap:12px}.subject-card{padding:16px 13px}.unit-card{grid-template-columns:170px minmax(0,1fr)}.unit-content{padding:25px}.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.site-header{padding-block:22px;gap:16px;flex-wrap:wrap}.brand{gap:10px}.brand .icon{width:38px;height:42px}.brand-name{font-size:21px}.brand-subtitle{font-size:10px}.header-nav{width:100%;justify-content:flex-end;font-size:12px;gap:24px}.header-nav a{padding-block:5px;min-height:32px}.hero{grid-template-columns:minmax(0,1fr);padding-block:34px;gap:20px}.hero h1{font-size:clamp(29px,7.4vw,48px);line-height:1.7}.underline::after{height:15px}.hero-actions{gap:10px;margin-top:24px}.hero-actions .button{padding:14px 18px}.hero-art{max-width:450px;margin:0 auto;width:100%}.hero-description{font-size:14px}.encouragement{font-size:12px}.section{padding-block:30px}.section-heading{align-items:flex-start;gap:12px;flex-direction:column;margin-bottom:20px}.section-heading h2{font-size:24px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subject-card{padding:17px}.subject-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:18px;align-items:center}.subject-card:last-child .card-top{grid-column:1/-1}.subject-card:last-child .subject-icon{grid-column:1;grid-row:2/5;margin-top:7px}.subject-card:last-child h3{grid-column:2;grid-row:2;margin-top:3px}.subject-card:last-child .subject-english{grid-column:2;grid-row:3}.subject-card:last-child p{grid-column:2;grid-row:4;margin-top:8px}.subject-card:last-child .subject-status{grid-column:1/-1}.unit-card{grid-template-columns:minmax(0,1fr)}.unit-illustration{min-height:120px;flex-direction:row;gap:20px}.unit-illustration .icon{width:68px;height:68px}.unit-content{padding:22px}.unit-meta{font-size:11px;gap:9px}.unit-content h2,.unit-content h3{font-size:23px}.unit-description{font-size:12px}.progress-card{padding:18px}.progress-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.progress-heading h3{font-size:15px}.progress-heading a{min-height:36px}.progress-details{gap:4px}.badge-grid{grid-template-columns:minmax(0,1fr)}.steps{grid-template-columns:minmax(0,1fr);gap:12px}.steps li{gap:20px}.site-footer{gap:12px;flex-wrap:wrap}.footer-name p{font-size:10px}.subject-hero{gap:16px;flex-wrap:wrap;padding-block:30px}.subject-heading-icon{width:76px;height:76px;border-radius:22px}.subject-heading-icon .icon{width:48px;height:48px}.subject-hero h1{font-size:32px}.subject-hero p:not(.eyebrow){font-size:13px}.subject-hero .count-pill{margin-left:92px;margin-top:-10px;padding:7px 12px;font-size:11px}.subject-nav{gap:8px;padding-bottom:20px}.subject-nav a{padding:10px 12px;font-size:13px;gap:6px;flex:1 0 28%}.subject-nav .icon{width:21px;height:21px}.unit-list{padding-block:26px 38px;min-height:0}.subject-afterword{align-items:flex-start;flex-direction:column;gap:4px;padding-bottom:30px}.subject-afterword p{font-size:12px}.empty-state{padding-inline:5px}.empty-state h2{font-size:24px}.certificate-main{padding-block:24px}.certificate{padding:24px 18px}.certificate h1{font-size:27px}.certificate table{font-size:12px}.certificate .certificate-name{font-size:24px}.certificate>p{font-size:12px}}
@media(max-width:360px){.wrap{width:calc(100% - 32px)}.brand-name{font-size:19px}.brand-subtitle{font-size:9px}.hero h1{font-size:28px;letter-spacing:-.4px}.hero-actions .button{padding-inline:14px;font-size:13px}.subject-card{padding:14px}.unit-content{padding:18px}.unit-content h2,.unit-content h3{font-size:21px}.badge-card{padding:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.button:hover,.subject-card:hover{transform:none}}
@media print{body{background:white}.site-header,.site-footer,.certificate-tools,.certificate-main>.text-link,.skip-link{display:none}.certificate-main{width:100%;max-width:700px;padding:0}.certificate{box-shadow:none;break-inside:avoid}}


/* V3 · A calm, dimensional learning space */
:root{--paper:#F4F7FA;--navy:#182F50;--ink:#27394D;--muted:#526477;--line:#DCE5EB;--yellow:#F3CD78;--sage-fill:#DCEFE6;font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",system-ui,sans-serif}
body{background:radial-gradient(ellipse at 82% 4%,#E3F1F2 0,transparent 32%),var(--paper)}
.wrap{width:min(1240px,calc(100% - 80px))}.site-header{padding-block:22px;border-color:#D5E1E9}.brand-name{letter-spacing:.04em}.brand-subtitle{margin-top:3px}.header-nav{font-weight:700;gap:10px}.header-nav a{padding:12px 16px;border-radius:12px}.header-nav a:hover{background:#E4EDF2;text-decoration:none}
.hero{position:relative;gap:32px;padding-block:70px 80px}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#365D6B}.little-dot{background:#27867E;box-shadow:0 0 0 5px #D7EDE8}.hero h1{font-size:clamp(36px,4.1vw,56px);line-height:1.48;letter-spacing:-.035em;margin-block:22px}.underline::after{background:#F3CD78A8;height:16px;bottom:2px}.hero-description{font-size:17px;color:#42586B}.hero-actions{margin-top:32px}.button{border-radius:14px;min-height:52px;padding-inline:25px;box-shadow:0 6px 16px #182F501C}.button:hover{background:#294D72;box-shadow:0 10px 20px #182F5029}.button.secondary{box-shadow:none;background:#FFFFFFCC}.hero-art{position:relative;border-radius:38% 48% 40% 45%;background:radial-gradient(ellipse,#DCEFEA 5%,#E7F0F5 52%,transparent 72%)}.hero-art img{position:relative;filter:drop-shadow(0 18px 18px #23445D1A)}
.section{padding-block:54px}.subjects-section,.learning-section,.how-section{border-color:#D8E3E9}.section-heading{margin-bottom:28px}.section-heading h2{font-size:30px;letter-spacing:-.025em}.section-heading .eyebrow{color:#42677A}.ochre{--accent:#C85C51;--tint:#FBECE8;--accent-text:#993D36}.sage{--accent:#32866A;--tint:#E4F3EA;--accent-text:#25664F}.blue{--accent:#288C9A;--tint:#E1F2F4;--accent-text:#206A75}.clay{--accent:#B67B2F;--tint:#FBF0DC;--accent-text:#805315}.olive{--accent:#7667B8;--tint:#EEEAF9;--accent-text:#584A96}
.subject-grid{gap:16px}.subject-card{position:relative;overflow:hidden;padding:20px;border:1px solid #E1E9EE;border-top:4px solid var(--accent);border-radius:22px;box-shadow:0 8px 24px #1B385109;background:linear-gradient(150deg,#fff 62%,var(--tint))}.subject-card:hover{box-shadow:0 16px 32px #1B385118}.card-arrow{color:var(--accent-text)}.subject-icon{width:86px;height:86px;margin-top:12px;background:var(--tint);border-radius:24px}.subject-icon .icon{width:78px;height:78px;object-fit:contain}.subject-card h3{margin-top:18px;letter-spacing:.08em}.subject-card p{min-height:3.8em}.subject-status{border-color:#DCE5EB}.unit-card,.progress-card,.badge-card{border-color:#E1E9EE;box-shadow:0 8px 26px #1B38510A;border-radius:22px}.unit-illustration{background:linear-gradient(145deg,var(--tint),#fff);gap:8px}.unit-illustration .icon{width:128px;height:128px;object-fit:contain}.unit-content{padding:32px 38px}.tag{border-radius:8px}.progress-card{padding:26px 30px}.progress-card progress{height:10px;margin-block:18px}.section-heading>.streak{background:#FFF4D8;border-color:#F3DDA9}.exam-countdown{background:#E4EFF3;border-color:#D4E4E9;border-radius:18px;padding:22px 26px}.exam-line{display:inline-block}.badge-card{background:linear-gradient(130deg,#fff,var(--tint));border-style:solid;gap:20px}.badge-emblem{border:0;background:transparent;width:90px;height:90px}.badge-emblem img{width:100%;height:100%;object-fit:contain}.badge-card.locked .badge-emblem img{filter:grayscale(1);opacity:.65}.badge-card.locked{border-style:solid;--tint:#F1F4F6}.steps{gap:16px}.steps li{padding:24px;background:#FFF;border:1px solid var(--line);border-radius:20px}.step-number{color:#9A6A24;font-weight:700}.site-footer{padding-block:30px;border-color:#D8E3E9}.subject-hero{margin-top:24px;padding:32px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(110deg,var(--tint),#fff)}.subject-heading-icon{background:#FFFFFFA8}.subject-heading-icon .icon{width:94px;height:94px;object-fit:contain}.subject-nav{padding-top:24px}.subject-nav a{border-radius:13px}.subject-nav .icon{object-fit:contain}.empty-art .icon{width:95px;height:95px}.empty-state{background:#FFFFFFA8;border:1px solid var(--line);border-radius:24px;padding:40px 20px}.certificate{border:1px solid #B8CDD1;border-top:7px solid var(--accent);border-radius:24px;box-shadow:0 18px 45px #1B385114}.certificate-tools{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.certificate-seal{color:var(--accent-text)}
@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.subject-card{padding:16px}.subject-icon{width:72px;height:72px}.subject-icon .icon{width:68px;height:68px}.hero h1{font-size:clamp(32px,4vw,46px)}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.site-header{padding-block:18px}.header-nav{justify-content:flex-start}.header-nav a{min-height:44px;padding:10px 12px}.hero{padding-block:38px 48px;gap:12px}.hero h1{font-size:clamp(29px,7.5vw,45px)}.hero-description{font-size:15px}.hero-art{max-width:400px}.section{padding-block:38px}.section-heading h2{font-size:25px}.subject-card p{min-height:0}.subject-card:last-child .subject-icon{width:72px;height:72px}.unit-content{padding:24px}.unit-illustration .icon{width:100px;height:100px}.progress-card{padding:20px}.subject-hero{padding:22px;margin-top:18px}.subject-heading-icon .icon{width:72px;height:72px}.subject-nav a{min-height:48px}.badge-card{padding:20px}.steps li{padding:20px}}
@media(max-width:360px){.wrap{width:calc(100% - 32px)}.hero h1{font-size:28px}.subject-card{padding:14px}.subject-icon{width:64px;height:64px}.subject-icon .icon{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.button:hover,.subject-card:hover{transform:none}}
@media print{body{background:#fff}.certificate{box-shadow:none}.certificate-main{width:100%}}

/* V4 · Brighter, coordinated subject colors */
:root{--paper:#F5F7FF;--navy:#182B52;--ink:#273953;--muted:#435469;--line:#D8E2F0;--yellow:#F8C85D;--sage-fill:#CBECE2}
body{background:radial-gradient(ellipse at 85% 3%,#DBE8FF 0,transparent 30%),linear-gradient(180deg,#F3F5FF 0%,#F8FAFF 45%,#F2F8F7 100%)}
.site-header,.site-footer{border-color:#CBD9EB}.header-nav a:hover{background:#E1E8FA}
.hero{background:radial-gradient(ellipse at 78% 50%,#BCEAE3 0%,transparent 47%),radial-gradient(ellipse at 15% 15%,#E7DFFF 0%,transparent 52%),linear-gradient(120deg,#E5EDFF,#F3F4FF 55%,#DDF4F0);border-radius:30px;box-shadow:0 12px 32px #425B9B12}
.hero .eyebrow{color:#314F80}.little-dot{background:#4B5EC5;box-shadow:0 0 0 5px #D1DAFA}.hero-description{color:#374D68}.underline::after{background:#F8C85DD9}.hero-art{background:radial-gradient(ellipse,#B9E7DC 5%,#CDE1F8 52%,transparent 72%)}
.button{background:linear-gradient(120deg,#274D9A,#5544A8);border-color:#344C9C;box-shadow:0 6px 18px #344C9C38}.button:hover{background:linear-gradient(120deg,#1D3E82,#493593);box-shadow:0 10px 24px #4B4EAD55}.button.secondary{background:#FFFFFFE8;color:#233B70;border-color:#8297C5;box-shadow:none}.button.secondary:hover{background:#E8EEFF}
.section-heading .eyebrow{color:#365887}.subjects-section,.learning-section,.how-section{border-color:#CEDBED}
.ochre{--accent:#D65A50;--tint:#FCE8E4;--accent-text:#91372F;--glow:#D65A5033;--icon-bg:#F7CEC6}
.sage{--accent:#278A6B;--tint:#DFF3E9;--accent-text:#185E49;--glow:#278A6B33;--icon-bg:#BCE6D2}
.blue{--accent:#268B9D;--tint:#DDF2F5;--accent-text:#175E6C;--glow:#268B9D33;--icon-bg:#B8E4E9}
.clay{--accent:#C8882D;--tint:#FFF0D7;--accent-text:#75470E;--glow:#C8882D33;--icon-bg:#F6D9A4}
.olive{--accent:#7861BE;--tint:#EEE8FA;--accent-text:#51418B;--glow:#7861BE33;--icon-bg:#D9CCF2}
.subject-card{border-top-width:6px;background:linear-gradient(155deg,#FFFFFF 22%,var(--tint) 100%)}.subject-card:hover{box-shadow:0 14px 30px var(--glow)}.subject-icon{background:var(--icon-bg)}.subject-status{border-color:#CAD6E4}
.unit-card,.progress-card,.badge-card{border-color:#D6E1EC}.unit-illustration{background:linear-gradient(145deg,var(--icon-bg),var(--tint))}.progress-card{background:linear-gradient(110deg,#fff 55%,var(--tint))}.progress-card progress::-webkit-progress-value{background:linear-gradient(90deg,var(--accent-text),var(--accent))}.progress-card progress::-moz-progress-bar{background:linear-gradient(90deg,var(--accent-text),var(--accent))}
.section-heading>.streak{background:#FFE8DB;border-color:#F2BEA5;color:#843A26}.exam-countdown{background:linear-gradient(110deg,#FFEBD4,#FFF4DC);border-color:#EFC79D;color:#703B17}.badge-card{background:linear-gradient(120deg,#fff,var(--tint))}.badge-card.locked{--tint:#EEF2F6}.steps li{background:linear-gradient(145deg,#fff,#EDF3FF)}.step-number{color:#80500D}
.subject-hero{background:linear-gradient(110deg,var(--icon-bg),var(--tint) 55%,#fff);border-color:var(--icon-bg)}.subject-heading-icon{background:#FFFFFFB8}.subject-nav a[aria-current="page"]{background:#304B91;border-color:#304B91}.empty-art{background:#E4E9FB}.empty-state{background:linear-gradient(140deg,#fff,#EDF2FF)}
.certificate{background:linear-gradient(145deg,#fff 65%,var(--tint));border-color:#BED4DC;border-top-color:var(--accent)}.certificate-tools{background:#FFFFFFE8}
@media print{body{background:#fff}.certificate{background:#fff;box-shadow:none}}
.hero{padding-inline:clamp(18px,3vw,40px)}


/* V5 · Official brand and typographic hierarchy */
:root{--brand-red:#E60012}
html{scroll-padding-top:130px}
.site-header.wrap{position:sticky;top:0;z-index:20;width:100%;max-width:none;margin:0;padding:14px max(40px,calc((100% - 1240px)/2));background:rgba(255,255,255,.94);border-bottom:1px solid #E1E6EF;box-shadow:0 4px 18px #182B5210;backdrop-filter:blur(14px)}
.brand{gap:18px}.brand-logo{width:auto;height:40px;max-width:none;flex-shrink:0}.brand-copy{display:block;border-left:1px solid #D6DFEA;padding-left:18px;min-width:0}.brand-name{font-size:22px;line-height:1.35;font-weight:900;letter-spacing:.045em;white-space:nowrap}.brand-name::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--brand-red);margin-left:7px;vertical-align:middle}.brand-subtitle{font-size:11px;white-space:nowrap}.header-nav{gap:8px}.header-nav a{background:#EDF1FA;color:#405897;font-weight:700;border-radius:999px;padding:10px 16px}.header-nav a:last-child{background:#FFF0EF;color:#A83B39}.header-nav a:hover{background:#DCE6FA}.header-nav a:last-child:hover{background:#FADDD9}
.footer-logo{height:24px;width:auto;max-width:none}.certificate-logo{height:36px;width:auto;max-width:100%;margin:0 auto 20px}.certificate{background:#fff}.certificate .eyebrow{letter-spacing:.16em}.certificate h1{font-weight:900;letter-spacing:.05em}
.section-heading h2{font-weight:900;letter-spacing:.025em}.section-heading .eyebrow{font-weight:800;letter-spacing:.16em}.progress-heading h3,.badge-card h3,.unit-content h2,.unit-content h3{font-weight:850;letter-spacing:.02em}.exam-countdown{box-shadow:0 3px 8px #70470E0D,0 12px 24px #70470E0A}.subject-hero h1{font-weight:900;letter-spacing:.06em}.subject-heading-icon{box-shadow:inset 0 1px 4px #fff,0 8px 16px var(--glow)}
.subject-card{border-top:0;padding-top:25px;box-shadow:0 3px 8px #182B5210,0 14px 28px #182B5210;isolation:isolate}.subject-card::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--accent),var(--icon-bg));z-index:1}.subject-card:hover{transform:translateY(-6px);box-shadow:0 7px 14px #182B5218,0 20px 36px var(--glow)}.card-top{position:relative;min-height:30px;justify-content:flex-end}.subject-number{position:absolute;left:0;top:-15px;font-family:system-ui,sans-serif;font-size:48px;line-height:1;font-weight:900;letter-spacing:-.05em;color:var(--accent);opacity:.16}.card-arrow{color:var(--accent-text)}.subject-icon{position:relative;margin-top:12px;background:linear-gradient(145deg,#fff,var(--icon-bg));box-shadow:inset 0 2px 5px #fff,inset 0 -2px 5px var(--glow),0 7px 14px #182B5218}.subject-card h3{font-size:29px;font-weight:900;letter-spacing:.09em;color:var(--accent-text);line-height:1.3}.subject-english{display:inline-block;width:fit-content;padding:4px 8px;border-radius:6px;background:var(--tint);color:var(--accent-text);font-family:system-ui,sans-serif;font-weight:800;font-size:10px;letter-spacing:.16em}.subject-card p{font-size:13px;line-height:1.75;color:#526477}.subject-status{display:inline-flex;width:fit-content;max-width:100%;margin-top:18px;padding:5px 9px;border:1px solid #AAB6C6;border-radius:999px;color:#526477;font-size:11px;font-weight:700;line-height:1.4}.subject-status.available{background:var(--accent-text);border-color:var(--accent-text);color:#fff}.subject-status.available .status-dot{background:#fff}
@media(max-width:760px){html{scroll-padding-top:142px}.site-header.wrap{padding:10px 20px;gap:8px;justify-content:space-between}.brand{gap:10px}.brand-logo{height:25px}.brand-copy{padding-left:10px}.brand-name{font-size:17px;letter-spacing:.01em}.brand-subtitle{font-size:10px;margin-top:2px}.header-nav{width:100%;justify-content:flex-end;gap:7px}.header-nav a{min-height:32px;padding:7px 12px;font-size:12px}.subject-card h3{font-size:26px}.subject-card:last-child .subject-status{justify-self:start}.footer-logo{height:20px}}
@media(max-width:360px){.site-header.wrap{padding-inline:16px}.brand-logo{height:21px}.brand-name{font-size:15px}.brand-subtitle{font-size:9px}.brand-name::after{width:5px;height:5px;margin-left:4px}.subject-card h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.subject-card:hover{transform:none}}
@media print{.site-header.wrap{display:none}.certificate{background:#fff;box-shadow:none}}
@media(max-width:360px){.brand-logo{height:19px}.brand-name{font-size:14px}.brand{gap:8px}.brand-copy{padding-left:8px}}

/* V6 · Editorial hierarchy and brand footer */
body{font-family:"Noto Sans TC",system-ui,-apple-system,"Microsoft JhengHei",sans-serif;background:#f8f9fc}
.section{padding-block:64px}
.section-heading h2,.subject-hero h1,.certificate h1{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:700;letter-spacing:.08em;line-height:1.45;color:#182b52}
.section-heading h2{font-size:clamp(26px,3vw,36px)}
.section-heading .section-kicker{display:flex;align-items:center;gap:8px;color:#6b7485;font-size:11px;letter-spacing:.12em}
.section-kicker:before{content:"•••";color:#d0524e;letter-spacing:.18em}.section-kicker:after{content:"";width:32px;height:1px;background:#b6c1d0}
.section-kicker span{color:#a53d3c}
#how-title span{color:#b52f38}
.header-nav{gap:0}.header-nav a,.header-nav a:last-child{background:transparent;color:#263d60;border-radius:0}.header-nav a:first-child{border-right:1px solid #d5deea}.header-nav a:last-child{border:1px solid #9eacc0;border-radius:999px;margin-left:14px}.header-nav a:hover,.header-nav a:last-child:hover{background:#eef2f8}
.subject-card{background:#fff;box-shadow:0 8px 26px #182b520d}.subject-icon{box-shadow:none}.progress-card,.badge-card,.exam-countdown,.empty-state,.unit-card{background:#fff;border:1px solid #dce4ed;box-shadow:0 8px 24px #182b520b}.exam-countdown{border-left:4px solid #c8882d;color:#63451f}.badge-card.locked{background:#f9fafc}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:36px 0 28px}
.steps li{display:flex;flex-direction:column;align-items:flex-start;gap:0;position:relative;padding:25px 28px 30px;border:1px solid #dfe6ee;border-top:4px solid var(--step);border-radius:18px;background:#fff;box-shadow:0 10px 30px #182b520b}
.steps .step-1{--step:#bd514b;--step-bg:#fdf2ef}.steps .step-2{--step:#278269;--step-bg:#edf7f3}.steps .step-3{--step:#ad782d;--step-bg:#fcf6eb}
.steps li img{display:block;width:100%;height:160px;object-fit:contain;background:var(--step-bg);border-radius:12px}
.step-number{font-family:"Noto Serif TC",Georgia,serif;font-weight:700;color:var(--step);font-size:48px;line-height:1;margin:24px 0 16px}.steps h3{color:#182b52;font-size:18px;line-height:1.5;margin:0 0 10px}.steps p{color:#526277;margin:0;line-height:1.8}.how-action{margin-top:4px}
.site-footer.wrap{display:block;width:100%;max-width:none;margin:48px 0 0;padding:0;border:0;background:linear-gradient(120deg,#172a50,#263d68);color:#fff}
.footer-inner{max-width:1240px;margin:auto;padding:58px 40px 0}.footer-main{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;padding-bottom:48px}.footer-logo{display:block;width:min(260px,100%);height:auto;max-width:100%;margin-bottom:25px}.footer-site{font-family:"Noto Serif TC","PMingLiU",serif;font-size:22px;font-weight:700;letter-spacing:.06em;margin:0 0 10px}.footer-branch{font-size:15px;line-height:1.8;color:#d6dfed;margin:0}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:32px}.footer-links h2{font-size:15px;color:#fff;letter-spacing:.08em;margin:0 0 18px}.footer-links a{display:block;color:#dce5f2;font-size:14px;line-height:1.5;margin:0 0 12px;text-decoration:none}.footer-links a:hover{color:#fff;text-decoration:underline}.footer-bottom{border-top:1px solid #ffffff42;padding:20px 0 25px;font-size:13px;line-height:1.6;color:#d2ddec}
.back-top{position:fixed;right:24px;bottom:24px;z-index:15;width:56px;height:56px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #fff;border-radius:50%;background:#203962;color:#fff;text-decoration:none;box-shadow:0 4px 15px #182b5238;font:700 10px/1.1 "Noto Sans TC",sans-serif;letter-spacing:.08em}.back-top span:first-child{font-size:20px;line-height:1}.back-top:hover{background:#a63c3e;color:#fff}
@media(max-width:760px){.section{padding-block:44px}.steps{grid-template-columns:1fr;gap:16px}.steps li{padding:20px}.steps li img{height:150px}.step-number{font-size:40px;margin:18px 0 12px}.footer-inner{padding:42px 20px 0}.footer-main{grid-template-columns:1fr;gap:32px;padding-bottom:28px}.footer-links{gap:20px}.footer-logo{width:220px}.footer-site{font-size:19px}.back-top{right:14px;bottom:14px;width:48px;height:48px}.header-nav a:last-child{margin-left:8px}}
@media print{.site-footer.wrap,.back-top{display:none}}

/* V7 · Compact portal */
.mobile-my,.bottom-tabs{display:none}
.compact-hero{margin-top:24px;padding:25px 34px;grid-template-columns:1fr 260px;min-height:0}
.compact-hero h1{font-size:clamp(30px,3vw,42px);margin:10px 0;line-height:1.4}
.compact-hero .hero-art{max-width:260px}
.home-learning{margin-top:18px}
.resume-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px;background:#fff;border:1px solid #dce4ed;border-left:5px solid #278269;border-radius:18px;box-shadow:0 8px 24px #182b520b}
.resume-copy{flex:1;min-width:0}.resume-kicker{color:#278269;font-weight:700;font-size:12px}.resume-copy h2{font-size:20px;line-height:1.5}.resume-copy>p:not(.resume-kicker){color:var(--muted);font-size:13px;line-height:1.6}.resume-copy progress{width:100%;height:9px;accent-color:#278269;display:block;margin-top:10px}.resume-actions{display:flex;align-items:center;gap:12px}.resume-actions .text-link{white-space:nowrap}
.home-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.home-pills a{padding:6px 14px;border:1px solid #e4d6bd;background:#fff9ee;border-radius:999px;font-size:12px;font-weight:700;color:#63451f}
body[data-page=home] .subjects-section{padding-block:26px;border:0}.subjects-section .section-heading{margin-bottom:14px}.subjects-section .section-heading h2{font-size:24px}.subjects-section .subject-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body[data-page=home] .subject-card{display:flex;align-items:center;justify-content:center;gap:9px;min-height:110px;padding:12px;border-radius:16px}
body[data-page=home] .subject-card:before{height:4px}
body[data-page=home] .subject-icon,body[data-page=home] .subject-card:last-child .subject-icon{width:58px;height:58px;margin:0;border-radius:15px;flex-shrink:0}
body[data-page=home] .subject-icon .icon{width:54px;height:54px}
body[data-page=home] .subject-card h3{font-size:19px;margin:0;letter-spacing:0}
body[data-page=home] .subject-status{margin:0;padding:0;border:0;background:none}
body[data-page=home] .subject-status.available .status-dot{background:var(--accent)}
.guide-link{font-size:12px}
body[data-page=home] .site-footer.wrap{margin-top:0}
body[data-page=home] .footer-inner{padding:18px 40px}
body[data-page=home] .footer-main{display:flex;align-items:center;gap:12px;padding:0}
body[data-page=home] .footer-brand{display:flex;align-items:center;gap:14px}
body[data-page=home] .footer-logo{width:130px;margin:0}
body[data-page=home] .footer-site{font-family:inherit;font-size:13px;margin:0;white-space:nowrap}
body[data-page=home] .footer-branch,body[data-page=home] .footer-links{display:none}
body[data-page=home] .footer-bottom{border:0;padding:4px 0 0;font-size:11px}
.points-page{padding-block:60px}.points-card{text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:45px 20px;margin-top:20px}.points-card>span{font-size:54px}.points-card h1{margin:10px 0;font-size:36px}.points-card h2{font-size:22px}.points-card p{margin:14px 0 24px;color:var(--muted)}
@media(max-width:767px){
 html{scroll-padding-top:75px}body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 .site-header.wrap{position:relative;flex-wrap:nowrap;padding:10px 16px;min-height:54px}
 .brand{gap:8px}.brand-logo{height:20px}.brand-copy{padding-left:8px}.brand-name{font-size:14px;letter-spacing:0}.brand-name:after,.brand-subtitle{display:none}
 .header-nav{display:none}.mobile-my{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #aebbd0;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;color:var(--navy)}
 .compact-hero{width:calc(100% - 32px);display:grid;grid-template-columns:minmax(0,1fr) 85px;gap:0;margin-top:12px;padding:15px;border-radius:18px}
 .compact-hero .eyebrow{font-size:10px;letter-spacing:1px}.compact-hero h1{font-size:23px;line-height:1.35;margin:8px 0}.compact-hero .underline:after{height:8px}.compact-hero .hero-description{font-size:12px;line-height:1.5}.compact-hero .hero-art{width:85px}
 .home-learning{width:calc(100% - 32px);margin-top:10px}.resume-card{display:block;padding:14px 16px}.resume-copy h2{font-size:16px}.resume-copy>p:not(.resume-kicker){font-size:11px}.resume-copy progress{margin-top:7px}.resume-actions{margin-top:8px;gap:12px}.resume-actions .button{min-height:38px;padding:8px 12px;font-size:12px;border-radius:10px}.resume-actions .button span{font-size:15px}.resume-actions .text-link{min-height:38px;font-size:11px}
 .home-pills{margin-top:8px;gap:6px}.home-pills a{font-size:11px;padding:5px 9px}
 body[data-page=home] .subjects-section{width:calc(100% - 32px);padding-block:16px}.subjects-section .section-heading{margin-bottom:9px}.subjects-section .section-heading h2{font-size:19px;margin-top:2px}.subjects-section .section-kicker{font-size:9px}
 .subjects-section .subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 body[data-page=home] .subject-card{height:94px;min-height:0;flex-direction:column;gap:2px;padding:8px;position:relative}
 body[data-page=home] .subject-icon,body[data-page=home] .subject-card:last-child .subject-icon{width:46px;height:46px;border-radius:12px}body[data-page=home] .subject-icon .icon{width:44px;height:44px}
 body[data-page=home] .subject-card h3{font-size:15px}body[data-page=home] .subject-status{position:absolute;right:9px;bottom:11px}
 .guide-link{min-height:36px}
 .bottom-tabs{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:5px 4px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4ed;box-shadow:0 -4px 18px #182b5210}
 .bottom-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;color:#526477;font-size:10px;font-weight:700;border-radius:10px}.bottom-tabs a span{font-size:19px;line-height:1}.bottom-tabs a[aria-current=page]{color:#a53d3c;background:#fff1ef}
 .back-top{bottom:calc(72px + env(safe-area-inset-bottom))}.points-page{padding-block:35px}
 body[data-page=home] .footer-inner{padding:14px 16px}.footer-logo{max-width:100%}
}
@media print{.bottom-tabs{display:none}body{padding-bottom:0}}

/* 頁面比螢幕短時（例如 iPad 直放），頁尾貼在最底下，不浮在中間 */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>.site-footer,body[data-page]>.site-footer.wrap{margin-top:auto!important}
/* 平板（iPad 直放／橫放、Android 平板）：導覽改用底部分頁列，避免表頭擠在一起；科目卡圖示在上、名稱在下 */
@media(min-width:768px) and (max-width:1100px){
 body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
 .site-header.wrap{padding:12px 28px}
 .header-nav{display:none}
 .mobile-my{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #aebbd0;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:700;color:var(--navy)}
 .brand-logo{height:34px}.brand-name{font-size:20px}
 body[data-page=home] .subject-card{flex-direction:column;justify-content:center;gap:8px;min-height:132px;padding:14px 8px}
 body[data-page=home] .subject-card h3{font-size:18px;white-space:nowrap}
 body[data-page=home] .subject-icon,body[data-page=home] .subject-card:last-child .subject-icon{width:60px;height:60px}
 .bottom-tabs{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:6px 24px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce4ed;box-shadow:0 -4px 18px #182b5210}
 .bottom-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;color:#526477;font-size:13px;font-weight:700;border-radius:12px}.bottom-tabs a span{font-size:22px;line-height:1}.bottom-tabs a[aria-current=page]{color:#a53d3c;background:#fff1ef}
 .back-top{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media(max-width:767px){body[data-page=home] .subject-card:last-child{grid-column:auto;display:flex}body[data-page=home] .subject-card:last-child .subject-icon,body[data-page=home] .subject-card:last-child h3,body[data-page=home] .subject-card:last-child .subject-status{grid-column:auto;grid-row:auto}}
