/* CN-Scripts — boutique Tebex (thème bleu hosting-platform) */
.page-cn-scripts-store {
    --cns-accent: var(--accent, #3b82f6);
}

.cns-hero {
    padding: 3rem 0 2rem;
    position: relative;
}

.cns-hero-sm {
    padding: 2rem 0 1rem;
}

.cns-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0.75rem 0;
    color: var(--pf-text, #e8f0ff);
}

.cns-hero-lead {
    color: var(--pf-text-muted, #94a3b8);
    max-width: 48rem;
    margin-bottom: 0.75rem;
    line-height: 1.65;
    font-size: 1.05rem;
}

.cns-hero-sub {
    color: var(--pf-text-muted, #94a3b8);
    max-width: 48rem;
    margin-bottom: 1.35rem;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.92;
}

/* Bloc À propos */
.cns-about {
    margin-bottom: 2.75rem;
    padding: 2rem 0 0;
}

.cns-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cns-accent);
}

.cns-about-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--pf-text, #e8f0ff);
    max-width: 40ch;
}

.cns-about-lead {
    margin: 0;
    color: var(--pf-text-muted, #94a3b8);
    max-width: 62ch;
    line-height: 1.7;
    font-size: 1.02rem;
}

.cns-about-intro {
    margin-bottom: 1.75rem;
}

.cns-about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .cns-about-grid {
        grid-template-columns: 1fr;
    }
}

.cns-about-card {
    padding: 1.25rem 1.35rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 12px;
    height: 100%;
}

.cns-about-card--highlight {
    border-color: rgba(251, 191, 36, 0.35);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(15, 23, 42, 0.75));
}

.cns-about-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    color: #f1f5f9;
}

.cns-about-card h3 .bi {
    color: #fbbf24;
}

.cns-about-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--pf-text-muted, #94a3b8);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cns-about-list li {
    margin-bottom: 0.4rem;
}

.cns-about-card-text {
    margin: 0 0 1rem;
    color: var(--pf-text-muted, #94a3b8);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cns-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cns-about-cta-text {
    margin: 1.5rem 0 0;
    text-align: center;
    color: var(--pf-text-muted, #94a3b8);
    font-size: 0.95rem;
}

.cns-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cns-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--pf-text-muted, #94a3b8);
}

.cns-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.5;
}

.cns-breadcrumb a {
    color: var(--cns-accent);
    text-decoration: none;
}

.cns-breadcrumb a:hover {
    text-decoration: underline;
}

.cns-main {
    padding-bottom: 5rem;
}

.cns-section {
    margin-bottom: 3rem;
}

.cns-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--pf-text, #e8f0ff);
}

/* Animation entrée */
.cns-animate-in {
    animation: cns-slide-up-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cns-animate-in--delay {
    animation-delay: 0.15s;
}

@keyframes cns-slide-up-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* À la une — vignettes + défilement auto gauche / droite */
.cns-showcase-marquee-section {
    margin-bottom: 2.5rem;
}

.cns-showcase-marquee-section .cns-section-title {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.cns-showcase-marquee-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 0;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
}

.cns-showcase-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cns-showcase-marquee-track {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: max-content;
    will-change: transform;
}

.cns-showcase-marquee--left .cns-showcase-marquee-track {
    animation: cns-marquee-to-left 45s linear infinite;
}

.cns-showcase-marquee--right .cns-showcase-marquee-track {
    animation: cns-marquee-to-right 50s linear infinite;
}

@keyframes cns-marquee-to-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes cns-marquee-to-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.cns-showcase-thumb {
    flex: 0 0 auto;
    display: block;
    width: 140px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.25);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cns-showcase-thumb:hover {
    border-color: rgba(251, 191, 36, 0.55);
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.cns-showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cns-showcase-marquee-wrap:hover .cns-showcase-marquee-track {
    animation-play-state: paused;
}

@media (max-width: 576px) {
    .cns-showcase-thumb {
        width: 112px;
        height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cns-animate-in,
    .cns-animate-in--delay {
        animation: none;
    }

    .cns-showcase-marquee--left .cns-showcase-marquee-track,
    .cns-showcase-marquee--right .cns-showcase-marquee-track {
        animation: none;
    }
}

.cns-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.cns-category-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cns-category-card:hover {
    border-color: var(--cns-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: inherit;
}

.cns-category-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.cns-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.cns-category-card:hover .cns-category-card-media img {
    transform: scale(1.04);
}

.cns-category-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: var(--cns-accent);
    opacity: 0.7;
}

.cns-category-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.cns-category-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.cns-category-card p {
    font-size: 0.875rem;
    color: var(--pf-text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.cns-category-card-meta {
    font-size: 0.8rem;
    color: var(--cns-accent);
    font-weight: 600;
}

.cns-category-hero-media {
    margin: 0 0 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.25);
    max-height: 280px;
}

.cns-category-hero-media img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.cns-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cns-product-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cns-product-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.cns-product-card-media {
    position: relative;
    aspect-ratio: 16/10;
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.cns-product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cns-product-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: var(--pf-text-muted);
}

.cns-product-card-body {
    padding: 1rem 1rem 0.5rem;
}

.cns-product-card-cat {
    font-size: 0.75rem;
    color: var(--cns-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cns-product-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.25rem 0;
}

.cns-product-card-price {
    font-weight: 700;
    color: var(--accent-warning, #fbbf24);
    margin: 0;
}

.cns-product-card .cns-btn-add-cart {
    margin: 0 1rem 1rem;
    width: calc(100% - 2rem);
}

.cns-product-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .cns-product-detail {
        grid-template-columns: 1fr;
    }
}

.cns-product-card-video-badge {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.cns-product-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cns-product-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: #0a0f1a;
}

.cns-product-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cns-product-video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--pf-text-muted);
    text-decoration: none;
}

.cns-product-video-link:hover {
    color: #fbbf24;
}

.cns-product-video--extra {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.cns-product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cns-product-gallery-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.75;
    transition: border-color 0.15s, opacity 0.15s;
}

.cns-product-gallery-thumb.is-active,
.cns-product-gallery-thumb:hover {
    border-color: var(--accent-warning, #fbbf24);
    opacity: 1;
}

.cns-product-gallery-thumb img {
    display: block;
    width: 72px;
    height: 48px;
    object-fit: cover;
}

.cns-product-gallery-preview img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cns-product-detail-media img,
.cns-product-detail-placeholder {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cns-product-detail-placeholder {
    min-height: 220px;
}

.cns-product-detail-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-warning, #fbbf24);
}

.cns-product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cns-product-detail-desc {
    color: var(--pf-text-muted);
    line-height: 1.6;
}

.cns-category-desc {
    color: var(--pf-text-muted);
    max-width: 48rem;
}

/* ——— Panier (offcanvas) ——— */
.cns-cart-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.35rem;
    padding: 0.4rem 0.85rem 0.4rem 0.65rem;
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(59, 130, 246, 0.12));
    color: #fde68a;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.cns-cart-toggle-btn:hover {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.28), rgba(59, 130, 246, 0.18));
    color: #fff;
    transform: translateY(-1px);
}

.cns-cart-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.2);
    font-size: 1rem;
    color: #fbbf24;
}

.cns-cart-badge {
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
    box-shadow: 0 0 0 2px rgba(10, 15, 30, 0.9);
}

.cns-cart-offcanvas {
    --bs-offcanvas-width: min(440px, 100vw);
    --bs-offcanvas-bg: #0c1222;
    --bs-offcanvas-color: #e8f0ff;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

.cns-cart-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.22) 0%, rgba(15, 23, 42, 0.95) 55%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.cns-cart-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
}

.cns-cart-title .bi {
    color: #fbbf24;
}

.cns-cart-subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.cns-cart-close {
    margin-top: 0.15rem;
    opacity: 0.85;
}

.cns-cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: opacity 0.2s;
}

.cns-cart-body--loading {
    opacity: 0.45;
    pointer-events: none;
}

.cns-cart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.cns-cart-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: #94a3b8;
}

.cns-cart-empty-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    border: 1px dashed rgba(59, 130, 246, 0.35);
    font-size: 2rem;
    color: #64748b;
}

.cns-cart-empty h6 {
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cns-cart-empty p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.cns-cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cns-cart-item {
    margin: 0;
}

.cns-cart-item-card {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cns-cart-item-card:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cns-cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.cns-cart-item-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.5rem;
}

.cns-cart-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cns-cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #f1f5f9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cns-cart-item-unit {
    font-size: 0.8rem;
    color: #94a3b8;
}

.cns-cart-item-qty-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 6px;
}

.cns-cart-item-unit strong {
    color: #fbbf24;
    font-weight: 700;
}

.cns-cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cns-cart-item-line-total {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fbbf24;
    white-space: nowrap;
}

.cns-cart-remove {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.cns-cart-remove:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.28);
    color: #fecaca;
}

.cns-cart-remove:disabled {
    opacity: 0.5;
}

.cns-cart-footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: linear-gradient(0deg, rgba(10, 15, 30, 0.98) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

.cns-cart-summary {
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.cns-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #94a3b8;
    padding: 0.2rem 0;
}

.cns-cart-summary-row--total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 1rem;
    color: #e2e8f0;
}

.cns-cart-summary-row--total strong {
    font-size: 1.25rem;
    color: #fbbf24;
}

.cns-cart-trust {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.cns-cart-trust .bi {
    color: #22c55e;
}

.cns-cart-checkout-btn {
    width: 100%;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
}

.cns-cart-checkout-btn:disabled {
    box-shadow: none;
    opacity: 0.55;
}

.cns-cart-continue {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8 !important;
    text-decoration: none;
}

.cns-cart-continue:hover {
    color: #fbbf24 !important;
}

@media (max-width: 380px) {
    .cns-cart-item-card {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }

    .cns-cart-item-side {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.cns-toast {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 1050;
    max-width: 320px;
}

.cns-auth-bar {
    background: rgba(10, 15, 30, 0.92);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
    padding: 0.65rem 0;
    position: sticky;
    top: 4.5rem;
    z-index: 1020;
}

.cns-auth-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 1.5rem;
}

.cns-auth-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.cns-auth-label {
    color: var(--pf-text-muted, #94a3b8);
}

.cns-auth-ok {
    color: #22c55e;
    font-weight: 600;
}

.cns-auth-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.5rem 0.2rem 0.25rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    max-width: 220px;
}

.cns-auth-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cns-auth-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.cns-auth-avatar--fivem {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.cns-auth-avatar--discord {
    background: #5865f2;
}

.cns-auth-user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.cns-auth-user-text .cns-auth-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pf-text-muted, #94a3b8);
}

.cns-auth-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pf-text, #e8f0ff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.cns-auth-verified {
    color: #22c55e;
    font-size: 0.9rem;
    flex-shrink: 0;
}
