/* import google font*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;700;900&display=swap");

blockquote,
body,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
li,
ol,
p,
pre,
td,
th,
ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background: #000;
    color: #fff;
    margin: 0;
    padding: 1rem;
    font-family: Roboto;
    font-size: 12px;
    line-height: 1.3;
    min-height: calc(100vh - 80px);
    font-weight: 400;
}

h1 {
    text-align: center;
    font-weight: 100;
    letter-spacing: 0.4em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    padding: 60px 0 500px;
    transition: all 0.3s cubic-bezier(.63, 0, .78, .71);
}

.grid.dark {
    opacity: 0.5;
    filter: blur(3px);
}

.nft-card {
    background: #1c1c1c;
    border-radius: 10px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    min-height: 180px;
    min-width: 180px;
    overflow: hidden;
    display: flex;

}

.nft-card:hover {
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);

}

.nft-card img {
    min-width: 100%;
    /* width: 102%; */
    min-height: 100%;
    border-radius: 6px;
    transition: all 1.5s cubic-bezier(.63, 0, .78, .71);
}

.nft-card img:hover {
    transform: scale(1.1);
    transition: all 0.12s ease-in-out;
}

.nft-card:active img {
  
   filter: contrast(1.4) saturate(0.8);
}

.viewer {
    padding: 20px 0;
    background: #222;
    border-radius: 18px;
    position: fixed;
    width: 100%;
    z-index: 9;
    left: 0;
    height: 400px;
    /* transition: all 1.2s cubic-bezier(.1,.52,.13,.93) ; */
    transition: all 0.6s cubic-bezier(.63, 0, .78, .71);
    top: 50%;
    left: 50%;
    width: calc(100vw - 200px);
    text-align: center;
    transform: translate(-50%, -350%);
    max-height: 100%;
    /* overflow: hidden; */
    box-shadow: 10px 20px 48px -2px rgba(0, 0, 0, 0.88);
    max-width: 1400px;
}

.viewer.show {
    height: 400px;
    transition: all .8s cubic-bezier(.1, .52, .13, .93);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.viewer.show.hide {
    pointer-events: none;
    opacity: 0;
}

.item-info {
    position: absolute;
    width: 100%;
    text-align: left;
    width: calc(100vw - 260px);
    margin: 10px 0 0 30px;
    pointer-events: none;
    z-index: 1;
}

.avatar-title {
    font-size: 15px;
    text-transform: uppercase;
    opacity: 0.6;
    margin: 8px 0 0 8px;
    display: inline-block;
    width: 180px;
}

.viewer iframe {
    width: calc(100% - 450px);
    height: 400px;
    border: none;
    margin: 0;
    margin: 0 0 0 10px;
    background-color: #000;
}

.avatar-image {
    max-width: 400px;
    border-radius: 8px;
    transition: all 1s ease;
    opacity: 0;
    transform: scale(1.03);
}

.avatar-image.fade-out, .avatar-image.fade-in.fade-out {
    opacity: 0;
    transform: scale(1.03);
}

.avatar-image.fade-in {
    opacity: 1;
    transition: all 2s ease;
    transform: scale(1);
}


.profilepic-holder {
    width: 400px;
    height: 400px;
    background: #000;
    display: inline-block;
    border-radius: 12px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

button:disabled {
    background-color: #ccc;
    cursor: no-drop;
}

.token-id {
    position: absolute;
    margin: 2px 0 0 5px;
    font-size: 10px;
    opacity: 0.3;
    z-index: 1;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    padding: 16px 18px;
    width: 100%;
    /* height: 68px; */
    z-index: 999999;
    border-bottom: 2px solid #ccc;
}

.topbar h1 {
    display: inline-block;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 100;
}

.topbar:before,
.topbar:after {
    display: block;
    content: ' ';
    position: fixed;
    width: 100%;
    height: 200px;
    top: 0;
    left: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.53) 50%, rgba(8, 0, 0, 0.99) 100%);
    z-index: -1;
    pointer-events: none;
}

.topbar:after {
    bottom: 0;
    top: unset;
    background: linear-gradient(360deg, rgba(8, 0, 0, 0.99) 0%, rgba(0, 0, 0, 0.53) 50%, rgba(0, 0, 0, 0) 100%);
}

.search-bar {
    /* display: flex;
      justify-content: center;
      margin-bottom: 1rem; */
    display: inline-block;
    position: fixed;
    margin: 10px;
    right: 0;
    top: 0;
}
.search-bar-stats {
    position: absolute;
    margin: -58px 0 0 0;
    width: 193px;
    right: -8px;
    opacity: 1;
    transition: all 1s cubic-bezier(.63, 0, .78, .71);
}
.hide-navitem {
  opacity: 0!important;
  pointer-events: none;
}

.search-bar input, .search-bar-stats input {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: 130px;
    border: none;
    /* border-radius: 6px 0 0 6px; */
    border-radius: 6px;
    background: #333;
    color: #ccc;
    outline: none !important;
}

 .search-bar-stats input {
padding: 6px 1rem;
    font-size: 14px;
    width: 120px;
    background: #000;
    border: 1px solid rgba(2255, 255, 255, 0.2);
    }
.search-bar button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    display: none;
}

.marketplace-button {
    position: absolute;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    margin: -10px 0 0 145px;
    padding: 0;
    text-decoration: none;
    font-size: 0.9rem;
    transform: scale(.6);
    pointer-events: all;
}

.marketplace-button:hover {
    filter: saturate(0) contrast(40);
}

#closeViewerBtn {
    position: fixed;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    opacity: 1;
    margin: -22px 8px 0 0;
    right: 0;
    z-index: 8;
    background: #000;
    font-size: 29px;
    cursor: pointer;
    color: #fff;
    border: navajowhite;
    padding: 8px 16px;
    border-radius: 50%;
    pointer-events: all;
}


/* TBA */
#preview-img {
    max-width: 100%;
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

#iframe-container {

    background: #000;
}

iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button#toggle-btn {
    padding: 0rem 0.2rem;
    font-size: 1rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 10px;
    left: 10px;
}

button#toggle-btn:hover {
    background: #333;
}

button#toggleback-btn {
    /* padding: 0rem 0.2rem;
    font-size: 1rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px; */
    display: none;
}

button#toggleback-btn:hover {
    background: #333;
}



/* TBA content */
#address-label {
    margin-right: 4px;
}

.tba-address {
    color: #555;
    padding-right: 38px;

    max-width: 50px;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    float: right;

}

.inventory-holder {
    height: 310px;
    overflow-y: auto;
    min-height: 310px;
    min-height: 310px;
}

.inventory {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 16px;
}

.inventory-tabs {
    display: flex;
    gap: 8px;
    margin: -3px 0 0 0;
    /* opacity: 0;
    pointer-events: none; */
}


.inventory-tabs .tab, .download-vrm-btn {
    padding: 4px 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #ddd;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    opacity: 0.8;
}

.inventory-tabs .tab.active {
    border-color: #888;
    background: #262626;
    color: #fff;
}


.download-vrm-btn {
    position: absolute;
    left: -12px;
    top: 36px;
}

.download-vrm-btn svg {
    width: 12px;
    height: 12px;
    stroke: #888;
    margin: 0 0 0 2px;
}

.download-vrm-btn:hover svg {
    stroke: #fff;
    transform: scale(1.1);
}

.asset-list .empty, .asset-list .loading, .asset-list .error {
    opacity: .8;
    padding: 0;

    font-size: 16px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.1rem;
    opacity: 0.6;
}

ul.asset-list {
    list-style: none;
    padding: 0;
    /* max-width: 800px; */
    margin: 0;
    display: flex;
    /* gap: 1rem; */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

ul.asset-list li {
    margin: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

ul.asset-list li.nft-item {

    margin: 4px 8px;
}

ul.asset-list li.nft-item img {
    height: 100px;
    width: 100px;
    border-radius: 6px;
    border: 1px solid #444;
}

ul.asset-list li.erc-20 {
    /* height: 66px;
    width: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 38px 18px 0px 18px;
    text-align: center;
    background: #222;
    margin: -20px 6px 0;
    border-radius: 6px;
    background: #0000f5;
    color: #fff; */

    height: 82px;
    width: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 38px 18px 0px 18px;
    text-align: center;
    background: #222;
    margin: 10px 6px 0;
    border-radius: 6px;
    background: #0000f5;
    color: #fff;
    margin: 4px 8px;
}


ul.asset-list li.erc-20::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 30px;
    transform: translateY(-45px);
    background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><g fill='none' fill-rule='evenodd'><g fill='%23FFF' fill-rule='nonzero'><path fill-opacity='.602' d='M16.498 4v8.87l7.497 3.35z'/><path d='M16.498 4L9 16.22l7.498-3.35z'/><path fill-opacity='.602' d='M16.498 21.968v6.027L24 17.616z'/><path d='M16.498 27.995v-6.028L9 17.616z'/><path fill-opacity='.2' d='M16.498 20.573l7.497-4.353-7.497-3.348z'/><path fill-opacity='.602' d='M9 16.22l7.498 4.353v-7.701z'/></g></g></svg>");
}

.erc20-label {
    opacity: 0.4;
}

.erc-20 .title {
    font-size: 18px;
    margin: -20px 0 0;
}

.erc-20 .title-type {
    font-size: 12px;
    /* color: #557ac9; */
    min-width: 60px;
    opacity: 0.75;

        margin: 0px 0 -50px;
}

.erc1155 .title, .erc721 .title {
    text-align: center;
    opacity: 0.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 102px;
}

ul.asset-list li:hover {
    /* background: #222; */
}

.inventory-header {
    background: #000;
    border-bottom: 1px solid #444;
    display: flex;
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    justify-content: space-between;
    /* pushes h1 left and p right */
    align-items: center;

    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.6s ease-out;
}

.inventory-header.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.inventory-header.fade-in.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.inventory-holder.fade-out {
    opacity: 0;
    transform: scale(0.5);
}

.inventory-header h1 {
    text-transform: uppercase;
    font-size: 16px;
}

.inventory-header p {
    color: #888;
}

p.deploy-status {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.1rem;
    opacity: 0.6;
    text-align: center;
    position: absolute;
    left: calc(50% - 150px);
    z-index: 9999999999999;
    width: 300px;
    margin-top: 80px;
}

li.load-status {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.1rem;
    opacity: 0.6;
}


.asset-panel {
    padding: 0;
}

.asset-panel img {
    max-width: 150px;
    opacity: 0;
    transform: scale(0.01);
    transition: all 0.6s cubic-bezier(.1, .52, .13, .93);
}

.asset-panel img:hover {
    opacity: 0.9;
}

.asset-panel img.loaded {
    opacity: 1;
    transform: scale(1);
}

.asset-panel img.x1,
.asset-panel img.x2,
.asset-panel img.x3 {
    max-width: 250px;
}

.asset-panel img.x4 {
    max-width: 200px;
}

.asset-panel img.x5 {
    max-width: 150px;
}

.asset-panel img.x12 {
    max-width: 120px;
}

.send-controls {
    margin-top: 1rem;

    display: none;
}

.send-controls input[type="text"],
.send-controls input[type="number"] {
    padding: 0.5rem;
    margin: 0.25rem;
    width: calc(100% - 2rem);
}

.send-controls button {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background: #444;
    border: 1px solid #666;
    color: #fff;
    cursor: pointer;
    display: block;
    width: 100%;
}

.item-quantity {
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #eee;
    border-radius: 50%;
}

img.token-thumb {
    max-width: 100px;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

#deploy-tba-btn {
    padding: 8px 12px 7px 12px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    cursor: pointer;
    margin: 1rem auto;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.1rem;
    opacity: 0.8;
    /* opacity: 0; */
    transform: scale(0.3);
    transition: all 0.5s;
    /* pointer-events: none;
    display: none; */
    position: absolute;
    left: calc(50% - 121px);
}

.copy-btn {
    margin: -11px 0 0 0;
    background: transparent;
    border: none;
    transform: translateY(5px);
    position: absolute;
    right: 162px;
}

.copy-btn:hover {
    cursor: pointer;

}

.copy-btn svg {
    width: 23px;
    height: 24px;
    fill: #888;
    display: block;
    margin: 0;
    transform: scale(0.6);
}

.copy-btn:hover svg {
    fill: #fff;
    transform: scale(0.65);
}

#inventory-list li {
    position: relative;
}

.item-actions {
    position: absolute;
    top: 0;
    left: 0;
    gap: 5px;
    z-index: 2;
    width: 102px;
    /* background: red; */
    display: none;
    padding: 4px 0;
    justify-content: space-evenly;
}

li.nft-item:hover .item-actions, li.erc-20:hover .item-actions, li.eth:hover .item-actions {
    display: flex;
}

.item-actions .mini {
    font: inherit;
    padding: 5px 8px 4px 8px;
    border-radius: 18px;
    border: 1px solid var(--border, #666);
    background: #111;
    cursor: pointer;
    color: #fff;
}

#inventory-list li#hidden-toggle-li {
    position: absolute;
    right: 5px;
    top: 45px;
}

#inventory-list li#hidden-toggle-li .mini {

    padding: 4px 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #ddd;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    opacity: 0.8;
}

.send-panel {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 10px 10px 4px 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .85);
    display: none;
    z-index: 3;
    border: 1px solid #555;
    max-width: 280px;
    overflow: hidden;
}

.send-panel.open {
    display: block;
}

.send-panel .mini {
    padding: 4px 12px;
    border: 1px solid transparent;
    background: #ccc;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    opacity: 0.8;
}

.send-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.send-row input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #555;
    background: #111;
    color: #fff;
}

.send-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
@keyframes pulseOpacity {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}

.send-status {
    margin-top: 6px;
    font-size: .9em;
    opacity: .85;
    border-top: 1px solid #444;
    padding: 4px 0;
     opacity: 0.6;                /* starting opacity */
  animation: pulseOpacity 1.5s ease-in-out infinite;
  text-align: center;
}
.send-status:empty {
    border: none;
    padding: 0;
}
.pending-remove {
    opacity: 0.5;
    transition: opacity .12s ease;
}

.pending-remove.removed {
    display: none;
}

#hidden-toggle-li {
    list-style: none;
    display: flex;
    justify-content: center;
}

#hidden-toggle-li .mini {
    margin: 8px auto;
}

#deploy-tba-btn.fade-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

#deploy-tba-btn:hover {
    background: #000;
    transform: scale(0.95);
}




/* loader */

.hexloader {

    margin: 0;
    position: absolute;
    /* top: 224px; */
    opacity: 0;
    transform: scale(0.2);
    transition: all 0.6s ease;
    z-index: 9;
}

.inventory .hexloader {
    left: calc(50% - 10px);
}

.hexloader.fade-in {
    transform: scale(0.3);
    opacity: 1;
    transition-delay: 0.1s;
    transition: all 1s ease;
}

.hexloader.fade-out {
    opacity: 0;
    transform: scale(0.2);
}

.socket {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    top: 50%;
    margin-top: -100px;
}

.hex-brick {
    background: #dff3fa9f;
    width: 30px;
    height: 17px;
    position: absolute;
    top: 5px;
    animation-name: fade;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}

.h2 {
    transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
}

.h3 {
    transform: rotate(-60deg);
    -webkit-transform: rotate(-60deg);
}

.gel {
    height: 30px;
    width: 30px;
    transition: all .3s;
    -webkit-transition: all .3s;
    position: absolute;
    top: 50%;
    left: 50%;
}

.center-gel {
    margin-left: -15px;
    margin-top: -15px;

    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}

.c1 {
    margin-left: -47px;
    margin-top: -15px;
}

.c2 {
    margin-left: -31px;
    margin-top: -43px;
}

.c3 {
    margin-left: 1px;
    margin-top: -43px;
}

.c4 {
    margin-left: 17px;
    margin-top: -15px;
}

.c5 {
    margin-left: -31px;
    margin-top: 13px;
}

.c6 {
    margin-left: 1px;
    margin-top: 13px;
}

.c7 {
    margin-left: -63px;
    margin-top: -43px;
}

.c8 {
    margin-left: 33px;
    margin-top: -43px;
}

.c9 {
    margin-left: -15px;
    margin-top: 41px;
}

.c10 {
    margin-left: -63px;
    margin-top: 13px;
}

.c11 {
    margin-left: 33px;
    margin-top: 13px;
}

.c12 {
    margin-left: -15px;
    margin-top: -71px;
}

.c13 {
    margin-left: -47px;
    margin-top: -71px;
}

.c14 {
    margin-left: 17px;
    margin-top: -71px;
}

.c15 {
    margin-left: -47px;
    margin-top: 41px;
}

.c16 {
    margin-left: 17px;
    margin-top: 41px;
}

.c17 {
    margin-left: -79px;
    margin-top: -15px;
}

.c18 {
    margin-left: 49px;
    margin-top: -15px;
}

.c19 {
    margin-left: -63px;
    margin-top: -99px;
}

.c20 {
    margin-left: 33px;
    margin-top: -99px;
}

.c21 {
    margin-left: 1px;
    margin-top: -99px;
}

.c22 {
    margin-left: -31px;
    margin-top: -99px;
}

.c23 {
    margin-left: -63px;
    margin-top: 69px;
}

.c24 {
    margin-left: 33px;
    margin-top: 69px;
}

.c25 {
    margin-left: 1px;
    margin-top: 69px;
}

.c26 {
    margin-left: -31px;
    margin-top: 69px;
}

.c27 {
    margin-left: -79px;
    margin-top: -15px;
}

.c28 {
    margin-left: -95px;
    margin-top: -43px;
}

.c29 {
    margin-left: -95px;
    margin-top: 13px;
}

.c30 {
    margin-left: 49px;
    margin-top: 41px;
}

.c31 {
    margin-left: -79px;
    margin-top: -71px;
}

.c32 {
    margin-left: -111px;
    margin-top: -15px;
}

.c33 {
    margin-left: 65px;
    margin-top: -43px;
}

.c34 {
    margin-left: 65px;
    margin-top: 13px;
}

.c35 {
    margin-left: -79px;
    margin-top: 41px;
}

.c36 {
    margin-left: 49px;
    margin-top: -71px;
}

.c37 {
    margin-left: 81px;
    margin-top: -15px;
}

.r1 {
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .2s;
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .2s;
}

.r2 {
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .4s;
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .4s;
}

.r3 {
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .6s;
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .6s;
}

.r1>.hex-brick {
    animation-name: fade;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .2s;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .2s;
}

.r2>.hex-brick {
    animation-name: fade;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .4s;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .4s;
}

.r3>.hex-brick {
    animation-name: fade;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .6s;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .6s;
}


@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.01);
        transform: scale(0.01);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes fade {
    0% {
        background: #dff3fa9f;
    }

    50% {
        background: #000000;
    }

    100% {
        background: #dff3fa9f;
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(0.01);
        transform: scale(0.01);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.01);
        transform: scale(0.01);
    }
}

@-webkit-keyframes fade {
    0% {
        background: #ABF8FF;
    }

    50% {
        background: #389CA6;
    }

    100% {
        background: #ABF8FF;
    }
}


#prevBtn, #nextBtn, #shareBtn, #statsBtn, #profileBtn {
    position: fixed;
    margin: 140px 8px 0 0;
    left: -65px;
    pointer-events: auto;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: #333;
    color: #fff;
    font-size: 50px;
    overflow: hidden;
    z-index: 999999;
    box-shadow: 10px 10px 18px -2px rgba(0, 0, 0, 0.88);
}

#prevBtn:hover, #nextBtn:hover, #shareBtn:hover, #profileBtn:hover {
    background: #fff;
    color: #333;
}


#nextBtn {
    left: unset;
    right: -70px;
    margin: 140px 8px 0 0;
}

#shareBtn {
    left: unset;
    right: -70px;
    margin: 85px 8px 0 0;

  
}

#profileBtn {
    margin: 85px 8px 0 0;

        /* display: none; */
}

#statsBtn {
    position: absolute;
    margin: 3px 0 0 0;
    left: -45px;
    height: 30px;
    width: 30px;
    background: #111;
}

#statsBtn:hover {
    background: #333;

}

#prevBtn svg, #nextBtn svg, #shareBtn svg, #statsBtn svg, #profileBtn svg, #profileBtn svg g {
    width: 40px;
    height: 40px;
    fill: #fff;
    display: block;
    margin: 4px 0 0 10px;
}


#shareBtn svg {
    margin: 5px 0 0 7px;
}

#statsBtn svg {
    margin: 3px 0 0 4px;
    /* border: 1px solid red; */
    position: absolute;
    width: 30px;
    height: 30px;
    transform: scale(0.6);
}

#profileBtn svg {
      margin:-5px 0 0 -5px;
    /* margin:1px 0 0 1px; */
}

#prevBtn:hover svg, #nextBtn:hover svg, #shareBtn:hover svg,  #profileBtn:hover svg g, #profileBtn:hover svg path {
    fill: #333;
}


.notification-bar {
    position: fixed;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f9443;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999999;
    display: flex;
}

.notification-bar.nested {
    top: 5px;
    left: -25px;
    transform: translateX(0);
    background: rgba(0, 0, 0, 0.8);
    color: #ccc;
    padding: 13px 20px;
    border-radius: 0;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}

.notification-bar.alert {
    border-bottom: 1px solid #c1bd7e;
}

.notification-bar.show {
    opacity: 1;
}

.notification-bar svg {
    height: 30px;
    width: 30px;
    margin: -5px -10px -10px -1px;
    fill: #fff;
}


/* Leaderboard/stats */
body.stats {
    background: #111;
    /* padding: 40px 0 0 0; */
    padding: 0;
}

body.stats h1 {
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#leaderboard {
    padding: 2rem 2rem 4rem;
    max-width: 1000px;
    margin: auto;
    position: relative;
}

#leaderboard h1 {
    font-size: 20px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 18px 0;
}

.stats-list {
    list-style: none;
    padding: 0;
}

.stats-card {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    background: #000;
    padding: 8px 130px 16px 8px;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(.63, 0, .78, .71);
    transform: translateY(60px);
    overflow: hidden;
}

.stats-card.gold, .stats-card.silver, .stats-card.bronze {
    margin-bottom: 0.8rem;
}

.stats-card.show {
    opacity: 1;
    transform: translateY(0);
}

.stats-card.ghost {
    height: 90px;
    /* opacity: 1; */
    background: linear-gradient(100deg, #222 30%, #333 40%, #222 50%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    /* transition: all 0.4s ease; */
    margin: 0px 0 100px;
    padding: 0 38px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #333;
}

.loading-banner .hexloader {
    margin: 0;
    position: relative;
    top: 0;
    transform: scale(1);
}


.stats-card.ghost.hide {
    opacity: 0;
    animation: none;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes topThree-loader {
    0% {
        filter: brightness(1);
    }

    25% {
        filter: brightness(21);
    }

    100% {
        filter: brightness(1);
    }
}


.stats-card.gold {
    border: 1px solid #FFD700;
    /* Gold */
    box-shadow: 0 0 8px #FFD700 inset;
    background: linear-gradient(135deg, #000, #4f4313);
    animation: topThree-loader 2s 1 ease-in-out;
}

.stats-card.gold .badge-score {
    color: #FFD700;

}



.stats-card.silver {
    border: 1px solid #C0C0C0;
    /* Silver */
    box-shadow: 0 0 8px #C0C0C0 inset;
    background: linear-gradient(135deg, #000, #484848);
    animation: topThree-loader 2.5s 1 ease-in-out;
}

.stats-card.silver .badge-score {
    color: #C0C0C0;
}

.stats-card.bronze {
    border: 1px solid #cd7f32;
    /* Bronze */
    box-shadow: 0 0 8px #cd7f32 inset;
    background: linear-gradient(135deg, #000, #4c3115);
    animation: topThree-loader 3s 1 ease-in-out;
}

.stats-card.bronze .badge-score {
    color: #cd7f32;
}



.stats-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
    transition: all 0.1s cubic-bezier(.63, 0, .78, .71);
    margin-bottom: -12px;

}

.stats-card.gold .stats-thumb, .stats-card.silver .stats-thumb, .stats-card.bronze .stats-thumb {
    width: 100px;
    height: 100px;
}



.stats-thumb:hover {
    filter: contrast(1.4) saturate(0.8);
    transform: scale(0.95);
}

.stats-info h3 {
    margin: 0px 0 5px 6px;
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.5;
}

.stats-info a {
    display: block;
    margin: -5px 0px -5px;
    float: left;
}


.stats-card.gold .stats-info, .stats-card.silver .stats-info, .stats-card.bronze .stats-info {
    margin: 0px -4px -5px;
}







.stats-badges {
    margin-top: 10px;
}

.stats-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    mix-blend-mode: plus-lighter;
    filter: brightness(1.1);
}

.stats-card.gold .stats-badge-icon, .stats-card.silver .stats-badge-icon, .stats-card.bronze .stats-badge-icon {
    width: 60px;
    height: 60px;
}

.loading-banner {
    text-align: center;
    color: #eee;
    background-color: #000;
    font-weight: bold;
    padding: 10px 0 6px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.6s cubic-bezier(.63, 0, .78, .71);
    animation: pulse-loader 4s infinite ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    top: 0px;
    width: 100%;
    overflow: hidden;
    z-index: 99;
    margin-top: -50px;
}

.loading-banner.show {
    margin-top: 0px;
}

#load-text {
    padding-right: 20px;
    font-weight: 700;
}

@keyframes pulse-loader {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        filter: invert(1);
    }

    100% {
        opacity: 0.4;
    }
}

.loading-banner .hexloader {
    margin: 0px 30px 0 10px;
    position: relative;
    top: -6px;
    transform: scale(0.1);
    display: inline-block;
}

.stats-badges a img {
    transition: transform 0.2s ease-in-out;
}

.stats-badges a:hover img {
    transform: scale(1.4);
}


.badge-score {
    color: #222;
    margin: -5px 18px 6px 50px;
    font-size: 68px;
    position: absolute;
    right: 0;
    font-weight: 900;
    top: 0;
    letter-spacing: -5px;
    z-index: -1;
}


.stats-card.gold .badge-score, .stats-card.silver .badge-score, .stats-card.bronze .badge-score {
    margin: 3px 18px 6px 50px;
    font-size: 88px;
}

.badge-filter {
    position: absolute;
    margin: -64px 0 0 -12px;
    /* width: 120px; */
    transition: all 1.5s cubic-bezier(.63, 0, .78, .71);
    opacity: 1;
    /* background: #333; */
    padding: 4px 12px;
    border-radius: 8px;
    /* opacity: 0;
    pointer-events: none; */
}

#no-results {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 100;
    margin-top: 100px;
}

.badge-filter label {
margin: 0px 0 0 0;
    opacity: 0.4;
    display: block;

}

.badge-filter select {
    filter: invert(1);
    opacity: 0.6;
    width: 140px;
    padding: 0;
    border-radius: 4px;
    border: none;
    background: transparent;
    margin: -5px;
    outline: none;
}

/* RESPONSIVE */

/* less than 1600px */
@media (max-width: 1600px) {
    .viewer {}

}

/* less than 1290px */
@media (max-width: 1290px) {
    .viewer {
        width: calc(100vw - 50px);
    }

    #prevBtn, #profileBtn {
        left: -10px;
    }

    #nextBtn, #shareBtn {
        right: -17px;
    }
}

/* less than 1024px */
@media (max-width: 1024px) {

    .viewer, .viewer.show {
        top: 80px;
        z-index: 999999999;
    }

    .viewer.show {
        transform: translate(-50%, 0);
        top: 80px;
        height: calc(100vh - 145px);
        padding: 0;
    }

    .item-info {
        margin: 30px 0 0 30px;
    }

    .avatar-title {
        margin: 0px 0 0 -20px;
        position: fixed;
        top: 1%;
    }

    .item-info .marketplace-button {
        /*position: fixed;
         margin: -38px 38px 0 0;
        right: 0;
        padding: 15px 16px 12px;  */
        position: fixed;
        left: -17px;
        right: unset;
        margin: 78px 8px 0 0;
        transform: scale(.74);
    }

    .viewer iframe {
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        margin-top: -5px;
    }

    body.iframed {
        overflow: hidden;
        padding: 0;
    }

    img.avatar-image {
        max-width: 100%;
        border-radius: 0;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        background-color: #000;
    }

    .search-bar input, .search-bar-stats input {
        font-size: 0.8rem;
        width: 82px;
    }

   

    .topbar h1 {
        font-size: 13px;
        letter-spacing: 0.2em;
    }


}

/* INSIDE IFRAME - less than 800px */
@media (max-width: 800px) {

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .nft-card {
        min-height: 100px;
        min-width: 100px;

    }


    .stats-card.gold {
        background: linear-gradient(135deg, #000 60%, #6e5800 100%);
    }

    .stats-card.silver {
        background: linear-gradient(135deg, #000 60%, #636363 100%);
    }

    .stats-card.bronze {
        background: linear-gradient(135deg, #000 60%, #6c3e11 100%);
    }

    .stats-thumb, .stats-card.gold .stats-thumb, .stats-card.silver .stats-thumb, .stats-card.bronze .stats-thumb {
        width: 40px;
        height: 60px;
    }

    .stats-card.gold .stats-badge-icon, .stats-card.silver .stats-badge-icon, .stats-card.bronze .stats-badge-icon {
        width: 30px;
        height: 30px;
    }

    .badge-score, .stats-card.gold .badge-score, .stats-card.silver .badge-score, .stats-card.bronze .badge-score {
        margin: 0 6px 0 0;
        font-size: 18px;
        letter-spacing: 0px;
        top: 1px;
        position: absolute;
        filter: brightness(1.3);
    }

    .stats-info .stats-card.gold .stats-info, .stats-card.silver .stats-info, .stats-card.bronze .stats-info {
        margin: -8px -4px -5px;
    }

    .stats-card.gold, .stats-card.silver, .stats-card.bronze {
        margin-bottom: 0.5rem;
    }

    .stats-info h3 {
        display: inline;
    }

    .stats-card {
        padding: 8px 8px 14px;
    }

    .stats-card.ghost {
        font-size: 18px;
        color: #666;
        height: auto;
        padding: 18px;

    }

    .asset-panel img.x1,
    .asset-panel img.x2,
    .asset-panel img.x3,
    .asset-panel img.x4,
    .asset-panel img.x5,
    .asset-panel img.x6 {
        max-width: 150px;
    }

    .asset-panel img,
    .asset-panel img.x12 {
        max-width: 100px;
    }


    #prevBtn, #nextBtn, #shareBtn {
        margin-top: 40%;
        background: #000;
    }

    #statsBtn {
        margin: 0;
    }

    #prevBtn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        left: -17px;
    }

    #nextBtn {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        right: -25px;
    }

    #shareBtn {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        right: -25px;
        margin-top: 25%;
    }



    .item-info  .marketplace-button {
        position: fixed;
        left: -37px;
        right: unset;
        margin: 178px 8px 0 0;
        transform: scale(.5);
        padding: 8px 8px 8px 18px;
        border-radius: 50%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin: 85px 8px 0 0;
        margin-top: 22%;
        filter: saturate(0) contrast(40);
        background: black;
    }

    #profileBtn
    {
            position: fixed;
    right: 20px;
    top: -98px;
    left: unset;
    background: #000;
    transform: scale(0.8);

  
    }

    .marketplace-button:hover {
        background: #fff;
    }

    .marketplace-button:hover svg {
        filter: invert(1) saturate(0) contrast(40);
    }

    #closeViewerBtn {
        margin: -47px -18px 0 0;
        right: 0;
    }

    .profilepic-holder {
        width: 100%;
        height: auto;
    }

    .avatar-title span {
        display: none;
    }

    #load-text {
        display: none;
    }

    .badge-filter, .search-bar-stats {
        display: none;
    }
}

/* INSIDE IFRAME - less than 500px */
@media (max-width: 500px) {

    .asset-panel img.x1,
    .asset-panel img.x2,
    .asset-panel img.x3,
    .asset-panel img.x4,
    .asset-panel img.x5,
    .asset-panel img.x6 {
        max-width: 80px;
    }

    .asset-panel img, .asset-panel img.x12 {
        max-width: 50px;
    }

    .inventory-holder {
        height: calc(100vh - 390px);
        min-height: 100px;
        /* background: red; */
        /* max-height: 500px; */
    }

    .inventory-header {
        flex-wrap: wrap;
    }


    .inventory-header p {
        font-size: 11px;
        right: -35px;
        position: absolute;
        margin: 45px 0 0 0;

    }

    .notification-bar.nested {
        left: -20px;
    }

    .inventory .hexloader {
        /* top: 145px; */
        transform: scale(0.2) !important;
    }

    .deploy-status {
        display: none;
    }

    #leaderboard h1 {
        font-size: 13px;
    }

    .inventory-tabs {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        justify-content: end;
        padding: 0 0 10px 0;
        margin: -25px 0 20px 0;
    }

    ul.asset-list li.nft-item img {
        height: 75px;
        width: 75px;
    }

    ul.asset-list li.erc-20 {
        height: 57px;
        width: 50px;
        margin: 0px 6px 0;
    
    }

    ul.asset-list li.erc-20::before {
        transform: translateY(-40px);
    }

    .erc-20 .title {
        font-size: 15px;
                margin-top: -20px;
    }

    .erc1155 .title, .erc721 .title {
        max-width: 77px;
    }

    .item-actions {
        gap: 5px;
        width: 69px;
        padding: 2px 4px;
        flex-direction: column;
    }

     .erc-20 .item-actions {
        width: 78px;
    }

    .item-actions .mini {
        padding: 8px;
    }

    #inventory-list li#hidden-toggle-li {
        top: 75px;
    }

    .send-panel {
        bottom: unset;
        top: 88px;
        z-index: 9999999;
        position: fixed;
    }

    .copy-btn {
        right: 157px;
    }
    .hero-card {
               margin: -40px -36px 10px -36px;
    }

   img.avatar-image, img.avatar-image.fade-out {
                transition: all 2s ease;
                        margin: 10px 0 -10px 0;
                         transform: scale(0.8);
    }
 


    img.avatar-image.fade-in {
            transform: scale(0.8);
            border-radius: 12px;
             transition: all 2s ease;
             
    }
        .avatar-title {
              margin:8px 0 0 -28px;
        text-align: center;
        width: 100%;
        }

            #closeViewerBtn {
        margin: -27px -11px 0 0;
        padding: 3px 8px;
    }
        #profileBtn {
        position: fixed;
        right: unset;
        top: -82px;
        left: -15px;
        transform: scale(0.8);
    }
        .viewer.show {
        top: 50px;
        box-shadow: 0 30px 0 25px #000;
    }
        .profilepic-holder {
        width: 100%;
        height: auto;
        margin-bottom: -5px;
    }
   

}