/* Oyunmarkt /etkinlikler/ — the approved demo markup carries its inline styles; the theme's global demo rules
   (demo.css: .ico, .crumb, .go, .scrolly, .sr, .theme-dark mapping) do the rest. Only states and dark-mode
   values that inline styles cannot express live here, scoped to .omev. Sharp corners only. */
.omev {
    --omev-accent: #d92d20;
}
.omev [hidden] { display: none !important; }
.omev :is(h1, h2, h3) { color: inherit; font-family: inherit; }
.omev p { text-wrap: pretty; }

/* Card phases follow the visitor's clock (events.js updates data-phase on the cached page). */
.omev .omev-card:not([data-phase="open"]) [data-omev-show="open"],
.omev .omev-card:not([data-phase="upcoming"]) [data-omev-show="upcoming"],
.omev .omev-card:not([data-phase="closed"]) [data-omev-show="closed"] { display: none !important; }

/* Signed-in visitors with tickets see "Katıldın"; everyone else the join button. */
.omev .omev-card:not([data-joined]) [data-omev-joined],
.omev .omev-card[data-joined] [data-omev-join] { display: none !important; }

.omev .omev-menu > summary::-webkit-details-marker { display: none; }
.omev .omev-menu:not([open]) > .omev-menu__panel { display: none; }
.omev .omev-menu__panel a:hover { text-decoration: none; background: #F6F6F4; }

/* Calendar: today's red bar follows the visitor's clock. */
.omev .omev-day { cursor: pointer; }
.omev .omev-day:not(.is-today) .omev-day__today { display: none; }
.omev .omev-day:focus-visible { outline: 2px solid #111111; outline-offset: -2px; }
.omev .omev-ics[aria-pressed="true"] { background: #0F8A5F !important; color: #FFFFFF !important; }

/* Dark mode values the global demo mapping does not cover. */
.theme-dark .omev .omev-day[aria-pressed="true"] .omev-day__wd { color: #111111 !important; }
.theme-dark .omev .lt [style*="color: #BDBDBA"],
.theme-dark .omev .lt [style*="color: rgb(189, 189, 186)"] { color: #5A5A5F !important; }
.theme-dark .omev .lt [style*="color: #8A8A8A"] { color: #8E8E93 !important; }
.theme-dark .omev .omev-day:focus-visible { outline-color: #F2F2F2; }
.theme-dark .omev .omev-ics[aria-pressed="true"] { background: #0F8A5F !important; color: #FFFFFF !important; }
.theme-dark .omev .omev-menu__panel { background: #FFFFFF !important; color: #111111 !important; }
.theme-dark .omev .omev-menu__panel :is(p, a) { color: #111111 !important; }

/* The demo calendar strip scrolls sideways on phones; keep the page itself at the viewport width. */
@media (max-width: 900px) {
    .omev .omev-cal { max-width: 100%; }
}
