@import "https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #09090b;
  --bg-card: #111113;
  --bg-card-hover: #161618;
  --border: #1e1e22;
  --border-hover: #2a2a30;
  --fg: #fafafa;
  --fg-dim: #a1a1aa;
  --muted: #71717a;
  --accent: #a855f7;
  --accent-dim: #a855f726;
  --green: #22c55e;
  --green-dim: #22c55e26;
  --amber: #f59e0b;
  --amber-dim: #f59e0b26;
  --red: #ef4444;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-family: Kanit, -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 40px 32px;
  }
}

.header {
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  display: flex;
}

@media (min-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }
}

.logo {
  letter-spacing: 3px;
  color: var(--fg);
  font-size: 24px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .logo {
    font-size: 28px;
  }
}

.server-info {
  color: var(--muted);
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  display: flex;
}

.server-address {
  color: var(--fg-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: SF Mono, Fira Code, Consolas, monospace;
  font-size: 12px;
}

.live-dot {
  background: var(--green);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 2s ease-in-out infinite pulse;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 2px;
  padding: 3px;
  display: flex;
}

.tab {
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: Kanit, sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}

@media (min-width: 768px) {
  .tab {
    padding: 8px 20px;
    font-size: 14px;
  }
}

.tab:hover {
  color: var(--fg-dim);
  background: #ffffff0a;
}

.tab.active {
  background: var(--fg);
  color: var(--bg);
}

.stats-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
  display: grid;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all .2s;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.stat-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  display: flex;
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.stat-icon {
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.stat-icon svg {
  width: 16px;
  height: 16px;
}

.stat-icon.players {
  background: var(--accent-dim);
  color: var(--accent);
}

.stat-icon.peak {
  background: var(--amber-dim);
  color: var(--amber);
}

.stat-icon.status-icon {
  background: var(--green-dim);
  color: var(--green);
}

.stat-value {
  color: var(--fg);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 44px;
  }
}

.stat-sub {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.badge {
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.badge-amber {
  background: var(--amber-dim);
  color: var(--amber);
}

.badge-green {
  background: var(--green-dim);
  color: var(--green);
}

.status-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.status-online {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .status-online {
    font-size: 32px;
  }
}

.online-indicator {
  background: var(--green);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: 2s ease-in-out infinite pulse;
}

.stat-divider {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}

.chart-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

@media (min-width: 768px) {
  .chart-section {
    padding: 28px;
  }
}

.chart-header {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  display: flex;
}

@media (min-width: 768px) {
  .chart-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.chart-title {
  color: var(--fg-dim);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.chart-title svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.chart-period {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12px;
}

.live-indicator {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.live-indicator .dot {
  background: var(--green);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 2s ease-in-out infinite pulse;
}

.chart-container {
  width: 100%;
  height: 260px;
}

@media (min-width: 768px) {
  .chart-container {
    height: 380px;
  }
}

.no-data {
  height: 100%;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.no-data svg {
  opacity: .3;
  width: 40px;
  height: 40px;
}

.footer {
  text-align: center;
  color: var(--muted);
  opacity: .5;
  margin-top: 32px;
  font-size: 11px;
}

.loading {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 100vh;
  display: flex;
}

.spinner {
  border: 2px solid var(--border);
  border-top-color: var(--fg);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: .7s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--muted);
  font-size: 13px;
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/