/**
 * Spool Widget CSS  v0.8.21
 * ─────────────────────────────────────────────────────────────────────────────
 * All classes prefixed sw__  to avoid collision with host-site styles.
 * CSS variables drive theming - override by setting data-theme on the container.
 *
 * Themes:  [data-theme="light"]   (default)
 *          [data-theme="dark"]
 *          [data-theme="spool"]   (dark brand)
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── Reset - scoped to widget containers only ─────────────────────────────── */
[data-spool-widget],
[data-spool-widget] *,
[data-spool-widget] *::before,
[data-spool-widget] *::after {
    box-sizing: border-box;
}
[data-spool-widget] img { display: block; max-width: 100%; }

/* ── CSS variable defaults (light theme) ─────────────────────────────────── */
[data-spool-widget] {
    --sw-font:         'DM Sans', system-ui, -apple-system, sans-serif;
    --sw-bg:           #ffffff;
    --sw-bg-card:      #ffffff;
    --sw-bg-muted:     #f8f8fc;
    --sw-border:       rgba(0,0,0,.08);
    --sw-text:         #0f0e17;
    --sw-text-muted:   #5c5c7a;
    --sw-text-faint:   #9ca3af;
    --sw-accent:       #e83f78;
    --sw-accent-end:   #f46702;
    --sw-accent-grad:  linear-gradient(135deg, #e83f78, #f46702);
    --sw-radius:       14px;
    --sw-radius-sm:    8px;
    --sw-radius-btn:   9px;
    --sw-shadow:       0 2px 18px rgba(0,0,0,.07);
    --sw-shadow-hover: 0 8px 28px rgba(0,0,0,.13);
    --sw-shadow-btn:   0 3px 14px rgba(232,63,120,.32);
    font-family: var(--sw-font);
    color: var(--sw-text);
}

/* ── Dark theme ───────────────────────────────────────────────────────────── */
[data-spool-widget][data-theme="dark"],
[data-spool-widget][data-theme="spool"] {
    --sw-bg:           #0f0e17;
    --sw-bg-card:      #1a1830;
    --sw-bg-muted:     #221f38;
    --sw-border:       rgba(255,255,255,.09);
    --sw-text:         #f0eff8;
    --sw-text-muted:   #a8a5c4;
    --sw-text-faint:   #6b6888;
    --sw-shadow:       0 2px 20px rgba(0,0,0,.35);
    --sw-shadow-hover: 0 8px 32px rgba(0,0,0,.55);
}

/* ── Loading state ────────────────────────────────────────────────────────── */
.sw__loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    font-size: 13px;
    color: var(--sw-text-muted);
    font-family: var(--sw-font);
}
.sw__spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(232,63,120,.2);
    border-top-color: var(--sw-accent, #e83f78);
    border-radius: 50%;
    flex-shrink: 0;
    animation: sw-spin .65s linear infinite;
}
@keyframes sw-spin { to { transform: rotate(360deg); } }

.sw__error, .sw__empty {
    padding: 24px 20px;
    font-size: 13px;
    color: var(--sw-text-muted);
    text-align: center;
    font-family: var(--sw-font);
}
.sw__error { color: #c0392b; }

/* ── Icon helper ──────────────────────────────────────────────────────────── */
.sw__icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 1;
}

/* ── Meta item (icon + text row) ─────────────────────────────────────────── */
.sw__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--sw-text-muted);
    line-height: 1.4;
}
.sw__meta-item .sw__meta-link { color: #68237f !important; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease, color .15s ease; text-align: left !important; display: inline-block; }
.sw__meta-item .sw__meta-link:hover, .sw__meta-item .sw__meta-link:focus-visible { color: #4d165f !important; border-bottom-color: currentColor; }
[data-spool-widget][data-theme="dark"] .sw__meta-item .sw__meta-link,
[data-spool-widget][data-theme="spool"] .sw__meta-item .sw__meta-link { color: #e0b8ee !important; }
[data-spool-widget][data-theme="dark"] .sw__meta-item .sw__meta-link:hover,
[data-spool-widget][data-theme="dark"] .sw__meta-item .sw__meta-link:focus-visible,
[data-spool-widget][data-theme="spool"] .sw__meta-item .sw__meta-link:hover,
[data-spool-widget][data-theme="spool"] .sw__meta-item .sw__meta-link:focus-visible { color: #f0d8f7 !important; }


/* ── CTA Button ───────────────────────────────────────────────────────────── */
.sw__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--sw-radius-btn);
    background: var(--sw-accent-grad);
    color: #fff !important;
    font-family: var(--sw-font);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--sw-shadow-btn);
    transition: opacity .14s, transform .12s;
    white-space: nowrap;
}
.sw__cta:hover { opacity: .88; transform: translateY(-1px); }
.sw__cta:active { transform: translateY(0); opacity: .95; }
.sw__cta--off {
    background: var(--sw-bg-muted);
    color: var(--sw-text-faint) !important;
    box-shadow: none;
    cursor: default;
}
.sw__cta--primary { width: 100%; font-size: 15px; padding: 13px 20px; margin-top: 4px; }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.sw__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
}
.sw__badge--selling_fast { background: rgba(249,115,22,.9); color: #fff; }
.sw__badge--limited      { background: rgba(234,179,8,.9);  color: #0f0e17; }
.sw__badge--sold_out     { background: rgba(239,68,68,.9);  color: #fff; }
.sw__badge--soon         { background: rgba(99,102,241,.9); color: #fff; }
.sw__badge--today        { background: rgba(251,146,60,.95); color: #211024; }
.sw__badge--live         { background: rgba(16,185,129,.95); color: #071d17; }
.sw__badge--past         { background: rgba(107,114,128,.9); color: #fff; }
.sw__badge--new          { background: var(--sw-accent-grad); color: #fff; }

/* ── Info button ──────────────────────────────────────────────────────────── */
.sw__info-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(4px);
    color: var(--sw-accent, #e83f78);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background .12s, transform .12s;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.sw__info-btn:hover { background: #fff; transform: scale(1.1); }

/* ── Info Overlay ─────────────────────────────────────────────────────────── */
.sw__overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(10, 9, 20, .88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    opacity: 0;
    transition: opacity .2s ease;
    overflow-y: auto;
}
.sw__overlay--in { opacity: 1; }

.sw__overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .12s;
}
.sw__overlay-close:hover { background: rgba(255,255,255,.22); }

.sw__overlay-body {
    flex: 1;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sw__overlay-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}
.sw__overlay-desc {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    margin: 0;
}
.sw__overlay-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--sw-accent, #e83f78);
    margin: 4px 0 0;
}
.sw__overlay-age {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.sw__overlay .sw__meta-item { color: rgba(255,255,255,.65); }

/* ══════════════════════════════════════════════════════════════════════════════
   A. CARD LAYOUT
══════════════════════════════════════════════════════════════════════════════ */

.sw__card {
    background: var(--sw-bg-card);
    border-radius: var(--sw-radius);
    border: 1px solid var(--sw-border);
    box-shadow: var(--sw-shadow);
    overflow: hidden;
    position: relative;
    transition: box-shadow .18s ease, transform .16s ease;
    display: flex;
    flex-direction: column;
}
.sw__card:hover {
    box-shadow: var(--sw-shadow-hover);
    transform: translateY(-3px);
}

.sw__card-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--sw-bg-muted);
    aspect-ratio: 16/9;
    flex-shrink: 0;
}
.sw__card-img-wrap.sw__card-img--placeholder { background: linear-gradient(135deg, #1a1830, #2d1b4e); min-height: 160px; }
.sw__card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.sw__card:hover .sw__card-img { transform: scale(1.03); }

/* Date badge - overlaid top-left of image */
.sw__img-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15,14,23,.82);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

/* Badge - top right of image */
.sw__card-img-wrap .sw__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.sw__card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}
.sw__card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sw-text);
    line-height: 1.3;
    margin: 0;
}
.sw__card-desc {
    font-size: 13px;
    color: var(--sw-text-muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw__card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 8px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   B. SPLIT LAYOUT
══════════════════════════════════════════════════════════════════════════════ */

.sw__split {
    display: flex;
    align-items: stretch;
    background: var(--sw-bg-card);
    border-radius: var(--sw-radius);
    border: 1px solid var(--sw-border);
    box-shadow: var(--sw-shadow);
    overflow: hidden;
    position: relative;
    transition: box-shadow .18s, transform .16s;
    min-height: 140px;
}
.sw__split:hover { box-shadow: var(--sw-shadow-hover); transform: translateY(-2px); }

.sw__split-img-wrap {
    width: 40%;
    min-width: 140px;
    max-width: 220px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--sw-bg-muted);
}
.sw__split-img-wrap.sw__split-img--placeholder { background: linear-gradient(135deg, #1a1830, #2d1b4e); }
.sw__split-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.sw__split:hover .sw__split-img { transform: scale(1.04); }
.sw__split-img-wrap .sw__badge { position: absolute; top: 10px; left: 10px; z-index: 2; }

.sw__split-body {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sw__split-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
/* info button repositioned for split */
.sw__split .sw__info-btn {
    position: static;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: var(--sw-bg-muted);
    backdrop-filter: none;
    box-shadow: none;
}
.sw__split-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sw-text);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}
.sw__split-desc {
    font-size: 13px;
    color: var(--sw-text-muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw__split-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: auto;
}
.sw__split-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.sw__split-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--sw-text);
}

@media (max-width: 500px) {
    .sw__split { flex-direction: column; }
    .sw__split-img-wrap { width: 100%; max-width: none; height: 160px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   C. COMPACT LAYOUT
══════════════════════════════════════════════════════════════════════════════ */

.sw__compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--sw-bg-card);
    border-radius: var(--sw-radius-sm);
    border: 1px solid var(--sw-border);
    transition: background .12s;
}
.sw__compact:hover { background: var(--sw-bg-muted); }

.sw__compact-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.sw__compact-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sw__compact-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sw-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sw__compact-sub {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--sw-text-muted);
}
.sw__compact-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sw__compact-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--sw-text);
    white-space: nowrap;
}
.sw__compact .sw__cta {
    padding: 7px 14px;
    font-size: 12px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   GRID + SCROLL
══════════════════════════════════════════════════════════════════════════════ */

.sw__grid {
    display: grid;
    gap: 16px;
}
/* Column count driven by data-columns attribute */
.sw__grid[data-columns="1"] { grid-template-columns: 1fr; }
.sw__grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.sw__grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.sw__grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

/* Split and compact always single column */
.sw__grid[data-layout="split"],
.sw__grid[data-layout="split-card"],
.sw__grid[data-layout="compact"] {
    grid-template-columns: 1fr !important;
    gap: 10px;
}

/* Horizontal scroll grid */
.sw__grid--scroll {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 2px 3px 8px;
    /* Hide scrollbar visually */
    scrollbar-width: none;
}
.sw__grid--scroll::-webkit-scrollbar { display: none; }
.sw__grid--scroll > * {
    flex: 0 0 var(--sw-card-basis, 280px);
    min-width: 220px;
    max-width: 380px;
    scroll-snap-align: start;
}

.sw__scroll-wrap {
    position: relative;
    overflow: hidden;
    padding: 0 22px;
    margin: 0 -22px;
}

.sw__scroll-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.sw__scroll-btn {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid var(--sw-border);
    background: var(--sw-bg-card);
    color: var(--sw-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(5, 8, 24, .22);
    transition: background .12s, border-color .12s, transform .1s, opacity .12s;
    flex-shrink: 0;
}
.sw__scroll-btn--prev { left: 1px; }
.sw__scroll-btn--next { right: 1px; }
.sw__scroll-btn:hover:not(:disabled) { background: var(--sw-bg-muted); border-color: var(--sw-accent); transform: translateY(-50%) scale(1.06); }
.sw__scroll-btn:disabled { opacity: 0; pointer-events: none; }

/* Responsive: collapse columns on mobile */
@media (max-width: 640px) {
    .sw__grid[data-columns="3"],
    .sw__grid[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .sw__grid--scroll {
        display: flex !important;
    }
    .sw__grid--scroll > * {
        flex-basis: min(82vw, 300px);
        min-width: min(82vw, 260px);
    }
    .sw__scroll-wrap {
        padding: 0 14px;
        margin: 0 -14px;
    }
    .sw__scroll-btn {
        width: 36px;
        height: 36px;
    }
}
@media (max-width: 420px) {
    .sw__grid[data-columns="2"],
    .sw__grid[data-columns="3"],
    .sw__grid[data-columns="4"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── View all link ─────────────────────────────────────────────────────────── */
.sw__view-all {
    text-align: center;
    margin-top: 18px;
}
.sw__view-all a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sw-accent, #e83f78);
    text-decoration: none;
}
.sw__view-all a:hover { text-decoration: underline; }

/* ── Powered by footer ────────────────────────────────────────────────────── */
.sw__powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
    font-size: 11px;
    color: var(--sw-text-faint);
}
.sw__powered a {
    color: var(--sw-accent, #e83f78);
    text-decoration: none;
    font-weight: 600;
}
.sw__powered a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════════════════════════ */

.sw__modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,9,20,.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .2s ease;
}
.sw__modal-overlay--in { opacity: 1; }

.sw__modal {
    background: var(--sw-bg, #fff);
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    scrollbar-width: thin;
    scrollbar-color: rgba(128,128,160,.3) transparent;
    transform: translateY(12px);
    transition: transform .2s ease;
}
.sw__modal-overlay--in .sw__modal { transform: translateY(0); }

.sw__modal-hero {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.sw__modal-inner {
    padding: 20px 22px 24px;
    position: relative;
}

.sw__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(128,128,160,.12);
    color: var(--sw-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .12s;
    z-index: 2;
}
.sw__modal-close:hover { background: rgba(128,128,160,.22); }

/* Progress steps */
.sw__modal-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}
.sw__modal-step {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--sw-text-faint);
    white-space: nowrap;
}
.sw__modal-step--active { color: var(--sw-accent, #e83f78); }
.sw__modal-step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    background: var(--sw-bg-muted);
    color: var(--sw-text-faint);
    flex-shrink: 0;
}
.sw__modal-step--active .sw__modal-step-dot {
    background: var(--sw-accent-grad);
    color: #fff;
}
.sw__modal-step-line {
    flex: 1;
    height: 1px;
    background: var(--sw-border);
    margin: 0 5px;
    min-width: 12px;
}

.sw__modal-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--sw-text);
    margin: 0 30px 10px 0;
    line-height: 1.25;
}
.sw__modal-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.sw__modal-divider {
    border: none;
    border-top: 1px solid var(--sw-border);
    margin: 14px 0;
}
.sw__modal-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--sw-text-muted);
    margin-bottom: 8px;
}
.sw__modal-desc {
    font-size: 13px;
    color: var(--sw-text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}
.sw__modal-soldout {
    font-size: 14px;
    color: var(--sw-text-muted);
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* Ticket types list */
.sw__modal-types {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--sw-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.sw__modal-type-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--sw-bg-card);
    border-bottom: 1px solid var(--sw-border);
    transition: background .1s;
}
.sw__modal-type-row:last-child { border-bottom: none; }
.sw__modal-type-row--off { opacity: .5; }
.sw__modal-type-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sw__modal-type-name { font-size: 14px; font-weight: 600; color: var(--sw-text); }
.sw__modal-type-desc { font-size: 11px; color: var(--sw-text-muted); }
.sw__modal-type-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--sw-text);
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}
/* Quantity controls */
.sw__modal-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--sw-border);
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
}
.sw__modal-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--sw-bg-muted);
    color: var(--sw-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .1s;
}
.sw__modal-qty-btn:hover:not(:disabled) { background: var(--sw-border); }
.sw__modal-qty-btn:disabled { opacity: .35; cursor: default; }
.sw__modal-qty-val {
    width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--sw-text);
    user-select: none;
    display: block;
}
/* Subtotal row */
.sw__modal-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--sw-border);
    font-size: 14px;
    color: var(--sw-text-muted);
    margin-bottom: 8px;
}
.sw__modal-subtotal strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--sw-accent, #e83f78);
}
.sw__modal-nofee, .sw__modal-feenote {
    font-size: 12px;
    color: var(--sw-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 12px;
}
.sw__modal-nofee { color: #16a34a; }

/* ══════════════════════════════════════════════════════════════════════════════
   SPOOL THEME EXTRAS
══════════════════════════════════════════════════════════════════════════════ */
[data-spool-widget][data-theme="spool"] .sw__card,
[data-spool-widget][data-theme="spool"] .sw__split,
[data-spool-widget][data-theme="spool"] .sw__compact {
    border-color: rgba(232,63,120,.18);
}
[data-spool-widget][data-theme="spool"] .sw__card:hover,
[data-spool-widget][data-theme="spool"] .sw__split:hover {
    box-shadow: 0 8px 32px rgba(232,63,120,.22);
}

/* ── Modal dark theme ─────────────────────────────────────────────────────── */
.sw__modal-overlay .sw__modal { background: var(--sw-bg, #fff); }

/* v0.8.10 widget refinements: optional hover, Poppins, featured layout, custom theme */
[data-spool-widget] {
    --sw-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-family: var(--sw-font);
}

.sw__card.sw__no-hover:hover,
.sw__split.sw__no-hover:hover {
    box-shadow: var(--sw-shadow);
    transform: none;
}
.sw__card.sw__no-hover:hover .sw__card-img,
.sw__split.sw__no-hover:hover .sw__split-img {
    transform: none;
}
.sw__compact.sw__no-hover:hover {
    background: var(--sw-bg-card);
}

.sw__compact-info-link {
    border: none;
    background: transparent;
    color: var(--sw-accent);
    font-family: var(--sw-font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    white-space: nowrap;
}

.sw__featured {
    background: var(--sw-bg-card);
    border-radius: calc(var(--sw-radius) + 4px);
    border: 1px solid var(--sw-border);
    box-shadow: var(--sw-shadow);
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 44%) minmax(0, 1fr);
    min-height: 320px;
    transition: box-shadow .18s ease, transform .16s ease;
}
.sw__featured:hover { box-shadow: var(--sw-shadow-hover); transform: translateY(-3px); }
.sw__featured.sw__no-hover:hover { box-shadow: var(--sw-shadow); transform: none; }

.sw__featured-media {
    position: relative;
    min-height: 320px;
    height: 100%;
    align-self: stretch;
    background: var(--sw-bg-muted);
    overflow: hidden;
}
.sw__featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sw__featured-media .sw__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}
.sw__featured-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.sw__featured-title {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.08;
    color: var(--sw-text);
    margin: 0;
    font-weight: 800;
    letter-spacing: -.03em;
}
.sw__featured-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sw__featured-desc {
    color: var(--sw-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
.sw__featured-ticketbox {
    margin-top: auto;
    background: var(--sw-bg-muted);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    align-items: center;
}
.sw__featured-ticket-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sw-text-muted);
    font-weight: 800;
}
.sw__featured-price {
    color: var(--sw-text);
    font-size: 18px;
    font-weight: 800;
    text-align: right;
}
.sw__featured-ticketbox .sw__cta {
    grid-column: 1 / -1;
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
}
.sw__grid[data-layout="horizontal"],
.sw__grid[data-layout="featured"] {
    grid-template-columns: 1fr !important;
    gap: 10px;
}
@media (max-width: 720px) {
    .sw__featured { grid-template-columns: 1fr; }
    .sw__featured-media { min-height: 220px; aspect-ratio: 16 / 10; }
    .sw__featured-body { padding: 20px; }
}

/* v0.8.11 polish: better image cover + cleaner info panels */
[data-spool-widget] {
    --sw-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.sw__card-img,
.sw__split-img,
.sw__compact-img,
.sw__featured-img,
.sw__modal-hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sw__card-img-wrap,
.sw__split-img-wrap,
.sw__featured-media {
    background-size: cover;
    background-position: center;
}

.sw__split-img-wrap {
    min-height: 170px;
}

.sw__featured {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    min-height: 280px;
}
.sw__featured-media {
    min-height: 280px;
    height: auto;
}
.sw__featured-img {
    position: absolute;
    inset: 0;
}

/* Keep featured usable when dropped into a narrow column */
@container (max-width: 720px) {
    .sw__featured { grid-template-columns: 1fr; }
    .sw__featured-media { min-height: 220px; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
    .sw__featured { grid-template-columns: 1fr; }
    .sw__featured-media { min-height: 220px; aspect-ratio: 16 / 10; }
}

/* Info panels: no repeated metadata, no scrollbars, short excerpt + learn more */
.sw__overlay {
    overflow: hidden !important;
    justify-content: center;
    padding: 20px 22px;
}
.sw__overlay-body {
    flex: 0 1 auto;
    padding-top: 0;
    gap: 12px;
}
.sw__overlay-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,.86);
}
.sw__learn-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,.36);
}
.sw__learn-more:hover { border-color: #fff; }

/* Compact uses inline reveal rather than an overlay. */
.sw__compact-reveal {
    margin-top: -6px;
    margin-bottom: 10px;
    padding: 12px 16px 14px;
    border: 1px solid var(--sw-border);
    border-top: 0;
    border-radius: 0 0 var(--sw-radius-sm) var(--sw-radius-sm);
    background: var(--sw-bg-muted);
    color: var(--sw-text-muted);
    font-family: var(--sw-font);
    animation: sw-reveal .16s ease-out;
}
.sw__compact-reveal-text {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw__compact-reveal .sw__learn-more {
    color: var(--sw-accent) !important;
    border-bottom-color: rgba(232,63,120,.35);
}
.sw__compact--open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
@keyframes sw-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 520px) {
    .sw__compact {
        flex-wrap: wrap;
    }
    .sw__compact-right {
        width: 100%;
        justify-content: space-between;
    }
}


/* v0.8.17 focused widget polish: image cover, dark headings, compact fix, cleaner full layout */
[data-spool-widget][data-theme="dark"] .sw__card-title,
[data-spool-widget][data-theme="dark"] .sw__split-title,
[data-spool-widget][data-theme="dark"] .sw__compact-title,
[data-spool-widget][data-theme="dark"] .sw__featured-title,
[data-spool-widget][data-theme="dark"] h1,
[data-spool-widget][data-theme="dark"] h2,
[data-spool-widget][data-theme="dark"] h3,
[data-spool-widget][data-theme="spool"] .sw__card-title,
[data-spool-widget][data-theme="spool"] .sw__split-title,
[data-spool-widget][data-theme="spool"] .sw__compact-title,
[data-spool-widget][data-theme="spool"] .sw__featured-title {
    color: #fff !important;
}

.sw__split-img-wrap {
    width: 42% !important;
    max-width: none !important;
    min-width: 180px;
    min-height: 180px;
    align-self: stretch;
    position: relative;
}
.sw__split-img-wrap .sw__split-img,
.sw__split-img-wrap > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
.sw__split-desc { -webkit-line-clamp: 2; }
.sw__split .sw__overlay-desc { -webkit-line-clamp: 6; }

.sw__card-img-wrap { position: relative; overflow: hidden; }
.sw__card-img-wrap .sw__card-img,
.sw__card-img-wrap > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sw__compact {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 70px;
    overflow: visible;
}
.sw__compact .sw__compact-img,
.sw__compact > img.sw__compact-img {
    position: static !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    flex: 0 0 56px !important;
}
.sw__compact-info { min-width: 0; flex: 1 1 auto; }
.sw__compact-right { margin-left: auto; }
.sw__compact-reveal { max-width: 100%; }

.sw__featured {
    grid-template-columns: minmax(360px, 44%) minmax(0, 1fr) !important;
    min-height: 360px;
}
.sw__featured-media {
    min-height: 360px !important;
    height: auto !important;
    position: relative !important;
    align-self: stretch;
}
.sw__featured-media .sw__featured-img,
.sw__featured-media > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
.sw__featured-body {
    padding: clamp(24px, 4vw, 44px) !important;
    justify-content: center;
}
.sw__featured-desc {
    display: block;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
    max-width: 720px;
}
.sw__featured-ticketbox { margin-top: 18px; }
.sw__featured .sw__info-btn { display: none !important; }

@media (max-width: 780px) {
    .sw__featured { grid-template-columns: 1fr !important; }
    .sw__featured-media { min-height: 240px !important; aspect-ratio: 16 / 9; }
    .sw__featured-body { padding: 22px !important; }
    .sw__split { flex-direction: column; }
    .sw__split-img-wrap { width: 100% !important; min-height: 190px; }
}

/* ── v0.8.18 precision patch ──────────────────────────────────────────────── */

/* TASK 1 - Compact widget: prevent width expansion when reveal opens
 *
 * The .sw__compact-reveal is inserted as a sibling AFTER the row via
 * insertAdjacentElement('afterend'). If the parent is a flex/grid container
 * with no explicit width, the reveal can cause horizontal expansion.
 *
 * Fix: constrain the compact row to the parent width, and make the reveal
 * inherit that width rather than sizing to content.
 */

/* The compact row and its reveal must never exceed the parent's width */
.sw__compact {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    /* Prevent the flex row itself from pushing outward */
    flex-shrink: 1;
}

/* The reveal panel sits BELOW the row - it must be same width, not content-sized */
.sw__compact-reveal {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Overflow of text inside must scroll/wrap, never push width */
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Ensure title/sub inside info col never force the row wider */
.sw__compact-title,
.sw__compact-sub {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The compact wrapper that holds row + reveal: must be a block, not flex,
 * and must be width-constrained so children can't escape */
.sw__compact-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Clipping ensures no child can horizontally overflow the wrapper */
    overflow: hidden;
}

/* Inside grid: column tracks must never grow beyond their allocated width */
.sw__grid[data-layout="compact"] .sw__compact,
.sw__grid[data-layout="compact"] .sw__compact-reveal,
.sw__grid[data-layout="compact"] .sw__compact-wrap {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* TASK 2 - Featured widget: allow more content to show
 *
 * The issue: min-height on the featured body and justify-content: center
 * can clip or squash the description. The description already has no
 * line-clamp, but the body height may be constrained by the grid row/media
 * height, hiding overflow.
 *
 * Fix: remove the height ceiling on the body, let content determine height,
 * allow the description to expand naturally.
 */

/* Let the body size to its content rather than being pinned by the grid row */
.sw__featured-body {
    align-self: auto !important;       /* was: stretch - caused clipping */
    justify-content: flex-start !important; /* was: center - wasted space at top */
    height: auto !important;
    overflow: visible !important;
}

/* Description: no line-clamp, natural height */
.sw__featured-desc {
    display: block !important;         /* override any -webkit-box clamp */
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    max-height: none !important;
    /* Comfortable reading width within the column */
    max-width: 68ch;
}

/* Allow the featured card itself to grow taller to fit content */
.sw__featured {
    height: auto !important;
    align-items: stretch;
}

/* Media panel: stretch to match whatever height the body reaches */
.sw__featured-media {
    align-self: stretch !important;
    height: auto !important;
}

/* ── v0.8.19 widget width toggle + compact stability ────────────────────── */
[data-spool-widget][data-size="short"] {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
[data-spool-widget][data-size="wide"] {
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* Compact should use the same width before and after More info opens. */
.sw__compact-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.sw__compact-wrap .sw__compact,
.sw__compact-wrap .sw__compact-reveal {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.sw__compact-wrap .sw__compact {
    justify-content: flex-start;
}
.sw__compact-wrap .sw__compact-info {
    flex: 1 1 auto;
    min-width: 0;
}
.sw__compact-wrap .sw__compact-right {
    flex: 0 0 auto;
    margin-left: auto;
}

/* Slightly tighter compact sizing when explicitly short. */
[data-spool-widget][data-size="short"] .sw__compact-wrap {
    max-width: 620px;
}
[data-spool-widget][data-size="wide"] .sw__compact-wrap {
    max-width: 980px;
}

/* Featured/Full can show richer event-page style detail when available. */
.sw__featured-more {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--sw-border);
}
.sw__featured-more-title {
    display: block;
    margin: 0 0 8px;
    color: var(--sw-text);
    font-size: 13px;
    font-weight: 800;
}
.sw__featured-more-list {
    margin: 0;
    padding-left: 18px;
    color: var(--sw-text-muted);
    font-size: 13px;
    line-height: 1.55;
}
.sw__featured-more-list li { margin-bottom: 5px; }
.sw__featured-desc {
    -webkit-line-clamp: unset !important;
    max-height: none !important;
}

/* Full/Featured should stack before it becomes a skinny unreadable column. */
@media (max-width: 820px) {
    .sw__featured {
        grid-template-columns: 1fr !important;
    }
    .sw__featured-media {
        min-height: 240px !important;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 560px) {
    .sw__compact-wrap .sw__compact {
        flex-wrap: wrap;
    }
    .sw__compact-wrap .sw__compact-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* v0.8.21 final widget sizing safety - stable, CSS-only sizing rules */
[data-spool-widget][data-size="short"]{width:620px!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
[data-spool-widget][data-size="wide"]{width:980px!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
/* Event feeds are rails, not single cards. They must use the host section's full width. */
[data-spool-widget="events"][data-size]{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;}
[data-spool-widget][data-layout="compact"] .sw__compact-wrap{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;overflow:hidden!important;box-sizing:border-box!important;}
[data-spool-widget][data-layout="compact"] .sw__compact,
[data-spool-widget][data-layout="compact"] .sw__compact-reveal{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
[data-spool-widget][data-layout="compact"] .sw__compact{display:flex!important;align-items:center!important;}
[data-spool-widget][data-layout="compact"] .sw__compact-info{flex:1 1 auto!important;min-width:0!important;}
[data-spool-widget][data-layout="compact"] .sw__compact-right{flex:0 0 auto!important;margin-left:auto!important;}
[data-spool-widget][data-layout="compact"] .sw__compact-reveal{display:block!important;padding-left:14px!important;padding-right:14px!important;}
[data-spool-widget][data-layout="featured"]{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
[data-spool-widget][data-layout="featured"] .sw__featured{width:100%!important;max-width:100%!important;}
@media (max-width:760px){[data-spool-widget][data-layout="featured"] .sw__featured{grid-template-columns:1fr!important;}[data-spool-widget][data-layout="featured"] .sw__featured-media{min-height:240px!important;aspect-ratio:16/9!important;}}

/* ── v0.9.55: Early Bird price block ──────────────────────────────────────── */
.sw__eb-wrap { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 2px; }
.sw__eb-price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.sw__eb-price { font-size: 15px; font-weight: 800; color: #16a34a; }
.sw__eb-std { font-size: 12px; color: #9ca3af; text-decoration: line-through; }
.sw__eb-badge { display: inline-block; padding: 2px 9px; border-radius: 999px;
    background: #fef9c3; border: 1px solid #fde047;
    font-size: 11px; font-weight: 700; color: #713f12; width: fit-content; }
.sw__eb-countdown { font-size: 11px; font-weight: 600; color: #92400e; }
.sw__eb-cd-val { font-variant-numeric: tabular-nums; }

/* Featured layout overrides */
.sw__featured-ticketbox .sw__eb-price { font-size: 17px; }
/* Compact layout overrides */
.sw__compact-right .sw__eb-wrap { margin: 0; text-align: right; align-items: flex-end; }
/* Split layout overrides */
.sw__split-foot .sw__eb-wrap { margin: 0 0 8px; }

/* v0.11.24 — roomy Breakdance-style event rail.
 * Portrait remains an accepted legacy name, but feed cards are now landscape
 * event cards rather than narrow poster tiles. */
[data-spool-widget="events"][data-layout="portrait"] .sw__grid {
    gap: 28px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__grid--scroll {
    gap: 28px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__grid--scroll > .sw__card {
    flex-basis: max(280px, var(--sw-card-basis, 280px));
    min-width: 280px;
    max-width: none;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card {
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    background: var(--sw-bg-card);
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-img-wrap {
    aspect-ratio: 16 / 9;
    border-radius: 14px 14px 0 0;
    border: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    /* Isolate the scaled artwork so browser subpixel compositing cannot expose
       the host page or wrapper colour at the image/body boundary. */
    isolation: isolate;
    transform: translateZ(0);
    background: var(--sw-bg-card);
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    transform: scale(1.015) translateZ(0);
    transform-origin: center;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card:hover .sw__card-img {
    transform: scale(1.045) translateZ(0);
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-body {
    padding: 18px 18px 14px;
    gap: 11px;
    margin-top: -3px;
    background: var(--sw-bg-card);
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-body::before {
    content: none;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-title {
    font-size: clamp(19px, 1.45vw, 25px);
    line-height: 1.18;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-desc {
    font-size: 15px;
    line-height: 1.42;
    -webkit-line-clamp: 3;
    min-height: 4.25em;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-meta {
    border-top: 1px solid rgba(232,63,120,.62);
    padding-top: 12px;
    gap: 5px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__meta-item {
    font-size: 14px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__cta {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
    /* The metadata block owns the flexible space. Keeping auto margins on both
       meta and CTA split that space and made each divider/venue/price block
       land at a different height depending on title/description length. */
    margin-top: 0;
}
.sw__no-fee-note {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #22a447;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    padding: 0 2px;
}
.sw__no-fee-note .sw__icon {
    color: #22a447;
    flex: 0 0 auto;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__img-date {
    top: 10px;
    bottom: auto;
    border-radius: 7px;
    background: #f46702;
    font-size: 13px;
    letter-spacing: 0;
    padding: 7px 11px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card .sw__info-btn {
    left: auto;
    right: 10px;
}
[data-spool-widget="events"][data-layout="portrait"] .sw__card-img-wrap .sw__badge {
    top: auto;
    bottom: 10px;
    right: 10px;
}
[data-spool-widget="events"][data-theme="custom"] {
    background: var(--sw-bg);
    padding: 24px;
    border-radius: 16px;
}
[data-spool-widget][data-theme="custom"] .sw__card-title,
[data-spool-widget][data-theme="custom"] .sw__split-title,
[data-spool-widget][data-theme="custom"] .sw__compact-title,
[data-spool-widget][data-theme="custom"] .sw__featured-title,
[data-spool-widget][data-theme="custom"] h1,
[data-spool-widget][data-theme="custom"] h2,
[data-spool-widget][data-theme="custom"] h3 {
    color: var(--sw-text) !important;
}
[data-spool-widget="events"][data-theme="custom"] .sw__card {
    background: var(--sw-bg-card);
}

/* v0.11.27 — explicit embed boundaries. Container width is the safe default;
 * viewport width deliberately escapes a narrow page-builder wrapper. */
[data-spool-widget][data-width="container"] {
    width: 100% !important;
    max-width: none !important;
}
[data-spool-widget][data-width="viewport"] {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
[data-spool-widget][data-width="fixed"] {
    width: min(100%, var(--sw-desktop-max, 1400px)) !important;
    max-width: var(--sw-desktop-max, 1400px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 720px) {
    [data-spool-widget][data-width] {
        position: relative;
        left: auto;
        width: var(--sw-mobile-width, 100%) !important;
        max-width: var(--sw-mobile-width, 100%) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.sw__promo-art {
    background:
        radial-gradient(circle at 22% 30%, rgba(244,103,2,.72), transparent 28%),
        radial-gradient(circle at 76% 38%, rgba(232,63,120,.82), transparent 30%),
        linear-gradient(135deg, #25103f 0%, #73105f 48%, #160b30 100%) !important;
}
.sw__promo-art::after {
    content: "";
    position: absolute;
    inset: 34% 0 0;
    background:
        radial-gradient(ellipse at 12% 100%, rgba(5,5,18,.92) 0 18%, transparent 19%),
        radial-gradient(ellipse at 37% 105%, rgba(5,5,18,.88) 0 22%, transparent 23%),
        radial-gradient(ellipse at 66% 100%, rgba(5,5,18,.9) 0 21%, transparent 22%),
        radial-gradient(ellipse at 91% 105%, rgba(5,5,18,.9) 0 19%, transparent 20%);
}
@media (max-width: 720px) {
    [data-spool-widget="events"][data-layout="portrait"] .sw__grid--scroll > .sw__card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: center;
    }
    [data-spool-widget="events"][data-layout="portrait"] .sw__grid--scroll {
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
    }
    [data-spool-widget="events"][data-layout="portrait"] .sw__scroll-wrap {
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}


/* v0.12.20 — Homepage spotlight feature */
[data-spool-widget][data-layout="spotlight"] {
    width: 100% !important;
    max-width: var(--sw-desktop-max, 1400px) !important;
    margin-inline: auto !important;
}
.sw__spotlight {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 22px;
    background-color: #080b14;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(8,11,20,.28);
    color: #fff;
    isolation: isolate;
}
.sw__spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.16));
}
.sw__spotlight-inner {
    min-height: 430px;
    padding: clamp(28px, 5vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
    align-items: end;
    gap: clamp(30px, 5vw, 70px);
}
.sw__spotlight-content { max-width: 720px; }
.sw__spotlight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #ff3f88;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-weight: 800;
}
.sw__spotlight-kicker::before { content: '✦'; }
.sw__spotlight-title {
    margin: 0 0 14px;
    max-width: 760px;
    color: #fff !important;
    font-size: clamp(34px, 5vw, 64px);
    line-height: .99;
    letter-spacing: -.045em;
    font-weight: 800;
}
.sw__spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-bottom: 15px;
    color: rgba(255,255,255,.88);
}
.sw__spotlight-meta .sw__meta-item { color: inherit; }
.sw__spotlight-desc {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw__spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.sw__spotlight .sw__cta,
.sw__spotlight-secondary {
    min-height: 48px;
    padding: 0 24px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.sw__spotlight .sw__cta { width: auto; min-width: 150px; }
.sw__spotlight-secondary {
    border: 1px solid rgba(255,255,255,.46);
    color: #fff !important;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
}
.sw__spotlight-secondary:hover { background: rgba(255,255,255,.14); }
.sw__spotlight-availability {
    margin-top: 17px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 600;
}
.sw__spotlight-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #42d37c;
    box-shadow: 0 0 0 5px rgba(66,211,124,.15);
}
.sw__spotlight-countdown {
    align-self: end;
    justify-self: end;
    width: min(100%, 420px);
    padding: 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(7,9,18,.55);
    backdrop-filter: blur(14px);
}
.sw__spotlight-countdown-label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.sw__spotlight-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
}
.sw__spotlight-countdown-box {
    min-width: 0;
    padding: 13px 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    text-align: center;
}
.sw__spotlight-countdown-box strong {
    display: block;
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.sw__spotlight-countdown-box small {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
@media (max-width: 860px) {
    .sw__spotlight,
    .sw__spotlight-inner { min-height: 500px; }
    .sw__spotlight-inner {
        grid-template-columns: 1fr;
        align-content: end;
        padding: 28px;
        background: linear-gradient(180deg, rgba(4,8,20,.2), rgba(4,8,20,.96) 62%);
    }
    .sw__spotlight-countdown { justify-self: stretch; width: 100%; }
}
@media (max-width: 520px) {
    .sw__spotlight { border-radius: 16px; }
    .sw__spotlight-inner { padding: 22px; gap: 22px; }
    .sw__spotlight-title { font-size: 36px; }
    .sw__spotlight-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .sw__spotlight .sw__cta, .sw__spotlight-secondary { min-width: 0; padding-inline: 12px; }
    .sw__spotlight-countdown { padding: 13px; }
    .sw__spotlight-countdown-box { padding: 10px 3px 8px; }
}

/* v0.12.35 — keep carousel chevrons visible on the light hover state. */
.sw__scroll-btn:hover:not(:disabled),
.sw__scroll-btn:focus-visible:not(:disabled) {
    color: #2b0a46 !important;
}
.sw__scroll-btn:hover:not(:disabled) svg,
.sw__scroll-btn:focus-visible:not(:disabled) svg {
    color: #2b0a46 !important;
    stroke: currentColor !important;
}

/* v0.12.95 — grouped month presentation for larger event directories. */
.sw__month-feed {
    display: flex;
    flex-direction: column;
    gap: 42px;
}
.sw__month-group {
    display: block;
}
.sw__month-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--sw-border);
}
.sw__month-title {
    margin: 0;
    color: var(--sw-text);
    font: inherit;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}
.sw__month-count {
    color: var(--sw-text-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.sw__month-grid {
    align-items: stretch;
}
@media (max-width: 980px) {
    .sw__month-grid[data-columns="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw__month-grid[data-columns="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .sw__month-feed { gap: 30px; }
    .sw__month-title { font-size: 20px; }
    .sw__month-grid[data-columns] { grid-template-columns: 1fr; }
}

/* v0.12.96 — Browse Events directory hero/search */
.spool-browser-hero{
  --sbh-accent:#ff5f19;
  --sbh-pink:#ed3f76;
  position:relative;
  max-width:1180px;
  margin:0 auto 34px;
  padding:38px 42px 0;
  color:#fff;
  font-family:Poppins,Arial,sans-serif;
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 22%,rgba(237,63,118,.22),transparent 34%),
    radial-gradient(circle at 68% 68%,rgba(255,95,25,.12),transparent 30%),
    linear-gradient(135deg,rgba(29,7,50,.96),rgba(75,8,65,.94));
}
.spool-browser-hero::after{
  content:"";position:absolute;inset:auto -70px -130px auto;width:430px;height:300px;border-radius:50%;
  border:1px solid rgba(255,255,255,.07);transform:rotate(-12deg);pointer-events:none;
}
.spool-browser-hero__copy{position:relative;z-index:3;width:min(58%,650px);padding-bottom:34px}
.spool-browser-hero__eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:8px;color:#ffb24a;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.spool-browser-hero h1{margin:0 0 8px;font-size:clamp(34px,4vw,56px);line-height:1.05;font-weight:800;letter-spacing:-.035em;color:#fff}
.spool-browser-hero__copy>p{max-width:610px;margin:0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.65}
.spool-browser-hero__controls{display:grid;grid-template-columns:minmax(260px,1fr) 190px;gap:12px;margin-top:24px}
.spool-browser-search,.spool-browser-month-control{position:relative;display:block}
.spool-browser-search__icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:22px;color:#667085;z-index:2;pointer-events:none}
.spool-browser-search input,.spool-browser-month-control select{box-sizing:border-box;width:100%;height:48px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#fff;color:#1d1830;font-family:inherit;font-size:13px;outline:none;box-shadow:none}
.spool-browser-search input{padding:0 15px 0 44px}
.spool-browser-month-control select{padding:0 36px 0 14px;cursor:pointer}
.spool-browser-search input:focus,.spool-browser-month-control select:focus{border-color:#ff8b43;box-shadow:0 0 0 3px rgba(255,95,25,.18)}
.spool-browser-month-control select:disabled{opacity:.58;cursor:default}
.spool-browser-results{min-height:18px!important;margin:9px 0 0!important;font-size:12px!important;color:#ffb24a!important}
.spool-browser-hero__visual{position:absolute;z-index:1;right:24px;top:22px;width:36%;height:236px;perspective:800px}
.spool-browser-poster{position:absolute;display:block;margin:0;width:145px;height:190px;border-radius:13px;overflow:hidden;background:#171329;border:1px solid rgba(255,255,255,.2);box-shadow:0 18px 38px rgba(0,0,0,.34);transition:transform .18s ease,box-shadow .18s ease;cursor:pointer}
.spool-browser-poster:hover{z-index:8;box-shadow:0 22px 48px rgba(0,0,0,.45)}
.spool-browser-poster:focus-visible{outline:3px solid #ff8b43;outline-offset:3px;z-index:9}
.spool-browser-poster img{display:block;width:100%;height:100%;object-fit:cover}
.spool-browser-poster--1{right:184px;top:26px;transform:rotate(-8deg)}
.spool-browser-poster--2{right:92px;top:8px;transform:rotate(3deg)}
.spool-browser-poster--3{right:8px;top:37px;transform:rotate(10deg)}
.spool-browser-poster--4{right:116px;top:57px;width:132px;height:171px;transform:translateY(24px) rotate(-1deg);opacity:.4;z-index:-1}
.spool-browser-ticket-mark{position:absolute;right:210px;bottom:6px;z-index:6;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;background:linear-gradient(90deg,#eb3d79,#ff6414);box-shadow:0 7px 20px rgba(0,0,0,.25);transform:rotate(-5deg)}
.spool-browser-ticket-mark span{font-size:17px;font-weight:800;letter-spacing:-.05em}.spool-browser-ticket-mark small{font-size:8px;font-weight:800;letter-spacing:.12em}
.spool-browser-hero__visual.is-fallback{background:radial-gradient(circle at 60% 40%,rgba(255,95,25,.25),transparent 40%)}
.spool-browser-hero__visual.is-fallback .spool-browser-ticket-mark{right:50%;bottom:70px;transform:translateX(50%) rotate(-5deg) scale(1.45)}
.spool-browser-values{position:relative;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);grid-column:1/-1;margin:0 -42px;padding:16px 42px;background:rgba(255,255,255,.055);border-top:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.84);font-size:11px;font-weight:600}
.spool-browser-values span{display:flex;align-items:center;justify-content:center;min-height:24px;padding:0 14px;border-right:1px solid rgba(255,255,255,.12)}
.spool-browser-values span:last-child{border-right:0}
.spool-browser-hero .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:900px){
  .spool-browser-hero{padding:32px 28px 0}
  .spool-browser-hero__copy{width:65%}
  .spool-browser-hero__visual{right:-40px;width:40%;opacity:.82}
  .spool-browser-values{margin:0 -28px;padding:14px 28px;grid-template-columns:repeat(2,1fr);row-gap:10px}
  .spool-browser-values span:nth-child(2){border-right:0}
}
@media(max-width:680px){
  .spool-browser-hero{padding:27px 20px 0;border-radius:18px}
  .spool-browser-hero__copy{width:100%;padding-bottom:26px}
  .spool-browser-hero__visual{position:relative;right:auto;top:auto;width:100%;height:140px;margin:-4px 0 18px;opacity:.76}
  .spool-browser-poster{width:105px;height:132px}
  .spool-browser-poster--1{right:56%;top:8px}.spool-browser-poster--2{right:32%;top:0}.spool-browser-poster--3{right:8%;top:10px}.spool-browser-poster--4{display:none}
  .spool-browser-ticket-mark{right:auto;left:8px;bottom:0}
  .spool-browser-hero__controls{grid-template-columns:1fr}
  .spool-browser-values{margin:0 -20px;padding:13px 20px;grid-template-columns:1fr 1fr;font-size:10px}
  .spool-browser-values span{justify-content:flex-start;padding:0 7px;border-right:0}
}


/* v0.12.97 — directory placement/contrast refinements */
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="light"] .sw__month-title{color:#fff!important}
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="light"] .sw__month-count{color:rgba(255,255,255,.68)!important}
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="light"] .sw__month-head{border-bottom-color:rgba(255,255,255,.14)!important}
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="dark"] .sw__month-title{color:#151827!important}
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="dark"] .sw__month-count{color:#697386!important}
.spool-all-events-feed[data-group-by="month"][data-month-heading-theme="dark"] .sw__month-head{border-bottom-color:rgba(21,24,39,.12)!important}
.spool-browser-poster--1:hover{transform:rotate(-8deg) translateY(-5px) scale(1.025)}
.spool-browser-poster--2:hover{transform:rotate(3deg) translateY(-5px) scale(1.025)}
.spool-browser-poster--3:hover{transform:rotate(10deg) translateY(-5px) scale(1.025)}
.spool-browser-poster--4:hover{transform:translateY(18px) rotate(-1deg) scale(1.025);opacity:.72}


/* v0.12.98 — deterministic live directory filtering. The explicit !important
   is intentional: card/month layouts declare display values themselves. */
.sw__search-hidden { display: none !important; }
.sw__search-empty {
    margin: 24px 0 8px;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    color: rgba(255,255,255,.82);
    text-align: center;
    font-size: 14px;
    background: rgba(255,255,255,.04);
}

/* v0.12.99 — Search result mode for grouped event directories. */
.spool-all-events-feed.sw__search-mode .sw__month-head {
    display: none !important;
}
.spool-all-events-feed.sw__search-mode .sw__month-feed {
    gap: 22px;
}
.spool-all-events-feed.sw__search-mode .sw__month-group {
    margin: 0;
}
.sw__search-summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-family: Poppins,Arial,sans-serif;
}
.sw__search-summary[hidden] {
    display: none !important;
}
.sw__search-summary strong {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}
.sw__search-summary span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.72);
    white-space: nowrap;
}
@media (max-width:620px) {
    .sw__search-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .sw__search-summary strong { font-size: 20px; }
}

/* v0.13.00 — directory search profiles + tighter mobile browser header. */
.sw__profile-results[hidden]{display:none!important}
.sw__profile-results{margin:0 0 24px}
.sw__profile-results-head{margin:0 0 10px;color:rgba(255,255,255,.72);font:700 12px/1.2 Poppins,Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em}
.sw__profile-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sw__profile-result-card{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.055);color:#fff;text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.sw__profile-result-card:hover{border-color:rgba(255,139,67,.72);background:rgba(255,255,255,.09);transform:translateY(-1px)}
.sw__profile-result-logo{flex:0 0 58px;width:58px;height:58px;border-radius:13px;object-fit:cover;background:#fff;border:1px solid rgba(255,255,255,.16)}
.sw__profile-result-logo--fallback{display:grid;place-items:center;background:linear-gradient(145deg,#eb3d79,#ff6414);color:#fff;font-size:24px;font-weight:800}
.sw__profile-result-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.sw__profile-result-type{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#ffb24a}
.sw__profile-result-body strong{font-size:16px;line-height:1.2;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sw__profile-result-meta,.sw__profile-result-excerpt{font-size:11px;line-height:1.35;color:rgba(255,255,255,.68);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sw__profile-result-arrow{font-size:20px;color:#ffb24a}

@media (max-width:620px){
  .spool-browser-hero{display:flex;flex-direction:column;padding-bottom:0}
  .spool-browser-hero__copy{display:contents}
  .spool-browser-hero__eyebrow{order:1;margin-left:auto;margin-right:auto}
  .spool-browser-hero h1{order:2;text-align:center}
  .spool-browser-hero__copy>p{order:3;text-align:center;padding:0 10px}
  .spool-browser-hero__visual{order:4;margin:8px 0 10px}
  .spool-browser-hero__controls{order:5;margin-top:4px;width:100%}
  .spool-browser-results{order:6;text-align:center;margin-bottom:12px!important}
  .spool-browser-values{display:none!important}
  .sw__profile-results-grid{grid-template-columns:1fr}
  .sw__profile-result-card{padding:11px 12px;border-radius:13px}
  .sw__profile-result-logo{flex-basis:50px;width:50px;height:50px}
}

/* v0.14.00 — Event List widget: date tile + event details + CTA. */
[data-spool-widget="events"][data-layout="event-list"] .sw__grid {
    display:flex!important; flex-direction:column!important; gap:0!important; width:100%!important;
}
[data-spool-widget="events"][data-layout="event-list"] .sw__event-list {
    display:grid; grid-template-columns:92px minmax(0,1fr) auto; align-items:center; gap:18px;
    width:100%; box-sizing:border-box; padding:14px 8px; background:transparent;
    border:0; border-bottom:1px solid var(--sw-border); border-radius:0; color:var(--sw-text);
}
[data-spool-widget="events"][data-layout="event-list"] .sw__event-list:first-child { border-top:1px solid var(--sw-border); }
.sw__event-list-date {
    width:80px; min-height:76px; box-sizing:border-box; border-radius:12px; background:var(--sw-bg-muted);
    display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1; padding:8px 6px;
}
.sw__event-list-dow,.sw__event-list-mon { font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--sw-text-muted); }
.sw__event-list-day { margin:4px 0 3px; font-size:30px; font-weight:700; color:var(--sw-accent); line-height:.9; }
.sw__event-list-main { min-width:0; }
.sw__event-list-title { display:inline-block; color:var(--sw-text)!important; font-size:17px; line-height:1.25; font-weight:700; text-decoration:none!important; }
.sw__event-list-title:hover { text-decoration:underline!important; }
.sw__event-list-meta { display:flex; flex-wrap:wrap; align-items:center; gap:5px 18px; margin-top:7px; color:var(--sw-text-muted); font-size:12px; }
.sw__event-list-meta-item { display:inline-flex; align-items:center; gap:5px; min-width:0; }
.sw__event-list-meta-item svg { width:14px; height:14px; flex:0 0 auto; }
.sw__event-list-action { min-width:160px; display:flex; justify-content:flex-end; }
.sw__event-list-action .sw__cta { min-width:154px; justify-content:center; padding:10px 18px; white-space:nowrap; }
@media (max-width:700px) {
    [data-spool-widget="events"][data-layout="event-list"] .sw__event-list {
        grid-template-columns:64px minmax(0,1fr); gap:12px; padding:12px 4px;
    }
    .sw__event-list-date { width:60px; min-height:66px; border-radius:10px; }
    .sw__event-list-day { font-size:24px; }
    .sw__event-list-title { font-size:15px; }
    .sw__event-list-meta { gap:4px 10px; font-size:11px; }
    .sw__event-list-action { grid-column:2; min-width:0; justify-content:flex-start; }
    .sw__event-list-action .sw__cta { min-width:0; width:auto; }
}
