:root{
  --bg:#060b10;
  --panel:#0c141e;
  --panel2:#0a111a;
  --line:#1b2a3a;
  --text:#e8eef6;
  --muted:#8aa0b5;

  --title:#fbcb45;
  --green:#00e676;
  --red:#ff4d4d;
}

*{ box-sizing:border-box; }

html, body {
  margin: 0;
  padding: 0 0px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
}


  /* ==========================================
   NAVIGATION + DROPDOWNS
   ========================================== */

   .site-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(7,7,8,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    overflow: visible;
  }
  
  .site-nav-wrap {
    max-width: 1400px;
    margin: 0 auto;
  
    padding: 12px 32px;
  
    display: flex;
    align-items: center;
  
    overflow: visible;
  }
  
  .site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  
  .site-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,200,60,.35));
  }
  
  .site-nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
  
    margin-left: 120px;
  }
  
  .site-nav-links > a,
  .nav-dropdown > a {
    color: rgba(232,232,234,.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 12px;
    transition: background .15s ease, color .15s ease;
  }
  
  .site-nav-links > a:hover,
  .nav-dropdown > a:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
  }
  
  .nav-dropdown {
    position: relative;
    overflow: visible;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #07111f;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    z-index: 10001;
    box-shadow: 0 18px 40px rgba(0,0,0,.55);
    overflow: visible;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a,
  .site-nav-links .dropdown-menu a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    background: #07111f;
    border-radius: 0;
  }
  
  .dropdown-menu a:hover,
  .site-nav-links .dropdown-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  
  .site-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }
  
  .site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    color: #e8e8ea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
  }
  
  .site-btn:hover {
    background: rgba(255,255,255,.05);
  }
  
  .site-btn-ghost {
    background: transparent;
  }

  @media (max-width: 980px) {
    .site-nav-wrap {
      flex-wrap: wrap;
      justify-content: center;
    }
  
  
    .site-logo-img {
      height: 42px;
    }
  }
  .edge-notice{
    margin: 0;
    padding: 12px 18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  
  

/* =========================
   TOP BAR / HEADER
   ========================= */

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding: 22px 26px 10px;
}

.topbar-left{ flex:1 1 auto; min-width:0; }
.topbar-right{ flex:0 0 auto; padding-top: 6px; }

.support-btn{
  background:#fbcb45;
  color:#0b0f14;
  font-weight:900;
  font-size:13px;
  padding:10px 16px;
  border-radius:12px;
  text-decoration:none;
  border:1px solid rgba(251,203,69,.35);
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}
.support-btn:hover{ filter:brightness(1.05); }
.support-btn:active{ transform: translateY(1px); }

/* page container */
.page{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 22px 26px;
}

.page-wrap {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 24px;
}

.masthead{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom: 10px;
}

.title{
  margin:0;
  font-size:40px;
  line-height: 1.05;
  letter-spacing:.2px;
  color:var(--title);
  font-weight:900;
}

.disclaimer{
  color:var(--muted);
  font-size:13px;
  margin: 0;
}

.meta{
  color: rgba(232,238,246,.92);
  font-size: 16px;
  margin-top: 2px;
}

/* =========================
   ACTIONS ROW 
   ========================= */

   .actions{
    display:flex;
    align-items:center;
    gap:20px;
    padding:16px 20px;

    width:100%;
    max-width:100%;

    overflow:hidden;

    justify-content:flex-start;   /* <-- instead of space-between */
}

.actions-center{
    flex:1;                       /* takes remaining space */
    display:flex;
    justify-content:center;
}

.actions-right{
    display:flex;
    align-items:center;
    gap:14px;

    flex-shrink:0;                /* don't stretch */
}

.actions-spacer{ flex: 1; }

.action-btn{
  padding: 10px 14px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  cursor:pointer;
}
.action-btn:hover{ border-color: rgba(255,255,255,0.26); }
.action-btn.ghost{ color: rgba(255,255,255,0.70); }

.action-btn--primary{
  background:linear-gradient(
    180deg,
    rgba(52,96,180,0.95),
    rgba(34,65,122,0.95)
  );

  border:1px solid rgba(120,170,255,0.45);

  color:#ffffff;

  box-shadow:
    0 0 0 1px rgba(120,170,255,0.18) inset,
    0 6px 16px rgba(0,0,0,0.35);

  font-weight:800;
}

.action-btn--primary:hover{
  background:linear-gradient(
    180deg,
    rgba(70,118,210,0.98),
    rgba(40,82,160,0.98)
  );

  border-color:rgba(150,200,255,0.65);

  transform:translateY(-1px);
}

.action-btn--primary:active{
  transform:translateY(1px);
  box-shadow:
    0 0 0 1px rgba(120,170,255,0.22) inset;
}

/* search/sort controls */
.search{
  width: 200px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}
.search:focus{
  border-color: rgba(251,203,69,0.42);
  box-shadow: 0 0 0 3px rgba(251,203,69,0.12);
}

.toggle{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

.select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
}

/* =========================
   FILTERS DRAWER
   ========================= */

.filters-drawer{
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,20,30,0.55);
  border-radius: 14px;
  margin-bottom: 12px;
}

.filters-row{
  display:flex;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.filters-row label{
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.filters-row input{
  width: 180px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: var(--text);
}

.filters-actions{
  display:flex;
  gap:10px;
}

.btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  cursor:pointer;
}
.btn.ghost{ color: rgba(255,255,255,0.70); }

.filters-hint{
  margin-top: 10px;
  color: rgba(138,160,181,0.90);
  font-size: 12px;
}

/* =========================
   PANELS (THIS is where your edge problem is)
   ========================= */

.panel{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,20,30,0.55);
  border-radius: 16px;
  padding: 14px 14px;                 /* ✅ more inner breathing room */
  margin-bottom: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.panel-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.panel-title{
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 18px;
}

/* ===== Panel header right-side label (clean badge) ===== */
.panel-sub{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(232,238,246,0.80);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* optional tiny dot on badge */
.panel-sub::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(251,203,69,0.85);
  box-shadow: 0 0 0 3px rgba(251,203,69,0.10);
}


/* =========================
   TABLE CARD (real inset + aligned columns)
   ========================= */

.table-wrap{
  /* ✅ this creates the inset look AND keeps columns off the edges */
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6,10,16,0.35);
  overflow: hidden;                    /* ✅ clip header bg to rounded corners */
}

/* if table needs horizontal scroll on small screens */
.table-scroll{
  overflow:auto;
  border-radius: 12px;
}


/* header */
.table thead th{
  text-align: left;
  font-size: 12px;
  letter-spacing: .6px;
  color: rgba(138,160,181,0.95);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(10,17,26,0.90), rgba(10,17,26,0.55));
}

/* body cells */
.table tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(232,238,246,0.92);
}

/* hover */
.table tbody tr:hover{
  background: rgba(255,255,255,0.03);
}

/* truncation */
.table th,
.table td{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* numeric alignment */
.table th.num,
.table td.num{
  text-align: right;
  font-variant-numeric: tabular-nums;
}


.table th:nth-child(1), .table td:nth-child(1){ width: 110px; } /* Ticker */
.table th:nth-child(2), .table td:nth-child(2){ width: 110px; } /* Stage */
.table th:nth-child(3), .table td:nth-child(3){ width: 430px; } /* Options + Trigger */
.table th:nth-child(4), .table td:nth-child(4){ width: 110px; } /* Spot */
.table th:nth-child(5), .table td:nth-child(5){ width: 85px; }  /* DTE */
.table th:nth-child(6), .table td:nth-child(6){ width: 110px; } /* Mid */
.table th:nth-child(7), .table td:nth-child(7){ width: 80px; }  /* Delta */
.table th:nth-child(8), .table td:nth-child(8){ width: 100px; } /* OI */
.table th:nth-child(9), .table td:nth-child(9){ width: 90px; }  /* % OTM */

.empty{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.70);
  margin: 10px 0;
}

/* footer */
.footer{
  margin-top: 16px;
  color: rgba(138,160,181,0.92);
  font-size: 12px;
  text-align:left;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px){
  .topbar{ padding: 18px 14px 10px; }
  .page{ padding: 0 14px 20px; }
  .title{ font-size: 32px; }
  .search{ width: 220px; }
}

/* =========================
   MODAL
   ========================= */

   .modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal-card{
    width: 520px;
    max-width: 92%;
    background: #0f1823;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 40px 80px rgba(0,0,0,.6);
    padding: 22px;
  }
  
  .modal-head{
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
  }
  
  .modal-title{
    font-weight: 900;
    font-size: 18px;
  }
  
  .modal-close{
    background: none;
    border: none;
    color: var(--muted);
    font-size: 18px;
    cursor:pointer;
  }
  
  .modal-body{
    font-size: 14px;
    color: rgba(232,238,246,.9);
    line-height: 1.6;
  }

  /* Wide + scrollable modal variant (use on long content modals) */
.modal-card--wide{
  width: min(920px, 94vw);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  padding: 0;         /* move padding into head/body so body can scroll */
  overflow: hidden;   /* prevents the card itself from growing */
}

.modal-card--wide .modal-head{
  padding: 22px 22px 10px;
  margin-bottom: 0;   /* overrides the base 14px */
  flex: 0 0 auto;
}

.modal-card--wide .modal-body{
  padding: 10px 22px 18px;
  flex: 1 1 auto;
  overflow: auto;     /* key: scroll INSIDE the modal */
  -webkit-overflow-scrolling: touch;
}

/* mobile */
@media (max-width: 520px){
  .modal-card--wide{
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .modal-card--wide .modal-head{ padding: 16px 16px 8px; }
  .modal-card--wide .modal-body{ padding: 8px 16px 14px; }
}

  /* =========================
   DISCLAIMER MODAL SIZING (hard override)
   ========================= */

#disclaimerModal .modal-card{
  width: min(920px, 94vw);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  padding: 0;              /* move padding to sections so scrolling works */
  overflow: hidden;         /* prevents the card from growing */
}

#disclaimerModal .modal-head{
  padding: 22px 22px 10px;
  margin-bottom: 0;         /* override your global margin-bottom:14px */
  flex: 0 0 auto;
}

#disclaimerModal .modal-body{
  padding: 10px 22px 18px;
  flex: 1 1 auto;
  overflow: auto;           /* key: scroll INSIDE */
  -webkit-overflow-scrolling: touch;
}

/* keep the button visible + aligned */
#disclaimerModal .modal-body > div:last-child{
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(15,24,35,0), #0f1823 45%);
}

/* mobile tweaks */
@media (max-width: 520px){
  #disclaimerModal .modal-card{
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  #disclaimerModal .modal-head{ padding: 16px 16px 8px; }
  #disclaimerModal .modal-body{ padding: 8px 16px 14px; }
}

/* Disclaimer is forced-ack: no X, no overlay click affordance */
#disclaimerModal .modal-close { display: none; }
#disclaimerModal { cursor: default; }
#disclaimerModal .modal-card { cursor: default; }

/* FORCE-ACK disclaimer: block ALL interaction behind it */
#disclaimerModal{
  position: fixed;
  inset: 0;
  z-index: 99999;          /* higher than anything else */
  pointer-events: auto;    /* ensure it receives clicks */
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.65);
}

#disclaimerModal::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  pointer-events: auto;    /* overlay catches clicks */
}

/* Keep the card above the overlay pseudo-element */
#disclaimerModal .modal-card{
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

/* Hide the X (forced accept) */
#disclaimerModal .modal-close{
  display: none !important;
}


.actions-spacer { flex: 1; }

#disclaimerModal .modal-footer{
  display:flex;
  justify-content:flex-end;
  align-items:center;

  padding:18px 22px 24px;   /* matches modal-body horizontal padding */
  margin-top:auto;

  background:transparent;
}

/* ===== Pills inside Trigger column ===== */
.pill{
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  flex: 0 0 auto;
}

.pill.calls{
  border-color: rgba(0,230,118,0.35);
  background: rgba(0,230,118,0.10);
  color: rgba(0,230,118,0.95);
}

.pill.puts{
  border-color: rgba(255,77,77,0.35);
  background: rgba(255,77,77,0.10);
  color: rgba(255,77,77,0.95);
}

.pill.strong{
  border-color: rgba(251,203,69,0.35);
  background: rgba(251,203,69,0.12);
  color: rgba(251,203,69,0.95);
}

.pill.lean{
  border-color: rgba(138,160,181,0.30);
  background: rgba(138,160,181,0.10);
  color: rgba(200,215,230,0.92);
}

.pill.neutral{
  opacity: 0.85;
}

.dot{
  color: rgba(138,160,181,0.8);
  margin: 0 4px;
}

/* ===== Hint pills ===== */
.pill.ideal{
  border-color: rgba(0,230,118,0.35);
  background: rgba(0,230,118,0.10);
  color: rgba(0,230,118,0.95);
}
.pill.late{
  border-color: rgba(251,203,69,0.35);
  background: rgba(251,203,69,0.12);
  color: rgba(251,203,69,0.95);
}
.pill.exhausted{
  border-color: rgba(255,77,77,0.35);
  background: rgba(255,77,77,0.10);
  color: rgba(255,77,77,0.95);
}
.pill.live, .pill.near{
  border-color: rgba(138,160,181,0.30);
  background: rgba(138,160,181,0.10);
  color: rgba(200,215,230,0.92);
}

/* ===== Score pills ===== */
.pill.score-hi{
  border-color: rgba(0,230,118,0.35);
  background: rgba(0,230,118,0.08);
  color: rgba(0,230,118,0.95);
}
.pill.score-mid{
  border-color: rgba(251,203,69,0.35);
  background: rgba(251,203,69,0.08);
  color: rgba(251,203,69,0.95);
}
.pill.score-lo{
  border-color: rgba(138,160,181,0.30);
  background: rgba(0,0,0,0.20);
  color: rgba(200,215,230,0.85);
}

/* ===== Size pills ===== */
.pill.size-full{
  border-color: rgba(0,230,118,.45);
  background: rgba(0,230,118,.18);
  color: rgba(0,230,118,.95);
}
.pill.size-80{ border-color: rgba(63,167,255,.35); background: rgba(63,167,255,.10); color: rgba(127,195,255,.95); }
.pill.size-60{ border-color: rgba(251,192,45,.35); background: rgba(251,192,45,.10); color: rgba(255,213,79,.95); }
.pill.size-40{ border-color: rgba(255,152,0,.35);  background: rgba(255,152,0,.10);  color: rgba(255,183,77,.95); }
.pill.size-25{ border-color: rgba(255,112,67,.35); background: rgba(255,112,67,.10); color: rgba(255,138,101,.95); }
.pill.size-none{
  border-color: rgba(150,150,150,.25);
  background: rgba(0,0,0,.20);
  color: rgba(200,200,200,.70);
}

/* ===== Hold pills ===== */
.pill.hold-long{
  border-color: rgba(0,230,118,.35);
  background: rgba(0,230,118,.08);
  color: rgba(0,230,118,.95);
}
.pill.hold-mid{
  border-color: rgba(63,167,255,.35);
  background: rgba(63,167,255,.08);
  color: rgba(127,195,255,.95);
}
.pill.hold-short{
  border-color: rgba(251,192,45,.35);
  background: rgba(251,192,45,.08);
  color: rgba(255,213,79,.95);
}
.pill.hold-dead{
  border-color: rgba(255,112,67,.35);
  background: rgba(255,112,67,.08);
  color: rgba(255,138,101,.95);
}

.trigger-text{
  color: rgba(232,238,246,0.92);
}

/* ===== Trigger pills ===== */
.trigger-cell{
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.trigger-cell .dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  flex: 0 0 auto;
}

.trigger-text{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(232,238,246,0.92);
}

.state{ font-weight: 800; letter-spacing: .2px; }
.state.go, .state.strong-go{ color: rgba(0,230,118,0.95); }
.state.setup{ color: rgba(251,203,69,0.95); }
.state.wait{ color: rgba(138,160,181,0.95); }

.panel.trade-now .panel-sub::before{ background: rgba(0,230,118,0.85); }
.panel.watchlist .panel-sub::before{ background: rgba(138,160,181,0.75); }

.statusbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin: 10px 0 14px;
}
#statusLine .pill{
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  font-weight:700;
}
.pill.subtle{
  opacity:.8;
  font-weight:600;
}
#refreshSeconds{ font-variant-numeric: tabular-nums; }

/* ================= MARKET CLOSED FULLSCREEN OVERLAY ================= */

.market-closed{
  position: fixed;

  top: 90px;          /* push overlay below navbar */
  left: 0;

  width: 100vw;
  height: calc(100vh - 90px);

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.96);

  z-index: 50;        /* below navbar (navbar is 100) */
}

/* overlay text styling */
.market-closed h1 {
  color: #cd9a09;
  margin-bottom: 8px;
  text-align: center;
}

.market-closed p {
  font-size: 14px;
  text-align: center;
}

.closed-topbar{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  background: rgba(0,0,0,0.55);
  border-bottom: none;
}

.closed-brand{
  color: #cd9a09;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.closed-tagline{
  color: rgba(255,255,255,0.75);
  font-size: 16px;
}

/* Tradier metrics block inside Options+Trigger */
.tradier-block{
  display:flex;
  gap:16px;
  margin:6px 0;                 /* gives breathing room */
  padding:6px 10px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
}

.metric{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.05;
  min-width: 56px;
}

.metric-label{
  font-size:10px;
  opacity:0.65;
  letter-spacing:0.7px;
  text-transform:uppercase;
  margin-bottom:3px;
}

.metric-val{
  font-size:12px;
  font-weight:800;
  font-variant-numeric: tabular-nums; /* important */
  font-feature-settings: "tnum";
}

.metric-val.positive{ color:#39d98a; }
.metric-val.negative{ color:#ff6b6b; }
.metric-val.neutral{ color:#9fb3c8; }


/* Never clip the Options + Trigger column */
.table td:nth-child(3),
.table th:nth-child(3){
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Allow pills to wrap and never truncate */
.trigger-cell,
.trigger-stack,
.opt-row{
  min-width: 0;
  overflow: visible;
}

.opt-row{
  flex-wrap: wrap;
}

.tradier-block{
  max-width: 100%;
  flex-wrap: wrap;
}

.metric{
  min-width: 56px;  /* keeps label/value from collapsing */
}

/* ONLY these can wrap to avoid cutoff */
.pill.recent,
.pill.live,
.pill.near{
  white-space: normal;
}


/* =========================
   MINI LEGEND POPOVER
   ========================= */

   .mini-legend-wrap{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .mini-legend-btn{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.85);
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mini-legend-btn:hover{
    border-color: rgba(255,255,255,0.28);
  }
  .mini-legend-btn:active{
    transform: translateY(1px);
  }
  
  .mini-popover{
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 320px;
    max-width: min(92vw, 320px);
    z-index: 2000;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(10,17,26,0.96);
    box-shadow: 0 22px 50px rgba(0,0,0,0.55);
    padding: 12px 12px 10px;
    backdrop-filter: blur(6px);
  }
  
  .mini-popover::before{
    content: "";
    position: absolute;
    right: 16px;
    top: -7px;
    width: 12px;
    height: 12px;
    background: rgba(10,17,26,0.96);
    border-left: 1px solid rgba(255,255,255,0.14);
    border-top: 1px solid rgba(255,255,255,0.14);
    transform: rotate(45deg);
  }
  
  .mini-popover-title{
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .2px;
    margin-bottom: 10px;
    color: rgba(232,238,246,0.92);
  }
  
  .mini-popover-grid{
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 8px 10px;
  }
  
  .mini-popover-grid .k{
    font-size: 11px;
    letter-spacing: .7px;
    color: rgba(138,160,181,0.95);
    font-weight: 900;
  }
  .mini-popover-grid .v{
    font-size: 12px;
    color: rgba(232,238,246,0.88);
    line-height: 1.35;
  }
  
  .mini-popover-note{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 11px;
    color: rgba(138,160,181,0.92);
  }
  
  .hidden{ display:none !important; }

  .pill.hold { white-space: nowrap; }

/* --- small quality tweaks for new controls/table --- */

.actions .select{
  min-width: 130px;
}

/* =========================
   LEAPS TABLE LAYOUT (override)
   Put this at the END of styles.css
   ========================= */

   body.modal-open {
    overflow: hidden;
  }
  
  /* Make each row feel like a compact LEAPS card */
  .table tbody tr td {
    vertical-align: top;
  }
  
  /* Options + Trigger becomes a neat stack */
  .trigger-cell{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  /* Pills in the LEAPS cell: smaller + wrap */
  .trigger-cell .opt-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  
  .trigger-cell .pill{
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1.1;
  }
  
  /* Contract metrics block: consistent + not huge */
  .tradier-block{
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
  }
  
  .tradier-block .metric{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 74px;
  }
  
  .tradier-block .metric-label{
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(160, 182, 204, 0.75);
  }
  
  .tradier-block .metric-val{
    font-size: 13px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
  }
  
  /* Trigger text becomes a subtle footer line */
  .trigger-text{
    margin-top: 2px;
    font-size: 12px;
    color: rgba(155, 175, 195, 0.80);
    max-width: 560px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* =========================
   BRIGHTER THEME OVERRIDES
   Put at END of styles.css
   ========================= */

:root{
  --bg0: #0b1220;
  --bg1: #0d1a2d;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.14);
  --border2: rgba(255,255,255,0.22);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(210,225,240,0.78);

  --go: #2ee59d;      /* teal-green */
  --setup: #ffcc55;   /* warm gold */
  --wait: rgba(220,230,240,0.55);

  --otm: #63b3ff;     /* bright blue */
  --ditm: #b18bff;    /* violet */
}

/* Background brighter + cleaner */
body{
  background:
    radial-gradient(1000px 600px at 15% 10%, rgba(99,179,255,0.18), transparent 55%),
    radial-gradient(900px 520px at 80% 12%, rgba(46,229,157,0.14), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  color: var(--text);
}

/* Panels/cards */
.card, .panel, .section, .box {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Table containers (if you use them) */
.table, table {
  background: var(--panel);
  border: 1px solid var(--border);
}

/* Headers and smaller text */
h1,h2,h3 { color: var(--text); }
.small, .muted, .subtext, .hint { color: var(--muted); }

/* Pills: brighter borders */
.pill{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border2);
  color: var(--text);
}

/* Style pills */
.pill.lean{ /* used for OTM/DITM style */
  border-color: rgba(99,179,255,0.38);
  background: rgba(99,179,255,0.10);
}

/* State colors */
.state.go, .pill.calls{
  background: rgba(46,229,157,0.14);
  border-color: rgba(46,229,157,0.38);
  color: var(--go);
}

.state.setup{
  background: rgba(255,204,85,0.12);
  border-color: rgba(255,204,85,0.35);
  color: var(--setup);
}

.state.wait{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: var(--wait);
}

/* Contract metric block: brighter glass */
.tradier-block{
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* Inputs: brighter */
input, select, button{
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--text);
}

input::placeholder{
  color: rgba(220,235,250,0.55);
}

#statusLine span { user-select:none; }

.active-stage{
  background:#1a73e8;
  color:white !important;
  border-radius:6px;
  padding:2px 6px;
}
/* ===== UX refresh overrides ===== */
.meta-stack{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}

#statusLineSystem,
#statusLineSummary{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.panel-head--stacked{
  align-items:flex-start;
  flex-wrap:wrap;
}

.top-signal{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(251,203,69,.18);
  background:rgba(251,203,69,.08);
  color:rgba(251,203,69,.96);
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
}

.top-signal::before{
  content:"★";
}

.table-wrap{
  overflow:auto;
}

.table thead th,
.table tbody td{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  vertical-align:top;
}

.ticker-cell{
  font-weight:800;
  letter-spacing:.3px;
}

.ticker-cell--go .ticker-symbol{
  color:#fff;
}

.state{
  padding-top:10px !important;
}

.stage-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:68px;
  padding:9px 12px;
  border-radius:12px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.5px;
}

.stage-badge--go{
  background:rgba(0,230,118,.16);
  border:1px solid rgba(0,230,118,.28);
  color:rgba(0,230,118,.98);
}

.stage-badge--ready{
  background:rgba(63,167,255,.14);
  border:1px solid rgba(63,167,255,.25);
  color:rgba(127,195,255,.98);
}

.stage-badge--watch{
  background:rgba(138,160,181,.12);
  border:1px solid rgba(138,160,181,.22);
  color:rgba(220,230,240,.96);
}

.stage-badge--avoid{
  background:rgba(255,77,77,.12);
  border:1px solid rgba(255,77,77,.22);
  color:rgba(255,120,120,.98);
}

.row-stage-go{
  background:linear-gradient(
      90deg,
      rgba(0,230,118,.06),
      transparent 25%
  );
}

.row-stage-go td:first-child{
  box-shadow: inset 4px 0 0 rgba(0,230,118,.9);
}

.contract-cell{
  padding-top:10px !important;
}

.contract-stack{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.contract-topline{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.contract-pill,
.metric-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}

.contract-pill{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.05);
  color:rgba(232,238,246,.96);
}

.contract-pill--otm{
  border-color:rgba(251,203,69,.25);
  background:rgba(251,203,69,.10);
  color:rgba(251,203,69,.98);
}

.contract-pill--ditm{
  border-color:rgba(63,167,255,.28);
  background:rgba(63,167,255,.10);
  color:rgba(127,195,255,.98);
}

.metric-badge--good{
  border:1px solid rgba(0,230,118,.28);
  background:rgba(0,230,118,.12);
  color:rgba(0,230,118,.98);
}

.metric-badge--mid{
  border:1px solid rgba(251,203,69,.24);
  background:rgba(251,203,69,.10);
  color:rgba(251,203,69,.98);
}

.metric-badge--muted{
  border:1px solid rgba(138,160,181,.22);
  background:rgba(138,160,181,.08);
  color:rgba(220,230,240,.84);
}

.contract-subline{
  color:rgba(138,160,181,.98);
  font-size:12px;
  letter-spacing:.2px;
}

.pct-cell{
  font-weight:800;
}

.pct-cell--positive{
  color:rgba(0,230,118,.95) !important;
}

.pct-cell--negative{
  color:rgba(127,195,255,.95) !important;
}

.pill-active{
  border-color:rgba(251,203,69,.55) !important;
  box-shadow:0 0 0 1px rgba(251,203,69,.25) inset;
}

#stageFilter{
  min-width:150px;
}

@media (max-width: 900px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .topbar-right{
    padding-top:0;
  }

  .top-signal{
    width:100%;
  }
}

.meta-row{
  margin-top: 12px;
}

#statusLine{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

#statusLine .pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  white-space: nowrap;
}

.scan-mode-group {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
  height:52px;
  gap: 8px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(7, 17, 34, 0.55);
  backdrop-filter: blur(8px);
}

.scan-mode-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #d7dfef;
  padding:8px 22px;
  border-radius: 10px;
  font-size: 15px;
  height:44px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.scan-mode-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.scan-mode-btn.active {
  background: linear-gradient(180deg, rgba(52,96,180,0.95), rgba(34,65,122,0.95));
  border-color: rgba(120,170,255,0.45);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(120,170,255,0.18) inset;
}

@media (max-width: 1200px) {
  .actions {
    flex-wrap: wrap;
  }

  .scan-mode-group {
    width: 100%;
    justify-content: flex-start;
  }
}

.app-shell{
  position: relative;
}

.modal-footer{
  display:flex;
  justify-content:flex-end;

  padding-top:18px;
  margin-top:auto;

  background:none;   /* clears overlay gradient conflict */
}

/* =========================================================
   LEAP SCANNER SCREENSHOT THEME — FINAL OVERRIDES
   Appended upgrade for styles(54).css
   ========================================================= */

:root{
  --bg:#07111c;
  --bg-deep:#04080f;
  --bg-top:#10233a;
  --bg-teal:#06313a;
  --panel:#111b2a;
  --panel2:#0b1420;
  --panel3:#172234;
  --line:#26364b;
  --line-soft:rgba(148,164,184,.18);
  --text:#eef4ff;
  --muted:#9aadc2;
  --muted2:#c6d1df;
  --title:#ffcc43;
  --gold:#ffcc43;
  --blue:#315da8;
  --blue2:#24457f;
  --green:#35e6a2;
  --red:#ff5e6c;
}

html,
body{
  min-height:100%;
  background:
    radial-gradient(900px 520px at 92% 2%, rgba(0,92,90,.34), transparent 60%),
    radial-gradient(850px 560px at 0% 0%, rgba(37,74,118,.28), transparent 62%),
    linear-gradient(180deg, #0a1626 0%, #08111d 42%, #050911 100%) !important;
  color:var(--text) !important;
}

.app-shell,
.page,
.page-wrap{
  background:transparent !important;
}

.site-nav{
  background:rgba(5,10,17,.88) !important;
  border-bottom:1px solid rgba(130,150,175,.16) !important;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
}

.site-nav-links > a,
.nav-dropdown > a,
.site-btn{
  color:rgba(223,232,244,.86) !important;
}

.dropdown-menu,
.dropdown-menu a,
.site-nav-links .dropdown-menu a{
  background:#07111f !important;
}

.topbar{
  padding-top:18px;
}

.title{
  color:var(--gold) !important;
  font-size:44px;
  letter-spacing:-.6px;
  text-shadow:0 1px 0 rgba(0,0,0,.25);
}

.disclaimer,
.meta,
.contract-subline,
.footer{
  color:var(--muted) !important;
}

.support-btn{
  background:linear-gradient(180deg,#ffd457,#ffc038) !important;
  color:#07101b !important;
  border-color:rgba(255,204,67,.55) !important;
  border-radius:14px !important;
  box-shadow:0 12px 28px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.25) !important;
}

#statusLine .pill,
#statusLineSystem .pill,
#statusLineSummary .pill,
.statusbar .pill,
.meta-row .pill{
  background:rgba(31,43,61,.88) !important;
  border:1px solid rgba(151,169,194,.26) !important;
  color:rgba(231,238,248,.88) !important;
  border-radius:999px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  letter-spacing:.6px;
  text-transform:uppercase;
}

#refreshSeconds,
#statusLine strong,
#statusLineSystem strong,
#statusLineSummary strong{
  color:#fff;
}

.actions,
.filters-drawer{
  background:rgba(8,18,30,.74) !important;
  border:1px solid rgba(132,151,178,.20) !important;
  border-radius:22px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.30);
}

.search,
.select,
.filters-row input,
input,
select{
  background:#07101b !important;
  border:1px solid rgba(144,162,188,.22) !important;
  color:var(--text) !important;
  border-radius:13px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.search::placeholder,
input::placeholder{
  color:rgba(172,187,206,.62) !important;
}

.search:focus,
.select:focus,
.filters-row input:focus,
input:focus,
select:focus{
  border-color:rgba(255,204,67,.45) !important;
  box-shadow:0 0 0 3px rgba(255,204,67,.12) !important;
  outline:none;
}

.action-btn,
.btn,
.site-btn{
  border-radius:0 !important;
  background:rgba(9,16,25,.62) !important;
  border:1px solid rgba(144,162,188,.25) !important;
  color:rgba(237,243,252,.88) !important;
  font-weight:850 !important;
}

.action-btn--primary,
.scan-mode-btn.active,
.active-stage{
  background:linear-gradient(180deg,#3a66b3 0%, #244987 100%) !important;
  border:1px solid rgba(115,162,242,.58) !important;
  color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 8px 22px rgba(0,0,0,.33) !important;
}


.scan-mode-btn{
  color:#d8e2f0 !important;
  border-radius:12px !important;
}

.panel,
.card,
.section,
.box{
  background:linear-gradient(180deg, rgba(26,38,56,.82), rgba(16,26,41,.82)) !important;
  border:1px solid rgba(142,160,188,.22) !important;
  border-radius:18px !important;
  box-shadow:0 18px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.panel-title{
  color:#f4f7fb !important;
  font-size:18px !important;
  letter-spacing:.5px;
}

.panel-sub,
.top-signal{
  background:rgba(255,204,67,.12) !important;
  border:1px solid rgba(255,204,67,.26) !important;
  color:var(--gold) !important;
  border-radius:999px !important;
}

.panel-sub::before,
.top-signal::before{
  color:var(--gold) !important;
}

.table-wrap{
  background:rgba(7,13,22,.52) !important;
  border:1px solid rgba(142,160,188,.18) !important;
  border-radius:16px !important;
  padding:10px 12px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}

.table,
table{
  background:transparent !important;
  border:0 !important;
}

.table thead th{
  background:linear-gradient(180deg, rgba(10,17,27,.96), rgba(8,14,23,.86)) !important;
  color:rgba(151,170,193,.98) !important;
  border-bottom:1px solid rgba(142,160,188,.18) !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.7px !important;
}

.table tbody td{
  background:rgba(28,38,55,.50) !important;
  border-bottom:1px solid rgba(142,160,188,.12) !important;
  color:rgba(238,244,255,.92) !important;
  font-size:14px !important;
}

.table tbody tr:hover td{
  background:rgba(40,54,77,.62) !important;
}

.row-stage-go td,
.table tbody tr.row-stage-go td{
  background:linear-gradient(90deg, rgba(35,91,82,.62), rgba(28,38,55,.50) 42%) !important;
}

.row-stage-go td:first-child{
  box-shadow:inset 4px 0 0 rgba(53,230,162,.88) !important;
}

.ticker-cell,
.ticker-symbol{
  color:#f7fbff !important;
  font-weight:850 !important;
}

.stage-badge{
  border-radius:0 !important;
  min-width:82px;
  padding:9px 14px;
  text-transform:uppercase;
}

.stage-badge--go,
.state.go,
.state.strong-go{
  color:var(--green) !important;
  background:rgba(53,230,162,.13) !important;
  border-color:rgba(53,230,162,.32) !important;
}

.stage-badge--ready{
  color:#dfe7f4 !important;
  background:rgba(172,187,206,.12) !important;
  border-color:rgba(172,187,206,.24) !important;
}

.stage-badge--watch,
.state.wait{
  color:#d1d9e5 !important;
  background:rgba(142,160,188,.12) !important;
  border-color:rgba(142,160,188,.24) !important;
}

.stage-badge--avoid{
  color:#ff8b96 !important;
  background:rgba(255,94,108,.12) !important;
  border-color:rgba(255,94,108,.28) !important;
}

.contract-pill,
.metric-badge,
.pill{
  border-radius:999px !important;
  background:rgba(30,42,60,.72) !important;
  border:1px solid rgba(144,162,188,.24) !important;
  color:rgba(232,240,250,.90) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.contract-pill--otm,
.pill.strong,
.pill.late,
.pill.score-mid,
.pill.size-60,
.metric-badge--mid{
  background:rgba(255,204,67,.11) !important;
  border-color:rgba(255,204,67,.30) !important;
  color:var(--gold) !important;
}

.contract-pill--ditm,
.pill.lean,
.pill.size-80{
  background:rgba(78,137,225,.12) !important;
  border-color:rgba(105,164,255,.30) !important;
  color:#8ec0ff !important;
}

.pill.calls,
.pill.ideal,
.pill.score-hi,
.pill.size-full,
.pill.hold-long,
.metric-badge--good{
  background:rgba(53,230,162,.11) !important;
  border-color:rgba(53,230,162,.32) !important;
  color:var(--green) !important;
}

.pill.puts,
.pill.exhausted,
.pill.hold-dead{
  background:rgba(255,94,108,.11) !important;
  border-color:rgba(255,94,108,.30) !important;
  color:#ff8b96 !important;
}

.tradier-block{
  background:rgba(8,15,25,.58) !important;
  border:1px solid rgba(144,162,188,.20) !important;
  border-radius:14px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.metric-label{
  color:rgba(151,170,193,.80) !important;
}

.metric-val,
.num{
  color:rgba(238,244,255,.94) !important;
}

.metric-val.positive,
.pct-cell--positive{
  color:var(--green) !important;
}

.metric-val.negative,
.pct-cell--negative{
  color:#8ec0ff !important;
}

.mini-popover,
.modal-card,
#disclaimerModal .modal-card{
  background:#0f1826 !important;
  border:1px solid rgba(144,162,188,.22) !important;
  color:var(--text) !important;
  box-shadow:0 30px 80px rgba(0,0,0,.58) !important;
}

.modal,
#disclaimerModal,
#disclaimerModal::before{
  background:rgba(0,0,0,.72) !important;
}

.edge-notice{
  background:rgba(255,204,67,.09) !important;
  border-color:rgba(255,204,67,.24) !important;
  color:#ffd77a !important;
}

.empty{
  background:rgba(7,13,22,.48) !important;
  border-color:rgba(144,162,188,.24) !important;
  color:rgba(210,222,238,.78) !important;
}

@media (max-width:768px){
  .title{ font-size:34px; }
  .actions-left,
  .actions-right{ width:100%; flex-wrap:wrap; }
  .actions{ gap:12px; align-items:stretch; }
  .stage-badge{ border-radius:12px !important; }
  .table tbody tr{ background:rgba(28,38,55,.50) !important; border-radius:14px; margin-bottom:10px; }
}


/* =========================================================
   BBX DARK GOLD SCANNER THEME — FINAL SCREENSHOT MATCH
   Matches the uploaded Impulse/Scanner dark navy + gold layout.
   Safe to append at the END of styles.css.
   ========================================================= */

:root{
  --bbx-bg:#050a12;
  --bbx-bg2:#07111c;
  --bbx-card:#08121d;
  --bbx-card2:#0b1623;
  --bbx-card3:#101b2a;
  --bbx-border:rgba(103,126,153,.28);
  --bbx-border-soft:rgba(103,126,153,.16);
  --bbx-text:#eef4ff;
  --bbx-muted:#98aabe;
  --bbx-gold:#ffcc43;
  --bbx-blue:#3a73c8;
  --bbx-green:#20e28b;
  --bbx-red:#ff5d66;
}

html,
body{
  background:
    radial-gradient(900px 520px at 5% 0%, rgba(40,79,126,.18), transparent 62%),
    radial-gradient(900px 520px at 90% 0%, rgba(0,80,87,.15), transparent 64%),
    linear-gradient(180deg,#07111c 0%,#050a12 48%,#03070d 100%) !important;
  color:var(--bbx-text) !important;
}

/* top nav */
.site-nav{
  height:100px;
  display:flex;
  align-items:center;
  background:rgba(3,5,9,.94) !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.48) !important;
}

.site-nav-wrap{
  width:100%;
  max-width:1440px;
  padding:10px 44px !important;
}


.site-nav-links{
  gap:48px !important;
  margin-left:120px !important;
}

.site-nav-links > a,
.nav-dropdown > a{
  color:rgba(232,238,246,.80) !important;
  font-size:14px !important;
  font-weight:800 !important;
  letter-spacing:.2px;
}

/* header */
.topbar{
  padding:24px 22px 8px !important;
}

.title{
  color:var(--bbx-gold) !important;
  font-size:40px !important;
  line-height:.95 !important;
  font-weight:950 !important;
  letter-spacing:-1px !important;
  text-shadow:0 2px 0 rgba(0,0,0,.22) !important;
}

.disclaimer{
  margin-top:2px !important;
  color:var(--bbx-muted) !important;
  font-size:14px !important;
}

.meta-stack{
  gap:8px !important;
  margin-top:8px !important;
}

#statusLineSystem,
#statusLineSummary{
  gap:8px !important;
}

#statusLineSystem .pill,
#statusLineSummary .pill,
.meta .pill{
  padding:7px 12px !important;
  border-radius:999px !important;
  background:rgba(29,41,58,.88) !important;
  border:1px solid rgba(139,158,184,.30) !important;
  color:rgba(234,241,250,.88) !important;
  font-size:12px !important;
  font-weight:900 !important;
  letter-spacing:.8px !important;
  text-transform:uppercase !important;
}

.support-btn{
  padding:13px 21px !important;
  border-radius:14px !important;
  background:linear-gradient(180deg,#ffd75a,#ffc338) !important;
  color:#050a12 !important;
  font-size:13px !important;
  font-weight:950 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

/* page width + control bar */
.page-wrap{
  max-width:none !important;
  padding:0 46px 28px !important;
}

.actions-left,
.actions-right{
  gap:12px !important;
}

.search,
.select{
  height:40px !important;
  border-radius:13px !important;
  background:#050b14 !important;
  border:1px solid rgba(126,148,176,.24) !important;
  color:rgba(239,245,255,.92) !important;
  font-size:13px !important;
}

.search{
  width:275px !important;
}

.select{
  min-width:190px !important;
}

.action-btn{
  height:40px !important;
  padding:0 16px !important;
  border-radius:0 !important;
  background:rgba(7,13,22,.76) !important;
  border:1px solid rgba(125,146,174,.25) !important;
  color:rgba(235,242,252,.86) !important;
  font-size:13px !important;
  font-weight:900 !important;
}

.action-btn--primary{
  background:linear-gradient(180deg,#3a66b4,#244985) !important;
  border-color:rgba(116,163,245,.55) !important;
  color:#fff !important;
}

.scan-mode-group{
  padding:4px !important;
  border-radius:16px !important;
  background:rgba(6,12,22,.82) !important;
  border:1px solid rgba(126,148,176,.20) !important;
}

.scan-mode-btn{
  height:38px !important;
  min-width:82px;
  border-radius:12px !important;
  color:#dbe5f3 !important;
  font-size:14px !important;
  font-weight:900 !important;
}

.scan-mode-btn.active{
  background:linear-gradient(180deg,#3d71c4,#2a559d) !important;
  border:1px solid rgba(122,173,255,.60) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20), 0 6px 20px rgba(0,0,0,.36) !important;
}

/* panels */
.panel{
  border-radius:18px !important;
  padding:14px !important;
  background:linear-gradient(180deg,rgba(17,29,45,.88),rgba(10,19,31,.88)) !important;
  border:1px solid rgba(126,148,176,.24) !important;
  box-shadow:0 20px 48px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.panel-head{
  margin-bottom:14px !important;
}

.panel-title{
  color:#f5f7fb !important;
  font-size:20px !important;
  font-weight:950 !important;
  letter-spacing:.5px !important;
}

.panel-sub{
  margin-top:6px !important;
  padding:7px 13px !important;
  color:rgba(232,238,246,.78) !important;
  background:rgba(4,9,17,.34) !important;
  border:1px solid rgba(126,148,176,.20) !important;
}

.top-signal{
  padding:9px 13px !important;
  border-radius:999px !important;
  background:rgba(255,204,67,.12) !important;
  border:1px solid rgba(255,204,67,.28) !important;
  color:var(--bbx-gold) !important;
}

/* table */
.table-wrap{
  padding:10px 12px !important;
  border-radius:16px !important;
  background:rgba(5,10,18,.62) !important;
  border:1px solid rgba(126,148,176,.20) !important;
}

.table-scroll{
  border-radius:14px !important;
}

.table{
  min-width:1320px !important;
  table-layout:fixed !important;
  border:0 !important;
  background:transparent !important;
}

.table thead th{
  height:44px !important;
  padding:12px 14px !important;
  background:linear-gradient(180deg,rgba(8,15,25,.98),rgba(7,13,21,.90)) !important;
  border-bottom:1px solid rgba(126,148,176,.18) !important;
  color:rgba(154,174,199,.98) !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.7px !important;
}

.table tbody td{
  padding:14px 14px !important;
  background:rgba(28,38,55,.48) !important;
  border-bottom:1px solid rgba(126,148,176,.12) !important;
  color:rgba(239,245,255,.92) !important;
  font-size:14px !important;
  vertical-align:top !important;
}

.table tbody tr:hover td{
  background:rgba(37,51,73,.64) !important;
}

.table th.num,
.table td.num{
  text-align:right !important;
  font-variant-numeric:tabular-nums !important;
}
/* Contract column */
.table th:nth-child(4), .table td:nth-child(4){
  width:390px !important;   
  min-width:390px !important;
  max-width:390px !important;
}

.score-cell{
  color:var(--bbx-gold) !important;
  font-weight:950 !important;
}

.ticker-cell,
.table tbody td:nth-child(2){
  font-weight:850 !important;
  color:#f8fbff !important;
}

.state{
  font-weight:950 !important;
  text-transform:uppercase !important;
}

.state.go{ color:var(--bbx-green) !important; }
.state.ready{ color:#f0f4fa !important; }
.state.watch{ color:#c9d4e2 !important; }
.state.avoid{ color:#ff8f98 !important; }

.row-go td,
.table tbody tr.row-go td{
  background:linear-gradient(
    90deg,
    rgba(34,197,94,.08),
    transparent
);
}

.row-go td:first-child{
  box-shadow:inset 4px 0 0 rgba(32,226,139,.95) !important;
}

/* contract / score breakdown */
.trigger-cell{
  white-space:normal !important;
  overflow:visible !important;
}

.trigger-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:8px !important;
  min-width:0 !important;
}

.trigger-line{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  align-items:center !important;
  color:rgba(232,238,246,.90) !important;
}

.trigger-line--top{
  font-weight:850 !important;
  text-transform:lowercase;
}

/* ---------- CONTRACT ---------- */

.contract-card{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.contract-title{
  font-size:17px;
  font-weight:900;
  color:#f6f7fb;
  letter-spacing:.3px;
  line-height:1;
}

.contract-scores{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
}

.metric-chip{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:74px !important;

  padding:6px 12px;
  min-width:74px;

  font-size:13px;
  font-weight:900;

  border-radius:999px;
  white-space:nowrap;
}

.contract-strike{
  font-size:13px;
  font-weight:700;
  color:#8d9aae;
}



.trigger-line--bottom{
  color:rgba(154,174,199,.90) !important;
  font-size:12px !important;
}

/* positive / negative OTM */
.otm-cell.positive,
.pct-cell--positive{
  color:var(--bbx-green) !important;
  font-weight:900 !important;
}

.otm-cell.negative,
.pct-cell--negative{
  color:#8fc4ff !important;
  font-weight:900 !important;
}

/* modal polish */
.modal-card,
#disclaimerModal .modal-card{
  background:#0d1724 !important;
  border:1px solid rgba(126,148,176,.25) !important;
  box-shadow:0 32px 90px rgba(0,0,0,.62) !important;
}

.modal-title{
  color:#f4f7fb !important;
  font-weight:950 !important;
}

.modal-body{
  color:rgba(231,239,250,.88) !important;
}

.modal-body strong{
  color:#fff !important;
}

/* responsive */
@media (max-width:1200px){
  .site-nav-links{ margin-left:50px !important; gap:28px !important; }
  .actions{ flex-wrap:wrap !important; gap:12px !important; }
  .actions-left,.actions-right{ flex-wrap:wrap !important; }
  .actions-center{ width:100%; }
  .scan-mode-group{ width:100%; justify-content:flex-start !important; }
}

@media (max-width:768px){
  .page-wrap{ padding:0 16px 24px !important; }
  .site-nav{ height:auto !important; }
  .site-nav-wrap{ padding:10px 16px !important; }
  .site-nav-links{ display:none !important; }
  .title{ font-size:34px !important; }
  .topbar{ flex-direction:column !important; }
  .search,.select{ width:100% !important; min-width:0 !important; }
  .actions-left,.actions-right{ width:100% !important; }
  .action-btn{ flex:1 1 auto; }
}

.table tbody td{
  padding-top:8px !important;
  padding-bottom:8px !important;
}

.score-badge{
  display:inline-flex;
  align-items:baseline;
  gap:2px;
  font-size:22px;
  font-weight:950;
  color:#ffcc43;
  font-size:17px;
}

.score-badge small{
  font-size:11px;
}

.stage-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  padding:7px 10px;
  border-radius:999px !important;
  font-size:12px;
  font-weight:950;
  letter-spacing:.5px;
}

.trigger-stack{
  gap:5px !important;
}

.trigger-line{
  gap:5px !important;
}

.trigger-line--top{
  font-size:14px;
  font-weight:950 !important;
  text-transform:uppercase !important;
}


.metric-chip--business{
  color:#35e6a2 !important;
  border-color:rgba(53,230,162,.32) !important;
  background:rgba(53,230,162,.10) !important;
}

.metric-chip--options{
  color:#8fc4ff !important;
  border-color:rgba(143,196,255,.32) !important;
  background:rgba(143,196,255,.10) !important;
}

.metric-chip--technical{
  color:#c7d2fe !important;
  border-color:rgba(199,210,254,.28) !important;
  background:rgba(199,210,254,.09) !important;
}

.metric-chip--growth{
  color:#ffcc43 !important;
  border-color:rgba(255,204,67,.30) !important;
  background:rgba(255,204,67,.10) !important;
}

.action-btn{
  height:36px !important;
  padding:0 14px !important;
}

.top-signal{
  gap:7px !important;
}


.table thead th,
.table tbody td{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.trigger-cell{
  width:260px !important;
  max-width:260px !important;
}

/* CLEAN CONTRACT CELL */
.trigger-cell{
  display:block !important;
  padding-top:10px !important;
}

.contract-clean{
  display:grid !important;
  grid-template-columns:auto 1fr;
  grid-template-areas:
    "title strike"
    "scores scores";
  column-gap:12px;
  row-gap:6px;
  align-items:center;
  max-width:none !important;
}

.contract-clean-title{
  grid-area:title;
  font-size:15px !important;
  font-weight:950 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.contract-clean-strike{
  grid-area:strike;
  font-size:12px !important;
  font-weight:800 !important;
  color:rgba(152,170,190,.78) !important;
  white-space:nowrap !important;
}

.contract-clean-scores{
  grid-area:scores;
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:6px !important;
  align-items:center;
}

.metric-chip--business{
  color:#20e28b !important;
  background:rgba(32,226,139,.10) !important;
  border:1px solid rgba(32,226,139,.32) !important;
}

.metric-chip--options{
  color:#8ec0ff !important;
  background:rgba(78,137,225,.12) !important;
  border:1px solid rgba(105,164,255,.30) !important;
}

.metric-chip--technical{
  color:#c9ccff !important;
  background:rgba(150,150,220,.12) !important;
  border:1px solid rgba(170,170,230,.28) !important;
}

.metric-chip--growth{
  color:#ffcc43 !important;
  background:rgba(255,204,67,.11) !important;
  border:1px solid rgba(255,204,67,.30) !important;
}

/* =========================================================
   COMPACT TOOLBAR — single source of truth
   Replaces the duplicate toolbar blocks. Keep this as the
   only .actions--spaced toolbar section.
   ========================================================= */

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

.page-wrap{
  width:100%;
  max-width:none !important;
  margin:0 auto !important;
  padding:0 24px 28px !important;
}

.actions.actions--spaced{
  display:grid !important;
  grid-template-columns:
    minmax(190px, 240px)  /* search */
    1px
    minmax(320px, 370px)  /* filters */
    1px
    minmax(280px, 320px)  /* mode */
    1px
    minmax(130px, 150px)  /* refresh */
    1px
    minmax(210px, 235px); /* help */
  column-gap:14px !important;
  align-items:center !important;

  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:86px !important;

  padding:16px 22px !important;
  margin:22px 0 18px !important;

  overflow:hidden !important;
  border-radius:24px !important;
  background:linear-gradient(180deg, rgba(8,17,29,.94), rgba(4,10,18,.96)) !important;
  border:1px solid rgba(116,139,169,.24) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045), 0 18px 48px rgba(0,0,0,.34) !important;
}

.toolbar-section{
  min-width:0 !important;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
}

.toolbar-section--search,
.toolbar-section--modes,
.toolbar-section--refresh,
.toolbar-section--help{
  justify-content:center !important;
}

.toolbar-section--filters{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:end !important;
}

.toolbar-section--help{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:8px !important;
  margin-left:0 !important;
}

.toolbar-divider{
  width:1px !important;
  height:48px !important;
  background:linear-gradient(180deg, transparent, rgba(124,148,178,.24), transparent) !important;
}

.search-wrap{
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
}

.search-icon{
  position:absolute !important;
  left:15px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  color:rgba(200,213,231,.78) !important;
  font-size:20px !important;
  line-height:1 !important;
  pointer-events:none !important;
}

.actions--spaced .search{
  width:100% !important;
  height:44px !important;
  padding:0 14px 0 42px !important;
  border-radius:16px !important;
  background:rgba(3,9,17,.70) !important;
  border:1px solid rgba(120,146,178,.26) !important;
  color:rgba(239,246,255,.94) !important;
  font-size:15px !important;
  font-weight:700 !important;
}

.actions--spaced .search::placeholder{
  color:rgba(211,222,238,.66) !important;
}

.control-field{
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
  min-width:0 !important;
}

.control-label{
  padding-left:5px !important;
  color:rgba(196,208,226,.82) !important;
  font-size:12px !important;
  font-weight:950 !important;
  line-height:1 !important;
  letter-spacing:.08em !important;
}

.actions--spaced .select{
  width:100% !important;
  min-width:0 !important;
  height:44px !important;
  padding:0 34px 0 14px !important;
  border-radius:16px !important;
  background:rgba(3,9,17,.70) !important;
  border:1px solid rgba(120,146,178,.26) !important;
  color:rgba(246,249,255,.95) !important;
  font-size:14px !important;
  font-weight:850 !important;
}

.actions--spaced .scan-mode-group{
  width:100% !important;
  min-width:0 !important;
  height:46px !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:0 !important;
  padding:4px !important;
  border-radius:17px !important;
  background:rgba(5,13,23,.78) !important;
  border:1px solid rgba(120,146,178,.24) !important;
}

.actions--spaced .scan-mode-btn{
  width:100% !important;
  min-width:0 !important;
  height:36px !important;
  padding:0 8px !important;
  border-radius:13px !important;
  font-size:14px !important;
  font-weight:950 !important;
  color:rgba(219,229,243,.82) !important;
  background:transparent !important;
  border:1px solid transparent !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.actions--spaced .scan-mode-btn.active{
  color:#fff !important;
  background:linear-gradient(180deg,#3f76d3,#2255af) !important;
  border-color:rgba(124,174,255,.62) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), 0 5px 15px rgba(22,73,166,.25) !important;
}

.actions--spaced .action-btn--primary{
  width:100% !important;
  min-width:0 !important;
  height:46px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  padding:0 12px !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#3570d0,#1f57b7) !important;
  border:1px solid rgba(124,174,255,.54) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.btn-icon{
  font-size:16px !important;
  line-height:1 !important;
}

.toolbar-icon-btn{
  width:100% !important;
  min-width:0 !important;
  height:46px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  color:rgba(229,237,248,.84) !important;
  font-size:10px !important;
  font-weight:850 !important;
  line-height:1.05 !important;
  text-align:center !important;
  white-space:normal !important;
}

.toolbar-icon-btn:hover{
  color:#fff !important;
  background:rgba(255,255,255,.035) !important;
  border-radius:12px !important;
}

.toolbar-icon{
  font-size:18px !important;
  line-height:1 !important;
  color:rgba(196,210,229,.86) !important;
}

@media (max-width:1420px){
  .actions.actions--spaced{
    grid-template-columns:
      minmax(180px, 220px)
      1px
      minmax(300px, 340px)
      1px
      minmax(260px, 300px)
      1px
      minmax(120px, 140px)
      1px
      minmax(190px, 215px);
    column-gap:10px !important;
    padding:14px 18px !important;
  }

  .actions--spaced .search,
  .actions--spaced .select,
  .actions--spaced .action-btn--primary,
  .toolbar-icon-btn{
    height:42px !important;
  }

  .actions--spaced .scan-mode-group{
    height:44px !important;
  }

  .actions--spaced .scan-mode-btn{
    height:34px !important;
    font-size:13px !important;
  }
}

@media (max-width:1180px){
  .actions.actions--spaced{
    grid-template-columns:1fr !important;
    row-gap:14px !important;
    overflow:visible !important;
  }

  .toolbar-divider{
    display:none !important;
  }

  .toolbar-section--filters{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width:720px){
  .page-wrap{
    padding:0 14px 24px !important;
  }

  .actions.actions--spaced{
    padding:14px !important;
    border-radius:20px !important;
  }

  .toolbar-section--filters,
  .toolbar-section--help{
    grid-template-columns:1fr !important;
  }
}

.hidden{
  display:none !important;
}

.footer{
  display:block !important;
  margin-top:18px !important;
  padding:16px 18px !important;
  border-radius:14px !important;
  border:1px solid rgba(120,146,178,.20) !important;
  background:rgba(5,10,18,.55) !important;
  color:rgba(190,205,225,.95) !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.5 !important;
}

/* ===== CLEAN HEADER STATUS ===== */

.header-status{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:16px;
}

.system-status{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  color:rgba(190,205,225,.88);
  font-size:15px;
  font-weight:750;
}

.system-status strong{
  color:#fff;
  font-weight:900;
}

.live-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#35e6a2;
  box-shadow:0 0 0 4px rgba(53,230,162,.12);
}

.stage-summary{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.stage-pill{
  height:40px;
  padding:0 20px;
  font-size:14px;
  border-radius:999px;
}

.stage-pill strong{
  font-size:15px;
  margin-left:10px;
}

.stage-pill:hover{
  border-color:rgba(255,204,67,.45);
  color:#fff;
}

.stage-pill--active{
  background:rgba(53,230,162,.08);
  border-color:rgba(53,230,162,.60);
  color:#fff;
}

.stage-pill:focus{
  outline:none !important;
}

.stage-pill:focus-visible{
  outline:2px solid rgba(53,230,162,.45) !important;
  outline-offset:3px;
}

.hidden{
  display:none !important;
}

.header-status{
  gap:10px;
  margin-top:14px;
}

.stage-summary{
  gap:10px;
}

.topbar{
  padding-bottom:16px;
}

/* =========================================================
  leap scanner data loading modal
   ========================================================= */

   .loading-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(3,8,15,.88);
    backdrop-filter:blur(10px);
  }
  
  .loading-card{
    width:min(360px, calc(100vw - 40px));
    padding:30px 28px;
    border-radius:24px;
    border:1px solid rgba(120,146,178,.24);
    background:linear-gradient(180deg, rgba(14,25,40,.96), rgba(7,14,24,.98));
    box-shadow:0 24px 70px rgba(0,0,0,.55);
    text-align:center;
  }
  
  .loading-spinner{
    width:44px;
    height:44px;
    margin:0 auto 18px;
    border-radius:50%;
    border:4px solid rgba(255,255,255,.14);
    border-top-color:#ffcc43;
    animation:loadingSpin .8s linear infinite;
  }
  
  .loading-title{
    color:#fff;
    font-size:20px;
    font-weight:900;
    margin-bottom:8px;
  }
  
  .loading-subtitle{
    color:rgba(190,205,225,.86);
    font-size:14px;
    font-weight:650;
  }
  
  .loading-modal.is-hidden{
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }
  
  @keyframes loadingSpin{
    to{ transform:rotate(360deg); }
  }

  /* =========================================================
        auto refesh animation
   ========================================================= */

   .refresh-dots{
    display:inline-flex;
    gap:4px;
    align-items:center;
    margin-left:4px;
  }
  
  .refresh-dots span{
    width:5px;
    height:5px;
    border-radius:50%;
    background:rgba(220,230,245,.9);
    animation:refreshDot 900ms infinite ease-in-out;
  }
  
  .refresh-dots span:nth-child(2){
    animation-delay:150ms;
  }
  
  .refresh-dots span:nth-child(3){
    animation-delay:300ms;
  }
  
  @keyframes refreshDot{
    0%, 80%, 100%{
      transform:translateY(0);
      opacity:.35;
    }
    40%{
      transform:translateY(-5px);
      opacity:1;
    }
  }

  .loading-note {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.7;
  }