/* Quiet, readable event discovery. No autoplay, custom cursors or shifting cards. */
.events-page { padding-block: clamp(42px, 6vw, 80px) 80px; }
.events-page-intro { max-width: 730px; margin-bottom: 38px; }
.events-page-intro h1 { font-size: clamp(32px, 4.3vw, 50px); line-height: 1.14; letter-spacing: -.045em; margin: 14px 0 18px; text-wrap: balance; }
.events-page-intro > p { color: var(--muted, #aaa6b7); font-size: 16px; line-height: 1.85; max-width: 640px; }
.events-filter-bar { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; margin: 0 0 42px; padding: 22px; border: 1px solid #c7b5e21c; border-radius: 18px; background: #ffffff02; }
.events-filter-bar label { display: grid; gap: 9px; flex: 1 1 160px; min-width: 0; }
.events-filter-bar .events-search { flex: 2 1 260px; }
.events-filter-bar label > span { color: #bcb4cc; font-size: 12px; }
.events-filter-bar :is(input, select) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #bda7d52b; border-radius: 10px; padding: 10px 12px; color: #ece6f5; background: #100e17; font: inherit; font-size: 13px; }
.events-filter-bar .button { min-height: 46px; }
.events-filter-reset { min-height: 46px; display: inline-flex; align-items: center; color: #b9a4d0; font-size: 13px; padding-inline: 4px; }
.community-events { min-width: 0; }
.community-events-heading { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.community-events-heading .section-kicker { color: #bba6d3; letter-spacing: .13em; font-size: 10px; }
.community-events-heading h2 { margin: 9px 0 9px; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.25; letter-spacing: -.035em; }
.community-events-heading p { color: #9691a5; font-size: 12px; line-height: 1.8; margin: 0; }
.community-events-heading > a { flex-shrink: 0; font-size: 13px; }
.community-events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.community-event-card { overflow: hidden; min-width: 0; border: 1px solid #c0aad422; border-radius: 18px; background: #15121d; transition: border-color .18s ease, box-shadow .18s ease; }
.community-event-card:focus-within, .community-event-card:hover { border-color: #c3a1e34d; box-shadow: 0 10px 28px #0000001f; }
.community-event-art { position: relative; aspect-ratio: 2.5; overflow: hidden; background: #1c1628; }
/* Event posters can be much wider than this shared card; retain their text and edges. */
.community-event-art > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.community-event-art.has-placeholder { background: radial-gradient(ellipse at 85% 10%, #70618a38, transparent 60%), linear-gradient(135deg, #201a2c, #17131f); }
.community-event-art.has-placeholder > span:first-child { position: absolute; right: 24px; top: 3px; color: #c5aad929; font-size: 95px; line-height: 1.4; font-weight: 300; }
.community-event-status { position: absolute; inset: auto auto 12px 14px; display: inline-flex; gap: 7px; align-items: center; padding: 6px 9px; border: 1px solid #e4d6fa24; border-radius: 7px; background: #100d18e8; font-size: 10px; color: #e6d8f4; }
.community-event-status i { width: 6px; height: 6px; border-radius: 50%; background: #8ed6b6; }
.community-event-card.is-live .community-event-status { color: #a6e3cb; border-color: #9bd8bd35; }
.community-event-age { position: absolute; top: 12px; right: 12px; padding: 4px 7px; border-radius: 6px; background: #100d18e8; color: #f0c3ad; font-size: 10px; }
.community-event-content { display: flex; flex-direction: column; padding: 22px; min-height: 265px; }
.community-event-time { color: #bda6dc; font-size: 12px; font-weight: 600; }
.community-event-time small { font-size: 9px; color: #92819f; margin-left: 4px; font-weight: 400; }
.community-event-content h3 { margin: 13px 0 12px; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.community-event-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #aaa1b5; font-size: 13px; line-height: 1.8; margin: 0 0 19px; overflow-wrap: anywhere; }
.community-event-server { display: flex; align-items: center; gap: 9px; color: #c2b9cd; text-decoration: none; font-size: 12px; min-width: 0; margin-top: auto; padding-block: 10px 17px; }
.community-event-server > img, .community-event-server-fallback { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: #c6a5e611; }
.community-event-server-fallback { display: grid; place-items: center; color: #c4acdc; }
.community-event-server > span[translate] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-event-server > span:last-child { color: #8b7b9a; margin-left: auto; }
.community-event-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 43px; border-top: 1px solid #cfb6ed18; padding-top: 15px; color: #d7c0ed; font-size: 12px; text-decoration: none; }
.community-event-link:hover, .community-event-server:hover { color: #f2e5ff; }
.events-empty { display: flex; align-items: flex-start; gap: 20px; padding: 32px; border: 1px dashed #bda5d32b; border-radius: 18px; background: #ffffff01; }
.events-empty-mark { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #bda4dc28; border-radius: 14px; color: #bda5d5; font-size: 25px; }
.events-empty h3 { margin: 2px 0 10px; font-size: 17px; }
.events-empty p { margin: 0 0 12px; color: #a79caf; font-size: 13px; line-height: 1.8; max-width: 600px; }
.events-empty a { color: #cab2e4; font-size: 12px; }
.events-pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }
.events-pagination > span { color: #9b8aa9; font-size: 12px; }
.events-owner-note { display: flex; gap: 18px; margin-top: 52px; padding-top: 28px; border-top: 1px solid #c7b0de1c; }
.events-owner-note > span { color: #c1a8dc; padding-top: 4px; }
.events-owner-note h2 { margin: 0 0 8px; font-size: 16px; }
.events-owner-note p { max-width: 720px; color: #9e93ac; font-size: 13px; line-height: 1.8; margin: 0 0 12px; }
.events-owner-note a { color: #c9b3e2; font-size: 12px; }
.community-events.is-profile { margin-top: 28px; padding: 26px; border: 1px solid #c1a5dc21; border-radius: 18px; }
.community-events.is-profile .community-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.community-events.is-profile .community-event-content { padding: 18px; }
.community-events.is-profile .community-events-heading h2 { font-size: 23px; }
@media (max-width: 950px) { .community-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
 .events-page { padding-top: 35px; } .events-page-intro { margin-bottom: 27px; } .events-page-intro > p { font-size: 14px; }
 .events-filter-bar { padding: 17px; gap: 16px 12px; margin-bottom: 32px; } .events-filter-bar .events-search { flex-basis: 100%; } .events-filter-bar label { flex-basis: calc(50% - 12px); } .events-filter-bar .button { flex: 1 1 100%; }
 .community-events-heading { align-items: flex-start; gap: 15px; flex-wrap: wrap; } .community-events-heading > a { padding-block: 3px; }
 .community-events-grid, .community-events.is-profile .community-events-grid { grid-template-columns: minmax(0, 1fr); } .community-event-content { min-height: 230px; }
 .events-empty { padding: 23px; gap: 14px; } .events-empty-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 21px; }
 .community-events.is-profile { padding: 19px; } .events-owner-note { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .community-event-card { transition: none; } }
.events-server-filter { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 26px; padding:14px 18px; border:1px solid #c1a5dc29; border-radius:12px; background:#b28be80a; }
.events-server-filter p { margin:0; color:var(--muted,#aaa1b7); font-size:12px; line-height:1.75; }
.events-server-filter a { flex:none; color:var(--lilac,#c6a9f2); font-size:12px; }
@media(max-width:620px) { .events-server-filter { align-items:flex-start; flex-direction:column; gap:9px; } }
