@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800&display=swap');
/* THS Play modern theme (2026-10-29). Shared by landing, sign-in and app pages. */
:root{--bg:#0B0D12;--surface:#12151D;--surface-2:#181C26;--line:#232838;--line-2:#2A3042;--text:#EAF0FF;--muted:#9AA6C2;--mint:#34F5B0;--cyan:#5CC8FF;--gold:#F6C85F;--coral:#FF6B88;--accent:#34F5B0;--on-accent:#0B0D12;--radius:20px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.th{margin:0;background:var(--bg);color:var(--text);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
.th a{color:inherit;text-decoration:none}
.th h1,.th h2,.th h3{font-family:'Sora','Inter',system-ui,sans-serif;margin:0}
.th-wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.th-brand{display:flex;align-items:center;gap:12px;font-family:'Sora',sans-serif;font-weight:700;font-size:20px}
.th-logo{width:36px;height:36px;border-radius:10px;background:var(--mint);display:inline-flex;align-items:center;justify-content:center}
.th-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0}
.th-nav-links{display:flex;gap:28px;color:var(--muted);font-size:15px}
.th-nav-links a:hover{color:var(--mint)}
.th-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:14px;font-weight:600;font-size:16px;border:1px solid transparent;cursor:pointer;font-family:inherit}
.th-btn-primary{background:var(--accent);color:var(--on-accent)}
.th-btn-ghost{border-color:var(--line-2);color:var(--text);background:transparent}
.th-btn-primary:hover{filter:brightness(1.08)}
.th-btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.th-eyebrow{font-size:13px;color:var(--mint);letter-spacing:.8px;text-transform:uppercase;font-weight:600}
.th-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:13px;color:var(--muted)}
.th-dot{width:8px;height:8px;border-radius:50%;background:var(--mint);display:inline-block}
.th-hero{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding:56px 0 80px}
.th-hero-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:26px}
.th-hero h1{font-weight:800;font-size:clamp(40px,6.2vw,68px);line-height:1.05;letter-spacing:-1.5px}
.th-hero h1 span{color:var(--mint)}
.th-lead{margin:0;font-size:19px;line-height:1.6;color:var(--muted);max-width:520px}
.th-cta-row{display:flex;flex-wrap:wrap;gap:14px}
.th-hero-card{flex:1 1 380px;min-width:0;max-width:520px;display:flex;flex-direction:column;gap:16px}
.th-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px}
.th-kicker{font-size:13px;color:var(--muted);letter-spacing:.6px;text-transform:uppercase;font-weight:600}
.th-versus{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}
.th-team{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:600}
.th-crest{width:64px;height:64px;border-radius:50%;background:#1B2030;border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-weight:700;font-size:20px}
.th-vs{font-family:'Sora',sans-serif;font-weight:700;color:var(--muted);font-size:15px}
.th-picks{display:flex;gap:10px}
.th-pick{flex:1;text-align:center;padding:14px;border-radius:12px;font-weight:600;font-size:15px;border:1px solid var(--line-2)}
.th-pick.on{background:var(--mint);color:var(--on-accent);border-color:var(--mint)}
.th-points{display:flex;flex-direction:column;gap:12px}
.th-row{display:flex;align-items:center;gap:14px}
.th-row b{width:26px;font-family:'Sora',sans-serif}
.th-section{padding:16px 0 80px;display:flex;flex-direction:column;gap:30px}
.th-section h2{font-weight:700;font-size:clamp(28px,4vw,40px);letter-spacing:-.8px}
.th-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.th-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.th-arena{display:flex;flex-direction:column;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:34px;transition:border-color .2s,transform .2s}
.th-arena:hover{transform:translateY(-3px)}
.th-arena-public:hover{border-color:var(--coral)}
.th-arena-family:hover{border-color:var(--gold)}
.th-arena h3{font-weight:700;font-size:26px}
.th-arena p{margin:0;color:var(--muted);line-height:1.6}
.th-arena-top{display:flex;justify-content:space-between;align-items:center}
.th-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.th-tag{padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600}
.th-step{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:12px}
.th-step .n{font-family:'Sora',sans-serif;font-weight:800;font-size:44px;line-height:1}
.th-step h3{font-weight:600;font-size:21px}
.th-step p{margin:0;color:var(--muted);line-height:1.6;font-size:15px}
.th-chips{display:flex;flex-wrap:wrap;gap:12px}
.th-chip{padding:14px 22px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-weight:500}
.th-band{margin:0 0 64px;background:var(--mint);color:var(--on-accent);border-radius:28px;padding:48px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.th-band h2{font-weight:800;font-size:clamp(26px,3.6vw,38px);letter-spacing:-.8px}
.th-band p{margin:8px 0 0;font-size:17px}
.th-band .th-btn{background:var(--bg);color:var(--text)}
.th-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:26px 0 40px;border-top:1px solid #1A1E29;color:var(--muted);font-size:14px}
.th-auth{min-height:100vh;display:flex}
.th-auth-side{flex:1 1 50%;min-width:0;background:var(--surface);border-right:1px solid var(--line);padding:52px 60px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.th-auth-side h1{font-weight:800;font-size:clamp(32px,4vw,46px);line-height:1.1;letter-spacing:-1px}
.th-auth-side p{margin:16px 0 0;font-size:17px;line-height:1.6;color:var(--muted);max-width:420px}
.th-realm-row{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--bg);font-size:15px;font-weight:500}
.th-realm-row small{margin-left:auto;font-size:13px;color:var(--muted);font-weight:400}
.th-auth-main{flex:1 1 50%;min-width:0;display:flex;align-items:center;justify-content:center;padding:44px 28px}
.th-form{width:100%;max-width:400px;display:flex;flex-direction:column;gap:26px}
.th-form h2{font-weight:700;font-size:30px;letter-spacing:-.5px}
.th-sub{margin:8px 0 0;color:var(--muted);font-size:15px}
.th-field{display:flex;flex-direction:column;gap:8px}
.th-field label{font-size:14px;font-weight:500}
.th-input{height:52px;padding:0 16px;border-radius:12px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font-size:16px;font-family:inherit;width:100%}
.th-input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.th-input::placeholder{color:#6F7A96}
.th-opts{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:var(--muted)}
.th-opts label{display:flex;align-items:center;gap:10px;cursor:pointer}
.th-opts input{width:18px;height:18px;accent-color:var(--accent)}
.th-link{color:var(--accent);font-weight:600}
.th-error{padding:14px 16px;border-radius:12px;background:#2A1B22;border:1px solid #5A2A38;color:#FFB4C2;font-size:14px;line-height:1.5}
.th-back{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}
.th-back:hover{color:var(--accent)}
.th-center{text-align:center;color:var(--muted);font-size:14px;margin:0}
.th-loader{width:42px;height:42px;border-radius:50%;border:4px solid var(--line-2);border-top-color:var(--accent);animation:thspin 1s linear infinite;margin:8px auto}
@keyframes thspin{to{transform:rotate(360deg)}}
@media (max-width:900px){
.th-grid-2,.th-grid-3{grid-template-columns:minmax(0,1fr)}
.th-nav-links{display:none}
.th-hero{padding:32px 0 56px;gap:36px}
.th-band{padding:32px}
.th-auth{flex-direction:column}
.th-auth-side{flex:0 0 auto;border-right:0;border-bottom:1px solid var(--line);padding:28px 24px;gap:20px}
.th-auth-side .th-realm-row{display:none}
.th-auth-side h1{font-size:30px}
.th-auth-side p{margin-top:10px;font-size:15px}
.th-auth-main{padding:32px 20px 40px;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){.th-arena,.th-arena:hover{transition:none;transform:none}.th-loader{animation:none}}

.th-success{padding:14px 16px;border-radius:12px;background:#12261F;border:1px solid #1F5A45;color:#9FF0CE;font-size:14px;line-height:1.5}
.th-note{padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.5}
.th-note strong{color:var(--cyan)}
.th-file{height:auto;padding:12px 14px;font-size:14px}
.th-file::file-selector-button{margin-right:12px;padding:8px 14px;border:0;border-radius:10px;background:var(--line-2);color:var(--text);font-family:inherit;font-weight:500;cursor:pointer}

/* wide and small screens */
@media (min-width:1600px){.th-wrap{max-width:1440px;padding:0 48px}.th-hero{gap:80px}}
@media (max-width:480px){.th-wrap{padding:0 16px}.th-card{padding:20px;border-radius:18px}.th-band{padding:22px}.th-auth-side{padding:22px 16px}}

/* ===== Playful game-app look ===== */
:root{--bg:#170E33;--surface:#261852;--surface-2:#2F1F63;--line:#4A3590;--line-2:#5B44AA;--text:#FFFFFF;--muted:#B9A8E8;--mint:#7CFF6B;--cyan:#3DDCFF;--gold:#FFD23F;--coral:#FF4DA6;--accent:#FFD23F;--on-accent:#2B1B00;--radius:24px}
body.th{font-family:'Nunito','Inter',system-ui,sans-serif;font-weight:600;background:radial-gradient(900px 520px at 90% -8%,rgba(255,77,166,.22),transparent 60%),radial-gradient(700px 480px at -4% 104%,rgba(255,210,63,.14),transparent 60%),var(--bg)}
.th h1,.th h2,.th h3{font-family:'Fredoka','Nunito',system-ui,sans-serif;font-weight:600;letter-spacing:0!important}
.th-card{border:2px solid var(--line);box-shadow:0 5px 0 #2B1B5E;border-radius:26px}
.th-btn,.th a.th-btn,.th button.th-btn{border-radius:16px;font-family:'Fredoka','Nunito',sans-serif;font-weight:600;box-shadow:0 4px 0 rgba(0,0,0,.3);transition:transform .1s ease,box-shadow .1s ease}
.th-btn:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(0,0,0,.3)}
.th input:not([type=checkbox]):not([type=radio]){border-radius:14px;border:2px solid var(--line)}
