/* ════════════════════════════════════════════════════════
   JOMBoard — Design System v8
   ════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Coming+Soon&family=Lekton:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:       #f6efe9;
  --card:     #fffdf6;
  --nav:      #2f1c1b;
  --text:     #2f1c1b;
  --orange:   #cf4d1b;
  --mustard:  #f4b137;
  --butter:   #ffedaa;
  --mid:      rgba(47,28,27,0.55);
  --light:    rgba(47,28,27,0.12);
  --white:    #ffffff;
  --espresso: #2f1c1b;

  --success:  #1e6b38;  --success-bg: #d4edda;
  --danger:   #c0392b;  --danger-bg:  #fde8e4;
  --warning:  #965a28;  --warning-bg: #fff3e0;
  --info:     #1565c0;  --info-bg:    #e3f2fd;

  --heading: 'Coming Soon', cursive;
  --body:    'Lekton', monospace;

  --shadow-card: 3px 4px 14px rgba(47,28,27,0.09), -2px -2px 8px rgba(255,255,255,0.7);
  --shadow-pin:  4px 6px 20px rgba(47,28,27,0.13), -3px -3px 10px rgba(255,255,255,0.75);
  --shadow-hover:6px 10px 28px rgba(47,28,27,0.18), -3px -3px 12px rgba(255,255,255,0.8);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-weight: 700; background: var(--bg); color: #2f1c1b; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; transition: transform 0.08s ease; }
button:active { transform: scale(0.96); }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: none; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(47,28,27,0.15); border-radius: 3px; }

/* ════════════════════════════════════════════════════════
   TOP NAV — handoff-exact
   ════════════════════════════════════════════════════════ */
.jb-nav {
  background: #2f1c1b;
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(47,28,27,0.18);
}
.jb-nav__brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.jb-nav__brand:hover { text-decoration: none; }
.jb-nav__logo { font-size: 26px; line-height: 1; }
.jb-nav__logo img { width: 28px; height: 28px; object-fit: contain; display: block; }
.jb-nav__name { font-family: var(--heading); font-size: 22px; color: var(--butter); letter-spacing: -0.3px; }
.jb-nav__right { display: flex; align-items: center; gap: 4px; }
#nav-user-slot { display: flex; align-items: center; gap: 4px; }
.jb-nav__link {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,237,170,0.55);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34,1.2,0.68,1);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  display: inline-flex; align-items: center;
  white-space: nowrap;
}
.jb-nav__link:hover { color: var(--butter); text-decoration: none; }
.jb-nav__link.active {
  background: rgba(244,177,55,0.18);
  color: var(--mustard);
  font-weight: 700;
  border-bottom-color: var(--mustard);
}
.jb-nav__divider { width: 1px; height: 20px; background: rgba(255,237,170,0.15); margin: 0 8px; flex-shrink: 0; }
.nav-login-btn {
  background: transparent; border: none;
  color: rgba(255,237,170,0.7);
  font-family: var(--body); font-size: 13px;
  cursor: pointer; padding: 8px 16px; border-radius: 8px;
  transition: color 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-login-btn:hover { color: var(--butter); text-decoration: none; }
.nav-join-btn {
  background: var(--mustard); color: #2f1c1b;
  border: none; border-radius: 8px;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  padding: 8px 16px; cursor: pointer;
  transition: background 0.15s;
  text-decoration: none; display: inline-flex; align-items: center;
  white-space: nowrap;
}
.nav-join-btn:hover { background: #e09c20; text-decoration: none; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: var(--butter);
  font-family: var(--body); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  border: 2px solid rgba(255,237,170,0.35);
  flex-shrink: 0;
}
.nav-avatar:hover { text-decoration: none; }
.nav-admin-link {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  background: rgba(255,237,170,0.1); color: rgba(255,237,170,0.6);
  border: 1px solid rgba(255,237,170,0.15);
  padding: 5px 10px; border-radius: 6px;
  text-decoration: none; transition: all 0.15s;
}
.nav-admin-link:hover { color: var(--butter); text-decoration: none; }
/* Notification bell */
.notif-btn {
  background: none; border: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s;
}
.notif-btn:hover { background: rgba(255,237,170,0.1); }
.notif-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; border-radius: 8px;
  background: #cf4d1b; color: #fff;
  font-family: var(--body); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
  border: 1.5px solid #2f1c1b;
  pointer-events: none;
}
/* Coin counter in nav */
.nav-coins {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(244,177,55,0.15); border: 1px solid rgba(244,177,55,0.2);
  border-radius: 20px; padding: 4px 10px; margin: 0 4px;
  font-family: var(--body); font-size: 12px; font-weight: 700; color: #f4b137;
  white-space: nowrap;
}
/* Notification dot on Messages nav link */
.jb-nav__link.has-notif { position: relative; }
.jb-nav__link.has-notif::after {
  content: ''; position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #e53935; border: 1.5px solid #2f1c1b;
}
@media (max-width: 640px) {
  .jb-nav { padding: 0 14px; }
  .jb-nav__link:not(.active) { display: none; }
}

/* ════════════════════════════════════════════════════════
   SESSION CARD — handoff-exact (SVG pin, plain emoji)
   ════════════════════════════════════════════════════════ */

/* Pinboard wrapper: provides the pin + card stacking */
.pin-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
}
/* Clean wrapper: no pin, no extra top padding */
.pin-card-wrap-clean { display: block; }

.pin-card {
  background: #fffdf6;
  border-radius: 16px;
  padding: 18px 18px 14px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: #2f1c1b;
  display: block;
  width: 100%;
  box-shadow: 3px 5px 16px rgba(47,28,27,0.11), -2px -2px 8px rgba(255,255,255,0.7);
  transition: all 0.22s ease;
}
.pin-card:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.02) !important;
  box-shadow: 6px 10px 28px rgba(47,28,27,0.18), -3px -3px 12px rgba(255,255,255,0.8);
  text-decoration: none; color: #2f1c1b;
}
.pin-card__top {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px;
}
/* Plain big emoji - NO colored tile background */
.pin-card__emoji {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pin-card__title-col { flex: 1; min-width: 0; }
.pin-card__title {
  font-family: 'Coming Soon', cursive;
  font-size: 15px; color: #2f1c1b;
  line-height: 1.3; margin-bottom: 4px;
}
.pin-card__joined {
  display: inline-block;
  background: #cf4d1b; color: #ffedaa;
  padding: 2px 8px; border-radius: 10px;
  font-family: 'Lekton', monospace; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.pin-card__rows { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.pin-card__row {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Lekton', monospace; font-size: 12.5px;
  color: #2f1c1b; opacity: 0.72;
}
.pin-card__row-icon { flex-shrink: 0; font-size: 13px; }
.pin-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
/* Level badge — handoff: green for Beginner Friendly, default butter */
.pin-card__level-badge {
  padding: 4px 12px; border-radius: 20px;
  font-family: 'Lekton', monospace; font-size: 11px; font-weight: 700;
  background: #ffedaa; color: #2f1c1b;
  letter-spacing: 0.3px;
}
.pin-card__level-badge--green { background: #d4edda; color: #1e6b38; }
.pin-card__game-tag {
  padding: 4px 12px; border-radius: 20px;
  font-family: 'Lekton', monospace; font-size: 11px;
  background: rgba(47,28,27,0.05); color: #2f1c1b;
}
.pin-card__foot { display: flex; justify-content: space-between; align-items: center; }
.pin-card__dots { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.slot-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(47,28,27,0.14);
  display: inline-block;
}
.slot-dot--on { background: #cf4d1b; }
.pin-card__spots-txt {
  font-family: 'Lekton', monospace; font-size: 11px;
  color: #2f1c1b; opacity: 0.5; margin-left: 4px;
}
.pin-card__logo {
  font-family: 'Lekton', monospace; font-size: 10px;
  color: #2f1c1b; opacity: 0.3; white-space: nowrap;
}
/* Grids */
.pinboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.pin-grid      { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

/* Shared badge */
.jb-badge {
  background: #ffedaa; color: #2f1c1b;
  padding: 3px 10px; border-radius: 20px;
  font-family: 'Lekton', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; white-space: nowrap;
  text-transform: uppercase;
  display: inline-block;
}
.jb-badge--orange  { background: #cf4d1b; color: #ffedaa; }
.jb-badge--mustard { background: #f4b137; color: #2f1c1b; }
.jb-badge--green   { background: #d4edda; color: #1e6b38; }
.jb-badge--subtle  { background: rgba(47,28,27,0.07); color: #2f1c1b; }

/* Slot indicator */
.slot-ind { display: flex; align-items: center; gap: 8px; }
.slot-ind__dots { display: flex; gap: 3px; }
.slot-ind__label { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.55; }

/* Host mini-avatar */
.mini-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: var(--butter);
  font-family: var(--body); font-weight: 700; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   BROWSE PAGE
   ════════════════════════════════════════════════════════ */
.browse-page { background: var(--bg); min-height: calc(100vh - 62px); padding: 28px 0 100px; }
.browse-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.browse-h1 {
  font-family: var(--heading); font-size: 32px;
  color: #2f1c1b; margin: 0 0 22px;
  animation: jomHeroIn 0.38s ease both;
}
.browse-search { position: relative; margin-bottom: 14px; }
.browse-search__icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); font-size: 15px; pointer-events: none;
}
.browse-search__input {
  width: 100%; padding: 12px 16px 12px 42px;
  border-radius: 12px;
  border: 2px solid rgba(47,28,27,0.1);
  font-family: var(--body); font-size: 14px;
  background: #fffdf6; color: #2f1c1b;
  box-sizing: border-box; outline: none;
  transition: border-color 0.15s;
}
.browse-search__input:focus { border-color: var(--orange); }
.browse-search__input::placeholder { color: rgba(47,28,27,0.3); }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 22px; padding-bottom: 2px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 8px 18px; border-radius: 24px; border: none;
  white-space: nowrap;
  background: #fffdf6; color: #2f1c1b;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.18s cubic-bezier(0.34,1.2,0.68,1);
  box-shadow: 0 1px 4px rgba(47,28,27,0.07);
  flex-shrink: 0;
}
.cat-chip.active {
  background: #2f1c1b; color: #ffedaa;
  font-weight: 700; box-shadow: none; transform: scale(1.05);
}
.date-chips { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.date-chip {
  padding: 6px 16px; border-radius: 20px; cursor: pointer;
  transition: all 0.15s; border: 1.5px solid;
  white-space: nowrap; font-family: var(--body); font-size: 12px;
  border-color: rgba(47,28,27,0.12); background: transparent; color: #2f1c1b;
}
.date-chip.active {
  border-color: var(--orange); background: var(--orange); color: white;
}
.browse-count { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.45; margin-bottom: 18px; }
@media (max-width: 640px) { .browse-inner { padding: 0 16px; } .pin-grid { grid-template-columns: 1fr; } .browse-h1 { font-size: 24px; } }

/* ════════════════════════════════════════════════════════
   DASHBOARD / MY SESSIONS
   ════════════════════════════════════════════════════════ */
.dash-hero { background: #2f1c1b; padding: 20px 0; }
.dash-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.dash-hero__inner { }
.dash-hero__greet { font-family: var(--body); font-size: 13px; color: var(--mustard); margin-bottom: 4px; letter-spacing: 0.5px; animation: jomFadeIn 0.35s ease both; }
.dash-hero__name  { font-family: var(--heading); font-size: 30px; color: var(--butter); margin-bottom: 18px; animation: jomHeroIn 0.4s ease 0.05s both; }
.stat-boxes { display: flex; gap: 10px; flex-wrap: nowrap; align-items: stretch; min-height: 78px; }
.stat-box {
  background: rgba(255,237,170,0.08);
  border-radius: 12px; padding: 10px 18px;
  text-align: center; min-width: 105px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  animation: jomBounceIn 0.4s cubic-bezier(0.34,1.5,0.68,1) both;
}
.stat-box__val { font-family: var(--heading); font-size: 22px; color: var(--mustard); line-height: 1; }
.stat-box__lbl { font-family: var(--body); font-size: 11px; color: rgba(255,237,170,0.5); margin-top: 2px; }
/* "Next up" card — #ffedaa bg per handoff */
.next-up-card {
  background: #ffedaa;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 0;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #2f1c1b;
  transition: box-shadow 0.15s;
}
.next-up-card:hover { box-shadow: var(--shadow-hover); text-decoration: none; color: #2f1c1b; }
.next-up-card__label { font-family: var(--body); font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.next-up-card__title { font-family: var(--heading); font-size: 18px; color: #2f1c1b; margin-bottom: 4px; }
.next-up-card__date  { font-family: var(--body); font-size: 13px; color: var(--orange); font-weight: 700; }
.next-up-card__emoji { font-size: 40px; flex-shrink: 0; }
.next-up-card__actions { display: flex; flex-direction: row; gap: 8px; flex-shrink: 0; align-items: center; }
.next-up-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 20px; border: none;
  background: rgba(47,28,27,0.1); color: #2f1c1b;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s; letter-spacing: 0.2px;
}
.next-up-pill:hover { background: rgba(47,28,27,0.18); text-decoration: none; color: #2f1c1b; }
.stat-box--level {
  flex: 1; min-width: 160px;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  text-align: left; padding: 10px 20px; align-items: flex-start;
}
.stat-box__level-chip {
  font-family: var(--body); font-size: 12px; font-weight: 700;
  color: var(--mustard); letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 2px;
}
/* Tab switcher */
.dash-tabs { background: var(--bg); padding: 0; }
.dash-tabs__inner { max-width: 1100px; margin: 0 auto; padding: 16px 32px 0; }
.dash-tabs__inner { }
.dash-tab-bar { display: flex; gap: 4px; background: rgba(47,28,27,0.06); border-radius: 12px; padding: 4px; }
.dash-tab-btn {
  flex: 1; padding: 10px 8px;
  border-radius: 9px; border: none;
  background: transparent; color: #2f1c1b;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.15s;
}
.dash-tab-btn.active { background: #2f1c1b; color: var(--butter); font-weight: 700; }
/* Session row */
.dash-body { max-width: 1100px; margin: 0 auto; padding: 20px 32px 80px; }
.sesh-row {
  background: #fffdf6; border-radius: 16px; padding: 18px 22px;
  display: flex; gap: 16px; align-items: center;
  box-shadow: var(--shadow-card);
  transition: all 0.15s; cursor: pointer; margin-bottom: 14px;
}
.sesh-row:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.sesh-row__emoji { font-size: 36px; flex-shrink: 0; }
.sesh-row__info { flex: 1; min-width: 0; }
.sesh-row__title { font-family: var(--heading); font-size: 16px; color: #2f1c1b; margin-bottom: 4px; }
.sesh-row__meta  { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.5; }
.sesh-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
@media (max-width: 640px) { .dash-hero { padding: 20px 16px; } .dash-tabs { padding: 14px 16px 0; } .dash-body { padding: 16px 16px 80px; } .next-up-card { margin-left: 0; margin-right: 0; } }

/* ════════════════════════════════════════════════════════
   PROFILE
   ════════════════════════════════════════════════════════ */
.profile-hero { background: #2f1c1b; padding: 28px 28px 40px; text-align: center; }
.profile-hero__av {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--orange); color: var(--butter);
  font-family: var(--heading); font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
  border: 3px solid rgba(255,237,170,0.4);
  animation: jomPopIn 0.5s cubic-bezier(0.34,1.5,0.68,1) both;
}
.profile-hero__name     { font-family: var(--heading); font-size: 28px; color: var(--butter); margin-bottom: 6px; animation: jomFadeIn 0.4s ease 0.15s both; }
.profile-hero__username { font-family: var(--body); font-size: 13px; color: var(--mustard); font-weight: 700; margin-bottom: 4px; }
.profile-hero__location { font-family: var(--body); font-size: 13px; color: rgba(255,237,170,0.8); margin-bottom: 14px; }
.profile-hero__level-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,237,170,0.12);
  color: var(--butter);
  font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 12px; margin-top: -4px;
  border: 1px solid rgba(255,237,170,0.2);
}
/* XP bar */
.xp-bar-wrap { margin: 16px auto 0; max-width: 420px; width: 100%; }
.xp-level-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.xp-level-text { display: inline-flex; align-items: center; gap: 2px; }
.xp-pts-text   { font-family: var(--body); font-size: 12px; color: var(--butter); }
.xp-track { height: 8px; border-radius: 5px; background: rgba(255,237,170,0.18); overflow: hidden; }
.xp-fill  { height: 100%; border-radius: 5px; background: linear-gradient(to right, #cf4d1b, #f4b137); transition: width 0.8s ease; }
.xp-sub-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--body); font-size: 11px; color: rgba(255,237,170,0.45); margin-top: 8px; letter-spacing: 0.2px; }
/* Profile body */
.profile-body { max-width: 620px; margin: 0 auto; padding: 20px 22px 80px; }
.profile-card { background: #fffdf6; border-radius: 16px; padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow-card); }
.profile-card h3 { font-family: var(--heading); font-size: 16px; color: #2f1c1b; margin: 0 0 12px; }
.profile-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.profile-stat { background: #fffdf6; border-radius: 14px; padding: 16px 10px; text-align: center; box-shadow: var(--shadow-card); }
.profile-stat__val { font-family: var(--heading); font-size: 22px; color: var(--orange); }
.profile-stat__lbl { font-family: var(--body); font-size: 10px; color: #2f1c1b; opacity: 0.55; margin-top: 5px; line-height: 1.4; letter-spacing: 0.3px; }
/* Badges section — #ffedaa bg per handoff */
.badges-card { background: #ffedaa; border-radius: 16px; padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow-card); }
.badges-card h3 { font-family: var(--heading); font-size: 16px; color: #2f1c1b; }
#badge-list { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-item { display: inline-flex; align-items: center; gap: 6px; background: white; padding: 6px 14px; border-radius: 20px; font-family: var(--body); font-size: 13px; color: #2f1c1b; margin: 4px; }
.badge-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: white; display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 2px 8px rgba(47,28,27,0.08);
  transition: transform 0.15s;
}
.badge-icon:hover { transform: scale(1.08); }
.fav-game-pill { background: rgba(207,77,27,0.08); padding: 6px 16px; border-radius: 20px; font-family: var(--body); font-size: 13px; color: var(--orange); font-weight: 700; display: inline-block; margin: 3px; }
.profile-action-row { display: flex; gap: 10px; margin-top: 4px; }
.profile-action-row .btn { flex: 1; }
@media (max-width: 640px) { .profile-hero { padding: 24px 16px 28px; } .profile-body { padding: 16px 14px 80px; } }

/* ════════════════════════════════════════════════════════
   SESSION DETAIL
   ════════════════════════════════════════════════════════ */
.sesh-page { background: var(--bg); }

/* Hero band */
.sesh-hero {
  background: #2f1c1b;
  padding: 16px 0 24px;
}
.sesh-hero__topbar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.back-btn {
  background: rgba(255,237,170,0.1); border: 1px solid rgba(255,237,170,0.15);
  border-radius: 8px; color: rgba(255,237,170,0.65);
  font-family: var(--body); font-size: 13px;
  cursor: pointer; padding: 6px 14px; flex-shrink: 0;
  text-decoration: none; transition: all 0.15s;
}
.back-btn:hover { color: var(--butter); text-decoration: none; }
.share-btn {
  background: rgba(255,237,170,0.08); border: 1px solid rgba(255,237,170,0.18);
  border-radius: 8px; color: rgba(255,237,170,0.55);
  font-family: var(--body); font-size: 12px;
  cursor: pointer; padding: 6px 14px;
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  margin-left: auto;
}
.sesh-hero__premium {
  display: inline-block;
  background: rgba(207,77,27,0.15);
  color: #cf4d1b;
  border: 1px solid rgba(207,77,27,0.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sesh-hero__main {
  display: flex; align-items: center; gap: 14px;
}
/* SVG emoji tile with inset shadow */
.sesh-hero__tile {
  width: 56px; height: 56px;
  background: #ede5db; border-radius: 16px;
  box-shadow: inset 3px 3px 8px rgba(47,28,27,0.18), inset -3px -3px 8px rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.sesh-hero__text { flex: 1; min-width: 0; }
.sesh-hero__title { font-family: var(--heading); font-size: 22px; color: #ffedaa; margin: 0 0 4px; line-height: 1.2; }
.sesh-hero__date  { font-family: var(--body); font-size: 12px; color: rgba(255,237,170,0.5); margin: 0; }

/* Post-join success banner */
.join-banner {
  background: linear-gradient(135deg, #ffedaa 0%, #fff8d6 100%);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.join-banner__heading { font-family: var(--heading); font-size: 18px; color: #2f1c1b; margin: 0; }
.join-banner__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.join-banner__pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: white; color: #2f1c1b;
  padding: 7px 16px; border-radius: 20px;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  cursor: pointer; border: none;
  box-shadow: 0 1px 4px rgba(47,28,27,0.1);
  text-decoration: none;
}

/* Invite & earn strip */
.invite-strip {
  background: #fff8e6;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body); font-size: 13px; color: #2f1c1b;
}
.invite-strip__icon { font-size: 22px; flex-shrink: 0; }
.invite-strip__text { flex: 1; }
.invite-strip__title { font-weight: 700; margin-bottom: 2px; }
.invite-strip__sub { font-size: 12px; opacity: 0.55; }

/* Two-column body */
.sesh-body {
  padding: 28px 32px 120px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) 296px;
  gap: 28px;
  align-items: start;
}
.sesh-main  { display: flex; flex-direction: column; gap: 16px; }
.detail-card {
  background: #fffdf6;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.detail-card h2 { font-family: var(--heading); font-size: 18px; color: #2f1c1b; margin: 0 0 14px; }
.detail-card h3 { font-family: var(--heading); font-size: 16px; color: #2f1c1b; margin: 0 0 12px; }

/* What to expect — vertical list */
.expect-list { display: flex; flex-direction: column; gap: 14px; }
.expect-list-item { display: flex; gap: 14px; align-items: flex-start; }
.expect-icon-box {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  box-shadow: 2px 2px 6px rgba(47,28,27,0.07), -1px -1px 4px rgba(255,255,255,0.6);
}
.expect-title { font-family: var(--body); font-size: 13px; font-weight: 700; color: #2f1c1b; margin-bottom: 2px; }
.expect-desc  { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.6; line-height: 1.65; }

/* Who's coming */
.coming-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
.coming-av__wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.coming-av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: white;
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.coming-av__badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #cf4d1b; border: 2px solid #fffdf6;
  font-size: 9px; font-family: var(--body); font-weight: 700; color: white;
  display: flex; align-items: center; justify-content: center;
}
.coming-av__name { font-family: var(--body); font-size: 10px; color: #2f1c1b; opacity: 0.55; text-align: center; }
.coming-av--empty {
  background: rgba(47,28,27,0.07);
  border: 2px dashed rgba(47,28,27,0.15);
  color: rgba(47,28,27,0.2);
  font-size: 18px;
}
/* Slots fill bar */
.slots-fill-bar { height: 6px; border-radius: 3px; background: rgba(47,28,27,0.08); overflow: hidden; margin-top: 12px; }
.slots-fill-bar__inner { height: 100%; border-radius: 3px; background: #f4b137; transition: width 0.8s ease; }
.slots-fill-bar__inner--urgent { background: #cf4d1b; }

/* More sessions */
.more-sessions { margin-top: 4px; }
.more-sessions__title { font-family: var(--heading); font-size: 17px; color: #2f1c1b; margin: 0 0 14px; }
.more-session-row {
  background: #fffdf6; border-radius: 14px; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center; cursor: pointer;
  box-shadow: 3px 4px 12px rgba(47,28,27,0.07), -2px -2px 7px rgba(255,255,255,0.65);
  transition: all 0.15s; text-decoration: none; margin-bottom: 10px;
}
.more-session-row:hover { transform: translateY(-2px); }
.more-session-row__emoji { font-size: 26px; flex-shrink: 0; }
.more-session-row__info { flex: 1; min-width: 0; }
.more-session-row__title { font-family: var(--heading); font-size: 14px; color: #2f1c1b; margin-bottom: 2px; }
.more-session-row__meta  { font-family: var(--body); font-size: 11px; color: #2f1c1b; opacity: 0.5; }
.more-session-row__dots  { display: flex; gap: 3px; flex-shrink: 0; }
.more-session-row__dot   { width: 8px; height: 8px; border-radius: 50%; background: rgba(47,28,27,0.12); }
.more-session-row__dot--filled { background: #cf4d1b; }

/* You're going! sidebar card */
.going-card {
  background: #d4edda; border-radius: 14px;
  padding: 18px 20px; text-align: center;
  box-shadow: 3px 4px 12px rgba(47,28,27,0.07);
}
.going-card__emoji  { font-size: 32px; margin-bottom: 8px; }
.going-card__title  { font-family: var(--heading); font-size: 17px; color: #1e6b38; margin-bottom: 14px; }
.going-card--waitlist { background: #ffedaa; }
.going-card--waitlist .going-card__title { color: #965a28; }
.going-card__action {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; border-radius: 10px;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 700; color: #2f1c1b;
  text-align: left; text-decoration: none;
  transition: background 0.15s;
}
.going-card__action:hover { background: rgba(47,28,27,0.06); }
.going-card__leave {
  background: none; border: none;
  font-family: var(--body); font-size: 11px;
  color: rgba(47,28,27,0.4); cursor: pointer;
  text-decoration: underline; margin-top: 6px;
}

/* Sidebar */
.sesh-sidebar__card {
  background: #fffdf6;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-pin);
}
.sesh-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}
.sesh-sidebar__price {
  font-family: var(--heading);
  font-size: 28px;
  color: var(--orange);
  text-align: center;
  margin: 6px 0;
}
/* Map tile (fake, per handoff) */
.map-tile {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid rgba(47,28,27,0.08);
  border-bottom: none;
}
/* Organiser card with #ffedaa bg + JOMBoard logo */
.organiser-card {
  background: #ffedaa;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.organiser-card h3 { font-family: var(--heading); font-size: 15px; color: #2f1c1b; margin: 0 0 12px; }
.organiser-logo-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; opacity: 0.5; }
.organiser-logo-row__img { width: 14px; height: 14px; object-fit: contain; }
.organiser-logo-row__txt { font-family: var(--body); font-size: 11px; color: #2f1c1b; }

.sesh-host-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-family: var(--heading);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Sticky CTA bar */
.sesh-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffdf6;
  border-top: 1.5px solid rgba(47,28,27,0.1);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(47,28,27,0.1);
}
.sesh-cta-bar__left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sesh-cta-bar__title { font-family: 'Lekton', monospace; font-size: 14px; font-weight: 700; color: #2f1c1b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.sesh-cta-bar__meta { display: flex; align-items: center; gap: 8px; }
.sesh-cta-bar__dots { display: flex; gap: 5px; align-items: center; }
.sesh-cta-bar__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(47,28,27,0.15); }
.sesh-cta-bar__dot--filled { background: #cf4d1b; }
.sesh-cta-bar__spots { font-family: 'Lekton', monospace; font-size: 12px; color: #2f1c1b; opacity: 0.5; }
.sesh-cta-bar__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sesh-cta-bar__price { font-family: 'Lekton', monospace; font-size: 13px; color: #2f1c1b; opacity: 0.65; white-space: nowrap; }
@media (max-width: 768px) {
  .sesh-body { grid-template-columns: 1fr; }
  .sesh-sidebar { order: -1; }
  .sesh-hero { padding: 16px 16px 22px; }
  .sesh-cta-bar { padding: 12px 16px; }
  .sesh-cta-bar__title { max-width: 180px; font-size: 13px; }
  .sesh-cta-bar__price { display: none; }
}
@media (max-width: 640px) { .sesh-body { padding: 16px 4% 80px; } .expect-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   AUTH
   ════════════════════════════════════════════════════════ */
.auth-page { min-height: calc(100vh - 62px); background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card {
  background: var(--white); border-radius: 24px;
  padding: 40px 36px; width: 100%; max-width: 420px;
  box-shadow: 0 8px 40px rgba(47,28,27,0.12);
  animation: jomBounceIn 0.45s cubic-bezier(0.34,1.5,0.68,1) both;
}
.auth-logo-row { display: flex; justify-content: center; margin-bottom: 28px; }
.auth-logo-inner { display: flex; align-items: center; gap: 8px; }
.auth-logo-name { font-family: var(--heading); font-size: 22px; color: #2f1c1b; }
.auth-mascot-img { width: 44px; height: 44px; object-fit: contain; display: block; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.auth-tab {
  flex: 1; padding: 10px; border-radius: 9px; border: none;
  background: transparent; color: #2f1c1b;
  font-family: var(--heading); font-size: 14px; cursor: pointer;
  transition: all 0.15s;
}
.auth-tab.active { background: #2f1c1b; color: var(--butter); }
.auth-input {
  width: 100%; padding: 12px 16px;
  border-radius: 10px; border: 2px solid rgba(47,28,27,0.13);
  font-family: var(--body); font-size: 14px; color: #2f1c1b;
  background: var(--white); box-sizing: border-box; outline: none;
  transition: border-color 0.15s; display: block; margin-bottom: 12px;
}
.auth-input:focus { border-color: var(--orange); }
.auth-input::placeholder { color: rgba(47,28,27,0.3); }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.auth-or__line { flex: 1; height: 1px; background: rgba(47,28,27,0.1); }
.auth-or__text { font-family: var(--body); font-size: 11px; color: #2f1c1b; opacity: 0.4; }
.auth-google {
  width: 100%; padding: 12px; border-radius: 10px;
  border: 2px solid rgba(47,28,27,0.12); background: var(--white);
  font-family: var(--body); font-size: 14px; cursor: pointer; color: #2f1c1b;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.15s;
}
.auth-google:hover { background: var(--bg); }
.auth-switch { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.45; text-align: center; margin-top: 20px; }
.auth-switch span { color: var(--orange); cursor: pointer; font-weight: 700; opacity: 1; }

/* ════════════════════════════════════════════════════════
   LANDING
   ════════════════════════════════════════════════════════ */
.landing-featured { background: rgba(47,28,27,0.04); padding: 48px 0; }
.landing-cta-section { background: #2f1c1b; padding: 64px 0; text-align: center; }
.landing-footer { background: #1e110f; padding: 20px 0; text-align: center; font-family: var(--body); font-size: 12px; color: rgba(255,237,170,0.3); }
/* Games on the table section */
.games-table-section { max-width: 1100px; margin: 0 auto; padding: 56px 32px; }
.games-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.game-tile {
  background: #fffdf6;
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  color: #2f1c1b;
  display: block;
}
.game-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); text-decoration: none; color: #2f1c1b; }
.game-tile__emoji { font-size: 32px; margin-bottom: 8px; line-height: 1; }
.game-tile__name  { font-family: var(--body); font-size: 11px; color: #2f1c1b; opacity: 0.7; font-weight: 700; line-height: 1.3; }
.game-tile__cat   { font-family: var(--body); font-size: 9px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--orange); margin-top: 3px; }
@media (max-width: 640px) { .games-table-section { padding: 32px 16px; } .landing-cta-section { padding: 36px 16px; } }

/* ════════════════════════════════════════════════════════
   GAMES LIBRARY PAGE
   ════════════════════════════════════════════════════════ */
.games-page-hero {
  background: #2f1c1b;
  padding: 28px 0 32px;
}
.games-page-hero__title { font-family: var(--heading); font-size: 30px; color: var(--butter); margin: 0 0 14px; }
.games-page-hero .browse-search { max-width: 500px; }
.games-page-hero .browse-search__input { background: rgba(255,255,255,0.1); color: var(--butter); border-color: rgba(255,237,170,0.2); }
.games-page-hero .browse-search__input::placeholder { color: rgba(255,237,170,0.35); }
.games-page-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.games-page-pill {
  padding: 6px 16px; border-radius: 20px; border: 1.5px solid rgba(255,237,170,0.2);
  background: transparent; color: rgba(255,237,170,0.6);
  font-family: var(--body); font-size: 12px; cursor: pointer;
  transition: all 0.15s;
}
.games-page-pill.active { background: var(--mustard); color: #2f1c1b; border-color: var(--mustard); }
.games-page-body { max-width: 1100px; margin: 0 auto; padding: 28px 32px 80px; }
.game-card {
  background: #fffdf6; border-radius: 16px; padding: 20px 18px;
  box-shadow: var(--shadow-card);
  cursor: pointer; transition: all 0.18s;
  text-decoration: none; color: #2f1c1b; display: flex; flex-direction: column; position: relative;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); text-decoration: none; color: #2f1c1b; }
.game-card__emoji { font-size: 36px; margin-bottom: 10px; line-height: 1; }
.game-card__name  { font-family: var(--heading); font-size: 15px; color: #2f1c1b; margin-bottom: 6px; }
.game-card__meta  { font-family: var(--body); font-size: 12px; color: #2f1c1b; opacity: 0.5; margin-bottom: 8px; }
.game-card__tags  { display: flex; gap: 5px; flex-wrap: wrap; }
.game-card__tag   { padding: 3px 10px; border-radius: 20px; background: rgba(47,28,27,0.07); font-family: var(--body); font-size: 11px; color: #2f1c1b; }
.game-card__cat-tag { position: absolute; top: 14px; right: 14px; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--orange); }
.game-card__foot  { margin-top: auto; padding-top: 12px; display: flex; justify-content: flex-end; }
.game-card__learn { font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--orange); text-decoration: none; }
.game-card__learn:hover { text-decoration: underline; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.game-card__sessions { font-size: 11px; color: var(--orange); font-weight: 700; margin-top: 6px; }
@media (max-width: 640px) { .games-page-body { padding: 16px 16px 80px; } .games-page-hero { padding: 24px 16px 28px; } .games-grid { grid-template-columns: repeat(2,1fr); } }

/* ════════════════════════════════════════════════════════
   MESSAGES / CHAT PAGE
   ════════════════════════════════════════════════════════ */
.messages-page { background: var(--bg); min-height: calc(100vh - 62px); }
.messages-list { max-width: 700px; margin: 0 auto; padding: 24px 22px 80px; }
.messages-h1 { font-family: var(--heading); font-size: 28px; color: #2f1c1b; margin: 0 0 20px; }
.msg-thread {
  background: #fffdf6; border-radius: 16px; padding: 16px 18px;
  margin-bottom: 12px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-card); cursor: pointer; transition: all 0.15s;
  text-decoration: none; color: #2f1c1b;
}
.msg-thread:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); text-decoration: none; color: #2f1c1b; }
.msg-thread__av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--butter);
  font-family: var(--heading); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.msg-thread__body { flex: 1; min-width: 0; }
.msg-thread__name { font-family: var(--heading); font-size: 15px; color: #2f1c1b; margin-bottom: 3px; }
.msg-thread__preview { font-family: var(--body); font-size: 13px; color: #2f1c1b; opacity: 0.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-thread__time { font-family: var(--body); font-size: 11px; color: #2f1c1b; opacity: 0.35; flex-shrink: 0; }
.msg-thread__unread {
  background: var(--orange); color: white;
  font-family: var(--body); font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   SHARED BUTTONS
   ════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 10px;
  font-family: var(--body); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: background 0.15s, color 0.15s;
  text-decoration: none; white-space: nowrap; letter-spacing: 0.4px; flex-shrink: 0;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn--primary   { background: var(--orange); color: var(--butter); }
.btn--primary:hover   { background: #b84016; color: var(--butter); }
.btn--mustard   { background: var(--mustard); color: #2f1c1b; }
.btn--mustard:hover { background: #e09c20; }
.btn--secondary { background: transparent; color: #2f1c1b; border: 2px solid var(--text); }
.btn--secondary:hover { background: var(--butter); }
.btn--ghost     { background: transparent; color: #2f1c1b; }
.btn--ghost:hover { background: rgba(47,28,27,0.06); }
.btn--danger    { background: #e74c3c; color: white; }
.btn--danger:hover { background: #c0392b; color: white; }
.btn--sm { padding: 6px 14px; font-size: 12px; }
.btn--lg { padding: 13px 30px; font-size: 15px; }
.btn--full { width: 100%; }

/* ════════════════════════════════════════════════════════
   MISC: alerts, badges, toast, spinner, modals
   ════════════════════════════════════════════════════════ */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; line-height: 1.5; display: flex; align-items: flex-start; gap: 10px; }
.alert--info    { background: var(--info-bg);    color: var(--info); }
.alert--success { background: var(--success-bg); color: var(--success); }
.alert--danger  { background: var(--danger-bg);  color: var(--danger); }
.alert--warning { background: var(--warning-bg); color: var(--warning); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; text-transform: uppercase; }
.badge--open      { background: var(--success-bg); color: var(--success); }
.badge--full      { background: var(--danger-bg);  color: var(--danger); }
.badge--confirmed { background: var(--success-bg); color: var(--success); }
.badge--pending   { background: #fff3e0;           color: var(--warning); }
.badge--cancelled { background: var(--bg);         color: rgba(47,28,27,0.5); border: 1px solid var(--light); }
.badge--completed { background: #2f1c1b;           color: var(--white); }
.spinner { width: 22px; height: 22px; border: 2.5px solid rgba(47,28,27,0.15); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.7s linear infinite; }
.loading-center { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--mid); font-size: 14px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state__icon  { font-size: 52px; margin-bottom: 18px; line-height: 1; }
.empty-state__title { font-family: var(--heading); font-size: 22px; color: #2f1c1b; margin-bottom: 8px; }
.empty-state__body  { font-size: 14px; color: #2f1c1b; opacity: 0.55; max-width: 280px; margin: 0 auto 24px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(16px); background: #2f1c1b; color: var(--butter); padding: 12px 24px; border-radius: 100px; font-family: var(--body); font-size: 13px; font-weight: 700; z-index: 9999; opacity: 0; pointer-events: none; transition: all 0.22s; white-space: nowrap; box-shadow: 0 4px 16px rgba(47,28,27,0.18); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-overlay { position: fixed; inset: 0; background: rgba(47,28,27,0.55); z-index: 500; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 24px 24px 0 0; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; padding: 28px 24px 48px; transform: translateY(20px); transition: transform 0.22s; position: relative; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal__title { font-family: var(--heading); font-size: 22px; color: #2f1c1b; margin-bottom: 6px; }
.modal__sub   { font-size: 13px; color: var(--mid); margin-bottom: 24px; line-height: 1.5; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #2f1c1b; }
@media (min-width: 640px) { .modal-overlay { align-items: center; } .modal { border-radius: 24px; } }

/* ════════════════════════════════════════════════════════
   ADMIN (PRESERVED)
   ════════════════════════════════════════════════════════ */
.admin-wrap  { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; flex-shrink: 0; background: #2f1c1b; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; z-index: 50; }
.admin-sidebar__brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar__brand-name { font-family: var(--heading); font-size: 20px; color: var(--orange); }
.admin-sidebar__brand-sub  { font-size: 10px; color: var(--mustard); letter-spacing: 0.5px; margin-top: 2px; }
.admin-nav { padding: 10px 0; }
.admin-nav__section { padding: 10px 20px 4px; font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.28); text-transform: uppercase; }
.admin-nav__link { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(246,239,233,0.62); font-size: 13px; text-decoration: none; transition: all 0.15s; border-left: 3px solid transparent; }
.admin-nav__link:hover { color: var(--bg); background: rgba(255,255,255,0.06); text-decoration: none; }
.admin-nav__link.active { color: var(--orange); border-left-color: var(--orange); background: rgba(207,77,27,0.1); }
.admin-nav__icon { width: 18px; text-align: center; font-size: 15px; flex-shrink: 0; }
.admin-main { margin-left: 220px; flex: 1; min-height: 100vh; }
.admin-topbar { background: var(--white); border-bottom: 1.5px solid rgba(47,28,27,0.1); padding: 0 28px; height: 56px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40; }
.admin-topbar__title { font-family: var(--heading); font-size: 18px; color: #2f1c1b; }
.admin-topbar__right { display: flex; align-items: center; gap: 10px; }
.admin-content { padding: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border: 1.5px solid rgba(47,28,27,0.1); border-radius: 10px; padding: 18px; }
.stat-card__value { font-family: var(--heading); font-size: 32px; color: #2f1c1b; line-height: 1; }
.stat-card__label { font-size: 12px; color: var(--mid); margin-top: 4px; }
.stat-card--accent { border-color: var(--mustard); background: var(--butter); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--mid); padding: 10px 14px; border-bottom: 1.5px solid rgba(47,28,27,0.1); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--bg); transition: background 0.1s; }
tbody tr:hover { background: rgba(246,239,233,0.5); }
tbody td { padding: 13px 14px; vertical-align: middle; }
tbody tr:last-child { border-bottom: none; }
.card { background: var(--white); border-radius: 10px; border: 1.5px solid rgba(47,28,27,0.1); overflow: hidden; }
.card--hover { transition: box-shadow 0.15s, transform 0.15s; cursor: pointer; }
.card--hover:hover { box-shadow: 0 4px 12px rgba(47,28,27,0.1); transform: translateY(-2px); }
.card__body { padding: 18px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: #2f1c1b; margin-bottom: 7px; }
.form-hint  { font-size: 11px; color: var(--mid); margin-top: 5px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(47,28,27,0.12); border-radius: 10px; background: var(--white); font-family: var(--body); font-size: 14px; color: #2f1c1b; outline: none; transition: border-color 0.15s; -webkit-appearance: none; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; line-height: 1.6; min-height: 96px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236d5135' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tag-input-wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; border: 1.5px solid rgba(47,28,27,0.12); border-radius: 10px; background: var(--white); cursor: text; min-height: 44px; align-items: flex-start; }
.tag-input-wrap:focus-within { border-color: var(--orange); }
.tag-input-wrap input { border: none; outline: none; font-family: var(--body); font-size: 14px; color: #2f1c1b; flex: 1; min-width: 120px; padding: 2px; background: transparent; }
.tag-item { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; background: var(--butter); color: var(--mid); border-radius: 20px; font-size: 12px; border: 1px solid rgba(244,177,55,0.4); }
.tag-item button { background: none; border: none; padding: 0; cursor: pointer; font-size: 14px; line-height: 1; color: var(--mid); opacity: 0.6; }
@media (max-width: 900px) { .admin-sidebar{display:none} .admin-main{margin-left:0} }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .admin-content { padding: 16px; } }

/* ════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════ */
@keyframes jomBounceIn { 0%{opacity:0;transform:translateY(18px) scale(0.93)} 60%{opacity:1;transform:translateY(-4px) scale(1.02)} 100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes jomFadeIn   { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
@keyframes jomHeroIn   { from{opacity:0;transform:translateX(-20px)} to{opacity:1;transform:translateX(0)} }
@keyframes jomFloat    { 0%,100%{transform:translateY(0) rotate(0deg)} 30%{transform:translateY(-11px) rotate(1.2deg)} 70%{transform:translateY(-5px) rotate(-0.7deg)} }
@keyframes jomPulseGlow{ 0%,100%{box-shadow:0 4px 14px rgba(207,77,27,0.22)} 50%{box-shadow:0 4px 26px rgba(207,77,27,0.52),0 0 0 6px rgba(207,77,27,0.10)} }
@keyframes jomStepPop  { 0%{opacity:0;transform:scale(0.55) translateY(12px)} 65%{opacity:1;transform:scale(1.12) translateY(-3px)} 100%{opacity:1;transform:scale(1) translateY(0)} }
@keyframes jomStatIn   { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes jomPopIn    { from{opacity:0;transform:scale(0.6)} to{opacity:1;transform:scale(1)} }
@keyframes jomSlideUp  { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin { to { transform: rotate(360deg); } }
#stripe-element-container { border: 1.5px solid rgba(47,28,27,0.12); border-radius: 10px; padding: 16px; background: var(--white); margin-bottom: 16px; }
.text-muted { color: var(--mid); }
.text-sm    { font-size: 0.85rem; }
.text-xs    { font-size: 0.75rem; }
.mt-md      { margin-top: 16px; }

/* Game Detail Page */
.game-detail-hero { background: var(--espresso); padding: 28px 0; }
.game-detail-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.game-detail-hero__inner { }
.game-detail-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,237,170,0.6); font-family: var(--body); font-size: 13px; text-decoration: none; margin-bottom: 24px; }
.game-detail-back:hover { color: var(--butter); }
.game-detail-header { display: flex; gap: 24px; align-items: flex-start; }
.game-detail-img { width: 90px; height: 90px; background: rgba(255,255,255,0.1); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 48px; flex-shrink: 0; }
.game-detail-info { flex: 1; }
.game-detail-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.game-detail-cat { background: var(--orange); color: #fff; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.game-detail-age { color: rgba(255,237,170,0.65); font-family: var(--body); font-size: 12px; }
.game-detail-bgg { color: rgba(255,237,170,0.65); font-family: var(--body); font-size: 12px; }
.game-detail-name { font-family: var(--heading); font-size: 36px; color: var(--butter); margin: 0 0 14px; line-height: 1.1; }
.game-detail-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.game-detail-stat { display: flex; align-items: center; gap: 6px; color: rgba(255,237,170,0.75); font-family: var(--body); font-size: 13px; }
.game-detail-body { max-width: 1100px; margin: 0 auto; padding: 28px 32px 80px; }
.game-detail-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.game-detail-card { background: var(--white); border: 1.5px solid var(--light); border-radius: var(--radius-lg); padding: 24px; }
.game-detail-card__title { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.glance-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--light); }
.glance-row:last-child { border-bottom: none; }
.glance-label { font-family: var(--body); font-size: 13px; color: var(--mid); }
.glance-value { font-family: var(--body); font-size: 13px; font-weight: 700; color: #2f1c1b; }
.complexity-dots { display: flex; gap: 4px; }
.complexity-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--light); }
.complexity-dot.filled { background: var(--orange); }
.rating-row { margin-bottom: 14px; }
.rating-row:last-child { margin-bottom: 0; }
.rating-header { display: flex; justify-content: space-between; font-family: var(--body); font-size: 12px; color: #2f1c1b; margin-bottom: 5px; }
.rating-bar-wrap { background: var(--light); border-radius: 4px; height: 8px; overflow: hidden; }
.rating-bar-fill { height: 100%; border-radius: 4px; }
.htp-card { background: var(--white); border: 1.5px solid var(--light); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.htp-body { font-family: var(--body); font-size: 14px; color: #2f1c1b; line-height: 1.7; white-space: pre-line; margin-bottom: 16px; }
.htp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.htp-tag { background: rgba(47,28,27,0.07); border-radius: 20px; padding: 4px 12px; font-family: var(--body); font-size: 12px; color: #2f1c1b; }
.sc-card { background: #fffbea; border: 1.5px solid #f0e199; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sc-col-title { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.sc-col-title.strengths { color: #3a7d44; }
.sc-col-title.cons { color: var(--danger); }
.sc-item { font-family: var(--body); font-size: 13px; color: #2f1c1b; padding: 8px 0; border-bottom: 1px solid rgba(47,28,27,0.08); display: flex; gap: 8px; }
.sc-item:last-child { border-bottom: none; }
.verdict-card { background: var(--espresso); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start; }
.verdict-icon { font-size: 28px; flex-shrink: 0; }
.verdict-label { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.verdict-quote { font-family: var(--heading); font-size: 18px; color: var(--butter); line-height: 1.4; }
.also-like-title { font-family: var(--body); font-size: 11px; font-weight: 700; color: var(--mid); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.also-like-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.also-like-card { background: var(--white); border: 1.5px solid var(--light); border-radius: var(--radius-lg); padding: 20px 16px; text-align: center; text-decoration: none; transition: all 0.15s; }
.also-like-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.also-like-emoji { font-size: 36px; margin-bottom: 8px; }
.also-like-name { font-family: var(--heading); font-size: 14px; color: #2f1c1b; margin-bottom: 4px; }
.also-like-cat { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--orange); }
.upcoming-title { font-family: var(--heading); font-size: 22px; color: #2f1c1b; margin-bottom: 16px; }
.upcoming-see-all { font-family: var(--body); font-size: 13px; color: var(--orange); text-decoration: none; font-weight: 700; }
.upcoming-see-all:hover { text-decoration: underline; }
.upcoming-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.session-row { background: var(--white); border: 1.5px solid var(--light); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 16px; text-decoration: none; transition: all 0.15s; }
.session-row:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.session-row__icon { font-size: 32px; flex-shrink: 0; }
.session-row__body { flex: 1; }
.session-row__title { font-family: var(--heading); font-size: 15px; color: #2f1c1b; margin-bottom: 3px; }
.session-row__meta { font-family: var(--body); font-size: 12px; color: var(--mid); }
.session-row__right { text-align: right; flex-shrink: 0; }
.session-row__spots { font-family: var(--body); font-size: 11px; font-weight: 700; color: var(--orange); background: rgba(220,95,30,0.1); padding: 3px 10px; border-radius: 20px; margin-bottom: 4px; white-space: nowrap; }
.session-row__price { font-family: var(--body); font-size: 12px; color: var(--mid); }
@media (max-width: 700px) {
  .game-detail-2col { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: 1fr; }
  .also-like-grid { grid-template-columns: repeat(3, 1fr); }
  .game-detail-body { padding: 16px 16px 80px; }
  .game-detail-hero { padding: 24px 16px; }
  .game-detail-name { font-size: 28px; }
}

/* ── CHAT ──────────────────────────────────────────────── */
.chat-page { display: flex; flex-direction: column; height: calc(100vh - 62px); background: var(--bg); }
.chat-header { background: var(--espresso); padding: 14px 22px; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.chat-header__back { background: none; border: none; color: rgba(255,237,170,0.7); font-size: 20px; cursor: pointer; padding: 2px 8px; line-height: 1; flex-shrink: 0; }
.chat-header__back:hover { color: var(--butter); }
.chat-header__av { width: 38px; height: 38px; border-radius: 50%; background: var(--butter); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.chat-header__name { font-family: var(--heading); font-size: 15px; color: var(--butter); margin-bottom: 2px; }
.chat-header__sub { font-family: var(--body); font-size: 10px; color: rgba(255,237,170,0.4); }
.chat-messages { flex: 1; overflow-y: auto; padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble-wrap { display: flex; align-items: flex-end; gap: 8px; }
.chat-bubble-wrap.own { flex-direction: row-reverse; }
.chat-av { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--butter); font-family: var(--heading); font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-bubble { max-width: 72%; padding: 10px 14px; font-family: var(--body); font-size: 14px; line-height: 1.55; }
.chat-bubble.theirs { background: var(--card); color: var(--text); border-radius: 16px 16px 16px 4px; box-shadow: 2px 3px 8px rgba(47,28,27,0.07); }
.chat-bubble.own { background: var(--espresso); color: var(--butter); border-radius: 16px 16px 4px 16px; }
.chat-bubble__sender { font-size: 10px; opacity: 0.5; margin-bottom: 3px; }
.chat-bubble__time { font-size: 10px; opacity: 0.3; margin-top: 5px; text-align: right; }
.chat-input-bar { background: var(--card); padding: 12px 18px; display: flex; gap: 10px; align-items: center; border-top: 1px solid rgba(47,28,27,0.07); flex-shrink: 0; }
.chat-input { flex: 1; padding: 10px 16px; border-radius: 24px; border: 2px solid rgba(47,28,27,0.1); font-family: var(--body); font-size: 14px; color: var(--text); background: var(--bg); outline: none; }
.chat-input:focus { border-color: var(--orange); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--butter); font-size: 18px; flex-shrink: 0; transition: all 0.15s; }
.chat-send:hover { background: #b8430f; transform: scale(1.05); }
.chat-date-divider { text-align: center; font-family: var(--body); font-size: 10px; color: rgba(47,28,27,0.35); letter-spacing: 0.5px; margin: 4px 0; }
.messages-list-inner { max-width: 680px; margin: 0 auto; padding: 24px 32px 80px; }

/* Standard inner content wrapper — 1100px centred */
.games-page-hero__inner,
.sesh-hero__inner,
.landing-cta-inner,
.landing-footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
