:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#090912;color:#f6f5ff}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#24204d 0,#090912 46%,#050509)}button{font:inherit;cursor:pointer;border:0}.app{width:min(720px,100%);margin:0 auto;min-height:100vh;padding:18px}.app.compact{padding-bottom:26px}.hero{padding:30px 4px 20px}.hero h1{font-size:42px;line-height:1;margin:12px 0}.hero p,.card p,small,.muted{color:#b9b7d5}.pill{display:inline-flex;padding:8px 12px;border-radius:99px;background:#ffffff1a;color:#d9d6ff;font-size:13px}.grid{display:grid;grid-template-columns:1fr;gap:12px}.game-card,.card,.mode,.modal{background:#ffffff14;border:1px solid rgba(255,255,255,.12);border-radius:24px;box-shadow:0 18px 50px #00000038}.game-card{min-height:130px;text-align:left;color:#fff;padding:18px;display:grid;gap:8px;transition:transform .15s ease,background .15s ease}.game-card:hover{transform:translateY(-2px);background:#ffffff1f}.icon{font-size:30px}.icon.large{font-size:42px}.icon.huge{font-size:64px}.card{padding:18px;margin-bottom:14px}.card.big{padding:22px}.card h1,.card h2{margin:0 0 10px}.title-row{display:flex;gap:14px;align-items:flex-start}.rules{background:#00000038;border-radius:18px;padding:14px;margin:18px 0}.actions.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary,.secondary,.danger,.ghost,.chip{border-radius:16px;padding:13px 16px;color:#fff}.primary{background:linear-gradient(135deg,#7867ff,#9f5fff);font-weight:800;box-shadow:0 12px 34px #7867ff59}.secondary{background:#ffffff1f}.danger{background:#ff435738;color:#ffd6dc}.ghost{background:#ffffff14;min-width:44px}.full{width:100%;margin-top:12px}label{display:block;margin:16px 0 8px;color:#dcd9ff;font-weight:700}.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.chip{white-space:nowrap;background:#ffffff1a}.chip.active,.mode.active{outline:2px solid #8c7dff;background:#8c7dff38}.mode-list{display:grid;gap:8px}.mode{color:#fff;text-align:left;padding:14px;display:grid;gap:4px}.stepper{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid rgba(255,255,255,.1)}.stepper div{display:flex;align-items:center;gap:12px}.stepper button{width:38px;height:38px;border-radius:50%;background:#ffffff1f;color:#fff;font-size:22px}.tiny{font-size:13px}.topbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:14px}.topbar strong{text-align:center}.center{min-height:75vh;display:grid;place-items:center;text-align:center}.loader{width:42px;height:42px;border-radius:50%;border:4px solid rgba(255,255,255,.15);border-top-color:#fff;animation:spin 1s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.error{background:#ff456129;color:#ffdce2;border:1px solid rgba(255,69,97,.35);padding:12px;border-radius:16px;margin-bottom:12px}.countdown{min-height:90vh;display:grid;place-items:center}.countdown span{font-size:96px;font-weight:900;text-shadow:0 20px 80px rgba(120,103,255,.5)}.play-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.play-top div{display:grid;gap:2px}.timer-row{display:flex;justify-content:space-between;color:#dcd9ff;font-weight:800;margin-bottom:8px}.progress,.item-timer{height:10px;background:#ffffff1f;border-radius:99px;overflow:hidden}.progress div{height:100%;background:linear-gradient(90deg,#7867ff,#ff6ba8)}.word-stage{min-height:50vh;display:grid;place-items:center;text-align:center;padding:24px 0}.word-stage h1{font-size:clamp(48px,16vw,92px);line-height:.95;margin:10px 0}.word-stage p{color:#b9b7d5}.item-timer{width:min(320px,90vw);margin:14px auto;height:8px}.item-timer span{display:block;height:100%;background:#ff5368;transition:width .2s linear}.play-actions{position:sticky;bottom:12px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:grid;place-items:center;padding:18px}.modal{width:min(420px,100%);padding:22px;text-align:center}.result{text-align:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.stats div{background:#ffffff17;border-radius:18px;padding:14px 8px;display:grid;gap:4px}.stats strong{font-size:30px}.stats span{color:#b9b7d5;font-size:13px}.word-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:16px}.word-list span{padding:8px 10px;border-radius:99px;background:#ffffff1a}@media(min-width:560px){.grid{grid-template-columns:1fr 1fr}}.subscription-card{text-align:center}.actions-column{display:grid;gap:10px;margin-top:18px}.actions-column .primary,.actions-column .ghost{width:100%}.profile-card h1{margin-bottom:18px}.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 20px}.profile-stats div{background:#ffffff17;border-radius:18px;padding:14px 12px;display:grid;gap:4px;min-height:86px;align-content:center}.profile-stats strong{font-size:28px;line-height:1.05}.profile-stats span{color:#b9b7d5;font-size:13px}.mini-list{display:grid;gap:8px}.mini-list div{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#ffffff14;border-radius:16px;padding:12px}.mini-list span{color:#f6f5ff}.mini-list strong{white-space:nowrap;color:#d9d6ff}.leaderboard{display:grid;gap:8px}.leaderboard-row{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:10px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px}.leaderboard-row strong{color:#d9d6ff}.leaderboard-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-row em{font-style:normal;font-weight:800;color:#fff;background:#7867ff73;border-radius:99px;padding:5px 10px}.leaderboard-row.you{outline:2px solid rgba(140,125,255,.65);background:#8c7dff38}@media(max-width:380px){.profile-stats{grid-template-columns:1fr}.leaderboard-row{grid-template-columns:46px 1fr}.leaderboard-row em{grid-column:2;justify-self:start}}
