/**
 * ═══════════════════════════════════════════════════════════════════════
 * CENTSWORTH v6 — MOBILE-FIRST STYLES
 * ═══════════════════════════════════════════════════════════════════════
 *
 * Design principles:
 *   - Mobile-first: 320px base, scales up to tablet
 *   - Dark theme, high contrast for readability
 *   - Simple CSS visuals only — no canvas charts for layout
 *   - 44px minimum touch targets
 *   - rem-based typography for accessibility
 *   - No overlapping, no absolute positioning tricks
 *
 * ═══════════════════════════════════════════════════════════════════════
 */


/* ═══════ RESET & FOUNDATION ═══════ */

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

:root {
  /* Color tokens */
  --bg:       #0B0B14;
  --card:     #12121E;
  --card-h:   #1A1A2E;
  --border:   rgba(255, 255, 255, 0.06);
  --border-a: rgba(123, 111, 238, 0.15);

  --text:    #E8E6F0;
  --text-2:  rgba(232, 230, 240, 0.55);
  --text-3:  rgba(232, 230, 240, 0.30);

  --accent:  #7B6FEE;
  --accent-h:#9189F5;
  --income:  #5DDFBC;
  --expense: #E8657A;
  --warning: #EDBE5A;
  --savings: #7B6FEE;

  /* Spacing scale */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;

  /* Radius */
  --r:    12px;
  --r-sm: 8px;
  --r-xs: 6px;

  /* Fonts */
  --font-ui:   'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', monospace;

  /* Layout */
  --nav-h: 60px;
  --header-h: 0px;  /* no sticky header in v6 — month nav is inline */
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  height: 100%;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}


/* ═══════ APP SHELL ═══════ */

#v6-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
  padding-top: env(safe-area-inset-top, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

#v6-main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-lg);
  padding-bottom: calc(var(--nav-h) + var(--sp-xl) + env(safe-area-inset-bottom, 0));
}

/* Smooth scrollbar (desktop) */
#v6-main::-webkit-scrollbar { width: 4px; }
#v6-main::-webkit-scrollbar-track { background: transparent; }
#v6-main::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
#v6-main { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }


/* ═══════ BOTTOM NAV ═══════ */

#v6-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0));
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(11, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.v6-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 16px;
  border: none;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s;
  min-width: 64px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.v6-nav-btn svg {
  width: 22px;
  height: 22px;
}

.v6-nav-btn span {
  font: 500 0.65rem/1 var(--font-ui);
}

.v6-nav-btn.active {
  color: var(--accent);
}

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


/* ═══════ CARDS ═══════ */

.v6-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-lg);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  word-break: break-word;
}

.v6-card:active {
  background: var(--card-h);
}


/* ═══════ PROGRESS BARS ═══════ */

.v6-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.v6-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease-out, background-color 0.3s;
}


/* ═══════ OVERVIEW — MONTH HEADER ═══════ */

.v6-month-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  position: relative;
}

.v6-month-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.v6-month-arrow:active {
  background: rgba(123, 111, 238, 0.15);
  color: var(--accent);
  transform: scale(0.92);
}

.v6-month-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v6-month-label {
  font: 700 1.1rem/1 var(--font-mono);
  color: var(--text);
  text-align: center;
  min-width: 140px;
}

.v6-sync-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--text-3);
  font: 500 0.65rem/1 var(--font-ui);
  cursor: pointer;
  transition: all 0.2s;
}

.v6-sync-btn:active {
  color: var(--accent);
  border-color: var(--accent);
}


/* ═══════ OVERVIEW — HERO ═══════ */

.v6-hero {
  text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.v6-hero-label {
  font: 500 0.75rem/1 var(--font-ui);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-xs);
}

.v6-hero-remaining {
  font: 800 2.2rem/1.1 var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.v6-hero-meta {
  font: 500 0.75rem/1.3 var(--font-ui);
  color: var(--text-2);
  margin-bottom: var(--sp-md);
}

.v6-hero .v6-progress {
  height: 10px;
  margin-bottom: var(--sp-sm);
}

.v6-hero-pace {
  font: 500 0.7rem/1.3 var(--font-ui);
  color: var(--text-3);
}


/* ═══════ OVERVIEW — HERO DETAILS ═══════ */

.v6-hero-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.v6-hero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.v6-hero-value {
  font: 700 1rem/1 var(--font-mono);
  color: var(--text);
}

.v6-hero-sublabel {
  font: 500 0.7rem/1 var(--font-ui);
  color: var(--text-3);
  margin-bottom: var(--sp-sm);
  display: block;
}

.v6-hero-pct {
  font: 600 0.7rem/1 var(--font-mono);
  color: var(--text-2);
  margin-bottom: var(--sp-xs);
}

.v6-sync-btn {
  display: flex;
  align-items: center;
  gap: 4px;
}

.v6-sync-time {
  font: 400 0.6rem/1 var(--font-ui);
}

/* ═══════ SECTION TITLES ═══════ */

.v6-section-title {
  font: 700 0.9rem/1 var(--font-ui);
  color: var(--text-2);
  margin-bottom: var(--sp-md);
}


/* ═══════ OVERVIEW — CATEGORY LIST ═══════ */

.v6-cat-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.v6-cat-card {
  cursor: pointer;
  padding: var(--sp-md) var(--sp-lg);
}

.v6-cat-card:active {
  background: var(--card-h);
}

.v6-cat-top {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.v6-cat-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v6-cat-name {
  font: 600 0.9rem/1 var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v6-cat-amounts {
  display: flex;
  gap: var(--sp-xs);
  font: 500 0.7rem/1 var(--font-ui);
  color: var(--text-3);
}

.v6-cat-spent {
  font-family: var(--font-mono);
  font-weight: 600;
}

.v6-cat-of {
  color: var(--text-3);
}

.v6-cat-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.v6-cat-remaining {
  font: 700 0.85rem/1 var(--font-mono);
  flex-shrink: 0;
  text-align: right;
}

.v6-cat-remaining small {
  font: 500 0.6rem/1 var(--font-ui);
  display: block;
  margin-top: 2px;
  color: var(--text-3);
}

.v6-cat-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--sp-xs);
}

.v6-cat-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease-out;
}

.v6-cat-meta {
  display: flex;
  justify-content: space-between;
  font: 500 0.7rem/1 var(--font-ui);
  color: var(--text-3);
}


/* ═══════ OVERVIEW — STATS ROW ═══════ */

.v6-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.v6-stat {
  text-align: center;
  padding: var(--sp-md);
}

.v6-stat-label {
  font: 500 0.65rem/1 var(--font-ui);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-xs);
}

.v6-stat-value {
  font: 700 1rem/1 var(--font-mono);
}


/* ═══════ OVERVIEW — TRANSACTIONS ═══════ */

.v6-tx-list {
  display: flex;
  flex-direction: column;
}

.v6-tx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-md);
}

.v6-tx-title {
  font: 600 0.9rem/1 var(--font-ui);
}

.v6-tx-viewall {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--text-2);
  font: 500 0.7rem/1 var(--font-ui);
  cursor: pointer;
  min-height: 32px;
}

.v6-tx-viewall:active {
  color: var(--accent);
  border-color: var(--accent);
}

.v6-tx-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
}

.v6-tx-item:last-child {
  border-bottom: none;
}

.v6-tx-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 0.7rem/1 var(--font-ui);
  color: #fff;
  flex-shrink: 0;
}

.v6-tx-body {
  flex: 1;
  min-width: 0;
}

.v6-tx-desc {
  font: 500 0.8rem/1.2 var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v6-tx-cat {
  font: 400 0.65rem/1 var(--font-ui);
  color: var(--text-3);
  margin-top: 2px;
}

.v6-tx-right {
  text-align: right;
  flex-shrink: 0;
}

.v6-tx-amt {
  font: 700 0.8rem/1 var(--font-mono);
}

.v6-tx-date {
  font: 400 0.6rem/1 var(--font-mono);
  color: var(--text-3);
  margin-top: 2px;
}

.v6-tx-detail {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v6-tx-amount {
  font: 700 0.8rem/1 var(--font-mono);
  flex-shrink: 0;
}

.v6-tx-avatar--initial {
  font-size: 0.65rem;
}

.v6-view-all-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: var(--sp-md);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-2);
  font: 600 0.8rem/1 var(--font-ui);
  cursor: pointer;
  min-height: 44px;
  transition: all 0.2s;
}

.v6-view-all-btn:active {
  background: var(--card-h);
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══════ EMPTY STATE ═══════ */

.v6-empty-state {
  text-align: center;
  padding: var(--sp-xl);
  color: var(--text-3);
  font: 400 0.8rem/1.4 var(--font-ui);
}


/* ═══════ BUDGET — LIST VIEW ═══════ */

.v6-budget {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.v6-budget-toggle {
  display: flex;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px;
  margin-bottom: var(--sp-lg);
}

.v6-budget-toggle-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--text-3);
  font: 600 0.8rem/1 var(--font-ui);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.v6-budget-toggle-btn.active {
  background: var(--accent);
  color: #fff;
}

.v6-budget-card {
  padding: var(--sp-lg);
}

.v6-budget-bar {
  margin: var(--sp-sm) 0;
}

.v6-budget-people {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
}

.v6-budget-person {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font: 500 0.75rem/1 var(--font-ui);
  color: var(--text-2);
}

.v6-budget-person-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v6-budget-person-name {
  flex: 1;
}

.v6-budget-person-amt {
  font: 600 0.75rem/1 var(--font-mono);
  color: var(--text);
}


/* ═══════ BUDGET — DETAIL VIEW ═══════ */

.v6-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.v6-detail-header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.v6-detail-back {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v6-detail-back:active {
  background: var(--card-h);
  color: var(--accent);
}

.v6-detail-back svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.v6-detail-title {
  font: 700 1.1rem/1 var(--font-ui);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.v6-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  text-align: center;
}

.v6-detail-stat {
  padding: var(--sp-md);
}

.v6-detail-person-card {
  padding: var(--sp-lg);
}

.v6-detail-person-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.v6-detail-person-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.v6-detail-person-name {
  font: 600 0.85rem/1 var(--font-ui);
  flex: 1;
}

.v6-detail-person-total {
  font: 700 0.85rem/1 var(--font-mono);
}

.v6-detail-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
  gap: var(--sp-sm);
}

.v6-detail-tx:last-child {
  border-bottom: none;
}

.v6-detail-tx-date {
  font: 400 0.7rem/1 var(--font-mono);
  color: var(--text-3);
  flex-shrink: 0;
  width: 40px;
}

.v6-detail-tx-desc {
  font: 500 0.8rem/1.2 var(--font-ui);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v6-detail-tx-amt {
  font: 600 0.8rem/1 var(--font-mono);
  flex-shrink: 0;
}


/* ═══════ CASH — TRACKING VIEW ═══════ */

.v6-cash {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.v6-cash-summary {
  text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
}

.v6-cash-summary-row {
  display: flex;
  justify-content: space-between;
  font: 500 0.8rem/1 var(--font-ui);
  color: var(--text-2);
  padding: var(--sp-xs) 0;
}

.v6-cash-summary-row .mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
}

.v6-cash-withdrawal {
  padding: var(--sp-lg);
}

.v6-cash-withdrawal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-sm);
}

.v6-cash-withdrawal-desc {
  font: 600 0.85rem/1 var(--font-ui);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v6-cash-withdrawal-amt {
  font: 700 0.9rem/1 var(--font-mono);
  flex-shrink: 0;
}

.v6-cash-log {
  display: flex;
  flex-direction: column;
}

.v6-cash-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
}

.v6-cash-entry:last-child {
  border-bottom: none;
}

.v6-cash-fab {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--sp-lg) + env(safe-area-inset-bottom, 0));
  right: var(--sp-lg);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(123, 111, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
}

.v6-cash-fab:active {
  transform: scale(0.9);
}


/* ═══════ CASH — FORM ═══════ */

.v6-cash-form {
  padding: var(--sp-lg);
}

.v6-cash-form-field {
  margin-bottom: var(--sp-lg);
}

.v6-cash-form-label {
  font: 600 0.75rem/1 var(--font-ui);
  color: var(--text-2);
  margin-bottom: var(--sp-sm);
  display: block;
}

.v6-cash-form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--card-h);
  color: var(--text);
  font: 400 0.9rem/1.3 var(--font-ui);
  min-height: 44px;
}

.v6-cash-form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.v6-cash-form-input::placeholder {
  color: var(--text-3);
}

select.v6-cash-form-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(232,230,240,0.3)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.v6-cash-person-pills {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.v6-cash-person-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-3);
  font: 600 0.8rem/1 var(--font-ui);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.v6-cash-person-pill.active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(123, 111, 238, 0.2);
}

.v6-cash-form-actions {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.v6-btn {
  flex: 1;
  padding: 14px;
  border-radius: var(--r-sm);
  font: 600 0.85rem/1 var(--font-ui);
  cursor: pointer;
  min-height: 48px;
  transition: all 0.2s;
}

.v6-btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.v6-btn-primary:active {
  background: var(--accent-h);
  transform: scale(0.98);
}

.v6-btn-secondary {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.v6-btn-secondary:active {
  background: var(--card-h);
}


/* ═══════ EMPTY STATE ═══════ */

.v6-empty {
  text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
  color: var(--text-3);
  font: 400 0.8rem/1.4 var(--font-ui);
}

.v6-empty-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
  opacity: 0.5;
}


/* ═══════ UTILITIES ═══════ */

.mono { font-family: var(--font-mono); }
.text-income { color: var(--income); }
.text-expense { color: var(--expense); }
.text-warning { color: var(--warning); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-3); }


/* ═══════ RESPONSIVE — SMALL PHONES (< 360px) ═══════ */

@media (max-width: 360px) {
  :root {
    --sp-lg: 12px;
  }

  .v6-hero-remaining {
    font-size: 1.8rem;
  }

  .v6-stats-row {
    gap: var(--sp-xs);
  }

  .v6-stat-value {
    font-size: 0.85rem;
  }

  .v6-cat-name {
    font-size: 0.8rem;
  }

  .v6-month-label {
    font-size: 0.95rem;
    min-width: 120px;
  }
}


/* ═══════ RESPONSIVE — TABLET (> 600px) ═══════ */

@media (min-width: 600px) {
  #v6-main {
    max-width: 540px;
    margin: 0 auto;
    padding-left: var(--sp-xl);
    padding-right: var(--sp-xl);
  }

  .v6-hero-remaining {
    font-size: 2.8rem;
  }

  .v6-cat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .v6-stats-row {
    gap: var(--sp-md);
  }
}


/* ═══════ RESPONSIVE — LANDSCAPE ═══════ */

@media (max-height: 500px) and (orientation: landscape) {
  .v6-hero {
    padding: var(--sp-md);
  }

  .v6-hero-remaining {
    font-size: 1.6rem;
  }
}


/* ═══════ ANIMATIONS ═══════ */

@keyframes v6-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.v6-card {
  animation: v6-fadeIn 0.3s ease-out both;
}

.v6-cat-list .v6-card:nth-child(1) { animation-delay: 0s; }
.v6-cat-list .v6-card:nth-child(2) { animation-delay: 0.03s; }
.v6-cat-list .v6-card:nth-child(3) { animation-delay: 0.06s; }
.v6-cat-list .v6-card:nth-child(4) { animation-delay: 0.09s; }
.v6-cat-list .v6-card:nth-child(5) { animation-delay: 0.12s; }
.v6-cat-list .v6-card:nth-child(6) { animation-delay: 0.15s; }
.v6-cat-list .v6-card:nth-child(7) { animation-delay: 0.18s; }
.v6-cat-list .v6-card:nth-child(8) { animation-delay: 0.21s; }
