:root{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html{min-width:280px}body{margin:0}.holiday-page{--sky1:#a7444b;--sky2:#ee8d36;--sky3:#f8cf75;--ink:#352323;--paper:#fff9ed;--accent:#ed8632;min-height:100svh;padding:clamp(14px,3vw,34px);display:grid;place-items:center;position:relative;overflow-x:hidden;color:var(--ink);background:radial-gradient(circle at 12% 16%,var(--sky3),transparent 37%),linear-gradient(145deg,var(--sky1),var(--sky2) 65%,var(--sky3))}.theme-christmas{--sky1:#154f4a;--sky2:#1d8060;--sky3:#e45b58;--paper:#fbfff9;--ink:#194039}.theme-newyear{--sky1:#111d42;--sky2:#383983;--sky3:#c7a45f;--paper:#fffaf0;--ink:#222b50}.theme-valentine{--sky1:#a92c69;--sky2:#e86092;--sky3:#ffb9d1;--paper:#fff7fa;--ink:#542747}.theme-easter{--sky1:#59ac9c;--sky2:#9aafdc;--sky3:#efc9e5;--paper:#fcfff6;--ink:#374c59}.theme-halloween{--sky1:#32224a;--sky2:#a6543f;--sky3:#f4a041;--paper:#fff9ef;--ink:#40283a}.theme-normal{--sky1:#07316a;--sky2:#a9386f;--sky3:#f1b337;--paper:#fff;--ink:#292d54}.decorations{position:fixed;inset:0;overflow:hidden;pointer-events:none}.decorations span{position:absolute;left:calc(7% + var(--n)*12%);top:-46px;font-size:clamp(20px,3vw,33px);opacity:.75;animation:drift 11s linear infinite;animation-delay:calc(var(--n)*-1.35s)}.holiday-shell{isolation:isolate;position:relative;width:min(100%,490px);margin:auto;background:var(--paper);border:2px solid #ffffffc9;border-radius:28px;padding:clamp(20px,5vw,34px);text-align:center;box-shadow:0 18px 45px #20193344;overflow:hidden}.holiday-shell::before{content:"";position:absolute;inset:0 0 auto;height:9px;background:repeating-linear-gradient(90deg,#ffb842 0 38px,#fb7172 38px 76px,#72cebc 76px 114px,#a2a0f0 114px 152px)}.topline{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;font-size:clamp(12px,3vw,15px);font-weight:800;color:var(--ink)}.topline span:last-child{white-space:nowrap}.season-label{display:inline-block;margin:20px 0 3px;background:var(--accent);color:#fff;border-radius:30px;padding:7px 16px;font-size:14px;font-weight:900;box-shadow:0 5px 12px #0002}.mascot{border:0;display:block;background:none;cursor:pointer;margin:4px auto 5px;min-height:132px;min-width:150px;padding:0;font-size:clamp(100px,24vw,152px);line-height:1;filter:drop-shadow(0 9px 7px #4324174f);animation:bob 3.6s ease-in-out infinite}.mascot img{display:block;width:min(280px,72vw);height:148px;object-fit:contain}.mascot.dance{animation:dance .6s ease-in-out 3}.holiday-shell h1{font-size:clamp(30px,7vw,43px);line-height:1.12;letter-spacing:-1px;margin:7px auto;color:var(--ink);text-wrap:balance}.subtitle{font-size:clamp(16px,4vw,19px);line-height:1.4;margin:8px auto 20px;max-width:34ch}.language{display:inline-flex;padding:3px;gap:3px;background:#e9e7e4;border-radius:30px;margin:0 auto 20px}.language button{background:none;border:0;border-radius:24px;padding:9px 13px;cursor:pointer;font:700 14px system-ui;color:#464655}.language button.selected{background:#293c66;color:white;box-shadow:0 2px 5px #0002}.holiday-shell form{text-align:left}.holiday-shell label{display:block;font-weight:800;margin:0 0 8px}.password-field{display:flex;border:2px solid #85838a;border-radius:13px;background:#fff;overflow:hidden}.password-field:focus-within{border-color:#365ab2;box-shadow:0 0 0 3px #365ab244}.password-field input{min-width:0;width:100%;height:51px;padding:0 14px;border:0;background:none;font:16px system-ui;outline:0;color:#222}.password-field button{width:51px;flex:0 0 51px;border:0;background:#eef0f3;cursor:pointer}.connect{display:block;width:100%;margin:17px 0 0;background:#255d50;color:#fff;border:0;border-radius:13px;padding:15px 12px;text-align:center;text-decoration:none;font:800 17px system-ui;cursor:pointer}.theme-newyear .connect{background:#313d80}.theme-halloween .connect{background:#60356d}.theme-valentine .connect{background:#a72e67}.failure .connect{background:#ab3543}.access-time,.message-box{margin:20px auto 0;background:#fff;border:1px solid #d9d6cd;border-radius:13px;padding:13px;font-weight:700}.message-box strong{display:block;font-size:21px;margin-top:3px}.wish{font-size:19px;font-weight:800;margin:15px 0}.help{font-size:14px}.holiday-shell details{text-align:left;margin:15px 0;font-size:14px}.holiday-shell summary{cursor:pointer;font-weight:700}.holiday-shell details p{line-height:1.5}.holiday-shell footer{margin-top:17px;border-top:1px solid #d7d1c7;padding-top:14px;font-size:13px;font-weight:800}.holiday-shell :focus-visible{outline:3px solid #153da3;outline-offset:3px}@keyframes drift{to{transform:translate3d(36px,115vh,0) rotate(280deg)}}@keyframes bob{50%{transform:translateY(-6px) rotate(2deg)}}@keyframes dance{25%{transform:rotate(-11deg) scale(1.08)}70%{transform:rotate(11deg) scale(1.08)}}@media(max-width:380px){.holiday-shell{padding:20px 15px}.mascot{min-height:110px}.mascot img{height:116px}.holiday-shell h1{font-size:29px}.topline{font-size:12px}}@media(prefers-reduced-motion:reduce){.decorations span,.mascot,.mascot.dance{animation:none}.decorations span{opacity:.35}}
/* The everyday login stays intact; only lightweight seasonal confetti appears. */
.login-holiday-decor{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.login-holiday-decor span{position:absolute;left:calc(7% + var(--n)*12%);top:-42px;font-size:26px;opacity:.75;animation:drift 11s linear infinite;animation-delay:calc(var(--n)*-1.35s)}
.seasonal-login .card{z-index:1}
.center-flags{font-size:25px;letter-spacing:5px;margin:13px 0 17px;text-align:center}
.sound-button{display:block;margin:18px auto 0;padding:9px 14px;border:1px solid #a9a8aa;border-radius:24px;background:#fff;color:#354054;font:700 14px system-ui;cursor:pointer}
.sound-button:focus-visible{outline:3px solid #153da3;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.login-holiday-decor span{animation:none;opacity:.32}}
/* Match the original login's background to the active season. */
body.seasonal-login.theme-thanksgiving{background:radial-gradient(circle at 15% 14%,#ffc66c,transparent 34%),radial-gradient(circle at 85% 81%,#d86658,transparent 39%),linear-gradient(145deg,#643e58,#b95a42,#eeae54)}
body.seasonal-login.theme-christmas{background:radial-gradient(circle at 16% 17%,#e9c975,transparent 32%),radial-gradient(circle at 85% 83%,#c44052,transparent 35%),linear-gradient(145deg,#13483f,#166d53,#b63448)}
body.seasonal-login.theme-newyear{background:radial-gradient(circle at 19% 21%,#a38d58,transparent 32%),radial-gradient(circle at 87% 82%,#7d65ba,transparent 36%),linear-gradient(145deg,#0f1b42,#303779,#1d3154)}
body.seasonal-login.theme-valentine{background:radial-gradient(circle at 14% 20%,#ffb6ca,transparent 32%),radial-gradient(circle at 86% 78%,#d44c9a,transparent 35%),linear-gradient(145deg,#8d2058,#cf5481,#803476)}
body.seasonal-login.theme-easter{background:radial-gradient(circle at 13% 15%,#f8e7aa,transparent 34%),radial-gradient(circle at 86% 82%,#c6b3ee,transparent 38%),linear-gradient(145deg,#5ca593,#91add1,#9677c4)}
body.seasonal-login.theme-halloween{background:radial-gradient(circle at 16% 17%,#e8904b,transparent 35%),radial-gradient(circle at 86% 81%,#884fc2,transparent 36%),linear-gradient(145deg,#292142,#683962,#ae5933)}
.seasonal-login .card::before{background:linear-gradient(90deg,#f5c76a,var(--holiday-color,#eb7845),#f5c76a)}
.seasonal-login.theme-christmas{--holiday-color:#e35a64}.seasonal-login.theme-halloween{--holiday-color:#f28a32}.seasonal-login.theme-easter{--holiday-color:#a9e0bd}.seasonal-login.theme-newyear{--holiday-color:#d9b65a}.seasonal-login.theme-valentine{--holiday-color:#ec77a8}
.christmas-lights{position:fixed;z-index:3;top:0;left:0;right:0;height:62px;display:flex;justify-content:space-around;pointer-events:none;border-top:3px solid #295136}
.christmas-lights span{position:relative;width:11px;height:21px;margin-top:14px;border-radius:55% 55% 65% 65%;background:#ff5858;box-shadow:0 0 17px 5px #ff6555;animation:light-glow 2.1s ease-in-out infinite}
.christmas-lights span::before{content:"";position:absolute;top:-7px;left:3px;width:6px;height:8px;border-radius:2px;background:#345e46}
.christmas-lights span:nth-child(3n+2){background:#ffe074;box-shadow:0 0 17px 5px #ffdb5b;animation-delay:.5s}.christmas-lights span:nth-child(3n){background:#75c9fe;box-shadow:0 0 17px 5px #72c9ff;animation-delay:1s}
.holiday-corners{position:fixed;inset:auto 0 0;display:flex;justify-content:space-between;padding:0 clamp(5px,4vw,45px) 10px;z-index:1;pointer-events:none;font-size:clamp(42px,7vw,76px)}
.pumpkin-corners span{filter:drop-shadow(0 0 15px #ff962d);animation:pumpkin-glow 2.6s ease-in-out infinite alternate}.pumpkin-corners span:last-child{animation-delay:1s}
.egg-corners span{filter:drop-shadow(0 5px 8px #522c794d);animation:bob 3s ease-in-out infinite}.egg-corners span:last-child{animation-delay:1s}
.holiday-page .holiday-shell{z-index:2}.seasonal-login .holiday-corners{z-index:0}
@keyframes light-glow{50%{opacity:.53;filter:brightness(1.5)}}@keyframes pumpkin-glow{to{filter:drop-shadow(0 0 27px #ffc05a) brightness(1.3)}}
@media(max-width:480px){.christmas-lights{height:42px}.christmas-lights span{width:8px;height:16px}.holiday-corners{font-size:39px}}
@media(prefers-reduced-motion:reduce){.christmas-lights span,.pumpkin-corners span,.egg-corners span{animation:none}}
.failure .holiday-shell h1{font-size:clamp(27px,6vw,37px);max-width:17ch;text-wrap:balance}
.failure .holiday-shell .subtitle{font-weight:700;color:#354052}
/* Small vector bursts sit behind the card and don't require image downloads. */
.newyear-fireworks{position:fixed;top:0;left:0;width:100%;height:min(37vh,260px);z-index:0;pointer-events:none;overflow:visible}
.newyear-fireworks .firework{color:#ffde70}.newyear-fireworks .aqua{color:#6ff2ed}.newyear-fireworks .pink{color:#ff8abb}
.newyear-fireworks .firework path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.newyear-fireworks .firework circle{fill:currentColor}
.newyear-fireworks .burst{transform-box:fill-box;transform-origin:center;animation:firework-burst 3.7s ease-out infinite;filter:drop-shadow(0 0 7px currentColor)}
.newyear-fireworks .aqua .burst{animation-delay:1.2s}.newyear-fireworks .pink .burst{animation-delay:2.4s}
@keyframes firework-burst{0%,9%{transform:scale(.15);opacity:0}15%{opacity:1}54%{transform:scale(1);opacity:1}77%,100%{transform:scale(1.12);opacity:0}}
@media(max-width:480px){.newyear-fireworks{height:175px;opacity:.9}}
@media(prefers-reduced-motion:reduce){.newyear-fireworks .burst{animation:none;opacity:.85}}
/* Keep the original form layout and give its center card seasonal color. */
.seasonal-login{--panel-a:#29305a;--panel-b:#642d52;--button-a:#ff9945;--button-b:#d04f64;--active-a:#e27745;--active-b:#e24d73}
.seasonal-login.theme-thanksgiving{--panel-a:#57304a;--panel-b:#8e4a30;--button-a:#da792e;--button-b:#b6444f}
.seasonal-login.theme-christmas{--panel-a:#164b48;--panel-b:#29604d;--button-a:#2c9d64;--button-b:#c83d51;--active-a:#1c9f75;--active-b:#ad3346}
.seasonal-login.theme-newyear{--panel-a:#182b59;--panel-b:#463277;--button-a:#906bc5;--button-b:#c79645;--active-a:#4f65af;--active-b:#9b5eae}
.seasonal-login.theme-valentine{--panel-a:#632344;--panel-b:#8e325f;--button-a:#ea6a93;--button-b:#ae3c78;--active-a:#ca4d85;--active-b:#883677}
.seasonal-login.theme-easter{--panel-a:#385987;--panel-b:#566d83;--button-a:#459a89;--button-b:#927bc8;--active-a:#5f9eb1;--active-b:#9a70c4}
.seasonal-login.theme-halloween{--panel-a:#302448;--panel-b:#65345f;--button-a:#e98637;--button-b:#9d4c97;--active-a:#aa5a9f;--active-b:#e1793d}
.seasonal-login .card{background:linear-gradient(145deg,var(--panel-a),var(--panel-b));border-color:#ffffff55}
.seasonal-login .connect{background:linear-gradient(110deg,var(--button-a),var(--button-b));box-shadow:0 12px 24px #090c2338}
.seasonal-login .lang.active{background:linear-gradient(110deg,var(--active-a),var(--active-b));color:#fff}
.seasonal-login .chip{background:#ffffff19;border-color:#ffffff47;color:#fff}
.seasonal-login .chip:nth-child(2){color:#ffeaa5}
.seasonal-login .password:focus{border-color:#fff5ad;box-shadow:0 0 0 4px #ffffff22}
/* Let seasonal symbols drift over the original login card without blocking taps. */
.seasonal-login .login-holiday-decor{z-index:9;pointer-events:none}
.seasonal-login .login-holiday-decor span{opacity:.72;filter:drop-shadow(0 2px 4px #101529aa)}
/* Result cards use the same rich colors as the holiday login card. */
.holiday-page{--result-a:#29305a;--result-b:#642d52;--result-title:#fff0be}
.holiday-page.theme-thanksgiving{--result-a:#57304a;--result-b:#8e4a30;--result-title:#ffe4a3}
.holiday-page.theme-christmas{--result-a:#164b48;--result-b:#29604d;--result-title:#fff0c6}
.holiday-page.theme-newyear{--result-a:#182b59;--result-b:#463277;--result-title:#ffe69a}
.holiday-page.theme-valentine{--result-a:#632344;--result-b:#8e325f;--result-title:#ffe1f0}
.holiday-page.theme-easter{--result-a:#385987;--result-b:#566d83;--result-title:#f0f6c9}
.holiday-page.theme-halloween{--result-a:#302448;--result-b:#65345f;--result-title:#ffd494}
.holiday-page .holiday-shell{z-index:2;background:linear-gradient(145deg,var(--result-a),var(--result-b));color:#fff;border:3px solid var(--accent)}
.holiday-page .holiday-shell h1{color:var(--result-title);text-shadow:0 2px 7px #0006}
.holiday-page .holiday-shell .subtitle,.holiday-page.failure .holiday-shell .subtitle,.holiday-page .holiday-shell .wish,.holiday-page .holiday-shell .help{color:#fff}
.holiday-page .holiday-shell footer{border-color:#ffffff66;color:#fff}
.holiday-page .holiday-shell::before{background:linear-gradient(90deg,var(--accent),#ffe18f,var(--accent))}
.holiday-page .message-box{background:#fffdf8;color:#25344b;border-color:#ffffffb8}
.holiday-page .decorations{z-index:9;pointer-events:none}
.holiday-page .decorations span{opacity:.7;filter:drop-shadow(0 2px 4px #101529aa)}
@media(prefers-reduced-motion:reduce){.holiday-page .decorations span,.seasonal-login .login-holiday-decor span{opacity:.45}}
