:root {
    color-scheme: light;
    --ink: #17241e;
    --muted: #768079;
    --green: #164c3b;
    --green-dark: #103c2f;
    --green-soft: #e6eee7;
    --paper: #f7f7f2;
    --white: #fff;
    --line: #17241e;
    --coral: #f16d5a;
    --coral-soft: #fff0ec;
    --lilac: #eee8fb;
    --yellow: #f3d56d;
    --shadow: 0 16px 46px rgba(28, 47, 37, .07);
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.topbar {
    height: 78px; padding: 0 clamp(20px, 3.5vw, 58px); display: flex; align-items: center;
    justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(25, 53, 39, .08);
    background: rgba(251, 251, 247, .88); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 200px; }
.brand-mark { width: 38px; height: 38px; border-radius: 13px; display: block; overflow: hidden; flex: 0 0 auto; background: var(--green); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: Manrope, sans-serif; font-size: 24px; letter-spacing: -.9px; font-weight: 800; }
.brand-name span { color: #27875f; }
.topbar-center { color: #58645b; font-size: 13px; display: flex; align-items: center; gap: 9px; }
.topbar-center.is-maintenance { color: #b42318; font-weight: 700; }
.topbar-center.is-maintenance .live-dot { background: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .14); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #55a57b; box-shadow: 0 0 0 4px rgba(85, 165, 123, .13); flex: 0 0 auto; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 200px; }
.location-control { height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: #445149; }
.location-control svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.location-control select, .sort-control select, .filter-control select { border: 0; outline: 0; appearance: none; background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; }
.location-control .chevron { width: 12px; height: 12px; color: #89928c; }
.button { border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 0 19px; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--green); color: #fff; box-shadow: 0 7px 16px rgba(22, 76, 59, .13); }
.button-dark:hover { background: var(--green-dark); box-shadow: 0 10px 22px rgba(22, 76, 59, .19); }
.button-small { min-height: 42px; border-radius: 12px; padding: 0 17px; }
.button-light { color: var(--green); background: #fff; }
.button-outline { border: 1px solid #d5ded4; color: var(--green); background: transparent; }
.button-wide { width: 100%; }

.app-layout { max-width: 1590px; margin: 0 auto; padding: 48px clamp(20px, 3.5vw, 58px) 55px; display: grid; grid-template-columns: 207px minmax(440px, 1fr) 260px; gap: clamp(22px, 2.7vw, 42px); align-items: start; }
.sidebar { min-height: calc(100vh - 125px); position: sticky; top: 108px; display: flex; flex-direction: column; padding: 6px 0 0; }
.sidebar-label, .eyebrow, .section-kicker, .filter-label, .quick-label { letter-spacing: .1em; font-size: 9px; line-height: 1.4; font-weight: 800; color: #8a938c; }
.sidebar-label { padding: 0 12px; margin: 0 0 14px; }
.side-nav { display: grid; gap: 5px; }
.side-link { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; background: transparent; color: #6e7a72; text-align: left; font-size: 12px; font-weight: 600; }
.side-link:hover { background: #eef1ea; color: var(--ink); }
.side-link.is-active { color: var(--green); background: var(--green-soft); font-weight: 700; }
.side-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.nav-count { margin-left: auto; font-size: 10px; color: #597461; background: rgba(255,255,255,.75); border-radius: 20px; padding: 3px 7px; }
.sidebar-rule { height: 1px; background: var(--line); margin: 23px 12px 20px; }
.sidebar-note { margin: 0 4px; border-radius: 16px; background: #fff; padding: 15px 14px 14px; box-shadow: 0 4px 16px rgba(24, 51, 38, .035); }
.note-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #fff2d8; color: #a27d22; font-size: 15px; }
.sidebar-note p { color: #68736b; font-size: 11px; line-height: 1.65; margin: 9px 0 0; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 12px; padding: 28px 8px 0; }
.age-chip { display: flex; gap: 7px; align-items: center; color: #607168; font-size: 10px; font-weight: 700; }
.age-chip span { border-radius: 50%; width: 17px; height: 17px; display: grid; place-items: center; background: #dfece1; color: var(--green); font-size: 10px; }
.sidebar-version { font-size: 10px; color: #a0a7a0; }

.main-content { min-width: 0; }
.welcome-row { min-height: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 4px 0 18px; }
.welcome-row .eyebrow { color: #909991; margin: 2px 0 9px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, 'Segoe UI', sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(28px, 3vw, 39px); line-height: 1.1; margin-bottom: 0; font-weight: 800; }
h1 span { color: var(--green); }

.search-panel { background: #fff; border: 1px solid #e8eae3; border-radius: 19px; padding: 13px; box-shadow: 0 8px 26px rgba(25, 47, 37, .035); }
.search-form { display: grid; grid-template-columns: minmax(180px, 1fr) 123px 132px 44px; gap: 9px; align-items: stretch; }
.search-box { display: flex; align-items: center; min-width: 0; gap: 10px; height: 49px; padding: 0 13px; border-radius: 13px; background: #f7f8f5; border: 1px solid transparent; transition: border .2s, background .2s; }
.search-box:focus-within { background: #fff; border-color: #a6bdab; }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: #68806f; stroke-width: 1.8; flex: 0 0 auto; }
.search-box input { min-width: 0; border: 0; outline: 0; background: transparent; width: 100%; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a4aaa5; }
.search-box kbd { font-size: 10px; color: #9da59e; border: 1px solid #e1e5de; border-radius: 5px; padding: 2px 5px; }
.filter-control { min-width: 0; height: 49px; padding: 6px 11px 5px; display: flex; flex-direction: column; justify-content: center; border-radius: 12px; background: #fafaf8; border: 1px solid #f0f1ed; }
.filter-label { font-size: 8px; color: #a0a7a0; margin-bottom: 2px; }
.filter-control select { width: 100%; font-size: 11px; font-weight: 700; white-space: nowrap; }
.search-submit { border: 0; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--green); transition: transform .18s, background .18s; }
.search-submit:hover { transform: translateY(-1px); background: var(--green-dark); }
.search-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.quick-filters { display: flex; align-items: center; gap: 7px; padding: 12px 3px 0; flex-wrap: wrap; }
.quick-label { font-size: 8px; color: #9ba39b; padding: 0 4px 0 1px; }
.quick-category-filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-pill { border: 1px solid #eceee9; border-radius: 18px; background: #fff; padding: 6px 9px; font-size: 10px; color: #68746b; transition: all .15s; }
.filter-pill:hover, .filter-pill.is-selected { border-color: #c6d7c9; background: #eff5ee; color: var(--green); }
.clear-filters { margin-left: auto; border: 0; background: transparent; color: #8a938b; font-size: 10px; padding: 5px; }
.clear-filters:hover { color: var(--green); }
.demo-notice { display: flex; align-items: center; gap: 7px; margin: 15px 1px 26px; color: #898c7f; font-size: 10px; }
.demo-notice span { color: #b38e34; font-size: 13px; }
.dashboard-my-events { margin: 15px 0 23px; padding: 14px; border: 1px solid #e7ece5; border-radius: 15px; background: #fff; }
.dashboard-my-events-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dashboard-my-events-heading .eyebrow { margin: 0 0 3px; color: #869187; font-size: 8px; }
.dashboard-my-events-heading h2 { font-size: 15px; }
.dashboard-my-events-heading .button { flex: 0 0 auto; min-height: 36px; padding: 0 11px; font-size: 10px; }
.dashboard-my-events-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dashboard-my-event-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 11px; border: 1px solid #e9ede7; border-radius: 12px; background: #fbfcf9; }
.dashboard-my-event-copy { min-width: 0; }
.dashboard-my-event-copy > b, .dashboard-my-event-title { display: block; max-width: 100%; overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-my-event-title { padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.dashboard-my-event-title:hover { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.dashboard-my-event-copy > small { display: block; margin-top: 4px; color: #89938a; font-size: 9px; }
.dashboard-my-event-copy .my-event-labels { margin: 5px 0 0; }
.dashboard-my-event-copy .my-event-stats { margin-top: 5px; font-size: 9px; }
.dashboard-my-event-row .my-event-actions { flex-direction: column; }
.dashboard-my-event-row .my-event-actions button { min-height: 29px; }
.owner-vote-count { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; color: #a35c4c; font-size: 10px; font-weight: 700; white-space: nowrap; }
.owner-vote-count svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.events-section { min-height: 400px; margin-top: 26px; }
.dashboard-my-events + .events-section { margin-top: 0; }
.dashboard-my-events[hidden] + .events-section { margin-top: 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-kicker { display: flex; align-items: center; gap: 8px; color: #8a938c; margin-bottom: 7px; font-size: 8px; }
.section-kicker .live-dot { width: 6px; height: 6px; box-shadow: none; }
h2 { font-size: 21px; line-height: 1.2; font-weight: 800; margin-bottom: 0; }
h2 span { font-weight: 500; color: #8e9890; }
.sort-control { color: #969f97; display: flex; gap: 6px; align-items: center; font-size: 10px; }
.sort-control select { font-size: 10px; font-weight: 700; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.event-card { display: flex; flex-direction: column; border: 1px solid #17241e; border-radius: 17px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s, border .2s; }
.event-card--with-cover { width: 100%; margin-inline: 0; }
.event-card:hover { transform: translateY(-3px); border-color: #dce5dc; box-shadow: 0 12px 27px rgba(21, 52, 36, .09); }
.event-card--most-voted { border-color: #dfbd54; box-shadow: 0 0 0 2px rgba(223, 189, 84, .2), 0 9px 22px rgba(99, 78, 21, .07); }
.event-card--most-voted:hover { border-color: #c9a33d; box-shadow: 0 0 0 2px rgba(223, 189, 84, .28), 0 13px 28px rgba(99, 78, 21, .12); }
.event-art { height: 153px; position: relative; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; padding: 13px; isolation: isolate; }
.event-art::before, .event-art::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.event-art::before { inset: 0; opacity: .8; }
.event-art::after { width: 168px; height: 100px; right: -20px; bottom: -31px; border-radius: 100px 100px 0 0; background: rgba(17, 45, 32, .23); box-shadow: -70px 15px 0 -8px rgba(17, 45, 32, .14), -132px 20px 0 -11px rgba(17, 45, 32, .12); }
.event-art--music { color: #f8f7e9; background: radial-gradient(ellipse at 67% 36%, #e9ad69 0, transparent 19%), radial-gradient(ellipse at 42% 21%, rgba(242, 126, 105, .85) 0, transparent 29%), linear-gradient(135deg, #173d45 0%, #3c6662 47%, #b96659 100%); }
.event-art--market { color: #443c30; background: radial-gradient(ellipse at 82% 24%, #ffe69a 0, transparent 17%), linear-gradient(145deg, #f0bf74, #e98c76 65%, #d76d63); }
.event-art--market::before { background: repeating-linear-gradient(120deg, transparent 0 28px, rgba(255,255,255,.13) 29px 32px); }
.event-art--tradition { color: #fff8df; background: radial-gradient(circle at 76% 29%, #fff3a7 0 8%, transparent 9%), linear-gradient(130deg, #537c62, #a8a95f 52%, #d58a56); }
.event-art--tradition::before { background: radial-gradient(ellipse at 15% 88%, rgba(255,255,255,.2), transparent 42%), repeating-linear-gradient(0deg, transparent 0 32px, rgba(255,255,255,.08) 33px 35px); }
.event-art--food { color: #fff4e6; background: radial-gradient(ellipse at 20% 18%, #f7cf75 0, transparent 26%), linear-gradient(135deg, #8b5c68, #d98265 57%, #e4ae6e); }
.event-art--openair { color: #f5f7e8; background: radial-gradient(circle at 70% 22%, #f7d676 0 10%, transparent 11%), linear-gradient(140deg, #497f85, #99b27e 57%, #e6a45f); }
.art-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; border-radius: 18px; padding: 6px 9px; color: inherit; background: rgba(21, 36, 30, .24); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; }
.event-art--live .live-event-tint { position: absolute; z-index: 0; inset: 0; pointer-events: none; background: rgba(25, 157, 83, .38); animation: live-wash 1.8s ease-in-out infinite alternate; }
.event-art--covered { height: auto; min-height: 0; aspect-ratio: 16 / 9; background: #203f31; }
.event-art--covered::before, .event-art--covered::after { display: none; }
.event-art--covered .live-event-tint { display: none; }
.event-art--live .art-label { z-index: 2; gap: 8px; min-height: 32px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.72); color: #fff; background: linear-gradient(135deg, #087a42, #19a65b); box-shadow: 0 3px 12px rgba(0, 49, 28, .25); font-size: 11px; letter-spacing: .04em; animation: live-badge-pulse 1.8s ease-in-out infinite; }
.event-art--live .art-glyph, .event-art--live .art-caption { z-index: 2; }
.event-art--live .live-spark { display: inline-grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; line-height: 1; color: #fff38a; font-size: 17px; transform-origin: center; filter: drop-shadow(0 0 5px rgba(255,243,138,.9)); animation: live-twinkle .75s ease-in-out infinite; }
@keyframes live-wash { from { background-color: rgba(25, 157, 83, .3); } to { background-color: rgba(25, 157, 83, .52); } }
@keyframes live-badge-pulse { 0%, 100% { box-shadow: 0 3px 12px rgba(0, 49, 28, .25), 0 0 0 0 rgba(25, 166, 91, .48); } 50% { box-shadow: 0 3px 14px rgba(0, 49, 28, .32), 0 0 0 6px rgba(25, 166, 91, 0); } }
@keyframes live-twinkle { 0%, 100% { transform: scale(1) rotate(-8deg); opacity: 1; } 50% { transform: scale(1.45) rotate(24deg); opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .event-art--live .live-event-tint, .event-art--live .live-spark { animation: none; } }
.art-glyph { position: absolute; right: 20px; top: 31px; color: rgba(255,255,255,.83); font-family: Manrope, sans-serif; font-size: 64px; font-weight: 700; line-height: 1; text-shadow: 0 3px 22px rgba(44, 45, 28, .18); transform: rotate(8deg); }
.art-caption { position: absolute; z-index: 1; left: 15px; bottom: 13px; color: rgba(255,255,255,.9); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event-body { display: flex; flex: 1; flex-direction: column; padding: 13px 14px 14px; }
.event-meta-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.category-tag { color: #53705b; background: #edf4eb; border-radius: 6px; padding: 4px 7px; font-size: 9px; font-weight: 700; }
.event-distance { color: #9ba39c; font-size: 9px; }
.event-top-voted-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; border: 1px solid #ead17b; border-radius: 999px; color: #715616; background: linear-gradient(110deg, #fff7d7, #ffedaa); font-weight: 800; line-height: 1; }
.event-top-voted-badge--card { min-height: 23px; margin: 0 0 7px; padding: 5px 8px; font-size: 9px; box-shadow: 0 3px 9px rgba(151, 117, 26, .1); }
.event-top-voted-badge--card > span { font-size: 12px; }
.event-top-voted-badge--owner { min-height: 20px; padding: 4px 7px; font-size: 8px; }
.event-top-voted-badge--owner > span { font-size: 11px; }
.event-card h3 { font-size: 15px; margin: 0 0 8px; font-weight: 800; }
.event-facts { display: flex; flex-wrap: wrap; gap: 7px 12px; color: #7f8981; font-size: 10px; }
.event-fact { display: inline-flex; align-items: center; gap: 5px; }
.event-fact svg { width: 12px; height: 12px; fill: none; stroke: #9aa39a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-divider { height: 1px; background: #f0f1ed; margin: auto 0 10px; }
.event-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.event-card-stats { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.event-view-count { display: inline-flex; align-items: center; gap: 3px; color: #839087; font-size: 10px; font-weight: 700; white-space: nowrap; }
.event-view-count svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.event-proximity { color: #315d48; background: #edf3e9; border-radius: 6px; padding: 3px 5px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.organizer-mini { display: flex; align-items: center; gap: 7px; min-width: 0; color: #7c877e; font-size: 9px; }
.organizer-avatar { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #f3ede2; color: #856a39; font-size: 10px; font-weight: 800; }
.organizer-avatar-image { display: block; object-fit: cover; }
.organizer-mini span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vote-button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #f6ddd7; border-radius: 10px; background: #fff6f3; color: var(--coral); font-size: 10px; font-weight: 800; flex: 0 0 auto; transition: all .18s; }
.vote-button:hover { border-color: var(--coral); background: #fff0ec; transform: scale(1.03); }
.vote-button svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vote-button.is-voted, .vote-button:disabled { border-color: #e1ebe1; background: #eff5ee; color: var(--green); cursor: default; }
.vote-button.is-voted svg { fill: currentColor; }
button:disabled { cursor: wait; opacity: .72; }
.empty-state { text-align: center; padding: 58px 16px; border: 1px dashed #dce2d9; border-radius: 18px; background: rgba(255,255,255,.56); }
.empty-state > span { font-size: 32px; color: #bac7bc; }
.empty-state h3 { font-size: 18px; margin: 10px 0 6px; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 0 auto 15px; }

.organizer-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 23px; margin: 25px 0 22px; border-radius: 18px; background: #e9eee4; }
.organizer-banner::after { content: ''; position: absolute; width: 180px; height: 180px; right: 120px; top: -106px; border: 1px solid rgba(29, 78, 55, .12); border-radius: 50%; box-shadow: 0 0 0 18px rgba(29,78,55,.035), 0 0 0 38px rgba(29,78,55,.025); pointer-events: none; }
.organizer-spark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #f4d66f; color: #785d1c; font-size: 22px; flex: 0 0 auto; }
.organizer-banner > div:nth-child(2) { flex: 1; }
.organizer-banner .eyebrow { margin: 0 0 5px; color: #77877b; }
.organizer-banner h2 { font-size: 17px; margin: 0 0 5px; }
.organizer-banner p:not(.eyebrow) { color: #738078; font-size: 10px; margin: 0; }
.organizer-banner .button { position: relative; z-index: 1; min-height: 39px; padding: 0 13px; font-size: 10px; white-space: nowrap; }
.organizer-banner-dismiss { position: absolute; z-index: 2; top: 5px; right: 5px; display: grid; place-items: center; width: 19px; height: 19px; padding: 0; border: 0; border-radius: 50%; color: #657369; background: rgba(255,255,255,.78); font-size: 14px; line-height: 1; cursor: pointer; }
.organizer-banner-dismiss:hover, .organizer-banner-dismiss:focus-visible { color: #234c35; background: #fff; outline: 2px solid rgba(35,76,53,.22); }
.page-footer { display: flex; justify-content: space-between; gap: 12px; color: #a0a8a0; font-size: 9px; padding: 0 2px; margin-top: 28px; }
.page-footer button { border: 0; padding: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }

.right-rail { display: grid; gap: 10px; padding-top: 6px; }
.right-rail .rail-kicker { margin: 0; align-self: start; }
.trend-card { background: #fff; border: 1px solid #ebede7; border-radius: 18px; padding: 18px 16px 15px; }
.rail-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rail-heading .eyebrow { margin: 0 0 5px; font-size: 8px; }
.rail-heading h2 { font-size: 17px; }
.trend-star { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: #fff1d3; color: #aa8328; font-size: 16px; }
.rail-copy { margin: 10px 0 12px; color: #8a938c; font-size: 10px; line-height: 1.55; }
.trending-list { margin: 0; padding: 0; list-style: none; display: grid; }
.trending-item { min-width: 0; display: grid; grid-template-columns: 20px 37px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #f0f1ed; cursor: pointer; }
.trending-item[data-trending-event]:hover { background: #f7f8f5; }
.trending-item[data-trending-event]:focus-visible { outline: 2px solid #8eb39b; outline-offset: 2px; border-radius: 8px; }
.trend-rank { color: #a1aaa2; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; }
.trend-thumb { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,.95); font-size: 18px; }
.trend-thumb--music { background: linear-gradient(135deg, #235b5b, #d8796b); }
.trend-thumb--market { background: linear-gradient(135deg, #e4a858, #d97965); }
.trend-thumb--tradition { background: linear-gradient(135deg, #487858, #c3aa5d); }
.trend-thumb--openair { background: linear-gradient(135deg, #497f85, #e6a45f); }
.trend-thumb--food { background: linear-gradient(135deg, #8b5c68, #e4ae6e); }
.trend-thumb img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.trend-copy { min-width: 0; }
.trend-copy b, .trend-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend-copy b { font-size: 10px; }
.trend-copy small { color: #9aa29b; font-size: 9px; margin-top: 4px; }
.trend-votes { color: var(--coral); font-size: 9px; font-weight: 800; white-space: nowrap; }
.text-button { width: 100%; display: flex; justify-content: space-between; padding: 12px 0 0; border: 0; border-top: 1px solid #f0f1ed; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; }
.weekend-card { padding: 18px; border: 1px solid #ebece4; border-radius: 18px; background: #f0ecf9; overflow: hidden; }
.weekend-art { height: 67px; position: relative; margin: -18px -18px 13px; overflow: hidden; background: radial-gradient(circle at 50% 120%, #cfc5ec 0 40%, transparent 41%), linear-gradient(110deg, #e9e4f5, #d9d0ee); }
.weekend-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: -20px; height: 39px; border-radius: 50% 50% 0 0; background: #a19ac9; opacity: .5; }
.weekend-art span, .weekend-art i, .weekend-art b { position: absolute; color: #645d8a; font-style: normal; font-weight: 400; z-index: 1; }
.weekend-art span { font-size: 31px; left: 20px; top: 20px; }
.weekend-art i { font-size: 20px; right: 30px; top: 12px; color: #fff; }
.weekend-art b { font-size: 17px; right: 72px; top: 30px; color: #847ab0; }
.weekend-card .eyebrow { color: #8b83aa; margin: 0 0 7px; }
.weekend-card h3 { font-size: 21px; line-height: 1.05; margin: 0 0 8px; }
.weekend-card p:not(.eyebrow) { color: #7e7896; font-size: 10px; line-height: 1.5; margin: 0 0 14px; }
.weekend-card .button { min-height: 39px; border-radius: 11px; font-size: 10px; }
.trust-note { display: flex; align-items: flex-start; gap: 10px; padding: 7px 3px; }
.trust-note > span { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); font-size: 14px; }
.trust-note p { margin: 0; color: #939c94; font-size: 9px; line-height: 1.6; }
.trust-note b { color: #58645b; font-size: 10px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; background: rgba(16, 34, 25, .48); backdrop-filter: blur(5px); overflow-y: auto; }
.modal-card { position: relative; width: min(100%, 440px); max-height: calc(100vh - 36px); overflow-y: auto; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; padding: 31px 32px 24px; background: #fff; box-shadow: 0 24px 80px rgba(14, 35, 24, .24); animation: modalIn .2s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; right: 16px; top: 15px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #f4f5f1; color: #7c877e; font-size: 22px; line-height: 1; }
.modal-brand-mark { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 13px; background: var(--green); color: white; font-size: 23px; }
.organizer-mark { background: #f2d978; color: #79611e; }
.modal-card .eyebrow { color: #8e9a90; margin: 0 0 9px; }
.modal-card h2 { font-size: 27px; line-height: 1.08; margin: 0 0 10px; }
.modal-intro { color: #7e8981; font-size: 12px; line-height: 1.55; margin: 0 0 19px; }
.form-field { display: grid; gap: 6px; margin: 0 0 12px; color: #626f65; font-size: 10px; font-weight: 700; }
.form-field input { width: 100%; height: 43px; padding: 0 12px; outline: none; border: 1px solid #e7eae3; border-radius: 11px; background: #fbfcf9; color: var(--ink); font-size: 12px; font-weight: 500; }
.form-field input:focus { border-color: #9fb7a2; background: #fff; box-shadow: 0 0 0 3px rgba(98, 147, 111, .1); }
.form-field input::placeholder { color: #adb4ad; }
.form-field input[type="file"] { height: auto; min-height: 43px; padding: 9px; color: #7e8981; }
.form-field input[type="file"]::file-selector-button { margin-right: 9px; padding: 7px 10px; border: 0; border-radius: 8px; background: #eaf0e8; color: var(--green); font: inherit; font-weight: 700; }
.verification-target { margin: 0 0 14px; padding: 11px 12px; border-radius: 10px; background: #f3f6f1; color: #5f6d62; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.verification-resend { margin-top: 8px; }
.verification-back { display: block; margin: 12px auto 0; padding: 5px; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 2px; font-size: 11px; }
.form-field textarea, .form-field select { width: 100%; min-height: 43px; padding: 11px 12px; outline: none; border: 1px solid #e7eae3; border-radius: 11px; background: #fbfcf9; color: var(--ink); font-size: 12px; font-weight: 500; resize: vertical; }
.form-field textarea:focus, .form-field select:focus { border-color: #9fb7a2; background: #fff; box-shadow: 0 0 0 3px rgba(98, 147, 111, .1); }
.form-field textarea::placeholder { color: #adb4ad; }
.description-toolbar { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; }
.description-toolbar button { display: inline-grid; place-items: center; min-width: 31px; height: 29px; padding: 0 8px; border: 1px solid #17241e; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.description-toolbar button:hover, .description-toolbar button:focus-visible { background: #e8efe9; }
.description-size-picker { display: flex; align-items: center; gap: 6px; margin-left: 3px; color: var(--muted); font-size: 10px; }
.description-size-picker select { height: 29px; min-width: 66px; padding: 0 7px; border: 1px solid #17241e; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.description-editor { min-height: 94px; padding: 11px 12px; border: 1px solid #17241e; border-radius: 11px; outline: none; background: #fbfcf9; color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.description-editor, .event-detail-description { font-synthesis: weight; }
.description-editor strong, .description-editor b, .event-detail-description strong, .event-detail-description b { font-weight: 900 !important; }
.description-editor:focus { border-color: #537760; background: #fff; box-shadow: 0 0 0 3px rgba(98, 147, 111, .1); }
.description-editor:empty::before { content: attr(data-placeholder); color: #adb4ad; pointer-events: none; }
.description-editor .description-size-8, .event-detail-description .description-size-8 { font-size: 8px; }
.description-editor .description-size-10, .event-detail-description .description-size-10 { font-size: 10px; }
.description-editor .description-size-12, .event-detail-description .description-size-12 { font-size: 12px; }
.description-editor .description-size-14, .event-detail-description .description-size-14 { font-size: 14px; }
.description-editor .description-size-16, .event-detail-description .description-size-16 { font-size: 16px; }
.description-editor .description-size-18, .event-detail-description .description-size-18 { font-size: 18px; }
.description-editor .description-size-20, .event-detail-description .description-size-20 { font-size: 20px; }
.description-editor .description-size-24, .event-detail-description .description-size-24 { font-size: 24px; }
.event-detail-description p { margin: 0 0 .75em; }
.event-detail-description p:last-child { margin-bottom: 0; }
.event-detail-description ul, .event-detail-description ol { padding-left: 1.5em; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inline-error { color: #a23f32; background: #fff0ec; border: 1px solid #f7d7ce; border-radius: 10px; padding: 9px 11px; margin: 0 0 12px; font-size: 10px; line-height: 1.5; }
.form-field small { font-weight: 500; color: #a3aaa3; }
.form-field .upload-guidance { color: #68776a; font-size: 10px; line-height: 1.45; }
.age-confirm { display: flex; gap: 8px; align-items: center; margin: 2px 0 14px; color: #68756b; font-size: 11px; }
.age-confirm input { accent-color: var(--green); }
#registrationConsentFields .age-confirm { align-items: flex-start; line-height: 1.5; }
#registrationConsentFields .age-confirm input { flex: 0 0 auto; margin-top: 2px; }
#registrationConsentFields a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.modal-card .button { min-height: 46px; margin-top: 3px; }
.form-switch { text-align: center; margin: 15px 0 0; color: #849087; font-size: 10px; }
.form-switch button { padding: 0; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; font-weight: 700; }
.prototype-note { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #f0f1ed; color: #a0a7a0; font-size: 9px; line-height: 1.5; text-align: center; }
.review-note { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin: 5px 0 12px; border-radius: 12px; background: #edf4ed; color: var(--green); }
.review-note > span:first-child { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #d9e9da; font-size: 13px; }
.review-note b, .review-note small { display: block; }
.review-note b { font-size: 10px; }
.review-note small { margin-top: 3px; color: #78897d; font-size: 9px; }
.organizer-modal { width: min(100%, 480px); }
.organizer-modal h2 { font-size: 25px; }
.event-modal { width: min(100%, 560px); }
.event-modal h2 { font-size: 25px; }
.event-modal form { display: grid; }
.admin-page { min-height: 100vh; }
.admin-content { width: min(100% - 36px, 860px); margin: 45px auto 80px; }
.admin-content h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; }
.admin-intro { color: #748078; font-size: 13px; margin: 0 0 24px; }
.admin-list { display: grid; gap: 14px; }
.admin-request { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.admin-request-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.admin-request-heading h2 { margin-top: 8px; font-size: 19px; }
.admin-request-heading time { color: #919b93; font-size: 10px; white-space: nowrap; }
.admin-request dl { display: grid; gap: 12px; margin: 18px 0; }
.admin-request dl div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 12px; font-size: 11px; }
.admin-request dt { color: #88928a; }
.admin-request dd { min-width: 0; overflow-wrap: anywhere; margin: 0; color: #38483d; }
.admin-request dd a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.admin-review-form { display: flex; justify-content: flex-end; gap: 9px; padding-top: 14px; border-top: 1px solid #eef0eb; }
.admin-review-form .button { min-height: 39px; font-size: 11px; }
.admin-empty { padding: 36px 18px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.admin-empty > span { color: var(--green); font-size: 25px; }
.admin-empty h2 { margin: 9px 0 5px; font-size: 18px; }
.admin-empty p { color: #88928a; font-size: 11px; margin: 0; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 27px; max-width: calc(100% - 32px); padding: 12px 17px; border-radius: 13px; color: #fff; background: #203f31; box-shadow: 0 10px 28px rgba(17, 40, 27, .22); font-size: 11px; line-height: 1.45; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.mobile-nav { display: none; }

@media (max-width: 1240px) {
    .app-layout { grid-template-columns: 190px minmax(0, 1fr); }
    .right-rail { display: none; }
    .main-content { max-width: 920px; }
}
@media (max-width: 820px) {
    .topbar { height: 66px; padding: 0 19px; }
    .brand { min-width: auto; gap: 8px; }
    .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
    .brand-name { font-size: 21px; }
    .topbar-center { display: none; }
    .topbar-actions { min-width: auto; }
    .location-control { height: 38px; padding: 0 9px; gap: 5px; }
    .location-control select { max-width: 90px; font-size: 11px; }
    .topbar-actions .button { min-height: 38px; }
    .app-layout { display: block; padding: 36px 20px 90px; }
    .sidebar { display: none; }
    .main-content { max-width: none; }
    .welcome-row { min-height: 0; }
    .search-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
    .filter-control { min-height: 43px; }
    .filter-date, .filter-category { grid-row: 2; }
    .search-submit { grid-column: 3; grid-row: 1; }
    .search-box { grid-column: 1 / 3; grid-row: 1; }
    .filter-date { grid-column: 1; }
    .filter-category { grid-column: 2; }
    .search-panel { padding: 11px; }
    .mobile-nav { position: fixed; z-index: 15; bottom: 0; left: 0; right: 0; height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #e7eae3; background: rgba(255,255,252,.95); backdrop-filter: blur(15px); }
    .mobile-nav-link { display: grid; place-items: center; align-content: center; gap: 2px; border: 0; background: transparent; color: #929b93; font-size: 9px; font-weight: 600; }
    .mobile-nav-link span { font-size: 18px; line-height: 1; }
    .mobile-nav-link.is-active { color: var(--green); }
    .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
    .topbar { padding: 0 14px; gap: 8px; }
    .brand-name { font-size: 20px; }
    .location-control { border: 0; padding: 0 6px; background: transparent; }
    .location-control svg:first-child { width: 14px; height: 14px; }
    .location-control select { max-width: 73px; }
    .topbar-actions { gap: 3px; }
    .topbar-actions .button { padding: 0 11px; font-size: 11px; }
    .app-layout { padding: 28px 14px 84px; }
    .welcome-row { min-height: 0; margin: 2px 0 16px; }
    .welcome-row .eyebrow { font-size: 8px; }
    h1 { font-size: 29px; max-width: 290px; }
    .search-box { height: 45px; }
    .search-box kbd { display: none; }
    .filter-control { height: 43px; }
    .filter-control select { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
    .quick-filters { gap: 5px; padding-top: 9px; }
    .quick-label { display: none; }
    .filter-pill { padding: 6px 8px; font-size: 9px; }
    .clear-filters { font-size: 9px; }
    .demo-notice { margin: 12px 0 22px; font-size: 9px; }
    .dashboard-my-events { margin: 12px 0 18px; padding: 11px; }
    .events-section { margin-top: 22px; }
    .dashboard-my-events-heading { align-items: flex-start; }
    .dashboard-my-events-heading h2 { font-size: 14px; }
    .dashboard-my-events-heading .button { min-height: 33px; padding: 0 8px; font-size: 9px; }
    .dashboard-my-events-list { grid-template-columns: 1fr; }
    .section-heading { align-items: center; }
    h2 { font-size: 18px; }
    .section-kicker { font-size: 7px; }
    .sort-control { gap: 3px; font-size: 9px; }
    .sort-control select { max-width: 87px; font-size: 9px; }
    .event-grid { grid-template-columns: 1fr; gap: 11px; }
    .event-card { display: grid; grid-template-columns: 39% minmax(0, 1fr); min-height: 157px; }
    .event-art { height: 100%; min-height: 157px; padding: 9px; align-items: flex-start; }
    .event-card--with-cover { display: grid; width: 100%; margin: 0; }
    .event-card--with-cover .event-art--covered { width: auto; height: 100%; min-height: 157px; aspect-ratio: auto; }
    .event-card--with-cover .event-art--covered.event-art--mobile-covered { aspect-ratio: auto; }
    .event-card--with-cover .event-cover { object-fit: cover; }
    .event-art::after { width: 110px; height: 72px; right: -22px; bottom: -29px; }
    .art-label { padding: 5px 6px; font-size: 7px; }
    .event-art--live .art-label { min-height: 25px; gap: 5px; padding: 5px 7px; font-size: 8px; }
    .event-art--live .live-spark { flex-basis: 14px; width: 14px; height: 14px; font-size: 14px; }
    .art-glyph { right: 12px; top: 49px; font-size: 42px; }
    .art-caption { left: 9px; bottom: 9px; font-size: 7px; }
    .event-body { padding: 10px 10px 9px; min-width: 0; display: flex; flex: 1; flex-direction: column; justify-content: flex-start; }
    .event-meta-top { margin-bottom: 5px; }
    .event-top-voted-badge--card { min-height: 20px; margin-bottom: 5px; padding: 4px 6px; font-size: 8px; }
    .event-top-voted-badge--card > span { font-size: 11px; }
    .category-tag { padding: 4px 5px; font-size: 8px; }
    .event-distance { font-size: 8px; }
    .event-card h3 { font-size: 13px; margin-bottom: 7px; }
    .event-facts { display: grid; gap: 5px; font-size: 9px; }
    .card-divider { margin: auto 0 7px; }
    .organizer-mini { font-size: 8px; gap: 5px; }
    .organizer-avatar { width: 19px; height: 19px; border-radius: 6px; }
    .event-card-stats { gap: 4px; }
    .event-view-count { gap: 2px; font-size: 8px; }
    .event-proximity { font-size: 8px; }
    .event-view-count svg { width: 11px; height: 11px; }
    .vote-button { padding: 5px 7px; font-size: 9px; }
    .vote-button svg { width: 11px; height: 11px; }
    .dashboard-my-event-row { padding: 9px; }
    .dashboard-my-event-row .my-event-actions { gap: 5px; }
    .dashboard-my-event-row .my-event-actions button { padding: 0 7px; font-size: 9px; }
    .owner-vote-count { gap: 3px; padding: 5px 4px; font-size: 9px; }
    .owner-vote-count svg { width: 11px; height: 11px; }
    .organizer-banner { padding: 16px 14px; gap: 10px; flex-wrap: wrap; }
    .organizer-spark { width: 35px; height: 35px; font-size: 18px; }
    .organizer-banner > div:nth-child(2) { min-width: calc(100% - 50px); }
    .organizer-banner h2 { font-size: 15px; }
    .organizer-banner p:not(.eyebrow) { max-width: 230px; line-height: 1.45; }
    .organizer-banner .button { margin-left: 45px; }
    .organizer-banner-dismiss { top: 4px; right: 4px; width: 18px; height: 18px; font-size: 13px; }
    .page-footer { display: grid; gap: 6px; line-height: 1.4; }
    .modal-card { padding: 27px 22px 19px; border-radius: 20px; }
    .modal-card h2 { font-size: 24px; }
    .form-two-col { grid-template-columns: 1fr; gap: 0; }
    .admin-content { width: calc(100% - 28px); margin-top: 28px; }
    .admin-request { padding: 15px; }
    .admin-request-heading { align-items: flex-start; }
    .admin-request-heading h2 { font-size: 16px; }
    .admin-request dl div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Admin navigation and organizer management */
.admin-link-label { flex: 1; }
.notification-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; color: #fff; background: #d7363e; font-size: 10px; font-weight: 800; line-height: 1; box-shadow: 0 2px 6px rgba(155, 26, 35, .18); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.admin-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 10px; color: #738077; font-size: 12px; font-weight: 700; }
.admin-tabs a:hover { background: #f4f6f1; color: var(--ink); }
.admin-tabs a.is-active { background: var(--green-soft); color: var(--green); }
.admin-notice { margin: 0 0 17px; padding: 12px 15px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.admin-notice--success { color: #1b6042; background: #e8f4eb; }
.admin-notice--error { color: #9c2b2b; background: #fff0ef; }
.organizer-admin-card { padding: 20px; }
.organizer-account-id { color: #8a938c; font-size: 10px; white-space: nowrap; }
.organizer-summary { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 20px !important; margin: 18px 0 20px !important; }
.organizer-summary div { display: block !important; min-width: 0; }
.organizer-summary dt { margin-bottom: 4px; font-size: 10px; }
.organizer-summary dd { font-size: 11px; }
.organizer-edit-form { padding-top: 17px; border-top: 1px solid #eef0eb; }
.organizer-edit-form h3 { margin: 0 0 13px; font-size: 13px; }
.organizer-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 13px; }
.admin-field { display: grid; gap: 5px; color: #66736a; font-size: 10px; font-weight: 700; }
.admin-field input { width: 100%; min-width: 0; min-height: 39px; padding: 0 10px; border: 1px solid #e1e6df; border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.admin-field input:focus { border-color: #91b29c; box-shadow: 0 0 0 3px rgba(80, 133, 98, .1); }
.admin-event-description { margin: 12px 0; color: #59675d; font-size: 11px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.admin-event-media { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.admin-event-media figure { width: min(100%, 210px); margin: 0; }
.admin-event-media img, .admin-event-media video { display: block; width: 100%; max-height: 250px; border-radius: 10px; background: #edf1eb; object-fit: contain; }
.admin-event-media figcaption { margin-top: 5px; color: #728076; font-size: 10px; }
.admin-event-review-form { display: grid; gap: 10px; padding-top: 15px; border-top: 1px solid #eef0eb; }
.admin-event-review-form textarea { width: 100%; min-height: 70px; padding: 10px; border: 1px solid #e1e6df; border-radius: 10px; font: inherit; font-size: 11px; resize: vertical; }
.admin-event-review-actions { display: flex; justify-content: flex-end; gap: 9px; }
.event-status-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; line-height: 1.2; }
.event-status-badge--pending { color: #805f14; background: #fff4d8; }
.event-status-badge--rejected { color: #a03f35; background: #ffefec; }
.event-status-badge--approved { color: #286244; background: #e9f4eb; }
.event-status-badge--cancelled { color: #59645b; background: #edf0ec; }
.organizer-form-actions { display: flex; justify-content: flex-end; margin-top: 13px; }
.organizer-form-actions .button, .organizer-delete-form .button { min-height: 39px; border-radius: 11px; font-size: 11px; }
.organizer-delete-form { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #f1e5e4; }
.organizer-delete-form > span { color: #9a7775; font-size: 10px; line-height: 1.4; text-align: right; }
.button-danger { color: #a92c32; border: 1px solid #efd0d0; background: #fff4f3; }
.button-danger:hover { background: #ffe8e6; }
.site-settings-form { display: grid; gap: 16px; }
.site-settings-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.site-settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-settings-heading .eyebrow { margin: 0 0 4px; }
.site-settings-heading h2 { font-size: 20px; }
.site-settings-heading > span { padding: 6px 9px; border-radius: 999px; color: #58715d; background: #eef4ed; font-size: 10px; font-weight: 800; white-space: nowrap; }
.site-settings-help { max-width: 650px; margin: 8px 0 18px; color: #7c877e; font-size: 11px; line-height: 1.6; }
.site-settings-rows { display: grid; gap: 9px; }
.site-setting-row { display: grid; align-items: end; gap: 10px; }
.site-setting-row--category { grid-template-columns: minmax(0, 1fr) auto; }
.site-setting-row--date { grid-template-columns: minmax(0, 1fr) minmax(100px, .35fr) auto; }
.site-setting-remove, .site-setting-add { min-height: 39px; border-radius: 10px; font-size: 10px; }
.site-setting-add { margin-top: 12px; }
.site-settings-submit { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 2px 3px; }
.site-settings-submit p { max-width: 470px; margin: 0; color: #7c877e; font-size: 11px; line-height: 1.5; }
.site-settings-submit .button { flex: 0 0 auto; }
@media (max-width: 560px) {
    .admin-tabs { width: 100%; }
    .admin-tabs a { flex: 1 1 38%; justify-content: center; padding: 0 9px; font-size: 11px; }
    .organizer-admin-card { padding: 15px; }
    .organizer-summary { grid-template-columns: 1fr !important; }
    .organizer-edit-grid { grid-template-columns: 1fr; }
    .organizer-delete-form { align-items: flex-start; flex-direction: column; }
    .organizer-delete-form > span { text-align: left; }
    .site-settings-card { padding: 16px; }
    .site-setting-row--date { grid-template-columns: minmax(0, 1fr) minmax(95px, .55fr); }
    .site-setting-row--date .site-setting-remove { grid-column: 1 / -1; justify-self: end; }
    .site-settings-submit { align-items: stretch; flex-direction: column; }
    .site-settings-submit .button { width: 100%; }
}
/* User account, event dashboard and event detail */
.profile-modal { width: min(100%, 700px); }
.profile-image-settings { display: flex; align-items: center; gap: 15px; }
.profile-image-preview, .profile-image-fallback { width: 82px; height: 82px; flex: 0 0 82px; border-radius: 50%; }
.profile-image-preview { object-fit: cover; border: 1px solid #e3e9e1; background: #f1f5ef; }
.profile-image-fallback { display: grid; place-items: center; border: 1px solid #e3e9e1; color: #657a69; background: #f1f5ef; font-size: 29px; }
.profile-image-controls { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.profile-image-controls small { color: #89938a; font-size: 10px; line-height: 1.5; }
.profile-image-controls .button { width: auto; min-width: 190px; }
.profile-nav-fallback { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; }
.profile-nav-avatar { width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; object-fit: cover; border: 1px solid #dce5dc; }
.mobile-profile-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.profile-image-preview[hidden], .profile-image-fallback[hidden], .profile-nav-avatar[hidden], .mobile-profile-avatar[hidden], #profileNavFallback[hidden], #mobileProfileGlyph[hidden], #profileImageRemove[hidden] { display: none; }
.profile-section { border-top: 1px solid #edf0eb; padding-top: 18px; margin-top: 20px; }
.profile-section h3, .form-section-heading { margin: 0 0 12px; font-size: 14px; color: var(--ink); }
.form-section-heading { margin-top: 9px; padding-top: 12px; border-top: 1px solid #f0f1ed; }
.form-section-heading small { color: #9aa39b; font-size: 10px; font-weight: 500; }
.profile-note { margin: -3px 0 13px; color: #89938a; font-size: 10px; line-height: 1.55; }
.profile-section .button { min-height: 42px; }
.profile-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.profile-section-heading .button { flex: 0 0 auto; }
.my-events-list { display: grid; gap: 10px; }
.my-event-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid #e9ede7; border-radius: 14px; background: #fbfcf9; }
.my-event-copy { min-width: 0; }
.my-event-copy b { display: block; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.my-event-copy small { display: block; margin-top: 4px; color: #89938a; font-size: 10px; }
.my-event-stats { display: flex; gap: 10px; margin-top: 7px; color: #647168; font-size: 10px; }
.my-event-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 2px; }
.event-rejection-note { margin: 8px 0 0; padding: 8px 9px; border-radius: 9px; color: #82443d; background: #fff0ed; font-size: 10px; line-height: 1.5; }
.my-event-actions { display: flex; gap: 7px; }
.my-event-actions button { min-height: 33px; padding: 0 10px; border: 1px solid #e2e8df; border-radius: 9px; background: #fff; color: var(--green); font-size: 10px; font-weight: 700; }
.my-event-actions .my-event-delete { color: #a34337; }
.profile-danger { border-top-color: #f4ddd7; }
.profile-danger h3 { color: #9f4034; }
.event-cover-picture { position: absolute; inset: 0; display: block; }
.event-cover { display: block; width: 100%; height: 100%; object-fit: contain; }
.event-art--covered .art-label, .event-art--covered .art-glyph, .event-art--covered .art-caption { display: none; }
.ai-media-badge { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; min-height: 24px; padding: 5px 8px; border: 1px solid rgba(31, 58, 39, .08); border-radius: 999px; color: #354e3a; background: rgba(255, 255, 255, .92); font-size: 9px; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(20, 45, 27, .12); }
.ai-media-badge--inline { position: static; min-height: 22px; box-shadow: none; }
.ai-disclosure { display: inline-flex; margin: 0 0 10px; padding: 6px 10px; border-radius: 999px; color: #405744; background: #eef3e9; font-size: 10px; font-weight: 700; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-choice-field { min-width: 0; margin: 0 0 13px; padding: 0; border: 0; }
.ai-choice-field legend { margin-bottom: 7px; color: #626f65; font-size: 10px; font-weight: 700; }
.ai-choice-field > small { display: block; margin-top: 6px; color: #8b968d; font-size: 10px; line-height: 1.45; }
.choice-option { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.choice-option input { width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 0; accent-color: #39714e; }
.choice-option span { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 10px; border: 1px solid #e4e9e1; border-radius: 10px; color: #67746a; background: #fff; font-size: 11px; font-weight: 700; }
.choice-option input:checked + span { border-color: #9bb9a0; color: #28543a; background: #edf5ed; }
.rights-confirmation { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 14px; padding: 11px; border: 1px solid #e4e9e1; border-radius: 11px; color: #657168; background: #f8faf6; font-size: 10px; line-height: 1.5; }
.rights-confirmation input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #39714e; }
.event-card { cursor: pointer; }
.event-card:focus-visible { outline: 3px solid #91b498; outline-offset: 3px; }
.event-title-button { display: block; max-width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; font-weight: inherit; letter-spacing: inherit; cursor: pointer; }
.event-details-trigger { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; }
.event-detail-modal { width: min(100%, 850px); padding: 25px; }
.event-qr-modal { width: min(100%, 430px); text-align: center; }
.event-qr-modal .modal-close { z-index: 1; }
.event-qr-modal h2 { padding: 0 22px; font-size: 22px; overflow-wrap: anywhere; }
.event-qr-preview { display: grid; place-items: center; width: 100%; margin: 15px auto; }
.event-qr-preview canvas { display: block; width: min(100%, 300px); height: auto; image-rendering: pixelated; border: 1px solid #edf0eb; border-radius: 8px; }
.event-qr-url { margin: 0 0 14px; color: #879188; font-size: 9px; overflow-wrap: anywhere; }
.event-qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.event-qr-actions .button { min-height: 40px; margin: 0; border-radius: 11px; font-size: 11px; }
.dashboard-my-event-row .my-event-actions [data-event-qr] { color: var(--green); }
.dashboard-my-event-row .my-event-actions button:disabled { color: #a1aaa2; cursor: not-allowed; }
.event-detail-modal h2 { margin: 0 40px 10px 0; font-size: clamp(23px, 4vw, 34px); }
.event-detail-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 40px 10px 0; }
.event-detail-modal .event-detail-title-row h2 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: clamp(23px, 4vw, 34px); }
.event-detail-top-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid #ead17b; border-radius: 999px; background: linear-gradient(110deg, #fff7d7, #ffedaa); color: #715616; font-size: 11px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 12px rgba(151, 117, 26, .12); }
.event-detail-top-badge > span { font-size: 15px; }
.event-detail-cover-picture { display: block; width: 100%; max-height: 390px; aspect-ratio: 16 / 8; margin: 3px 0 18px; overflow: hidden; border-radius: 17px; background: #eff3ec; }
.event-detail-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-detail-cover--placeholder { display: grid; place-items: center; color: #67816c; font-size: 52px; }
.event-detail-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 19px; color: #758178; font-size: 12px; }
.event-detail-vote-group { display: inline-flex; align-items: center; gap: 7px; }
.event-detail-vote-group .vote-button { min-height: 34px; padding: 0 10px; font-size: 11px; }
.event-detail-vote-group .vote-button svg { width: 15px; height: 15px; }
.event-detail-vote-count { color: #78847b; font-size: 12px; font-weight: 700; }
.event-detail-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: -10px 0 20px; }
.event-detail-stats, .event-detail-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.event-detail-stats { color: #768079; font-size: 11px; font-weight: 700; }
.event-detail-views { display: inline-flex; align-items: center; gap: 5px; }
.event-detail-views svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.event-detail-distance { padding: 5px 7px; border-radius: 7px; background: #edf3e9; color: #315d48; white-space: nowrap; }
.event-detail-buttons .button { min-height: 40px; padding: 0 13px; border-radius: 10px; font-size: 11px; text-decoration: none; }
.event-owner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -5px 0 18px; }
.event-owner-actions .button { min-height: 38px; border-radius: 10px; font-size: 11px; }
.event-detail-description { color: #536157; font-size: 13px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.event-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.event-gallery img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: #eef2eb; object-fit: cover; cursor: zoom-in; }
.event-detail-cover { cursor: zoom-in; }
.image-lightbox { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1400px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 48px 10px; background: rgba(8, 15, 11, .88); backdrop-filter: blur(5px); }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { grid-column: 2; grid-row: 2; justify-self: center; display: block; max-width: 100%; max-height: calc(100vh - 96px); object-fit: contain; border-radius: 12px; box-shadow: 0 20px 70px rgba(0, 0, 0, .35); }
.image-lightbox-close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 29px; line-height: 1; cursor: pointer; }
.image-lightbox-nav { position: static; align-self: center; justify-self: center; width: 48px; height: 58px; border: 1px solid rgba(255,255,255,.45); border-radius: 15px; background: rgba(255,255,255,.12); color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }
.image-lightbox-nav:hover, .image-lightbox-close:hover { background: rgba(255,255,255,.24); }
.image-lightbox-prev { grid-column: 1; grid-row: 2; }
.image-lightbox-next { grid-column: 3; grid-row: 2; }
.image-lightbox-count { grid-column: 2; grid-row: 3; justify-self: center; align-self: center; color: #fff; font-size: 12px; font-weight: 700; }
.event-preview-video { width: 100%; max-height: 420px; margin: 8px 0 18px; border-radius: 14px; background: #111; }
.event-detail-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 18px; }
.event-detail-links a { padding: 8px 11px; border: 1px solid #e3eae1; border-radius: 10px; color: var(--green); font-size: 11px; font-weight: 700; text-decoration: none; }
.event-organizer-box { margin-top: 20px; padding: 16px; border-radius: 15px; background: #f5f7f2; }
.event-organizer-box h3 { margin: 0 0 9px; font-size: 14px; }
.event-organizer-identity { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.event-organizer-avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border: 1px solid #e3e9e1; border-radius: 50%; object-fit: cover; color: #657a69; background: #f1f5ef; font-size: 13px; font-weight: 800; }
.event-organizer-box p { margin: 6px 0; color: #66736a; font-size: 11px; line-height: 1.55; }
.consent-modal { width: min(100%, 440px); }
.consent-decline { margin-top: 8px; }
.existing-gallery { margin: 2px 0 12px; padding: 10px; border-radius: 12px; background: #f7f8f5; }
.existing-gallery-label { display: block; margin-bottom: 8px; color: #7f8b81; font-size: 10px; font-weight: 700; }
.existing-gallery-items { display: flex; flex-wrap: wrap; gap: 8px; }
.existing-gallery-item { display: grid; gap: 5px; width: 90px; color: #7c877e; font-size: 9px; }
.existing-gallery-item img { width: 90px; height: 70px; border-radius: 8px; object-fit: cover; }
.existing-gallery-item label { display: flex; align-items: center; gap: 3px; }
.existing-trending-image { display: flex; align-items: center; gap: 9px; margin-top: 7px; }
.existing-trending-image img { width: 54px; height: 54px; border: 1px solid #e2e8df; border-radius: 9px; object-fit: cover; }
.existing-media-note { margin: 0 0 8px; color: #818c83; font-size: 10px; }
@media (max-width: 560px) {
    .event-detail-modal { padding: 21px 16px; }
    .event-detail-cover-picture { aspect-ratio: 4 / 3; }
    .event-detail-cover-picture.has-mobile-cover { aspect-ratio: 4 / 5; max-height: 420px; }
    .my-event-row { grid-template-columns: 1fr; }
    .my-event-actions { justify-content: flex-end; }
    .profile-section-heading { align-items: flex-start; flex-direction: column; }
}
.profile-section form > .button:last-child { margin-bottom: 0; }


/* Legal information pages */
.legal-page { max-width: 1040px; margin: 0 auto; padding: 44px 24px 64px; }
.legal-document { padding: clamp(22px, 4vw, 46px); border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: var(--shadow); }
.legal-page .eyebrow { margin: 0 0 9px; }
.legal-page h1 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 43px); }
.legal-page h2 { margin: 30px 0 9px; font-size: 19px; letter-spacing: -.025em; }
.legal-page p, .legal-page li { color: #5f6d63; font-size: 13px; line-height: 1.75; }
.legal-page p { margin: 0 0 12px; }
.legal-page ul { display: grid; gap: 8px; padding-left: 22px; margin: 8px 0 14px; }
.legal-page a:not(.button) { color: var(--green); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-draft-notice { margin: 0 0 24px; padding: 15px 17px; border: 1px solid #e8d89c; border-radius: 13px; color: #624f1c; background: #fff8df; font-size: 12px; line-height: 1.6; }
.legal-draft-notice p { margin: 5px 0 0; color: #766532; font-size: 12px; }
.legal-update { margin: 30px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); color: #929b93 !important; font-size: 10px !important; }
.legal-footer { max-width: 1040px; margin: 0 auto 22px; padding: 0 24px 24px; }
.page-footer a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* High-contrast outlines for the main interface surfaces and controls. */
.topbar, .location-control, .search-panel, .search-box, .search-box kbd, .filter-control, .filter-pill,
.dashboard-my-events, .dashboard-my-event-row, .event-card:not(.event-card--most-voted), .sidebar-note,
.trend-card, .weekend-card, .modal-card, .form-field input, .form-field textarea, .form-field select,
.admin-request, .admin-empty, .admin-tabs, .admin-field input, .admin-event-review-form textarea,
.site-settings-card, .profile-image-preview, .profile-image-fallback, .profile-section, .form-section-heading,
.my-event-row, .my-event-actions button, .button-outline, .rights-confirmation, .choice-option span,
.event-detail-links a, .organizer-banner, .legal-document {
    border-color: #17241e;
}
.sidebar-note, .organizer-banner { border: 1px solid #17241e; }
.event-card:not(.event-card--most-voted):hover { border-color: #17241e; }
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) {
    --line: #fff;
}
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .topbar,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .location-control,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .search-panel,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .search-box,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .search-box kbd,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .filter-control,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .filter-pill,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .dashboard-my-events,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .dashboard-my-event-row,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .event-card:not(.event-card--most-voted),
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .sidebar-note,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .trend-card,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .weekend-card,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .modal-card,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .form-field input,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .form-field textarea,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .description-editor,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .description-toolbar button,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .description-size-picker select,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .form-field select,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .admin-request,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .admin-empty,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .admin-tabs,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .admin-field input,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .admin-event-review-form textarea,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .site-settings-card,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .profile-image-preview,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .profile-image-fallback,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .profile-section,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .form-section-heading,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .my-event-row,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .my-event-actions button,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .button-outline,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .rights-confirmation,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .choice-option span,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .event-detail-links a,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .organizer-banner,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .legal-document {
    border-color: #fff;
}
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .sidebar-note,
:is(html.dark-mode, html.theme-dark, html[data-theme="dark"], body.dark-mode, body.theme-dark, body[data-theme="dark"]) .organizer-banner { border-color: #fff; }
@media (max-width: 560px) {
    .legal-page { padding: 25px 14px 40px; }
    .legal-document { padding: 21px 17px; border-radius: 17px; }
    .legal-page h2 { font-size: 17px; }
    .legal-page p, .legal-page li { font-size: 12px; }
    .legal-footer { padding: 0 14px 22px; }
}
