/* ============================================================================
   «Угадай музыку» — стили игрового экрана.
   Использует те же переменные темы, что и основной плеер (--accent и т.д.),
   поэтому автоматически подхватывает выбранную пользователем тему.
   ========================================================================== */

/* Кнопка входа в игру в ряду вкладок библиотеки. Класс намеренно НЕ .lib-tab,
   чтобы обработчик switchLibTab из script.js её не перехватывал; геометрию она
   делит с .lib-tab (см. style.css), здесь — только акцентная заливка. */
.lib-tab-game {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.lib-tab-game:hover { filter: brightness(1.12); box-shadow: 0 4px 12px var(--accent-glow); }

/* ============ Каркас экрана ============ */
.game-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  background:
    radial-gradient(1200px 600px at 15% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, var(--accent-glow), transparent 55%),
    var(--bg-primary);
  display: flex;
  flex-direction: column;
}

.g-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.g-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}
.g-title i { color: var(--accent); }

.g-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.g-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.g-icon-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.g-best {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.g-best i { color: #f7c948; }

.g-vol { display: flex; align-items: center; gap: 8px; color: var(--text-tertiary); }
.g-vol input[type="range"] { width: 90px; accent-color: var(--accent); }

.g-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 20px 60px;
  display: flex;
  justify-content: center;
}

.g-stage { width: 100%; max-width: 720px; }

/* ============ Экран настройки ============ */
.g-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.g-card h2 { font-size: 22px; margin-bottom: 6px; }
.g-sub { color: var(--text-secondary); font-size: 13px; margin-bottom: 22px; line-height: 1.5; }

.g-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.g-field { display: flex; flex-direction: column; gap: 7px; }
.g-field > span { font-size: 13px; color: var(--text-secondary); }
.g-field select,
.g-field input[type="number"] {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
}
.g-field select:focus,
.g-field input:focus { outline: none; border-color: var(--accent); }

/* Числовой степпер */
.g-stepper {
  display: flex;
  align-items: stretch;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.g-stepper button {
  width: 42px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.g-stepper button:hover { background: var(--bg-hover); color: var(--accent); }
.g-stepper input {
  flex: 1;
  min-width: 0;
  background: none !important;
  border: none !important;
  text-align: center;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  -moz-appearance: textfield;
}
.g-stepper input::-webkit-outer-spin-button,
.g-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Выбор режима отрывков */
.g-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-mode {
  text-align: left;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-mode i { font-size: 18px; color: var(--text-tertiary); }
.g-mode b { color: var(--text-primary); font-size: 14px; }
.g-mode small { font-size: 12px; line-height: 1.45; color: var(--text-tertiary); }
.g-mode:hover { background: var(--bg-hover); }
.g-mode.active {
  border-color: var(--accent);
  background: var(--bg-hover);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.g-mode.active i { color: var(--accent); }

/* ---- Исключения ---- */
.g-ex-search { position: relative; margin-bottom: 12px; }
.g-ex-search > i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-tertiary); pointer-events: none;
}
.g-ex-search input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition-fast);
}
.g-ex-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
/* Выпадашка исключений раскрывается вниз — поле стоит вверху карточки. */
.g-ex-search .g-ac { top: calc(100% + 6px); bottom: auto; }
.g-ac-ico {
  width: 34px; height: 34px; border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary); color: var(--accent);
}

.g-ex-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.g-ex-empty { font-size: 12.5px; color: var(--text-tertiary); }
.g-ex-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(231, 76, 60, 0.10);
  border: 1px solid rgba(231, 76, 60, 0.35);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  max-width: 100%;
}
.g-ex-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-ex-chip i { color: var(--danger); font-size: 11px; flex-shrink: 0; }
.g-ex-chip b { color: var(--text-tertiary); font-size: 15px; line-height: 1; flex-shrink: 0; }
.g-ex-chip:hover { background: rgba(231, 76, 60, 0.18); color: var(--text-primary); }
.g-ex-chip:hover b { color: var(--danger); }
.g-ex-clear {
  background: none; border: none; color: var(--text-tertiary);
  font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px;
}
.g-ex-clear:hover { color: var(--text-primary); }

.g-ex-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.g-ex-top-label { font-size: 12px; color: var(--text-tertiary); }
.g-ex-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.g-ex-add i { font-size: 10px; color: var(--text-tertiary); }
.g-ex-add b { color: var(--text-tertiary); font-weight: 600; }
.g-ex-add:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--danger); }
.g-ex-add:hover i { color: var(--danger); }

/* ---- Искажения ---- */
.g-fx {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.g-fx-item {
  position: relative;
  text-align: left;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: 'icon name' 'icon desc';
  column-gap: 11px;
  row-gap: 3px;
  align-items: center;
}
.g-fx-item > i {
  grid-area: icon;
  font-size: 17px;
  width: 22px;
  text-align: center;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}
.g-fx-name { grid-area: name; font-size: 13px; font-weight: 600; color: var(--text-primary); padding-right: 42px; }
.g-fx-desc { grid-area: desc; font-size: 11px; line-height: 1.4; color: var(--text-tertiary); }
.g-fx-bonus {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  background: var(--bg-primary);
  border-radius: 999px;
  padding: 2px 8px;
  transition: var(--transition-fast);
}
.g-fx-item:hover { background: var(--bg-hover); border-color: var(--text-tertiary); }
.g-fx-item.active {
  border-color: var(--accent);
  background: var(--bg-hover);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.g-fx-item.active > i { color: var(--accent); }
.g-fx-item.active .g-fx-bonus { color: #fff; background: var(--accent); }

.g-fx-total {
  margin: 14px 0 4px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.g-fx-total.on { color: var(--text-secondary); }
.g-fx-total.on b { color: var(--accent); }
.g-fx-total i { color: var(--accent); }

.g-chip#g-fx-chip b { color: var(--accent); }

.g-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 10px 0;
  line-height: 1.45;
}
.g-check input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; }

.g-pool {
  margin: 20px 0 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}
.g-pool.warn { color: var(--warning); }
.g-pool.error { color: var(--danger); }

.g-start { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }

.g-rules {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.7;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.g-rules b { color: var(--text-secondary); }

/* ============ Экран раунда ============ */
.g-round-top {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.g-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.g-chip b { color: var(--text-primary); }
.g-chip.danger { border-color: var(--danger); color: var(--danger); }
.g-chip.danger b { color: var(--danger); }

/* Пластинка */
.g-disc {
  width: 190px;
  height: 190px;
  margin: 0 auto 24px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-radial-gradient(circle at center, #191919 0 3px, #101010 3px 6px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.g-disc.playing { box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg); }
.g-disc.playing .g-disc-inner { animation: gspin 6s linear infinite; }

/* Внутренний слой крутится — на нём обложка и «блик» пластинки, так что
   вращение видно даже пока обложка ещё скрыта. */
.g-disc-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0 62%,
    rgba(255, 255, 255, 0.07) 76%,
    rgba(255, 255, 255, 0.02) 84%,
    transparent 92%);
}
@keyframes gspin { to { transform: rotate(360deg); } }

.g-disc-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.g-disc-cover.peek { opacity: 0.75; filter: blur(22px) saturate(1.4); }
.g-disc-cover.shown { opacity: 1; filter: none; }

.g-disc-mark {
  position: relative;
  font-size: 62px;
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0.25;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.g-disc.revealed .g-disc-mark { opacity: 0; }

.g-eq {
  position: absolute;
  bottom: 26px;
  z-index: 3;
  display: none;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
}
.g-disc.playing .g-eq { display: flex; }
.g-disc.revealed .g-eq { display: none; }
.g-eq i {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: gbounce 0.9s ease-in-out infinite;
}
.g-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.g-eq i:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.g-eq i:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.g-eq i:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.g-eq i:nth-child(5) { height: 50%; animation-delay: 0.6s; }
@keyframes gbounce { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* Счётчик очков / прослушанного */
.g-meter { max-width: 460px; margin: 0 auto 22px; }
.g-meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.g-meter-head b { color: var(--text-primary); }
.g-live b { color: var(--accent); font-size: 15px; }
.g-meter-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}
.g-meter-fill {
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.15s linear;
}
.g-speed {
  margin-top: 8px;
  font-size: 12px;
  text-align: center;
  color: var(--text-secondary);
  min-height: 16px;
}
.g-speed i { color: #f7c948; }
.g-speed b { color: #f7c948; }
.g-speed-left { color: var(--text-tertiary); }
.g-speed-win { color: #f7c948; }

.g-snippet {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  min-height: 16px;
}

/* Кнопки управления */
.g-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.g-play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.g-play:hover:not(:disabled) { background: var(--accent-hover); box-shadow: 0 6px 20px var(--accent-glow); transform: scale(1.05); }
.g-play:disabled { opacity: 0.45; cursor: not-allowed; }
.g-controls .chip-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Подсказки */
.g-hints { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin: 0 auto 18px; }
.g-hint-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warning);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  animation: slideIn 0.25s ease;
}
.g-hint-row i { color: var(--warning); }
.g-hint-row b { color: var(--text-primary); }

/* Поле ответа + автодополнение */
.g-guess { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.g-input-wrap { position: relative; flex: 1; }
.g-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}
.g-input-wrap input {
  width: 100%;
  padding: 13px 40px 13px 42px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition-fast);
}
.g-input-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.g-input-wrap.shake { animation: gshake 0.4s ease; }
@keyframes gshake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
.g-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px 6px;
}
.g-clear:hover { color: var(--text-primary); }

.g-ac {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: 40;
}
.g-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.g-ac-item:last-child { border-bottom: none; }
.g-ac-item img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.g-ac-meta { min-width: 0; flex: 1; }
.g-ac-title { font-size: 13px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-ac-artist { font-size: 11px; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-ac-item:hover,
.g-ac-item.active { background: var(--bg-hover); }
.g-ac-item.active .g-ac-title { color: var(--accent); }
.g-ac-empty { padding: 14px; font-size: 13px; color: var(--text-tertiary); text-align: center; }

/* Попытки */
.g-attempts {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 16px 0 6px;
}
.g-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  transition: var(--transition-fast);
}
.g-dot.used { background: var(--bg-hover); box-shadow: inset 0 0 0 1px var(--border); }

.g-wrong { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.g-wrong-row {
  font-size: 12px;
  color: var(--text-tertiary);
  background: rgba(231, 76, 60, 0.08);
  border-radius: 6px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-wrong-row i { color: var(--danger); font-size: 11px; }

/* Раскрытие ответа */
.g-reveal {
  max-width: 560px;
  margin: 22px auto 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  animation: slideIn 0.3s ease;
}
.g-reveal.win { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.g-reveal.lose { border-color: var(--danger); }
.g-verdict { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.g-reveal.win .g-verdict { color: var(--accent); }
.g-reveal.lose .g-verdict { color: var(--danger); }
.g-answer { font-size: 15px; margin-top: 10px; }
.g-answer-artist { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.g-points { font-size: 30px; font-weight: 800; margin: 14px 0 4px; }
.g-points.win { color: var(--accent); }
.g-points-note { font-size: 12px; color: var(--text-tertiary); }
.g-reveal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* ============ Экран итогов ============ */
.g-final-head { text-align: center; margin-bottom: 26px; }
.g-final-total {
  font-size: 58px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.g-final-sub { color: var(--text-secondary); font-size: 14px; margin-top: 6px; }
.g-record {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: rgba(247, 201, 72, 0.12);
  color: #f7c948;
  border: 1px solid rgba(247, 201, 72, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
}

.g-rounds-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.g-round-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.g-round-row:hover { background: var(--bg-hover); }
.g-round-row.win { border-left-color: var(--accent); }
.g-round-row.lose { border-left-color: var(--danger); }
.g-round-row img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.g-rr-meta { flex: 1; min-width: 0; }
.g-rr-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-rr-artist { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-rr-stat { text-align: right; flex-shrink: 0; }
.g-rr-points { font-size: 16px; font-weight: 700; }
.g-round-row.win .g-rr-points { color: var(--accent); }
.g-round-row.lose .g-rr-points { color: var(--text-tertiary); }
.g-rr-listened { font-size: 11px; color: var(--text-tertiary); }

.g-final-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ============ Адаптив ============ */
@media (max-width: 768px) {
  .g-body { padding: 18px 14px 90px; }
  .g-card { padding: 18px; border-radius: 14px; }
  .g-modes { grid-template-columns: 1fr; }
  .g-disc { width: 150px; height: 150px; }
  .g-disc-mark { font-size: 48px; }
  .g-guess { flex-direction: column; }
  .g-guess .primary-btn { justify-content: center; }
  .g-top { padding: 10px 12px; gap: 10px; }
  .g-vol { display: none; }
  .g-final-total { font-size: 46px; }
}
