/*-------------------------
Site Wide
---------------------------*/
html,
body {
    width: 100%;
    margin-top: 0;
    height: 100%;
    background-color: var(--main-background-color);
    font-size: 16px;
    overflow: auto;
}

body {
    scrollbar-gutter: stable;
}

fieldset {
    font-family: sans-serif;
    border: 5px solid var(--nav-background-color);
    background: #fff;
    border-radius: 5px;
    margin-top: 5px;
}
fieldset legend {
    background: var(--nav-background-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
}

@font-face{
    font-family:exocet blizzard ot;
    src:url(/css/exocet-blizzard-light.ttf) 
    format("truetype");
    font-weight:400;
    font-style:normal
}
:root {
    --site-dark-background: rgb(10, 13, 17);
    --nav-background-color: #1D1E22;
    --main-background-color2: rgb(46, 48, 54);
    --main-background-color3: rgb(25, 29, 33);
    --main-background-color: hsl(0, 0%, 93.7%);
    --theme-brown: hsl(34, 87%, 38%);
    --theme-orange: #e56821;
    --theme-blue: #007aff;
    --logo-color: #FBB13C;
    --step1-color: #06114f;
    --step2-color: #653780;
    --step3-color: #9c3587;
    --step4-color: #e53f71;
    --step5-color: #f89f58;
    --step6-color: #bc3152;
}

/* Native-dark pages use the same canvas produced by the shared dark theme. */
:root.ref-page-html,
:root.ref-page-html body.ref-page,
:root.ref-page-html body.ref-page .main {
    background-color: var(--site-dark-background) !important;
}

.title h1 {
    font-family: exocet blizzard ot;
    font-size: 2rem;
}
.title h2 {
    font-family: exocet blizzard ot;
    font-size: 1.5rem;
}
.pentagram {
    height: 2rem;
}

/*------ Nav Bar ---- */
.site-header {
    position: relative;
}
.site-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 60px;
    padding-top: .2rem;
    padding-bottom: .2rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo {
    font-family: roboto mono;
    color: var(--logo-color);
    font-size: 24px;
}
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: .375rem;
    white-space: nowrap;
}
.nav-link:hover {
    background-color: #002ead;
    transition: 0.3s;
}
.nav-icon {
    display: flex;
    align-items: center;
}
/* Show-more dropdown */
.nav-more {
    position: relative;
}
.nav-more-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: .625rem;
    border-radius: .375rem;
}
.nav-more-toggle:hover {
    background-color: #002ead;
    transition: 0.3s;
}
.nav-more-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--nav-background-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 10;
    min-width: 200px;
    padding: .5rem 0;
}
.nav-more-menu.active {
    display: block;
}
.nav-more-menu .nav-link {
    width: 100%;
}
/* Dark mode toggle in nav */
.nav-darkmode {
    display: flex;
    align-items: center;
    padding: .625rem;
}
/* Mobile nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
.mobile-nav-overlay.active {
    display: flex;
}
.mobile-nav-panel {
    height: 100%;
    width: 75%;
    max-width: 24rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
}


/*-------------------------
Dclone Page
---------------------------*/
.progress-bar {
    height: 16px;
    display: flex;
    overflow: hidden;
    border-radius: 3px;
    padding-bottom: 5px;
}
.segment {
    flex: 1 1 1px;
    position: relative;
    text-align: center;
}
.segment::after {
    content: '';
    display: block;
    position: absolute;
    background-color: inherit;
    top: 0;
    height: 100%;
    /* hide random gaps with a 0.5 overlap */
    right: -9.5px;
    width: 10px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 1;
}
.segment.step1 {
    background-color: hsl(240, 100%, 15%);
    color: white;
}
.segment.step2 {
    background-color: hsl(270, 42%, 41%);
    color: white;
}
.segment.step3 {
    background-color: hsl(315, 45%, 43%);
    color: white;
}
.segment.step4 {
    background-color: hsl(345, 85%, 65%);
    color: white;
}
.segment.step5 {
    background-color: hsl(24, 100%, 72%);
    color: white;
}
.segment.step6 {
    background-color: #bc3152;
    color: white;
}
.segment.inactive {
    background-color: gray;
    color: white;
}


/*-------------------------
CSS Styles Simplified
---------------------------*/
.flex-20 {
    flex: 20%;
    display: block;
}
.flex-80 {
    margin: auto;
    flex: 80%;
}
.flex {
    display: flex;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.flex-wrap {
    flex-wrap: wrap;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-start {
    justify-content: flex-start;
}
.justify-evenly {
    justify-content: space-evenly;
}
.height-full {
    height: 100%;
}
.height-175rem {
    height: 1.75rem;
}
.height-150rem {
    height: 1.50rem;
}
.height-125rem {
    height: 1.25rem;
}
.width-full {
    width: 100%;
}
.width-75 {
    width: 75%;
}
.width-80 {
    width: 80%;
}
.width-50 {
    width: 50%
}
.width-175rem {
    width: 1.75rem;
}
.width-150rem {
    width: 1.50rem;
}
.width-125rem {
    width: 1.25rem;
}
.width-auto {
    width: auto;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.gapy-1rem {
    column-gap: 1rem;
}
.gapy-1rem {
    row-gap: 1rem;
}
.pady-1rem {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.padx-1rem {
    padding-left: 1rem;
    padding-right: 1rem;
}
.pad-halfrem {
    padding: .5rem;
}
.top-0 {
    top: 0;
}
.border-none {
    border: 0
}
.block {
    display: block;
}
.text-white {
    color: white;
}
.margin-top-20px {
    margin-top: 20px;
}
.margin-left-10px {
    margin-left: 10px;
}
.bg-theme-blue {
    background: var(--theme-blue)
}
.bg-logo-orange {
    background: var(--logo-color)
}
.overflow-hidden {
    overflow: hidden;
}
.mobile-visible {
    visibility: hidden;
    display: none;
}

/*-------------------------
Advanced Stylings
---------------------------*/
.bg-panel {
    background-color: var(--nav-background-color);
}
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: .5rem;
    padding: .125rem .375rem;
    font-size: .90rem;
    line-height: 1rem;
    color: white;
    background-color: var(--theme-brown);
}
 .side-ad {
    background-color: red;
}
.side-thing {
    /* background-color: red; */
}
 
  .select-menu {
    max-width: 330px;
    margin: 50px auto;
  }
  .select-menu .select-btn {
    display: flex;
    height: 55px;
    background: #fff;
    padding: 20px;
    font-size: 18px;
    font-weight: 400;
    border-radius: 8px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }
  .select-menu .options {
    position: absolute;
    width: 330px;
    overflow-y: auto;
    max-height: 295px;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation-name: fadeInDown;
    -webkit-animation-name: fadeInDown;
    animation-duration: 0.35s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.35s;
    -webkit-animation-fill-mode: both;
  }
  .select-menu .options .option {
    display: flex;
    height: 55px;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 8px;
    align-items: center;
    background: #fff;
  }
  .select-menu .options .option:hover {
    background: #f2f2f2;
  }
  .select-menu .options .option i {
    font-size: 25px;
    margin-right: 12px;
  }
  .select-menu .options .option .option-text {
    font-size: 18px;
    color: #333;
  }
  
  .select-btn i {
    font-size: 25px;
    transition: 0.3s;
  }
  
  .select-menu.active .select-btn i {
    transform: rotate(-180deg);
  }
  .select-menu.active .options {
    display: block;
    opacity: 0;
    z-index: 10;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
    animation-duration: 0.4s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
  }
  
  @keyframes fadeInUp {
    from {
      transform: translate3d(0, 30px, 0);
    }
    to {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
  }
  @keyframes fadeInDown {
    from {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
    to {
      transform: translate3d(0, 20px, 0);
      opacity: 0;
    }
  }



.champion-color {
    color: #6969FF;
}

.unique-color {
    color: #C7B377;
}
.boss-color {
    color: #FFA800;
}
.normal-color {
    color: white;
}
.set-color {
    color: #00FF00;
}


.dropdown {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}

.highlighted-item {
    background-color: #3498db;
    color: white !important;
}

.dropdown-toggle {
    background-color: #333;
    color: #ddd;
    padding: 4px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
}

.dropdown-toggle .arrow {
    margin-left: 8px;
    font-size: .75em;
    color: #C7B377;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 300px;
    overflow: auto;
}

.dropdown-menu span {
    padding: 4px;
    text-decoration: none;
    display: block;
    
}

.dropdown-menu span:hover {
    background-color: #3498db;
}

.dropdown-toggle.active + .dropdown-menu {
    display: block;
}



#drop-table-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.drop-table-head, .drop-table-row {
    display: flex;
    align-items: center;
    padding: 10px;
}

.drop-table-head {
    background-color: #444;
    color: #ddd;
}

.input-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.icon-input {
    display: flex;
    align-items: center;
    background-color: #222;
    border-radius: 4px;
    padding: 5px;
    flex: 3;
    margin-right: 10px;
}

.icon-input input {
    border: none;
    outline: none;
    padding: 5px;
    background: none;
    color: #ddd;
    width: 100%;
}

.icon-input input::placeholder {
    color: #888;
}

.icon {
    margin-left: 8px;
    fill: #888;
}

.header-item, .drop-table-row > div {
    flex: 1;
    text-align: center;
    font-family: sans-serif;
    font-weight: 700;
}

.drop-table-row .item-name {
    flex: 3;
    text-align: left;
    padding-right: 10px;
}

.drop-table-body ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.drop-table-body li {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #444;
}

.drop-table-body li:last-child {
    border-bottom: none;
}

.d2-color-0 {
    color: #fff;
}

.d2-color-3 {
    color: #3498db;
}

.d2-color-9 {
    color: #e74c3c;
}

.d2-color-2 {
    color: #2ecc71;
}

.d2-color-4 {
    color: #f1c40f;
}

.d2p-empty {
    color: #666;
}



.navbar {
    display: flex;
    padding: 10px 20px;
}

.navbar a {
    color: #ccc;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

.navbar a:hover {
    color: white;
}

.navbar a.active {
    color: white;
    font-weight: bold;
}

.navbar a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #4A90E2;
    position: absolute;
    bottom: -5px;
    left: 0;
}





/* Responsive nav */
@media (max-width: 899px) {
    .nav-desktop {
        display: none;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .site-header.hidden {
        display: none;
    }
    .mobile-flex-wrap {
        flex-wrap: wrap;
    }
    .mobile-width-100 {
        width: 100%;
    }
    .mobile-visible {
        visibility: visible;
        display: flex;
    }
    .mobile-invisible {
        visibility: hidden;
        display: none !important;
    }
    .title h1 {
        font-size: 1.5rem;
    }
    .pentagram {
        height: 1.25rem;
    }
    .side-ad {
        visibility: hidden;
        display: none;
    }
    .side-thing {
        visibility: hidden;
        display: none;
    }
}



  .darkmode-checkbox {
    opacity: 0;
    position: absolute;
    box-sizing: border-box;
  }
  .darkmode-checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }
  
  .fa-moon {color: #f1c40f;}
  .fa-sun {color: #f39c12;}
  .darkmode-checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
  }
  .darkmode-checkbox:checked + .darkmode-checkbox-label .ball {
    transform: translateX(24px);
  }
  
  
.overlay {
    box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    display: none;
    position: fixed;
    top: 40px;
    height: auto;
    text-align: center;
    background-color: hsl(0, 0%, 93.7%);
    opacity: 0.9;    
    width: 75%;
    left: 50%;
    margin-left: -37.5%;
    border-radius: 5px;
    border-style: solid;
    border-width: 3px;
  }

.notify-button {
    cursor: pointer;
}
.notify-button:hover {
    animation: shake 0.8s;
    animation-iteration-count: infinite;
    background-color: gray;
}
      
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    opacity: .95;
  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

/* Keep side ad containers for layout, hide middle ads completely */
html.d2emu-subscriber .side-thing { visibility: hidden !important; }
html.d2emu-subscriber [id*="banner-middle"],
html.d2emu-subscriber [id*="-video"],
html.d2emu-subscriber [id="video"] { display: none !important; }

/* Auth nav elements */
.nav-auth-area { display: flex; align-items: center; margin-left: auto; gap: 0.4rem; }
.mobile-nav-links .nav-auth-area { margin: 0.5rem 1rem; flex-direction: column; align-items: flex-start; }

/* Profile icon + dropdown (logged in) */
.nav-profile-wrap { position: relative; margin-right: 8px; }
.nav-profile-btn {
    background: none; border: none; cursor: pointer; color: #ccc; padding: 0.3rem;
    display: flex; align-items: center; transition: color 0.2s;
}
.nav-profile-btn:hover { color: #fff; }
.nav-profile-icon { width: 1.5rem; height: 1.5rem; }
.nav-profile-avatar { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.nav-profile-dropdown {
    display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem;
    background: #1a1a1a; border: 1px solid #333; border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6); min-width: 160px; z-index: 50;
    padding: 0.5rem 0; flex-direction: column;
}
.nav-profile-wrap.open .nav-profile-dropdown { display: flex; }
.nav-profile-username {
    color: #eaeaea; font-size: 0.85rem; font-weight: 600; padding: 0.4rem 1rem;
    border-bottom: 1px solid #333; white-space: nowrap;
}
.nav-profile-link {
    color: #ccc; font-size: 0.85rem; text-decoration: none; padding: 0.4rem 1rem;
    transition: background 0.15s, color 0.15s;
}
.nav-profile-link:hover { background: #252525; color: #fff; }

/* Mobile profile links */
.mobile-nav-links .nav-profile-username { color: #eaeaea; font-size: 0.9rem; font-weight: 600; }
.mobile-nav-links .nav-profile-link {
    color: #ccc; font-size: 0.9rem; text-decoration: none; padding: 0.3rem 0;
}
.mobile-nav-links .nav-profile-link:hover { color: #fff; }

  



  
