:root {
    --page: #08090b;
    --page-soft: #0c0d11;
    --panel: #111217;
    --panel-strong: #15161c;
    --line: rgba(255, 255, 255, 0.09);
    --line-bright: rgba(255, 255, 255, 0.15);
    --text: #f5f6f8;
    --muted: #92959f;
    --gold: #f4c542;
    --gold-light: #ffdf72;
    --gold-deep: #d89a15;
    --green: #45dda0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(244, 197, 66, 0.08), transparent 28rem),
        radial-gradient(circle at 94% 28%, rgba(24, 160, 157, 0.07), transparent 32rem),
        var(--page);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

::selection {
    color: #17130a;
    background: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
    html,
    body { cursor: url('/assets/cursor-netherite-spear-v2.png') 2 1, auto; }
    a, button, input, select, textarea, summary, label, [role="button"], [onclick] {
        cursor: url('/assets/cursor-netherite-spear-enchanted-v2.png') 2 1, pointer !important;
    }
}

.font-display {
    font-family: "Unbounded", "Manrope", sans-serif;
}

.site-container {
    width: min(1380px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 18px 0 10px;
    pointer-events: none;
}

.header-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    padding: 10px 12px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(10, 11, 14, 0.84);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(244, 197, 66, 0.3);
    border-radius: 13px;
    background: #101217;
    box-shadow: 0 0 30px rgba(244, 197, 66, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark::after {
    position: absolute;
    inset: -60% 40% -60% -30%;
    content: "";
    transform: rotate(20deg);
    background: rgba(255, 255, 255, 0.16);
}

.brand-logo-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.brand-kicker {
    display: block;
    margin-bottom: 2px;
    color: #727680;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
}

.main-nav a {
    padding: 10px 18px;
    border-radius: 11px;
    color: #a7aab3;
    font-size: 13px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.server-pill {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #e8e9ec;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.server-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(244, 197, 66, 0.3);
    background: rgba(244, 197, 66, 0.07);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(69, 221, 160, 0.09), 0 0 16px rgba(69, 221, 160, 0.55);
}

.status-dot.is-offline {
    background: #f87171;
    box-shadow: 0 0 0 5px rgba(248, 113, 113, 0.09), 0 0 16px rgba(248, 113, 113, 0.45);
}

.hero-panel {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #0a0b0e;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.hero-panel::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
}

.hero-panel::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.88) 34%, rgba(7, 8, 10, 0.24) 67%, rgba(7, 8, 10, 0.08) 100%),
        linear-gradient(0deg, rgba(7, 8, 10, 0.7), transparent 45%);
}

.hero-content {
    display: flex;
    width: 100%;
    min-height: 410px;
    max-width: 660px;
    flex-direction: column;
    justify-content: center;
    padding: 40px 56px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(244, 197, 66, 0.24);
    border-radius: 999px;
    color: #f8d669;
    background: rgba(244, 197, 66, 0.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 650px;
    margin-top: 18px;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-title span {
    color: var(--gold);
    text-shadow: 0 0 38px rgba(244, 197, 66, 0.18);
}

.hero-copy {
    max-width: 590px;
    margin-top: 16px;
    color: #b7bac2;
    font-size: 14px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 23px;
}

.btn-gold,
.btn-dark,
.btn-ghost {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-gold {
    padding: 0 20px;
    color: #181309;
    background: linear-gradient(135deg, #ffe276, #efb82f 64%, #d99a16);
    box-shadow: 0 12px 28px rgba(226, 166, 29, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 38px rgba(226, 166, 29, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-dark,
.btn-ghost {
    padding: 0 18px;
    border: 1px solid var(--line);
    color: #e6e7e9;
    background: rgba(12, 13, 16, 0.74);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-dark:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--line-bright);
    background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #858993;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-meta-icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.045);
}

.hero-coordinate {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(5, 6, 8, 0.62);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.purchase-feed {
    margin-top: 16px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 4% 0%, rgba(244, 197, 66, 0.08), transparent 24rem),
        rgba(17, 18, 23, 0.84);
}

.purchase-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.purchase-feed-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.purchase-feed-title-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(244, 197, 66, 0.18);
    border-radius: 12px;
    color: var(--gold);
    background: rgba(244, 197, 66, 0.08);
}

.purchase-feed-title h2 {
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.purchase-feed-title p {
    margin-top: 2px;
    color: #686c75;
    font-size: 10px;
}

.purchase-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.purchase-arrow {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #8a8d96;
    background: rgba(255, 255, 255, 0.035);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.purchase-arrow:hover {
    border-color: rgba(244, 197, 66, 0.3);
    color: var(--gold-light);
    background: rgba(244, 197, 66, 0.07);
}

.purchase-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.purchase-track::-webkit-scrollbar {
    display: none;
}

.purchase-card {
    display: grid;
    min-width: 205px;
    min-height: 126px;
    flex: 1 0 205px;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
    scroll-snap-align: start;
    text-align: center;
    transition: border-color 180ms ease, background 180ms ease;
}

.purchase-card:hover {
    border-color: rgba(244, 197, 66, 0.17);
    background: rgba(255, 255, 255, 0.04);
}

.purchase-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(244, 197, 66, 0.14);
    border-radius: 13px;
    color: rgba(244, 197, 66, 0.72);
    background: radial-gradient(circle at 50% 35%, rgba(244, 197, 66, 0.12), rgba(244, 197, 66, 0.035) 70%);
}

.purchase-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.purchase-card-icon svg {
    width: 23px;
    height: 23px;
}

.purchase-card-name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #e7e8eb;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.purchase-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666a73;
    font-size: 9px;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(17, 18, 23, 0.78);
}

.quick-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
    border-right: 1px solid var(--line);
    transition: background 180ms ease;
}

.quick-item:last-child {
    border-right: 0;
}

a.quick-item:hover {
    background: rgba(255, 255, 255, 0.035);
}

.quick-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--gold);
    background: rgba(244, 197, 66, 0.07);
}

.quick-label {
    display: block;
    overflow: hidden;
    color: #f0f1f3;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-note {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #777b85;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 78px 0 28px;
}

.section-kicker {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 10px;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 750;
    letter-spacing: -0.045em;
}

.section-copy {
    max-width: 480px;
    color: #7e828c;
    font-size: 13px;
    line-height: 1.7;
}

.category-tabs {
    position: sticky;
    top: 104px;
    z-index: 30;
    display: flex;
    gap: 8px;
    margin: 0 -10px 34px;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 16px;
    background: rgba(8, 9, 12, 0.82);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
}

.header-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-self: end;
    gap: 8px;
}

.cart-trigger {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #d8d9dd;
    background: rgba(255, 255, 255, 0.045);
    transition: 180ms ease;
}

.cart-trigger:hover { border-color: rgba(244, 197, 66, .36); color: var(--gold-light); background: rgba(244, 197, 66, .08); }
.cart-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-trigger span { position: absolute; top: -6px; right: -5px; display: grid; min-width: 19px; height: 19px; padding: 0 5px; place-items: center; border: 2px solid #0b0c10; border-radius: 999px; color: #171309; background: var(--gold); font-size: 9px; font-weight: 900; }
.cart-trigger span:empty, .cart-trigger span[data-cart-count="0"] { opacity: .65; }
.cart-trigger span.is-pulse { animation: cart-count-pulse 320ms ease; }
@keyframes cart-count-pulse { 50% { transform: scale(1.35); } }

.floating-cart-trigger {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 60;
    display: inline-flex;
    min-width: 190px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 20px;
    border: 1px solid rgba(255, 225, 112, .9);
    border-radius: 17px;
    color: #171309;
    background: linear-gradient(135deg, #ffe173, #efad15);
    box-shadow: 0 14px 46px rgba(239, 173, 21, .34), 0 0 0 5px rgba(244, 197, 66, .07);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.floating-cart-trigger:hover { transform: translateY(-3px); filter: brightness(1.04); box-shadow: 0 18px 54px rgba(239, 173, 21, .44), 0 0 0 6px rgba(244, 197, 66, .09); }
.floating-cart-trigger:active { transform: translateY(0) scale(.98); }
.floating-cart-trigger svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-cart-trigger strong { font-size: 14px; font-weight: 900; }
.floating-cart-count { display: grid; min-width: 24px; height: 24px; padding: 0 7px; place-items: center; border-radius: 999px; color: #ffe16d; background: #171309; font-size: 11px; font-weight: 900; }
.floating-cart-count.is-pulse { animation: cart-count-pulse 320ms ease; }

.account-trigger {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #d8d9dd;
    background: rgba(255, 255, 255, 0.045);
    font-size: 11px;
    font-weight: 800;
    transition: 180ms ease;
}

.account-trigger:hover { border-color: rgba(244, 197, 66, .36); color: var(--gold-light); background: rgba(244, 197, 66, .08); }
.account-trigger svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.account-auth-page { min-height: 70vh; padding: 64px 0 20px; }
.account-auth-wrap { display: grid; place-items: center; }
.account-auth-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(19,20,25,.98), rgba(10,11,14,.98)); box-shadow: 0 34px 100px rgba(0,0,0,.4); }
.account-auth-brand { display: flex; align-items: center; gap: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-auth-brand img { width: 58px; height: 58px; border: 1px solid rgba(244,197,66,.3); border-radius: 16px; object-fit: cover; box-shadow: 0 0 35px rgba(244,197,66,.12); }
.account-auth-brand span { display: block; color: #747882; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.account-auth-brand strong { display: block; margin-top: 3px; font-family: 'Unbounded',sans-serif; font-size: 18px; }
.account-auth-copy { margin: 30px 0 24px; }
.account-auth-copy h1, .account-verify-card h1 { margin-top: 10px; font-size: clamp(22px, 4vw, 31px); line-height: 1.2; letter-spacing: -.045em; }
.account-auth-copy p, .account-verify-card > p { margin-top: 12px; color: #878b95; font-size: 13px; line-height: 1.7; }
.account-alert { margin-bottom: 18px; padding: 13px 15px; border: 1px solid rgba(248,113,113,.25); border-radius: 12px; color: #fda4af; background: rgba(127,29,29,.18); font-size: 12px; line-height: 1.55; }
.account-auth-form .shop-label:not(:first-child) { margin-top: 18px; }
.account-auth-form .shop-input { display: block; appearance: none; -webkit-appearance: none; }
.account-auth-form .shop-input:-webkit-autofill,
.account-auth-form .shop-input:-webkit-autofill:hover,
.account-auth-form .shop-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f4f5f7;
    -webkit-box-shadow: 0 0 0 1000px #1c1d23 inset;
    caret-color: #f4f5f7;
    transition: background-color 9999s ease-out;
}
.account-password-field { position: relative; }
.account-password-field .shop-input { padding-right: 54px; }
.account-password-field button { position: absolute; top: 50%; right: 8px; display: grid; width: 40px; height: 40px; place-items: center; transform: translateY(-50%); border-radius: 10px; color: #70747e; transition: 180ms ease; }
.account-password-field button:hover, .account-password-field button.is-visible { color: var(--gold-light); background: rgba(244,197,66,.08); }
.account-submit { width: 100%; margin-top: 22px; }
.account-security-note { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 22px; padding: 14px; border: 1px solid rgba(69,221,160,.12); border-radius: 13px; color: #777b84; background: rgba(69,221,160,.035); font-size: 10px; line-height: 1.65; }
.account-security-note > span { color: var(--green); text-align: center; }
.account-verify-card { position: relative; overflow: hidden; text-align: center; }
.account-verify-card::before { position: absolute; top: -100px; left: 50%; width: 300px; height: 180px; content: ''; transform: translateX(-50%); background: radial-gradient(circle, rgba(244,197,66,.17), transparent 68%); pointer-events: none; }
.account-waiting-dot { position: relative; display: block; width: 12px; height: 12px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 8px rgba(244,197,66,.08), 0 0 28px rgba(244,197,66,.7); }
.account-code { display: grid; width: 100%; gap: 7px; margin-top: 26px; padding: 20px; border: 1px solid rgba(244,197,66,.35); border-radius: 16px; background: rgba(244,197,66,.07); transition: 180ms ease; }
.account-code:hover { transform: translateY(-2px); background: rgba(244,197,66,.11); }
.account-code code { color: var(--gold-light); font-family: monospace; font-size: clamp(17px, 4vw, 24px); font-weight: 850; letter-spacing: .03em; }
.account-code span { color: #777b84; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-waiting { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 22px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); text-align: left; }
.account-waiting strong, .account-waiting small { display: block; }
.account-waiting strong { color: #e6e7e9; font-size: 12px; }
.account-waiting small { margin-top: 3px; color: #6f737d; font-size: 9px; }
.account-spinner { width: 21px; height: 21px; flex: 0 0 auto; border: 2px solid rgba(244,197,66,.16); border-top-color: var(--gold); border-radius: 50%; animation: account-spin .8s linear infinite; }
.account-waiting.is-confirmed { border-color: rgba(69,221,160,.2); background: rgba(69,221,160,.06); }
.account-success-mark { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #092419; background: var(--green); font-weight: 900; }
.account-expiry { margin-top: 18px !important; font-size: 10px !important; }
.account-cancel { margin-top: 18px; }
@keyframes account-spin { to { transform: rotate(360deg); } }

.player-account-page { min-height: 70vh; padding: 54px 0 10px; }
.player-account-hero { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(110deg, rgba(244,197,66,.08), rgba(18,19,24,.98) 36%, rgba(10,11,14,.98)); }
.player-account-avatar { width: 76px; height: 76px; padding: 4px; border: 1px solid rgba(244,197,66,.32); border-radius: 20px; background: rgba(244,197,66,.08); box-shadow: 0 0 38px rgba(244,197,66,.12); }
.player-account-avatar img { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; }
.player-account-title h1 { margin-top: 6px; font-size: clamp(24px,4vw,38px); letter-spacing: -.045em; }
.player-account-title p { margin-top: 5px; color: #7e828b; font-size: 11px; }
.daily-cards-panel { position: relative; margin-top: 16px; padding: clamp(20px,3vw,30px); overflow: hidden; border: 1px solid rgba(244,197,66,.18); border-radius: 24px; background: radial-gradient(circle at 80% 0,rgba(244,197,66,.09),transparent 35%),rgba(14,15,19,.96); }
.daily-cards-panel::before { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 38px 38px; content: ''; pointer-events: none; }
.daily-cards-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.daily-cards-head h2 { margin-top: 7px; font-size: clamp(20px,3vw,29px); letter-spacing: -.04em; }
.daily-cards-head p { margin-top: 8px; color: #747882; font-size: 11px; }
.daily-reset { min-width: 190px; padding: 13px 16px; border: 1px solid rgba(244,197,66,.16); border-radius: 14px; background: rgba(244,197,66,.045); text-align: right; }
.daily-reset small,.daily-reset span { display: block; color: #6f737d; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.daily-reset strong { display: block; margin: 4px 0; color: var(--gold-light); font-family: 'Unbounded',sans-serif; font-size: 17px; }
.daily-eligibility { position: relative; display: grid; grid-template-columns: auto minmax(100px,1fr) auto auto; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.18); }
.daily-eligibility div:not(.daily-playtime-progress) span,.daily-eligibility div:not(.daily-playtime-progress) strong { display: block; }
.daily-eligibility div:not(.daily-playtime-progress) span { color: #60646e; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.daily-eligibility div:not(.daily-playtime-progress) strong { margin-top: 3px; color: #d9dadd; font-size: 10px; }
.daily-playtime-progress { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.daily-playtime-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#d99f16,#ffe071); box-shadow: 0 0 14px rgba(244,197,66,.35); }
.daily-cards-message { position: relative; margin-top: 15px; padding: 12px 14px; border: 1px solid rgba(244,197,66,.15); border-radius: 12px; color: #cbbf9c; background: rgba(244,197,66,.045); font-size: 10px; }
.daily-cards-message.is-error { border-color: rgba(248,113,113,.22); color: #fda4af; background: rgba(127,29,29,.15); }
.daily-card-grid { position: relative; display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 10px; margin-top: 20px; perspective: 1200px; }
.daily-card-form { min-width: 0; }
.daily-card { position: relative; width: 100%; aspect-ratio: .68; border-radius: 15px; color: inherit; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.8,.2,1),filter .25s ease,opacity .25s ease; }
.daily-card:not(:disabled):hover { z-index: 2; transform: translateY(-8px) rotateX(4deg); filter: drop-shadow(0 15px 25px rgba(244,197,66,.12)); }
.daily-card:disabled { cursor: default; }
.daily-card-back,.daily-card-front { position: absolute; inset: 0; display: grid; overflow: hidden; place-items: center; align-content: center; padding: 8px; border: 1px solid rgba(244,197,66,.23); border-radius: inherit; backface-visibility: hidden; }
.daily-card-back { gap: 7px; background: repeating-linear-gradient(135deg,rgba(244,197,66,.06) 0 6px,transparent 6px 12px),linear-gradient(145deg,#17150e,#0b0c0f 68%); box-shadow: inset 0 0 0 4px #0f1013,inset 0 0 0 5px rgba(244,197,66,.1); }
.daily-card-back::before,.daily-card-back::after { position: absolute; width: 38px; height: 38px; border: 1px solid rgba(244,197,66,.15); content: ''; transform: rotate(45deg); }
.daily-card-back::after { width: 25px; height: 25px; }
.daily-card-back i { position: relative; z-index: 1; color: var(--gold-light); font-family: 'Unbounded',sans-serif; font-size: clamp(11px,1.5vw,17px); font-style: normal; text-shadow: 0 0 18px rgba(244,197,66,.4); }
.daily-card-back b { position: absolute; top: 9px; right: 10px; color: #66614d; font-size: 8px; }
.daily-card-back small { position: absolute; right: 0; bottom: 9px; left: 0; color: #686552; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.daily-card-front { gap: 8px; transform: rotateY(180deg); border-color: color-mix(in srgb,var(--reward-accent) 50%,transparent); background: radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--reward-accent) 22%,transparent),transparent 55%),#101115; text-align: center; }
.daily-card-front strong { color: #f3f4f6; font-size: 10px; line-height: 1.2; }
.daily-card-front small { color: #737780; font-size: 7px; line-height: 1.4; }
.daily-card-front em { color: color-mix(in srgb,var(--reward-accent) 85%,white); font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.daily-card-reward-visual { display: grid; width: 42px; height: 42px; overflow: hidden; place-items: center; border: 1px solid color-mix(in srgb,var(--reward-accent) 35%,transparent); border-radius: 12px; background: color-mix(in srgb,var(--reward-accent) 10%,transparent); font-size: 23px; }
.daily-card-reward-visual img { width: 100%; height: 100%; object-fit: contain; }
.daily-card-form.is-selected .daily-card { transform: rotateY(180deg); }
.daily-card-grid.has-result .daily-card-form:not(.is-selected) { opacity: .3; filter: grayscale(.6); }
.daily-card-grid.is-picking .daily-card-form { pointer-events: none; }
.player-account-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.player-account-stats article { min-height: 122px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,18,23,.86); }
.player-account-stats small { display: block; color: #6f737d; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.player-account-stats strong { display: block; margin-top: 13px; color: #f5f6f8; font-family: 'Unbounded',sans-serif; font-size: clamp(20px,3vw,28px); }
.player-account-stats article:nth-child(2) strong { color: var(--gold-light); }
.player-account-stats article:nth-child(3) strong { color: #5ee0aa; }
.player-account-stats article > span { display: block; margin-top: 8px; color: #6f737d; font-size: 8px; }
.player-orders-panel { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(14,15,19,.94); }
.player-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.player-orders-head h2 { margin-top: 5px; font-size: 21px; }
.player-orders-head .btn-gold { min-height: 42px; }
.player-orders-list { display: grid; }
.player-order-row { display: grid; grid-template-columns: 68px minmax(0,1fr) 130px 100px; align-items: center; gap: 14px; min-height: 74px; padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,.055); transition: 180ms ease; }
.player-order-row:hover { background: rgba(255,255,255,.025); }
.player-order-row:last-child { border-bottom: 0; }
.player-order-id { color: #6d717b; font-family: monospace; font-size: 11px; }
.player-order-row strong, .player-order-row small { display: block; }
.player-order-row strong { color: #e9eaec; font-size: 12px; }
.player-order-row small { margin-top: 4px; color: #686c76; font-size: 9px; }
.player-order-amount { color: #e9eaec; font-size: 12px; font-weight: 850; }
.player-order-status { justify-self: end; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #9ca0a9; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.player-order-status.is-paid { border-color: rgba(69,221,160,.18); color: var(--green); background: rgba(69,221,160,.06); }
.player-order-status.is-pending { border-color: rgba(244,197,66,.2); color: var(--gold-light); background: rgba(244,197,66,.06); }
.player-order-status.is-failed { border-color: rgba(248,113,113,.2); color: #fb8b98; background: rgba(248,113,113,.06); }
.player-orders-empty { padding: 70px 24px; text-align: center; }
.player-orders-empty strong { font-size: 16px; }
.player-orders-empty p { margin-top: 8px; color: #747882; font-size: 11px; }
.player-orders-pagination { padding: 18px 24px; border-top: 1px solid var(--line); }

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #a0a3ab;
    background: rgba(255, 255, 255, 0.025);
    font-size: 12px;
    font-weight: 750;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-tab:hover {
    border-color: rgba(244, 197, 66, 0.28);
    color: #fff;
    background: rgba(244, 197, 66, 0.06);
}

.category-section + .category-section {
    margin-top: 62px;
}

.category-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.category-number {
    color: #595d67;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

.category-heading h3 {
    font-size: 19px;
    font-weight: 800;
}

.category-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--line), transparent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    --card-accent: #f4c542;
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--card-accent) 17%, transparent), transparent 34%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card::before {
    position: absolute;
    top: 0;
    left: 22px;
    z-index: -1;
    width: 42%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0.7;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28), 0 0 40px color-mix(in srgb, var(--card-accent) 7%, transparent);
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7f838c;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-badge::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    content: "";
    background: var(--green);
    box-shadow: 0 0 10px rgba(69, 221, 160, 0.65);
}

.product-info-link {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #767a83;
    font-size: 11px;
    transition: color 180ms ease, background 180ms ease;
}

.product-info-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.product-visual {
    position: relative;
    display: grid;
    width: 106px;
    height: 106px;
    margin: 18px auto 20px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--card-accent) 24%, transparent);
    border-radius: 28px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 17%, #111217), #101116 66%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 35px rgba(0, 0, 0, 0.28);
    font-size: 50px;
    transform: rotate(-3deg);
    transition: transform 220ms ease;
}

.product-badge.is-discount { color: #ffd966; }
.product-badge.is-discount::before { background: #f4c542; box-shadow: 0 0 12px rgba(244,197,66,.68); }

.category-tab.is-active {
    border-color: rgba(244, 197, 66, 0.42);
    color: #fff;
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.16), rgba(244, 197, 66, 0.055));
    box-shadow: inset 0 1px 0 rgba(255, 232, 154, 0.08), 0 8px 24px rgba(244, 197, 66, 0.07);
}

.category-tab.is-active > span:last-child {
    color: #f4c542;
}

.catalog-category-panel {
    margin-top: 0 !important;
    transform-origin: top center;
    will-change: opacity, transform, filter;
}

.catalog-category-panel[hidden] {
    display: none !important;
}

.catalog-category-panel.is-opening {
    animation: catalog-category-open 340ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.catalog-category-panel.is-closing {
    pointer-events: none;
    animation: catalog-category-close 190ms ease both;
}

@keyframes catalog-category-open {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes catalog-category-close {
    from {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        filter: blur(4px);
        transform: translateY(-8px) scale(0.99);
    }
}

.product-visual img,
.modal-product-icon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.product-card:hover .product-visual {
    transform: rotate(2deg) translateY(-3px) scale(1.04);
}

.product-name {
    min-height: 46px;
    font-size: 16px;
    font-weight: 820;
    line-height: 1.35;
}

.product-category {
    margin-bottom: 7px;
    color: var(--card-accent);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.product-price small {
    display: block;
    margin-bottom: 2px;
    color: #686c75;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.product-price strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}

.product-actions { display: flex; align-items: center; gap: 7px; }
.cart-add-button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid color-mix(in srgb, var(--card-accent) 25%, var(--line)); border-radius: 11px; color: #d9dbe0; background: rgba(255,255,255,.035); transition: 180ms ease; }
.cart-add-button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--card-accent) 55%, transparent); color: var(--card-accent); background: color-mix(in srgb, var(--card-accent) 9%, transparent); }
.cart-add-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.product-price .product-old-price { color: #777b84; letter-spacing: .02em; }
.currency-rate s { margin-left: 6px; color: #62666f; }

.buy-button {
    display: inline-flex;
    width: 126px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 10px;
    color: #171308;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    box-shadow: 0 9px 22px rgba(225, 165, 28, 0.15);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.buy-button svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.buy-button span { white-space: nowrap; }

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(225, 165, 28, 0.24);
}

.currency-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 5% 10%, rgba(244, 197, 66, 0.12), transparent 28rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.currency-summary,
.currency-form {
    padding: 34px;
}

.currency-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--line);
}

.currency-orb {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid rgba(244, 197, 66, 0.25);
    border-radius: 25px;
    background: rgba(244, 197, 66, 0.1);
    box-shadow: 0 0 48px rgba(244, 197, 66, 0.12);
    font-size: 42px;
}

.currency-rate {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: #858993;
    font-size: 11px;
}

.currency-rate strong {
    color: #fff;
    font-size: 13px;
}

.range-control {
    width: 100%;
    height: 5px;
    margin: 18px 0 28px;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--range-progress, 0%), rgba(255, 255, 255, 0.09) var(--range-progress, 0%));
}

.range-control::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 5px solid #16171c;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.4), 0 0 18px rgba(244, 197, 66, 0.35);
    cursor: grab;
}

.shop-label {
    display: block;
    margin-bottom: 8px;
    color: #a9acb4;
    font-size: 11px;
    font-weight: 800;
}

.shop-input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
    color: #f4f5f7;
    background: rgba(255, 255, 255, 0.045);
    font-size: 13px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.shop-input::placeholder {
    color: #5f626b;
}

.shop-input:focus {
    border-color: rgba(244, 197, 66, 0.58);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.07);
}

.nickname-history {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
}

.nickname-history[hidden] {
    display: none !important;
}

.nickname-history::before {
    content: "Ранее:";
    margin-right: 2px;
    color: #666a74;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nickname-history-chip {
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
    color: #a8abb3;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nickname-history-chip:hover,
.nickname-history-chip:focus-visible {
    border-color: rgba(244, 197, 66, 0.48);
    background: rgba(244, 197, 66, 0.1);
    color: #f7cf59;
    outline: none;
    transform: translateY(-1px);
}

.promo-input-wrap { position: relative; display: block; }
.promo-input-wrap .shop-input { padding-right: 48px; }
.promo-validation-icon { position: absolute; top: 50%; right: 14px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 999px; color: transparent; transform: translateY(-50%); font-size: 17px; font-weight: 900; transition: 160ms ease; }
.promo-validation-icon.is-loading { color: var(--gold); background: rgba(244,197,66,.08); animation: promo-pulse .8s ease infinite alternate; }
.promo-validation-icon.is-valid { color: #62e7b1; background: rgba(69,221,160,.1); }
.promo-validation-icon.is-invalid { color: #fb7185; background: rgba(251,113,133,.1); }
.promo-validation-message { display: block; min-height: 14px; margin-top: 6px; color: #646872; font-size: 9px; line-height: 1.45; }
.promo-validation-message.is-valid { color: #62dca9; }
.promo-validation-message.is-invalid { color: #fb8b9c; }
@keyframes promo-pulse { to { opacity: .45; } }

.currency-result {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
    margin-top: 16px;
}

.currency-result-box {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
}

.currency-result-box span {
    display: block;
    margin-bottom: 3px;
    color: #62666f;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.currency-result-box strong {
    font-size: 16px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.recent-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.recent-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: rgba(244, 197, 66, 0.08);
    font-size: 21px;
}

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-root.hidden,
.cart-root.hidden { display: none !important; }

body.overlay-open { overflow: hidden !important; overscroll-behavior: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 6, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.modal-dialog {
    position: relative;
    display: grid;
    width: min(900px, 100%);
    max-height: min(810px, calc(100dvh - 40px));
    grid-template-columns: minmax(280px, 0.78fr) minmax(390px, 1.22fr);
    overflow: auto;
    border: 1px solid var(--line-bright);
    border-radius: 26px;
    background: #111217;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.68);
}

.modal-root:not(.hidden) .modal-dialog {
    animation: modal-in 220ms ease-out both;
}

@keyframes modal-in {
    from { transform: translateY(12px) scale(0.985); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-product {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 38px;
    border-right: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 30%, rgba(244, 197, 66, 0.16), transparent 45%),
        #0c0d11;
}

.modal-product::after {
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(244, 197, 66, 0.1);
    border-radius: 42px;
    content: "";
    transform: rotate(18deg);
}

.modal-product-icon {
    display: grid;
    width: 118px;
    height: 118px;
    margin: 44px auto 34px;
    place-items: center;
    border: 1px solid rgba(244, 197, 66, 0.27);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(244, 197, 66, 0.18), rgba(255, 255, 255, 0.03));
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.32), 0 0 55px rgba(244, 197, 66, 0.11);
    font-size: 58px;
}

.modal-form {
    padding: 38px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #858891;
    background: rgba(255, 255, 255, 0.04);
    transition: color 180ms ease, background 180ms ease;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.payment-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.payment-tab {
    display: flex;
    min-height: 61px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #81848d;
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
    font-weight: 800;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.payment-tab-with-note {
    flex-direction: column;
    gap: 3px;
}

.payment-tab-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.payment-tab-with-note small {
    color: #666a74;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.payment-tab-with-note.is-active small {
    color: rgba(247, 207, 89, 0.68);
}

.payment-tab:hover {
    color: #dfe0e3;
    background: rgba(255, 255, 255, 0.055);
}

.payment-tab.is-active {
    border-color: rgba(244, 197, 66, 0.55);
    color: var(--gold-light);
    background: rgba(244, 197, 66, 0.09);
    box-shadow: inset 0 0 0 1px rgba(244, 197, 66, 0.05);
}

.alert-box {
    border: 1px solid rgba(248, 113, 113, 0.28);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    font-size: 12px;
}

.cart-root {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: flex;
    justify-content: flex-end;
    isolation: isolate;
}

.cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,4,6,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cart-panel { position: relative; display: flex; width: min(560px, 100%); height: 100dvh; flex-direction: column; overflow: hidden; border-left: 1px solid var(--line-bright); background: #101116; box-shadow: -38px 0 110px rgba(0,0,0,.58); animation: cart-panel-in 240ms cubic-bezier(.2,.75,.25,1) both; }
@keyframes cart-panel-in { from { opacity: .5; transform: translateX(35px); } to { opacity: 1; transform: translateX(0); } }
.cart-head { display: flex; min-height: 84px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head span { color: var(--gold); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.cart-head h2 { margin-top: 3px; font-size: 23px; font-weight: 850; }
.cart-head .modal-close { position: static; }
.cart-form { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 16px; overflow-y: auto; padding: 20px 22px 28px; overscroll-behavior: contain; }
.cart-items { display: grid; gap: 9px; }
.cart-item { display: grid; grid-template-columns: 52px minmax(0,1fr) auto 28px; gap: 11px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.cart-item-thumb { display: grid; width: 52px; height: 52px; overflow: hidden; place-items: center; border: 1px solid rgba(244,197,66,.15); border-radius: 12px; background: rgba(244,197,66,.06); font-size: 27px; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; }
.cart-item-info strong { display: block; overflow: hidden; color: #e8e9ec; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-info small { display: block; margin-top: 4px; color: var(--gold-light); font-size: 10px; font-weight: 800; }
.cart-quantity { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; }
.cart-quantity button { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 6px; color: #bbbfc7; background: rgba(255,255,255,.045); }
.cart-quantity b { min-width: 15px; text-align: center; font-size: 10px; }
.cart-remove { display: grid; width: 28px; height: 28px; place-items: center; color: #757983; font-size: 19px; }
.cart-remove:hover { color: #fb7185; }
.cart-empty { display: grid; min-height: 220px; place-items: center; align-content: center; gap: 7px; color: #60646e; text-align: center; }
.cart-empty span { color: var(--gold); font-size: 35px; }
.cart-empty strong { color: #d9dbe0; font-size: 15px; }
.cart-empty small { max-width: 280px; font-size: 10px; line-height: 1.6; }
.cart-checkout { display: grid; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.cart-checkout[hidden] { display: none !important; }
.cart-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cashback-checkout { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid rgba(69,221,160,.22); border-radius: 13px; background: rgba(69,221,160,.055); }
.cashback-checkout-copy { display: grid; min-width: 0; gap: 5px; }
.cashback-checkout-copy strong { color: #e7e9ec; font-size: 11px; line-height: 1.35; }
.cashback-checkout-copy strong b { color: #5ee0aa; }
.cashback-checkout-copy small { color: #a4a9b2; font-size: 10px; line-height: 1.4; }
.cashback-use { display: inline-flex; min-height: 34px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid rgba(69,221,160,.25); border-radius: 9px; color: #c5c9cf; font-size: 10px; font-weight: 800; cursor: pointer; }
.cashback-use input { accent-color: #45dda0; }
.cart-total-row i { display: block; font-style: normal; }
.cart-total-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid rgba(244,197,66,.15); border-radius: 13px; background: rgba(244,197,66,.05); }
.cart-total-row small { display: block; color: #777b85; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.cart-total-row strong { display: block; margin-top: 3px; color: var(--gold-light); font-size: 24px; font-weight: 900; }
.cart-total-row > span:last-child { color: #60dda9; font-size: 10px; font-weight: 800; }

.order-item-list { display: grid; gap: 8px; }
.order-item-list article { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.order-item-icon { display: grid; width: 42px; height: 42px; overflow: hidden; place-items: center; border-radius: 10px; background: rgba(244,197,66,.08); font-size: 22px; }
.order-item-icon img { width: 100%; height: 100%; object-fit: cover; }
.order-item-list strong { display: block; font-size: 11px; }
.order-item-list small { display: block; margin-top: 3px; color: #747882; font-size: 9px; }

.document-shell,
.order-shell,
.product-detail-shell {
    width: min(840px, 100%);
    margin: 32px auto 80px;
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(17, 18, 23, 0.84);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.document-shell h1 {
    margin-bottom: 28px;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.document-shell h2 {
    margin: 32px 0 10px;
    color: #f2f3f5;
    font-size: 17px;
    font-weight: 800;
}

.document-shell p,
.document-shell li {
    color: #a0a3ac;
    font-size: 14px;
    line-height: 1.8;
}

.document-shell ul,
.document-shell ol {
    margin-top: 10px;
    padding-left: 22px;
}

.document-shell em {
    color: var(--gold-light);
}

.document-shell a { color: var(--gold-light); text-decoration-color: rgba(244,197,66,.35); text-underline-offset: 3px; }
.legal-details { display: grid; margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.16); }
.legal-details > div { display: grid; grid-template-columns: minmax(155px,.45fr) minmax(0,1fr); gap: 18px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.legal-details > div:last-child { border-bottom: 0; }
.legal-details dt { color: #6d717b; font-size: 10px; font-weight: 750; }
.legal-details dd { color: #d5d7dc; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.legal-file { display: inline-flex; min-height: 42px; align-items: center; margin-top: 13px; padding: 0 14px; border: 1px solid rgba(244,197,66,.22); border-radius: 11px; background: rgba(244,197,66,.06); font-size: 11px !important; font-weight: 800; }

.document-page { padding-top: 16px; }
.document-page .document-shell {
    position: relative;
    width: min(1000px, 100%);
    padding: 0;
    overflow: hidden;
    border-color: rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 15% 0%, rgba(244,197,66,.09), transparent 30%),
        linear-gradient(180deg, rgba(17,18,22,.97), rgba(10,11,14,.96));
}
.document-page .document-shell::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    content: '';
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 440px);
    mask-image: linear-gradient(to bottom, #000, transparent 440px);
}
.document-hero { position: relative; z-index: 1; padding: clamp(34px,6vw,66px) clamp(22px,6vw,68px) 34px; text-align: center; }
.document-title-wrap { display: flex; align-items: center; justify-content: center; gap: clamp(20px,4vw,54px); }
.document-title-wrap > div { min-width: 0; }
.document-page .document-title-wrap h1 { margin: 9px 0 0; font-family: 'Unbounded',sans-serif; font-size: clamp(28px,5vw,52px); line-height: 1.08; letter-spacing: -.055em; }
.document-pixel { position: relative; width: 25px; height: 25px; flex: 0 0 auto; transform: rotate(45deg); border: 1px solid rgba(255,220,104,.55); border-radius: 5px; background: linear-gradient(135deg,#ffe47a,#d99d0b); box-shadow: 12px 12px 0 -6px rgba(244,197,66,.32), -9px -9px 0 -6px rgba(244,197,66,.2), 0 0 28px rgba(244,197,66,.22); animation: document-pixel-float 4s ease-in-out infinite; }
.document-pixel-right { animation-delay: -2s; }
@keyframes document-pixel-float { 0%,100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }
.document-lead { max-width: 680px; margin: 22px auto 0; color: #9c9fa8 !important; font-size: clamp(13px,1.7vw,15px) !important; line-height: 1.75 !important; }
.document-toc { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 30px; text-align: left; }
.document-toc a { display: flex; min-height: 45px; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(0,0,0,.18); color: #afb1b8 !important; font-size: 10px; font-weight: 750; text-decoration: none; transition: border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease; }
.document-toc a:hover { transform: translateY(-2px); border-color: rgba(244,197,66,.28); background: rgba(244,197,66,.06); color: #f4c542 !important; }
.document-toc span { color: #f4c542; font-family: 'Unbounded',sans-serif; font-size: 8px; }
.document-callout { position: relative; z-index: 1; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 14px; margin: 0 clamp(18px,5vw,56px) 4px; padding: 16px 18px; border: 1px solid rgba(244,197,66,.19); border-radius: 14px; background: linear-gradient(90deg,rgba(244,197,66,.085),rgba(244,197,66,.025)); }
.document-callout.is-private { border-color: rgba(82,218,166,.17); background: linear-gradient(90deg,rgba(82,218,166,.075),rgba(82,218,166,.02)); }
.document-callout-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(244,197,66,.25); border-radius: 10px; background: rgba(244,197,66,.09); color: #ffd861; font-family: 'Unbounded',sans-serif; font-size: 13px; }
.document-callout.is-private .document-callout-icon { border-color: rgba(82,218,166,.22); background: rgba(82,218,166,.08); color: #52daa6; }
.document-callout p { margin: 0; color: #bfc1c7; font-size: 11px; line-height: 1.7; }
.document-section { position: relative; z-index: 1; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 22px; margin: 0 clamp(18px,5vw,56px); padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.065); scroll-margin-top: 110px; }
.document-section:last-child { border-bottom: 0; padding-bottom: 50px; }
.document-section-number { display: grid; width: 42px; height: 29px; place-items: center; margin-top: 1px; border: 1px solid rgba(244,197,66,.18); border-radius: 8px; background: rgba(244,197,66,.05); color: #e7b82f; font-family: 'Unbounded',sans-serif; font-size: 8px; letter-spacing: .08em; }
.document-page .document-section h2 { margin: 0 0 12px; color: #f4f4f5; font-size: clamp(16px,2.1vw,20px); letter-spacing: -.025em; }
.document-page .document-section p + p { margin-top: 12px; }
.document-page .document-section ul { margin-top: 5px; }
.document-page .document-section li + li { margin-top: 5px; }
.document-page .document-section strong { color: #d9dadd; }
.document-details-note { margin-top: 14px; font-size: 11px !important; }
.support-document { padding-bottom: 42px !important; }
.support-contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 clamp(18px,5vw,56px); }
.support-contact-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 88px; padding: 14px; border: 1px solid rgba(255,255,255,.075); border-radius: 15px; background: rgba(0,0,0,.2); color: inherit !important; text-decoration: none !important; transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.support-contact-card:hover { transform: translateY(-3px); border-color: rgba(244,197,66,.24); background: rgba(244,197,66,.045); }
.support-contact-card > span:nth-child(2) { min-width: 0; }
.support-contact-card small,.support-hours-card small { display: block; color: #686c76; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.support-contact-card strong,.support-hours-card strong { display: block; margin-top: 4px; color: #f2f3f5; font-size: 12px; font-style: normal; }
.support-contact-card em,.support-hours-card em { display: block; margin-top: 3px; overflow: hidden; color: #858993; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.support-contact-card > b { color: #5d6069; font-size: 12px; }
.support-contact-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-size: 15px; font-weight: 900; }
.support-contact-icon.is-telegram { background: rgba(42,171,238,.14); color: #42b7ed; }
.support-contact-icon.is-discord { background: rgba(88,101,242,.16); color: #8993ff; }
.support-contact-icon.is-vk { background: rgba(0,119,255,.15); color: #4ba1ff; font-size: 10px; }
.support-contact-icon.is-email { background: rgba(244,197,66,.12); color: #f4c542; }
.support-hours-card { position: relative; z-index: 1; display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 14px; margin: 12px clamp(18px,5vw,56px) 0; padding: 16px; border: 1px solid rgba(82,218,166,.15); border-radius: 15px; background: linear-gradient(90deg,rgba(82,218,166,.06),rgba(82,218,166,.015)); }
.support-hours-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: rgba(82,218,166,.1); color: #52daa6; }
.support-hours-icon svg { width: 23px; height: 23px; }
.support-hours-card em { white-space: normal; }
.support-order-help { position: relative; z-index: 1; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 22px; margin: 28px clamp(18px,5vw,56px) 0; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.065); }
.support-order-help h2 { margin: 0 0 9px !important; }
.support-order-help p { font-size: 12px !important; line-height: 1.75 !important; }

@media (max-width: 700px) {
    .document-page { padding-top: 5px; }
    .document-page .document-shell { margin-top: 12px; border-radius: 19px; }
    .document-hero { padding: 32px 17px 23px; }
    .document-title-wrap { gap: 13px; }
    .document-pixel { width: 15px; height: 15px; border-radius: 3px; box-shadow: 8px 8px 0 -4px rgba(244,197,66,.3), -6px -6px 0 -4px rgba(244,197,66,.17), 0 0 18px rgba(244,197,66,.18); }
    .document-toc { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 23px; }
    .document-toc a { min-height: 42px; padding: 8px 10px; font-size: 9px; }
    .document-callout { grid-template-columns: 32px minmax(0,1fr); gap: 11px; margin-inline: 13px; padding: 13px; }
    .document-callout-icon { width: 32px; height: 32px; }
    .document-section { grid-template-columns: 32px minmax(0,1fr); gap: 12px; margin-inline: 15px; padding: 25px 0; }
    .document-section-number { width: 32px; height: 25px; border-radius: 7px; font-size: 7px; }
    .document-page .document-section p,
    .document-page .document-section li { font-size: 12px; line-height: 1.75; }
    .support-document { padding-bottom: 28px !important; }
    .support-contact-grid { grid-template-columns: 1fr; margin-inline: 13px; }
    .support-contact-card { min-height: 78px; }
    .support-hours-card { margin-inline: 13px; }
    .support-order-help { grid-template-columns: 32px minmax(0,1fr); gap: 12px; margin: 24px 15px 0; }
}

.site-footer {
    margin-top: 90px;
    border-top: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.55);
}

.footer-shell {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0 32px;
}

.footer-title {
    margin-bottom: 12px;
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #777b84;
    font-size: 12px;
    transition: color 180ms ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

@media (max-width: 1024px) {
    .hero-content { padding: 54px 44px; }
    .quick-strip { grid-template-columns: repeat(2, 1fr); }
    .quick-item:nth-child(2) { border-right: 0; }
    .quick-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .daily-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .header-shell { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px; }
    .header-shell > a:first-child { grid-column: 1; grid-row: 1; }
    .header-actions { grid-column: 2; grid-row: 1; }
    .main-nav { display: flex; grid-column: 1 / -1; grid-row: 2; width: 100%; gap: 2px; padding: 4px; border-radius: 12px; }
    .main-nav a { flex: 1 1 0; min-width: 0; padding: 9px 4px; text-align: center; white-space: nowrap; font-size: 10px; }
    .hero-panel,
    .hero-content { min-height: 430px; }
    .hero-panel::before { background-position: 64% center; }
    .hero-panel::after {
        background:
            linear-gradient(90deg, rgba(7, 8, 10, 0.97), rgba(7, 8, 10, 0.6) 72%, rgba(7, 8, 10, 0.32)),
            linear-gradient(0deg, rgba(7, 8, 10, 0.88), transparent 70%);
    }
    .currency-card { grid-template-columns: 1fr; }
    .currency-summary { border-right: 0; border-bottom: 1px solid var(--line); }
    .modal-dialog { grid-template-columns: 1fr; }
    .modal-product { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .modal-product-icon { width: 82px; height: 82px; margin: 18px auto; border-radius: 22px; font-size: 40px; }
    .account-trigger span { display: none; }
    .account-trigger { width: 46px; padding: 0; justify-content: center; }
    .player-order-row { grid-template-columns: 55px minmax(0,1fr) 90px; }
    .player-order-status { grid-column: 2 / 4; justify-self: start; }
}

@media (max-width: 640px) {
    .site-container { width: min(100% - 20px, 1380px); }
    .site-header { padding-top: 10px; }
    .header-shell { min-height: 62px; padding: 8px 9px 9px 12px; border-radius: 17px; }
    .category-tabs { top: 128px; margin-inline: -4px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
    .brand-kicker,
    .brand-name { display: none !important; }
    .server-pill { min-height: 40px; padding: 0 10px; font-size: 10px; }
    .cart-trigger { width: 40px; height: 40px; border-radius: 11px; }
    .account-trigger { width: 40px; min-height: 40px; border-radius: 11px; }
    .server-pill { display: none; }
    body { padding-bottom: 86px; }
    .floating-cart-trigger { right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 14px; min-width: 0; min-height: 58px; border-radius: 16px; }
    .floating-cart-trigger strong { font-size: 15px; }
    .hero-panel { min-height: 470px; border-radius: 22px; }
    .hero-content { min-height: 470px; padding: 32px 24px 78px; justify-content: flex-end; }
    .hero-panel::before { background-position: 70% top; }
    .hero-panel::after {
        background:
            linear-gradient(0deg, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.88) 48%, rgba(7, 8, 10, 0.24) 100%),
            linear-gradient(90deg, rgba(7, 8, 10, 0.65), transparent);
    }
    .hero-title { max-width: 100%; margin-top: 18px; font-size: 36px; line-height: 1.05; overflow-wrap: anywhere; }
    .hero-copy { margin-top: 16px; font-size: 14px; line-height: 1.65; }
    .hero-actions { margin-top: 24px; }
    .hero-actions .btn-gold,
    .hero-actions .btn-dark { width: 100%; }
    .hero-meta { display: none; }
    .hero-coordinate { right: 16px; bottom: 16px; }
    .purchase-feed { padding: 16px; border-radius: 17px; }
    .purchase-feed-title p { display: none; }
    .purchase-card { min-width: 174px; flex-basis: 174px; }
    .quick-strip { grid-template-columns: 1fr; border-radius: 17px; }
    .quick-item { padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
    .quick-item:nth-child(3) { border-bottom: 1px solid var(--line); }
    .quick-item:last-child { border-bottom: 0; }
    .section-heading { display: block; margin-top: 58px; }
    .section-copy { margin-top: 14px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 300px; }
    .currency-summary,
    .currency-form { padding: 24px; }
    .currency-result { grid-template-columns: 1fr; gap: 8px; }
    .currency-result > span { transform: rotate(90deg); text-align: center; }
    .recent-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .recent-card { min-width: 240px; scroll-snap-align: start; }
    .modal-root { align-items: end; padding: 0; overflow: hidden; }
    .modal-dialog { width: 100%; max-height: 96dvh; overscroll-behavior: contain; border-radius: 24px 24px 0 0; }
    .modal-product { display: none; }
    .modal-form { padding: 26px 20px 22px; }
    .payment-tab { min-height: 56px; flex-direction: column; gap: 3px; }
    .cart-panel { width: 100%; border-left: 0; }
    .cart-head { min-height: 72px; padding: 14px 16px; }
    .cart-form { padding: 16px 12px 24px; }
    .cart-item { grid-template-columns: 45px minmax(0,1fr) auto 24px; gap: 8px; }
    .cart-item-thumb { width: 45px; height: 45px; }
    .cart-fields-grid { grid-template-columns: 1fr; }
    .legal-details > div { grid-template-columns: 1fr; gap: 5px; }
    .footer-shell { grid-template-columns: 1fr; gap: 28px; }
    .account-auth-page { padding-top: 28px; }
    .account-auth-card { padding: 24px 18px; border-radius: 20px; }
    .player-account-page { padding-top: 28px; }
    .player-account-hero { grid-template-columns: auto minmax(0,1fr); padding: 18px; border-radius: 19px; }
    .player-account-hero form { grid-column: 1 / 3; }
    .player-account-hero form .btn-ghost { width: 100%; }
    .player-account-avatar { width: 62px; height: 62px; border-radius: 17px; }
    .player-account-title p { display: none; }
    .daily-cards-panel { padding: 18px 12px; border-radius: 19px; }
    .daily-cards-head { display: grid; }
    .daily-reset { width: 100%; text-align: left; }
    .daily-eligibility { grid-template-columns: 1fr 1fr; }
    .daily-playtime-progress { grid-column: 1 / 3; grid-row: 2; }
    .daily-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .daily-card { min-height: 180px; }
    .player-account-stats { grid-template-columns: 1fr; }
    .player-account-stats article { min-height: 96px; padding: 19px; }
    .player-orders-head { align-items: flex-start; padding: 18px; }
    .player-orders-head .btn-gold { min-width: auto; padding-inline: 13px; font-size: 9px; }
    .player-order-row { grid-template-columns: 44px minmax(0,1fr); gap: 10px; padding: 14px 16px; }
    .player-order-amount { grid-column: 2; }
    .player-order-status { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Server rules */
.rules-page { min-height: 70vh; padding: 72px 0 110px; }
.rules-shell { width: min(920px, calc(100% - 32px)); }
.rules-heading { margin-bottom: 32px; }
.rules-heading > span { display: block; margin-bottom: 10px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.rules-heading h1 { color: #f2f3f5; font-family: 'Unbounded', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.045em; }
.rules-heading p { margin-top: 8px; color: #858891; font-size: 15px; }
.rules-accordions { display: grid; gap: 15px; }
.rules-accordion { overflow: hidden; border: 1px solid rgba(255,255,255,.045); border-radius: 18px; background: rgba(255,255,255,.035); }
.rules-accordion summary { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 25px; color: #e8e9ec; cursor: pointer; list-style: none; user-select: none; }
.rules-accordion summary::-webkit-details-marker { display: none; }
.rules-accordion summary strong { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.025em; }
.rules-accordion summary > span { width: 9px; height: 9px; flex: 0 0 auto; border-right: 2px solid #8b8e96; border-bottom: 2px solid #8b8e96; transform: rotate(45deg) translate(-2px, 2px); transition: transform 180ms ease; }
.rules-accordion[open] summary > span { transform: rotate(225deg) translate(-2px, 2px); }
.rules-accordion[open] summary { border-bottom: 1px solid rgba(255,255,255,.07); }
.rules-accordion-body { padding: 24px; }
.rules-warning { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; padding: 16px 18px; border: 1px solid rgba(244,197,66,.38); border-radius: 13px; color: #d9d9db; background: rgba(244,197,66,.105); }
.rules-warning svg { width: 24px; height: 24px; flex: 0 0 auto; fill: rgba(244,197,66,.95); stroke: #2a230d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rules-warning p { font-size: 12px; font-weight: 650; line-height: 1.55; }
.rules-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rules-program-card { display: grid; min-height: 94px; grid-template-columns: 42px minmax(0,1fr) 8px; align-items: center; gap: 11px; padding: 13px; border: 1px solid transparent; border-radius: 13px; background: rgba(255,255,255,.045); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.rules-program-card:hover { transform: translateY(-2px); border-color: rgba(244,197,66,.3); background: rgba(244,197,66,.07); }
.rules-program-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; color: var(--gold); background: rgba(77,88,139,.25); }
.rules-program-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rules-program-copy { min-width: 0; }
.rules-program-copy strong { display: block; overflow: hidden; color: #e9eaed; font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rules-program-copy small { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #8d9098; font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rules-program-arrow { color: #676a72; font-size: 17px; }
.rules-list { padding-top: 0; padding-bottom: 7px; }
.rules-row { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.065); }
.rules-row:last-child { border-bottom: 0; }
.rules-row b { color: var(--gold-light); font-size: 12px; font-weight: 900; }
.rules-row p { color: #9a9da5; font-size: 13px; line-height: 1.65; white-space: pre-line; }
.rules-row.is-plain { display: block; }
.rules-row p strong { color: #f1f2f4; font-weight: 850; }
.rules-subheading { margin: 18px 0 4px; color: var(--site-text, #f4f4f5); font-size: 18px; font-weight: 850; }

@media (max-width: 760px) {
    .rules-page { padding: 38px 0 72px; }
    .rules-shell { width: min(100% - 20px, 920px); }
    .rules-heading { margin-bottom: 22px; padding: 0 4px; }
    .rules-heading p { font-size: 12px; }
    .rules-accordions { gap: 10px; }
    .rules-accordion { border-radius: 15px; }
    .rules-accordion summary { min-height: 60px; padding: 0 16px; }
    .rules-accordion summary strong { font-size: 12px; }
    .rules-accordion-body { padding: 15px; }
    .rules-program-grid { grid-template-columns: 1fr; }
    .rules-program-card { min-height: 76px; }
    .rules-warning { align-items: flex-start; padding: 14px; }
    .rules-warning p { font-size: 11px; }
    .rules-list { padding-top: 0; padding-bottom: 4px; }
    .rules-row { grid-template-columns: 37px minmax(0,1fr); gap: 8px; padding: 13px 0; }
    .rules-row p { font-size: 11px; }
}
