@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/nunito-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/nunito-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/nunito-800.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/nunito-900.ttf) format('truetype');
}

:root{font-family:Nunito,'Segoe UI',Arial,sans-serif;color:#202032;background:#f6f5fa;font-synthesis:none;--purple:#8051f3;--ink:#202032;--muted:#77768b;--border:#e9e7f0}*{box-sizing:border-box}body{margin:0;min-height:100vh;padding-bottom:46px;background:radial-gradient(ellipse at 4% 12%,#eee6ff80,transparent 38%),radial-gradient(ellipse at 98% 45%,#e1f8fc66,transparent 35%),#f6f5fa}header,main,footer{max-width:1190px;margin:auto;padding:24px 30px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--border);min-height:100px}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--ink)}.brand-mark{width:51px;height:51px;display:grid;place-content:center;grid-template-columns:auto auto;align-items:center;background:linear-gradient(135deg,#8651ff,#aa77ff);color:#fff;font-size:28px;font-weight:900;border-radius:17px;box-shadow:0 7px 15px #8651ff26;transform:rotate(-5deg)}.brand-mark>span{font-size:24px;margin-top:-7px;opacity:.8}.brand b{font-size:21px;font-weight:900;letter-spacing:-.5px;line-height:1.5}.brand small{display:block;font-size:9px;letter-spacing:1.6px;color:#8b879a;font-weight:800}.badge,.tag{font-size:12px;font-weight:800;background:#fff;border:1px solid var(--border);padding:9px 14px;border-radius:30px;white-space:nowrap}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#29c19c;box-shadow:0 0 0 4px #29c19c14;margin-right:7px;animation:breathe 2.5s ease-in-out infinite}main{min-height:77vh;padding-top:32px;padding-bottom:45px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.welcome h1{font-size:clamp(35px,4.2vw,51px);margin:10px 0 9px;letter-spacing:-1.7px;line-height:1.1;position:relative;display:inline-block}.welcome h1 em{color:var(--purple)}.welcome p{margin:8px 0 0;max-width:580px}.sparkle{color:#ffb725;font-size:43px;display:inline-block;position:absolute;right:-55px;top:40px;animation:twinkle 5s ease-in-out infinite}.welcome-stamp{width:180px;height:114px;position:relative;margin-right:40px}.welcome-stamp>span{position:absolute;border:5px solid #fff;box-shadow:0 12px 24px #8452e126;font-size:30px;font-weight:900;width:85px;height:85px;border-radius:24px;display:grid;place-content:center;background:linear-gradient(135deg,#9e75ff,#7545ee);color:#fff;transform:rotate(-12deg);animation:float 6s ease-in-out infinite}.welcome-stamp>span:nth-child(2){left:76px;top:24px;transform:rotate(12deg);background:linear-gradient(135deg,#0eb5c1,#43cbdb);animation-delay:-3s}.welcome-stamp i{position:absolute;color:#ffad18;font-style:normal;right:-15px;top:-6px;font-size:34px;animation:twinkle 4s ease-in-out infinite}.hero{display:grid;grid-template-columns:1.13fr 1fr;gap:27px;align-items:start}.dashboard{background:#ffffff80;border:1px solid var(--border);padding:18px;border-radius:29px}.eyebrow{color:var(--purple);text-transform:uppercase;font-size:11px;letter-spacing:1.8px;font-weight:900}h1{font-size:clamp(32px,5vw,52px);letter-spacing:-1.5px;line-height:1.12;font-weight:900;margin:18px 0}h1 em{font-style:normal}h2{font-size:27px;letter-spacing:-.7px;line-height:1.25;margin:0 0 13px;font-weight:900}h3{font-size:21px;font-weight:900;margin:8px 0 18px}.muted{color:var(--muted);line-height:1.7;font-size:15px}p{line-height:1.65}.card{background:#fff;border:1px solid var(--border);border-radius:25px;padding:28px;box-shadow:0 5px 25px #39315904}.entry-card{box-shadow:0 12px 34px #5a38950a;padding:24px 28px}.paper{color:var(--ink)}.tabs{display:flex;gap:5px;background:#f2eff8;border-radius:14px;padding:5px;margin-bottom:25px}.tabs button{flex:1;margin:0;padding:12px;background:transparent;color:#858095;box-shadow:none;font-size:14px;border-radius:10px}.tabs button.active{background:#fff;color:var(--purple);box-shadow:0 3px 9px #4c2a7510}.tabs button:hover{transform:none;background:#ffffff80}label{display:block;font-size:13px;font-weight:800;margin:16px 0 8px;color:#595569}input,select{width:100%;font:inherit;font-size:16px;font-weight:700;border:1.5px solid #e5e1ed;background:#faf9fc;color:var(--ink);border-radius:13px;padding:14px;min-width:0;transition:border-color .2s,box-shadow .2s}input::placeholder{color:#b0aaba;font-weight:600}input:focus,select:focus{outline:none;border-color:#a47af8;box-shadow:0 0 0 4px #a47af81a;background:#fff}input[type=checkbox]{accent-color:var(--purple)}#pin{font-size:25px;letter-spacing:8px;font-weight:900}button,.button{cursor:pointer;font:inherit;font-weight:900;font-size:15px;border:0;border-radius:13px;padding:14px 20px;background:linear-gradient(120deg,#8b59fc,#7549eb);color:#fff;display:inline-block;text-decoration:none;box-shadow:0 4px 0 #633ac3;transition:transform .18s,box-shadow .18s,filter .18s;touch-action:manipulation}button:hover,.button:hover{filter:brightness(1.04);transform:translateY(-2px);box-shadow:0 6px 0 #633ac3,0 10px 20px #8051f31a}button:active,.button:active{transform:translateY(3px);box-shadow:0 1px 0 #633ac3}button:disabled{cursor:default;opacity:.65;transform:none;box-shadow:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b493fa;outline-offset:5px}.primary{width:100%;margin-top:24px;min-height:54px;background:linear-gradient(100deg,#8e5aff,#7549f2)}.secondary{background:#f4f1fa;color:#78688f;border:1px solid #e8e1f2;box-shadow:none}.secondary:hover{box-shadow:none;background:#ece5f8}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>*{flex:1}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 8px}.actions>*{flex:0 1 auto}.live-banner{display:flex;align-items:center;gap:15px;padding:18px 20px;background:linear-gradient(105deg,#9361fb,#568fee 48%,#24c3ba);color:#fff;border-radius:21px;box-shadow:0 9px 20px #8856e42b;margin-bottom:15px;position:relative;overflow:hidden}.live-banner::after{content:'';position:absolute;width:100px;height:200px;background:linear-gradient(90deg,transparent,#ffffff20,transparent);transform:rotate(25deg);left:-150px;top:-50px;animation:shine 7s ease-in-out infinite}.live-banner b{font-size:19px;font-weight:900;display:block}.live-banner small{display:block;font-size:11px;opacity:.92;font-weight:700;margin-top:3px}.tile-icon{display:grid;place-items:center;background:#ffffff22;border:1px solid #ffffff40;border-radius:15px;width:48px;height:48px;flex-shrink:0}.tile-icon svg{width:26px;height:26px}.banner-arrow{margin-left:auto;font-size:28px}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.activity{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:159px;padding:18px;text-align:left;border-radius:23px;position:relative;overflow:hidden;isolation:isolate;box-shadow:none!important;color:#fff}.activity::after,.activity::before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:#ffffff10;right:-58px;bottom:-67px;z-index:-1;transition:transform .35s}.activity::before{right:-90px;bottom:-35px;background:#ffffff07;width:170px;height:170px}.activity:hover{transform:translateY(-5px) rotate(-.4deg)}.activity:hover::after{transform:scale(1.3)}.activity b{display:block;font-size:22px;font-weight:900;letter-spacing:-.5px;margin-top:17px;line-height:1.15}.activity small{display:block;font-size:10px;font-weight:800;margin-top:7px;opacity:.92}.activity>i{position:absolute;right:20px;top:25px;font-style:normal;font-size:20px;opacity:.6}.purple{background:linear-gradient(125deg,#7148f5,#a365ff)}.orange{background:linear-gradient(125deg,#ff9405,#ffbd2a)}.pink{background:linear-gradient(125deg,#d82e99,#aa52dc)}.cyan{background:linear-gradient(125deg,#068f9e,#16b8e8)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.stats>div{display:flex;align-items:center;justify-content:center;gap:7px;background:#fff7f1;border:1px solid #ffdbc6;border-radius:15px;padding:12px 7px;color:#7d4925}.stats>div:nth-child(2){background:#f0f8ff;border-color:#cbeaff;color:#376a9b}.stats>div:nth-child(3){background:#eefaf5;border-color:#c7efdf;color:#367b61}.stats strong{font-size:16px;font-weight:900}.stats small{font-size:10px;font-weight:800}.stats>div>span{font-size:17px}.home-bottom{display:flex;gap:30px;align-items:center;justify-content:space-between;margin:29px 0 0;padding:23px 5px 0;border-top:1px solid var(--border)}.home-bottom>div{display:grid;grid-template-columns:auto 1fr;gap:3px 12px}.mini-icon{grid-row:span 2;width:43px;height:43px;border-radius:50%;border:1px solid #e3d5ff;background:#efe7ff;color:#9b68fc;display:grid;place-content:center}.mini-icon svg{width:22px;height:22px}.home-bottom>div:nth-child(2) .mini-icon{background:#fff4e8;color:#f5a428;border-color:#ffe1b8}.home-bottom b{font-size:13px;font-weight:900;align-self:end}.home-bottom small{font-size:11px;color:#9290a0}.study-link{color:var(--purple);font-size:13px;font-weight:900;text-decoration:none;display:flex;gap:15px;align-items:center}.study-link span{font-size:20px}.topline{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:26px}.topline>div:first-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.topline .muted{font-size:12px}.live-dot{font-size:12px;font-weight:900;color:#0aaa87;display:inline-flex;align-items:center;gap:5px}.game-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(250px,1fr);gap:22px}.game-layout>section{position:relative;overflow:hidden}.game-layout>section::before{content:'';height:5px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#8a5af6,#1cbdd7)}.prompt{font-size:clamp(26px,3.5vw,40px);font-weight:900;letter-spacing:-.5px;line-height:1.35;white-space:pre-line;margin:29px 0 30px;overflow-wrap:anywhere}.answers{display:grid;grid-template-columns:1fr 1fr;gap:14px}.answer{--shade:#7750e7;background:linear-gradient(125deg,#8455ef,#9e70f9);min-height:109px;text-align:left;font-size:17px;line-height:1.4;color:#fff;display:flex;gap:13px;align-items:center;border:2px solid transparent;overflow-wrap:anywhere;box-shadow:0 4px 0 var(--shade);padding:18px 16px;isolation:isolate;position:relative;overflow:hidden}.answer::after{content:'';position:absolute;width:90px;height:90px;border-radius:50%;background:#ffffff10;right:-25px;bottom:-50px;z-index:-1}.answer:nth-child(2){--shade:#d98a10;background:linear-gradient(125deg,#f5a017,#ffb92f)}.answer:nth-child(3){--shade:#b53a96;background:linear-gradient(125deg,#d83e9f,#b75dd8)}.answer:nth-child(4){--shade:#0b8faf;background:linear-gradient(125deg,#089aa8,#1ab3df)}.answer:hover{box-shadow:0 6px 0 var(--shade)}.answer:disabled{opacity:1;cursor:default;box-shadow:0 4px 0 var(--shade);transform:none}.answer.correct{--shade:#1da881;background:linear-gradient(110deg,#1bb48d,#45cfa2);border-color:#b7f3df;box-shadow:0 4px 0 #1a9776,0 0 0 4px #1bb48d16}.answer.wrong:disabled{opacity:.48;filter:saturate(.55);box-shadow:none}.answer.selected{outline:3px solid #63528d;outline-offset:4px}.answer.correct.selected{outline-color:#178d6e}.answer b{border:1px solid #ffffff66;background:#ffffff20;padding:5px 9px;border-radius:10px;align-self:flex-start;font-size:14px;flex-shrink:0}.answer small{display:block;font-size:11px;margin-top:7px}.timer{font-variant-numeric:tabular-nums;font-size:22px;font-weight:900;color:var(--purple);background:#f1eaff;border:1px solid #e6d8ff;padding:9px 14px;border-radius:15px;white-space:nowrap;min-width:85px;text-align:center}.timer.urgent{background:#fff0e9;border-color:#ffd0b5;color:#f27140;animation:pulse .8s ease-in-out infinite}.progress{height:9px;background:#f0ebf7;border-radius:20px;overflow:hidden;margin:15px 0}.progress i{display:block;height:100%;background:linear-gradient(90deg,#a06cff,#2ec9cd);border-radius:20px;transition:width .25s linear}.ranking{list-style:none;padding:0;margin:0;max-height:440px;overflow:auto}.ranking li{display:flex;align-items:center;gap:11px;padding:15px 9px;border-bottom:1px solid #f0edf5;overflow-wrap:anywhere;border-radius:12px}.ranking .rank-number{width:28px;flex-shrink:0;text-align:center;font-size:22px;font-weight:900;color:#a299b1}.rank-name{flex:1;font-size:14px;font-weight:800;min-width:0}.ranking li.me{background:#f2eaff;color:var(--purple);border-color:transparent}.ranking li b{font-size:19px;color:var(--purple);text-align:right;white-space:nowrap;font-weight:900}.ranking small{display:block;font-size:8px;color:#a094b2;font-weight:800;letter-spacing:.7px}.rank-name small{color:#9b74d9;font-size:9px;letter-spacing:0;margin-top:3px}.explanation{white-space:pre-line;line-height:1.85;background:#f5f1fc;border:1px solid #e9dff9;color:#665879;border-radius:18px;padding:21px;margin-top:25px;font-size:15px}.names{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.name{padding:10px 16px;background:#f2eaff;color:#8b5acb;font-size:14px;font-weight:900;border-radius:13px;border:1px solid #e8d9ff}.name:nth-child(3n+2){background:#e9f9fb;color:#168da1;border-color:#d1eef2}.name:nth-child(3n){background:#fff3e1;color:#c78b28;border-color:#f9e5c5}.help{font-size:11px;line-height:1.8;color:#9891a4}.error{color:#dc665e}.status{color:#12a780;font-weight:900;font-size:14px;background:#edfaf5;border:1px solid #d0f1e3;border-radius:13px;padding:13px 15px;margin-top:23px}.search{max-width:500px;margin-bottom:27px;background:#fff}.idiom-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:19px}.idiom-grid .card{padding:25px;position:relative;overflow:hidden}.idiom-grid .tag{display:inline-block;background:#f2eaff;color:var(--purple);border-color:#e6daff}.idiom-grid .card:nth-child(4n+2) .tag{background:#fff4e2;color:#d59121;border-color:#f9e4bc}.idiom-grid .card:nth-child(4n+3) .tag{background:#fdebf6;color:#cb56a7;border-color:#f7d6ed}.idiom-grid .card:nth-child(4n) .tag{background:#e9f9fc;color:#159bb8;border-color:#cef0f7}.idiom-grid h3{color:var(--purple);font-size:23px;letter-spacing:-.3px;margin:18px 0 10px}.idiom-grid .card>p:first-of-type{font-weight:800;color:#59516c}.context{color:#8c739f;font-style:italic}.match{display:grid;grid-template-columns:1fr 1fr;gap:15px}.match-col{display:grid;gap:15px}.match button{min-height:98px;text-align:left;background:linear-gradient(120deg,#8b60f2,#a87cf7);color:#fff;box-shadow:0 4px 0 #7547d9;font-size:16px;line-height:1.45}.match-col:nth-child(2) button{background:linear-gradient(120deg,#0aa4b5,#22badd);box-shadow:0 4px 0 #0c91a7}.match button.picked{outline:3px solid #ddc4ff;outline-offset:4px;transform:translateY(-3px)}.match button.done{background:#eefaf5;color:#29a581;box-shadow:none;border:1px solid #c7ecdd;opacity:1;cursor:default;animation:pop .35s ease-out}.match button.done::before{content:'✓ ';font-weight:900}#matchStatus{font-weight:800;color:#9380ac;margin-top:24px}#notice{position:fixed;bottom:65px;left:50%;transform:translateX(-50%);background:#fff;color:#7855b3;border:1px solid #e5d7f8;padding:16px 24px;border-radius:18px;width:max-content;max-width:90%;box-shadow:0 8px 40px #573d9d22;z-index:100;font-size:14px;font-weight:800;animation:toast-in .25s ease-out}#notice:empty{display:none}footer{display:flex;justify-content:space-between;color:#aaa1b8;font-size:11px;border-top:1px solid var(--border)}code{overflow-wrap:anywhere}details{margin:19px 0}summary{cursor:pointer;font-size:12px;color:#9a83b5;font-weight:800}a{color:var(--purple)}.hidden{display:none!important}.scene-in{animation:scene .45s cubic-bezier(.2,.7,.3,1)}.scene-in .answer{animation:answer-in .45s both}.scene-in .answer:nth-child(2){animation-delay:45ms}.scene-in .answer:nth-child(3){animation-delay:90ms}.scene-in .answer:nth-child(4){animation-delay:135ms}#celebration{position:fixed;inset:0;pointer-events:none;z-index:90;overflow:hidden}#celebration i{position:absolute;left:var(--x);top:-20px;width:9px;height:15px;border-radius:3px;animation:confetti 2.2s var(--delay) ease-in forwards}.hero,.welcome,.home-bottom{animation:scene .55s both}.hero{animation-delay:50ms}.home-bottom{animation-delay:100ms}.support-bar{position:fixed;bottom:0;left:0;right:0;z-index:95;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 12px calc(11px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid #e8def7;backdrop-filter:blur(12px);font-size:11px;color:#8f82a2;text-decoration:none;font-weight:700}.support-bar strong{font-size:14px;font-weight:900;letter-spacing:-.4px;color:#8754f1}.support-bar img{width:21px;height:21px;object-fit:contain}.lobby-stage{padding:36px;background:linear-gradient(130deg,#7951ed,#9863ed 58%,#658be4);color:#fff;border:0;position:relative;isolation:isolate;overflow:hidden}.lobby-stage::before,.lobby-stage::after{content:'';position:absolute;width:320px;height:320px;border:1px solid #ffffff14;border-radius:50%;right:-90px;top:-90px;z-index:-1;animation:orbit 25s linear infinite}.lobby-stage::after{width:410px;height:410px;right:-135px;top:-135px;border-style:dashed}.lobby-stage .eyebrow{color:#dfcfff}.lobby-stage h2{font-size:32px;margin-top:14px;max-width:80%}.lobby-stage .muted{color:#e1d3ff}.lobby-stage .help{color:#e1d3ff;margin-top:23px}.lobby-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.lobby-mascot{width:88px;flex-shrink:0;filter:drop-shadow(0 6px 8px #2b166129);animation:float 5s ease-in-out infinite}.pin-label{font-size:10px;font-weight:900;letter-spacing:2px;margin:25px 0 12px;color:#eadfff}.pin{display:flex;gap:8px;flex-wrap:nowrap;max-width:100%;font-variant-numeric:tabular-nums;margin:0 0 22px}.pin-digit{display:grid;place-items:center;flex:1;min-width:0;max-width:75px;height:91px;background:#ffffff1a;border:1px solid #ffffff45;box-shadow:0 5px 0 #4f2d9e40;border-radius:17px;color:#fff;font-size:48px;font-weight:900;backdrop-filter:blur(4px)}.scene-in .pin-digit{animation:digit-in .5s both;animation-delay:calc(var(--digit)*65ms)}.lobby-share{background:#ffffff14;border:1px solid #ffffff35;border-radius:18px;padding:18px}.lobby-share label{margin:0 0 10px;color:#f1eaff;font-size:11px}.lobby-share input{font-size:12px;letter-spacing:0;color:#72509e;background:#fff;border:0}.lobby-stage .actions{margin-top:15px}.lobby-stage button{background:#fff;color:#8453d7;box-shadow:0 4px 0 #573a9a55;flex:1}.lobby-stage button[data-control=next]{background:#2bceba;color:#073e42;box-shadow:0 4px 0 #159d99}.lobby-stage .waiting-message{display:flex;align-items:center;gap:13px;background:#ffffff13;border:1px solid #ffffff35;border-radius:15px;padding:18px;font-size:14px;font-weight:800;margin-top:20px}.waiting-dots{display:inline-flex;gap:4px}.waiting-dots i{width:6px;height:6px;background:#fff;border-radius:50%;animation:dot 1.2s infinite}.waiting-dots i:nth-child(2){animation-delay:.15s}.waiting-dots i:nth-child(3){animation-delay:.3s}.lobby-players{display:flex;flex-direction:column;min-height:440px}.player-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.player-head h3{margin:0}.player-count{background:#f2eaff;color:#8854e5;border:1px solid #e8d9ff;border-radius:13px;padding:7px 13px;font-size:24px;font-weight:900}.lobby-players .names{display:grid;grid-template-columns:1fr 1fr;margin-top:13px;align-content:start;max-height:350px;overflow:auto;padding:2px}.lobby-players .name{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:13px 7px;font-size:12px;overflow-wrap:anywhere}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#ffffffc0;font-size:17px;font-weight:900}.empty-lobby{margin:auto;text-align:center;padding:20px 0}.radar{height:90px;width:90px;border:1px solid #e8d8ff;border-radius:50%;display:grid;place-items:center;margin:0 auto 21px;position:relative;color:#9865ee;background:#f8f3ff}.radar::before,.radar::after{content:'';position:absolute;inset:0;border:1px solid #b58be9;border-radius:50%;animation:radar 3s infinite}.radar::after{animation-delay:1.5s}.radar svg{width:34px;height:34px}.lobby-note{margin-top:auto;border-top:1px solid #f0eaf7;padding-top:16px;font-size:10px;color:#a393b1}.lobby-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:21px}.lobby-steps>div{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:17px;padding:16px}.lobby-steps b{width:30px;height:30px;display:grid;place-content:center;border-radius:10px;flex-shrink:0;color:#9d71dc;background:#f3eaff;font-size:13px}.lobby-steps strong{display:block;font-size:12px}.lobby-steps small{display:block;color:#9f94ad;font-size:10px;margin-top:3px}
@keyframes scene{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes answer-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes float{0%,100%{translate:0 0}50%{translate:0 -8px}}@keyframes twinkle{0%,100%{scale:1;rotate:0deg}50%{scale:1.1;rotate:12deg}}@keyframes shine{0%,65%{left:-150px}90%,100%{left:120%}}@keyframes breathe{50%{opacity:.5}}@keyframes pulse{50%{transform:scale(1.05)}}@keyframes pop{0%{transform:scale(.93)}70%{transform:scale(1.035)}100%{transform:scale(1)}}@keyframes toast-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes confetti{to{transform:translate(var(--drift),105vh) rotate(var(--spin));opacity:0}}@keyframes orbit{to{rotate:360deg}}@keyframes dot{0%,80%,100%{translate:0 0;opacity:.4}40%{translate:0 -4px;opacity:1}}@keyframes radar{to{scale:1.7;opacity:0}}@keyframes digit-in{from{opacity:0;translate:0 15px;rotate:-6deg}to{opacity:1;translate:0 0;rotate:0deg}}
.lobby-layout>.lobby-stage::before{width:320px;height:320px;left:auto;right:-90px;top:-90px;background:transparent}.result-trophy{display:grid;place-items:center;width:85px;height:85px;background:linear-gradient(135deg,#fff2ca,#ffe4a2);color:#e5a325;border-radius:27px;margin:5px auto 20px;animation:float 4s ease-in-out infinite}.result-trophy svg{width:44px;height:44px}.result-title{text-align:center;font-size:clamp(32px,5vw,48px)}.result-trophy~.muted{text-align:center}.score-number{display:inline-block;font-size:24px;line-height:1;margin-right:10px;font-weight:900}.score-win{animation:pop .5s ease-out}.entry-card .help{color:#948a9f}
@media(min-width:761px){.entry-card{min-height:529px}.dashboard{position:sticky;top:20px}}
@media(max-width:760px){header,main,footer{padding:20px}header{min-height:85px}.brand b{font-size:18px}.brand-mark{width:44px;height:44px;font-size:24px;border-radius:14px}.brand-mark>span{font-size:21px}.brand small{font-size:7px;letter-spacing:1.3px}.badge{display:none}main{padding-top:24px}.welcome{margin-bottom:23px}.welcome h1{font-size:36px;letter-spacing:-1.2px}.welcome .muted{font-size:13px;max-width:285px}.welcome-stamp{display:none}.sparkle{font-size:28px;right:-37px;top:31px}.eyebrow{font-size:9px;letter-spacing:1.4px}.hero{grid-template-columns:1fr;gap:21px}.dashboard{padding:13px;border-radius:25px}.live-banner{padding:15px;gap:12px;border-radius:19px}.live-banner b{font-size:17px}.live-banner small{font-size:10px}.tile-icon{width:43px;height:43px;border-radius:13px}.tile-icon svg{width:24px;height:24px}.activity{min-height:145px;padding:16px;border-radius:22px}.activity b{font-size:21px}.activity small{font-size:9px}.activity>i{right:15px;top:21px}.stats{gap:7px}.stats>div{gap:5px;padding:11px 5px}.stats small{font-size:9px}.stats strong{font-size:14px}.stats>div>span{font-size:14px}.card{padding:22px;border-radius:23px}.entry-card{padding:22px}.home-bottom{gap:18px;flex-wrap:wrap;padding-top:20px;margin-top:22px}.home-bottom>div{gap:3px 9px}.home-bottom b{font-size:11px}.home-bottom small{font-size:9px}.mini-icon{width:35px;height:35px}.mini-icon svg{width:19px;height:19px}.study-link{font-size:12px;margin-top:2px}.game-layout{grid-template-columns:1fr}.answers{grid-template-columns:1fr;gap:13px}.answer{min-height:78px;font-size:17px;padding:17px}.game-layout .eyebrow{max-width:100%;font-size:10px}.prompt{font-size:29px;margin:25px 0}.timer{font-size:19px;padding:8px 12px}.topline{gap:12px}.topline>div:first-child{gap:6px}.topline .muted{font-size:10px}.tag{font-size:10px;padding:8px 11px}.live-dot{font-size:10px}.topline>.secondary{padding:11px 14px;font-size:12px}.idiom-grid{grid-template-columns:1fr}.match{gap:10px}.match-col{gap:12px}.match button{font-size:13px;padding:12px;min-height:110px;border-radius:15px}.explanation{padding:17px;font-size:14px}.home-bottom .study-link{width:100%;justify-content:space-between}footer span{display:none}h2{font-size:25px}.game-layout .actions button{flex:1}#notice{font-size:12px;padding:13px 17px}.support-bar{font-size:9px}.support-bar strong{font-size:12px}.lobby-stage{padding:24px 20px}.lobby-stage h2{font-size:26px;max-width:100%}.lobby-mascot{width:64px}.pin{gap:5px}.pin-digit{font-size:34px;height:66px;border-radius:12px}.lobby-stage .actions{flex-direction:column}.lobby-share{padding:13px}.lobby-players{min-height:280px}.lobby-players .names{grid-template-columns:repeat(3,1fr);max-height:320px;gap:7px}.lobby-players .name{font-size:10px;padding:10px 4px}.lobby-steps{grid-template-columns:1fr;gap:9px}.lobby-steps>div{padding:12px 16px}.empty-lobby{padding:20px}.lobby-note{margin-top:20px}.lobby-stage .waiting-message{font-size:12px}}
@media(max-width:359px){header,main,footer{padding-left:14px;padding-right:14px}.welcome h1{font-size:31px}.sparkle{right:-28px}.activity{padding:14px}.activity b{font-size:18px}.activity small{font-size:8px}.live-banner small{font-size:9px}.home-bottom>div:nth-child(2){display:none}.stats small{font-size:8px}.brand small{font-size:6px}.lobby-stage{padding:20px 15px}.pin-digit{font-size:28px;height:58px}.pin{gap:4px}.support-bar{gap:4px;font-size:8px}}
@media(max-width:760px){.hero>.entry-card{order:-1}.welcome .sparkle{right:-33px}.result-trophy{width:67px;height:67px;border-radius:22px}.result-trophy svg{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#celebration{display:none}}

.welcome-simple{justify-content:flex-start;gap:18px;padding:5px 0 10px}.welcome-simple img{width:66px;height:66px;object-fit:contain}.welcome-simple h1{font-size:36px;margin:0;letter-spacing:-1px}@media(max-width:760px){.welcome-simple{gap:14px}.welcome-simple img{width:53px;height:53px}.welcome-simple h1{font-size:30px}}

/* Slovra welcome card */
.welcome-simple{position:relative;isolation:isolate;overflow:hidden;min-height:128px;padding:27px 34px;margin-bottom:27px;gap:23px;border-radius:27px;background:linear-gradient(110deg,#8551f5 0%,#9a65f4 38%,#539ee0 73%,#25c3bd 100%);border:1px solid #ffffff70;box-shadow:0 12px 28px #8051f324,0 3px 0 #7854c91a;color:#fff}
.welcome-simple::before,.welcome-simple::after{content:'';position:absolute;z-index:-1;pointer-events:none;border:1px solid #ffffff24;border-radius:50%;width:220px;height:220px;right:28px;top:-102px;background:#ffffff08}
.welcome-simple::after{width:300px;height:300px;right:-74px;top:-80px;background:transparent;border-style:dashed;animation:orbit 45s linear infinite}
.welcome-simple img{width:76px;height:76px;object-fit:contain;padding:8px;border-radius:21px;background:#ffffff26;border:1px solid #ffffff50;box-shadow:0 5px 12px #603a9b20;animation:float 6s ease-in-out infinite}
.welcome-simple h1{font-size:39px;line-height:1.2;letter-spacing:-1px;margin:0;color:#fff;text-shadow:0 2px 0 #56388d13}
@media(max-width:760px){.welcome-simple{min-height:110px;padding:23px 22px;gap:18px;border-radius:24px;margin-bottom:24px}.welcome-simple img{width:63px;height:63px;border-radius:18px;padding:6px}.welcome-simple h1{font-size:31px;letter-spacing:-.8px}.welcome-simple::before{right:-60px}.welcome-simple::after{right:-165px}}
@media(max-width:359px){.welcome-simple{padding:20px 17px;gap:14px}.welcome-simple h1{font-size:28px}.welcome-simple img{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){.welcome-simple img,.welcome-simple::after{animation:none!important}}

/* Slovra Oyun topbar */
header.topbar{position:relative;min-height:93px;padding-top:19px;padding-bottom:19px;border:0;background:#ffffffbb;box-shadow:0 1px 0 #eae4f4;isolation:isolate}
.topbar::after{content:'';position:absolute;bottom:0;left:30px;right:30px;height:2px;border-radius:3px;background:linear-gradient(90deg,#8a54f5,#ab85f555 40%,#26c3bd77 75%,transparent)}
.topbar .brand{gap:13px;min-width:0}.brand-logo{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;padding:7px;border-radius:18px;background:linear-gradient(140deg,#f0e5ff,#e8f8fc);border:1px solid #e7dcfa;box-shadow:0 4px 9px #8051f312;transform:rotate(-4deg);transition:transform .2s}
.brand:hover .brand-logo{transform:rotate(3deg)}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.topbar .brand b{font-size:27px;font-weight:900;line-height:1.2;letter-spacing:-1px;color:#252239;white-space:nowrap}.topbar .brand b>span{color:#8b55ec;background:linear-gradient(100deg,#8b55ec,#5e8cdb);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.topbar-right{display:flex;align-items:center;gap:15px;flex-shrink:0}.topbar-live{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e9e4f2;border-radius:30px;padding:9px 14px;color:#8a7d9e;font-size:11px;font-weight:800;white-space:nowrap}.topbar-live i{display:block;width:7px;height:7px;background:#27c4a3;box-shadow:0 0 0 4px #27c4a314;border-radius:50%;animation:breathe 2.5s ease-in-out infinite}.topbar-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;color:#a07bdb;background:#f2eafa;border:1px solid #e7dcf7}.topbar-symbol svg{width:25px;height:25px}
@media(max-width:760px){header.topbar{min-height:83px;padding-top:16px;padding-bottom:16px}.topbar::after{left:20px;right:20px}.topbar .brand{gap:10px}.brand-logo{width:45px;height:45px;border-radius:15px;padding:6px}.topbar .brand b{font-size:23px;letter-spacing:-.8px}.topbar-right{gap:0}.topbar-live{display:none}.topbar-symbol{width:37px;height:37px;border-radius:12px}.topbar-symbol svg{width:22px;height:22px}}
@media(max-width:359px){.topbar .brand b{font-size:21px}.brand-logo{width:40px;height:40px}.topbar::after{left:14px;right:14px}}
@media(prefers-reduced-motion:reduce){.topbar-live i{animation:none!important}.brand:hover .brand-logo{transform:rotate(-4deg)}}

/* Floating, sticky navigation shell */
header.topbar{position:sticky;top:14px;z-index:70;width:calc(100% - 48px);max-width:1130px;min-height:84px;margin:18px auto 0;padding:15px 23px;border:1px solid #ffffffc9;border-radius:25px;background:linear-gradient(110deg,#ffffffed,#fefcffeb 70%,#f3faffed);box-shadow:0 8px 28px #63498d12,0 1px 3px #63498d0a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.topbar::after{left:25px;right:25px;bottom:0;height:1px;opacity:.38;background:linear-gradient(90deg,transparent,#9c76ef66 25%,#28c6c466 75%,transparent)}
.topbar .brand-logo{transform:none;box-shadow:0 3px 10px #8051f30d;border-radius:17px}.topbar .brand:hover .brand-logo{transform:rotate(-4deg)}
.topbar .topbar-symbol{border-radius:15px;background:linear-gradient(135deg,#f2eaff,#eaf6fc)}
@media(max-width:760px){header.topbar{top:10px;width:calc(100% - 28px);margin-top:12px;padding:12px 16px;min-height:72px;border-radius:22px}.topbar::after{left:22px;right:22px}.topbar .brand-logo{border-radius:15px}}
@media(max-width:359px){header.topbar{width:calc(100% - 20px);padding-left:13px;padding-right:13px}.topbar .brand b{font-size:20px}}

/* Illustrated game tiles and readable, raised cards */
.activity .tile-icon,.live-banner .tile-icon{border:0;background:transparent;box-shadow:none;width:65px;height:65px;overflow:visible}
.tile-icon img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .28s cubic-bezier(.2,.8,.3,1);filter:drop-shadow(0 3px 3px #30204420)}
.activity:hover .tile-icon img{transform:translateY(-4px) rotate(-5deg) scale(1.06)}.live-banner .tile-icon{width:51px;height:51px}
body .activity{min-height:180px;box-shadow:0 7px 0 #2411321c,0 12px 19px #21132a1b!important;border:1px solid #ffffff29}
body .activity:hover{box-shadow:0 9px 0 #2411321c,0 17px 23px #21132a26!important}
.activity b,.live-banner b{color:#fff;text-shadow:0 2px 3px #0000004d,0 1px 0 #00000024}.activity small,.live-banner small{text-shadow:0 1px 2px #00000050}.welcome-simple h1{text-shadow:0 2px 4px #00000030}
/* Animated six-digit input: the native field keeps mobile keyboard and accessibility. */
.pin-entry{position:relative;margin-bottom:22px;padding-bottom:10px;isolation:isolate;--pin-progress:0%;border-radius:14px}
#pin.pin-native{position:absolute;inset:0;width:100%;height:calc(100% - 8px);margin:0;padding:0;opacity:0;z-index:3;cursor:text;font-size:20px;letter-spacing:0;border:0}
.pin-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;pointer-events:none}
.pin-cell{display:grid;place-items:center;height:61px;background:linear-gradient(145deg,#fbf9ff,#f2eef9);border:1.5px solid #e7dff3;border-radius:13px;box-shadow:0 3px 0 #e8e0f0;font-size:28px;line-height:1;font-weight:900;color:#8d58e0;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.pin-cell:empty::before{content:'·';font-size:25px;color:#cfc5dd}.pin-cell.filled{background:linear-gradient(145deg,#f4eaff,#ede2fc);border-color:#c6a8ee;box-shadow:0 3px 0 #cbb6e5,0 4px 10px #a678e51a}
.pin-entry:focus-within .pin-cell.current{border-color:#a17bd9;box-shadow:0 3px 0 #cfb9eb,0 0 0 3px #aa7de41a}.pin-entry:focus-within .pin-cell.current:empty::before{color:#a079d4;animation:breathe 1.2s infinite}
.pin-cell.digit-pop{animation:pin-type .38s cubic-bezier(.2,.7,.3,1)}
.pin-entry-progress{position:absolute;bottom:0;left:3px;right:3px;height:3px;border-radius:5px;background:#f0eaf7;overflow:hidden}.pin-entry-progress i{display:block;width:var(--pin-progress);height:100%;background:linear-gradient(90deg,#a16ae9,#43cdbb);border-radius:5px;transition:width .28s cubic-bezier(.2,.8,.3,1)}
.pin-entry.ready .pin-cell{background:linear-gradient(145deg,#e9fbf4,#e3f8f4);color:#1a9a80;border-color:#9ae1ce;box-shadow:0 3px 0 #aadfce,0 4px 12px #34bba21a}.pin-entry.ready:focus-within .pin-cell.current{box-shadow:0 3px 0 #aadfce,0 0 0 3px #42c5ab1a}
/* Clear selected answer without the heavy dark outline. */
.answer.selected{outline:none;border-color:#ffffffd9;box-shadow:0 4px 0 var(--shade),0 0 0 3px #9d7bf147,0 8px 18px #50378022;filter:none}
.answer.selected b{background:#fff;border-color:#fff;color:#8051d0;box-shadow:0 2px 4px #00000012}.answer.selected.correct{box-shadow:0 4px 0 #1a9776,0 0 0 3px #4bc39d4a}.answer.selected.correct b{color:#1a9776}.answer.selected.wrong:disabled{opacity:.85;filter:none;border-color:#eaa5b4;box-shadow:0 0 0 3px #eaa5b42b}.answer.selected.wrong b{color:#cf5b79}
.answers:has(.selected):not(:has(.correct)) .answer:not(.selected){opacity:.65;filter:saturate(.8);box-shadow:0 2px 0 var(--shade)}
.answer.pending-choice{border-color:#fff;box-shadow:0 4px 0 var(--shade),0 0 0 3px #b99ae843}.answer.pending-choice b{animation:pending-dot .7s ease-in-out infinite}
.status{display:flex;align-items:center;gap:8px;line-height:1.5}.score-number{flex-shrink:0}
/* Per-device sound controls */
.audio-controls{display:flex;gap:8px;align-items:center}.audio-controls button{display:flex;gap:7px;align-items:center;justify-content:center;padding:10px 12px;border:1px solid #e5dcef;border-radius:13px;background:#f4eff9;color:#9b89b4;box-shadow:none;font-size:10px;font-weight:900;min-height:40px;position:relative}
.audio-controls button svg{width:19px;height:19px}.audio-controls button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #6a448d0d;background:#ece4f6}.audio-controls button.is-on{background:linear-gradient(125deg,#9b69eb,#8155d3);color:#fff;border-color:#996de1;box-shadow:0 3px 0 #6942b4}.audio-controls button:not(.is-on)::after{content:'';position:absolute;height:1.5px;width:23px;background:#ac9bbd;rotate:-45deg;left:10px;top:19px;box-shadow:0 0 0 1px #f4eff9}
.question-tools{display:flex;justify-content:flex-end;margin:6px 0 -6px}.listen-button{display:inline-flex;align-items:center;gap:8px;box-shadow:none;border:1px solid #e8dff2;background:#f7f3fc;color:#9473bb;font-size:11px;font-weight:800;padding:9px 12px;border-radius:11px}.listen-button svg{width:16px;height:16px}.listen-button:hover{box-shadow:none;background:#ede4f9;transform:none}.explanation-listen{margin-top:12px}
@keyframes pin-type{0%{transform:translateY(3px) scale(.88);opacity:.55}55%{transform:translateY(-5px) scale(1.07);opacity:1}100%{transform:translateY(0) scale(1)}}@keyframes pending-dot{50%{opacity:.45}}
@media(max-width:760px){.activity .tile-icon{width:60px;height:60px}body .activity{min-height:167px}.live-banner .tile-icon{width:48px;height:48px}.topbar-right{gap:0}.audio-controls{gap:6px}.audio-controls button{width:35px;height:35px;min-height:35px;padding:7px;border-radius:11px}.audio-controls button span{display:none}.audio-controls button svg{width:18px;height:18px}.audio-controls button:not(.is-on)::after{left:7px;top:16px;width:20px}.pin-cells{gap:6px}.pin-cell{height:58px;border-radius:11px;font-size:26px}.pin-entry{margin-bottom:21px}.status{font-size:12px}.score-number{font-size:22px}}
@media(max-width:359px){.topbar .brand b{font-size:18px}.topbar .brand{gap:7px}.topbar .brand-logo{width:36px;height:36px}.audio-controls button{width:32px;height:32px;min-height:32px}.pin-cells{gap:4px}.pin-cell{height:50px;font-size:24px;border-radius:9px}.activity .tile-icon{width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.pin-cell.digit-pop,.pin-entry:focus-within .pin-cell.current:empty::before,.answer.pending-choice b{animation:none!important}.activity:hover .tile-icon img{transform:none}}

/* Shared question-end scenes */
.round-feedback{max-width:900px;margin:0 auto;padding:38px 30px;text-align:center;border-radius:29px;position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(130deg,#8653ed,#538cdd);color:#fff;box-shadow:0 12px 30px #60418c24;min-height:490px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.round-feedback::before,.round-feedback::after{content:'';position:absolute;width:340px;height:340px;border-radius:50%;border:1px solid #ffffff20;background:#ffffff08;right:-140px;top:-120px;z-index:-1}.round-feedback::after{right:auto;left:-200px;top:auto;bottom:-160px;width:440px;height:440px}.round-feedback .eyebrow{color:#ffffffb8}.feedback-correct{background:linear-gradient(130deg,#1aae90,#3bca9e)}.feedback-wrong{background:linear-gradient(130deg,#d3638b,#b45ac0)}.feedback-missed{background:linear-gradient(130deg,#e69b43,#edb654)}
.feedback-symbol{margin:25px auto 3px;width:94px;height:94px;display:grid;place-items:center;border-radius:28px;background:#ffffff22;border:2px solid #ffffff70;font-size:68px;line-height:1;font-weight:900;box-shadow:0 6px 0 #0000000a;animation:feedback-pop .55s cubic-bezier(.2,.7,.3,1)}.feedback-host .feedback-symbol,.feedback-missed .feedback-symbol{font-size:47px}.round-feedback h1{font-size:clamp(32px,5vw,47px);margin:19px 0 13px;color:#fff;text-shadow:0 2px 3px #00000014}.feedback-subtitle{margin:0 0 15px;font-size:15px;color:#ffffffc9}.feedback-points{font-size:39px;font-weight:900;line-height:1.3;animation:feedback-pop .65s ease-out}.feedback-points small{font-size:11px;letter-spacing:1.5px;margin-left:7px;color:#ffffffbd}.feedback-answer{font-size:18px;font-weight:800;line-height:1.5;background:#ffffff17;border:1px solid #ffffff30;border-radius:16px;padding:15px 22px;width:min(100%,590px);margin:21px 0 25px}.feedback-answer small{display:block;font-size:9px;letter-spacing:1.5px;color:#ffffffb5;margin-bottom:6px}.feedback-progress{width:min(70%,320px);height:5px;border-radius:10px;overflow:hidden;background:#ffffff22}.feedback-progress i{display:block;background:#fff;height:100%;width:100%;border-radius:10px;transition:width .2s linear}.feedback-countdown{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;color:#ffffffd5;margin:13px 0 0}.feedback-countdown b{display:grid;place-items:center;background:#ffffff25;width:26px;height:26px;border-radius:9px;font-size:14px}
.round-leaderboard{max-width:960px;margin:0 auto;padding:32px 36px;overflow:hidden}.round-leaderboard>.eyebrow,.round-leaderboard>h1,.round-subtitle{text-align:center}.round-leaderboard>h1{font-size:38px;margin:12px 0}.round-subtitle{margin:8px 0 24px;font-size:13px}.personal-result{display:flex;align-items:center;gap:13px;background:#eafaf4;border:1px solid #c5efdf;border-radius:17px;padding:14px 18px;color:#1d9b7a;max-width:580px;margin:0 auto 25px}.personal-result.is-wrong{background:#fff0f5;border-color:#f5d2e0;color:#bc638a}.personal-result.is-missed{background:#fff7e7;border-color:#f5e4bc;color:#b18c3c}.personal-result-icon{width:36px;height:36px;display:grid;place-content:center;background:#ffffff9c;border-radius:11px;font-size:26px;font-weight:900;flex-shrink:0}.personal-result>div{flex:1;min-width:0}.personal-result strong{font-size:15px;font-weight:900}.personal-result small{display:block;font-size:10px;line-height:1.5;margin-top:3px;opacity:.8}.personal-result>b{font-size:25px;white-space:nowrap;line-height:1.1}.personal-result>b small{font-size:8px;text-align:right;letter-spacing:1px}
.podium{display:flex;justify-content:center;align-items:flex-end;gap:13px;margin:35px auto 20px;max-width:650px;padding:20px 8px 0;isolation:isolate}.podium-place{flex:1;min-width:0;max-width:210px;text-align:center;position:relative;--podium:#a787ed;--podium-light:#c3a7f8;animation:podium-rise .8s cubic-bezier(.22,.75,.2,1) both;animation-delay:.4s}.podium-place.place-1{--podium:#edaa30;--podium-light:#ffcc68;animation-delay:.75s}.podium-place.place-3{--podium:#21b3c2;--podium-light:#69d1dc;animation-delay:.1s}.podium-medal{position:absolute;right:calc(50% - 37px);top:-10px;font-size:26px;z-index:1;filter:drop-shadow(0 3px 3px #00000013)}.podium-avatar{width:61px;height:61px;display:grid;place-content:center;background:linear-gradient(145deg,#f6efff,#efe3fc);border:3px solid #fff;box-shadow:0 4px 15px #8b5eaf1c;border-radius:21px;font-size:28px;font-weight:900;color:var(--podium);margin:0 auto 10px}.place-1 .podium-avatar{background:linear-gradient(145deg,#fff8e7,#ffedb5)}.place-3 .podium-avatar{background:linear-gradient(145deg,#ebfcff,#d2f2f6)}.podium-place>strong{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:900;line-height:1.4;padding:0 5px}.podium-place>b{display:block;color:var(--podium);font-size:24px;font-weight:900;margin:7px 0 14px}.podium-place>b small{font-size:8px;letter-spacing:.6px}.podium-block{display:flex;flex-direction:column;align-items:center;justify-content:center;height:103px;border-radius:17px 17px 6px 6px;background:linear-gradient(135deg,var(--podium-light),var(--podium));box-shadow:inset 0 3px 0 #ffffff60,0 8px 0 #4a32650f;color:#fff;position:relative;overflow:hidden}.podium-block::after{content:'';position:absolute;left:-15%;top:-60%;height:200%;width:50%;background:#ffffff14;rotate:28deg}.place-1 .podium-block{height:143px}.place-3 .podium-block{height:78px}.podium-block>span{font-size:43px;line-height:1;font-weight:900;text-shadow:0 2px 0 #00000010}.podium-block svg{width:26px;height:26px;opacity:.8;margin-top:9px}
.round-rankings{max-width:650px;margin:34px auto 20px}.round-rankings h3{font-size:16px;margin-bottom:12px}.round-rankings .ranking{position:relative;max-height:360px;overscroll-behavior:contain;padding:3px}.round-rankings .ranking li{position:relative;background:#fff;min-height:67px;padding:13px;z-index:1}.round-rankings .ranking li.me{background:#f0e7ff;z-index:3}.ranking li.rank-rise{animation:rank-glow 1.8s ease-out both;animation-delay:.4s}.ranking li.rank-climber .rank-name::after{content:'↑';color:#25b088;background:#e4f8ef;border-radius:6px;font-size:12px;display:inline-grid;place-content:center;width:19px;height:19px;margin-left:6px;font-weight:900}.round-rankings .ranking b{min-width:70px}.round-rankings .ranking [data-score]{font-variant-numeric:tabular-nums}.round-continue{max-width:480px;margin:27px auto 0;text-align:center}.round-continue .primary{margin-top:0;min-height:53px}.round-continue button:disabled{cursor:default;background:#e6dfee;color:#a496b7;box-shadow:none;border:1px solid #dcd2e9;opacity:1}.round-wait{display:flex;justify-content:center;align-items:center;gap:13px;padding:17px;background:#f4eefa;border:1px solid #e7dcf3;border-radius:15px;color:#9a7eb7;font-size:12px;font-weight:800}.round-wait .waiting-dots i{background:#b59acb}.round-explanation{max-width:650px;margin:20px auto 0;border:1px solid #ede5f5;padding:15px 18px;border-radius:15px;background:#faf8fd}.round-explanation summary{font-size:12px;color:#9b80b6}.round-correct-answer{font-weight:900;color:#27a68a;margin:17px 0 6px}.round-explanation .explanation{margin-top:12px}.round-explanation .listen-button{margin-top:13px}.round-leaderboard .help{min-height:17px}.scene-in .round-leaderboard{animation:scene .4s both}
@keyframes feedback-pop{0%{transform:scale(.65);opacity:0}70%{transform:scale(1.06);opacity:1}100%{transform:scale(1)}}@keyframes podium-rise{from{transform:translateY(35px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes rank-glow{0%,100%{box-shadow:none}35%{box-shadow:inset 0 0 0 1px #59d0a477;background:#eafbf4}}
@media(max-width:760px){.round-feedback{padding:29px 20px;min-height:465px;border-radius:25px}.feedback-symbol{width:80px;height:80px;font-size:58px;border-radius:24px}.round-feedback h1{font-size:34px}.feedback-answer{font-size:16px;padding:14px 15px}.feedback-points{font-size:34px}.round-leaderboard{padding:25px 17px}.round-leaderboard>h1{font-size:29px}.round-subtitle{font-size:12px}.personal-result{gap:10px;padding:12px 10px}.personal-result strong{font-size:12px}.personal-result small{font-size:9px}.personal-result>b{font-size:22px}.personal-result-icon{width:30px;height:30px;border-radius:10px;font-size:23px}.podium{gap:8px;padding:13px 0 0;margin-top:27px}.podium-place>strong{font-size:12px;padding:0 1px}.podium-place>b{font-size:19px}.podium-place>b small{font-size:6px}.podium-avatar{width:48px;height:48px;border-radius:17px;font-size:23px}.podium-medal{font-size:22px;right:calc(50% - 30px)}.podium-block{height:84px;border-radius:12px 12px 5px 5px}.place-1 .podium-block{height:115px}.place-3 .podium-block{height:64px}.podium-block>span{font-size:34px}.podium-block svg{width:20px;height:20px}.round-rankings .ranking{max-height:320px}.round-rankings .ranking li{padding:12px 7px}.round-rankings .rank-name{font-size:12px}.round-rankings .rank-number{font-size:19px;width:24px}.round-rankings .ranking b{font-size:19px;min-width:58px}.round-wait{font-size:11px;padding:16px 10px}.round-explanation{padding:13px}.round-rankings{margin-top:27px}}
@media(prefers-reduced-motion:reduce){.podium-place,.feedback-symbol,.feedback-points,.ranking li.rank-rise{animation:none!important}}

.shared-screen-note{display:flex;align-items:center;gap:14px;background:linear-gradient(120deg,#f4edff,#edf9fc);border:1px solid #e4d8f4;border-radius:17px;padding:20px;margin:24px 0;color:#9d79c6}.shared-screen-note svg{width:33px;height:33px;flex-shrink:0}.shared-screen-note strong{display:block;font-size:18px;font-weight:900;color:#8562aa}.shared-screen-note small{display:block;margin-top:5px;font-size:12px;color:#aa96bc}.round-leaderboard .round-rankings{margin-top:25px}@media(max-width:760px){.shared-screen-note{padding:16px;gap:12px}.shared-screen-note strong{font-size:16px}.shared-screen-note small{font-size:11px}}

.answer-waiting{text-align:center;max-width:760px;margin:0 auto;padding:32px 28px 25px}.answer-waiting h1{font-size:34px;margin:19px 0 9px}.answer-waiting>.muted{font-size:14px;margin:8px 0 25px}.saved-answer-mark{display:grid;place-items:center;width:76px;height:76px;background:linear-gradient(135deg,#b4efd9,#e1f9ef);color:#24a98a;border:2px solid #fff;border-radius:25px;margin:22px auto 0;font-size:48px;font-weight:900;box-shadow:0 5px 0 #b6e5d3,0 10px 23px #34a88212;animation:feedback-pop .45s ease-out}.waiting-player-count{display:flex;align-items:center;justify-content:center;gap:16px;margin:22px auto}.waiting-player-count strong{display:grid;place-items:center;min-width:76px;height:76px;border-radius:24px;background:linear-gradient(130deg,#9060ed,#aa7cf4);color:#fff;font-size:42px;font-weight:900;box-shadow:0 5px 0 #7950bb1c;animation:feedback-pop .4s ease-out}.waiting-player-count span{text-align:left;font-size:17px;font-weight:900;line-height:1.5;color:#a58bb9}.answer-wait-dots{display:flex;justify-content:center;gap:9px;margin:25px auto 30px}.answer-wait-dots i{width:9px;height:9px;border-radius:50%;background:#be9dea;animation:dot 1.3s infinite}.answer-wait-dots i:nth-child(2){animation-delay:.2s;background:#bea5df}.answer-wait-dots i:nth-child(3){animation-delay:.4s;background:#9ddad8}.your-choice{display:flex;gap:12px;align-items:center;position:relative;text-align:left;max-width:530px;margin:auto;background:#f7f2fd;border:1px solid #e8ddf5;border-radius:17px;padding:34px 17px 17px;color:#9b7bba}.your-choice small{position:absolute;top:12px;left:17px;font-size:8px;font-weight:900;letter-spacing:1.2px;color:#b4a0c3}.your-choice b{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:9px;background:#e8dcf5;color:#a17fbc;font-size:14px}.your-choice span{font-size:15px;line-height:1.5;font-weight:900}.wait-live-status{font-size:12px;font-weight:900;color:#a48cb7;margin:22px 0 8px}.wait-live-status>span{color:#b7a4c5;font-weight:700}.answer-waiting>.help{margin-bottom:0}@media(max-width:760px){.answer-waiting{padding:26px 20px}.answer-waiting h1{font-size:29px}.waiting-player-count strong{width:67px;min-width:67px;height:67px;font-size:36px}.waiting-player-count span{font-size:15px}.your-choice span{font-size:13px}.wait-live-status{font-size:11px}}@media(prefers-reduced-motion:reduce){.saved-answer-mark,.waiting-player-count strong,.answer-wait-dots i{animation:none!important}}

/* Keep the list and teacher actions in the viewport. */
.round-leaderboard{display:flex;flex-direction:column;max-height:calc(100dvh - 190px);min-height:320px;max-width:880px;padding:22px 28px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0}.board-heading h1{margin:0;font-size:28px;letter-spacing:-.8px}.board-heading>span{font-size:11px;font-weight:800;color:#ad9cbd}.round-leaderboard .personal-result{padding:10px 13px;margin:16px 0 0;max-width:none;flex-shrink:0;border-radius:13px}.round-leaderboard .personal-result-icon{width:29px;height:29px;font-size:23px}.round-leaderboard .personal-result strong{font-size:13px}.round-leaderboard .personal-result small{font-size:9px}.round-leaderboard .personal-result>b{font-size:23px}.round-leaderboard .round-rankings{margin:13px 0;min-height:80px;display:flex;flex-direction:column;flex:1;overflow:hidden;max-width:none;width:100%}.round-leaderboard .round-rankings .ranking{max-height:none;min-height:0;flex:1;overflow:auto}.round-rankings .ranking li{min-height:58px;padding:10px}.ranking li.rank-climber .rank-name::after{content:none}.rank-up{display:inline-flex;align-items:center;vertical-align:middle;margin-left:7px;padding:3px 7px;border-radius:8px;color:#169365;background:#dff6e9;border:1px solid #bce8ce;font-size:11px;font-weight:900;line-height:1.1;white-space:nowrap}.round-continue{display:flex;align-items:center;gap:12px;width:100%;max-width:none;margin:0;flex-shrink:0}.round-continue>.primary{margin:0;flex:1}.round-continue>.discuss-button{min-height:50px;font-size:12px;flex-shrink:0}.round-continue .round-wait{width:100%;padding:13px}.question-status{display:flex;gap:10px;align-items:center;justify-content:center;align-self:start;min-height:100px}.question-status>strong{font-size:29px;color:#9c76d2;font-weight:900}.question-status>span{font-size:12px;color:#ae9abc}.question-status>p{font-size:11px;color:#a98ebd}.review-explanation{margin-top:22px}.review-explanation>summary{font-size:12px}.answer-waiting{padding-top:25px;padding-bottom:24px}.answer-waiting h1{font-size:30px}.answer-waiting .waiting-player-count{margin:22px auto 15px}.answer-waiting .answer-wait-dots{margin:20px auto}.answer-waiting .your-choice{padding-top:30px;padding-bottom:12px}.answer-waiting .wait-live-status{margin-bottom:0}.final-results{padding:24px;max-height:calc(100dvh - 190px);display:flex;flex-direction:column;min-height:420px}.final-results .result-trophy{display:none}.final-results .eyebrow{font-size:9px;text-align:center}.final-results .result-title{font-size:29px;margin:10px 0 0}.final-results .podium{margin:22px auto 15px;width:100%;max-width:590px;flex-shrink:0;padding-top:12px}.final-results .podium-avatar{width:48px;height:48px;font-size:23px;margin-bottom:7px}.final-results .podium-place>strong{font-size:13px}.final-results .podium-place>b{font-size:21px;margin:5px 0 10px}.final-results .podium-block{height:70px}.final-results .place-1 .podium-block{height:102px}.final-results .place-3 .podium-block{height:51px}.final-results .podium-block>span{font-size:32px}.final-results .podium-block svg{width:19px;height:19px;margin-top:5px}.final-results>.ranking{flex:1;min-height:55px;max-height:none;overflow:auto}.final-results>.ranking li{padding:10px}.final-results>.actions{margin-top:15px;flex-shrink:0}.final-results>.actions button{font-size:12px;padding:12px 17px}@media(max-width:760px){.round-leaderboard{padding:19px 15px;max-height:calc(100dvh - 174px);min-height:310px}.board-heading h1{font-size:25px}.board-heading>span{font-size:10px}.round-continue{gap:8px}.round-continue>.discuss-button{font-size:11px;padding:12px 11px;min-height:47px}.round-continue>.primary{min-height:47px;font-size:13px;padding:12px}.round-rankings .ranking li{min-height:55px;padding:9px 7px}.round-rankings .ranking .rank-number{width:23px}.rank-up{font-size:10px;padding:3px 5px;margin-left:4px}.question-status{min-height:60px;padding:14px}.question-status>strong{font-size:23px}.final-results{padding:20px 16px;max-height:calc(100dvh - 174px);min-height:430px}.final-results .result-title{font-size:25px}.final-results .podium{margin-top:22px;margin-bottom:13px;gap:6px}.final-results .podium-avatar{width:40px;height:40px;font-size:21px;border-radius:15px}.final-results .podium-medal{font-size:19px;right:calc(50% - 27px)}.final-results .podium-place>strong{font-size:11px}.final-results .podium-place>b{font-size:17px}.final-results .podium-block{height:58px}.final-results .place-1 .podium-block{height:86px}.final-results .place-3 .podium-block{height:43px}.final-results .podium-block>span{font-size:27px}.final-results>.ranking li{padding:8px}.final-results>.actions{gap:8px;margin-top:11px}.final-results>.actions button{font-size:11px;padding:10px 12px}}

/* Compact Russian typewriter strip */
.welcome-simple.welcome-animated{height:84px;min-height:84px;padding:14px 23px;gap:17px;border-radius:22px;margin-bottom:22px;background:linear-gradient(110deg,#8050ed,#a45ded,#507bd8,#1ab9bc,#8a61e8);background-size:300% 300%;animation:welcome-colors 16s ease-in-out infinite;box-shadow:0 7px 18px #8051f31c}
.welcome-animated img{width:48px;height:48px;padding:5px;border-radius:15px;flex-shrink:0;animation:none}
.welcome-simple .welcome-type{font-size:25px;font-weight:900;letter-spacing:-.5px;line-height:1.25;margin:0;min-width:0;flex:1;display:flex;align-items:center;color:#fff;text-shadow:0 2px 3px #00000026}
.typewriter-text{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.type-caret{display:inline-block;flex-shrink:0;width:2px;height:1em;background:#ffffffd9;border-radius:2px;margin-left:5px;animation:type-cursor 1s step-end infinite}
.welcome-animated::before{width:170px;height:170px;top:-90px;opacity:.6}.welcome-animated::after{animation:none;opacity:.45}
@keyframes welcome-colors{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes type-cursor{0%,100%{opacity:1}50%{opacity:0}}
@media(max-width:760px){.welcome-simple.welcome-animated{height:74px;min-height:74px;padding:12px 17px;gap:13px;border-radius:20px;margin-bottom:20px}.welcome-animated img{width:43px;height:43px;padding:4px;border-radius:13px}.welcome-simple .welcome-type{font-size:18px;letter-spacing:-.25px}.type-caret{margin-left:3px;height:1.05em}}
@media(max-width:359px){.welcome-simple.welcome-animated{padding:12px 14px;gap:10px}.welcome-animated img{width:38px;height:38px}.welcome-simple .welcome-type{font-size:16px}}
@media(prefers-reduced-motion:reduce){.welcome-simple.welcome-animated,.type-caret{animation:none!important}.type-caret{display:none}}

/* Warm, slowly shifting welcome colours and Russian labels. */
.welcome-simple.welcome-animated{background:linear-gradient(110deg,#eab329,#ed8927,#d95043,#ee762d,#eab329);background-size:350% 350%;animation:welcome-colors 24s ease-in-out infinite}.welcome-simple .welcome-type{color:#fff9ed;text-shadow:0 2px 4px #67321870}
html,body{touch-action:pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}button,a,input,select,summary{touch-action:manipulation}
.topbar-right{gap:10px}.topbar .brand b{font-size:25px}.install-app{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e6dcf2;background:#f4eefb;color:#9874bf;padding:10px 12px;border-radius:13px;font-size:10px;box-shadow:none;min-height:40px}.install-app svg{width:18px;height:18px}.install-app:hover{box-shadow:none;background:#ebe1f8;transform:none}.install-app[hidden]{display:none!important}
@media(max-width:760px){.topbar .brand b{font-size:22px}.topbar-right{gap:6px}.install-app{width:34px;height:35px;min-height:35px;padding:7px;border-radius:11px}.install-app span{display:none}.audio-controls{gap:5px}.topbar .brand{gap:8px}.welcome-simple .welcome-type{font-size:18px}.activity b{font-size:20px}.activity small{font-size:9px}.personal-result small{font-size:9px}.round-continue>.discuss-button{font-size:11px}.round-continue>.primary{font-size:13px}}
@media(max-width:359px){.topbar .brand b{font-size:18px}.topbar .brand-logo{width:34px;height:34px;padding:4px}.topbar .brand{gap:5px}.topbar-right{gap:4px}.install-app{width:31px;height:32px;min-height:32px}.audio-controls{gap:4px}.audio-controls button{width:31px;height:32px;min-height:32px}.welcome-simple .welcome-type{font-size:16px}}
@media(prefers-reduced-motion:reduce){.welcome-simple.welcome-animated{animation:none!important}}

body{padding-bottom:calc(46px + env(safe-area-inset-bottom))}header.topbar{top:calc(14px + env(safe-area-inset-top));margin-top:calc(18px + env(safe-area-inset-top))}@media(max-width:760px){header.topbar{top:calc(10px + env(safe-area-inset-top));margin-top:calc(12px + env(safe-area-inset-top))}}
.hero,.dashboard,.entry-card,.activity{min-width:0}.activity-grid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.activity b,.activity small{max-width:100%;overflow-wrap:anywhere}@media(max-width:760px){.hero{grid-template-columns:minmax(0,1fr)}}@media(max-width:359px){.activity b{font-size:17px}.activity small{font-size:8px}.stats>div{flex-wrap:wrap;gap:3px;padding:9px 4px}}

.answer.answer-hint{--shade:#d39b16;background:linear-gradient(120deg,#fff36b,#ffe134);color:#704c10;border-color:#ffed9f;box-shadow:0 4px 0 #d39b16,0 0 0 3px #ffdc5a30}.answer.answer-hint b{background:#fff6c9;border-color:#fff8df;color:#997015}.answer.answer-hint:hover{box-shadow:0 6px 0 #d39b16,0 8px 19px #d49a1526}.answer.answer-hint::after{background:#ffffff30}
