.aes-wrap,
.aes-wrap * {
    box-sizing:border-box;
}

.aes-wrap {
    max-width:1180px;
    margin:34px auto;
    padding:10px;
    color:#111827;
    overflow-x:hidden;
}

.aes-wrap.aes-wrap-sidebar {
    max-width:100%;
    margin:0;
    padding:0;
}

.aes-wrap .aes-sidebar-head {
    margin-bottom:14px;
    padding:16px 18px;
    border-radius:20px;
    background:linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary));
    color:#fff;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.aes-wrap .aes-sidebar-title {
    font-size:22px;
    line-height:1.05;
    font-weight:950;
    color:#fff;
    margin-bottom:4px;
}

.aes-wrap .aes-sidebar-subtitle {
    color:rgba(255,255,255,.82);
    font-size:13px;
    font-weight:700;
}

.aes-wrap .aes-sidebar-list {
    display:grid;
    gap:12px;
}

.aes-wrap .aes-sidebar-footer {
    margin-top:14px;
}

.aes-wrap .aes-sidebar-full-link {
    width:100%;
    justify-content:center;
}

.aes-wrap .aes-sidebar-item {
    position:relative;
    display:grid;
    grid-template-columns:70px minmax(0, 1fr);
    gap:12px;
    padding:14px;
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary));
    border:1px solid rgba(17,24,39,.08);
    box-shadow:0 10px 24px rgba(17,24,39,.08);
}

.aes-wrap .aes-sidebar-item::before {
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg, rgba(15,23,42,.14), rgba(15,23,42,.06)),
        var(--aes-sidebar-image, linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary)));
    background-size:cover;
    background-position:center;
    filter:saturate(1.04) brightness(.92);
    transform:none;
    opacity:1;
    z-index:0;
}

.aes-wrap .aes-sidebar-item::after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(255,255,255,.01), rgba(15,23,42,.03));
    z-index:0;
}

.aes-wrap .aes-sidebar-item.is-live {
    border-color:rgba(14,165,233,.35);
    box-shadow:0 14px 30px rgba(14,165,233,.12);
}

.aes-wrap .aes-sidebar-date {
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:64px;
    border-radius:16px;
    background:rgba(15,23,42,.24);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.16);
    color:#fff;
    font-size:17px;
    font-weight:900;
    text-align:center;
    line-height:1.1;
}

.aes-wrap .aes-sidebar-main {
    position:relative;
    z-index:1;
    min-width:0;
    padding:10px 12px;
    border-radius:14px;
    background:rgba(15,23,42,.22);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.12);
}

.aes-wrap .aes-sidebar-item-title {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:18px;
    line-height:1.2;
    font-weight:900;
    margin-bottom:6px;
}

.aes-wrap .aes-sidebar-time,
.aes-wrap .aes-sidebar-host,
.aes-wrap .aes-sidebar-venue,
.aes-wrap .aes-sidebar-status {
    color:rgba(255,255,255,.88);
    font-size:13px;
    line-height:1.45;
    font-weight:700;
}

.aes-wrap .aes-sidebar-time .aes-time-display {
    align-items:flex-start;
}

.aes-wrap .aes-sidebar-time .aes-time-station,
.aes-wrap .aes-sidebar-time .aes-time-visitor {
    color:rgba(255,255,255,.88);
    font-size:13px;
    font-weight:700;
}

.aes-wrap .aes-sidebar-status {
    color:#fff;
    text-transform:uppercase;
    letter-spacing:.04em;
    font-size:11px;
    font-weight:900;
    margin-top:4px;
}

.aes-wrap .aes-now-card,
.aes-wrap .aes-total-programs {
    margin-bottom:26px;
    border-radius:22px;
    overflow:hidden;
    background:linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary));
    color:#fff;
    box-shadow:0 14px 35px rgba(0,0,0,.14);
}

.aes-wrap .aes-total-programs {
    margin-bottom:30px;
}

.aes-wrap .aes-now-inner,
.aes-wrap .aes-total-programs-inner {
    padding:22px 26px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:center;
}

.aes-wrap .aes-now-label {
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#fff;
    margin-bottom:8px;
}

.aes-wrap .aes-now-dot {
    width:9px;
    height:9px;
    border-radius:999px;
    background:var(--aes-now-dot);
    box-shadow:0 0 0 6px var(--aes-now-dot-shadow);
    animation:aesPulseDot 1.5s ease-in-out infinite;
}

.aes-wrap .aes-now-title {
    font-size:28px;
    line-height:1.15;
    font-weight:950;
    color:#fff;
    margin-bottom:6px;
}

.aes-wrap .aes-now-meta {
    color:rgba(255,255,255,.78);
    font-size:14px;
    font-weight:700;
}

.aes-wrap .aes-countdown-box,
.aes-wrap .aes-total-number-box {
    min-width:210px;
    border-radius:16px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    padding:14px 16px;
    text-align:center;
}

.aes-wrap .aes-total-number-box {
    min-width:150px;
}

.aes-wrap .aes-countdown-label {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:900;
    color:rgba(255,255,255,.7);
    margin-bottom:6px;
}

.aes-wrap .aes-countdown-time,
.aes-wrap .aes-total-number {
    font-size:22px;
    font-weight:950;
    color:#fff;
}

.aes-wrap .aes-total-number {
    font-size:30px;
    line-height:1;
}

.aes-wrap .aes-day {
    margin-bottom:30px;
    border-radius:22px;
    overflow:hidden;
    background:#ffffff;
    box-shadow:0 14px 34px rgba(0,0,0,.07);
}

.aes-wrap .aes-day-title {
    padding:17px 24px;
    font-size:22px;
    font-weight:950;
    color:#fff;
    background:linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary));
}

.aes-wrap .aes-program {
    display:grid;
    grid-template-columns:135px 1fr;
    margin:12px;
    background:#ffffff;
    color:#111827;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 26px rgba(17,24,39,.09);
    border:1px solid rgba(17,24,39,.08);
    min-width:0;
}

.aes-wrap .aes-time {
    background:linear-gradient(135deg,var(--aes-accent),var(--aes-accent-secondary));
    color:#ffffff;
    padding:18px 12px;
    font-weight:900;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:220px;
    font-size:18px;
    line-height:1.1;
}

.aes-wrap .aes-time::before {
    content:'\1F552';
    font-size:24px;
    line-height:1;
    margin-bottom:2px;
}

.aes-wrap .aes-time span,
.aes-wrap .aes-time-divider {
    display:block;
}

.aes-wrap .aes-time-display {
    display:flex;
    flex-direction:column;
    gap:4px;
    align-items:center;
}

.aes-wrap .aes-time-divider {
    width:48px;
    height:2px;
    background:rgba(255,255,255,.85);
    margin:0 auto;
}

.aes-wrap .aes-show-content {
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:stretch;
    padding:18px 22px 22px;
    width:100%;
    min-width:0;
}

.aes-wrap .aes-show-image {
    position:relative;
    flex:0 0 auto;
    width:100%;
    height:240px;
    border-radius:24px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.92), rgba(226,232,240,.92)),
        linear-gradient(135deg, rgba(15,23,42,.08), rgba(148,163,184,.12));
    box-shadow:0 12px 26px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    border:1px solid rgba(17,24,39,.08);
}

.aes-wrap .aes-show-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 22%;
    display:block;
    -webkit-user-drag:none;
    user-select:none;
    pointer-events:none;
}

.aes-wrap .aes-show-details {
    flex:1;
    min-width:0;
    width:100%;
    overflow-wrap:anywhere;
}

.aes-wrap .aes-name {
    font-size:30px;
    font-weight:950;
    line-height:1.05;
    margin-bottom:12px;
    color:#0f172a;
    letter-spacing:-.5px;
    white-space:nowrap;
    width:100%;
    display:block;
    min-width:0;
}

.aes-wrap .aes-meta {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    font-size:16px;
    color:#4b5563;
    margin-bottom:12px;
    font-weight:500;
}

.aes-wrap .aes-meta::before {
    content:'🎙️';
    color:var(--aes-accent);
}

.aes-wrap .aes-meta-sep {
    color:#9ca3af;
    font-weight:400;
}

.aes-wrap .aes-guest {
    margin-top:14px;
    padding:14px 16px;
    border-radius:16px;
    background:linear-gradient(135deg, var(--aes-header), var(--aes-header-secondary));
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 14px 30px rgba(15,23,42,.12);
}

.aes-wrap .aes-guest-title {
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:rgba(255,255,255,.82);
    margin-bottom:8px;
}

.aes-wrap .aes-guest-list {
    display:grid;
    gap:10px;
}

.aes-wrap .aes-guest-item + .aes-guest-item {
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.2);
}

.aes-wrap .aes-guest-line {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:#fff;
    font-size:15px;
    margin-bottom:6px;
}

.aes-wrap .aes-guest-line strong {
    color:#fff;
}

.aes-wrap .aes-guest-name-link {
    color:#fff;
    font-weight:800;
    text-decoration:none;
}

.aes-wrap .aes-guest-line span {
    color:rgba(255,255,255,.84);
    font-weight:800;
}

.aes-wrap .aes-guest-bio {
    color:rgba(255,255,255,.9);
    font-size:14px;
    line-height:1.6;
}

.aes-wrap .aes-desc {
    border-top:2px solid rgba(17,24,39,.12);
    padding-top:12px;
    font-size:16px;
    color:#1f2937;
    line-height:1.45;
    text-align:center;
    overflow-wrap:anywhere;
}

.aes-wrap .aes-desc p {
    margin:0;
}

.aes-wrap .aes-desc p + p,
.aes-wrap .aes-desc ul + p,
.aes-wrap .aes-desc ol + p,
.aes-wrap .aes-desc blockquote + p {
    margin-top:12px;
}

.aes-wrap .aes-desc ul,
.aes-wrap .aes-desc ol {
    margin:12px 0 12px 20px;
    padding:0;
}

.aes-wrap .aes-desc li + li {
    margin-top:6px;
}

.aes-wrap .aes-desc a {
    color:var(--aes-accent);
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:2px;
}

.aes-wrap .aes-desc strong {
    color:#0f172a;
}

.aes-wrap .aes-desc blockquote {
    margin:14px 0;
    padding:12px 16px;
    border-left:4px solid var(--aes-accent);
    background:rgba(15,23,42,.04);
    border-radius:0 14px 14px 0;
}

.aes-wrap .aes-engagement {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:14px;
}

.aes-wrap .aes-search-panel {
    display:grid;
    gap:16px;
    margin-bottom:22px;
    padding:20px;
    border-radius:24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
        linear-gradient(135deg, rgba(255,255,255,.9), rgba(226,232,240,.82));
    box-shadow:0 14px 30px rgba(17,24,39,.08);
    border:1px solid rgba(17,24,39,.08);
}

.aes-wrap .aes-search-panel-head {
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:16px;
    align-items:start;
}

.aes-wrap .aes-search-panel-title {
    font-size:23px;
    font-weight:950;
    color:#0f172a;
    line-height:1.05;
    margin-bottom:6px;
}

.aes-wrap .aes-search-panel-text {
    color:#475569;
    font-size:14px;
    line-height:1.5;
    max-width:680px;
}

.aes-wrap .aes-search-meta {
    display:grid;
    gap:4px;
    justify-items:end;
    text-align:right;
}

.aes-wrap .aes-search-count {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:40px;
    padding:0 14px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--aes-accent),var(--aes-accent-secondary));
    color:#fff;
    font-size:13px;
    font-weight:900;
    letter-spacing:.03em;
    box-shadow:0 10px 24px rgba(15,23,42,.12);
}

.aes-wrap .aes-search-summary {
    color:#64748b;
    font-size:13px;
    font-weight:700;
}

.aes-wrap .aes-search-input-wrap {
    display:grid;
    gap:8px;
}

.aes-wrap .aes-search-label,
.aes-wrap .aes-filter-field label {
    display:block;
    font-size:12px;
    font-weight:800;
    color:#475569;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.aes-wrap .aes-search-input-row {
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:10px;
    align-items:center;
}

.aes-wrap .aes-search-input-row input,
.aes-wrap .aes-filter-field input,
.aes-wrap .aes-filter-field select {
    width:100%;
    min-height:50px;
    padding:0 15px;
    border-radius:14px;
    border:1px solid rgba(17,24,39,.11);
    background:#fff;
    color:#111827;
    font-size:14px;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.7);
}

.aes-wrap .aes-search-input-row input:focus,
.aes-wrap .aes-filter-field input:focus,
.aes-wrap .aes-filter-field select:focus {
    outline:none;
    border-color:rgba(14,116,144,.45);
    box-shadow:0 0 0 4px rgba(14,116,144,.12);
}

.aes-wrap .aes-search-clear {
    min-width:88px;
    min-height:50px;
    padding:0 18px;
    border:0;
    border-radius:14px;
    background:#e2e8f0;
    color:#0f172a;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.aes-wrap .aes-search-clear:hover {
    background:#cbd5e1;
    transform:translateY(-1px);
}

.aes-wrap .aes-search-grid {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr)) auto;
    gap:12px;
    align-items:end;
}

.aes-wrap .aes-search-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
}

.aes-wrap .aes-filter-empty {
    margin-bottom:24px;
}

.aes-wrap .aes-badges {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:-2px 0 12px;
}

.aes-wrap .aes-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
    border:1px solid rgba(17,24,39,.08);
    color:#111827;
    background:#eef2ff;
}

.aes-wrap .aes-badge.is-scheduled { background:#e0f2fe; color:#075985; }
.aes-wrap .aes-badge.is-streaming-live { background:#dcfce7; color:#166534; }
.aes-wrap .aes-badge.is-free-entry,
.aes-wrap .aes-badge.is-free { background:#dcfce7; color:#166534; }
.aes-wrap .aes-badge.is-canceled,
.aes-wrap .aes-badge.is-sold-out,
.aes-wrap .aes-badge.is-closed { background:#fee2e2; color:#b91c1c; }
.aes-wrap .aes-badge.is-postponed,
.aes-wrap .aes-badge.is-rescheduled,
.aes-wrap .aes-badge.is-waitlist { background:#fef3c7; color:#92400e; }
.aes-wrap .aes-badge.is-rsvp,
.aes-wrap .aes-badge.is-on-sale { background:#dbeafe; color:#1d4ed8; }

.aes-wrap .aes-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.aes-wrap .aes-calendar-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

.aes-wrap .aes-venue {
    margin-top:14px;
    padding:14px 16px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid rgba(17,24,39,.08);
}

.aes-wrap .aes-venue-title {
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#64748b;
    margin-bottom:8px;
}

.aes-wrap .aes-venue-row {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    color:#1f2937;
    font-size:14px;
    margin-bottom:6px;
}

.aes-wrap .aes-venue-row:last-child {
    margin-bottom:0;
}

.aes-wrap .aes-venue-row strong {
    color:#0f172a;
}

.aes-wrap .aes-venue a {
    color:var(--aes-accent);
    font-weight:800;
    text-decoration:none;
}

.aes-wrap .aes-venue a:hover {
    text-decoration:underline;
}

.aes-wrap .aes-venue-map-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:12px;
    border:1px solid rgba(17,24,39,.08);
    background:linear-gradient(135deg, rgba(255,255,255,.98), rgba(226,238,255,.95));
    box-shadow:0 8px 16px rgba(15,23,42,.08);
    color:var(--aes-accent);
    font-size:12px;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
    text-decoration:none !important;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aes-wrap .aes-venue-map-link:hover,
.aes-wrap .aes-venue-map-link:focus-visible {
    transform:translateY(-1px);
    box-shadow:0 12px 22px rgba(15,23,42,.12);
    border-color:rgba(0,74,173,.22);
    text-decoration:none !important;
}

.aes-map-modal {
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(2,6,23,.58);
    backdrop-filter:blur(6px);
    z-index:999999;
}

.aes-map-modal[hidden] {
    display:none;
}

.aes-map-modal-dialog {
    width:min(94vw, 1040px);
    height:min(88vh, 760px);
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 30px 80px rgba(15,23,42,.32);
    border:1px solid rgba(148,163,184,.22);
    display:grid;
    grid-template-rows:auto 1fr;
}

.aes-map-modal-header {
    position:relative;
    isolation:isolate;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 18px;
    background:linear-gradient(135deg,var(--aes-header),var(--aes-header-secondary));
    color:#fff;
}

.aes-map-modal-header::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(15,23,42,.26), rgba(15,23,42,.38));
    pointer-events:none;
    z-index:0;
}

.aes-map-modal-header > * {
    position:relative;
    z-index:1;
}

.aes-map-modal-title {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:min(100%, calc(100% - 150px));
    text-align:center;
    font-size:16px;
    font-weight:900;
    letter-spacing:.01em;
    color:#fff;
    text-shadow:0 1px 2px rgba(15,23,42,.42);
    pointer-events:none;
}

.aes-map-modal-actions {
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.aes-map-modal-open,
.aes-map-modal-close {
    appearance:none;
    border:0;
    background:rgba(15,23,42,.24);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:900;
    border-radius:999px;
    padding:10px 14px;
    text-shadow:0 1px 2px rgba(15,23,42,.42);
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:transform .18s ease, background-color .18s ease;
}

.aes-map-modal-open:hover,
.aes-map-modal-open:focus-visible,
.aes-map-modal-close:hover,
.aes-map-modal-close:focus-visible {
    background:rgba(15,23,42,.34);
    transform:translateY(-1px);
    outline:none;
}

.aes-map-modal-frame-wrap {
    position:relative;
    background:#e2e8f0;
}

.aes-map-modal-body {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:22px;
    overflow:auto;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.aes-map-modal-frame-wrap {
    position:relative;
    min-height:420px;
    border-radius:18px;
    overflow:hidden;
    background:#dbe4f0;
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 12px 28px rgba(15,23,42,.08);
}

.aes-map-modal-frame {
    width:100%;
    height:100%;
    min-height:420px;
    border:0;
    display:block;
    background:#fff;
}

.aes-map-modal-copy {
    color:#1e293b;
    font-size:15px;
    line-height:1.65;
}

.aes-map-modal-venue {
    display:grid;
    gap:12px;
    padding:18px;
    border-radius:18px;
    background:#fff;
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 12px 28px rgba(15,23,42,.08);
}

.aes-map-modal-label {
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#475569;
}

.aes-map-modal-name {
    font-size:24px;
    line-height:1.15;
    font-weight:950;
    color:#0f172a;
}

.aes-map-modal-address,
.aes-map-modal-note {
    color:#1e293b;
    font-size:15px;
    line-height:1.6;
}

.aes-map-modal-note strong {
    color:#0f172a;
}

.aes-map-modal-actions-row {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.aes-map-modal-primary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--aes-accent),var(--aes-accent-secondary));
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:900;
    letter-spacing:.03em;
    box-shadow:0 12px 24px rgba(37,99,235,.22);
}

.aes-map-modal-primary:hover,
.aes-map-modal-primary:focus-visible {
    text-decoration:none;
    filter:brightness(1.03);
    transform:translateY(-1px);
    outline:none;
}

.aes-wrap .aes-social-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:13px;
    align-items:center;
}

.aes-wrap .aes-action-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:10px 16px;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
    border:1px solid rgba(17,24,39,.1);
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.aes-wrap .aes-action-btn:hover,
.aes-wrap .aes-action-btn:focus-visible {
    transform:translateY(-1px);
    outline:none;
    box-shadow:0 10px 18px rgba(17,24,39,.12);
}

.aes-wrap .aes-action-btn.is-primary {
    background:linear-gradient(135deg,var(--aes-accent),var(--aes-accent-secondary));
    color:#fff;
}

.aes-wrap .aes-action-btn.is-secondary {
    background:#fff;
    color:#111827;
}

.aes-wrap .aes-action-btn.is-social {
    background:linear-gradient(135deg, rgba(255,255,255,.92), rgba(235,241,248,.86));
    border:1px solid rgba(17,24,39,.08);
    box-shadow:0 8px 18px rgba(15,23,42,.10);
    width:46px;
    height:46px;
    border-radius:999px;
    padding:0;
    flex:0 0 auto;
    transform:none;
}

.aes-wrap .aes-action-btn.is-social svg {
    width:24px;
    height:24px;
    display:block;
    filter:none;
}

.aes-wrap .aes-action-btn.is-social:hover,
.aes-wrap .aes-action-btn.is-social:focus-visible {
    box-shadow:0 10px 22px rgba(15,23,42,.14);
    transform:translateY(-1px) scale(1.04);
}

.aes-wrap .aes-action-btn.is-social[aria-label='Facebook'] {
    color:#1877f2;
    background:linear-gradient(135deg, rgba(24,119,242,.14), rgba(122,177,255,.34));
    box-shadow:0 8px 20px rgba(24,119,242,.14);
}

.aes-wrap .aes-action-btn.is-social[aria-label='Instagram'] {
    color:#e4405f;
    background:linear-gradient(135deg, rgba(131,58,180,.16), rgba(253,29,29,.14), rgba(252,176,69,.34));
    box-shadow:0 8px 20px rgba(228,64,95,.14);
}

.aes-wrap .aes-action-btn.is-social[aria-label='X'] {
    color:#111827;
    background:linear-gradient(135deg, rgba(15,23,42,.12), rgba(100,116,139,.26));
    box-shadow:0 8px 20px rgba(15,23,42,.12);
}

.aes-wrap .aes-action-btn.is-social[aria-label='TikTok'] {
    color:#111827;
    background:linear-gradient(135deg, rgba(37,244,238,.18), rgba(254,44,85,.22));
    box-shadow:0 8px 20px rgba(254,44,85,.12);
}

.aes-wrap .aes-action-btn.is-social[aria-label='YouTube'] {
    color:#ff0033;
    background:linear-gradient(135deg, rgba(255,0,51,.16), rgba(255,140,140,.34));
    box-shadow:0 8px 20px rgba(255,0,51,.14);
}

.aes-wrap .aes-favorite-btn {
    appearance:none;
    border:1px solid rgba(17,24,39,.12);
    background:#ffffff;
    color:#111827;
    border-radius:999px;
    padding:9px 13px;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:7px;
    box-shadow:0 8px 18px rgba(17,24,39,.08);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aes-wrap .aes-favorite-btn:hover,
.aes-wrap .aes-favorite-btn.aes-is-favorited {
    transform:translateY(-1px);
    border-color:var(--aes-accent);
    box-shadow:0 10px 22px rgba(17,24,39,.12);
}

.aes-wrap .aes-favorite-heart {
    color:var(--aes-accent);
    font-size:16px;
    line-height:1;
}

.aes-wrap .aes-rating-wrap {
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    font-size:13px;
    font-weight:800;
    color:#4b5563;
}

.aes-wrap .aes-stars {
    display:inline-flex;
    align-items:center;
    gap:2px;
}

.aes-wrap .aes-star {
    appearance:none;
    border:0;
    background:transparent;
    color:#cbd5e1;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    padding:0 1px;
    transition:transform .15s ease, color .15s ease;
}

.aes-wrap .aes-star:hover,
.aes-wrap .aes-star.aes-star-active {
    color:var(--aes-accent);
    transform:scale(1.08);
}

.aes-wrap .aes-rating-summary {
    color:#64748b;
    font-size:12px;
    font-weight:800;
}

.aes-wrap .aes-remove-rating-btn {
    appearance:none;
    border:1px solid rgba(17,24,39,.12);
    background:#ffffff;
    color:#64748b;
    border-radius:999px;
    padding:5px 9px;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    transition:transform .15s ease, border-color .15s ease, color .15s ease;
}

.aes-wrap .aes-remove-rating-btn:hover {
    transform:translateY(-1px);
    border-color:var(--aes-accent);
    color:var(--aes-accent);
}

.aes-wrap .aes-remove-rating-btn[hidden] {
    display:none;
}

.aes-wrap button:focus-visible,
.aes-wrap a:focus-visible {
    outline:3px solid var(--aes-accent);
    outline-offset:2px;
}

.aes-wrap .aes-live {
    background:#ffffff;
    box-shadow:0 12px 28px rgba(17,24,39,.12), inset 6px 0 0 var(--aes-accent);
}

.aes-wrap .aes-live-badge {
    display:inline-flex;
    align-items:center;
    background:var(--aes-now-dot);
    color:#ffffff;
    font-size:11px;
    font-weight:900;
    padding:5px 9px;
    border-radius:999px;
    margin-left:10px;
    vertical-align:middle;
    letter-spacing:.4px;
    animation:aesPulseDot 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.aes-wrap .aes-empty {
    padding:30px 20px;
    background:linear-gradient(180deg,#f9fafb,#fff);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.aes-wrap .aes-empty-icon {
    font-size:32px;
    margin-bottom:10px;
}

.aes-wrap .aes-empty-title {
    font-size:18px;
    font-weight:900;
    color:#111827;
    margin-bottom:6px;
}

.aes-wrap .aes-empty-text {
    font-size:14px;
    color:#4b5563;
    line-height:1.4;
    font-weight:600;
}

.aes-wrap .aes-sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0, 0, 0, 0);
    border:0;
}

.aes-wrap.aes-reduced-motion *,
.aes-wrap.aes-reduced-motion *::before,
.aes-wrap.aes-reduced-motion *::after {
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
}

@keyframes aesPulseDot {
    0%,100% { transform:scale(1); opacity:1; }
    50% { transform:scale(1.25); opacity:.75; }
}

@media (max-width:760px) {
    .aes-wrap {
        margin:20px auto;
        padding:8px;
    }

    .aes-wrap .aes-search-panel {
        padding:18px;
    }

    .aes-wrap .aes-search-panel-head,
    .aes-wrap .aes-search-grid,
    .aes-wrap .aes-search-input-row {
        grid-template-columns:1fr;
    }

    .aes-wrap .aes-search-meta {
        justify-items:start;
        text-align:left;
    }

    .aes-wrap .aes-search-actions {
        justify-content:stretch;
    }

    .aes-wrap .aes-search-actions .aes-action-btn,
    .aes-wrap .aes-search-clear {
        width:100%;
    }

    .aes-wrap .aes-now-inner,
    .aes-wrap .aes-total-programs-inner {
        grid-template-columns:1fr;
        padding:18px;
    }

    .aes-wrap .aes-program {
        grid-template-columns:1fr;
        margin:10px 8px;
    }

    .aes-wrap .aes-time {
        min-height:auto;
        padding:16px;
        font-size:16px;
    }

    .aes-wrap .aes-show-content {
        flex-direction:column;
        text-align:center;
        padding:16px;
        gap:16px;
    }

    .aes-wrap .aes-show-image {
        width:100%;
        height:180px;
        flex:0 0 auto;
        max-width:100%;
    }

    .aes-wrap .aes-name {
        white-space:normal;
        word-break:break-word;
        font-size:24px !important;
    }

    .aes-wrap .aes-meta,
    .aes-wrap .aes-desc,
    .aes-wrap .aes-engagement,
    .aes-wrap .aes-actions {
        justify-content:center;
    }

    .aes-wrap .aes-engagement,
    .aes-wrap .aes-actions,
    .aes-wrap .aes-calendar-actions {
        width:100%;
    }

    .aes-wrap .aes-favorite-btn,
    .aes-wrap .aes-action-btn {
        max-width:100%;
    }

    .aes-map-modal {
        padding:14px;
    }

    .aes-map-modal-dialog {
        width:100%;
        height:min(86vh, 720px);
        border-radius:20px;
    }

    .aes-map-modal-header {
        padding:14px;
        align-items:flex-start;
        flex-direction:column;
    }

    .aes-map-modal-title {
        position:static;
        transform:none;
        width:100%;
        text-align:left;
    }

    .aes-map-modal-actions {
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
        margin-left:0;
    }

    .aes-map-modal-body {
        padding:18px;
    }

    .aes-map-modal-frame-wrap,
    .aes-map-modal-frame {
        min-height:360px;
    }

    .aes-wrap .aes-rating-wrap {
        justify-content:center;
    }
}

@media (max-width:480px) {
    .aes-wrap .aes-now-title {
        font-size:22px;
    }

    .aes-wrap .aes-day-title {
        padding:14px 16px;
        font-size:18px;
    }

    .aes-wrap .aes-countdown-box,
    .aes-wrap .aes-total-number-box {
        min-width:0;
        width:100%;
    }

    .aes-wrap .aes-time {
        padding:14px 12px;
    }

    .aes-wrap .aes-show-content {
        padding:14px;
    }

    .aes-wrap .aes-show-image {
        width:100%;
        height:160px;
    }

    .aes-wrap .aes-name {
        font-size:21px !important;
    }

    .aes-wrap .aes-meta {
        font-size:14px;
    }

    .aes-wrap .aes-desc {
        font-size:14px;
    }

    .aes-wrap .aes-venue {
        padding:12px 14px;
    }

    .aes-wrap .aes-favorite-btn,
    .aes-wrap .aes-action-btn,
    .aes-wrap .aes-remove-rating-btn {
        width:100%;
        justify-content:center;
    }

    .aes-wrap .aes-rating-wrap {
        width:100%;
        flex-direction:column;
        gap:10px;
    }

    .aes-map-modal {
        padding:10px;
    }

    .aes-map-modal-dialog {
        height:min(82vh, 680px);
        border-radius:18px;
    }

    .aes-map-modal-body {
        padding:16px;
    }

    .aes-map-modal-frame-wrap,
    .aes-map-modal-frame {
        min-height:300px;
    }

    .aes-map-modal-name {
        font-size:20px;
    }

    .aes-wrap .aes-stars {
        justify-content:center;
        flex-wrap:wrap;
    }
}
