/* ============================================================
   EVENTIX — Event Tickets Hub (theme code: eventix-store)
   Neon night energy · deep violet night #15082B
   Neon magenta #FF2EC4 + electric blue #2E9BFF duotone
   Dark glass event cards · ticket-stub perforations · spotlight
   beams + starfield · Clash Display + Inter + IBM Plex Sans Arabic
   Mobile-first · RTL-safe (logical properties) · reduced-motion aware
   ============================================================ */

:root {
    --ex-night: var(--tk-bg, #15082B);
    --ex-night-2: color-mix(in srgb, var(--tk-bg, #15082B), #fff 4.5%);
    --ex-night-3: color-mix(in srgb, var(--tk-bg, #15082B), #fff 8%);
    --ex-magenta: var(--tk-primary, #FF2EC4);
    --ex-magenta-deep: color-mix(in srgb, var(--tk-primary, #FF2EC4), #000 18.5%);
    --ex-blue: var(--tk-secondary, #2E9BFF);
    --ex-glass: rgba(255, 255, 255, .055);
    --ex-glass-2: rgba(255, 255, 255, .09);
    --ex-line: rgba(255, 255, 255, .11);
    --ex-line-soft: rgba(255, 255, 255, .07);
    --ex-line-neon: rgb(from var(--tk-primary, #FF2EC4) r g b / .38);
    --ex-perf: rgba(255, 255, 255, .22);
    --ex-ink: var(--tk-text, #F5F0FF);
    --ex-muted: color-mix(in srgb, var(--tk-text, #F5F0FF), var(--tk-bg, #15082B) 33%);
    --ex-faint: color-mix(in srgb, var(--tk-text, #F5F0FF), var(--tk-bg, #15082B) 52%);
    --ex-grad: linear-gradient(92deg, var(--tk-primary, #FF2EC4) 8%, var(--tk-secondary, #2E9BFF) 100%);
    --ex-grad-soft: linear-gradient(135deg, rgb(from var(--tk-primary, #FF2EC4) r g b / .16), rgb(from var(--tk-secondary, #2E9BFF) r g b / .13));
    --ex-glow-m: 0 0 22px rgb(from var(--tk-primary, #FF2EC4) r g b / .35);
    --ex-glow-b: 0 0 22px rgb(from var(--tk-secondary, #2E9BFF) r g b / .3);
    --ex-display: var(--tk-font-header, 'Clash Display'), 'IBM Plex Sans Arabic', 'Inter', sans-serif;
    --ex-body: var(--tk-font-content, 'Inter'), 'IBM Plex Sans Arabic', sans-serif;
    --ex-r: 18px;
    --ex-r-sm: 12px;
    --ex-ease: cubic-bezier(.22, 1, .36, 1);
    --ex-t: .45s var(--ex-ease);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body.ex-body {
    margin: 0;
    background-color: var(--ex-night);
    color: var(--ex-ink);
    font-family: var(--ex-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.ex-body a { color: var(--ex-blue); text-decoration: none; }
body.ex-body a:hover { color: var(--ex-magenta); }
body.ex-body ::selection { background: rgb(from var(--tk-primary, #FF2EC4) r g b / .4); color: #fff; }

/* ---------- Background system: spotlight beams + starfield ---------- */
body.ex-body::before {
    content: "";
    position: fixed;
    inset: -12% -8%;
    z-index: 0;
    pointer-events: none;
    background:
        conic-gradient(from 158deg at 12% -8%, transparent 43%, rgb(from var(--tk-primary, #FF2EC4) r g b / .14) 49%, transparent 56%),
        conic-gradient(from 202deg at 88% -8%, transparent 43%, rgb(from var(--tk-secondary, #2E9BFF) r g b / .15) 49%, transparent 56%),
        radial-gradient(58% 36% at 50% 0%, rgb(from var(--tk-primary, #FF2EC4) r g b / .1), transparent 72%),
        radial-gradient(40% 30% at 90% 100%, rgb(from var(--tk-secondary, #2E9BFF) r g b / .07), transparent 70%);
    filter: blur(2px);
    animation: ex-beam-sway 14s ease-in-out infinite alternate;
}

body.ex-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .55;
    background-image:
        radial-gradient(1.3px 1.3px at 24px 38px, rgba(255, 255, 255, .7) 50%, transparent 52%),
        radial-gradient(1px 1px at 142px 96px, rgba(255, 255, 255, .5) 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 252px 180px, rgb(from var(--tk-primary, #FF2EC4) r g b / .55) 50%, transparent 52%),
        radial-gradient(1px 1px at 332px 62px, rgba(255, 255, 255, .45) 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 84px 222px, rgb(from var(--tk-secondary, #2E9BFF) r g b / .55) 50%, transparent 52%),
        radial-gradient(1px 1px at 198px 286px, rgba(255, 255, 255, .4) 50%, transparent 52%);
    background-size: 380px 340px;
    animation: ex-twinkle 7s ease-in-out infinite alternate;
}

@keyframes ex-beam-sway {
    from { transform: rotate(-.6deg) translateY(-6px); }
    to { transform: rotate(.6deg) translateY(6px); }
}

@keyframes ex-twinkle {
    from { opacity: .3; }
    to { opacity: .65; }
}

/* ---------- Page shell ---------- */
.ex-page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 16px;
    padding-block-end: 104px; /* room for the mobile dock */
}

.ex-sec { padding-block: 26px 10px; }

.ex-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ex-blue);
}

.ex-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ex-grad);
}

.ex-sec-head { margin-block-end: 16px; }

.ex-sec-title {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: clamp(21px, 4.6vw, 30px);
    line-height: 1.15;
    margin: 6px 0 0;
    color: var(--ex-ink);
}

.ex-sec-sub { color: var(--ex-muted); font-size: 14px; margin: 6px 0 0; }

/* ---------- Notes (session messages) ---------- */
.ex-note {
    margin-block: 14px;
    padding: 12px 16px;
    border-radius: var(--ex-r-sm);
    border: 1px solid var(--ex-line);
    background: var(--ex-glass);
    font-weight: 600;
}

.ex-note.ok { border-color: rgb(from var(--tk-success, #38D9A9) r g b / .45); color: var(--tk-success, #6FE3BC); }
.ex-note.bad { border-color: rgb(from var(--tk-danger, #FF5A78) r g b / .45); color: var(--tk-danger, #FF8AA0); }

/* ---------- Buttons ---------- */
.ex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 0;
    border-radius: 13px;
    font-family: var(--ex-body);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--ex-t), box-shadow var(--ex-t), background var(--ex-t), border-color var(--ex-t);
    -webkit-tap-highlight-color: transparent;
}

.ex-btn i { font-size: 17px; }

.ex-btn-primary {
    background: var(--ex-grad);
    color: #14062B !important;
    box-shadow: var(--ex-glow-m);
}

.ex-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgb(from var(--tk-primary, #FF2EC4) r g b / .5); color: #14062B !important; }

.ex-btn-ghost {
    background: var(--ex-glass);
    color: var(--ex-ink) !important;
    border: 1px solid var(--ex-line);
}

.ex-btn-ghost:hover { border-color: var(--ex-line-neon); transform: translateY(-2px); color: var(--ex-ink) !important; }

.ex-btn-dark {
    background: var(--ex-night-3);
    color: var(--ex-muted) !important;
    border: 1px solid var(--ex-line);
}

.ex-btn-dark:hover { color: var(--ex-ink) !important; }

.ex-btn-block { display: flex; width: 100%; }

/* ---------- Topbar ---------- */
.ex-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    margin-inline: -16px;
    padding-inline: 16px;
    background: rgb(from var(--tk-bg, #15082B) r g b / .76);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ex-line-soft);
}

.ex-topbar-in {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 10px;
}

.ex-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }

.ex-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background: linear-gradient(var(--ex-night-2), var(--ex-night-2)) padding-box, var(--ex-grad) border-box;
}

.ex-logo-name {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 16.5px;
    color: var(--ex-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.ex-logo:hover .ex-logo-name { color: var(--ex-ink); }

.ex-topbar-actions { display: flex; align-items: center; gap: 10px; }

.ex-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ex-glass);
    border: 1px solid var(--ex-line);
    color: var(--ex-ink) !important;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: border-color var(--ex-t), box-shadow var(--ex-t);
}

.ex-cart-btn:hover { border-color: var(--ex-line-neon); box-shadow: var(--ex-glow-m); }
.ex-cart-btn i { font-size: 18px; color: var(--ex-magenta); }

.ex-badge {
    position: absolute;
    top: -7px;
    inset-inline-end: -7px;
    min-width: 21px;
    height: 21px;
    padding-inline: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ex-grad);
    color: #14062B;
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: var(--ex-glow-m);
}

/* ---------- Hero ---------- */
.ex-hero { padding-block: 34px 8px; }

.ex-hero-stack {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: clamp(34px, 9.6vw, 72px);
    line-height: .98;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin: 12px 0 0;
}

.ex-hero-stack span { display: block; }

.ex-hero-stack .neon {
    background: var(--ex-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgb(from var(--tk-primary, #FF2EC4) r g b / .35));
}

.ex-hero-sub {
    color: var(--ex-muted);
    font-size: 15px;
    max-width: 560px;
    margin-block: 14px 0;
}

.ex-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 20px; }

/* Hero media: backstage glow strip (scroll-snap slider) */
.ex-hero-stage { position: relative; margin-block-start: 26px; }

.ex-hero-stage::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 26px;
    background: var(--ex-grad-soft);
    filter: blur(26px);
    z-index: 0;
}

.ex-hero-media {
    position: relative;
    z-index: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: var(--ex-r);
    border: 1px solid var(--ex-line);
    scrollbar-width: none;
}

.ex-hero-media::-webkit-scrollbar { display: none; }

.ex-hero-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 8.5; }

.ex-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Trust strip ---------- */
.ex-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-block: 22px 4px;
}

.ex-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ex-glass);
    border: 1px solid var(--ex-line-soft);
    color: var(--ex-muted);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.ex-trust-chip i { color: var(--ex-blue); font-size: 15px; }

/* ---------- Genre pills rail ---------- */
.ex-genres {
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 6px 10px;
    margin-inline: -16px;
    padding-inline: 16px;
}

.ex-genres::-webkit-scrollbar { display: none; }

.ex-genres-in {
    display: flex;
    gap: 9px;
    width: max-content;
    margin-inline: auto;
}

.ex-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--ex-glass);
    border: 1px solid var(--ex-line);
    color: var(--ex-ink) !important;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    transition: border-color var(--ex-t), box-shadow var(--ex-t), transform var(--ex-t);
}

.ex-pill img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ex-pill i { font-size: 16px; color: var(--ex-blue); }
.ex-pill:hover { border-color: var(--ex-line-neon); transform: translateY(-1px); }

.ex-pill.active {
    background: var(--ex-grad);
    border-color: transparent;
    color: #14062B !important;
    box-shadow: var(--ex-glow-m);
}

.ex-pill.active i { color: #14062B; }

/* ---------- Event cards ---------- */
.ex-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block: 6px 16px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
}

.ex-rail::-webkit-scrollbar { display: none; }
.ex-rail > * { scroll-snap-align: center; }

.ex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
    gap: 13px;
}

.ex-event {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, var(--ex-glass-2), var(--ex-glass));
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-r);
    transition: transform var(--ex-t), box-shadow var(--ex-t), border-color var(--ex-t);
}

.ex-event:hover {
    transform: translateY(-4px);
    border-color: var(--ex-line-neon);
    box-shadow: 0 18px 44px rgba(8, 2, 20, .6), var(--ex-glow-m);
}

.ex-event-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--ex-r) - 1px) calc(var(--ex-r) - 1px) 0 0;
    overflow: hidden;
    background: var(--ex-night-3);
}

.ex-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ex-ease), opacity .5s var(--ex-ease);
}

.ex-event-media .ex-img-alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.ex-event:hover .ex-img-main { transform: scale(1.05); }
.ex-event:hover .ex-img-alt { opacity: 1; }

.ex-event-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(to top, rgba(13, 4, 30, .72), transparent);
    pointer-events: none;
}

/* Date chip (derived from badge) */
.ex-date {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    min-width: 44px;
    padding: 6px 9px;
    text-align: center;
    border-radius: 12px;
    background: rgba(13, 4, 30, .8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ex-line);
    border-top: 2px solid var(--ex-magenta);
    line-height: 1.05;
}

.ex-date b {
    display: block;
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.ex-date span {
    display: block;
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ex-blue);
}

.ex-date.one-line { display: inline-flex; align-items: center; min-width: 0; }
.ex-date.one-line b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* Urgency chip + sold-out stamp */
.ex-limited {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgb(from var(--tk-secondary, #2E9BFF) r g b / .18);
    border: 1px solid rgb(from var(--tk-secondary, #2E9BFF) r g b / .5);
    color: #9CD0FF;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ex-limited::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ex-blue);
    box-shadow: 0 0 8px var(--ex-blue);
    animation: ex-pulse 1.6s ease-in-out infinite;
}

@keyframes ex-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.ex-stamp {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: rgba(13, 4, 30, .58);
    pointer-events: none;
}

.ex-stamp span {
    transform: rotate(-12deg);
    padding: 7px 18px;
    border: 2px solid var(--tk-danger, #FF7E97);
    border-radius: 8px;
    outline: 2px solid rgb(from var(--tk-danger, #FF7E97) r g b / .35);
    outline-offset: 3px;
    color: var(--tk-danger, #FF9FB2);
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .26em;
    text-transform: uppercase;
}

/* Card body */
.ex-event-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 0; }

.ex-event-name {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.25;
    color: var(--ex-ink);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a:hover .ex-event-name { color: var(--ex-ink); }

.ex-venue {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ex-muted);
    font-size: 12.5px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ex-venue i { color: var(--ex-blue); font-size: 14px; flex-shrink: 0; }

/* Ticket-stub price footer: perforated tear + edge bites */
.ex-tear {
    position: relative;
    margin-block-start: auto;
    margin-block-end: 0;
    border-top: 2px dashed var(--ex-perf);
}

.ex-tear::before,
.ex-tear::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--ex-night);
}

.ex-tear::before { inset-inline-start: -20px; }
.ex-tear::after { inset-inline-end: -20px; }

.ex-stub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 14px;
}

.ex-price { display: flex; flex-direction: column; min-width: 0; }

.ex-price-now {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.1;
    background: var(--ex-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ex-price-was { color: var(--ex-faint); font-size: 12px; }
.ex-price-was del { color: inherit; }

.ex-save {
    display: inline-block;
    margin-inline-start: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgb(from var(--tk-primary, #FF2EC4) r g b / .16);
    border: 1px solid var(--ex-line-neon);
    color: #FF8ADC;
    font-size: 10.5px;
    font-weight: 800;
}

.ex-add {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--ex-grad);
    color: #14062B !important;
    font-size: 19px;
    cursor: pointer;
    box-shadow: var(--ex-glow-m);
    transition: transform var(--ex-t), box-shadow var(--ex-t);
}

.ex-add:hover { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 0 30px rgb(from var(--tk-primary, #FF2EC4) r g b / .55); }

.ex-oos {
    flex-shrink: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgb(from var(--tk-danger, #FF5A78) r g b / .12);
    border: 1px solid rgb(from var(--tk-danger, #FF5A78) r g b / .4);
    color: var(--tk-danger, #FF9FB2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Rank number on the Upcoming rail */
.ex-rank {
    position: absolute;
    top: 8px;
    inset-inline-end: 12px;
    z-index: 2;
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 38px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45);
}

/* ---------- Toolbar (search / price / sort) ---------- */
.ex-toolbar { display: grid; gap: 9px; margin-block-end: 18px; }

.ex-tool-row { display: flex; gap: 8px; margin: 0; }
.ex-tool-row .grow { flex: 1; }

body.ex-body .form-control,
body.ex-body .form-select {
    background-color: rgba(13, 4, 30, .55);
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-r-sm);
    color: var(--ex-ink);
    padding: 12px 15px;
    font-size: 14px;
    min-height: 46px;
    transition: border-color var(--ex-t), box-shadow var(--ex-t);
}

/* The sort/select chevron must not sit on top of the option text.
   Reserve room on the inline-end so the value clears the arrow in
   both LTR and RTL. */
body.ex-body .form-select { padding-inline-end: 40px; }

body.ex-body .form-control::placeholder { color: var(--ex-faint); }

body.ex-body .form-control:focus,
body.ex-body .form-select:focus {
    background-color: rgba(13, 4, 30, .75);
    border-color: var(--ex-line-neon);
    box-shadow: 0 0 0 3px rgb(from var(--tk-primary, #FF2EC4) r g b / .15);
    color: var(--ex-ink);
    outline: none;
}

body.ex-body .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A99BC6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
}

body.ex-body .form-select option { background: var(--ex-night-2); color: var(--ex-ink); }

body.ex-body .form-label { color: var(--ex-muted); font-weight: 600; }
body.ex-body .form-check-label { color: var(--ex-ink); }

body.ex-body .form-check-input {
    background-color: rgba(13, 4, 30, .6);
    border-color: var(--ex-line);
}

body.ex-body .form-check-input:checked {
    background-color: var(--ex-magenta);
    border-color: var(--ex-magenta);
}

/* ---------- Pagination ---------- */
body.ex-body .pagination { gap: 6px; }

body.ex-body .pagination .page-link {
    background: var(--ex-glass);
    border: 1px solid var(--ex-line);
    border-radius: 10px !important;
    color: var(--ex-muted);
    min-width: 38px;
    text-align: center;
    transition: border-color var(--ex-t), color var(--ex-t);
}

body.ex-body .pagination .page-link:hover { border-color: var(--ex-line-neon); color: var(--ex-ink); }

body.ex-body .pagination .page-item.active .page-link {
    background: var(--ex-grad);
    border-color: transparent;
    color: #14062B;
    font-weight: 800;
}

body.ex-body .pagination .page-item.disabled .page-link { opacity: .35; }

/* ---------- Empty states (CSS art, no assets) ---------- */
.ex-empty { text-align: center; padding-block: 44px 30px; }

.ex-empty h3 { font-family: var(--ex-display); font-weight: 600; font-size: 20px; margin-block: 16px 4px; }
.ex-empty p { color: var(--ex-muted); font-size: 13.5px; margin-block-end: 18px; }

.ex-empty-art,
.ex-empty-cart-art {
    position: relative;
    width: 150px;
    height: 84px;
    margin-inline: auto;
    border: 2px dashed var(--ex-perf);
    border-radius: 14px;
    background:
        radial-gradient(circle 9px at 0% 50%, var(--ex-night) 8px, transparent 9px),
        radial-gradient(circle 9px at 100% 50%, var(--ex-night) 8px, transparent 9px),
        var(--ex-grad-soft);
}

.ex-empty-art::after,
.ex-empty-cart-art::after {
    content: "";
    position: absolute;
    inset-block: 12px;
    inset-inline-end: 38px;
    border-inline-start: 2px dashed var(--ex-perf);
}

.ex-empty-art::before,
.ex-empty-cart-art::before {
    content: "★";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 42px;
    transform: translateY(-54%);
    color: var(--ex-magenta);
    font-size: 21px;
    text-shadow: 0 0 14px rgb(from var(--tk-primary, #FF2EC4) r g b / .6);
}

.ex-empty-cart-art { margin-block-start: 18px; }

/* ---------- Footer ---------- */
.ex-footer {
    margin-block-start: 40px;
    padding: 26px 20px 30px;
    border-radius: var(--ex-r);
    border: 1px solid var(--ex-line-soft);
    background: linear-gradient(180deg, var(--ex-glass), transparent);
    text-align: center;
}

.ex-footer-brand {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 19px;
    margin-block-end: 4px;
}

.ex-footer-tag {
    color: var(--ex-faint);
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-block-end: 16px;
}

.ex-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-block-end: 18px; }

.ex-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ex-glass);
    border: 1px solid var(--ex-line);
    color: var(--ex-muted) !important;
    font-size: 18px;
    transition: border-color var(--ex-t), color var(--ex-t), transform var(--ex-t);
}

.ex-socials a:hover { border-color: var(--ex-line-neon); color: var(--ex-ink) !important; transform: translateY(-2px); }

.ex-policy-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    padding: 0;
    margin: 0 0 14px;
}

.ex-policy-links a { color: var(--ex-muted); font-size: 12.5px; }
.ex-policy-links a:hover { color: var(--ex-ink); }

.ex-copy { color: var(--ex-faint); font-size: 12.5px; margin: 0; }
.ex-copy a { color: var(--ex-muted); }
.ex-copy i { color: var(--ex-magenta); }

/* ---------- Mobile dock ---------- */
.ex-dock {
    position: fixed;
    bottom: 14px;
    inset-inline: 0;
    z-index: 60;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding-inline: 16px;
}

.ex-dock-in {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px;
    border-radius: 999px;
    background: rgba(24, 10, 48, .88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ex-line);
    box-shadow: 0 14px 40px rgba(5, 1, 14, .65);
}

.ex-dock-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 7px 15px;
    border-radius: 999px;
    color: var(--ex-muted) !important;
    font-size: 10.5px;
    font-weight: 700;
}

.ex-dock-link i { font-size: 19px; }
.ex-dock-link.active { color: var(--ex-ink) !important; background: var(--ex-glass-2); }

.ex-dock-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--ex-grad);
    color: #14062B !important;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    box-shadow: var(--ex-glow-m);
}

.ex-dock-cart i { font-size: 18px; }

.ex-dock-count {
    min-width: 20px;
    height: 20px;
    padding-inline: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #14062B;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.ex-dock-count.is-empty { opacity: .45; }

/* ---------- Cart offcanvas ---------- */
body.ex-body .offcanvas {
    background: var(--ex-night-2);
    color: var(--ex-ink);
    border-inline-start: 1px solid var(--ex-line);
}

body.ex-body .offcanvas-header { border-bottom: 1px solid var(--ex-line-soft); }

body.ex-body .offcanvas-title {
    font-family: var(--ex-display);
    font-weight: 600;
    color: var(--ex-ink);
}

body.ex-body .offcanvas-footer {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-top: 2px dashed var(--ex-perf);
}

body.ex-body .btn-close {
    filter: invert(1) grayscale(1) brightness(1.6);
    opacity: .7;
}

.ex-cart-item {
    position: relative;
    display: block;
    padding: 12px;
    border-radius: var(--ex-r-sm);
    background: var(--ex-glass);
    border: 1px solid var(--ex-line);
    border-inline-start: 3px solid var(--ex-magenta);
}

.ex-cart-thumb {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ex-night-3);
}

.ex-cart-name { font-family: var(--ex-display); font-weight: 600; font-size: 15px; color: var(--ex-ink); margin: 0; }
.ex-cart-sub { color: var(--ex-faint); font-size: 12px; }

.ex-cart-price {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 15px;
    background: var(--ex-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ex-qty-btn,
.ex-del-btn {
    width: 33px;
    height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--ex-line);
    background: transparent;
    color: var(--ex-ink);
    cursor: pointer;
    transition: border-color var(--ex-t), color var(--ex-t);
    padding: 0;
}

.ex-qty-btn svg, .ex-del-btn svg { width: 16px; height: 16px; }
.ex-qty-btn:hover { border-color: var(--ex-line-neon); }

.ex-qty-num {
    width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ex-ink);
}

.ex-del-btn { margin-inline-start: 10px; border-color: rgb(from var(--tk-danger, #FF5A78) r g b / .4); color: var(--tk-danger, #FF9FB2); }
.ex-del-btn:hover { border-color: var(--tk-danger, #FF7E97); color: var(--tk-danger, #FF7E97); }

.ex-total { font-family: var(--ex-display); font-weight: 600; font-size: 18px; margin-block: 4px 12px; color: var(--ex-ink); }

.ex-total-num {
    background: var(--ex-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Modals ---------- */
body.ex-body .modal-content {
    background: var(--ex-night-2);
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-r);
    color: var(--ex-ink);
}

body.ex-body .modal-header { border-bottom: 1px solid var(--ex-line-soft); }
body.ex-body .modal-footer { border-top: 1px solid var(--ex-line-soft); }

body.ex-body .modal-title { font-family: var(--ex-display); font-weight: 600; color: var(--ex-ink); }
body.ex-body .modal-body .text-muted { color: var(--ex-faint) !important; }

/* Language switcher dropdown (platform include) */
body.ex-body .dropdown-menu {
    background: var(--ex-night-2);
    border: 1px solid var(--ex-line);
    border-radius: var(--ex-r-sm);
}

body.ex-body .dropdown-item { color: var(--ex-ink); }

body.ex-body .dropdown-item:hover,
body.ex-body .dropdown-item:focus { background: var(--ex-glass-2); color: var(--ex-ink); }

/* ---------- Single product ---------- */
.ex-pd { display: grid; gap: 24px; padding-block-start: 22px; }

.ex-gallery-main {
    position: relative;
    display: block;
    border-radius: var(--ex-r);
    overflow: hidden;
    border: 1px solid var(--ex-line);
    aspect-ratio: 4 / 3;
    background: var(--ex-night-3);
}

.ex-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ex-thumbs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-block: 10px 4px;
    scrollbar-width: none;
}

.ex-thumbs::-webkit-scrollbar { display: none; }

.ex-thumb {
    flex: 0 0 76px;
    height: 76px;
    border-radius: var(--ex-r-sm);
    overflow: hidden;
    border: 1px solid var(--ex-line);
    cursor: pointer;
    transition: border-color var(--ex-t);
}

.ex-thumb:hover { border-color: var(--ex-line-neon); }
.ex-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ex-pd-name {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: clamp(23px, 5.4vw, 34px);
    line-height: 1.12;
    margin: 8px 0 6px;
}

.ex-pd-venue { font-size: 14px; }

.ex-pd-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 14px; }

.ex-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ex-grad-soft);
    border: 1px solid var(--ex-line-neon);
    color: #FF8ADC;
    font-size: 12px;
    font-weight: 700;
}

.ex-stock-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(from var(--tk-success, #38D9A9) r g b / .12);
    border: 1px solid rgb(from var(--tk-success, #38D9A9) r g b / .45);
    color: var(--tk-success, #6FE3BC);
    font-size: 12px;
    font-weight: 700;
}

/* Big admit-one ticket panel (perforated, edge-bitten) */
.ex-ticket {
    position: relative;
    display: flex;
    align-items: stretch;
    margin-block: 16px;
    border: 1px solid var(--ex-line-neon);
    border-radius: var(--ex-r);
    background: var(--ex-grad-soft);
    overflow: visible;
}

.ex-ticket-main { flex: 1; padding: 16px 18px; min-width: 0; }

.ex-ticket-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ex-blue);
    margin-block-end: 4px;
}

.ex-ticket .ex-price-now { font-size: 28px; }
.ex-ticket .ex-price-was { font-size: 13px; }

.ex-ticket-side {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 16px;
    border-inline-start: 2px dashed var(--ex-perf);
    color: var(--ex-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
}

.ex-ticket-side i { font-size: 22px; color: var(--ex-magenta); }

.ex-ticket-side::before,
.ex-ticket-side::after {
    content: "";
    position: absolute;
    inset-inline-start: -9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ex-night);
}

.ex-ticket-side::before { top: -9px; }
.ex-ticket-side::after { bottom: -9px; }

.ex-pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 6px 18px; }
.ex-pd-actions .ex-btn { flex: 1; min-width: 170px; }

.ex-prose { color: var(--ex-muted); font-size: 14.5px; }
.ex-prose p { margin-block: 0 10px; }
.ex-prose h1, .ex-prose h2, .ex-prose h3, .ex-prose h4 { color: var(--ex-ink); font-family: var(--ex-display); font-weight: 600; }
.ex-prose strong, .ex-prose b { color: var(--ex-ink); }
.ex-prose img { max-width: 100%; border-radius: var(--ex-r-sm); }
.ex-prose ul, .ex-prose ol { padding-inline-start: 20px; }

/* Share include re-skin (overrides its inline styles) */
body.ex-body .share-title { color: var(--ex-muted) !important; }

body.ex-body .share-icon {
    background: var(--ex-glass) !important;
    border: 1px solid var(--ex-line) !important;
}

body.ex-body .share-icon:hover {
    background: var(--ex-glass-2) !important;
    border-color: var(--ex-line-neon) !important;
    box-shadow: var(--ex-glow-m) !important;
}

body.ex-body .share-icon.x { color: #E9E4F4; }
body.ex-body .share-icon.email { color: #B9AEDB; }

/* ---------- Categories page: scene tiles ---------- */
.ex-scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }

.ex-scene {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--ex-r);
    overflow: hidden;
    border: 1px solid var(--ex-line);
    background: var(--ex-night-3);
    transition: transform var(--ex-t), border-color var(--ex-t), box-shadow var(--ex-t);
}

.ex-scene:hover {
    transform: translateY(-4px);
    border-color: var(--ex-line-neon);
    box-shadow: 0 18px 44px rgba(8, 2, 20, .6), var(--ex-glow-b);
}

.ex-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ex-ease);
}

.ex-scene:hover img { transform: scale(1.06); }

.ex-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 4, 30, .85) 8%, rgba(13, 4, 30, .12) 55%, transparent);
    pointer-events: none;
}

.ex-scene-name {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    inset-inline: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 15.5px;
}

.ex-scene-name i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ex-grad);
    color: #14062B;
    font-size: 15px;
}

.ex-scene.all {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle 8px at 0% 50%, var(--ex-night) 7px, transparent 8px),
        radial-gradient(circle 8px at 100% 50%, var(--ex-night) 7px, transparent 8px),
        var(--ex-grad-soft);
    border-style: dashed;
    border-color: var(--ex-perf);
}

.ex-scene.all .ex-scene-all-in { text-align: center; padding: 10px; }
.ex-scene.all i { font-size: 26px; color: var(--ex-magenta); }

.ex-scene.all b {
    display: block;
    margin-block-start: 6px;
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--ex-ink);
}

/* ---------- Policy page ---------- */
.ex-policy-panel {
    margin-block-start: 22px;
    padding: 22px 18px;
    border-radius: var(--ex-r);
    border: 1px solid var(--ex-line);
    background: var(--ex-glass);
}

.ex-policy-title {
    font-family: var(--ex-display);
    font-weight: 600;
    font-size: clamp(22px, 5vw, 30px);
    margin: 8px 0 16px;
    padding-block-end: 14px;
    border-bottom: 2px dashed var(--ex-perf);
}

/* ---------- Preloader ---------- */
body.ex-body .preloader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--ex-night);
}

.ex-loader {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: var(--ex-magenta);
    border-inline-end-color: var(--ex-blue);
    animation: ex-spin .9s linear infinite;
}

@keyframes ex-spin { to { transform: rotate(360deg); } }

/* ---------- Wallet partial spacing ---------- */
.scaanme-wallet-buttons { margin-block: 26px 6px !important; }

/* ---------- ≥760px layer ---------- */
@media (min-width: 760px) {
    .ex-page { padding-inline: 24px; }
    .ex-topbar { margin-inline: -24px; padding-inline: 24px; }

    .ex-hero {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
        gap: 36px;
        padding-block: 52px 14px;
    }

    .ex-hero-stage { margin-block-start: 0; }
    .ex-hero-slide { aspect-ratio: 16 / 11; }

    .ex-rail { grid-auto-columns: 285px; margin-inline: -24px; padding-inline: 24px; }
    .ex-genres { margin-inline: -24px; padding-inline: 24px; }

    .ex-grid { grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); gap: 16px; }

    .ex-toolbar { grid-template-columns: 1.2fr 1.2fr .8fr; align-items: center; }

    .ex-pd { grid-template-columns: 1.02fr .98fr; gap: 34px; }

    .ex-scenes { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    .ex-footer { text-align: start; }
    .ex-footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
    .ex-socials { justify-content: flex-end; }
    .ex-policy-links { justify-content: flex-start; }

    .ex-policy-panel { padding: 30px 34px; }
}

@media (min-width: 1024px) {
    .ex-page { padding-block-end: 40px; }
    .ex-scenes { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion: the night stands still ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    body.ex-body::before,
    body.ex-body::after,
    .ex-limited::before,
    .ex-loader { animation: none !important; }

    .ex-btn, .ex-add, .ex-event, .ex-scene, .ex-pill, .ex-socials a,
    .ex-event-media img, .ex-scene img {
        transition: none !important;
    }

    .ex-event:hover, .ex-scene:hover, .ex-btn-primary:hover, .ex-add:hover { transform: none; }
    .ex-event:hover .ex-img-main, .ex-scene:hover img { transform: none; }
}

/* ============================================================
   RTL hardening (founder remark: Arabic layout breakage)
   The store cart markup is injected by platform JS using Bootstrap
   PHYSICAL spacing utilities (me-3 → margin-right) that do NOT flip
   in RTL, so the ticket thumbnail hugged the card edge while the
   name/price slid under it. Re-map those to logical spacing and
   flip the directional glyphs. Numbers/prices stay LTR via <bdi>.
   ============================================================ */
body.ex-body[dir="rtl"] .ex-cart-item .me-3 {
    margin-right: 0 !important;
    margin-inline-end: 14px !important;
}
/* Keep the cart row tidy: text column never collapses or overflows
   under the thumbnail in either direction. */
body.ex-body .ex-cart-item .flex-grow-1 { min-width: 0; }
body.ex-body .ex-cart-name,
body.ex-body .ex-cart-sub {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Flip "forward / into" directional icons so they point with the
   reading direction in RTL (scene tiles, any chevron-right). */
body.ex-body[dir="rtl"] .ex-scene-name i.ti-arrow-right,
body.ex-body[dir="rtl"] .ti-chevron-right {
    transform: scaleX(-1);
}

/* Prices / discount badges must read left-to-right even inside an
   RTL paragraph (otherwise "-20%" mirrors to "20%-"). */
body.ex-body bdi { unicode-bidi: isolate; }
body.ex-body[dir="rtl"] .ex-save,
body.ex-body[dir="rtl"] .ex-price-now,
body.ex-body[dir="rtl"] .ex-price-was,
body.ex-body[dir="rtl"] .ex-cart-price,
body.ex-body[dir="rtl"] .ex-total-num {
    direction: ltr;
    unicode-bidi: isolate;
}
/* In RTL the price block should still sit at the inline-start (right)
   edge of the stub; isolate keeps the glyph order correct. */
body.ex-body[dir="rtl"] .ex-price { text-align: start; }

/* Sort dropdown chevron: move to the inline-start (left) edge in RTL
   and reserve the matching gutter so the option text never collides. */
body.ex-body[dir="rtl"] .form-select {
    background-position: left 14px center;
    padding-inline-end: 15px;
    padding-inline-start: 40px;
}


/* ============================================================
   Cart toast — bulletproof compact pill.
   Overrides the legacy inline showAlert() sizing (width:75% /
   inset-inline:0) that made the Tabler solid alert blow up to a
   half-screen green panel. Forces a centered top toast, auto height.
   ============================================================ */
.alert-float {
    position: fixed !important;
    inset-block-start: 16px !important;
    inset-block-end: auto !important;
    bottom: auto !important;
    inset-inline: 16px !important;
    z-index: 4000;
    width: auto !important;
    max-width: 420px !important;
    margin-inline: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 13px 20px !important;
    border: 0 !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.4;
    background: var(--tk-success, #1f7a4d) !important;
    color: #fff !important;
    box-shadow: 0 16px 38px -10px rgba(0, 0, 0, .42);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.alert-float.show {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}
.alert-float .btn-close,
.alert-float .alert-icon { display: none !important; }
@media (prefers-reduced-motion: reduce) {
    .alert-float { transition: none; }
}


/* ============================================================
   GLOBAL CONTAINMENT BASELINE (founder remark: diagonal-scroll
   drift / horizontal "wiggle" on mobile + zoom-out).
   overflow-x:clip on html is sticky-safe (unlike hidden) and
   stops the horizontal pan; overscroll-behavior-x:none kills the
   rubber-band; max-width:100% + min-width:0 prevent any child
   from forcing the document wider than the viewport.
   ============================================================ */
html { overflow-x: clip; }
body { overflow-x: clip; overscroll-behavior-x: none; max-width: 100%; }
/* horizontal scrollers keep their swipe to themselves */
.car-track, .reel, .film-reel, .tm-track, .letters, .marquee, .marquee-track,
[class*="-track"], [class*="-rail"], [class*="-carousel"], [class*="-scroll"] {
    overscroll-behavior-x: contain;
    max-width: 100vw;
}
