/* Harf Saati · yayın sahnesi (1080×1920 tasarım tuvali, pencereye ölçeklenir) */
[hidden] { display: none !important; }
:root {
  --purple-1: #5a16c9;
  --purple-2: #a43bf0;
  --purple-deep: #1a0545;
  --cobalt: #1d3fe0;
  --cobalt-dark: #0f2392;
  --neon: #2ff3e0;
  --cream: #fff6e2;
  --coral: #ff6a52;
  --ink: #14205e;
  --gold: #ffd166;
  --gold-2: #e8a93a;
  --display: "Bahnschrift", "Segoe UI", "Trebuchet MS", Arial, system-ui, sans-serif;
  --heavy: "Arial Black", "Segoe UI Black", "Bahnschrift", Arial, sans-serif;
  --font: "Segoe UI", "Bahnschrift", "Trebuchet MS", Arial, system-ui, sans-serif;
}

html, body.stage-page { margin: 0; height: 100%; background: #0b0220; overflow: hidden; font-family: var(--font); }
.stage-host { position: relative; width: 100%; height: 100%; overflow: hidden; }

.stage {
  position: absolute; left: 0; top: 0; width: 1080px; height: 1920px;
  transform-origin: 0 0; overflow: hidden; color: #fff; font-family: var(--font);
  --st: 230px; --sr: 150px; --sb: 560px; --sl: 36px;
  background: #12033a;
}

/* ═════════════ KAMERA + STÜDYO ═════════════ */
.camera {
  position: absolute; inset: 0;
  /* Çarkın üst kenarından yakınlaş: çark yukarıdaki yazıların altına taşmaz, aşağı doğru büyür */
  transform-origin: 540px 1370px;
  transition: transform 1.4s cubic-bezier(.22,.8,.18,1);
  will-change: transform;
}
.stage.cam-wide .camera { transform: scale(.86) translateY(70px); transition-duration: .01s; }
.stage.cam-spin .camera { transform: scale(1.12); transition-duration: 1.1s; }
.stage.cam-reveal .camera { transform: scale(1.03); transition-duration: .7s; }

.studio { position: absolute; inset: -8% -10%; pointer-events: none; }
.backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 52% 30% at 50% 24%, rgba(255, 140, 255, .32), transparent 70%),
    radial-gradient(ellipse 40% 26% at 12% 62%, rgba(47, 243, 224, .22), transparent 70%),
    radial-gradient(ellipse 40% 26% at 90% 66%, rgba(255, 106, 82, .26), transparent 70%),
    linear-gradient(180deg, #4b0fb3 0%, #6d1fd8 26%, #3d0b9a 58%, #1a0545 100%);
}
.ledwall {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.6px, transparent 2.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 70%);
  opacity: .55;
}
.ledwall { will-change: opacity; }
.ledwall::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 300%;
  background: linear-gradient(100deg, transparent 43%, rgba(47,243,224,.32) 48.5%, rgba(255,255,255,.38) 50%, rgba(255,106,255,.3) 51.5%, transparent 57%);
  animation: sweepX 7s linear infinite; will-change: transform;
}
.arc {
  position: absolute; left: 50%; border-radius: 50%; border: 6px solid transparent;
  border-top-color: rgba(47,243,224,.85);
  box-shadow: 0 -2px 26px rgba(47,243,224,.55);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 40%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0 40%, transparent 70%);
}
.arc { opacity: .8; will-change: opacity; }
.arc.a1 { top: 14%; width: 125%; height: 60%; }
.arc.a2 { top: 22%; width: 105%; height: 56%; border-top-color: rgba(255,106,255,.75); box-shadow: 0 -2px 26px rgba(255,106,255,.5); animation: arcglow 3.2s ease-in-out infinite alternate; }
.arc.a3 { top: 63%; width: 150%; height: 40%; border-top-color: rgba(255,209,102,.8); box-shadow: 0 -2px 30px rgba(255,209,102,.5); }

.truss {
  position: absolute; left: 0; right: 0; top: 5.2%; height: 26px;
  background:
    repeating-linear-gradient(60deg, rgba(200,200,230,.55) 0 3px, transparent 3px 22px),
    repeating-linear-gradient(-60deg, rgba(200,200,230,.55) 0 3px, transparent 3px 22px),
    linear-gradient(180deg, #6f6a8a 0 3px, transparent 3px calc(100% - 3px), #6f6a8a calc(100% - 3px));
}
.movers { position: absolute; left: 0; right: 0; top: calc(5.2% + 22px); height: 0; }
.mover { position: absolute; top: 0; width: 46px; height: 40px; margin-left: -23px; transform-origin: 23px 10px; }
.mover::before {
  content: ""; position: absolute; inset: 0; border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, #2b2840, #0f0d1c); box-shadow: inset 0 2px 0 rgba(255,255,255,.25);
}
.mover .beam {
  position: absolute; left: 50%; top: 30px; width: 520px; height: 1500px; margin-left: -260px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, var(--c, rgba(255,240,200,.36)), transparent 70%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  opacity: .8;
}
.mover { will-change: transform; }
.mover:nth-child(1) { left: 10%; --c: rgba(47,243,224,.32); animation: sway 9s ease-in-out infinite alternate; }
.mover:nth-child(2) { left: 26%; --c: rgba(255,220,180,.30); animation: sway 7s ease-in-out -2s infinite alternate-reverse; }
.mover:nth-child(3) { left: 42%; --c: rgba(255,106,255,.28); animation: sway 8s ease-in-out -4s infinite alternate; }
.mover:nth-child(4) { left: 58%; --c: rgba(255,220,180,.30); animation: sway 8.5s ease-in-out -1s infinite alternate-reverse; }
.mover:nth-child(5) { left: 74%; --c: rgba(255,106,82,.30); animation: sway 7.5s ease-in-out -3s infinite alternate; }
.mover:nth-child(6) { left: 90%; --c: rgba(47,243,224,.32); animation: sway 9.5s ease-in-out -5s infinite alternate-reverse; }
.stage.cam-spin .mover { animation-duration: 1.6s; }

.bokeh i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, transparent 70%);
  animation: drift linear infinite;
}
.haze {
  position: absolute; left: 0; right: 0; top: 30%; height: 50%;
  background: radial-gradient(ellipse 60% 40% at 30% 50%, rgba(255,255,255,.06), transparent 70%),
              radial-gradient(ellipse 50% 40% at 75% 45%, rgba(200,160,255,.08), transparent 70%);
  animation: haze 18s ease-in-out infinite alternate;
}
.floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background:
    radial-gradient(ellipse 22% 26% at 50% 12%, rgba(255,214,140,.30), transparent 70%),
    radial-gradient(ellipse 18% 22% at 20% 30%, rgba(47,243,224,.20), transparent 70%),
    radial-gradient(ellipse 18% 22% at 80% 30%, rgba(255,106,82,.20), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 120px),
    linear-gradient(180deg, #2a0b6e, #12033a 70%);
  border-top: 4px solid rgba(47,243,224,.7);
  box-shadow: 0 -12px 60px rgba(47,243,224,.35);
}

/* Çark ve sunucular (kullanıcının görseli, tam boy) */
.set { position: absolute; inset: 0; pointer-events: none; }
.wheel { position: absolute; left: 270px; top: 1338px; width: 540px; height: 600px; }
.wheel .wh-in { position: absolute; left: 0; top: 0; width: 720px; height: 800px; transform: scale(.75); transform-origin: 0 0; }
.wheel canvas, .wheel .wh-spin { position: absolute; display: block; }
.wheel .wh-back, .wheel .wh-front { left: 0; top: 0; }
.wheel .wh-spin { will-change: transform; }
.wheel .wh-spin canvas { left: 0; top: 0; }
.wheel .wh-blur { opacity: 0; will-change: opacity; }
.wheel .wh-flap { will-change: transform; }
.riser {
  position: absolute; left: 0; right: 0; top: 1858px; height: 80px;
  background: linear-gradient(180deg, #2b0d6b, #12033a);
  border-top: 4px solid var(--neon); box-shadow: 0 -8px 40px rgba(47,243,224,.5);
}
.char { position: absolute; z-index: 2; }
.char .rig { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.rig div, .rig canvas { position: absolute; display: block; }
.rig .r-body, .rig .r-sway, .rig .r-head, .rig .r-ant, .rig .r-arm, .rig .r-jaw, .rig .r-lid { will-change: transform; }
/* Görsel ölçeği: 1024 piksel yükseklik → 560 piksel (0,547); ayaklar sahne kenarında (y≈1902),
   baş güvenli alanın altında kalır (altyazı kutusunun arkasına girmez) */
.char.sunucu { left: -26px; top: 1345px; width: 379px; height: 560px; }
.char.asistan { left: 706px; top: 1345px; width: 407px; height: 560px; }
.char-shadow { position: absolute; z-index: 1; top: 1878px; height: 38px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), transparent 70%); }
.char-shadow.cs-l { left: 6px; width: 280px; }
.char-shadow.cs-r { left: 786px; width: 300px; }
.riser { z-index: 1; }
.wheel { z-index: 1; }

/* İskelet canlandırmaları: gövde nefes + salınım, baş, antenler, çene, göz kapakları, kol */
.rig .r-body { animation: rigBreathe 3.8s ease-in-out infinite; }
.rig .r-sway { animation: rigSway 6.5s ease-in-out infinite; }
.char.asistan .rig .r-body { animation-duration: 4.3s; animation-delay: -1.2s; }
.char.asistan .rig .r-sway { animation-duration: 7.2s; animation-delay: -2s; }
.rig .r-head { animation: rigHead 5.5s ease-in-out infinite; transition: transform .45s cubic-bezier(.3,1.3,.5,1); }
.rig .r-ant-l { animation: antWiggleL 2.6s ease-in-out infinite; }
.rig .r-ant-r { animation: antWiggleR 3.1s ease-in-out infinite; }
.rig .r-jaw { transition: transform .12s; }
.rig .r-lid { transform: scaleY(0); transition: transform .07s; }
.char.blink .rig .r-lid { transform: scaleY(1); }
.rig .r-arm { transition: transform .55s cubic-bezier(.3,1.35,.5,1); }

/* Sunucu konuşurken: çene açılıp kapanır, baş başını sallar, antenler hızlanır, takdim eli hafif oynar */
.char.talking .rig .r-jaw { animation: jawTalk .26s ease-in-out infinite alternate; }
/* Azure sesiyle dudak senkronu: çeneyi ses düzeyi sürer */
.char.lipsync .rig .r-jaw { animation: none !important; transition: none; }
.char.talking .rig .r-head { animation: rigHeadTalk 1.3s ease-in-out infinite; }
.char.talking .rig .r-ant-l, .char.talking .rig .r-ant-r { animation-duration: .9s; }
.char.sunucu.talking .rig .r-arm { animation: presentTalk 2.2s ease-in-out infinite; }
/* Takdim: sunucunun eli yukarı açılır (panoyu/çarkı gösterir) */
.char.sunucu.present .rig .r-arm { transform: rotate(-13deg); animation: none; }
/* Asistan: çubukla panoyu gösterir / sallar */
.char.asistan.point .rig .r-arm { transform: rotate(12deg); animation: pointTap .5s ease-in-out .5s 3 alternate; }
.char.asistan.wave .rig .r-arm { animation: pointWave .7s ease-in-out 2 alternate; }
.char.asistan.point .rig .r-head, .char.asistan.look-wheel .rig .r-head { transform: rotate(-5deg); animation: none; }
.char.sunucu.look-wheel .rig .r-head { transform: rotate(4deg); animation: none; }
/* Sevinç: zıplama */
.char.cheer .rig .r-body { animation: cheerJump .45s cubic-bezier(.3,.7,.4,1) infinite alternate; }
.char.sunucu.cheer .rig .r-arm { transform: rotate(-24deg); }
.char.asistan.cheer .rig .r-arm { transform: rotate(18deg); }
/* Üzüntü: başı eğ */
.char.oops .rig .r-head { transform: rotate(-6deg) translateY(4px); animation: none; }
.char.oops .rig .r-body { animation: oopsSquash .7s ease-out; }

@keyframes rigBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.008, 1.014); } }
@keyframes rigSway { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }
@keyframes rigHead { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(1.3deg); } 70% { transform: rotate(-1.1deg); } }
@keyframes rigHeadTalk { 0%, 100% { transform: rotate(-1deg) translateY(0); } 25% { transform: rotate(1.4deg) translateY(-3px); } 50% { transform: rotate(-.4deg) translateY(1px); } 75% { transform: rotate(1.8deg) translateY(-2px); } }
@keyframes antWiggleL { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }
@keyframes antWiggleR { 0%, 100% { transform: rotate(2.5deg); } 50% { transform: rotate(-3deg); } }
@keyframes jawTalk { from { transform: translateY(0) scaleY(1); } to { transform: translateY(5px) scaleY(1.12); } }
@keyframes presentTalk { 0%, 100% { transform: rotate(0deg); } 40% { transform: rotate(-6deg); } 70% { transform: rotate(-2deg); } }
@keyframes pointTap { from { transform: rotate(12deg); } to { transform: rotate(6deg); } }
@keyframes pointWave { from { transform: rotate(-4deg); } to { transform: rotate(8deg); } }
@keyframes cheerJump { from { transform: translateY(0) scale(1, 1); } to { transform: translateY(-22px) scale(1.01, 1.02); } }
@keyframes oopsSquash { 0% { transform: scale(1, 1); } 30% { transform: scale(1.03, .96); } 100% { transform: scale(1, 1); } }

/* ═════════════ HUD (güvenli alan) ═════════════ */
.safe {
  position: absolute; top: var(--st); right: var(--sr); bottom: var(--sb); left: var(--sl);
  display: flex; flex-direction: column; gap: 12px;
}
.stage.guides .safe { outline: 4px dashed rgba(255, 255, 0, .85); }
.stage.guides::after {
  content: "TikTok yorum/ikon alanı"; position: absolute; left: 0; right: 0; bottom: 0; height: var(--sb);
  background: repeating-linear-gradient(45deg, rgba(255,255,0,.12) 0 20px, transparent 20px 40px);
  color: #ff0; font: 700 28px var(--font); display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 50;
}
.glass {
  background: linear-gradient(180deg, rgba(52, 18, 118, .86), rgba(22, 6, 60, .9));
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 40px rgba(10, 0, 30, .45);
}

.hdr { display: flex; align-items: center; justify-content: space-between; height: 84px; flex: none; gap: 12px; }
.brand { display: flex; align-items: center; gap: 16px; white-space: nowrap; min-width: 0; }
.logo {
  position: relative; overflow: hidden; color: #fff; font: 900 30px/1 var(--heavy); letter-spacing: 3px;
  padding: 14px 20px 13px; border-radius: 18px;
  background: linear-gradient(180deg, #ff9078, #ff5a43 55%, #d63a28);
  box-shadow: 0 6px 0 #9b2416, 0 12px 30px rgba(255,90,67,.45), inset 0 2px 0 rgba(255,255,255,.45);
}
.logo::after {
  content: ""; position: absolute; top: -50%; bottom: -50%; width: 40%; left: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg);
  animation: logoShine 5s ease-in-out infinite; will-change: transform;
}
.wordmark {
  font: 900 50px/1 var(--display); letter-spacing: .5px;
  background: linear-gradient(180deg, #ffffff 0%, #fff2c4 45%, #ffc94a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(60, 10, 110, .8)) drop-shadow(0 0 18px rgba(255, 209, 102, .35));
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 800 25px/1 var(--display); padding: 12px 18px; border-radius: 999px;
  background: rgba(20, 6, 60, .7); border: 2px solid rgba(255,255,255,.3);
}
.chip .dot { width: 14px; height: 14px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; animation: blinkDot 1.4s ease-in-out infinite; }
.chip.sim { color: #ffd166; border-color: rgba(255,209,102,.7); }
.chip.live { color: #fff; background: linear-gradient(180deg, #ff4a6e, #d4123d); border-color: #ff7a93; }
.chip.off { color: #c9c3e0; border-color: #6e6790; }

.clue { flex: none; border-radius: 30px; padding: 18px 26px 20px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.clue::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--neon), #8f6bff, var(--coral), var(--gold)); }
.clue .cat { display: flex; gap: 12px; align-items: center; }
.pill { font: 900 28px/1 var(--display); padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.pill.cat-pill { background: linear-gradient(180deg, #5ffff0, #19c8b8); color: #052a33; box-shadow: 0 4px 0 #0c7d74; }
.pill.count { background: rgba(255,209,102,.16); color: var(--gold); border: 2px solid rgba(255,209,102,.5); }
.round { margin-left: auto; display: flex; align-items: center; gap: 10px; font: 800 26px/1 var(--display); white-space: nowrap; }
.round .dots { display: flex; gap: 6px; }
.round .dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.25); }
.round .dots i.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.round .dots i.fin.on { background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.clue .text { font: 800 47px/1.17 var(--display); text-wrap: balance; text-shadow: 0 3px 0 rgba(0,0,0,.25); }

/* ═════════════ LED HARF DUVARI ═════════════ */
.board {
  flex: 1 1 0; min-height: 0; position: relative; border-radius: 32px; padding: 12px;
  background: linear-gradient(180deg, #d9dcf2, #6b6f94 18%, #2c2a48 50%, #8d90b5 85%, #e6e8f8);
  box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.25) inset;
}
.board .neon {
  position: absolute; inset: 12px; border-radius: 24px;
  background: #062a3a;
  box-shadow: 0 0 0 4px var(--neon), inset 0 0 26px rgba(47,243,224,.6);
}
.board .neon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 22px 4px rgba(47,243,224,.9), 0 0 70px rgba(47,243,224,.55);
  animation: neonHum 4s ease-in-out infinite; will-change: opacity;
}
.board.flicker .neon { animation: neonOn 1.1s steps(1) both; }
.board .panel {
  position: absolute; inset: 8px; border-radius: 18px; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px),
    radial-gradient(ellipse 80% 70% at 50% 40%, #2f56ff, var(--cobalt) 45%, var(--cobalt-dark));
  box-shadow: inset 0 0 60px rgba(0,0,30,.65);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.board .bulbs { position: absolute; left: 44px; right: 44px; height: 12px; z-index: 2; pointer-events: none; }
.board .bulbs.top { top: 0; }
.board .bulbs.bottom { bottom: 0; }
.board .bulbs::before, .board .bulbs::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #fffbe6 0 3.2px, rgba(255,214,110,.8) 4.5px, transparent 7px);
  background-size: 28px 12px;
}
.board .bulbs::after { background-position: 14px 0; animation: chase .8s steps(1) infinite; }
.board .bulbs::before { animation: chase .8s steps(1) -.4s infinite; }
.board .row { display: flex; gap: 14px; justify-content: center; }
.board .word { display: flex; gap: 8px; }

.cell { width: var(--cw, 86px); height: calc(var(--cw, 86px) * 1.2); perspective: 700px; position: relative; }
.cell .tile { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .62s cubic-bezier(.3,1.45,.45,1); }
.cell .face {
  position: absolute; inset: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.cell .front {
  background: linear-gradient(180deg, #6d8dff 0%, #3a5cf0 38%, #2141cf 62%, #18309f 100%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.45), inset 0 -6px 0 rgba(0,0,30,.35), 0 6px 12px rgba(0,0,30,.45);
  border: 2px solid rgba(160,190,255,.55);
}
.cell .front::before { content: "SŞ"; font: 900 calc(var(--cw, 86px) * .26)/1 var(--heavy); color: rgba(255,255,255,.12); letter-spacing: 1px; }
.cell .front::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent); }
.cell .back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 45%, #f0dcb2 100%);
  box-shadow: inset 0 3px 0 #fff, inset 0 -6px 0 rgba(120,80,0,.18), 0 0 24px rgba(255,236,180,.55);
  border: 2px solid #f7cf7a;
  color: var(--ink); font: 900 calc(var(--cw, 86px) * .74)/1 var(--heavy);
  text-shadow: 0 2px 0 rgba(255,255,255,.8);
}
.cell .back::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 45%; left: -70%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: skewX(-18deg); }
.cell.lit .front { box-shadow: 0 0 0 3px #fff, 0 0 30px 8px rgba(47,243,224,.95), inset 0 0 30px rgba(255,255,255,.7); filter: brightness(1.35); }
.cell.open .tile { transform: rotateY(180deg); }
.cell.open.shine .back::after { animation: tileShine .8s ease-out .25s both; }
.cell.enter { animation: tileIn .55s cubic-bezier(.25,1.4,.5,1) both; }

.lobby-card { text-align: center; position: relative; }
.lobby-card .big { font: 900 96px/1 var(--display); letter-spacing: 3px; background: linear-gradient(180deg, #fff, #ffe7a6); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 rgba(10,20,90,.8)); }
.lobby-card .sub { font: 800 40px/1.2 var(--display); margin-top: 18px; color: var(--cream); }
.lobby-card .count { font: 900 170px/1 var(--heavy); color: var(--gold); text-shadow: 0 0 40px rgba(255,209,102,.8), 0 8px 0 #8a5a10; animation: countPop 1s ease-out infinite; }
.lobby-card .seats-mini { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }
.lobby-card .seats-mini i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.5); }
.lobby-card .seats-mini i.on { background: var(--neon); border-color: #fff; box-shadow: 0 0 16px var(--neon); }

/* ═════════════ AKTİF OYUNCU ═════════════ */
.active {
  flex: none; height: 130px; border-radius: 30px; display: flex; align-items: center; gap: 18px; padding: 0 18px 0 16px;
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #ff7a5e, #ff4f7b 55%, #c93bf0);
  box-shadow: 0 10px 0 rgba(110,10,60,.55), 0 0 50px rgba(255,90,120,.45), inset 0 2px 0 rgba(255,255,255,.4);
}
.active::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.32) 45%, transparent 60%);
  left: -150%; right: auto; width: 400%; animation: sweepX 3.6s ease-in-out infinite; will-change: transform;
}
.active.idle { background: linear-gradient(180deg, rgba(52,18,118,.88), rgba(22,6,60,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 30px rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.16); }
.active.idle::after { opacity: .35; }
.active.correct { animation: goodFlash .9s ease-out; }
.active.wrong { animation: badShake .55s ease-in-out; }
.av {
  flex: none; width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 900 44px/1 var(--heavy); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.3);
  border: 4px solid rgba(255,255,255,.85); box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.active .txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.active .who { font: 900 52px/1.05 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 3px 0 rgba(90,0,40,.35); }
.active .what { margin-top: 6px; font: 800 31px/1.1 var(--display); opacity: .97; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.active .what b { display: inline-block; padding: 3px 12px; border-radius: 10px; background: rgba(255,255,255,.95); color: #b0124a; margin-right: 8px; }
.timer { flex: none; width: 112px; height: 112px; position: relative; z-index: 1; }
.timer svg { width: 112px; height: 112px; transform: rotate(-90deg); filter: drop-shadow(0 0 8px rgba(255,255,255,.6)); }
.timer .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 48px/1 var(--heavy); text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.timer.low .num { color: #fff36b; animation: pulse .5s infinite alternate; }
.timer.low svg { filter: drop-shadow(0 0 12px rgba(255,60,60,.9)); }
.active .banner {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center;
  font: 900 36px/1.15 var(--display); padding: 0 22px; color: var(--gold);
  background: repeating-linear-gradient(135deg, rgba(20,6,60,.97) 0 26px, rgba(40,14,90,.97) 26px 52px);
}
.result-toast {
  position: absolute; right: 140px; top: 50%; z-index: 2; transform: translateY(-50%) scale(.4) rotate(-6deg); opacity: 0;
  font: 900 46px/1 var(--heavy); padding: 14px 20px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 8px 0 rgba(0,0,0,.2); transition: transform .4s cubic-bezier(.3,1.7,.5,1), opacity .2s;
}
.result-toast.show { transform: translateY(-50%) scale(1) rotate(-3deg); opacity: 1; }
.result-toast.bad { background: #2b0b3f; color: #ff9aa9; }
.feedback { position: absolute; left: 124px; right: 140px; bottom: 6px; z-index: 2; font: 800 24px/1 var(--display); color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.5); }

/* ═════════════ KOLTUKLAR ═════════════ */
.seats { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; height: 132px; }
.seat {
  position: relative; border-radius: 22px; padding: 8px 6px; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
  background: linear-gradient(180deg, rgba(60,22,130,.9), rgba(24,6,64,.94));
  border: 2px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .35s cubic-bezier(.3,1.4,.5,1), border-color .3s, box-shadow .3s;
}
.seat .mini-av { width: 38px; height: 38px; border-radius: 50%; font: 900 20px/38px var(--heavy); text-align: center; border: 2px solid rgba(255,255,255,.8); }
.seat .nm { font: 800 24px/1.1 var(--display); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat .sc { font: 900 36px/1 var(--heavy); color: var(--gold); text-shadow: 0 0 12px rgba(255,209,102,.5); }
.seat .star { position: absolute; top: -10px; right: -6px; width: 34px; height: 34px; border-radius: 50%; font: 900 20px/34px var(--font); text-align: center; color: #3b1d00; background: linear-gradient(180deg, #ffe58a, #f0a92a); box-shadow: 0 0 12px rgba(255,209,102,.8); }
.seat.empty { border-style: dashed; background: rgba(20,6,60,.5); }
.seat.empty .nm { font-weight: 700; color: rgba(255,255,255,.55); }
.seat.on { transform: translateY(-8px) scale(1.04); border-color: var(--neon); box-shadow: 0 0 0 2px var(--neon), 0 0 30px rgba(47,243,224,.7); background: linear-gradient(180deg, rgba(47,243,224,.35), rgba(30,10,80,.95)); }
.seat.on::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 170px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(47,243,224,.45), transparent 70%);
  pointer-events: none;
}
.seat .sc.bump { animation: scoreBump .6s ease-out; }

/* Alttaki beyaz bant: dar, tek satır; sayfalar döner, hediye şeridi üstüne kayar */
.join {
  flex: none; height: 58px; border-radius: 16px; display: flex; align-items: center; gap: 12px; padding: 0 8px;
  position: relative; overflow: hidden; color: #24104f;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ff 60%, #ebe3ff 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 10px 26px rgba(10,0,40,.5), 0 0 0 3px rgba(122,60,255,.35), inset 0 -3px 0 rgba(90,40,180,.12);
}
.join .bd-tag {
  flex: none; height: 40px; padding: 0 14px; border-radius: 11px; display: grid; place-items: center; white-space: nowrap;
  font: 900 19px/1 var(--heavy); letter-spacing: 2px; color: #fff;
  background: linear-gradient(135deg, #7a3cff, #c93bf0); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 rgba(60,10,120,.35);
}
.join .bd-tag[data-kind="sup"] { background: linear-gradient(135deg, #ffb020, #ff6f5b); }
.join .bd-tag[data-kind="hint"] { background: linear-gradient(135deg, #12b5a6, #1b8fb8); }
.join .bd-view { flex: 1; min-width: 0; height: 100%; position: relative; overflow: hidden; }
.join .bd-page { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(70%); transition: transform .45s cubic-bezier(.2,1.2,.4,1), opacity .35s; }
.join .bd-page.on { opacity: 1; transform: none; }
.join .bd-page.off { opacity: 0; transform: translateY(-70%); }
.join .bd-track { display: flex; align-items: center; gap: 22px; white-space: nowrap; will-change: transform; }
.join .bd-it { display: inline-flex; align-items: center; gap: 8px; font: 800 26px/1 var(--display); }
.join .bd-nm { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.join .bd-it em { font-style: normal; font-weight: 900; color: #b46a00; }
.join .bd-rk { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 900 18px/1 var(--heavy); color: #fff; background: #3a1a7a; }
.join .bd-rk.r1 { background: linear-gradient(160deg, #ffe58a, #e09a18); color: #4a2400; }
.join .bd-rk.r2 { background: linear-gradient(160deg, #f4f6ff, #9ea6c4); color: #262a3a; }
.join .bd-rk.r3 { background: linear-gradient(160deg, #ffc9a0, #c8743a); color: #3a1a06; }
.join .bd-it.new { animation: bdNew 1.4s ease-out; }
.join .bd-it.up .bd-rk { animation: bdUp .9s ease-out; }
.join .bd-text { font: 800 26px/1 var(--display); }
.join .bd-empty { color: #6c5a98; }
.join .bd-more { font: 800 22px/1 var(--display); color: #6c5a98; }
@keyframes bdNew { 0% { color: #c9006b; transform: scale(1.12); } 100% { color: inherit; transform: none; } }
@keyframes bdUp { 0% { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(255,180,0,.55); } 100% { transform: none; box-shadow: none; } }
.ribbon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; z-index: 2;
  background: linear-gradient(180deg, #fff0a8, #ffc23d 55%, #f09a1c); color: #4a2400; font: 900 28px/1 var(--display);
  transform: translateX(-104%); transition: transform .45s cubic-bezier(.3,1.25,.5,1);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7); white-space: nowrap; overflow: hidden;
}
.ribbon.show { transform: translateX(0); }
.ribbon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); animation: ribbonShine 1.4s ease-in-out infinite; }
.ribbon .gift { width: 34px; height: 30px; position: relative; flex: none; border-radius: 4px; background: linear-gradient(90deg, #ff5a6e 0 42%, #fff 42% 58%, #ff5a6e 58%); }
.ribbon .gift::before { content: ""; position: absolute; left: -3px; right: -3px; top: -8px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #ff3f58 0 42%, #fff 42% 58%, #ff3f58 58%); }
.ribbon .rt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ribbon .cnt { flex: none; padding: 4px 10px; border-radius: 10px; background: #4a2400; color: #ffd166; }
.ribbon .cnt.pop { animation: scoreBump .45s ease-out; }

.ic-res em { font-style: normal; color: var(--gold); }

/* ═════════════ KAPLAMALAR ═════════════ */
.overlay { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.titlecard {
  position: absolute; left: 60px; right: 190px; top: 560px; height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6);
}
.titlecard.show { animation: titleIn 1.9s cubic-bezier(.2,.9,.2,1) both; }
.titlecard .tc-bg { position: absolute; inset: 0; border-radius: 40px; background: radial-gradient(ellipse at 50% 50%, rgba(80,30,180,.97), rgba(20,4,60,.97)); border: 4px solid var(--gold); box-shadow: 0 0 80px rgba(255,209,102,.6), inset 0 0 60px rgba(255,209,102,.25); overflow: hidden; }
.titlecard .tc-bg::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); }
.titlecard.show .tc-bg::after { animation: tcSweep 1.2s ease-in-out .25s both; }
.titlecard .tc-main { position: relative; font: 900 132px/1 var(--heavy); letter-spacing: 4px; background: linear-gradient(180deg, #fffdf0, #ffd166 55%, #e8902a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 0 #5a1a00) drop-shadow(0 0 30px rgba(255,209,102,.6)); white-space: nowrap; }
.titlecard .tc-sub { position: relative; margin-top: 16px; font: 900 44px/1 var(--display); color: var(--neon); text-shadow: 0 0 18px rgba(47,243,224,.7); }

.final-card {
  position: absolute; left: 50px; right: 50px; top: 250px; border-radius: 40px; padding: 30px 30px 26px;
  background: radial-gradient(ellipse at 50% 0%, rgba(110,50,220,.98), rgba(20,4,60,.98) 70%);
  border: 5px solid var(--gold); box-shadow: 0 0 90px rgba(255,209,102,.55), inset 0 0 50px rgba(255,209,102,.2);
  transform: translateY(40px) scale(.85); opacity: 0; transition: transform .7s cubic-bezier(.25,1.3,.4,1), opacity .4s;
}
.final-card.show { transform: none; opacity: 1; }

/* Sıradaki oyun tanıtımı */
.intro-card {
  position: absolute; left: 50px; right: 50px; top: 250px; border-radius: 40px; padding: 30px 30px 24px; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(47,243,224,.22), transparent 55%), radial-gradient(ellipse at 50% 0%, rgba(110,50,220,.98), rgba(18,4,56,.98) 72%);
  border: 5px solid var(--neon); box-shadow: 0 0 90px rgba(47,243,224,.45), inset 0 0 50px rgba(47,243,224,.18);
  transform: translateY(60px) scale(.82); opacity: 0; transition: transform .75s cubic-bezier(.25,1.3,.4,1), opacity .4s;
}
.intro-card.show { transform: none; opacity: 1; }
.intro-card .ic-shine { position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-20deg); }
.intro-card.show .ic-shine { animation: tcSweep 3.6s ease-in-out .3s infinite; }
.ic-head { position: relative; display: flex; align-items: center; gap: 20px; }
.ic-titles { flex: 1; min-width: 0; }
.ic-kicker { display: inline-block; font: 900 24px/1 var(--heavy); letter-spacing: 6px; color: #04212a; background: var(--neon); padding: 9px 14px; border-radius: 10px; box-shadow: 0 0 24px rgba(47,243,224,.6); }
.intro-card h2 { margin: 14px 0 0; font: 900 76px/.98 var(--heavy); letter-spacing: 2px; background: linear-gradient(180deg, #fffdf0, #ffd166 55%, #e8902a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 #4a1290) drop-shadow(0 0 24px rgba(255,209,102,.45)); }
.intro-card.show h2 { animation: icTitle 1s cubic-bezier(.2,1.4,.4,1) .15s both; }
.ic-clock { position: relative; flex: none; width: 170px; height: 170px; display: grid; place-items: center; }
.ic-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ic-ring { transition: stroke .3s; filter: drop-shadow(0 0 10px rgba(255,209,102,.7)); }
.ic-num { position: relative; font: 900 76px/1 var(--heavy); color: #fff; text-shadow: 0 4px 0 #4a1290; font-variant-numeric: tabular-nums; margin-top: -14px; }
.ic-unit { position: absolute; bottom: 34px; font: 800 22px/1 var(--display); color: rgba(255,255,255,.75); }
.ic-clock.hot .ic-ring { stroke: #ff5a5a; filter: drop-shadow(0 0 14px rgba(255,90,90,.9)); }
.ic-clock.hot .ic-num { color: #ffd2d2; }
.ic-clock.tickpop { animation: countPop .5s ease-out; }
.ic-lineup { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.ic-row { display: flex; align-items: center; gap: 16px; height: 92px; padding: 0 20px 0 14px; border-radius: 22px; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); border: 2px solid rgba(255,255,255,.14); position: relative; will-change: transform; }
.ic-row.enter { animation: icRowIn .6s cubic-bezier(.2,1.3,.4,1) both; }
.ic-row.joined { animation: icRowIn .6s cubic-bezier(.2,1.3,.4,1) both, icGlow 1.6s ease-out .2s; }
.ic-row.up { animation: icGlow 1.4s ease-out; }
.ic-row.up .ic-val { animation: scoreBump .7s ease-out; }
.ic-row.gifted { border-color: rgba(255,209,102,.55); background: linear-gradient(90deg, rgba(255,209,102,.2), rgba(255,255,255,.05)); }
.ic-row.empty { background: transparent; border: 2px dashed rgba(255,255,255,.22); color: rgba(255,255,255,.5); }
.ic-row.empty .ic-name { font-weight: 700; font-size: 32px; color: rgba(255,255,255,.55); }
.ic-rank { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 900 34px/1 var(--heavy); color: #fff; background: linear-gradient(160deg, #7a4be0, #3a148c); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 4px 0 rgba(0,0,0,.3); }
.ic-row.g1 .ic-rank { background: linear-gradient(160deg, #fff2a8, #f0a92a 60%, #b06d10); color: #4a2400; box-shadow: 0 0 22px rgba(255,209,102,.8), inset 0 2px 0 rgba(255,255,255,.6); }
.ic-row.g2 .ic-rank { background: linear-gradient(160deg, #ffffff, #b9c1dc 60%, #7a819e); color: #262a3a; }
.ic-row.g3 .ic-rank { background: linear-gradient(160deg, #ffd9b8, #d4824a 60%, #8f4a1d); color: #3a1a06; }
.ic-row.empty .ic-rank { background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); box-shadow: none; }
.ic-av { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font: 900 30px/1 var(--heavy); color: #fff; border: 3px solid rgba(255,255,255,.7); }
.ic-name { flex: 1; min-width: 0; font: 900 42px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-tag { flex: none; font: 900 20px/1 var(--heavy); letter-spacing: 2px; padding: 8px 10px; border-radius: 10px; }
.ic-tag.yeni { background: var(--neon); color: #04212a; }
.ic-tag.devam { background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.ic-val { flex: none; font: 900 34px/1 var(--heavy); color: var(--gold); text-shadow: 0 0 14px rgba(255,209,102,.6); }
.ic-reserves { position: relative; margin-top: 16px; display: flex; align-items: center; gap: 14px; font: 800 28px/1.2 var(--display); color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; }
.ic-rlabel { flex: none; font: 900 20px/1 var(--heavy); letter-spacing: 3px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.ic-rlist { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ic-rule { position: relative; margin-top: 14px; text-align: center; font: 800 26px/1.2 var(--display); color: rgba(255,255,255,.7); }
.ic-rule.need { color: var(--gold); }
@keyframes icTitle { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes icRowIn { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes icGlow { 0% { box-shadow: 0 0 0 0 rgba(255,209,102,.9), 0 0 60px rgba(255,209,102,.8); } 100% { box-shadow: 0 0 0 0 rgba(255,209,102,0); } }
.final-card h2 { margin: 0; text-align: center; font: 900 70px/1 var(--display); letter-spacing: 3px; background: linear-gradient(180deg, #fff, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 #4a1290); }
.final-card .champ { text-align: center; margin: 14px 0 6px; font: 900 40px/1.2 var(--display); color: var(--neon); overflow-wrap: anywhere; text-shadow: 0 0 20px rgba(47,243,224,.6); }
.podium-row { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: 380px; margin-top: 10px; }
.pod { flex: 1; max-width: 270px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.pod .p-name { font: 900 34px/1.1 var(--display); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .p-score { font: 900 40px/1 var(--heavy); color: var(--gold); }
.pod .p-block {
  width: 100%; border-radius: 18px 18px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
  font: 900 72px/1 var(--heavy); color: rgba(255,255,255,.95); text-shadow: 0 4px 0 rgba(0,0,0,.25);
  transform-origin: bottom; animation: rise .8s cubic-bezier(.25,1.4,.45,1) both;
}
.pod.r1 .p-block { height: 220px; background: linear-gradient(180deg, #ffe58a, #f0a92a 60%, #b06d10); animation-delay: .9s; box-shadow: 0 0 40px rgba(255,209,102,.7); }
.pod.r2 .p-block { height: 160px; background: linear-gradient(180deg, #f4f6ff, #b9c1dc 60%, #7a819e); animation-delay: .5s; }
.pod.r3 .p-block { height: 115px; background: linear-gradient(180deg, #ffc9a0, #d4824a 60%, #8f4a1d); animation-delay: .2s; }
.pod .crown { font: 900 46px/1 var(--font); color: var(--gold); filter: drop-shadow(0 0 10px rgba(255,209,102,.8)); }
.final-card ol { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.final-card li { display: flex; gap: 14px; align-items: center; font: 800 32px/1.1 var(--display); background: rgba(255,255,255,.08); border-radius: 14px; padding: 10px 16px; }
.final-card li .rk { width: 56px; color: var(--neon); }
.final-card li .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.final-card li .pt { color: var(--gold); }

.scorefly { position: absolute; z-index: 30; font: 900 64px/1 var(--heavy); color: #fff; text-shadow: 0 0 24px rgba(255,209,102,.95), 0 5px 0 #9a5a10; pointer-events: none; white-space: nowrap; }
.particles { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; pointer-events: none; z-index: 40; }

.audio-gate {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  background: radial-gradient(ellipse at center, rgba(40,10,90,.55), rgba(5,0,20,.82)); border: 0; cursor: pointer; color: #fff; font: 800 22px var(--font);
}
.audio-gate .ag-btn {
  font: 900 26px/1 var(--font); padding: 20px 30px; border-radius: 999px; color: #3b1d00;
  background: linear-gradient(180deg, #fff0a8, #ffc23d 60%, #f09a1c); box-shadow: 0 6px 0 #a35d0a, 0 0 40px rgba(255,209,102,.7);
  animation: gatePulse 1.2s ease-in-out infinite;
}
.audio-gate .ag-note { font: 600 14px var(--font); opacity: .8; max-width: 80vw; text-align: center; }
@keyframes gatePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.conn-lost { position: fixed; left: 50%; top: 8px; transform: translateX(-50%); z-index: 10; background: #b00020; color: #fff; font: 700 13px var(--font); padding: 6px 12px; border-radius: 999px; }

/* ═════════════ ANİMASYONLAR ═════════════ */
@keyframes sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes arcglow { from { opacity: .55; } to { opacity: 1; } }
@keyframes sway { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes drift { from { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { transform: translate(var(--dx, 60px), -520px); opacity: 0; } }
@keyframes haze { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.006); } }
@keyframes headIdle { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(1.6deg); } 70% { transform: rotate(-1.4deg); } }
@keyframes headTalk { 0%, 100% { transform: rotate(-1deg) translateY(0); } 25% { transform: rotate(1.5deg) translateY(-2px); } 50% { transform: rotate(-.5deg) translateY(1px); } 75% { transform: rotate(2deg) translateY(-1px); } }
@keyframes headCheer { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(4deg) translateY(-6px); } }
@keyframes mouthOpen { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes mouthClosed { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes logoShine { 0%, 70% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(475%) skewX(-20deg); } }
@keyframes blinkDot { 50% { opacity: .35; } }
@keyframes neonHum { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@keyframes neonOn { 0% { opacity: .1; } 10% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: 1; } 34% { opacity: .4; } 44%, 100% { opacity: 1; } }
@keyframes chase { 0% { opacity: 1; } 50% { opacity: .15; } }
@keyframes tileShine { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(444%) skewX(-18deg); } }
@keyframes tileIn { from { transform: rotateX(-100deg) translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes countPop { 0% { transform: scale(1.25); } 30% { transform: scale(1); } }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes goodFlash { 0% { box-shadow: 0 0 0 0 rgba(47,255,150,.9), 0 0 80px rgba(47,255,150,.9); filter: brightness(1.35); } 100% { filter: none; } }
@keyframes badShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-14px); } 40% { transform: translateX(12px); } 60% { transform: translateX(-8px); } 80% { transform: translateX(5px); } }
@keyframes scoreBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); color: #fff; } 100% { transform: scale(1); } }
@keyframes ribbonShine { from { transform: translateX(0) skewX(-20deg); } to { transform: translateX(567%) skewX(-20deg); } }
@keyframes titleIn {
  0% { opacity: 0; transform: scale(.55) rotate(-4deg); }
  14% { opacity: 1; transform: scale(1.06) rotate(1deg); }
  22% { transform: scale(1) rotate(0); }
  82% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.15); }
}
@keyframes tcSweep { from { transform: translateX(0) skewX(-20deg); } to { transform: translateX(567%) skewX(-20deg); } }
@keyframes sweepX { from { transform: translateX(-33.4%); } to { transform: translateX(33.4%); } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ═════════════ HEYECAN: ritim ışıkları, çark değeri, kenar parlaması ═════════════ */
/* Müzik vuruşunda LED duvar, neon ve spotlar parlar (yumuşak; yanıp sönme etkisi yaratmaz) */


/* Tekrar harf cezası (panonun üstünde): solda çizili harf kutusu, sağda damga ve ceza */
.repeat-burst {
  position: absolute; left: 540px; top: 770px; width: 0; height: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 34px;
  opacity: 0; pointer-events: none; z-index: 22;
}
.repeat-burst.show { animation: rbIn 2.6s cubic-bezier(.2,1.2,.3,1) both; }
.repeat-burst .rb-glow { position: absolute; left: -500px; top: -260px; width: 1000px; height: 520px; border-radius: 50%; background: radial-gradient(ellipse, rgba(60,0,20,.82), rgba(120,0,30,.45) 50%, transparent 72%); }
.repeat-burst .rb-tile {
  position: relative; flex: none; width: 220px; height: 264px; border-radius: 30px; display: grid; place-items: center;
  background: linear-gradient(180deg, #fff8e6, #f4dca8); box-shadow: 0 12px 0 #8a5a10, 0 0 0 6px #fff, 0 0 60px rgba(255,60,80,.8);
}
.repeat-burst .rb-letter { font: 900 200px/1 var(--heavy); color: #1a1050; }
.repeat-burst .rb-x { position: absolute; inset: 0; }
.repeat-burst .rb-x::before, .repeat-burst .rb-x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 320px; height: 30px; margin: -15px 0 0 -160px; border-radius: 15px;
  background: linear-gradient(180deg, #ff5a6e, #d01834); box-shadow: 0 0 20px rgba(255,40,70,.9), 0 4px 0 #7a0016;
  transform: rotate(45deg) scaleX(0); opacity: .92;
}
.repeat-burst .rb-x::after { transform: rotate(-45deg) scaleX(0); }
.repeat-burst.show .rb-x::before { animation: rbStrike .28s ease-out .35s both; --r: 45deg; }
.repeat-burst.show .rb-x::after { animation: rbStrike .28s ease-out .5s both; --r: -45deg; }
.repeat-burst .rb-col { position: relative; flex: none; width: 520px; display: flex; flex-direction: column; align-items: flex-start; }
.repeat-burst .rb-stamp {
  padding: 10px 26px; border: 8px solid #ff3a55; border-radius: 18px; background: rgba(40,0,10,.85);
  font: 900 84px/1 var(--heavy); letter-spacing: 4px; color: #ff4d64; text-shadow: 0 0 20px rgba(255,60,80,.8); white-space: nowrap;
  transform: rotate(-6deg) scale(2.4); opacity: 0; transform-origin: 30% 50%;
}
.repeat-burst.show .rb-stamp { animation: rbStamp .45s cubic-bezier(.3,1.5,.5,1) .7s both; }
.repeat-burst .rb-pts {
  margin-top: 22px; font: 900 84px/1 var(--heavy); color: #ff5a6e; white-space: nowrap;
  text-shadow: 0 6px 0 #5a0012, 0 0 30px rgba(255,60,80,.9);
}
.repeat-burst .rb-pts.none { font-size: 40px; color: #ffd2d8; }
.repeat-burst.show .rb-pts { animation: rbDrop .6s cubic-bezier(.3,1.4,.5,1) 1s both; }
.repeat-burst .rb-sub { margin-top: 12px; font: 900 34px/1 var(--display); letter-spacing: 1px; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.5); white-space: nowrap; }
@keyframes rbIn {
  0% { opacity: 0; transform: scale(.3); }
  10% { opacity: 1; transform: scale(1.08); }
  18% { transform: scale(1); }
  82% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.85) translateY(40px); }
}
@keyframes rbStrike { from { transform: rotate(var(--r)) scaleX(0); } to { transform: rotate(var(--r)) scaleX(1); } }
@keyframes rbStamp { 0% { opacity: 0; transform: rotate(-6deg) scale(2.4); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }
@keyframes rbDrop { 0% { opacity: 0; transform: translateY(-60px) scale(.6); } 100% { opacity: 1; transform: none; } }
.board.shake { animation: badShake .55s ease-in-out .3s; }
.scorefly.neg { color: #ffd2d8; text-shadow: 0 0 24px rgba(255,40,70,.95), 0 5px 0 #7a0016; }
.seat .sc.drop { animation: scoreDrop .9s ease-out; }
.seat.penalty { box-shadow: 0 0 0 3px #ff3a55, 0 0 30px rgba(255,40,70,.75); }
@keyframes scoreDrop { 0% { transform: scale(1); } 30% { transform: scale(1.4); color: #ff5a6e; } 100% { transform: scale(1); } }

/* Çark durunca büyük değer patlaması (çarkın üstünde) */
.wedge-burst {
  position: absolute; left: 540px; top: 1450px; width: 0; height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
}
.wedge-burst.show { animation: burstIn 1.9s cubic-bezier(.2,1.2,.3,1) both; }
.wedge-burst .rays {
  position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,214,110,.55) 0 8deg, transparent 8deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%); mask-image: radial-gradient(circle, #000 18%, transparent 68%);
}
.wedge-burst.show .rays { animation: spinRays 1.9s linear both; }
.wedge-burst .wb-num {
  position: relative; font: 900 190px/1 var(--heavy); white-space: nowrap;
  background: linear-gradient(180deg, #fffef0, #ffd166 55%, #e07b10); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 0 #5a1a00) drop-shadow(0 0 40px rgba(255,209,102,.9));
}
.wedge-burst .wb-sub { position: relative; margin-top: 6px; font: 900 40px/1 var(--display); letter-spacing: 4px; color: #fff; text-shadow: 0 0 18px rgba(47,243,224,.9), 0 4px 0 rgba(0,0,0,.4); white-space: nowrap; }
@keyframes burstIn {
  0% { opacity: 0; transform: scale(.2) rotate(-12deg); }
  16% { opacity: 1; transform: scale(1.18) rotate(3deg); }
  26% { transform: scale(1) rotate(0); }
  78% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.7) translateY(-80px); }
}
@keyframes spinRays { from { transform: rotate(0deg) scale(.6); } to { transform: rotate(80deg) scale(1.1); } }

/* Ekran kenarı: doğru (yeşil/altın), yanlış (kırmızı), son 5 saniye (kalp atışı) */
.edge { position: absolute; inset: 0; pointer-events: none; z-index: 35; opacity: 0; }
.stage.flash-good .edge { box-shadow: inset 0 0 120px 30px rgba(80,255,160,.65), inset 0 0 40px 10px rgba(255,209,102,.6); animation: edgeFlash 1.1s ease-out both; }
.stage.flash-bad .edge { box-shadow: inset 0 0 140px 36px rgba(255,40,70,.7); animation: edgeFlash 1s ease-out both; }
.stage.hot .edge { box-shadow: inset 0 0 160px 40px rgba(255,30,60,.55); animation: heartbeat .9s ease-in-out infinite; }
@keyframes edgeFlash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
@keyframes heartbeat { 0%, 100% { opacity: .25; } 15% { opacity: 1; } 30% { opacity: .45; } 45% { opacity: .9; } }
.stage.hot .board .neon { box-shadow: 0 0 0 4px #ff5a7a, 0 0 22px 4px rgba(255,60,90,.9), 0 0 70px rgba(255,60,90,.55), inset 0 0 26px rgba(255,60,90,.6); }
.stage.hot .active { animation: hotPulse .9s ease-in-out infinite; }
@keyframes hotPulse { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.015); } }

/* Hafif mod (?hafif=1): zayıf bilgisayar / OBS için ağır ışık efektleri kapalı */
.stage.lite .mover .beam, .stage.lite .bokeh, .stage.lite .haze, .stage.lite .ledwall::after,
.stage.lite .logo::after, .stage.lite .active::after { display: none; }
.stage.lite .mover { animation: none; }
/* 2. kademe: sürekli küçük hareketler de durur; oyun animasyonları (çark, kutular, kartlar) sürer */
.stage.lite2 .rig .r-body, .stage.lite2 .rig .r-sway, .stage.lite2 .rig .r-ant,
.stage.lite2 .board .neon::after, .stage.lite2 .board .bulbs::before, .stage.lite2 .board .bulbs::after,
.stage.lite2 .arc, .stage.lite2 .chip .dot, .stage.lite2 .lobby-card .count { animation: none !important; }
.stage.lite2 .ribbon::after, .stage.lite2 .intro-card .ic-shine, .stage.lite2 .titlecard .tc-bg::after { display: none; }
.stage.lite2 .arc { box-shadow: none; }

/* Prova alt yazısı: üst boşlukta (oyun alanını kapatmaz) */
.caption-bar {
  position: absolute; left: 36px; right: 36px; top: 34px; z-index: 50; display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 22px; color: #22104c;
  background: linear-gradient(180deg, #ffffff, #f2edff); border: 3px solid #fff;
  box-shadow: 0 14px 34px rgba(10,0,40,.55), 0 0 0 4px rgba(122,60,255,.45);
  opacity: 0; transform: translateY(-40px); transition: opacity .4s, transform .5s cubic-bezier(.2,1.3,.4,1); pointer-events: none;
}
.caption-bar.show { opacity: 1; transform: none; }
.caption-bar.swap .cp-body { animation: cpSwap .5s ease-out; }
.caption-bar .cp-tag { flex: none; padding: 10px 12px; border-radius: 12px; font: 900 20px/1 var(--heavy); letter-spacing: 2px; color: #fff; background: linear-gradient(135deg, #ff6f5b, #c93bf0); }
.caption-bar .cp-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.caption-bar .cp-title { font: 900 34px/1.05 var(--heavy); letter-spacing: .5px; color: #3a137f; }
.caption-bar .cp-text { font: 700 27px/1.22 var(--display); color: #2b1a55; }
@keyframes cpSwap { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
/* Tam ekran başlık kartı (tanıtımın açılış ve kapanışı) */
.caption-card {
  position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(60,14,140,.82), rgba(8,0,30,.94) 70%);
  opacity: 0; transition: opacity .6s;
}
.caption-card.show { opacity: 1; }
.caption-card .cc-in { text-align: center; padding: 0 70px; transform: scale(.8); transition: transform .9s cubic-bezier(.2,1.3,.4,1); }
.caption-card.show .cc-in { transform: none; }
.caption-card .cc-kicker { display: inline-block; font: 900 30px/1 var(--heavy); letter-spacing: 8px; color: #04212a; background: var(--neon); padding: 12px 18px; border-radius: 12px; box-shadow: 0 0 40px rgba(47,243,224,.6); }
.caption-card .cc-title { margin: 34px 0 0; font: 900 150px/.95 var(--heavy); letter-spacing: 3px; background: linear-gradient(180deg, #fffdf0, #ffd166 55%, #e8902a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 0 #4a1290) drop-shadow(0 0 40px rgba(255,209,102,.5)); }
.caption-card .cc-text { margin: 34px 0 0; font: 800 46px/1.25 var(--display); color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.4); }

/* Kare hızı göstergesi (?fps=1) */
.fps-meter { position: absolute; left: 8px; top: 8px; z-index: 90; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.72); color: #7dffb0; font: 700 22px/1.2 ui-monospace, Consolas, monospace; pointer-events: none; white-space: pre; }
.fps-meter.bad { color: #ff8080; }

@media (prefers-reduced-motion: reduce) {
  .camera, .cell .tile, .final-card, .intro-card, .ribbon { transition-duration: .01s !important; }
  .mover, .bokeh i, .haze, .ledwall::after, .active::after, .rig *, .board .bulbs::before, .board .bulbs::after { animation: none !important; }
  .stage.hot .edge, .stage.hot .active, .wedge-burst .rays, .board.shake { animation: none !important; }
}
