/* ==========================================================================
   Sponsor wall + Advertise modal  (Neon Arcade theme, tokens live in index.html)
   ========================================================================== */

/* ---------- shared logo (favicon or letter) ---------- */

.ad-logo {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.45);
}

.ad-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    image-rendering: auto;
}

.ad-logo.letter {
    font-family: chevyray-oeuf, chevyray, monospace;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--logo-a, #ff3d8b), var(--logo-b, #8b5cff));
}

.ad-logo.sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.ad-logo.sm.letter {
    font-size: 14px;
}

/* ---------- ads feature flag ----------
   sponsor.js adds html.ads-on only when the server has ADS_ENABLED=true. Without it every ad surface
   is hidden and the play card sits alone in the middle of the title screen. */

html:not(.ads-on) .btn-advertise,
html:not(.ads-on) .header-sponsor,
html:not(.ads-on) .sponsor-wall,
html:not(.ads-on) .slot-sponsor,
html:not(.ads-on) #sponsor-modal {
    display: none !important;
}

html:not(.ads-on) .title-layout {
    grid-template-columns: minmax(0, 600px);
    justify-content: center;
}

/* ---------- header rotating VIP banner ---------- */

.header-sponsor {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.header-sponsor.hidden {
    display: none;
}

.hs-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
    min-width: 0;
    padding: 5px 14px 5px 6px;
    border-radius: 999px;
    background: linear-gradient(rgba(10, 12, 32, 0.95), rgba(10, 12, 32, 0.95)) padding-box, conic-gradient(from var(--spin), #ff3d8b, #ffd23d, #22e6ff, #8b5cff, #ff3d8b) border-box;
    border: 1.5px solid transparent;
    animation: spin-border 5s linear infinite, hs-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.2s;
}

.hs-pill:hover {
    transform: translateY(-1px) scale(1.02);
}

.hs-pill .ad-logo {
    width: 30px;
    height: 30px;
    border-radius: 999px;
}

.hs-pill .hs-tag {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gold);
    flex: none;
}

.hs-pill .hs-name {
    flex: none;
    color: #fff;
}

.hs-pill .hs-desc {
    min-width: 0;
    color: var(--ink-2);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-pill .hs-go {
    color: var(--cyan);
    flex: none;
}

.hs-pill.house .hs-tag {
    color: var(--cyan);
}

@keyframes spin-border {
    to {
        --spin: 360deg;
    }
}

@keyframes hs-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* ---------- sponsor wall ---------- */

.sponsor-wall {
    align-self: stretch;
    max-height: calc(100vh - 120px);
    background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(160deg, #ffd23d 0%, #ff3d8b 45%, #8b5cff 100%) border-box;
}

.sponsor-wall:empty {
    display: none;
}

.sw-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 140, 255, 0.35) transparent;
}

.sw-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sw-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sw-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gold);
    text-shadow: 0 0 12px rgba(255, 210, 61, 0.45);
}

.sw-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.35;
        transform: scale(0.8);
    }
}

.sw-pitch {
    font-size: 13px;
    color: var(--ink-2);
}

.sw-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sw-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 3px;
    font-size: 12px;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}

.sw-chip b {
    color: var(--cyan);
    font-weight: normal;
}

.sw-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--ink-3);
    text-transform: uppercase;
}

.sw-label .left {
    color: var(--lime);
    letter-spacing: 1px;
    text-transform: none;
    font-size: 12px;
}

.sw-label .left.zero {
    color: var(--red);
}

.sw-vip {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vip-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 10px 10px 11px;
    border-radius: 15px;
    background: linear-gradient(#0c0f2a, #0c0f2a) padding-box, conic-gradient(from var(--spin), #ff3d8b, #ffd23d, #22e6ff, #8b5cff, #ff3d8b) border-box;
    border: 1.5px solid transparent;
    animation: spin-border 6s linear infinite;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s;
}

.vip-card:nth-child(2) {
    animation-delay: -2s;
}

.vip-card:nth-child(3) {
    animation-delay: -4s;
}

.vip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 61, 139, 0.25);
}

.vip-card .vip-link {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
}

.vip-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vip-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #fff;
    font-size: 16px;
}

.vip-name span.n {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vip-badge {
    flex: none;
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 2px 5px 1px;
    border-radius: 5px;
    color: #1b0d00;
    background: var(--grad-gold);
}

.vip-desc {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vip-host {
    font-size: 11px;
    color: var(--cyan);
}

.vip-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: none;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 9px 4px;
    font-size: 12px;
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-2);
    white-space: nowrap;
    transition: all 0.15s;
}

.mini-btn:hover {
    border-color: var(--pink);
    background: rgba(255, 61, 139, 0.2);
    box-shadow: var(--glow-pink);
}

.mini-btn.go {
    color: #1b0d00;
    background: var(--grad-gold);
    border-color: transparent;
}

.mini-btn.go:hover {
    box-shadow: 0 0 18px rgba(255, 178, 26, 0.55);
}

/* Open VIP spot: the slot sells itself */

.vip-card.empty {
    cursor: pointer;
    background: repeating-linear-gradient(-45deg, rgba(255, 210, 61, 0.05) 0 10px, transparent 10px 20px), rgba(255, 210, 61, 0.03);
    border: 1.5px dashed rgba(255, 210, 61, 0.55);
    animation: none;
    text-align: left;
    width: 100%;
}

.vip-card.empty:hover {
    border-color: var(--gold);
    box-shadow: 0 0 26px rgba(255, 210, 61, 0.25);
}

.vip-card.empty .crown {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 20px;
    border: 1px dashed rgba(255, 210, 61, 0.6);
    animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
    50% {
        transform: translateY(-3px);
    }
}

.vip-card.empty .vip-name {
    color: var(--gold);
}

.vip-card.empty.slim {
    padding: 7px 11px;
    gap: 10px;
}

.vip-card.empty.slim .crown {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 8px;
}

.vip-card.empty.slim .vip-name {
    font-size: 14px;
}

.vip-card.empty.slim .price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.vip-card.empty.slim .price b {
    display: inline;
    font-size: 14px;
}

.vip-card.empty .price {
    flex: none;
    text-align: right;
    font-size: 12px;
    color: var(--ink-2);
}

.vip-card.empty .price b {
    display: block;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
}

.sw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.arc-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    transition: all 0.15s;
    text-align: left;
}

.arc-tile:hover {
    border-color: var(--cyan);
    background: rgba(34, 230, 255, 0.07);
    box-shadow: 0 0 18px rgba(34, 230, 255, 0.18);
}

.arc-tile .arc-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.arc-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.arc-name {
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-desc {
    font-size: 11px;
    color: var(--ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arc-smash {
    position: relative;
    z-index: 2;
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 13px;
    opacity: 0;
    background: rgba(255, 61, 139, 0.2);
    border: 1px solid rgba(255, 61, 139, 0.5);
    transition: opacity 0.15s;
}

.arc-tile:hover .arc-smash,
.arc-smash:focus-visible {
    opacity: 1;
}

.arc-tile.empty {
    cursor: pointer;
    border-style: dashed;
    border-color: rgba(34, 230, 255, 0.3);
    color: var(--ink-3);
}

.arc-tile.empty .plus {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--cyan);
    border: 1px dashed rgba(34, 230, 255, 0.5);
}

.arc-tile.empty .arc-name {
    color: var(--ink-2);
}

.arc-tile.empty .arc-desc {
    color: var(--cyan);
}

.arc-tile.empty.more {
    grid-column: 1 / -1;
    justify-content: center;
}

.sw-scroll {
    flex: 1;
    min-height: 0;
}

.sw-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--line);
    background: rgba(6, 8, 24, 0.6);
}

.sw-cta {
    width: 100%;
    padding: 11px 14px 10px;
    font-size: 15px;
}

.sw-foot {
    font-size: 11px;
    color: var(--ink-3);
    text-align: center;
}

.sponsor-wall.compact {
    width: min(560px, calc(100% - 8px));
    margin-top: 14px;
    max-height: none;
    flex: none;
}

@media (max-width: 640px) {
    .header-sponsor {
        display: none;
    }
}

/* ---------- sponsor card on loading / lobby / pause / complete screens ---------- */

.slot-sponsor:empty {
    display: none;
}

.ss-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-2);
    animation: hs-in 0.4s ease;
}

.ss-card .ss-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.ss-card .ss-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--ink-3);
}

.ss-card .ss-name {
    color: #fff;
}

.ss-card .ss-desc {
    font-size: 12px;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ss-card .ss-main {
    flex: 1;
    min-width: 0;
}

.ss-card .mini-btn {
    position: relative;
    z-index: 2;
}

.ss-card.vip {
    border-color: rgba(255, 210, 61, 0.45);
    background: linear-gradient(120deg, rgba(255, 210, 61, 0.08), rgba(255, 61, 139, 0.06));
}

.ss-card.house {
    border-style: dashed;
    cursor: pointer;
}

/* ==========================================================================
   Advertise modal
   ========================================================================== */

#sponsor-modal {
    padding: 14px;
}

.adv-modal {
    width: min(1000px, 100%);
    max-height: 100%;
}

.adv-modal .adv-scroll {
    flex: 1;
    min-height: 0;
}

.adv-modal>.window-head {
    flex-wrap: wrap;
}

.adv-modal>.window-head>p {
    color: #fff;
}

.adv-tabs {
    display: flex;
    gap: 4px;
    margin-left: auto;
    padding: 3px;
    border-radius: 11px;
    background: var(--field);
    border: 1px solid var(--line);
}

.adv-tab {
    padding: 5px 12px 4px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink-2);
}

.adv-tab.on {
    color: #fff;
    background: linear-gradient(180deg, #ff5a9e 0%, #e81f6f 100%);
    box-shadow: 0 2px 0 var(--pink-d);
}

.adv-scroll {
    overflow-y: auto;
    padding: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 140, 255, 0.35) transparent;
}

.adv-scroll .hidden {
    display: none;
}

.adv-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 16px;
}

.adv-hero h2 {
    font-family: chevyray-oeuf, chevyray, monospace;
    font-weight: normal;
    font-size: 28px;
    line-height: 1.1;
    color: #fff;
}

.adv-hero h2 em {
    font-style: normal;
    background: var(--grad-fire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.adv-hero .sub {
    margin-top: 6px;
    color: var(--ink-2);
    font-size: 14px;
}

.adv-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 360px;
}

.adv-proof .sw-chip {
    font-size: 13px;
    padding: 6px 10px 5px;
}

.adv-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--line-2);
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
}

.plan-card.on {
    background: linear-gradient(#10133a, #10133a) padding-box, conic-gradient(from var(--spin), #ff3d8b, #ffd23d, #22e6ff, #8b5cff, #ff3d8b) border-box;
    border-color: transparent;
    animation: spin-border 5s linear infinite;
    box-shadow: 0 14px 40px rgba(255, 61, 139, 0.22);
}

.plan-card.standard.on {
    background: linear-gradient(#0d1a33, #0d1a33) padding-box, linear-gradient(135deg, #22e6ff, #8b5cff) border-box;
    animation: none;
    box-shadow: 0 14px 40px rgba(34, 230, 255, 0.2);
}

.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.plan-badge {
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 3px 7px 2px;
    border-radius: 6px;
    color: #1b0d00;
    background: var(--grad-gold);
}

.plan-card.standard .plan-badge {
    color: #001b22;
    background: linear-gradient(180deg, #7ff3ff, #22c3e6);
}

.plan-left {
    font-size: 12px;
    color: var(--lime);
}

.plan-left.zero {
    color: var(--red);
}

.plan-name {
    font-size: 20px;
    color: #fff;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--ink-2);
}

.plan-price b {
    font-family: chevyray-oeuf, chevyray, monospace;
    font-weight: normal;
    font-size: 40px;
    line-height: 1;
    color: #fff;
}

.plan-cpm {
    font-size: 12px;
    color: var(--ink-3);
}

.plan-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--ink-2);
}

.plan-perks li {
    display: flex;
    gap: 7px;
}

.plan-perks li::before {
    content: "✓";
    color: var(--lime);
    flex: none;
}

.plan-radio {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--line-2);
    display: none;
}

.plan-card.soldout {
    opacity: 0.75;
}

.plan-card.soldout .plan-name::after {
    content: " · SOLD OUT";
    font-size: 12px;
    color: var(--red);
}

.adv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.adv-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--ink-3);
    text-transform: uppercase;
}

.adv-step i {
    font-style: normal;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: #fff;
    background: var(--pink);
    font-size: 11px;
    letter-spacing: 0;
}

.adv-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink-2);
}

.field label .count {
    color: var(--ink-3);
}

.field label .count.over {
    color: var(--red);
}

.field input {
    width: 100%;
    padding: 10px 12px 9px;
    border-radius: 11px;
    color: #fff;
    background: var(--field);
    border: 1.5px solid var(--line-2);
    outline: none;
    user-select: text;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

.field input::placeholder {
    color: var(--ink-3);
}

.field .hint,
.adv-fields .hint {
    font-size: 12px;
    color: var(--ink-3);
}

.adv-preview {
    display: flex;
    flex-direction: column;
}

.adv-preview-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 4px), #070920;
    border: 1px solid var(--line);
}

.adv-preview-stage .where {
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 1px;
}

.adv-preview-stage .sw-grid {
    grid-template-columns: 1fr;
    max-width: 230px;
}

.adv-preview-stage .hs-pill {
    max-width: 100%;
    align-self: flex-start;
}

.adv-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 16px;
    padding: 12px 18px;
    border-top: 1px solid var(--line-2);
    background: rgba(6, 8, 24, 0.96);
}

.adv-footer.hidden {
    display: none;
}

.adv-sum {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.adv-sum-main {
    color: var(--ink-2);
    font-size: 15px;
}

.adv-sum-main b {
    font-weight: normal;
    color: #fff;
}

.adv-sum-main .ok {
    color: var(--lime);
}

.adv-sum-main .zero {
    color: var(--red);
}

.adv-cta-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.adv-submit {
    min-width: 300px;
    padding: 13px 22px 12px;
    font-size: 18px;
}

.adv-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    font-size: 11px;
    color: var(--ink-3);
}

.adv-trust span::before {
    content: "✓ ";
    color: var(--lime);
}

.adv-auth {
    font-size: 12px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.adv-auth img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.adv-auth button {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.adv-error {
    grid-column: 1 / -1;
    min-height: 0;
    color: var(--red);
    font-size: 13px;
    text-align: right;
}

.adv-error:empty {
    display: none;
}

.adv-faq {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.adv-faq div {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink-2);
}

.adv-faq b {
    display: block;
    margin-bottom: 4px;
    font-weight: normal;
    color: #fff;
    font-size: 13px;
}

/* ---------- My ads ---------- */

.my-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.my-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-ad {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-2);
}

.my-ad-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.my-ad-top .t {
    flex: 1;
    min-width: 0;
}

.my-ad-top .t .n {
    color: #fff;
}

.my-ad-top .t .d {
    font-size: 12px;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-chip {
    flex: none;
    font-size: 11px;
    padding: 3px 8px 2px;
    border-radius: 999px;
    border: 1px solid;
}

.status-chip.active {
    color: var(--lime);
    border-color: rgba(182, 255, 59, 0.5);
    background: rgba(182, 255, 59, 0.08);
}

.status-chip.pending_payment,
.status-chip.past_due {
    color: var(--gold);
    border-color: rgba(255, 210, 61, 0.5);
    background: rgba(255, 210, 61, 0.08);
}

.status-chip.ended,
.status-chip.paused,
.status-chip.suspended {
    color: var(--ink-3);
    border-color: var(--line-2);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.stat-grid div {
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--field);
    border: 1px solid var(--line);
}

.stat-grid b {
    display: block;
    font-weight: normal;
    font-size: 20px;
    color: #fff;
}

.stat-grid span {
    font-size: 11px;
    color: var(--ink-3);
}

.my-ad-meta {
    font-size: 12px;
    color: var(--ink-3);
}

.my-ad-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.my-ad-edit {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.empty-state {
    padding: 26px;
    text-align: center;
    color: var(--ink-2);
    border-radius: 14px;
    border: 1px dashed var(--line-2);
}

/* ---------- toast ---------- */

.daw-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 50;
    transform: translateX(-50%);
    max-width: min(560px, calc(100% - 32px));
    padding: 12px 18px 11px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(#0c0f2a, #0c0f2a) padding-box, var(--grad-neon) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s, transform 0.25s;
}

.daw-toast.hidden {
    opacity: 0;
    transform: translate(-50%, 12px);
}

@media (max-width: 860px) {
    .adv-hero,
    .adv-plans,
    .adv-grid,
    .adv-faq {
        grid-template-columns: 1fr;
    }
    .adv-proof {
        justify-content: flex-start;
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .adv-footer {
        grid-template-columns: 1fr;
    }
    .adv-submit {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .sponsor-wall:not(.compact) {
        max-height: none;
    }
}