/* wromap.pl — 2026 design. Brand red comes from the app icon. */

:root {
	--red: #c8302f;
	--red-dark: #a52423;
	--red-soft: #fbeceb;
	--bg: #faf7f4;
	--surface: #ffffff;
	--surface-2: #f3eee9;
	--text: #22252a;
	--muted: #686c73;
	--line: #e8e1da;
	--ok: #2f7d4f;
	--warn: #b7791f;
	--shadow: 0 1px 2px rgba(34, 37, 42, .06), 0 4px 16px rgba(34, 37, 42, .06);
	--radius: 14px;
	--header-h: 60px;
	--nav-h: 62px;
	--font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--red: #e5534f;
		--red-dark: #f07471;
		--red-soft: #3a2222;
		--bg: #15161a;
		--surface: #1e2025;
		--surface-2: #272a30;
		--text: #eceef0;
		--muted: #a2a7ae;
		--line: #33363d;
		--ok: #5cbf86;
		--warn: #e0a647;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
		color-scheme: dark;
	}
}
:lang(ko) { --font: "Noto Sans KR", "Noto Sans", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font: 16px/1.6 var(--font);
	color: var(--text);
	background: var(--bg);
	padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); margin-top: 2rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { color: var(--text); }
.nav-main { display: none; gap: 4px; }
.nav-main a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav-main a:hover, .nav-main a[aria-current] { background: var(--red-soft); color: var(--red); }
@media (min-width: 900px) { .nav-main { display: flex; } }

.lang { position: relative; }
.lang summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
	padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
	position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 2px; z-index: 1100;
}
.lang li a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; }
.lang li a:hover { background: var(--surface-2); }
.lang li a[aria-current] { background: var(--red-soft); color: var(--red); font-weight: 600; }

/* ---------- bottom navigation (phones) */
.nav-bottom {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: var(--surface); border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-bottom a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	height: var(--nav-h); color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 500;
}
.nav-bottom a .ic { width: 24px; height: 24px; }
.nav-bottom a[aria-current] { color: var(--red); }
@media (min-width: 900px) { .nav-bottom { display: none; } }

/* ---------- page head */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--text); }
.page-head { padding: 12px 0 8px; }
.page-head h1 { margin-bottom: .3em; }
.lead { font-size: 1.08rem; color: var(--text); max-width: 75ch; }
.lead a { font-weight: 500; }
main { padding-bottom: 32px; }

/* ---------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none;
	background: var(--red); color: #fff; border: 1px solid var(--red); cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red-soft); color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }

/* ---------- hero (home) */
.hero { padding: 20px 0 8px; display: grid; gap: 20px; }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3rem); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-width: 0; }
.stat b { display: block; font-size: clamp(1.3rem, 1rem + 1.5vw, 1.9rem); color: var(--red); line-height: 1.15; overflow-wrap: anywhere; }
.stat-date b { font-size: clamp(.98rem, .7rem + 1.4vw, 1.9rem); }
.stat span { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; } }
.card a {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; color: var(--text); text-decoration: none; box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.card a:hover { transform: translateY(-2px); color: var(--text); }
.card-img { aspect-ratio: 1; background: var(--surface-2); }
.card-img picture, .gallery-track picture { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.card-title { font-weight: 600; line-height: 1.3; }
.card-meta { font-size: .82rem; color: var(--muted); }
.card-badges { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.card-badges:empty { display: none; }
.card-num {
	position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px;
	background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.card-alt { font-weight: 400; color: var(--muted); }

.badge {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px;
	background: var(--surface); color: var(--text); border: 1px solid var(--line); font-size: .8rem;
}
.badge .ic { width: 16px; height: 16px; }
.badge-warn { color: var(--warn); }
.badge-no { color: var(--red); }

/* ---------- prose (home history text) */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* ---------- FAQ */
.faq { max-width: 75ch; margin-top: 2rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: 1rem; margin: 0; }
.faq details p { padding: 0 16px 14px; margin: 0; }

/* ---------- app card */
.app-card {
	display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px; margin: 24px 0; box-shadow: var(--shadow);
}
.app-card img:first-child { border-radius: 14px; }
.app-card-text strong { display: block; font-size: 1.05rem; }
.app-card-text span { color: var(--muted); font-size: .92rem; }
.app-card .app-badges { grid-column: 1 / -1; }
@media (min-width: 700px) {
	.app-card { grid-template-columns: 64px 1fr auto; }
	.app-card .app-badges { grid-column: auto; }
}

/* ---------- section head */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 2rem; }
.sec-head h2 { margin: 0 0 .6em; }
.sec-head a { font-weight: 600; white-space: nowrap; text-decoration: none; }

/* ---------- map */
/* isolation keeps Leaflet's z-indexed panes and controls below the sticky header */
.map-box { position: relative; isolation: isolate; z-index: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); height: 420px; }
.map-box.is-full { border-radius: 0; border: 0; height: calc(100dvh - var(--header-h) - var(--nav-h) - env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .map-box.is-full { height: calc(100dvh - var(--header-h) - 64px); } }
.map-box > div { position: absolute; inset: 0; }
.map-page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; }
.map-page-head h1 { font-size: 1.15rem; margin: 0; }
.map-page-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.leaflet-popup-content { margin: 10px 12px; font: 14px/1.4 var(--font); }
.leaflet-popup-content a { font-weight: 600; }
.leaflet-popup-content .photo_map { width: 160px; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.leaflet-container { font-family: var(--font); }
.wpin { background: none; border: 0; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(200, 48, 47, .25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: rgba(200, 48, 47, .9) !important; color: #fff; font-weight: 700; }

/* ---------- dwarf page */
.kr-top { display: grid; gap: 20px; }
@media (min-width: 900px) { .kr-top { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); align-items: start; } }
.gallery { position: relative; }
.gallery-track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 4 / 3;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; position: relative; }
.gallery-track img { width: 100%; height: 100%; object-fit: contain; }
.gallery-track figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.gallery-btn {
	position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
	border: 0; background: rgba(255, 255, 255, .9); color: #222; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow);
}
.gallery-btn.prev { left: 10px; }
.gallery-btn.next { right: 10px; }
@media (hover: hover) { .gallery:hover .gallery-btn { display: flex; } }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.gallery-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.gallery-dots button[aria-current] { background: var(--red); width: 22px; border-radius: 4px; }

.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.facts dl { margin: 0; display: grid; gap: 12px; }
.facts dl div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.facts dt .ic { color: var(--red); margin-top: 3px; }
.facts dd { margin: 0; }
.facts dd small { display: block; color: var(--muted); }
.facts .btn-row { margin-bottom: 0; }
.note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: .92rem; margin-top: 12px; }
.note-no { background: var(--red-soft); color: var(--red); font-weight: 600; }

.video {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 820px;
}
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video button .play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
	background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
}
.video button .play .ic { width: 32px; height: 32px; fill: currentColor; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- list page */
.search {
	display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap;
}
.search input[type=search], .search select {
	font: inherit; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.search input[type=search] { flex: 1 1 220px; }
.kr-list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 32px; }
@media (min-width: 700px) { .kr-list { columns: 2; } }
@media (min-width: 1000px) { .kr-list { columns: 3; } }
.kr-list li { break-inside: avoid; padding: 4px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kr-list li.kr_child { padding-left: 1.4em; }
.kr-list .num { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 3.2em; font-size: .9rem; }
.kr-list a { text-decoration: none; }
.kr-list a:hover { text-decoration: underline; }
.kr-list .badge { min-width: 24px; height: 24px; padding: 0 5px; }
.kr-list .badge .ic { width: 14px; height: 14px; }
.region-h { margin-top: 1.6rem; }

/* ---------- pager */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 12px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.pager span[aria-current] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.pager .gap { border: 0; background: none; min-width: 20px; }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 24px; font-size: .9rem; color: var(--muted); }
.site-footer .cols { display: grid; gap: 20px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h2 { font-size: .95rem; margin: 0 0 8px; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.copy { margin-top: 20px; }

/* ---------- list finder */
.finder-bar { background: var(--bg); padding: 10px 16px 8px; margin: 0 -16px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
	.finder-bar { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 900; }
}
.finder-bar .search { margin: 0 0 8px; }
.finder-bar .search input[type=search] { flex: 1 1 100%; }
.finder-bar select { flex: 1 1 0; min-width: 0; }
@media (min-width: 700px) {
	.finder-bar .search input[type=search] { flex: 1 1 260px; }
	.finder-bar select { flex: 0 1 auto; }
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .chip .ic { pointer-events: none; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 500; white-space: nowrap; user-select: none;
}
.chip .ic { width: 16px; height: 16px; color: var(--muted); }
.chip:has(input:checked) { background: var(--red); border-color: var(--red); color: #fff; }
.chip:has(input:checked) .ic { color: #fff; }
.chip:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.finder-count { color: var(--muted); font-size: .9rem; margin: 12px 0; }
.finder-list .card { content-visibility: auto; contain-intrinsic-size: auto 260px; }
.cards-h { grid-column: 1 / -1; }
.cards-h h2 { margin: 1.2rem 0 0; }
.finder-empty { text-align: center; padding: 32px 0; color: var(--muted); }
/* ---------- PDF map page */
.pdf-hero { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .pdf-hero { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); } }
.pdf-preview { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pdf-preview img { width: 100%; }
.btn-big { padding: 14px 22px; font-size: 1.08rem; flex-wrap: wrap; }
.btn-big small { font-weight: 400; opacity: .85; font-size: .82rem; }
.pdf-info h2 { margin-top: 1.4rem; }
.pdf-list { padding-left: 1.3em; }
.pdf-list li { margin: .4em 0; }
.pdf-langs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; }
/* ---------- app promotion */
.app-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.app-badges img { height: 40px; width: auto; }
.app-qr { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.app-qr img { width: 84px; height: 84px; background: #fff; border-radius: 8px; padding: 2px; border: 1px solid var(--line); }
.app-qr small { color: var(--muted); max-width: 9em; line-height: 1.3; }

.app-promo {
	display: grid; gap: 20px; align-items: center; margin: 28px 0;
	background: linear-gradient(135deg, var(--red-soft), var(--surface) 60%);
	border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 20px; box-shadow: var(--shadow);
}
@media (min-width: 760px) { .app-promo { grid-template-columns: 260px 1fr; padding: 24px 32px; gap: 32px; } }
.app-mock { max-width: 240px; width: 70%; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18)); }
@media (min-width: 760px) { .app-mock { width: 100%; max-width: 260px; } }
.app-mock-img { width: 100%; height: auto; }
.app-promo-text h2 { margin: 0 0 .4em; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }
.app-promo-text > p { margin: 0 0 .8em; color: var(--muted); }
.app-points { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.app-points li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.app-points .ic { color: var(--red); }
.app-proof { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; font-size: .9rem; }
.app-proof span { color: var(--muted); }
.app-proof .app-free { color: var(--ok); font-weight: 600; }
.app-promo-text .app-cta-label { font-weight: 700; color: var(--red); margin: 0 0 8px; }

.app-strip {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0;
	background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 12px 16px;
}
.app-strip > img { border-radius: 12px; flex: none; }
.app-strip > div { flex: 1 1 220px; display: flex; flex-direction: column; }
.app-strip span { color: var(--muted); font-size: .88rem; }
.app-strip .app-badges { flex: none; }
.app-strip .app-badges img { height: 36px; }

.app-fab {
	position: fixed; z-index: 1001; right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px;
	background: var(--red); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.app-fab img { border-radius: 8px; }
.app-fab:hover { color: #fff; background: var(--red-dark); }
@media (min-width: 900px) { .app-fab { bottom: 28px; right: 28px; } }

/* Dwarf page: the mockup screen shows the open dwarf. Boxes are measured on the mockup images
   (iOS 897×1800, Android 581×1263) and given in % so they scale with the image. */
.mock-screen { position: relative; container-type: inline-size; line-height: 1.2; }
.mock-screen > span { position: absolute; display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mock-photo { background: #ddd; }
.mock-photo picture, .mock-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-close { justify-content: center; aspect-ratio: 1; border-radius: 50%; font-size: 7cqw; }
.mock-name { font-weight: 700; color: #111; text-overflow: ellipsis; }
.mock-addr { text-overflow: ellipsis; }
.mock-dist { gap: .3em; }
.mock-dist .ic { width: 1em; height: 1em; }

.mock-ios .mock-photo { left: 6.13%; top: 8%; width: 87.63%; height: 32.89%; }
.mock-ios .mock-close { left: 82.4%; top: 9.4%; width: 9.4%; background: rgba(40, 40, 40, .75); color: #fff; }
.mock-ios .mock-name { left: 7.9%; top: 42.1%; width: 84.6%; height: 2.9%; font-size: 4.46cqw; background: #fff; }
.mock-ios .mock-addr { left: 7.9%; top: 46.2%; width: 84.6%; height: 2.4%; font-size: 3.34cqw; color: #6e6e73; background: #fff; }
.mock-ios .mock-dist { left: 7.9%; top: 50.8%; width: 18.5%; height: 2.5%; font-size: 3.34cqw; color: #3a3a3c; background: #fff; }

.mock-android .mock-photo { left: 3.61%; top: 1.9%; width: 92.6%; height: 35.55%; border-radius: 5.6% 5.6% 0 0 / 6.7% 6.7% 0 0; }
.mock-android .mock-close { left: 83.3%; top: 8.2%; width: 11%; background: rgba(240, 240, 240, .92); color: #222; }
.mock-android .mock-name { left: 5.16%; top: 38.4%; width: 89.5%; height: 2.9%; font-size: 5.85cqw; background: #fdf8f6; }
.mock-android .mock-addr { left: 5.16%; top: 43.2%; width: 89.5%; height: 2.6%; font-size: 4.47cqw; color: #444; background: #fdf8f6; }
.mock-android .mock-dist { left: 5.5%; top: 48.3%; width: 22%; height: 3.6%; font-size: 4.8cqw; font-weight: 700; color: #3b5fb0; background: #fdf8f6; }