/* =========================================================
   ACCOUNT SWITCHER
========================================================= */


/* OVERLAY */

.wwr-switch-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 99999;

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

    padding: 40px;

    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(3px);
}

.wwr-switch-overlay.wwr-switch-open {
    display: flex;
}


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

.wwr-switch-modal {
    width: min(820px, 100%);
    max-height: 82vh;

    overflow-y: auto;

    position: relative;

    background: var(--wwr-mainback);

    border: 1px solid var(--wwr-border);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .65);
}


/* tiny WWR edge treatment */

.wwr-switch-modal::before {
    content: "";

    position: absolute;
    top: -1px;
    left: -1px;

    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            var(--wwr-acc),
            transparent
        );

    z-index: 3;
}


/* =========================================================
   HEADER
========================================================= */

.wwr-switch-head {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 22px 28px;

    border-bottom: 1px solid var(--wwr-border);

    background:
        linear-gradient(
            to right,
            color-mix(in srgb, var(--wwr-acc) 5%, transparent),
            transparent 35%
        );
}

.wwr-switch-kicker {
    margin-bottom: 7px;

    font-size: 8px;
    font-style: italic;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: var(--wwr-mid);
}

.wwr-switch-title {
    font-family: var(--wwr-title);

    font-size: 38px;
    line-height: 100%;

    text-transform: uppercase;
    letter-spacing: 2px;

    color: var(--wwr-post);
}


/* CLOSE BUTTON */

.wwr-switch-close {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

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

    padding: 0;

    background: transparent;

    border: 1px solid var(--wwr-border);

    color: var(--wwr-mid);

    font-family: var(--wwr-txt);
    font-size: 18px;
    font-weight: 200;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.wwr-switch-close:hover {
    color: var(--wwr-post);

    border-color: var(--wwr-acc2);

    background:
        color-mix(
            in srgb,
            var(--wwr-acc2) 10%,
            transparent
        );
}


/* =========================================================
   CHARACTER GRID
========================================================= */

.wwr-switch-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    background: var(--wwr-border);

    gap: 1px;
}


/* =========================================================
   CHARACTER CARD
========================================================= */

.wwr-switch-account {
    min-width: 0;

    position: relative;

    display: grid;
    grid-template-rows:
        170px
        auto;

    background: var(--wwr-mainback);

    overflow: hidden;
}


/* subtle hover wash */

.wwr-switch-account::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--wwr-acc) 10%, transparent),
            transparent 50%,
            color-mix(in srgb, var(--wwr-acc2) 5%, transparent)
        );

    transition: opacity .25s ease;
}

.wwr-switch-account:hover::after {
    opacity: 1;
}


/* =========================================================
   AVATAR
========================================================= */

.wwr-switch-avatar {
    min-width: 0;

    position: relative;

    overflow: hidden;

    border-bottom: 1px solid var(--wwr-border);

    background: var(--wwr-subback);
}

.wwr-switch-avatar img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover;

    filter:
        grayscale(.25)
        contrast(.95);

    transition:
        filter .25s ease,
        transform .35s ease;
}

.wwr-switch-account:hover .wwr-switch-avatar img {
    filter:
        grayscale(0)
        contrast(1);

    transform: scale(1.025);
}


/* dark fade into account info */

.wwr-switch-avatar::after {
    content: "";

    position: absolute;
    inset: auto 0 0 0;

    height: 45px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, .55)
        );
}


/* =========================================================
   ACCOUNT LINK
========================================================= */

.wwr-switch-account-link {
    min-width: 0;

    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 15px;

    min-height: 52px;

    padding: 12px 15px;

    text-decoration: none;

    color: var(--wwr-post);

    border-left: 2px solid transparent;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.wwr-switch-account:hover .wwr-switch-account-link {
    border-left-color: var(--wwr-acc);
}


/* CHARACTER NAME */

.wwr-switch-account-link .noscript {
    min-width: 0;

    display: block;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-family: var(--wwr-title);

    font-size: 20px;
    line-height: 110%;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ARROW */

.wwr-switch-arrow {
    width: 26px;
    height: 26px;

    flex-shrink: 0;

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

    border: 1px solid var(--wwr-border);
    border-radius: 50%;

    color: var(--wwr-mid);

    font-family: var(--wwr-txt);
    font-size: 10px;

    transition:
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.wwr-switch-account:hover .wwr-switch-arrow {
    color: var(--wwr-post);

    border-color: var(--wwr-acc2);

    transform: translateX(2px);
}


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

@media (max-width: 750px) {

    .wwr-switch-overlay {
        padding: 20px;
    }

    .wwr-switch-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .wwr-switch-account {
        grid-template-rows:
            145px
            auto;
    }

    .wwr-switch-title {
        font-size: 32px;
    }

}


@media (max-width: 450px) {

    .wwr-switch-overlay {
        padding: 12px;
    }

    .wwr-switch-head {
        min-height: 75px;

        padding: 18px 20px;
    }

    .wwr-switch-grid {
        grid-template-columns: 1fr;
    }

    .wwr-switch-account {
        grid-template-columns:
            95px
            minmax(0, 1fr);

        grid-template-rows: 95px;
    }

    .wwr-switch-avatar {
        border-bottom: 0;
        border-right: 1px solid var(--wwr-border);
    }

    .wwr-switch-account-link {
        min-height: 95px;
    }

    .wwr-switch-title {
        font-size: 28px;
    }

}

/* =========================================================
 PLUGIN CSS
========================================================= */


#accountswitcher_header_popup {
   padding: 0 30px 0 15px;
   position: absolute;
   top:0;
   display: none;
   opacity: 1;
}

#accountswitcher_header_popup ul {
   position: absolute;
   left: 0;
   padding-left: 10px;
   padding-right: 20px;
   min-width: 80px;
   margin-top:17px;
   line-height: 120%;
   border-bottom-right-radius: 10px;
   border-bottom-left-radius: 15px;
   white-space: pre-line;
}

[id*="profile_switch_"] > img {
    height: 32px;
    width: auto;
}

[id*="profile_link_"] {
    list-style-type: none;
}

[id*="profile_link_"] > a > img {
    height: 32px;
    width: auto;
}

.acclist_outer {
    text-align: center;
    float: left;
    border: 1px solid;
    border-color: #000;
    width: 100%;
}

.acclist_att {
    padding-left: 20px;
}

.acclist_att > img {
    height: 44px;
    width: auto;
}

.acclist_mast {
    padding-left: 30px;
}

.acclist_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_mast {
    float:left;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid #000;
}

.acclist_card_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_att {
    float:left;
    width: 250px;
    text-align: center;
}

.acclist_card_hidden {
    text-align: center;
    padding-top: 30px;
    float: left;
    width: 250px;
    border: none;
}

.acclist_card_att > img {
    height: 100px;
    width: auto;
}

.profile_card_mast {
    padding: 5px;
    background: none;
    border: none;
}

.profile_card_att {
    padding: 5px;
    background: none;
    border: none;
}

.as_head_drop {
    list-style-type: none;
    white-space: nowrap;
}

.as_head_drop > img {
    height: 22px;
    width: auto;
}

.as_head_userbit {
    list-style: none;
}

.as_head_userbit > img {
    height: 22px;
    width: auto;
}

.as_header {
    border-top: 1px solid;
    margin-top: 7px!important;
    padding-top: 7px!important;
    clear: both;
    min-width: 400px;
}

.as_header > img {
    height: 22px;
    width: auto;
}

.as_header > li > img {
    height: 22px;
    width: auto;
}

.as_side_user {
    list-style-type: none;
    white-space: nowrap;
    height: 24px;
}

.as_menu-arrow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    width: 10px;
    height: 100%;
    border: 5px solid transparent;
    -webkit-transition: opacity .4s ease .4s;
    -moz-transition: opacity .4s ease .4s;
    -ms-transition: opacity .4s ease .4s;
    -o-transition: opacity .4s ease .4s;
    transition: opacity .4s ease .4s;
}

.as_sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.as_sidenav a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 15px;
    color: #ccc;
    display: inline-block;
    transition: 0.3s;
}

.as_sidenav a:hover {
    color: #f1f1f1;
}

.as_sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

 .as_sidenav ul {
    margin-top: 40px;
}

 .as_sidenav ul li {
    display: inline-block;
    width: 100%;
    list-style: none;
    font-size: 15px;
    text-align: left;
    padding: 3px 0px;
}

 .as_sidenav ul li img {
    height: 22px;
    width: auto;
}

 .as_sidenav ul li:before {
    content: "";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-height: 450px) {
  .as_sidenav {padding-top: 15px;}
  .as_sidenav a {font-size: 15px;}
}         