/* ============ Hillside Club App — Design Tokens ============ */
:root {
  /* Brand */
  --hs-ink: #07100b;          /* outermost background */
  --hs-bg: #0b1610;           /* app background */
  --hs-surface: #131e17;      /* card */
  --hs-surface-2: #1a261e;    /* elevated card */
  --hs-surface-3: #223028;    /* hover / chip */
  --hs-line: rgba(255,255,255,0.06);
  --hs-line-strong: rgba(255,255,255,0.12);

  --hs-text: #eef2e9;
  --hs-text-dim: #8a9b8e;
  --hs-text-mute: #5d6c61;

  --hs-green-deep: #0f3a23;   /* hillside dark green */
  --hs-green: #1f6b3a;
  --hs-lime: #d4f24a;         /* hillside lime accent */
  --hs-lime-soft: #b7d33e;
  --hs-lime-ink: #0c1408;     /* readable on lime */

  --hs-gold: #f0c14b;
  --hs-silver: #c9d2cb;
  --hs-bronze: #c98a4a;

  /* Type */
  --hs-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hs-body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hs-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Spacing */
  --hs-r-sm: 10px;
  --hs-r: 16px;
  --hs-r-lg: 22px;
  --hs-r-xl: 28px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  font-family: var(--hs-body);
  color: var(--hs-text);
  background: var(--hs-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============ The Phone Screen ============ */
.app {
  width: 100%;
  height: 100%;
  background: var(--hs-bg);
  color: var(--hs-text);
  display: flex;
  flex-direction: column;
  font-family: var(--hs-body);
  position: relative;
  overflow: hidden;
}

.app-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 18px 120px;
  scrollbar-width: none;
}
.app-scroll::-webkit-scrollbar { display: none; }

/* ============ Top Bar ============ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 18px 8px;
  flex-shrink: 0;
}
.topbar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.topbar-main--staff {
  align-items: flex-start;
}
.topbar-logo-square {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.topbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--hs-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.topbar-brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--hs-lime);
  color: var(--hs-lime-ink);
  display: grid; place-items: center;
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 16px;
}
.topbar-icons {
  display: flex; gap: 12px;
}
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  color: var(--hs-text);
  cursor: pointer;
  position: relative;
}
.icon-btn-dot {
  position: absolute;
  top: 9px; right: 10px;
  width: 7px; height: 7px;
  background: var(--hs-lime);
  border-radius: 50%;
  border: 2px solid var(--hs-surface);
}

/* ============ Section header ============ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 12px;
}
.section-title {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hs-text-dim);
  margin: 0;
}
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-lime);
  text-decoration: none;
}

/* ============ Player Card (hero) ============ */
.player-card {
  position: relative;
  border-radius: var(--hs-r-xl);
  padding: 22px 22px 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(212,242,74,0.18) 0%, transparent 55%),
    linear-gradient(160deg, #14422a 0%, #0d2a1b 60%, #0a1f15 100%);
  border: 1px solid rgba(212,242,74,0.14);
  overflow: hidden;
}
.player-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(212,242,74,0.22), transparent 60%);
  pointer-events: none;
}
.player-card-row {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.player-card-tier-label {
  font-family: var(--hs-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(212,242,74,0.85);
  text-transform: uppercase;
}
.player-card-id {
  font-family: var(--hs-mono);
  font-size: 11px;
  color: var(--hs-text-dim);
  letter-spacing: 0.06em;
}
.player-card-tier {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 14px 0 4px;
  color: var(--hs-text);
  position: relative;
}
.player-card-tier .tier-sub {
  font-size: 22px;
  display: block;
  color: var(--hs-text-dim);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: -2px;
}
.player-card-name {
  font-family: var(--hs-display);
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 2px;
}
.player-card-meta {
  display: flex; gap: 14px;
  color: var(--hs-text-dim);
  font-size: 12px;
}
.player-card-points {
  margin-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  position: relative;
}
.points-num {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--hs-lime);
  line-height: 1;
}
.points-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-text-dim);
  font-weight: 700;
}
.points-next {
  text-align: right;
  font-size: 11px;
  color: var(--hs-text-dim);
  max-width: 50%;
}
.points-next strong {
  color: var(--hs-text);
  font-weight: 700;
  display: block;
  white-space: nowrap;
}

/* progress bar inside player card */
.tier-progress {
  position: relative;
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.tier-progress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--hs-lime-soft), var(--hs-lime));
  border-radius: 999px;
}

/* ============ Primary CTA ============ */
.cta-checkin {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: var(--hs-r-lg);
  background: var(--hs-lime);
  color: var(--hs-lime-ink);
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: var(--hs-display);
}
.cta-checkin-text {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
}
.cta-checkin-text b {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cta-checkin-text small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
.cta-checkin-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--hs-lime-ink);
  color: var(--hs-lime);
  border-radius: 14px;
}

/* ============ Quick tiles (Home) ============ */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.quick-tile {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.quick-tile-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--hs-surface-3);
  margin-bottom: 12px;
}
.quick-tile-title {
  font-family: var(--hs-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.quick-tile-sub {
  font-size: 11px;
  color: var(--hs-text-dim);
  margin-top: 2px;
}
.quick-tile-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--hs-lime);
  color: var(--hs-lime-ink);
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ============ Activity (Home recent points) ============ */
.activity {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  overflow: hidden;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hs-line);
}
.activity-row:last-child { border-bottom: none; }
.activity-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--hs-surface-3);
  border-radius: 12px;
  color: var(--hs-text);
  flex-shrink: 0;
}
.activity-body {
  flex: 1; min-width: 0;
}
.activity-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 2px;
}
.activity-meta {
  font-size: 11px;
  color: var(--hs-text-dim);
}
.activity-points {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--hs-lime);
  flex-shrink: 0;
}
.activity-points.negative { color: #f47d6d; }

/* ============ Bottom Nav ============ */
.bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px 22px;
  background: linear-gradient(180deg, rgba(11,22,16,0) 0%, rgba(11,22,16,0.85) 30%, rgba(11,22,16,1) 60%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  z-index: 5;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--hs-text-mute);
  font-family: var(--hs-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 12px;
  position: relative;
}
.bn-item.active {
  color: var(--hs-lime);
}
.bn-item.active::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--hs-lime);
}
.bn-item svg {
  width: 22px; height: 22px;
}

/* ============ Tournament rows (Compete) ============ */
.tourney {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 16px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.tourney.juara::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 0% 0%, rgba(240,193,75,0.18), transparent 60%);
  pointer-events: none;
}
.tourney-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.tourney-name {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.tourney-date {
  font-size: 11px;
  color: var(--hs-text-dim);
  margin-top: 3px;
}
.tourney-result {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tourney-result.gold { background: rgba(240,193,75,0.18); color: var(--hs-gold); border: 1px solid rgba(240,193,75,0.3); }
.tourney-result.silver { background: rgba(201,210,203,0.12); color: var(--hs-silver); border: 1px solid rgba(201,210,203,0.2); }
.tourney-result.bronze { background: rgba(201,138,74,0.16); color: var(--hs-bronze); border: 1px solid rgba(201,138,74,0.3); }
.tourney-result.part { background: rgba(255,255,255,0.05); color: var(--hs-text-dim); border: 1px solid var(--hs-line); }

.tourney-stats {
  display: flex;
  gap: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hs-line-strong);
}
.t-stat {
  flex: 1;
  text-align: center;
  position: relative;
}
.t-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--hs-line);
}
.t-stat-num {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.t-stat-num .small { font-size: 12px; color: var(--hs-text-dim); }
.t-stat-label {
  font-size: 10px;
  color: var(--hs-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

/* ============ Tabs / Filter pills ============ */
.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 6px -18px 14px;
  padding: 0 18px;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  color: var(--hs-text-dim);
  font-family: var(--hs-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.pill.active {
  background: var(--hs-lime);
  color: var(--hs-lime-ink);
  border-color: var(--hs-lime);
}

/* ============ Coach cards (Coaching) ============ */
.coach {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 16px;
  margin-bottom: 10px;
}
.coach-head {
  display: flex; align-items: center; gap: 14px;
}
.coach-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a4d36, #1a3322);
  display: grid; place-items: center;
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--hs-lime);
  flex-shrink: 0;
  border: 1px solid rgba(212,242,74,0.18);
}
.coach-info { flex: 1; min-width: 0; }
.coach-name {
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 15px;
  margin: 0;
}
.coach-sessions {
  font-size: 11px;
  color: var(--hs-text-dim);
  margin-top: 2px;
}
.coach-score {
  text-align: right;
  flex-shrink: 0;
}
.coach-score-num {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--hs-lime);
  line-height: 1;
}
.coach-score-label {
  font-size: 9px;
  color: var(--hs-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.coach-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hs-line-strong);
}
.skill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-label {
  font-size: 11px;
  color: var(--hs-text-dim);
  flex: 1;
}
.skill-bar {
  flex: 1.2;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.skill-bar > i {
  display: block; height: 100%;
  background: var(--hs-lime);
  border-radius: 2px;
}
.skill-num {
  font-family: var(--hs-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--hs-text);
  width: 22px; text-align: right;
}

/* ============ Rewards ============ */
.rewards-hero {
  border-radius: var(--hs-r-xl);
  padding: 26px 22px 22px;
  background:
    radial-gradient(120% 80% at 100% 100%, rgba(212,242,74,0.22) 0%, transparent 55%),
    linear-gradient(160deg, #14422a 0%, #0d2a1b 60%, #0a1f15 100%);
  border: 1px solid rgba(212,242,74,0.14);
  position: relative;
  overflow: hidden;
}
.rewards-hero-label {
  font-family: var(--hs-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(212,242,74,0.85);
  text-transform: uppercase;
}
.rewards-hero-num {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 8px 0 4px;
  color: var(--hs-text);
}
.rewards-hero-num small {
  font-size: 18px;
  color: var(--hs-text-dim);
  font-weight: 700;
  margin-left: 4px;
  letter-spacing: 0;
}
.rewards-hero-sub {
  font-size: 12px;
  color: var(--hs-text-dim);
}
.rewards-hero-progress {
  margin-top: 18px;
}
.rewards-hero-progress-row {
  display: flex; justify-content: space-between;
  font-size: 11px;
  font-family: var(--hs-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.rewards-hero-progress-row .next { color: var(--hs-lime); }

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reward {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  min-height: 168px;
}
.reward-art {
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f3826, #0f2117);
  border: 1px solid var(--hs-line);
  display: grid;
  place-items: center;
  font-family: var(--hs-display);
  color: var(--hs-lime);
  position: relative;
  overflow: hidden;
}
.reward-art.gold { background: linear-gradient(135deg, #3a2e15, #1a1408); color: var(--hs-gold); }
.reward-art.purple { background: linear-gradient(135deg, #2a1f3a, #14102a); color: #c8a8ff; }
.reward-art.lime { background: linear-gradient(135deg, #2a3a15, #1a2208); color: var(--hs-lime); }
.reward-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-text-dim);
  font-weight: 700;
}
.reward-name {
  font-family: var(--hs-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.reward-cost {
  margin-top: auto;
  font-family: var(--hs-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--hs-lime);
  display: flex; align-items: center; gap: 4px;
}
.reward-cost.locked { color: var(--hs-text-mute); }

/* ============ Profile ============ */
.profile-hero {
  border-radius: var(--hs-r-xl);
  padding: 22px 22px 22px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(212,242,74,0.16) 0%, transparent 55%),
    linear-gradient(180deg, #14422a 0%, #0a1f15 100%);
  border: 1px solid rgba(212,242,74,0.14);
  position: relative;
  overflow: hidden;
}
.profile-hero::after {
  content: "HILLSIDE · CLUB CARD";
  position: absolute;
  bottom: 16px; right: -42px;
  transform: rotate(-90deg);
  font-family: var(--hs-display);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(212,242,74,0.5);
}
.profile-pic {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a4d36, #1a3322);
  display: grid; place-items: center;
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--hs-lime);
  border: 1px solid rgba(212,242,74,0.22);
}
.profile-name {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
}
.profile-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--hs-text-dim);
}
.profile-meta .dot { color: var(--hs-text-mute); }
.profile-tier-row {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--hs-r);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-tier-name {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--hs-lime);
}
.profile-tier-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-text-dim);
  font-weight: 700;
}
.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  overflow: hidden;
}
.profile-stat {
  padding: 16px 12px;
  text-align: center;
  position: relative;
}
.profile-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 14px; bottom: 14px;
  width: 1px;
  background: var(--hs-line);
}
.profile-stat-num {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.profile-stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hs-text-dim);
  font-weight: 700;
  margin-top: 2px;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.profile-action {
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--hs-text);
  font-family: var(--hs-display);
  font-weight: 700;
  font-size: 13px;
}
.profile-action.primary {
  background: var(--hs-lime);
  color: var(--hs-lime-ink);
  border-color: var(--hs-lime);
}

/* ============ Page header (non-home) ============ */
.page-head {
  padding: 14px 0 8px;
}
.page-title {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.025em;
  margin: 0;
}
.page-sub {
  font-size: 13px;
  color: var(--hs-text-dim);
  margin-top: 2px;
}

/* ============ List rows generic ============ */
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--hs-surface);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-r);
  margin-bottom: 8px;
}

/* ============ Hello bar (home) ============ */
.hello {
  font-family: var(--hs-display);
  font-size: 13px;
  color: var(--hs-text-dim);
  font-weight: 600;
}
.hello-name {
  font-family: var(--hs-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

/* ============ Single-page shell (hash router; one phone frame) ============ */
#root {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  background: var(--hs-ink, #07100b);
}

.hs-app-layout {
  flex: 0 0 auto;
}

.hs-app-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
