:root {
  --bg:       #f4f6f9;
  --surface:  #ffffff;
  --border:   #dde3eb;
  --text:     #1c2b3a;
  --mid:      #4a6278;
  --muted:    #8096a8;
  --blue:     #1860a0;
  --blue-lt:  #e4eef8;
  --red:      #b03030;
  --red-lt:   #faeaea;
  --green:    #1a7040;
  --green-lt: #e6f4ed;
  --gold:     #886018;
  --gold-lt:  #fdf3de;
  --nav-bg:   #1c2b3a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0;
}
.nav-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1rem 0.85rem 0;
  margin-right: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.9rem 0.7rem;
  white-space: nowrap;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
}
.nav-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(280px, 85vw);
  height: 100%;
  background: var(--nav-bg);
  display: flex;
  flex-direction: column;
  padding: 1rem 0 2rem;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.nav-drawer-close {
  align-self: flex-end;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.nav-drawer-panel a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-panel a:hover,
.nav-drawer-panel a.active {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.nav-drawer.open { display: block; }

@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--nav-bg);
  border-bottom: 3px solid var(--blue);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
}
.page-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em;
  color: #fff;
}
.page-header h1 em { color: #7bbde8; font-style: normal; }
.page-header p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  font-style: italic;
}

/* ── LAYOUT ── */
main { max-width: 900px; margin: 0 auto; padding: 2rem 1.25rem 5rem; }
section { margin-bottom: 3rem; }

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}
.sub-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}
.section2-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nav-bg);
  border-bottom: 2px solid var(--text);
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}


/* ── CALLOUT ── */
.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-lt);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--mid);
  border-radius: 0 5px 5px 0;
  margin: 0.75rem 0;
}
.callout.info   { border-color: var(--blue); background: var(--blue-lt); }
.callout.danger { border-color: var(--red);  background: var(--red-lt); }
.callout strong { font-weight: 600; color: var(--text); }

/* ── SIMPLE TABLE ── */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  font-size: 0.9rem;
}
.simple-table thead th {
  background: var(--bg);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.simple-table tbody tr { border-bottom: 1px solid var(--border); }
.simple-table tbody tr:last-child { border-bottom: none; }
.simple-table tbody td { padding: 0.55rem 1rem; color: var(--mid); vertical-align: middle; }
.simple-table tbody td:first-child { color: var(--text); font-weight: 600; }

.tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.tag-swap  { background: var(--blue-lt);  color: var(--blue); }
.tag-fight { background: var(--red-lt);   color: var(--red); }
.tag-ours  { background: var(--green-lt); color: var(--green); }

/* ── HERO TABLE ── */
.hero-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  font-size: 0.88rem;
}
.hero-table thead th {
  background: var(--bg);
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.hero-table tbody tr { border-bottom: 1px solid var(--border); }
.hero-table tbody tr:last-child { border-bottom: none; }
.hero-table tbody td { padding: 0.55rem 1rem; vertical-align: top; color: var(--mid); }
.hero-table tbody td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; width: 150px; }
.hero-table tbody td:nth-child(2) { color: var(--text); width: 160px; }
.hero-pill {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 1px 6px;
  margin: 1px 2px 1px 0;
  color: var(--text);
}
.hp-atk  { background: var(--red-lt);   border-color: #e0b0b0; color: var(--red); }
.hp-def  { background: var(--blue-lt);  border-color: #b0cce0; color: var(--blue); }
.hp-bear { background: var(--green-lt); border-color: #a0d0b8; color: var(--green); }

/* ── RATIO CARDS ── */
.lab-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.lab-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.lab-day-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 140px;
  flex-shrink: 0;
}
.lab-day-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}
.lab-day-zones {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-left: auto;
  text-align: right;
}
.lab-day-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
@media(max-width:500px) { .lab-day-body { grid-template-columns: 1fr; } }
.ratio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
}
.ratio-label-top {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.ratio-bar-wrap { margin-bottom: 0.35rem; }
.ratio-bar {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.r-i { background: #2471a3; }
.r-l { background: #c0784a; }
.r-m { background: #2e864a; }
.ratio-legend {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 0.35rem;
}
.ratio-legend span { display: flex; align-items: center; gap: 3px; }
.dot-i,.dot-l,.dot-m { width:9px; height:9px; border-radius:2px; display:inline-block; flex-shrink:0; }
.dot-i { background:#2471a3; }
.dot-l { background:#c0784a; }
.dot-m { background:#2e864a; }
.ratio-note { font-size: 0.78rem; color: var(--muted); font-style: italic; }
.lab-tip {
  padding: 0.4rem 1rem 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
}

/* ── SHOP ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.shop-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.shop-block-head {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
}
.shop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
  gap: 0.5rem;
}
.shop-row:last-child { border-bottom: none; }
.shop-row .item { color: var(--mid); flex: 1; }
.badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.b-pri  { background: var(--green-lt); color: var(--green); }
.b-good { background: var(--gold-lt);  color: var(--gold); }
.b-skip { background: var(--red-lt);   color: var(--red); }

/* ── SvS TABLE — frozen first column ── */
.svs-wrap {
  position: relative;
  overflow-x: auto;
  border-radius: 7px;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  /* ensure stacking context for sticky */
  isolation: isolate;
}
.svs-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
  /* no min-width needed — sticky col handles it */
  width: 100%;
  min-width: 580px;
}
.svs-table thead th {
  background: #1c2b3a;
  color: #fff;
  padding: 0.5rem 0.6rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  vertical-align: top;
  position: sticky;
  top: 0;
}
.svs-table thead th:last-child { border-right: none; }

/* Frozen first column */
.svs-table thead th:first-child,
.svs-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}
.svs-table thead th:first-child {
  z-index: 3;
  text-align: left;
  border-right: 2px solid rgba(255,255,255,0.2);
}
.svs-table tbody td:first-child {
  border-right: 2px solid var(--border);
}

.svs-item-col { width: 185px; }
.svs-day-col  { width: auto; min-width: 72px; }
.svs-day-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.svs-day-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-top: 1px;
}
.svs-table tbody tr { border-bottom: 1px solid var(--border); }
.svs-table tbody tr:last-child td { border-bottom: none; }
.svs-table tbody td {
  padding: 0.45rem 0.6rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.3;
}
.svs-table tbody td:last-child { border-right: none; }
.svs-item {
  text-align: left !important;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  background: var(--bg);
}
.svs-best {
  background: var(--green-lt);
  color: var(--green);
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.svs-ok {
  background: var(--gold-lt);
  color: var(--gold);
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
}
.svs-no { color: var(--muted); font-size: 0.9rem; background: var(--surface); }
.svs-pts-item {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 1px;
}

/* ── TIPS LIST ── */
.tips { list-style: none; padding: 0; }
.tips li {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.45;
}
.tips li:last-child { border-bottom: none; }
.tips li::before { content: '—'; color: var(--muted); flex-shrink: 0; margin-top: 1px; }

/* ── HOME PAGE CARDS ── */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.home-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-top: 3px solid var(--blue);
}
.home-card:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(24,96,160,0.1); }
.home-card-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.home-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.home-card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* ── NOTICE BOARD ── */
.notice-board {
  position: relative;
  margin-bottom: 2.5rem;
  padding: 6px;
  background: #9b6234;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  /* wood grain effect */
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent,
      transparent 18px,
      rgba(0,0,0,0.04) 18px,
      rgba(0,0,0,0.04) 19px
    ),
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 60px,
      rgba(0,0,0,0.03) 60px,
      rgba(0,0,0,0.03) 61px
    );
  background-color: #412a18;
}
/* wood border nails */
.notice-board::before,
.notice-board::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 40% 35%, #c8b88a, #7a6540);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  top: 10px;
}
.notice-board::before { left: 14px; }
.notice-board::after  { right: 14px; }

.notice-board-inner {
  background: #946138;
  border-radius: 3px;
  padding: 2rem 1.5rem 1.5rem;
  /* chalkboard texture */
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.015) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.01) 0%, transparent 50%);
}

.notice-board-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.notice-board-icon { font-size: 1.1rem; }
.notice-board-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.notice-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 1.2rem;
}
.notice-item:last-child { border-bottom: none; }
.notice-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  width: 60px;
  flex-shrink: 0;
}
.notice-text { color: rgba(255,255,255,0.7); flex: 1; line-height: 1.5; }

/* ── FOOTER ── */
footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
}

/* ── MOBILE TWEAKS ── */
@media (max-width: 600px) {
  main { padding: 1.5rem 1rem 4rem; }
  .page-header { padding: 1.5rem 1rem; }
  .hero-table tbody td:first-child { white-space: normal; width: auto; }
}


/* ── PAGE SUBNAV ── */
.page-subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.page-subnav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.page-subnav a:hover { color: var(--text); border-bottom-color: var(--blue); }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.9rem 0.7rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1c2b3a;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
  border-radius: 0 0 6px 6px;
  min-width: 200px;
  z-index: 50;
}
.nav-dropdown-menu a {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-drawer-heading {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0.85rem 1.5rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.home-card-links {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.home-card-links a {
  font-size: 0.78rem;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}
.home-card-links a:hover { color: var(--text); }

/* ── WHITEBOARD ── */
.whiteboard {
  position: relative;
  margin-bottom: 2.5rem;
  background: #b8d8ea;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(100,170,210,0.4);
}
.whiteboard-tray {
  position: absolute;
  bottom: 0; left: 6px; right: 6px;
  height: 7px;
  background: #88b8d0;
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.08);
}
.whiteboard::before,
.whiteboard::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 40% 35%, #d0e8f4, #88b8d0);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  top: 8px;
}
.whiteboard::before { left: 12px; }
.whiteboard::after  { right: 12px; }

.whiteboard-inner {
  background: #f7fbfd;
  border-radius: 3px;
  padding: 1.5rem 1.5rem 2rem;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 31px,
    rgba(100,160,220,0.1) 31px,
    rgba(100,160,220,0.1) 32px
  );
  min-height: 160px;
}
.whiteboard-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(100,160,220,0.2);
}
.whiteboard-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a4a6a;
}
.whiteboard-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a9ab8;
  text-decoration: none;
  transition: color 0.15s;
}
.whiteboard-link:hover { color: #1a4a6a; }

.whiteboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.wb-event {
  border-left: 3px solid var(--blue);
  padding-left: 0.75rem;
}
.wb-event-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2c2c2c;
  margin-bottom: 2px;
}
.wb-event-link { text-decoration: none; color: inherit; }
.wb-event-link:hover { color: var(--blue); }
.wb-event-date {
  font-size: 0.8rem;
  color: #555;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.03em;
  margin-bottom: 1px;
}
.wb-event-time { font-size: 0.78rem; color: #888; }
.wb-utc { font-size: 0.72rem; color: #aaa; }

/* ── SVS SCHEDULE ── */
.svs-schedule {
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.svs-slot {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.svs-slot:last-child { border-bottom: none; }
.svs-slot-bar { width: 4px; flex-shrink: 0; }
.svs-slot.orange .svs-slot-bar { background: #d4670a; }
.svs-slot.blue   .svs-slot-bar { background: #2471a3; }
.svs-slot.red    .svs-slot-bar { background: #b03030; }
.svs-slot.green  .svs-slot-bar { background: #24af47; }
.svs-slot-content {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--surface);
}
.svs-slot-time {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.svs-utc { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.svs-slot-label { font-size: 0.88rem; color: var(--mid); }
.svs-slot-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 3px;
}

/* Hero card sections */
.hero-card-group {
  margin-bottom: 1.5rem;
}

.hero-card-group-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent, #4fc3f7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 110px;
}

.hero-card img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--border, #333);
}

.hero-card span {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--text, #eee);
}

.expandable-img {
  max-width: 100%;
  cursor: zoom-in;
  border-radius: 8px;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.lightbox img.zoomed {
  cursor: grab;
  max-width: none;
  max-height: none;
}

.lightbox img.zoomed:active {
  cursor: grabbing;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox img {
  -webkit-user-drag: none;
  user-select: none;
}

.expandable-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}