/* Masjid Al-Noor Events: public pages.
   Rules start with .mev so that theme and page-builder styles do not override them. */

.mev,
.mev-portal {
	--mev-teal: #01a4c4;
	--mev-gold: #eaae21;
	--mev-deep: #067089;
	--mev-ink: #0b3b47;
	--mev-text: #24434c;
	--mev-mute: #557078;
	--mev-line: #d5e5e9;
	--mev-mist: #eef7f9;
	--mev-live: #bd2415;
	--mev-heading: 'Philosopher';
	--mev-ease: cubic-bezier(.2, .8, .2, 1);
}

@supports (color: color-mix(in srgb, red, blue)) {
	.mev,
	.mev-portal { --mev-deep: color-mix(in srgb, var(--mev-teal) 66%, #04242d); }
}

.mev { position: relative; box-sizing: border-box; width: 100%; max-width: 1200px; min-width: 0; margin: 0 auto; padding: 8px 0 32px; color: var(--mev-text); font-size: 16px; line-height: 1.55; text-align: left; }
.mev *, .mev *::before, .mev *::after, .mev-portal * { box-sizing: border-box; }
.mev [hidden], .mev-portal [hidden] { display: none !important; }
.mev p { margin: 0 0 12px; padding: 0; }
.mev ul, .mev dl { margin: 0; padding: 0; list-style: none; }
.mev li, .mev dd { margin: 0; padding: 0; }
.mev h1, .mev h2, .mev h3 { margin: 0; padding: 0; color: var(--mev-ink); font-family: var(--mev-heading), Philosopher, serif; font-weight: 700; letter-spacing: 0; line-height: 1.18; text-transform: none; text-wrap: balance; }
.mev a { color: var(--mev-deep); }
.mev img { display: block; max-width: 100%; vertical-align: middle; }
/* The website theme styles every button, link and form field, and its stylesheet loads after this one.
   Whatever it sets is also set here, with slightly more weight, so that the plugin looks the same on the live site. */
.mev button, .mev-portal button { position: relative; vertical-align: middle; -webkit-appearance: none; appearance: none; }
.mev label { vertical-align: middle; }
.mev input, .mev select, .mev textarea { vertical-align: middle; }
.mev input[type="text"], .mev input[type="email"], .mev input[type="tel"], .mev textarea { -webkit-appearance: none; appearance: none; }
.mev input[type="radio"], .mev input[type="checkbox"] { color: inherit; font: inherit; }
.mev strong, .mev-portal strong { font-weight: 700; }
.mev a:not(.mev-btn):hover, .mev a:not(.mev-btn):focus, .mev a:not(.mev-btn):active { color: var(--mev-ink); }
.mev a.mev-poster, .mev a.mev-poster:hover { text-decoration: none; }
.mev .mev-ico { flex: none; vertical-align: middle; }
.mev .screen-reader-text, .mev-portal .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.elementor-widget:has(.mev) { width: 100%; max-width: 100%; min-width: 0; flex-grow: 1; --container-widget-width: 100%; --container-widget-flex-grow: 1; }
.mev-wrap { padding-left: 15px; padding-right: 15px; }

/* ---------- Buttons ---------- */

.mev .mev-btn,
.mev-portal .mev-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; margin: 0; padding: 10px 20px;
	border: 2px solid transparent; border-radius: 10px; box-shadow: none;
	font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: 0; text-align: center; text-decoration: none; text-transform: none;
	cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .25s var(--mev-ease), transform .18s var(--mev-ease);
}
.mev .mev-btn:hover, .mev-portal .mev-btn:hover { text-decoration: none; transform: translateY(-1px); }
.mev .mev-btn:active, .mev-portal .mev-btn:active { transform: translateY(0) scale(.98); }
.mev a:focus-visible, .mev button:focus-visible, .mev summary:focus-visible, .mev-portal a:focus-visible, .mev-portal button:focus-visible { outline: 3px solid #b57d00; outline-offset: 3px; }
.mev .mev-btn--primary { border-color: var(--mev-deep); background: var(--mev-deep); color: #fff; }
.mev .mev-btn--primary:hover, .mev .mev-btn--primary:focus { border-color: var(--mev-ink); background: var(--mev-ink); color: #fff; box-shadow: 0 12px 20px -12px rgba(11, 59, 71, .8); }
.mev .mev-btn--quiet, .mev .mev-btn--tool { border-color: var(--mev-line); background: #fff; color: var(--mev-ink); }
.mev .mev-btn--quiet:hover, .mev .mev-btn--tool:hover, .mev .mev-btn--tool[aria-expanded="true"] { border-color: var(--mev-teal); background: var(--mev-mist); color: var(--mev-ink); }
.mev .mev-btn--icon, .mev .mev-card__actions .mev-btn--icon { flex: none; width: 46px; padding: 0; }
.mev .mev-btn--gold { border-color: var(--mev-gold); background: var(--mev-gold); color: #221700; }
.mev .mev-btn--gold:hover, .mev .mev-btn--gold:focus { border-color: #ffd469; background: #ffd469; color: #221700; box-shadow: 0 14px 22px -14px rgba(0, 0, 0, .6); }
.mev .mev-btn--live { border-color: var(--mev-live); background: var(--mev-live); color: #fff; }
.mev .mev-btn--live:hover, .mev .mev-btn--live:focus { border-color: #8f180c; background: #8f180c; color: #fff; }
.mev .mev-btn--danger { border-color: #9f2410; background: #9f2410; color: #fff; }
.mev .mev-btn--danger:hover { border-color: #7e1b0b; background: #7e1b0b; color: #fff; }

.mev-pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.mev--motion .mev-pulse { animation: mev-pulse 1.8s ease-out infinite; }
@keyframes mev-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 75%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }

/* ---------- Weekly lessons signpost ---------- */

.mev .mev-weekly {
	position: relative; display: flex; align-items: center; gap: 18px; overflow: hidden;
	margin: 0 0 34px; padding: 18px 20px 18px 22px; border-radius: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23eaae21' stroke-opacity='.16'%3E%3Crect x='20' y='20' width='56' height='56'/%3E%3Crect x='20' y='20' width='56' height='56' transform='rotate(45 48 48)'/%3E%3C/g%3E%3C/svg%3E") right center / 72px repeat-y, var(--mev-ink);
	color: #fff; box-shadow: 0 18px 30px -24px rgba(5, 38, 48, .9);
}
.mev .mev-weekly__icon { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border: 2px solid rgba(234, 174, 33, .65); border-radius: 50%; color: var(--mev-gold); }
.mev .mev-weekly__icon .mev-ico { width: 26px; height: 26px; }
.mev .mev-weekly__words { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.mev .mev-weekly strong { color: #fff; font-family: var(--mev-heading), Philosopher, serif; font-size: 22px; line-height: 1.25; }
.mev .mev-weekly__words span { color: rgba(255, 255, 255, .82); font-size: 15px; }
.mev .mev-weekly .mev-btn { flex: none; margin-right: 54px; }
.mev .mev-weekly a:focus-visible { outline-color: #fff; }
.mev * + .mev-weekly:last-child { margin: 36px 0 0; }

/* ---------- Heading, notice, filters ---------- */

.mev .mev-head { margin: 0 0 26px; }
.mev h2.mev-head__title { font-size: clamp(26px, 3.2vw, 34px); }
.mev .mev-head__intro { margin: 10px 0 0; max-width: 60ch; color: var(--mev-mute); font-size: 17px; }
.mev .mev-notice, .mev .mev-alert, .mev .mev-fullnote { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; padding: 14px 18px; border-radius: 12px; }
.mev .mev-notice { border: 1px solid #ead28b; background: #fff7df; color: #4a3500; }

.mev .mev-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.mev .mev-chip { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 42px; margin: 0; padding: 8px 17px; border: 1px solid var(--mev-line); border-radius: 99px; background: #fff; box-shadow: none; color: var(--mev-ink); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .18s; }
.mev .mev-chip:hover { border-color: var(--mev-teal); background: var(--mev-mist); color: var(--mev-ink); }
.mev .mev-chip:active { transform: scale(.97); }
.mev .mev-chip[aria-pressed="true"] { border-color: var(--mev-ink); background: var(--mev-ink); color: #fff; }

/* ---------- Date leaf: a page from a desk calendar ---------- */

.mev .mev-leaf { position: relative; z-index: 2; display: flex; flex: none; flex-direction: column; width: 68px; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 0 0 1px rgba(11, 59, 71, .13), 0 3px 0 -1px #fff, 0 4px 0 -1px rgba(11, 59, 71, .2), 0 14px 20px -12px rgba(11, 59, 71, .55); }
.mev .mev-leaf::before, .mev .mev-leaf::after { content: ""; position: absolute; top: -5px; width: 5px; height: 12px; border-radius: 4px; background: var(--mev-ink); box-shadow: 0 0 0 2px #fff; }
.mev .mev-leaf::before { left: 17px; }
.mev .mev-leaf::after { right: 17px; }
.mev .mev-leaf__top { padding: 8px 2px 3px; border-radius: 10px 10px 0 0; background: var(--mev-gold); color: #221700; font-size: 13px; font-weight: 700; line-height: 1.3; }
.mev .mev-leaf__day { color: var(--mev-ink); font-family: var(--mev-heading), serif; font-size: 31px; font-weight: 700; line-height: 1.15; font-variant-numeric: lining-nums; }
.mev .mev-leaf__sub { padding: 0 2px 6px; color: var(--mev-mute); font-size: 12px; font-weight: 600; line-height: 1.2; }
.mev .mev-leaf--large { width: 86px; }
.mev .mev-leaf--large::before { left: 23px; }
.mev .mev-leaf--large::after { right: 23px; }
.mev .mev-leaf--large .mev-leaf__day { font-size: 43px; }
.mev .mev-leaf--large .mev-leaf__top { font-size: 15px; }

/* ---------- Posters: shown whole, in a frame of the poster's own shape ---------- */

.mev .mev-poster { position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate; aspect-ratio: var(--mev-ar, .8); border-radius: 14px; background: var(--mev-mist); box-shadow: 0 0 0 1px rgba(11, 59, 71, .13), 0 24px 34px -24px rgba(11, 59, 71, .65); transition: transform .35s var(--mev-ease), box-shadow .35s var(--mev-ease); }
.mev a.mev-poster:hover { box-shadow: 0 0 0 1px rgba(11, 59, 71, .2), 0 36px 44px -26px rgba(11, 59, 71, .7); }
.mev--motion a.mev-poster:hover { transform: perspective(900px) rotateX(var(--mev-rx, 0deg)) rotateY(var(--mev-ry, 0deg)) translateY(-5px); }
.mev .mev-poster img.mev-poster__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: contain; }
.mev--motion .mev-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mev-mx, 50%) var(--mev-my, 0%), rgba(255, 255, 255, .24), transparent 48%); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mev--motion a.mev-poster:hover::after { opacity: 1; }
.mev .mev-poster__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--mev-ink); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s var(--mev-ease); }
.mev .mev-poster:hover .mev-poster__zoom, .mev .mev-poster:focus-visible .mev-poster__zoom { opacity: 1; transform: none; }
/* On phones and touch screens, tapping the poster opens it, so no button is laid over the writing. */
@media (hover: none), (max-width: 640px) { .mev .mev-poster__zoom { display: none; } }
.mev .mev-poster--none { display: flex; align-items: center; justify-content: center; padding: 26px 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23eaae21' stroke-opacity='.2'%3E%3Crect x='20' y='20' width='56' height='56'/%3E%3Crect x='20' y='20' width='56' height='56' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(165deg, #0d4a59, #07232d); text-decoration: none; }
.mev .mev-poster__words { color: #fff; font-family: var(--mev-heading), serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.mev .mev-poster__words::after { content: ""; display: block; width: 54px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--mev-gold); }
.mev .mev-card--cancelled .mev-poster img.mev-poster__img { filter: grayscale(1) brightness(.72); }

.mev .mev-when-pill { display: inline-block; margin: 0; padding: 5px 13px; border-radius: 99px; background: #fff; color: var(--mev-ink); font-size: 13px; font-weight: 700; line-height: 1.35; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.mev .is-live .mev-when-pill { background: var(--mev-live); color: #fff; }
.mev .mev-ribbon { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.3; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); pointer-events: none; }
.mev .mev-ribbon--cancelled { background: var(--mev-live); color: #fff; }
.mev .mev-ribbon--postponed { background: var(--mev-gold); color: #221700; }

/* ---------- Next event, or the only event ---------- */

.mev .mev-spot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 52px); margin: 0 0 46px; padding: clamp(16px, 2.6vw, 30px); border: 1px solid var(--mev-line); border-radius: 24px; background: rgba(255, 255, 255, .86); box-shadow: 0 30px 50px -40px rgba(11, 59, 71, .6); }
.mev .mev-spot__media { position: relative; width: min(450px, 38vw, calc(600px * var(--mev-ar, .8))); min-width: 250px; }
.mev--motion .mev-spot__media { animation: mev-settle .9s var(--mev-ease) both; }
@keyframes mev-settle { from { opacity: 0; transform: perspective(1000px) rotateY(9deg) translateY(10px); } to { opacity: 1; transform: none; } }
.mev .mev-spot__body { min-width: 0; padding-top: 8px; }
.mev .mev-spot__head { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 20px; }
.mev .mev-spot__head > div { min-width: 0; }
.mev .mev-spot__head .mev-leaf { margin-top: 6px; }
.mev .mev-spot__head .mev-when-pill { margin: 0 0 8px; background: var(--mev-mist); box-shadow: none; }
.mev .is-live .mev-spot__head .mev-when-pill { background: var(--mev-live); }
.mev h2.mev-detail__title, .mev h3.mev-spot__title { margin: 0; font-size: clamp(27px, 3.4vw, 41px); overflow-wrap: anywhere; }
.mev .mev-spot__title a { color: var(--mev-ink); text-decoration: none; background: linear-gradient(var(--mev-gold), var(--mev-gold)) left bottom / 0 3px no-repeat; transition: background-size .3s var(--mev-ease); }
.mev .mev-spot__title a:hover { background-size: 100% 3px; }
.mev .mev-spot__date { margin: 10px 0 0; color: var(--mev-ink); font-size: 18px; font-weight: 600; line-height: 1.45; }
.mev .mev-spot__date span { display: block; color: var(--mev-mute); font-weight: 400; }
.mev .mev-spot__summary { max-width: 62ch; margin: 0 0 18px; font-size: 17px; }
.mev .mev-facts { display: grid; gap: 9px; margin: 0 0 20px; }
.mev .mev-facts li { display: flex; align-items: flex-start; gap: 11px; }
.mev .mev-facts .mev-ico { margin-top: 2px; color: var(--mev-deep); }
.mev .mev-facts a { display: inline-block; margin-right: 6px; font-weight: 600; white-space: nowrap; text-decoration: underline; }
.mev .mev-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--mev-mist); color: var(--mev-ink); font-size: 15px; }
.mev .mev-note--waitlist, .mev .mev-note--notyet { background: #fff3d4; color: #4a3500; }
.mev .mev-note--full, .mev .mev-note--closed, .mev .mev-note--ended { background: #eef1f2; color: #374c53; }
.mev .mev-note--cancelled { background: #fdeae7; color: #7d180b; }
.mev .mev-spot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.mev .mev-spot__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.mev .mev-spot__actions .mev-btn { padding-right: 16px; padding-left: 16px; }

.mev .mev-spot--solo { padding: clamp(18px, 3.4vw, 42px); }
.mev .mev-spot--solo .mev-spot__media { width: min(480px, 40vw, calc(660px * var(--mev-ar, .8))); }

.mev .mev-banner { display: flex; flex-direction: column; gap: 2px; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; }
.mev .mev-banner--cancelled { border: 1px solid #f0b9b0; background: #fdeae7; color: #7d180b; }
.mev .mev-banner--postponed { border: 1px solid #ead28b; background: #fff3d4; color: #4a3500; }
.mev .mev-banner strong { font-size: 17px; }

/* ---------- Grid ---------- */

.mev .mev-month { margin: 0 0 44px; }
.mev h2.mev-month__title { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: 25px; }
.mev .mev-month__title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mev-gold), rgba(234, 174, 33, 0)); }
.mev .mev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; }
.mev .mev-grid--few { justify-content: center; }
.mev .mev-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 40px; }
.mev .mev-grid--3 { grid-template-columns: repeat(3, minmax(0, 370px)); }
.mev .mev-card { display: flex; flex-direction: column; min-width: 0; }
.mev .mev-card__media { position: relative; width: min(100%, calc(620px * var(--mev-ar, .8))); margin: 0 auto; }
/* In a long list, a very tall poster is held to a lower height so that its neighbours are not left far apart. */
.mev .mev-month .mev-card__media { width: min(100%, calc(480px * var(--mev-ar, .8))); }
.mev .mev-card__body { display: flex; align-items: flex-start; gap: 14px; padding: 0 2px; }
.mev .mev-card__body .mev-leaf { position: relative; margin-top: 18px; pointer-events: none; }
.mev .mev-card__text { min-width: 0; padding-top: 14px; }
.mev h3.mev-card__title { margin: 0 0 4px; font-size: 22px; overflow-wrap: anywhere; }
.mev .mev-card__title a { color: var(--mev-ink); text-decoration: none; }
.mev .mev-card__title a:hover { color: var(--mev-deep); text-decoration: underline; text-decoration-color: var(--mev-gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.mev .mev-card__date { margin: 0; color: var(--mev-ink); font-size: 14.5px; font-weight: 600; }
.mev .mev-card__time { margin: 0; color: var(--mev-mute); font-size: 14.5px; }
.mev .mev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.mev .mev-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 7px; background: #e6f2f5; color: #0b4a59; font-size: 13px; font-weight: 600; line-height: 1.35; }
.mev .mev-tag .mev-ico { width: 15px; height: 15px; }
.mev .mev-tag--open { background: #dcf2e7; color: #0a5a40; }
.mev .mev-tag--wait { background: #fdefc9; color: #644500; }
.mev .mev-tag--shut { background: #e9edee; color: #43575d; }
.mev .mev-tag--stream { background: #fce5e1; color: #931f10; }
.mev .mev-tags .mev-tag--when { background: var(--mev-ink); color: #fff; box-shadow: none; }
.mev .is-live .mev-tags .mev-tag--when { background: var(--mev-live); }
.mev .mev-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
.mev .mev-card__actions > .mev-btn { flex: 1 1 120px; padding-right: 12px; padding-left: 12px; }
.mev .mev-card__tools { display: flex; gap: 8px; margin-left: auto; }

/* ---------- Empty, past ---------- */

.mev .mev-empty { max-width: 640px; margin: 10px auto 30px; padding: clamp(28px, 5vw, 48px) 24px; border: 1px solid var(--mev-line); border-top: 6px solid var(--mev-gold); border-radius: 22px; background: rgba(255, 255, 255, .9); text-align: center; box-shadow: 0 30px 50px -40px rgba(11, 59, 71, .6); }
.mev .mev-empty__mark { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 14px; border-radius: 50%; background: var(--mev-mist); color: var(--mev-deep); }
.mev .mev-empty__mark .mev-ico { width: 32px; height: 32px; }
.mev h2.mev-empty__title { margin-bottom: 8px; font-size: 30px; }
.mev .mev-empty__weekly { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mev-line); color: var(--mev-ink); font-weight: 600; }
.mev .mev-empty > p:last-child { margin: 0; }
.mev .mev-nomatch { padding: 26px 20px; border: 1px dashed var(--mev-line); border-radius: 14px; background: rgba(255, 255, 255, .85); text-align: center; }
.mev .mev-pastlink, .mev .mev-more { margin: 8px 0 0; text-align: center; }
.mev .mev-pastlink a { display: inline-block; padding: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- One event's page ---------- */

.mev .mev-back { margin: 0 0 16px; }
.mev .mev-back a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--mev-line); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .18s; }
.mev .mev-back a:hover { background: var(--mev-mist); }
.mev .mev-detail { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 52px); padding: clamp(16px, 2.6vw, 30px); border: 1px solid var(--mev-line); border-radius: 24px; background: rgba(255, 255, 255, .9); }
.mev .mev-detail__media { position: relative; width: min(470px, 40vw, calc(660px * var(--mev-ar, .8))); min-width: 250px; }
.mev .mev-detail__body { min-width: 0; padding-top: 8px; }
.mev .mev-detail .mev-ribbon { top: 14px; right: 14px; }
.mev .mev-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.mev .mev-thumbs a { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px var(--mev-line); transition: transform .2s var(--mev-ease); }
.mev .mev-thumbs a:hover { transform: translateY(-3px); }
.mev .mev-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mev .mev-stream { margin: 0 0 18px; padding: 18px 20px; border-radius: 14px; background: var(--mev-mist); }
.mev .mev-stream h3 { margin-bottom: 6px; font-size: 20px; }
.mev .mev-stream .mev-btn { margin: 4px 8px 0 0; }
.mev .mev-stream > p:last-child { margin-bottom: 0; }
.mev .mev-content { max-width: 68ch; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--mev-line); overflow-wrap: anywhere; }
.mev .mev-content ul { margin: 0 0 14px 20px; list-style: disc; }
.mev .mev-content ol { margin: 0 0 14px 20px; list-style: decimal; }
.mev .mev-content > :last-child { margin-bottom: 0; }

/* ---------- Landscape posters, and lining cards up ---------- */

@media (min-width: 861px) {
	.mev .mev-spot.mev-spot--wide .mev-spot__media { width: min(620px, 50vw); }
	.mev .mev-spot.mev-spot--solo.mev-spot--wide .mev-spot__media { width: min(660px, 52vw); }
	.mev .mev-detail.mev-detail--wide .mev-detail__media { width: min(620px, 50vw); }
}

/* Cards in one row share their lines, so that posters of different shapes sit on a common base
   and the dates, names and buttons stay level. Browsers without subgrid simply stack each card. */
@media (min-width: 641px) {
	@supports (grid-template-rows: subgrid) {
		.mev .mev-grid { row-gap: 0; }
		.mev .mev-month { margin-bottom: 4px; }
		.mev .mev-grid--few { margin-bottom: -40px; }
		.mev .mev-grid .mev-card { display: grid; grid-row: span 4; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 0; margin-bottom: 40px; }
		.mev .mev-grid .mev-card__media { grid-row: 1; align-self: end; justify-self: center; }
		.mev .mev-grid .mev-card__body { grid-row: 2; }
		.mev .mev-grid .mev-card .mev-tags { grid-row: 3; align-self: start; }
		.mev .mev-grid .mev-card__actions { grid-row: 4; align-self: end; }
	}
}

/* Two or three events: each column is as wide as its poster's shape needs, so the posters are all
   the same height and none is cropped. The heading sits above the middle of them. */
@media (min-width: 641px) {
	.mev .mev-head--centre { text-align: center; }
	.mev .mev-head--centre .mev-head__intro { margin-right: auto; margin-left: auto; }
	.mev .mev-grid.mev-grid--fit { grid-template-columns: var(--mev-cols); column-gap: var(--mev-gap, 28px); width: 100%; max-width: var(--mev-wide); margin-right: auto; margin-left: auto; }
	.mev .mev-grid--fit .mev-card__media { width: calc(100% * var(--mev-fill, 1)); }
	/* In a narrower column the date moves above the name, and the buttons stay on one line. */
	.mev .mev-grid--few .mev-card__body { flex-wrap: wrap; row-gap: 4px; }
	.mev .mev-grid--few .mev-card__text { flex: 1 1 150px; min-width: 0; }
	.mev .mev-grid--few .mev-card__actions > .mev-btn { flex-basis: 90px; }
}
@media (min-width: 641px) and (max-width: 999px) {
	.mev .mev-grid.mev-grid--fit.mev-grid--3 { grid-template-columns: var(--mev-cols-pair); }
	.mev .mev-grid--fit.mev-grid--3 .mev-card:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 28px) * var(--mev-third, .5)); min-width: min(100%, 300px); }
	.mev .mev-grid--fit.mev-grid--3 .mev-card:nth-child(3) .mev-card__media { width: min(100%, calc(580px * var(--mev-ar, .8))); }
}
/* On a wide phone the single column is narrower than the page, so the heading lines up with it. */
@media (max-width: 640px) {
	.mev .mev-head--centre { max-width: 420px; margin-right: auto; margin-left: auto; }
}

/* ---------- Archive: a wall of past posters ---------- */

.mev.mev-past { --mev-row: 300px; }
.mev .mev-year { margin: 0 0 42px; }
/* Every poster in a row is the same height, whatever its shape. A row may grow or shrink only a
   little to fill the width. front.js (evenRows) then shares the posters out so that the rows are
   close to one another in height; these rules are what is seen if the script cannot run. */
.mev .mev-wall { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px 18px; }
.mev .mev-wall::after { content: ""; flex: 100000 1 0; }
.mev .mev-shot { flex: calc(var(--mev-ar, .8) * 10) 1 calc(var(--mev-ar, .8) * var(--mev-row) * .92); min-width: 0; max-width: min(100%, calc(var(--mev-ar, .8) * var(--mev-row) * 1.12)); }
.mev .mev-shot__words { padding: 11px 2px 0; overflow-wrap: anywhere; }
.mev h3.mev-shot__name { margin: 0; font-size: 18px; line-height: 1.28; }
.mev .mev-shot__date { margin: 3px 0 0; color: var(--mev-mute); font-size: 14px; line-height: 1.4; }
.mev .mev-shot .mev-poster { border-radius: 12px; }
.mev .mev-shot .mev-poster__words { font-size: clamp(18px, 2vw, 24px); }
.mev .mev-spot__date.mev-spot__date--past { margin-bottom: 18px; }
.mev-past > .mev-nomatch { margin-bottom: 12px; }

/* ---------- Sign-up form ---------- */

.mev .mev-signup { max-width: 840px; margin: 40px auto 0; scroll-margin-top: 110px; }
.mev .mev-panel { padding: clamp(20px, 4.4vw, 42px); border: 1px solid var(--mev-line); border-top: 6px solid var(--mev-gold); border-radius: 22px; background: #fff; box-shadow: 0 30px 50px -38px rgba(11, 59, 71, .65); }
.mev .mev-panel > :last-child { margin-bottom: 0; }
.mev .mev-panel h1, .mev .mev-panel > h2 { margin-bottom: 10px; font-size: clamp(26px, 4vw, 34px); }
.mev .mev-intro { color: var(--mev-mute); }
.mev .mev-fullnote { margin-top: 12px; border: 2px solid #e2b23c; background: #fff6da; color: #402d00; }
.mev .mev-fullnote p { margin: 0 0 4px; }
.mev .mev-fullnote .mev-ico { width: 26px; height: 26px; color: #7a5300; }
.mev .mev-alert { display: block; border: 2px solid #d9897c; background: #fdefec; color: #7d180b; font-weight: 600; }
.mev .mev-form { margin: 0; }
.mev .mev-form fieldset { min-width: 0; margin: 30px 0 0; padding: 0; border: 0; background: none; }
.mev .mev-form legend { float: left; width: 100%; margin: 0 0 18px; padding: 0 0 9px; border: 0; border-bottom: 2px solid #f2e4b8; color: var(--mev-ink); font-family: var(--mev-heading), serif; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.mev .mev-form legend + * { clear: both; }
.mev .mev-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mev .mev-field { display: flex; flex-direction: column; min-width: 0; }
.mev .mev-field--wide { grid-column: 1 / -1; }
.mev .mev-health { display: grid; grid-column: 1 / -1; gap: 12px; }
.mev .mev-form label, .mev .mev-question { display: block; margin: 0 0 6px; padding: 0; color: var(--mev-ink); font-size: 15px; font-weight: 600; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.mev .mev-optional { color: var(--mev-mute); font-weight: 400; }
.mev .mev-hint { margin: -2px 0 8px; color: var(--mev-mute); font-size: 14px; line-height: 1.45; }
.mev .mev-form input[type="text"], .mev .mev-form input[type="email"], .mev .mev-form input[type="tel"], .mev .mev-form select, .mev .mev-form textarea {
	display: block; width: 100%; max-width: 100%; height: 52px; margin: 0; padding: 0 14px;
	border: 2px solid #c3d6db; border-radius: 12px; background-color: #fff; box-shadow: none; color: var(--mev-ink); font-family: inherit; font-size: 16px; line-height: 1.4;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.mev .mev-form textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.mev .mev-form select { padding-right: 46px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067089' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-position: right 14px center; background-size: 20px; background-repeat: no-repeat; cursor: pointer; }
.mev .mev-form input:hover, .mev .mev-form select:hover, .mev .mev-form textarea:hover { border-color: #93bbc5; }
.mev .mev-form input:focus, .mev .mev-form select:focus, .mev .mev-form textarea:focus { border-color: var(--mev-teal); outline: 3px solid transparent; box-shadow: 0 0 0 4px rgba(1, 164, 196, .2); }
.mev .mev-form .has-error input[type="text"], .mev .mev-form .has-error input[type="email"], .mev .mev-form .has-error input[type="tel"], .mev .mev-form .has-error select, .mev .mev-form .has-error textarea { border-color: #b32c17; background-color: #fff8f6; }
.mev .mev-error { margin: 7px 0 0; color: #9a1f0c; font-size: 14px; font-weight: 600; line-height: 1.45; }

.mev .mev-options { display: flex; flex-wrap: wrap; gap: 10px; }
.mev .mev-form .mev-options label { position: relative; margin: 0; cursor: pointer; }
.mev .mev-form .mev-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mev .mev-options span { display: flex; align-items: center; gap: 10px; min-width: 112px; min-height: 50px; padding: 10px 18px; border: 2px solid #c3d6db; border-radius: 12px; background: #fff; transition: border-color .18s, background-color .18s; }
.mev .mev-options span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid #87adb7; border-radius: 50%; background: #fff; transition: border .18s var(--mev-ease); }
.mev .mev-options label:hover span { border-color: var(--mev-teal); }
.mev .mev-options input:checked + span { border-color: var(--mev-deep); background: var(--mev-mist); }
.mev .mev-options input:checked + span::before { border: 6px solid var(--mev-deep); }
.mev .mev-options input:focus-visible + span { outline: 3px solid #b57d00; outline-offset: 2px; }
.mev .has-error .mev-options span { border-color: #b32c17; }

.mev .mev-form label.mev-check { display: flex; align-items: flex-start; gap: 13px; margin: 0; padding: 14px 16px; border: 2px solid #d7e5e8; border-radius: 12px; font-weight: 400; cursor: pointer; transition: border-color .18s, background-color .18s; }
.mev .mev-form label.mev-check:hover { border-color: var(--mev-teal); }
.mev .mev-form label.mev-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mev-deep); cursor: pointer; }
.mev .mev-form .has-error label.mev-check { border-color: #b32c17; background: #fff8f6; }
.mev .mev-form label.mev-check--wait { margin-top: 24px; border-color: #e2b23c; background: #fff6da; }
.mev .mev-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mev .mev-buttonnote { margin: 28px 0 10px; color: var(--mev-ink); font-weight: 600; }
.mev .mev-btn--send { width: 100%; min-height: 56px; font-size: 17px; }
.mev .mev-spinner { display: none; width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.mev .is-busy .mev-spinner { display: inline-block; animation: mev-spin .7s linear infinite; }
.mev .mev-btn.is-busy { cursor: progress; opacity: .85; transform: none; }
@keyframes mev-spin { to { transform: rotate(360deg); } }
.mev .mev-privacy { margin: 18px 0 0; color: var(--mev-mute); font-size: 13.5px; }

.mev .mev-done { text-align: center; }
.mev .mev-done p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.mev .mev-done__mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; border-radius: 50%; background: #dcf2e7; color: #0a5a40; }
.mev .mev-done--pending .mev-done__mark { background: var(--mev-mist); color: var(--mev-deep); }
.mev .mev-done--waiting .mev-done__mark { background: #fdefc9; color: #644500; }
.mev .mev-done__mark .mev-ico { width: 38px; height: 38px; stroke-width: 2.4; }
.mev--motion .mev-done__mark { animation: mev-pop .55s var(--mev-ease) both; }
@keyframes mev-pop { from { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.mev .mev-done:focus { outline: none; }

/* ---------- Private sign-up page ---------- */

.mev-manage .mev-panel { max-width: 700px; margin: 12px auto; }
.mev .mev-summary { margin: 20px 0; border-top: 1px solid var(--mev-line); }
.mev .mev-summary div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--mev-line); }
.mev .mev-summary dt { margin: 0; color: var(--mev-mute); font-weight: 400; }
.mev .mev-summary dd { color: var(--mev-ink); font-weight: 600; overflow-wrap: anywhere; }
.mev .mev-joining { margin: 0 0 20px; padding: 16px 20px; border-radius: 14px; background: #fff6da; }
.mev .mev-joining h2 { margin-bottom: 6px; font-size: 20px; }
.mev .mev-joining p { margin: 0; }
.mev .mev-answers { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.mev .mev-answers form, .mev .mev-cancel form { margin: 0; }
.mev .mev-cancel { margin: 22px 0; }
.mev .mev-cancel summary { display: inline-block; padding: 8px 0; color: #8c200f; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; }
.mev .mev-cancel summary::-webkit-details-marker { display: none; }
.mev .mev-cancel p { margin: 6px 0 12px; }

/* ---------- Menus, messages and the poster viewer (added to the end of the page) ---------- */

.mev-portal.mev-menu { position: absolute; z-index: 100000; min-width: 240px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid var(--mev-line); border-radius: 14px; background: #fff; box-shadow: 0 24px 40px -18px rgba(5, 38, 48, .45); font-size: 15px; animation: mev-menu .18s var(--mev-ease) both; }
@keyframes mev-menu { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.mev-portal.mev-menu a, .mev-portal.mev-menu button { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 0; vertical-align: middle; width: 100%; min-height: 44px; margin: 0; padding: 9px 14px; border: 0; border-radius: 9px; background: none; box-shadow: none; color: var(--mev-ink); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mev-portal.mev-menu a:hover, .mev-portal.mev-menu button:hover, .mev-portal.mev-menu a:focus-visible, .mev-portal.mev-menu button:focus-visible { background: var(--mev-mist); }
.mev-portal.mev-toast { position: fixed; bottom: 90px; left: 50%; z-index: 100001; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 99px; background: var(--mev-ink); color: #fff; font-size: 15px; font-weight: 600; transform: translateX(-50%); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55); }

dialog.mev-portal.mev-lb { width: 100vw; width: 100dvw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 22, 29, .96); color: #fff; overflow: hidden; }
dialog.mev-lb::backdrop { background: rgba(4, 22, 29, .9); }
dialog.mev-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: mev-fade .22s ease both; }
@keyframes mev-fade { from { opacity: 0; } to { opacity: 1; } }
.mev-lb__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.mev-lb__cap { min-width: 0; margin: 0; line-height: 1.35; }
.mev-lb__cap strong { display: block; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.mev-lb__cap span { display: block; color: rgba(255, 255, 255, .75); font-size: 14px; }
.mev-lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 64px; }
.mev-lb__stage img { vertical-align: middle; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; object-fit: contain; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.mev-lb__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); }
.mev-lb .mev-btn { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; }
.mev-lb .mev-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .18); color: #fff; }
.mev-lb .mev-lb__round { width: 48px; min-width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.mev-lb .mev-lb__prev, .mev-lb .mev-lb__next { position: absolute; top: 50%; margin-top: -24px; }
.mev-lb .mev-lb__prev { left: 10px; }
.mev-lb .mev-lb__next { right: 10px; }
.mev-lb .mev-lb__prev:hover, .mev-lb .mev-lb__next:hover { transform: none; }
.mev-lb.mev-lb--plain .mev-lb__stage { padding-bottom: 22px; }

/* ---------- Tablet ---------- */

@media (max-width: 860px) {
	.mev .mev-spot, .mev .mev-detail { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.mev .mev-spot__media, .mev .mev-spot--solo .mev-spot__media, .mev .mev-detail__media { width: min(100%, 440px, calc(72vh * var(--mev-ar, .8))); min-width: 0; margin: 0 auto; }
	.mev .mev-spot.mev-spot--wide .mev-spot__media, .mev .mev-detail.mev-detail--wide .mev-detail__media { width: min(100%, calc(72vh * var(--mev-ar, .8))); }
	.mev .mev-spot__body, .mev .mev-detail__body { padding-top: 0; }
	.mev .mev-grid--3 { grid-template-columns: repeat(2, minmax(0, 370px)); }
}

/* ---------- Phones ---------- */

@media (max-width: 640px) {
	.mev-wrap { padding-left: 12px; padding-right: 12px; }
	.mev .mev-weekly { flex-wrap: wrap; gap: 12px 14px; padding: 16px; background-image: none; background-color: var(--mev-ink); }
	.mev .mev-weekly__icon { width: 42px; height: 42px; }
	.mev .mev-weekly__words { flex-basis: calc(100% - 60px); }
	.mev .mev-weekly strong { font-size: 19px; }
	.mev .mev-weekly .mev-btn { width: 100%; margin: 0; }

	.mev .mev-filters { flex-wrap: nowrap; padding: 3px 28px 6px 3px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
	.mev .mev-filters.is-end { -webkit-mask-image: none; mask-image: none; }
	.mev .mev-filters::-webkit-scrollbar { display: none; }

	.mev .mev-spot, .mev .mev-detail { padding: 14px; border-radius: 18px; }
	.mev .mev-spot__head { gap: 14px; }
	.mev .mev-leaf--large { width: 68px; }
	.mev .mev-leaf--large::before { left: 17px; }
	.mev .mev-leaf--large::after { right: 17px; }
	.mev .mev-leaf--large .mev-leaf__day { font-size: 31px; }
	.mev .mev-leaf--large .mev-leaf__top { font-size: 13px; }
	.mev .mev-spot__date { font-size: 16px; }
	.mev .mev-spot__actions > .mev-btn { flex: 1 1 100%; }
	.mev .mev-spot__tools { flex: 1 1 100%; flex-wrap: nowrap; }
	.mev .mev-spot__actions .mev-btn--tool { flex: 1 1 auto; min-width: 0; padding-right: 10px; padding-left: 10px; }

	.mev .mev-grid--few { grid-template-columns: minmax(0, 420px); }

	.mev.mev-past { --mev-row: min(46vw, 215px); }
	.mev .mev-wall { gap: 22px 12px; }
	.mev .mev-shot { flex-basis: calc(var(--mev-ar, .8) * var(--mev-row)); max-width: min(100%, calc(var(--mev-ar, .8) * var(--mev-row) * 1.6)); }
	.mev h3.mev-shot__name { font-size: 16px; }
	.mev .mev-shot__date { font-size: 13px; }

	/* Four or more events: compact rows, so that a long list is quick to scan. */
	.mev .mev-month .mev-grid:not(.mev-grid--past) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "media body" "media tags" "actions actions"; column-gap: 14px; padding: 12px; border: 1px solid var(--mev-line); border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: 0 16px 26px -22px rgba(11, 59, 71, .6); }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-card__media { grid-area: media; align-self: start; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-card__body { grid-area: body; padding: 0; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-leaf { display: none; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-card__text { padding: 0; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-tags { grid-area: tags; align-content: start; margin-top: 8px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-card__actions { grid-area: actions; padding-top: 12px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-poster { border-radius: 10px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-poster__words { font-size: 15px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-poster--none { padding: 10px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) h3.mev-card__title { font-size: 18px; }
	.mev .mev-month .mev-grid:not(.mev-grid--past) .mev-ribbon { top: auto; right: 5px; bottom: 42px; left: 5px; padding: 4px; font-size: 12px; text-align: center; }

	.mev h2.mev-month__title { font-size: 22px; }
	.mev .mev-fields { grid-template-columns: minmax(0, 1fr); }
	.mev .mev-options label { flex: 1 1 120px; }
	.mev .mev-summary div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.mev .mev-answers .mev-btn, .mev .mev-answers form { width: 100%; }
	.mev-lb__stage { padding: 0 8px; }
	.mev-lb .mev-lb__bar .mev-btn { padding-right: 14px; padding-left: 14px; font-size: 14px; }
	.mev-lb .mev-lb__prev, .mev-lb .mev-lb__next { top: auto; bottom: 8px; margin: 0; background: rgba(4, 22, 29, .75); }
	.mev-lb.mev-lb--plain .mev-lb__stage { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.mev-lb.mev-lb--plain .mev-lb__prev, .mev-lb.mev-lb--plain .mev-lb__next { bottom: calc(10px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
	.mev *, .mev *::before, .mev *::after, .mev-portal, .mev-portal * { animation: none !important; transition: none !important; }
	.mev a.mev-poster:hover, .mev .mev-btn:hover { transform: none !important; }
	.mev .mev-spinner { border-right-color: currentColor; opacity: .6; }
}

@media print {
	.mev .mev-filters, .mev .mev-card__actions, .mev .mev-spot__actions, .mev .mev-weekly .mev-btn { display: none !important; }
}
