:root {
  --sun: #f7d752;
  --orange: #e2883e;
  --navy: #243b5a;
  --blue: #6bbfea;
  --mint: #63c8a0;
  --cream: #fff9e6;
  --paper: #fffef9;
  --line: rgba(36, 59, 90, 0.14);
  --muted: #6f7d90;
  --danger: #d95b63;
  --shadow: 0 24px 70px rgba(36, 59, 90, 0.14);
  color: var(--navy);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--navy); background: var(--cream); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }

.portal-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(107, 191, 234, 0.24), transparent 24rem),
    radial-gradient(circle at 91% 82%, rgba(247, 215, 82, 0.28), transparent 26rem),
    linear-gradient(180deg, #fffdf4, #f9fbf5 66%, #f3fbff);
}

.portal-nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
}

.portal-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; }
.portal-brand-mark {
  display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--navy); border-radius: 17px;
  color: var(--navy); background: var(--sun); box-shadow: 5px 6px 0 var(--navy); font-size: 23px;
}
.portal-brand span:last-child { display: grid; line-height: 1.05; }
.portal-brand small { margin-top: 5px; color: var(--orange); font-size: 10px; letter-spacing: .2em; }
.portal-nav-actions { display: flex; gap: 10px; align-items: center; }

.portal-button {
  display: inline-flex; min-height: 46px; padding: 0 22px; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--navy); border-radius: 15px; color: var(--navy); background: #fff; box-shadow: 0 5px 0 rgba(36, 59, 90, .18);
  font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.portal-button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(36, 59, 90, .16); }
.portal-button.primary { color: #fff; background: var(--navy); }
.portal-button.sun { color: var(--navy); background: var(--sun); }
.portal-button.orange { color: #fff; border-color: #c96c29; background: var(--orange); }
.portal-button.danger { color: var(--danger); border-color: rgba(217,91,99,.35); background: #fff8f7; }
.portal-button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

.portal-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .84fr); gap: 44px; width: min(1180px, calc(100% - 40px));
  min-height: 690px; margin: 32px auto 0; align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 72px; }
.hero-kicker { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.hero-kicker::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--orange); }
.hero-copy h1 {
  max-width: 720px; margin: 0; font-family: "YouYuan", "Microsoft YaHei", sans-serif; font-size: clamp(50px, 6vw, 86px);
  line-height: .98; letter-spacing: -.055em;
}
.hero-copy h1 em { position: relative; color: var(--orange); font-style: normal; white-space: nowrap; }
.hero-copy h1 em::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 13px; border-radius: 50%; border-top: 4px solid var(--blue); transform: rotate(-2deg); }
.hero-copy > p { max-width: 590px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: var(--muted); font-size: 13px; font-weight: 800; }
.hero-note span::before { content: "✓"; display: inline-grid; width: 20px; height: 20px; margin-right: 7px; place-items: center; border-radius: 50%; color: #fff; background: var(--mint); }

.pet-planet {
  position: relative; width: min(520px, 100%); aspect-ratio: 1; justify-self: end;
}
.pet-planet::before, .pet-planet::after { content: ""; position: absolute; inset: 12%; border: 2px solid rgba(36,59,90,.16); border-radius: 50%; transform: rotate(-18deg) scaleY(.56); }
.pet-planet::after { inset: 2%; border-color: rgba(226,136,62,.24); transform: rotate(29deg) scaleY(.72); }
.planet-core {
  position: absolute; inset: 14%; display: grid; place-items: center; border: 3px solid var(--navy); border-radius: 44% 56% 51% 49% / 47% 44% 56% 53%;
  background: radial-gradient(circle at 35% 25%, #fff, #dff5ff 48%, #8ed2f0); box-shadow: 14px 18px 0 rgba(36,59,90,.12), inset -20px -24px 50px rgba(61,84,122,.13);
  animation: planet-breathe 5s ease-in-out infinite;
}
.planet-core img { width: 112%; height: 112%; object-fit: contain; filter: drop-shadow(0 20px 28px rgba(36,59,90,.2)); }
.orbit-chip {
  position: absolute; z-index: 3; display: grid; min-width: 126px; padding: 13px 16px; border: 2px solid var(--navy); border-radius: 16px;
  background: #fff; box-shadow: 6px 7px 0 rgba(36,59,90,.15); font-weight: 900;
}
.orbit-chip small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.orbit-chip.one { top: 10%; right: 1%; transform: rotate(4deg); }
.orbit-chip.two { bottom: 13%; left: -2%; transform: rotate(-5deg); }
.orbit-chip.three { right: -3%; bottom: 22%; color: #fff; background: var(--orange); transform: rotate(3deg); }
.orbit-dot { position: absolute; width: 18px; height: 18px; border: 3px solid var(--navy); border-radius: 50%; background: var(--sun); }
.orbit-dot.a { top: 23%; left: 4%; }.orbit-dot.b { top: 2%; left: 43%; background: var(--blue); }.orbit-dot.c { right: 11%; bottom: 5%; background: var(--mint); }

.feature-strip { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: -10px auto 90px; }
.feature-strip h2 { max-width: 640px; margin: 0 0 28px; font-family: "YouYuan", sans-serif; font-size: clamp(30px, 4vw, 48px); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 210px; padding: 24px; border: 2px solid var(--navy); border-radius: 26px; background: var(--paper); box-shadow: 8px 9px 0 rgba(36,59,90,.1); }
.feature-card:nth-child(2) { background: #eaf8ff; }.feature-card:nth-child(3) { background: #fff3e5; }.feature-card:nth-child(4) { background: #edfbf5; }
.feature-card b { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 18px; background: var(--sun); font-size: 25px; }
.feature-card h3 { margin: 22px 0 8px; }.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.portal-footer { padding: 30px 20px 44px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13px; }
.portal-footer a { margin: 0 8px; }

.auth-page { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, .82fr) minmax(460px, 1.18fr); background: #edf8fc; }
.auth-art { position: relative; display: grid; overflow: hidden; padding: 42px; place-items: center; background: var(--navy); }
.auth-art::before { content: ""; position: absolute; width: 700px; height: 700px; border: 2px solid rgba(255,255,255,.13); border-radius: 50%; transform: rotate(-20deg) scaleY(.55); }
.auth-art-copy { position: relative; z-index: 2; max-width: 520px; color: #fff; }
.auth-art-copy h1 { margin: 26px 0 16px; font-family: "YouYuan", sans-serif; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; }
.auth-art-copy p { color: rgba(255,255,255,.7); line-height: 1.8; }
.auth-pet { width: min(380px, 80%); filter: drop-shadow(0 24px 38px rgba(0,0,0,.24)); }
.auth-panel { display: grid; padding: 40px; place-items: center; background: var(--cream); }
.auth-card, .portal-card { width: min(500px, 100%); padding: 34px; border: 2px solid var(--navy); border-radius: 30px; background: var(--paper); box-shadow: 12px 14px 0 rgba(36,59,90,.12); }
.auth-card h2, .portal-card h2 { margin: 10px 0 8px; font-family: "YouYuan", sans-serif; font-size: 34px; }
.auth-card > p, .portal-card > p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 16px; background: #edf1f4; }
.auth-tab { padding: 11px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-weight: 900; cursor: pointer; }
.auth-tab.active { color: #fff; background: var(--navy); }
.portal-form { display: grid; gap: 16px; margin-top: 24px; }
.portal-field { display: grid; gap: 7px; }
.portal-field span { font-size: 13px; font-weight: 900; }
.portal-field input, .portal-field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 2px solid rgba(36,59,90,.14); border-radius: 14px; color: var(--navy); background: #fff;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.portal-field input:focus, .portal-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(107,191,234,.17); }
.form-message { min-height: 22px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.form-message.error { color: var(--danger); }.form-message.success { color: #28875f; }
.activation-note { margin: -4px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.dashboard-page { min-height: 100vh; padding: 30px; background: linear-gradient(135deg, #f8fcff, #fff8dd); }
.dashboard-shell { width: min(1280px, 100%); margin: 0 auto; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dashboard-header h1 { margin: 4px 0 0; font-family: "YouYuan", sans-serif; font-size: 36px; }
.dashboard-header p { margin: 0; color: var(--orange); font-weight: 900; letter-spacing: .16em; font-size: 11px; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-tile { padding: 18px; border: 2px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 8px 0 rgba(36,59,90,.06); }
.stat-tile small { display: block; color: var(--muted); }.stat-tile strong { display: block; margin-top: 8px; font-size: 30px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .55fr); gap: 20px; }
.panel-card { padding: 24px; border: 2px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.panel-card h2 { margin: 0 0 18px; }.panel-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.data-list { display: grid; gap: 10px; max-height: 620px; overflow: auto; }
.data-row { display: grid; grid-template-columns: minmax(120px, 1fr) repeat(3, auto); gap: 12px; padding: 14px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fffdf7; }
.data-row strong, .data-row small { display: block; }.data-row small { margin-top: 4px; color: var(--muted); }
.mini-button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); background: #fff; font-weight: 800; cursor: pointer; }
.mini-button.warn { color: var(--danger); }.mini-button:disabled { opacity: .45; }
.generated-codes { max-height: 240px; padding: 14px; overflow: auto; border-radius: 14px; background: #edf8fc; font-family: ui-monospace, Consolas, monospace; line-height: 1.8; }

.account-layout { display: grid; min-height: 100vh; padding: 40px 20px; place-items: center; background: radial-gradient(circle at 80% 10%, rgba(247,215,82,.3), transparent 26rem), #edf8fc; }
.account-card { width: min(760px, 100%); }
.account-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-back-button { color: #fff; background: var(--navy); box-shadow: 0 6px 0 rgba(36,59,90,.14); }
.account-hero { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.license-badge { display: grid; min-width: 170px; padding: 18px; align-content: center; border: 2px solid var(--navy); border-radius: 22px; background: var(--sun); text-align: center; }
.license-badge strong { font-size: 24px; }.license-badge small { margin-top: 5px; }
.account-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-section { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.account-section.full { grid-column: 1 / -1; }.account-section h3 { margin: 0 0 14px; }

.legal-page { min-height: 100vh; padding: 40px 20px; background: #fffdf7; }
.legal-card { width: min(860px, 100%); margin: 0 auto; padding: 38px; border: 2px solid var(--line); border-radius: 28px; background: #fff; }
.legal-card h1 { font-family: "YouYuan", sans-serif; }.legal-card h2 { margin-top: 32px; }.legal-card p, .legal-card li { color: #53657b; line-height: 1.85; }

@keyframes planet-breathe { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 980px) {
  .portal-hero { grid-template-columns: 1fr; padding-top: 40px; }.pet-planet { justify-self: center; }.hero-copy { padding-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }.auth-page { grid-template-columns: 1fr; }.auth-art { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .portal-nav { width: min(100% - 24px, 1180px); }.portal-brand span:last-child { display: none; }.portal-nav-actions .portal-button:first-child { display: none; }
  .portal-hero { width: min(100% - 28px, 1180px); min-height: auto; margin-top: 34px; }.hero-copy h1 { font-size: 49px; }.hero-copy > p { font-size: 16px; }
  .pet-planet { width: 100%; }.orbit-chip { min-width: 108px; padding: 10px; font-size: 12px; }.feature-grid { grid-template-columns: 1fr; }
  .auth-panel { padding: 20px; }.auth-card, .portal-card { padding: 24px; }.dashboard-page { padding: 18px 12px; }
  .dashboard-header, .account-hero { align-items: stretch; flex-direction: column; }.account-topbar { align-items: stretch; flex-direction: column; }.stats-grid { grid-template-columns: 1fr 1fr; }.account-sections { grid-template-columns: 1fr; }.account-section.full { grid-column: auto; }
  .data-row { grid-template-columns: 1fr 1fr; }.data-row > div:first-child { grid-column: 1 / -1; }
}

.admin-page { min-height: 100vh; background: #f3f8fb; }
.admin-nav { position: sticky; z-index: 20; top: 0; display: flex; padding: 16px max(24px,calc((100vw - 1380px)/2)); align-items: center; justify-content: space-between; border-bottom: 2px solid var(--navy); background: rgba(255,253,247,.94); backdrop-filter: blur(12px); }
.admin-main { width: min(1380px,calc(100% - 36px)); margin: 0 auto; padding: 34px 0 70px; }
.admin-welcome,.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.admin-welcome h1 { margin: 4px 0; font-family: YouYuan,sans-serif; font-size: 42px; }.admin-welcome p { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin: 24px 0; }.stat-grid article { padding: 20px; border: 2px solid var(--navy); border-radius: 20px; background: var(--stat); box-shadow: 5px 6px 0 var(--navy); }.stat-grid small,.stat-grid strong { display:block; }.stat-grid strong { margin-top: 7px; font-size: 34px; }
.admin-grid { display:grid; gap:20px; }.admin-panel { width:auto; padding:26px; }.admin-panel h2 { margin:0; }.admin-panel p { color:var(--muted); }.compact-input,.inline-form input,.inline-form select,#codeStatus { min-height:42px; padding:0 12px; border:2px solid var(--line); border-radius:12px; background:#fff; }.inline-form { display:grid; grid-template-columns: 180px 100px minmax(180px,1fr) auto; gap:10px; }
.table-wrap { margin-top:18px; overflow:auto; }table { width:100%; border-collapse:collapse; }th,td { padding:13px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }th { color:var(--muted); font-size:12px; }td small { display:block; margin-top:4px; color:var(--muted); }.row-actions { white-space:nowrap; }.row-actions button,td button { margin:2px; padding:7px 9px; border:1px solid var(--line); border-radius:9px; background:#fff; cursor:pointer; }
.status-pill { display:inline-flex; padding:5px 9px; border-radius:999px; background:#edf2f6; font-size:12px; font-weight:900; }.status-pill.trial { background:#dff5ff; }.status-pill.member,.status-pill.redeemed,.status-pill.used { background:#dbf6e9; }.status-pill.expired,.status-pill.danger,.status-pill.disabled { background:#ffe1dc; }.status-pill.unused { background:#fff2b8; }
.new-codes { margin-top:15px; }.new-codes textarea { display:block; width:100%; min-height:180px; margin-top:12px; padding:14px; border:0; border-radius:14px; background:#eaf8ff; font-family:Consolas,monospace; }.portal-dialog { width:min(520px,calc(100% - 30px)); padding:0; border:2px solid var(--navy); border-radius:24px; }.portal-dialog form { padding:28px; }.portal-dialog pre { padding:16px; overflow:auto; border-radius:14px; background:#edf8fc; white-space:pre-wrap; }.dialog-close { float:right; border:0; background:none; font-size:28px; cursor:pointer; }
.cloud-sync-bar { position:fixed; z-index:9999; top:12px; right:18px; display:flex; gap:10px; padding:8px 10px; align-items:center; border:1px solid rgba(36,59,90,.2); border-radius:999px; background:rgba(255,255,255,.93); box-shadow:0 6px 20px rgba(36,59,90,.16); font-size:12px; backdrop-filter:blur(12px); }.cloud-sync-bar button { padding:4px 8px; border:0; border-radius:999px; background:#eaf8ff; color:var(--navy); font-weight:800; }.cloud-sync-bar button[data-kind=error],.cloud-sync-bar button[data-kind=expired] { background:#ffe1dc;color:#a33; }.cloud-sync-bar a { color:var(--navy);font-weight:900; }.cloud-readonly::after { content:"只读模式"; position:fixed; z-index:9998; right:22px; bottom:20px; padding:9px 14px; border-radius:999px; background:#e2883e; color:#fff; font-weight:900; }
@media(max-width:800px){.stat-grid{grid-template-columns:repeat(2,1fr)}.inline-form{grid-template-columns:1fr}.cloud-sync-bar{top:auto;right:10px;bottom:10px}.admin-welcome{align-items:flex-start;flex-direction:column}}

/* Landing page · classroom sticker-book direction */
.portal-shell[data-page="landing"] {
  --landing-ink: #17324d;
  --landing-blue: #5dc7ed;
  --landing-deep-blue: #3d74cc;
  --landing-yellow: #ffd84d;
  --landing-orange: #ff8659;
  --landing-mint: #6dd9af;
  --landing-pink: #ff9eb6;
  --landing-cream: #fff8e8;
  --landing-paper: #fffdf8;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--landing-ink);
  background:
    radial-gradient(circle at 7% 8%, rgba(93, 199, 237, .25), transparent 22rem),
    radial-gradient(circle at 93% 20%, rgba(255, 216, 77, .35), transparent 25rem),
    linear-gradient(180deg, #fffaf0 0%, #f2fbff 42%, #fff9eb 100%);
}

.landing-sky { position: absolute; z-index: 0; inset: 0 0 auto; height: 860px; overflow: hidden; pointer-events: none; }
.sky-cloud { position: absolute; width: 150px; height: 48px; border-radius: 50px; background: rgba(255,255,255,.82); filter: drop-shadow(0 10px 18px rgba(58,110,145,.08)); }
.sky-cloud::before, .sky-cloud::after { position: absolute; bottom: 6px; border-radius: 50%; background: inherit; content: ""; }
.sky-cloud::before { left: 24px; width: 58px; height: 58px; }.sky-cloud::after { right: 20px; width: 74px; height: 74px; }
.cloud-a { top: 175px; left: -58px; transform: scale(.82); }.cloud-b { top: 108px; right: -46px; transform: scale(1.12); }
.sky-star { position: absolute; color: var(--landing-yellow); font-size: 27px; text-shadow: 0 4px 0 rgba(255,134,89,.15); animation: landing-twinkle 2.6s ease-in-out infinite; }
.star-a { top: 190px; left: 8%; }.star-b { top: 98px; right: 30%; animation-delay: -.8s; }.star-c { top: 310px; right: 5%; color: var(--landing-blue); animation-delay: -1.4s; }

.portal-shell[data-page="landing"] .landing-nav {
  position: relative;
  z-index: 20;
  width: min(1220px, calc(100% - 36px));
  margin-top: 18px;
  padding: 12px 14px 12px 18px;
  border: 2px solid rgba(23,50,77,.14);
  border-radius: 26px;
  background: rgba(255,253,248,.9);
  box-shadow: 0 9px 0 rgba(62,111,143,.08), 0 18px 42px rgba(62,111,143,.1);
  backdrop-filter: blur(16px);
}

.landing-brand { gap: 10px; font-size: 17px; }
.landing-brand-emblem { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(38,69,102,.16)); }
.landing-brand small { color: var(--landing-orange) !important; font-size: 9px !important; letter-spacing: .24em !important; }

.portal-shell[data-page="landing"] .portal-button {
  min-height: 48px;
  border: 2px solid var(--landing-ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(23,50,77,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.portal-shell[data-page="landing"] .portal-button:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 8px 0 rgba(23,50,77,.16); filter: saturate(1.05); }
.portal-shell[data-page="landing"] .portal-button:focus-visible { outline: 4px solid rgba(93,199,237,.35); outline-offset: 3px; }
.portal-shell[data-page="landing"] .portal-button.sun { background: var(--landing-yellow); }
.nav-login { background: #fff; }.nav-trial { padding-inline: 25px !important; }

.landing-main { position: relative; z-index: 2; }
.portal-shell[data-page="landing"] .landing-hero {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr);
  gap: 36px;
  width: min(1220px, calc(100% - 40px));
  min-height: 740px;
  margin: 36px auto 38px;
  align-items: center;
}
.portal-shell[data-page="landing"] .hero-copy { padding: 18px 0 55px; }
.hero-badge { display: inline-flex; padding: 8px 15px 8px 10px; align-items: center; border: 2px solid rgba(23,50,77,.12); border-radius: 999px; background: #fff; box-shadow: 0 5px 0 rgba(23,50,77,.07); color: #516b84; font-size: 13px; font-weight: 900; }
.hero-badge span { display: grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; border: 2px solid var(--landing-ink); border-radius: 50%; color: var(--landing-ink); background: var(--landing-yellow); font-size: 17px; }
.portal-shell[data-page="landing"] .hero-copy h1 { max-width: 650px; margin: 25px 0 0; font-family: "YouYuan", "Microsoft YaHei", sans-serif; letter-spacing: -.055em; line-height: 1.06; }
.portal-shell[data-page="landing"] .hero-copy h1 span { display: block; color: var(--landing-ink); font-size: clamp(46px,4.7vw,66px); line-height: 1.3; }
.portal-shell[data-page="landing"] .hero-copy h1 strong { position: relative; display: inline-block; margin-top: 26px; margin-bottom: 9px; color: var(--landing-orange); font-size: clamp(48px,4.75vw,68px); font-weight: 900; line-height: 1.08; white-space: nowrap; }
.portal-shell[data-page="landing"] .hero-copy h1 strong::after { position: absolute; z-index: -1; right: -8px; bottom: -32px; left: -8px; height: 20px; border-radius: 50%; border-top: 7px solid var(--landing-blue); content: ""; transform: rotate(-1.5deg); }
.portal-shell[data-page="landing"] .hero-copy > p { max-width: 610px; margin-top: 30px; color: #587086; font-size: 18px; line-height: 1.85; }
.portal-shell[data-page="landing"] .hero-actions { margin-top: 30px; }
.hero-primary { min-height: 58px !important; padding-inline: 28px !important; font-size: 17px; }.hero-primary span { font-size: 22px; }
.hero-secondary { min-height: 58px !important; background: rgba(255,255,255,.86) !important; }
.portal-shell[data-page="landing"] .hero-note { gap: 11px 20px; margin-top: 24px; }
.portal-shell[data-page="landing"] .hero-note span { display: inline-flex; align-items: center; color: #5e7183; }
.portal-shell[data-page="landing"] .hero-note span::before { width: 22px; height: 22px; border: 2px solid #fff; background: var(--landing-mint); box-shadow: 0 3px 0 rgba(23,50,77,.1); }

.hero-stage { position: relative; min-height: 625px; padding: 48px 8px 48px 24px; }
.classroom-board {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 530px;
  padding: 24px;
  border: 3px solid var(--landing-ink);
  border-radius: 34px;
  background:
    linear-gradient(rgba(93,199,237,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,199,237,.08) 1px, transparent 1px),
    var(--landing-paper);
  background-size: 28px 28px;
  box-shadow: 15px 17px 0 #bceaf5, 23px 27px 0 rgba(23,50,77,.11);
  transform: rotate(1.8deg);
  animation: landing-board-float 5.5s ease-in-out infinite;
}
.classroom-board::before { position: absolute; top: -17px; left: 52px; width: 105px; height: 34px; border: 2px solid rgba(23,50,77,.12); background: rgba(255,216,77,.72); content: ""; transform: rotate(-5deg); }
.board-top { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.board-class { display: flex; gap: 10px; align-items: center; }.board-class img { width: 62px; height: 62px; object-fit: contain; }.board-class div { display: grid; }.board-class small { color: #65788a; font-weight: 800; }.board-class strong { margin-top: 3px; font-family: "YouYuan", sans-serif; font-size: 21px; }
.board-mode { display: flex; padding: 5px; border-radius: 14px; background: #e9f2f5; }.board-mode span { padding: 8px 10px; border-radius: 10px; color: #718294; font-size: 11px; font-weight: 900; }.board-mode .active { color: #fff; background: var(--landing-deep-blue); }
.board-students { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 20px; }
.mini-student { position: relative; min-width: 0; padding: 13px 11px 12px; border: 2px solid rgba(23,50,77,.14); border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: 0 7px 0 rgba(23,50,77,.07); }
.mini-student.selected { border-color: #f0b82c; background: #fffbea; transform: translateY(-5px) rotate(-1deg); }
.mini-student > img { display: block; width: 100%; height: 142px; object-fit: contain; filter: drop-shadow(0 9px 7px rgba(55,86,118,.14)); }
.mini-student div { display: grid; }.mini-student strong { font-size: 16px; }.mini-student small { overflow: hidden; margin-top: 4px; color: #728295; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.mini-student b { margin-top: 8px; color: var(--landing-deep-blue); font-size: 20px; }
.mini-tag { position: absolute; z-index: 2; top: 10px; left: 8px; padding: 5px 7px; border-radius: 999px; color: #8f5600; background: #ffe789; font-size: 9px; font-weight: 900; }.mini-tag.mint { color: #17694e; background: #c9f4e3; }.mini-tag.blue { color: #245993; background: #d6edff; }
.board-privacy { margin: 14px 0 -6px; color: #7b8996; font-size: 10px; font-weight: 800; text-align: right; }
.board-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 20px; }.board-actions button { display: flex; min-width: 0; padding: 10px 11px; align-items: center; justify-content: space-between; border: 2px solid rgba(37,112,86,.22); border-radius: 14px; color: #235f4b; background: #dff8eb; font: inherit; font-size: 11px; font-weight: 900; }.board-actions button:nth-child(2) { color: #275d94; border-color: rgba(61,116,204,.2); background: #e0f1ff; }.board-actions button.soft { color: #8a5527; border-color: rgba(255,134,89,.22); background: #fff0de; }.board-actions strong { font-size: 17px; }
.stage-sticker { position: absolute; z-index: 6; border: 2px solid var(--landing-ink); box-shadow: 5px 6px 0 rgba(23,50,77,.14); font-weight: 900; animation: landing-sticker-pop 3.4s ease-in-out infinite; }
.sticker-good { top: 10px; right: 35px; padding: 10px 16px; border-radius: 15px 15px 15px 4px; color: #235f4b; background: #c9f4e3; transform: rotate(4deg); }.sticker-plus { right: -10px; bottom: 70px; display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; color: var(--landing-ink); background: var(--landing-yellow); font-size: 27px; animation-delay: -1.2s; }
.stage-spark { position: absolute; z-index: 5; color: var(--landing-orange); font-size: 30px; animation: landing-twinkle 2s ease-in-out infinite; }.spark-one { bottom: 36px; left: 5px; }.spark-two { top: 80px; left: -4px; color: var(--landing-blue); animation-delay: -.8s; }
.stage-pencil { position: absolute; z-index: 1; right: -32px; top: 110px; width: 170px; height: 26px; border: 3px solid var(--landing-ink); border-radius: 20px 6px 6px 20px; background: linear-gradient(180deg,#ff9e78 0 50%,#ff754c 50%); transform: rotate(75deg); }.stage-pencil::after { position: absolute; right: -34px; top: -3px; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 36px solid #f3d1a6; content: ""; }

.trust-ribbon { display: flex; width: min(1180px,calc(100% - 40px)); margin: 0 auto 118px; padding: 18px 28px; align-items: center; justify-content: space-between; border: 3px solid var(--landing-ink); border-radius: 24px; background: var(--landing-yellow); box-shadow: 9px 10px 0 var(--landing-ink); transform: rotate(-.6deg); }
.trust-ribbon span { font-size: 14px; font-weight: 900; }.trust-ribbon b { margin-right: 5px; color: #d95f3b; font-size: 24px; }.trust-ribbon i { width: 9px; height: 9px; border-radius: 50%; background: var(--landing-ink); }

.portal-shell[data-page="landing"] .landing-features { width: min(1220px,calc(100% - 40px)); margin: 0 auto 120px; }
.section-heading { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 48px; margin-bottom: 48px; align-items: end; }.section-heading p { margin: 0; color: var(--landing-orange); font-size: 17px; font-weight: 900; letter-spacing: .04em; line-height: 1.55; white-space: nowrap; }.section-heading h2 { margin: 0; font-family: "YouYuan","Microsoft YaHei",sans-serif; font-size: clamp(36px,3.35vw,48px); line-height: 1.2; }.landing-features > .section-heading h2 { display: grid; gap: 14px; }.landing-features > .section-heading h2 span { display: block; white-space: nowrap; }
.feature-bento { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }.feature-panel { position: relative; overflow: hidden; min-height: 310px; padding: 32px; border: 3px solid var(--landing-ink); border-radius: 34px; box-shadow: 9px 10px 0 rgba(23,50,77,.13); }.feature-panel span { color: #c35d36; font-size: 19px; font-weight: 950; letter-spacing: .04em; line-height: 1.45; }.feature-panel h3 { margin: 14px 0 12px; font-family: "YouYuan",sans-serif; font-size: 28px; line-height: 1.3; }.feature-panel p { margin: 0; color: #5e7387; line-height: 1.75; }
.feature-pets { display: grid; grid-column: 1/-1; grid-template-columns: .78fr 1.22fr; min-height: 410px; background: linear-gradient(135deg,#fff3d6,#fffdf8); }.feature-pets::after { position: absolute; right: -50px; bottom: -100px; width: 310px; height: 310px; border-radius: 50%; background: rgba(255,216,77,.22); content: ""; }.feature-copy { position: relative; z-index: 2; align-self: center; }.feature-pets h3 { font-size: 36px; }
.pet-evolution { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }.pet-evolution div { display: grid; grid-template-rows: 290px auto; align-items: end; place-items: center; }.pet-evolution img { width: 180px; height: 220px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(54,81,111,.13)); }.pet-evolution .final img { width: 265px; height: 290px; }.pet-evolution small { align-self: start; margin-top: 10px; padding: 7px 12px; border-radius: 999px; color: #476179; background: #fff; font-size: 12px; font-weight: 900; }.pet-evolution b { color: var(--landing-orange); font-size: 31px; }
.feature-score,.feature-badge,.feature-summary { display: flex; min-height: 350px; padding: 27px 29px 30px; flex-direction: column; }.feature-score { background: linear-gradient(145deg,#e9f7ff,#f9fdff); }.feature-badge { background: linear-gradient(145deg,#fff5e5,#fffdf7); }.feature-summary { background: linear-gradient(145deg,#e9fbf3,#f9fffc); }.feature-card-head { display: flex; min-height: 105px; align-items: flex-start; justify-content: space-between; }.feature-card-head img { width: 104px; height: 104px; margin: -11px -7px 0 12px; object-fit: contain; filter: drop-shadow(0 10px 9px rgba(23,50,77,.13)); }.feature-card-body { position: relative; z-index: 1; }.feature-card-body h3 { margin-top: 2px; }.feature-card-body p { margin-top: 13px; }.score-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }.score-pills b { padding: 8px 10px; border-radius: 999px; color: #216c53; background: #d9f6e8; font-size: 11px; }.score-pills b:nth-child(2) { color: #315f9f; background: #d9ecff; }.score-pills b:nth-child(3) { color: #a14c41; background: #ffe2dc; }

.growth-path { width: min(1100px,calc(100% - 40px)); margin: 0 auto 120px; }.section-heading.compact { display: block; text-align: center; }.section-heading.compact p { margin-bottom: 12px; }.path-cards { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }.path-cards::before { position: absolute; z-index: 0; top: 88px; right: 17%; left: 17%; border-top: 4px dashed rgba(93,199,237,.55); content: ""; }.path-cards article { position: relative; z-index: 1; padding: 25px 23px 26px; border: 2px solid rgba(23,50,77,.15); border-radius: 28px; background: #fff; box-shadow: 0 10px 0 rgba(23,50,77,.07); text-align: center; }.path-cards article:nth-child(2) { transform: translateY(22px); }.path-cards article > span { position: absolute; top: 18px; left: 18px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--landing-orange); font-weight: 950; }.path-cards img { width: 130px; height: 130px; object-fit: contain; }.path-cards h3 { margin: 9px 0 6px; font-size: 21px; }.path-cards p { margin: 0; color: #65778a; font-size: 14px; line-height: 1.7; }

.landing-cta { position: relative; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 18px; width: min(1180px,calc(100% - 40px)); margin: 0 auto 110px; padding: 32px 40px; align-items: center; overflow: hidden; border: 3px solid var(--landing-ink); border-radius: 38px; background: linear-gradient(125deg,#ffdd5e,#ffbd6f); box-shadow: 13px 14px 0 var(--landing-ink); }.landing-cta::before { position: absolute; right: 30%; bottom: -90px; width: 260px; height: 180px; border: 3px solid rgba(255,255,255,.5); border-radius: 50%; content: ""; }.landing-cta > img { position: relative; z-index: 1; width: 190px; height: 190px; justify-self: center; object-fit: contain; filter: drop-shadow(0 14px 10px rgba(81,65,59,.15)); }.landing-cta > div:not(.cta-stars) { position: relative; z-index: 1; display: flex; min-height: 170px; justify-self: start; flex-direction: column; justify-content: center; }.landing-cta p { margin: 0 0 11px; color: #8b4e25; font-size: 18px; font-weight: 900; line-height: 1.45; }.landing-cta h2 { margin: 0 0 13px; font-family: "YouYuan",sans-serif; font-size: 48px; line-height: 1.16; }.landing-cta span { color: #735c45; font-size: 18px; line-height: 1.7; }.landing-cta .portal-button { position: relative; z-index: 1; min-width: 200px; justify-self: center; background: #fff !important; white-space: nowrap; }.cta-stars { position: absolute; right: 22px; top: 16px; color: #fff6b8; font-size: 24px; }

.portal-shell[data-page="landing"] .landing-footer { display: flex; padding: 34px max(24px,calc((100vw - 1180px)/2)) 46px; align-items: center; justify-content: space-between; gap: 18px; border-top: 2px dashed rgba(23,50,77,.15); background: rgba(255,255,255,.42); text-align: left; }.landing-footer strong { color: var(--landing-ink); }.landing-footer span { margin-right: auto; }.landing-footer nav { display: flex; flex-wrap: wrap; }

@keyframes landing-board-float { 0%,100% { transform: translateY(0) rotate(1.8deg); } 50% { transform: translateY(-9px) rotate(.9deg); } }
@keyframes landing-sticker-pop { 0%,100% { scale: 1; } 50% { scale: 1.06; } }
@keyframes landing-twinkle { 0%,100% { opacity: .45; transform: scale(.8) rotate(-8deg); } 50% { opacity: 1; transform: scale(1.18) rotate(8deg); } }

@media (max-width: 1050px) {
  .portal-shell[data-page="landing"] .landing-hero { grid-template-columns: 1fr; max-width: 800px; padding-top: 45px; }
  .hero-copy { text-align: center; }.hero-badge { margin-inline: auto; }.portal-shell[data-page="landing"] .hero-copy h1,.portal-shell[data-page="landing"] .hero-copy > p { margin-inline: auto; }.portal-shell[data-page="landing"] .hero-copy h1 span { font-size: clamp(52px,7vw,76px); }.portal-shell[data-page="landing"] .hero-copy h1 strong { font-size: clamp(54px,7.4vw,80px); }.portal-shell[data-page="landing"] .hero-actions,.portal-shell[data-page="landing"] .hero-note { justify-content: center; }
  .hero-stage { width: min(680px,100%); margin: 0 auto; }.trust-ribbon { margin-top: 30px; }
  .feature-bento { grid-template-columns: 1fr; }.feature-pets { grid-template-columns: 1fr; }.feature-score,.feature-badge,.feature-summary { min-height: 260px; }
  .landing-cta { grid-template-columns: 140px 1fr; }.landing-cta > img { width: 140px; height: 140px; }.landing-cta .portal-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .portal-shell[data-page="landing"] .landing-nav { width: calc(100% - 22px); margin-top: 10px; }.landing-brand-emblem { width: 48px; height: 48px; }.landing-brand > span { display: grid !important; font-size: 14px; }.landing-brand small { font-size: 7px !important; }.nav-login { display: none !important; }.nav-trial { min-height: 43px !important; padding-inline: 14px !important; font-size: 12px; }
  .landing-features > .section-heading h2 span { white-space: normal; }
  .portal-shell[data-page="landing"] .landing-hero { width: calc(100% - 26px); margin-top: 8px; }.portal-shell[data-page="landing"] .hero-copy h1 span { font-size: clamp(39px,11.4vw,59px); }.portal-shell[data-page="landing"] .hero-copy h1 strong { font-size: clamp(41px,11.8vw,62px); white-space: normal; }.portal-shell[data-page="landing"] .hero-copy > p { font-size: 16px; }.hero-actions .portal-button { width: 100%; }
  .hero-stage { min-height: 760px; padding: 46px 5px 35px; }.classroom-board { padding: 18px; transform: none; }.board-top { align-items: flex-start; flex-direction: column; }.board-mode { align-self: stretch; justify-content: center; }.board-students { grid-template-columns: 1fr 1fr; }.mini-student:last-child { grid-column: 1/-1; display: grid; grid-template-columns: 140px 1fr; align-items: center; }.mini-student:last-child > img { height: 120px; }.board-actions { grid-template-columns: 1fr; }.sticker-plus { right: -2px; bottom: 14px; }.stage-pencil { display: none; }
  .trust-ribbon { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: calc(100% - 30px); margin-bottom: 90px; box-shadow: 6px 7px 0 var(--landing-ink); transform: none; }.trust-ribbon i { display: none; }.trust-ribbon span { text-align: center; }
  .portal-shell[data-page="landing"] .landing-features,.growth-path { width: calc(100% - 28px); margin-bottom: 90px; }.section-heading { display: block; }.section-heading p { margin-bottom: 10px; }.section-heading h2 { font-size: 37px; }.feature-panel { padding: 25px; }.feature-pets { min-height: auto; }.pet-evolution { margin-top: 20px; }.pet-evolution div { grid-template-rows: 170px auto; }.pet-evolution img { width: 98px; height: 135px; }.pet-evolution .final img { width: 138px; height: 170px; }.feature-score h3,.feature-score p { max-width: none; }.feature-score > img { opacity: .28; }.feature-badge,.feature-summary { grid-template-columns: 92px 1fr; }.feature-badge > img,.feature-summary > img { width: 92px; height: 92px; }.path-cards { grid-template-columns: 1fr; }.path-cards::before { display: none; }.path-cards article:nth-child(2) { transform: none; }
  .landing-cta { grid-template-columns: 100px 1fr; width: calc(100% - 28px); padding: 26px 23px; box-shadow: 7px 8px 0 var(--landing-ink); }.landing-cta > img { width: 100px; height: 100px; }.landing-cta h2 { font-size: 27px; }.landing-cta span { font-size: 13px; }.landing-cta .portal-button { grid-column: 1/-1; width: 100%; }.portal-shell[data-page="landing"] .landing-footer { align-items: flex-start; flex-direction: column; }.landing-footer span { margin: 0; }
}

@media (max-width: 430px) {
  .hero-badge { font-size: 11px; }.hero-note { display: grid !important; }.hero-stage { min-height: 810px; }.board-students { grid-template-columns: 1fr; }.mini-student:last-child { display: block; grid-column: auto; }.board-actions { margin-top: 14px; }.mini-student > img { height: 128px; }.mini-student:last-child > img { height: 128px; }.trust-ribbon { grid-template-columns: 1fr; }.pet-evolution b { font-size: 18px; }.pet-evolution img { width: 78px; }.pet-evolution .final img { width: 108px; }.feature-badge,.feature-summary { grid-template-columns: 1fr; }.feature-badge > img,.feature-summary > img { width: 115px; height: 115px; }.landing-cta { grid-template-columns: 1fr; text-align: center; }.landing-cta > img { margin: 0 auto; }.landing-cta .portal-button { grid-column: auto; }
}

/* Login page · teacher pass direction */
.auth-page[data-page="login"] {
  --auth-ink: #17324d;
  --auth-blue: #5dc7ed;
  --auth-yellow: #ffd84d;
  --auth-orange: #ff8659;
  --auth-mint: #6dd9af;
  position: relative;
  display: grid;
  grid-template-columns: minmax(620px,1.18fr) minmax(500px,.82fr);
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--auth-ink);
  background: #fff9e9;
}
.auth-page[data-page="login"]::before { position: fixed; z-index: 0; inset: 0; background: radial-gradient(circle at 6% 10%,rgba(93,199,237,.18),transparent 24rem),radial-gradient(circle at 96% 88%,rgba(255,216,77,.26),transparent 25rem); content: ""; pointer-events: none; }
.auth-spark { position: fixed; z-index: 4; color: var(--auth-orange); font-size: 28px; animation: landing-twinkle 2.8s ease-in-out infinite; pointer-events: none; }.auth-spark-a { top: 9%; left: 3%; }.auth-spark-b { right: 3%; bottom: 8%; color: var(--auth-blue); animation-delay: -1.1s; }

.auth-page[data-page="login"] .auth-art { position: relative; z-index: 1; display: grid; min-width: 0; padding: 28px 44px 34px; grid-template-rows: auto auto; gap: 28px; align-content: start; overflow: hidden; border-right: 3px solid var(--auth-ink); background: linear-gradient(145deg,#eaf9ff 0%,#fff9dc 62%,#fff2dd 100%); place-items: initial; }
.auth-page[data-page="login"] .auth-art::before { position: absolute; top: -140px; left: -100px; width: 520px; height: 420px; border: 3px solid rgba(23,50,77,.08); border-radius: 48% 52% 58% 42%; background: rgba(255,255,255,.34); content: ""; transform: rotate(-12deg); }
.auth-page[data-page="login"] .auth-art::after { position: absolute; right: -150px; bottom: -180px; width: 520px; height: 520px; border: 3px solid rgba(255,134,89,.13); border-radius: 50%; content: ""; }
.auth-brand { position: relative; z-index: 3; width: fit-content; color: var(--auth-ink); }.auth-brand > img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(23,50,77,.16)); }.auth-brand small { color: var(--auth-orange); }
.auth-art-content { position: relative; z-index: 2; display: grid; min-height: 0; padding: 0 0 2px; grid-template-areas: "copy pet" "benefits benefits"; grid-template-columns: minmax(270px,.78fr) minmax(350px,1.22fr); grid-template-rows: auto auto; gap: 16px; align-items: center; }
.auth-page[data-page="login"] .auth-art-copy { grid-area: copy; max-width: 430px; padding-bottom: 8px; color: var(--auth-ink); }
.auth-kicker { display: inline-flex; margin: 0 0 18px !important; padding: 8px 14px; border: 2px solid rgba(23,50,77,.12); border-radius: 999px; color: #9b5b2c !important; background: rgba(255,255,255,.72); box-shadow: 0 4px 0 rgba(23,50,77,.06); font-size: 13px; font-weight: 950; letter-spacing: .06em; }
.auth-page[data-page="login"] .auth-art-copy h1 { margin: 0; color: var(--auth-ink); font-family: "YouYuan","Microsoft YaHei",sans-serif; font-size: clamp(48px,4.5vw,70px); line-height: 1.12; letter-spacing: -.05em; }.auth-page[data-page="login"] .auth-art-copy h1 strong { position: relative; display: inline-block; padding-bottom: 8px; color: var(--auth-orange); font-weight: 900; white-space: nowrap; }.auth-page[data-page="login"] .auth-art-copy h1 strong::after { position: absolute; right: -6px; bottom: -25px; left: -6px; height: 15px; border-radius: 50%; border-top: 5px solid var(--auth-blue); content: ""; transform: rotate(-2deg); }
.auth-art-lead { max-width: 410px; margin: 30px 0 0 !important; color: #587086 !important; font-size: 17px; line-height: 1.9 !important; }
.auth-benefits { grid-area: benefits; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 0; }.auth-benefits span { display: flex; width: 100%; min-height: 48px; padding: 8px 10px; align-items: center; justify-content: center; border: 2px solid rgba(23,50,77,.11); border-radius: 15px; color: #4d647a; background: rgba(255,255,255,.78); box-shadow: 0 4px 0 rgba(23,50,77,.06); font-size: 12px; font-weight: 850; white-space: nowrap; }.auth-benefits b { display: grid; width: 27px; height: 27px; margin-right: 7px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--auth-ink); background: var(--auth-yellow); }

.auth-pet-scene { position: relative; grid-area: pet; width: min(430px,100%); aspect-ratio: 1; justify-self: center; }.auth-pet-scene::before { position: absolute; inset: 12%; border: 3px solid var(--auth-ink); border-radius: 47% 53% 46% 54% / 52% 45% 55% 48%; background: radial-gradient(circle at 32% 25%,#fff 0 17%,#dff7ff 42%,#bcefff 68%,#8fd8ef 100%); box-shadow: 15px 18px 0 rgba(23,50,77,.12),inset -25px -30px 60px rgba(61,116,204,.1); content: ""; animation: planet-breathe 5s ease-in-out infinite; }.auth-pet { position: absolute; z-index: 2; inset: 3% 1% 9%; width: 98%; height: 88%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(44,86,122,.2)); }.auth-orbit { position: absolute; z-index: 1; inset: 15% 2%; border: 2px solid rgba(23,50,77,.18); border-radius: 50%; transform: rotate(-18deg) scaleY(.55); }.auth-orbit-two { inset: 6% 0; border-color: rgba(255,134,89,.24); transform: rotate(27deg) scaleY(.72); }.auth-pet-note { position: absolute; z-index: 4; top: 7%; right: 2%; padding: 10px 15px; border: 2px solid var(--auth-ink); border-radius: 16px 16px 4px; background: #c9f4e3; box-shadow: 5px 6px 0 rgba(23,50,77,.11); font-weight: 950; transform: rotate(4deg); }.auth-mini-card { position: absolute; z-index: 4; right: 0; bottom: 3%; display: grid; min-width: 210px; padding: 15px 17px; border: 2px solid var(--auth-ink); border-radius: 19px; background: rgba(255,255,255,.94); box-shadow: 7px 8px 0 rgba(23,50,77,.13); transform: rotate(-2deg); }.auth-mini-card span { color: var(--auth-orange); font-size: 11px; font-weight: 950; letter-spacing: .08em; }.auth-mini-card strong { margin-top: 4px; font-size: 20px; }.auth-mini-card small { margin-top: 5px; color: #6a7c8e; }

.auth-page[data-page="login"] .auth-panel { position: relative; z-index: 2; display: grid; min-width: 0; padding: 34px; overflow: auto; background: linear-gradient(rgba(93,199,237,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(93,199,237,.1) 1px,transparent 1px),rgba(255,253,248,.88); background-size: 32px 32px; place-items: center; }
.auth-page[data-page="login"] .auth-card { position: relative; width: min(520px,100%); padding: 32px 36px 30px; overflow: hidden; border: 3px solid var(--auth-ink); border-radius: 34px; background: rgba(255,253,248,.97); box-shadow: 12px 14px 0 rgba(23,50,77,.14),0 24px 60px rgba(40,72,101,.12); }
.auth-page[data-page="login"] .auth-card::before { position: absolute; right: -70px; top: -82px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,216,77,.26); content: ""; }
.auth-card-header { position: relative; z-index: 2; display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; }.auth-back { color: #587086; font-size: 13px; font-weight: 900; text-decoration: none; }.auth-back:hover { color: var(--auth-orange); }.auth-card-brand { display: flex; align-items: center; gap: 7px; color: #496177; font-size: 11px; font-weight: 900; }.auth-card-brand img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(23,50,77,.12)); }
.auth-card-kicker { position: relative; z-index: 1; margin: 18px 0 4px !important; color: var(--auth-orange) !important; font-size: 12px; font-weight: 950; letter-spacing: .16em; }.auth-page[data-page="login"] .auth-card h2 { position: relative; z-index: 1; margin: 0 0 7px; color: var(--auth-ink); font-family: "YouYuan","Microsoft YaHei",sans-serif; font-size: 38px; line-height: 1.2; }.auth-page[data-page="login"] .auth-card > #authSubtitle { position: relative; z-index: 1; margin: 0 0 22px; color: #687b8f; font-size: 14px; }
.auth-page[data-page="login"] .auth-tabs { position: relative; z-index: 1; display: grid; min-height: 55px; padding: 6px; grid-template-columns: 1fr 1fr; gap: 7px; border: 2px solid rgba(23,50,77,.08); border-radius: 18px; background: #edf4f6; }.auth-page[data-page="login"] .auth-tab { padding: 10px 12px; border-radius: 12px; color: #677b8e; font-size: 14px; transition: color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; }.auth-page[data-page="login"] .auth-tab:hover { color: var(--auth-ink); }.auth-page[data-page="login"] .auth-tab.active { color: var(--auth-ink); background: var(--auth-yellow); box-shadow: 0 4px 0 rgba(23,50,77,.13); transform: translateY(-1px); }
.auth-page[data-page="login"] .portal-form { position: relative; z-index: 1; gap: 14px; margin-top: 22px; }.auth-page[data-page="login"] .portal-field { gap: 7px; }.auth-page[data-page="login"] .portal-field > span { color: #405970; font-size: 13px; }.auth-page[data-page="login"] .portal-field > small { color: #8a98a5; font-size: 11px; }
.auth-input-wrap { position: relative; display: flex; min-height: 54px; align-items: center; border: 2px solid rgba(23,50,77,.13); border-radius: 15px; background: #fff; transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease; }.auth-input-wrap:focus-within { border-color: var(--auth-blue); box-shadow: 0 0 0 4px rgba(93,199,237,.16); transform: translateY(-1px); }.auth-input-wrap > i { display: grid; width: 31px; height: 31px; margin-left: 10px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--auth-ink); background: #eaf7fc; font-size: 12px; font-style: normal; font-weight: 950; }.auth-page[data-page="login"] .auth-input-wrap input { min-width: 0; min-height: 50px; padding: 0 10px; border: 0; background: transparent; box-shadow: none; }.auth-page[data-page="login"] .auth-input-wrap input:focus { border: 0; box-shadow: none; }.password-toggle { margin-right: 10px; padding: 7px 8px; border: 0; border-radius: 9px; color: #718195; background: #f1f5f6; font-size: 11px; font-weight: 900; cursor: pointer; }.password-toggle:hover { color: var(--auth-ink); background: #e6f4f9; }
.auth-page[data-page="login"] .form-message { min-height: 20px; font-size: 12px; }.auth-page[data-page="login"] #authSubmit { min-height: 55px; border-color: var(--auth-ink); border-radius: 16px; color: var(--auth-ink); background: var(--auth-yellow); box-shadow: 0 6px 0 rgba(23,50,77,.18); font-size: 15px; }.auth-page[data-page="login"] #authSubmit:hover { box-shadow: 0 9px 0 rgba(23,50,77,.16); }.auth-legal { position: relative; z-index: 1; margin: 18px 0 0 !important; color: #81909f !important; font-size: 11px !important; line-height: 1.7 !important; }.auth-legal a { color: #48677f; font-weight: 850; }

@media (max-width: 1180px) {
  .auth-page[data-page="login"] { grid-template-columns: minmax(520px,1fr) minmax(470px,.9fr); }.auth-page[data-page="login"] .auth-art { padding-inline: 32px; }.auth-art-content { grid-template-columns: minmax(245px,.8fr) minmax(285px,1.2fr); }.auth-pet-scene { width: min(380px,100%); }.auth-page[data-page="login"] .auth-art-copy h1 { font-size: 52px; }.auth-benefits span { padding-inline: 7px; font-size: 11px; }
}
@media (max-width: 980px) {
  .auth-page[data-page="login"] { grid-template-columns: 1fr; }.auth-page[data-page="login"] .auth-art { display: none; }.auth-page[data-page="login"] .auth-panel { min-height: 100svh; padding: 32px 20px; }
}
@media (max-width: 560px) {
  .auth-page[data-page="login"] .auth-panel { padding: 14px; align-items: start; }.auth-page[data-page="login"] .auth-card { margin: 8px 0; padding: 22px 20px 24px; border-radius: 28px; box-shadow: 7px 8px 0 rgba(23,50,77,.13); }.auth-card-header { min-height: 48px; }.auth-card-brand span { display: none; }.auth-card-brand img { width: 44px; height: 44px; }.auth-card-kicker { margin-top: 14px !important; }.auth-page[data-page="login"] .auth-card h2 { font-size: 33px; }.auth-page[data-page="login"] .auth-card > #authSubtitle { margin-bottom: 18px; }.auth-page[data-page="login"] .auth-tabs { min-height: 51px; }.auth-page[data-page="login"] .auth-tab { padding-inline: 7px; font-size: 13px; }.auth-page[data-page="login"] .portal-form { margin-top: 18px; }.auth-legal { font-size: 10px !important; }
}

@media (min-width: 981px) and (min-height: 900px) {
  .auth-page[data-page="login"] .auth-art { padding: 34px 50px 38px; grid-template-rows: auto 1fr; gap: 18px; }
  .auth-brand > img { width: 72px; height: 72px; }.auth-brand { font-size: 20px; }.auth-brand small { font-size: 11px; }
  .auth-art-content { min-height: calc(100svh - 162px); grid-template-columns: minmax(330px,.76fr) minmax(470px,1.24fr); grid-template-rows: minmax(0,1fr) auto; gap: 30px 28px; }
  .auth-page[data-page="login"] .auth-art-copy { max-width: 560px; padding-bottom: 0; }
  .auth-kicker { margin-bottom: 25px !important; padding: 11px 18px; font-size: 17px; }
  .auth-page[data-page="login"] .auth-art-copy h1 { font-size: clamp(68px,6.2vh,90px); line-height: 1.13; }
  .auth-page[data-page="login"] .auth-art-copy h1 strong::after { bottom: -31px; border-top-width: 7px; }
  .auth-art-lead { max-width: 535px; margin-top: 40px !important; font-size: 21px; line-height: 2 !important; }
  .auth-pet-scene { width: min(720px,58vh,100%); }
  .auth-pet-note { top: 5%; right: 1%; padding: 14px 20px; border-radius: 19px 19px 5px; font-size: 18px; }
  .auth-mini-card { right: 0; bottom: 2%; min-width: 280px; padding: 20px 22px; border-radius: 23px; }.auth-mini-card span { font-size: 14px; }.auth-mini-card strong { margin-top: 6px; font-size: 27px; }.auth-mini-card small { margin-top: 7px; font-size: 14px; }
  .auth-benefits { gap: 15px; }.auth-benefits span { min-height: 68px; padding: 11px 16px; border-radius: 19px; font-size: 16px; }.auth-benefits b { width: 37px; height: 37px; margin-right: 11px; border-radius: 12px; font-size: 17px; }
}
