.turn-card{position:relative;overflow:hidden}.turn-card:before{content:'';position:absolute;width:140px;height:140px;background:#eaf0df;right:-75px;top:-75px;border-radius:50%}.turn-who{display:flex;gap:12px;align-items:center}.avatar{width:44px;height:44px;flex-shrink:0;border-radius:15px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:19px;box-shadow:inset 0 -4px 0 #0002;border:2px solid #fff9}.turn-name{font:800 24px var(--heading);overflow-wrap:anywhere}.turn-sub{color:var(--muted);font-size:11px;margin-top:4px}.dice-area{display:flex;align-items:center;justify-content:center;gap:19px;margin:23px 0 22px}.die{width:76px;height:76px;background:linear-gradient(140deg,#fff,#f0eddf);border:1px solid #e4e0d1;border-radius:19px;box-shadow:0 5px 0 #dcd9ca,0 10px 20px #233f2110;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:15px;gap:4px;transform:rotate(-7deg)}.pip{width:10px;height:10px;align-self:center;justify-self:center;border-radius:50%;background:var(--green);visibility:hidden}.die.rolling{animation:shake .18s infinite}.dice-caption{font-size:11px;color:var(--muted);line-height:1.8;max-width:117px}.dice-caption b{color:var(--ink);font-size:14px}.status{margin-top:17px;min-height:34px;color:#66765e;font-size:12px;line-height:1.6;text-align:center}.players-card{padding:20px}.players-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.players-title h3{font-size:15px}.players-title small{font-size:10px;color:var(--muted)}.player{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf0e7}.player:last-child{border-bottom:0;padding-bottom:0}.player .avatar{width:31px;height:31px;font-size:13px;border-radius:10px}.player-info{flex:1;min-width:0}.player-name{font-size:12px;font-weight:700;overflow-wrap:anywhere}.player-meta{font-size:10px;color:var(--muted);margin-top:4px}.progress{height:4px;background:#eef1e7;border-radius:3px;margin-top:7px;overflow:hidden}.progress i{display:block;height:100%;border-radius:3px;transition:width .3s}.position{font:800 20px var(--heading);text-align:right}.position small{font:10px 'Segoe UI';display:block;color:var(--muted)}.active-tag{color:var(--green);font-size:9px;font-weight:800;margin-left:5px}.history{list-style:none;padding:0;margin:0;font-size:11px;color:var(--muted);line-height:1.6}.history li{padding:7px 0;border-bottom:1px solid #edf0e7;overflow-wrap:anywhere}.history li:last-child{border:0;padding-bottom:0}.history li:first-child{color:var(--ink)}
.footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:15px;padding-top:17px;color:#5f6c52;font-size:10px;gap:15px}.footer span:last-child{letter-spacing:1px;font-weight:700;font-size:9px}.kbd{font:10px monospace;border:1px solid #dce2d2;border-radius:4px;padding:2px 5px;background:#fff9}.overlay{position:fixed;inset:0;background:#102f2bbc;backdrop-filter:blur(8px);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));overflow:auto}.modal{background:#fffdf5;border:1px solid #f0f2df;border-radius:var(--r-card);padding:30px;width:100%;max-width:540px;box-shadow:0 25px 100px #09241966;position:relative;max-height:calc(100dvh - 40px);overflow:auto;animation:enter .25s ease-out}.modal h2{font-size:28px;letter-spacing:-.8px;line-height:1.2}.close{position:absolute;right:19px;top:17px;border:0;background:#edf1e7;border-radius:50%;width:31px;height:31px;font-size:19px}.quiz-top{display:flex;align-items:center;gap:10px;margin-bottom:19px;flex-wrap:wrap}.quiz-top .pill{background:#edf2df;color:var(--green);border:0}.timer{margin-left:auto;font-variant-numeric:tabular-nums;color:#9a742b;font-size:12px;font-weight:700}.question{font:800 25px var(--heading);line-height:1.4;margin:18px 0 23px;overflow-wrap:anywhere}.question.math{font-size:40px;text-align:center;padding:10px 0}.question-context{font-size:12px;color:var(--muted);line-height:1.7;margin-top:9px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answer{display:flex;align-items:center;gap:10px;text-align:left;border:1.5px solid #dfe5d5;background:#fff;border-radius:16px;padding:15px 12px;font-weight:650;min-height:63px;overflow-wrap:anywhere;min-width:0}.answer small{width:24px;height:24px;border-radius:7px;background:#f0f3e9;display:grid;place-items:center;font-size:10px;flex-shrink:0;color:var(--muted)}.answer:hover:not(:disabled){background:#eff5e5;border-color:#88a96c;transform:translateY(-2px)}.answer:disabled{opacity:1}.answer.correct{border-color:#4d9767;background:#e9f5e9}.answer.wrong{border-color:#d67b66;background:#fff0ea}.feedback{margin-top:18px;padding:15px;border-radius:16px;background:#ecf3e3;font-size:12px;line-height:1.8}.feedback.bad{background:#fff0e4}.feedback strong{display:block;font-size:16px;margin-bottom:4px}.quiz-bottom{font-size:10px;color:var(--muted);text-align:center;margin-top:20px}.rules{display:grid;gap:17px;margin-top:23px}.rule{display:flex;gap:13px;font-size:12px;line-height:1.7;color:var(--muted)}.rule .symbol{font-size:24px;width:32px;flex-shrink:0}.rule b{color:var(--ink);display:block;font-size:13px}.range-row{margin-top:24px}.range-row label{display:flex;justify-content:space-between;margin-bottom:11px;font-size:13px;font-weight:650}input[type=range]{width:100%;accent-color:var(--green)}.settings-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:20px}.winner-art{text-align:center;font-size:61px;margin:7px 0 17px}.winner-img{width:100%;max-width:340px;height:180px;object-fit:cover;border-radius:20px;display:block;margin:0 auto;background:#e9f5e9}.winner-title{text-align:center}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.result-grid div{text-align:center;background:#edf2e5;border-radius:13px;padding:14px 4px;font-size:10px;color:var(--muted)}.result-grid b{display:block;font:800 25px var(--heading);color:var(--green);margin-bottom:4px}.podium{margin:18px 0;font-size:12px;line-height:2}.confetti{position:fixed;inset:0;pointer-events:none;z-index:60;overflow:hidden}.confetti i{position:absolute;top:-20px;width:9px;height:15px;animation:fall 3s ease-in forwards}.art-banner{height:132px;border-radius:var(--r-art);background:#dfe9ce center 54%/cover;margin-bottom:19px;position:relative;overflow:hidden}.art-banner:after{content:'EKSPEDISI ILMU';position:absolute;left:14px;bottom:12px;letter-spacing:2px;color:#1c513a;font-size:10px;font-weight:900;background:#fff9;padding:6px 8px;border-radius:5px}.toast{position:fixed;bottom:calc(25px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);padding:13px 19px;background:#193d34;color:white;z-index:80;border-radius:12px;font-size:12px;box-shadow:var(--shadow);max-width:90vw;text-align:center}.sr-only{top:0;left:0;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes shake{0%,100%{transform:rotate(-12deg) translateY(-3px)}50%{transform:rotate(10deg) translateY(3px)}}@keyframes enter{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}@keyframes fall{to{transform:translateY(110vh) rotate(720deg)}}
