:root{
  /* Main */
  --black:#100718;
  --beige:#ebe3d1;

  /* Rainbow bars */
  --blue:#86f1e9;
  --green:#2def87;
  --yellow:#f9ce09;
  --red:#f90a0b;

  --radius: 18px;
  --sidebarW: 300px;

  --ink: rgba(235,227,209,.92);
  --ink2: rgba(235,227,209,.72);

  --stroke: rgba(235,227,209,.14);

  --surface: rgba(16,7,24,.62);
  --surface2: rgba(16,7,24,.52);
  --glass: rgba(16,7,24,.40);
  --glass2: rgba(16,7,24,.34);
  --soft: rgba(235,227,209,.06);
  --soft2: rgba(235,227,209,.10);

  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --shadow2: 0 10px 28px rgba(0,0,0,.35);

  --page-bg:
    radial-gradient(1200px 600px at 20% 15%, rgba(134,241,233,.12), transparent 60%),
    radial-gradient(900px 500px at 70% 25%, rgba(45,239,135,.10), transparent 60%),
    radial-gradient(900px 650px at 70% 80%, rgba(249,206,9,.08), transparent 60%),
    radial-gradient(900px 650px at 20% 80%, rgba(249,10,11,.07), transparent 60%),
    linear-gradient(180deg, #0b0512 0%, #100718 55%, #0b0512 100%);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--page-bg);
  overflow-x:hidden;
}

/* Layout */
.app{
  min-height:100vh;
  display:grid;
  grid-template-columns: var(--sidebarW) 1fr;
}

/* Sidebar (left nav) */
aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  overflow: hidden;

  /* BACKGROUND UPDATE HERE */
  background-color: #100718; /* Fallback color */
  background-image: 
    /* Layer 1: Dark tint (Adjust 0.85 to 0.5 if you want the stripes brighter) */
    linear-gradient(180deg, rgba(16,7,24,0.85) 0%, rgba(11,5,18,0.95) 100%),
    /* Layer 2: Your stripes image */
    url("assets/images/stripes.png");
    
  background-size: cover;       /* Ensures it covers the full height/width */
  background-position: center;  /* Keeps the middle of the stripes visible */
  background-repeat: no-repeat;
  
  /* Rest of the styling stays the same */
  border-right: 1px solid rgba(134,241,233, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 50;
  box-shadow: 5px 0 30px rgba(0,0,0,0.5);
}
/* Brand Section */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 24px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand h1 {
  font-size: 42px;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1;
  background: linear-gradient(90deg, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-subtitle {
  font-family: monospace;
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
}

.mark{
  width:44px;height:44px;border-radius:14px;
  background:
    linear-gradient(180deg, rgba(235,227,209,.10), rgba(235,227,209,.02)),
    linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  border: 1px solid rgba(235,227,209,.22);
  position: relative;
  overflow:hidden;
}
.mark:after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.22), transparent 55%);
  transform: rotate(18deg);
}
.brand p{
    padding-left: 6px;
  margin:4px 0 0;
  font-size: 16px;
  opacity:.85;
}

/* Navigation Container */
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1; /* Pushes footer down */
  overflow: hidden;
}

/* Nav Links (Tactical Buttons) */
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(235,227,209, 0.65);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

/* Hover State - "Scan" effect */
.nav a:hover {
  background: rgba(255,255,255, 0.03);
  color: var(--blue);
  /*padding-left: 20px;*/ /* Slide effect */
}

/* Active State - "Engaged" look */
.nav a.active {
  background: linear-gradient(90deg, rgba(134,241,233, 0.1) 0%, transparent 100%);
  color: #fff;
  border: 1px solid rgba(134,241,233, 0.2);
  border-left: 3px solid var(--blue);
  box-shadow: 0 0 15px rgba(134,241,233, 0.05);
}
/* Icons in Nav */
.nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  fill: currentColor;
}
.nav a.active .nav-icon {
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--blue));
}

/* Special "Wiki" link style */
.nav a[target="_blank"] {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  padding-top: 20px;
  color: var(--yellow);
}
.nav a[target="_blank"]:hover {
  background: transparent;
  color: #fff;
}

/* Support Button Style */
.nav a.support-link {
  color: var(--red);
  font-weight: 600;
}
.nav a.support-link:hover {
  color: #ff4d4d;
  background: rgba(249,10,11, 0.05);
}
.nav a.active .dot{
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(134,241,233,.20);
}
.nav small{
  margin-left:auto;
  font-size:15px;
  opacity:.8;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.barline{
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
  margin: 12px 0 10px;
  opacity:.95;
}
.sidebar-footer-row{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.sidebar-footer-title{ color: rgba(235,227,209,.92); }

.sidebar-theme-btn{
  color: rgba(235,227,209,.92);
  border-color: rgba(235,227,209,.22);
  background: rgba(16,7,24,.28);
}

/* Main content */
main{ padding: 28px 28px 80px; }

.toprow{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}


.top-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface2);
  box-shadow: var(--shadow2);
  font-size: 13px;
  cursor:pointer;
  user-select:none;
  transition: transform .15s ease;
  color: var(--ink);
}
.pill:hover{ transform: translateY(-1px); }

.hero{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--soft2);
  background:
    radial-gradient(800px 360px at 20% 10%, rgba(134,241,233,.22), transparent 55%),
    radial-gradient(800px 420px at 85% 20%, rgba(45,239,135,.18), transparent 55%),
    radial-gradient(900px 520px at 70% 95%, rgba(249,206,9,.14), transparent 55%),
    var(--surface2);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  position: relative;
}
.hero:after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(135deg, rgba(249,10,11,.08), transparent 40%, rgba(134,241,233,.10));
  transform: rotate(10deg);
  pointer-events:none;
}

.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:center;
}

.hero h2{
  margin:0 0 10px;
  font-size: 34px;
  letter-spacing: -.6px;
  line-height:1.05;
  color: var(--ink);
}
.hero p{
  margin:0 0 16px;
  color: var(--ink2);
  font-size: 14.5px;
  line-height:1.5;
  max-width: 62ch;
}

.cta-row{ display:flex; gap:10px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--surface2);
  box-shadow: var(--shadow2);
  cursor:pointer;
  user-select:none;
  font-weight: 650;
  font-size: 13px;
  transition: transform .15s ease, filter .15s ease;
  color: var(--ink);
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.01); }

.btn.primary{
  border-color: var(--stroke);
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.08)),
    linear-gradient(90deg, rgba(134,241,233,.95), rgba(45,239,135,.92), rgba(249,206,9,.90));
  color: var(--black);
}
.btn.danger{
  color: var(--beige);
  border-color: rgba(249,10,11,.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.15)),
    linear-gradient(90deg, rgba(249,10,11,.92), rgba(249,206,9,.78));
}

.hero-card{
  border-radius: var(--radius);
  border: 1px solid var(--soft2);
  background: var(--glass2);
  backdrop-filter: blur(8px);
  padding: 14px;
  box-shadow: var(--shadow2);
  position: relative;
  color: var(--ink);
}
.hero-card .mini{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.hero-card h3{
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing:.2px;
  color: var(--ink2);
  text-transform: uppercase;
}
.stat{
  display:flex;
  align-items: baseline;
  gap:8px;
  margin: 10px 0 6px;
}
.stat b{ font-size: 26px; letter-spacing: -.6px; }
.stat span{ font-size: 12px; opacity:.75; }

.hero-note{
  margin-top:12px;
  color: var(--ink2);
  font-size:12.5px;
  line-height:1.45;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface2);
  color: var(--ink);
}
.badge .rainbow{
  width: 18px;
  height: 6px;
  border-radius: 999px;
  margin-right:8px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
}

/* Sections */
.sections{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 4;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--soft2);
  box-shadow: var(--shadow2);
  padding: 14px;
  position: relative;
  overflow:hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -.2px;
  color: var(--ink);
}
.card p{
  margin:0 0 12px;
  font-size: 13px;
  line-height:1.45;
  color: var(--ink2);
}
.card .meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass2);
  font-size: 12px;
  color: var(--ink2);
}
.tag i{
  width:10px;height:10px;border-radius:999px; display:inline-block;
  background: var(--blue);
}
.tag.green i{ background: var(--green); }
.tag.yellow i{ background: var(--yellow); }
.tag.red i{ background: var(--red); }

.linkbtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--soft);
  color: var(--ink);
  font-weight: 650;
  font-size: 13px;
  cursor:pointer;
  user-select:none;
  text-decoration:none;
  transition: transform .15s ease;
}
.linkbtn:hover{ transform: translateY(-1px); }

/* Mobile topbar */
.mobile-topbar{
  display:none;
  position: sticky;
  top:0;
  z-index: 20;
  padding: 10px 12px;
  background: var(--surface2);
  border-bottom: 1px solid var(--soft2);
  backdrop-filter: blur(10px);
}
.mobile-topbar .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.hamburger{
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--glass2);
  padding: 10px 12px;
  cursor:pointer;
  font-weight: 800;
  color: var(--ink);
}

/* Footer note */
.legal{
  margin-top:18px;
  color: var(--ink2);
  font-size: 12.5px;
}

/* Responsive */
@media (max-width: 980px){
  :root{ --sidebarW: 270px; }
  .hero-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .app{ grid-template-columns: 1fr; }
  aside{
    position: fixed;
    left: 0;
    top: 0;
    width: min(88vw, 340px);
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 30;
  }
  aside.open{ transform: translateX(0); }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Ensure the mobile topbar is easy to reach */
  .mobile-topbar {
    padding: 12px 16px;
    height: 64px;
    display: flex;
    align-items: center;
  }
  main{ padding: 16px 14px 70px; }
  .sections .card{ grid-column: span 12 !important; }
  .toolpanel{ grid-column: span 12; }
  .sidepanel{ grid-column: span 12; }
  /* Increase touch targets for buttons and links */
  .btn, .pill, .linkbtn {
    padding: 14px 18px; /* Larger hit area */
    font-size: 14px;    /* Slightly larger text for readability */
  }

  /* Expand navigation links for easier thumb-tapping */
  .nav a {
    padding: 16px 20px;
    margin-bottom: 4px;
  }

  /* Increase gap between grid items for clarity */
  .sections {
    gap: 16px;
    margin-top: 10px;
  }
  /* Lower blur radius for better scrolling performance on mobile */
  .hero-card, .glass, .hero {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* Disable hover transforms on mobile as they can feel "sticky" */
  .card:hover, .btn:hover, .pill:hover {
    transform: none !important;
  }
}
@media (max-width: 600px) {
  .hero h2 {
    font-size: 26px; /* Scaled down for small screens */
  }
  
  .pagehead h2 {
    font-size: 24px;
  }

  /* Stack split grids (like your hero-grid or split class) */
  .hero-grid, .split, .pagehead-grid {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  /* Ensure cards take full width but don't feel claustrophobic */
  .card {
    padding: 18px;
  }
}

/* -----------------------------
   ArcHub page components (Enhanced)
----------------------------- */

.pagehead {
  margin-bottom: 24px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--soft2);
  /* Dark glass effect with a subtle blue tint from your palette */
  background: linear-gradient(90deg, rgba(134,241,233,0.05) 0%, var(--surface2) 100%);
  box-shadow: var(--shadow2);
  padding: 24px;
  position: relative;
  overflow: hidden;
  /* Thick accent bar on the left using the Green brand color */
  border-left: 4px solid #2def87;
}

/* Tactical Corner Detail */
.pagehead::after {
  position: absolute;
  top: 0;
  right: 0;
  background: #f90a0b; /* Red brand color */
  color: #fff;
  font-family: monospace;
  font-size: 10px;
  padding: 2px 8px;
  font-weight: bold;
  letter-spacing: 1px;
}

.pagehead-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pagehead h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--ink);
  /* Subtle text shadow for a "glow" look */
  text-shadow: 0 0 10px rgba(134,241,233, 0.2);
}

.pagehead p {
  margin: 0;
  color: var(--ink2);
  line-height: 1.6;
  font-size: 14.5px;
  max-width: 65ch;
  /* Monospace font for that 'briefing' feel */
  font-family: 'Inter', system-ui, sans-serif; 
}

/* Secondary status text for the right column */
.pagehead-status {
  font-family: monospace;
  font-size: 12px;
  color: #86f1e9; /* Blue brand color */
  text-align: right;
  opacity: 0.8;
}

.featurelist{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.featurelist li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border-radius: 14px;
  border: 1px solid var(--soft2);
  background: var(--glass2);
  padding: 10px 12px;
  color: var(--ink2);
  line-height: 1.45;
  font-size: 13px;
}
.featurelist b{ color: var(--ink); }

.shell{
  border-radius: var(--radius);
  border: 1px solid var(--soft2);
  background: var(--surface);
  box-shadow: var(--shadow2);
  padding: 12px;
}

.shell h4{
  margin:0 0 10px;
  font-size: 14px;
  letter-spacing:.2px;
}

.shell .sub{
  margin:-6px 0 10px;
  color: var(--ink2);
  font-size: 12.5px;
  line-height:1.45;
}

.placeholder{
  border-radius: 14px;
  border: 1px dashed var(--stroke);
  background: var(--glass2);
  padding: 12px;
  color: var(--ink2);
  font-size: 13px;
  line-height: 1.5;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom: 10px;
}

.input{
  width:100%;
  border:none;
  outline:none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.inputwrap{
  display:flex;
  align-items:center;
  gap:10px;
  background: var(--surface2);
  border: 1px solid var(--stroke);
  padding: 10px 12px;
  border-radius: 16px;
  box-shadow: var(--shadow2);
}

.minirow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content: space-between;
}

.note{
  margin-top:12px;
  color: var(--ink2);
  font-size: 12.5px;
  line-height:1.45;
}
.disclaimer{
  display:block;
  text-decoration:none;
  color: inherit;
  cursor: pointer;
}

.disclaimer:hover{
  text-decoration: underline;
}


@media (max-width: 980px){
  .pagehead-grid{ grid-template-columns: 1fr; }
  .kvgrid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
}
.nav-icon{
  width: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}


/* ============================
   Hover-collapsible sidebar
   Enabled only when <body class="sidebar-hover">
   Desktop only
============================ */
:root{
  --sidebarW-expanded: 300px;
  --sidebarW-collapsed: 78px;
}

/* Desktop only */
@media (min-width: 861px){
  body.sidebar-hover .app{
    transition: grid-template-columns .75s cubic-bezier(.22, 1, .36, 1);
  }

  body.sidebar-hover aside{
    overflow: hidden;
    width: var(--sidebarW);
        transition: width .75s cubic-bezier(.22, 1, .36, 1),
                padding .75s cubic-bezier(.22, 1, .36, 1);
  }
  body.sidebar-hover .app.sidebar-expanded aside {
    overflow-y: auto;
  }
  body.sidebar-hover .nav a,
  body.sidebar-hover .nav-label,
  body.sidebar-hover .brand,
  body.sidebar-hover .sidebar-footer{
    transition: all .60s cubic-bezier(.22, 1, .36, 1);
  }
  /* collapsed by default */
  body.sidebar-hover .app.sidebar-collapsed{
    --sidebarW: var(--sidebarW-collapsed);
  }
  body.sidebar-hover .app.sidebar-expanded{
    --sidebarW: var(--sidebarW-expanded);
  }

  /* Brand collapse */
  body.sidebar-hover .app.sidebar-collapsed .brand{
    padding: 12px 10px 70px;
    display: grid;
    place-items: start center;      /* not dead-center */
    justify-items: start;
  }
  body.sidebar-hover .app.sidebar-collapsed .brand > div{
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  body.sidebar-hover .app.sidebar-collapsed .brand::before{
    content: "AT";
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;

    font-weight: 900;
    letter-spacing: .12em;
    color: rgba(235,227,209,.92);
margin-left: -12px;  
    background: rgba(20,21,26,.45);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 24px rgba(0,0,0,.35), 0 0 0 3px rgba(134,241,233,.12);
  }

  /* Nav layout collapsed */
  body.sidebar-hover .app.sidebar-collapsed .nav a{
    justify-content: center;
    gap: 0;
    padding: 12px 10px;
  }
  body.sidebar-hover .app.sidebar-collapsed .nav a:hover{
    padding-left: 10px; /* disable the slide on hover in collapsed state */
  }

  /* Hide labels (but keep icons visible) */
  body.sidebar-hover .nav-icon{
    flex: 0 0 44px; /* Matches the brand icon width for alignment */
  display: flex;
  justify-content: center;
  margin-right: 0;
  transition: margin 0.75s cubic-bezier(0.22, 1, .36, 1);
  }
  body.sidebar-hover .app .nav a {
  justify-content: flex-start; /* Keep this constant */
  align-items: center;
  gap: 0; /* Control spacing via the icon margin instead */
  padding: 12px 16px;
  transition: padding 0.75s cubic-bezier(0.22, 1, .36, 1);
}

  body.sidebar-hover .nav-label{
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .18s ease, max-width .22s ease, transform .18s ease;
  }

  body.sidebar-hover .app.sidebar-collapsed .nav-label{
    opacity: 0;
    max-width: 0;
    transform: translateX(-8px);
    pointer-events: none;
  }
    body.sidebar-hover .app.sidebar-expanded .nav-label{
    transition-delay: 110ms;
  }
  body.sidebar-hover .app.sidebar-collapsed .nav-label{
    transition-delay: 0ms;
  }

  /* Expanded restores spacing */
  body.sidebar-hover .app.sidebar-expanded .nav a{
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
  }
    /* footer layout */
  .sidebar-footer{
    margin-top: auto;
    padding-top: 14px;
  }

  /* collapsed: hide long text blocks, keep only tiny status */
  body.sidebar-hover .app.sidebar-collapsed .sidebar-footer .disclaimer,
  body.sidebar-hover .app.sidebar-collapsed .sidebar-footer .fineprint,
  body.sidebar-hover .app.sidebar-collapsed .sidebar-footer .footer-text{
    display: none !important;
  }

  /* collapsed: make footer compact + centered */
  body.sidebar-hover .app.sidebar-collapsed .sidebar-footer{
    padding: 10px 8px 12px;
    display: grid;
    justify-items: start;
    gap: 10px;
  }

  /* optional: tiny status pill if you have one */
  body.sidebar-hover .app.sidebar-collapsed .sidebar-footer .status-pill{
    display: inline-flex;
    margin-left: -24px; 
    align-items: center;
    gap: 6px;
    font-size: 11px;

  }
}
/* Add this to optimize all transitions */
* {
  box-sizing: border-box;
  /* Tell the browser to use the GPU for smoother movement */
  -webkit-font-smoothing: antialiased;
}

/* Fix lag on hoverable cards */
.arc-card, .map-card, .recipe-node {
  will-change: transform; /* Prepares GPU for the movement */
  transform: translateZ(0); /* Forces hardware acceleration */
}

/* Optimize the heavy glass effects */
.glass, .glass-card {
  /* Only apply blur if the device is powerful enough */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}