.ev-card { --ev-ease: cubic-bezier(0.23, 1, 0.32, 1); position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(23,23,25,.06), 0 1px 2px rgba(23,23,25,.04); transition: box-shadow 220ms var(--ev-ease), transform 220ms var(--ev-ease); }
@media (hover: hover) and (pointer: fine) { .ev-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(23,23,25,.06), 0 18px 40px -18px rgba(23,23,25,.32); } .ev-card:hover .ev-card-poster img { transform: scale(1.04); } }
.ev-card-poster { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f0f0; }
.ev-card-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ev-ease); }
.ev-card-fee { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 700; line-height: 1.5; color: #171719; box-shadow: 0 1px 4px rgba(23,23,25,.14); font-variant-numeric: tabular-nums; }

.ev-art { --art: linear-gradient(145deg, #ff9a3c 0%, #e8590c 100%); position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px 20px; overflow: hidden; color: #fff; background: var(--art); }
.ev-art::before { content: ''; position: absolute; right: -48px; top: -48px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ev-art::after { content: ''; position: absolute; right: 36px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); }
.ev-art.is-tone-1 { --art: linear-gradient(145deg, #3a3b44 0%, #16161a 100%); }
.ev-art.is-tone-2 { --art: linear-gradient(145deg, #2f7a62 0%, #0a0a0a 100%); }
.ev-art.is-tone-3 { --art: linear-gradient(145deg, #3d5aa6 0%, #141c33 100%); }
.ev-art.is-tone-4 { --art: linear-gradient(145deg, #a24a78 0%, #3d1c33 100%); }
.ev-art > * { position: relative; z-index: 1; }
.ev-art-cat { align-self: flex-end; padding: 3px 11px; border-radius: 99px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.ev-art-date { display: grid; gap: 6px; line-height: 1; }
.ev-art-date strong { font-size: 60px; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ev-art-date span { font-size: 14px; font-weight: 500; opacity: .88; }

.ev-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 6px; }
.ev-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ev-card-cat { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; color: #0a0a0a; }
.ev-dday { flex: none; padding: 2px 9px; border-radius: 99px; background: #f0f0f0; font-size: 11px; font-weight: 700; color: #515154; font-variant-numeric: tabular-nums; }
.ev-dday.is-soon { background: #efefef; color: #0a0a0a; }
.ev-dday.is-live { background: #e8f6ec; color: #1b6b34; }
.ev-dday.is-end { background: #f0f0f0; color: #6b6b6b; }
.moc-app .ev-card h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.45; font-weight: 700; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.moc-app .ev-card h3 a { color: #171719; }
@media (hover: hover) and (pointer: fine) { .moc-app .ev-card h3 a:hover { color: #0a0a0a; } }
.moc-app .ev-card-meta { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; font-size: 13px; line-height: 1.5; color: #6b6b6b; font-variant-numeric: tabular-nums; }
.ev-card-meta .moc-icon { width: 15px; height: 15px; color: #a3a3a3; }
.ev-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto -18px 0; padding: 8px 12px 8px 18px; border-top: 1px solid #f0f0f0; }
.ev-card-body > .ev-card-meta:last-of-type { margin-bottom: 14px; }
.ev-card-org { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #8f8f8f; }

.ev-card.is-compact { border-radius: 12px; }
.ev-card.is-compact .ev-card-poster { aspect-ratio: 16 / 10; }
.ev-card.is-compact .ev-art { padding: 14px 16px; }
.ev-card.is-compact .ev-art::before { width: 140px; height: 140px; }
.ev-card.is-compact .ev-art::after { display: none; }
.ev-card.is-compact .ev-art-cat { font-size: 11px; }
.ev-card.is-compact .ev-art-date strong { font-size: 40px; }
.ev-card.is-compact .ev-art-date span { font-size: 12px; }
.ev-card.is-compact .ev-card-fee { top: 10px; left: 10px; padding: 2px 8px; font-size: 11px; }
.ev-card.is-compact .ev-card-body { padding: 12px 14px 4px; }
.moc-app .ev-card.is-compact h3 { margin-bottom: 8px; font-size: 15px; }
.moc-app .ev-card.is-compact .ev-card-meta { font-size: 12px; margin-bottom: 3px; }
.ev-card.is-compact .ev-card-foot { margin: auto -14px 0; padding: 4px 8px 4px 14px; }

.ev-rail-wrap { position: relative; }
.ev-rail { display: flex; gap: 14px; margin: 0 -2px; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ev-rail::-webkit-scrollbar { display: none; }
.ev-rail:focus-visible { outline-offset: 2px; border-radius: 12px; }
.ev-rail-item { flex: 0 0 232px; min-width: 0; scroll-snap-align: start; }
.ev-rail-btn { position: absolute; top: 74px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #171719; box-shadow: 0 0 0 1px rgba(23,23,25,.08), 0 8px 20px -6px rgba(23,23,25,.35); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease-out, background-color 160ms ease-out; }
.ev-rail-btn[hidden] { display: none; }
.ev-rail-btn.is-prev { left: -14px; }
.ev-rail-btn.is-next { right: -14px; }
.ev-rail-btn.is-prev .moc-icon { transform: scaleX(-1); }
.ev-rail-btn .moc-icon { width: 18px; height: 18px; }
.ev-rail-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .ev-rail-btn:hover { background: #efefef; } }
@media (max-width: 700px) { .ev-rail-item { flex-basis: 208px; } .ev-rail-btn { width: 36px; height: 36px; top: 64px; } .ev-rail-btn.is-prev { left: -8px; } .ev-rail-btn.is-next { right: -8px; } }

.moc-event-list .moc-page-heading { margin: 36px 0 22px; }
.moc-app .moc-event-list .moc-page-heading h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.045em; }
.moc-app .moc-event-list .moc-page-heading p { margin-top: 8px; font-size: 16px; }
.ev-chip-nav { display: flex; gap: 8px; margin: 0 0 18px; padding: 2px 0 8px; overflow-x: auto; scrollbar-width: none; }
.ev-chip-nav::-webkit-scrollbar { display: none; }
.moc-app .ev-chip-nav a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: #efefef; box-shadow: none; font-size: 14px; font-weight: 500; color: #262626; transition: background-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.moc-app .ev-chip-nav a:active { transform: scale(0.98); }
.moc-app .ev-chip-nav a.is-active { background: #171719; color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .moc-app .ev-chip-nav a:not(.is-active):hover { background: #e4e4e4; color: #0a0a0a; box-shadow: none; } }
.moc-event-list .moc-filter-form { border-radius: 12px; box-shadow: 0 0 0 1px rgba(23,23,25,.06), 0 1px 2px rgba(23,23,25,.04); }
.moc-app .moc-event-list .moc-results-count { margin: 26px 0 16px !important; font-size: 14px; }
.ev-grid { gap: 22px; }
.moc-event-list .ev-grid > .ev-card { height: 100%; }
@media (max-width: 1100px) { .ev-grid.moc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ev-grid.moc-grid-3 { grid-template-columns: minmax(0, 1fr); } .ev-art-date strong { font-size: 52px; } }
@media (prefers-reduced-motion: reduce) { .ev-card, .ev-card-poster img, .ev-rail-btn, .moc-app .ev-chip-nav a { transition: none; } .ev-card:hover { transform: none; } }
