/* guard/public/client.css — sección pública para usuarios */

body.client-body {
    display: block !important;
    background:
        linear-gradient(90deg, rgba(13,13,13,0.20) 0%, rgba(13,13,13,0.72) 38%, rgba(13,13,13,0.96) 100%),
        linear-gradient(180deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.95) 100%),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center top / cover no-repeat fixed,
        var(--bg);
}

body.client-body.checkout-page {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(8,8,8,0.08) 0%, rgba(8,8,8,0.62) 38%, rgba(8,8,8,0.94) 100%),
        linear-gradient(180deg, rgba(8,8,8,0.64) 0%, rgba(8,8,8,0.92) 100%),
        url("assets/checkout-bg.png") center top / cover no-repeat fixed;
}

.checkout-page .client-wrap {
    max-width: 1180px;
}

.client-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ── Header ── */
.client-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 52px;
}
.client-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}
.client-brand-icon {
    width: 58px; height: 58px;
    border-radius: 0;
    background: transparent;
    border: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: none;
    overflow: hidden;
}
.client-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.discord-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}
.discord-login-btn:hover { background: var(--accent-2); color: #fff; }
.discord-mark { width: 21px; height: 21px; flex-shrink: 0; }
.account-menu { position: relative; }
.account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.account-trigger img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,122,26,0.55);
}
.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    width: 214px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    background: #101418;
    box-shadow: 0 18px 42px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.account-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 20px 14px 16px;
    border-bottom: 1px solid var(--border);
}
.account-profile img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
.account-profile strong { font-size: 14px; }
.account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.account-dropdown a:hover { background: rgba(255,122,26,0.09); color: #fff; }
.account-dropdown a.is-license { color: var(--accent); }
.account-dropdown a.is-license:hover { color: var(--accent-2); }
.account-dropdown a.is-admin { color: #60a5fa; }
.account-dropdown a.is-admin:hover { color: #93c5fd; }
.account-dropdown a.is-danger { color: #f87171; border-bottom: 0; }
.account-dropdown a.is-danger:hover { color: #fca5a5; }
.menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
}
.client-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}
.client-top-nav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
.client-top-nav a,
.client-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 7px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}
.client-top-nav a:hover,
.client-top-nav a.active,
.client-login-btn {
    color: var(--text);
    background: rgba(255,255,255,0.08);
}

/* ── Hero ── */
.client-hero {
    text-align: center;
    margin-bottom: 44px;
}
.client-hero h1 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.client-hero p {
    color: var(--muted);
    font-size: 15px;
    max-width: 460px;
    margin: 0 auto;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-bottom: 52px;
}
.plan-card {
    display: flex;
    flex-direction: column;
    min-height: 334px;
    overflow: hidden;
    background: #111214;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.plan-card:hover {
    border-color: rgba(255,122,26,0.45);
    background: #141518;
    transform: translateY(-2px);
}
.plan-media {
    position: relative;
    min-height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.plan-media img {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.48));
}
.plan-media-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 45%),
        radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 46%);
    pointer-events: none;
}
.plan-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: rgba(0,0,0,0.36);
    color: rgba(255,255,255,0.86);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.plan-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}
.plan-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}
.plan-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.plan-card-topline strong {
    color: #fff;
    font-size: 18px;
}
.plan-title {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 850;
}
.plan-desc {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.plan-feature-pills {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}
.plan-feature-pills span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.055);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}
.plan-feature-pills svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: #32d92e;
}
.plan-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}
.plan-actions .plan-subscribe-btn {
    margin: 0;
    width: 100%;
}
.plan-subscribe-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}
.plan-mini-note {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}
.plan-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 56px;
}
.plan-info-strip div {
    min-height: 98px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(17,18,20,0.72);
}
.plan-info-strip strong,
.plan-info-strip span {
    display: block;
}
.plan-info-strip strong {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 14px;
}
.plan-info-strip span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}
.plan-card-head {
    padding: 20px 18px 16px;
    text-align: center;
}
.plan-name {
    color: #9db7f8;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.plan-price {
    color: #fff;
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
}
.plan-period {
    color: #c7c7d1;
    font-size: 14px;
    margin-top: 8px;
}
.plan-feature-list {
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.plan-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
}
.plan-feature-row span {
    min-width: 0;
}
.plan-feature-row strong {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    font-size: 22px;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.plan-feature-row .is-ok {
    color: #22c55e;
}
.plan-feature-row .is-off {
    color: #ff4d57;
    font-weight: 500;
}
.plan-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: auto 16px 16px;
    padding: 0 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}
.plan-subscribe-btn:hover {
    background: var(--accent);
    color: #111;
}
.plan-subscribe-btn.is-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text);
}
.plan-subscribe-btn.is-secondary:hover {
    border-color: rgba(255,122,26,0.45);
    color: var(--accent);
    background: transparent;
}
.terms-panel {
    max-width: 880px;
    margin: 0 auto 56px;
    padding: 26px;
    border: 1px solid rgba(255,122,26,0.16);
    border-radius: 8px;
    background: rgba(17,18,20,0.82);
    backdrop-filter: blur(12px);
}
.terms-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.terms-section:first-child {
    padding-top: 0;
}
.terms-section:last-of-type {
    border-bottom: 0;
}
.terms-section h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.25;
}
.terms-section p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.terms-section p + p {
    margin-top: 10px;
}
.terms-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.terms-actions .plan-subscribe-btn {
    margin: 0;
    min-width: 150px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 16px;
    margin-bottom: 52px;
}
.etvx-checkout {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}
.checkout-product-card {
    overflow: hidden;
    background: rgba(17,18,20,0.84);
    border: 1px solid rgba(255,122,26,0.16);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}
.checkout-product-media {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255,122,26,0.20), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.checkout-product-media img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(255,122,26,0.32));
}
.checkout-product-info {
    padding: 22px;
}
.checkout-product-info h2 {
    margin: 8px 0 10px;
    color: var(--text);
    font-size: 26px;
    line-height: 1.15;
}
.checkout-product-info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.checkout-benefits {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.checkout-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}
.checkout-benefits strong {
    color: var(--accent);
    font-size: 16px;
}
.checkout-card {
    background: rgba(17,18,20,0.88);
    border: 1px solid rgba(255,122,26,0.18);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(12px);
}
.etvx-checkout-card {
    position: sticky;
    top: 22px;
    overflow: hidden;
    padding: 0;
    border-color: rgba(255,122,26,0.22);
    border-radius: 8px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.32);
}
.checkout-header {
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.checkout-card h2 {
    margin: 6px 0 10px;
    color: var(--text);
    font-size: 22px;
}
.checkout-card p {
    min-height: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.checkout-price {
    color: var(--accent);
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
}
.checkout-price-sub {
    color: var(--muted-2);
    font-size: 12px;
    margin-top: 8px;
}
.co-section {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.co-label {
    margin-bottom: 10px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.payment-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 10px 12px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    margin-bottom: 8px;
}
.payment-method-card.active {
    border-color: rgba(255,122,26,0.70);
    box-shadow: 0 0 14px rgba(255,122,26,0.10);
}
.payment-method-card.disabled {
    opacity: .48;
}
.payment-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--text);
    font-weight: 900;
}
.payment-method-info {
    flex: 1;
    min-width: 0;
}
.payment-method-info strong {
    display: block;
    color: var(--text);
    font-size: 13px;
}
.payment-method-info small {
    display: block;
    color: var(--muted-2);
    font-size: 12px;
    line-height: 1.35;
}
.payment-method-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 900;
}
.payment-method-radio svg {
    width: 16px;
    height: 16px;
    display: block;
}
.payment-method-badge {
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.license-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 22px 0;
    padding: 12px;
    border: 1px solid rgba(255,122,26,0.18);
    border-radius: 10px;
    background: rgba(255,122,26,0.07);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.license-notice strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: rgba(255,122,26,0.16);
    color: var(--accent);
    font-size: 12px;
}
.checkout-card dl {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}
.checkout-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.checkout-card dt {
    color: var(--muted);
    font-size: 13px;
}
.checkout-card dd {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}
.checkout-textarea {
    width: 100%;
    min-height: 230px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(0,0,0,0.22);
    color: var(--text);
    padding: 14px;
    font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.checkout-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.checkout-actions .plan-subscribe-btn {
    margin: 0;
    flex: 1;
}
.checkout-copy-status {
    min-height: 18px;
    margin-top: 10px;
    color: var(--accent);
    font-size: 12px;
}
.checkout-trust {
    display: grid;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}
.checkout-trust-item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.checkout-trust-item strong svg {
    width: 15px;
    height: 15px;
    display: block;
}

.checkout-page .client-header {
    margin-bottom: 0;
    padding: 22px clamp(20px, 4vw, 56px);
}
.checkout-page .client-wrap {
    max-width: none;
    min-height: 100vh;
    padding: 0;
}
.payhip-checkout {
    display: grid;
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 960px;
    min-height: auto;
    margin: 34px auto 64px;
    padding: 0 24px;
    border-top: 0;
}
.payhip-form-panel,
.payhip-summary-panel {
    min-width: 0;
    backdrop-filter: blur(12px);
}
.payhip-form-panel {
    order: 2;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(255,122,26,0.14);
    border-radius: 8px;
    background: rgba(8,8,8,0.58);
}
.payhip-summary-panel {
    order: 1;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(255,122,26,0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,122,26,0.07), rgba(255,255,255,0.025)),
        rgba(11,11,12,0.82);
    color: var(--text);
}
.payhip-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}
.payhip-field-row a {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-2);
    text-decoration: underline;
}
.payhip-input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    font: inherit;
    font-size: 14px;
}
.payhip-input::placeholder {
    color: var(--muted);
}
.payhip-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}
.payhip-check-row input {
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
}
.payhip-method {
    margin-top: 34px;
}
.payhip-method-title {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.payhip-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: none;
    min-height: 66px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    margin-bottom: 8px;
}
.payhip-method-card.is-active {
    border-color: rgba(255,122,26,0.42);
    background: rgba(255,122,26,0.08);
}
.payhip-method-card.is-disabled {
    opacity: .55;
}
.payhip-method-card > span.payment-brand-icon,
.payment-method-card > span.payment-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    flex: 0 0 38px;
}
.payment-brand-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}
.payment-brand-icon.is-discord {
    background: #5865f2;
    color: #fff;
}
.payment-brand-icon.is-paypal {
    background: #eef6ff;
    color: #003087;
}
.payment-brand-icon.is-binance {
    background: #181a20;
    color: #f0b90b;
}
.payhip-method-card strong {
    display: block;
    color: var(--text);
    font-size: 14px;
}
.payhip-method-card small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
.payhip-method-card em {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.payhip-message-box {
    width: 100%;
    display: grid;
    gap: 14px;
    margin-top: clamp(34px, 7vh, 64px);
}
.payhip-ready {
    margin: 0;
    color: var(--text);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}
.payhip-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #111;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), opacity var(--transition);
}
.payhip-primary-btn:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
}
.payhip-primary-btn:disabled {
    cursor: not-allowed;
    opacity: .48;
    transform: none;
}
.payhip-message {
    width: 100%;
    min-height: 92px;
    max-height: 190px;
    margin-top: 0;
    resize: vertical;
    background: rgba(0,0,0,0.34);
}
.payhip-secure {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: clamp(24px, 8vh, 72px);
    padding: 12px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
    font-size: 12px;
    text-align: left;
}
.payhip-secure strong,
.payhip-secure small {
    display: block;
}
.payhip-secure strong {
    color: var(--text);
    font-size: 12px;
}
.payhip-product {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}
.payhip-product-thumb {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,122,26,0.24);
    border-radius: 8px;
    background: #111214;
    box-shadow: 0 0 28px rgba(255,122,26,0.10);
}
.payhip-product-thumb img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}
.payhip-product-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}
.payhip-product-price {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.payhip-description {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.payhip-summary-lines {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}
.payhip-summary-lines div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}
.payhip-summary-lines span,
.payhip-summary-lines strong {
    display: inline-flex;
    align-items: center;
    font-weight: 900;
}
.payhip-summary-lines span {
    color: var(--muted);
}
.payhip-summary-lines strong {
    color: var(--text);
}
.payhip-summary-lines .is-total {
    margin-top: 6px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.payhip-summary-lines .is-total span,
.payhip-summary-lines .is-total strong {
    color: #fff;
    font-size: 18px;
}
.payhip-benefits {
    display: grid;
    gap: 10px;
    margin-top: 34px;
}
.payhip-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}
.payhip-benefits strong {
    color: var(--accent);
    font-size: 16px;
}
.payhip-change-plan {
    display: inline-flex;
    margin-top: 24px;
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
}
.etvx-style-checkout {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(320px, 460px);
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 1180px;
    min-height: calc(100vh - 102px);
    margin: 0 auto;
    padding: 0;
}
.energy-checkout-info,
.energy-checkout-card {
    overflow: hidden;
    border-radius: 0;
    background: rgba(8,8,8,0.44);
    box-shadow: none;
    backdrop-filter: blur(12px);
}
.energy-checkout-info {
    position: relative;
    padding: 0;
    border-left: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(90deg, rgba(8,8,8,0.78), rgba(8,8,8,0.92)),
        linear-gradient(180deg, rgba(255,122,26,0.08), rgba(255,255,255,0.012)),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center center / cover no-repeat,
        rgba(17,18,20,0.66);
}
.energy-checkout-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    background:
        linear-gradient(90deg, rgba(8,8,8,0.92), rgba(8,8,8,0.78)),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center center / cover no-repeat,
        rgba(8,8,8,0.52);
}
.energy-checkout-head {
    display: grid;
    gap: 10px;
    padding: 58px 48px 28px;
    border-bottom: 0;
}
.energy-plan-line {
    display: flex;
    align-items: center;
    gap: 14px;
}
.energy-plan-line h1 {
    margin: 2px 0 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.15;
}
.energy-checkout-card .payhip-product-thumb {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}
.energy-checkout-card .payhip-product-thumb img {
    width: 38px;
    height: 38px;
}
.energy-checkout-card .checkout-price {
    margin-top: 8px;
    font-size: 38px;
}
.energy-checkout-card .checkout-price-sub {
    color: var(--muted);
}
.energy-summary {
    display: grid;
    gap: 18px;
    padding: 18px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.energy-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
}
.energy-summary strong {
    color: var(--text);
    font-size: 13px;
}
.energy-summary .is-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}
.energy-summary .is-total strong {
    color: var(--accent);
    font-size: 20px;
}
.energy-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}
.energy-account-grid label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.energy-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,122,26,0.20);
    border-radius: 8px;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 900;
}
.energy-account-link:hover {
    border-color: rgba(255,122,26,0.42);
    color: var(--accent);
}
.energy-checkout-card .payhip-input {
    min-height: 42px;
    border-radius: 8px;
    background: var(--panel-3);
}
.energy-checkout-card .payhip-check-row {
    align-items: flex-start;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.45;
}
.energy-checkout-card .co-section {
    padding: 18px 48px;
}
.energy-checkout-card .payment-method-card {
    min-height: 58px;
    border-radius: 10px;
    background: var(--panel-3);
}
.energy-checkout-card .payment-method-card.active {
    border-color: rgba(255,122,26,0.72);
    box-shadow: 0 0 12px rgba(255,122,26,0.08);
}
.energy-checkout-card .payment-method-card.disabled {
    opacity: .48;
}
.energy-checkout-card .license-notice {
    margin: 14px 48px 0;
}
.energy-message-section {
    display: grid;
    gap: 12px;
    border-bottom: 0;
}
.energy-message-section .payhip-message {
    min-height: 108px;
    max-height: 190px;
}
.energy-message-section .payhip-primary-btn {
    width: 100%;
    min-height: 46px;
    font-size: 14px;
}
.energy-message-section .checkout-copy-status {
    margin-top: -4px;
}
.energy-checkout-info .checkout-trust,
.energy-checkout-card .checkout-trust {
    padding: 28px 48px;
    border-top: 0;
}
.energy-checkout-info .checkout-trust-item strong,
.energy-checkout-card .checkout-trust-item strong {
    color: var(--accent);
    width: 16px;
    flex: 0 0 16px;
}

/* ── Download grid ── */
.access-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: -16px 0 26px;
    padding: 16px 18px;
    background: rgba(255,122,26,0.07);
    border: 1px solid rgba(255,122,26,0.18);
    border-radius: 8px;
}
.access-banner div {
    display: grid;
    gap: 4px;
}
.access-banner strong {
    color: var(--text);
    font-size: 14px;
}
.access-banner span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}
.download-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 4px;
    margin: 0 0 18px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
}
.filter-btn {
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.filter-btn:hover {
    color: var(--text);
    background: rgba(255,255,255,0.045);
}
.filter-btn.active {
    color: #111;
    background: var(--accent);
}
.download-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 52px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background:
        linear-gradient(90deg, rgba(17,18,20,0.90), rgba(17,18,20,0.82)),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center center / cover no-repeat,
        var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition), background var(--transition);
}
.download-card:hover {
    border-color: rgba(255,122,26,0.28);
    background:
        linear-gradient(90deg, rgba(27,27,27,0.88), rgba(17,18,20,0.78)),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center center / cover no-repeat,
        #1b1b1b;
}
.download-card[hidden] {
    display: none;
}

.download-card-icon {
    width: 46px; height: 46px;
    border-radius: 8px;
    background: rgba(255,122,26,0.08);
    border: 1px solid rgba(255,122,26,0.16);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-2);
    flex-shrink: 0;
}
.download-card-icon svg {
    display: block;
}
.download-icon-linux {
    background: rgba(16,185,129,0.10);
    border-color: rgba(16,185,129,0.22);
    color: #34d399;
}
.download-icon-windows {
    background: rgba(255,122,26,0.10);
    border-color: rgba(255,122,26,0.24);
    color: var(--accent-2);
}

.download-card-body {
    flex: 1;
    min-width: 0;
}
.download-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    font-family: ui-monospace, monospace;
    margin-bottom: 6px;
}
.download-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.download-platform {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.download-size,
.download-date {
    font-size: 12px;
    color: var(--muted-2);
}
.license-card .download-card-icon {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.2);
    color: #60a5fa;
}
.license-badge {
    color: #60a5fa;
    background: rgba(59,130,246,0.13);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--accent);
    color: #111;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.download-btn:hover {
    background: var(--accent-2);
    color: #111;
}

/* ── Empty state ── */
.client-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--muted);
    margin-bottom: 52px;
}
.client-empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ── Install steps ── */
.client-install {
    margin-bottom: 48px;
}
.client-install h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text);
}
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.install-video {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}
.install-video-header {
    display: grid;
    gap: 4px;
}
.install-video-header strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.install-video-header span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.install-video-header code {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
}
.install-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}
.install-video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.install-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    font-size: 13px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* ── Footer ── */
.client-footer {
    text-align: center;
    color: var(--muted-2);
    font-size: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.account-wrap {
    max-width: 980px;
}
.account-page-header {
    margin-bottom: 26px;
}
.account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto 18px;
}
.account-action {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)), var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition), background var(--transition);
}
.account-action:hover {
    border-color: rgba(255,122,26,0.3);
    background: linear-gradient(180deg, rgba(255,122,26,0.06), rgba(255,255,255,0.018)), var(--panel-2);
}
.account-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: var(--accent);
}
.account-action-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.account-action h2 {
    margin: 0 0 6px;
    font-size: 15px;
}
.account-action p {
    font-size: 13px;
    margin: 0;
}
.account-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--accent);
    color: #111;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.account-action-btn:hover {
    background: var(--accent-2);
    color: #111;
}
.integration-wrap {
    max-width: 1080px;
}
.integration-heading {
    justify-content: flex-start;
}
.integration-heading img {
    border-radius: 10px;
    border: 0;
}
.integration-form {
    display: grid;
    gap: 16px;
}
.integration-card {
    margin-bottom: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(17,18,20,0.92), rgba(17,18,20,0.84)),
        var(--guard-bg-image, url("assets/checkout-bg.png")) center center / cover no-repeat,
        rgba(17,18,20,0.88);
    backdrop-filter: blur(12px);
}
.integration-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.integration-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,122,26,0.15);
    color: var(--accent);
    flex-shrink: 0;
}
.integration-card-icon svg {
    width: 20px;
    height: 20px;
}
.integration-card h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 18px;
}
.integration-card h3 {
    margin: 24px 0 10px;
    color: var(--text);
    font-size: 14px;
}
.integration-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.integration-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.integration-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -4px 0 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.integration-tabs span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 7px;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}
.integration-tabs span.active {
    background: var(--accent);
    color: #111;
}
.integration-tabs code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.integration-code {
    width: 100%;
    min-height: 92px;
    padding: 14px;
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    background: rgba(0,0,0,0.20);
    color: var(--text);
    resize: vertical;
    font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.integration-code.tall {
    min-height: 178px;
}
.integration-map-box {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
}
.integration-map-box > div:not(.integration-pair-grid) {
    display: grid;
    gap: 6px;
}
.integration-pair-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}
.integration-pair-grid input[readonly] {
    color: var(--muted);
}
.integration-technical {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(0,0,0,0.16);
}
.integration-technical summary {
    cursor: pointer;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.integration-technical pre {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
}
.integration-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.integration-result {
    margin-top: 18px;
    max-height: 320px;
    overflow: auto;
}
.account-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.account-heading img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,122,26,0.55);
    flex-shrink: 0;
}
.account-heading img.store-heading-logo {
    width: auto;
    max-width: 86px;
    height: 54px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}
.account-heading h1 {
    margin-bottom: 3px;
}
.account-heading p span {
    color: var(--muted-2);
}
.account-heading h1,
.account-heading p {
    text-align: left;
}

@media (max-width: 900px) {
    .plan-info-strip {
        grid-template-columns: 1fr;
    }
    .etvx-style-checkout {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 100%;
        margin: 22px auto 44px;
        padding: 0 14px;
    }
    .energy-checkout-info {
        position: static;
        border-left: 0;
        border: 1px solid rgba(255,122,26,0.14);
        border-radius: 12px;
    }
    .energy-checkout-card {
        border: 1px solid rgba(255,122,26,0.14);
        border-radius: 12px;
        justify-content: flex-start;
    }
    .energy-checkout-head,
    .energy-checkout-card .co-section,
    .energy-checkout-card .checkout-trust,
    .energy-checkout-info .checkout-trust,
    .energy-summary {
        padding-left: 18px;
        padding-right: 18px;
    }
    .energy-account-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .energy-account-link {
        width: 100%;
    }
    .energy-checkout-card .license-notice {
        margin-left: 18px;
        margin-right: 18px;
    }
    .energy-plan-line {
        align-items: flex-start;
    }
    .energy-checkout-card .checkout-price {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .client-brand-icon {
        width: 48px;
        height: 48px;
    }
    .client-hero h1 { font-size: 26px; }
    .install-video-frame {
        aspect-ratio: 16 / 10;
    }
    .access-banner {
        align-items: stretch;
        flex-direction: column;
    }
    .download-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-page .client-wrap {
        padding: 0;
    }
    .payhip-checkout {
        grid-template-columns: 1fr;
        min-height: auto;
        margin: 22px auto 44px;
        padding: 0 14px;
    }
    .payhip-form-panel,
    .payhip-summary-panel {
        padding: 24px 18px;
    }
    .payhip-summary-panel {
        border: 1px solid rgba(255,122,26,0.14);
    }
    .payhip-product {
        grid-template-columns: 58px minmax(0, 1fr);
    }
    .payhip-product-price {
        grid-column: 2;
    }
    .payhip-message-box {
        width: 100%;
        margin-top: 30px;
    }
    .payhip-secure {
        margin-top: 18px;
    }
    .payhip-primary-btn,
    .payhip-message {
        width: 100%;
    }
    .etvx-style-checkout {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 100%;
        margin: 22px auto 44px;
        padding: 0 14px;
    }
    .energy-checkout-info {
        position: static;
        border-left: 0;
        border: 1px solid rgba(255,122,26,0.14);
        border-radius: 12px;
    }
    .energy-checkout-card {
        border: 1px solid rgba(255,122,26,0.14);
        border-radius: 12px;
        justify-content: flex-start;
    }
    .energy-checkout-head,
    .energy-checkout-card .co-section,
    .energy-checkout-card .checkout-trust,
    .energy-checkout-info .checkout-trust,
    .energy-summary {
        padding-left: 18px;
        padding-right: 18px;
    }
    .energy-account-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .energy-account-link {
        width: 100%;
    }
    .energy-checkout-card .license-notice {
        margin-left: 18px;
        margin-right: 18px;
    }
    .energy-plan-line {
        align-items: flex-start;
    }
    .energy-checkout-card .checkout-price {
        font-size: 32px;
    }
    .download-card { flex-wrap: wrap; }
    .download-btn  { width: 100%; justify-content: center; }
    .client-header {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }
    .client-header-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
    }
    .client-top-nav {
        order: 2;
        width: 100%;
        justify-content: flex-end;
    }
    .discord-login-btn,
    .account-menu,
    .account-trigger {
        width: auto;
    }
    .account-trigger {
        width: 44px;
    }
    .account-dropdown {
        left: 0;
        right: auto;
        width: 100%;
    }
    .account-heading {
        align-items: flex-start;
        justify-content: flex-start;
    }
    .account-actions {
        grid-template-columns: 1fr;
    }
    .integration-grid,
    .integration-grid.compact {
        grid-template-columns: 1fr;
    }
    .integration-card {
        padding: 18px;
    }
    .integration-tabs {
        align-items: stretch;
        flex-direction: column;
    }
    .integration-tabs code {
        width: 100%;
    }
    .integration-pair-grid {
        grid-template-columns: 1fr;
    }
    .account-action {
        grid-template-columns: 42px 1fr;
    }
    .account-action-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}
