.cg-overlay{position:fixed;inset:0;z-index:9999;overflow:auto;background:#123b68 center/cover no-repeat;color:#14224c;font:600 16px system-ui;display:flex;flex-direction:column;padding:12px;box-sizing:border-box}.cg-overlay *{box-sizing:border-box}.cg-scene-arena{background-image:url('assets/classroom/arena.webp')}.cg-scene-wheel{background-image:url('assets/classroom/wheel.webp')}.cg-scene-bridge{background-image:url('assets/classroom/bridge.webp')}.classroom-playing{overflow:hidden}.cg-overlay button,.cg-overlay input,.cg-overlay select{font:inherit}.cg-overlay button{cursor:pointer;touch-action:manipulation;min-height:44px;border:2px solid #d5b67a;border-radius:18px;padding:10px 16px;color:#14224c;background:linear-gradient(#fffdf4,#f5e3c6);box-shadow:0 4px 0 #ae8244}.cg-overlay button:focus-visible{outline:4px solid #1f80ff;outline-offset:2px}.cg-overlay button:disabled{cursor:default}.cg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:65px;color:white;text-shadow:0 2px 4px #12213e;text-align:center}.cg-head strong{background:#123453dd;padding:7px 22px;border-radius:18px;border:2px solid #e7b95e}.cg-head>span{background:#123453dd;border-radius:18px;padding:12px}.cg-duel{display:grid;grid-template-columns:1fr 1fr;gap:4vw;flex:1;min-height:0;margin:7vh 3vw 2vh}.cg-player{display:flex;flex-direction:column;min-width:0;border:5px solid #229bff;border-radius:28px;background:#123c74e8;padding:16px;box-shadow:0 8px 25px #0a2449a0;color:white}.cg-p1{border-color:#ff9b2b;background:#873c16eb}.cg-player-hud{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:0 4px 8px}.cg-player h2{margin:0;font-size:clamp(18px,2.3vw,32px)}.cg-player h3{background:#fff2d7;color:#132951;border-radius:20px;min-height:80px;padding:16px;display:grid;place-items:center;text-align:center;font-size:clamp(17px,2vw,28px);margin:10px 0}.cg-player small{text-align:center}.cg-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1}.cg-answers button{text-align:left;display:flex;align-items:center;gap:10px;font-size:clamp(14px,1.5vw,23px);overflow-wrap:anywhere;min-height:65px}.cg-answers b{background:#1677c8;color:white;border-radius:50%;padding:8px;flex:none}.cg-p1 .cg-answers b{background:#d8531e}.cg-note{min-height:22px;text-align:center;margin:6px 0 0}.cg-race{height:10px;background:#041c40;border-radius:20px;margin:8px 0;overflow:hidden}.cg-race span{display:block;height:100%;background:#ffd35d;transition:width .5s}.cg-wheel-wrap{height:clamp(110px,23vh,230px);position:relative;display:grid;place-items:center}.cg-wheel-wrap .cg-wheel{height:100%;aspect-ratio:1;border:8px solid #ffd36d;border-radius:50%;background:conic-gradient(#ffcc35 0deg 60deg,#f45f7e 60deg 120deg,#9255dc 120deg 180deg,#53c47b 180deg 240deg,#398be6 240deg 300deg,#25bfc7 300deg);position:relative;transform:rotate(var(--turn));transition:transform 1.6s cubic-bezier(.12,.6,.13,1);box-shadow:0 0 18px #ffdc8e}.cg-wheel span{position:absolute;left:50%;top:50%;font-size:clamp(9px,1.2vw,16px);text-shadow:0 1px 3px #000;transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-65px)}.cg-wheel b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#ffdb5e;font-size:32px}.cg-pointer{position:absolute;top:-7px;color:#ffde6f;z-index:2;font-size:26px}.cg-spin{margin:auto}.cg-correct{background:linear-gradient(#ddffac,#9ce75d)!important;border-color:#6cdf2d!important;color:#103508!important;box-shadow:0 0 18px #a4ff56!important;animation:cg-pop .3s ease}.cg-wrong{background:#ffd4d4!important}.cg-selected{background:#9feaff!important;border-color:#14b4ed!important}.cg-setup,.cg-result{width:min(540px,96%);padding:28px;margin:auto;background:#fff9e9f5;border:4px solid #ddb85e;border-radius:28px;text-align:center;box-shadow:0 14px 45px #001e44aa}.cg-setup label{display:block;text-align:left;margin:14px 0}.cg-setup input,.cg-setup select{width:100%;padding:12px;border:1px solid #8798b3;border-radius:12px;background:white;color:#14224c}.cg-setup button,.cg-result button{margin:6px}.cg-stars{color:#d28c00;font-size:44px}.cg-match-hud{display:flex;gap:10px;justify-content:center;margin-top:8px}.cg-match-hud span{background:#fff2da;border:2px solid #d7b77d;border-radius:20px;padding:10px}.cg-pair-title{font-size:19px;text-align:center;background:#fff3dcdd;border-radius:20px;padding:10px;margin:10px auto}.cg-pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:12vw;flex:1;min-height:0;width:min(800px,96%);margin:10px auto}.cg-pair-column{display:grid;grid-template-rows:repeat(4,1fr);gap:14px;min-height:0}.cg-pair-column button{font-size:clamp(14px,2vw,22px);overflow-wrap:anywhere;padding:8px;min-height:0;line-height:1.2}.cg-pair-note{background:#fff2dce8;border-radius:20px;padding:10px;text-align:center;margin:8px auto}.cg-cover{background-size:cover!important;background-position:center!important}.cg-cover-arena{background-image:url('assets/classroom/arena.webp')!important}.cg-cover-wheel{background-image:url('assets/classroom/wheel.webp')!important}.cg-cover-bridge{background-image:url('assets/classroom/bridge.webp')!important}@keyframes cg-pop{50%{transform:scale(1.03)}}@media(max-width:600px){.cg-overlay{padding:6px}.cg-head{min-height:52px;font-size:12px}.cg-head strong{padding:5px 12px}.cg-duel{gap:7px;margin:8vh 0 0}.cg-player{padding:6px;border-width:3px;border-radius:18px}.cg-player-hud{gap:4px;flex-wrap:wrap;font-size:13px}.cg-player h3{padding:9px;font-size:15px;min-height:90px}.cg-answers{grid-template-columns:1fr;gap:8px}.cg-answers button{font-size:12px;padding:7px;gap:5px;min-height:52px;border-radius:12px}.cg-answers b{padding:5px}.cg-note{font-size:11px}.cg-wheel-wrap{height:115px}.cg-wheel span{font-size:9px;transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-36px)}.cg-pair-grid{gap:12px}.cg-match-hud{font-size:13px}.cg-pair-title{font-size:16px}.cg-pair-column button{font-size:14px}}@media(prefers-reduced-motion:reduce){.cg-overlay *{animation:none!important;transition:none!important}}
@media(max-width:600px){.cg-duel{margin-top:0}.cg-wheel-wrap{height:90px;flex:none}.cg-wheel span{transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-27px);font-size:8px}.cg-player h3{min-height:65px;font-size:14px}.cg-answers button{font-size:11px;min-height:44px;padding:5px}.cg-player-hud{font-size:11px}.cg-note{font-size:10px}}
.cg-wheel.spinning{animation:cg-wheel-spin 1.6s cubic-bezier(.12,.6,.13,1)}@keyframes cg-wheel-spin{from{transform:rotate(calc(var(--turn) - 1080deg))}to{transform:rotate(var(--turn))}}
/* Clear matching canvas, bigger wheels, and predictable single-screen rows. */
.cg-scene-bridge{background:#e8f1f5;background-image:none}
.cg-cover-bridge{background:#e8f1f5!important;background-image:none!important;position:relative}
.cg-cover-bridge:after{content:'Anlam ↔ Sözcük';position:absolute;inset:0;display:grid;place-items:center;color:#184d70;font:800 clamp(13px,2vw,25px) system-ui}
.cg-wheel-wrap{height:clamp(210px,31dvh,310px);flex:none}
.cg-wheel-wrap .cg-wheel{height:100%;width:auto;max-width:100%;aspect-ratio:1}
.cg-wheel span{transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-90px);font-size:17px}
.cg-scene-wheel .cg-duel{margin-top:0;gap:3vw}
.cg-scene-wheel .cg-player h3{min-height:60px;margin:7px 0;padding:10px;font-size:clamp(16px,1.6vw,23px)}
.cg-scene-wheel .cg-answers{min-height:0}.cg-scene-wheel .cg-answers button{min-height:52px;font-size:clamp(13px,1.35vw,19px)}
@media(max-width:600px){
 .cg-wheel-wrap{height:auto;aspect-ratio:1;width:100%;max-height:165px;min-height:140px}
 .cg-wheel-wrap .cg-wheel{width:min(100%,165px);height:auto;aspect-ratio:1;border-width:5px}
 .cg-wheel span{font-size:11px;transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-45px)}
 .cg-scene-wheel .cg-duel{gap:7px}.cg-scene-wheel .cg-player{padding:5px}
 .cg-scene-wheel .cg-player h3{font-size:12px;min-height:55px;padding:7px;margin:5px 0}
 .cg-scene-wheel .cg-answers{gap:6px}.cg-scene-wheel .cg-answers button{font-size:11px;min-height:44px;padding:5px;line-height:1.15}
 .cg-scene-wheel .cg-note{font-size:10px;line-height:1.15}
}
@media(max-height:650px) and (min-width:601px){.cg-wheel-wrap{height:180px}.cg-wheel span{transform:translate(-50%,-50%) rotate(calc(var(--i)*60deg + 30deg)) translateY(-57px);font-size:12px}.cg-scene-wheel .cg-player h3{font-size:15px;min-height:45px;padding:7px}.cg-scene-wheel .cg-answers button{font-size:12px;min-height:40px}.cg-duel{margin-top:0}}
