@layer mhub-legacy {
:where(.legacy-ui) #registerForm,:where(.legacy-ui) #loginForm,:where(.legacy-ui) #userProfile,:where(.legacy-ui) #profileHeader{
    display: none;
}
:where(.legacy-ui) .auth-loading #registerForm,:where(.legacy-ui) .auth-loading #loginForm,:where(.legacy-ui) .auth-loading #userProfile,:where(.legacy-ui) .auth-loading #profileHeader{
    display: none ;
}

:where(.legacy-ui) #bg{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}
:where(.legacy-ui) html.effects-static-bg #bg{
    background:
        radial-gradient(circle at 18% 28%, rgba(180, 196, 220, 0.2), transparent 40%),
        radial-gradient(circle at 82% 66%, rgba(132, 150, 178, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(8, 10, 14, 0.94), rgba(16, 18, 24, 0.98));
}
:where(.legacy-ui) html.effects-reduced *,:where(.legacy-ui) html.effects-reduced *::before,:where(.legacy-ui) html.effects-reduced *::after{
    backdrop-filter: none ;
    -webkit-backdrop-filter: none ;
}
:where(.legacy-ui) .sr-only{
    position: absolute ;
    width: 1px ;
    height: 1px ;
    padding: 0 ;
    margin: -1px ;
    overflow: hidden ;
    clip: rect(0, 0, 0, 0) ;
    white-space: nowrap ;
    border: 0 ;
}
:where(.legacy-ui) html[data-page="guides"]{
    overflow-y: auto ;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) html[data-page="guides"]::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) ::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) html[data-page="configs"]{
    overflow-y: auto ;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) html[data-page="configs"]::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) ::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .scroll-area{
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    overflow: hidden;
}
:where(.legacy-ui) canvas{
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}
:where(.legacy-ui) .bg-video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    background: #0a0a0a;
}
:where(.legacy-ui) main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    padding-top: 30px;
}
:where(.legacy-ui) .hero{
    background: rgba(20, 20, 30, 0.13);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 36px 32px 24px 32px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    border: 1.5px solid rgba(255,255,255,0.06);
    animation: fadeInDown 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}
:where(.legacy-ui) .error-box{
    margin: 30px auto;
    max-width: 500px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(10px);
}
:where(.legacy-ui) .spinner{
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-left: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
:where(.legacy-ui) .hero h2{
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 1px;
}
:where(.legacy-ui) .hero p{
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 0;
}
:where(.legacy-ui) .advantages{
    display: flex;
    gap: 32px;
    justify-content: center;
    background: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
:where(.legacy-ui) .advantage{
    background: rgba(30, 30, 40, 0.10);
    border-radius: 18px;
    padding: 24px 18px 18px 18px;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 1.2s;
}
:where(.legacy-ui) .advantage:hover{
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(255,255,255,0.18);
}
:where(.legacy-ui) .advantage i{
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}
:where(.legacy-ui) .advantage h4{
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}
:where(.legacy-ui) .advantage p{
    font-size: 0.98rem;
    color: #b0eaff;
}
:where(.legacy-ui) .store-section{
    width: 100vw;
    max-width: 1100px;
    background: none;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
}
:where(.legacy-ui) .store-section h2{
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
:where(.legacy-ui) .product-grid{
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    box-sizing: border-box;
    padding: 0 20px;
    scroll-padding-bottom: 60px;
    justify-items: center;
}
:where(.legacy-ui) .product-grid-dual{
    max-width: 860px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
    align-items: stretch;
}
:where(.legacy-ui) .premium-home-card .product-card-title{
    color: #ffffff;
}
:where(.legacy-ui) .premium-home-locked{
    cursor: default ;
    pointer-events: none;
}
:where(.legacy-ui) .premium-home-locked:hover{
    transform: none ;
}
:where(.legacy-ui) .premium-home-locked .cheat-bg{
    filter: grayscale(0.62) brightness(0.72) contrast(1.04);
}
:where(.legacy-ui) .premium-home-locked .product-card-title{
    color: #ffffff;
    opacity: 1;
    filter: none;
}
:where(.legacy-ui) .product-card{
    background: rgba(30, 30, 35, 0.8);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 1.3s;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    max-width: 210px;
}
:where(.legacy-ui) .cheat-card{
    background: none ;
    border: none ;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.1) ;
    padding: 0 ;
    min-width: 300px;
    max-width: none;
    height: 320px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
:where(.legacy-ui) .product-card-overlay{
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}
:where(.legacy-ui) .product-card-badge{
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(12, 12, 16, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
:where(.legacy-ui) .product-card-badge-lite{
    background: rgba(28, 28, 34, 0.78);
}
:where(.legacy-ui) .product-card-title{
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.78);
    paint-order: stroke fill;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.82),
        1px -1px 0 rgba(0, 0, 0, 0.82),
        -1px 1px 0 rgba(0, 0, 0, 0.82),
        1px 1px 0 rgba(0, 0, 0, 0.82),
        0 6px 22px rgba(0, 0, 0, 0.45);
}
:where(.legacy-ui) .product-card:hover{
    transform: translateY(-6px) scale(1.005);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 6px 20px rgba(255,255,255,0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .cheat-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 8px 25px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .product-card .product-img{
    width: 100%;
    max-width: 180px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
:where(.legacy-ui) .cheat-bg{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    filter: brightness(1.1) contrast(1.05);
    transition: filter 0.3s ease;
}
:where(.legacy-ui) .cheat-card:hover .cheat-bg{
    filter: brightness(1.2) contrast(1.1);
}
:where(.legacy-ui) .product-card h3{
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
    text-align: center;
}
:where(.legacy-ui) .product-card .description{
    font-size: 0.92rem;
    color: #b0eaff;
    margin-bottom: 6px;
    text-align: center;
}
:where(.legacy-ui) .product-card .price{
    font-size: 1rem;
    color: #dfdfdf;
    font-weight: 700;
    margin-bottom: 8px;
}
:where(.legacy-ui) .product-card .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 4px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .product-card .btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .sold-badge{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.78);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 16px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(2px);
    text-shadow: 0 2px 8px #000;
    opacity: 0.92;
    transition: opacity 0.2s;
}
:where(.legacy-ui) .product-card.sold .sold-badge{
    display: flex;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
:where(.legacy-ui) .container{
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
:where(.legacy-ui) .title-bar{
    background-color: rgba(0, 0, 0, 0.11);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
:where(.legacy-ui) .title-bar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% ;
    max-width: none ;
    margin: 0 ;
    padding: 0 24px ;
}
:where(.legacy-ui) .left{
    display: flex;
    align-items: center;
}
:where(.legacy-ui) .title{
    font-size: 22px;
    margin-right: 12px;
    font-weight: bold;
    transition: filter 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
:where(.legacy-ui) .title:hover{
    filter: brightness(0.7);
}
:where(.legacy-ui) .site-logo{
    width: 25px;
    height: 40px;
    object-fit: contain;
    filter: brightness(1.2);
}
:where(.legacy-ui) header nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
:where(.legacy-ui) header nav ul li{
    margin: 0;
    padding: 0;
}
:where(.legacy-ui) header nav ul li a{
    color: #fff;
    text-decoration: none;
    font-family: "Renew", Arial, sans-serif;
    font-weight: bold;
    font-size: 19px;
    transition: color 0.3s ease;
    padding: 10px 10px;
    border-radius: 6px;
}
:where(.legacy-ui) header nav ul li a:hover{
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}
:where(.legacy-ui) .auth-btn{
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
:where(.legacy-ui) .btn-loading{
    position: relative;
    pointer-events: auto;
    opacity: 0.85;
}
:where(.legacy-ui) .btn-loading::after{
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
:where(.legacy-ui) .auth-btn:hover{
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
:where(.legacy-ui) .btn{
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .btn:hover{
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
:where(.legacy-ui) .store{
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
}
:where(.legacy-ui) .subscription-option,:where(.legacy-ui) .payment-method{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
:where(.legacy-ui) .subscription-option:hover,:where(.legacy-ui) .payment-method:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .subscription-option.selected,:where(.legacy-ui) .payment-method.selected{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .subscription-option input,:where(.legacy-ui) .payment-method input{
    margin-right: 10px;
}
:where(.legacy-ui) .subscription-option label,:where(.legacy-ui) .payment-method label{
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-method img{
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    margin-right: 0;
    opacity: 0.88;
}
:where(.legacy-ui) .payment-method-icon-crypto{
    width: 24px;
    height: 24px;
    opacity: 1;
}
:where(.legacy-ui) .payment-details{
    display: flex;
    flex-direction: column;
}
:where(.legacy-ui) .payment-details p{
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .purchase-buttons{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}
:where(.legacy-ui) .purchase-button{
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .purchase-button:hover{
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
:where(.legacy-ui) .card{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}
:where(.legacy-ui) .card:first-child{
    margin-top: 80px;
}
:where(.legacy-ui) .card h3{
    margin-top: 0px;
    font-size: 18px;
}
:where(.legacy-ui) .description{
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}
:where(.legacy-ui) .radio-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
:where(.legacy-ui) .radio-group label{
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
:where(.legacy-ui) .radio-group label:hover{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .radio-group input[type="radio"]{
    margin-right: 10px;
    accent-color: #007bff;
}
:where(.legacy-ui) .radio-group span{
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-info{
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .button-group{
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
:where(.legacy-ui) .button-group button{
    flex: 1;
    min-width: 120px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .button-group button:hover{
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}
:where(.legacy-ui) .button-group button:active{
    transform: translateY(0);
}
:where(.legacy-ui) .spacing{
    height: 20px;
}
:where(.legacy-ui) .content{
    padding-top: 55px;
}
:where(.legacy-ui) h1{
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}
:where(.legacy-ui) h2{
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}
:where(.legacy-ui) p{
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #e0e0e0;
}
:where(.legacy-ui) ul{
    list-style: none;
    padding-left: 0;
}
:where(.legacy-ui) li{
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 10px;
    color: #e0e0e0;
}
:where(.legacy-ui) .contacts{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}
:where(.legacy-ui) .contacts a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}
:where(.legacy-ui) .contacts a:hover{
    color: #cccccc;
}
:where(.legacy-ui) .modal{
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    backdrop-filter: blur(8px);
}
:where(.legacy-ui) .modal.open{
    display: flex;
}
:where(.legacy-ui) .modal-content{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 560px;
    width: 95vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: fadeInUp 0.4s;
}
:where(.legacy-ui) .modal-img{
    width: 100%;
    max-width: 260px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
:where(.legacy-ui) .modal-content h3{
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-align: center;
}
:where(.legacy-ui) .modal-desc{
    color: #b0eaff;
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: center;
}
:where(.legacy-ui) .modal-details{
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 12px;
    text-align: center;
}
:where(.legacy-ui) .modal-price{
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
}
:where(.legacy-ui) .close-modal,:where(.legacy-ui) .modal-close,:where(.legacy-ui) .close-modal-btn{
    position: absolute;
    top: 12px; right: 18px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 10;
}
:where(.legacy-ui) .close-modal:hover,:where(.legacy-ui) .modal-close:hover,:where(.legacy-ui) .close-modal-btn:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .pay-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 100%;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .pay-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .main-segments{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
:where(.legacy-ui) .segment{
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.5s;
    opacity: 0;
    pointer-events: auto;
    z-index: 1;
}
:where(.legacy-ui) .segment.active{
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateY(0);
}
:where(.legacy-ui) .segment.up{
    transform: translateY(-100vh);
}
:where(.legacy-ui) .segment.down{
    transform: translateY(100vh);
}
:where(.legacy-ui) .welcome-segment{
    background: none;
}
:where(.legacy-ui) .welcome-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    min-height: 80vh;
    box-sizing: border-box;
    position: relative;
}
:where(.legacy-ui) .welcome-content h1{
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}
:where(.legacy-ui) .welcome-content h2{
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
:where(.legacy-ui) .welcome-content p{
    font-size: 1.5rem;
    color: #e0e0e0;
    margin: 0;
}
:where(.legacy-ui) .welcome-content .btn{
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: 12px;
}
:where(.legacy-ui) .shop-segment{
    background: none;
    padding-top: 20px;
    padding-bottom: 32px;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .shop-segment::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .shop-segment h2{
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: center;
}
@media  (max-width: 900px) {:where(.legacy-ui) .product-grid,:where(.legacy-ui) .product-grid-dual{
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 12px;
        max-width: 400px;
    }
:where(.legacy-ui) .cheat-card{
        height: 260px;
        min-width: 0;
    }
:where(.legacy-ui) .main-segments,:where(.legacy-ui) .segment,:where(.legacy-ui) .shop-segment{
        width: 100vw;
        min-width: 0;
    }}
@media  (max-width: 600px) {:where(.legacy-ui) .welcome-content h1{
        font-size: 2rem;
    }
:where(.legacy-ui) .shop-segment h2{
        font-size: 1.2rem;
    }
:where(.legacy-ui) .product-grid,:where(.legacy-ui) .product-grid-dual{
        grid-template-columns: 1fr;
        padding: 0 8px;
        gap: 16px;
        max-width: 400px;
    }
:where(.legacy-ui) .cheat-card{
        height: 220px;
        min-width: 0;
    }
:where(.legacy-ui) .modal-content{
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }}
:where(.legacy-ui) .modal-email{
    width: 100%;
    margin: 10px 0 4px 0;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    backdrop-filter: blur(5px);
}
:where(.legacy-ui) .modal-email:focus{
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .modal-email-error{
    color: #ff4d4d;
    font-size: 0.95rem;
    min-height: 18px;
    margin-bottom: 6px;
    text-align: center;
}
:where(.legacy-ui) .support-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-left: 10px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .support-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .support-links{
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
}
:where(.legacy-ui) .support-link{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.3);
    color: #ffffff ;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .support-link:hover{
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.2);
}
:where(.legacy-ui) .close-modal-support{
    position: absolute;
    top: 12px; right: 18px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}
:where(.legacy-ui) .close-modal-support:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .go-shop{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 12px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .go-shop:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
@media  (max-width: 900px) {:where(.legacy-ui) .go-shop{
        font-size: 1rem;
        padding: 10px 22px;
        border-radius: 7px;
    }}
@media  (max-width: 600px) {:where(.legacy-ui) .go-shop{
        font-size: 0.95rem;
        padding: 8px 12px;
        border-radius: 6px;
    }}
:where(.legacy-ui) .big-logo-anim{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0 18px 0;
    background: none;
    overflow: visible;
    padding: 18px 0;
}
:where(.legacy-ui) .lightning-logo-big{
    width: 90px;
    height: 144px;
    display: block;
    overflow: visible;
}
:where(.legacy-ui) .lightning-logo-big .lightning{
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 16;
}
:where(.legacy-ui) .lightning-logo-big .electric{
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
    animation: electricFlow 1.5s linear infinite;
    filter: drop-shadow(0 0 18px #ffffff);
}
@media  (max-width: 600px) {:where(.legacy-ui) .lightning-logo-big{
        width: 54px;
        height: 86px;
    }
:where(.legacy-ui) .big-logo-anim{
        margin: 10px 0 10px 0;
    }}
:where(.legacy-ui) .urgency-badge{
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    color: #181818;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
    animation: urgency-pulse 1.5s infinite;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .product-card:hover .urgency-badge{
    animation: urgency-pulse-fast 0.8s infinite;
}
@keyframes urgency-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.32);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.24);
    }
}
@keyframes urgency-pulse-fast {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 6px 16px rgba(255, 255, 255, 0.8);
    }
}
@media  (max-width: 600px) {:where(.legacy-ui) .urgency-badge{
        top: 6px;
        left: 6px;
        font-size: 0.65rem;
        padding: 3px 6px;
    }}
:where(.legacy-ui) .product-card.sold{
    filter: grayscale(0.25) brightness(0.8);
}
:where(.legacy-ui) .large-modal{
  max-width: 600px;
  width: 95vw;
  min-height: 480px;
}
:where(.legacy-ui) #modal-inventory{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 18px 0 10px 0;
}
:where(.legacy-ui) .inventory-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(255,255,255,0.10);
  padding: 10px 12px 6px 12px;
  width: 90px;
  transition: box-shadow 0.2s;
}
:where(.legacy-ui) .inventory-item:hover{
  box-shadow: 0 0 16px 2px #ffffffcc;
}
:where(.legacy-ui) .inventory-img{
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 6px #ffffff55);
}
:where(.legacy-ui) .inventory-text{
  font-size: 13px;
  color: #fffbe7;
  text-align: center;
  margin-top: 2px;
  line-height: 1.15;
  word-break: break-word;
}
@media  (max-width: 600px) {:where(.legacy-ui) .large-modal{
    max-width: 98vw;
    min-height: 340px;
    padding: 10px 2vw;
  }
:where(.legacy-ui) #modal-inventory{
    gap: 10px;
  }
:where(.legacy-ui) .inventory-item{
    width: 70px;
    padding: 7px 5px 4px 5px;
  }
:where(.legacy-ui) .inventory-img{
    width: 38px;
    height: 38px;
  }
:where(.legacy-ui) .inventory-text{
    font-size: 11px;
  }}
:where(.legacy-ui) .modal-warning{
  color: #ffffff;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 4px 0 0 0;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  font-weight: 500;
}
@media  (max-width: 600px) {:where(.legacy-ui) .modal-warning{
    font-size: 12px;
  }}
:where(.legacy-ui) .modal-divider{
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #222 0%, #ffffff 50%, #222 100%);
  opacity: 0.18;
  margin: 16px 0 14px 0;
  border: none;
}
:where(.legacy-ui) .modal-block-label{
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 7px;
  margin-top: -6px;
  letter-spacing: 0.01em;
}
:where(.legacy-ui) .modal-title{
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 0;
  color: #fffbe7;
  letter-spacing: 0.01em;
}
:where(.legacy-ui) .modal-bottom-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
:where(.legacy-ui) .modal-price{
  font-size: 1.25em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}
:where(.legacy-ui) .modal-email-block{
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  align-items: stretch;
}
@media  (max-width: 600px) {:where(.legacy-ui) .modal-divider{
    margin: 10px 0 8px 0;
  }
:where(.legacy-ui) .modal-block-label{
    font-size: 12px;
    margin-bottom: 4px;
  }
:where(.legacy-ui) .modal-title{
    font-size: 1.05em;
  }
:where(.legacy-ui) .modal-bottom-row{
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
:where(.legacy-ui) .modal-email-block{
    max-width: 100%;
  }
:where(.legacy-ui) .modal-price{
    font-size: 1.05em;
  }
:where(.legacy-ui) #modal-pay-btn{
    font-size: 1em;
    padding: 12px 0 11px 0;
  }}
:where(.legacy-ui) #modal-pay-btn{
  width: 100%;
  font-size: 1.18em;
  font-weight: 700;
  padding: 15px 0 14px 0;
  margin-top: 10px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 16px 0 rgba(255,255,255,0.10);
}
:where(.legacy-ui) .quotes-container{
    position: fixed;
    top: 65%;
    right: 40px;
    transform: translateY(-50%);
    width: 320px;
    max-width: 320px;
    z-index: 10;
    pointer-events: auto;
}
:where(.legacy-ui) .quote{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: right;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
:where(.legacy-ui) .quote.active{
    opacity: 1;
    transform: translateX(0);
}
:where(.legacy-ui) .quote,:where(.legacy-ui) .quote,:where(.legacy-ui) .quote{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: right;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
:where(.legacy-ui) .quote.active,:where(.legacy-ui) .quote.active,:where(.legacy-ui) .quote.active{
    opacity: 1;
    transform: translateX(0);
}
:where(.legacy-ui) .quotes-container,:where(.legacy-ui) .quotes-container,:where(.legacy-ui) .quotes-container{
    position: fixed;
    top: 65%;
    right: 40px;
    transform: translateY(-50%);
    width: 320px;
    max-width: 320px;
    z-index: 10;
    pointer-events: auto;
}
:where(.legacy-ui) .about-us-container,:where(.legacy-ui) .about-us-container,:where(.legacy-ui) .about-us-container{
    position: fixed;
    top: 30%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
}
:where(.legacy-ui) .product-image-container{
    margin: 20px 0;
    text-align: center;
}
:where(.legacy-ui) .product-image-placeholder{
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}
:where(.legacy-ui) .product-image-placeholder:hover{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}
:where(.legacy-ui) .product-image-placeholder i{
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .product-image-placeholder span{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}
@keyframes modalEvaporate {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02) translateY(-5px);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: scale(1.05) translateY(-15px);
        filter: blur(8px);
    }
}
@keyframes modalBgFade {
    0% {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0);
    }
}
:where(.legacy-ui) .avatar-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .avatar-modal.active{
    display: flex;
}
:where(.legacy-ui) .avatar-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .avatar-modal.closing .avatar-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .avatar-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .avatar-modal-content::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .avatar-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 8px 0;
}
:where(.legacy-ui) .avatar-item{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .avatar-item:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .avatar-item.selected{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .avatar-item.selected::after{
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}
:where(.legacy-ui) .avatar-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
:where(.legacy-ui) .avatar-item:hover img{
    transform: scale(1.05);
}
:where(.legacy-ui) .avatar-item i{
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}
:where(.legacy-ui) .avatar-item:hover i{
    color: rgba(255, 255, 255, 0.9);
}
:where(.legacy-ui) .avatar-item.selected i{
    color: rgba(255, 255, 255, 1);
}
:where(.legacy-ui) .social-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .social-modal.active{
    display: flex;
}
:where(.legacy-ui) .social-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .social-modal.closing .social-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .social-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .social-modal-content::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .social-modal-links{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}
:where(.legacy-ui) .social-modal-link{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
:where(.legacy-ui) .social-modal-link::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}
:where(.legacy-ui) .social-modal-link:hover::before{
    left: 100%;
}
:where(.legacy-ui) .social-modal-link:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .social-modal-icon{
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .discord-link .social-modal-icon{
    background: rgba(114, 137, 218, 0.15);
    color: #7289da;
    border: 1px solid rgba(114, 137, 218, 0.3);
}
:where(.legacy-ui) .discord-link:hover .social-modal-icon{
    background: rgba(114, 137, 218, 0.25);
    border-color: rgba(114, 137, 218, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(114, 137, 218, 0.3);
}
:where(.legacy-ui) .telegram-link .social-modal-icon{
    background: rgba(37, 150, 190, 0.15);
    color: #2596be;
    border: 1px solid rgba(37, 150, 190, 0.3);
}
:where(.legacy-ui) .telegram-link:hover .social-modal-icon{
    background: rgba(37, 150, 190, 0.25);
    border-color: rgba(37, 150, 190, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 150, 190, 0.3);
}
:where(.legacy-ui) .social-modal-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(.legacy-ui) .social-modal-name{
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.3px;
}
:where(.legacy-ui) .social-modal-desc{
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .social-modal-arrow{
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
:where(.legacy-ui) .social-modal-link:hover .social-modal-arrow{
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}
:where(.legacy-ui) .key-activation-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .key-activation-modal.active{
    display: flex;
}
:where(.legacy-ui) .key-activation-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .key-activation-modal.closing .key-activation-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .key-activation-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .key-activation-modal-content::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .key-input{
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: "Courier New", monospace;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 20px;
}
:where(.legacy-ui) .key-input:focus{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .key-input::placeholder{
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}
:where(.legacy-ui) .key-activation-modal-content .auth-btn{
    width: 100%;
    margin-top: 0;
}
:where(.legacy-ui) .promo-panel-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
:where(.legacy-ui) .promo-panel-modal.active{
    display: flex;
}
:where(.legacy-ui) .promo-panel-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .promo-panel-modal.closing .promo-panel-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .promo-panel-modal-content{
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
    max-width: 680px;
    width: min(92vw, 680px);
    max-height: 90vh;
    overflow: visible;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
:where(.legacy-ui) .promo-panel-modal-content.loading{
    pointer-events: none;
}
:where(.legacy-ui) .promo-panel-modal-content.loading .promo-income-value,:where(.legacy-ui) .promo-panel-modal-content.loading .promo-balance-text,:where(.legacy-ui) .promo-panel-modal-content.loading .promo-stat-number{
    opacity: 0.45;
}
:where(.legacy-ui) .promo-panel-page-shell{
    min-height: calc(100vh - 170px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 44px 0;
}
:where(.legacy-ui) .promo-panel-page{
    width: min(980px, 100%);
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
    overflow: visible;
    position: relative;
}
:where(.legacy-ui) .promo-panel-page-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px 0;
}
:where(.legacy-ui) .promo-panel-page-heading{
    min-width: 0;
}
:where(.legacy-ui) .promo-panel-page-title{
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    color: #ffffff;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    font-stretch: normal;
    overflow-wrap: anywhere;
}
:where(.legacy-ui) .promo-panel-back-btn{
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: all 0.25s ease;
}
:where(.legacy-ui) .promo-panel-back-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}
:where(.legacy-ui) .promo-panel-page-content{
    padding: 20px 26px 26px;
}
:where(.legacy-ui) .promo-panel-page-content.loading{
    pointer-events: none;
}
:where(.legacy-ui) .promo-panel-page-content.loading .promo-income-value,:where(.legacy-ui) .promo-panel-page-content.loading .promo-balance-text,:where(.legacy-ui) .promo-panel-page-content.loading .promo-stat-number{
    opacity: 0.45;
}
:where(.legacy-ui) .promo-panel-modal-header{
    padding: 24px 26px 0;
}
:where(.legacy-ui) .promo-panel-body{
    padding: 20px 26px 26px;
}
:where(.legacy-ui) .promo-panel-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
:where(.legacy-ui) .promo-income-block{
    min-width: 0;
}
:where(.legacy-ui) .promo-panel-label{
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 8px;
}
:where(.legacy-ui) .promo-income-value{
    display: block;
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    transition: opacity 0.2s ease;
}
:where(.legacy-ui) .promo-balance-text{
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: 0;
    transition: opacity 0.2s ease;
}
:where(.legacy-ui) .promo-period-select{
    position: relative;
    flex: 0 0 190px;
    width: 190px;
    z-index: 3;
}
:where(.legacy-ui) .promo-period-toggle{
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 650;
    transition: all 0.25s ease;
}
:where(.legacy-ui) .promo-period-toggle:hover,:where(.legacy-ui) .promo-period-select.open .promo-period-toggle{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .promo-period-toggle i{
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}
:where(.legacy-ui) .promo-period-select.open .promo-period-toggle i{
    transform: rotate(180deg);
}
:where(.legacy-ui) .promo-period-menu{
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 100%;
    padding: 6px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}
:where(.legacy-ui) .promo-period-select.open .promo-period-menu{
    display: grid;
    gap: 3px;
}
:where(.legacy-ui) .promo-period-menu button{
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .promo-period-menu button:hover,:where(.legacy-ui) .promo-period-menu button.active{
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
:where(.legacy-ui) .promo-codes-line{
    display: none;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.84rem;
    font-weight: 600;
}
:where(.legacy-ui) .promo-stats-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
:where(.legacy-ui) .promo-stat-item{
    min-height: 124px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}
:where(.legacy-ui) .promo-stat-label{
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.96rem;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.25;
}
:where(.legacy-ui) .promo-stat-number{
    color: #ffffff;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    transition: opacity 0.2s ease;
}
:where(.legacy-ui) .promo-panel-tabs{
    width: min(560px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}
:where(.legacy-ui) .promo-panel-tab{
    min-height: 40px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
:where(.legacy-ui) .promo-panel-tab:hover{
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
:where(.legacy-ui) .promo-panel-tab.active{
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
:where(.legacy-ui) .promo-panel-view{
    display: none;
}
:where(.legacy-ui) .promo-panel-view.active{
    display: block;
}
:where(.legacy-ui) .promo-payouts-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
:where(.legacy-ui) .promo-payouts-balance{
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
}
:where(.legacy-ui) .promo-payouts-balance-line{
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}
:where(.legacy-ui) .promo-payouts-balance-line strong{
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 850;
}
:where(.legacy-ui) .promo-payout-primary-btn,:where(.legacy-ui) .payout-confirm-btn,:where(.legacy-ui) .payout-secondary-btn,:where(.legacy-ui) .payout-quick-row button{
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0;
}
:where(.legacy-ui) .promo-payout-primary-btn{
    min-height: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    background: #ffffff;
    border: 0;
    border-radius: 9px;
    color: #111111;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
:where(.legacy-ui) .promo-payout-primary-btn:hover{
    background: #f3f3f3;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
:where(.legacy-ui) .promo-payout-history{
    display: grid;
    gap: 10px;
}
:where(.legacy-ui) .promo-payout-row{
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
}
:where(.legacy-ui) .promo-payout-main{
    min-width: 0;
}
:where(.legacy-ui) .promo-payout-method{
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
:where(.legacy-ui) .promo-payout-method-icon{
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 5px;
    object-fit: contain;
    display: block;
    background: rgba(255, 255, 255, 0.04);
}
:where(.legacy-ui) .promo-payout-meta{
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
    font-weight: 650;
}
:where(.legacy-ui) .promo-payout-amount{
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}
:where(.legacy-ui) .promo-payout-status{
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}
:where(.legacy-ui) .promo-payout-status.pending{
    background: rgba(245, 177, 66, 0.16);
    color: #f5c56f;
    border: 1px solid rgba(245, 177, 66, 0.24);
}
:where(.legacy-ui) .promo-payout-status.completed{
    background: rgba(75, 210, 133, 0.16);
    color: #7ee0a5;
    border: 1px solid rgba(75, 210, 133, 0.24);
}
:where(.legacy-ui) .promo-payout-status.cancelled{
    background: rgba(239, 87, 87, 0.16);
    color: #ff8d8d;
    border: 1px solid rgba(239, 87, 87, 0.24);
}
:where(.legacy-ui) .promo-payout-actions{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
:where(.legacy-ui) .promo-payout-details-btn{
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.74rem;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .promo-payout-details-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
:where(.legacy-ui) .promo-payout-empty{
    display: none;
    min-height: 84px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}
:where(.legacy-ui) .promo-payout-empty.active{
    display: flex;
}
:where(.legacy-ui) .payout-modal{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}
:where(.legacy-ui) .payout-modal.active{
    display: flex;
}
:where(.legacy-ui) .payout-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .payout-modal.closing .payout-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .payout-modal-content{
    width: min(94vw, 520px);
    max-width: 100%;
    max-height: min(760px, 92vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-x: hidden;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.46);
    animation: modalSlideIn 0.25s ease;
}
:where(.legacy-ui) .payout-mini-modal .payout-modal-content{
    width: min(92vw, 440px);
}
:where(.legacy-ui) .payout-modal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .payout-modal-header h2{
    margin: 0;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
}
:where(.legacy-ui) .payout-icon-btn,:where(.legacy-ui) .payout-info-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .payout-icon-btn{
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}
:where(.legacy-ui) .payout-info-btn{
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex: 0 0 20px;
    display: none ;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    font-style: normal;
    font-family: Georgia, "Times New Roman", serif;
    text-transform: lowercase;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    pointer-events: none;
}
:where(.legacy-ui) .payout-info-btn.is-visible{
    display: inline-flex ;
    pointer-events: auto;
}
:where(.legacy-ui) .payout-icon-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
:where(.legacy-ui) .payout-info-btn:hover{
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
}
:where(.legacy-ui) .payout-form{
    display: grid;
    gap: 14px;
    padding: 18px 20px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .payout-form::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
}
:where(.legacy-ui) .payout-field{
    display: grid;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 750;
}
:where(.legacy-ui) .payout-field input,:where(.legacy-ui) .payout-method-trigger{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    color: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: 0;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
:where(.legacy-ui) .payout-method-trigger{
    min-height: 48px;
    height: auto;
    padding: 8px 12px;
}
:where(.legacy-ui) .payout-field input:focus,:where(.legacy-ui) .payout-method-select.open .payout-method-trigger{
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .payout-field input::placeholder{
    color: rgba(255, 255, 255, 0.32);
}
:where(.legacy-ui) .payout-method-select{
    position: relative;
    min-width: 0;
    max-width: 100%;
}
:where(.legacy-ui) .payout-method-trigger{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}
:where(.legacy-ui) .payout-method-trigger > .fa-chevron-down,:where(.legacy-ui) .payout-method-trigger > i{
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}
:where(.legacy-ui) .payout-method-picked,:where(.legacy-ui) .payout-method-option{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
:where(.legacy-ui) .payout-method-copy{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}
:where(.legacy-ui) .payout-method-name{
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.2;
}
:where(.legacy-ui) .payout-method-fee{
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.74rem;
    font-weight: 650;
    line-height: 1.2;
}
:where(.legacy-ui) .payout-method-icon{
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}
:where(.legacy-ui) .payout-method-icon img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: transparent;
    border-radius: 8px;
}
:where(.legacy-ui) .promo-payout-method-icon{
    background: rgba(255, 255, 255, 0.06);
}
:where(.legacy-ui) .payout-method-menu{
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 5;
    max-width: 100%;
    padding: 6px;
    background: #1d1d1d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}
:where(.legacy-ui) .payout-method-select.open .payout-method-menu{
    display: grid;
    gap: 4px;
}
:where(.legacy-ui) .payout-method-menu button{
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    box-sizing: border-box;
}
:where(.legacy-ui) .payout-method-menu button:hover,:where(.legacy-ui) .payout-method-menu button.active{
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
:where(.legacy-ui) .payout-fee-note{
    display: none;
}
:where(.legacy-ui) .payout-amount-wrap{
    position: relative;
    min-width: 0;
    max-width: 100%;
}
:where(.legacy-ui) .payout-amount-wrap input{
    height: 42px;
    min-height: 42px;
    padding-right: 40px;
    max-width: 100%;
    box-sizing: border-box;
}
:where(.legacy-ui) #payoutDestinationInput{
    height: 42px;
    min-height: 42px;
}
:where(.legacy-ui) .payout-ruble{
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.96rem;
    font-weight: 850;
    pointer-events: none;
}
:where(.legacy-ui) .payout-quick-row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
:where(.legacy-ui) .payout-quick-row button{
    min-height: 32px;
    height: 32px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 750;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
:where(.legacy-ui) .payout-secondary-btn{
    min-height: 40px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
:where(.legacy-ui) .payout-quick-row button:hover,:where(.legacy-ui) .payout-secondary-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
:where(.legacy-ui) .payout-destination-title{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    width: fit-content;
    max-width: 100%;
    pointer-events: none;
}
:where(.legacy-ui) .payout-destination-title #payoutDestinationLabel{
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 750;
    pointer-events: none;
}
:where(.legacy-ui) .payout-destination-title .payout-info-btn{
    pointer-events: auto;
}
:where(.legacy-ui) .payout-error{
    display: none;
    padding: 10px 11px;
    background: rgba(239, 87, 87, 0.12);
    border: 1px solid rgba(239, 87, 87, 0.22);
    border-radius: 8px;
    color: #ff9b9b;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.35;
}
:where(.legacy-ui) .payout-error.active{
    display: block;
}
:where(.legacy-ui) .payout-modal-footer{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 10px;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .payout-confirm-btn{
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
:where(.legacy-ui) .payout-confirm-btn:hover{
    background: #f3f3f3;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
:where(.legacy-ui) .payout-confirm-btn:disabled{
    cursor: wait;
    opacity: 0.62;
    box-shadow: none;
}
:where(.legacy-ui) .funpay-rules{
    margin: 0;
    padding: 18px 24px 20px 42px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
}
:where(.legacy-ui) .funpay-rules li + li{
    margin-top: 8px;
}
:where(.legacy-ui) .payout-details-body{
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
}
:where(.legacy-ui) .payout-details-line{
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
:where(.legacy-ui) .payout-details-line:last-child{
    border-bottom: 0;
}
:where(.legacy-ui) .payout-details-label{
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 750;
}
:where(.legacy-ui) .payout-details-value{
    min-width: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
:where(.legacy-ui) .download-loader-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .download-loader-modal.active{
    display: flex;
}
:where(.legacy-ui) .download-loader-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .download-loader-modal.closing .download-loader-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .download-loader-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-width: 820px;
    width: min(92vw, 820px);
    position: relative;
    animation: modalSlideIn 0.3s ease;
    display: block;
    overflow: hidden;
    max-height: 80vh;
    height: auto;
    min-height: 0;
}
:where(.legacy-ui) .download-loader-modal-content *{
    box-sizing: border-box;
    max-width: 100%;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="powershell"]{
    height: auto;
    max-height: none;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="file"]{
    height: auto ;
    max-height: 80vh ;
    min-height: 0 ;
}
:where(.legacy-ui) .download-loader-modal-content .modal-header{
    flex-shrink: 0;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .download-loader-modal-content .modal-body{
    flex: 1;
    min-height: auto;
    padding: 12px 22px 16px;
    display: block;
    overflow-y: auto;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="powershell"] .modal-body{
    flex: 0 1 auto;
    overflow: visible;
    min-height: auto;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="file"] .modal-body{
    flex: 1 0 auto;
    min-height: 0;
    width: 100%;
}
:where(.legacy-ui) .download-loader-content{
    padding: 0;
    flex: 0 0 auto;
    display: block;
    min-height: auto;
    position: relative;
    overflow: hidden;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="powershell"] .download-loader-content{
    flex: 0 1 auto;
    overflow: visible;
    min-height: auto;
}
:where(.legacy-ui) .download-loader-modal-content[data-method="file"] .download-loader-content{
    flex: 0 0 auto;
    min-height: auto;
}
:where(.legacy-ui) .video-instruction-trigger{
    margin-top: 12px;
}
:where(.legacy-ui) .loader-video-modal .download-loader-modal-content{
    width: min(900px, 92vw);
}
:where(.legacy-ui) .download-method-selector{
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-method-btn{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
:where(.legacy-ui) .download-method-btn i{
    font-size: 1rem;
}
:where(.legacy-ui) .download-method-btn:hover{
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}
:where(.legacy-ui) .download-method-btn.active{
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
:where(.legacy-ui) .download-method-content{
    display: block;
    flex: 0 0 auto;
    min-height: auto;
    overflow-x: hidden;
}
:where(.legacy-ui) .download-method-content.active{
    display: block;
    animation: fadeIn 0.3s ease;
}
:where(.legacy-ui) .download-method-content#fileMethod.active{
    display: block;
    padding-top: 0;
}
:where(.legacy-ui) .download-method-content#powershellMethod{
    flex: 0 1 auto;
    min-height: auto;
    overflow-y: visible;
}
:where(.legacy-ui) .download-method-content#powershellMethod.active{
    justify-content: flex-start;
    padding: 0;
    overflow-y: visible;
    overflow-x: hidden;
}
:where(.legacy-ui) .download-method-content#fileMethod{
    flex: 0 1 auto ;
    min-height: auto ;
    overflow: visible ;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .download-method-content#fileMethod.active{
    overflow: visible ;
    width: 100%;
}
:where(.legacy-ui) .download-method-content#fileMethod::-webkit-scrollbar{
    display: none;
    width: 0;
    background: transparent;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:where(.legacy-ui) .download-item{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}
:where(.legacy-ui) #powershellMethod .download-item{
    margin-bottom: 12px;
}
:where(.legacy-ui) #powershellMethod .download-item:last-child{
    margin-bottom: 0;
}
:where(.legacy-ui) .download-item-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
    width: 100%;
}
:where(.legacy-ui) .download-item-title{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-item-title i{
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}
:where(.legacy-ui) .download-copy-btn{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
:where(.legacy-ui) .download-copy-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}
:where(.legacy-ui) .download-copy-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .powershell-command{
    width: 100%;
    min-height: 120px;
    height: auto;
    padding: 16px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #00ff88;
    font-family: "Courier New", "Consolas", "Monaco", monospace;
    font-size: 13px;
    resize: none;
    word-break: break-all;
    line-height: 1.8;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow-y: visible;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 136, 0.3) transparent;
    -ms-overflow-style: none;
    white-space: pre-wrap;
}
:where(.legacy-ui) .powershell-command::-webkit-scrollbar{
    width: 6px;
}
:where(.legacy-ui) .powershell-command::-webkit-scrollbar-track{
    background: transparent;
}
:where(.legacy-ui) .powershell-command::-webkit-scrollbar-thumb{
    background: rgba(0, 255, 136, 0.3);
    border-radius: 3px;
}
:where(.legacy-ui) .powershell-command::-webkit-scrollbar-thumb:hover{
    background: rgba(0, 255, 136, 0.5);
}
:where(.legacy-ui) .powershell-command:focus{
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(0, 255, 136, 0.1);
}
:where(.legacy-ui) .powershell-command::placeholder{
    color: rgba(0, 255, 136, 0.4);
    font-style: italic;
}
:where(.legacy-ui) .download-key-value{
    color: rgba(255, 255, 255, 0.9);
    font-family: "Courier New", "Consolas", monospace;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px;
    border-radius: 8px;
    word-break: break-all;
    text-align: center;
    letter-spacing: 1px;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    transition: all 0.3s ease;
    line-height: 1.6;
}
:where(.legacy-ui) .download-key-value:hover{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.12);
}
:where(.legacy-ui) .download-info{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    flex-shrink: 0;
}
:where(.legacy-ui) #powershellMethod .download-info{
    margin-top: 0;
}
:where(.legacy-ui) .download-info i{
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-info span{
    flex: 1;
}
:where(.legacy-ui) .download-info code{
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}
:where(.legacy-ui) .download-instructions{
    padding: 12px 0 4px;
}
:where(.legacy-ui) .file-installation-header{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-instructions p{
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-instructions p strong{
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}
:where(.legacy-ui) .instruction-note{
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-style: italic;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-cmd-example{
    position: relative;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px;
    font-family: "Courier New", "Consolas", "Monaco", monospace;
    font-size: 13px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
:where(.legacy-ui) .download-cmd-example-minecraft{
    display: block;
    padding: 0;
}
:where(.legacy-ui) .download-cmd-example::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .download-cmd-example{
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .last-loader-meta{
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .last-loader-meta span,:where(.legacy-ui) .lite-loader-meta span{
    color: #ffffff;
    font-weight: 600;
}
:where(.legacy-ui) .lite-loader-meta{
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .loader-random-section{
    margin-top: 16px;
    padding: 0 4px 0;
}
:where(.legacy-ui) .loader-command-layout{
    margin-top: 0;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
:where(.legacy-ui) .loader-random-card{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
}
:where(.legacy-ui) .command-download-card{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
:where(.legacy-ui) .command-download-card-single .loader-random-card-guide{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
:where(.legacy-ui) .command-download-card-single .last-loader-meta{
    margin-top: 0;
}
:where(.legacy-ui) .loader-random-card-main{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    width: 100%;
}
:where(.legacy-ui) .loader-random-card-guide{
    width: 100%;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
    box-sizing: border-box;
}
:where(.legacy-ui) .loader-random-card-guide .download-instructions{
    padding: 0;
}
:where(.legacy-ui) .loader-random-card-guide .download-instructions p:first-child{
    margin-top: 0;
}
:where(.legacy-ui) .loader-random-card-guide .download-cmd-example{
    margin-top: 0;
}
:where(.legacy-ui) .loader-random-card-guide .instruction-note{
    margin-bottom: 0;
}
:where(.legacy-ui) .loader-download-access-panel{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .loader-download-access-status{
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff8080;
}
:where(.legacy-ui) .loader-download-access-status.enabled{
    color: #62e69b;
}
:where(.legacy-ui) .loader-download-access-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
:where(.legacy-ui) .download-access-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
:where(.legacy-ui) .download-access-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}
:where(.legacy-ui) .download-access-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
:where(.legacy-ui) .download-access-btn-success{
    background: linear-gradient(135deg, #168f54, #2dbf73);
    border-color: rgba(98, 230, 155, 0.55);
}
:where(.legacy-ui) .download-access-btn-danger{
    background: linear-gradient(135deg, #9b1c2b, #d94153);
    border-color: rgba(255, 128, 128, 0.45);
}
:where(.legacy-ui) #minecraftDownloadCommandBlock{
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 168px;
    overflow: hidden;
}
:where(.legacy-ui) .minecraft-command-output{
    display: block;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 168px;
    padding: 16px;
    color: #00ff88;
    font-family: "Courier New", "Consolas", "Monaco", monospace;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
:where(.legacy-ui) .minecraft-command-output::-webkit-scrollbar{
    width: 6px;
}
:where(.legacy-ui) .minecraft-command-output::-webkit-scrollbar-track{
    background: transparent;
}
:where(.legacy-ui) .minecraft-command-output::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}
:where(.legacy-ui) .loader-inline-video-card{
    padding: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    width: 100%;
}
:where(.legacy-ui) .loader-inline-video-title{
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}
:where(.legacy-ui) .loader-inline-video-container{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.45);
}
:where(.legacy-ui) .loader-inline-video-container iframe{
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
:where(.legacy-ui) .download-loader-content > *:last-child{
    margin-bottom: 0;
}
:where(.legacy-ui) .loader-random-icon{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .loader-random-text{
    flex: 1;
}
:where(.legacy-ui) .loader-random-title{
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}
:where(.legacy-ui) .loader-random-desc{
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-random-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
:where(.legacy-ui) .download-random-btn:hover{
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
@media  (max-width: 768px) {:where(.legacy-ui) .loader-random-card{
        flex-direction: column;
        align-items: flex-start;
    }
:where(.legacy-ui) .loader-random-card-main{
        flex-direction: column;
        align-items: flex-start;
    }
:where(.legacy-ui) .download-random-btn{
        width: 100%;
        justify-content: center;
    }
:where(.legacy-ui) .loader-download-access-actions{
        flex-direction: column;
    }
:where(.legacy-ui) .download-access-btn{
        width: 100%;
    }
:where(.legacy-ui) .download-cmd-example{
        padding: 12px;
    }
:where(.legacy-ui) .download-cmd-example-minecraft{
        padding: 0;
    }
:where(.legacy-ui) .minecraft-command-output{
        font-size: 12px;
        line-height: 1.45;
        min-height: 144px;
        padding: 14px;
    }}
:where(.legacy-ui) .cmd-line{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    word-break: break-all;
    flex: 1;
    min-width: 0;
}
:where(.legacy-ui) .cmd-prompt{
    color: rgba(0, 255, 136, 0.7);
}
:where(.legacy-ui) .cmd-command{
    color: #00ff88;
    font-weight: 600;
    overflow-wrap: anywhere;
}
:where(.legacy-ui) .cmd-arg{
    color: rgba(255, 255, 255, 0.6);
}
:where(.legacy-ui) .cmd-key{
    color: #ffd700;
    font-weight: 600;
    overflow-wrap: anywhere;
}
:where(.legacy-ui) .download-copy-cmd-btn{
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-left: 12px;
}
:where(.legacy-ui) .download-copy-cmd-btn:hover{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}
:where(.legacy-ui) .download-copy-cmd-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .download-download-btn{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
:where(.legacy-ui) .download-download-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}
:where(.legacy-ui) .download-download-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .download-actions{
    display: flex;
    align-items: center;
    gap: 10px;
}
:where(.legacy-ui) .download-customize-btn{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-customize-btn:hover{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}
:where(.legacy-ui) .download-customize-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .download-customize-btn i{
    font-size: 0.9rem;
}
:where(.legacy-ui) #fileMethod .loader-type-selector{
    display: flex;
    gap: 10px;
    margin: 0 12px 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}
:where(.legacy-ui) .loader-type-btn{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
:where(.legacy-ui) .loader-type-btn i{
    font-size: 1rem;
}
:where(.legacy-ui) .loader-type-btn:hover{
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}
:where(.legacy-ui) .loader-type-btn.active{
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
:where(.legacy-ui) .loader-type-content{
    display: none;
    flex: none;
    overflow: visible;
    padding: 0 12px;
}
:where(.legacy-ui) .loader-type-content.active{
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}
:where(.legacy-ui) .loader-presets-section{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: none;
}
:where(.legacy-ui) .custom-loader-section{
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: none;
}
:where(.legacy-ui) .custom-loader-status,:where(.legacy-ui) .custom-loader-ready{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .custom-loader-status-content,:where(.legacy-ui) .custom-loader-ready-content{
    display: flex;
    align-items: center;
    gap: 16px;
}
:where(.legacy-ui) .custom-loader-status-icon,:where(.legacy-ui) .custom-loader-ready-icon{
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .custom-loader-ready-icon{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}
:where(.legacy-ui) .custom-loader-status-text,:where(.legacy-ui) .custom-loader-ready-text{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(.legacy-ui) .custom-loader-status-title,:where(.legacy-ui) .custom-loader-ready-title{
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .custom-loader-status-desc,:where(.legacy-ui) .custom-loader-ready-desc{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .custom-loader-ready-actions{
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-customize-btn{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
:where(.legacy-ui) .download-customize-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}
:where(.legacy-ui) .download-customize-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .section-header{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
:where(.legacy-ui) .section-header h4{
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}
:where(.legacy-ui) .section-header p{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
}
:where(.legacy-ui) .presets-grid-large{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 6px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
:where(.legacy-ui) .presets-grid-large:active{
    cursor: grabbing;
}
:where(.legacy-ui) .presets-grid-large.dragging{
    cursor: grabbing;
}
:where(.legacy-ui) .presets-grid-large::-webkit-scrollbar{
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}
:where(.legacy-ui) .presets-grid-large::-webkit-scrollbar-track{
    display: none;
}
:where(.legacy-ui) .presets-grid-large::-webkit-scrollbar-thumb{
    display: none;
}
:where(.legacy-ui) .preset-card-large{
    background: #2a2a2a;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    min-width: 160px;
    flex-shrink: 0;
    width: 160px;
}
:where(.legacy-ui) .preset-card-large::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}
:where(.legacy-ui) .preset-card-large:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .preset-card-large:hover::before{
    opacity: 1;
}
:where(.legacy-ui) .preset-card-large.selected{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .preset-card-large.selected::before{
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}
:where(.legacy-ui) .preset-card-preview{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    overflow: hidden;
}
:where(.legacy-ui) .preset-card-preview img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}
:where(.legacy-ui) .preset-icon-large{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .preset-icon-large img{
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
:where(.legacy-ui) .preset-card-large:hover .preset-icon-large img{
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
:where(.legacy-ui) .preset-card-large.selected .preset-icon-large img{
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}
:where(.legacy-ui) .preset-card-large.selected .preset-card-preview{
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .preset-card-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}
:where(.legacy-ui) .preset-card-name{
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.3;
}
:where(.legacy-ui) .preset-card-desc{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.3;
}
:where(.legacy-ui) .preset-card-badge{
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}
:where(.legacy-ui) .preset-card-large.selected .preset-card-badge{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
}
:where(.legacy-ui) .selected-preset-info{
    margin-top: 8px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}
:where(.legacy-ui) .selected-preset-info[style*="display: none"]{
    display: none ;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}
:where(.legacy-ui) .selected-preset-display{
    display: flex;
    align-items: center;
    gap: 12px;
}
:where(.legacy-ui) .selected-preset-icon{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .selected-preset-text{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
:where(.legacy-ui) .selected-preset-name{
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .selected-preset-hint{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-preset-btn{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
:where(.legacy-ui) .download-preset-btn:hover{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .download-preset-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .download-preset-btn.disabled{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none;
}
:where(.legacy-ui) .download-preset-btn.disabled:hover{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    transform: none;
}
:where(.legacy-ui) .normal-loader-content{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}
:where(.legacy-ui) .normal-loader-info{
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}
:where(.legacy-ui) .normal-loader-icon{
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .normal-loader-text{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(.legacy-ui) .normal-loader-title{
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .normal-loader-desc{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .download-normal-btn{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}
:where(.legacy-ui) .download-normal-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}
:where(.legacy-ui) .download-normal-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .guide-content{
    padding: 0;
}
:where(.legacy-ui) .guide-info{
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
:where(.legacy-ui) .guide-info p{
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
:where(.legacy-ui) .guide-item{
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
:where(.legacy-ui) .guide-item:last-child{
    margin-bottom: 0;
}
:where(.legacy-ui) .guide-item-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
:where(.legacy-ui) .guide-item-header i{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
:where(.legacy-ui) .guide-item-header span{
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .guide-item-desc{
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
:where(.legacy-ui) .guide-item-steps{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
}
:where(.legacy-ui) .guide-item-steps span{
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    line-height: 1.3;
    padding-left: 12px;
    position: relative;
}
:where(.legacy-ui) .guide-item-steps span:before{
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}
:where(.legacy-ui) .code-block{
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px;
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 8px 0;
    white-space: pre-line;
    line-height: 1.4;
    overflow-x: auto;
    cursor: pointer;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .code-block:hover{
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.5);
}
:where(.legacy-ui) .guide-tips{
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
:where(.legacy-ui) .guide-tip{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
:where(.legacy-ui) .guide-tip:last-child{
    margin-bottom: 0;
}
:where(.legacy-ui) .guide-tip i{
    color: rgba(46, 204, 113, 0.8);
    font-size: 0.8rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .guide-tip span{
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}
@media  (max-width: 768px) {:where(.legacy-ui) .download-loader-modal-content{
        max-width: 95%;
    }
:where(.legacy-ui) .download-loader-modal-content[data-method="powershell"]{
        max-height: 90vh;
    }
:where(.legacy-ui) .download-loader-modal-content[data-method="file"]{
        height: auto ;
        max-height: 85vh ;
        min-height: 0 ;
    }
:where(.legacy-ui) .download-loader-modal-content .modal-header{
        padding: 16px 20px;
    }
:where(.legacy-ui) .download-loader-modal-content .modal-body{
        padding: 14px;
    }
:where(.legacy-ui) .download-method-selector{
        gap: 8px;
        margin-bottom: 14px;
        padding: 5px;
    }
:where(.legacy-ui) .download-method-btn{
        padding: 10px 12px;
        font-size: 0.88rem;
    }
:where(.legacy-ui) .file-installation-header{
        padding: 0;
        margin-bottom: 14px;
    }
:where(.legacy-ui) .download-item{
        padding: 14px;
    }
:where(.legacy-ui) .loader-random-card-main{
        padding: 14px;
    }
:where(.legacy-ui) .loader-random-card-guide{
        padding: 12px 14px 14px;
    }
:where(.legacy-ui) .powershell-command{
        min-height: 100px;
        font-size: 12px;
    }
:where(.legacy-ui) .presets-grid-large{
        gap: 10px;
    }
:where(.legacy-ui) .preset-card-large{
        padding: 12px;
        min-height: 120px;
        min-width: 140px;
        width: 140px;
    }
:where(.legacy-ui) .preset-card-preview{
        height: 70px;
    }
:where(.legacy-ui) .preset-icon-large{
        font-size: 1.5rem;
    }
:where(.legacy-ui) .preset-icon-large img{
        width: 36px;
        height: 36px;
    }
:where(.legacy-ui) .preset-card-name{
        font-size: 0.85rem;
    }
:where(.legacy-ui) .preset-card-desc{
        font-size: 0.75rem;
    }
:where(.legacy-ui) .preset-card-badge{
        top: 6px;
        right: 6px;
        padding: 2px 6px;
        font-size: 0.65rem;
    }
:where(.legacy-ui) .selected-preset-display{
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
:where(.legacy-ui) .download-preset-btn{
        width: 100%;
        justify-content: center;
    }
:where(.legacy-ui) .loader-type-selector{
        flex-direction: row;
        gap: 8px;
    }
:where(.legacy-ui) .loader-type-btn{
        padding: 8px 12px;
        font-size: 0.85rem;
    }
:where(.legacy-ui) .section-header h4{
        font-size: 0.95rem;
    }
:where(.legacy-ui) .section-header p{
        font-size: 0.8rem;
    }
:where(.legacy-ui) .logo-preview{
        width: 120px;
        height: 120px;
    }
:where(.legacy-ui) .logo-upload-area{
        flex-direction: column;
    }
:where(.legacy-ui) .logo-upload-controls{
        min-width: 100%;
    }
:where(.legacy-ui) .customize-loader-modal-content{
        padding: 16px 20px;
        max-width: 95%;
        min-height: auto;
    }
:where(.legacy-ui) .guide-info{
        padding: 12px;
        margin-bottom: 16px;
    }
:where(.legacy-ui) .guide-info p{
        font-size: 0.85rem;
    }
:where(.legacy-ui) .guide-item{
        padding: 12px;
        margin-bottom: 16px;
    }
:where(.legacy-ui) .guide-item-header span{
        font-size: 0.95rem;
    }
:where(.legacy-ui) .guide-item-desc{
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
:where(.legacy-ui) .guide-item-steps span{
        font-size: 0.75rem;
    }
:where(.legacy-ui) .code-block{
        padding: 8px;
        font-size: 0.7rem;
    }
:where(.legacy-ui) .guide-tips{
        padding: 12px;
        margin-top: 16px;
    }
:where(.legacy-ui) .guide-tip span{
        font-size: 0.8rem;
    }
:where(.legacy-ui) .custom-loader-status-content,:where(.legacy-ui) .custom-loader-ready-content{
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
:where(.legacy-ui) .custom-loader-ready-actions{
        flex-direction: column;
        width: 100%;
    }
:where(.legacy-ui) .custom-loader-ready-actions .download-customize-btn,:where(.legacy-ui) .custom-loader-ready-actions .download-preset-btn{
        width: 100%;
        justify-content: center;
    }
:where(.legacy-ui) .file-installation-header{
        gap: 10px;
    }}
:where(.legacy-ui) .customize-loader-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .customize-loader-modal.active{
    display: flex;
}
:where(.legacy-ui) .customize-loader-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .customize-loader-modal.closing .customize-loader-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .customize-loader-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    min-height: 500px;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .customize-loader-modal-content::-webkit-scrollbar{
    width: 6px;
}
:where(.legacy-ui) .customize-loader-modal-content::-webkit-scrollbar-track{
    background: transparent;
}
:where(.legacy-ui) .customize-loader-modal-content::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
:where(.legacy-ui) .customize-loader-modal-content::-webkit-scrollbar-thumb:hover{
    background: rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .customize-content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
:where(.legacy-ui) .customize-section{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
:where(.legacy-ui) .customize-section:last-of-type{
    margin-bottom: 0;
}
:where(.legacy-ui) .customize-section-header{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 4px;
}
:where(.legacy-ui) .customize-section-header i{
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
:where(.legacy-ui) .loader-presets-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}
:where(.legacy-ui) .loader-preset-card{
    background: #2a2a2a;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
:where(.legacy-ui) .loader-preset-card:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .loader-preset-card.active{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}
:where(.legacy-ui) .preset-preview{
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .loader-preset-card.active .preset-preview{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.05);
}
:where(.legacy-ui) .preset-name{
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .loader-preset-card.active .preset-name{
    color: #ffffff;
    font-weight: 600;
}
:where(.legacy-ui) .customize-input-group{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(.legacy-ui) .customize-input{
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
:where(.legacy-ui) .customize-input:focus{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .customize-input::placeholder{
    color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .input-hint{
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    margin-top: 2px;
}
:where(.legacy-ui) .logo-upload-area{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
:where(.legacy-ui) .logo-preview-container{
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
:where(.legacy-ui) .logo-preview{
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}
:where(.legacy-ui) .logo-preview img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
:where(.legacy-ui) .logo-preview i{
    font-size: 2rem;
}
:where(.legacy-ui) .logo-preview span{
    font-size: 0.8rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .logo-remove-btn{
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: rgba(220, 53, 69, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 0.8rem;
    z-index: 10;
}
:where(.legacy-ui) .logo-remove-btn:hover{
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}
:where(.legacy-ui) .logo-upload-controls{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}
:where(.legacy-ui) .logo-upload-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}
:where(.legacy-ui) .logo-upload-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}
:where(.legacy-ui) .color-scheme-selector{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}
:where(.legacy-ui) .color-option{
    background: #2a2a2a;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
:where(.legacy-ui) .color-option:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
:where(.legacy-ui) .color-option.active{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}
:where(.legacy-ui) .color-preview{
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .color-option span{
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .color-option.active span{
    color: #ffffff;
    font-weight: 600;
}
:where(.legacy-ui) .customize-actions{
    display: flex;
    gap: 10px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .customize-reset-btn,:where(.legacy-ui) .customize-apply-btn{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
:where(.legacy-ui) .customize-reset-btn{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}
:where(.legacy-ui) .customize-reset-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}
:where(.legacy-ui) .customize-apply-btn{
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}
:where(.legacy-ui) .customize-apply-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}
:where(.legacy-ui) .keys-list-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .keys-list-modal.active{
    display: flex;
}
:where(.legacy-ui) .keys-list-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .keys-list-modal.closing .keys-list-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .keys-list-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .keys-list-modal-content::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .keys-list-content{
    padding: 8px 0;
}
:where(.legacy-ui) .keys-list-content p{
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 20px 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .keys-list-content .key-item{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
:where(.legacy-ui) .keys-list-content .key-item:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .keys-list-content .key-item:active{
    transform: translateY(0);
}
:where(.legacy-ui) .keys-list-content .key-item:last-child{
    margin-bottom: 0;
}
:where(.legacy-ui) .keys-list-content .key-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}
:where(.legacy-ui) .keys-list-content .key-name-wrapper{
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
:where(.legacy-ui) .keys-list-content .key-name{
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .keys-list-content .key-plan{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .keys-list-content .key-status{
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    white-space: nowrap;
}
:where(.legacy-ui) .keys-list-content .key-status.active{
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}
:where(.legacy-ui) .keys-list-content .key-status.expired{
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}
:where(.legacy-ui) .keys-list-content .key-value{
    color: rgba(255, 255, 255, 0.8);
    font-family: "Courier New", monospace;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
    word-break: break-all;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
    filter: blur(12px) brightness(1.2);
    opacity: 0.6;
    background-clip: padding-box;
    pointer-events: none;
}
:where(.legacy-ui) .keys-list-content .key-value::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}
:where(.legacy-ui) .keys-list-content .key-value.copying::before{
    left: 100%;
}
:where(.legacy-ui) .keys-list-content .key-value::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 200% 200%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
:where(.legacy-ui) .keys-list-content .key-value.copying::after{
    opacity: 0.5;
    animation: shimmer 0.6s ease;
}
@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
:where(.legacy-ui) .keys-list-content .key-value:hover{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.15);
    filter: blur(12px) brightness(1.2);
    opacity: 0.6;
}
:where(.legacy-ui) .keys-list-content .key-value.revealed{
    filter: blur(0) brightness(1) ;
    opacity: 1 ;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .keys-list-content .key-value.revealed::after{
    display: none;
}
:where(.legacy-ui) .keys-list-content .key-value:active{
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
}
:where(.legacy-ui) .keys-list-content .key-timer-inline{
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: left;
}
:where(.legacy-ui) .keys-list-content .key-status.assigned{
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}
@media  (max-width: 768px) {:where(.legacy-ui) .key-activation-modal-content,:where(.legacy-ui) .keys-list-modal-content{
        max-width: 95%;
        padding: 20px;
    }
:where(.legacy-ui) .keys-list-content .key-item{
        padding: 14px;
    }
:where(.legacy-ui) .keys-list-content .key-info{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
:where(.legacy-ui) .keys-list-content .key-status{
        align-self: flex-end;
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .key-input{
        font-size: 0.9rem;
        padding: 12px 14px;
        letter-spacing: 1px;
    }
:where(.legacy-ui) .keys-list-content .key-item{
        padding: 12px;
    }
:where(.legacy-ui) .keys-list-content .key-name{
        font-size: 0.95rem;
    }
:where(.legacy-ui) .keys-list-content .key-value{
        font-size: 0.85rem;
        padding: 8px 12px;
        filter: blur(10px) brightness(1.2);
    }
:where(.legacy-ui) .keys-list-content .key-value.revealed{
        filter: blur(0) brightness(1) ;
    }
:where(.legacy-ui) .key-activation-modal-content .auth-btn{
        padding: 12px 20px;
        font-size: 0.95rem;
    }}
@media  (max-width: 768px) {:where(.legacy-ui) .social-modal-content{
        max-width: 95%;
        padding: 20px;
    }
:where(.legacy-ui) .social-modal-link{
        padding: 16px;
        gap: 14px;
    }
:where(.legacy-ui) .social-modal-icon{
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }
:where(.legacy-ui) .social-modal-name{
        font-size: 1rem;
    }
:where(.legacy-ui) .social-modal-desc{
        font-size: 0.85rem;
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .social-modal-link{
        padding: 14px;
        gap: 12px;
    }
:where(.legacy-ui) .social-modal-icon{
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }}
@media  (max-width: 768px) {:where(.legacy-ui) .avatar-modal-content{
        max-width: 95%;
        padding: 20px;
        max-height: 85vh;
    }
:where(.legacy-ui) .avatar-grid{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
:where(.legacy-ui) .avatar-item{
        padding: 10px;
    }
:where(.legacy-ui) .avatar-item i{
        font-size: 2.5rem;
    }
:where(.legacy-ui) .avatar-item.selected::after{
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: 6px;
        right: 6px;
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .avatar-grid{
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
:where(.legacy-ui) .avatar-item{
        padding: 8px;
    }
:where(.legacy-ui) .avatar-item i{
        font-size: 2rem;
    }}
:where(.legacy-ui) .about-us-container .product-image-container,:where(.legacy-ui) .about-us-container .product-image-container,:where(.legacy-ui) .about-us-container .product-image-container{
    position: absolute;
    top: 400px; 
    left: 0;
    width: 100%;
    margin: 0;
}
:where(.legacy-ui) .quotes-container .product-image-container,:where(.legacy-ui) .quotes-container .product-image-container,:where(.legacy-ui) .quotes-container .product-image-container{
    position: absolute;
    top: -600px;
    right: 0;
    width: 200%;
    margin: 0;
    z-index: 15;
}
:where(.legacy-ui) .product-image{
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}
:where(.legacy-ui) .product-image:hover{
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
:where(.legacy-ui) .product-image,:where(.legacy-ui) .product-image,:where(.legacy-ui) .product-image{
    border: 2px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .about-us-container .product-image,:where(.legacy-ui) .about-us-container .product-image,:where(.legacy-ui) .about-us-container .product-image{
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    max-height: 400px;
}
:where(.legacy-ui) .quotes-container .product-image,:where(.legacy-ui) .quotes-container .product-image,:where(.legacy-ui) .quotes-container .product-image{
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    max-width: 1000px;
    max-height: 400px;
}
:where(.legacy-ui) .quotes-container .quote,:where(.legacy-ui) .quotes-container .quote,:where(.legacy-ui) .quotes-container .quote{
    position: absolute;
    top: -150px;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: right;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 0;
}
:where(.legacy-ui) .quotes-container .quote.active,:where(.legacy-ui) .quotes-container .quote.active,:where(.legacy-ui) .quotes-container .quote.active{
    opacity: 1;
    transform: translateX(0);
}
:where(.legacy-ui) .quotes-container,:where(.legacy-ui) .quotes-container,:where(.legacy-ui) .quotes-container{
    position: fixed;
    top: 65%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
}
:where(.legacy-ui) .quote-text{
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 300;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.01em;
}
:where(.legacy-ui) .quote-author{
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .catalog-button-container{
    margin-top: 700px;
    margin-bottom: 20px;
    text-align: center;
    z-index: 5;
}
:where(.legacy-ui) .catalog-button-container .go-shop{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .catalog-button-container .go-shop::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}
:where(.legacy-ui) .catalog-button-container .go-shop:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.25);
}
:where(.legacy-ui) .catalog-button-container .go-shop:hover::before{
    left: 100%;
}
:where(.legacy-ui) .catalog-button-container .go-shop:active{
        transform: translateY(0);
    }
:where(.legacy-ui) .about-us-container{
        position: fixed;
        top: 30%;
        left: 40px;
        transform: translateY(-50%);
        width: 375px;
        max-width: 375px;
        z-index: 10;
        pointer-events: auto;
    }
:where(.legacy-ui) .about-us-container-right{
        left: auto;
        right: 40px;
        top: 45%;
        perspective: 1000px;
    }
:where(.legacy-ui) .about-us{
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        opacity: 1;
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform-style: preserve-3d;
        cursor: pointer;
    }
:where(.legacy-ui) .about-us-container{
        perspective: 1000px;
    }
:where(.legacy-ui) .about-us:hover{
        transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
:where(.legacy-ui) .about-us-container-right .about-us:hover{
        transform: rotateY(-5deg) rotateX(5deg) translateZ(20px);
    }
:where(.legacy-ui) .about-title{
        font-size: 1.5rem;
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 16px;
        font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
        letter-spacing: 0.02em;
    }
:where(.legacy-ui) .about-text{
        font-size: 1.125rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 20px;
        font-weight: 400;
        font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
        letter-spacing: -0.01em;
    }
:where(.legacy-ui) .about-features{
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
:where(.legacy-ui) .feature{
        font-size: 1.0625rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
        font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    }
:where(.legacy-ui) .social-links{
        display: flex;
        gap: 16px;
        margin-top: 24px;
        justify-content: center;
        align-items: center;
    }
:where(.legacy-ui) .social-link{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        opacity: 0.8;
    }
:where(.legacy-ui) .social-link:hover{
        opacity: 1;
        transform: translateY(-3px) scale(1.1);
    }
:where(.legacy-ui) .social-icon{
        width: 40px;
        height: 40px;
        filter: brightness(0) invert(1);
        opacity: 0.9;
        transition: all 0.3s ease;
    }
:where(.legacy-ui) .social-link:hover .social-icon{
        opacity: 1;
        filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
    }
@media  (max-width: 768px) {:where(.legacy-ui) .about-us-container{
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            width: 100%;
            max-width: 100%;
            margin: 20px 0;
        }
:where(.legacy-ui) .about-us-container-right{
            position: relative;
            top: auto;
            right: auto;
            transform: none;
            width: 100%;
            max-width: 100%;
            margin: 20px 0;
        }
:where(.legacy-ui) .about-us{
            text-align: center;
        }}
@media  (max-width: 1024px) {:where(.legacy-ui) .quotes-container{
        right: 20px;
        width: 280px;
        max-width: 280px;
    }
:where(.legacy-ui) .about-us-container{
        left: 20px;
        width: 260px;
        max-width: 260px;
    }
:where(.legacy-ui) .about-us-container-right{
        right: 20px;
        width: 260px;
        max-width: 260px;
    }
:where(.legacy-ui) .catalog-button-container{
        margin-top: 500px;
    }
:where(.legacy-ui) .catalog-button-container .go-shop{
        padding: 14px 36px;
        font-size: 1rem;
    }}
@media  (max-width: 768px) {:where(.legacy-ui) .quotes-container{
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }
:where(.legacy-ui) .quote{
        text-align: center;
        transform: translateY(20px);
    }
:where(.legacy-ui) .quote.active{
        transform: translateY(0);
    }
:where(.legacy-ui) .about-us-container{
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }
:where(.legacy-ui) .about-us{
        text-align: center;
    }
:where(.legacy-ui) .welcome-content{
        padding: 20px 12px;
        gap: 24px;
    }
:where(.legacy-ui) .swipe-indicator{
        bottom: 40px;
        opacity: 0.7;
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .quotes-container{
        margin: 15px 0;
    }
:where(.legacy-ui) .quote{
        padding: 20px;
    }
:where(.legacy-ui) .quote-text{
        font-size: 0.9rem;
        line-height: 1.4;
    }
:where(.legacy-ui) .quote-author{
        font-size: 0.75rem;
    }
:where(.legacy-ui) .about-us-container{
        margin: 15px 0;
    }
:where(.legacy-ui) .about-us{
        padding: 20px;
    }
:where(.legacy-ui) .about-title{
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
:where(.legacy-ui) .about-text{
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 16px;
    }
:where(.legacy-ui) .catalog-button-container{
        margin-top: 30px;
    }
:where(.legacy-ui) .catalog-button-container .go-shop{
        padding: 12px 28px;
        font-size: 0.95rem;
        border-radius: 40px;
    }
:where(.legacy-ui) .welcome-content{
        padding: 16px 8px;
        gap: 20px;
    }
:where(.legacy-ui) .swipe-indicator{
        bottom: 30px;
        gap: 10px;
    }
:where(.legacy-ui) .swipe-text{
        font-size: 0.7rem;
    }}
@media  (max-width: 360px) {:where(.legacy-ui) .quotes-container{
        margin: 10px 0;
    }
:where(.legacy-ui) .quote{
        padding: 16px;
    }
:where(.legacy-ui) .quote-text{
        font-size: 0.85rem;
        line-height: 1.3;
    }
:where(.legacy-ui) .quote-author{
        font-size: 0.7rem;
    }
:where(.legacy-ui) .about-us-container{
        margin: 10px 0;
    }
:where(.legacy-ui) .about-us{
        padding: 16px;
    }
:where(.legacy-ui) .about-title{
        font-size: 1rem;
        margin-bottom: 10px;
    }
:where(.legacy-ui) .about-text{
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }
:where(.legacy-ui) .catalog-button-container{
        margin-top: 25px;
    }
:where(.legacy-ui) .catalog-button-container .go-shop{
        padding: 10px 24px;
        font-size: 0.9rem;
        border-radius: 35px;
    }
:where(.legacy-ui) .welcome-content{
        padding: 12px 6px;
        gap: 16px;
    }}
:where(.legacy-ui) .swipe-indicator{
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 15;
}
:where(.legacy-ui) .swipe-indicator:hover{
    opacity: 0.8;
}
:where(.legacy-ui) .swipe-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: arrowBounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}
:where(.legacy-ui) .swipe-arrow svg{
    width: 64px;
    height: 64px;
}
:where(.legacy-ui) .swipe-arrow:hover{
    color: rgba(255, 255, 255, 1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    transform: scale(1.1);
}
@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}
:where(.legacy-ui) .pricing-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
}
:where(.legacy-ui) .pricing-title-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    animation: fadeInDown 1s ease;
}
:where(.legacy-ui) .pricing-title-decoration{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    position: relative;
}
:where(.legacy-ui) .pricing-title-wrapper:hover .pricing-title-decoration{
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}
:where(.legacy-ui) .pricing-title{
    margin: 0;
    position: relative;
    display: inline-block;
}
:where(.legacy-ui) .pricing-title-text{
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15),
                 0 4px 40px rgba(255, 255, 255, 0.1);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 1) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleGradient 4s ease infinite;
}
@keyframes subtleGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
:where(.legacy-ui) .pricing-container h2{
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .pricing-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    perspective: 1200px;
}
:where(.legacy-ui) .pricing-cards-single{
    grid-template-columns: minmax(280px, 360px);
    justify-content: center;
    max-width: 360px;
}
:where(.legacy-ui) .pricing-cards-dual{
    grid-template-columns: repeat(2, minmax(260px, 340px));
    justify-content: center;
    max-width: 760px;
    gap: 40px;
}
:where(.legacy-ui) .pricing-cards-wide{
    grid-template-columns: repeat(4, 1fr);
    max-width: 1320px;
}
:where(.legacy-ui) .pricing-card{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform-style: preserve-3d;
    animation: fadeInUp 1.2s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}
:where(.legacy-ui) .pricing-card:nth-child(1){
    animation-delay: 0.1s;
}
:where(.legacy-ui) .pricing-card:nth-child(2){
    animation-delay: 0.2s;
}
:where(.legacy-ui) .pricing-card:nth-child(3){
    animation-delay: 0.3s;
}
:where(.legacy-ui) .pricing-card:nth-child(4){
    animation-delay: 0.4s;
}
:where(.legacy-ui) .pricing-card:hover{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-12px) rotateY(5deg) rotateX(5deg) translateZ(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 0 40px rgba(255, 255, 255, 0.15),
                0 0 80px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .pricing-card:nth-child(2):hover{
    transform: translateY(-12px) rotateY(-2deg) rotateX(5deg) translateZ(20px);
}
:where(.legacy-ui) .pricing-card:active{
    transform: translateY(-8px) rotateY(3deg) rotateX(3deg) translateZ(15px) scale(0.98);
    transition: all 0.1s ease;
}
:where(.legacy-ui) .pricing-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}
:where(.legacy-ui) .pricing-card:hover::before{
    left: 100%;
}
:where(.legacy-ui) .pricing-card::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
:where(.legacy-ui) .pricing-card:hover::after{
    opacity: 1;
}
:where(.legacy-ui) .plan-name{
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 2;
}
:where(.legacy-ui) .pricing-card:hover .plan-name{
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 1);
}
:where(.legacy-ui) .plan-price{
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.2),
                 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}
:where(.legacy-ui) .pricing-card:hover .plan-price{
    transform: scale(1.05);
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2),
                 0 0 40px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .plan-features{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    flex-grow: 1;
    justify-content: center;
    padding-top: 8px;
    position: relative;
    z-index: 2;
}
:where(.legacy-ui) .plan-features .feature{
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-align: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}
:where(.legacy-ui) .plan-features .feature:nth-child(1){
    transition-delay: 0s;
}
:where(.legacy-ui) .plan-features .feature:nth-child(2){
    transition-delay: 0.05s;
}
:where(.legacy-ui) .plan-features .feature:nth-child(3){
    transition-delay: 0.1s;
}
:where(.legacy-ui) .plan-features .feature:nth-child(4){
    transition-delay: 0.15s;
}
:where(.legacy-ui) .pricing-card:hover .plan-features .feature{
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}
:where(.legacy-ui) .payment-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    backdrop-filter: blur(8px);
}
:where(.legacy-ui) .payment-modal.active{
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .payment-modal.closing{
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .payment-modal.closing .payment-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .payment-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:where(.legacy-ui) .modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .modal-header h3{
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .close-modal-btn{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .close-modal-btn:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .modal-body{
    color: #ffffff;
}
:where(.legacy-ui) .selected-plan-info{
    margin-bottom: 20px;
    padding: 16px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
}
:where(.legacy-ui) .plan-summary{
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-methods{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
:where(.legacy-ui) .payment-method{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}
:where(.legacy-ui) .payment-method:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .payment-method i{
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}
:where(.legacy-ui) .payment-method span{
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-method.active{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .payment-method.active i{
    color: #ffffff;
}
:where(.legacy-ui) .payment-method.active span{
    color: #ffffff;
}
:where(.legacy-ui) .payment-method.active img{
    opacity: 1;
}
:where(.legacy-ui) .payment-card-notice{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}
:where(.legacy-ui) .payment-card-notice i{
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}
:where(.legacy-ui) .payment-card-notice span{
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.4;
}
:where(.legacy-ui) .payment-form-fields{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
:where(.legacy-ui) .payment-inline-row{
    display: flex;
    gap: 10px;
}
@media  (max-width: 640px) {:where(.legacy-ui) .payment-inline-row{
        flex-direction: column;
    }
:where(.legacy-ui) .payment-btn-inline{
        width: 100%;
    }}
:where(.legacy-ui) .payment-input{
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-input:focus{
    border-color: rgba(255, 255, 255, 0.3);
    background: #333333;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .payment-input::placeholder{
    color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .payment-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-btn:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
@media  (max-width: 900px) {:where(.legacy-ui) .pricing-title-wrapper{
        gap: 16px;
        margin-bottom: 40px;
    }
:where(.legacy-ui) .pricing-title-decoration{
        font-size: 1.2rem;
    }
:where(.legacy-ui) .pricing-title-text{
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
:where(.legacy-ui) .pricing-cards{
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 600px;
    }
:where(.legacy-ui) .pricing-cards-single{
        grid-template-columns: minmax(280px, 360px);
        max-width: 360px;
    }
:where(.legacy-ui) .pricing-cards-dual{
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        max-width: 600px;
        gap: 24px;
    }
:where(.legacy-ui) .pricing-card{
        min-height: 220px;
        padding: 24px 20px;
    }
:where(.legacy-ui) .plan-price{
        font-size: 2.2rem;
    }}
@media  (max-width: 600px) {:where(.legacy-ui) .pricing-cards{
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
:where(.legacy-ui) .pricing-cards-single{
        grid-template-columns: 1fr;
        max-width: 400px;
    }
:where(.legacy-ui) .pricing-cards-dual{
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
:where(.legacy-ui) .pricing-container{
        padding: 30px 16px;
    }
:where(.legacy-ui) .pricing-title-wrapper{
        gap: 14px;
        margin-bottom: 35px;
    }
:where(.legacy-ui) .pricing-title-decoration{
        font-size: 1.1rem;
    }
:where(.legacy-ui) .pricing-title-text{
        font-size: 2rem;
        letter-spacing: 2px;
    }
:where(.legacy-ui) .pricing-container h2{
        font-size: 2rem;
        margin-bottom: 30px;
    }
:where(.legacy-ui) .pricing-card{
        min-height: 200px;
        padding: 20px 18px;
    }
:where(.legacy-ui) .plan-name{
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
:where(.legacy-ui) .plan-price{
        font-size: 2rem;
        margin-bottom: 20px;
    }
:where(.legacy-ui) .plan-features{
        gap: 10px;
    }
:where(.legacy-ui) .plan-features .feature{
        font-size: 0.9rem;
        padding: 6px 10px;
    }
:where(.legacy-ui) .pricing-card:hover{
        transform: translateY(-8px) rotateY(2deg) rotateX(2deg) translateZ(10px);
    }}
:where(.legacy-ui) .swipe-text{
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media  (max-height: 500px) and (orientation: landscape) {:where(.legacy-ui) .quotes-container{
        top: 60%;
        right: 20px;
        width: 250px;
    }
:where(.legacy-ui) .about-us-container{
        top: 60%;
        left: 20px;
        width: 230px;
    }
:where(.legacy-ui) .catalog-button-container{
        margin-top: 300px;
    }
:where(.legacy-ui) .welcome-content{
        min-height: auto;
        padding: 20px 16px;
    }}
:where(.legacy-ui) .profile-container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 20px;
}
:where(.legacy-ui) .profile-card{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 400px;
    width: 100%;
    animation: fadeInUp 0.6s ease;
}
:where(.legacy-ui) .profile-header{
    text-align: center;
    margin-bottom: 20px;
}
:where(.legacy-ui) .profile-header h1{
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .profile-content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
:where(.legacy-ui) .profile-info-row{
    display: flex;
    align-items: center;
    gap: 16px;
}
:where(.legacy-ui) .avatar-container{
    flex-shrink: 0;
}
:where(.legacy-ui) .avatar{
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
:where(.legacy-ui) .avatar i{
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}
:where(.legacy-ui) .user-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}
:where(.legacy-ui) .user-nickname,:where(.legacy-ui) .user-email,:where(.legacy-ui) .user-subscription,:where(.legacy-ui) .user-keys{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
:where(.legacy-ui) .subscription-active{
    color: #4CAF50 ;
    font-weight: bold;
}
:where(.legacy-ui) .subscription-expired{
    color: #f44336 ;
    font-weight: bold;
}
:where(.legacy-ui) .subscription-none{
    color: #9e9e9e ;
}
:where(.legacy-ui) .keys-count{
    color: #4CAF50 ;
    font-weight: bold;
}
:where(.legacy-ui) .keys-none{
    color: #9e9e9e ;
}
:where(.legacy-ui) .key-item{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
:where(.legacy-ui) .key-item.key-assigned,:where(.legacy-ui) .key-item.key-used,:where(.legacy-ui) .key-item.key-expired{
    border-left: 4px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .key-info{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
:where(.legacy-ui) .key-product{
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}
:where(.legacy-ui) .key-plan{
    color: #9e9e9e;
    font-size: 12px;
}
:where(.legacy-ui) .key-status{ display: none; }
:where(.legacy-ui) .key-dates{
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    font-size: 12px;
}
:where(.legacy-ui) .key-dates .key-assigned,:where(.legacy-ui) .key-dates .key-used,:where(.legacy-ui) .key-dates .key-expires{
    color: #bdbdbd;
}
:where(.legacy-ui) .key-actions{
    display: flex;
    align-items: center;
    gap: 8px;
}
:where(.legacy-ui) .copy-key-btn{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
:where(.legacy-ui) .copy-key-btn:hover{
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
:where(.legacy-ui) .mini-toast{
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(20,20,20,0.9);
    color: #eaeaea;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    z-index: 12000;
    animation: miniToastFade 0.8s ease forwards;
}
@keyframes miniToastFade {
    0% { opacity: 0; transform: translate(-50%, 8px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 8px); }
}
:where(.legacy-ui) .keys-container{
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .keys-container::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .info-label{
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
:where(.legacy-ui) .info-value{
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .profile-button-row{
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}
:where(.legacy-ui) .profile-btn{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .profile-btn:hover{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .profile-btn i{
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}
:where(.legacy-ui) .promo-panel-btn{
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.11);
}
:where(.legacy-ui) .promo-panel-btn:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) #avatarPreview{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
:where(.legacy-ui) .auth-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
:where(.legacy-ui) .auth-header{
    text-align: center;
    margin-bottom: 10px;
}
:where(.legacy-ui) .auth-header h2{
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}
:where(.legacy-ui) .auth-header p{
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}
:where(.legacy-ui) .auth-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
:where(.legacy-ui) .form-group{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
:where(.legacy-ui) .form-group label{
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
:where(.legacy-ui) .form-group input{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .form-group input:focus{
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .form-group input::placeholder{
    color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .auth-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 8px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .auth-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .auth-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .auth-btn.primary{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .auth-btn.primary:hover{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.5);
}
:where(.legacy-ui) .auth-switch{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .auth-switch span{
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
:where(.legacy-ui) .switch-btn{
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .switch-btn:hover{
    color: rgba(255, 255, 255, 0.8);
}
:where(.legacy-ui) .logout-btn{
    background: rgba(220, 53, 69, 0.1) ;
    border-color: rgba(220, 53, 69, 0.3) ;
}
:where(.legacy-ui) .logout-btn:hover{
    background: rgba(220, 53, 69, 0.2) ;
    border-color: rgba(220, 53, 69, 0.5) ;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}
:where(.legacy-ui) .logout-btn i{
    color: #dc3545;
}
:where(.legacy-ui) .modal-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    backdrop-filter: blur(8px);
}
:where(.legacy-ui) .modal-overlay.active{
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .modal-container{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
:where(.legacy-ui) .keys-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    backdrop-filter: blur(8px);
}
:where(.legacy-ui) .keys-modal.active{
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .keys-modal-content{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
:where(.legacy-ui) .keys-modal-content::-webkit-scrollbar{
    display: none;
}
:where(.legacy-ui) .keys-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
:where(.legacy-ui) .key-item{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .key-item:hover{
    background: #333333;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .key-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
:where(.legacy-ui) .key-name{
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .key-status{
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .key-status.active{
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}
:where(.legacy-ui) .key-status.expired{
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}
:where(.legacy-ui) .key-value{
    color: rgba(255, 255, 255, 0.8);
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 6px;
}
@media  (max-width: 768px) {:where(.legacy-ui) .profile-container{
        padding: 16px;
    }
:where(.legacy-ui) .profile-card{
        padding: 16px;
        max-width: 100%;
    }
:where(.legacy-ui) .profile-header h1{
        font-size: 1.6rem;
    }
:where(.legacy-ui) .profile-info-row{
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
:where(.legacy-ui) .avatar{
        width: 84px;
        height: 84px;
    }
:where(.legacy-ui) .avatar i{
        font-size: 1.4rem;
    }
:where(.legacy-ui) .user-info{
        gap: 6px;
    }
:where(.legacy-ui) .profile-btn{
        padding: 8px 16px;
        font-size: 0.85rem;
    }
:where(.legacy-ui) .promo-panel-modal-content{
        width: 94vw;
    }
:where(.legacy-ui) .promo-panel-page-shell{
        min-height: calc(100vh - 140px);
        padding: 28px 0;
        gap: 12px;
    }
:where(.legacy-ui) .promo-panel-tabs{
        width: min(480px, 94vw);
    }
:where(.legacy-ui) .promo-panel-page{
        width: 94vw;
    }
:where(.legacy-ui) .promo-panel-top{
        flex-direction: column;
        gap: 16px;
    }
:where(.legacy-ui) .promo-period-select{
        flex: none;
        width: 100%;
    }
:where(.legacy-ui) .promo-stats-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .profile-card{
        padding: 12px;
    }
:where(.legacy-ui) .profile-header h1{
        font-size: 1.4rem;
    }
:where(.legacy-ui) .avatar{
        width: 72px;
        height: 72px;
    }
:where(.legacy-ui) .avatar i{
        font-size: 1.3rem;
    }
:where(.legacy-ui) .user-info{
        gap: 4px;
    }
:where(.legacy-ui) .info-value{
        font-size: 0.9rem;
    }
:where(.legacy-ui) .profile-btn{
        padding: 8px 12px;
        font-size: 0.8rem;
    }
:where(.legacy-ui) .promo-panel-modal{
        padding: 14px;
    }
:where(.legacy-ui) .promo-panel-modal-content{
        width: 100%;
        max-height: 88vh;
        overflow-y: auto;
    }
:where(.legacy-ui) .promo-panel-page-shell{
        padding: 14px 0;
        gap: 10px;
    }
:where(.legacy-ui) .promo-panel-tabs{
        width: min(420px, 100%);
    }
:where(.legacy-ui) .promo-panel-page{
        width: 100%;
    }
:where(.legacy-ui) .promo-panel-tab{
        min-height: 38px;
        font-size: 0.84rem;
    }
:where(.legacy-ui) .promo-payouts-head{
        flex-direction: column;
        align-items: stretch;
    }
:where(.legacy-ui) .promo-payout-primary-btn{
        width: 100%;
    }
:where(.legacy-ui) .promo-payout-row{
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }
:where(.legacy-ui) .promo-payout-amount{
        grid-column: 2;
        grid-row: 1;
    }
:where(.legacy-ui) .promo-payout-actions{
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
:where(.legacy-ui) .promo-panel-page-header{
        padding: 20px 18px 0;
    }
:where(.legacy-ui) .promo-panel-page-content{
        padding: 18px;
    }
:where(.legacy-ui) .promo-panel-page-title{
        font-size: 1.16rem;
    }
:where(.legacy-ui) .promo-panel-label{
        font-size: 0.84rem;
    }
:where(.legacy-ui) .promo-panel-modal-header{
        padding: 20px 18px 0;
    }
:where(.legacy-ui) .promo-panel-body{
        padding: 18px;
    }
:where(.legacy-ui) .promo-income-value{
        font-size: 2.45rem;
    }
:where(.legacy-ui) .promo-stat-item{
        min-height: 108px;
        padding: 13px 12px;
    }
:where(.legacy-ui) .promo-stat-label{
        font-size: 0.86rem;
    }
:where(.legacy-ui) .promo-stat-number{
        font-size: 2rem;
    }}
:where(.legacy-ui) .payment-info{
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
:where(.legacy-ui) .payment-info p{
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-info strong{
    color: #ffffff;
    font-weight: 600;
}
:where(.legacy-ui) .payment-status{
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}
:where(.legacy-ui) #promocodeStatus.payment-status{
    margin-top: 0;
    padding: 0;
}
:where(.legacy-ui) .payment-status .success{
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-status .error{
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .payment-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none ;
}
:where(.legacy-ui) .payment-modal.active,:where(.legacy-ui) .keys-modal.active,:where(.legacy-ui) .modal.open{
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .about-us-container{
    perspective: 1000px;
}
:where(.legacy-ui) .about-us-container-right{
    perspective: 1000px;
}
:where(.legacy-ui) .about-us{
    transform-style: preserve-3d;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
:where(.legacy-ui) .about-us:hover{
    transform: rotateY(8deg) rotateX(8deg) translateZ(30px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .about-us-container-right .about-us:hover{
    transform: rotateY(-8deg) rotateX(8deg) translateZ(30px);
}
:where(.legacy-ui) .quote{
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
:where(.legacy-ui) .product-card{
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
:where(.legacy-ui) .product-card:hover{
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 0 40px rgba(255, 255, 255, 0.2),
                0 0 80px rgba(100, 150, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .welcome-content h1{ font-size: calc(2.8rem * var(--ui-scale)); }
:where(.legacy-ui) .welcome-content h2{ font-size: calc(3rem * var(--ui-scale)); }
:where(.legacy-ui) .welcome-content p{ font-size: calc(1.5rem * var(--ui-scale)); }
:where(.legacy-ui) .go-shop{ padding: calc(14px * var(--ui-scale)) calc(36px * var(--ui-scale)); font-size: calc(1.1rem * var(--ui-scale)); }
:where(.legacy-ui) .product-card{ min-width: calc(160px * var(--ui-scale)); max-width: calc(210px * var(--ui-scale)); padding: calc(10px * var(--ui-scale)); }
:where(.legacy-ui) .cheat-card{ min-width: calc(300px * var(--ui-scale)); height: calc(320px * var(--ui-scale)); }
:where(.legacy-ui) .product-card .product-img{ max-width: calc(180px * var(--ui-scale)); height: calc(90px * var(--ui-scale)); }
:where(.legacy-ui) .product-card h3{ font-size: calc(1rem * var(--ui-scale)); }
:where(.legacy-ui) .product-card .description{ font-size: calc(0.92rem * var(--ui-scale)); }
:where(.legacy-ui) .product-card .price{ font-size: calc(1rem * var(--ui-scale)); }
:where(.legacy-ui) .product-card .btn{ padding: calc(8px * var(--ui-scale)) calc(18px * var(--ui-scale)); font-size: calc(0.98rem * var(--ui-scale)); }
:where(.legacy-ui) .pricing-container h2{ font-size: calc(2.5rem * var(--ui-scale)); }
:where(.legacy-ui) .plan-name{ font-size: calc(1.4rem * var(--ui-scale)); }
:where(.legacy-ui) .plan-price{ font-size: calc(2.2rem * var(--ui-scale)); }
:where(.legacy-ui) .quote{ padding: calc(24px * var(--ui-scale)); }
:where(.legacy-ui) .quote-text{ font-size: calc(0.95rem * var(--ui-scale)); }
:where(.legacy-ui) .quote-author{ font-size: calc(0.8rem * var(--ui-scale)); }
:where(.legacy-ui) .profile-card{ max-width: calc(400px * var(--ui-scale)); }
:where(.legacy-ui) .profile-header h1{ font-size: calc(1.8rem * var(--ui-scale)); }
:where(.legacy-ui) .avatar{ width: calc(110px * var(--ui-scale)); height: calc(110px * var(--ui-scale)); }
:where(.legacy-ui) .info-value{ font-size: calc(0.95rem * var(--ui-scale)); }
:where(.legacy-ui) .modal-content,:where(.legacy-ui) .payment-modal-content,:where(.legacy-ui) .keys-modal-content{ font-size: calc(1em * var(--ui-scale)); }
:where(.legacy-ui) .configs-fullscreen{
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 100px);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
:where(.legacy-ui) .configs-header{
    margin-bottom: 24px;
}
:where(.legacy-ui) .configs-header h1{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}
:where(.legacy-ui) .configs-tabs{
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
:where(.legacy-ui) .tab-btn{
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .tab-btn:hover{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .tab-btn.active{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
:where(.legacy-ui) .configs-tab-content{
    display: none;
}
:where(.legacy-ui) .configs-tab-content.active{
    display: block;
}
:where(.legacy-ui) .configs-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
    box-sizing: border-box;
}
:where(.legacy-ui) .config-item{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    min-height: 120px;
    box-sizing: border-box;
}
:where(.legacy-ui) .config-item:hover{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
:where(.legacy-ui) .config-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
:where(.legacy-ui) .config-name{
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    word-break: break-word;
}
:where(.legacy-ui) .config-meta{
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-meta span{
    display: flex;
    align-items: center;
    gap: 6px;
}
:where(.legacy-ui) .badge{
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    display: inline-block;
    width: fit-content;
}
:where(.legacy-ui) .badge.public{
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}
:where(.legacy-ui) .badge.private{
    background: rgba(158, 158, 158, 0.15);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}
:where(.legacy-ui) .config-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .config-modal.active{
    display: flex;
}
:where(.legacy-ui) .config-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .config-modal.closing .config-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .config-modal-content{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: modalSlideIn 0.3s ease;
}
:where(.legacy-ui) .config-modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
:where(.legacy-ui) .config-modal-header h3{
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-modal-close{
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-modal-close:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}
:where(.legacy-ui) .config-modal-body{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
:where(.legacy-ui) .config-modal-info{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
:where(.legacy-ui) .config-modal-info .config-meta{
    font-size: 0.95rem;
}
:where(.legacy-ui) .config-modal-actions{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
:where(.legacy-ui) .config-modal-btn{
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 100%;
    backdrop-filter: blur(5px);
}
:where(.legacy-ui) .config-modal-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .config-modal-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .config-modal-btn i{
    font-size: 1rem;
}
:where(.legacy-ui) .config-modal-btn:disabled{
    opacity: 0.65;
    cursor: default;
    pointer-events: none;
}
:where(.legacy-ui) .config-rating{
    color: rgba(255, 255, 255, 0.78);
}
:where(.legacy-ui) .config-stars{
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f6c453;
    line-height: 1;
}
:where(.legacy-ui) .config-stars.compact i{
    font-size: 0.78rem;
}
:where(.legacy-ui) .config-stars.small i{
    font-size: 0.82rem;
}
:where(.legacy-ui) .config-stars.summary i{
    font-size: 0.95rem;
}
:where(.legacy-ui) .config-reviews-panel{
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
:where(.legacy-ui) .config-reviews-summary{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
:where(.legacy-ui) .config-reviews-title{
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-reviews-subtitle{
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-reviews-score{
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-review-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}
:where(.legacy-ui) .config-review-picker{
    display: flex;
    align-items: center;
    gap: 4px;
}
:where(.legacy-ui) .config-star-btn{
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .config-star-btn:hover,:where(.legacy-ui) .config-star-btn.preview,:where(.legacy-ui) .config-star-btn.active{
    color: #f6c453;
    background: rgba(246, 196, 83, 0.1);
}
:where(.legacy-ui) .config-review-textarea{
    min-height: 84px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
    padding: 12px;
    outline: none;
    font-size: 0.92rem;
    line-height: 1.45;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-review-textarea:focus{
    border-color: rgba(246, 196, 83, 0.45);
    box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.1);
}
:where(.legacy-ui) .config-review-textarea::placeholder{
    color: rgba(255, 255, 255, 0.38);
}
:where(.legacy-ui) .config-review-actions{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}
:where(.legacy-ui) .config-review-submit,:where(.legacy-ui) .config-review-delete{
    border: 1px solid rgba(246, 196, 83, 0.34);
    border-radius: 8px;
    background: rgba(246, 196, 83, 0.12);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease;
}
:where(.legacy-ui) .config-review-delete{
    margin-left: 0;
    border-color: rgba(255, 94, 94, 0.34);
    background: rgba(255, 94, 94, 0.1);
}
:where(.legacy-ui) .config-review-submit:hover:not(:disabled){
    background: rgba(246, 196, 83, 0.18);
    border-color: rgba(246, 196, 83, 0.55);
    transform: translateY(-1px);
}
:where(.legacy-ui) .config-review-delete:hover:not(:disabled){
    background: rgba(255, 94, 94, 0.16);
    border-color: rgba(255, 94, 94, 0.56);
    transform: translateY(-1px);
}
:where(.legacy-ui) .config-review-submit:disabled,:where(.legacy-ui) .config-review-delete:disabled{
    opacity: 0.65;
    cursor: default;
}
:where(.legacy-ui) .config-review-state,:where(.legacy-ui) .config-review-empty{
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.9rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-review-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
:where(.legacy-ui) .config-review-item{
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}
:where(.legacy-ui) .config-review-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
:where(.legacy-ui) .config-review-author{
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-review-date{
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
    white-space: nowrap;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .config-review-text{
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-wrap;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media  (max-width: 768px) {:where(.legacy-ui) .configs-fullscreen{
        padding: 16px 12px;
    }
:where(.legacy-ui) .configs-list{
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 12px;
    }
:where(.legacy-ui) .config-item{
        padding: 14px;
        min-height: 100px;
    }
:where(.legacy-ui) .config-name{
        font-size: 1rem;
    }
:where(.legacy-ui) .config-meta{
        font-size: 0.8rem;
    }
:where(.legacy-ui) .configs-tabs{
        flex-direction: column;
    }
:where(.legacy-ui) .tab-btn{
        width: 100%;
        justify-content: center;
    }
:where(.legacy-ui) .config-modal-content{
        width: 95%;
        padding: 20px;
    }
:where(.legacy-ui) .config-reviews-summary,:where(.legacy-ui) .config-review-head{
        flex-direction: column;
        align-items: flex-start;
    }
:where(.legacy-ui) .config-star-btn{
        width: 34px;
        height: 34px;
    }
:where(.legacy-ui) .config-review-actions{
        width: 100%;
    }
:where(.legacy-ui) .config-review-submit,:where(.legacy-ui) .config-review-delete{
        justify-content: center;
        margin-left: 0;
    }
:where(.legacy-ui) .config-review-date{
        white-space: normal;
    }}
@media  (max-width: 480px) {:where(.legacy-ui) .configs-list{
        grid-template-columns: 1fr;
    }}
:where(.legacy-ui) .configs-pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 20px 0;
    flex-wrap: wrap;
}
:where(.legacy-ui) .public-configs-filter{
    width: min(270px, 100%);
    margin: 34px auto 0;
    flex-direction: column;
    align-items: stretch;
}
:where(.legacy-ui) .public-configs-filter-control{
    position: relative;
    width: 100%;
}
:where(.legacy-ui) .public-configs-sort-select{
    flex: none;
    width: 100%;
    z-index: 5;
}
:where(.legacy-ui) .public-configs-sort-menu{
    z-index: 20;
}
:where(.legacy-ui) .public-configs-filter + .configs-pagination{
    margin-top: 22px;
    padding-top: 14px;
}
:where(.legacy-ui) .pagination-btn{
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .pagination-btn:hover:not(.disabled):not(.active){
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .pagination-btn.active{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
:where(.legacy-ui) .pagination-btn.disabled{
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
:where(.legacy-ui) .pagination-btn i{
    font-size: 0.85rem;
}
:where(.legacy-ui) .pagination-ellipsis{
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media  (max-width: 768px) {:where(.legacy-ui) .public-configs-filter{
        width: 100%;
        margin-top: 24px;
    }
:where(.legacy-ui) .public-configs-sort-select{
        width: 100%;
    }
:where(.legacy-ui) .public-configs-filter + .configs-pagination{
        margin-top: 20px;
        padding-top: 10px;
    }
:where(.legacy-ui) .pagination-btn{
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
:where(.legacy-ui) .pagination-ellipsis{
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }}
:where(.legacy-ui) .toast-notification{
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
:where(.legacy-ui) .toast-notification.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
:where(.legacy-ui) .toast-content{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 500px;
}
:where(.legacy-ui) .toast-icon{
    font-size: 1.2rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .toast-notification.success .toast-icon::before{
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #4caf50;
}
:where(.legacy-ui) .toast-notification.error .toast-icon::before{
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f44336;
}
:where(.legacy-ui) .toast-message{
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.4;
}
:where(.legacy-ui) .config-item.adding{
    animation: configAddAnimation 0.6s ease;
}
@keyframes configAddAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    50% {
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
:where(.legacy-ui) .custom-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2500;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .custom-modal.active{
    display: flex;
}
:where(.legacy-ui) .custom-modal.closing{
    display: flex;
    animation: modalBgFade 0.25s ease forwards;
}
:where(.legacy-ui) .custom-modal.closing .custom-modal-content{
    animation: modalEvaporate 0.25s ease forwards;
}
:where(.legacy-ui) .custom-modal-content{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: modalSlideIn 0.3s ease;
}
:where(.legacy-ui) .custom-modal-header{
    margin-bottom: 20px;
}
:where(.legacy-ui) .custom-modal-header h3{
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .custom-modal-body{
    margin-bottom: 24px;
}
:where(.legacy-ui) .custom-modal-body p{
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .custom-modal-input{
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
:where(.legacy-ui) .custom-modal-input:focus{
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .config-share-modal-content{
    max-width: 480px;
}
:where(.legacy-ui) .config-share-label{
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
}
:where(.legacy-ui) .custom-modal-hint{
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}
:where(.legacy-ui) .custom-modal-error{
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 8px;
    min-height: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
:where(.legacy-ui) .custom-modal-footer{
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
:where(.legacy-ui) .custom-modal-btn{
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(5px);
    min-width: 100px;
}
:where(.legacy-ui) .custom-modal-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .custom-modal-btn:active{
    transform: translateY(0);
}
:where(.legacy-ui) .custom-modal-btn-cancel{
    background: rgba(158, 158, 158, 0.1);
    border-color: rgba(158, 158, 158, 0.2);
}
:where(.legacy-ui) .custom-modal-btn-cancel:hover{
    background: rgba(158, 158, 158, 0.15);
    border-color: rgba(158, 158, 158, 0.3);
}
:where(.legacy-ui) .custom-modal-btn-confirm{
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}
:where(.legacy-ui) .custom-modal-btn-confirm:hover{
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}
@media  (max-width: 768px) {:where(.legacy-ui) .toast-content{
        min-width: 280px;
        padding: 14px 20px;
    }
:where(.legacy-ui) .toast-message{
        font-size: 0.9rem;
    }
:where(.legacy-ui) .custom-modal-content{
        width: 95%;
        padding: 20px;
    }
:where(.legacy-ui) .custom-modal-footer{
        flex-direction: column;
    }
:where(.legacy-ui) .custom-modal-btn{
        width: 100%;
    }}
:where(.legacy-ui) *{
    user-select: none;
}
:where(.legacy-ui) .page-loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
:where(.legacy-ui) .page-loader.hidden{
    opacity: 0;
    visibility: hidden;
}
:where(.legacy-ui) .loader-spinner{
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
:where(.legacy-ui) .guides-container{
    display: flex;
    min-height: calc(100vh - 50px);
    margin-top: 50px;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}
:where(.legacy-ui) .guides-sidebar{
    width: 280px;
    background-color: rgba(0, 0, 0, 0.11);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    left: 0;
    top: 50px;
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}
:where(.legacy-ui) .guides-sidebar.collapsed{
    transform: translateX(-100%);
}
:where(.legacy-ui) .sidebar-header{
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
:where(.legacy-ui) .sidebar-header h2{
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}
:where(.legacy-ui) .sidebar-header h2 i{
    color: rgba(255, 255, 255, 0.6);
}
:where(.legacy-ui) .sidebar-toggle{
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .sidebar-toggle:hover{
    background: rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .guides-nav{
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
:where(.legacy-ui) .guides-nav::-webkit-scrollbar{
    width: 6px;
}
:where(.legacy-ui) .guides-nav::-webkit-scrollbar-track{
    background: transparent;
}
:where(.legacy-ui) .guides-nav::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
:where(.legacy-ui) .guides-nav::-webkit-scrollbar-thumb:hover{
    background: rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .nav-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}
:where(.legacy-ui) .nav-item:hover{
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}
:where(.legacy-ui) .nav-item.active{
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.5);
}
:where(.legacy-ui) .nav-item i{
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}
:where(.legacy-ui) .sidebar-footer{
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .progress-indicator{
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}
:where(.legacy-ui) .progress-bar{
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}
:where(.legacy-ui) .progress-text{
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    display: block;
}
:where(.legacy-ui) .guides-content{
    flex: 1;
    margin-left: 280px;
    padding: 40px 60px;
    width: calc(100% - 280px);
    scroll-behavior: smooth;
}
:where(.legacy-ui) .guide-article{
    animation: fadeInUp 0.6s ease;
}
:where(.legacy-ui) .guide-section{
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}
:where(.legacy-ui) .section-header{
    margin-bottom: 32px;
}
:where(.legacy-ui) .guide-title{
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.2;
}
:where(.legacy-ui) .guide-title i{
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
}
:where(.legacy-ui) .guide-meta{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
:where(.legacy-ui) .meta-item{
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
:where(.legacy-ui) .meta-item i{
    color: rgba(255, 255, 255, 0.4);
}
:where(.legacy-ui) .intro-box{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
:where(.legacy-ui) .intro-icon{
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}
:where(.legacy-ui) .intro-content h3{
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}
:where(.legacy-ui) .intro-content p{
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
:where(.legacy-ui) .content-block{
    margin-bottom: 32px;
}
:where(.legacy-ui) .content-block h2{
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .content-block h3{
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 32px 0 16px 0;
}
:where(.legacy-ui) .content-block h4{
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 20px 0 12px 0;
}
:where(.legacy-ui) .content-block p{
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
:where(.legacy-ui) .section-title{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
:where(.legacy-ui) .section-number{
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}
:where(.legacy-ui) .section-name{
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}
:where(.legacy-ui) .video-container{
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .video-placeholder{
    position: relative;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
:where(.legacy-ui) .video-placeholder i{
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .video-placeholder p{
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-weight: 600;
}
:where(.legacy-ui) .video-hint{
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-style: italic;
}
:where(.legacy-ui) .video-container iframe,:where(.legacy-ui) .video-container video{
    width: 100%;
    height: auto;
    min-height: 400px;
    border: none;
    display: block;
}
:where(.legacy-ui) .info-box{
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 4px solid;
}
:where(.legacy-ui) .info-box.info-tip{
    background: rgba(33, 150, 243, 0.1);
    border-left-color: #2196F3;
}
:where(.legacy-ui) .info-box.info-warning{
    background: rgba(255, 152, 0, 0.1);
    border-left-color: #FF9800;
}
:where(.legacy-ui) .info-box.info-success{
    background: rgba(76, 175, 80, 0.1);
    border-left-color: #4CAF50;
}
:where(.legacy-ui) .info-icon{
    font-size: 1.5rem;
    flex-shrink: 0;
}
:where(.legacy-ui) .info-tip .info-icon{
    color: #2196F3;
}
:where(.legacy-ui) .info-warning .info-icon{
    color: #FF9800;
}
:where(.legacy-ui) .info-success .info-icon{
    color: #4CAF50;
}
:where(.legacy-ui) .info-content{
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}
:where(.legacy-ui) .info-content strong{
    color: #ffffff;
    font-weight: 600;
}
:where(.legacy-ui) .steps-list{
    margin: 32px 0;
}
:where(.legacy-ui) .step-item{
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .step-item:hover{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}
:where(.legacy-ui) .step-number{
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 1.1rem;
}
:where(.legacy-ui) .step-content{
    flex: 1;
}
:where(.legacy-ui) .step-content h4{
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 1.1rem;
}
:where(.legacy-ui) .step-content p{
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}
:where(.legacy-ui) .step-content p a{
    color: #f3f6ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(114, 192, 255, 0.4);
    transition: color 0.25s ease, border-color 0.25s ease;
}
:where(.legacy-ui) .step-content p a:hover{
    color: #ffffff;
    border-color: rgba(114, 192, 255, 0.85);
}
:where(.legacy-ui) .guide-telegram-link{
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: auto;
    max-width: min(100%, 340px);
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    box-sizing: border-box;
    vertical-align: top;
}
:where(.legacy-ui) .guide-telegram-link:hover{
    transform: translateY(-2px);
    border-color: rgba(126, 210, 255, 0.34);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(126, 210, 255, 0.05));
}
:where(.legacy-ui) .guide-telegram-link__icon,:where(.legacy-ui) .guide-telegram-link__arrow{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.legacy-ui) .guide-telegram-link__icon{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #7ed2ff;
    background: rgba(126, 210, 255, 0.12);
    border: 1px solid rgba(126, 210, 255, 0.22);
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .guide-telegram-link__body{
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
:where(.legacy-ui) .guide-telegram-link__title{
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}
:where(.legacy-ui) .guide-telegram-link__handle{
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}
:where(.legacy-ui) .guide-telegram-link__arrow{
    margin-left: auto;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    transition: transform 0.28s ease, color 0.28s ease;
}
:where(.legacy-ui) .guide-telegram-link:hover .guide-telegram-link__arrow{
    color: #ffffff;
    transform: translateX(2px);
}
@media  (max-width: 640px) {:where(.legacy-ui) .guide-telegram-link{
        max-width: 100%;
        padding: 13px 15px;
        gap: 12px;
    }
:where(.legacy-ui) .guide-telegram-link__icon{
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
:where(.legacy-ui) .guide-telegram-link__title{
        font-size: 0.93rem;
    }
:where(.legacy-ui) .guide-telegram-link__handle{
        font-size: 0.8rem;
    }}
:where(.legacy-ui) .code-block{
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 24px 0;
    overflow: hidden;
}
:where(.legacy-ui) .code-header{
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
:where(.legacy-ui) .code-header span{
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}
:where(.legacy-ui) .copy-code-btn{
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
:where(.legacy-ui) .copy-code-btn:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}
:where(.legacy-ui) .code-block pre{
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    background: #0a0a0a;
}
:where(.legacy-ui) .code-block code{
    color: #e0e0e0;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}
:where(.legacy-ui) .image-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
:where(.legacy-ui) .gallery-item{
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
:where(.legacy-ui) .image-placeholder{
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
:where(.legacy-ui) .image-placeholder i{
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}
:where(.legacy-ui) .image-placeholder p{
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}
:where(.legacy-ui) .gallery-item img{
    width: 100%;
    height: auto;
    display: block;
}
:where(.legacy-ui) .checklist{
    margin: 24px 0;
}
:where(.legacy-ui) .checklist-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
:where(.legacy-ui) .checklist-item:hover{
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}
:where(.legacy-ui) .checklist-item i{
    color: #4CAF50;
    font-size: 1.1rem;
}
:where(.legacy-ui) .checklist-item span{
    color: rgba(255, 255, 255, 0.85);
}
:where(.legacy-ui) .conclusion-box{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
}
:where(.legacy-ui) .conclusion-box h3{
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
:where(.legacy-ui) .conclusion-box h3 i{
    color: rgba(255, 255, 255, 0.6);
}
:where(.legacy-ui) .conclusion-box ul{
    margin: 0;
    padding-left: 24px;
    list-style: none;
}
:where(.legacy-ui) .conclusion-box ul li{
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    position: relative;
    padding-left: 24px;
}
:where(.legacy-ui) .conclusion-box ul li::before{
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}
:where(.legacy-ui) .scroll-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
:where(.legacy-ui) .scroll-to-top.visible{
    opacity: 1;
    visibility: visible;
}
:where(.legacy-ui) .scroll-to-top:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
@media  (max-width: 1024px) {:where(.legacy-ui) .guides-sidebar{
        transform: translateX(-100%);
    }
:where(.legacy-ui) .guides-sidebar:not(.collapsed){
        transform: translateX(0);
    }
:where(.legacy-ui) .sidebar-toggle{
        display: block;
    }
:where(.legacy-ui) .guides-content{
        margin-left: 0;
        width: 100%;
        padding: 30px 40px;
    }}
@media  (max-width: 768px) {:where(.legacy-ui) .guides-content{
        padding: 24px 20px;
    }
:where(.legacy-ui) .guide-title{
        font-size: 2rem;
    }
:where(.legacy-ui) .section-name{
        font-size: 1.5rem;
    }
:where(.legacy-ui) .section-number{
        font-size: 2rem;
    }
:where(.legacy-ui) .image-gallery{
        grid-template-columns: 1fr;
    }
:where(.legacy-ui) .scroll-to-top{
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }}
}