:root{--tazzy-primary:#46178f;--tazzy-accent:#16c7d9;--tazzy-back:#24114f}
.t140-health{display:flex;align-items:center;gap:8px;border:1px solid #ffffff35;border-radius:999px;background:#18223a;color:#fff;padding:7px 12px;font:600 12px/1.3 'Segoe UI',sans-serif;z-index:90;box-shadow:0 3px 10px #0002}
.t140-health::before{content:'';width:8px;height:8px;border-radius:50%;background:#38dc93;flex:none}.t140-health.offline::before{background:#ffbd55}.t140-health.offline{background:#78440c}
.t140-banner{background:#fff3d7;color:#663a00;border:1px solid #e0ac49;border-radius:12px;padding:14px 18px;line-height:1.5;margin:12px 0}.t140-banner[hidden]{display:none!important}
.t140-floating{position:fixed;left:50%;transform:translateX(-50%);top:10px;max-width:90vw}.t140-reconnect{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);z-index:120;width:min(580px,85vw);box-shadow:0 8px 30px #0003;text-align:center}
.t140-panel{background:white;border:1px solid #e1e5ee;border-radius:14px;padding:20px;margin:16px 0;color:#26324a;box-shadow:0 5px 20px #1e244509}.t140-panel h2{font-size:20px;margin:0 0 8px}.t140-muted{font-size:13px;color:#626c7e;line-height:1.6}.t140-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.t140-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.t140-actions button{width:auto;flex:none}.t140-check{border:1px solid #d8e8e0;border-left:4px solid #168151;border-radius:9px;padding:11px 13px;background:#f3faf6;line-height:1.4}.t140-check strong{display:block}.t140-check small{display:block;margin-top:4px;color:#586378}.t140-check.uyari{border-color:#ecd298;border-left-color:#c58a17;background:#fffaf0}.t140-check.hata{border-color:#f4bbca;border-left-color:#c53151;background:#fff2f5}
.t140-metrics{display:flex;gap:10px;flex-wrap:wrap}.t140-metric{padding:11px 15px;background:#f2f4fa;border-radius:10px;min-width:110px;flex:1}.t140-metric b{display:block;font-size:22px}.t140-metric span{font-size:12px;color:#637086}.t140-preview{display:flex;gap:12px;align-items:center;border-radius:10px;padding:12px;background:#f1f3f8;margin:8px 0}.t140-preview img{max-width:160px;max-height:100px;object-fit:contain}.t140-preview p{font-size:12px;line-height:1.5;margin:0}.t140-field{display:block;margin:10px 0}.t140-field input,.t140-field select{width:100%;box-sizing:border-box;padding:10px;border-radius:8px;border:1px solid #c8cede}.t140-switch{display:flex;gap:9px;align-items:center;padding:8px 0;font-size:14px}.t140-switch input{width:18px;height:18px}.t140-settings{border-top:1px solid #ddd;padding-top:10px;margin-top:12px}.t140-settings legend{font-weight:700}.t140-chip{background:#e9e1fa;color:#46178f;border-radius:50px;padding:5px 10px;font-size:12px}.t140-template{padding:15px;border:1px solid #dedfea;border-radius:10px}.t140-template h3{margin:0 0 6px}
body.tazzy-stage{background:radial-gradient(ellipse at 15% 10%,color-mix(in srgb,var(--tazzy-accent) 24%,transparent),transparent 55%),linear-gradient(135deg,var(--tazzy-primary),var(--tazzy-back))!important}
.tazzy-stage #qrBeklemeEkrani{margin-top:clamp(20px,6vh,65px);max-height:82dvh;overflow:auto;width:min(680px,88vw)}.tazzy-stage .giris-paneli{padding:clamp(14px,2vh,28px);border-radius:22px;box-shadow:0 20px 60px #0003;background:#fff}.tazzy-stage #qrKutu img,.tazzy-stage #qrKutu canvas{width:clamp(125px,26vh,250px)!important;height:clamp(125px,26vh,250px)!important;margin:auto}.tazzy-stage #devEkraniPin{font-variant-numeric:tabular-nums;letter-spacing:.1em;font-size:clamp(32px,7vh,64px);color:var(--tazzy-primary)}.t140-event-title{font-size:clamp(20px,3.8vh,38px);font-weight:800;line-height:1.15;margin:0 0 8px}.t140-event-subtitle{font-size:clamp(14px,2vh,20px);opacity:.8;line-height:1.4;margin:0 0 14px}.t140-lobby-count{display:inline-block;padding:10px 24px;margin-top:12px;background:#ffffff20;border:1px solid #ffffff40;border-radius:50px;font-size:clamp(17px,2.6vh,26px)}
.tazzy-stage #baslangicBekleme{max-width:80vw;margin-top:24vh}.tazzy-stage #baslangicMesaj{font-size:clamp(24px,5vw,54px)!important}.tazzy-stage #podyumEkrani h1{font-size:clamp(26px,5vh,60px)!important}.tazzy-stage #podyumEkrani h2{font-size:clamp(20px,3.6vh,40px)!important}
.tazzy-player #girisAlani{border-top:4px solid var(--tazzy-accent)}.tazzy-player .t140-health{position:fixed;top:5px;right:8px;font-size:10px;padding:4px 8px}.tazzy-player .t140-reconnect{bottom:8px;font-size:13px}.t140-answer-status{color:#234;font-weight:600}
@keyframes t140-enter{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:none}}
body:not(.t140-reduced) #oyunAlani:not(.gizli),body:not(.t140-reduced) #qrBeklemeEkrani:not(.gizli),body:not(.t140-reduced) #skorBord:not(.gizli),body:not(.t140-reduced) #podyumEkrani:not(.gizli){animation:t140-enter .28s ease-out}
.t140-reduced *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.t140-panel{padding:14px}.t140-grid{grid-template-columns:1fr}.t140-preview{flex-direction:column}.t140-floating{top:auto;bottom:5px}.tazzy-stage #genelKurumLogoKutusu{width:110px;height:64px}.t140-metric{min-width:85px}.t140-event-title{padding:0 8px}.tazzy-stage #qrBeklemeEkrani{margin-top:12vh}}

.t140-dialog{border:0;border-radius:20px;padding:26px;max-width:min(480px,88vw);color:#25324b;box-shadow:0 24px 100px #0007;font-family:'Segoe UI',sans-serif}.t140-dialog::backdrop{background:#101827aa;backdrop-filter:blur(4px)}.t140-dialog h2{margin-top:0;font-size:22px}.t140-dialog p{line-height:1.6}.t140-dialog button{border:0;border-radius:8px;padding:12px 16px;background:#46178f;color:white;font-weight:700;cursor:pointer}.t140-dialog button:first-child{background:#edf0f5;color:#364158}.t140-countdown{font-size:clamp(18px,3vh,32px);color:var(--tazzy-accent);font-weight:700;margin:12px 0}.t140-preview[hidden]{display:none!important}
.tazzy-player #oyunMenu{overflow:auto}.tazzy-player .oyun-menu-karti{max-height:85dvh;overflow:auto}.tazzy-player{background:linear-gradient(145deg,var(--tazzy-primary),var(--tazzy-back))}.tazzy-player #girisAlani .katil-btn{background:#ffffff;color:#321166;border:2px solid #ffffff;border-radius:10px;min-height:56px;box-shadow:0 4px 0 #240c49,0 0 0 1px #ffffff55}
.tazzy-player #girisAlani .katil-btn:hover{background:#f1ebff;color:#321166}
.tazzy-player #girisAlani .katil-btn:active{transform:translateY(2px);box-shadow:0 2px 0 #240c49}
.tazzy-player #girisAlani .katil-btn:focus-visible{outline:3px solid #ffdb66;outline-offset:4px}
.tazzy-player #girisAlani .satir-yatay{display:grid;grid-template-columns:minmax(0,1fr) auto}
.tazzy-player #girisAlani #pinInput{width:100%!important;min-width:0;font-size:clamp(14px,4.3vw,20px);padding:15px 8px}
.tazzy-player #girisAlani .qr-btn{width:auto;padding:12px;white-space:nowrap}
.t141-guide{max-width:1100px;margin:0 auto}.t141-guide h2{color:#46178f}.t141-guide details{background:#fff;border:1px solid #dedfea;border-radius:12px;margin:12px 0;padding:16px 20px;line-height:1.7}.t141-guide summary{font-weight:700;color:#46178f;cursor:pointer;font-size:17px}.t141-guide li{margin:6px 0}.t141-guide p{color:#475269}.t141-guide .guide-start{background:#f2edfb;border-radius:10px;padding:16px 24px}.t141-guide a{color:#46178f}.toplu-bar #havuzTopluSilBtn{margin-left:auto}.toplu-bar button:disabled{opacity:.5;cursor:not-allowed}
@media(max-height:500px){#girisAlani .logo{font-size:28px;margin-bottom:12px}#girisAlani .giris-kurum-logo-kutusu{height:54px}#girisAlani .kur-btn{margin-bottom:12px}}


/* QR, sayaç ve kurum kimliği aynı viewport içinde kalır. */
.tazzy-stage #qrBeklemeEkrani{width:min(760px,88vw);margin-top:clamp(50px,8vh,80px);max-height:calc(100dvh - 115px);padding-bottom:8px;box-sizing:border-box}
.tazzy-stage .giris-paneli{display:grid;grid-template-columns:auto 1fr;column-gap:30px;align-items:center;padding:20px 30px}
.tazzy-stage .giris-paneli h2{grid-column:1/-1;margin:0 0 14px;font-size:clamp(18px,3vh,28px)}
.tazzy-stage #qrKutu{grid-column:1;grid-row:2/4;margin:0!important}
.tazzy-stage #qrKutu img,.tazzy-stage #qrKutu canvas{width:clamp(125px,24vh,240px)!important;height:clamp(125px,24vh,240px)!important}
.tazzy-stage .giris-paneli h3{grid-column:2;margin:0!important;font-size:clamp(16px,2.7vh,25px)}
.tazzy-stage #devEkraniPin{grid-column:2;margin:0!important;letter-spacing:.07em}
.tazzy-stage #qrBeklemeEkrani>.t140-lobby-count{margin-top:12px;padding:8px 20px}
.tazzy-stage #qrBeklemeEkrani>div:not([id]):not([class]){display:none}
.t140-countdown{margin:8px 0;font-size:clamp(18px,2.6vh,28px)}
@media(max-width:650px){
 .tazzy-stage #qrBeklemeEkrani{margin-top:95px;max-height:calc(100dvh - 140px);width:90vw}
 .tazzy-stage .giris-paneli{padding:16px;column-gap:16px}
 .tazzy-stage #devEkraniPin{font-size:clamp(26px,7vw,44px)}
 .tazzy-stage #qrKutu img,.tazzy-stage #qrKutu canvas{width:clamp(110px,32vw,175px)!important;height:clamp(110px,32vw,175px)!important}
 .tazzy-stage #genelKurumLogoKutusu{top:10px;right:calc(50% - 55px)}
}
@media(max-height:540px) and (min-width:651px){
 .tazzy-stage #qrBeklemeEkrani{margin-top:35px;max-height:calc(100dvh - 75px);width:min(680px,80vw)}
 .t140-event-subtitle{margin-bottom:6px}.tazzy-stage .giris-paneli{padding:10px 20px}
 .tazzy-stage #qrKutu img,.tazzy-stage #qrKutu canvas{width:110px!important;height:110px!important}
 .t140-lobby-count{font-size:16px!important;padding:5px 16px!important;margin-top:6px!important}
}

@media(max-height:540px){.tazzy-stage #soruUstSatir{min-height:48px;margin-bottom:5px}.tazzy-stage #zamanlayici{width:48px;height:48px;min-width:48px;min-height:48px;font-size:22px}.tazzy-stage #oyunKurumLogoKutusu{height:48px;min-height:48px}.tazzy-stage .secenek-kart::after{font-size:11px}}
.tazzy-stage #skorBord{max-height:calc(100dvh - 160px);overflow:auto;margin-top:105px;box-sizing:border-box;width:min(780px,88vw)}
.tazzy-stage #podyumEkrani{margin-top:100px;max-height:calc(100dvh - 150px);overflow:auto;width:min(850px,90vw)}
.tazzy-stage .kupa{font-size:clamp(35px,7vh,75px);margin-bottom:8px}
.tazzy-stage #kazananlarListesi{margin-top:12px!important;padding:clamp(12px,2vh,25px)!important}
.tazzy-stage #kazananlarListesi>div{font-size:clamp(18px,3.8vh,40px)!important;overflow-wrap:anywhere}
@media(max-height:540px){.tazzy-stage #podyumEkrani{margin-top:65px;max-height:calc(100dvh - 105px)}.tazzy-stage #podyumEkrani h1,.tazzy-stage #podyumEkrani h2{margin:5px 0!important}.tazzy-stage #skorBord{margin-top:65px;max-height:calc(100dvh - 105px)}}

.tazzy-player .t140-health{top:auto;bottom:2px;left:8px;right:auto;font-size:9px;padding:2px 6px}
.tazzy-stage #soruBaslik{overflow:auto}
@media(max-height:540px){
 .tazzy-stage #soruAlani{flex-shrink:0}
 .tazzy-stage #soruBaslik{flex-shrink:0;max-height:none;font-size:15px;line-height:1.14;padding:8px 12px}
 .tazzy-stage #soruResmi{height:clamp(45px,14vh,75px);min-height:35px}
}

@media(max-height:540px){.tazzy-stage .secenek-kart{padding:6px}.tazzy-stage .harf-ikon{width:26px;height:26px;min-width:26px;min-height:26px;margin-right:6px}}
