@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #121213;
  --bg-surface: #1a1a1b;
  --bg-elevated: #242424;
  --tile-empty: #121213;
  --tile-border-empty: #3a3a3c;
  --tile-border-active: #565758;
  --tile-correct: #538d4e;
  --tile-close: #b59f3b;
  --tile-wrong: #3a3a3c;
  --text-primary: #ffffff;
  --text-secondary: #818384;
  --text-wrong: #818384;
  --accent: #538d4e;
  --nav-border: #3a3a3c;
  --key-bg: #818384;
  --key-text: #ffffff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Clear Sans', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body.briefing-active {
  overflow: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions-left,
.header-actions-right {
  flex: 1;
}

.header-actions-right {
  justify-content: flex-end;
}

.header-streak {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid #3a3a3c;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  font-family: 'IBM Plex Mono', monospace;
}

.header-streak-fire {
  font-size: 0.72rem;
  line-height: 1;
}

.header-streak-value {
  color: #f97316;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.header-actions button:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
}

.header-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
}

.debugle-brand-btn {
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #f5f5f5;
  padding: 6px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.debugle-brand-btn:hover {
  color: #ffffff;
  border-color: #3a3a3c;
  background: rgba(255, 255, 255, 0.04);
}

.debugle-brand-btn:focus-visible {
  outline: none;
  border-color: #538d4e;
  box-shadow: 0 0 0 2px rgba(83, 141, 78, 0.2);
}

.header-nav-dot {
  font-size: 0.5rem;
  line-height: 1;
  transform: translateY(-1px);
}

.user-btn-dot {
  color: #538d4e;
}

.info-btn-dot {
  color: #b59f3b;
}

.submit-btn-dot {
  color: #f97316;
}

.leaderboard-btn-dot {
  color: #7dd3fc;
}

#user-btn.is-active {
  color: #b7f5ae !important;
  border-color: #2d5d36;
  background: rgba(83, 141, 78, 0.16);
}

#submit-bug-btn.is-active {
  color: #fcb98b !important;
  border-color: #7a4a30;
  background: rgba(249, 115, 22, 0.14);
}

#leaderboards-btn.is-active {
  color: #bbecff !important;
  border-color: #2a617d;
  background: rgba(56, 189, 248, 0.14);
}

@keyframes tile-flip {
  0% {
    transform: rotateX(0deg);
  }
  49% {
    transform: rotateX(-90deg);
  }
  50% {
    transform: rotateX(-90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

@keyframes tile-pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  50%,
  90% {
    transform: translateX(-4px);
  }
  30%,
  70% {
    transform: translateX(4px);
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.2);
  }
  60% {
    transform: scale(0.95);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(83, 141, 78, 0);
  }
  50% {
    box-shadow: 0 0 12px 3px rgba(83, 141, 78, 0.4);
  }
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--tile-border-empty);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--tile-empty);
  transition: border-color 0.1s ease;
  perspective: 250px;
  user-select: none;
  letter-spacing: 0;
}

.tile-row.bounce .tile {
  animation: bounce-in 0.5s ease forwards;
}

.code-block {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  background: #1a1a1b;
  border: 1px solid #3a3a3c;
  border-radius: 8px;
  overflow: hidden;
}

#auth-view {
  animation: slide-up 0.28s ease;
}

#submit-bug-view,
#leaderboards-view {
  animation: slide-up 0.28s ease;
}

.auth-shell {
  border: 1px solid #3a3a3c;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1d 0%, #151516 100%);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

.aux-shell {
  border: 1px solid #3a3a3c;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1d 0%, #151516 100%);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #3a3a3c;
  background: linear-gradient(180deg, #232325 0%, #1d1d1f 100%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #818384;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.aux-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #3a3a3c;
  background: linear-gradient(180deg, #232325 0%, #1d1d1f 100%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #818384;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-content {
  padding: 18px 16px 16px;
}

.aux-content {
  padding: 18px 16px 16px;
}

.bug-textarea {
  min-height: 110px;
  resize: vertical;
}

.leaderboard-list {
  margin-top: 14px;
  border: 1px solid #2f2f32;
  border-radius: 8px;
  overflow: hidden;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #2a2a2d;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: #d6d6d8;
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.leaderboard-rank {
  color: #7dd3fc;
  font-size: 0.66rem;
}

.leaderboard-row-you {
  background: rgba(83, 141, 78, 0.07);
  border-left: 2px solid #538d4e;
  padding-left: 10px;
}

.streak-summary {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #2a2a2d;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.streak-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.streak-item-icon {
  font-size: 1.1rem;
}

.streak-item-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.streak-item-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  color: #818384;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-kicker {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #818384;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-title {
  margin: 7px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  color: #ffffff;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.auth-tab {
  border: 1px solid #3a3a3c;
  border-radius: 4px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #818384;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.auth-tab.is-active {
  border-color: #538d4e;
  color: #b7f5ae;
  background: rgba(83, 141, 78, 0.12);
}

.auth-form {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.auth-field {
  display: grid;
  gap: 4px;
}

.auth-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: #818384;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #3a3a3c;
  border-radius: 6px;
  background: #101011;
  color: #ffffff;
  padding: 9px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-input::placeholder {
  color: #5d5e62;
}

.auth-input:focus {
  border-color: #538d4e;
  box-shadow: 0 0 0 2px rgba(83, 141, 78, 0.18);
}

.auth-primary-btn,
.auth-google-btn {
  border-radius: 6px;
  padding: 9px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.16s ease;
}

.auth-primary-btn {
  margin-top: 3px;
  border: 1px solid #538d4e;
  background: rgba(83, 141, 78, 0.12);
  color: #b7f5ae;
}

.auth-primary-btn:hover {
  background: rgba(83, 141, 78, 0.2);
}

.auth-divider {
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 1px solid #2b2b2d;
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  background: #171718;
  color: #707176;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-google-btn {
  width: 100%;
  border: 1px solid #3a3a3c;
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-google-btn:hover {
  border-color: #565758;
  background: rgba(255, 255, 255, 0.06);
}

.auth-google-mark {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f0f10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.auth-status {
  min-height: 18px;
  margin: 10px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  color: #818384;
}

.auth-status.is-success {
  color: #9ad6a0;
}

.auth-status.is-error {
  color: #ff8a8a;
}

.code-line {
  display: flex;
  align-items: flex-start;
  padding: 2px 16px;
}

.code-line.buggy {
  background: rgba(181, 159, 59, 0.12);
  border-left: 3px solid #b59f3b;
  padding-left: 13px;
}

.code-line.buggy .line-number {
  color: #b59f3b;
}

.line-number {
  color: #4a4a4c;
  min-width: 28px;
  user-select: none;
  font-size: 0.75rem;
  padding-top: 1px;
}

/* ── Editor toolbar ── */
.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #2a2a2d;
  background: #1c1c1e;
}

.editor-file-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: #7f8fb8;
  margin-left: 8px;
  letter-spacing: 0.04em;
}

.editor-lang-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: #4a5c86;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.editor-action-btn {
  border-radius: 5px;
  border: 1px solid #3a3a3e;
  background: rgba(255, 255, 255, 0.06);
  color: #9a9aaa;
  padding: 4px 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, color 0.18s ease;
}

.editor-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #555560;
  color: #d0d0e0;
  transform: translateY(-1px);
}

.editor-run-btn {
  border-color: #2f7e72 !important;
  background: rgba(47, 126, 114, 0.2) !important;
  color: #8ff0db !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.editor-run-btn:hover {
  background: rgba(47, 126, 114, 0.32) !important;
  border-color: #41a08f !important;
  color: #b9fff2 !important;
}

.editor-run-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.editor-run-btn.is-success {
  border-color: #3ea96a !important;
  background: rgba(62, 169, 106, 0.22) !important;
  color: #a4f2b8 !important;
}

.editor-run-btn.is-error {
  border-color: #c45a78 !important;
  background: rgba(196, 90, 120, 0.2) !important;
  color: #ffb4c6 !important;
}

.editor-run-icon {
  font-size: 0.52rem;
  line-height: 1;
}

/* ── Status bar ── */
.editor-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 12px;
  border-bottom: 1px solid #222224;
  background: #131315;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a6a;
}

.editor-status-left,
.editor-status-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editor-status-sep {
  color: #333338;
}

.editor-shortcut-hint {
  color: #424250;
}

.editor-run-state {
  border: 1px solid #36363c;
  border-radius: 999px;
  padding: 1px 7px;
  color: #6a6a7a;
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.1em;
}

.editor-run-state.is-running {
  color: #7dd3fc;
  border-color: #2a5a7a;
  background: rgba(125, 211, 252, 0.1);
}

.editor-run-state.is-success {
  color: #a8f2c0;
  border-color: #346b50;
  background: rgba(52, 107, 80, 0.22);
}

.editor-run-state.is-error {
  color: #ffc1d2;
  border-color: #8a3a56;
  background: rgba(138, 58, 86, 0.24);
}

/* ── CodeMirror 6 premium editor styles ── */
@keyframes debugle-caret-blink {
  0%, 44% { opacity: 1; }
  45%, 100% { opacity: 0; }
}

#code-editor {
  background: #141415;
}

#code-editor .cm-editor {
  background: transparent;
  min-height: 280px;
}

#code-editor .cm-scroller {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  padding: 4px 0;
}

#code-editor .cm-content {
  caret-color: #7dd3fc;
}

#code-editor .cm-line {
  padding: 0 16px;
}

#code-editor .cm-gutters {
  background: #111112;
  border-right: 1px solid #222224;
  color: #4a4a50;
}

#code-editor .cm-lineNumbers .cm-gutterElement {
  min-width: 30px;
  padding-left: 8px;
  padding-right: 10px;
}

#code-editor .cm-activeLine {
  background: rgba(130, 170, 255, 0.08);
}

#code-editor .cm-activeLineGutter {
  background: rgba(130, 170, 255, 0.12);
  color: #9ab4f1;
}

#code-editor .cm-cursor,
#code-editor .cm-dropCursor {
  border-left: 2px solid #7dd3fc !important;
  box-shadow: 0 0 7px rgba(125, 211, 252, 0.45);
  animation: debugle-caret-blink 1.08s step-end infinite;
}

#code-editor .cm-editor:not(.cm-focused) .cm-cursor,
#code-editor .cm-editor:not(.cm-focused) .cm-dropCursor {
  animation: none;
  opacity: 0;
  box-shadow: none;
}

#code-editor .cm-selectionBackground {
  background: rgba(115, 168, 255, 0.25) !important;
}

#code-editor .cm-focused {
  outline: none;
}

#code-editor .cm-matchingBracket {
  color: #ffd591;
  background: rgba(255, 213, 145, 0.1);
  outline: 1px solid rgba(255, 213, 145, 0.44);
  border-radius: 2px;
}

#code-editor .cm-nonmatchingBracket {
  color: #ff8fb1;
  outline: 1px solid rgba(255, 143, 177, 0.5);
  border-radius: 2px;
}

/* ── Output panel ── */
.output-panel {
  border-top: 1px solid #1e1e20;
  background: #0f0f11;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.26s ease, opacity 0.2s ease;
}

.output-panel.is-visible {
  max-height: 240px;
  opacity: 1;
}

.output-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px 5px;
  border-bottom: 1px solid #1c1c1e;
}

.output-panel-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  color: #505058;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.output-clear-btn {
  border: 1px solid #333338;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #7a7a8a;
  padding: 2px 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.output-clear-btn:hover {
  border-color: #505058;
  background: rgba(255, 255, 255, 0.1);
  color: #c0c0d0;
}

.output-content {
  padding: 8px 12px 10px;
  max-height: 180px;
  overflow: auto;
  scrollbar-width: thin;
}

.output-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.71rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.output-line + .output-line {
  margin-top: 1px;
}

.output-line-log  { color: #d6e3ff; }
.output-line-warn { color: #ffcc7d; }
.output-line-error { color: #ff99b4; }

.key {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  background: var(--key-bg);
  color: var(--key-text);
  border: none;
  transition: background 0.2s ease, transform 0.1s ease;
  user-select: none;
  min-width: 43px;
}

.key:active {
  transform: scale(0.95);
}

.key.correct {
  background: var(--tile-correct);
}

.key.close {
  background: var(--tile-close);
}

.key.wrong {
  background: var(--tile-wrong);
  color: var(--text-wrong);
}

.key.wide {
  min-width: 65px;
  font-size: 0.7rem;
}

.stats-modal {
  animation: slide-up 0.3s ease;
}

.first-visit-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  width: min(560px, calc(100vw - 24px));
  transform: translate(-50%, -14px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s ease;
  z-index: 60;
}

.briefing-toast {
  top: 50%;
  transform: translate(-50%, -52%) scale(0.98);
}

.first-visit-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.briefing-toast.is-visible {
  transform: translate(-50%, -50%) scale(1);
}

.first-visit-toast-window {
  border: 1px solid #3a3a3c;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1d 0%, #171718 100%);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.first-visit-toast-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #3a3a3c;
  background: linear-gradient(180deg, #232325 0%, #1b1b1d 100%);
}

.first-visit-toast-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #818384;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.first-visit-toast-dismiss {
  border: 1px solid #3a3a3c;
  border-radius: 4px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #818384;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.first-visit-toast-cta {
  border: 1px solid #538d4e;
  border-radius: 4px;
  padding: 5px 12px;
  background: rgba(83, 141, 78, 0.12);
  color: #538d4e;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.success-toast {
  top: 88px;
  z-index: 70;
}

.success-toast-window {
  border-color: #2d5d36;
  background: linear-gradient(180deg, #152219 0%, #121a15 100%);
  box-shadow: 0 22px 40px rgba(5, 35, 14, 0.55);
}

.success-toast .first-visit-toast-topbar {
  border-bottom-color: #2d5d36;
  background: linear-gradient(180deg, #1e3124 0%, #16221a 100%);
}

@media (max-width: 520px) {
  .first-visit-toast {
    top: 64px;
  }

  .briefing-toast {
    top: 50%;
  }

  .auth-content {
    padding: 16px 12px 14px;
  }

  .aux-content {
    padding: 16px 12px 14px;
  }

  .success-toast {
    top: 76px;
  }
}

.impact-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--tile-correct) 0%, var(--tile-close) 60%, #e74c3c 100%);
  animation: pulse-glow 2s ease infinite;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #3a3a3c;
  border-radius: 3px;
}
