/* Watch Together · v74 free-room offer theme for the join screen (only active while body has .hw) */
body.hw{--ink:#f7ecff;--muted:#cdb8e8;--card:#22113acc;--lav2:#4d3170;--pink:#ff9a3c;--lav:#ff5e1a;color:#f7ecff;
 background:radial-gradient(120% 70% at 50% -8%,#6a2c93 0%,#33155a 38%,#170b29 72%,#0e0719 100%) fixed}
body.hw::before{opacity:.7;background-image:radial-gradient(#fff 1px,transparent 1.5px),radial-gradient(#ffd9a8 .8px,transparent 1.3px);background-size:46px 46px,71px 71px;background-position:0 0,23px 35px}
body.hw::after{content:"";position:fixed;left:-10%;right:-10%;bottom:-40px;height:190px;pointer-events:none;z-index:0;
 background:radial-gradient(60% 80% at 30% 100%,rgba(190,150,255,.22),transparent 70%),radial-gradient(55% 70% at 75% 100%,rgba(255,150,80,.16),transparent 70%);filter:blur(6px)}
body.hw .login-wrap{padding:18px 14px 70px;align-items:flex-start}
body.hw .card.login{position:relative;max-width:380px;padding:16px 16px 26px;background:linear-gradient(180deg,rgba(44,22,70,.86),rgba(24,12,40,.9));border:1px solid rgba(255,165,80,.32);
 box-shadow:0 0 0 1px rgba(0,0,0,.25),0 18px 50px rgba(0,0,0,.45),0 0 60px rgba(255,120,30,.16);overflow:visible}
body.hw .join .logo.logo-img{width:56px;height:56px;border-radius:16px;margin:-44px auto 4px;box-shadow:0 0 0 3px #2b1446,0 0 26px rgba(255,140,40,.55);position:relative;z-index:3}
body.hw .login h1{font-size:22px;color:#fff;text-shadow:0 0 18px rgba(255,150,60,.45)}
body.hw .join label{color:#e9c9ff}
body.hw .input{background:#170c27;color:#fff;border-color:#4e3270}
body.hw .input::placeholder{color:#a58cc4}
body.hw .input:focus{border-color:#ff9a3c;box-shadow:0 0 0 3px rgba(255,154,60,.18)}
body.hw .btn{background:linear-gradient(135deg,#ffb347 0%,#ff7a1a 55%,#f0520c 100%);color:#2a1300;box-shadow:0 6px 18px rgba(255,110,20,.38),inset 0 1px 0 rgba(255,255,255,.45);text-shadow:0 1px 0 rgba(255,255,255,.25)}
body.hw .btn.soft{background:#2e1a49;color:#f7ecff;box-shadow:0 4px 12px rgba(0,0,0,.35),inset 0 0 0 1px #4e3270;text-shadow:none}
body.hw .err{color:#ffb38a}
body.hw .or{color:#bda4dc}
body.hw .loginsec,body.hw .signed{border-top-color:#4d3170}
body.hw .seg2{background:#170c27;box-shadow:inset 0 0 0 1px #4e3270}
body.hw .seg2 button{color:#e9d8ff}
body.hw .seg2 button.active{background:linear-gradient(135deg,#ffb347,#ff6a1a);color:#2a1300}
body.hw .sheet{background:#1f1033;color:#f7ecff;box-shadow:0 -10px 40px rgba(0,0,0,.5),0 -2px 0 rgba(255,150,60,.35)}
body.hw .sheet .x{background:#33204f;color:#fff}
body.hw .dim{background:rgba(8,3,16,.6)}
body.hw .pwbox{background:#170c27;border-color:#ff9a3c}
body.hw .pwbox .dots{color:#ffd9a8}
body.hw .toast{background:#2e1a49;color:#fff}

/* ---- poster ---- */
.hwposter{position:relative;margin:2px 0 14px;border-radius:20px;overflow:hidden;min-height:228px;text-align:center;isolation:isolate;
 background:radial-gradient(90% 70% at 78% 18%,rgba(255,210,140,.22),transparent 55%),linear-gradient(180deg,#2a0f4a 0%,#4a1a6e 46%,#7a2d5a 78%,#c2501f 100%);
 box-shadow:inset 0 0 0 1px rgba(255,190,120,.35),inset 0 -30px 50px rgba(255,120,20,.25),0 10px 26px rgba(0,0,0,.45)}
.hwposter .moon{position:absolute;right:20px;top:26px;width:58px;height:58px;border-radius:50%;z-index:-1;
 background:radial-gradient(circle at 38% 36%,#fffbe6 0,#ffe7a8 45%,#f6c66b 75%,#e2a248 100%);box-shadow:0 0 30px 8px rgba(255,214,140,.45),0 0 90px 30px rgba(255,180,90,.18)}
.hwposter .moon::after{content:"";position:absolute;left:14px;top:20px;width:10px;height:8px;border-radius:50%;background:rgba(200,140,60,.35);box-shadow:20px 10px 0 -1px rgba(200,140,60,.28),8px 22px 0 -2px rgba(200,140,60,.25)}
.hwposter .stars{position:absolute;inset:0;z-index:-1;opacity:.8;background-image:radial-gradient(#fff 1px,transparent 1.4px);background-size:33px 29px;background-position:7px 5px;-webkit-mask:linear-gradient(#000 0 45%,transparent 70%);mask:linear-gradient(#000 0 45%,transparent 70%)}
.hwposter .bat{position:absolute;width:30px;height:14px;fill:#12061f;z-index:-1;animation:hwBat 6s ease-in-out infinite}
.hwposter .bat.b1{left:18px;top:30px}.hwposter .bat.b2{left:64px;top:16px;width:20px;animation-delay:-2s}.hwposter .bat.b3{right:84px;top:76px;width:18px;animation-delay:-4s}
@keyframes hwBat{0%,100%{transform:translate(0,0) scaleY(1)}25%{transform:translate(4px,-3px) scaleY(.6)}50%{transform:translate(8px,1px) scaleY(1)}75%{transform:translate(3px,3px) scaleY(.7)}}
.hwposter .web{position:absolute;left:-2px;top:-2px;width:66px;height:66px;opacity:.42;z-index:-1}
.hwposter .garland{position:absolute;left:0;right:0;top:0;height:30px;width:100%;z-index:1}
.hwtxt{position:relative;z-index:2;padding:30px 14px 0}
.hwkick{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#ffe2b8;background:rgba(20,6,34,.55);border:1px solid rgba(255,180,100,.45);padding:4px 10px;border-radius:999px}
.hwtitle{margin:8px 0 2px;font:italic 900 34px/1.02 Georgia,"Times New Roman",serif;letter-spacing:.5px;
 background:linear-gradient(180deg,#fff3c4 0%,#ffc35a 40%,#ff7a1a 75%,#d9480f 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
 filter:drop-shadow(0 2px 0 #3a1200) drop-shadow(0 0 14px rgba(255,140,40,.55))}
.hwsub{font-size:17px;font-weight:900;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.hwsub b{color:#2a1300;background:linear-gradient(135deg,#ffe07a,#ffa632);padding:1px 8px;border-radius:8px;margin-left:2px;box-shadow:0 0 16px rgba(255,190,70,.6);text-shadow:none}
.hwtime{display:inline-block;margin-top:8px;font-size:12px;font-weight:800;color:#ffe9cc;background:rgba(20,6,34,.6);padding:4px 10px;border-radius:999px;font-variant-numeric:tabular-nums}
.hwpks{position:relative;z-index:2;display:flex;justify-content:space-between;padding:0 6px;align-items:flex-end;gap:2px;margin-top:4px;height:70px}
.hwpks .pk{width:58px}.hwpks .pk.s{width:44px}.hwpks .pk.xs{width:34px}
.hwfog{position:absolute;left:-10%;right:-10%;bottom:-16px;height:46px;z-index:3;pointer-events:none;background:radial-gradient(50% 60% at 50% 100%,rgba(255,255,255,.22),transparent 70%);filter:blur(4px)}

/* ---- pumpkins (SVG, shaded for a 3D look; face flickers like a candle) ---- */
.pk{display:block;height:auto;overflow:visible}
.pk .pk-face{animation:hwFlick 3.2s infinite steps(1,end)}
.pk .pk-in{animation:hwFlickSoft 2.3s ease-in-out infinite}
.pk .pk-glow{animation:hwFlickSoft 2.9s ease-in-out infinite;transform-origin:60px 104px}
.pk.d2 .pk-face{animation-delay:-1.1s}.pk.d2 .pk-in,.pk.d2 .pk-glow{animation-delay:-.8s}
.pk.d3 .pk-face{animation-delay:-2.2s}.pk.d3 .pk-in,.pk.d3 .pk-glow{animation-delay:-1.7s}
@keyframes hwFlick{0%{opacity:1}9%{opacity:.82}12%{opacity:1}31%{opacity:.9}34%{opacity:.7}37%{opacity:1}58%{opacity:.94}63%{opacity:.78}66%{opacity:1}84%{opacity:.88}88%{opacity:1}}
@keyframes hwFlickSoft{0%,100%{opacity:.85;transform:scale(1)}40%{opacity:1;transform:scale(1.06)}70%{opacity:.7;transform:scale(.97)}}

/* little pumpkins sitting on the card corners */
.hwcorner{position:absolute;bottom:-18px;width:52px;z-index:4;pointer-events:none}
.hwcorner.l{left:-10px}.hwcorner.r{right:-8px;width:40px;bottom:-14px}

/* ---- buttons while the offer runs ---- */
.hwfree{width:100%;font-size:16px;padding:13px 18px;position:relative;overflow:hidden}
.hwfree::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:hwShine 3.6s ease-in-out infinite}
@keyframes hwShine{0%,55%{left:-60%}85%,100%{left:130%}}
.hwmine{margin-top:10px;display:flex;align-items:center;gap:8px;justify-content:center;font-size:13px;color:#e9d8ff;flex-wrap:wrap}
.hwmine .code{font-weight:900;color:#ffd08a;letter-spacing:.06em}
.hwlink{border:0;background:none;color:#ffb38a;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer;padding:4px}
.hwlink.del{color:#ff9aa8}
.hwnote{font-size:11.5px;color:#bda4dc;margin-top:8px}
#sFree h2{margin-top:4px}
#sFree .pk{width:84px;margin:0 auto -4px}
.hwbtns{display:flex;gap:8px;margin-top:10px}.hwbtns .btn{flex:1}

/* classic (non-Halloween) look of the same offer */
body.hw-classic{--ink:#5b4a6b;--muted:#9a8aa8;--card:#ffffffcc;--lav2:#e9e3ff;--pink:#ff8fb8;--lav:#b9a7ff;color:var(--ink);background:linear-gradient(160deg,#ffe6f1 0%,#f1e9ff 55%,#e6f0ff 100%) fixed}
body.hw-classic::after{display:none}
body.hw-classic .card.login{background:var(--card);border:1px solid #fff;box-shadow:var(--shadow)}
body.hw-classic .login h1{color:var(--ink);text-shadow:none}
body.hw-classic .join label{color:var(--muted)}
body.hw-classic .input{background:#fff;color:var(--ink);border-color:var(--lav2)}
body.hw-classic .btn{background:linear-gradient(135deg,var(--pink),var(--lav));color:#fff;text-shadow:none}
body.hw-classic .btn.soft{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(160,120,200,.18)}
body.hw-classic .seg2{background:#fff;box-shadow:0 3px 10px rgba(160,120,200,.18)}
body.hw-classic .seg2 button{color:var(--ink)}
body.hw-classic .sheet{background:#fff;color:var(--ink)}
body.hw-classic .hwposter{background:linear-gradient(160deg,#ff9cc7,#b9a7ff 70%,#9fc3ff);min-height:150px}
body.hw-classic .hwposter .bat,body.hw-classic .hwposter .web,body.hw-classic .hwposter .moon,body.hw-classic .hwpks,body.hw-classic .hwcorner{display:none}
body.hw-classic .hwtitle{background:none;color:#fff;filter:drop-shadow(0 2px 6px rgba(120,60,160,.4));font-size:28px}
body.hw-classic .hwmine,body.hw-classic .hwnote{color:var(--muted)}
body.hw-classic .hwlink{color:#e05587}

@media (prefers-reduced-motion: reduce){
 .pk .pk-face,.pk .pk-in,.pk .pk-glow,.hwposter .bat,.hwfree::after,.hwposter .garland .tw{animation:none!important}
}

/* v74b: size picker + login chip */
.hwsize{display:flex;gap:10px;justify-content:center;margin:0 0 6px}
.hwsize button{flex:1;max-width:96px;border:0;border-radius:18px;padding:12px 6px;font:inherit;font-size:22px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;background:#2e1a49;color:#f7ecff;box-shadow:inset 0 0 0 1px #4e3270}
.hwsize button b{font-size:15px}
.hwsize button.active{background:linear-gradient(135deg,#ffb347,#ff6a1a);color:#2a1300;box-shadow:0 6px 16px rgba(255,110,20,.35)}
body.hw-classic .hwsize button{background:#fff;color:var(--ink);box-shadow:0 3px 10px rgba(160,120,200,.18)}
body.hw-classic .hwsize button.active{background:linear-gradient(135deg,var(--pink),var(--lav));color:#fff}
.hwlogin{position:absolute;top:-14px;right:12px;z-index:5;border:0;border-radius:999px;padding:6px 12px;font:inherit;font-size:12.5px;font-weight:900;cursor:pointer;background:#2e1a49;color:#ffe2b8;box-shadow:0 4px 14px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,165,80,.5)}
body.hw-classic .hwlogin{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(160,120,200,.25)}
body.hw .loginsec .btn{width:100%}
