:root {
  --bg: #1b1034;
  --panel: #2d1b5e;
  --panel2: #3c2679;
  --ink: #f5f0e1;
  --yellow: #ffd23f;
  --pink: #ff5e7e;
  --green: #3ddc97;
  --blue: #4cc9f0;
  --black: #0d0720;
}

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

html {
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 2px, transparent 2px);
  background-size: 20px 20px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Press Start 2P', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  image-rendering: pixelated;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 10px;
  padding-bottom: max(88px, calc(76px + env(safe-area-inset-bottom, 0px)));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: 100%;
  max-width: 580px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.brand-header {
  flex-shrink: 0;
  margin-bottom: 2px;
}

#logo {
  width: 36px;
  height: 40px;
  display: block;
  margin: 0 auto 2px;
}

h1 {
  font-size: clamp(15px, 3.8vw, 20px);
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--black);
  margin: 2px 0;
  letter-spacing: -0.5px;
}

.sub {
  font-size: 8.5px;
  color: var(--blue);
  margin-bottom: 3px;
}

.screen {
  display: none;
  width: 100%;
  flex: 1 0 auto;
}

.screen.on {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.box {
  background: var(--panel);
  border: 2px solid var(--black);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .35), inset 2px 2px 0 rgba(255, 255, 255, .12), 3px 3px 0 var(--black);
  padding: 8px 10px;
  margin: 3px 0;
  width: 100%;
}

.btn {
  font-family: inherit;
  font-size: 10px;
  color: var(--black);
  background: var(--yellow);
  border: 2px solid var(--black);
  padding: 8px 12px;
  margin: 3px;
  cursor: pointer;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .28), inset 2px 2px 0 rgba(255, 255, 255, .45), 0 2px 0 var(--black);
  touch-action: manipulation;
  display: inline-block;
  user-select: none;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .28), inset 2px 2px 0 rgba(255, 255, 255, .45), 0 0 0 var(--black);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.btn:focus-visible, input:focus-visible {
  outline: 3px dashed var(--blue);
  outline-offset: 2px;
}

.btn.pink { background: var(--pink); color: #fff; text-shadow: 2px 2px 0 var(--black); }
.btn.green { background: var(--green); color: var(--black); }
.btn.blue { background: var(--blue); color: var(--black); }
.btn.small { padding: 5px 8px; font-size: 10px; }

.btn.big {
  font-size: clamp(13px, 3.8vw, 17px);
  padding: 12px 14px;
  width: 100%;
  margin: 4px 0;
  border-width: 3px;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .28), inset 2px 2px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--black);
}

.row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 4px 0;
  flex-wrap: wrap;
}

.lbl {
  font-size: 8.5px;
  color: var(--ink);
  opacity: .85;
}

.num {
  min-width: 26px;
  font-size: 13px;
  color: var(--yellow);
}

.target {
  font-size: clamp(28px, 9vw, 52px);
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--black);
  margin: 4px 0;
}

.big-t {
  font-size: clamp(32px, 10vw, 60px);
  color: var(--green);
  text-shadow: 4px 4px 0 var(--black);
  min-height: 1.2em;
  margin: 6px 0;
}

.big-t.hide {
  color: var(--pink);
  animation: blink 1s steps(2) infinite;
}

.count {
  font-size: clamp(48px, 18vw, 90px);
  color: var(--pink);
  text-shadow: 5px 5px 0 var(--black);
  min-height: 1.1em;
}

@keyframes blink {
  50% { opacity: .35; }
}

.turn {
  color: var(--blue);
  font-size: 10px;
  margin-bottom: 4px;
}

.good { color: var(--green); }
.bad { color: var(--pink); }
.gold { color: var(--yellow); }

.msg {
  font-size: 12px;
  margin: 8px 0;
  min-height: 1.4em;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  margin-top: 6px;
}

td, th {
  border: 2px solid var(--black);
  padding: 6px 4px;
  background: var(--panel2);
}

th {
  background: var(--black);
  color: var(--yellow);
}

tr.win td {
  background: var(--yellow);
  color: var(--black);
  font-weight: bold;
}

.hint {
  font-size: 8px;
  opacity: .75;
  margin-top: 6px;
}

.toggle {
  font-size: 9px;
  cursor: pointer;
  user-select: none;
}

.shake {
  animation: shake .3s steps(3);
}

@keyframes shake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Lobi oyuncu listesi ızgarası */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 4px;
  margin-top: 5px;
  max-height: 95px;
  overflow-y: auto;
}

.player-card {
  background: var(--panel2);
  border: 2px solid var(--black);
  padding: 5px 4px;
  font-size: 8.5px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.player-card.is-me {
  border-color: var(--yellow);
  box-shadow: 0 0 6px rgba(255, 210, 63, 0.4);
}

.player-card .p-name {
  word-break: break-all;
  max-width: 100%;
  color: var(--ink);
}

.mode-btn {
  flex: 1;
  padding: 8px 6px;
  font-size: 9px;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.mode-btn.active {
  opacity: 1;
  box-shadow: 0 0 8px rgba(255, 210, 63, 0.7);
  outline: 2px dashed var(--yellow);
}

.mode-btn.locked {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.8);
  position: relative;
}

/* Takım Seçimi Kırmızı & Mavi Kutular (Sadece renk kareleri) */
.team-boxes-row {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

.team-box-btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  border: 2px solid var(--black);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 1px 1px 0 var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, filter 0.1s, box-shadow 0.1s;
  user-select: none;
}

.team-box-btn:hover:not(:disabled) {
  filter: brightness(1.2);
  transform: scale(1.12);
}

.team-box-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.team-box-btn:disabled {
  cursor: default;
}

.team-box-btn.red {
  background: #ff5e7e;
  color: #fff;
  text-shadow: 1px 1px 0 var(--black);
}

.team-box-btn.blue {
  background: #4cc9f0;
  color: #0d0720;
}

.team-box-btn.active-team {
  outline: 2px solid var(--yellow);
  box-shadow: 0 0 6px rgba(255, 210, 63, 0.9), inset 0 0 3px rgba(0,0,0,0.4);
  transform: scale(1.08);
  font-weight: bold;
}

.team-box-btn.inactive-team {
  opacity: 0.35;
  filter: grayscale(0.4);
}

.unassigned-badge {
  font-size: 9px;
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.4);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px dashed var(--yellow);
  animation: pulse 1.5s infinite;
}

/* Lobi Uyarı Banner'ı */
.lobby-warning-box {
  background: #491728;
  border: 2px solid var(--pink);
  color: #fff;
  padding: 6px 10px;
  font-size: 9px;
  margin: 6px 0;
  width: 100%;
  box-shadow: 2px 2px 0 var(--black);
  animation: shake 0.3s steps(3);
}

/* SÜRE ARALIĞI SLIDER TASARIMI (Görseldeki stile uygun) */
#settings-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.slider-control-group {
  margin: 4px 0 2px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.range-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin: 3px 0;
}

.time-type-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  margin: 2px auto 6px auto;
}

.time-tab-btn {
  flex: 1;
  padding: 5px 6px;
  font-family: inherit;
  font-size: 8px;
  background: var(--panel2);
  color: #c9bcf0;
  border: 2px solid var(--black);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.35), inset 2px 2px 0 rgba(255,255,255,0.2), 0 2px 0 var(--black);
  transition: all 0.15s ease;
  user-select: none;
}

.time-tab-btn:hover:not(:disabled) {
  filter: brightness(1.15);
  color: #fff;
}

.time-tab-btn.active {
  background: var(--yellow);
  color: var(--black);
  font-weight: bold;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.6), inset -2px -2px 0 rgba(0,0,0,0.3), 0 1px 0 var(--black);
  transform: translateY(1px);
}

.exact-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-width: 440px;
  margin: 3px auto;
}

.preset-chip {
  padding: 3px 6px;
  font-family: inherit;
  font-size: 7.5px;
  background: #20114a;
  color: #d1c4f5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.preset-chip:hover:not(:disabled) {
  background: #3c2679;
  color: #fff;
  border-color: var(--yellow);
}

.preset-chip.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  font-weight: bold;
}

.slider-btn {
  width: 28px;
  height: 28px;
  background: #8b3df5;
  border: 2px solid var(--black);
  border-radius: 5px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.35), inset 2px 2px 0 rgba(255,255,255,0.3), 0 2px 0 var(--black);
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.1s, filter 0.1s;
}

.slider-btn:hover:not(:disabled) {
  filter: brightness(1.15);
}

.slider-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.35), inset 2px 2px 0 rgba(255,255,255,0.3), 0 1px 0 var(--black);
}

.slider-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.7);
}

.range-track-container {
  position: relative;
  flex: 1;
  height: 12px;
  background: #0d0720;
  border-radius: 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  touch-action: none;
  user-select: none;
  cursor: pointer;
}

.range-track-fill {
  position: absolute;
  height: 6px;
  background: #ffd23f;
  border-radius: 3px;
  top: 3px;
  left: 0;
  right: 0;
  box-shadow: 0 0 6px rgba(255, 210, 63, 0.5);
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: #ffa800;
  border: 2px solid var(--black);
  border-radius: 4px;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.35), inset 2px 2px 0 rgba(255,255,255,0.5), 0 2px 3px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.15s, transform 0.05s;
  touch-action: none;
}

.slider-handle:hover {
  background: #ffb71a;
  transform: translate(-50%, -50%) scale(1.08);
}

.slider-handle:active, .slider-handle.dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 4;
}

.slider-handle .handle-val {
  font-size: 8px;
  color: var(--black);
  font-weight: bold;
  pointer-events: none;
}

.slider-scale-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  padding: 0 36px;
  box-sizing: border-box;
  font-size: 7.5px;
  color: #fff;
  opacity: 0.85;
  margin-top: 2px;
  text-shadow: 1px 1px 0 var(--black);
  user-select: none;
}

.range-summary-lbl {
  font-size: 8.5px;
  margin-top: 3px;
  color: var(--ink);
}

#classic-rounds-row {
  margin-top: 4px;
}

#classic-rounds-row .row {
  margin: 2px 0;
}

.toggle {
  font-size: 8.5px;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}

.hint {
  font-size: 7.5px;
  opacity: .8;
  margin-top: 4px;
}

.player-card .team-badge {
  font-size: 7px;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: bold;
  border: 1px solid var(--black);
  display: inline-block;
  font-family: inherit;
}

.team-0 { background: #ff5e7e; color: #fff; }
.team-1 { background: #4cc9f0; color: #000; }

.player-card .badge {
  font-size: 7px;
  padding: 1px 4px;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
}

/* Oyun sırasındaki oyuncu durum göstergeleri */
.status-pill-list {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0;
  max-height: 80px;
  overflow-y: auto;
}

.status-pill {
  padding: 4px 8px;
  font-size: 8px;
  border: 2px solid var(--black);
  background: var(--panel2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-pill.done {
  background: var(--green);
  color: var(--black);
}

.status-pill.active-runner {
  border-color: var(--yellow);
  box-shadow: 0 0 6px rgba(255, 210, 63, 0.7);
  animation: pulse 1.2s infinite ease-in-out;
  font-weight: bold;
}

.status-pill.my-team {
  outline: 1px dashed var(--yellow);
}

#lobby-action-area {
  width: 100%;
}

@media (max-height: 750px), (max-width: 500px) {
  body {
    padding: 6px 8px;
    padding-bottom: max(88px, calc(76px + env(safe-area-inset-bottom, 0px)));
  }

  .brand-header {
    margin-bottom: 2px;
  }

  #logo {
    width: 30px;
    height: 34px;
    margin: 0 auto 1px;
  }

  h1 {
    font-size: 13.5px;
    margin: 1px 0;
  }

  .sub {
    font-size: 7.5px;
    margin-bottom: 2px;
  }

  .box {
    padding: 6px 8px;
    margin: 2px 0;
  }

  #s-lobby > .box:first-child p {
    font-size: 8px;
    line-height: 1.4;
  }

  .mode-btn {
    padding: 6px 3px;
    font-size: 8px;
  }

  .players-grid {
    max-height: 80px;
    gap: 3px;
    margin-top: 4px;
  }

  .player-card {
    padding: 4px 3px;
    font-size: 7.5px;
    gap: 2px;
  }

  .time-type-tabs {
    margin: 2px auto 4px auto;
  }

  .time-tab-btn {
    padding: 4px 4px;
    font-size: 7px;
  }

  .slider-control-group {
    margin: 2px 0 1px;
  }

  .slider-btn {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .slider-handle {
    width: 20px;
    height: 20px;
  }

  .slider-handle .handle-val {
    font-size: 7px;
  }

  .slider-scale-labels {
    padding: 0 30px;
    font-size: 6.5px;
  }

  .range-summary-lbl {
    font-size: 7.5px;
    margin-top: 2px;
  }

  #classic-rounds-row {
    margin-top: 2px;
  }

  #classic-rounds-row .row {
    margin: 2px 0;
  }

  .btn.small {
    padding: 4px 6px;
    font-size: 8px;
  }

  .num {
    font-size: 11px;
  }

  .toggle {
    font-size: 7.5px;
    margin-top: 3px;
  }

  .hint {
    font-size: 7px;
    margin-top: 2px;
  }

  .btn.big {
    padding: 10px 10px;
    font-size: 12px;
    margin: 3px 0;
  }

  .global-how-to-btn {
    width: 44px;
    height: 44px;
    bottom: calc(36px + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(14px + env(safe-area-inset-left, 0px));
  }

  .global-how-to-btn svg,
  .how-to-icon {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .big-t.hide, .shake { animation: none; }
}

/* ── ULTRA-PREMIUM FLOATING (i) BUTTON (KANZI STANDARDI - SOL ALT) ── */
.global-how-to-btn {
  position: fixed;
  bottom: calc(36px + env(safe-area-inset-bottom, 0px)) !important;
  left: calc(20px + env(safe-area-inset-left, 0px));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3c2679 0%, #20114a 70%, #0d0720 100%);
  border: 2px solid var(--yellow);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.75),
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(255, 210, 63, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.how-to-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transition: color 0.25s ease, transform 0.25s ease;
}

.how-to-icon {
  stroke: var(--yellow);
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.global-how-to-btn:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: #ffffff;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.85),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    0 0 25px rgba(255, 210, 63, 0.65);
}

.global-how-to-btn:hover .how-to-icon {
  stroke: #ffffff;
  transform: scale(1.1);
}

.global-how-to-btn:active {
  transform: translateY(1px) scale(0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.btn-glow-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 63, 0.35);
  animation: auraPulse 2.8s infinite cubic-bezier(0.45, 0, 0.55, 1);
  pointer-events: none;
}

@keyframes auraPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 0.1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Modal Overlay & Card */
.how-to-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 7, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
  animation: fadeIn 0.25s ease;
}

.how-to-modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--panel);
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0px var(--black), 0 20px 40px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.how-to-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel2);
  border-bottom: 3px solid var(--black);
}

.how-to-modal-title {
  font-size: 11px;
  color: var(--yellow);
  font-weight: bold;
}

.how-to-modal-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.how-to-modal-close:hover {
  color: var(--pink);
}

.how-to-modal-body {
  padding: 16px;
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.rule-block {
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 4px;
}

.rule-heading {
  color: var(--yellow);
  font-size: 10px;
  margin-bottom: 6px;
  font-weight: bold;
}

.rule-desc {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #ddd4f5;
}

.rule-list {
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #ddd4f5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rule-list li strong {
  color: var(--pink);
}

.how-to-modal-footer {
  padding: 12px 16px 14px;
  border-top: 2px solid var(--black);
  background: var(--panel2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
