body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: "Jersey 10";
    text-shadow: 0 0 5px #000;
}
input, button{
    font-family: "Jersey 10";
}
button {
    font-size: 15px;
}


canvas {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

article{
    height: 90vh;
    z-index: 1;
    position: relative;
}
.lead{
    text-align: center;
    padding: 0 40px;
}
.lead h1{
    font-size: 80px;
    padding: 0;
    margin: 0;
}
.lead p{
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.lead .token__price{
    font-size: 26px;
    color: #5dffc3;
}

.lead .token__mc{
    font-size: 26px;
    color: #5dffc3;
    margin: 0;
}

.lead .token__mc-label{
    opacity: 0.7;
    font-size: 18px;
}

.token__mc.up .token__price{
    color: #5dffc3;
    text-shadow: 0 0 12px #5dffc3;
}

.token__mc.down .token__price{
    color: #ff6b6b;
    text-shadow: 0 0 12px #ff6b6b;
}

.buy__layer{
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.fx__pop{
    padding: 12px 18px;
    border: 2px solid #5dffc3;
    border-radius: 8px;
    background: rgb(0 0 0 / 82%);
    box-shadow: 0 4px 24px rgb(0 0 0 / 90%), 0 0 12px rgb(93 255 195 / 25%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.6s ease;
}

.fx__pop--buy{
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.fx__pop--buy.out{
    opacity: 0;
}

.fx__pop--notify{
    position: relative;
    max-width: min(360px, 88vw);
    opacity: 0;
    transform: translateX(120%);
}

.fx__pop--notify.in{
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fx__pop--notify.out{
    opacity: 0;
    transform: translateX(120%);
}

.fx__txt{
    display: block;
    font-family: "Courier New", "MS Gothic", monospace;
    font-weight: 700;
    color: #5dffc3;
    letter-spacing: 0.06em;
    text-shadow:
        0 0 2px #000,
        0 0 8px rgb(93 255 195 / 80%),
        0 2px 4px #000,
        0 0 20px rgb(93 255 195 / 40%);
    -webkit-text-stroke: 1px rgb(0 0 0 / 60%);
}

.fx__pop--buy .fx__txt{
    font-size: clamp(28px, 5vw, 52px);
    white-space: nowrap;
}

.fx__pop--notify .fx__txt{
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.35;
    word-break: break-word;
}

.lead .token__name{
    font-size: 22px;
    margin-bottom: 8px;
    opacity: 0.85;
}

.online__bar{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    height: 52px;
    margin: 0;
    padding: 0 22px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Jersey 10", sans-serif;
    font-size: 32px;
    line-height: 1;
    color: #5dffc3;
    background: #0a0a0a;
    border: 2px solid #5dffc3;
    border-radius: 999px;
    box-shadow: 0 0 24px rgb(93 255 195 / 30%);
    text-shadow: none;
    white-space: nowrap;
}

.online__dot{
    width: 10px;
    height: 10px;
    margin-top: 2px;
    border-radius: 50%;
    background: #5dffc3;
    box-shadow: 0 0 8px #5dffc3, 0 0 16px #5dffc3;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.online__text{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.04em;
}

.online__count{
    font-size: inherit;
    font-weight: normal;
}

.online__count.bump{
    animation: bump 0.3s ease;
}

@keyframes pulse{
    0%, 100%{ opacity: 1; }
    50%{ opacity: 0.5; }
}

@keyframes bump{
    0%{ transform: scale(1); }
    50%{ transform: scale(1.2); }
    100%{ transform: scale(1); }
}

.notify__stack{
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 12;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: min(360px, 88vw);
    pointer-events: none;
}

.room__user{
    font-size: 14px;
    color: #5dffc3;
    margin: 0 0 8px 0;
}

.room__label{
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin: 8px 0 4px 0;
}

.socials{
    margin: 20px 0;
    padding: 0;
}
.socials li{
    list-style: none;
    display: inline-block;
}
.socials a{
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #2a2a2a;
    display: inline-block;
    padding: 5px;
    border:Solid 2px #fff;
    border-radius: 5px;
}
.socials img{
    width: 20px;
}

.socials .x-icon img{
    filter: brightness(0) invert(1);
}

.dextools img{
    height: 20px;
}

footer{
    position: relative;
    z-index: 1;
    height: 10vh;
}
.prompt__wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 20px 0 0 0;
}

.prompt__wrap input{
    width: 600px;
    padding: 5px;
}
.prompt__wrap button{
    width: 100px;
    padding: 5px 0;
    margin: 0 0 0 10px;
}

.prompt__detail{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.prompt__detail h2{
    font-size: 30px;
    margin: 0;
    padding: 0;
}
.prompt__detail h3{
    font-size: 25px;
    margin: 0;
    padding: 0;
}

.backrooms button{
    background-color: #5dffc3;
    color: #000;
    font-size: 20px;
    border: 2px solid #5dffc3;
    box-shadow: 0 0 16px rgb(93 255 195 / 35%);
}

.result__wrap{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 30;
    width: 100%;
    min-height: 100%;
    background-color: rgb(0 0 0 / 88%);
    display: none;
}
.result__wrap .close button,
.backrooms__close,
.backrooms__scroll{
    position: fixed;
    right: 0;
    top: 0;
    margin: 15px;
    font-size: 20px;
    z-index: 31;
}

.prompt__title{
    font-size: 40px;
    text-align: center;
    margin: 20px 0 0 0;
}
.result__content{
    padding: 0 20px;
    text-align: center;
}
.result__content pre{
    font-size: 20px;
    text-align: center;
    text-wrap: inherit;
}
.result__content img{
    margin: 20px 0 0 0;
    width: auto;
    height: 80vh;
}
.result__content video{
    margin: 20px 0 0 0;
    width: auto;
    height: 80vh;
}
.result__content iframe{
    width: 100%;
    min-height: 85vh;
    background-color: #fff;
}
.openwebsite{
    color: #fff;
    font-size: 30px;
}

.backrooms__close{
    position: fixed;
}
.backrooms__scroll{
    position: fixed;
    margin-right: 80px;
}

.prompt__loading{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / 92%);
}

.term{
    width: min(520px, 92vw);
    border: 2px solid #5dffc3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 40px rgb(93 255 195 / 20%);
    text-align: left;
    font-family: "Courier New", Courier, monospace;
    text-shadow: none;
}

.term__head{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #111;
    border-bottom: 1px solid #333;
}

.term__head span:nth-child(1){
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}
.term__head span:nth-child(2){
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #febc2e;
}
.term__head span:nth-child(3){
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28c840;
}

.term__title{
    margin-left: auto;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.term__body{
    padding: 20px 18px 18px;
    background: #0a0a0a;
}

.term__line{
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #aaa;
    line-height: 1.5;
}

.term__active{
    color: #5dffc3;
    margin-bottom: 16px;
}

.term__cur{
    animation: blink 1s step-end infinite;
}

@keyframes blink{
    50%{ opacity: 0; }
}

.term__bar{
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #5dffc3;
    letter-spacing: 0.08em;
    overflow: hidden;
    white-space: nowrap;
}

.term__fill{
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    vertical-align: bottom;
    animation: termLoad 2.4s steps(10) infinite;
}

@keyframes termLoad{
    0%{ max-width: 0; }
    50%{ max-width: 10ch; }
    100%{ max-width: 0; }
}

.term__track{
    color: #444;
}

.term__hint{
    margin: 0;
    font-size: 12px;
    color: #666;
}

body.overlay-open .online__bar{
    opacity: 0;
    pointer-events: none;
}

.backrooms__wrap{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 35;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: rgb(0 0 0 / 65%);
}

.backrooms__refresh{
    font-size: 30px;
}

.rooms__items{
    width: 100%;
    padding: 0 20px 40px;
    box-sizing: border-box;
    text-align: center;
    margin: 30px 0 0 0;
    background-color: rgb(0 0 0 / 85%);
}

.room__item{
    border:dashed 2px #fff;
    margin: 0 0 20px 0;
    padding: 5px 20px;
}
.room__item strong{
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: normal;
}
.room__item p{
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.room__item img{
    width: auto;
    height: 400px;
}

.chart__wrap{
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    z-index: -1;
}

.loader {
    display: inline-flex;
    border: 2px solid #fff;
    --c:no-repeat linear-gradient(#fff 0 0) 50%;
    background:
      var(--c) calc(50% - 5px)/5px 5px,
      var(--c) calc(50% + 5px)/5px 5px;
      transform: scale(2);
      position: relative;
      top:-30px;
  }
  .loader::before,
  .loader::after {
    content: "12 00 23 40 31 45 60 17 45 32 29 42 50 08 14 07 46 11 03 55";
    font-size: 30px;
    font-family: monospace;
    font-weight: bold;
    line-height: 1em;
    height: 1em;
    width: 2ch;
    color: #fff0;
    text-shadow: 0 0 0 #fff;
    overflow: hidden;
    margin: 5px 10px; 
    animation: l3 1s steps(20) infinite;
  }
  .loader::before {
    animation-duration: 1.5s;
  }
  @keyframes l3 {
    100% {text-shadow: 0 -20em 0 #000}
  }

@media (max-width: 991px) {
    .lead h1{
        font-size: 50px;
        margin: 20px 0 0 0;
    }
    .socials{
        margin: 10px 0;
    }
    .lead p{
        font-size: 16px;
    }

    .prompt__wrap input{
        width: 65%;
        padding: 5px;
        font-size: 16px;
    }
    .prompt__wrap button{
        width: 20%;
        padding: 5px;
    }
    .example .button_list{
        margin: 0 auto;
    }
    .example button{
        width: 32.5%;
    }
    .prompt__title{
        margin: 50px 0 0 0;
        font-size: 25px;
        padding: 0 20px;
    }
    .result__content img{
        width: 100%;
        height: auto;
    }

    .result__content video{
        height: auto;
        width: 100%;
    }
    .result__content pre{
        font-size: 15px;
    }
    .loader{
        transform: scale(1);
        position: static;
    }
    .term__body{
        padding: 16px 14px;
    }
    .term__line,
    .term__active{
        font-size: 13px;
    }
    .rooms__items{
        padding: 20px;
        box-sizing: border-box;
    }
    .room__item img{
        width: 100%;
        height: auto;
    }
    .backrooms__wrap h2{
        font-size: 40px;
        margin: 40px 0 0 0;
        padding: 0;
    }
    .room__item strong{
        font-size: 25px;
        padding: 0 20px;
    }
    .room__item p{
        padding: 0 20px;
        word-break: break-all;
        font-size: 16px;
    }
    .result__content iframe{
        min-height: 75vh;
    }


    .chart__wrap{
        width: 100%;
        position: static;
        background: rgb(0 0 0 / 24%);
    }

    .notify__stack{
        right: 8px;
        bottom: 8px;
        max-width: 260px;
    }

    .online__bar{
        top: 12px;
        right: 12px;
        left: auto;
        height: 44px;
        padding: 0 16px;
        font-size: 22px;
        gap: 10px;
        z-index: 10;
    }

    .online__dot{
        width: 8px;
        height: 8px;
    }

}