.event-badge {
    --eb-ink: #596579;
    --eb-bg: #f5f7fa;
    --eb-line: #e0e5ec;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px;
    max-width: 100%;
    padding: 0 10px;
    border: 1px solid var(--eb-line);
    border-radius: 999px;
    background: var(--eb-bg);
    color: var(--eb-ink);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    vertical-align: middle;
    white-space: nowrap;
}
.event-status-badge[data-event-status="announced"] { --eb-ink: #8c621c; --eb-bg: #fcf9f1; --eb-line: #e9dcc0; }
.event-status-badge[data-event-status="active"] { --eb-ink: #226a50; --eb-bg: #f1f8f4; --eb-line: #c7e1d4; letter-spacing: .6px; font-size: 10px; }
.event-status-badge[data-event-status="finished"] { --eb-ink: #496287; --eb-bg: #f3f6fb; --eb-line: #d6e0ed; }
.event-activity-badge { --eb-ink: #536175; --eb-bg: #f7f8fa; --eb-line: #e7ebf0; height: 25px; padding: 0 9px; font-weight: 500; }
.event-badge-icon { display: block; flex: none; width: 13px; height: 13px; }
.event-activity-badge .event-badge-icon { width: 14px; height: 14px; stroke-width: 1.5; }
.event-badge-live-dot { position: relative; display: block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: event-live-dot-breathe 1.8s ease-in-out infinite; }
.event-badge-live-dot::before,
.event-badge-live-dot::after { content: ""; position: absolute; inset: -2px; border: 1px solid currentColor; border-radius: 50%; opacity: 0; animation: event-live-pulse 1.8s ease-out infinite; pointer-events: none; }
.event-badge-live-dot::before { animation-delay: .9s; }
@keyframes event-live-pulse {
    0% { transform: scale(.7); opacity: .7; }
    50% { opacity: .4; }
    100% { transform: scale(1.35); opacity: 0; }
}
@keyframes event-live-dot-breathe {
    0%, 100% { transform: scale(.95); }
    50% { transform: scale(1.05); }
}
.event-card-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.event-list-slug { margin-top: 4px; color: #6b7280; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 400; line-height: 16px; overflow-wrap: anywhere; }
.dark .event-list-slug { color: #9ca3af; }
.event-card-heading > .event-card-identity { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.event-card-activity { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.event-card-activity:empty { display: none; }
.event-identity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.public-event-title .event-identity-meta p { margin: 0; }
.event-status-control { position: relative; display: inline-flex; border-radius: 999px; }
.event-status-trigger { position: relative; display: inline-flex; cursor: pointer; list-style: none; border-radius: 999px; }
.event-status-trigger::-webkit-details-marker { display: none; }
.event-status-trigger > .event-status-badge { padding-right: 26px; }
.event-status-trigger::after { content: ""; position: absolute; right: 11px; top: 10px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); color: #7b8797; pointer-events: none; }
.event-status-control[open] > .event-status-trigger::after { top: 12px; transform: rotate(225deg); }
.event-status-trigger:hover > .event-badge { filter: brightness(.98); }
.event-status-trigger:focus-visible { outline: 2px solid #5884c7; outline-offset: 3px; }
.event-status-menu { position: fixed; z-index: 70; width: 216px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; padding: 5px; border: 1px solid #e0e5ec; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #17243b16, 0 2px 6px #17243b08; }
.event-status-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; text-align: left; }
.event-status-option > .event-status-badge { justify-content: flex-start; height: 24px; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 500; letter-spacing: normal; animation: none; box-shadow: none; }
.event-status-option .event-badge-live-dot { animation: none; }
.event-status-option .event-badge-live-dot::before,
.event-status-option .event-badge-live-dot::after { animation: none; opacity: 0; }
.event-status-option:hover { background: #f5f7fa; }
.event-status-option[aria-pressed="true"] { background: #f0f4f9; }
.event-status-option:focus-visible { outline: 2px solid #5884c7; outline-offset: -2px; }
.event-status-option:disabled { opacity: .55; cursor: wait; }
.event-status-selected { flex: none; color: #647b9b; }
.event-status-selected svg { display: block; width: 14px; height: 14px; }
.dark .event-status-menu { border-color: #414d5f; background: #1c2635; box-shadow: 0 12px 32px #00000040, 0 2px 6px #00000020; }
.dark .event-status-option:hover { background: #2a3648; }
.dark .event-status-option[aria-pressed="true"] { background: #2a384c; }
.dark .event-status-selected { color: #b4c9e8; }
.dark .event-badge,
.public-results-page .public-event-header .event-badge { --eb-ink: #c2ccdb; --eb-bg: #283343; --eb-line: #414d5f; }
.dark .event-status-badge[data-event-status="announced"],
.public-results-page .public-event-header .event-status-badge[data-event-status="announced"] { --eb-ink: #e9c98f; --eb-bg: #3b3428; --eb-line: #65543a; }
.dark .event-status-badge[data-event-status="active"],
.public-results-page .public-event-header .event-status-badge[data-event-status="active"] { --eb-ink: #abd6bf; --eb-bg: #233a32; --eb-line: #3b5a4b; }
.dark .event-status-badge[data-event-status="finished"],
.public-results-page .public-event-header .event-status-badge[data-event-status="finished"] { --eb-ink: #b4c9e8; --eb-bg: #283649; --eb-line: #425571; }
.dark .event-activity-badge,
.public-results-page .public-event-header .event-activity-badge { --eb-ink: #b6c2d3; --eb-bg: #ffffff04; --eb-line: #ffffff1f; }
.event-form-status-switcher { display: flex; flex-wrap: wrap; gap: 3px; width: fit-content; max-width: 100%; padding: 3px; border: 1px solid #e0e5ec; border-radius: 9px; background: #f3f5f8; }
.event-form-status-option { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: #68758a; font: inherit; font-size: 12px; font-weight: 500; line-height: 20px; white-space: nowrap; cursor: pointer; }
.event-form-status-option:hover { color: #172033; background: #e9edf3; }
.event-form-status-option[data-selected="true"] { background: #fff; color: #596579; box-shadow: 0 1px 4px #00000012; }
.event-form-status-option[data-selected="true"][data-event-status-tone="amber"] { color: #8c621c; }
.event-form-status-option[data-selected="true"][data-event-status-tone="green"] { color: #226a50; }
.event-form-status-option[data-selected="true"][data-event-status-tone="blue"] { color: #496287; }
.event-form-status-option:focus-visible { outline: 2px solid #5884c7; outline-offset: 2px; }
.event-form-status-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dark .event-form-status-switcher { border-color: #354256; background: #253144; }
.dark .event-form-status-option { color: #9aa9bd; }
.dark .event-form-status-option:hover { color: #e5ecf6; background: #354256; }
.dark .event-form-status-option[data-selected="true"] { background: #1c2635; color: #c2ccdb; box-shadow: 0 1px 4px #00000030; }
.dark .event-form-status-option[data-selected="true"][data-event-status-tone="amber"] { color: #e9c98f; }
.dark .event-form-status-option[data-selected="true"][data-event-status-tone="green"] { color: #abd6bf; }
.dark .event-form-status-option[data-selected="true"][data-event-status-tone="blue"] { color: #b4c9e8; }
