/* MR Highlights -- 24-hour property highlights. Brand green #0b823e. */

:root {
	--mrh-green: #0b823e;
	--mrh-seen: #c9ced3;
	--mrh-ink: #1c1e21;
	--mrh-muted: #65676b;
}

/* ---------- Bar on Explore ---------- */

.mrh-bar {
	position: relative;
	margin: 0 0 14px;
	padding: 14px 4px 10px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.mrh-bar-title {
	margin: 0 14px 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--mrh-ink);
}
.mrh-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0 14px 4px;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 14px;
}
.mrh-track::-webkit-scrollbar { display: none; }

.mrh-item {
	flex: 0 0 auto;
	width: 92px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	scroll-snap-align: start;
	font: inherit;
	color: var(--mrh-ink);
}
.mrh-item:focus-visible { outline: 2px solid var(--mrh-green); outline-offset: 3px; border-radius: 12px; }

.mrh-ring {
	position: relative;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	padding: 3px;
	background: var(--mrh-green);
	transition: transform .15s ease;
}
.mrh-item:hover .mrh-ring { transform: scale(1.04); }
.mrh-ring.is-seen { background: var(--mrh-seen); padding: 2px; }
.mrh-ring.is-empty { background: transparent; }
.mrh-ring img,
.mrh-ring .mrh-ph {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid #fff;
	object-fit: cover;
	background: #eef1f3;
}
.mrh-ring.is-seen img { border-width: 4px; }
.mrh-ring .mrh-ph {
	display: grid;
	place-items: end center;
	overflow: hidden;
	color: #b9c0c6;
	box-sizing: border-box;
}
.mrh-ring .mrh-ph svg { width: 78%; height: 78%; margin-bottom: -6%; }
.mrh-ring.is-empty .mrh-ph { border: 1px solid #dbdfe3; }
.mrh-ring.is-empty img { border: 1px solid #dbdfe3; }

.mrh-name {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	line-height: 1.2;
}

/* Plus badge on "Your highlight" */
.mrh-plus {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mrh-green);
	border: 3px solid #fff;
	display: grid;
	place-items: center;
	color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.mrh-plus svg { width: 14px; height: 14px; }

/* Scroll arrows: white circle with chevron */
.mrh-arrow {
	position: absolute;
	top: 64px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: var(--mrh-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	opacity: .95;
}
.mrh-arrow[hidden] { display: none; }
.mrh-arrow svg { width: 18px; height: 18px; }
.mrh-arrow.prev { left: 6px; }
.mrh-arrow.next { right: 6px; }

/* ---------- Lister rings on a listing page ---------- */

/* Solid brand green ring with a white gap, drawn outside the element so the
   theme's logo, avatar and title layout stay exactly as they were. */
.mrh-ringed { border-radius: 50%; transition: box-shadow .2s ease, transform .15s ease; }
.mrh-ringed[data-mrh-ring="is-live"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--mrh-green); cursor: pointer; }
.mrh-ringed[data-mrh-ring="is-seen"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mrh-seen); cursor: pointer; }
.mrh-ringed[data-mrh-ring="is-live"]:hover,
.mrh-ringed[data-mrh-ring="is-seen"]:hover { transform: scale(1.04); }
.block-type-author .event-host .avatar.mrh-ringed { overflow: visible; position: relative; }

/* Crown on the listing-page photos: logo or lister photo beside the title, and "Listing by". */
.mrh-ringed span.mrh-crown { right: -6px; bottom: -6px; width: 30px; height: 30px; z-index: 3; }
.mrh-ringed span.mrh-crown img.mrh-crown-img { width: 21px; height: 21px; }
.block-type-author .mrh-ringed span.mrh-crown { width: 24px; height: 24px; right: -5px; bottom: -5px; }
.block-type-author .mrh-ringed span.mrh-crown img.mrh-crown-img { width: 16px; height: 16px; }
.block-type-author .event-host .avatar.mrh-ringed img { border-radius: 50%; }

/* The lister's photo, in the logo slot of listings that have no logo */
.mrh-lister {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	width: 80px;
	height: 80px;
	padding: 0;
	border: 0;
	background: #fff;
}
.mrh-lister > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mrh-lister:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }

@media (max-width: 1200px) {
	.mrh-lister { top: -60px; }
	#c27-single-listing .profile-name.mrh-has-lister h1 { padding-top: 34px; }
}
@media (max-width: 768px) {
	.mrh-lister { width: 70px; height: 70px; top: -50px; }
}

/* "Add to Highlights" in a listing's quick actions: the theme's pill, with a green circled plus. */
.quick-listing-actions .mrh-qa-share > a { border-color: rgba(11, 130, 62, .45); }
.quick-listing-actions .mrh-qa-share > a:hover { border-color: var(--mrh-green); }
.quick-listing-actions .mrh-qa-share > a > i.mrh-qa-ic {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	padding: 0 !important;
	margin-right: 6px;
	border: 2px solid var(--mrh-green);
	border-radius: 50%;
	color: var(--mrh-green) !important;
	box-sizing: border-box;
}
.quick-listing-actions .mrh-qa-share > a > i.mrh-qa-ic svg { width: 10px; height: 10px; }
.quick-listing-actions .mrh-qa-share > a > span { color: var(--mrh-green) !important; font-weight: 600; }

/* "Cancel this upload?" -- asked inside the form, not a browser pop-up */
.mrh-confirm {
	position: fixed;
	inset: 0;
	z-index: 100003;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(15, 20, 25, .45);
}
.mrh-confirm-card {
	width: 100%;
	max-width: 380px;
	background: #fff;
	border-radius: 14px;
	padding: 24px 22px 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	text-align: center;
	font-family: inherit;
}
.mrh-confirm-card h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--mrh-ink); }
.mrh-confirm-card p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.5; color: var(--mrh-muted); }
.mrh-confirm-actions { display: grid; gap: 8px; }
.mrh-confirm-actions .mrh-submit { width: 100%; }
.mrh-confirm-stop {
	border: 0;
	background: none;
	padding: 10px;
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	color: #dd003b;
	cursor: pointer;
}
.mrh-confirm-stop:hover { text-decoration: underline; }

/* ---------- Mobile menu button (desktop uses the circled plus) ---------- */

.header-right .mrh-header-button { display: none !important; }
.header-button.mrh-header-button { margin-top: 10px; }
.mrh-add-btn .mrh-plus-ic,
.mrh-plus-ic {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid currentColor;
	margin-right: 6px;
	vertical-align: -5px;
}
.mrh-plus-ic svg { width: 11px; height: 11px; }

/* ---------- Viewer ---------- */

html.mrh-lock, html.mrh-lock body { overflow: hidden !important; }

.mrh-viewer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #1a1a1a;
	color: #fff;
	display: flex;
	flex-direction: column;
	-webkit-user-select: none;
	user-select: none;
	font-family: inherit;
}
.mrh-v-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 22px;
	z-index: 3;
	pointer-events: none;
}
.mrh-v-top > * { pointer-events: auto; }
.mrh-v-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.mrh-v-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}
.mrh-v-close svg { width: 30px; height: 30px; }

.mrh-v-stage {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 22px 0;
	min-height: 0;
	position: relative;
}

.mrh-v-card {
	position: relative;
	height: min(calc(100vh - 44px), 900px);
	aspect-ratio: 9 / 16;
	max-width: 100vw;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
	flex: 0 0 auto;
	touch-action: none;
}
.mrh-v-bg {
	position: absolute;
	inset: -20px;
	background-size: cover;
	background-position: center;
	filter: blur(24px) brightness(.55);
	transform: scale(1.1);
}
/* Small thumbnail shown at once; the sharp image fades in over it when ready. */
.mrh-v-ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: blur(6px);
	transform: scale(1.02);
	pointer-events: none;
}
.mrh-v-card.is-ready .mrh-v-ph { visibility: hidden; }
img.mrh-v-img { opacity: 0; transition: opacity .25s ease; }
.mrh-v-card.is-ready img.mrh-v-img { opacity: 1; }
.mrh-v-card:has(.mrh-v-ph) .mrh-v-spin { display: none; }

.mrh-v-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	-webkit-user-drag: none;
}
.mrh-v-card::before,
.mrh-v-card::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	pointer-events: none;
}
.mrh-v-card::before { top: 0; height: 120px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.mrh-v-card::after { bottom: 0; height: 200px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }

.mrh-v-bars {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	z-index: 2;
}
.mrh-v-bars span {
	flex: 1;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .35);
	overflow: hidden;
}
.mrh-v-bars i {
	display: block;
	height: 100%;
	width: 0;
	background: #fff;
}

.mrh-v-head {
	position: absolute;
	top: 22px;
	left: 12px;
	right: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 3;
}
.mrh-v-head img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, .5);
}
.mrh-v-who { min-width: 0; flex: 1; line-height: 1.25; }
.mrh-v-who a {
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.mrh-v-who time { color: rgba(255, 255, 255, .75); font-size: 13px; margin-left: 6px; }
.mrh-v-tick { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-left: 3px; }
.mrh-v-sub {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, .9);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mrh-v-btn {
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	flex: 0 0 auto;
}
.mrh-v-btn svg { width: 22px; height: 22px; }

.mrh-v-menu {
	position: absolute;
	top: 60px;
	right: 10px;
	z-index: 5;
	background: #fff;
	color: var(--mrh-ink);
	border-radius: 10px;
	overflow: hidden;
	min-width: 190px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.mrh-v-menu button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 12px 16px;
	border: 0;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: inherit;
	cursor: pointer;
}
.mrh-v-menu button + button { border-top: 1px solid #eee; }
.mrh-v-menu button:hover { background: #f4f6f7; }
.mrh-v-menu .is-danger { color: #dd003b; font-weight: 600; }

.mrh-v-tap {
	position: absolute;
	top: 70px;
	bottom: 90px;
	z-index: 2;
	width: 35%;
	cursor: pointer;
}
.mrh-v-tap.prev { left: 0; }
.mrh-v-tap.next { right: 0; width: 65%; }

.mrh-v-caption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 86px;
	z-index: 2;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
	pointer-events: none;
	overflow-wrap: anywhere;
}

.mrh-v-foot {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 16px;
	z-index: 3;
	display: flex;
	gap: 10px;
	align-items: center;
}
.mrh-v-cta {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	border-radius: 24px;
	background: var(--mrh-green);
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 18px;
}
.mrh-v-cta:hover { filter: brightness(1.08); }
.mrh-v-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mrh-v-cta.is-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .7); }
.mrh-v-foot .mrh-v-btn { width: 46px; height: 46px; }

.mrh-v-nav {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .85);
	color: #222;
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: 0 0 auto;
	padding: 0;
}
.mrh-v-nav svg { width: 18px; height: 18px; }
.mrh-v-nav.is-off { visibility: hidden; }

.mrh-v-side {
	display: flex;
	gap: 28px;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	align-self: stretch;
}
.mrh-v-side.prev { justify-content: flex-end; }
.mrh-v-side.next { justify-content: flex-start; }

.mrh-v-peek {
	position: relative;
	height: min(calc((100vh - 44px) * .42), 420px);
	aspect-ratio: 9 / 16;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #000 center / cover no-repeat;
	flex: 0 0 auto;
	border: 0;
	padding: 0;
	color: #fff;
	font: inherit;
}
.mrh-v-peek::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.mrh-v-peek-in {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 8px;
}
.mrh-v-peek .mrh-ring { width: 72px; height: 72px; }
.mrh-v-peek .mrh-ring img { border-color: #000; }
.mrh-v-peek b { font-size: 15px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrh-v-peek small { font-size: 13px; opacity: .9; }

.mrh-v-paused-ic {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 70px;
	height: 70px;
	z-index: 2;
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	display: none;
	place-items: center;
	pointer-events: none;
}
.mrh-viewer.is-held .mrh-v-paused-ic { display: none; }

/* Upload / optimising progress */
.mrh-progress { display: grid; gap: 6px; font-size: 13px; color: var(--mrh-muted); }
.mrh-progress[hidden] { display: none; }
.mrh-progress-bar { height: 6px; border-radius: 6px; background: #e6eaed; overflow: hidden; }
.mrh-progress-bar i { display: block; height: 100%; width: 0; background: var(--mrh-green); transition: width .2s ease; }

.mrh-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mrh-thumb-badge {
	position: absolute;
	left: 5px;
	bottom: 5px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	display: grid;
	place-items: center;
}
.mrh-thumb-badge svg { width: 13px; height: 13px; }

/* Gate: sign in / switch account before adding a highlight */
.mrh-gate {
	position: relative;
	max-width: 440px;
	padding: 34px 28px 26px;
	text-align: center;
}
.mrh-gate .mrh-c-x { position: absolute; top: 10px; right: 10px; }
.mrh-g-icon .mrh-plus-ic {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	display: grid;
	color: var(--mrh-green);
	border-width: 3px;
}
.mrh-g-icon .mrh-plus-ic svg { width: 26px; height: 26px; }
.mrh-gate h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--mrh-ink); }
.mrh-gate p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--mrh-muted); }
.mrh-gate .mrh-g-cta { display: block; width: 100%; box-sizing: border-box; text-decoration: none !important; color: #fff !important; }
.mrh-gate .mrh-g-alt { margin: 14px 0 0; font-size: 13.5px; }
.mrh-gate .mrh-g-alt a { color: var(--mrh-green); font-weight: 600; }

/* Spinner until the photo has loaded */
.mrh-v-spin {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 40px;
	height: 40px;
	z-index: 2;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, .25);
	border-top-color: #fff;
	animation: mrh-spin .8s linear infinite;
	pointer-events: none;
}
.mrh-v-card.is-ready .mrh-v-spin { display: none; }
@keyframes mrh-spin { to { transform: rotate(360deg); } }

/* ---------- Composer ---------- */

.mrh-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(15, 20, 25, .6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.mrh-composer {
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: var(--mrh-ink);
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	font-family: inherit;
}
.mrh-c-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eceef0;
}
.mrh-c-head h3 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--mrh-ink); }
.mrh-c-head h3 .mrh-plus-ic { color: var(--mrh-green); margin: 0; vertical-align: 0; }
.mrh-c-x { border: 0; background: none; width: 36px; height: 36px; cursor: pointer; color: var(--mrh-muted); padding: 0; display: grid; place-items: center; }
.mrh-c-x svg { width: 22px; height: 22px; }
.mrh-c-body { padding: 18px 20px 20px; display: grid; gap: 16px; }
.mrh-c-label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.mrh-c-hint { font-size: 12.5px; color: var(--mrh-muted); margin: 6px 0 0; }

.mrh-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 120px;
	border: 2px dashed #cfd6db;
	border-radius: 12px;
	background: #f7f9fa;
	cursor: pointer;
	text-align: center;
	padding: 14px;
	font-size: 14px;
	color: var(--mrh-muted);
	transition: border-color .15s, background .15s;
}
.mrh-drop:hover, .mrh-drop.is-over { border-color: var(--mrh-green); background: #f0f8f3; }
.mrh-drop b { color: var(--mrh-green); }
.mrh-drop .mrh-plus-ic { width: 36px; height: 36px; color: var(--mrh-green); margin: 0; }
.mrh-drop .mrh-plus-ic svg { width: 18px; height: 18px; }
.mrh-drop input { display: none; }

.mrh-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.mrh-thumbs:empty { display: none; }
.mrh-thumb {
	position: relative;
	width: 72px;
	height: 128px;
	border-radius: 8px;
	overflow: hidden;
	background: #eee center / cover no-repeat;
}
.mrh-thumb button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 0;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	cursor: pointer;
	padding: 0;
	font-size: 14px;
	line-height: 22px;
}
.mrh-thumb.is-cover::after {
	content: attr(data-label);
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	font-size: 10px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	text-align: center;
	padding: 3px 2px;
}

.mrh-composer select,
.mrh-composer input[type="url"],
.mrh-composer textarea {
	width: 100%;
	border: 1px solid #cfd6db;
	border-radius: 8px;
	padding: 10px 12px;
	font: inherit;
	font-size: 14px;
	color: var(--mrh-ink);
	background: #fff;
	box-sizing: border-box;
	height: auto;
	margin: 0;
}
.mrh-composer textarea { resize: vertical; min-height: 72px; }
.mrh-composer select:focus,
.mrh-composer input:focus,
.mrh-composer textarea:focus { outline: none; border-color: var(--mrh-green); box-shadow: 0 0 0 3px rgba(11, 130, 62, .15); }
.mrh-or { text-align: center; font-size: 12px; color: var(--mrh-muted); margin: 8px 0; }
.mrh-count { float: right; font-weight: 400; color: var(--mrh-muted); font-size: 12px; }

.mrh-c-err {
	background: #fdecf1;
	color: #dd003b;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13.5px;
}
.mrh-c-err:empty { display: none; }
.mrh-c-foot { display: flex; align-items: center; gap: 12px; }
.mrh-c-foot .mrh-c-hint { margin: 0; flex: 1; }
.mrh-submit {
	border: 0;
	border-radius: 24px;
	background: var(--mrh-green);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 24px;
	cursor: pointer;
	white-space: nowrap;
}
.mrh-submit:disabled { opacity: .6; cursor: progress; }

.mrh-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 100002;
	background: var(--mrh-ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 10px;
	font-size: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
	max-width: calc(100vw - 32px);
}
.mrh-toast a { color: #8fe0b0; margin-left: 8px; font-weight: 600; }

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

@media (max-width: 1100px) {
	.mrh-v-side .mrh-v-peek:nth-child(n+2) { display: none; }
}

@media (max-width: 767px) {
	.mrh-bar { margin: 0 0 10px; border-radius: 0; padding: 12px 0 8px; box-shadow: none; border-bottom: 1px solid #eceef0; }
	.mrh-bar-title { margin: 0 14px 8px; font-size: 14px; }
	.mrh-track { gap: 12px; padding: 0 12px 2px; scroll-padding-inline: 12px; }
	.mrh-item { width: 72px; gap: 5px; }
	.mrh-ring { width: 68px; height: 68px; }
	.mrh-plus { width: 24px; height: 24px; }
	.mrh-plus svg { width: 12px; height: 12px; }
	.mrh-name { font-size: 12px; }
	.mrh-arrow { display: none !important; }

	.mrh-v-top { display: none; }
	.mrh-v-stage { padding: 0; gap: 0; }
	.mrh-v-side, .mrh-v-nav { display: none; }
	.mrh-v-card {
		width: 100vw;
		height: 100%;
		height: 100dvh;
		aspect-ratio: auto;
		border-radius: 0;
	}
	.mrh-v-head { top: 20px; right: 4px; }
	.mrh-v-close-in { display: grid !important; }
	.mrh-v-caption { font-size: 18px; bottom: calc(86px + env(safe-area-inset-bottom)); }
	.mrh-v-foot { bottom: calc(14px + env(safe-area-inset-bottom)); }

	.mrh-modal { padding: 0; align-items: flex-end; }
	.mrh-composer { max-width: none; border-radius: 16px 16px 0 0; max-height: 92vh; }
	.mrh-gate { padding: 30px 20px calc(22px + env(safe-area-inset-bottom)); }
	.mrh-c-foot { flex-direction: column; align-items: stretch; }
	.mrh-submit { width: 100%; }

}
.mrh-v-close-in { display: none !important; }
@media (max-width: 767px) {
	.mrh-v-close-in { display: grid !important; }
}

@media (prefers-reduced-motion: reduce) {
	.mrh-track { scroll-behavior: auto; }
	.mrh-ring { transition: none; }
}

/* Gold crown: a lister with a paid plan. Bottom right of the circle. */
.mrh-crown {
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	pointer-events: none;
	z-index: 2;
}
span.mrh-crown img.mrh-crown-img,
.mrh-v-crown img.mrh-crown-img,
.mrh-g-crown img.mrh-crown-img {
	display: block;
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	object-fit: contain;
}
.mrh-v-peek .mrh-crown { width: 24px; height: 24px; }
/* Your own circle keeps the + at bottom right, so its crown sits bottom left. */
.mrh-self .mrh-crown { right: auto; left: -2px; }
.mrh-v-peek span.mrh-crown img.mrh-crown-img { width: 17px; height: 17px; }
.mrh-v-crown { display: inline-flex; vertical-align: -3px; margin-left: 4px; }
.mrh-v-head .mrh-v-crown img.mrh-crown-img { width: 17px; height: 17px; }

/* "Highlights come with a paid plan" */
.mrh-g-crown { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #fff7db; }
.mrh-g-crown img.mrh-crown-img { width: 38px; height: 38px; }

.mrh-g-later { background: none; border: 0; padding: 0; font: inherit; color: var(--mrh-muted); text-decoration: underline; cursor: pointer; }
.mrh-g-later:hover { color: var(--mrh-ink); }
