/* General Styles MAIN INDEX:::::::::::::::::::::::: */
    body {
      font-family: Arial, sans-serif;
      text-align: center;
      font-size: 16px;
      color: #e1e3e8;
      background-color: #283040;
      margin: 0;
      padding: 0;
    }
    
        /* Link Styles */
    a {
      color: #63a4ff;
    }

    a:active {
      color: #63a4ff;
    }

    a:hover {
      text-decoration: underline;
      color: #337ab7;
    }

    a:visited {
      text-decoration: none;
    }
    /* Hover Zoom Effect */
    .hover-zoom {
      display: flex;
      transition: transform 0.3s ease;
    }
    .hover-zoom:hover {
      transform: scale(1.1);
    }    
    #devider {
      background: #1E2630; border-top: 1px solid rgba(39, 133, 201, 0.3); border-bottom: 1px solid rgba(39, 133, 201, 0.3); height: 20px; margin-top: 30px; margin-bottom: 50px;
    } 

  @media (max-width: 1200px){
    #devider{ margin-top: 300px; }
  }
  @media (max-width: 900px){
    #devider{ margin-top: 250px; }
  }
  @media (max-width: 720px){
    #devider{ margin-top: 200px; }
  }
  @media (max-width: 600px){
    #devider{ margin-top: 150px; }
  }
  
  
  
/* HEADER::::::::::::::::::::::::::::::::::::::::::::::::::::: */
    .header {
      font-family: Arial, sans-serif;
      text-align: center;
      font-size: 16px;
      color: #e1e3e8;
      background-color: #283040;
      margin: 0;
      padding: 0;
    }

    /* Horizontal Layout */
    .wb_content.wb-layout-horizontal {
      display: flex;
      justify-content: center;
      background-color: #6392f8; /* Background color */
      height: 45px;
      border-bottom: 3px solid #3b5383;
    }

    .menu-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 800px; /* Limits the width of the container */
    }

    #my_logo img {
      opacity: 1;
      box-sizing: border-box;
      width: auto;
      height: 33px;
      max-width: 50px;
      flex: 0 0 auto;
      box-shadow: 5.6px 5.6px 4px 0 rgba(0, 0, 0, 0.3);
      margin-right: 5px;
      margin-top: 5px;
    }

    .wb_menu ul.hmenu {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
    }

    .wb_menu ul.hmenu li {
      display: flex;
      align-items: center;
      gap: 5px; /* Space between icon and text */
    }

    .wb_menu ul.hmenu li a {
      text-decoration: none;
      color: #ffffff;
      font-family: Arial, sans-serif;
      font-size: 16px;
      transition: color 0.3s;
      padding: 15px 18px;
    }

    .wb_menu ul.hmenu li:hover {
      background: #194cbc;
      border-bottom: 3px solid #3b5383;
    }

    .act {
      background: #1E2630;
      border-left: 3px solid #3b5383;
      border-right: 3px solid #3b5383;
      border-bottom: 3px solid #1E2630;
    }
    .act a {
        color: #6392f8 !important;
    }
    .act a:hover {
        background: #1E2630;
        border-bottom: 5px solid #1E2630;
    }
    .wb_menu ul.hmenu li svg {
      width: 30px;
      height: 20px;
      fill: currentColor; /* Matches text color */
    }

/* ACCOUNT:::::::::::::::::::::::::::::::::::::::::::::::::::::: */
      .apps-menu-wrap{ position: relative; }

      .mlhsAcc{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:10px;
        margin-right: 5px;
      }

      .mlhsBtn{
        appearance:none;
        border:1px solid rgba(192,211,252,.20);
        background: rgba(255,255,255,.03);
        color:#e1e3e8;
        border-radius:999px;
        padding:8px 12px;
        font-size:12px;
        font-weight:800;
        cursor:pointer;
        transition: transform .12s ease, background-color .18s ease, border-color .18s ease;
        white-space:nowrap;
      }
      .mlhsBtn:hover{
        transform: translateY(-1px);
        background: rgba(99,146,248,.10);
        border-color: rgba(99,146,248,.55);
      }
      .mlhsBtn:disabled{ opacity:.6; cursor:not-allowed; transform:none; }

      .mlhsBtnPrimary{
        border-color: rgba(99,146,248,.55);
        background: rgba(99,146,248,.16);
      }
      .mlhsBtnBrand{
        border-color: rgba(99,146,248,.75);
        background: rgba(99,146,248,.22);
      }
      .mlhsBtnGhost{
        padding:6px 10px;
        font-weight:900;
      }

      .mlhsPill{
        display:inline-flex;
        align-items:center;
        gap:6px;
        border:1px solid rgba(99,146,248,.18);
        background: rgba(255,255,255,.03);
        color:#e1e3e8;
        border-radius:999px;
        padding:8px 12px;
        font-size:12px;
        font-weight:900;
        cursor:pointer;
        transition: transform .12s ease, background-color .18s ease, border-color .18s ease;
        white-space:nowrap;
      }
      .mlhsPill:hover{
        transform: translateY(-1px);
        background: rgba(99,146,248,.10);
        border-color: rgba(99,146,248,.55);
      }

      .mlhsSubtle{ opacity:.75; font-weight:800; }
      .mlhsMuted{ opacity:.85; font-size:12px; }
      .mlhsTiny{ opacity:.75; font-size:11px; }
      .mlhsDivider{ height:1px; background: rgba(192,211,252,.14); margin:10px 0; }
      .mlhsRow{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

      .mlhsInput{
        width: 260px;
        max-width: 48vw;
        padding:10px 12px;
        border-radius: 12px;
        border:1px solid rgba(99,146,248,.42);
        background:#12171d;
        color:#e1e3e8;
        outline:none;
      }
      .mlhsInput:focus{
        border-color: rgba(99,146,248,.6);
        box-shadow: 0 0 0 3px rgba(99,146,248,.12);
      }

      .mlhsPanel{
        position:absolute;
        right:0;
        top: calc(100% + 10px);
        width: min(520px, 92vw);
        border-radius: 16px;
        border:1px solid rgba(99,146,248,.22);
        background: #0f141a;
        box-shadow: 0 18px 40px rgba(0,0,0,.45);
        padding: 12px;
        display:none;
        z-index: 9999;
      }
      .mlhsPanel.show{ display:block; }

      .mlhsWho{
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: bottom;
      }
      .mlhsDot{ opacity:.6; margin: 0 2px; }

      .mlhsChevron{
        display:inline-block;
        margin-left:4px;
        font-weight:900;
        transition: transform .16s ease;
      }
      .mlhsChevron.up{ transform: rotate(180deg); }

      .mlhsBadge{
        display:inline-flex;
        align-items:center;
        line-height:1;
        padding:2px 8px;
        border-radius:999px;
        border:1px solid rgba(99,146,248,.35);
        background: rgba(99,146,248,.10);
        font-size:10px;
        font-weight:900;
        opacity:.95;
        white-space:nowrap;
        margin-left:0;
        flex:0 0 auto;
      }

      /* ---- My submissions list: single-line title + ellipsis ---- */
      .mlhsAppItem{
        padding:6px 0;
        border-bottom:1px solid rgba(192,211,252,.10);
      }
      .mlhsAppTop{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
      }
      .mlhsAppLeft{
        display:flex;
        align-items:center;
        gap:6px;
        flex:1 1 auto;
        min-width:0;
        font-weight:900;
        font-size:12px;
      }
      .mlhsAppTitle{
        flex:1 1 auto;
        min-width:0;
        overflow:hidden;
        white-space:nowrap;
        text-overflow:ellipsis;
        display:block;
        text-align: left;
      }
      .mlhsAppTitle > a,
      .mlhsAppTitle > span{
        display:block;
        overflow:hidden;
        white-space:nowrap;
        text-overflow:ellipsis;
        text-decoration:none;
      }
      .mlhsAppActions{
        flex:0 0 auto;
        display:flex;
        gap:8px;
      }

      @media (max-width: 600px){
        .mlhsInput{ width: 100%; max-width: 100%; }
        .mlhsBtn, .mlhsPill{ padding:6px 10px; font-size:11px; }
        .mlhsAcc{ gap:8px; }
        .mlhsWho{ max-width: 140px; }
      }
      
/* MENU:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */   
/* Logo Header */
.logo-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #21435f;
  background: #1e2630;
  width: 100%;
  height: 55px;
}
@media (max-width: 600px) {
  .logo-header { height: 50px; }
}
.logo-header img {
  width: 35px;
  margin-right: 10px;
  height: auto;
  max-width: 80px;
  box-shadow: 0px 5px 5px rgba(39, 133, 201, 0.9);
  border-radius: 50px;
  filter: invert(1) brightness(0.9) contrast(0.6) hue-rotate(180deg) saturate(2);
}
@media (max-width: 992px) {
  .logo-header img { max-width: 28px; }
}
@media (max-width: 600px) {
  .logo-header img { max-width: 24px; }
}

/* Hover Zoom1 Effect */
.hover-zoom1 {
  display: flex;
  transition: transform 0.3s ease;
  max-width: 80px;
  min-width: 60px;
  justify-content: flex-end;
  margin-right: 5px;
}
.hover-zoom1:hover { transform: scale(1.1); }
@media (max-width: 600px) {
  .hover-zoom1 { scale: 0.9; min-width: 57px; }
}

/* Editor Note */
.editornote {
  padding: 5px;
  font-weight: 700;
  font-size: 65%;
  line-height: 90%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 90%;
}
@media (max-width: 992px) { .editornote { font-size: 55%; } }
@media (max-width: 600px) { .editornote { font-size: 50%; width: 100%; } }

/* =========================
   ADD-ON: APPS HEADER (title + account in one line)
   ========================= */
.logo-header.apps-header .apps-menu-wrap{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Search (below header) */
.apps-search{
  width: 90%;
  max-width: 600px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(99,146,248,.25);
  background: #12171d;
  color: #e1e3e8;
  outline: none;
  margin: 15px auto;
}
.apps-search::placeholder{ color: rgba(225,227,232,.65); }
.apps-search:focus{
  border-color: rgba(99,146,248,.6);
  box-shadow: 0 0 0 3px rgba(99,146,248,.12);
}

/* =========================
   CHIPS under header
   ========================= */
.apps-chips-wrap{
  display: flex;
  justify-content: center;
  padding: 10px 12px 6px 12px;
}
.apps-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.chip{
  appearance: none;
  border: 1px solid rgba(192,211,252,.20);
  background: rgba(255,255,255,.03);
  color: #e1e3e8;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: transform .12s ease, background-color .18s ease, border-color .18s ease;
  user-select: none;
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(99,146,248,.10);
  border-color: rgba(99,146,248,.55);
}
.chip.active{
  background: rgba(99,146,248,.16);
  border-color: rgba(99,146,248,.75);
}

/* =========================
   APPS GRID
   ========================= */
#menulist.apps-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 42px;
  padding: 18px 18px 18px 18px;
  justify-items: center;
  max-width: 90%;
  margin: 0px auto;
}

.app-tile{
  position: relative;
  width: 100%;
  max-width: 220px;
  text-decoration: none;
  color: #e1e3e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 14px 40px;
  border-radius: 18px;
  border: 1px solid rgba(99,146,248,.18);
  background: rgba(255,255,255,.03);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.app-badge{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
}
.mlhsAppBadge{
  display:inline-flex;
  align-items:center;
  line-height: 1;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(99,146,248,.30);
  background: rgba(99,146,248,.10);
  font-size: 10px;
  font-weight: 900;
  opacity: .95;
  white-space: nowrap;
}
.mlhsAppBadge--ext{
  border-color: rgba(255,200,99,.35);
  background: rgba(255,200,99,.10);
}
.mlhsAppBadge--credits{
  border-color: rgba(140,255,180,.32);
  background: rgba(140,255,180,.10);
}
@media (max-width: 520px){
  .app-tile{ padding: 16px 10px 36px; }
  .app-badge{ bottom: 12px; }
}
.app-tile:hover{
  transform: translateY(-2px) scale(1.01);
  background: rgba(99,146,248,.10);
  border-color: rgba(99,146,248,.55);
}
.app-icon{
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(192,211,252,.35);
  background: rgba(255,255,255,.06);
}
.app-name{
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-hero{
  font-size: 12px;
  opacity: .85;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 520px){
  #menulist.apps-grid{ grid-template-columns: repeat(2, 1fr); }
  .app-hero{ font-size: 11px; }
  .app-badge{ bottom: 10px; }
}
.apps-empty{
  text-align: center;
  opacity: .8;
  font-size: 12px;
  padding: 6px 0 16px 0;
}

/* ===== Add-on: load zoom ONLY for app tiles inside #menulist ===== */
#menulist .load-zoom-app{
  animation: zoomInApp .6s ease both;
  transform-origin: center;
  will-change: transform, opacity;
}

@keyframes zoomInApp{
  from{ opacity: 0; transform: scale(0); }
  to  { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce){
  #menulist .load-zoom-app{ animation: none; opacity: 1; transform: none; }
}

/* MENU:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ 
#disclosure {
    text-align: center;
    margin: 50px auto;
    max-width: 92%;
    width: 800px;
    color: #c0d3fc;
}
#disclosure p{
    font-size: 16px;
    line-height: 1.5;
}
@media (max-width: 600px) {
    #disclosure p {
    font-size: 14px;
    }
}
