:root {
	--rrpls-brand: var(--bb-rl-background-brand-primary-color, #3e34ff);
	--rrpls-brand-text: var(--bb-rl-text-white-color, #fff);
	--rrpls-text: var(--bb-rl-text-color, #202124);
	--rrpls-muted: var(--bb-rl-text-secondary-color, #68707b);
	--rrpls-border: var(--bb-rl-border-secondary-color, #dfe2e6);
	--rrpls-surface: var(--bb-rl-background-color, #fff);
	--rrpls-soft: var(--bb-rl-background-secondary-color, #f4f5f7);
	--rrpls-success: #157347;
	--rrpls-danger: #b42318;
}

[hidden] { display: none !important; }
.rrpls-screen-reader,
.rrpls-screen-reader:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rrpls-muted { color: var(--rrpls-muted); }

/* Composer: one compact row inside the active ReadyLaunch modal. */
.rrpls-composer-panel {
	border-top: 1px solid var(--rrpls-border);
	background: var(--rrpls-surface);
}
.rrpls-composer-location-button {
	appearance: none;
	display: grid;
	grid-template-columns: 28px minmax(0,1fr) 12px;
	align-items: center;
	gap: 11px;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--rrpls-text);
	font: inherit;
	padding: 14px 10px;
	text-align: left;
	cursor: pointer;
}
.rrpls-composer-location-button:hover { background: var(--rrpls-soft); }
.rrpls-composer-location-button:focus-visible,
.rrpls-verify-button:focus-visible,
.rrpls-save-location:focus-visible,
.rrpls-modal-cancel:focus-visible,
.rrpls-modal-remove:focus-visible,
.rrpls-search-result:focus-visible,
.rrpls-map-filter:focus-visible,
.rrpls-icon-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--rrpls-brand) 30%, transparent); outline-offset: 2px; }
.rrpls-location-pin {
	position: relative;
	display: block;
	width: 18px;
	height: 22px;
	margin: 0 auto;
	border: 2px solid currentColor;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}
.rrpls-location-pin:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	transform: translate(-50%,-50%);
}
.rrpls-composer-panel.has-location .rrpls-location-pin { color: var(--rrpls-brand); }
.rrpls-composer-location-copy { min-width: 0; }
.rrpls-composer-location-copy strong,
.rrpls-composer-location-copy span { display: block; }
.rrpls-composer-location-copy strong { font-size: 14px; line-height: 1.3; }
.rrpls-location-summary { margin-top: 2px; overflow: hidden; color: var(--rrpls-muted); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rrpls-row-arrow { width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .58; }

/* The editor itself is mounted once in a body-level portal, not inside BuddyBoss. */
/* Location editor, displayed only inside the dedicated popup. */
.rrpls-photo-suggestions {
	margin: 0 0 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--rrpls-border);
}
.rrpls-photo-suggestions h3 {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.35;
}
.rrpls-photo-suggestions > p {
	margin: -4px 0 11px;
	color: var(--rrpls-muted);
	font-size: 11px;
	line-height: 1.45;
}
.rrpls-photo-suggestions.is-error > p {
	margin-top: 0;
	color: #a22;
}
.rrpls-photo-suggestion-list { display: grid; gap: 8px; }
.rrpls-photo-location-suggestion {
	appearance: none;
	display: grid;
	grid-template-columns: 28px minmax(0,1fr) auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	border: 1px solid var(--rrpls-border);
	border-radius: 11px;
	background: var(--rrpls-soft);
	color: var(--rrpls-text);
	padding: 10px 11px;
	text-align: left;
	cursor: pointer;
}
.rrpls-photo-location-suggestion:hover,
.rrpls-photo-location-suggestion.is-selected { border-color: var(--rrpls-brand); }
.rrpls-photo-location-suggestion span:nth-child(2) { min-width: 0; }
.rrpls-photo-location-suggestion strong,
.rrpls-photo-location-suggestion small { display: block; }
.rrpls-photo-location-suggestion strong { font-size: 13px; }
.rrpls-photo-location-suggestion small {
	overflow: hidden;
	color: var(--rrpls-muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rrpls-photo-location-suggestion em {
	color: var(--rrpls-brand);
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}
.rrpls-photo-location-icon {
	position: relative;
	display: block;
	width: 18px;
	height: 22px;
	margin: 0 auto;
	border: 2px solid var(--rrpls-brand);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}
.rrpls-photo-location-icon:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--rrpls-brand);
	transform: translate(-50%,-50%);
}
.rrpls-search-box { position: relative; }
.rrpls-search-input-wrap { display: flex; align-items: stretch; gap: 8px; }
.rrpls-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.rrpls-place-search {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--rrpls-border);
	border-radius: 10px;
	background: var(--rrpls-surface);
	color: var(--rrpls-text);
	padding: 10px 42px 10px 12px;
	font-size: 16px;
}
.rrpls-search-clear {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--rrpls-muted);
	font-size: 24px;
	line-height: 28px;
	cursor: pointer;
}
.rrpls-search-clear:hover, .rrpls-search-clear:focus-visible { background: var(--rrpls-soft); color: var(--rrpls-text); }
.rrpls-search-submit {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--rrpls-brand);
	border-radius: 10px;
	background: var(--rrpls-brand);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.rrpls-search-policy { margin: 8px 2px 0; font-size: 13px; line-height: 1.35; }
.rrpls-search-policy.is-yellow { color: #7a5b00; }
.rrpls-search-policy.is-amber { color: #8a4200; }
.rrpls-search-policy.is-red { color: #9a1b1b; font-weight: 600; }
.rrpls-search-results {
	position: relative;
	z-index: 2;
	max-height: 260px;
	margin-top: 6px;
	overflow: auto;
	background: var(--rrpls-surface);
	border: 1px solid var(--rrpls-border);
	border-radius: 11px;
	box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.rrpls-search-result {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	width: 100%;
	gap: 2px 12px;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--rrpls-border);
	background: transparent;
	color: var(--rrpls-text);
	padding: 11px 13px;
	cursor: pointer;
}
.rrpls-search-result:last-child { border-bottom: 0; }
.rrpls-search-result:hover { background: var(--rrpls-soft); }
.rrpls-search-result strong { grid-column: 1; font-size: 14px; }
.rrpls-search-result span { grid-column: 1; color: var(--rrpls-muted); font-size: 12px; }
.rrpls-search-result em { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--rrpls-brand); font-size: 11px; font-style: normal; font-weight: 700; }
.rrpls-search-message { margin: 0; padding: 13px; color: var(--rrpls-muted); }
.rrpls-selected-location {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--rrpls-border);
	border-radius: 10px;
	background: var(--rrpls-soft);
}
.rrpls-selected-location div { min-width: 0; }
.rrpls-selected-location strong,
.rrpls-selected-location span { display: block; }
.rrpls-selected-location div span { color: var(--rrpls-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrpls-location-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--rrpls-brand) 11%, transparent);
	color: var(--rrpls-brand);
	padding: 5px 9px;
	font-size: 11px;
	font-weight: 700;
}
.rrpls-location-badge.is-verified { background: rgba(21,115,71,.12); color: var(--rrpls-success); }
.rrpls-location-badge.is-from-photo { background: color-mix(in srgb, var(--rrpls-brand) 11%, transparent); color: var(--rrpls-brand); }
.rrpls-location-badge.is-verified:before { content: "✓"; }
.rrpls-verification-box { margin-top: 18px; border: 1px solid var(--rrpls-border); border-radius: 12px; background: var(--rrpls-soft); padding: 14px; }
.rrpls-verification-box h3 { margin: 0 0 5px; font-size: 15px; }
.rrpls-verification-note { margin: 0 0 12px; color: var(--rrpls-muted); font-size: 12px; line-height: 1.5; }
.rrpls-consent-toggle { display: flex; align-items: flex-start; gap: 9px; color: var(--rrpls-text); font-size: 13px; line-height: 1.45; cursor: pointer; }
.rrpls-consent-toggle input.rrpls-consent-checkbox,
.rrpls-public-toggle input.rrpls-public-checkbox {
	display: inline-block !important;
	position: static !important;
	inset: auto !important;
	left: auto !important;
	top: auto !important;
	float: none !important;
	flex: 0 0 auto !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
	clip: auto !important;
	clip-path: none !important;
	transform: none !important;
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	accent-color: var(--rrpls-brand);
}
.rrpls-consent-toggle input.rrpls-consent-checkbox:focus-visible,
.rrpls-public-toggle input.rrpls-public-checkbox:focus-visible {
	outline: 2px solid var(--rrpls-brand) !important;
	outline-offset: 2px !important;
}
.rrpls-verify-button,
.rrpls-save-location {
	appearance: none;
	border: 1px solid var(--rrpls-brand);
	border-radius: 9px;
	background: var(--rrpls-brand);
	color: #fff;
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	padding: 10px 14px;
	cursor: pointer;
}
.rrpls-verify-button { width: 100%; margin-top: 12px; }
.rrpls-verify-button:disabled,
.rrpls-save-location:disabled { opacity: .45; cursor: not-allowed; }
.rrpls-public-toggle { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--rrpls-text); font-size: 13px; cursor: pointer; }
.rrpls-public-toggle input { width: 18px; height: 18px; }
.rrpls-editor-status { min-height: 18px; margin: 9px 0 0; color: var(--rrpls-muted); font-size: 12px; line-height: 1.45; }
.rrpls-editor-status.is-error { color: var(--rrpls-danger); }
.rrpls-editor-status.is-success { color: var(--rrpls-success); }

/* Maps. */
.rrpls-map { width: 100%; min-height: 390px; border: 1px solid var(--rrpls-border); border-radius: 16px; overflow: hidden; background: var(--rrpls-soft); }
.rrpls-map-unavailable { display: grid; place-items: center; color: var(--rrpls-muted); }
.rrpls-leaflet-marker { background: transparent; border: 0; }
.rrpls-leaflet-marker > span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--rrpls-brand);
	box-shadow: 0 3px 12px rgba(0,0,0,.28);
	transform: rotate(-45deg);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}
.rrpls-leaflet-marker > span:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.rrpls-leaflet-marker.is-verified > span { background: var(--rrpls-success); }
.rrpls-leaflet-marker.is-verified > span:before { content: none; }
.rrpls-leaflet-marker.is-verified > span { transform: rotate(-45deg); }
.rrpls-leaflet-marker.is-verified > span::after { content: "✓"; transform: rotate(45deg); }
.rrpls-map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 15px; }
.rrpls-map-filter {
	appearance: none;
	border: 1px solid var(--rrpls-border);
	border-radius: 999px;
	background: var(--rrpls-surface);
	color: var(--rrpls-text);
	font: inherit;
	padding: 8px 13px;
	cursor: pointer;
}
.rrpls-map-filter.is-active { border-color: var(--rrpls-text); box-shadow: inset 0 0 0 1px var(--rrpls-text); }
.rrpls-map-empty { margin-top: 12px; color: var(--rrpls-muted); }

/* Profile Passport. */
.rrpls-profile-passport { padding: 0 0 48px; color: var(--rrpls-text); }
.rrpls-section-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 18px; }
.rrpls-section-header h2 { margin: 0 0 5px; }
.rrpls-section-header p { margin: 0; color: var(--rrpls-muted); }
.rrpls-stamps-section { margin-top: 36px; }
.rrpls-stamps-section h3 { margin-bottom: 16px; }
.rrpls-stamp-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.rrpls-stamp-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 0;
	border: 1px solid var(--rrpls-border);
	border-radius: 16px;
	background: var(--rrpls-surface);
	padding: 15px;
	color: var(--rrpls-text);
	text-decoration: none;
	transition: transform .16s ease, box-shadow .16s ease;
}
.rrpls-stamp-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.09); }
.rrpls-generated-stamp { display: block; width: 100%; max-width: 260px; line-height: 0; }
.rrpls-generated-stamp svg { display: block; width: 100%; height: auto; }
.rrpls-stamp-image { display: block; width: 100%; max-width: 260px; height: auto; object-fit: contain; }
.rrpls-stamp-meta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rrpls-stamp-meta span { color: var(--rrpls-muted); font-size: 12px; }

/* Destination pages. */
.rrpls-destination-page { width: min(1180px, calc(100% - 40px)); margin: 42px auto 80px; color: var(--rrpls-text); }
.rrpls-destination-hero { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 50px; align-items: center; padding: 42px; border: 1px solid var(--rrpls-border); border-radius: 24px; background: var(--rrpls-surface); }
.rrpls-destination-type { display: inline-flex; border: 1px solid var(--rrpls-brand); border-radius: 999px; color: var(--rrpls-brand); padding: 5px 11px; font-size: 12px; font-weight: 700; }
.rrpls-destination-copy h1 { margin: 14px 0 4px; font-size: clamp(36px,5vw,68px); line-height: 1.02; letter-spacing: -.035em; }
.rrpls-destination-general { margin: 0 0 17px; color: var(--rrpls-muted); font-size: 19px; }
.rrpls-destination-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.rrpls-verified-chip { display: inline-flex; border-radius: 999px; background: rgba(21,115,71,.12); color: var(--rrpls-success); padding: 6px 10px; font-size: 12px; font-weight: 700; }
.rrpls-destination-description { font-size: 17px; line-height: 1.7; }
.rrpls-destination-description > *:last-child { margin-bottom: 0; }
.rrpls-destination-stamp { display: flex; justify-content: center; transform: rotate(1deg); }
.rrpls-destination-map-section { margin-top: 28px; }
.rrpls-destination-media { margin-top: 44px; }
.rrpls-destination-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.rrpls-destination-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--rrpls-soft); }
.rrpls-open-media { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.rrpls-open-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rrpls-video-mark { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.66); }
.rrpls-video-mark:after { content: ""; position: absolute; left: 12px; top: 8px; border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.rrpls-card-verified { position: absolute; left: 8px; bottom: 8px; border-radius: 999px; background: rgba(21,115,71,.9); color: #fff; padding: 4px 8px; font-size: 10px; font-weight: 700; }

/* Existing Social Experience viewer extension. */
.rrpls-viewer-location { border-top: 1px solid var(--rrpls-border); padding: 16px; }
.rrpls-viewer-location .rrpse-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.rrpls-viewer-location .rrpse-section-heading h3 { margin: 0; font-size: 15px; }
.rrpls-viewer-edit { border: 0; background: transparent; color: var(--rrpls-brand); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.rrpls-viewer-location-body { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 8px 12px; }
.rrpls-viewer-location-body strong,
.rrpls-viewer-location-body span { display: block; }
.rrpls-viewer-location-body div > span { color: var(--rrpls-muted); font-size: 12px; }
.rrpls-verified-date { grid-column: 1 / -1; margin: 0; color: var(--rrpls-muted); font-size: 12px; }
.rrpls-viewer-location-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.rrpls-viewer-location-links a { color: var(--rrpls-brand); font-size: 12px; font-weight: 650; text-decoration: none; }

/* Editor modal. */
body.rrpls-modal-open { overflow: hidden; }
.rrpls-modal { position: fixed; inset: 0; z-index: 1000; isolation: isolate; }
.rrpls-modal-overlay { position: absolute; inset: 0; z-index: 0; background: rgba(8,12,18,.68); backdrop-filter: blur(3px); }
.rrpls-modal-dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto minmax(0,1fr) auto;
	width: min(540px,calc(100% - 28px));
	height: min(720px,calc(100dvh - 42px));
	margin: max(20px,4vh) auto;
	overflow: hidden;
	border-radius: 18px;
	background: var(--rrpls-surface);
	color: var(--rrpls-text);
	box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.rrpls-modal-dialog > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rrpls-border); padding: 14px 17px; }
.rrpls-modal-dialog h2 { margin: 0; font-size: 18px; }
.rrpls-icon-button { appearance: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--rrpls-soft); color: var(--rrpls-text); font-size: 25px; cursor: pointer; }
.rrpls-modal-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 17px; -webkit-overflow-scrolling: touch; }
.rrpls-modal-footer { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--rrpls-border); background: var(--rrpls-surface); padding: 12px 17px calc(12px + env(safe-area-inset-bottom)); }
.rrpls-modal-footer-spacer { flex: 1 1 auto; }
.rrpls-modal-cancel,
.rrpls-modal-remove {
	appearance: none;
	border: 1px solid var(--rrpls-border);
	border-radius: 9px;
	background: transparent;
	color: var(--rrpls-text);
	font: inherit;
	font-weight: 600;
	padding: 10px 13px;
	cursor: pointer;
}
.rrpls-modal-remove { color: var(--rrpls-danger); }
.rrpls-toast { position: fixed; z-index: 1100; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); width: min(520px,calc(100% - 30px)); transform: translateX(-50%); border-radius: 12px; background: #202124; color: #fff; padding: 12px 15px; box-shadow: 0 16px 40px rgba(0,0,0,.28); text-align: center; font-size: 13px; }
.rrpls-toast.is-error { background: var(--rrpls-danger); }

/* Dark modes used by ReadyLaunch and BuddyX. */
.bb-rl-dark-mode,
html[data-bx-mode="dark"] {
	--rrpls-text: #edf0f5;
	--rrpls-muted: #a8b0bc;
	--rrpls-border: #3a4049;
	--rrpls-surface: #171a1f;
	--rrpls-soft: #24282f;
}

@media (max-width: 900px) {
	.rrpls-stamp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.rrpls-destination-hero { grid-template-columns: 1fr; gap: 26px; }
	.rrpls-destination-stamp { max-width: 390px; margin-inline: auto; }
	.rrpls-destination-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 600px) {
	.rrpls-composer-location-button { padding: 13px 10px; }
	.rrpls-map { min-height: 330px; border-radius: 12px; }
	.rrpls-profile-passport { padding-bottom: 30px; }
	.rrpls-section-header { align-items: start; }
	.rrpls-stamp-grid { grid-template-columns: 1fr; }
	.rrpls-stamp-card { flex-direction: row; align-items: center; }
	.rrpls-stamp-card .rrpls-generated-stamp,
	.rrpls-stamp-card .rrpls-stamp-image { width: 48%; }
	.rrpls-stamp-meta { align-items: flex-start; text-align: left; }
	.rrpls-destination-page { width: 100%; margin: 0 auto 70px; }
	.rrpls-destination-hero { border-inline: 0; border-radius: 0; padding: 28px 20px; }
	.rrpls-destination-map-section,
	.rrpls-destination-media { padding-inline: 12px; }
	.rrpls-destination-copy h1 { font-size: 42px; }
	.rrpls-destination-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
	.rrpls-destination-card { border-radius: 4px; }
	.rrpls-modal-dialog { width: 100%; height: 100dvh; margin: 0; border-radius: 0; }
	.rrpls-modal-dialog > header { padding-top: calc(12px + env(safe-area-inset-top)); }
	.rrpls-modal-body { padding: 15px; }
	.rrpls-modal-footer { flex-wrap: wrap; padding-inline: 12px; }
	.rrpls-modal-footer-spacer { display: none; }
	.rrpls-modal-footer button { flex: 1 1 auto; min-width: max-content; }
}
.rrpls-related-collections { margin-top: 44px; }
.rrpls-collection-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rrpls-collection-links a { display: flex; flex-direction: column; min-width: 170px; border: 1px solid var(--rrpls-border); border-radius: 12px; background: var(--rrpls-surface); color: var(--rrpls-text); padding: 11px 13px; text-decoration: none; }
.rrpls-collection-links a:hover { border-color: var(--rrpls-brand); }
.rrpls-collection-links span { color: var(--rrpls-muted); font-size: 12px; }
@media (max-width:600px) { .rrpls-related-collections { padding-inline: 12px; } .rrpls-collection-links a { min-width: 0; flex: 1 1 140px; } }

.rrpls-provider-attribution { margin: 10px 0 0; color: var(--rrpls-muted); font-size: 11px; line-height: 1.35; text-align: right; }
.rrpls-provider-attribution a { color: inherit; text-decoration: underline; }

.rrpls-search-message.is-error { color: var(--rrpls-danger); }

/* 0.1.4 travel-date, feed-location and passport presentation additions. */
.rrpls-public-name-wrap,
.rrpls-travel-date-wrap { margin-top: 13px; }
.rrpls-public-name-wrap label,
.rrpls-travel-date-wrap label { display: block; margin-bottom: 6px; color: var(--rrpls-text); font-size: 12px; font-weight: 700; }
.rrpls-public-name,
.rrpls-travel-date {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--rrpls-border);
	border-radius: 9px;
	background: var(--rrpls-surface);
	color: var(--rrpls-text);
	padding: 8px 10px;
	font: inherit;
}
.rrpls-travel-date-wrap > p { margin: 5px 0 0; color: var(--rrpls-muted); font-size: 11px; line-height: 1.4; }
.rrpls-verification-unavailable {
	margin: 14px 0 0;
	border-left: 3px solid var(--rrpls-border);
	background: var(--rrpls-soft);
	color: var(--rrpls-muted);
	padding: 10px 12px;
	font-size: 12px;
	line-height: 1.45;
}
.rrpls-travel-date-label { grid-column: 1 / -1; margin: 0; color: var(--rrpls-muted); font-size: 12px; }

.rrpls-feed-location {
	display: grid;
	grid-template-columns: 20px minmax(0,1fr) auto;
	align-items: center;
	gap: 8px;
	margin: 10px 0 2px;
	border-top: 1px solid var(--rrpls-border);
	padding: 10px 0 0;
	color: var(--rrpls-text);
	text-decoration: none;
	cursor: pointer;
}
.rrpls-feed-location:hover,
.rrpls-feed-location:focus-visible { color: var(--rrpls-text); text-decoration: none; }
.rrpls-feed-location:focus-visible { outline: 2px solid var(--rrpls-brand); outline-offset: 3px; border-radius: 6px; }
.rrpls-feed-location-pin {
	position: relative;
	display: block;
	width: 12px;
	height: 15px;
	border: 2px solid var(--rrpls-brand);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}
.rrpls-feed-location-pin:after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--rrpls-brand); }
.rrpls-feed-location-copy { min-width: 0; }
.rrpls-feed-location strong,
.rrpls-feed-location-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrpls-feed-location strong { font-size: 12px; color: var(--rrpls-text); }
.rrpls-feed-location-copy > span { color: var(--rrpls-muted); font-size: 10px; }
.rrpls-feed-location small { border-radius: 999px; background: var(--rrpls-soft); color: var(--rrpls-muted); padding: 4px 7px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.rrpls-feed-location small.is-verified { background: rgba(21,115,71,.12); color: var(--rrpls-success); }
.rrpse-viewer-activity .rrpls-feed-location { display: none; }

.rrpls-profile-passport { --rrpls-passport-paper: #f6f1e4; --rrpls-passport-ink: #173d63; }
.rrpls-passport-paper {
	position: relative;
	isolation: isolate;
	border: 1px solid color-mix(in srgb, var(--rrpls-passport-ink) 18%, transparent);
	border-radius: 20px;
	background-color: var(--rrpls-passport-paper);
	background-image: var(--rrpls-passport-bg-light, radial-gradient(circle at 50% 15%, rgba(23,61,99,.08), transparent 42%), repeating-linear-gradient(135deg, rgba(23,61,99,.025) 0 1px, transparent 1px 9px));
	background-position: center;
	background-size: cover;
	padding: clamp(18px,3vw,34px);
	box-shadow: inset 0 0 60px rgba(70,48,16,.05);
}
.rrpls-passport-paper:before {
	content: "RR";
	position: absolute;
	z-index: -1;
	inset: auto 5% 3% auto;
	color: rgba(23,61,99,.035);
	font-family: Georgia,serif;
	font-size: clamp(110px,18vw,260px);
	font-weight: 700;
	line-height: .8;
}
.rrpls-passport-identity {
	display: grid;
	grid-template-columns: 78px minmax(0,1fr);
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	border: 1px solid rgba(23,61,99,.18);
	border-radius: 14px;
	background: rgba(255,255,255,.52);
	backdrop-filter: blur(3px);
	padding: 13px;
	color: #162f4a;
}
.rrpls-passport-identity img { display: block; width: 78px; height: 92px; border-radius: 8px; object-fit: cover; filter: saturate(.88); }
.rrpls-passport-identity span,
.rrpls-passport-identity strong,
.rrpls-passport-identity small { display: block; }
.rrpls-passport-identity span { color: #5a6f82; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rrpls-passport-identity strong { margin-top: 5px; font-family: Georgia,serif; font-size: clamp(22px,3vw,34px); line-height: 1.1; }
.rrpls-passport-identity small { margin-top: 5px; color: #5a6f82; font-size: 11px; text-transform: uppercase; }
.rrpls-passport-paper .rrpls-section-header,
.rrpls-passport-paper .rrpls-stamps-section > h3 { color: #162f4a; }
.rrpls-passport-paper .rrpls-section-header p { color: #5a6f82; }
.rrpls-passport-paper .rrpls-map-filter { border-color: rgba(23,61,99,.28); background: rgba(255,255,255,.72); color: #162f4a; opacity: 1; }
.rrpls-passport-paper .rrpls-map-filter:hover { border-color: #173d63; }
.rrpls-passport-paper .rrpls-map-filter.is-active { border-color: #173d63; background: #173d63; color: #fff; }
.rrpls-map-filter { display: inline-flex; align-items: center; gap: 7px; opacity: 1; cursor: pointer; }
.rrpls-filter-count { display: inline-grid; min-width: 19px; height: 19px; place-items: center; border-radius: 999px; background: color-mix(in srgb, currentColor 11%, transparent); font-size: 10px; line-height: 1; }
.rrpls-map-filter.is-active .rrpls-filter-count { background: rgba(255,255,255,.2); }
.rrpls-map-empty.is-error { color: var(--rrpls-danger); }
.rrpls-passport-paper .rrpls-stamp-card { border-color: rgba(23,61,99,.15); background: rgba(255,255,255,.64); color: #162f4a; backdrop-filter: blur(2px); }
.rrpls-passport-paper .rrpls-stamp-meta span { color: #5a6f82; }


/* 0.2.5 single-row Passport views: All locations / Countries + Verified visits. */
.rrpls-passport-view-panel[hidden] { display: none !important; }
.rrpls-passport-controls {
	display: flex;
	align-items: stretch;
	gap: 9px;
	max-width: 100%;
	margin: 0 0 18px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}
.rrpls-passport-primary-switch {
	display: inline-grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	flex: 1 1 330px;
	min-width: 245px;
	max-width: 410px;
	border: 1px solid rgba(23,61,99,.26);
	border-radius: 999px;
	background: rgba(255,255,255,.48);
	padding: 4px;
	box-shadow: inset 0 1px 2px rgba(23,61,99,.05);
}
.rrpls-passport-view-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #162f4a;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.15;
	padding: 9px 14px;
	white-space: nowrap;
	cursor: pointer;
	transition: background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.rrpls-passport-view-button:hover { background: rgba(255,255,255,.6); }
.rrpls-passport-view-button.is-active {
	background: #173d63;
	color: #fff;
	box-shadow: 0 4px 12px rgba(23,61,99,.2);
}
.rrpls-passport-verified-button {
	flex: 0 0 auto;
	border: 1px solid rgba(23,61,99,.26);
	background: rgba(255,255,255,.48);
	padding-inline: 16px;
}
.rrpls-passport-verified-button:hover { border-color: #173d63; }
.rrpls-passport-add-location { appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:42px;padding:9px 15px;border:1px solid #173d63;border-radius:999px;background:#fffdf8;color:#173d63;font:inherit;font-size:13px;font-weight:750;line-height:1.15;white-space:nowrap;cursor:pointer;transition:.16s ease; }
.rrpls-passport-add-location:hover,.rrpls-passport-add-location:focus-visible { background:#173d63;color:#fff;outline:0;box-shadow:0 4px 12px rgba(23,61,99,.16); }
.rrpls-passport-add-location>span{font-size:18px;line-height:1}
.rrpls-country-count-badge { padding-inline: 6px; }
.rrpls-country-stamp-grid,
.rrpls-verified-stamp-grid { margin-top: 0; }
.rrpls-country-stamp-card { position: relative; overflow: hidden; }
.rrpls-country-stamp-card:after {
	content: "RR";
	position: absolute;
	right: 8px;
	bottom: -10px;
	color: rgba(23,61,99,.04);
	font-family: Georgia,serif;
	font-size: 74px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}
.rrpls-country-empty { margin: 20px 0 4px; }

html[data-bx-mode="dark"] .rrpls-passport-primary-switch,
.bb-rl-dark-mode .rrpls-passport-primary-switch,
html[data-bx-mode="dark"] .rrpls-passport-verified-button,
.bb-rl-dark-mode .rrpls-passport-verified-button {
	border-color: rgba(220,232,242,.22);
	background: rgba(16,20,26,.64);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}
html[data-bx-mode="dark"] .rrpls-passport-view-button,
.bb-rl-dark-mode .rrpls-passport-view-button { color: #edf2f7; }
html[data-bx-mode="dark"] .rrpls-passport-view-button:hover,
.bb-rl-dark-mode .rrpls-passport-view-button:hover { background: rgba(255,255,255,.06); }
html[data-bx-mode="dark"] .rrpls-passport-view-button.is-active,
.bb-rl-dark-mode .rrpls-passport-view-button.is-active { background: #dce8f2; color: #17212b; }
html[data-bx-mode="dark"] .rrpls-country-stamp-card:after,
.bb-rl-dark-mode .rrpls-country-stamp-card:after { color: rgba(220,232,242,.035); }

@media (prefers-color-scheme: dark) {
	html[data-bx-mode="auto"] .rrpls-passport-primary-switch,
	html[data-bx-mode="auto"] .rrpls-passport-verified-button { border-color: rgba(220,232,242,.22); background: rgba(16,20,26,.64); box-shadow: inset 0 1px 2px rgba(0,0,0,.2); }
	html[data-bx-mode="auto"] .rrpls-passport-view-button { color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-view-button:hover { background: rgba(255,255,255,.06); }
	html[data-bx-mode="auto"] .rrpls-passport-view-button.is-active { background: #dce8f2; color: #17212b; }
	html[data-bx-mode="auto"] .rrpls-country-stamp-card:after { color: rgba(220,232,242,.035); }
}

@media (max-width: 600px) {
	.rrpls-passport-controls { gap: 7px; margin-bottom: 15px; }
	.rrpls-passport-primary-switch { flex-basis: 230px; min-width: 230px; padding: 3px; }
	.rrpls-passport-view-button { min-height: 40px; gap: 5px; padding: 8px 9px; font-size: 11.5px; }
	.rrpls-passport-verified-button { padding-inline: 11px; }
	.rrpls-filter-count { min-width: 18px; height: 18px; font-size: 9px; }
	.rrpls-country-stamp-card:after { font-size: 58px; }
}

.rrpls-custom-stamp {
	position: relative;
	display: block;
	width: 100%;
	max-width: 260px;
	aspect-ratio: 360 / 230;
	color: var(--rrpls-stamp-ink, #173d63);
	line-height: 1;
}
.rrpls-custom-stamp-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.rrpls-custom-stamp-art-dark { display: none; }
.rrpls-custom-stamp-copy {
	position: absolute;
	inset: 24% 12% 18%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;
	filter: contrast(1.08);
}
.rrpls-custom-stamp-copy strong { display: block; max-width: 100%; overflow: hidden; font-family: Georgia,serif; font-size: clamp(14px,2vw,25px); line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
.rrpls-custom-stamp-copy > span { display: block; max-width: 100%; margin-top: 4px; overflow: hidden; font-size: clamp(7px,.85vw,11px); letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.rrpls-custom-stamp-copy time { display: block; margin-top: 10px; font-family: "Courier New",monospace; font-size: clamp(9px,1.2vw,14px); }

html[data-bx-mode="dark"] .rrpls-passport-paper,
.bb-rl-dark-mode .rrpls-passport-paper {
	background-color: #1b2027;
	background-image: var(--rrpls-passport-bg-dark, linear-gradient(rgba(15,19,24,.72),rgba(15,19,24,.72)), var(--rrpls-passport-bg-light, radial-gradient(circle at 50% 20%, rgba(190,211,228,.09), transparent 45%)));
	border-color: rgba(214,225,235,.18);
	box-shadow: inset 0 0 70px rgba(0,0,0,.24);
}
html[data-bx-mode="dark"] .rrpls-passport-paper:before,
.bb-rl-dark-mode .rrpls-passport-paper:before { color: rgba(220,232,242,.035); }
html[data-bx-mode="dark"] .rrpls-passport-identity,
.bb-rl-dark-mode .rrpls-passport-identity { border-color: rgba(220,232,242,.18); background: rgba(16,20,26,.68); color: #edf2f7; }
html[data-bx-mode="dark"] .rrpls-passport-identity span,
html[data-bx-mode="dark"] .rrpls-passport-identity small,
.bb-rl-dark-mode .rrpls-passport-identity span,
.bb-rl-dark-mode .rrpls-passport-identity small { color: #aab6c2; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-section-header,
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-stamps-section > h3,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-section-header,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-stamps-section > h3 { color: #edf2f7; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-section-header p,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-section-header p { color: #aab6c2; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-map-filter,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-map-filter { border-color: rgba(220,232,242,.25); background: rgba(16,20,26,.72); color: #edf2f7; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-map-filter.is-active,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-map-filter.is-active { border-color: #dce8f2; background: #dce8f2; color: #17212b; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-stamp-card,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-stamp-card { border-color: rgba(220,232,242,.16); background: rgba(16,20,26,.7); color: #edf2f7; }
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-stamp-meta span,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-stamp-meta span { color: #aab6c2; }
html[data-bx-mode="dark"] .rrpls-custom-stamp-art-light,
.bb-rl-dark-mode .rrpls-custom-stamp-art-light { display: none; }
html[data-bx-mode="dark"] .rrpls-custom-stamp-art-dark,
.bb-rl-dark-mode .rrpls-custom-stamp-art-dark { display: block; }

/* BuddyX stores System preference as data-bx-mode="auto". */
@media (prefers-color-scheme: dark) {
	html[data-bx-mode="auto"] .rrpls-passport-paper {
		background-color: #1b2027;
		background-image: var(--rrpls-passport-bg-dark, linear-gradient(rgba(15,19,24,.72),rgba(15,19,24,.72)), var(--rrpls-passport-bg-light, radial-gradient(circle at 50% 20%, rgba(190,211,228,.09), transparent 45%)));
		border-color: rgba(214,225,235,.18);
		box-shadow: inset 0 0 70px rgba(0,0,0,.24);
	}
	html[data-bx-mode="auto"] .rrpls-passport-paper:before { color: rgba(220,232,242,.035); }
	html[data-bx-mode="auto"] .rrpls-passport-identity { border-color: rgba(220,232,242,.18); background: rgba(16,20,26,.68); color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-identity span,
	html[data-bx-mode="auto"] .rrpls-passport-identity small { color: #aab6c2; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-section-header,
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-stamps-section > h3 { color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-section-header p { color: #aab6c2; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-map-filter { border-color: rgba(220,232,242,.25); background: rgba(16,20,26,.72); color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-map-filter.is-active { border-color: #dce8f2; background: #dce8f2; color: #17212b; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-stamp-card { border-color: rgba(220,232,242,.16); background: rgba(16,20,26,.7); color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-stamp-meta span { color: #aab6c2; }
	html[data-bx-mode="auto"] .rrpls-custom-stamp-art-light { display: none; }
	html[data-bx-mode="auto"] .rrpls-custom-stamp-art-dark { display: block; }
}

@media (max-width: 600px) {
	.rrpls-passport-paper { border-inline: 0; border-radius: 0; margin-inline: -12px; padding: 18px 12px 24px; }
	.rrpls-passport-identity { grid-template-columns: 62px minmax(0,1fr); gap: 12px; }
	.rrpls-passport-identity img { width: 62px; height: 74px; }
	.rrpls-feed-location { grid-template-columns: 18px minmax(0,1fr); }
	.rrpls-feed-location small { grid-column: 2; justify-self: start; }
	.rrpls-stamp-card .rrpls-custom-stamp { width: 48%; }
}

/* 0.1.5 location-editor and identity refinements. */
.rrpls-modal[hidden] { display: none !important; }
.rrpls-modal-dialog > header {
	position: relative;
	justify-content: center;
	min-height: 36px;
}
.rrpls-modal-dialog > header .rrpls-icon-button {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}
.rrpls-modal-back {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	border: 0;
	background: transparent;
	color: var(--rrpls-text);
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}
.rrpls-modal-back[hidden] { display: none !important; }
.rrpls-modal-back > span {
	display: block;
	width: 8px;
	height: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.rrpls-passport-identity small b {
	font: inherit;
	font-weight: 800;
	letter-spacing: .045em;
}

@media (max-width: 782px) {
	.rrpls-modal.is-viewer-context .rrpls-modal-dialog,
	.rrpls-modal .rrpls-modal-dialog {
		width: 100%;
		height: 100dvh;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}
	.rrpls-modal-dialog > header {
		padding-top: calc(12px + env(safe-area-inset-top));
		padding-bottom: 12px;
	}
	.rrpls-modal-body {
		padding: 15px;
	}
	.rrpls-modal-footer {
		position: sticky;
		bottom: 0;
		z-index: 2;
	}
}
.rrpls-viewer-location-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rrpls-viewer-location-actions button {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--rrpls-brand);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.rrpls-viewer-location-actions .rrpls-viewer-verify {
	border-radius: 999px;
	background: var(--rrpls-brand);
	color: #fff;
	padding: 6px 10px;
}


/* 0.1.6: explicit address correction and nearby approved-destination status. */
.rrpls-change-place {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	margin: 8px 0 12px;
	padding: 7px 11px;
	border: 1px solid #d9dce3;
	border-radius: 9px;
	background: #fff;
	color: #3835f4;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.rrpls-change-place[hidden] { display: none !important; }
.rrpls-public-name-help { margin: 6px 0 0; color: #6b7078; font-size: 12px; line-height: 1.45; }
.rrpls-nearby-destination { margin: 7px 0 0; color: #34317e; font-size: 12px; line-height: 1.4; }

html[data-bx-mode="dark"] .rrpls-change-place,
body.bb-dark-theme .rrpls-change-place {
	border-color: #414650;
	background: #202329;
	color: #aaa8ff;
}

@media (max-width: 760px) {
	.rrpls-change-place {
		width: 100%;
		justify-content: center;
		font-size: 15px;
	}
}

/* 0.1.7: verification-first flow, explicit address-search mode and calmer preview maps. */
@media (min-width: 783px) {
	.rrpls-modal-dialog {
		width: min(680px, calc(100% - 36px));
		height: min(800px, calc(100dvh - 40px));
		margin: max(18px, 2.5vh) auto;
	}
	.rrpls-modal.is-verification-focus .rrpls-modal-dialog {
		width: min(600px, calc(100% - 36px));
		height: auto;
		max-height: calc(100dvh - 40px);
	}
}

/* Keep a single EXIF/photo-place suggestion visible while the editor is in
 * search mode. From 0.3.52 an EXIF GPS place is accepted automatically as the
 * ordinary tagged-location default; opening the editor is only needed to change
 * or remove it. Verification-only mode still hides the suggestion. */
.rrpls-location-editor.is-verification-mode .rrpls-photo-suggestions {
	display: none;
}

.rrpls-search-mode-intro {
	margin: 0 0 14px;
	padding: 14px;
	border: 1px solid var(--rrpls-border);
	border-radius: 12px;
	background: var(--rrpls-soft);
}
.rrpls-search-mode-intro h3 { margin: 0 0 5px; font-size: 16px; }
.rrpls-search-mode-intro p { margin: 0; color: var(--rrpls-muted); font-size: 13px; line-height: 1.45; }
.rrpls-search-map-context {
	display: grid;
	gap: 2px;
	margin: 0 0 8px;
	color: var(--rrpls-text);
}
.rrpls-search-map-context[hidden] { display: none !important; }
.rrpls-search-map-context strong { font-size: 13px; }
.rrpls-search-map-context span { color: var(--rrpls-muted); font-size: 12px; line-height: 1.4; }

.rrpls-modal .rrpls-map-preview {
	min-height: 250px;
	height: 250px;
	border-radius: 12px;
	touch-action: pan-y;
}
.rrpls-modal .rrpls-map-preview .leaflet-control-zoom { display: none; }
.rrpls-modal .rrpls-map-preview .leaflet-container,
.rrpls-modal .rrpls-map-preview .leaflet-pane { cursor: default; }

.rrpls-verification-box {
	position: relative;
}
.rrpls-location-editor.is-verification-mode .rrpls-selected-location {
	margin-bottom: 14px;
}
.rrpls-location-editor.is-verification-mode .rrpls-verification-box {
	margin-top: 0;
	border-color: color-mix(in srgb, var(--rrpls-brand) 38%, var(--rrpls-border));
	background: color-mix(in srgb, var(--rrpls-brand) 7%, var(--rrpls-surface));
	padding: 18px;
}
.rrpls-permission-status {
	margin: 10px 0;
	color: var(--rrpls-muted);
	font-size: 12px;
	line-height: 1.45;
}
.rrpls-consent-toggle {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 12px 0;
	font-size: 13px;
	line-height: 1.45;
}
.rrpls-consent-toggle input.rrpls-consent-checkbox { margin-top: 3px !important; }
.rrpls-verify-button {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--rrpls-brand);
	color: #fff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}
.rrpls-verify-button:disabled {
	cursor: progress;
	opacity: .72;
}
.rrpls-edit-tagged-location {
	display: block;
	margin: 12px auto 0;
	padding: 4px 6px;
	border: 0;
	background: transparent;
	color: var(--rrpls-brand);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.rrpls-edit-tagged-location[hidden] { display: none !important; }
.rrpls-permission-help {
	margin-top: 12px;
	padding: 11px 12px;
	border-left: 3px solid #d39a00;
	background: rgba(211,154,0,.09);
}
.rrpls-permission-help[hidden] { display: none !important; }
.rrpls-permission-help p { margin: 0; font-size: 12px; line-height: 1.5; }
.rrpls-editor-status.is-error + .rrpls-permission-help { display: block; }

.rrpls-save-location[hidden],
.rrpls-modal-remove[hidden] { display: none !important; }

@media (max-width: 782px) {
	.rrpls-modal .rrpls-map-preview {
		min-height: 280px;
		height: 280px;
	}
	.rrpls-location-editor.is-verification-mode .rrpls-verification-box {
		padding: 16px;
	}
	.rrpls-search-mode-intro { margin-top: 2px; }
}


/* 0.1.8: ReadyLaunch/BuddyX can visually hide native checkboxes. Keep consent and public-location controls explicitly visible. */

/* 0.1.9: keep useful map context visible while replacing an address. */
.rrpls-location-editor.is-search-mode .rrpls-selected-location {
	margin-top: 14px;
}
.rrpls-location-editor.is-search-mode .rrpls-map-preview {
	margin-top: 12px;
}

/* 0.2.0: generated destination routes use the paRRssport application shell, not the parent BuddyX site chrome. */
body.rrpls-destination-view {
	background: var(--rrpls-soft);
}
body.rrpls-destination-view .site-header-wrapper,
body.rrpls-destination-view #masthead,
body.rrpls-destination-view #colophon,
body.rrpls-destination-view .site-footer,
body.rrpls-destination-view .site-info,
body.rrpls-destination-view .mobile-menu-close,
body.rrpls-destination-view .rrph-header-profile-link {
	display: none !important;
}
body.rrpls-destination-view #page {
	min-height: 100vh;
	padding-top: 72px;
	background: var(--rrpls-soft);
	box-sizing: border-box;
}
body.rrpls-destination-view #page > .container {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 1px 28px 72px !important;
	box-sizing: border-box;
}
.rrpls-destination-appbar {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 10010;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	padding: 0 18px 0 22px;
	border-bottom: 1px solid rgba(20,24,32,.08);
	background: var(--rrpls-surface);
	box-sizing: border-box;
}
.rrpls-destination-brand,
.rrpls-destination-user {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}
.rrpls-destination-brand {
	width: 46px;
	height: 46px;
}
.rrpls-destination-brand img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.rrpls-destination-brand span {
	font-weight: 800;
	letter-spacing: -.04em;
	color: var(--rrpls-text);
}
.rrpls-destination-user {
	width: 44px;
	height: 44px;
	border: 2px solid var(--rrpls-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(20,24,32,.14), 0 5px 16px rgba(18,25,38,.11);
	overflow: hidden;
}
.rrpls-destination-user img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.rrpls-destination-view .rrpls-destination-page {
	margin-top: 32px;
}
html[data-bx-mode="dark"] body.rrpls-destination-view,
body.bb-dark-theme.rrpls-destination-view,
html[data-bx-mode="dark"] body.rrpls-destination-view #page,
body.bb-dark-theme.rrpls-destination-view #page {
	background: #0d0f13;
}
html[data-bx-mode="dark"] .rrpls-destination-appbar,
body.bb-dark-theme .rrpls-destination-appbar {
	border-color: rgba(255,255,255,.1);
	background: #111318;
}
@media (min-width: 1025px) {
	body.rrpls-destination-view #page {
		padding-left: 192px;
	}
	.rrpls-destination-appbar {
		padding-left: 20px;
	}
}
@media (max-width: 1024px) {
	body.rrpls-destination-view #page {
		padding-left: 0;
	}
	body.rrpls-destination-view #page > .container {
		padding-inline: 16px !important;
		padding-bottom: 100px !important;
	}
	body.rrpls-destination-view .rrpls-destination-page {
		margin-top: 18px;
	}
}
@media (max-width: 600px) {
	body.rrpls-destination-view #page > .container {
		padding-inline: 0 !important;
	}
	.rrpls-destination-appbar {
		height: 64px;
		padding-inline: 14px;
	}
	body.rrpls-destination-view #page {
		padding-top: 64px;
	}
	.rrpls-destination-brand { width: 40px; height: 40px; }
	.rrpls-destination-user { width: 40px; height: 40px; }
}


/* 0.2.2: keep paRRssport markers above the OpenFreeMap/MapLibre canvas. */
.rrpls-map .leaflet-rrpls-markers-pane,
.rrpls-map .leaflet-marker-pane {
	z-index: 850 !important;
}
.rrpls-map .maplibregl-map,
.rrpls-map .leaflet-maplibre-gl-layer,
.rrpls-map .maplibregl-canvas-container {
	z-index: 200 !important;
}
.rrpls-map .leaflet-rrpls-markers-pane {
	pointer-events: none !important;
}
.rrpls-map .rrpls-leaflet-marker {
	z-index: 900 !important;
	pointer-events: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.rrpls-map-filter-status {
	margin: 8px 2px 0;
	color: var(--rrpls-muted);
	font-size: 12px;
}

/* Show the current point and map before the replacement-address search. */
.rrpls-location-editor.is-search-mode {
	display: flex;
	flex-direction: column;
}
.rrpls-location-editor.is-search-mode .rrpls-search-mode-intro { order: 1; }
.rrpls-location-editor.is-search-mode .rrpls-search-map-context { order: 2; }
.rrpls-location-editor.is-search-mode .rrpls-map-preview { order: 3; }
.rrpls-location-editor.is-search-mode .rrpls-map-preview:not([hidden]) { display: block; }
.rrpls-location-editor.is-search-mode .rrpls-map-preview[hidden] { display: none !important; }
.rrpls-location-editor.is-search-mode .rrpls-selected-location { order: 4; }
.rrpls-location-editor.is-search-mode .rrpls-search-box { order: 5; margin-top: 14px; }
.rrpls-location-editor.is-search-mode .rrpls-provider-attribution { order: 6; }
.rrpls-location-editor.is-search-mode .rrpls-editor-status { order: 7; }

/* Destination overview and media-only pages are intentionally distinct. */
.rrpls-destination-media-heading {
	margin: 0 0 26px;
	border: 1px solid var(--rrpls-border);
	border-radius: 18px;
	background: var(--rrpls-surface);
	padding: clamp(22px, 4vw, 42px);
}
.rrpls-destination-media-heading h1 { margin: 8px 0 10px; }
.rrpls-destination-back,
.rrpls-view-all-media {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	border: 1px solid var(--rrpls-border);
	border-radius: 999px;
	background: var(--rrpls-surface);
	padding: 0 16px;
	color: var(--rrpls-text) !important;
	font-weight: 700;
	text-decoration: none !important;
}
.rrpls-view-all-wrap { margin: 22px 0 0; text-align: center; }
body.rrpls-destination-media-view .rrpls-destination-media { margin-top: 0; }

/* The custom paRRssport More control is black on generated destination routes. */
body.rrpls-destination-view .rrph-desktop-nav__more,
body.rrpls-destination-view .rrph-desktop-nav__more:hover,
body.rrpls-destination-view .rrph-desktop-nav__more:focus-visible,
body.rrpls-destination-view .rrph-desktop-nav__more[aria-expanded="true"] {
	border-color: #111 !important;
	background: #111 !important;
	color: #fff !important;
}
html[data-bx-mode="dark"] body.rrpls-destination-view .rrph-desktop-nav__more,
body.bb-dark-theme.rrpls-destination-view .rrph-desktop-nav__more {
	border-color: #f3f3f3 !important;
	background: #f3f3f3 !important;
	color: #111 !important;
}


/* 0.2.3: location-review maps are exploratory, not static previews. */
.rrpls-modal .rrpls-map-preview.is-interactive .leaflet-control-zoom {
	display: block;
}
.rrpls-modal .rrpls-map-preview.is-interactive,
.rrpls-modal .rrpls-map-preview.is-interactive .leaflet-map-pane,
.rrpls-modal .rrpls-map-preview.is-interactive .leaflet-tile-pane {
	cursor: grab;
}
.rrpls-modal .rrpls-map-preview.is-interactive.leaflet-dragging,
.rrpls-modal .rrpls-map-preview.is-interactive.leaflet-dragging .leaflet-map-pane {
	cursor: grabbing;
}
.rrpls-modal .rrpls-map-preview.is-interactive:focus-visible {
	outline: 2px solid var(--rrpls-accent, #4946fe);
	outline-offset: 2px;
}


/* 0.2.5 specificity correction: the All locations half belongs to the
 * segmented pair, not the old standalone map-filter presentation. */
.rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter {
	border: 0;
	background: transparent;
	box-shadow: none;
}
.rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter:hover {
	border: 0;
	background: rgba(255,255,255,.6);
}
.rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter.is-active {
	border: 0;
	background: #173d63;
	color: #fff;
	box-shadow: 0 4px 12px rgba(23,61,99,.2);
}
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter {
	border: 0;
	background: transparent;
	color: #edf2f7;
}
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter:hover,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter:hover {
	background: rgba(255,255,255,.06);
}
html[data-bx-mode="dark"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter.is-active,
.bb-rl-dark-mode .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter.is-active {
	border: 0;
	background: #dce8f2;
	color: #17212b;
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
@media (prefers-color-scheme: dark) {
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter { border: 0; background: transparent; color: #edf2f7; }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter:hover { background: rgba(255,255,255,.06); }
	html[data-bx-mode="auto"] .rrpls-passport-paper .rrpls-passport-primary-switch .rrpls-map-filter.is-active { border: 0; background: #dce8f2; color: #17212b; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
}


/* 0.3.26: member Passport privacy and self-management; follower-only Passport audiences. */
.rrpls-passport-manage{margin:0 0 18px;border:1px solid var(--bb-rl-border-secondary-color,#dfe3e8);border-radius:10px;background:var(--bb-rl-background-color,#fff)}
.rrpls-passport-manage>summary{cursor:pointer;padding:12px 14px;font-weight:700}
.rrpls-passport-manage-body{padding:0 14px 14px;display:grid;gap:16px}
.rrpls-passport-privacy-form label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rrpls-passport-privacy-form select{min-width:180px}
.rrpls-passport-notice{padding:9px 11px;border-radius:6px;margin:0}.rrpls-passport-notice.is-success{background:#edfaef}.rrpls-passport-notice.is-error{background:#fff0f0}
.rrpls-management-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid var(--bb-rl-border-secondary-color,#e5e7eb)}
.rrpls-management-row>span{display:flex;gap:5px;align-items:baseline;flex-wrap:wrap;min-width:0}.rrpls-management-row small{opacity:.7}
.rrpls-inline-management-form{display:inline;margin:0}.rrpls-inline-management-form .button-link{cursor:pointer}.rrpls-remove-link{color:#b32d2e!important}
.rrpls-stamp-card-wrap{min-width:0}.rrpls-stamp-owner-actions{display:flex;justify-content:center;gap:12px;margin-top:6px}
@media(max-width:600px){.rrpls-management-row{align-items:flex-start;flex-wrap:wrap}.rrpls-passport-privacy-form label{align-items:flex-start;flex-direction:column}.rrpls-passport-privacy-form select{width:100%}}


/* 0.3.28: A Passport is a document, not a theme surface. When no explicit
 * dark Passport artwork is configured, retain the cream/light passport-paper
 * presentation even while the surrounding ReadyLaunch/BuddyX UI is dark.
 * Administrators can still opt back into the legacy dark-paper treatment by
 * selecting a dedicated Dark-mode Passport background in Locations & Stamps. */
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art),
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) {
	background-color: #f6f1e4;
	background-image: var(--rrpls-passport-bg-light, radial-gradient(circle at 50% 15%, rgba(23,61,99,.08), transparent 42%), repeating-linear-gradient(135deg, rgba(23,61,99,.025) 0 1px, transparent 1px 9px));
	border-color: color-mix(in srgb, #173d63 18%, transparent);
	box-shadow: inset 0 0 60px rgba(70,48,16,.05);
}
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art):before,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art):before { color: rgba(23,61,99,.035); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity { border-color: rgba(23,61,99,.18); background: rgba(255,255,255,.52); color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity span,
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity small,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity span,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity small { color: #5a6f82; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header,
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamps-section > h3,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamps-section > h3 { color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header p,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header p { color: #5a6f82; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter { border-color: rgba(23,61,99,.28); background: rgba(255,255,255,.72); color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter.is-active,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter.is-active { border-color: #173d63; background: #173d63; color: #fff; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-card,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-card { border-color: rgba(23,61,99,.15); background: rgba(255,255,255,.64); color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-meta span,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-meta span { color: #5a6f82; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch,
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-verified-button,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-verified-button { border-color: rgba(23,61,99,.26); background: rgba(255,255,255,.48); box-shadow: inset 0 1px 2px rgba(23,61,99,.05); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button { color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button:hover,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button:hover { background: rgba(255,255,255,.6); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button.is-active,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button.is-active { background: #173d63; color: #fff; box-shadow: 0 4px 12px rgba(23,61,99,.2); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter { border: 0; background: transparent; color: #162f4a; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter:hover,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter:hover { background: rgba(255,255,255,.6); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter.is-active,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter.is-active { background: #173d63; color: #fff; box-shadow: 0 4px 12px rgba(23,61,99,.2); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-country-stamp-card:after,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-country-stamp-card:after { color: rgba(23,61,99,.04); }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-light,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-light { display: block; }
html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-dark,
.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-dark { display: none; }

@media (prefers-color-scheme: dark) {
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) {
		background-color: #f6f1e4;
		background-image: var(--rrpls-passport-bg-light, radial-gradient(circle at 50% 15%, rgba(23,61,99,.08), transparent 42%), repeating-linear-gradient(135deg, rgba(23,61,99,.025) 0 1px, transparent 1px 9px));
		border-color: color-mix(in srgb, #173d63 18%, transparent);
		box-shadow: inset 0 0 60px rgba(70,48,16,.05);
	}
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art):before { color: rgba(23,61,99,.035); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity { border-color: rgba(23,61,99,.18); background: rgba(255,255,255,.52); color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity span,
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-identity small { color: #5a6f82; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header,
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamps-section > h3 { color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-section-header p { color: #5a6f82; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter { border-color: rgba(23,61,99,.28); background: rgba(255,255,255,.72); color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-map-filter.is-active { border-color: #173d63; background: #173d63; color: #fff; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-card { border-color: rgba(23,61,99,.15); background: rgba(255,255,255,.64); color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-stamp-meta span { color: #5a6f82; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch,
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-verified-button { border-color: rgba(23,61,99,.26); background: rgba(255,255,255,.48); box-shadow: inset 0 1px 2px rgba(23,61,99,.05); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button { color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button:hover { background: rgba(255,255,255,.6); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-view-button.is-active { background: #173d63; color: #fff; box-shadow: 0 4px 12px rgba(23,61,99,.2); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter { border: 0; background: transparent; color: #162f4a; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter:hover { background: rgba(255,255,255,.6); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-primary-switch .rrpls-map-filter.is-active { background: #173d63; color: #fff; box-shadow: 0 4px 12px rgba(23,61,99,.2); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-country-stamp-card:after { color: rgba(23,61,99,.04); }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-light { display: block; }
	html[data-bx-mode="auto"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-custom-stamp-art-dark { display: none; }
}

/* 0.3.33 Passport Lounge: unified share/recap/challenge UI. */
.rrpls-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rrpls-passport-lounge-open{flex:0 0 auto}.rrpls-passport-lounge[hidden]{display:none!important}.rrpls-passport-lounge{margin:16px 0 26px;padding:20px;border:1px solid rgba(23,61,99,.14);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,244,234,.93));box-shadow:0 12px 34px rgba(23,61,99,.07)}.rrpls-passport-lounge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.rrpls-passport-lounge-head span,.rrpls-lounge-kicker{display:block;color:#8c6c22;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.rrpls-passport-lounge-head h3{margin:4px 0 3px;color:#173d63;font-size:24px;line-height:1.15}.rrpls-passport-lounge-head p{margin:0;color:#6b7280}.rrpls-passport-lounge-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(23,61,99,.12);border-radius:50%;background:#fff;color:#173d63;font-size:24px;cursor:pointer}.rrpls-lounge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rrpls-lounge-card{position:relative;min-height:170px;padding:18px;border:1px solid rgba(23,61,99,.11);border-radius:15px;background:#fff;overflow:hidden}.rrpls-lounge-card:after{content:"";position:absolute;right:-35px;bottom:-55px;width:130px;height:130px;border:1px solid rgba(154,116,21,.14);border-radius:50%}.rrpls-lounge-card--hero{background:linear-gradient(135deg,#fff,#f8f0dd)}.rrpls-lounge-card--seasonal{background:linear-gradient(135deg,#fff9ef,#f5ebd7)}.rrpls-lounge-card h4{margin:7px 0 6px;color:#173d63;font-size:20px;line-height:1.2}.rrpls-lounge-card p{margin:0 0 14px;color:#69717b}.rrpls-lounge-milestones{display:flex;gap:7px;flex-wrap:wrap}.rrpls-growth-chip{position:relative;z-index:1;border:1px solid rgba(23,61,99,.18);border-radius:999px;background:#fff;padding:8px 11px;color:#173d63;font-weight:700;cursor:pointer}.rrpls-growth-chip:hover{background:#f5f8fa}.rrpls-passport-challenge{margin-top:14px;padding:16px 18px;border:1px solid rgba(23,61,99,.12);border-radius:15px;background:#fff}.rrpls-passport-challenge>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;color:#173d63;font-weight:800}.rrpls-passport-challenge>summary small{color:#7b818a;font-weight:500}.rrpls-passport-challenge>p{color:#69717b}.rrpls-challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.rrpls-challenge-grid label{position:relative;display:flex;min-height:96px;align-items:center;justify-content:center;padding:10px;border:1px solid rgba(23,61,99,.15);border-radius:12px;background:#faf7ef;text-align:center;cursor:pointer}.rrpls-challenge-grid input{position:absolute;opacity:0;pointer-events:none}.rrpls-challenge-grid label:has(input:checked){background:#173d63;color:#fff;border-color:#173d63}.rrpls-growth-private-note{padding:12px 14px;border-radius:12px;background:#fff7e8;color:#68522c}.rrpls-growth-status{margin:12px 0 0;color:#173d63}.rrpls-passport-guest-cta{margin:14px 0;padding:13px 15px;border:1px solid rgba(23,61,99,.12);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.rrpls-passport-guest-cta p{margin:0;color:#65707b}.rrpls-passport-guest-cta-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:720px){.rrpls-section-header{align-items:stretch}.rrpls-passport-lounge-open{align-self:flex-start}.rrpls-lounge-grid{grid-template-columns:1fr}.rrpls-passport-lounge{padding:14px}.rrpls-passport-lounge-head h3{font-size:21px}.rrpls-passport-challenge>summary{flex-direction:column}.rrpls-challenge-grid{gap:5px}.rrpls-challenge-grid label{min-height:92px;padding:7px;font-size:12px}.rrpls-passport-guest-cta{align-items:flex-start;flex-direction:column}}
html[data-bx-mode="dark"] .rrpls-passport-lounge,.bb-rl-dark-mode .rrpls-passport-lounge{background:linear-gradient(145deg,#151a20,#1b1d1d);border-color:rgba(230,235,240,.14)}html[data-bx-mode="dark"] .rrpls-lounge-card,.bb-rl-dark-mode .rrpls-lounge-card,html[data-bx-mode="dark"] .rrpls-passport-challenge,.bb-rl-dark-mode .rrpls-passport-challenge{background:#171c22;border-color:rgba(230,235,240,.14)}html[data-bx-mode="dark"] .rrpls-lounge-card h4,.bb-rl-dark-mode .rrpls-lounge-card h4,html[data-bx-mode="dark"] .rrpls-passport-lounge-head h3,.bb-rl-dark-mode .rrpls-passport-lounge-head h3,html[data-bx-mode="dark"] .rrpls-passport-challenge>summary,.bb-rl-dark-mode .rrpls-passport-challenge>summary{color:#e7eef5}html[data-bx-mode="dark"] .rrpls-growth-chip,.bb-rl-dark-mode .rrpls-growth-chip{background:#20262e;color:#e7eef5}

.rrpls-passport-provenance{margin:22px 0 4px;color:#7c838c;font-size:12px;text-align:center}.rrpls-passport-provenance a{color:inherit;text-decoration:underline}

/* 0.3.44 Event-driven Passport recap/challenge cards (shown only from notification deep links). */
.rrpls-passport-event-card{margin:16px 0 22px;padding:18px;border:1px solid rgba(23,61,99,.14);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(23,61,99,.06)}.rrpls-passport-event-card .rrpls-event-kicker{display:block;margin-bottom:5px;color:#8c6c22;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.rrpls-passport-event-card h3{margin:0 0 6px;color:#173d63;font-size:22px;line-height:1.2}.rrpls-passport-event-card>p{margin:0 0 14px;color:#69717b}.rrpls-passport-event-card .rrpls-challenge-grid{margin:14px 0 16px}.rrpls-passport-event-card .rrpls-challenge-grid label{min-height:88px}.bb-rl-dark-mode .rrpls-passport-event-card,html[data-bx-mode="dark"] .rrpls-passport-event-card{background:#171c22;border-color:rgba(230,235,240,.14)}.bb-rl-dark-mode .rrpls-passport-event-card h3,html[data-bx-mode="dark"] .rrpls-passport-event-card h3{color:#e7eef5}

/* 0.3.46 Passport continents + Status artwork/mobile view correction */
.rrpls-passport-primary-switch{grid-template-columns:repeat(3,minmax(0,1fr));max-width:610px}
.rrpls-passport-identity{position:relative;display:flex;align-items:center;gap:14px}
.rrpls-passport-identity-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.rrpls-passport-identity-stats{margin-top:3px;color:#6a7683;font-weight:650;letter-spacing:.01em}
.rrpls-passport-status{margin-left:auto;position:relative;flex:0 0 auto}
.rrpls-passport-status>summary{list-style:none;cursor:pointer;border:0;padding:0;border-radius:16px;background:transparent}
.rrpls-passport-status>summary::-webkit-details-marker{display:none}
.rrpls-passport-status>summary:focus-visible{outline:2px solid #173d63;outline-offset:3px}
.rrpls-status-medallion{display:block;width:78px;height:78px;line-height:0;filter:drop-shadow(0 4px 7px rgba(22,47,74,.16))}
.rrpls-status-art{display:block;width:100%;height:100%;overflow:visible}
.rrpls-status-popover{position:absolute;z-index:30;right:0;top:88px;width:min(310px,80vw);padding:13px 15px;border:1px solid #d8c9aa;border-radius:12px;background:#fffdf8;color:#162f4a;box-shadow:0 12px 28px #162f4a22;display:grid;gap:4px;font-size:12px}
.rrpls-status-popover strong{font:700 17px/1.15 Georgia,"Times New Roman",serif}.rrpls-status-popover span{color:#5d6c79}
.rrpls-continent-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.rrpls-continent-heading h3{margin:0}.rrpls-continent-heading p{margin:4px 0 0;color:#66788a;font-size:13px}
.rrpls-continent-selector{margin:0 0 14px}
.rrpls-continent-pills{display:flex;flex-wrap:wrap;gap:9px}
.rrpls-continent-pill{appearance:none;min-height:48px;padding:7px 15px;border:1px solid rgba(23,61,99,.26);border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(250,246,236,.76));color:#173d63;font:750 13px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:inset 0 1px #fff9,0 3px 8px rgba(23,61,99,.05);cursor:pointer;transition:.16s ease;display:inline-flex;align-items:center;gap:8px}
.rrpls-continent-pill small{font-size:10px;font-weight:650;opacity:.68}.rrpls-continent-pill span{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:rgba(23,61,99,.09);font-size:10px}.rrpls-continent-pill:hover{border-color:#173d63;transform:translateY(-1px)}.rrpls-continent-pill.is-active{background:#173d63;color:#fff;border-color:#173d63;box-shadow:0 5px 13px rgba(23,61,99,.18)}
.rrpls-continent-mobile{display:none}.rrpls-continent-filter-status{margin:0 0 12px;color:#66788a;font-size:12px}.rrpls-continent-stamp-card[hidden],.rrpls-stamp-card-wrap[hidden]{display:none!important}
@media(max-width:760px){
	/* 0.3.47: keep Status visually secondary on the narrow identity card.
	 * 66px left too little width for ordinary member names once the avatar and
	 * Status shared one row. The 50px artwork remains legible while restoring
	 * the holder-name width; desktop remains unchanged. */
	.rrpls-passport-identity{align-items:flex-start;gap:10px}.rrpls-status-medallion{width:50px;height:50px}.rrpls-status-popover{top:58px}.rrpls-passport-identity-stats{font-size:10px}.rrpls-continent-pills{display:none}.rrpls-continent-mobile{display:grid;gap:5px;color:#173d63;font-size:11px;font-weight:700}.rrpls-continent-mobile select{width:100%;min-height:44px;border:1px solid rgba(23,61,99,.26);border-radius:12px;background:#fffdf8;color:#173d63;padding:0 38px 0 13px;font:700 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
	/* Four main Passport views must remain visible on a portrait phone. The outer
	 * controls become a 2x2 grid while the visited-continent selector remains the
	 * already-approved compact dropdown. */
	.rrpls-passport-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible;margin-bottom:15px}
	.rrpls-passport-primary-switch{display:contents;min-width:0;max-width:none;flex:none;padding:0;border:0;background:transparent;box-shadow:none}
	.rrpls-passport-controls .rrpls-passport-view-button{width:100%;min-width:0;min-height:44px;padding:8px 7px;border:1px solid rgba(23,61,99,.26);border-radius:12px;background:rgba(255,255,255,.48);white-space:normal;font-size:11.5px;line-height:1.12;box-shadow:inset 0 1px 2px rgba(23,61,99,.05)}
	.rrpls-passport-controls .rrpls-passport-view-button.is-active{border-color:#173d63;background:#173d63;color:#fff;box-shadow:0 4px 12px rgba(23,61,99,.2)}
	.rrpls-passport-verified-button{padding-inline:7px}
	.rrpls-passport-add-location{grid-column:1/-1;width:100%;min-height:44px;border-radius:12px}
	.rrpls-status-popover{right:-4px}
	html[data-bx-mode="dark"] .rrpls-passport-controls .rrpls-passport-view-button:not(.is-active),.bb-rl-dark-mode .rrpls-passport-controls .rrpls-passport-view-button:not(.is-active){border-color:rgba(220,232,242,.22);background:rgba(16,20,26,.64);color:#edf2f7;box-shadow:inset 0 1px 2px rgba(0,0,0,.2)}
	html[data-bx-mode="dark"] .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-controls .rrpls-passport-view-button:not(.is-active),.bb-rl-dark-mode .rrpls-passport-paper:not(.rrpls-passport-has-dark-art) .rrpls-passport-controls .rrpls-passport-view-button:not(.is-active){border-color:rgba(23,61,99,.26);background:rgba(255,255,255,.48);color:#162f4a;box-shadow:inset 0 1px 2px rgba(23,61,99,.05)}
}

/* 0.3.49 — per-photo locations in multi-photo composer posts. */
.rrpls-photo-location-manager{padding:12px 10px 14px;border-top:1px solid var(--rrpls-border)}
.rrpls-photo-location-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rrpls-photo-location-head>div{min-width:0;display:grid;gap:2px}
.rrpls-photo-location-head strong{font-size:14px;line-height:1.3}
.rrpls-photo-location-count{color:var(--rrpls-muted);font-size:12px}
.rrpls-photo-location-help{margin:7px 0 10px;color:var(--rrpls-muted);font-size:11.5px;line-height:1.4}
.rrpls-apply-location-all{appearance:none;flex:0 0 auto;border:1px solid var(--rrpls-border);border-radius:9px;background:var(--rrpls-surface);color:var(--rrpls-text);padding:8px 10px;font:700 12px/1.2 inherit;cursor:pointer}
.rrpls-apply-location-all:hover{border-color:var(--rrpls-brand);background:var(--rrpls-soft)}
.rrpls-photo-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.rrpls-photo-location-item{appearance:none;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;min-width:0;border:1px solid var(--rrpls-border);border-radius:9px;background:var(--rrpls-surface);color:var(--rrpls-text);padding:8px 9px;text-align:left;cursor:pointer}
.rrpls-photo-location-item:hover,.rrpls-photo-location-item:focus-visible{border-color:var(--rrpls-brand);outline:0}
.rrpls-photo-location-item b{display:grid;place-items:center;width:25px;height:25px;border-radius:999px;background:var(--rrpls-soft);font-size:11px;line-height:1}
.rrpls-photo-location-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.rrpls-photo-location-item.is-tagged{border-color:color-mix(in srgb,var(--rrpls-brand) 45%,var(--rrpls-border));background:color-mix(in srgb,var(--rrpls-brand) 6%,var(--rrpls-surface))}
.rrpls-photo-location-item.is-tagged b{background:var(--rrpls-brand);color:var(--rrpls-brand-text)}
.rrpls-photo-location-item.has-suggestion b{color:var(--rrpls-brand);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rrpls-brand) 30%,transparent)}
@media(max-width:600px){
	.rrpls-photo-location-head{align-items:flex-start;flex-direction:column}.rrpls-apply-location-all{width:100%}.rrpls-photo-location-grid{grid-template-columns:1fr 1fr}.rrpls-photo-location-item{padding:8px 7px}.rrpls-photo-location-item span{font-size:11px}
}

/* 0.3.50 — Passport Status information affordance sits beside, never over, the artwork. */
.rrpls-passport-status>summary{position:relative;display:inline-flex;align-items:center;gap:6px}
.rrpls-status-info{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;min-width:20px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--bb-rl-text-secondary-color,#62676f);font-family:inherit;font-size:16px;font-weight:400;line-height:1}
.rrpls-status-popover{width:min(350px,86vw)}
.rrpls-status-ladder{display:grid;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid #e6dcc7}
.rrpls-status-level{display:grid;grid-template-columns:minmax(70px,auto) 1fr;align-items:center;gap:8px;padding:5px 7px;border-radius:7px}
.rrpls-status-level b{font:750 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173d63}
.rrpls-status-level span{font-size:11px}
.rrpls-status-level.is-current{background:#173d63;color:#fff}
.rrpls-status-level.is-current b,.rrpls-status-level.is-current span{color:#fff}
@media(max-width:760px){.rrpls-status-info{width:20px;height:20px;min-width:20px;font-size:16px}.rrpls-status-popover{width:min(330px,88vw)}}

/* 0.3.52 — keep multi-photo location controls above ReadyLaunch attachment overlays. */
.rrpls-photo-location-manager{position:relative;z-index:12;pointer-events:auto}
.rrpls-photo-location-item,.rrpls-apply-location-all{position:relative;z-index:13;pointer-events:auto}


/* 0.3.58 — narrow Passport identity: return tier/status to the TOP RIGHT.
 * Give the holder name its own full-width line. This prevents even fairly long
 * display names from being squeezed by the avatar and status artwork.
 * The working 0.3.57 location editor/footer is deliberately untouched. */
.rrpls-status-caption { display: none !important; }
@media (max-width: 760px) {
  .rrpls-passport-identity {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 78px;
    grid-template-rows: minmax(80px, auto) auto auto auto;
    column-gap: 9px;
    row-gap: 5px;
    align-items: start;
    padding: 13px;
  }
  .rrpls-passport-identity > img {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 62px;
    height: 74px;
    margin: 0;
  }
  .rrpls-passport-identity-copy { display: contents; }
  .rrpls-passport-identity-copy > span {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0;
    line-height: 1.4;
  }
  .rrpls-passport-identity-copy > strong {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(21px, 6vw, 27px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .rrpls-passport-identity-copy > small:not(.rrpls-passport-identity-stats) {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    margin: 2px 0 0;
  }
  .rrpls-passport-identity-copy > .rrpls-passport-identity-stats {
    grid-column: 1 / -1;
    grid-row: 4;
    min-width: 0;
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.45;
  }
  .rrpls-passport-status {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin: 0;
    text-align: center;
  }
  .rrpls-passport-status > summary {
    display: grid;
    grid-template-columns: 15px 60px;
    grid-template-rows: 60px auto;
    align-items: center;
    justify-content: center;
    gap: 2px 0;
  }
  .rrpls-passport-status .rrpls-status-info { grid-column: 1; grid-row: 1; width: 15px; min-width: 15px; font-size: 14px; }
  .rrpls-passport-status .rrpls-status-medallion {
    grid-column: 2;
    grid-row: 1;
    width: 60px;
    height: 60px;
  }
  .rrpls-passport-status .rrpls-status-art text[y="72"] { font-size: 17px; }
  .rrpls-passport-status.rrpls-status-platinum .rrpls-status-art text[y="72"] { font-size: 12px; }
  .rrpls-passport-status .rrpls-status-art text[y="84"] { font-size: 8.4px; letter-spacing: .6px; }
  .rrpls-passport-identity .rrpls-status-caption {
    display: block !important;
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    width: 60px;
    margin: 0;
    color: #173d63;
    text-align: center;
    text-transform: uppercase;
    font: 800 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .rrpls-passport-status.rrpls-status-platinum .rrpls-status-caption { font-size: 9px; }
  .rrpls-passport-status .rrpls-status-popover { top: 80px; right: 0; left: auto; }
}
@media (max-width: 380px) {
  .rrpls-passport-identity { grid-template-columns: 60px minmax(0, 1fr) 76px; column-gap: 7px; padding: 11px; }
  .rrpls-passport-identity-copy > strong { font-size: clamp(19px, 5.8vw, 23px); }
}
/* Fixed footer anchored to the editor and still visible as the keyboard opens.
 * Never hide Save in search mode: disable it until a place is picked. */
body.rrpls-modal-open #rrpls-location-modal.rrpls-modal:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
body.rrpls-modal-open .rrpls-toast:not([hidden]) { z-index: 2147483001 !important; }
@media (max-width: 782px) {
  body.rrpls-modal-open #rrpls-location-modal.rrpls-modal:not([hidden]) {
    top: var(--rrpls-vv-top, 0px) !important;
    bottom: auto !important;
    height: var(--rrpls-vv-height, 100dvh) !important;
  }
  body.rrpls-modal-open #rrpls-location-modal .rrpls-modal-dialog {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%; height: 100%; max-height: 100%; margin: 0;
    overflow: hidden; border-radius: 0;
  }
  body.rrpls-modal-open #rrpls-location-modal .rrpls-modal-body {
    min-height: 0; overflow-y: auto;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  body.rrpls-modal-open #rrpls-location-modal .rrpls-modal-footer {
    display: flex; flex-wrap: nowrap; flex: 0 0 auto;
    position: relative; z-index: 3;
    gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rrpls-border);
    background: var(--rrpls-surface);
  }
  body.rrpls-modal-open #rrpls-location-modal .rrpls-modal-footer button:not([hidden]) {
    flex: 1 1 0; min-width: 0; min-height: 44px;
  }
  body.rrpls-modal-open #rrpls-location-modal .rrpls-save-location:not([hidden]) {
    display: inline-flex !important; align-items: center; justify-content: center;
  }
}

/* 0.3.59 — Passport statistics; fifth view below the original 2x2 mobile filters. */
.rrpls-passport-stats-button{flex:0 0 auto;border:1px solid rgba(23,61,99,.26);background:rgba(255,255,255,.48)}
.rrpls-profile-passport[data-rrpls-passport-view-current="stats"] .rrpls-profile-map,
.rrpls-profile-passport[data-rrpls-passport-view-current="stats"] .rrpls-map-filter-status,
.rrpls-profile-passport[data-rrpls-passport-view-current="stats"] .rrpls-map-empty{display:none!important}
.rrpls-passport-stats-panel{color:#173d63}
.rrpls-stats-intro,.rrpls-stats-footnote{font-size:13px;line-height:1.55;color:#596e81;margin:0 0 16px}
.rrpls-stats-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 26px}
.rrpls-stats-tile{min-width:0;border:1px solid rgba(23,61,99,.17);background:rgba(255,255,255,.62);border-radius:14px;padding:15px 10px;display:flex;flex-direction:column;gap:3px;text-align:center}
.rrpls-stats-tile strong{font-size:clamp(23px,3vw,34px);line-height:1.1;font-weight:800;color:#173d63}
.rrpls-stats-tile span{font-size:12px;color:#596e81;font-weight:700}
.rrpls-passport-stats-panel h4{font-size:18px;margin:22px 0 12px;color:#173d63}
.rrpls-stats-extremes,.rrpls-stats-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.rrpls-stats-extreme,.rrpls-stats-history>div{display:flex;flex-direction:column;gap:5px;min-width:0;background:rgba(255,255,255,.56);border:1px solid rgba(23,61,99,.17);border-radius:13px;padding:16px}
.rrpls-stats-kicker{font-size:12px;font-weight:750;color:#637a8d}
.rrpls-stats-extreme strong,.rrpls-stats-history strong{overflow-wrap:anywhere;font-size:17px;line-height:1.3;color:#173d63}
.rrpls-stats-extreme small,.rrpls-stats-history small{font-size:13px;color:#596e81}
.rrpls-stats-continents{font-size:14px;line-height:1.6;font-weight:650}
.rrpls-stats-footnote{margin-top:22px}
@media(max-width:760px){
  .rrpls-passport-stats-button{grid-column:1/-1}
  .rrpls-stats-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rrpls-stats-extremes,.rrpls-stats-history{grid-template-columns:1fr}
  .rrpls-stats-extreme,.rrpls-stats-history>div{padding:13px}
}

/* 0.3.60 — earned-status explanation, elevation/Equator and opt-in share Stats. */
.rrpls-status-earned-note{font-size:12px;line-height:1.45;color:#506a80;margin:7px 4px 16px}
.rrpls-status-earned-note strong{color:#173d63}
.rrpls-stats-snapshot-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:20px 0 12px}
.rrpls-stats-snapshot-action .button{min-height:42px;white-space:normal;text-align:center}
.rrpls-stats-snapshot-action p{margin:0;color:#596e81;font-size:12px;line-height:1.45}
@media(max-width:760px){.rrpls-status-earned-note{font-size:11px;margin:5px 4px 13px}.rrpls-stats-snapshot-action .button{width:100%}}
