:root {
  --bg: #090b0f;
  --card: #11141a;
  --line: #242933;
  --text: #f4f6f8;
  --muted: #8f98a6;
  --accent: #78e2b4;
  --accent-soft: rgba(120, 226, 180, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell { width: min(100%, 720px); }

header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1 { margin: 0; font-size: clamp(34px, 7vw, 56px); letter-spacing: -0.055em; }

.plan {
  padding: 7px 11px;
  border: 1px solid rgba(120, 226, 180, 0.28);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
}

.muted { color: var(--muted); font-weight: 500; }
.quota-row + .quota-row { margin-top: 24px; }
.quota-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.quota-label { color: #c6ccd4; font-size: 14px; }
.quota-value { font-size: 28px; letter-spacing: -0.04em; }

.bar { height: 8px; overflow: hidden; border-radius: 99px; background: #242a32; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width 350ms ease; }
.quota-reset { margin-top: 9px; color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); padding: 10px 0; }

.token-total { display: flex; align-items: baseline; gap: 12px; padding: 6px 0 24px; }
.token-total strong { font-size: clamp(42px, 10vw, 72px); line-height: 0.9; letter-spacing: -0.065em; }
.token-total span { color: var(--muted); font-size: 13px; }

.token-breakdown { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.token-breakdown div { display: flex; justify-content: space-between; padding-top: 18px; }
.token-breakdown div + div { margin-left: 22px; padding-left: 22px; border-left: 1px solid var(--line); }
.token-breakdown span { color: var(--muted); font-size: 13px; }
.token-breakdown strong { font-size: 14px; }

.updated { margin: 16px 4px 0; color: #626b78; text-align: right; font-size: 11px; }

@media (max-width: 520px) {
  .card { padding: 20px; border-radius: 15px; }
  .section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .token-breakdown { grid-template-columns: 1fr; }
  .token-breakdown div + div { margin: 0; padding-left: 0; border-left: 0; }
}
