:root{color-scheme:light;--ink:#28313a;--muted:#756e66;--navy:#273444;--gold:#b89158;--line:#e8e0d5;--canvas:#f6f3ec;--paper:#fffdfa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid #bd9253;outline-offset:3px}.shell{max-width:1260px;margin:auto;padding:0 clamp(16px,3vw,40px)}
.header{min-height:86px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;flex:none}.brand img{width:44px;height:44px;border-radius:12px;object-fit:cover}.brand span{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:16px;letter-spacing:.02em}.brand small{font-size:10px;color:#8a8174;letter-spacing:.11em}.desktop-nav{display:flex;align-items:center;gap:22px;margin-left:auto}.desktop-nav a{font-size:13px;font-weight:700;color:#716e6a;white-space:nowrap}.desktop-nav a:hover,.desktop-nav a[aria-current=page]{color:#28384b}.header-action{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;padding:11px 17px;background:var(--navy);border-radius:10px;color:#fff9ec;font-size:12px;font-weight:800}.header-action:hover{background:#3b4b60}
.exam-bar{display:flex;align-items:center;gap:18px;min-height:76px}.exam-label{font-size:11px;font-weight:800;letter-spacing:.12em;color:#9b8766;white-space:nowrap}.exam-switch{display:flex;gap:8px;overflow-x:auto;padding:9px 0;scrollbar-width:none}.exam-switch::-webkit-scrollbar{display:none}.exam-button{flex:none;border:1px solid #ded5c9;border-radius:999px;padding:9px 17px;background:var(--paper);color:#766f66;font-size:12px;font-weight:800;white-space:nowrap}.exam-button:hover{border-color:#af936d}.exam-button[aria-pressed=true]{background:#273646;color:#fff8e9;border-color:#273646;box-shadow:0 4px 12px rgba(38,52,68,.13)}
.welcome{padding:24px 30px 27px;background:#fffdfa;border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 40px rgba(43,49,55,.05)}.welcome-top{display:flex;align-items:center;justify-content:space-between;padding:0 2px 20px}.eyebrow{margin:0 0 7px;color:#a88553;font-family:Georgia,serif;font-size:10px;font-weight:800;letter-spacing:.2em}.welcome h1{margin:0;color:#273340;font-size:clamp(25px,2.6vw,34px);line-height:1.3}.welcome-top p:last-child{margin:7px 0 0;font-size:12px;color:#82796e}.welcome-star{font-size:23px;color:#bf9a5c}.hero-link{display:block;aspect-ratio:2/1;background:#23303e;border-radius:15px;overflow:hidden}.hero-link img{display:block;width:100%;height:100%;object-fit:cover}.hero-controls{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 2px 0;color:#8b8175;font-size:11px}.hero-dots{display:flex;gap:7px}.hero-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#d7d1c9}.hero-dot[aria-current=true]{width:26px;border-radius:99px;background:#bd9860}
.section{margin-top:42px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading h2{font-size:21px;line-height:1.2;margin:0}.section-heading p:last-child{margin:6px 0 0;color:#91887d;font-size:12px}.section-line{flex:1;height:1px;margin-bottom:10px;background:linear-gradient(90deg,#d7c6ac,transparent)}.text-link{color:#806239;font-size:12px;font-weight:800;white-space:nowrap;padding-bottom:5px}.text-link:hover{text-decoration:underline}.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tool-card{position:relative;min-width:0;display:flex;align-items:center;gap:13px;padding:16px 14px;background:#fffdfa;border:1px solid var(--line);border-radius:16px;transition:transform .18s,border-color .18s,box-shadow .18s}.tool-card:hover{transform:translateY(-3px);border-color:#ceb894;box-shadow:0 14px 28px rgba(51,48,40,.08)}.tool-card img{width:56px;height:56px;flex:none;object-fit:cover;border-radius:12px}.tool-card div{display:flex;min-width:0;flex-direction:column;gap:5px;padding-right:10px}.tool-card strong{font-size:14px;white-space:nowrap}.tool-card div span{font-size:10px;color:#90877d;line-height:1.35}.tool-arrow{position:absolute;right:12px;top:12px;color:#b3986d;font-size:12px}
.resource-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.resource-card{position:relative;min-height:78px;display:flex;align-items:center;gap:14px;padding:16px 20px;border:1px solid #e6ded1;background:#fffdfa;border-radius:14px}.resource-card:hover{border-color:#c6aa7e;box-shadow:0 8px 22px rgba(59,52,38,.05)}.resource-number{font-family:Georgia,serif;font-size:20px;color:#c4a477}.resource-card strong{font-size:13px;line-height:1.4;flex:1}.resource-card-note{font-size:10px;color:#988c7d;white-space:nowrap}.resource-arrow{font-size:14px;color:#ab8653}.loading-note{font-size:13px;color:#8b8175}.availability-note{margin:12px 1px 0;font-size:11px;line-height:1.55;color:#988d80}.continue-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:42px 0 46px;padding:23px 28px;border-radius:18px;color:#fff7e9;background:radial-gradient(circle at 92% 15%,rgba(205,170,106,.26),transparent 27%),linear-gradient(115deg,#263344,#415163)}.continue-card .eyebrow{color:#d8bc8b}.continue-card h2{margin:0;font-size:19px}.continue-card p:last-child{color:#d6dce1;font-size:11px;margin:8px 0 0}.continue-card a{white-space:nowrap;border:1px solid rgba(236,210,160,.6);border-radius:10px;padding:11px 15px;font-size:12px;font-weight:800}.continue-card a:hover{background:rgba(255,255,255,.1)}.footer{border-top:1px solid var(--line);min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#90887d;font-size:11px}
@media(max-width:1040px){.desktop-nav{gap:13px}.desktop-nav a{font-size:12px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.header{min-height:77px;flex-wrap:wrap;gap:0;padding-top:12px}.brand{margin-right:auto}.desktop-nav{order:3;flex-basis:100%;margin:0;gap:21px;overflow-x:auto;padding:14px 0 12px;scrollbar-width:none}.desktop-nav a{font-size:12px}.header-action{padding:9px 12px}.exam-bar{min-height:65px}.welcome{padding:18px;border-radius:18px}.welcome-top{padding-bottom:15px}.hero-link{border-radius:11px}.section{margin-top:32px}.resource-preview{grid-template-columns:1fr}.continue-card{margin:35px 0}}
@media(max-width:490px){.shell{padding:0 14px}.brand img{width:39px;height:39px}.brand strong{font-size:14px}.brand small{font-size:9px}.header-action{font-size:10px}.exam-label{display:none}.exam-switch{gap:6px}.exam-button{font-size:11px;padding:8px 12px}.welcome h1{font-size:24px}.hero-controls{font-size:10px}.tool-grid{gap:9px}.tool-card{gap:9px;padding:12px 9px;min-height:78px}.tool-card img{width:46px;height:46px;border-radius:9px}.tool-card strong{font-size:12px}.tool-card div span{font-size:9px}.tool-arrow{right:8px;top:7px}.section-heading h2{font-size:18px}.resource-card{padding:13px 15px;min-height:69px}.resource-card strong{font-size:12px}.continue-card{padding:21px 18px;align-items:flex-start;flex-direction:column}.continue-card a{padding:9px 12px}.footer{font-size:10px}}
.footer{flex-direction:column;justify-content:center;gap:4px;padding:12px 0;text-align:center}.footer-record{display:flex;flex-direction:column;align-items:center;gap:2px}.footer-record a{text-decoration:underline;text-underline-offset:2px}

/* The home page follows the compact, image-led mini-program layout without
   copying the phone status bar or the WeChat controls into the website. */
body{background:#fffaf6;color:#392f2c}
.header{border-bottom:0}
.brand img{border-radius:15px}
.brand strong{font-size:18px;color:#302723}
.brand small{color:#a69a91;font-size:11px;font-weight:700;letter-spacing:0}
.exam-bar{border-bottom:1px solid #f3e9e2}
.exam-button{border-color:#eaded7;background:#fff;color:#8c7d74;font-weight:800}
.exam-button:hover{border-color:#e794a3}
.exam-button[aria-pressed=true]{background:#ffe5eb;border-color:#ff8fa4;color:#c94e6a;box-shadow:none}
.welcome{background:#fff;border-color:#f2e8e0;box-shadow:0 12px 30px rgba(66,48,42,.04)}
.welcome h1{color:#392e2a}
.welcome .eyebrow{color:#ed8397;font-family:inherit;letter-spacing:.2em}
.welcome-star{color:#f4c260}
.hero{position:relative}
.hero-link{position:relative;aspect-ratio:2/1;border-radius:20px}
.hero-badge{position:absolute;top:16px;right:16px;padding:8px 13px;border-radius:999px;background:rgba(255,248,249,.95);color:#d75b74;font-size:12px;font-weight:800;box-shadow:0 3px 12px rgba(32,20,20,.12)}
.hero-controls{position:absolute;left:0;right:0;bottom:12px;justify-content:center;padding:0;pointer-events:none}
.hero-dots{gap:8px;pointer-events:auto}
.hero-dot{width:9px;height:9px;background:rgba(255,255,255,.75);box-shadow:0 1px 4px rgba(0,0,0,.2)}
.hero-dot[aria-current=true]{width:9px;background:#f06c8a}
#hero-caption{display:none}
.section-heading h2{color:#392d2a}
.section-heading .eyebrow{color:#d3a8a4}
.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,2vw,24px)}
.tool-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;border:0;background:transparent;text-align:center;border-radius:0}
.tool-card:hover{border-color:transparent;box-shadow:none}
.tool-card img{display:block;width:min(100%,160px);height:auto;aspect-ratio:1/1;border-radius:22%;object-fit:cover;box-shadow:0 8px 18px rgba(62,40,42,.07)}
.tool-card div{align-items:center;gap:5px;padding:0}
.tool-card strong{color:#493c37;font-size:clamp(13px,1.5vw,18px)}
.tool-card div span{color:#9b8c83;font-size:11px}
.resource-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.resource-card{min-height:106px;gap:13px;padding:15px 18px;border:0;border-radius:20px;background:#ffe3e9;color:#68404d}
.resource-card:nth-child(5n+2){background:#ebe2ff;color:#60517e}
.resource-card:nth-child(5n+3){background:#dcf3e5;color:#47745b}
.resource-card:nth-child(5n+4){background:#fff0c9;color:#786637}
.resource-card:nth-child(5n+5){background:#dceeff;color:#486e8a}
.resource-card:hover{border:0;box-shadow:0 10px 20px rgba(82,58,61,.1);transform:translateY(-2px)}
.resource-number{display:flex;flex:none;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 5px;border-radius:11px;background:rgba(255,255,255,.82);color:inherit;font-family:inherit;font-size:15px;font-weight:800}
.resource-details{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}
.resource-details strong{color:inherit;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.resource-card-note{color:inherit;opacity:.65;font-size:11px;font-weight:700;white-space:normal}
.resource-arrow{align-self:center;color:inherit;font-size:27px;font-weight:700;line-height:1}
.resources-section .text-link{padding:7px 12px;border-radius:999px;background:#ffe4eb;color:#c95c75}
.resources-section .text-link:hover{text-decoration:none;background:#ffd6e1}
.availability-note{color:#8c7f76}
.mobile-bottom-nav{display:none}

@media(max-width:740px){
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .shell{padding:0 15px}
  .header{min-height:77px;flex-wrap:nowrap;gap:12px;padding:8px 0 0}
  .brand{gap:10px}
  .brand img{width:45px;height:45px}
  .brand strong{font-size:16px}
  .brand small{font-size:10px}
  .desktop-nav{display:none}
  .header-action{border-radius:999px;padding:10px 12px;background:#fff0f1;color:#c75b71;font-size:11px}
  .header-action:hover{background:#ffe4e9}
  .exam-bar{min-height:68px;margin:0 -15px;padding:0 15px}
  .exam-label{display:none}
  .exam-switch{width:100%;justify-content:space-between;gap:5px;padding:9px 0}
  .exam-button{padding:9px 11px;font-size:11px}
  .welcome{padding:18px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .welcome-top{padding:0 1px 18px}
  .welcome h1{font-size:clamp(23px,6vw,29px)}
  .welcome-top p:last-child,.welcome-star{display:none}
  .welcome .eyebrow{margin-bottom:8px;font-size:11px}
  .hero-link{border-radius:20px}
  .hero-badge{top:11px;right:11px;padding:7px 11px;font-size:11px}
  .section{margin-top:30px}
  .section-heading{margin-bottom:17px}
  .section-heading h2{font-size:22px}
  .section-heading p:last-child{font-size:11px}
  .section-heading .eyebrow,.section-line{display:none}
  .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  .tool-card{min-height:0;gap:9px;padding:0}
  .tool-card img{width:100%;height:auto;border-radius:20%}
  .tool-card strong{font-size:clamp(10px,2.7vw,14px);white-space:nowrap}
  .tool-card div span{display:none}
  .resource-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .resource-card{min-height:104px;gap:7px;padding:11px 9px;border-radius:17px}
  .resource-number{min-width:29px;height:29px;border-radius:9px;font-size:11px}
  .resource-details{gap:5px}
  .resource-details strong{font-size:clamp(10px,2.65vw,13px)}
  .resource-card-note{font-size:10px}
  .resource-arrow{font-size:20px}
  .availability-note{margin-top:13px;font-size:11px;line-height:1.6}
  .continue-card{display:none}
  .footer{padding:14px 0 25px}
  .mobile-bottom-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;min-height:62px;padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid #f1e8e1;background:rgba(255,252,249,.96);box-shadow:0 -7px 22px rgba(64,51,46,.04);backdrop-filter:blur(14px)}
  .mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;min-height:40px;color:#a2968c;font-size:14px;font-weight:800}
  .mobile-bottom-nav a[aria-current=page]{color:#e46a86}
}
@media(max-width:360px){
  .shell{padding:0 11px}
  .exam-bar{margin:0 -11px;padding:0 11px}
  .exam-button{padding:8px 8px;font-size:10px}
  .tool-grid{gap:6px}
  .resource-card{gap:5px;padding:9px 7px}
  .resource-number{min-width:26px;height:26px;font-size:10px}
  .resource-card-note{font-size:9px}
}

/* Keep the mobile entry area close to the reference mini-program proportions. */
.header{min-height:68px}
.exam-bar{min-height:58px}
.welcome{padding-top:14px}
@media(max-width:740px){
  .header{min-height:56px;padding:6px 0 4px}
  .brand img{width:38px;height:38px;border-radius:10px}
  .brand strong{font-size:15px}
  .brand small{font-size:9px}
  .exam-bar{min-height:52px}
  .exam-switch{justify-content:flex-start;gap:7px;padding:7px 0}
  .exam-button{padding:7px 10px}
  .welcome{padding-top:8px}
}
@media(max-width:360px){
  .exam-switch{gap:5px}
  .exam-button{padding:7px 7px;font-size:10px}
}
