@import url("/store/assets/store.css");

:root {
  --site-bg: var(--bg);
  --site-surface: rgba(255, 255, 255, 0.04);
  --site-border: rgba(255, 255, 255, 0.16);
  --site-accent: #e62c7b;
}

body.site-body {
  background: var(--site-bg);
  color: #f7f4ff;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--site-border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.site-nav__logo {
  display: flex;
  align-items: center;
}

.site-nav__links a {
  margin-left: 16px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.site-nav__links a.active,
.site-nav__links a:hover {
  color: var(--site-accent);
}

.site-nav__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.site-nav__wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.logo-link {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  display: block;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  margin: 8px 0 16px;
}

.tab {
  padding: 10px 16px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
}

.tab.active {
  border-color: #6de2ff;
  color: #0b1021;
  background: linear-gradient(135deg, #6de2ff, #7c5cff);
}

.account-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.account-bar .divider {
  color: #475569;
}

.pill.warning {
  background: rgba(251, 191, 36, 0.15);
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.4);
}

.cards-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card.highlight {
  background: linear-gradient(135deg, rgba(109, 226, 255, 0.15), rgba(124, 92, 255, 0.12));
  border-color: #233152;
}

.card.onboarding {
  margin-top: 24px;
}

.calendar-card {
  background: rgba(255, 255, 255, 0.02);
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.calendar-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #e2e8f0;
}

.calendar-controls select {
  background: var(--site-bg);
  color: #e2e8f0;
  border: 1px solid var(--site-border);
  padding: 8px 12px;
  border-radius: 10px;
  min-width: 160px;
}

.legend {
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--site-border);
  color: #cbd5e1;
}

.badge-holiday {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.4);
}

.badge-game {
  background: rgba(244, 114, 182, 0.15);
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.4);
}

.badge-default {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.3);
}

.badge-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  padding: 0;
}

.legend-label {
  margin-right: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-cell {
  min-height: 120px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.calendar-cell.header {
  text-align: center;
  font-weight: 700;
  background: transparent;
  border: none;
  color: #94a3b8;
  min-height: auto;
}

.calendar-cell.day {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.day-number {
  font-weight: 800;
  color: #e2e8f0;
}

.event-chip {
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--site-border);
}

.event-link {
  color: #e0f2fe;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.event-location {
  display: block;
  font-size: 11px;
  color: #b4c3dd;
}
.list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card {
  display: grid;
  grid-template-columns: 1.2fr 2fr 0.6fr;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
}

.event-card.compact {
  grid-template-columns: 1fr 1.6fr 0.4fr;
  gap: 12px;
}

.event-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.event-dates {
  display: flex;
  gap: 10px;
}

.date-pill {
  border: 1px solid var(--site-border);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  min-width: 110px;
}

.event-actions {
  text-align: right;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--site-border);
  background: rgba(0, 0, 0, 0.25);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inline-item {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-date {
  border-right: 1px solid var(--site-border);
  padding-right: 8px;
  font-size: 13px;
}

.mini-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.pill-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.7fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 900px) {
  .site-nav {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .site-nav__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-nav__auth {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .site-nav__wrapper {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
  }
  .site-nav__wrapper.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-controls {
    align-items: flex-start;
  }
  .table-row {
    grid-template-columns: 1fr;
  }
}
