/* ==========================================================================
   WEB AIMTRAINING v2 — Valorant ısınma merkezi
   Koyu zemin · aurora ışıkları · cam paneller · kırmızı vurgu
   ========================================================================== */

:root {
  --bg: #070d13;
  --bg-2: #0b131b;
  --bg-3: #111d27;
  --panel: rgba(255, 255, 255, 0.038);
  --panel-2: rgba(255, 255, 255, 0.062);
  --glass: rgba(12, 20, 28, 0.72);
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #ece8e1;
  --ink-2: #b6c2cd;
  --muted: #72818e;
  --red: #ff4655;
  --red-2: #ff6b77;
  --mint: #4ee0b5;
  --amber: #ffc65c;
  --violet: #a78bfa;
  --cyan: #38bdf8;
  --pink: #f472b6;
  --r: 6px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --accent: var(--red);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

::selection { background: rgba(255, 70, 85, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080f16; }
::-webkit-scrollbar-thumb {
  background: #1d2b38;
  border-radius: 10px;
  border: 2px solid #080f16;
}
::-webkit-scrollbar-thumb:hover { background: #2a3b4b; }

/* ---------- aurora ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.b1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  left: -12vw; top: -16vw;
  background: radial-gradient(circle, rgba(255, 70, 85, 0.55), transparent 68%);
  animation: drift1 26s ease-in-out infinite;
}
.b2 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  right: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(56, 134, 255, 0.4), transparent 68%);
  animation: drift2 32s ease-in-out infinite;
}
.b3 {
  width: 50vw; height: 34vw; min-width: 360px;
  left: 22vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(78, 224, 181, 0.2), transparent 70%);
  animation: drift3 38s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 5vw, 0) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-7vw, 6vw, 0) scale(1.08); }
}
@keyframes drift3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -4vw, 0) scale(1.15); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar, main, .footer, .modal, .countdown, .drawer, .toasts { position: relative; z-index: 1; }

/* oyun sırasında aurora'yı dondur (GPU rahatlasın) */
body.is-gaming .blob { animation-play-state: paused; }
body.is-gaming .noise { opacity: 0.02; }

/* ---------- üst bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(14px, 3vw, 34px);
  background: rgba(7, 13, 19, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--red);
  border: 1px solid rgba(255, 70, 85, 0.32);
  background: linear-gradient(160deg, rgba(255, 70, 85, 0.14), transparent 72%);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand-text strong span { color: var(--red); }
.brand-text small { margin-top: 3px; font-size: 8.5px; letter-spacing: 0.22em; color: var(--muted); font-weight: 600; }

.seg-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.seg-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.95), rgba(200, 40, 55, 0.95));
  box-shadow: 0 6px 18px -8px rgba(255, 70, 85, 0.9);
}

.top-actions { display: flex; align-items: center; gap: 8px; }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-2);
  font: 600 11.5px/1 'Inter', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.2s;
}
.chip-btn:hover { color: var(--ink); border-color: rgba(255, 70, 85, 0.45); background: rgba(255, 70, 85, 0.09); }
.chip-btn svg { color: var(--red); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  cursor: pointer;
  transition: 0.18s;
  flex-shrink: 0;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.08); }
.icon-btn.is-off { color: var(--muted); }
.icon-btn.is-off .sound-wave { opacity: 0.15; }

/* ---------- butonlar ---------- */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: 700 11.5px/1 'Inter', sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.16s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.985); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff4655, #cf2f3d);
  box-shadow: 0 12px 30px -14px rgba(255, 70, 85, 1);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.btn-primary:hover { background: linear-gradient(135deg, #ff5e6a, #e23845); box-shadow: 0 16px 40px -14px rgba(255, 70, 85, 1); }
.btn-ghost { color: var(--ink-2); background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); border-color: var(--line-2); }
.btn-outline { color: var(--ink); background: transparent; border: 1px solid rgba(255, 70, 85, 0.45); }
.btn-outline:hover { background: rgba(255, 70, 85, 0.12); border-color: var(--red); }
.btn-sm { padding: 10px 13px; font-size: 10.5px; }
.w-full { width: 100%; }

/* ---------- view ---------- */
main { flex: 1 0 auto; width: 100%; }
.view {
  display: none;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 38px) clamp(14px, 3vw, 32px) 70px;
}
.view.is-active { display: block; }
.view.is-active > * { animation: rise 0.5s var(--ease) both; }
.view.is-active > *:nth-child(2) { animation-delay: 0.05s; }
.view.is-active > *:nth-child(3) { animation-delay: 0.1s; }
.view.is-active > *:nth-child(4) { animation-delay: 0.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 36px;
  align-items: center;
  padding: clamp(18px, 3vw, 40px) 0 clamp(26px, 4vw, 54px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 16px 0 14px;
}
h1 span {
  display: inline-block;
  margin-left: 0.1em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  text-shadow: 0 0 40px rgba(255, 70, 85, 0.4);
}
.hero-sub { max-width: 600px; color: var(--ink-2); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); font-weight: 600; }
.hero-stats i { font-style: normal; color: var(--ink-2); }

.hero-art { display: grid; place-items: center; gap: 14px; }
.radar {
  position: relative;
  width: min(300px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 70, 85, 0.18);
  background: radial-gradient(circle at 50% 50%, rgba(255, 70, 85, 0.12), transparent 62%);
  display: grid;
  place-items: center;
}
.radar::before, .radar::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
}
.radar::before { width: 1px; height: 100%; left: 50%; }
.radar::after { height: 1px; width: 100%; top: 50%; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.r1 { inset: 16%; }
.r2 { inset: 32%; }
.r3 { inset: 46%; border-color: rgba(255, 70, 85, 0.4); }
.sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 70, 85, 0.35), transparent 24%, transparent 100%);
  animation: spin 5.5s linear infinite;
  mask-image: radial-gradient(circle, #000 0 62%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 0 62%, transparent 72%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.core {
  position: relative;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 24px rgba(255, 70, 85, 0.9);
}
.tick {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
  animation: blink 3.4s ease-in-out infinite;
}
.t1 { left: 22%; top: 34%; animation-delay: 0s; }
.t2 { right: 20%; top: 58%; animation-delay: 1.1s; }
.t3 { left: 42%; bottom: 16%; animation-delay: 2.2s; }
@keyframes blink { 0%, 100% { opacity: 0.15; transform: scale(0.8); } 45% { opacity: 1; transform: scale(1); } }
.hero-art-label { font-size: 9px; letter-spacing: 0.32em; color: var(--muted); font-weight: 700; }

/* ---------- başlıklar ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}
.section-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1;
}
.section-head p { color: var(--muted); font-size: 12.5px; max-width: 560px; margin-top: 4px; }
.section-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red-2);
  border: 1px solid rgba(255, 70, 85, 0.3);
  background: rgba(255, 70, 85, 0.07);
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---------- programlar ---------- */
.playlists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.playlist {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.playlist::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.playlist:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.playlist-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.playlist h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  min-width: 0;
  flex: 1 1 auto;
}
.playlist-time {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.playlist-steps { display: flex; flex-wrap: wrap; gap: 5px; position: relative; z-index: 1; }
.step-chip {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
}
.playlist .btn { position: relative; z-index: 1; margin-top: auto; }
.playlist p { position: relative; z-index: 1; font-size: 11.5px; color: var(--muted); }

/* ---------- kartlar ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }

.card {
  position: relative;
  text-align: left;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 164px;
  font-family: inherit;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 180px at 100% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--panel-2); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.card-badge { font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; border-radius: 999px; }
.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.card h3 em { font-style: normal; font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.card p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; gap: 8px; }
.card-best { font-size: 9.5px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; }
.card-best b { color: var(--ink); font-size: 12px; }
.card-go { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.13em; color: var(--accent); text-transform: uppercase; }
.card:hover .card-go { color: var(--ink); }
.card-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  padding: 3px 6px; border-radius: 3px;
}

/* ---------- senaryo filtresi ---------- */
.scen-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
}
.chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chips-label { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); font-weight: 700; margin-right: 2px; }
.chip {
  font: inherit; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line); padding: 7px 11px; cursor: pointer;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover { color: var(--ink); border-color: var(--line-2); }
.chip.is-active { color: #fff; background: var(--red); border-color: var(--red); }

/* ---------- paneller ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  backdrop-filter: blur(6px);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel h3, .panel-head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red-2);
  border: 1px solid rgba(255, 70, 85, 0.3);
  background: rgba(255, 70, 85, 0.07);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- hesaplayıcı ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}
.calc input {
  appearance: none;
  width: 100%;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 15px/1 'Inter', sans-serif;
  padding: 11px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc input:focus { border-color: rgba(255, 70, 85, 0.6); box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.12); }
.calc-out { display: flex; gap: 24px; margin: 16px 0 14px; flex-wrap: wrap; }
.calc-out div { display: flex; flex-direction: column; }
.calc-out b { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 700; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; }
.calc-out span { font-size: 8.5px; letter-spacing: 0.17em; color: var(--muted); font-weight: 600; margin-top: 4px; }
.hint { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.hint b { color: var(--ink-2); }

.routine { list-style: none; counter-reset: r; display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.routine li {
  counter-increment: r;
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 12px;
  color: var(--ink-2);
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.routine li:last-child { border-bottom: 0; padding-bottom: 0; }
.routine li::before {
  content: '0' counter(r);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.routine b { color: var(--ink); }

.bullets { margin: 10px 0 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.bullets b { color: var(--ink); }

.breath { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
#breath-label { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 700; color: var(--mint); min-width: 100px; line-height: 1; }

/* ---------- istatistik ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat-box {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 15px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.stat-box span { font-size: 8.5px; letter-spacing: 0.15em; color: var(--muted); font-weight: 700; }
.stat-box b { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 27px; font-weight: 700; line-height: 1.1; margin-top: 5px; font-variant-numeric: tabular-nums; }

#trend { width: 100%; height: 190px; display: block; }

.bests { display: flex; flex-direction: column; gap: 9px; }
.best-row { display: flex; flex-direction: column; gap: 4px; }
.best-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-2); flex-wrap: wrap; }
.best-top .best-rank { display: inline-flex; align-items: center; gap: 3px; }
.best-top b { color: var(--ink); font-size: 12px; }
.best-bar { height: 4px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.best-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.8s var(--ease); }

.history { display: flex; flex-direction: column; gap: 5px; max-height: 340px; overflow: auto; }
.history-row {
  display: grid;
  grid-template-columns: 118px 1fr 90px 80px;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r);
  font-size: 11.5px;
  color: var(--ink-2);
}
.history-row b { color: var(--ink); font-weight: 600; }
.history-row .dot-mode { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }
.history-empty { padding: 26px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---------- rehber ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.how-grid .panel p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.how-grid .panel b { color: var(--ink-2); }
.shortcuts h3 { margin-bottom: 12px; }
.keys { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11.5px; color: var(--ink-2); }
kbd {
  font: 600 10.5px/1 'Inter', sans-serif;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--ink);
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px clamp(14px, 3vw, 34px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.footer .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

/* ---------- OYUN ---------- */
#view-game { max-width: 1520px; padding-top: 12px; }

.game-top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(8, 14, 20, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 8px;
  backdrop-filter: blur(12px);
}
.game-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.game-title b { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; letter-spacing: 0.05em; }
.game-title span { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-metrics { display: flex; gap: 20px; margin-left: auto; }
.metric { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 52px; }
.metric b { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.metric span { font-size: 8px; letter-spacing: 0.16em; color: var(--muted); font-weight: 700; margin-top: 4px; }
#hud-time { color: var(--amber); }

.arena-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 180px);
  background: radial-gradient(ellipse at 50% 40%, #16232f, #080f16 78%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  cursor: crosshair;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.6);
  contain: layout paint;
  touch-action: none;
}
.arena-wrap.is-aiming { cursor: none; }
#arena { display: block; width: 100%; height: 100%; touch-action: none; }

.timer-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, 0.06); z-index: 4; }
.timer-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--amber)); box-shadow: 0 0 12px rgba(255, 70, 85, 0.7); transition: width 0.12s linear; }

.arena-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}
.arena-hint[hidden] { display: none; }

.raw-banner {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: rgba(8, 14, 20, 0.78);
  border: 1px solid rgba(255, 70, 85, 0.4);
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 6;
}
.raw-banner[hidden] { display: none; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.4s ease-in-out infinite; }

.pause-layer, .next-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 10, 15, 0.74);
  backdrop-filter: blur(6px);
  z-index: 8;
  padding: 16px;
  cursor: default;
}
.pause-layer[hidden], .next-layer[hidden] { display: none; }
.pause-card, .next-card {
  text-align: center;
  padding: 30px 34px;
  background: #101b25;
  border: 1px solid var(--line-2);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  max-width: 400px;
  width: 100%;
}
.pause-card h3, .next-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.pause-card p, .next-card p { color: var(--muted); font-size: 12.5px; margin: 8px 0 18px; }
.pause-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.next-card .eyebrow { margin-bottom: 10px; }
.next-bar { height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; margin: 4px 0 16px; }
.next-bar i { display: block; height: 100%; width: 100%; background: var(--mint); }

/* ---------- drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 7, 11, 0.66);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease both;
}
.drawer-backdrop[hidden] { display: none; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  width: min(420px, 100vw);
  background: linear-gradient(180deg, #0c1620, #080f16);
  border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.38s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.drawer-head .eyebrow { padding: 4px 9px; font-size: 8px; }
.drawer-head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 8px;
}
.drawer-body { overflow-y: auto; padding: 4px 20px 40px; }
.dsec { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dsec:last-child { border-bottom: 0; }
.dsec h4 {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.seg { display: flex; gap: 3px; padding: 3px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 999px; }
.seg button {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.06em;
  padding: 9px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.seg button:hover { color: var(--ink); }
.seg button.is-active { background: linear-gradient(135deg, rgba(255, 70, 85, 0.95), rgba(200, 40, 55, 0.95)); color: #fff; }

.field { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.field input[type="number"] {
  appearance: none;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 15px/1 'Inter', sans-serif;
  padding: 10px;
  outline: none;
  letter-spacing: 0;
  text-transform: none;
}
.field input[type="number"]:focus { border-color: rgba(255, 70, 85, 0.6); }

/* giris/kayit inputlari */
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  appearance: none;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 15px/1 'Inter', sans-serif;
  padding: 10px 12px;
  outline: none;
  letter-spacing: 0;
  text-transform: none;
}
.field input[type="email"]:focus,
.field input[type="password"]:focus,
.field input[type="text"]:focus {
  border-color: rgba(255, 70, 85, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.12);
}
.field .val { position: absolute; right: 0; top: -1px; color: var(--ink); font-weight: 700; letter-spacing: 0; text-transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #0c1620;
  box-shadow: 0 0 0 1px var(--red), 0 0 12px rgba(255, 70, 85, 0.7);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 2px solid #0c1620; }

.row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 500; margin: 8px 0; cursor: pointer; }
.row input[type="checkbox"] { appearance: none; width: 17px; height: 17px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(0, 0, 0, 0.35); cursor: pointer; position: relative; flex-shrink: 0; }
.row input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1.5px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.kv { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.kv b { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; color: var(--mint); font-variant-numeric: tabular-nums; }

.presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.preset {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font: 600 10px/1 'Inter', sans-serif;
  letter-spacing: 0.04em;
  padding: 7px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.16s;
}
.preset:hover { color: var(--ink); border-color: rgba(255, 70, 85, 0.5); background: rgba(255, 70, 85, 0.1); }

.calib-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.calib-val { font-size: 9.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.calib-val b { color: var(--mint); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; margin-left: 3px; }
.calib-row .btn { flex: 1 1 auto; }

/* ---------- rütbe ---------- */
.rank-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.rank-chip-badge { display: inline-flex; width: 17px; }
.rank-chip-badge svg { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }

.rank-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.rank-badge-lg { flex: 0 0 auto; filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55)); }
.rank-main { flex: 1 1 auto; min-width: 0; }
.rank-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rank-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}
.rank-top b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.rr-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin: 8px 0 6px;
}
.rr-bar i { display: block; height: 100%; border-radius: 999px; transition: width 0.45s ease; }
.rank-sub {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.rank-side {
  display: flex;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.rank-side div { text-align: center; }
.rank-side b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  color: var(--mint);
  line-height: 1.1;
}
.rank-side span { font-size: 9px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; font-weight: 600; }

.rank-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}
.rank-result.is-compact { padding: 8px 12px; margin: 10px 0 0; }
.rr-badge { flex: 0 0 auto; display: flex; }
.rr-info { flex: 1 1 auto; text-align: left; }
.rr-info span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}
.rr-info b { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; letter-spacing: 0.02em; }
.rr-delta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  color: var(--muted);
  white-space: nowrap;
}
.rr-delta.up { color: var(--mint); }
.rr-delta.down { color: var(--red); }

.hero-rank b { color: var(--amber); }

@media (max-width: 620px) {
  .rank-panel { flex-wrap: wrap; }
  .rank-side { border-left: 0; padding-left: 0; }
}

.xh-wrap { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
#xh-preview { width: 58%; background: radial-gradient(ellipse at 50% 40%, #1a2a38, #0a121a); border: 1px solid var(--line); border-radius: var(--r); display: block; }
.xh-side { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 4px; }
.swatch {
  appearance: none;
  height: 22px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.16s;
}
.swatch.is-active { border-color: #fff; transform: scale(1.06); }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 12, 0.82);
  backdrop-filter: blur(9px);
  padding: 16px;
  cursor: default;
  animation: fadeIn 0.25s ease both;
}
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  width: min(580px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(165deg, #13202b, #0a131c);
  border: 1px solid var(--line-2);
  padding: 28px;
  text-align: center;
  clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
  box-shadow: var(--shadow);
  animation: modalIn 0.4s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(0.97); } to { opacity: 1; transform: none; } }

.modal-badge {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--mint);
  border: 1px solid rgba(78, 224, 181, 0.35);
  background: rgba(78, 224, 181, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.modal-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.modal-sub { color: var(--muted); font-size: 12px; margin-top: 6px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 22px 0; }
.result-grid div { padding: 13px 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r); }
.result-grid b { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.result-grid span { font-size: 8px; letter-spacing: 0.15em; color: var(--muted); font-weight: 700; }
.modal-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.result-hint { margin-top: 16px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.result-hint span { color: var(--ink-2); }

.session-list { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; text-align: left; }
.session-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 12px;
  color: var(--ink-2);
}
.session-row b { color: var(--ink); }
.session-row em { font-style: normal; font-family: 'Barlow Condensed', sans-serif; font-size: 17px; color: var(--mint); }

/* ---------- geri sayım ---------- */
.countdown {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(6, 11, 16, 0.7);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.countdown[hidden] { display: none; }
.countdown span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(90px, 22vw, 210px);
  font-weight: 800;
  color: var(--red);
  text-shadow: 0 0 70px rgba(255, 70, 85, 0.65);
  line-height: 1;
  animation: countPop 0.62s var(--ease);
}
@keyframes countPop { from { transform: scale(1.65); opacity: 0; } 40% { opacity: 1; } to { transform: scale(0.94); opacity: 0.92; } }

/* ---------- toast ---------- */
.toasts {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 320px;
}
/* oyun içinde HUD'un üstünü kapatmasın */
body.is-gaming .toasts {
  top: auto;
  bottom: 16px;
  right: 50%;
  transform: translateX(50%);
  align-items: center;
  max-width: min(520px, calc(100vw - 32px));
}
body.is-gaming .toast { text-align: left; }
.toast {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 13px;
  background: rgba(12, 21, 29, 0.96);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--red);
  border-radius: var(--r);
  font-size: 11.5px;
  color: var(--ink-2);
  box-shadow: 0 14px 40px -18px #000;
  animation: toastIn 0.3s var(--ease) both;
}
.toast.is-out { animation: toastOut 0.28s ease both; }
.toast.ok { border-left-color: var(--mint); }
@keyframes toastIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(22px); } }

/* ---------- uyarlanabilir ---------- */
@media (max-width: 1140px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .playlists { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .cards, .grid-2, .how-grid { grid-template-columns: 1fr; }
  .game-metrics { gap: 12px; }
  .metric { min-width: 42px; }
  .metric-sens { display: none; }
  .metric b { font-size: 19px; }
  .metric span { font-size: 7px; }
  .game-title span { display: none; }
  .arena-wrap { aspect-ratio: 4 / 3; }
  .history-row { grid-template-columns: 1fr 1fr; }
  .history-row > :nth-child(3), .history-row > :nth-child(4) { display: none; }
  h1 span { display: block; margin: 0; }
  .brand-text small { display: none; }
  .chip-btn span { display: none; }
  .chip-btn { width: 38px; padding: 0; justify-content: center; }
  #settings-btn { padding: 0 10px; }
  #settings-btn svg { margin: 0; }
  .top-actions { margin-left: auto; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- kullanıcı / liderlik ---------- */
.user-chip.is-on { color: var(--mint); border-color: rgba(78, 224, 181, 0.4); }
#lb-panel { margin-bottom: 14px; }
#lb-tabs { margin: 4px 0 12px; flex-wrap: wrap; gap: 5px; }
.lb-rows { display: flex; flex-direction: column; gap: 10px; max-height: 600px; overflow-y: auto; }
.lb-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.lb-row:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-2); transform: translateY(-1px); }
.lb-row.is-me { border-color: rgba(78, 224, 181, 0.45); background: rgba(78, 224, 181, 0.07); }
.lb-pos { width: 32px; text-align: center; color: var(--muted); font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; }
.lb-badge { display: inline-flex; width: 36px; height: 36px; }
.lb-badge img { display: block; width: 32px; height: auto; aspect-ratio: 1 / 1.16; object-fit: contain; }
.lb-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); flex-shrink: 0; }
.lb-av-emoji { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); font-size: 22px; flex-shrink: 0; }
.lb-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lb-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-rank { font-size: 11px; font-weight: 600; }
.lb-bio { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-val { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; font-size: 14px; }
.lb-row:nth-child(1) .lb-pos { color: var(--amber); }
.lb-row:nth-child(2) .lb-pos, .lb-row:nth-child(3) .lb-pos { color: var(--ink); }

/* prof avatar image */
.prof-avatar-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); flex-shrink: 0; }
.prof-edit-avatar { display: flex; justify-content: center; margin: 12px 0 8px; }
.prof-edit-avatar .prof-avatar-img, .prof-edit-avatar .prof-avatar { width: 96px; height: 96px; }
.prof-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); font-size: 32px; flex-shrink: 0; }

/* chip avatar image */
.chip-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lb-row:nth-child(1) .lb-pos { color: var(--amber); }
.lb-row:nth-child(2) .lb-pos, .lb-row:nth-child(3) .lb-pos { color: var(--ink); }

/* giris alani */
#login-name {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 15px/1.2 'Inter', sans-serif;
  padding: 10px 12px;
  outline: none;
  letter-spacing: 0;
  text-transform: none;
}
#login-name:focus { border-color: rgba(255, 70, 85, 0.6); }
#login-name::placeholder { color: var(--muted); opacity: 0.7; }

.rank-unranked {
  display: grid;
  place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #9aa4b2;
  background: rgba(139, 149, 163, 0.10);
  border: 1px dashed rgba(139, 149, 163, 0.45);
  border-radius: 8px;
  line-height: 1;
  letter-spacing: 0;
}

.lock-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 7;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(12, 21, 29, 0.92);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.lock-hint kbd {
  color: var(--mint);
  font-weight: 700;
  border: 1px solid rgba(78, 224, 181, 0.4);
  border-radius: 4px;
  padding: 1px 6px;
  margin: 0 2px;
}
.lock-hint[hidden] { display: none; }

/* --- belirgin zorluk secici --- */
#diff-chips {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 5px;
  margin-left: 6px;
}
#diff-chips .chips-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  padding: 0 10px;
  white-space: nowrap;
}
#diff-chips .chip {
  clip-path: none;
  border-radius: calc(var(--r) - 4px);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 11px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
}
#diff-chips .chip:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
#diff-chips .chip[data-diff="0.9"].is-active {
  background: rgba(78, 224, 181, 0.14);
  color: var(--mint);
  border-color: rgba(78, 224, 181, 0.5);
  box-shadow: 0 0 14px rgba(78, 224, 181, 0.18);
}
#diff-chips .chip[data-diff="1.15"].is-active {
  background: rgba(255, 198, 92, 0.14);
  color: var(--amber);
  border-color: rgba(255, 198, 92, 0.5);
  box-shadow: 0 0 14px rgba(255, 198, 92, 0.18);
}
#diff-chips .chip[data-diff="1.5"].is-active {
  background: rgba(255, 70, 85, 0.14);
  color: var(--red);
  border-color: rgba(255, 70, 85, 0.5);
  box-shadow: 0 0 14px rgba(255, 70, 85, 0.18);
}
@media (max-width: 640px) {
  #diff-chips { grid-template-columns: 1fr 1fr 1fr; }
  #diff-chips .chips-label { grid-column: 1 / -1; }
}

/* --- dil secici --- */
.lang-wrap { position: relative; }
.lang-btn { font-size: 16px; line-height: 1; }
.lang-menu {
  position: absolute;
  top: 46px;
  right: 0;
  z-index: 70;
  min-width: 160px;
  background: #0c1620;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
}
.lang-menu[hidden] { display: none; }
.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 12px/1 'Inter', sans-serif;
  border-radius: 4px;
  cursor: pointer;
}
.lang-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.lang-item.is-active { color: var(--mint); background: rgba(78, 224, 181, 0.08); }

/* --- akilli koc --- */
.coach-box { margin-bottom: 14px; border-color: rgba(78, 224, 181, 0.25); }
.coach-box .tag { color: var(--mint); border-color: rgba(78, 224, 181, 0.3); background: rgba(78, 224, 181, 0.07); }
.coach-box p { color: var(--ink-2); font-size: 13px; line-height: 1.6; }

/* --- giris / oauth --- */
.user-chip.is-guest { color: var(--ink); }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 14px 0 4px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: 600 13px/1 'Inter', sans-serif;
  border-radius: var(--r);
  cursor: pointer;
  transition: 0.2s;
  overflow: hidden;
}
.oauth-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); transform: translateY(-1px); }
.oauth-ic {
  width: 18px; height: 18px;
  max-width: 18px; max-height: 18px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}
.oauth-soon { margin-left: auto; font-size: 8px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.oauth-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin: 14px 0 6px; }
.oauth-divider::before, .oauth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* --- giris sekmeleri --- */
.login-tabs { display: flex; gap: 3px; padding: 3px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); border-radius: 999px; margin: 14px 0 12px; }
.login-tabs button {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 11px/1 'Inter', sans-serif;
  letter-spacing: 0.05em;
  padding: 9px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.login-tabs button:hover { color: var(--ink); }
.login-tabs button.is-active { background: linear-gradient(135deg, rgba(255,70,85,0.95), rgba(200,40,55,0.95)); color: #fff; }
.login-tabs button.is-active[data-tab="guest"] { background: linear-gradient(135deg, rgba(78,224,181,0.9), rgba(31,159,93,0.9)); }
#tab-email, #tab-guest { text-align: left; }
#tab-email .field input, #tab-guest .field input {
  appearance: none;
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 14px/1 'Inter', sans-serif;
  padding: 10px 12px;
  outline: none;
  letter-spacing: 0;
  text-transform: none;
}
#tab-email .field input:focus, #tab-guest .field input:focus { border-color: rgba(255,70,85,0.6); }

#tab-email, #tab-guest { transition: opacity 0.18s ease, transform 0.18s ease; }
.tab-enter { animation: tabIn 0.24s var(--ease) both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- profil --- */
.lb-row { cursor: pointer; }
.lb-row:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
.prof-head { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 10px; }
.prof-avatar {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  flex-shrink: 0;
}
.prof-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prof-info b { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; letter-spacing: 0.03em; }
.prof-info span { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; }
.prof-bio { text-align: left; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; margin: 8px 0; }
.prof-overall-rank {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(255,70,85,0.08), rgba(78,224,181,0.06));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 24px rgba(255,70,85,0.12);
  margin-bottom: 12px;
}
.prof-overall-badge { flex-shrink: 0; }
.prof-overall-info { display: flex; flex-direction: column; gap: 2px; }
.prof-overall-info b { font-size: 20px; font-weight: 800; }
.prof-overall-info span { font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.prof-overall-stats { display: flex; gap: 16px; margin-top: 6px; }
.prof-overall-stats div { display: flex; flex-direction: column; align-items: center; }
.prof-overall-stats b { font-size: 16px; }
.prof-overall-stats span { font-size: 9px; color: var(--muted); letter-spacing: 1px; }
.prof-mode-ranks { margin-top: 12px; }
.mode-rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.mode-rank-card {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--accent, var(--red));
}
.mode-rank-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mode-rank-info b { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode-rank-info span { font-size: 10px; font-weight: 700; }
.best-rank { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.best-rank small { font-size: 10px; color: var(--muted); }: 1.6; margin: 8px 0; padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--r); }
.prof-stats { display: flex; gap: 20px; margin: 10px 0; text-align: left; }
.prof-stats div { display: flex; flex-direction: column; }
.prof-stats b { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; color: var(--mint); }
.prof-stats span { font-size: 9px; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
#profile-body .bests { margin-top: 10px; }

.swatch.av { background: transparent; display: grid; place-items: center; height: 34px; }


/* Rank badge img aspect ratio fix */
.rank-badge-lg img { display: block; height: auto; aspect-ratio: 1 / 1.16; object-fit: contain; }
.prof-overall-badge img { display: block; height: auto; aspect-ratio: 1 / 1.16; object-fit: contain; }
.rank-chip-badge img { display: block; height: auto; aspect-ratio: 1 / 1.16; object-fit: contain; }


/* 2D/3D mode toggle */
.mode-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-right: 8px;
}
.mt-btn {
  padding: 6px 12px;
  border: none;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font: 700 11px/1 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 1px;
}
.mt-btn.is-active {
  background: var(--red);
  color: #fff;
}
.mt-btn:hover:not(.is-active) {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
}


/* 3D Arena */
.arena-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: var(--r);
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  z-index: 1;
}
.arena-3d canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* 3D crosshair */
/* 3D crosshair center dot */
/* 3D crosshair center dot */


/* ==== 3D crosshair (ayarlarla senkron) ==== */
.arena-3d canvas { position: absolute; inset: 0; }
.xh-3d {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  --xh-color: #00ff9d;
  --xh-gap: 5px;
  --xh-len: 9px;
  --xh-thick: 2px;
}
.xh-3d .xh-line {
  position: absolute;
  background: var(--xh-color);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}
.xh-3d .xh-up, .xh-3d .xh-down {
  width: var(--xh-thick);
  height: var(--xh-len);
  left: 50%;
  transform: translateX(-50%);
}
.xh-3d .xh-up { bottom: calc(50% + var(--xh-gap)); }
.xh-3d .xh-down { top: calc(50% + var(--xh-gap)); }
.xh-3d .xh-left, .xh-3d .xh-right {
  height: var(--xh-thick);
  width: var(--xh-len);
  top: 50%;
  transform: translateY(-50%);
}
.xh-3d .xh-left { right: calc(50% + var(--xh-gap)); }
.xh-3d .xh-right { left: calc(50% + var(--xh-gap)); }
.xh-3d .xh-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--xh-color);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}
.xh-3d.xh-no-outline .xh-line,
.xh-3d.xh-no-outline .xh-dot { box-shadow: none; }


.best-meta { display: flex; align-items: center; gap: 8px; }
.best-acc { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em; }


/* ==== İstatistik & profil yeni tasarım ==== */
.rank-panel {
  background:
    radial-gradient(130% 150% at 0% 0%, color-mix(in srgb, var(--red) 16%, transparent), transparent 55%),
    radial-gradient(130% 150% at 100% 100%, color-mix(in srgb, var(--mint) 13%, transparent), transparent 55%),
    var(--panel);
}
.rr-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 10px 0 8px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); }
.rr-bar i { box-shadow: 0 0 14px rgba(255, 255, 255, 0.16); }
.rank-peak { font-size: 9px; letter-spacing: 0.12em; color: var(--mint); text-transform: uppercase; font-weight: 700; background: color-mix(in srgb, var(--mint) 13%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 32%, transparent); padding: 3px 8px; border-radius: 999px; }
.perf-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.perf-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #ffffff), var(--accent)); transition: width 0.7s var(--ease); }
.best-row { gap: 6px; }
.prof-section { text-align: left; margin-top: 16px; }
.prof-section .panel-head { justify-content: flex-start; margin-bottom: 10px; }
.prof-overall-info { flex: 1; min-width: 0; }
.prof-overall-info .rr-bar { width: 100%; }
.prof-overall-stats { flex-wrap: wrap; }


/* ==== Bayrak ikonları ==== */
.lang-btn img { width: 20px; height: 15px; object-fit: cover; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.lang-item { display: flex; align-items: center; gap: 9px; }
.lang-item img { width: 20px; height: 15px; object-fit: cover; border-radius: 3px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }


/* ==== Ayarlar sekmeleri + grafik ==== */
.dsec-tabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.dtab { background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--muted); font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; cursor: pointer; }
.dtab:hover { color: var(--ink-2); }
.dtab.is-active { color: var(--ink); border-bottom-color: var(--red); }
.dtab-panel { display: none; }
.dtab-panel.is-active { display: block; }
.gfx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; }
.gfx-row span { font-size: 12px; color: var(--ink-2); }
.gfx-row input[type="color"] { width: 44px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; }
.lb-acc { color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12px; font-weight: 700; }



/* ==== Tam ekran (sadece oyun alani) ==== */
#game-fullscreen.is-on { color: var(--red); border-color: rgba(255,70,85,0.45); }
#view-game:fullscreen { position: fixed; inset: 0; width: 100vw; height: 100vh; background: #080e14; z-index: 9999; display: flex; flex-direction: column; margin: 0; padding: 0; }
#view-game:-webkit-full-screen { position: fixed; inset: 0; width: 100vw; height: 100vh; background: #080e14; z-index: 9999; display: flex; flex-direction: column; margin: 0; padding: 0; }
#view-game:fullscreen #arena-wrap { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; border-radius: 0; border: none; margin: 0; flex: 1 1 auto; }
#view-game:-webkit-full-screen #arena-wrap { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; border-radius: 0; border: none; margin: 0; flex: 1 1 auto; }
#view-game:fullscreen .game-top { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 20; background: rgba(8,14,20,0.55); backdrop-filter: blur(12px); }
#view-game:-webkit-full-screen .game-top { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 20; background: rgba(8,14,20,0.55); backdrop-filter: blur(12px); }
