:root {
  --bg: #06070d;
  --surface: #0e1220;
  --surface-2: #141a2b;
  --surface-3: #1b2338;
  --text: #e9ecf5;
  --muted: #9aa3b8;
  --primary: #ff3d7f;
  --accent: #2ee6c5;
  --ocean: #2c67a4;
  --line: rgb(233 236 245 / 0.12);
  --line-strong: rgb(46 230 197 / 0.35);
  --radius: 14px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --sh-1: 0 10px 30px rgb(0 0 0 / 0.42);
  --sh-2: 0 20px 50px rgb(0 0 0 / 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(900px 420px at 85% -5%, rgb(255 61 127 / 0.12), transparent 65%),
    radial-gradient(900px 420px at 10% 0%, rgb(46 230 197 / 0.10), transparent 65%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 var(--s3);
  letter-spacing: -0.02em;
}
p { margin: 0 0 var(--s4); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent);
}

.shell {
  width: min(1380px, calc(100% - 28px));
  margin-inline: auto;
}

/* ---- Masthead ---- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgb(6 7 13 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  gap: var(--s4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  text-decoration: none !important;
}
.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px var(--primary);
}
.mast-nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.mast-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.mast-nav a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
}

/* ---- Above-the-fold Map Hero ---- */
.map-hero {
  padding: 0 0 var(--s5);
}
.map-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgb(46 230 197 / 0.11);
  border: 1px solid rgb(46 230 197 / 0.32);
}
.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rpill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rpill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-2);
  text-decoration: none;
}
.rpill span { color: var(--muted); font-size: 0.72rem; }

/* ---- Interactive Map Workspace ---- */
.map-app {
  position: relative;
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(100vh - 55px);
  height: calc(100dvh - 55px);
  min-height: 520px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
}
.map-app.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Sidebar */
.map-sidebar {
  width: 348px;
  flex: 0 0 348px;
  display: flex;
  flex-direction: column;
  background: rgb(14 18 32 / 0.97);
  border-right: 1px solid var(--line);
  z-index: 1050;
  transition: margin-left 0.22s ease, transform 0.22s ease;
}
.map-app.is-sidebar-collapsed .map-sidebar {
  margin-left: -348px;
}
.sb-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 10px 14px;
  background: linear-gradient(135deg, rgb(255 61 127 / 0.14), rgb(46 230 197 / 0.08));
  border-bottom: 1px solid var(--line);
}
.sb-title h1 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0 0 6px;
}
.sb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.sb-search-wrap {
  position: relative;
  flex: 1;
}
.sb-search {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 30px 9px 12px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
}
.sb-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgb(46 230 197 / 0.18);
}
.sb-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
}
.sb-close {
  flex: 0 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}
.sb-close:hover { color: var(--text); border-color: var(--accent); }

.sb-results {
  max-height: 260px;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
  background: #0a0e1a;
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(233 236 245 / 0.06);
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
}
.sr-item:hover { background: var(--surface-2); }
.sr-text { min-width: 0; }
.sr-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
}
.sr-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 1px;
}
.sr-empty {
  padding: 12px;
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
}

.sb-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 11px;
}
.sb-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.sb-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.sb-stat { font-size: 0.82rem; color: var(--text); }
.sb-stat strong { color: var(--accent); }
.sb-hint {
  font-size: 0.72rem;
  color: var(--accent);
  background: rgb(46 230 197 / 0.1);
  padding: 1px 6px;
  border-radius: 6px;
}
.progress-track {
  height: 7px;
  background: #090c16;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 9px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.sb-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.77rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 8px;
  cursor: pointer;
  user-select: none;
}
.toggle-chip input { accent-color: var(--accent); margin: 0; }

.sb-select {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 0.83rem;
  font-family: var(--font-body);
}

.sb-mini-btns { display: flex; gap: 8px; }
.mini-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}
.mini-link:hover { text-decoration: underline; }
.mini-link.is-danger { color: #ff6b96; }
.mini-btn {
  background: rgb(255 61 127 / 0.16);
  color: #ff8fb3;
  border: 1px solid rgb(255 61 127 / 0.4);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.mini-btn:hover, .mini-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sb-section { padding: 2px 2px 4px; }
.sb-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 4px 0;
}
.sb-fold > summary::-webkit-details-marker { display: none; }
.sb-fold > summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 600;
  margin-left: 4px;
}
.sb-fold[open] > summary::after { content: "\2212"; }
.sb-fold > summary .sb-hint { margin-left: auto; }
.sb-fold .sb-empty { margin: 4px 0 8px; }

.cat-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #06070d;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.45);
}
.cat-ico svg { width: 62%; height: 62%; display: block; }
.cat-ico.is-sm { width: 20px; height: 20px; }
.cat-ico.is-lg { width: 40px; height: 40px; }

.cat-list { display: flex; flex-direction: column; gap: 10px; }
.cat-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3px;
}
.cat-group-name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
}
.cat-switch {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #2a3350;
  cursor: pointer;
  transition: background 0.15s;
}
.cat-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.cat-switch.is-on { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.cat-switch.is-on span { transform: translateX(13px); }
.cat-row {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  transition: background 0.12s, opacity 0.12s;
}
.cat-row:hover { background: var(--surface-2); }
.cat-row.is-off { opacity: 0.4; }
.cat-row.is-off .cat-name { text-decoration: line-through; }
.cat-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 5px 4px 5px 6px;
  font-size: 0.84rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}
.cat-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count {
  font-size: 0.74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cat-next {
  flex: 0 0 auto;
  width: 30px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
}
.cat-next:hover:not(:disabled) { color: var(--accent); background: var(--surface-3); }
.cat-next:disabled { opacity: 0.25; cursor: default; }

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.area-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--text);
  padding: 4px 6px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}
.area-row span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.area-row:hover, .area-row.is-hot { background: rgb(46 230 197 / 0.14); color: var(--accent); }

.custom-pin-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 120px;
  overflow-y: auto;
}
.sb-empty {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
}
.cpin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: var(--surface);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 0.78rem;
}
.cpin-go {
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  padding: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.78rem;
}
.cpin-del {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.95rem;
}
.cpin-del:hover { color: var(--primary); }
.sb-footer-actions {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

/* ---- Map Viewport & Leaflet Overrides ---- */
.map-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.leaflet-host {
  width: 100%;
  height: 100%;
  background: var(--ocean) !important;
}
.leaflet-container {
  background: var(--ocean) !important;
  font-family: var(--font-body);
}
.leaflet-host.is-marker-hover,
.leaflet-host.is-marker-hover .leaflet-interactive {
  cursor: pointer;
}
.map-app.is-pin-mode .leaflet-container,
.map-app.is-pin-mode .leaflet-container .leaflet-interactive {
  cursor: crosshair !important;
}

/* HUD Controls */
.hud-btn {
  background: rgb(14 18 32 / 0.9);
  backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid rgb(233 236 245 / 0.2);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: border-color 0.15s, background 0.15s;
}
.hud-btn:hover, .hud-btn.is-active {
  border-color: var(--accent);
  color: var(--accent);
}
.hud-panel-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 600;
  display: none;
  align-items: center;
  gap: 6px;
}
.map-app.is-sidebar-collapsed .hud-panel-btn {
  display: inline-flex;
}
.hud-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 600;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hud-coords {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 600;
  background: rgb(6 7 13 / 0.84);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  color: var(--text);
  pointer-events: none;
}
.hud-area {
  position: absolute;
  left: 12px;
  bottom: 44px;
  z-index: 600;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgb(6 7 13 / 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 0.8rem;
  color: var(--muted);
  pointer-events: none;
}
.hud-area strong { color: var(--accent); font-family: var(--font-display); letter-spacing: 0.02em; }
.hud-more {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 600;
  background: rgb(14 18 32 / 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(233 236 245 / 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--sh-1);
}
.hud-more:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.map-app.is-fullscreen .hud-more { display: none; }
.hud-toast {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 700;
  background: rgb(14 18 32 / 0.95);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--sh-1);
}

/* Leaflet controls & dark popups */
.leaflet-control-zoom {
  border: 1px solid rgb(233 236 245 / 0.2) !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: var(--sh-1) !important;
}
.leaflet-control-zoom a {
  background: rgb(14 18 32 / 0.92) !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--line) !important;
}
.leaflet-control-zoom a:hover {
  background: var(--surface-2) !important;
  color: var(--accent) !important;
}
.leaflet-control-attribution {
  background: rgb(6 7 13 / 0.78) !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  border-radius: 6px 0 0 0;
  padding: 2px 8px !important;
}
.leaflet-control-attribution a { color: var(--accent) !important; }

.leaflet-popup-content-wrapper {
  background: #0c101c !important;
  color: var(--text) !important;
  border: 1px solid rgba(233, 236, 245, 0.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(46, 230, 197, 0.12) !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.leaflet-popup-tip {
  background: #0c101c !important;
  border: 1px solid rgba(233, 236, 245, 0.15) !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  min-width: 265px !important;
  max-width: 320px !important;
  line-height: 1.4 !important;
}
.leaflet-container a.leaflet-popup-close-button {
  top: 10px !important;
  right: 10px !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(6, 7, 13, 0.75) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  z-index: 30 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.leaflet-container a.leaflet-popup-close-button:hover {
  background: #ff3d7f !important;
  color: #fff !important;
  transform: scale(1.1) !important;
  border-color: #ff3d7f !important;
}
.g6-pop-photo-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  background: #06070d;
  overflow: hidden;
  cursor: pointer;
}
.g6-pop-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.g6-pop-photo-wrap:hover .g6-pop-thumb-img {
  transform: scale(1.06);
}
.g6-pop-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 16, 28, 0.95) 0%, rgba(12, 16, 28, 0.15) 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}
.g6-pop-photo-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #2ee6c5;
  background: rgba(6, 7, 13, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 197, 0.3);
  pointer-events: none;
}
.g6-pop-body {
  padding: 12px 14px 14px 14px;
}
/* Photo Lightbox Modal */
.g6-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.g6-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.g6-modal-card {
  position: relative;
  background: #0c101c;
  border: 1px solid rgba(233, 236, 245, 0.2);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 40px rgba(46,230,197,0.15);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.g6-modal-backdrop.is-open .g6-modal-card {
  transform: scale(1) translateY(0);
}
.g6-modal-img-container {
  position: relative;
  width: 100%;
  max-height: 480px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.g6-modal-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.g6-modal-info {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #0c101c;
  border-top: 1px solid rgba(233, 236, 245, 0.1);
}
.g6-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.g6-modal-close:hover {
  background: #ff3d7f;
  border-color: #ff3d7f;
  transform: scale(1.08);
}
.g6-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.g6-pop-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgb(46 230 197 / 0.14);
  color: var(--accent);
}
.g6-pop-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.leaflet-tooltip.g6-tip {
  background: rgb(6 7 13 / 0.94);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 5px 9px;
  box-shadow: var(--sh-1);
  font-family: var(--font-body);
  line-height: 1.3;
}
.leaflet-tooltip.g6-tip::before { border-top-color: rgb(6 7 13 / 0.94); }
.g6-tip strong { display: block; font-size: 0.82rem; }
.g6-tip span { display: block; font-size: 0.72rem; color: var(--muted); }
.g6-pop-id {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  color: var(--muted);
}
.g6-pop-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 3px;
  color: #fff;
}
.g6-pop-area {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.g6-pop-meta {
  font-size: 0.76rem;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 9px;
  color: #cfd6e6;
}
.g6-pop-meta div + div { margin-top: 4px; }
.g6-pop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 9px;
}
.g6-tag {
  font-size: 0.69rem;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgb(255 255 255 / 0.08);
  color: var(--muted);
}
.g6-tag.is-enterable {
  background: rgb(52 211 153 / 0.18);
  color: #6ee7b7;
}
.g6-pop-actions {
  display: flex;
  gap: 6px;
}
.g6-pop-btn {
  flex: 1;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.g6-pop-btn:hover { border-color: var(--accent); }
.g6-pop-btn.is-found {
  background: rgb(46 230 197 / 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

/* Region Map Labels & User Pins */
.g6-region-marker {
  background: transparent !important;
  border: 0 !important;
}
.g6-region-label {
  display: inline-block;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgb(6 7 13 / 0.72);
  border: 1px solid rgb(46 230 197 / 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  text-shadow: 0 1px 4px #000;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.45);
  pointer-events: auto;
  cursor: pointer;
}
.g6-region-label:hover {
  border-color: var(--primary);
  color: var(--accent);
}
.g6-user-pin-icon {
  background: transparent !important;
  border: 0 !important;
}
.g6-user-pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  border: 2px solid #fff;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.6);
}

/* Subbar under map */
.map-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s4);
}
.lede {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 78ch;
  margin: 0;
}
.lede strong { color: var(--text); }
.small { font-size: 0.82rem; }
.muted { color: var(--muted); }
.map-status { flex-basis: 100%; margin: 0; }

/* GeFeiSites Actionbar */
.actionbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Coordinate Tick Divider ---- */
.tick-rule {
  height: 14px;
  margin: var(--s5) 0;
  border-top: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    90deg,
    rgb(46 230 197 / 0.35) 0 1px,
    transparent 1px 24px
  );
  background-size: 100% 6px;
  background-repeat: no-repeat;
}
.tick-rule.is-tall { height: 20px; }

/* ---- Content Sections ---- */
.section { padding: var(--s5) 0; scroll-margin-top: 60px; }
.section-head { margin-bottom: var(--s5); }
.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin: 0 0 6px;
}
.section h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }

/* At-a-glance table */
.glance-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.93rem;
}
.glance-table th, .glance-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.glance-table tr:last-child th, .glance-table tr:last-child td { border-bottom: 0; }
.glance-table th {
  width: 170px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.glance-table td { color: #cfd6e6; }

/* Location index (all categories) */
.dir-intro { color: var(--muted); max-width: 86ch; margin: 0; }
.dir-intro strong { color: var(--text); }
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--s4);
}
.dir-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  scroll-margin-top: 70px;
}
.dir-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.dir-head h3 { font-size: 1.04rem; margin: 0 0 1px; }
.dir-count { font-size: 0.8rem; color: var(--muted); margin: 0; }
.dir-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex: 1;
  font-size: 0.86rem;
}
.dir-list.is-expanded { max-height: 340px; overflow-y: auto; }
.dir-list li {
  padding: 5px 0;
  border-bottom: 1px solid rgb(233 236 245 / 0.07);
}
.dir-list li:last-child { border-bottom: 0; }
.dir-list a { font-weight: 600; color: var(--text); }
.dir-list a:hover { color: var(--accent); }
.dir-list span { display: block; font-size: 0.76rem; color: var(--muted); }
.dir-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.dir-actions .mini-btn { text-decoration: none; }
.dir-sub { font-size: 1.2rem; margin: var(--s6) 0 6px; }
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: var(--s4);
}

/* Featured Locations Grid */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s4);
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
}
.loc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.loc-tag {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--accent);
  background: rgb(46 230 197 / 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}
.loc-coord {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}
.loc-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.loc-area { font-size: 0.82rem; color: var(--accent); margin-bottom: 8px; }
.loc-desc { font-size: 0.9rem; color: var(--muted); flex: 1; margin-bottom: 12px; }
.btn-fly {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-fly:hover {
  background: var(--accent);
  color: #051014;
}

/* Regions Rows */
.rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--s4);
}
.row {
  display: flex;
  gap: var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
}
.code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  padding-top: 2px;
}
.region-row-main h3 { font-size: 1.12rem; margin-bottom: 6px; }
.region-row-main h3 a { color: var(--text); }
.region-row-main h3 a:hover { color: var(--accent); }
.region-row-main p { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.region-row-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Split & Spec Box */
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.split h3 { font-size: 1.08rem; margin-top: var(--s4); }
.split p { color: var(--muted); }
.spec-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--s5);
}
.spec-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.spec-list li + li { margin-top: 10px; }
.spec-list strong { color: var(--text); }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s4);
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.steps h3 { font-size: 1.04rem; }
.steps p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}
.faq details div {
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq details p:last-child { margin-bottom: 0; }

/* Comments (GeFeiSites partial) */
.comments {
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
}
.comment-form {
  display: grid;
  gap: var(--s3);
  max-width: 640px;
  margin-bottom: var(--s5);
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.94rem;
}
.btn, .comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  justify-self: start;
}
.comment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

/* Inner Doc / SEO Pages */
.doc-page {
  max-width: 820px;
  padding: var(--s6) 0;
}
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.prose h2 { margin-top: var(--s6); font-size: 1.45rem; }
.prose h3 { margin-top: var(--s5); font-size: 1.15rem; }
.prose p, .prose li { color: #cfd6e6; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: var(--s4); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s4) 0 var(--s5);
  font-size: 0.9rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
}
.prose th { background: var(--surface-2); color: var(--text); }
.back-top { font-weight: 600; }
.doc-meta { margin: 0 0 var(--s5); }
.doc-meta + .prose > p:first-child { font-size: 1.05rem; color: var(--text); }
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.prose td strong { color: var(--text); }
.doc-faq { padding: var(--s5) 0 0; }
.doc-faq h2, .doc-related h2 { font-size: 1.45rem; }
.doc-related {
  margin: var(--s6) 0 var(--s5);
  padding: var(--s4) var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.doc-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 18px;
}

/* Guide cards on the homepage */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s4);
}
.guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  color: var(--text);
  transition: border-color 0.15s;
}
.guide-card:hover { border-color: var(--accent); text-decoration: none; }
.guide-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.guide-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  background: #04050a;
  padding: var(--s6) 0;
  margin-top: var(--s6);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}
.foot-brand { max-width: 480px; }
.foot-note { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-content: flex-start;
}
.foot-links a { font-size: 0.9rem; color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.foot-legal {
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
  font-size: 0.8rem;
  color: var(--muted);
}
.foot-legal p { margin-bottom: 8px; }

/* ---- Mobile Responsive ---- */
@media (max-width: 920px) {
  .map-app {
    height: calc(100vh - 110px);
    height: calc(100dvh - 110px);
    min-height: 440px;
  }
  .map-sidebar {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(340px, 90vw);
    margin-left: 0 !important;
    transform: translateX(-102%);
    box-shadow: var(--sh-2);
  }
  .map-app.is-mobile-panel-open .map-sidebar {
    transform: translateX(0);
  }
  .hud-panel-btn {
    display: inline-flex;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 18px); }
  .mast-nav {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mast-nav.is-open, body.nav-open .mast-nav {
    display: flex;
  }
  .nav-toggle { display: inline-block; }
  .hud-toolbar {
    top: 52px;
    right: 8px;
    left: 8px;
    justify-content: flex-end;
    gap: 4px;
  }
  .hud-btn {
    padding: 6px 9px;
    font-size: 0.75rem;
  }
  .rows { grid-template-columns: 1fr; }
  .hud-more { bottom: 40px; }
  .glance-table th { width: 112px; white-space: normal; padding: 9px 10px; }
  .glance-table td { padding: 9px 10px; }
  .dir-grid { grid-template-columns: 1fr; }
}

/* ---- Vice6Map Extended Styles for Inner Strategy Guides, Vehicles DB & Profit Calculator ---- */
.site-header {
  height: 56px;
  background: rgba(6, 7, 13, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(12px);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text) !important;
  text-decoration: none !important;
}
.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #06070d;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 61, 127, 0.15);
}
.daily-timer-pill {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 20px;
}
.section-header { margin-bottom: 24px; }
.section-title { font-size: 1.7rem; font-weight: 800; margin: 8px 0 6px; color: #fff; }
.section-subtitle { color: var(--muted); font-size: 0.95rem; }
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.seo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.seo-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  text-decoration: none !important;
}
.seo-card a { text-decoration: none; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 61, 127, 0.15);
  color: #ff7aa8;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}
.guide-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.guide-article h1 { font-size: 1.95rem; font-weight: 800; margin: 12px 0 16px; color: #fff; }
.guide-article h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #fff;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}
.guide-article p { color: #cfd6e6; margin-bottom: 16px; }
.steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px;
}
.steps-list li {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.meta-table th, .meta-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.88rem;
}
.meta-table th { color: var(--muted); width: 38%; }
.cta-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: none !important;
}
.cta-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  text-decoration: none !important;
}
.site-footer {
  background: #04050a;
  border-top: 1px solid var(--line);
  padding: 40px 20px;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 920px) {
  .guide-layout { grid-template-columns: 1fr; }
  .daily-timer-pill { display: none; }
}
