/* HinhAnhYHoc V5.1 - password auth + dual real/demo access */
.v51-auth-card{max-width:500px;margin:0 auto;padding:30px;border-radius:24px;box-shadow:0 22px 60px rgba(31,64,93,.09)}
.v51-auth-card h2{font-size:28px;margin:7px 0 8px}.v51-auth-intro{margin-bottom:18px!important}
.v51-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:5px;margin:18px 0 22px}
.v51-auth-tab{border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:750;padding:11px 14px;border-radius:10px;cursor:pointer;transition:.18s}
.v51-auth-tab.active{background:var(--surface);color:var(--ink);box-shadow:0 5px 16px rgba(27,55,82,.08)}
.v51-auth-form .form-field{margin-bottom:14px}.v51-auth-form .text{min-height:46px}.v51-auth-form .form-error:empty{display:none}
.v51-auth-demo{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}
.v51-auth-demo .btn{width:auto!important;margin:0}.landing-auth-card .v51-auth-card{margin:0;max-width:none;box-shadow:none}
[data-theme=dark] .v51-auth-tabs{background:#0d1d25}.v51-auth-tab:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:600px){.v51-auth-card{padding:24px 20px}.v51-auth-card h2{font-size:24px}.v51-auth-demo{align-items:stretch;flex-direction:column}.v51-auth-demo .btn{width:100%!important}}

/* V5.1 visual system — seasonal multi-theme experience */
:root{
  --theme-accent:var(--teal);
  --theme-accent-2:#49b7a6;
  --theme-warm:#c7834f;
  --theme-page-glow:rgba(11,113,108,.09);
  --theme-hero-a:#102f3a;
  --theme-hero-b:#143e47;
  --theme-soft:var(--teal-light);
  --theme-card-glow:rgba(18,75,84,.06);
}
[data-theme="light"]{
  --bg:#f6f8fa;--surface:#ffffff;--ink:#18303d;--muted:#6f818c;--line:#e2e9ed;--teal:#0b716c;--teal-light:#e7f5f2;--nav:#102936;--orange:#bc7246;
  --theme-accent:#0b716c;--theme-accent-2:#48b7a5;--theme-warm:#c7834f;--theme-page-glow:rgba(11,113,108,.09);--theme-hero-a:#102f3a;--theme-hero-b:#143e47;--theme-soft:#e7f5f2;--theme-card-glow:rgba(18,75,84,.06);
  color-scheme:light;
}
[data-theme="dark"]{
  --theme-accent:#56bfb7;--theme-accent-2:#7dd5c7;--theme-warm:#d99b6d;--theme-page-glow:rgba(72,183,165,.11);--theme-hero-a:#0d2028;--theme-hero-b:#13303a;--theme-soft:#123531;--theme-card-glow:rgba(0,0,0,.22);
  color-scheme:dark;
}
[data-theme="autumn"]{
  --bg:#fff7ed;--surface:#fffdf9;--ink:#4b3025;--muted:#8a6d5d;--line:#ead7c5;--teal:#b65a37;--teal-light:#f8e5d5;--nav:#4a2d23;--orange:#d28b38;--shadow:0 12px 36px rgba(112,57,31,.09);
  --surface-2:#fff8ef;--theme-accent:#b65a37;--theme-accent-2:#d18a3b;--theme-warm:#8f3d2a;--theme-page-glow:rgba(211,123,54,.16);--theme-hero-a:#5a2f26;--theme-hero-b:#9a4b2e;--theme-soft:#f8e5d5;--theme-card-glow:rgba(132,63,35,.09);
  color-scheme:light;
}
[data-theme="ocean"]{
  --bg:#eef8fc;--surface:#fbfeff;--ink:#173447;--muted:#668495;--line:#d5e8f0;--teal:#176f9f;--teal-light:#e0f1f8;--nav:#12364f;--orange:#4a9dc0;--shadow:0 12px 36px rgba(25,103,143,.08);
  --surface-2:#f4fbfe;--theme-accent:#176f9f;--theme-accent-2:#20a2ac;--theme-warm:#4e9ec0;--theme-page-glow:rgba(31,151,184,.14);--theme-hero-a:#0e3856;--theme-hero-b:#0f6675;--theme-soft:#e0f1f8;--theme-card-glow:rgba(23,111,159,.08);
  color-scheme:light;
}
[data-theme="sakura"]{
  --bg:#fff5f8;--surface:#fffdfd;--ink:#4a2d39;--muted:#866a77;--line:#efd9e2;--teal:#b34f78;--teal-light:#fae5ee;--nav:#4d2a3d;--orange:#d5819b;--shadow:0 12px 36px rgba(145,66,100,.08);
  --surface-2:#fff7fa;--theme-accent:#b34f78;--theme-accent-2:#d984a6;--theme-warm:#9e5a82;--theme-page-glow:rgba(203,102,141,.14);--theme-hero-a:#5a3043;--theme-hero-b:#9b536f;--theme-soft:#fae5ee;--theme-card-glow:rgba(179,79,120,.08);
  color-scheme:light;
}
[data-theme="aurora"]{
  --bg:#0d1122;--surface:#151a2f;--surface-2:#11172a;--ink:#edf1ff;--muted:#a8b3d0;--line:#29314e;--teal:#8d76ff;--teal-light:#252447;--nav:#12172a;--orange:#48d1b2;--shadow:0 16px 44px rgba(0,0,0,.3);
  --theme-accent:#8d76ff;--theme-accent-2:#48d1b2;--theme-warm:#f28cc5;--theme-page-glow:rgba(89,214,184,.13);--theme-hero-a:#171d42;--theme-hero-b:#20345a;--theme-soft:#252447;--theme-card-glow:rgba(108,92,231,.15);
  color-scheme:dark;
}

/* Theme picker */
.theme-picker{position:relative;z-index:120}.theme-trigger{height:40px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--ink);border-radius:12px;padding:0 12px;font:inherit;font-size:10px;font-weight:800;box-shadow:0 8px 24px var(--theme-card-glow);backdrop-filter:blur(16px)}.theme-trigger .icon{width:16px;height:16px;color:var(--theme-accent)}.theme-trigger i{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.55}.theme-trigger:hover{border-color:color-mix(in srgb,var(--theme-accent) 55%,var(--line));transform:translateY(-1px)}
.theme-picker.compact .theme-trigger{width:42px;padding:0;justify-content:center}.theme-picker.compact .theme-trigger>span,.theme-picker.compact .theme-trigger>i{display:none}.theme-menu{position:absolute;right:0;top:calc(100% + 10px);width:300px;padding:10px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 24px 70px rgba(27,40,58,.2);backdrop-filter:blur(24px);opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:.18s ease;z-index:150}.theme-picker.open .theme-menu{opacity:1;visibility:visible;transform:none}.theme-option{width:100%;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:10px;border:0;background:transparent;color:var(--ink);padding:9px;border-radius:12px;text-align:left;cursor:pointer}.theme-option:hover,.theme-option.active{background:var(--theme-soft)}.theme-option>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.theme-option strong{font-size:11px}.theme-option small{font-size:9px;color:var(--muted)}.theme-option>.icon{width:16px;height:16px;color:var(--theme-accent)}.theme-swatch{width:40px;height:34px;border-radius:11px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.45);box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}.theme-swatch b,.theme-swatch i{position:absolute;border-radius:50%}.theme-swatch b{width:22px;height:22px;right:-3px;top:-5px}.theme-swatch i{width:18px;height:18px;left:-2px;bottom:-5px}.swatch-light{background:#f6f8fa}.swatch-light b{background:#0b716c}.swatch-light i{background:#d7ebe7}.swatch-dark{background:#0e2028}.swatch-dark b{background:#56bfb7}.swatch-dark i{background:#243b48}.swatch-autumn{background:#fff0dc}.swatch-autumn b{background:#b65a37}.swatch-autumn i{background:#d28b38}.swatch-ocean{background:#e6f6fb}.swatch-ocean b{background:#176f9f}.swatch-ocean i{background:#20a2ac}.swatch-sakura{background:#fff0f5}.swatch-sakura b{background:#b34f78}.swatch-sakura i{background:#efb4c8}.swatch-aurora{background:#171d42}.swatch-aurora b{background:#8d76ff}.swatch-aurora i{background:#48d1b2}

/* Shared seasonal motion */
.theme-ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.theme-ambient span{--x:calc((var(--particle) * 8.1 + 4) * 1%);position:absolute;left:var(--x);top:-12vh;opacity:.28;animation:themeFloat calc(12s + var(--particle)*.7s) linear infinite;animation-delay:calc(var(--particle)*-1.35s)}.landing-shell>:not(.theme-ambient),.v51-auth-shell>:not(.theme-ambient){position:relative;z-index:1}.site-body{position:relative;z-index:1}.app-ambient{opacity:.35}
[data-theme="autumn"] .theme-ambient span{width:16px;height:22px;background:linear-gradient(145deg,#db8a37,#9d482d);border-radius:85% 8% 75% 15%;transform:rotate(25deg);box-shadow:8px 10px 18px rgba(133,68,33,.1);animation-name:autumnLeaf}
[data-theme="ocean"] .theme-ambient span{width:10px;height:10px;border:1px solid rgba(72,169,205,.75);border-radius:50%;background:rgba(255,255,255,.16);animation-name:oceanBubble}
[data-theme="sakura"] .theme-ambient span{width:15px;height:10px;background:linear-gradient(135deg,#ffd2e1,#da84a7);border-radius:80% 20% 80% 20%;animation-name:sakuraPetal}
[data-theme="aurora"] .theme-ambient span{width:3px;height:3px;border-radius:50%;background:#d9faff;box-shadow:0 0 12px #70e5ce;animation-name:auroraStar}
[data-theme="light"] .theme-ambient span,[data-theme="dark"] .theme-ambient span{width:6px;height:6px;border-radius:50%;background:var(--theme-accent);filter:blur(.4px);opacity:.12}
@keyframes themeFloat{to{transform:translate3d(20px,120vh,0) rotate(180deg)}}@keyframes autumnLeaf{0%{transform:translate3d(0,-10vh,0) rotate(10deg)}45%{transform:translate3d(38px,55vh,0) rotate(185deg)}100%{transform:translate3d(-20px,120vh,0) rotate(370deg)}}@keyframes oceanBubble{0%{transform:translateY(115vh) scale(.6);opacity:0}15%{opacity:.34}100%{transform:translateY(-25vh) translateX(32px) scale(1.5);opacity:0}}@keyframes sakuraPetal{0%{transform:translate3d(0,-12vh,0) rotate(0)}50%{transform:translate3d(-28px,55vh,0) rotate(220deg)}100%{transform:translate3d(25px,118vh,0) rotate(440deg)}}@keyframes auroraStar{0%,100%{opacity:.08;transform:scale(.7)}50%{opacity:.65;transform:scale(1.5)}}

/* Theme-aware global surfaces */
body{background:radial-gradient(circle at 82% -12%,var(--theme-page-glow),transparent 34%),var(--bg);transition:background .32s ease,color .24s ease}.sidebar,.topbar,.card,.subject-card,.lesson-card,.article-row,.mode-card,.profile-stat,.v46-course-card,.v46-tool-card,.v46-exam-card,.v50-calendar-card,.v50-day-panel{transition:background .24s ease,border-color .24s ease,box-shadow .24s ease,color .24s ease}.btn.primary{background:linear-gradient(135deg,var(--theme-accent),color-mix(in srgb,var(--theme-accent) 76%,var(--theme-accent-2)))}.btn.primary:hover{background:linear-gradient(135deg,color-mix(in srgb,var(--theme-accent) 90%,#000),var(--theme-accent-2));transform:translateY(-1px)}.nav-link.active{color:var(--theme-accent);background:var(--theme-soft)}.brand-mark{background:linear-gradient(145deg,var(--theme-accent),color-mix(in srgb,var(--theme-accent) 70%,#111))}.eyebrow,.text-link{color:var(--theme-accent)}.stat-icon,.subject-icon{background:var(--theme-soft);color:var(--theme-accent)}
.hero,.premium-hero{background:linear-gradient(135deg,var(--theme-hero-a),var(--theme-hero-b))}.hero h2 em{color:color-mix(in srgb,var(--theme-accent-2) 62%,#fff)}.hero-copy .eyebrow{color:color-mix(in srgb,var(--theme-accent-2) 65%,#fff)}
[data-theme="autumn"] .hero,[data-theme="autumn"] .premium-hero{box-shadow:0 24px 60px rgba(104,51,31,.18)}[data-theme="ocean"] .hero,[data-theme="ocean"] .premium-hero{box-shadow:0 24px 60px rgba(20,96,128,.16)}[data-theme="sakura"] .hero,[data-theme="sakura"] .premium-hero{box-shadow:0 24px 60px rgba(125,56,86,.15)}[data-theme="aurora"] .hero,[data-theme="aurora"] .premium-hero{box-shadow:0 24px 70px rgba(0,0,0,.34)}

/* Landing re-skin */
.landing-shell{background:radial-gradient(circle at 82% 5%,var(--theme-page-glow),transparent 28%),linear-gradient(180deg,color-mix(in srgb,var(--bg) 95%,#fff) 0%,var(--bg) 58%,color-mix(in srgb,var(--bg) 92%,var(--theme-soft)) 100%);color:var(--ink)}.landing-topbar{background:color-mix(in srgb,var(--surface) 88%,transparent);border-color:var(--line)}.landing-brand small,.landing-nav{color:var(--muted)}.landing-nav a:hover{color:var(--theme-accent)}.landing-hero{background:linear-gradient(135deg,var(--theme-hero-a),var(--theme-hero-b));box-shadow:0 30px 80px var(--theme-card-glow)}.landing-hero:after{border-color:color-mix(in srgb,var(--theme-accent-2) 30%,transparent);box-shadow:0 0 0 55px color-mix(in srgb,var(--theme-accent-2) 8%,transparent),0 0 0 110px color-mix(in srgb,var(--theme-accent-2) 4%,transparent)}.landing-hero-copy .eyebrow{color:color-mix(in srgb,var(--theme-accent-2) 72%,#fff)}.landing-feature-grid article,.landing-course-card{background:color-mix(in srgb,var(--surface) 90%,transparent);border-color:var(--line);box-shadow:0 14px 36px var(--theme-card-glow);backdrop-filter:blur(10px)}.landing-feature-grid article:hover,.landing-course-card:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--theme-accent) 46%,var(--line));box-shadow:0 22px 48px var(--theme-card-glow)}.landing-feature-grid article>span:first-child,.landing-course-icon{background:var(--theme-soft);color:var(--theme-accent)}.landing-feature-grid p,.landing-course-card p,.landing-course-card>span:last-child,.landing-section-head>p:last-child:not(.eyebrow){color:var(--muted)}.landing-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.landing-nav{margin-left:auto}.landing-top-actions+.x{display:none}.v51-landing-cta{width:min(1320px,calc(100% - 48px));margin:96px auto 72px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;padding:clamp(30px,5vw,58px);border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 90%,var(--theme-soft)),var(--surface));box-shadow:0 24px 64px var(--theme-card-glow);overflow:hidden;position:relative}.v51-landing-cta:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,var(--theme-page-glow),transparent 68%)}.v51-landing-cta>div{position:relative;z-index:1}.v51-landing-cta h2{font-size:clamp(29px,3.5vw,45px);line-height:1.15;letter-spacing:-1.3px;max-width:760px}.v51-landing-cta p:not(.eyebrow){margin-top:12px;color:var(--muted);max-width:700px}.v51-landing-cta-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

/* Dedicated authentication page */
.v51-auth-shell{min-height:100vh;background:radial-gradient(circle at 10% 10%,var(--theme-page-glow),transparent 28%),radial-gradient(circle at 90% 90%,color-mix(in srgb,var(--theme-accent-2) 12%,transparent),transparent 30%),var(--bg);color:var(--ink);overflow:hidden;isolation:isolate}.v51-auth-topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(20px,5vw,72px);border-bottom:1px solid color-mix(in srgb,var(--line) 78%,transparent);background:color-mix(in srgb,var(--surface) 82%,transparent);backdrop-filter:blur(18px)}.v51-auth-top-actions{display:flex;align-items:center;gap:10px}.v51-auth-top-actions .btn .icon{transform:rotate(180deg)}.v51-auth-main{width:min(1240px,calc(100% - 40px));min-height:calc(100vh - 138px);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,520px);align-items:center;gap:clamp(38px,7vw,100px);padding:54px 0}.v51-auth-story{padding:20px 0;max-width:650px}.v51-auth-story h1{font-size:clamp(42px,5vw,68px);line-height:1.03;letter-spacing:-2.4px;margin:12px 0 22px}.v51-auth-story>p:not(.eyebrow){font-size:14px;line-height:1.9;color:var(--muted);max-width:610px}.v51-auth-benefits{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.v51-auth-benefits span{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 72%,transparent);font-size:10px;font-weight:750;box-shadow:0 8px 20px var(--theme-card-glow)}.v51-auth-benefits .icon{width:15px;height:15px;color:var(--theme-accent)}.v51-auth-season{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.6px;color:var(--muted);font-weight:800}.v51-auth-season>span{width:35px;height:7px;border-radius:99px;background:linear-gradient(90deg,var(--theme-accent),var(--theme-accent-2))}.v51-auth-panel{position:relative}.v51-auth-panel:before{content:"";position:absolute;inset:-18px;border-radius:34px;background:linear-gradient(145deg,color-mix(in srgb,var(--theme-accent) 12%,transparent),transparent 55%);filter:blur(2px);z-index:-1}.v51-auth-panel .v51-auth-card{max-width:none;margin:0;padding:34px;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 28px 80px var(--theme-card-glow);backdrop-filter:blur(18px)}.v51-auth-panel .v51-auth-card h2{font-size:31px}.v51-auth-tabs{background:color-mix(in srgb,var(--bg) 80%,var(--surface));border-color:var(--line)}.v51-auth-tab.active{background:var(--surface);color:var(--ink);box-shadow:0 8px 24px var(--theme-card-glow)}.v51-auth-form .text{border-radius:12px;background:color-mix(in srgb,var(--surface) 88%,var(--bg));border-color:var(--line)}.v51-auth-form .text:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 12%,transparent)}.v51-auth-demo{border-color:var(--line)}.v51-auth-demo-cta{margin-top:4px}.v51-auth-footer{height:60px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:9px;letter-spacing:.4px;border-top:1px solid color-mix(in srgb,var(--line) 70%,transparent)}
[data-theme="autumn"] .v51-auth-story h1{color:#5a3327}[data-theme="ocean"] .v51-auth-story h1{color:#153f59}[data-theme="sakura"] .v51-auth-story h1{color:#583244}[data-theme="aurora"] .v51-auth-story h1{background:linear-gradient(100deg,#fff,#9cefe0,#b7a7ff);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Support placement requested for V5.1 */
.v46-support{left:auto!important;right:22px!important;bottom:22px!important}.v46-support-menu{align-items:flex-end}.v46-support-item{box-shadow:0 12px 28px var(--theme-card-glow)}

/* Extra theme-specific polish */
[data-theme="autumn"] .landing-visual,[data-theme="autumn"] .scanner-shell{filter:drop-shadow(0 24px 48px rgba(102,49,29,.24))}[data-theme="ocean"] .landing-visual,[data-theme="ocean"] .scanner-shell{filter:drop-shadow(0 24px 48px rgba(18,103,135,.2))}[data-theme="sakura"] .landing-visual,[data-theme="sakura"] .scanner-shell{filter:drop-shadow(0 24px 48px rgba(145,65,98,.18))}[data-theme="aurora"] .landing-visual,[data-theme="aurora"] .scanner-shell{filter:drop-shadow(0 24px 56px rgba(83,219,193,.16))}
[data-theme="autumn"] .v50-calendar-head,[data-theme="autumn"] .v46-subject-hero{background:linear-gradient(135deg,#fff8ed,#f9eadc)}[data-theme="ocean"] .v50-calendar-head,[data-theme="ocean"] .v46-subject-hero{background:linear-gradient(135deg,#f5fbfe,#e6f4fa)}[data-theme="sakura"] .v50-calendar-head,[data-theme="sakura"] .v46-subject-hero{background:linear-gradient(135deg,#fff9fb,#fae9ef)}[data-theme="aurora"] .v50-calendar-head,[data-theme="aurora"] .v46-subject-hero{background:linear-gradient(135deg,#151a2f,#1c2441);border-color:#303a5d}.v46-subject-hero h1,.v50-calendar-head h1{color:var(--ink)}
[data-theme="autumn"] .v50-result-hero,[data-theme="ocean"] .v50-result-hero,[data-theme="sakura"] .v50-result-hero{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--theme-soft) 55%,var(--surface)))}[data-theme="aurora"] .v50-result-hero{background:linear-gradient(145deg,#171d35,#12182b)}

@media(max-width:900px){.v51-auth-main{grid-template-columns:1fr;max-width:680px;padding:34px 0}.v51-auth-story{padding-bottom:0}.v51-auth-story h1{font-size:44px}.v51-auth-benefits{margin-bottom:8px}.v51-auth-story>.v51-auth-demo-cta{display:none}.v51-landing-cta{grid-template-columns:1fr}.v51-landing-cta-actions{justify-content:flex-start}}
@media(max-width:760px){.landing-top-actions .theme-picker{display:block}.landing-top-actions{gap:7px}.landing-login-cta{margin-left:0}.theme-menu{position:fixed;right:14px;left:14px;top:72px;width:auto}.theme-picker.compact .theme-trigger{width:38px;height:38px}.v51-auth-topbar{height:68px;padding:0 15px}.v51-auth-top-actions .btn{font-size:0;width:40px;padding:0}.v51-auth-top-actions .btn .icon{margin:0}.v51-auth-main{width:calc(100% - 28px);padding:22px 0 34px;gap:24px}.v51-auth-story h1{font-size:36px;letter-spacing:-1.5px}.v51-auth-story>p:not(.eyebrow){font-size:12px}.v51-auth-benefits{display:grid;grid-template-columns:1fr 1fr}.v51-auth-panel .v51-auth-card{padding:24px 20px;border-radius:22px}.v51-auth-footer{height:auto;padding:18px 16px;flex-direction:column;align-items:flex-start}.v51-landing-cta{width:calc(100% - 28px);margin:58px auto 42px;padding:28px 22px}.v46-support{right:14px!important;bottom:14px!important;left:auto!important}}
@media(max-width:480px){.v51-auth-story{padding:6px 2px}.v51-auth-story h1{font-size:32px}.v51-auth-benefits{grid-template-columns:1fr}.v51-auth-top-actions .theme-picker{display:block}.v51-auth-panel .v51-auth-card h2{font-size:26px}.theme-option{grid-template-columns:38px 1fr 16px}.theme-swatch{width:36px;height:31px}.landing-top-actions .theme-picker{display:none}}
@media(prefers-reduced-motion:reduce){.theme-ambient{display:none}.theme-trigger,.theme-menu,.landing-feature-grid article,.landing-course-card{transition:none!important}.theme-ambient span{animation:none!important}}
/* Keep theme popover above page content in dedicated shells. */
.v51-auth-topbar,.landing-topbar{position:relative;z-index:220!important;overflow:visible}.theme-picker{z-index:240}.theme-menu{z-index:260}
.theme-check{display:grid;place-items:center;opacity:0;color:var(--theme-accent);transition:opacity .15s ease}.theme-check .icon{width:16px;height:16px}.theme-option.active .theme-check{opacity:1}
