:root {
  /* Erasmus+ / AB kimliği: refleks mavi + yıldız sarısı */
  --bg: #051c5a;
  --bg-2: #0a2a7a;
  --panel: #0d2f85;
  --panel-2: #143a9a;
  --line: rgba(255, 255, 255, .12);
  --text: #f6f8ff;
  --muted: #aebbe8;
  --accent: #ffd617;
  --accent-ink: #051c5a;
  --ok: #4be08a;
  --bad: #ff6b6b;
  --display: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --r: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--display);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 214, 23, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(90, 160, 255, .22), transparent 60%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 75%);
}
button, input { font: inherit; }
.stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

/* ---------- entry cards ---------- */
.board-link {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 214, 23, .28);
  transition: transform .15s var(--ease), box-shadow .2s;
}
.board-link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 214, 23, .38); }
.board-link:active { transform: translateY(1px); }
@media (max-width: 520px) {
  .board-link { top: 12px; right: 12px; padding: 10px 12px; }
  .board-link span { display: none; }
}
.card {
  width: min(520px, 100%);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.06);
  animation: rise .6s var(--ease) both;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eu {
  position: relative;
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: #003399;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.eu i {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transform: rotate(var(--a)) translateY(-11px) rotate(calc(-1 * var(--a)));
}
.brand strong { color: var(--text); font-weight: 700; letter-spacing: .04em; text-transform: none; font-family: var(--display); font-size: 1rem; }
h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 22px;
}
h1 em { font-style: normal; color: var(--accent); }
label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
  margin: 18px 0 8px;
}
input[type="text"], input[type="tel"], input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(5, 28, 90, .7);
  color: var(--text);
  border-radius: 14px;
  padding: 16px 16px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 214, 23, .2); }
input.upper { text-transform: uppercase; }
input.ok, input.ok:focus { border-color: var(--ok); box-shadow: 0 0 0 4px rgba(75, 224, 138, .2); }
input.bad, input.bad:focus { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(255, 107, 107, .18); }
input.code {
  text-align: center;
  font-family: var(--mono);
  font-size: 2rem;
  letter-spacing: .5em;
  padding: 18px 12px;
}
.btn {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 214, 23, .28);
  transition: transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 214, 23, .38); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.msg {
  color: var(--bad);
  font-weight: 600;
  min-height: 1.3em;
  margin: 14px 0 0;
  font-size: .95rem;
}
.msg:empty { margin: 0; min-height: 0; }
.msg.shake { animation: shake .4s var(--ease); }
.notice { color: var(--muted); font-size: 1.05rem; line-height: 1.5; margin: 0; }
.org {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}
.org b { color: var(--text); font-weight: 700; }
.final .org { text-align: center; }

/* ---------- countdown ---------- */
.count-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  text-align: center;
}
.count {
  grid-area: 1 / 1;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(9rem, 32vw, 18rem);
  line-height: .85;
  margin: 0;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(255, 214, 23, .4);
  animation: pop 1s var(--ease) both;
}
.count-wrap p:not(.count) {
  position: absolute;
  top: calc(50% + clamp(5.2rem, 17vw, 9.5rem));
  left: 0;
  right: 0;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- question arena ---------- */
.arena { width: min(1040px, 100%); animation: rise .5s var(--ease) both; }
.hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.hud .pill {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--muted);
}
.hud .pill b { color: var(--text); font-size: 1.1rem; }
.hud .pill.score { justify-self: start; }
.hud .pill.right { justify-self: end; }
.hud .pill.score b { color: var(--accent); }
.hud .pill.score.bump b { animation: bump .5s var(--ease); }
.ring {
  position: relative;
  width: 92px; height: 92px;
  display: grid; place-items: center;
}
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring .track { stroke: var(--panel-2); }
.ring .prog { stroke: var(--accent); transition: stroke-dashoffset .1s linear, stroke .3s; }
.ring.warn .prog { stroke: var(--bad); }
.ring.reading .prog { stroke: var(--muted); }
.ring.reading b { color: var(--muted); }
.options.reading .opt { animation: none; opacity: .5; }
.ring b {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
}
.ring.warn b { color: var(--bad); animation: pulse .5s infinite alternate; }
.q-meta { font-family: var(--mono); color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.q-box {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 30px 32px;
  margin: 0 0 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.q-text {
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 2.1rem);
  line-height: 1.24;
  letter-spacing: -.015em;
  margin: 0;
  overflow-wrap: anywhere;
}
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt {
  --tint: var(--accent);
  position: relative;
  display: flex; gap: 14px; align-items: center; text-align: left;
  width: 100%; min-height: 96px; padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--text);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
  overflow: hidden;
  animation: rise .45s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
  transition: transform .15s var(--ease), border-color .2s, background .2s;
}
.opt b {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
}
.opt:nth-child(1) { --tint: #ffd617; }
.opt:nth-child(2) { --tint: #6ec1ff; }
.opt:nth-child(3) { --tint: #ffb100; }
.opt:nth-child(4) { --tint: #e6eeff; }
@media (hover: hover) and (pointer: fine) {
  .options:not(.suppress-hover) .opt:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--tint); }
}
.opt:active:not(:disabled) { transform: scale(.98); }
.opt:focus { outline: none; }
.opt:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }
.opt { -webkit-tap-highlight-color: transparent; }
.opt:disabled { cursor: default; opacity: .5; }
.opt.picked { opacity: 1; border-color: var(--tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tint) 35%, transparent); }
.opt.picked.good { --tint: var(--ok); }
.opt.picked.bad { --tint: var(--bad); animation: shake .4s var(--ease); }

/* ---------- flash (sorunun üstünde katman) ---------- */
.flash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: rgba(5, 28, 90, .55);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  animation: fade .2s ease-out both;
}
.flash.good { background: radial-gradient(circle at center, rgba(75, 224, 138, .18), rgba(5, 28, 90, .6) 60%); }
.flash.bad { background: radial-gradient(circle at center, rgba(255, 107, 107, .18), rgba(5, 28, 90, .6) 60%); }
/* Okunurluk: yazı ve puanın arkasında kenarsız, dışa doğru kaybolan lacivert ışıma */
.flash-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(760px, 100%);
  min-height: min(460px, 72dvh);
  box-sizing: border-box;
  padding: clamp(56px, 12vh, 120px) clamp(24px, 8vw, 80px);
  background: radial-gradient(closest-side, rgba(3, 16, 54, .97) 0%, rgba(3, 16, 54, .9) 45%, rgba(3, 16, 54, .55) 72%, transparent 100%);
  animation: pop .5s var(--ease) both;
}
.flash h2 {
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .95;
  margin: 0;
}
.flash.good h2 { color: var(--ok); text-shadow: 0 0 60px rgba(75, 224, 138, .35); }
.flash.bad h2 { color: var(--bad); text-shadow: 0 0 60px rgba(255, 107, 107, .35); }
.flash .pts {
  display: grid;
  place-items: center;
  min-width: 160px;
  margin: 16px auto 0;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 22px;
  align-self: center;
  animation: pop .6s .1s var(--ease) both;
}

/* ---------- final ---------- */
.final { width: min(560px, 100%); text-align: center; animation: rise .6s var(--ease) both; }
.final .kicker { font-family: var(--mono); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin: 0 0 10px; }
.final h1 { margin-bottom: 8px; }
.final .sub { color: var(--muted); font-weight: 600; margin: 0 0 26px; }
.final .name { font-size: 1.25rem; font-weight: 700; margin: 0 0 18px; }
.score-big {
  display: inline-grid;
  place-items: center;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 100%, transparent 0);
  padding: 6px;
  margin: 0 auto 22px;
  animation: pop .7s var(--ease) both;
}
.score-big div {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center; align-content: center;
}
.score-big b { font-family: var(--mono); font-size: 3.2rem; line-height: 1; color: var(--accent); }
.score-big span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--muted);
}
.chip b { color: var(--text); }
.final .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.final .actions .btn { margin-top: 12px; }
.final .msg { text-align: center; }
@media (max-width: 520px) { .final .actions { grid-template-columns: 1fr; } .final .actions .btn { margin-top: 6px; } }
.standing {
  margin: 14px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}
.standing b {
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 2px;
}
.standing span { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.standing.top b { text-shadow: 0 0 24px rgba(255, 214, 23, .55); }
.chip-bad { border-color: rgba(255,107,107,.5); }
.chip-bad b { color: var(--bad); }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i {
  position: absolute; top: -12px;
  width: 10px; height: 16px; border-radius: 2px;
  background: var(--c);
  left: var(--x);
  animation: fall var(--d) linear var(--delay) both;
}

/* ---------- motion ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pulse { from { opacity: 1; } to { opacity: .55; } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (max-width: 640px) {
  .stage {
    min-height: 100dvh;
    padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    align-items: start;
  }
  .card { padding: 22px 18px 20px; }
  /* Skor · sayaç · soru tek satırda; sağ üstteki Skor Tablosu düğmesine yer bırak */
  .stage:has(.arena) { padding-top: max(58px, calc(env(safe-area-inset-top) + 48px)); }
  .hud { grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr); gap: 6px; margin-bottom: 10px; }
  .hud .pill { min-width: 0; padding: 7px 9px; gap: 5px; font-size: .72rem; white-space: nowrap; }
  .hud .pill b { font-size: .9rem; }
  .ring { width: 66px; height: 66px; }
  .ring b { font-size: 1.45rem; }
  .options { grid-template-columns: 1fr; }
  .q-box { padding: 15px 14px 17px; min-height: 0; margin-bottom: 10px; border-radius: 14px; }
  .q-text { font-size: clamp(1.08rem, 4.8vw, 1.34rem); line-height: 1.28; }
  .q-meta-wrap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .q-meta { margin-bottom: 5px; font-size: .7rem; }
  .options { gap: 7px; }
  .opt { min-height: 68px; padding: 14px 11px; gap: 9px; font-size: 1rem; line-height: 1.22; border-radius: 11px; }
  .opt b { width: 32px; height: 32px; font-size: .85rem; border-radius: 8px; }
  .flash h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .flash { padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .flash-in { width: 100%; min-height: 58dvh; padding: 42px 18px; }
  .flash .pts { min-width: 140px; font-size: 1.25rem; }
  .arena { padding: 0 2px; }
}
@media (max-width: 360px) {
  .board-link { padding: 8px 10px; }
  .stage:has(.arena) { padding-top: max(52px, calc(env(safe-area-inset-top) + 42px)); }
  .hud { grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); }
  .hud .pill { justify-content: center; padding-inline: 6px; }
  .hud .pill-label { display: none; }
  .ring { width: 58px; height: 58px; }
  .ring b { font-size: 1.25rem; }
  .q-box { padding: 12px; }
  .q-text { font-size: 1.04rem; }
  .opt { min-height: 62px; font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Live Tournament, Lobby & Joker ---------- */
.lobby-card {
  text-align: center;
  max-width: 540px;
}
.lobby-radar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 10px auto 20px;
  display: grid;
  place-items: center;
}
.lobby-radar .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  z-index: 2;
}
.lobby-radar .wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.8;
  animation: radar-wave 2s infinite ease-out;
}
.lobby-radar .wave:nth-child(2) {
  animation-delay: 0.6s;
}
.lobby-radar .wave:nth-child(3) {
  animation-delay: 1.2s;
}
@keyframes radar-wave {
  0% { transform: scale(0.2); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.lobby-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 214, 23, 0.15);
  border: 1px solid rgba(255, 214, 23, 0.4);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 14px 0 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.lobby-counter b {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: #fff;
}

.lobby-msg {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0;
}
.lobby-sub {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.tour-banner {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tour-banner.demo {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}
.tour-banner.main {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

/* Joker button */
.joker-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.joker-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #051c5a;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.2s ease;
  animation: pulse-joker 2s infinite ease-in-out;
}
.joker-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
}
.joker-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.joker-btn.used {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
  box-shadow: none;
  cursor: not-allowed;
  animation: none;
  opacity: 0.6;
}
@keyframes pulse-joker {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* Eliminated option by 50% joker */
.opt.eliminated {
  opacity: 0.22 !important;
  text-decoration: line-through;
  pointer-events: none !important;
  cursor: not-allowed !important;
  filter: grayscale(1);
  transform: scale(0.96);
  border-color: rgba(255, 107, 107, 0.4) !important;
}
.opt.eliminated b {
  color: var(--bad) !important;
}

/* Canlı tur bileşenleri yukarıdaki mobil kurallardan sonra tanımlandığı için
   küçük ekran ölçülerini burada son kez uygula. */
@media (max-width: 640px) {
  .tour-banner { font-size: .62rem; padding: 3px 8px; margin-bottom: 4px; }
  .joker-wrap { margin-top: 10px; }
  .joker-btn { font-size: .78rem; padding: 8px 13px; }
}
