/* ============================================================
   03-header-status.css — Header, top bar, status row
   ============================================================ */

/* header already sticky — stack chrome below it by not duplicating sticky on header top alone */
.header { position: sticky; top: 0; z-index: 100; background: var(--bg); }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left { display: flex; align-items: center; gap: 10px; }

.close-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.title { font-size: 17px; font-weight: 700; color: #f0c14b; letter-spacing: 0.5px; }

.header-right { display: flex; gap: 6px; }

.icon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.1s;
}

.icon-btn:active { transform: scale(0.92); }

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 6px;
}

.refresh-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.balance { font-size: 14px; font-weight: 700; color: #3fb950; cursor: pointer; }
.balance:active { opacity: 0.75; }

.promo {
  background: linear-gradient(90deg, #3d2e00, #5c4500);
  color: #f0c14b;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #8a6d1b;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.connected {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3fb950;
  background: rgba(35,134,54,0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  background: #3fb950;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.timer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--warning);
  font-weight: 700;
  background: rgba(210,153,34,0.12);
  padding: 4px 10px;
  border-radius: 12px;
}

.stake-label { font-size: 13px; color: var(--text-muted); font-weight: 600; cursor: pointer; }
.stake-label:active { opacity: 0.75; }

.choose-stake-btn {
  border: 1px solid #2a9d4a;
  background: #2a9d4a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.choose-stake-btn:active { transform: scale(0.96); background: #238a40; }
.header-choose-stake {
  font-size: 12px;
  padding: 6px 11px;
  margin-right: 2px;
}

.win-bar {
  text-align: center;
  padding: 6px;
  background: linear-gradient(90deg, #0d1f12, #132a1a);
  color: #3fb950;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #1a3a24;
}

/* Top bar — production style (logo left, pills right) */
.game-top-actions {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 8px;
  background: #0b0e14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 120;
}
/* Visible on card-select and in-game (call) screens; never while choosing stake */
body.in-select:not(.mode-picking) .game-top-actions,
body.in-game:not(.mode-picking) .game-top-actions {
  display: flex !important;
}
body.mode-picking .game-top-actions {
  display: none !important;
}
.gta-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.gta-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.gta-title {
  display: none; /* "Arada Bingo" removed — not needed */
  font-weight: 700;
  font-size: 15px;
  color: #f0f3f6;
  white-space: nowrap;
}
.gta-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.gta-btn {
  border: 1px solid #2a9d4a;
  background: transparent;
  color: #e6edf3;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
}
.gta-btn:active { transform: scale(0.96); }
.gta-btn.gta-stake {
  background: #2a9d4a;
  color: #fff;
  border-color: #2a9d4a;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(42,157,74,0.4);
}
.gta-btn.gta-stake:active {
  background: #238a40;
}
.gta-btn.gta-lang.active {
  background: #2a9d4a;
  color: #fff;
  border-color: #2a9d4a;
}
.gta-menu {
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 22px;
  padding: 4px 6px;
  cursor: pointer;
  line-height: 1;
  border-radius: 8px;
}
.gta-menu:active { color: #e6edf3; background: rgba(255,255,255,0.06); }
