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

:root {
  --bg: #08090c;
  --panel: #101217;
  --panel2: #151820;
  --line: rgba(255, 255, 255, 0.08);
  --muted: #7f8796;
  --text: #eef2f8;
  --cyan: #43e4ff;
  --pink: #ff4f9a;
  --orange: #ff9d55;
  --green: #69e3a4;
  --radius: 14px;
  --sidebar: 230px;
  --intel: 286px;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}


/* =========================================================
   APP SHELL
   ========================================================= */

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
  background: #0b0c10;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  z-index: 20;
}

.side-scroll {
  height: calc(100vh - 82px);
  overflow: auto;
  padding: 8px 12px 18px;
}


/* Brand */

.brand {
  height: 82px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(67, 228, 255, 0.6);
  display: grid;
  place-items: center;
  transform: skew(-8deg);
  background: linear-gradient(
    135deg,
    rgba(67, 228, 255, 0.14),
    rgba(255, 79, 154, 0.08)
  );
}

.brand-mark span {
  font-family: "Space Grotesk";
  font-weight: 800;
  color: var(--cyan);
  transform: skew(8deg);
}

.brand strong {
  display: block;
  font-family: "Space Grotesk";
  letter-spacing: 1px;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.8px;
  margin-top: 3px;
}


/* Navigation */

.nav-group {
  margin: 16px 0 22px;
}

.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #565e6d;
  font-weight: 800;
  margin: 0 8px 8px;
}

.nav-item {
  text-decoration: none;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8e96a5;
  border-radius: 9px;
  text-align: left;
  margin: 2px 0;
  font-size: 12px;
  transition: 0.18s;
}

.nav-item:hover {
  background: #151820;
  color: #eaf1fa;
}

.nav-item.active {
  background: linear-gradient(
    90deg,
    rgba(67, 228, 255, 0.13),
    rgba(255, 79, 154, 0.04)
  );
  color: #f6f9fc;
  box-shadow: inset 2px 0 var(--cyan);
}

.nav-icon {
  width: 19px;
  text-align: center;
  color: #657082;
  font-size: 16px;
}

.nav-item.active .nav-icon {
  color: var(--cyan);
}

.nav-item em {
  margin-left: auto;
  font-size: 8px;
  color: var(--pink);
  font-style: normal;
  letter-spacing: 1px;
}

.nav-item.tool {
  height: 34px;
  font-size: 12px;
}


/* Sidebar Status */

.sidebar-status {
  border-top: 1px solid var(--line);
  padding: 14px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8bfca;
}

.sidebar-status b {
  font-size: 8px;
  letter-spacing: 1.2px;
  display: block;
}

.sidebar-status small {
  font-size: 7px;
  color: #596171;
  letter-spacing: 1px;
  display: block;
  margin-top: 2px;
}

.status-dot,
.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  display: inline-block;
}


/* =========================================================
   MAIN AREA
   ========================================================= */

.main-area {
  grid-column: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
  height: 66px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 15;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #697283;
}

.breadcrumb b {
  margin: 0 8px;
  color: #333946;
}

.breadcrumb strong {
  color: #dbe2eb;
  font-size: 12px;
}

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


/* Search */

.search-box {
  height: 36px;
  width: min(310px, 32vw);
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101217;
  padding: 0 9px;
  color: #626b7b;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dfe6ef;
  font-size: 12px;
  margin-left: 7px;
}

.search-box kbd {
  font-size: 8px;
  border: 1px solid #292e39;
  border-radius: 4px;
  padding: 3px 5px;
  color: #626b78;
  white-space: nowrap;
}


/* Top Icons */

.top-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #87909e;
  position: relative;
}

.top-icon:hover {
  color: #fff;
  border-color: rgba(67, 228, 255, 0.35);
}

.top-icon i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
  right: 7px;
  top: 6px;
}

.menu-toggle,
.mobile-brand {
  display: none;
}


/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.content-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--intel);
  min-height: 0;
}

.center-content {
  min-width: 0;
  padding: 20px 22px 24px;
}

.intel-panel {
  border-left: 1px solid var(--line);
  background: #0b0d11;
  padding: 20px 15px;
}


/* =========================================================
   INTELLIGENCE PANEL
   ========================================================= */

.intel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.eyebrow {
  font-size: 8px;
  color: var(--cyan);
  letter-spacing: 1.6px;
  font-weight: 800;
}

.intel-head h3 {
  font-family: "Space Grotesk";
  font-size: 14px;
  margin-top: 4px;
}

.live-pill {
  font-size: 7px;
  letter-spacing: 1px;
  border: 1px solid rgba(105, 227, 164, 0.25);
  color: var(--green);
  padding: 5px 7px;
  border-radius: 20px;
  display: flex;
  gap: 5px;
  align-items: center;
}


/* Intelligence Visual */

.intel-visual {
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(67, 228, 255, 0.12),
      transparent 40%
    ),
    linear-gradient(135deg, #11151b, #0a0c10);
}

.intel-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 20px 20px;
}


/* Scanline */

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(67, 228, 255, 0.5);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  from {
    top: 0;
  }

  to {
    top: 100%;
  }
}


/* Radar */

.radar {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(67, 228, 255, 0.25);
  border-radius: 50%;
}

.radar:before,
.radar:after {
  content: "";
  position: absolute;
  background: rgba(67, 228, 255, 0.2);
}

.radar:before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.radar:after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.radar span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

.radar span:nth-child(1) {
  left: 22%;
  top: 30%;
}

.radar span:nth-child(2) {
  right: 21%;
  top: 62%;
  background: var(--cyan);
}

.radar span:nth-child(3) {
  left: 59%;
  top: 18%;
  background: var(--green);
}


/* Visual Copy */

.visual-copy {
  position: absolute;
  left: 12px;
  bottom: 10px;
}

.visual-copy small {
  display: block;
  color: #5f6978;
  font-size: 7px;
  letter-spacing: 1.2px;
}

.visual-copy strong {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 1px;
}


/* =========================================================
   INTELLIGENCE LIST
   ========================================================= */

.intel-list {
  margin-top: 14px;
}

.intel-card {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 9px;
}

.intel-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #151922;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 13px;
}

.intel-card small {
  display: block;
  color: #596273;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.intel-card b {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-access {
  margin-top: 18px;
}

:is(.quick-access button, .quick-access a) {
  text-decoration: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 5px;
  color: #929aa8;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  text-align: left;
}

:is(.quick-access button, .quick-access a) span {
  color: var(--cyan);
}

:is(.quick-access button, .quick-access a) b {
  margin-left: auto;
  color: #4c5666;
}

:is(.quick-access button, .quick-access a):hover {
  color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  height: 43px;
  border-top: 1px solid var(--line);
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4e5766;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.footer span {
  margin: 0 5px;
  color: #303641;
}

.footer-links {
  display: flex;
  gap: 16px;
}

:is(.footer button, .footer a) {
  text-decoration: none;
  font-size: 12px;
  color: #5e6776;
}

:is(.footer button, .footer a):hover {
  color: #cbd3df;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #161a21;
  border: 1px solid rgba(67, 228, 255, 0.3);
  box-shadow: 0 12px 35px #0008;
  border-radius: 9px;
  padding: 10px 14px;
  color: #dce4ed;
  font-size: 10px;
  z-index: 100;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =========================================================
   MODULE PAGE
   ========================================================= */

.module-page {
  max-width: 1100px;
  margin: auto;
}

.module-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.module-head small {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1.5px;
}

.module-head h1 {
  font-family: "Space Grotesk";
  font-size: 30px;
  margin-top: 5px;
}

.module-head p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}


/* Coming Grid */

.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.coming-card {
  min-height: 130px;
  border: 1px solid var(--line);
  background: #101319;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.coming-card span {
  font-size: 20px;
  color: var(--cyan);
}

.coming-card b {
  font-size: 11px;
}

.coming-card small {
  font-size: 12px;
  color: #697282;
  line-height: 1.5;
}


/* =========================================================
   RESPONSIVE — 1200px
   ========================================================= */

@media (max-width: 1200px) {
  :root {
    --sidebar: 210px;
    --intel: 250px;
  }

  .center-content {
    padding: 16px;
  }

  .intel-panel {
    padding: 16px 12px;
  }

  .search-box {
    width: 250px;
  }
}


/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {
  :root {
    --sidebar: 0px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: 0.25s;
    width: 235px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-area {
    grid-column: 1;
  }

  .menu-toggle,
  .mobile-brand {
    display: block;
  }

  .breadcrumb {
    display: none;
  }

  .mobile-brand {
    font-family: "Space Grotesk";
    font-size: 12px;
    font-weight: 800;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .intel-panel {
    display: none;
  }

  .coming-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    font-size: 7px;
  }
}


/* =========================================================
   RESPONSIVE — 600px
   ========================================================= */

@media (max-width: 600px) {
  .topbar {
    padding: 0 12px;
  }

  .search-box {
    width: 38px;
  }

  .search-box input,
  .search-box kbd {
    display: none;
  }

  .center-content {
    padding: 12px;
  }

  .coming-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    height: auto;
    padding: 12px;
    gap: 8px;
    flex-direction: column;
  }

  .footer-links {
    gap: 12px;
  }
}

/* =========================================================
   MOBILE OVERRIDE — GTA VI HUB
   Does NOT modify desktop layout
   ========================================================= */

@media (max-width: 900px) {

  /* ---------- GLOBAL MOBILE SAFETY ---------- */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .main-area {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  /* ---------- MOBILE TOPBAR ---------- */

  .topbar {
    width: 100%;
    max-width: 100%;
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }

  .mobile-brand {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }

  .top-actions {
    flex-shrink: 0;
    gap: 6px;
  }

  .menu-toggle,
  .top-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  /* ---------- SEARCH ---------- */

  .search-box {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    flex-shrink: 0;
  }

  /* ---------- CONTENT LAYOUT ---------- */

  .content-layout {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .center-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
    overflow: hidden;
  }

  /* ---------- INTELLIGENCE PANEL ---------- */

  .intel-panel {
    display: block;
    width: 100%;
    max-width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 14px;
    margin: 0;
  }

  .intel-visual {
    width: 100%;
    max-width: 100%;
  }

  /* ---------- MODULE PAGES ---------- */

  .module-page,
  #home-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  /* ---------- PREVENT WIDE CHILDREN ---------- */

  .center-content > *,
  .module-page > *,
  #home-page > * {
    max-width: 100%;
  }

  img,
  video,
  iframe,
  canvas {
    max-width: 100%;
    height: auto;
  }

  /* ---------- FOOTER ---------- */

  .footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 600px) {

  /* ---------- TOPBAR ---------- */

  .topbar {
    height: 58px;
    padding: 0 10px;
  }

  .mobile-brand {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .top-actions {
    gap: 5px;
  }

  .top-icon,
  .menu-toggle {
    width: 34px;
    height: 34px;
  }

  /* ---------- MAIN CONTENT ---------- */

  .center-content {
    padding: 12px;
  }

  /* ---------- MOBILE INTEL ---------- */

  .intel-panel {
    padding: 16px 12px;
  }

  .intel-head h3 {
    font-size: 14px;
  }

  .intel-visual {
    height: 150px;
  }

  /* ---------- MODULE HEAD ---------- */

  .module-head {
    display: block;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .module-head h1 {
    font-size: 26px;
  }

  .module-head p {
    font-size: 12px;
    line-height: 1.6;
  }

  /* ---------- FOOTER ---------- */

  .footer {
    min-height: 70px;
    padding: 14px 12px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .topbar {
    padding: 0 8px;
  }

  .mobile-brand {
    font-size: 10px;
  }

  .top-icon,
  .menu-toggle {
    width: 32px;
    height: 32px;
  }

  .center-content {
    padding: 10px;
  }

  .intel-panel {
    padding: 14px 10px;
  }

  .module-head h1 {
    font-size: 23px;
  }
}

/* =========================================================
   GTA6-HUB — FINAL DESKTOP / LAPTOP UI OPTIMIZATION
   Target: 14–15" laptops + desktop
   ========================================================= */


/* =========================================================
   1. SIDEBAR SCROLL
   Keep scrolling functional but hide ugly scrollbar
   ========================================================= */

.side-scroll {
    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;

    overscroll-behavior: contain;
}

.side-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}


/* =========================================================
   2. SIDEBAR BUTTON INTERACTION
   ========================================================= */

.nav-item {
    position: relative;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;

    -webkit-tap-highlight-color: transparent;
}


/* Hover */

.nav-item:hover {
    background:
        linear-gradient(
            90deg,
            rgba(67, 228, 255, 0.08),
            rgba(255, 79, 154, 0.025)
        );

    color: #eef4fb;

    box-shadow:
        inset 1px 0
        rgba(67, 228, 255, 0.35);
}


/* Hover icon */

.nav-item:hover .nav-icon {
    color: var(--cyan);

    transform: translateX(1px);
}


/* Actual mouse click */

.nav-item:active {
    transform: scale(0.975);

    background:
        linear-gradient(
            90deg,
            rgba(67, 228, 255, 0.17),
            rgba(255, 79, 154, 0.06)
        );
}


/* Selected/current page */

.nav-item.active {
    background:
        linear-gradient(
            90deg,
            rgba(67, 228, 255, 0.15),
            rgba(255, 79, 154, 0.045)
        );

    color: #ffffff;

    box-shadow:
        inset 3px 0 var(--cyan),
        inset 0 0 20px
        rgba(67, 228, 255, 0.025);
}


/* Selected page icon */

.nav-item.active .nav-icon {
    color: var(--cyan);

    text-shadow:
        0 0 10px
        rgba(67, 228, 255, 0.3);
}


/* Selected page + hover */

.nav-item.active:hover {
    background:
        linear-gradient(
            90deg,
            rgba(67, 228, 255, 0.19),
            rgba(255, 79, 154, 0.055)
        );
}


/* Keyboard accessibility */

.nav-item:focus-visible {
    outline:
        1px solid
        rgba(67, 228, 255, 0.7);

    outline-offset: -1px;
}


/* =========================================================
   3. 14–15 INCH LAPTOP OPTIMIZATION
   Typical resolutions:
   1366 × 768
   1440 × 900
   1536 × 864
   ========================================================= */

@media
    (min-width: 901px)
    and (max-width: 1500px) {

    :root {
        --sidebar: 210px;
        --intel: 244px;
    }


    /* ---------- SIDEBAR ---------- */

    .brand {
        height: 72px;
        padding: 14px 14px;
        gap: 9px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand strong {
        font-size: 17px;
    }

    .brand small {
        font-size: 10px;
        letter-spacing: 1.3px;
    }


    .side-scroll {
        height:
            calc(100dvh - 72px);

        padding:
            7px 10px 14px;
    }


    .nav-group {
        margin:
            11px 0 15px;
    }


    .nav-label {
        margin:
            0 7px 7px;

        font-size: 10px;

        letter-spacing:
            1.5px;
    }


    .nav-item {
        height: 35px;

        padding:
            0 9px;

        margin:
            2px 0;

        gap: 8px;

        border-radius: 8px;

        font-size: 12px;
    }


    .nav-item.tool {
        height: 33px;

        font-size: 12px;
    }


    .nav-icon {
        width: 18px;

        font-size: 15px;
    }


    .nav-item em {
        font-size: 10px;
    }


    /* ---------- SYSTEM STATUS ---------- */

    .sidebar-status {
        padding:
            11px 7px;

        gap: 8px;
    }

    .sidebar-status b {
        font-size: 10px;
    }

    .sidebar-status small {
        font-size: 10px;
    }


    /* ---------- TOP BAR ---------- */

    .topbar {
        height: 60px;

        padding:
            0 16px;
    }


    .breadcrumb {
        font-size: 11px;
    }


    .breadcrumb strong {
        font-size: 11px;
    }


    .search-box {
        width:
            min(270px, 25vw);

        height: 35px;
    }


    /* ---------- MAIN CONTENT ---------- */

    .center-content {
        padding:
            15px 16px 20px;
    }


    /* ---------- RIGHT INTEL ---------- */

    .intel-panel {
        padding:
            16px 12px;
    }


    .intel-head {
        margin-bottom: 11px;
    }


    .intel-head h3 {
        font-size: 13px;
    }


    .eyebrow {
        font-size: 10px;
    }


    .live-pill {
        font-size: 10px;
    }


    .intel-visual {
        height: 125px;
    }

}


/* =========================================================
   4. SHORT LAPTOP SCREENS
   Especially 1366 × 768
   ========================================================= */

@media
    (min-width: 901px)
    and (max-height: 820px) {

    .brand {
        height: 68px;
        padding:
            11px 14px;
    }


    .brand-mark {
        width: 34px;
        height: 34px;
    }


    .side-scroll {
        height:
            calc(100dvh - 68px);

        padding-top: 5px;
        padding-bottom: 10px;
    }


    .nav-group {
        margin:
            8px 0 11px;
    }


    .nav-label {
        margin-bottom: 5px;
    }


    .nav-item {
        height: 33px;

        margin:
            1px 0;
    }


    .nav-item.tool {
        height: 31px;
    }


    .sidebar-status {
        padding:
            9px 7px;
    }


    .topbar {
        height: 58px;
    }


    .center-content {
        padding:
            13px 15px 18px;
    }


    .intel-panel {
        padding:
            14px 11px;
    }


    .intel-visual {
        height: 115px;
    }

}


/* =========================================================
   5. SLIGHTLY NARROW LAPTOPS
   Keep desktop architecture but free center space
   ========================================================= */

@media
    (min-width: 901px)
    and (max-width: 1280px) {

    :root {
        --sidebar: 200px;
        --intel: 225px;
    }


    .search-box {
        width: 220px;
    }


    .center-content {
        padding:
            14px;
    }

}

/* =========================================================
   GTA6-HUB — MOBILE FILTER / CATEGORY BARS
   Horizontal swipe + hidden scrollbar
   ========================================================= */

@media (max-width: 900px) {

    /* =========================================
       FILTER CONTAINERS
       ========================================= */

    .cheats-filters,

    .lh-filter-row,

    .vehicles-filters,

    .weapons-filters,

    .mission-type-filters,

    .mission-view-filters,

    .secrets-filters,

    .secret-category-filters,

    .news-filters {

        display: flex;

        flex-wrap: nowrap;

        align-items: center;

        gap: 8px;

        width: 100%;

        max-width: 100%;

        overflow-x: auto;

        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior-x: contain;

        scroll-behavior: smooth;

        scrollbar-width: none;

        -ms-overflow-style: none;

        padding-bottom: 2px;
    }


    /* Chrome / Edge / Safari */

    .cheats-filters::-webkit-scrollbar,

    .lh-filter-row::-webkit-scrollbar,

    .vehicles-filters::-webkit-scrollbar,

    .weapons-filters::-webkit-scrollbar,

    .mission-type-filters::-webkit-scrollbar,

    .mission-view-filters::-webkit-scrollbar,

    .secrets-filters::-webkit-scrollbar,

    .secret-category-filters::-webkit-scrollbar,

    .news-filters::-webkit-scrollbar {

        display: none;

        width: 0;

        height: 0;
    }


    /* =========================================
       FILTER BUTTONS
       Prevent shrinking
       ========================================= */

    .cheat-filter,

    .lh-filter,

    .vehicle-filter,

    .weapon-filter,

    .mission-filter,

    .mission-view-btn,

    .secret-filter,

    .news-filter {

        flex:
            0 0 auto;

        white-space: nowrap;

        min-width: max-content;
    }

}
@media (max-width: 900px) {

    .missions-toolbar {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;

        width: 100%;

        min-width: 0;
    }


    .mission-type-filters,

    .mission-view-filters {

        width: 100%;
    }

}

@media (max-width: 900px) {

    .lh-toolbar {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }


    .lh-filter-row {

        width: 100%;
    }


    .lh-toolbar-right {

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        gap: 8px;
    }

}
@media (max-width: 900px) {

    .vehicles-toolbar,
    .weapons-toolbar {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;

        width: 100%;
    }


    .vehicles-count,
    .weapons-count {

        align-self: flex-end;

        white-space: nowrap;
    }

}
@media (max-width: 900px) {

    #app,

    .center-content,

    .cheats-page,

    .vehicles-page,

    .weapons-page,

    .missions-page,

    .secrets-page,

    .lh-page {

        min-width: 0;

        max-width: 100%;

        overflow-x: hidden;
    }

}

/* =========================================================
   AFFILIATE GRID CARDS + RESPONSIVE FOOTER AD SLOT
   ========================================================= */
.affiliate-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: #10141a;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.affiliate-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(67,228,255,.3);
  background: #12171e;
}
.affiliate-card-media {
  position: relative;
  height: 185px;
  flex: 0 0 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(67,228,255,.16), transparent 34%),
    linear-gradient(135deg, #131922, #19131b);
}
.affiliate-card-media::after {
  content: "GTA VI HUB";
  position: absolute;
  right: 10px;
  bottom: 5px;
  color: rgba(255,255,255,.045);
  font: 800 27px "Space Grotesk", sans-serif;
  pointer-events: none;
}
.affiliate-card-mark {
  position: relative;
  z-index: 1;
  padding: 12px;
  color: #e9f7fb;
  font: 700 clamp(16px, 2vw, 24px) "Space Grotesk", sans-serif;
  letter-spacing: 1px;
  text-align: center;
}
.affiliate-card-ad-label {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(8,13,18,.78);
  color: #9aa6b5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
}
.affiliate-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
}
.affiliate-card-category {
  margin-bottom: 8px;
  color: #43e4ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
}
.affiliate-card-content h3 {
  margin: 0 0 7px;
  color: #eef3f8;
  font: 700 16px/1.35 "Space Grotesk", sans-serif;
  overflow-wrap: anywhere;
}
.affiliate-card-content p {
  min-height: 54px;
  margin: 0 0 13px;
  color: #87919f;
  font-size: 11px;
  line-height: 1.6;
}
.affiliate-card-cta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: auto;
  padding: 0 11px;
  border: 1px solid rgba(67,228,255,.28);
  border-radius: 7px;
  background: rgba(67,228,255,.07);
  color: #43e4ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .55px;
  text-decoration: none;
}
.affiliate-card-cta:hover {
  background: rgba(67,228,255,.14);
  color: #fff;
}
.affiliate-placeholder-card {
  border-style: dashed;
  border-color: rgba(255,255,255,.16);
  background: rgba(16,20,26,.72);
}
.affiliate-placeholder-card .affiliate-card-mark {
  color: #778393;
  letter-spacing: 2px;
}
.affiliate-placeholder-note {
  margin-top: auto;
  color: #778393;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}
.footer-ad-wrap {
  width: 100%;
  margin: 22px 0 16px;
}
.footer-ad-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(67,228,255,.045), rgba(255,79,154,.035));
}
.footer-ad-card > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-ad-kicker {
  color: #43e4ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.footer-ad-card strong {
  color: #dce4ed;
  font: 700 14px "Space Grotesk", sans-serif;
}
.footer-ad-card small,
.footer-ad-placeholder {
  color: #778393;
  font-size: 10px;
}
.footer-ad-placeholder {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: .7px;
}
@media (max-width: 600px) {
  .affiliate-card-media { height: 150px; flex-basis: 150px; }
  .affiliate-card-content { padding: 11px; }
  .affiliate-card-content h3 { font-size: 14px; }
  .footer-ad-card { align-items: flex-start; flex-direction: column; padding: 14px; }
  .footer-ad-placeholder { max-width: 100%; }
}

.affiliate-product-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.affiliate-card-mark[hidden] { display: none; }
