html {
}

.shade-top {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, black, transparent);
    top:0;
}
.shade-bottom {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(0deg, black, transparent);
    bottom:0;
}

.page {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    z-index: 100;
    background-color: black;
    overflow-y: auto !important;
}

.header {
    position: fixed;
    top:0;
    width: 100%;
    padding: 16px;
    padding-top:96px;
    z-index: 100;
    display: flex;
    gap:8px;
    
}

.currency-block {
    padding: 8px 16px;
    display: flex;
    gap:4px;

    background-color: black;
    border-radius: 32px;
    border:1px solid rgba(255, 255, 255, 0.315);
    align-items: center;
}

.currency-block-icon {
    background-size: cover;
    width: 20px;
    height: 20px;
}

.ton-logo {
    background: url(../images/currency/ton.png);
    background-size: cover;
}
.usdt-logo {
    background: url(../images/currency/usdt.png);
    background-size: cover;
}
.cube-logo {
    background: url(../images/currency/voxel.png);
    background-size: cover;
}
.cube-logo-black {
    background: url(../images/currency/voxel-black.png);
    background-size: cover;
}


.voxel-logo {
    background: url(../images/currency/voxel.png);
    background-size: cover;
}
.voxel-logo-black {
    background: url(../images/currency/voxel-black.png);
    background-size: cover;
}
.voxel-logo-white {
    background: url(../images/currency/voxel-white.png);
    background-size: cover;
}


.ads-logo {
    background: url(../images/currency/ads.png);
    background-size: cover;
}
.ads-logo-black {
    background: url(../images/currency/ads-black.png);
    background-size: cover;
}
.ads-logo-white {
    background: url(../images/currency/ads-white.png);
    background-size: cover;
}

.emerald-logo {
    background: url(../images/currency/emerald.png);
    background-size: cover;
}
.emerald-logo-black {
    background: url(../images/currency/emerald-black.png);
    background-size: cover;
}
.emerald-logo-white {
    background: url(../images/currency/emerald-white.png);
    background-size: cover;
}


.diamond-logo {
    background: url(../images/currency/diamond.png);
    background-size: cover;
}
.diamond-logo-black {
    background: url(../images/currency/diamond-black.png);
    background-size: cover;
}
.diamond-logo-white {
    background: url(../images/currency/diamond-white.png);
    background-size: cover;
}

.vmr-logo {
    background: url(../images/currency/vmr.png);
    background-size: cover;
}
.vmr-logo-black {
    background: url(../images/currency/vmr-black.png);
    background-size: cover;
}
.vmr-logo-white {
    background: url(../images/currency/vmr-white.png);
    background-size: cover;
}


.svoxel-logo {
    background: url(../images/currency/svoxel.png);
    background-size: cover;
}
.svoxel-logo-black {
    background: url(../images/currency/svoxel-black.png);
    background-size: cover;
}
.svoxel-logo-white {
    background: url(../images/currency/svoxel-white.png);
    background-size: cover;
}

.stars-logo {
    background: url(../images/currency/stars.png);
    background-size: cover;
}
.stars-logo-black {
    background: url(../images/currency/stars-black.png);
    background-size: cover;
}
.stars-logo-white {
    background: url(../images/currency/stars-white.png);
    background-size: cover;
}
.vstars-logo {
    background: url(../images/currency/vstars.png);
    background-size: cover;
}
.vstars-logo-black {
    background: url(../images/currency/vstars-black.png);
    background-size: cover;
}
.vstars-logo-white {
    background: url(../images/currency/vstars-white.png);
    background-size: cover;
}

.ton-logo {
    background: url(../images/currency/ton.png);
    background-size: cover;
}
.ton-logo-black {
    background: url(../images/currency/ton-black.png);
    background-size: cover;
}
.ton-logo-white {
    background: url(../images/currency/ton-white.png);
    background-size: cover;
}

.model-progress-panel {
    position: absolute; bottom: 0; width: calc(100% - 32px); bottom: 86px;
    height: 80px;

    align-items: center;
    background-color: #1c1c1e;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    
    gap: 16px;
    height: 64px;
    padding: 0 16px;
    overflow: hidden;
}

.model-build-start {
    position: absolute;
    width: calc(100% - 32px);
    bottom: 86px;
    height: 80px;
    align-items: center;
    background-color: white;
    color:black;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
    height: 64px;
    padding: 0 16px;
    overflow: hidden;
}

.model-build-start:hover {
    cursor: pointer;
}

.model-progress-value {
    background-color: rgb(0, 255, 115);
    position: absolute;
    height: 100%;
    width: 20%;
    left: 0;

    /* transition: width ease-in-out 0.2s; */
}

.model-progress-blocks-content {
    z-index: 100;
    padding: 5px 16px;
    background-color: #1c1c1e;
    border-radius: 32px;
}


.modal {
    position: fixed;
    bottom: 0;
    width: 100%;

    background-color: #1c1c1e;

    border-radius: 16px 16px 0 0;
    padding: 32px 16px 32px 16px;
    z-index: 11000;
}

.build-model-modal {
    
    padding-top:88px !important;
    zoom: 0.8 !important;
}
.build-model-modal .render {
    width: calc(100% - 32px);
    height: 300px;

    position: absolute;
    top:-164px;
    pointer-events: none;
    /* background-color: white; */
}

.modal-background {
    position: absolute;
    left:0;
    top:0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* Fallback */
    -webkit-backdrop-filter: blur(2px) brightness(40%);
    backdrop-filter: blur(2px) brightness(40%);
    z-index: 10000;
}

.flex {
    display:flex;
}

.model-specs {
    gap:8px;
    margin-left:-4px;
}

.model-rarity {
    
    padding: 8px 16px;
    border-radius: 32px;
}
.model-pvp {
    padding: 0px 12px;
    border-radius: 32px;
    display: flex
;
    justify-content: center;
    align-items: center;
}

.relative {
    position: relative;
}

.full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-slider {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.425);
    width: 100%;
    border-radius: 16px;
}
.float-value {
    height: 4px;
    background-color: white;
    width: 30%;
    border-radius: 16px;
}

.float {
    margin-top:8px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #5d5d5d;
}

.build-model-modal .hash {
    height: 48px;
    background-color: black;
    border: 1px solid #6f6f6f;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    font-size: 10pt;
}

.topup-modal .address {
    height: 48px;
    background-color: black;
    border: 1px solid #6f6f6f;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    border-radius: 16px 16px 0 0;
    font-size: 9pt;
    position: relative;
    z-index: 100;
}

.sell:hover {
    cursor: pointer;
}

.item-actions {
    justify-content: center;
    gap:16px
}

.item-actions button {
    height: 48px;

    border-radius: 16px;
    border: none;
    font-weight: 600;
}

.item-actions .sell {
    background-color: black;
    flex: 1 1 auto;
    color:white
}

.item-actions .upgrade-pvp {
    flex: 2 1;
    background-color: #ffffff12;
    border: 1px solid white;
    border-style: dashed;
    color: white;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
}
.item-actions .upgrade-nft {
    flex: 2 1;
    background-color: #ffffff12;
    border: 1px solid white;
    border-style: dashed;
    color: white;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
}
.item-actions .pvp {
    flex: 1 1;
    background-color: #ffffff;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
}

.item-actions .save {
    background-color: white;
    flex: 1 1 auto;
}


.item-actions .farm-upgrade {
    background-color: black;
    flex: 1 1 auto;
    color:white;
    display: flex;
        gap: 10px;
        justify-content: center;
        background: linear-gradient(45deg, #ff9b00, #ffeb00);border: 1px solid #000000;
        align-items: center;
}


.item-actions .farm-upgrade .currency-block {
    padding: 0px 12px;
    font-size: 10pt;
    height: 32px;
}



#main-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
}



.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}



.middle-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inventory-content {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 128px;
    padding: 0 !important;
}

.inventory-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    padding: 0 !important;
}

.inventory-item:hover{
    cursor: pointer;
}

.inventory-item-icon{
    
    background-color: #1e1e1e;
    border-radius: 16px;
    position: relative;
}

.inventory-item canvas {
    width: 100%;
    height: 150px;
    position: relative;
    z-index: 10;
}

.inventory-page .item-info {
    padding: 12px;
    border: 2px solid #1e1e1e;
    border-radius: 0 0 16px 16px;
    margin-top: -16px;
    padding-top: 32px;
}
.inventory-page .item-info h4 {
    margin-bottom: 4px;
    margin-top:4px;
}

.inventory-page .item-specifications {
    display: flex;
    /* gap:2px; */
    flex-direction: column;
}

.inventory-page .specification-line {
    display: flex;
    justify-content: space-between;
    font-size: 10pt;
}

.inventory-page .specification-line .key {
    opacity: 0.5;
}

.inventory-page .inventory-item-pending {
    background: #ffffff1f;
    height: 36px;
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.inventory-page .inventory-item-claim {
    background: #ffffff2e;
    color:white;
    height: 36px;
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border: 1px solid white;
    font-size: 10pt;
    gap: 4px;
}
.inventory-page .inventory-item-instant-claim {
    background: #ff00002e;
    color:white;
    height: 36px;
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border: 1px solid rgb(255, 0, 0);
    font-size: 10pt;
    gap: 4px;
}

.inventory-page .inventory-item-pending-process {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: #ffffff2e;
}

.inventory-page .inventory-item-pending-time {
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.inventory-item-icon h4 {
    position: absolute;
    bottom: -18px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    padding: 2px 16px;
    background-color: #ffe000;
    border-radius: 32px;
    color: black;
    border: 6px solid black;
    font-size: 10pt;
    white-space: nowrap;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.inventory-item-collect {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: #0000003d;
    z-index: 100;
    border-radius: 16px;
    border: 2px solid #717171;
    -webkit-backdrop-filter: blur(2px) brightness(40%);
    backdrop-filter: blur(6px) brightness(40%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.inventory-item-collect .summ {
    font-size: 24pt;
    font-weight: 600;
}

.inventory-item-collect .hint {
    font-size: 9pt;
    font-weight: 200;
    position: absolute;
    bottom: 10px;
    opacity: 0.5;
}

.prompt-modal .flex {
    flex-direction: column;
    gap:16px;
}

.prompt-modal button:hover {
    cursor: pointer;
}

.prompt-modal button {
    height: 48px;

    border-radius: 16px;
    border: none;
    font-weight: 600;
    background-color: white;
    color: black;
}

.prompt-modal input {
    height: 48px;
    border-radius: 16px;
    border: none;
    background-color: black;
    color:white;
    text-align: center;
}
.prompt-modal input::placeholder {
    color:rgba(255, 255, 255, 0.527);
}



.topup-modal .flex {
    flex-direction: column;
    gap:16px;
}

.topup-modal button:hover {
    cursor: pointer;
}

.topup-modal .close {
    height: 48px;
    border-radius: 16px;
    border: none;
    font-weight: 600;
    background-color: #ffffff17;
    color: #ffffff;
}

.topup-modal input {
    height: 48px;
    border-radius: 16px;
    border: none;
    background-color: black;
    color:white;
    text-align: center;
}
.topup-modal input::placeholder {
    color:rgba(255, 255, 255, 0.527);
}

.topup-modal .copy-address {
    display: flex;
    justify-content: center;
    gap: 8px;
    background-color: white;
    color: black;
    border-radius: 0 0 16px 16px;
    padding-top: 16px;
    height: 64px;
    margin-top: -32px;
    margin-bottom: 20px;
    align-items: center;
    font-weight: 600;
}

.instant-sell:hover {
    cursor: pointer;
}

.topup-modal .copy-address:hover {
    cursor: pointer;
}

.topup-modal .address {
    position: relative;
    z-index: 100;
}

.flex.price-inputs {
    display: flex;
    justify-content: space-between; /* Ensures space between the inputs */
    align-items: center; /* Centers vertically */
    width: 100%; /* Ensures full width */
    gap: 10px; /* Optional: Adjust spacing between inputs */
}

.flex.price-inputs input {
    flex: 1; /* Allows inputs to evenly share space */
    min-width: 64px; /* Prevents them from shrinking too much */
    height: 48px;
    border-radius: 16px;
    background-color: black;
    border: none;
    color:white;
    text-align: center;
}
.flex.price-inputs input::placeholder {
    text-align: center;
    color:rgba(255, 255, 255, 0.596);
}

.flex.price-inputs .voxel-summ {
    background-image: url(../images/currency/voxel-white.png);
    background-repeat: no-repeat;
    background-position: right 10px center; /* Positions the icon inside */
    background-size: 24px 24px;
    padding-right: 35px; /* Prevents text from covering the icon */
    background-color: black;
}

.flex.price-inputs .ton-summ {
    background-image: url(../images/currency/ton.png);
    background-repeat: no-repeat;
    background-position: right 10px center; /* Positions the icon inside */
    background-size: 24px 24px;
    padding-right: 35px; /* Prevents text from covering the icon */
    background-color: black;
}

input.ton-summ {
    background-image: url(../images/currency/ton.png);
    background-repeat: no-repeat;
    background-position: right 10px center; /* Positions the icon inside */
    background-size: 24px 24px;
    /* padding-right: 35px; */
    background-color: black;
}

.sell-container {
    display: flex;
    flex-direction: column;
    gap:8px;
}

.marketplace-border {
    gap: 8px;
    flex-direction: column;
    border: 1px solid white;
    padding: 8px;
    border-radius: 16px;
    border-style: dashed;
}

.marketplace-sell {
    height: 48px;

    border-radius: 16px;
    border: none;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color:black
}
.marketplace-sell:hover {
    cursor: pointer;
}

.marketplace-sell.disabled {
    background-color: rgba(255, 255, 255, 0.486);
}

.instant-sell {
    height: 48px;

    border-radius: 16px;
    border: none;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color:white;
    gap:8px;
}
.instant-sell .cube-logo {
    width: 24px;
    height: 24px;
}





.marketplace-content {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 128px;
    padding: 0 !important;
}

.marketplace-item {
    flex: 1 1 calc(50% - 10px);
    padding: 0 !important;
}

.marketplace-item:hover{
    cursor: pointer;
}

.marketplace-item-icon{
    
    background-color: #1e1e1e;
    border-radius: 16px;
    position: relative;
}

.marketplace-item canvas {
    width: 100%;
    height: 150px;
    
    position: relative;
    z-index: 10;
}

.marketplace-page .item-info {
    padding: 12px;
    border: 2px solid #1e1e1e;
    border-radius: 0 0 16px 16px;
    margin-top: -16px;
    padding-top: 32px;
    padding-bottom: 48px;
    position: relative;
    z-index: 0;
    border-top:none;
}
.marketplace-page .item-info h4 {
    margin-bottom: 4px;
    margin-top:4px;
}

.marketplace-page .item-specifications {
    display: flex;
    /* gap:2px; */
    flex-direction: column;
}

.marketplace-page .specification-line {
    display: flex;
    justify-content: space-between;
    font-size: 10pt;
}

.marketplace-page .specification-line .key {
    opacity: 0.5;
}

.marketplace-page .marketplace-item-pending {
    background: #ffffff1f;
    height: 42px;
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.marketplace-page .marketplace-item-price {
    /* background: white; */
    /* height: 36px; */
    border-radius: 12px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap: 4px;
    /* background-color: black; */
    margin: 0;
}

.marketplace-item-price-ton {
    color: #26abf3;

}
.marketplace-item-price-voxel {
    color: white;
}

.marketplace-page .marketplace-item-price .logo {
    width: 16px;
    height: 16px;
}

.marketplace-page .marketplace-item-pending-process {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: #ffffff2e;
}

.marketplace-page .marketplace-item-pending-time {
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.marketplace-item-icon h4 {
    position: absolute;
    bottom: -18px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    padding: 2px 16px;
    background-color: #ffe000;
    border-radius: 32px;
    color: black;
    border: 6px solid black;
    font-size: 10pt;
    white-space: nowrap;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.marketplace-page .search {
    padding: 16px 16px;
    border: 1px solid #ffffff42;
    background-color: black;
    margin-bottom: 16px;
    width: calc(100% - 128px);
    border-radius: 16px;
    color: white;
}

.marketplace-item-prices {
    display: flex;
    gap: 10px;
    font-size: 10pt;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    /* border-top: 4px solid #646464; */
    /* border: 2px solid #646464; */
    border-radius: 16px;
    position: absolute;
    /* background-color: #000000; */
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    min-width: calc(100% - 24px);
    flex-wrap: wrap;
}

.marketplace-item-remove-own {
    padding: 4px;
    display: flex
;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff0076;
    border-radius: 16px;
    background-color: #ff00762e;
    color: #ff0076;
    font-size: 10pt;
    margin-top: 8px;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: start;
}

.page-header .text {
    display: flex;
    flex-direction: column;
}

.page-header h4 {
    margin:0;
    color: #c4f85c;
    font-weight: 500;
    font-size: 10pt;
    line-height: 16px;
}
.page-header h2 {
    margin:0;
}

.marketplace-page p {
    font-size: 10pt;
    line-height: 18px;
    margin-top:8px;
    padding: 16px;
    border: 1px solid #c4f85c;
    border-radius: 16px;
    background-color: #c4f85c29;
    color: #c4f85c;
}

.marketplace-page .banner {
    background: url(../images/marketplace-tutor.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 150px;
}

.inventory-page .banner {
    background: url(../images/inventory-tutor.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 150px;
}

.friends-page .referral-block-specs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.friends-page .referral-block-spec {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.friends-page .referral-block-spec .key {
    color:rgba(255, 255, 255, 0.726);
    font-size: 10pt;
}
.friends-page .referral-block-spec .value {
    color:#c4f85c;
    font-size: 10pt;
}

.marketplace-actions {
    gap:8px;
    align-items: center;
}
.marketplace-action {
    flex: 1 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    border-radius: 16px;
    gap:8px;
}

.marketplace-action:hover {
    cursor: pointer;
}

.marketplace-action.ton {
    background: linear-gradient(45deg, #049aea61, #49bdfc4f);
    border: 1px solid #1ca7f1;
}

.marketplace-action.voxel {
    background-color: black;
    border: 1px solid #ffffff9e;
}



.invoice-actions {
    gap:8px;
    align-items: center;
}
.invoice-action {
    flex: 1 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    border-radius: 16px;
    gap:8px;
}

.invoice-action:hover {
    cursor: pointer;
}

.invoice-action.ton {
    background: linear-gradient(45deg, #049aea61, #49bdfc4f);
    border: 1px solid #1ca7f1;
}

.invoice-action.voxel {
    background-color: black;
    border: 1px solid #ffffff9e;
}

.invoice-action.diamond {
    background: linear-gradient(45deg, #04cfea1c, #4997fc26);
    border: 1px solid #00b7ff9e;
}
.invoice-action.stars {
    background: linear-gradient(45deg, #dbea041c, #fcc34926);
    border: 1px solid #f1b81c;
}

.invoice-action.emerald {
    background: linear-gradient(45deg, #17dd622b, #17dd622b);
    border: 1px solid #19d15d;
}

.uniqueness-block {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20px;
    right: 8px;
    justify-content: right;
    text-align: right;
    z-index: 100;
    text-shadow: 0px 3px black;
}

.uniqueness-block .label {
    font-size: 7pt;
    line-height: 4px;
}
.uniqueness-block .unique {
    font-size: 14pt;
    font-weight: 800;
}



.like-block {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 20px;
    left: 8px;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 8pt;
    gap: 4px;
    opacity: 0.5;
}

.like-block .label {
    font-size: 7pt;
    line-height: 4px;
}
.like-block .likes {
    font-size: 14pt;
    font-weight: 800;
}

.alert:hover{
    cursor: pointer;
}

canvas#main-canvas:hover {
    cursor: cell;
}

tc-root .s-enter-active {
    z-index: 50000 !important;
}

tc-root {
    z-index: 50000 !important;
}



.ton-connect-button {
    display: flex;
    padding: 0px 0 32px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-top:16px
}

.build-menu-modal .content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between elements */
    width: 100%;
    border-radius: 16px;
}

.build-menu-modal .option {
    height: 120px; /* Adjust as needed */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid white;
}

.build-menu-modal .option:first-child {
    width: 100%;
    border: 2px solid white;
    background-color: #ffffff00;
    border-style: dashed;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.build-menu-modal .option .screen {
    position: absolute;
    width: 100%;
    height: 100%;
}

.build-menu-modal .option:first-child .label {
    display: block;
    width: 90px;
    line-height: 22px;
    font-size: 14pt;
    font-weight: 600;
}

.build-menu-modal .option:nth-child(n+2) {
    width: calc(50% - 5px); /* Remaining elements take 50% width with gap */
}

.build-menu-modal .option:hover {
    cursor: pointer;
}

.build-menu-modal .option .price-block {
    position: absolute;
    left: 0;
    padding: 2px 12px;
    bottom: 0;
    background-color: white;
    color: black;
    border-radius: 0 12px 0 0 ;
    display: flex;
    gap:10px;
}

.build-menu-modal .option .price-option {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.build-menu-modal .option .price-option .value {
    font-size: 10pt;
    font-weight: 500;
    margin: 0;
}

.build-menu-modal .option .rarity-block {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.build-menu-modal .option .rarity {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    border:1px solid white;
    box-shadow: 0px 0px 0px 4px black;
}


/*  */

.collection-modal .content {
    display: flex
;
    flex-wrap: wrap;
    gap: 10px;
    width: 80%;
    border-radius: 16px;
    margin: 0 auto;
    width: 100%;
}

.collection-modal .option {
    height: 120px; /* Adjust as needed */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid white;
}


.collection-modal .option .screen {
    position: absolute;
    width: 100%;
    height: 100%;
}

.collection-modal .option:first-child .label {
    display: block;
    width: 90px;
    line-height: 22px;
    font-size: 14pt;
    font-weight: 600;
}

.collection-modal .option {
    width: 130px;
    height: 120px;
}

.collection-modal .option:hover {
    cursor: pointer;
}

.collection-modal .option .price-block {
    position: absolute;
    padding: 0px 12px;
    background-color: white;
    color: black;
    font-size: 10pt;
    font-weight: 700;
    display: flex;
    gap:10px;
}

.collection-modal .option .price-option {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.collection-modal .option .price-option .value {
    font-size: 12pt;
    font-weight: 500;
    margin: 0;
}

.collection-modal .option .rarity-block {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.collection-modal .option .rarity {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    border:1px solid white;
    box-shadow: 0px 0px 0px 4px black;
}


.s28 {
    width: 28px;
    height: 28px;
}

.s32 {
    width: 32px;
    height: 32px;
}
.s16 {
    width: 16px;
    height: 16px;
}

.voxel-donate-modal .position {
    padding: 8px;
    border: 1px solid white;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    border-style: dashed;
}
.voxel-donate-modal .position .info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-left: 10px;
}
.voxel-donate-modal .position .info .summ {
    font-size: 18pt;
}

.voxel-donate-modal .position .price {
    display: flex;
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 16px;
    gap: 8px;
}
.voxel-donate-modal .position .price .price-block {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}
.voxel-donate-modal .list {
    display: flex;
    flex-direction: column;
    gap:12px;
}

.voxel-donate-modal .position:hover {
    cursor: pointer;
}

.add-voxel {
    background: linear-gradient(45deg, #009fff, #00fff3);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 4px;
    margin-left: 12px;
}

.add-voxel:hover {
    cursor: pointer;
}

.empty-slot {
    min-height: 150px;
    border-radius: 16px;
    background-color: rgb(26, 26, 26);
    display: flex;
    justify-content: center;
    align-items: center;
}
.pay-slot {
    min-height: 150px;
    border-radius: 16px;
    border: 1px solid white;
    border-style: dashed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kit-tabs-inline .tab:hover {
    cursor: pointer;
}

.clear-button {
    position: absolute;
    padding: 3px 16px;
    background-color: #ff006157;
    bottom: 160px;
    right: 16px;
    border-radius: 16px;
    font-size: 10pt;
    color: #ff0061;
    border: 1px solid #ff0061;
    font-weight: 600;
}

.clear-button:hover {
    cursor: pointer;
}

.main-page {
    background-color: rgba(255, 255, 255, 0) !important;
    pointer-events: none;
}

.main-page > * {
    pointer-events: auto;
}

.modal {
    max-width: 600px !important;
}


.hold-to-build-button {
    position: absolute;
    padding: 3px 16px;
    background-color: #0099ff57;
    bottom: 160px;
    left: 16px;
    border-radius: 16px;
    font-size: 10pt;
    color: #0099ff;
    border: 1px solid #0099ff;
    font-weight: 600;
}

.hold-to-build-button:hover {
    cursor: pointer;
}

.hint-image {
    background: url("../images/tutorial/cube.png");

    position: absolute;
    width: 64px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 16px;
    top: 16px;
    transform: rotate(15deg);
    top: calc(50% - 32px);
}

.hint-hand {
    background: url("../images/tutorial/hand.png");
    width: 99px;
    height: 99px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
}

.hint-block {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 16px;
    z-index: 1000000;
    /* background: linear-gradient(180deg, black, transparent), linear-gradient(180deg, black, transparent), linear-gradient(180deg, black, transparent); */
    padding: 16px 100px 16px 24px;
    border-radius: 32px;
    border: 1px solid white;
    -webkit-backdrop-filter: blur(2px) brightness(40%);
    backdrop-filter: blur(2px) brightness(40%);
    max-width: 600px !important;
    margin:0 auto;
}

.hint-text {
    text-align: right;
    line-height: 18px;
}

.tutorial-full-manual {
    padding: 8px;
    background-color: white;
    opacity: 1;
    color: black;
    display: flex;
    justify-content: center;
    border-radius: 16px;
    opacity: 1 !important;
    pointer-events: all !important;
    user-select: all !important;
}

.tutorial-full-manual:hover {
    cursor: pointer;
}


.confirm-modal .buttons {
    height: 48px;
    gap:10px;
}
.confirm-modal .confirm:hover {
    cursor: pointer;
}
.confirm-modal .confirm {
    flex: 1 1;
    border-radius: 16px;
    border: none;
    /* background-color: #ff0032; */
    font-weight: 600;
}
.confirm-modal .decline {
    flex: 1 1;
    border-radius: 16px;
    border: none;
    background-color: #ff0032;
    font-weight: 600;
    color: white;
}
.confirm-modal .decline:hover {
    cursor: pointer;
}


/* From Uiverse.io by r7chardgh */ 
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 5em;
    height: 2.5em;
    user-select: none;
  }
  
  /* Hide default HTML checkbox */
  .switch .cb {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .toggle {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    background-color: #373737;
    border-radius: 0.1em;
    transition: 0.4s;
    text-transform: uppercase;
    font-weight: 700;
    overflow: hidden;
    box-shadow: -0.3em 0 0 0 #373737, -0.3em 0.3em 0 0 #373737,
      0.3em 0 0 0 #373737, 0.3em 0.3em 0 0 #373737, 0 0.3em 0 0 #373737;
  }
  
  .toggle > .left {
    position: absolute;
    display: flex;
    width: 50%;
    height: 88%;
    background-color: #f3f3f3;
    color: #373737;
    left: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    transform-origin: right;
    transform: rotateX(10deg);
    transform-style: preserve-3d;
    transition: all 150ms;
  }
  
  .left::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(206, 206, 206);
    transform-origin: center left;
    transform: rotateY(90deg);
  }
  
  .left::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(112, 112, 112);
    transform-origin: center bottom;
    transform: rotateX(90deg);
  }
  
  .toggle > .right {
    position: absolute;
    display: flex;
    width: 50%;
    height: 88%;
    background-color: #f3f3f3;
    color: rgb(206, 206, 206);
    right: 1px;
    bottom: 0;
    align-items: center;
    justify-content: center;
    transform-origin: left;
    transform: rotateX(10deg) rotateY(-45deg);
    transform-style: preserve-3d;
    transition: all 150ms;
  }
  
  .right::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(206, 206, 206);
    transform-origin: center right;
    transform: rotateY(-90deg);
  }
  
  .right::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(112, 112, 112);
    transform-origin: center bottom;
    transform: rotateX(90deg);
  }
  
  .switch input:checked + .toggle > .left {
    transform: rotateX(10deg) rotateY(45deg);
    color: rgb(206, 206, 206);
  }
  
  .switch input:checked + .toggle > .right {
    transform: rotateX(10deg) rotateY(0deg);
    color: #487bdb;
  }

  .language-option .switch input:checked + .toggle > .right {
    transform: rotateX(10deg) rotateY(0deg);
    color: #373737;
  }
  


.setting-option {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 16pt;
    align-items: center;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid #ffffff42;
    border-radius: 16px;
}

.setting-option:hover {
    cursor: pointer;
}

.setting-options {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    gap: 8px;
}

.collaboration-button {
    position: absolute;
    left: 8px;
    padding: 16px;
    z-index: 100;
    width: 80px;
    height: 80px;
}
.collaboration-memhustle {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/memhustle_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
}
.collaboration-duckygram {
    top: calc(268px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/duckygram_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
}

.collaboration-leaderboard {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/leaderboard_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 0;
    left: 2px;
}
.collaboration-gifts {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/gifts.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 0;
    left: 2px;
}

.offer-button {
    position: absolute;
    right: 8px;
    padding: 16px;
    z-index: 100;
    width: 80px;
    height: 80px;
    animation: shakeWithDelay 3s ease-in-out infinite;
}

.offer-set-2 {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_2_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-3 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_3_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}


.offer-set-4 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_4_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}
.offer-set-5 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_5_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-6 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_6_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
}

.offer-set-7 {
    top: calc(358px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_7_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}


.offer-set-8 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_8_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
}

.offer-set-9 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_9_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-10 {
    top: calc(358px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_10_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}


.offer-set-11 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_11_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
}

.offer-set-12 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_12_btn.png?r=5);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-13 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_13_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-14 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_14_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}
.offer-set-15 {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_15_btn.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-16 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_16_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-17 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_17_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
    /* left: 2px !important; */
}
.offer-set-18 {
    top: calc(358px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_18_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}
.offer-set-19 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_19_btn.png?r=1);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}
.offer-set-20 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_20_btn.png?r=2);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-21 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_21_btn.png?r=2);
    background-size: contain;
    background-repeat: no-repeat;
    left: 2px !important;
}
.offer-set-22 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_22_btn.png?r=2);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-23 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_23_btn.png?r=2);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-24 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_24_btn.png?r=2);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-25 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_25_btn.png?r=4);
    background-size: contain;
    background-repeat: no-repeat;
    /* left: 2px !important; */
}
.offer-set-26 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_26_btn.png?r=4);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-27 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_27_btn.png?r=4);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-28 {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_28_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-29 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_29_btn.png?r=4);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-30 {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_30_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
    /* left: 2px !important; */
}
.offer-set-31 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_31_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-32 {
    top: calc(198px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_32_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-33 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_33_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-34 {
    top: calc(278px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_34_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-progressive {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_progressive_btn.png?r=6);
    background-size: contain;
    background-repeat: no-repeat;
}
.offer-set-giveaway {
    top: calc(118px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    background: url(../../offers/offer_giveaway_million.png);
    background-size: contain;
    background-repeat: no-repeat;
}


@keyframes shakeWithDelay {
    0%, 20%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    30% {
        transform: rotate(-5deg);
    }
    35% {
        transform: rotate(5deg);
    }
    40%, 80% {
        transform: rotate(0deg);
    }
}

.settings-button {
    position: absolute;
    right: 0;
    padding: 16px;
    top: calc(24px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    z-index: 100;
}

.settings-button:hover {
    cursor: pointer;
}


.promocode-button {
    position: absolute;
    left: 0;
    padding: 16px;
    top: calc(20px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    z-index: 100;
}

.promocode-button:hover {
    cursor: pointer;
}
.share:hover {
    cursor: pointer;
}

.language-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-page .continue {
    position: absolute;
    padding: 16px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: black;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 16px;
}

.language-page .continue-text {
    position: absolute;
    color: white;
    left: 16px;
    right: 16px;
    bottom: 86px;
    text-align: center;
    opacity: 0.5;
}

.language-page .continue:hover {
    cursor: pointer;
}


.agreement-page .continue {
    position: absolute;
    padding: 16px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: black;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 16px;
}

.agreement-page .continue-text {
    position: absolute;
    color: #bbbbbb;
    left: 16px;
    right: 16px;
    bottom: 86px;
    text-align: center;
    /* opacity: 0.5; */
    font-size: 10pt;
}

.agreement-page .continue-text a {
    color: #fcff51;
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: 600;
}

.agreement-page .continue:hover {
    cursor: pointer;
}

.agreement-page iframe {
    position: absolute;
    top: calc(24px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    left: 24px;
    right: 24px;
    bottom: 128px;
    width: calc(100% - 48px);
    height: calc(100% - ((72px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px))) - 128px);
    background-color: #fcff51;
    padding: 16px;
    zoom: 0.8;
    border-radius: 16px;
}

.nft-item-icon {
    background: url(../images/nft.png) !important;
    background-size: cover !important;
    box-shadow: 0px 4px 0px 4px #ffffff !important;
}
.sparkle {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    /* bottom: 0%; */
    width: 90%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0.3) 55%, transparent 100%);
    animation: sparkleAnim 2s linear infinite;
    transform: scale(1.5);
}

@keyframes sparkleAnim {
to {
    left: 120%;
}
}

.agreement-option {
    color: yellow;
    font-size: 10pt;
    padding: 4px 16px;
    border: 1px solid;
    border-radius: 16px;
}


.suspect-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.suspect-page .continue {
    position: absolute;
    padding: 16px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fc9d03;
    color: black;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 16px;
}

.suspect-page .continue-text {
    position: absolute;
    color: white;
    left: 16px;
    right: 16px;
    bottom: 86px;
    text-align: center;
    opacity: 0.5;
}

.suspect-page .continue:hover {
    cursor: pointer;
}

.support-option {
    justify-content: center;
    padding: 16px;
    font-size: 14pt;
    background-color: #ffffff3b;
    color: #ffffff;
}

.referrals-page .list {
    display: flex;
    flex-direction: row;
    flex-direction: column;
    gap: 16px;
}

.referrals-page .active-referral {
    border: 1px solid #ff9b00;
    border-style: dashed;
}
.referrals-page .referral {
    display: flex;
    height: 48px;
    /* border: 1px solid white; */
    width: 100%;
    border-radius: 16px;
    background-color: #1c1c1c;
    position: relative;
    justify-content: space-between;
}
.referrals-page .level {
    position: absolute;
    left: 56px;
    font-size: 10pt;
    top: -16px;
    /* opacity: 0.5; */
    padding: 2px 12px 0px 12px;
    background-color: black;
    border-radius: 32px;
    color: #8f8f8f;
}
.referrals-page .avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}
.referrals-page .name {
    position: absolute;
    left: 56px;
    font-size: 12pt;
    bottom: 16px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.referrals-page .models {
    position: absolute;
    left: 56px;
    font-size: 10pt;
    bottom: 0px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ff9b00;
}
.referrals-page .revenue {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
}
.referrals-page .block {
    display: flex;
    gap: 6px;
}
.referrals-page .icon {
    width: 24px;
    height: 24px;
}

.combo-container {
    display: flex;
    padding: 16px;
    border-radius: 16px;
    flex-direction: column;
    border: 1px solid white;
    border-style: dashed;
    position: relative;
    margin-top: 32px;
}
.combo-header {
    position: absolute;
    left: 16px;
    font-size: 20pt;
    font-weight: 600;
    padding: 2px 8px;
    background-color: black;
    border-radius: 16px;
    top: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.combo-limit {
    position: absolute;
    right: 16px;
    font-size: 10pt;
    font-weight: 600;
    padding: 2px 16px;
    background-color: #32003f;
    border-radius: 16px;
    top: 0;
    transform: translateY(-50%);
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: 1px solid violet;
    color: #bd00fb;
}
.combo-description {
    line-height: 16px;
    font-size: 14px;
    text-align: revert;
    margin-bottom: 12px;
    margin-top: 8px;
}

.combo-items {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.combo-item {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background-color: #232323;
    display: flex;
    justify-content: center;
    align-items: center;
}

.combo-item.match {
    border: 1px solid #00fa72;
    box-shadow: 0px 0px 20px 2px #00fa72;
}

.combo-item canvas {
    width: 100%;
    height: 100%;
}

.combo-meet {
    line-height: 16px;
    font-size: 14px;
    text-align: center;
    /* margin-bottom: 12px; */
    margin-top: 12px;
    color: #00ff74;
    font-weight: 600;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.g4 {gap:4px}
.g8 {gap:8px}
.g10 {gap:10px}


.verse-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.season-banner {
    background: url(../images/season-banner.png?r=1);
    background-size: cover;
    background-position: left;
    background-color: black;
    border-radius: 16px;
    position: absolute;
    top: calc(24px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    width: 350px;
    height: 100px;
    z-index: 100;
    left: calc(50% - 175px);
    box-shadow: -1px 7px 20px 2px #000000;
    border: 1px solid #f200da;
}


.verse-invest {
    position: absolute;
    bottom: 0;
    width: calc(100% - 32px);
    bottom: 86px;
    height: 80px;
    align-items: center;
    background: linear-gradient(0deg, #8f00fa, #f500d9);
    border-radius: 12px;
    /* display: flex
; */
    /* justify-content: center; */
    gap: 16px;
    height: 64px;
    /* padding: 0 16px; */
    overflow: hidden;
}


.currency-input-wrapper {
    display: flex;
    gap:6px;
    position: relative;
}

.currency-input-wrapper .currency {
    width: auto;
    background-color: black;
    border-radius: 16px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 6px;
    position: relative;
    padding-top:16px
}

.currency-input-wrapper .currency .icon {
    width:20px;
    height: 20px;
}
.currency-input-wrapper input {
    width: 100%;
    padding-right: 76px;
    font-size: 16pt;
    font-weight: 600;
    text-align: right !important;
    height: 64px;
    padding-top: 16px;
}
.currency-input-wrapper .max {
    position: absolute;
    right: 12px;
    top: calc(50% + 8px);
    transform: translateY(-50%);
    color: #c4f85c;
    text-transform: uppercase;
    font-size: 10pt;
    /* background-color: red; */
    padding: 4px 6px 4px 16px;
    border-left: 1px solid #ffffff47;
}
.currency-input-wrapper .balance {
    position: absolute;
    right: 16px;
    top: 2px;
    font-size: 10pt;
    color: #c4f85c85;
}
.currency-input-wrapper .balance-value {
    color: #c4f85c;
}
.currency-input-wrapper .placeholder {
    position: absolute;
    left: 16px;
    top: 2px;
    font-size: 10pt;
    color: #c4f85c;
}

.currency-input-wrapper .max:hover {
    cursor: pointer;
}


.currency-input-wrapper .currency .options {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    transform: translateY(-10px);
    background-color: #000000;
    padding: 8px 8px;
    border-radius: 16px;
    box-shadow: -3px 7px 19px 3px #000000;
    border: 1px solid #2c2c2c;
    gap: 6px;
}
.currency-input-wrapper .currency .options .option {
    width: 100%;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: #1c1c1c;
    border-radius: 12px;
}


.currency-input-wrapper .currency .options .option .logo {
    width: 20px;
    height: 20px;
}

.currency-input-wrapper .max:hover {
    cursor: pointer;
}
.currency-input-wrapper .currency:hover {
    cursor: pointer;
}
.currency-input-wrapper .option:hover {
    cursor: pointer;
}

.clickable:hover {
    cursor: pointer;
}

.course {
    display: flex;                /* Enables flexbox for layout */
    align-items: center;          /* Vertically center */
    justify-content: center;      /* Horizontally center */
    width: 100%;                  /* Full width */
    text-align: center;           /* Center the text */
    position: relative;           /* Needed for pseudo-elements */
    font-size: 10pt;
    opacity: 0.3;
}

/* Left and right lines */
.course::before,
.course::after {
    content: "";                  /* Required for pseudo-elements */
    flex: 1;                      /* Allows lines to grow */
    height: 1px;                  /* Line thickness */
    background: #ffffff80;             /* Line color */
}

/* Space between text and lines */
.course::before {
    margin-right: 8px;
}

.course::after {
    margin-left: 8px;
}

.attention-block {
    font-size: 10pt;
    line-height: 18px;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #f8c95c;
    border-radius: 16px;
    background-color: #f8c95c29;
    color: #f8c95c;
}

.error-block {
    font-size: 10pt;
    line-height: 18px;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #f85c5c;
    border-radius: 16px;
    background-color: #f85c5c29;
    color: #f85c5c;
}



#PriceGradient {

    /** colors for the handles and range */
    --color1: hsl(219, 73%, 65%);
    --color2: hsl(283, 100%, 69%);
    --colorMix: hsl(256, 100%, 59%); 
    --range-pip: #ccc;
    --range-pip-in-range: var(--colorMix);
    
    /** linear springs from for easing nicely */
    --spring-duration: 1.5s;
    --spring-easing: linear(
      0, 0.576 4%, 0.79, 0.964, 1.102, 1.205, 1.275 13.6%, 1.298, 1.313, 1.32, 1.32,
      1.313 19.3%, 1.299 20.7%, 1.256 23.4%, 1.111 30.5%, 1.047 34.2%, 1.018, 0.996,
      0.979, 0.968 42.9%, 0.961 46.1%, 0.962 49.7%, 0.994 63.9%, 1.004 72%,
      1.005 79.2%, 1
    );
    
    --color: var(--color1);
    --shadow-color: 0deg 0% 0%;
    --shadow-elevation-medium:
      0px 0.4px 0.4px hsl(var(--shadow-color) / 0.1),
      0px 0.8px 0.8px -0.8px hsl(var(--shadow-color) / 0.09),
      0px 1.6px 1.7px -1.5px hsl(var(--shadow-color) / 0.08),
      0px 3.5px 3.6px -2.3px hsl(var(--shadow-color) / 0.08),
      0px 6.9px 7.2px -3px hsl(var(--shadow-color) / 0.07);
    
    height: 14px;
    
    }
    
    #PriceGradient .rangeBar {
    height: 100%;
    background: linear-gradient(90deg, var(--color1), var(--color2));
    }
    
    #PriceGradient .rangeHandle[data-handle="1"] {
    --color: var(--color2);
    }
    
    #PriceGradient .rangeHandle {
    width: 34px;
    height: 34px;
    top: calc( 50% - 1px );
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color);
    box-shadow: var(--shadow-elevation-medium);
    perspective: 500px;
    }
    
    #PriceGradient .rangeNub {
    display: none;
    }
    
    #PriceGradient .rangeFloat {
    border-radius: .5em;
    padding: .3em .6em;
    background: white;
    color: black;
    font-weight: bold;
    border: 2px solid var(--color);
    top: -1em;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotateX(100deg) scaleY(0.75);
    transition: all var(--spring-easing) var(--spring-duration);
    }
    
    #PriceGradient .rangeFloat:after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      width: 9px;
    height: 9px;
    background: white;
    transform: translate(-50%, 50%) rotate(45deg);
    border-right: 2px solid var(--color);
    border-bottom: 2px solid var(--color);
    }
    
    #PriceGradient.focus .rangeHandle .rangeFloat, 
    #PriceGradient.hoverable .rangeHandle:hover .rangeFloat, 
    #PriceGradient.hoverable:hover .rangeFloat {
    top: -1em;
    transform: translate(-50%, -100%) rotateX(0deg);
    opacity: 1;
    }
    
    /** move the slider to the left or right while dragging */
    #PriceGradient.up .rangeHandle.active .rangeFloat {
    transform: translate(-60%, -100%) rotateZ(-15deg);
    }
    #PriceGradient.down .rangeHandle.active .rangeFloat {
    transform: translate(-40%, -100%) rotateZ(15deg);
    }
    
    /** style the pips when active and in range */
    #PriceGradient .pip {
    height: 2px;
    width: 2px;
    border-radius: 2px;
    }
    #PriceGradient.focus .pip.in-range {
    background: white;
    box-shadow: 
      0 0 2px 1px var(--range-pip-in-range), 
      0 0 5px 2px var(--range-pip-in-range), 
      0 0 2px 0px var(--range-pip-in-range);
    }
    
    .rangeSlider {
        background-color: #d7dada2e !important;
    }

.filter-price-block {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid white;
    border-style: dashed;
}

.filter-price-block .target {
    display: flex;
    gap: 6px;
    margin: -28px auto 30px auto;
    /* width: auto; */
    width: 96px;
    background-color: #1c1c1e;
    justify-content: center;
}
.filter-price-block .logo {
    width: 24px;
    height: 24px;
}

.rarities {
    display: flex
;
    flex-direction: column;
    gap:12px
}

.rarities .list {
    display: flex;
    gap:6px;
    flex-wrap: wrap;
    justify-content: center;
}
.rarities .rarity {
    width: auto;
    padding: 8px 24px;
    border-radius: 32px;
    background-color: gray;
}
.rarities .rarity:hover {
    cursor: pointer;
}

.rarities .off {
    opacity: 0.3;
}

.filters {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sort {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    border: 1px solid white;
    background: url(../images/sort/none.png);
    background-size: contain;
}
.filters:hover {
    cursor: pointer;
}
.sort:hover {
    cursor: pointer;
}

.filters.active {
    background-color: white;
}
.filters.active path {
    fill:black;
}

#i_s_a_overlay {
    z-index: 0 !important;
    display: none !important;
}
#iiii_i_s_a_overlay {
    z-index: 0 !important;
    display: none !important;
}

.activation-timer {
    display: flex
;
    flex-direction: column;
    position: absolute;
    top: 115px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: right;
    text-align: right;
    background-color: #000000;
    padding: 2px 12px;
    border-radius: 12px;
    color: #ffffff;
    right: auto;
    font-weight: 600;
    font-size: 10pt;
}

.offer-view {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10000000;
    -webkit-backdrop-filter: blur(2px) brightness(10%);
    backdrop-filter: blur(6px) brightness(10%);
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* position: relative; */
    gap: 12px;
    padding-bottom: 64px;
}

.offer-preview {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100000000;
    -webkit-backdrop-filter: blur(2px) brightness(10%);
    backdrop-filter: blur(6px) brightness(10%);
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* position: relative; */
    gap: 12px;
    padding-bottom: 64px;
}


.offer-view .timer {
    left: 50%;
    font-size: 12pt;
    font-weight: 600;
    top: 32px;
    color: #ffffff;
    padding: 2px 32px;
    background-color: black;
    border-radius: 16px;
    border: 1px solid white;
    margin-bottom: -28px;
    z-index: 10;
}

.offer-view .offer {
    top: 72px;
    left: 50%;
    height: 80%;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid white;
    border-radius: 16px;
    max-width: 90%;
    max-height: calc(90vw* 1.5);
    aspect-ratio: 720 / 1080;
}

.offer-preview .offer {
    top: 72px;
    left: 50%;
    height: 80%;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid white;
    border-radius: 16px;
    max-width: 90%;
    max-height: calc(90vw* 1.5);
    aspect-ratio: 720 / 1080;
}

.offer-view .offer-purchase {
    width: 70%;
    height: 48px;
    background-color: white;
    left: 50%;
    top: 450px;
    border-radius: 16px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.nes-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #000;
}

.nes-page canvas {
    border: 2px solid #fff;
    width: 100%;
}

.nes-page .controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 200px;
    height: 200px;
    margin-top: 20px;
}

.nes-page .button {
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    user-select: none;
}

/* Positioning buttons */
#up {
    grid-column: 2;
    grid-row: 1;
}

#left {
    grid-column: 1;
    grid-row: 2;
}

#right {
    grid-column: 3;
    grid-row: 2;
}

#down {
    grid-column: 2;
    grid-row: 3;
}

#a {
    grid-column: 3;
    grid-row: 3;
}

#b {
    grid-column: 1;
    grid-row: 3;
}

#select {
    grid-column: 1;
    grid-row: 1;
}

#start {
    grid-column: 3;
    grid-row: 1;
}



.semi-circle-progress {
    width: 250px;
    height: 150px;
    margin: 0 auto;
    margin-bottom: 32px;
}

.progressbar-text {
    position: absolute;
    left: 50%;
    top: 64px !important;
    padding: 0px;
    margin: 0px;
    transform: translate(-50%, 50%);
    bottom: 0px;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 48px !important;
    font-weight: 800;
    font-family: revert !important;
}

.semi-circle-progress svg {
    height: 160px;
    width: 250px;
    fill: none;
    stroke: #FFBE00;
    stroke-width: 10;
    stroke-linecap: round;
}

.semi-circle-progress svg path:first-of-type{
    stroke: black;
}



.check-point {
    font-size: 10pt;
    line-height: 18px;
    margin-top: 8px;
    padding: 0px 16px;
    border: 1px solid #ffffff4a;
    border-radius: 16px;
    background-color: #ffffff29;
    color: #ffffffc4;

    display: flex;
    gap: 10px;
    justify-items: left;
    align-items: center;
}

.check-point p {
    max-width: 90%;
}
.check-point svg {
    flex: 0 0 26px;
}


.check-point.completed {
    border: 1px solid #c4f85c !important;
    background-color: #c4f85c29 !important;
    color: #c4f85c !important;
}

.check-point svg path:first-of-type {
    fill:#dfdfdf !important;
}
.check-point.completed svg path:first-of-type {
    fill: #c4f85c !important;
}
.check-point .value {
    padding: 2px 8px;
    background-color: white;
    border-radius: 16px;
    color: black;
}


.collaboration-modal .banner {
    width: 100%;
    background: url(../images/memhustle.png);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1920 / 962;
    background-size: contain;
    border-radius: 16px 16px 0 0;
    box-shadow: 0px -20px 20px 0px #6d3cfe9e;
}

.collaboration-modal .banner .shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 128px;
    background: linear-gradient(0deg, #1c1c1e, #1c1c1e00);
}

.collaboration-modal .main-quest {
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    /* border: 1px solid white; */
    margin-top: 140px;
    padding: 16px;
    position: relative;
    background-color: #0a0a0a;
    padding-top: 32px;
}

.collaboration-modal .main-quest .icon {
    width: 48px;
    height: 48px;
    background: url(../images/memhustle-icon.jpg);
    background-size: contain;
    position: absolute;
    top: -32px;
    left: 16px;
    border-radius: 12px 0 0 12px;
}
.collaboration-modal .main-quest .icon-label {
    height: 48px;
    position: absolute;
    top: -32px;
    left: 64px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 16px;
    font-size: 16pt;
    font-weight: 600;
    color: #c3b0ff;
    padding-right: 16px;
    background-color: #0a0a0a;
    border-radius: 0 12px 12px 0;
    border: 1px solid #6c3dff;
    box-shadow: 0 0 18px 2px #6c3dff;
}
.collaboration-modal .main-quest .head {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    justify-content: left;
    align-items: center;
}
.collaboration-modal .main-quest .head .text {
    line-height: 16px;
    color: #c3b0ff;
}
.collaboration-modal .main-quest .progress {
    width: 100%;
    height: 14px;
    background-color: #6d3cfe3b;
    border-radius: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.collaboration-modal .main-quest .progress .value {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background-color: #6d3cfe;
}
.collaboration-modal .main-quest .progress .text-value {
    font-size: 9pt;
}

.collaboration-modal .main-quest .reward-label {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    font-size: 10pt;
    opacity: 0.6;
    color: #c3b0ff;
}

.collaboration-modal .main-quest .reward {
    
    width: 100%;
    height: 48px;
    background-color: #2116437d;
    border-radius: 12px 12px 0 0;
    /* margin-top: 12px; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.collaboration-modal .main-quest .reward .value {
    color: #e75bff;
    font-weight: 600;
    font-size: 18pt;
}

.collaboration-modal .main-quest .collect {
    height: 40px;
    width: 100%;
    background-color: #e75bff;
    border-radius: 0 0 12px 12px;
    color: #45184d;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14pt;
}

.collaboration-modal .quests {
    margin-top: 16px;
    gap: 8px;
    display: flex;
    flex-direction: column;
}
.collaboration-modal .quests .quest {
    border-radius: 12px;
    height: 48px;
    background-color: #0a0a0a;
    position: relative;
}
.collaboration-modal .quests .quest .icon {
    top: 4px;
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 40px;
    border-radius: 10px;
    background: url(../images/memhustle-icon.jpg);
    background-size: contain;
}
.collaboration-modal .quests .quest .head {
    left: 56px;
    position: absolute;
    top: 4px;
    font-size: 11pt;
    opacity: 0.7;
}
.collaboration-modal .quests .quest .reward {
    position: absolute;
    display: flex;
    left: 56px;
    bottom: 4px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 10pt;
}
.collaboration-modal .quests .quest .start {
    position: absolute;
    padding: 12px;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background-color: #6d3cfe;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: white;
    font-size: 10pt;
    text-shadow: 0px 2px #000000c2;
}

.collaboration-modal .quests .quest .collect {
    position: absolute;
    padding: 12px;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background-color: #ffb200;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: black;
    font-size: 10pt;
    font-weight: 800;
}




.collaboration-duckygram-modal .banner {
    width: 100%;
    background: url(../images/duckygram.png);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1920 / 962;
    background-size: contain;
    border-radius: 16px 16px 0 0;
    box-shadow: 0px -20px 20px 0px #6d3cfe9e;
}

.collaboration-duckygram-modal .banner .shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 128px;
    background: linear-gradient(0deg, #1c1c1e, #1c1c1e00);
}

.collaboration-duckygram-modal .main-quest {
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    /* border: 1px solid white; */
    margin-top: 140px;
    padding: 16px;
    position: relative;
    background-color: #0a0a0a;
    padding-top: 32px;
}

.collaboration-duckygram-modal .main-quest .icon {
    width: 48px;
    height: 48px;
    background: url(../images/duckygram-icon.png);
    background-size: contain;
    position: absolute;
    top: -32px;
    left: 16px;
    border-radius: 12px 0 0 12px;
}
.collaboration-duckygram-modal .main-quest .icon-label {
    height: 48px;
    position: absolute;
    top: -32px;
    left: 64px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 16px;
    font-size: 16pt;
    font-weight: 600;
    color: #c3b0ff;
    padding-right: 16px;
    background-color: #0a0a0a;
    border-radius: 0 12px 12px 0;
    border: 1px solid #6c3dff;
    box-shadow: 0 0 18px 2px #6c3dff;
}
.collaboration-duckygram-modal .main-quest .head {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    justify-content: left;
    align-items: center;
}
.collaboration-duckygram-modal .main-quest .head .text {
    line-height: 16px;
    color: #c3b0ff;
}
.collaboration-duckygram-modal .main-quest .progress {
    width: 100%;
    height: 14px;
    background-color: #6d3cfe3b;
    border-radius: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.collaboration-duckygram-modal .main-quest .progress .value {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    background-color: #6d3cfe;
}
.collaboration-duckygram-modal .main-quest .progress .text-value {
    font-size: 9pt;
}

.collaboration-duckygram-modal .main-quest .reward-label {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    font-size: 10pt;
    opacity: 0.6;
    color: #c3b0ff;
}

.collaboration-duckygram-modal .main-quest .reward {
    
    width: 100%;
    height: 48px;
    background-color: #2116437d;
    border-radius: 12px 12px 0 0;
    /* margin-top: 12px; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.collaboration-duckygram-modal .main-quest .reward .value {
    color: #e75bff;
    font-weight: 600;
    font-size: 18pt;
}

.collaboration-duckygram-modal .main-quest .collect {
    height: 40px;
    width: 100%;
    background-color: #e75bff;
    border-radius: 0 0 12px 12px;
    color: #45184d;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14pt;
}

.collaboration-duckygram-modal .quests {
    margin-top: 16px;
    gap: 8px;
    display: flex;
    flex-direction: column;
}
.collaboration-duckygram-modal .quests .quest {
    border-radius: 12px;
    height: 48px;
    background-color: #0a0a0a;
    position: relative;
}
.collaboration-duckygram-modal .quests .quest .icon {
    top: 4px;
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 40px;
    border-radius: 10px;
    background: url(../images/duckygram-icon.png);
    background-size: contain;
}
.collaboration-duckygram-modal .quests .quest .head {
    left: 56px;
    position: absolute;
    top: 4px;
    font-size: 11pt;
    opacity: 0.7;
}
.collaboration-duckygram-modal .quests .quest .reward {
    position: absolute;
    display: flex;
    left: 56px;
    bottom: 4px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 10pt;
}
.collaboration-duckygram-modal .quests .quest .start {
    position: absolute;
    padding: 12px;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background-color: #6d3cfe;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: white;
    font-size: 10pt;
    text-shadow: 0px 2px #000000c2;
}

.collaboration-duckygram-modal .quests .quest .collect {
    position: absolute;
    padding: 12px;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background-color: #ffb200;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: black;
    font-size: 10pt;
    font-weight: 800;
}











.leaderboard-page .banner {
    background: url(../images/leaderboard.png?r=2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 170px;
    width: calc(100% + 32px);
    margin-left: -16px;
}

.leaderboard-page .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.leaderboard-page .place {
    padding: 2px 4px;
    background-color: #ffffff;
    border-radius: 4px;
    /* border: 1px solid #ffffff54; */
    color: black;
    font-size: 10pt;
    font-weight: 600;
    line-height: 16px;
}
.leaderboard-page .image {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.leaderboard-page .label {
    font-size: 10pt;
}
.leaderboard-page .value {
    display: flex
;
    position: absolute;
    right: 3px;
    top: 6px;
    bottom: 6px;
    background-color: #0089ff40;
    color: #00a2ff;
    padding: 8px 8px 8px 10px;
    align-items: center;
    font-weight: 600;
    border-radius: 6px;
    gap: 4px;
    transform: scale(0.9);
}


.leaderboard-page .value .prize {
    position: absolute;
    background-color: #00a2ff;
    display: flex;
    top: -18px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    right: 0;
    line-height: 10px;
    font-size: 10pt;
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
    font-weight: 400;
    color: black;
}
.leaderboard-page .item {
    display: flex;
    padding: 4px 8px;
    background-color: #ffffff17;
    border-radius: 8px;
    border: 1px solid #ffffff2e;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
}


.battle-page .own-renderer {
    position: absolute;
    width: 100%;
    height: 45%;
    top: 55%;
    bottom: 0;
    left: 0;
    right: 0;
}
.battle-page .opponent-renderer {
    position: absolute;
    width: 100%;
    height: 45%;
    bottom: 55%;
    top: 0;
    left: 0;
    right: 0;
}

.battle-page .own-shadow {
    position: absolute;
    top: calc(55% - 2px);
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, black, transparent);
    z-index: 10;
}
.battle-page .opponent-shadow {
    position: absolute;
    bottom: calc(55% - 2px);
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(0deg, black, transparent);
    z-index: 10;
}

.battle-page .finding-panel {
    
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
    align-items: center;

}
.battle-page .finding-panel .animation {
    width: 128px;
    height: 128px;
}
.battle-page .finding-panel h3 {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 16pt;
    color: #63c0e2;
}
.battle-page .finding-panel span {
    font-size: 10pt;
    color: #63c0e2;
}

.battle-page .own-profile {
    position: absolute;
    left: 0;
    width: 200px;
    height: 48px;
    bottom: 42%;
    z-index: 100;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAAwCAYAAABUmTXqAAAABHNCSVQICAgIfAhkiAAAAylJREFUeF7tnbFv00AUh31Riu2q/0ilDhBVKmmcDfoPwAASA4xsMLLBxggbYipSnJYBFlbYWGCGGUaY2g4gVIiP84CIorZxz+/uctHX2fd7L9/TJ7nVvVS9/3VLJ/xAYJEIaP2yyMsbi9CSQpBFGAM9zBJQurozyMe7ockgSOgJUP9EAua15kdX/9no5/tfQyJCkJD0qX0mAa2TD3m2OtxUz3+HQoUgochTtxEBlSRPB9noXqOHHTyEIA6gEilLoKP1le28fCeb2iwNQZpx4qmABMyr1reVbHLxstr77rsNBPFNnHpWBHSi3w6z8qrV4RaHEKQFPI76JqDvF1n5xGdVBPFJm1otCejjRFW9It373DKo8XEEaYyKBxeEwKcsPdraVG9++ugHQXxQpoYsAa1fmKsot2VDT05DEB+UqSFOQKnq5iAd74sHzwQiiGvC5DshYP6qddDVk57rqygI4mR8hPogUF9FKbJRX6nE2Y10BPExSWo4I2AkeTTMRw9dFUAQV2TJ9UWg6nSq/vaF8UcXBRHEBVUyvRIw71df1tJu75LaPZQujCDSRMkLReCV+X3kunRxBJEmSl5AAvquuYryTLIBBJGkSVZQAvUWolKTLcmrKAgSdKQUd0DAXEVZ7UltISKIgwkRGZaA5BYigoSdJdUdEZDaQkQQRwMiNiwBqS1EBAk7R6o7JFBvIRZpudPmKgqCOBwQ0eEJaKUfDNPysW0nCGJLjnORENDHnY4e2l5FQZBIxkyb9gTqqyh5erRhs4WIIPbcORkTAcstRASJacj02oqAzRYigrRCzuGYCNhsISJITBOm19YEzruFiCCtkRMQG4HzbCEiSGzTpV8JApW5irLT5AuxEUQCNxnREaivoqxl3fV5W4gIEt1oaViQwNwtRAQRpE1UjATO3kJEkBhnSs9iBOZtISKIGGqCIiZw6hYigkQ8VVqXI3DaFiKCyDEmKXYCqrpWpOPX0x8DQWIfKv2LEaivoqyk1fr0/0JEEDG8BC0DgdktRARZhqnyGUQJTG8hIogoWsKWg8D/LUQEWY6J8imECfzbQkQQYbDELREBs4X4F5d6Vxht+kqdAAAAAElFTkSuQmCC);
    padding: 0 16px;
}

.battle-page .own-profile .avatar {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: 4px solid #000000;
    margin-top: 3px;
}
.battle-page .own-profile .username {
    position: absolute;
    left: 68px;
    top: 4px;
    color: black;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.battle-page .own-profile .power {
    position: absolute;
    left: 64px;
    color: black;
    display: flex
;
    top: 24px;
    justify-content: center;
    justify-content: center;
    line-height: 16px;
    font-weight: 600;
}

.battle-page .own-profile .chance {
    font-size: 24pt;
    position: absolute;
    font-weight: 800;
    color: #c4f85c;
    left: 16px;
    top: -38px;
}

.battle-page .own-profile .ready {
    position: absolute;
    left: 166px;
    color: black;
    display: flex;
    top: 6px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAA5BJREFUWEetmD1MFEEUx4fGRo1ggxZG40ekAk1sLOTORFQ0KhZcJRFNtBLURAuJiZooFDZy2JmAhu4oRE0wSCGgCTEh4aPC+BETKiswWhgand9xs9mdndmdWXjJy8HezOxv3/vPe7NXJfytWk45J71FOn/jByrLzMrPZek/pI9Lf1X53/kuVc4jVwGuS897zGEoYA8qn6lTXYAAuJcBRL+5E1ga0IBctT31sfwGPJHDb9qm2IDQxct1iIrtvkTrvElfJiBg3ktXQrU+/8HGWrG3vkZsrt5QHvN7eUV8nV8SM5M/XWLGBjiqQ5mAgEE3RgOi9VqdaDy7I/Gmk68XxdDThTQ4IgVUYDqQVTNEobuUEwD5GGA9V6fK0bNYr7x+Q30XBiIqRCdm+xpqRHG0KUiND5BKZeeJMfFlbsk2lSgRLREGMqYKmIFPp30ZYuOJUAJUkDoFRNFjV0WMNJUWWjJHRl8PqELdsC195SgpIAhz+gJ975q8NZMWSjTVVZgwDeNiHiC2eSy5iBegrPZ28JsYGfwuTrXtFs1teyLLdBwfs+2+GoDapbO7ItYzlBNHziRvbRssMI+uTAVf65H+8GZR3Gk1RukSQMPS6d4R+/j3Qqbg6DAscvlufdmVoaXmbSXT+i8AGpce0U/WdJlgbCXDkrYJgGakR9pEoaNOdD4+5BUhHxgWLt6eFqW+Bf0eswD906/qIQ5/T5/iqTdtWe1fmC8Mc/ofzpddN2egP79WBGGm2gKEUIHKApMGRNdtCJOaUkaj7L01HQwDCq3pYXdtM5aUzTmLOqGgBZDbd24U/bLNqONIkgiTRP1cTryoTzZt+xFZX7pD9SU8B4ji6DGZzq2pm4H0n6y1b/t2uYJzYTRB+cBAm1YYvVtHGMoXBqC01sGYcemx5prUPtAUT1qQp0eXNKk8JkQnaK6MzUuPHc54+qHPLZGakyqQhAFop3W/2/HDGqVwzVkrjKpjhnXK0eG68xFWFcIsUOGiaplvPMIylpc4XpdjRvq6nh32PpKgGUpFlkO+gjAKXH1JdaaS8xnuZ+EnICL0PKp4yjtakCo13/aiCFSknZiiBlS40QJCr3N8UZyr6IZfSwJLepXm4BYrBVk0ZBExLxYRGF3UpntZNbUGsMiLob5O2q8fjM9Lv78O0UIvrIMcrOYCpCZnBXMCUTfxAVJz6H3kH8Bd0vlfbQCEGv5JDx3GdJIUof+o+XFxtyBM+QAAAABJRU5ErkJggg==);
    width: 32px;
    height: 32px;
    background-size: contain;
}



.battle-page .opponent-profile {
    position: absolute;
    right: 0;
    width: 200px;
    height: 48px;
    top: 42%;
    z-index: 100;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAAwCAYAAABUmTXqAAAABHNCSVQICAgIfAhkiAAAAtlJREFUeF7tnbtOG1EURY8jhYI0UEFp6lDDB8AXhIaOlg466KCDDjpadzTwAwkdkm1QBCki8SsIBMMZ7kl4yBA/5kH23kj4GrvaS3vpeq7niEZmnZaZrfivfkRABF4RaGT2c9zs9re/PiM6IiACLwk08j8za8+ZNU796ZgAiYAIPBF4FCRJ0t30xx3BEQER6ClI5rJ0v/tbiwIkAiKQCPzdQWIXmTK7v/KXJwVIBETglSBJks43X44FRwREoIcgSZL2vr+1JkAiwE7gxUesPzD86Pez2c2FSzLLDkj5uQn0FCTtIudfze7O/OkXbkRKz0zgTUHiemTV1wNmQMrOTeBdQUKSI1+XuDEpPSuBPgS5nDC79qNfm2aFpNy8BP4pSJxqLfgFe/4l4ideVErOSKAvQeKj1q6vG4yQlJmXwACC5Ee/t/kNjfO8uJScjUDfgsQu0vQD4Pz7Ed2KwtYU0rwDCZIk6S774yEpL8UmIzCwILGTtHzVFCJZWRjjDimIphAZy8KYeShB4uhXU4iMjSHLPLQgcT2iKUSywrDFHVEQTSGyFYYt70iCxC7iU4jZL3+uW1HY2kOQd2RB4nokvxXlhICXIpIRKESQkERTiGTlYYhboCCaQmQoDFvGwgRJu4imENkKhJ63UEHiW3ZNIaK3hihf4YKEJJpCJCoRctSSBNEUInJpmLKVIsizo19NITK1CTBraYLER61tX7cAuSkSCYGSBXm8FaXjLDWFSFIotJilChK7SFNTiGi14clTuiBJEk0h8lQKK2klgsRO0vJVU4hY/YFPU6EgmkKEbxNgwMoEiaNfTSEClgg5UqWChCTrfmv8HjJUZcMhULkgcT3yw1f9L0ScHsEmqUmQrqYQYSuFFawWQeKjlqYQsboEmaY2QUISTSFC1gonVM2CaAoRp0qYSWoVJO0imkLErBZGqtoFiVMtTSFi9AkuxYcQJCTRFCJcvf7/QA9NO50hEt1llQAAAABJRU5ErkJggg==);
    padding: 0 16px;
}

.battle-page .opponent-profile .avatar {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: 4px solid #000000;
    margin-top: 3px;
    position: absolute;
    right: 16px;
}
.battle-page .opponent-profile .username {
    position: absolute;
    right: 68px;
    top: 4px;
    color: black;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.battle-page .opponent-profile .power {
    position: absolute;
    right: 68px;
    color: black;
    display: flex;
    top: 24px;
    justify-content: center;
    line-height: 16px;
    font-weight: 600;
}

.battle-page .opponent-profile .ready {
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAA3hJREFUWEetmD9vE0EQxSc9EU5JZwpoY/IB4FxAAQUEJChjCzqQ4lRQIJEIkKAiloAKhF2CBDgFtLFp6IjTQkG+AUHQh/cc77G3t3v7J95o5fh2d+53b2Znbj0n8a2GJZfRr6Dzf/bG1MwYn/voe+hD9K3p9+C7zAXPPARYRc8i1nAqwTamn96lIUAEeJAAYt48CMwH9AZWW97HipuwielrriUuIMbFxxmo4rov1Vq2xZcNiDDb6CpQnc+fyZIsyilE9bHJnH35K2P5LiPZCdGMG6BpQtmACMO4sTZCrMp1RPi5ypsOgNWVd4job1XzqBSh8mYCOWOmJvPw4ROQLoU8fT6HYG15DPX+uNZ1MdBRgzoQVaE6pdaQ0xh4DtfMR8GoyYRpyp2JOx2NKlEt0YGsriLMjvSTQPRFHqjcdQqISY+7qtCoyE95n6yMaY9QJ+Way30TlRQQCUtROpSXuHjmyOroBhhTy3LPZnOEixmBuM1/mTMYvNvyIhmmL5+lJ5+QVS/Jilws2GnKbdfuWyBQC527q9AG8hQV9GwSEGFa8jBfayq9JV+QNu7abLcJNEBn9S60A/k6ExgaWZdbKIY3c3uMpQW5YLPfJ9AQvRA/qe4yleEdXSnD4bYRgZjnC2WiIzfk2f9cFaRUDAwNrskm/t6atscEOjCvmhLr46xTDdSv49P6xbFYGK7ZkNdw5avSwwYD/UbhzLA7mG3phiF2IKFSYHxArLqLOqrNZV3I24HIqhEqQ44yZQ8tMw6X7QYHdUVCyyHrcmJSZkJqXlVQ92BxxXSmbdsz0bXlkTXICcECTIV8je6vyXnntm9hJDgx2qBiYEjhS4zRpUOHioUhkK90cM4QvVRcq8oHY2qAEsANEOIm5Z8KdfLiyrkZeunljE+/Jx8KOccXH1XjjJ26XA16/XCqpOeco8KoPGaxM1GH14NfYVUiTIHSk6pjvfUVlnOZ+XhcLjW6ryf3o19JGDMtpIqUl3wFYQ1wNcg3AQYyP/V6pj8BFeHxh1nccwzKXaXWuw6KhCqUE5tqhGKhVZmZKozlhw9Cmdqdxg1/Lclb1VGaL27Vp8GUgDpcQ2V4sCjAcMD3Y4MzptJZcKDVDoamHR8Q52fo6zNQi6rQDsPB2UKA1OJUsCAQdZMYILWGtY/+J2Adnd/VBmCg6j/pMQ5LcVKl0D9FOhFxGL2dugAAAABJRU5ErkJggg==);
    position: absolute;
    right: 166px;
    color: black;
    display: flex;
    top: 6px;
    width: 32px;
    height: 32px;
    background-size: contain;
}

.battle-page .opponent-profile .chance {
    font-size: 24pt;
    position: absolute;
    font-weight: 800;
    color: #FF00C7;
    right: 16px;
    bottom: -38px;
}

.battle-page .actions {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 30%;
    padding: 8px;
    z-index: 100;
}

.battle-page .actions .skip {
    background-color: #ff0052d4;
    border: 1px solid #ff0052;
    color: #ffffff;
    font-weight: 600;
}
.battle-page .actions .accept {
    background-color: #c4f85c;
    color: black;
    font-weight: 600;
}


.battle-page .wheel-container {
    width: 300px;
    height: 300px;
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.battle-page   .wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #c4f85c 0% 80%,
        #ff00c7 80% 100%
    );
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    border: 10px solid white;
    animation: glow 3s infinite ease-in-out;
    position: relative;
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 0, 0, 0.6); }
}
.battle-page   .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background:url(../images/arrow.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) rotate(0deg);
    /* transform-origin: center bottom; */
    z-index: 20;
}
.battle-page   .arrow img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    pointer-events: none;
}




.main-page .wheel-container {
    width: 300px;
    height: 300px;
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.main-page   .wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* background: conic-gradient(
        #c4f85c 0% 80%,
        #ff00c7 80% 100%
    ); */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    border: 10px solid white;
    animation: glow 3s infinite ease-in-out;
    position: relative;

    background: url(../images/rarity-wheel.png?r=3);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 0, 0, 0.6); }
}
.main-page   .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: url(../images/rarity-arrow.png?r=1);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) rotate(0deg);
    /* transform-origin: center bottom; */
    z-index: 20;
}
.main-page   .arrow img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    pointer-events: none;
}

.claim-item-button {
    
}


.case-page .roll-wrapper {
    position: relative;
    width: 100%;
    margin-top: 16px;
    background-color: #ffffff12;
    height: 160px;
    border-radius: 200px 200px 32px 32px;
    overflow-x: hidden;
    max-width: 350px;
    margin: 16px auto;
    perspective: 800px;
    -webkit-perspective: 800px;
    box-shadow: inset 0px 18px 12px rgb(0 135 255), inset 0px -7px 12px rgb(0 137 255 / 44%);
}

.case-page .roll-line {
    display: flex;
    gap: 10px;
    height: 160px;
    border-radius: 24px;
    width: max-content;
    align-items: center;
    margin-left: -20px;
    transform: rotateX(30deg);
    transform-style: preserve-3d;
    -webkit-transform: rotateX(30deg);
    -webkit-transform-style: preserve-3d;
}

.case-page .roll-item {
    width: 128px;
    height: 128px;
    background-color: #ffffff17;
    border-radius: 12px;
}

.case-page .select-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #ffd100;
    z-index: 10;
    pointer-events: none;
}

.case-page .assets {
    display: grid;
    grid-template-columns: repeat(auto-fill, 64px);
    gap: 8px;
    justify-content: center; /* optional: center the grid */
}

.case-page .asset {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.case-page .roll-options {
    margin-top: 16px;
    display: flex;
    gap:8px;
    align-items: center;
}

.progressive-offer-view {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.514);
    display: flex;
    flex-direction: column;
    gap:16px;
    overflow: auto;
    inset: 0;
    position: fixed;
    z-index: 10000000;
    -webkit-backdrop-filter: blur(2px) brightness(10%);
    backdrop-filter: blur(6px) brightness(10%);
    padding-bottom: 128px;
    padding-top: calc(24px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    padding-left: 16px;
    padding-right: 16px;
}

.progressive-offer-view .offer-cluster {
    display: flex;
    flex-direction: column;
    gap:8px;
    align-items: center;
    padding-left: 128px;
    position: relative;
}

.progressive-offer-view .arrow-left {
    height: 4px;
    top:75px;
    right: 40%;
    left: 20%;
    background-color: #3b3b3b;
    position: absolute;
}
.progressive-offer-view .arrow-vertical {
    top:-8%;
    height: 108%;
    left: 20%;
    width: 4px;
    background-color: #3b3b3b;
    position: absolute;
}

.progressive-offer-view .offer-cluster .offer-image {
    width: 150px;
    height: 150px;
    background-color: white;
    background: url(offer_17_btn.png);
    background-size: contain;
    z-index: 10000;
}


.progressive-offer-view .offer-cluster .offer-btn-view {
    width: 150px;
    height: 32px;
    background-color: #ffffff17;
    border-radius: 16px;
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 10pt;
}
.progressive-offer-view .offer-cluster .offer-btn-buy {
    width: 150px;
    height: 50px;
    background-color: white;
    border-radius: 16px;
    color: black;
    display: flex
;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}
.progressive-offer-view .offer-cluster .offer-btn-free {
    width: 150px;
    height: 50px;
    border-radius: 16px;
    color: black;
    display: flex
;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    background: linear-gradient(45deg, #02d339, #00ff8e);
    font-size: 16pt;
    font-weight: 800;
}

.progressive-offer-view .locked {
    position: absolute;
    width: 120px;
    display: flex;
    flex-direction: column;
    left: calc(20% - 32px);
    top: 20%;
    background-color: black;
    padding: 16px;
    border-radius: 32px;
    border: 1px solid white;
    font-size: 10pt;
    z-index: 10000;
    line-height: 16px;
    gap: 8px;
}