


.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.empty-state__icon i { width: 40px; height: 40px; }
.empty-state__title { margin: 0 0 10px; color: var(--text); font-size: 1.3rem; }


.server-card__title { direction: ltr; margin: 0 0 8px; font-size: 1.2rem; color: var(--text); font-weight: 800; }
.server-card__title--html strong { color: #facc15; font-weight: 800; }
.server-card__title--html a { color: #f87171; text-decoration: none; font-weight: 700; }
.server-card__logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; margin-bottom: 8px; background: rgba(255,255,255,0.04); }
.server-card__ver { margin: 0 0 12px; font-size: 0.82rem; }
.shop-item__server { display: block; font-size: 0.85rem; margin: 4px 0 8px; }
.inventory-card__locked-server { margin: 0 0 12px; font-size: 0.9rem; }

.server-card__game { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.server-card__game i { width: 16px; height: 16px; opacity: 0.7; }

.server-card__desc { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.7; }

.server-card__tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.72rem; font-weight: 700;
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    border-radius: 999px; padding: 3px 10px; margin-top: 4px;
}
.server-card__tag i { width: 13px; height: 13px; }

.badge { display: inline-flex; align-items: center; gap: 8px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse-dot 2s ease-in-out infinite; }
.badge--warn .badge__dot { animation: none; opacity: 0.6; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.9); } }

.server-card__meta { flex-direction: column; align-items: stretch; }
.server-card__meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.meta-label { color: var(--muted); font-weight: 600; }
.player-count { font-family: 'SoftNum'; direction: ltr; color: var(--primary); font-weight: 700; }

.server-card__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.progress-bar { flex: 1; height: 6px; background: rgba(0, 217, 255, 0.1); border-radius: 3px; overflow: hidden; }
.progress-bar__fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent, #8b5cf6)); border-radius: 3px; transition: width 0.5s ease; }
.progress-label { font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.server-card .btn i { width: 18px; height: 18px; }


.game-page { padding-bottom: 40px; }

.game-cover {
    position: relative;
    padding: 56px 0 40px;
    margin-bottom: 28px;
    background:
        linear-gradient(180deg, rgba(10, 14, 25, 0.7), var(--bg)),
        var(--cover, radial-gradient(120% 120% at 80% 0%, rgba(0, 217, 255, 0.18), transparent 60%));
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.game-cover__inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }

.game-cover__logo {
    flex-shrink: 0;
    width: 160px; height: 160px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.game-cover__logo img { width: 78%; height: 78%; object-fit: contain; }

.game-cover__body { flex: 1; min-width: 260px; }
.game-cover__title { margin: 10px 0 6px; font-size: clamp(2rem, 4vw, 3rem); }
.game-cover__tagline { color: var(--muted); font-size: 1.1rem; margin: 0 0 22px; }
.game-cover__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.game-cover__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.g-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    font-size: 0.82rem; font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
}
.g-badge i { width: 15px; height: 15px; }
.g-badge--launcher { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.4); }
.g-badge--direct { background: rgba(16, 185, 129, 0.14); color: var(--success); border-color: rgba(16, 185, 129, 0.35); }

.launcher-note {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius);
    padding: 18px 20px; margin-bottom: 28px;
}
.launcher-note i { width: 24px; height: 24px; color: #c4b5fd; flex-shrink: 0; }
.launcher-note div { display: flex; flex-direction: column; gap: 4px; }
.launcher-note span { color: var(--muted); font-size: 0.92rem; }

.game-section { margin-bottom: 36px; }
.game-section__title { font-size: 1.5rem; margin: 0 0 12px; }
.game-section__text { color: var(--muted); line-height: 2; max-width: 70ch; }


.shop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }

.shop-account-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 8px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 217, 255, 0.22);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(139, 92, 246, 0.06));
}
.shop-account-notice__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 217, 255, 0.12);
    color: var(--primary);
    flex-shrink: 0;
}
.shop-account-notice__icon i { width: 22px; height: 22px; }
.shop-account-notice__body { flex: 1; min-width: 220px; }
.shop-account-notice__body p { margin: 0; font-size: 0.92rem; line-height: 1.75; color: var(--text); }
.shop-account-notice__btn { flex-shrink: 0; white-space: nowrap; }
.shop-account-notice__btn i { width: 18px; height: 18px; }

@media (max-width: 640px) {
    .shop-account-notice { flex-direction: column; align-items: stretch; }
    .shop-account-notice__btn { width: 100%; justify-content: center; }
}
.shop-step { margin: 26px 0 14px; font-weight: 600; }

.shop-cart-link { position: relative; }

.cart-count {
    display: inline-grid; place-items: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px;
    background: var(--primary); color: #04121a;
    font-size: 0.72rem; font-weight: 800;
    margin-inline-start: 4px;
}
.store-btn .cart-count { position: absolute; top: -6px; inset-inline-start: -6px; margin: 0; }

.shop-games { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.shop-games--home { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.shop-game-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center; text-decoration: none;
    padding: 26px 18px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.shop-game-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.shop-game-card__logo { width: 84px; height: 84px; display: grid; place-items: center; }
.shop-game-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shop-game-card h3 { margin: 4px 0 0; font-size: 1.05rem; color: var(--text); }
.shop-game-card__count { font-size: 0.82rem; }

.shop-toolbar { margin: 6px 0 18px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--primary); }
.back-link i { width: 18px; height: 18px; }

.shop-servers { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.server-chip {
    padding: 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
    color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 600;
    transition: all 0.2s ease;
}
.server-chip:hover { border-color: var(--primary); }
.server-chip.is-active { background: var(--primary); color: #04121a; border-color: var(--primary); }

.shop-items { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.shop-item { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shop-item__img { aspect-ratio: 16/9; overflow: hidden; }
.shop-item__img img { width: 100%; height: 100%; object-fit: cover; }
.shop-item__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.shop-item__cat {
    align-self: flex-start; font-size: 0.72rem; font-weight: 700;
    color: var(--primary); background: rgba(0, 217, 255, 0.1);
    padding: 3px 10px; border-radius: 999px;
}
.shop-item__name { margin: 0; font-size: 1.1rem; color: var(--text); }
.shop-item__desc { margin: 0; font-size: 0.88rem; line-height: 1.7; flex: 1; }
.shop-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.shop-item__price { font-weight: 800; color: var(--primary); font-family: var(--font-mono); }
.shop-item__form { margin: 0; }
.shop-item__form .btn { padding: 10px 16px; }
.shop-item__form .btn i { width: 16px; height: 16px; }


.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }

.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.cart-row__info h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cart-row__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin: 0; }
.cart-qty__input { width: 72px; text-align: center; padding: 8px; }
.cart-row__total { font-weight: 800; color: var(--primary); font-family: var(--font-mono); white-space: nowrap; }
.icon-remove { background: none; border: none; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; transition: color 0.2s ease, background 0.2s ease; }
.icon-remove:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); }
.icon-remove i { width: 18px; height: 18px; }
.cart-clear { margin-top: 4px; text-align: start; }

.btn--sm { padding: 8px 14px; font-size: 0.85rem; }

.cart-summary { padding: 24px; position: sticky; top: 90px; }
.cart-summary h2 { margin: 0 0 16px; font-size: 1.3rem; }
.cart-summary__line { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 0.92rem; color: var(--muted); }
.cart-summary__total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-bottom: 18px; }
.cart-summary__total strong { font-size: 1.3rem; color: var(--primary); font-family: var(--font-mono); }
.checkout-form label { display: block; margin: 12px 0 6px; font-weight: 600; font-size: 0.9rem; }
.checkout-form .field { width: 100%; }
.cart-summary__hint { font-size: 0.8rem; margin: 12px 0 0; line-height: 1.7; }

.order-success { text-align: center; max-width: 520px; margin: 0 auto; padding: 48px 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.order-success__icon { width: 80px; height: 80px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(16, 185, 129, 0.15); color: var(--success); }
.order-success__icon i { width: 44px; height: 44px; }
.order-success h2 { margin: 0 0 10px; }
.order-success strong { color: var(--primary); font-family: var(--font-mono); }
.order-success__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }


.game-card__flag {
    position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.72rem; font-weight: 700;
    color: #c4b5fd; background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 999px; padding: 4px 10px;
}
.game-card__flag i { width: 13px; height: 13px; }


.account-menu { position: relative; }
.account-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text); cursor: pointer; font: inherit; font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.account-btn:hover, .account-menu.open .account-btn, .account-btn.is-active { border-color: var(--primary); background: rgba(0, 217, 255, 0.08); }
.account-btn__avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent, #8b5cf6)); color: #04121a; }
.account-btn__avatar i { width: 16px; height: 16px; }
.account-btn__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-btn__caret { width: 16px; height: 16px; transition: transform 0.2s ease; opacity: 0.7; }
.account-menu.open .account-btn__caret { transform: rotate(180deg); }

.account-dropdown {
    position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
    min-width: 220px;
    background: var(--bg-alt, #0f1424);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 60;
}
.account-menu.open .account-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border-radius: 10px;
    color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.account-dropdown a:hover { background: rgba(0, 217, 255, 0.1); color: var(--primary); }
.account-dropdown a i { width: 18px; height: 18px; }
.account-dropdown__sep { height: 1px; background: var(--border); margin: 6px 4px; }
.account-dropdown__danger:hover { background: rgba(248, 113, 113, 0.12) !important; color: #f87171 !important; }


.container--narrow { max-width: 520px; }
.auth-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg, 20px); padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.auth-card__head { text-align: center; margin-bottom: 24px; }
.auth-card__icon {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: grid; place-items: center; border-radius: 18px;
    background: rgba(0, 217, 255, 0.1); color: var(--primary);
}
.auth-card__icon i { width: 30px; height: 30px; }
.auth-card__head h1 { margin: 0 0 6px; font-size: 1.6rem; }
.auth-form label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 0.9rem; }
.auth-form .field { width: 100%; }
.auth-form .btn { margin-top: 22px; }
.auth-alt { text-align: center; margin: 18px 0 0; color: var(--muted); }
.auth-alt a { color: var(--primary); font-weight: 700; }


.account-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.account-orders { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.account-section-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 18px; }
.account-section-title i { width: 22px; height: 22px; color: var(--primary); }
.account-main { display: flex; flex-direction: column; }
.account-side { display: flex; flex-direction: column; gap: 18px; }
.account-box { padding: 22px; }
.account-box label { display: block; margin: 12px 0 6px; font-weight: 600; font-size: 0.88rem; }
.account-box .field { width: 100%; }
.account-box .btn { margin-top: 16px; }
.account-logout { color: #f87171; }

.order-card { padding: 18px 20px; margin-bottom: 14px; }
.order-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card__code { font-family: var(--font-mono); font-weight: 800; color: var(--primary); }
.order-card__date { font-size: 0.82rem; margin-inline-start: 10px; }
.order-card__items { list-style: none; margin: 14px 0; padding: 14px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); display: flex; flex-direction: column; gap: 8px; }
.order-card__items li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.order-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-card__foot strong { color: var(--primary); font-family: var(--font-mono); font-size: 1.05rem; }


.server-card__launcher-ip { display: inline-flex; align-items: center; gap: 6px; color: #c4b5fd; font-weight: 700; font-size: 0.88rem; }
.server-card__launcher-ip i { width: 15px; height: 15px; }
.server-card__launcher-soon { opacity: 0.7; cursor: default; }

.cart-login-note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: var(--radius); margin-bottom: 14px; }
.cart-login-note i { width: 22px; height: 22px; color: #c4b5fd; flex-shrink: 0; }
.cart-login-note p { margin: 0; font-size: 0.92rem; }
.cart-account-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(0, 217, 255, 0.08); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; font-size: 0.9rem; }
.cart-account-chip i { width: 18px; height: 18px; color: var(--primary); }
.cart-sandbox-note { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 14px; padding: 10px 12px; background: rgba(245, 158, 11, 0.1); border-radius: 10px; }
.cart-sandbox-note i { width: 16px; height: 16px; color: var(--warning); }

.container--narrow-wide { max-width: 640px; }

.inventory-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 20px; }
.inventory-card { padding: 20px; }
.inventory-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.inventory-card__head h3 { margin: 0 0 6px; font-size: 1.05rem; }
.inventory-card__uid { font-size: 0.78rem; color: var(--primary); background: rgba(0, 217, 255, 0.08); padding: 3px 8px; border-radius: 6px; }
.inventory-card__game { margin: 0 0 12px; font-size: 0.88rem; }
.inventory-use-form label { display: block; margin: 10px 0 6px; font-weight: 600; font-size: 0.88rem; }
.inventory-use-form .field { width: 100%; }
.inventory-use-form .btn { margin-top: 12px; }
.inventory-card__pending { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.9rem; }
.inventory-card__pending i { width: 18px; height: 18px; }
.order-card--compact { padding: 14px 18px; }

.pay-history { padding: 0; overflow: hidden; }
.pay-history__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: right;
    cursor: pointer;
}
.pay-history__toggle:hover { background: rgba(0, 217, 255, 0.04); }
.pay-history__main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.pay-history__code { font-family: var(--font-mono); font-weight: 800; color: var(--primary); }
.pay-history__meta { font-size: 0.82rem; }
.pay-history__side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pay-history__side strong { color: var(--primary); font-family: var(--font-mono); white-space: nowrap; }
.pay-history__caret { width: 18px; height: 18px; opacity: 0.7; transition: transform 0.2s ease; }
.pay-history.is-open .pay-history__caret { transform: rotate(180deg); }
.pay-history__panel { padding: 0 18px 18px; border-top: 1px dashed var(--border); }
.pay-detail { display: grid; gap: 10px; padding-top: 14px; }
.pay-detail__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 0.9rem; }
.pay-detail__row--full { flex-direction: column; align-items: flex-start; }
.pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid var(--border);
}
.pay-badge--ok { border-color: rgba(52, 211, 153, 0.45); color: #86efac; background: rgba(52, 211, 153, 0.08); }
.pay-badge--pending { border-color: rgba(251, 191, 36, 0.45); color: #fde68a; background: rgba(251, 191, 36, 0.08); }
.pay-badge--bad { border-color: rgba(248, 113, 113, 0.45); color: #fecaca; background: rgba(248, 113, 113, 0.08); }
.account-orders__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.donate-card { padding: 28px; }
.donate-head { margin-bottom: 20px; }
.donate-notice {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; margin-bottom: 20px; border-radius: 12px;
    border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
}
.donate-notice i { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.donate-notice--sandbox { border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); }
.donate-notice--sandbox i { color: var(--warning); }
.donate-notice strong { display: block; margin-bottom: 4px; }
.donate-notice span { font-size: 0.88rem; color: var(--muted); }
.donate-fieldset { border: 0; margin: 0 0 8px; padding: 0; }
.donate-fieldset legend { font-weight: 700; margin-bottom: 12px; font-size: 0.95rem; }
.donate-field { margin-bottom: 4px; }
.donate-form label { display: block; margin: 16px 0 8px; font-weight: 600; }
.donate-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.donate-type { cursor: pointer; position: relative; }
.donate-type input { position: absolute; opacity: 0; pointer-events: none; }
.donate-type__box,
.donate-type span {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 10px; border: 1px solid var(--border); border-radius: 12px;
    font-size: 0.85rem; font-weight: 600; text-align: center; transition: all 0.2s ease;
}
.donate-type__box small,
.donate-type span small { font-weight: 500; color: var(--muted); font-size: 0.75rem; line-height: 1.4; }
.donate-type__box i,
.donate-type span i { width: 22px; height: 22px; color: var(--primary); }
.donate-type input:checked + .donate-type__box,
.donate-type input:checked + span { border-color: var(--primary); background: rgba(0, 217, 255, 0.08); }
.donate-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.donate-preset-btn {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer;
    font: inherit; font-size: 0.85rem; font-weight: 600; transition: all 0.2s ease;
}
.donate-preset-btn:hover { border-color: var(--primary); color: var(--primary); }
.donate-preset-btn.is-active { border-color: var(--primary); background: rgba(0, 217, 255, 0.12); color: var(--primary); }
.donate-guest-hint { margin: 0 0 12px; font-size: 0.88rem; }
.donate-user-chip {
    display: flex; align-items: center; gap: 12px; margin: 20px 0 8px;
    padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
    background: rgba(0, 217, 255, 0.06);
}
.donate-user-chip i { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.donate-user-chip strong { display: block; margin-bottom: 4px; }
.donate-user-chip span { font-size: 0.88rem; color: var(--muted); }
.donate-submit { margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.donate-submit i { width: 20px; height: 20px; }
.donate-submit[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.donate-sandbox { margin-bottom: 24px; }

@media (max-width: 860px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .server-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .account-btn__name { display: none; }
    .donate-types { grid-template-columns: 1fr; }
}
