﻿/* TicLite Emerald */

body.theme-emerald {
    --em-ink: #111118;
    --em-ink-dim: #3a3a45;
    --em-muted: #6b6b76;
    --em-line: #e6e6ec;
    --em-surface: #ffffff;
    --em-elevated: #ffffff;
    --em-soft: #f4f4f7;
    --em-primary: var(--theme-primary, #6b4eff);
    --em-accent: var(--theme-accent, #6b4eff);
    --em-accent-hover: #5740e0;
    --em-danger: #c62828;
    --em-radius: 16px;
    --em-radius-sm: 10px;
    --em-shadow: 0 8px 28px rgba(17, 17, 24, 0.08);

    margin: 0;
    color: var(--em-ink);
    background: var(--em-surface);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}

body.theme-emerald *,
body.theme-emerald *::before,
body.theme-emerald *::after { box-sizing: border-box; }

body.theme-emerald a { color: var(--em-ink); text-decoration: none; }
body.theme-emerald a:hover { color: var(--em-primary); }

body.theme-emerald .em-container {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
}

body.theme-emerald .em-muted { color: var(--em-muted); }

body.theme-emerald .sf-local-guides__link.is-current,
body.theme-emerald .sf-state-cities__link.is-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    color: var(--em-primary);
    background: color-mix(in srgb, var(--em-primary) 10%, #fff);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--em-primary) 45%, transparent);
    font-weight: 800;
}

body.theme-emerald .sf-local-guides__link.is-current {
    padding: .42rem .7rem;
    margin: .1rem -0.7rem;
}

body.theme-emerald .sf-state-cities__link.is-current {
    padding: .7rem .85rem;
}

body.theme-emerald .sf-local-guides__link.is-current:hover,
body.theme-emerald .sf-state-cities__link.is-current:hover,
body.theme-emerald .sf-local-guides__link.is-current:focus-visible,
body.theme-emerald .sf-state-cities__link.is-current:focus-visible {
    color: var(--em-accent-hover);
    background: color-mix(in srgb, var(--em-primary) 16%, #fff);
}

body.theme-emerald .sf-place-you {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: var(--em-primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Top utility bar */
body.theme-emerald .site-topbar {
    background: #fafafb;
    border-bottom: 1px solid var(--em-line);
    font-size: .8rem;
    color: var(--em-muted);
}

body.theme-emerald .site-topbar .em-container {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 34px;
    align-items: center;
}

body.theme-emerald .site-topbar .site-topbar__inner {
    justify-content: flex-start;
}

body.theme-emerald .site-topbar a { color: var(--em-ink-dim); font-weight: 500; }
body.theme-emerald .site-topbar a:hover { color: var(--em-primary); }

body.theme-emerald .site-topbar a.storefront-location__label[href],
body.theme-emerald .site-topbar a.storefront-location__label[href]:link,
body.theme-emerald .site-topbar a.storefront-location__label[href]:visited {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.theme-emerald .site-topbar a.storefront-location__label[href]:hover,
body.theme-emerald .site-topbar a.storefront-location__label[href]:focus-visible {
    color: var(--em-primary);
}

/* Header */
body.theme-emerald .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--em-line);
}

body.theme-emerald .site-header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 72px;
    padding: .65rem 0;
}

body.theme-emerald .site-header__end {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-left: auto;
    flex-shrink: 0;
}

body.theme-emerald .em-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    margin: 0;
    border: 1px solid var(--em-line);
    border-radius: 999px;
    background: var(--em-soft);
    color: var(--em-ink);
    cursor: pointer;
}

body.theme-emerald .em-nav-toggle span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
    transform-origin: center;
}

body.theme-emerald .em-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.theme-emerald .em-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

body.theme-emerald .em-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.theme-emerald .em-mobile-nav {
    display: none;
}

body.theme-emerald .brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--em-ink);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

body.theme-emerald .brand:hover { color: var(--em-ink); }

body.theme-emerald .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--em-primary);
    display: grid;
    place-items: center;
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
}

body.theme-emerald .brand img { max-height: 44px; width: auto; display: block; }

body.theme-emerald .site-cats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: .95rem;
}

body.theme-emerald .site-cats a { color: var(--em-ink-dim); }
body.theme-emerald .site-cats a:hover { color: var(--em-primary); }

body.theme-emerald .site-nav {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-size: .9rem;
    font-weight: 600;
    flex-shrink: 0;
}

body.theme-emerald .site-nav a { color: var(--em-ink-dim); }
body.theme-emerald .site-nav a:hover { color: var(--em-primary); }

body.theme-emerald .site-nav .sf-cart-link,
body.theme-emerald .site-nav .sf-cart-link__icon,
body.theme-emerald .site-nav .sf-member-menu__toggle,
body.theme-emerald .site-nav .sf-member-menu__direct,
body.theme-emerald .site-nav .sf-member-menu__icon {
    color: var(--em-ink-dim);
}

body.theme-emerald .site-nav .sf-cart-link:hover,
body.theme-emerald .site-nav .sf-cart-link:hover .sf-cart-link__icon,
body.theme-emerald .site-nav .sf-member-menu__toggle:hover,
body.theme-emerald .site-nav .sf-member-menu__direct:hover,
body.theme-emerald .site-nav .sf-member-menu.is-open .sf-member-menu__toggle,
body.theme-emerald .site-nav .sf-member-menu__toggle:hover .sf-member-menu__icon,
body.theme-emerald .site-nav .sf-member-menu__direct:hover .sf-member-menu__icon {
    color: var(--em-primary);
}

body.theme-emerald .site-nav .sf-member-menu__toggle.is-signed-in::after {
    box-shadow: 0 0 0 2px var(--em-surface, #fff);
}

body.theme-emerald .site-nav .sf-member-menu__panel {
    right: 0;
    left: auto;
}

body.theme-emerald .site-nav .sf-cart-link__badge {
    --sf-cart-badge: var(--em-primary);
    --sf-cart-badge-ink: #fff;
}

/* Search under header */
body.theme-emerald .em-search-wrap {
    padding: 1rem 0 1.25rem;
    background: var(--em-surface);
}

body.theme-emerald .em-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(720px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d8d8e0;
    border-radius: 999px;
    padding: .35rem .35rem .35rem 1.15rem;
    box-shadow: var(--em-shadow);
}

body.theme-emerald .em-search input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: .85rem .65rem;
    font: inherit;
    font-size: 1rem;
    color: var(--em-ink);
    outline: none;
}

body.theme-emerald .em-search input::placeholder { color: #8a8a96; }

body.theme-emerald .em-search button {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--em-primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

body.theme-emerald .em-search button:hover { background: var(--em-accent-hover); }
body.theme-emerald .em-search button svg { width: 20px; height: 20px; display: block; }

/* Main */
body.theme-emerald .site-main {
    padding: 0 0 3.5rem;
    min-height: 55vh;
    background: var(--em-surface);
}

body.theme-emerald .site-main.is-home { padding-top: 0; }

body.theme-emerald .em-section {
    padding: 1.5rem 0 0;
}

body.theme-emerald .em-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body.theme-emerald .em-section-head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--em-ink);
}

body.theme-emerald .em-section-head a {
    color: var(--em-muted);
    font-weight: 600;
    font-size: .95rem;
}

body.theme-emerald .em-section-head a:hover { color: var(--em-primary); }

body.theme-emerald .em-home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    body.theme-emerald .em-home-split.is-split {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 2rem;
    }
}

body.theme-emerald .em-home-split__main,
body.theme-emerald .em-home-split__aside {
    min-width: 0;
}

body.theme-emerald .em-home-split__main {
    overflow: hidden;
}

body.theme-emerald .em-home-split.is-split .em-rail-carousel,
body.theme-emerald .em-home-split.is-split .em-rail-carousel__viewport {
    max-width: 100%;
}

body.theme-emerald .em-teams {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body.theme-emerald .em-teams .em-section-head {
    margin-bottom: .85rem;
}

body.theme-emerald .em-teams__eyebrow {
    margin: 0 0 .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--em-muted);
}

body.theme-emerald .em-teams__body {
    display: grid;
    gap: 1rem;
}

body.theme-emerald .em-teams__group {
    min-width: 0;
}

body.theme-emerald .em-teams__league {
    margin: 0 0 .35rem;
    padding-bottom: .25rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--em-ink);
    border-bottom: 2px solid var(--em-primary);
    display: inline-block;
}

body.theme-emerald .em-teams__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-emerald .em-team,
body.theme-emerald a.em-team {
    display: block;
    padding: .28rem 0;
    color: var(--em-ink);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    border: 0;
    background: none;
    box-shadow: none;
}

body.theme-emerald a.em-team:hover,
body.theme-emerald a.em-team:focus-visible {
    color: var(--em-primary);
    outline: none;
}

@media (max-width: 959px) {
    body.theme-emerald .em-home-split.is-split .em-teams__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 520px) {
    body.theme-emerald .em-home-split.is-split .em-teams__body {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Filter pills */
body.theme-emerald .em-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.25rem 0 0;
}

body.theme-emerald .em-filter,
body.theme-emerald a.em-filter,
body.theme-emerald a.em-filter:link,
body.theme-emerald a.em-filter:visited {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    border: 1px solid #cfcfd8;
    background: #fff;
    color: var(--em-ink) !important;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none !important;
}

body.theme-emerald .em-filter:hover,
body.theme-emerald a.em-filter:hover,
body.theme-emerald a.em-filter:focus-visible {
    border-color: var(--em-ink);
    color: var(--em-ink) !important;
}

body.theme-emerald .em-filter.is-active,
body.theme-emerald a.em-filter.is-active,
body.theme-emerald a.em-filter.is-active:link,
body.theme-emerald a.em-filter.is-active:visited,
body.theme-emerald a.em-filter.is-active:hover,
body.theme-emerald a.em-filter.is-active:focus-visible {
    background: var(--em-primary);
    border-color: var(--em-primary);
    color: #fff !important;
}

body.theme-emerald .theme-pagination {
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1rem;
}
body.theme-emerald .theme-pagination__meta {
    margin: 0;
    color: var(--em-muted);
    font-size: .92rem;
    font-weight: 600;
}
body.theme-emerald .theme-pagination__meta--solo { margin-top: 1rem; }
body.theme-emerald .theme-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}
body.theme-emerald .theme-pagination__pages a,
body.theme-emerald .theme-pagination__pages strong,
body.theme-emerald .theme-pagination__nav {
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 .55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--em-border, #e5e7eb);
    background: #fff;
    color: var(--em-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
}
body.theme-emerald .theme-pagination__pages a:hover,
body.theme-emerald .theme-pagination__nav:hover {
    border-color: var(--em-primary);
    color: var(--em-primary);
}
body.theme-emerald .theme-pagination__pages strong {
    background: var(--em-primary);
    border-color: var(--em-primary);
    color: #fff !important;
}
body.theme-emerald .theme-pagination__ellipsis,
body.theme-emerald .theme-pagination__nav.is-disabled {
    border: 0;
    background: transparent;
    color: var(--em-muted);
    min-width: 1.25rem;
}
body.theme-emerald .theme-pagination__nav.is-disabled { cursor: default; }

/* Popular rail carousel */
body.theme-emerald .em-rail-carousel {
    position: relative;
    margin: 0 -.15rem;
}

body.theme-emerald .em-rail-carousel__viewport {
    min-width: 0;
}

body.theme-emerald .em-rail-carousel__arrow {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    border: 1px solid rgba(26, 26, 46, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--em-ink);
    box-shadow: 0 8px 22px rgba(26, 26, 46, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
}

body.theme-emerald .em-rail-carousel.is-scrollable .em-rail-carousel__arrow {
    display: inline-flex;
}

body.theme-emerald .em-rail-carousel__arrow:hover,
body.theme-emerald .em-rail-carousel__arrow:focus-visible {
    background: #fff;
    border-color: var(--em-primary);
    color: var(--em-primary);
    outline: none;
}

body.theme-emerald .em-rail-carousel__arrow:disabled {
    opacity: .35;
    cursor: default;
}

body.theme-emerald .em-rail-carousel__arrow--prev { left: .15rem; }
body.theme-emerald .em-rail-carousel__arrow--next { right: .15rem; }

body.theme-emerald .em-rail-carousel__arrow svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

body.theme-emerald .em-rail-carousel.is-autoplaying .event-listing__grid--rail,
body.theme-emerald .em-rail-carousel.is-autoplaying .em-rail {
    scroll-snap-type: none;
}

/* Popular rail */
body.theme-emerald .em-rail {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    padding: .25rem .1rem 1.1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

body.theme-emerald .em-rail::-webkit-scrollbar { height: 0; }

body.theme-emerald .event-card-rail {
    flex: 0 0 210px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    color: var(--em-ink);
}

body.theme-emerald .event-card-rail:hover { color: var(--em-ink); }

body.theme-emerald .event-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 20%, rgba(107, 78, 255, 0.35), transparent 55%),
        linear-gradient(160deg, #ece8ff 0%, #d9d4f5 100%);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 2rem;
    color: #3d2f99;
    letter-spacing: -0.03em;
    overflow: hidden;
}
body.theme-emerald .event-card-media--image {
    font-size: 0;
    color: transparent;
}
body.theme-emerald .event-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
body.theme-emerald .event-card-media__date {
    position: absolute;
    left: .65rem;
    bottom: .65rem;
    z-index: 1;
    padding: .28rem .55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

body.theme-emerald .event-card-rail .event-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.theme-emerald .event-card-rail .event-card-date {
    font-size: .88rem;
    color: var(--em-muted);
    font-weight: 500;
}

body.theme-emerald .event-card-rail.is-placeholder { pointer-events: none; }

body.theme-emerald .event-card-rail.is-placeholder .event-card-media {
    background: linear-gradient(160deg, #ececf1 0%, #e0e0e8 100%);
}

body.theme-emerald .event-card-rail.is-placeholder:nth-child(2) .event-card-media {
    background: linear-gradient(160deg, #e8e4f5 0%, #ddd8ef 100%);
}
body.theme-emerald .event-card-rail.is-placeholder:nth-child(3) .event-card-media {
    background: linear-gradient(160deg, #e4eef5 0%, #d8e6ef 100%);
}
body.theme-emerald .event-card-rail.is-placeholder:nth-child(4) .event-card-media {
    background: linear-gradient(160deg, #f5e8ec 0%, #efd8df 100%);
}
body.theme-emerald .event-card-rail.is-placeholder:nth-child(5) .event-card-media {
    background: linear-gradient(160deg, #e8f5ec 0%, #d8efdf 100%);
}

body.theme-emerald .event-card-skel {
    height: 14px;
    width: 72%;
    border-radius: 6px;
    background: #e4e4ea;
}

body.theme-emerald .event-card-skel-sm {
    width: 48%;
    height: 12px;
    margin-top: -.25rem;
}

/* Event list rows */
body.theme-emerald .event-grid {
    display: grid;
    gap: .85rem;
}

body.theme-emerald .event-card {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr) auto;
    gap: 1rem 1.15rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--em-line);
    border-radius: 14px;
    color: var(--em-ink);
    box-shadow: 0 1px 2px rgba(17, 17, 24, 0.04);
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.theme-emerald .event-card:hover {
    border-color: #c9c4ef;
    box-shadow: var(--em-shadow);
    color: var(--em-ink);
}

body.theme-emerald .event-card.is-placeholder {
    pointer-events: none;
    min-height: 88px;
    background: #fafafb;
}

body.theme-emerald .event-card-cal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 4.25rem;
    min-height: 4.75rem;
    border: 1px solid #ddd8f5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    line-height: 1;
}

body.theme-emerald .event-card-cal__month {
    display: block;
    width: 100%;
    padding: .45rem .2rem .15rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--em-primary);
}

body.theme-emerald .event-card-cal__day {
    display: block;
    width: 100%;
    padding: .1rem .2rem .35rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--em-primary);
}

body.theme-emerald .event-card-cal__weekday {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: .35rem .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--em-primary);
    background: rgba(107, 78, 255, 0.12);
}

@supports (background: color-mix(in srgb, white 50%, black)) {
    body.theme-emerald .event-card-cal__weekday {
        background: color-mix(in srgb, var(--em-primary) 12%, #fff);
    }
}

body.theme-emerald .event-card-body { min-width: 0; }

body.theme-emerald .event-card-title {
    margin: 0 0 .25rem;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.theme-emerald .event-card-meta {
    color: var(--em-ink-dim);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.35;
}

body.theme-emerald .event-card-flag {
    display: inline-block;
    width: 1.15em;
    height: auto;
    margin-right: .3rem;
    vertical-align: -0.12em;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(17, 17, 24, 0.08);
}

body.theme-emerald .event-card-venue {
    margin-top: .15rem;
    color: var(--em-muted);
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-emerald .event-card-badges {
    list-style: none;
    margin: .55rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

body.theme-emerald .event-card-badges > li {
    list-style: none;
}

body.theme-emerald .event-card-badge {
    display: inline-flex;
    align-items: center;
    padding: .28rem .55rem;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

body.theme-emerald .event-card-badge--weekend {
    background: #eef0f4;
    color: #3d4450;
}

body.theme-emerald .event-card-badge--hottest {
    background: rgba(107, 78, 255, 0.14);
    color: #4a35c4;
}

@supports (background: color-mix(in srgb, white 50%, black)) {
    body.theme-emerald .event-card-badge--hottest {
        background: color-mix(in srgb, var(--em-primary) 14%, #fff);
    }
}

body.theme-emerald .event-card-badge--fast {
    background: #fdecef;
    color: #b4233a;
}

body.theme-emerald .event-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: .65rem 1.15rem;
    border-radius: 999px;
    background: var(--em-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: .92rem;
    white-space: nowrap;
}

body.theme-emerald .event-card:hover .event-card-cta {
    background: var(--em-accent-hover);
    color: #fff !important;
}

body.theme-emerald .event-card-date {
    font-size: .88rem;
    font-weight: 700;
    color: var(--em-primary);
    line-height: 1.3;
}

body.theme-emerald .em-empty {
    padding: 2.25rem 1.25rem;
    text-align: center;
    color: var(--em-muted);
    background: var(--em-soft);
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
}

/* Page chrome */
body.theme-emerald .em-page-header { margin: 1.25rem 0 1.35rem; }

body.theme-emerald .em-page-header .em-eyebrow {
    margin: 0 0 .35rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--em-muted);
}

body.theme-emerald .em-page-header h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--em-ink);
}

body.theme-emerald .em-page-meta {
    margin: .45rem 0 0;
    color: var(--em-muted);
}

body.theme-emerald .em-panel {
    background: #fff;
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
    padding: 1.35rem 1.4rem;
    box-shadow: 0 1px 2px rgba(17, 17, 24, 0.04);
}

body.theme-emerald .button,
body.theme-emerald button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--em-primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: .7rem 1.25rem;
    cursor: pointer;
}

body.theme-emerald .button:hover,
body.theme-emerald button.button:hover {
    background: var(--em-accent-hover);
    color: #fff;
}

body.theme-emerald .button-secondary {
    background: #fff;
    color: var(--em-ink);
    border: 1px solid #cfcfd8;
}

body.theme-emerald .button-secondary:hover {
    border-color: var(--em-ink);
    color: var(--em-ink);
    background: #fff;
}

body.theme-emerald .button-small {
    padding: .45rem .95rem;
    font-size: .9rem;
}

body.theme-emerald .form-stack { display: grid; gap: 1.15rem; }

body.theme-emerald .form-stack label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
    font-weight: 600;
    font-size: .95rem;
    min-width: 0;
    align-content: start;
}

body.theme-emerald .form-stack .field-label {
    display: block;
    line-height: 1.3;
    min-height: 1.3em;
}

body.theme-emerald .form-stack .req {
    color: var(--em-danger);
    font-weight: 700;
}

body.theme-emerald .form-stack input,
body.theme-emerald .form-stack select,
body.theme-emerald .form-stack textarea {
    width: 100%;
    max-width: 100%;
    min-height: 3rem;
    border: 1px solid #cfcfd8;
    border-radius: var(--em-radius-sm);
    padding: .85rem 1rem;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--em-ink);
    box-sizing: border-box;
}

body.theme-emerald .form-stack textarea {
    min-height: 10rem;
    resize: vertical;
    line-height: 1.5;
}

body.theme-emerald .form-stack input:focus,
body.theme-emerald .form-stack select:focus,
body.theme-emerald .form-stack textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--em-primary) 35%, white);
    border-color: var(--em-primary);
}

body.theme-emerald .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    min-width: 0;
    align-items: start;
}

body.theme-emerald .address-fields { display: grid; gap: 1rem; }

/* Contact */
body.theme-emerald .em-container.em-contact {
    width: min(760px, calc(100% - 2rem));
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 3rem;
}

body.theme-emerald .em-contact .em-page-header {
    margin: 1.5rem 0 1.25rem;
}

body.theme-emerald .em-contact__panel {
    padding: 1.5rem 1.35rem;
}

body.theme-emerald .contact-form__actions {
    display: grid;
    gap: .75rem;
    margin-top: .35rem;
}

body.theme-emerald .contact-form__submit {
    width: 100%;
    min-height: 3.1rem;
    font-size: 1rem;
}

body.theme-emerald .contact-form__recaptcha {
    max-width: 100%;
    overflow: hidden;
}

body.theme-emerald .contact-form__recaptcha .g-recaptcha {
    transform-origin: left top;
}


/* Cart */
body.theme-emerald .cart-table {
    width: 100%;
    border-collapse: collapse;
}

body.theme-emerald .cart-table th,
body.theme-emerald .cart-table td {
    padding: .85rem .35rem;
    border-bottom: 1px solid var(--em-line);
    text-align: left;
    vertical-align: top;
}

body.theme-emerald .cart-table th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--em-muted);
}

/* Notices */
body.theme-emerald .notice {
    margin: 0 0 1rem;
    padding: .85rem 1rem;
    border-radius: var(--em-radius-sm);
    font-weight: 600;
}

body.theme-emerald .notice-success { background: #e8f8ef; color: #14532d; }
body.theme-emerald .notice-error { background: #fdecea; color: #7f1d1d; }
body.theme-emerald .notice-info { background: #eeeaff; color: #3d2f99; }

/* Footer */
body.theme-emerald .site-footer {
    border-top: 1px solid var(--em-line);
    background: #fafafb;
    padding: 2rem 0;
    color: var(--em-muted);
    font-size: .9rem;
}

body.theme-emerald .site-footer .em-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

body.theme-emerald .site-footer p { margin: 0; }

body.theme-emerald .site-footer .em-footer__meta a,
body.theme-emerald .site-footer .em-footer__meta a:link,
body.theme-emerald .site-footer .em-footer__meta a:visited {
    color: var(--em-ink-dim);
    font-weight: 600;
    text-decoration: none;
}

body.theme-emerald .site-footer .em-footer__meta a:hover,
body.theme-emerald .site-footer .em-footer__meta a:focus-visible {
    color: var(--em-primary);
}

body.theme-emerald .em-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

body.theme-emerald .em-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--em-primary);
    border: 1px solid var(--em-primary);
    color: #fff !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

body.theme-emerald .em-social__link:hover,
body.theme-emerald .em-social__link:focus-visible {
    background: #0d5c45;
    border-color: #0d5c45;
    color: #fff !important;
    text-decoration: none !important;
}

/* Category browse */
body.theme-emerald .em-category { padding-bottom: 2.5rem; }

body.theme-emerald .em-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    align-items: center;
    margin: 1.1rem 0 0;
    font-size: .9rem;
    color: var(--em-muted);
}

body.theme-emerald .em-crumbs a { color: var(--em-ink); font-weight: 600; }
body.theme-emerald .em-crumbs a:hover { color: var(--em-primary); }

body.theme-emerald .em-category-browse { margin: 1.5rem 0 2rem; }
body.theme-emerald .em-category-browse__title,
body.theme-emerald .em-ticket-listing__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.theme-emerald .em-ticket-listing__header .em-ticket-listing__title {
    margin: 0;
}

body.theme-emerald .em-category-grid {
    list-style: none;
    margin: 0;
    padding: 1.15rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem 1.25rem;
    border: 1px solid var(--em-line);
    border-radius: var(--em-radius);
    background: #fff;
}

body.theme-emerald .em-category-grid__link {
    color: var(--em-ink);
    font-weight: 600;
    font-size: .98rem;
}

body.theme-emerald .em-category-grid__link:hover { color: var(--em-primary); }

body.theme-emerald .em-category-teams { margin: 1.5rem 0 2.25rem; }

body.theme-emerald .em-team-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
}

body.theme-emerald .em-team-column__title {
    margin: 0 0 .65rem;
    padding-bottom: .4rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    border-bottom: 2px solid var(--em-primary);
}

body.theme-emerald .em-team-column__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .4rem;
}

body.theme-emerald .em-team-column__list a {
    color: var(--em-ink);
    font-weight: 600;
}

body.theme-emerald .em-team-column__list a:hover { color: var(--em-primary); }

body.theme-emerald .em-ticket-listing { margin: 2rem 0 0; }

@media (min-width: 720px) {
    body.theme-emerald .em-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.theme-emerald .em-team-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    body.theme-emerald .em-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.theme-emerald .em-team-columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    body.theme-emerald .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.theme-emerald .em-contact__panel {
        padding: 1.85rem 2rem;
    }

    body.theme-emerald .contact-form__submit {
        width: auto;
        justify-self: start;
        min-width: 12.5rem;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}

@media (max-width: 991px) {
    /* Tickets/map page: keep Emerald chrome compact so sticky header can't cover the map. */
    body.theme-emerald:has(.seat-workspace) .site-header-inner {
        min-height: 3.25rem;
        padding: .4rem 0;
    }

    body.theme-emerald:has(.seat-workspace) .em-search-wrap {
        padding: .45rem 0 .55rem;
    }

    body.theme-emerald:has(.seat-workspace) .em-search {
        box-shadow: none;
    }

    body.theme-emerald:has(.seat-workspace) .em-search input[type="search"] {
        padding: .55rem .5rem;
        font-size: .9rem;
    }

    body.theme-emerald:has(.seat-workspace) .em-search button {
        width: 2.35rem;
        height: 2.35rem;
    }

    body.theme-emerald:has(.seat-workspace) .site-header {
        position: relative !important;
        top: auto !important;
    }
}

@media (max-width: 900px) {
    body.theme-emerald .site-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        min-height: 3.5rem;
        padding: .45rem 0;
    }

    body.theme-emerald .brand { min-width: 0; }
    body.theme-emerald .site-header__end {
        position: relative;
        z-index: 2;
        margin-left: 0;
    }

    body.theme-emerald .site-cats--desktop {
        display: none !important;
    }

    body.theme-emerald .em-nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 3;
    }

    body.theme-emerald .em-mobile-nav {
        display: grid;
        grid-template-rows: 0fr;
        border-top: 1px solid transparent;
        transition: grid-template-rows .3s cubic-bezier(.22, 1, .36, 1), border-color .2s ease;
    }

    body.theme-emerald .em-mobile-nav[hidden] {
        display: grid;
    }

    body.theme-emerald .site-header.is-nav-open .em-mobile-nav {
        grid-template-rows: 1fr;
        border-top-color: var(--em-line);
    }

    body.theme-emerald .em-mobile-nav__inner {
        overflow: hidden;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .22s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
    }

    body.theme-emerald .site-header.is-nav-open .em-mobile-nav__inner {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding: .35rem 0 .75rem;
    }

    body.theme-emerald .em-mobile-nav__inner > a {
        display: block;
        padding: .9rem 0;
        border-bottom: 1px solid var(--em-line);
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--em-ink);
    }

    body.theme-emerald .em-mobile-nav__inner > a:last-child {
        border-bottom: 0;
    }

    body.theme-emerald .event-card {
        grid-template-columns: 4rem minmax(0, 1fr);
        gap: .85rem 1rem;
        padding: .95rem 1rem;
        align-items: start;
    }
    body.theme-emerald .event-card-cta { display: none; }
    body.theme-emerald .event-card-cal { min-height: 4.35rem; }
    body.theme-emerald .event-card-cal__day { font-size: 1.4rem; }
    body.theme-emerald .event-card-title { font-size: 1.05rem; }
}

@media (max-width: 640px) {
    body.theme-emerald .event-card-rail { flex-basis: 160px; }
    body.theme-emerald .em-rail-carousel__arrow {
        width: 2.2rem;
        height: 2.2rem;
    }
    body.theme-emerald .em-rail-carousel__arrow--prev { left: 0; }
    body.theme-emerald .em-rail-carousel__arrow--next { right: 0; }
}

@media (max-width: 400px) {
    body.theme-emerald .contact-form__recaptcha .g-recaptcha {
        transform: scale(0.92);
    }
}