/* ================= Events app — loud, bright, Lagos nightlife ================= */
.ev { gap: 10px; }
.ev-hero { position: relative; flex: none; border-radius: 18px; padding: 14px 14px 46px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 85% 10%, #ffe259 0, transparent 35%), radial-gradient(circle at 10% 90%, #00f2fe 0, transparent 40%), linear-gradient(135deg, #ff0080, #7928ca 60%, #2b86c5);
  box-shadow: 0 8px 22px rgba(121, 40, 202, 0.35); }
.ev-hero b { display: block; font-size: 19px; letter-spacing: -0.3px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.ev-hero small { display: block; opacity: 0.95; margin-top: 3px; line-height: 1.35; }
.ev-mine { position: absolute; left: 14px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: #7928ca; font-weight: 800; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.ev-mine i { font-style: normal; background: #ff0080; color: #fff; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; padding: 0 5px; }

.ev-cats { display: flex; gap: 6px; overflow-x: auto; flex: none; scrollbar-width: none; padding-bottom: 2px; }
.ev-cats::-webkit-scrollbar { display: none; }
.ev-cats button { flex: none; padding: 6px 11px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; border: 1.5px solid #f0e6ff; color: #5b3c9a; }
.ev-cats button.on { background: linear-gradient(135deg, #ff0080, #7928ca); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(255, 0, 128, 0.35); }

.ev-card { position: relative; flex: none; display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; min-height: 112px; padding: 12px; border-radius: 18px; color: #fff; text-align: left; overflow: hidden; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); transition: transform 0.15s; }
.ev-card:hover { transform: translateY(-2px) scale(1.01); }
.ev-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.28), transparent 45%); pointer-events: none; }
.ev-date { width: 48px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.95); color: #1d1d1d; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); }
.ev-date b { font-size: 20px; font-weight: 800; }
.ev-date small { font-size: 10px; font-weight: 800; color: #ff0080; margin-top: 2px; }
.ev-emoji { position: absolute; right: -6px; bottom: -10px; font-size: 64px; opacity: 0.35; transform: rotate(-12deg); pointer-events: none; }
.ev-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; z-index: 1; }
.ev-info > b { font-size: 15px; line-height: 1.2; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.ev-info > small { font-size: 11px; opacity: 0.95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-hot { align-self: flex-start; font-style: normal; font-size: 10px; font-weight: 800; background: #ffe259; color: #b3006b; padding: 2px 7px; border-radius: 999px; animation: pulseBg 1.4s infinite; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 10.5px; font-weight: 700; margin-top: 2px; }
.ev-meta span { background: rgba(0, 0, 0, 0.18); padding: 2px 7px; border-radius: 999px; }
.ev-meta .ev-price { background: #fff; color: #1d1d1d; }
.ev-note { color: var(--muted); text-align: center; font-size: 11px; }

/* Detail */
.ev-poster { position: relative; flex: none; border-radius: 20px; padding: 18px 14px 14px; color: #fff; text-align: center; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.ev-poster::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 20px); }
.ev-big { position: relative; display: block; font-size: 54px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3)); animation: evBob 2.4s ease-in-out infinite; }
@keyframes evBob { 50% { transform: translateY(-5px) rotate(-4deg); } }
.ev-poster b { position: relative; display: block; font-size: 18px; line-height: 1.2; margin-top: 4px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.ev-poster small { position: relative; opacity: 0.92; }
.ev-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
.ev-facts div { background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; font-size: 12px; }
.ev-facts span { font-size: 16px; }
.ev-facts small { color: var(--muted); }
.ev-blurb { margin: 0; font-size: 13px; line-height: 1.45; flex: none; }
.ev-lineup { display: flex; flex-wrap: wrap; gap: 5px; flex: none; }
.ev-lineup span { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #f6edff; color: #7928ca; }
.ev-tier { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 2px solid #eee; text-align: left; }
.ev-tier span:first-child { display: flex; flex-direction: column; font-size: 13.5px; }
.ev-tier small { color: var(--muted); font-size: 11px; }
.ev-tier .ev-low { color: #ff0080; font-weight: 700; }
.ev-tier.on { border-color: #ff0080; background: #fff0f7; box-shadow: 0 4px 12px rgba(255, 0, 128, 0.18); }
.ev-tier:disabled { opacity: 0.45; }
.ev-tprice { font-weight: 800; color: #7928ca; white-space: nowrap; }
.ev-buy { display: flex; justify-content: space-between; align-items: center; flex: none; }
.ev-total { text-align: right; display: flex; flex-direction: column; }
.ev-total small { color: var(--muted); font-size: 11px; }
.ev-total b { font-size: 18px; }
.ev-msg { flex: none; font-size: 12.5px; background: #fff3cd; color: #7a5a12; padding: 8px 10px; border-radius: 10px; }
.ev-link { color: #7928ca; font-weight: 800; text-decoration: underline; }
.ev-cta { flex: none; height: 48px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 0.2px; box-shadow: 0 8px 18px rgba(121, 40, 202, 0.35); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.ev-cta:hover { transform: translateY(-2px); }

/* Tickets */
.ev-success { flex: none; text-align: center; font-size: 20px; font-weight: 800; background: linear-gradient(90deg, #ff0080, #7928ca, #2b86c5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-ticket { flex: none; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); position: relative; }
.ev-tk-top { display: flex; gap: 10px; align-items: center; padding: 12px; color: #fff; }
.ev-tk-top span { font-size: 30px; }
.ev-tk-top b { display: block; font-size: 14px; line-height: 1.2; }
.ev-tk-top small { opacity: 0.92; font-size: 11.5px; }
.ev-tk-body { display: flex; gap: 12px; align-items: center; padding: 12px; border-top: 2px dashed #e5e5e5; }
.ev-tk-body img { width: 92px; height: 92px; border-radius: 8px; image-rendering: pixelated; flex: none; }
.ev-tk-body div { display: flex; flex-direction: column; font-size: 12.5px; min-width: 0; }
.ev-tk-body small { color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.ev-code { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.5px; color: #7928ca; }

/* Hero buttons + "Post your event" form */
.ev-hero-btns { position: absolute; left: 14px; bottom: 10px; display: flex; gap: 6px; }
.ev-hero-btns .ev-mine { position: static; }
.ev-form { flex: none; display: flex; flex-direction: column; gap: 8px; }
.ev-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; color: #5b3c9a; }
.ev-form input, .ev-form select { padding: 9px 10px; border-radius: 10px; border: 1.5px solid #e9dcff; font: inherit; font-size: 13px; font-weight: 400; color: #1d1d1d; background: #fff; min-width: 0; }
.ev-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
