/*
 * Halal en voyage : le hub (tableau des départs, recherche de ville) et les guides de ville (l'essentiel, quartiers,
 * sélections, carte et annuaire, fiche lieu, tenue de voyage, questions, autres guides).
 * Replaces the extension's stylesheet entirely. The page is a travel notebook in the écrin vocabulary: paper cards,
 * a boarding-pass header, Bodoni headings with gold numerals, kind icons on perforated stamps, the split-flap board
 * as the one black object. Every colour comes from the theme tokens, so light and dark follow the theme.
 */

.afh, .afh-dialog {
	--h-board: #17110F;
	--h-board-2: #221A16;
	--h-board-ink: #F3EADF;
	--h-board-line: rgba(243, 234, 223, .12);
	--h-stamp: #EFE3D2;
	--h-perf: var(--surface);
	--h-r: var(--card-radius, 3px);
	--h-ease: var(--ease, cubic-bezier(.22, .8, .2, 1));
	color: var(--ink);
	font-family: var(--f-ui);
}
html[data-theme="dark"] :is(.afh, .afh-dialog) { --h-stamp: #EADFD1; --h-board: #0E0A09; --h-board-2: #19130F; }

/* ---------- base ---------- */
.afh-shell { padding-bottom: clamp(48px, 7vw, 96px); }
.afh-shell > p:empty { display: none; }
.afh *, .afh *::before, .afh *::after, .afh-dialog * { box-sizing: border-box; }
.afh :where(h1, h2, h3, p, ul, ol, dl, dd, figure, table, fieldset) { margin: 0; padding: 0; border: 0; }
.afh :where(ul, ol) { list-style: none; }
.afh :where(a) { color: inherit; }
.afh :where(h1, h2, h3) { color: var(--ink); }
.afh :where(button, input, select, textarea), .afh-dialog :where(button, input, select, textarea) { font: inherit; color: inherit; }
.afh button:disabled { cursor: progress; opacity: .6; }
.afh :focus-visible, .afh-dialog :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.afh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.afh [hidden], .afh-dialog [hidden] { display: none !important; }
.afh [id] { scroll-margin-top: calc(var(--hdr-h) + 76px); }
html.afh-sheet-open, html.afh-sheet-open body { overflow: hidden; }

/* buttons: the theme's square ink button, the ghost and the text link */
.afh .afh-btn, .afh-dialog .afh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 48px; padding: 0 2em;
	border: 0; border-radius: var(--btn-radius, 0); background: var(--ink); color: var(--bg); box-shadow: var(--paper-shadow);
	font: 600 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: transform var(--t-fast) var(--h-ease), background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.afh .afh-btn:hover, .afh-dialog .afh-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ink) 86%, var(--gold)); }
.afh .afh-btn > span[aria-hidden] { transition: transform var(--t-fast) var(--h-ease); }
.afh .afh-btn:hover > span[aria-hidden] { transform: translate(3px, 0); }
.afh .afh-btn--light { background: var(--ink); color: var(--bg); }
.afh .afh-btn--tone, .afh-dialog .afh-btn--tone, .afh .afh-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.afh .afh-btn--tone:hover, .afh-dialog .afh-btn--tone:hover, .afh .afh-btn--ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.afh .afh-btn--sm { min-height: 38px; padding: 0 1.2em; font-size: 11px; letter-spacing: .12em; }
.afh .afh-textbtn {
	display: inline-flex; align-items: center; gap: .4em; padding: 4px 0; color: var(--ink); text-align: left; font: 600 12px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase;
	text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer;
	transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.afh .afh-textbtn:hover { text-decoration-color: var(--ink); }
.afh .afh-textbtn.is-on { color: color-mix(in srgb, var(--gold) 62%, var(--ink)); }

/* the kind icons sit on perforated stamps: the dotted border takes the colour of the paper around them */
.afh :is(.afh-card__ico, .afh-pc__ico, .afh-fiche__ico) {
	display: grid; place-items: center; flex: none; aspect-ratio: 1; background: var(--h-stamp); border: 3px dotted var(--h-perf); border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transition: transform .35s var(--h-ease);
}
.afh :is(.afh-card__ico, .afh-pc__ico, .afh-fiche__ico) img { display: block; width: 74%; height: 74%; object-fit: contain; }

/* the split-flap board: the one black object of the page, in both themes */
.afh-flap { --gap: 5px; --w: min(64px, calc((100cqi - (var(--n, 6) - 1) * var(--gap)) / var(--n, 6))); display: flex; gap: var(--gap); }
.afh-flap__cell {
	position: relative; flex: none; width: var(--w); height: calc(var(--w) * 1.34); border-radius: 3px; background: var(--h-board); color: var(--h-board-ink);
	font: 700 calc(var(--w) * .78) / 1 var(--f-ui); perspective: calc(var(--w) * 5); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 18px -10px rgba(0, 0, 0, .55);
}
.afh-flap__half, .afh-flap__leaf { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--h-board); }
.afh-flap__half--top, .afh-flap__leaf--top { top: 0; border-radius: 3px 3px 0 0; }
.afh-flap__half--bot, .afh-flap__leaf--bot { bottom: 0; border-radius: 0 0 3px 3px; background: var(--h-board-2); }
.afh-flap__half > span, .afh-flap__leaf > span { position: absolute; left: 0; right: 0; height: 200%; display: flex; align-items: center; justify-content: center; }
.afh-flap__half--top > span, .afh-flap__leaf--top > span { top: 0; }
.afh-flap__half--bot > span, .afh-flap__leaf--bot > span { bottom: 0; }
.afh-flap__leaf { visibility: hidden; backface-visibility: hidden; z-index: 2; }
.afh-flap__leaf--top { transform-origin: 50% 100%; }
.afh-flap__leaf--bot { transform-origin: 50% 0; transform: rotateX(90deg); }
.afh-flap__cell.is-flip .afh-flap__leaf { visibility: visible; }
.afh-flap__cell.is-flip .afh-flap__leaf--top { animation: afh-leaf-top .06s ease-in forwards; }
.afh-flap__cell.is-flip .afh-flap__leaf--bot { animation: afh-leaf-bot .05s .06s ease-out forwards; }
.afh-flap__cell::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: rgba(0, 0, 0, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
@keyframes afh-leaf-top { to { transform: rotateX(-90deg); } }
@keyframes afh-leaf-bot { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }

/* kicker, local time, breadcrumbs */
.afh-kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 12px/1.2 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; }
.afh-clock { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-2); font-size: 11px; letter-spacing: .16em; }
.afh-clock b { padding: 4px 8px; border-radius: 2px; background: var(--h-board); color: var(--h-board-ink); font: 700 13px/1 var(--f-ui); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.afh-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--ink-3); font: 500 var(--step--1)/1.4 var(--f-ui); }
.afh .afh-crumbs a { color: var(--ink-2); text-decoration: none; }
.afh .afh-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.afh-crumbs [aria-current] { color: var(--ink); }

/* figures strip, like the stubs of a ticket */
.afh-facts { display: flex; flex-wrap: wrap; row-gap: 14px; }
.afh-facts li { display: grid; gap: 4px; padding: 0 clamp(14px, 2vw, 28px); border-left: 1px dashed var(--line-2); color: var(--ink-2); font: 500 var(--step--1)/1.3 var(--f-ui); }
.afh-facts li:first-child { padding-left: 0; border-left: 0; }
.afh :is(.afh-facts b, .afh-x__stats dd, .afh-fiche__stats dd, .afh-checkin__n, .afh-reviews__avg b) { color: var(--ink); font-family: var(--f-ui); font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.afh-facts b { font-size: var(--step-3); line-height: 1; }
.afh-facts .is-live b { display: inline-flex; align-items: center; gap: 10px; }
.afh-facts .is-live b::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 50%, transparent); animation: afh-live 2.4s ease-out infinite; }
@keyframes afh-live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- section heads: gold numeral, Bodoni title, lead ---------- */
.afh { counter-reset: afh-sec; }
.afh-gsec { margin-top: clamp(64px, 9vw, 120px); }
.afh-gsec > h2, .afh-outfit__head h2, .afh-gsec--map > h2 { max-width: 22ch; font: 400 var(--step-4)/1.05 var(--f-display); letter-spacing: var(--display-track, -.02em); text-wrap: balance; }
.afh-gsec > h2::before, .afh-outfit__head h2::before {
	counter-increment: afh-sec; content: counter(afh-sec, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--gold); font: italic 400 var(--step-1)/1 var(--f-display); letter-spacing: 0;
}
.afh-gsec__lead { max-width: 62ch; margin-top: 14px; color: var(--ink-2); font-size: var(--step-0); line-height: 1.65; text-wrap: pretty; }
.afh-gsec > h2 + :is(.afh-areas, .afh-group, .afh-late, .afh-faq, .afh-guides), .afh-gsec__lead + :is(.afh-areas, .afh-group) { margin-top: clamp(24px, 3vw, 36px); }
.afh-gsec__rule { margin-top: 22px; color: var(--ink-3); font-size: var(--step--1); line-height: 1.5; }
.afh-gsec__rule::before { content: "✦"; margin-right: 8px; color: var(--gold); }

/* ---------- guide header: a boarding pass ---------- */
.afh-ghead { margin-top: clamp(14px, 2.4vw, 32px); }
.afh-ghead__in {
	--split: 100%; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background-color: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow);
}
.afh-ghead__copy { min-width: 0; padding: clamp(24px, 4.4vw, 60px); container-type: inline-size; }
.afh-ghead .afh-kicker { margin-top: clamp(20px, 3vw, 34px); }
.afh .afh-ghead__title { max-width: 22ch; margin-top: 16px; font: 400 var(--h1)/1.06 var(--f-display); letter-spacing: var(--display-track, -.025em); text-wrap: balance; }
.afh-ghead .afh-flap { --w: min(52px, calc((100cqi - (var(--n, 6) - 1) * var(--gap)) / var(--n, 6))); margin-top: clamp(22px, 3vw, 32px); }
.afh-ghead .afh-facts { margin-top: clamp(24px, 3vw, 34px); padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid var(--line); }
.afh-ghead [data-jump] { margin-top: clamp(26px, 3vw, 36px); }
.afh-ghead__photo { position: relative; margin: 0 clamp(24px, 4.4vw, 60px) clamp(28px, 4vw, 48px); padding: 10px 10px 0; background: #FBF7F1; border-radius: 2px; rotate: 1.2deg; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 24px 40px -22px rgba(0, 0, 0, .55); }
.afh-ghead__photo::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 50%; width: 112px; height: 26px; translate: -50% 0; rotate: -3deg; background: color-mix(in srgb, var(--gold) 38%, rgba(255, 250, 240, .55)); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.afh-ghead__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.afh-ghead__photo figcaption { padding: 10px 2px 12px; color: #6F645C; font: italic 400 13px/1.35 var(--f-display); letter-spacing: 0; }
@media (min-width: 1000px) {
	.afh-ghead.has-photo .afh-ghead__in {
		--split: calc(100% - clamp(380px, 33vw, 480px)); grid-template-columns: minmax(0, 1fr) clamp(380px, 33vw, 480px); align-items: center;
		/* the tear line of the pass: dashes and two notches on the paper's edges */
		background-image: radial-gradient(circle at var(--split) 0, var(--bg) 15px, transparent 15.5px), radial-gradient(circle at var(--split) 100%, var(--bg) 15px, transparent 15.5px), linear-gradient(var(--line-2) 55%, transparent 0);
		background-size: 100% 100%, 100% 100%, 1px 12px; background-repeat: no-repeat, no-repeat, repeat-y; background-position: 0 0, 0 0, var(--split) 0;
	}
	.afh-ghead__photo { margin: 40px clamp(28px, 3.4vw, 52px); }
	.afh-ghead__photo img { aspect-ratio: 4 / 5; }
}

/* ---------- l'essentiel: a pinned note with the mascot in her niche ---------- */
.afh-brief {
	position: relative; display: grid; gap: 22px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(24px, 3.6vw, 44px); background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow);
}
.afh-brief__head { position: relative; min-height: 0; }
.afh-brief__head h2 { font: 400 var(--step-3)/1.05 var(--f-display); letter-spacing: var(--display-track, -.02em); }
.afh-brief__date { margin-top: 10px; color: var(--ink-3); font: 600 11px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-brief__list { display: grid; }
.afh-brief__list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--step-0); line-height: 1.6; text-wrap: pretty; }
.afh-brief__list li:first-child { border-top: 0; padding-top: 0; }
.afh-brief__list li::before { content: "✦"; position: absolute; left: 2px; top: 1.05em; color: var(--gold); font-size: 12px; }
.afh-brief__list li:first-child::before { top: .2em; }
.afh-brief__list li:first-child { color: var(--ink); font-size: var(--step-1); line-height: 1.5; }
.afh-brief::before { content: ""; position: absolute; top: -9px; left: clamp(28px, 6vw, 72px); width: 84px; height: 20px; rotate: -2deg; background: color-mix(in srgb, var(--gold) 34%, transparent); }
@media (min-width: 900px) {
	.afh-brief { grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
	.afh-brief__head { padding-bottom: 150px; }
	/* the niche: an arch in the paper, the mascot standing in it */
	.afh-brief__head::before { content: ""; position: absolute; left: 0; bottom: 0; width: 132px; height: 128px; border-radius: 66px 66px 4px 4px; background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 60%, var(--bg))); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .08); }
	.afh-brief__head::after { content: ""; position: absolute; left: 14px; bottom: 6px; width: 104px; height: 104px; background: url("../img/mascots/bud-wink.webp") center bottom / contain no-repeat; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .22)); }
}

/* ---------- contents: a sticky strip of numbered stops ---------- */
.afh-toc {
	position: sticky; z-index: 20; top: var(--hdr-h); display: flex; gap: 4px; margin: clamp(20px, 3vw, 32px) calc(var(--gutter) * -1) 0; padding: 10px var(--gutter);
	overflow-x: auto; scrollbar-width: none; counter-reset: afh-toc; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
	border-bottom: 1px solid var(--line); transition: top .45s var(--h-ease);
}
.afh-toc::-webkit-scrollbar { display: none; }
body.hdr-hidden .afh-toc { top: 0; }
.afh-toc a { flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 2px; color: var(--ink-2); font: 500 14px/1 var(--f-ui); text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.afh-toc a::before { counter-increment: afh-toc; content: counter(afh-toc, decimal-leading-zero); color: var(--gold); font: italic 400 15px/1 var(--f-display); }
.afh-toc a:hover { color: var(--ink); background: var(--surface-2); }
.afh-toc a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: var(--paper-shadow); }

/* ---------- neighbourhoods ---------- */
.afh-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.afh-area {
	position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow);
	transition: transform .35s var(--h-ease), box-shadow .35s;
}
.afh-area:hover { transform: translateY(-3px); }
.afh-area__rank { position: absolute; top: 18px; right: 22px; color: var(--gold); font: italic 400 var(--step-3)/1 var(--f-display); letter-spacing: 0; opacity: .9; }
.afh-area h3 { padding-right: 56px; font: 400 var(--step-2)/1.1 var(--f-display); }
.afh-area__n { margin-top: 12px; color: var(--ink); font: 600 var(--step-0)/1.3 var(--f-ui); }
.afh-area__split { margin-top: 4px; color: var(--ink-3); font-size: var(--step--1); }
.afh-area__picks { display: grid; gap: 2px; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.afh-area__picks li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 15px; line-height: 1.35; }
.afh-area__picks li::after { content: ""; order: 1; flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted var(--line-2); translate: 0 -4px; }
.afh-area__picks a { min-width: 0; overflow: hidden; color: var(--ink); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; transition: color var(--t-fast); }
.afh-area__picks a:hover { color: var(--gold); }
.afh-area__picks span { order: 2; flex: 0 1 auto; min-width: 0; max-width: 46%; overflow: hidden; color: var(--ink-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.afh-area .afh-textbtn { margin-top: auto; align-self: flex-start; }

/* ---------- selections (eat, buy) and late / Sunday ---------- */
.afh-group + .afh-group { margin-top: clamp(32px, 4vw, 48px); }
.afh-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
.afh-group__head h3 { display: flex; align-items: baseline; gap: 10px; font: 400 var(--step-2)/1.1 var(--f-display); }
.afh-group__head h3 span { color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 13px/1 var(--f-ui); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.afh-pcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.afh-pc__a {
	display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 16px; height: 100%; padding: 16px 18px 16px 16px; border-radius: var(--h-r);
	background: var(--surface); box-shadow: var(--paper-shadow); color: var(--ink); text-decoration: none; transition: transform .35s var(--h-ease), box-shadow .35s;
}
.afh-pc__a:hover { transform: translateY(-2px); box-shadow: var(--paper-shadow), inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.afh-pc__a:hover .afh-pc__ico { transform: rotate(-4deg); }
.afh-pc__ico { width: 58px; }
.afh-pc__body { display: grid; gap: 4px; min-width: 0; }
.afh-pc__kind { overflow: hidden; color: color-mix(in srgb, var(--gold) 55%, var(--ink-2)); font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .14em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.afh-pc__name { font: 400 var(--step-1)/1.2 var(--f-display); letter-spacing: -.01em; }
.afh-pc__where { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.afh-pc__meta { margin-top: 4px; color: var(--ink); font: 600 12px/1.3 var(--f-ui); font-variant-numeric: tabular-nums; }

.afh-late { display: grid; gap: 16px; }
.afh-late .afh-group { margin: 0; padding: clamp(20px, 2.6vw, 30px); background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-late .afh-group__head h3::before { content: "☾"; color: var(--gold); font-size: .8em; }
.afh-late .afh-group:nth-child(2) .afh-group__head h3::before { content: "✺"; }
.afh-pcs--one { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.afh-pcs--one .afh-pc + .afh-pc { border-top: 1px solid var(--line); }
.afh-pcs--one .afh-pc__a { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 12px 4px; background: transparent; box-shadow: none; border-radius: 0; }
.afh-pcs--one .afh-pc__a:hover { transform: none; box-shadow: none; }
.afh-pcs--one .afh-pc__a:hover .afh-pc__name { color: var(--gold); }
.afh-pcs--one .afh-pc__ico { width: 46px; }
.afh-pcs--one .afh-pc__name { font-size: var(--step-0); transition: color var(--t-fast); }
@media (min-width: 900px) {
	.afh-late { grid-template-columns: 1fr 1fr; }
	.afh-pcs--one .afh-pc__body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
	.afh-pcs--one .afh-pc__body > * { grid-column: 1; }
	.afh-pcs--one .afh-pc__meta { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; text-align: right; }
}

/* ---------- explorer: tools, list, map ---------- */
.afh-gsec--map { scroll-margin-top: calc(var(--hdr-h) + 76px); }
.afh-x { margin-top: clamp(24px, 3vw, 36px); }
.afh-x--hub { margin-top: clamp(48px, 7vw, 96px); }
.afh-x__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.afh-x__id { flex: 1 1 260px; min-width: 0; }
.afh-x__kicker { color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 12px/1.2 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; }
.afh .afh-x__title { margin-top: 8px; font: 400 var(--step-5)/1 var(--f-display); letter-spacing: var(--display-track, -.025em); }
.afh-x__stats { display: flex; }
.afh-x__stats > div { padding: 0 24px; border-left: 1px dashed var(--line-2); }
.afh-x__stats > div:first-child { padding-left: 0; border-left: 0; }
.afh-x__stats dt { color: var(--ink-3); font: 600 11px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-x__stats dd { margin: 6px 0 0; font-size: var(--step-3); line-height: 1; }
.afh .afh-x__guide { display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: 0 2em; background: var(--ink); color: var(--bg); box-shadow: var(--paper-shadow); font: 600 12px/1 var(--f-ui); letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }

.afh-x__tools { display: grid; gap: 12px; padding: clamp(16px, 2vw, 22px); background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-x--hub .afh-x__tools { margin-top: 20px; }
.afh-seg { display: inline-flex; flex-wrap: wrap; justify-self: start; gap: 2px; padding: 3px; border-radius: 3px; background: var(--bg-2); }
.afh .afh-seg button { display: inline-flex; align-items: baseline; gap: 8px; min-height: 40px; padding: 11px 18px; border-radius: 2px; color: var(--ink-2); font: 500 14px/1 var(--f-ui); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.afh .afh-seg button span { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.afh .afh-seg button:hover { color: var(--ink); }
.afh .afh-seg button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 6px 14px -8px rgba(0, 0, 0, .3); }
.afh .afh-seg button.is-on span { color: color-mix(in srgb, var(--gold) 62%, var(--ink)); }
.afh-kinds, .afh-picks { display: flex; gap: 8px; margin-inline: -4px; padding: 2px 4px 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.afh .afh-kind, .afh .afh-pick {
	flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 6px; border-radius: 2px; background: transparent; color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line-2); font: 500 14px/1 var(--f-ui); white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.afh .afh-kind img { width: 32px; height: 32px; padding: 3px; border-radius: 2px; background: var(--h-stamp); transition: transform .35s var(--h-ease); }
.afh .afh-pick { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
.afh .afh-pick img { width: 22px; height: 22px; }
.afh .afh-kind:hover img { transform: rotate(-8deg) scale(1.08); }
.afh .afh-kind:hover, .afh .afh-pick:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.afh .afh-kind.is-on, .afh .afh-pick.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.afh-kind__n, .afh-pick__n { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.afh :is(.afh-kind, .afh-pick).is-on :is(.afh-kind__n, .afh-pick__n) { color: color-mix(in srgb, var(--bg) 70%, var(--gold)); }
.afh-pick__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.afh-pick__dot.is-live { background: var(--gold); }
.afh-x__row { display: flex; flex-wrap: wrap; gap: 8px; }
.afh-filter { position: relative; flex: 1 1 260px; min-width: 0; }
.afh-filter::before { content: ""; position: absolute; left: 15px; top: 50%; width: 14px; height: 14px; translate: 0 -60%; border: 1.6px solid var(--ink-3); border-radius: 50%; pointer-events: none; }
.afh-filter::after { content: ""; position: absolute; left: 27px; top: 50%; width: 6px; height: 1.6px; translate: 0 5px; rotate: 45deg; background: var(--ink-3); pointer-events: none; }
.afh :is(.afh-filter input, .afh-select select), .afh .afh-toggle {
	display: block; width: 100%; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: 2px; background-color: var(--bg); color: var(--ink); font: 500 14.5px/1 var(--f-ui);
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.afh .afh-filter input { padding: 0 14px 0 42px; outline: none; }
.afh .afh-filter input::placeholder { color: var(--ink-3); opacity: 1; }
.afh :is(.afh-filter input, .afh-select select):focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); outline: none; }
.afh-select { flex: 0 1 auto; min-width: 0; }
.afh .afh-select select {
	min-width: 170px; max-width: 260px; padding: 0 38px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
	background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.afh .afh-toggle { width: auto; padding: 0 18px; cursor: pointer; }
.afh .afh-toggle::before { content: "◎"; margin-right: 8px; color: var(--gold); }
.afh .afh-toggle:hover { border-color: var(--ink); }
.afh .afh-toggle.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.afh-x__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.afh-x__mapcol { position: relative; order: -1; height: min(60vh, 520px); min-height: 340px; padding: 8px; background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-x__map { position: absolute; inset: 8px; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.afh-x.is-nomap .afh-x__mapcol { display: none; }
.afh-x.is-soon .afh-x__tools, .afh-x.is-soon .afh-x__stats { display: none; }
.afh-x__side { min-width: 0; background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-x__result { padding: 0 18px; color: var(--ink-3); font: 600 11px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-x__result:not(:empty) { padding: 16px 18px 6px; }
.afh-x.is-loading .afh-x__side { opacity: .4; transition: opacity .2s; }
@media (min-width: 1024px) {
	.afh-x--hub .afh-x__body, .afh-x--page .afh-x__body { grid-template-columns: minmax(380px, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
	.afh-x--hub .afh-x__mapcol, .afh-x--page .afh-x__mapcol { position: sticky; top: calc(var(--hdr-h) + 72px); order: 2; height: calc(100vh - var(--hdr-h) - 96px); min-height: 520px; max-height: 820px; }
	.afh-x--hub .afh-x__side, .afh-x--page .afh-x__side { height: calc(100vh - var(--hdr-h) - 96px); min-height: 520px; max-height: 820px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}

/* the map: paper in the light theme, night paper in the dark one (the tiles are drawn light; the canvas is turned) */
.afh .maplibregl-canvas { filter: saturate(.78) contrast(.98); }
html[data-theme="dark"] .afh .maplibregl-canvas { filter: invert(.92) hue-rotate(180deg) sepia(.18) saturate(.75) brightness(.92) contrast(.95); }
.afh .maplibregl-ctrl-group { border-radius: 2px; background: var(--surface); box-shadow: var(--paper-shadow); overflow: hidden; }
.afh .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.afh .maplibregl-ctrl-group button:hover { background-color: var(--surface-2); }
.afh .maplibregl-ctrl-group button + button { border-top: 1px solid var(--line); }
html[data-theme="dark"] .afh .maplibregl-ctrl-icon { filter: invert(1) brightness(.92); }
.afh .maplibregl-ctrl-attrib.maplibregl-compact { border-radius: 2px; background: var(--surface); color: var(--ink-2); }
.afh .maplibregl-ctrl-attrib a { color: var(--ink-2); }
html[data-theme="dark"] .afh .maplibregl-ctrl-attrib-button { filter: invert(1); }
.afh .maplibregl-cooperative-gesture-screen { background: color-mix(in srgb, var(--h-board) 78%, transparent); color: var(--h-board-ink); font: 500 15px/1.4 var(--f-ui); }

/* list cards */
.afh-x__list { display: grid; padding: 4px 8px; }
.afh-card { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 16px; padding: 18px 12px; border-radius: 2px; cursor: pointer; transition: background-color .25s; }
.afh-card + .afh-card { box-shadow: 0 -1px 0 var(--line); }
.afh-card:hover { background: var(--surface-2); }
.afh-card:hover .afh-card__ico { transform: rotate(-4deg); }
.afh-card.is-sel { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--gold); }
.afh-card.is-in { animation: afh-card-in .5s var(--h-ease) both; animation-delay: var(--d, 0ms); }
@keyframes afh-card-in { from { opacity: 0; transform: translateY(14px); } }
.afh-card__ico { --h-perf: var(--surface); width: 52px; }
.afh-card:hover .afh-card__ico, .afh-card.is-sel .afh-card__ico { --h-perf: var(--surface-2); }
.afh-card__body { display: grid; gap: 4px; min-width: 0; }
.afh-card__kind { overflow: hidden; color: color-mix(in srgb, var(--gold) 55%, var(--ink-2)); font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .14em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.afh-card__kind span { color: var(--ink-3); }
.afh-card__name { font: 400 var(--step-1)/1.2 var(--f-display); letter-spacing: -.01em; }
.afh .afh-card__toggle { display: inline; padding: 0; text-align: left; color: var(--ink); cursor: pointer; transition: color var(--t-fast); }
.afh .afh-card__toggle::after { content: ""; position: absolute; inset: 0; }
.afh .afh-card__toggle:hover { color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.afh-card__addr { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.afh-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.afh-card__social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; color: var(--ink-2); font-size: 12.5px; }
.afh-card__more { display: none; } /* the server copy (for crawlers and the first paint) is replaced by the script's card */
.afh-card__no { color: var(--ink-3); font: italic 400 13px/1.5 var(--f-display); font-variant-numeric: tabular-nums; }
.afh .afh-more { display: flex; align-items: center; justify-content: center; width: calc(100% - 16px); min-height: 48px; margin: 8px 8px 12px; border: 1px dashed var(--line-2); border-radius: 2px; color: var(--ink); font: 600 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.afh .afh-more:hover { border-color: var(--ink); background: var(--surface-2); }

/* status, open now, distance, ratings, reactions */
.afh-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 4px 9px; border-radius: 2px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 10.5px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.afh-badge--community { box-shadow: none; outline: 1px dashed var(--line-2); outline-offset: -1px; }
.afh-badge--certified { background: var(--gold); color: #1B1513; box-shadow: none; }
.afh-badge--certified::before { content: "✓"; font-size: 12px; }
.afh-open { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font: 500 13px/1.3 var(--f-ui); }
.afh-open::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.afh-open.is-open { color: var(--ink); }
.afh-open.is-open::before { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.afh-dist { color: var(--ink-2); font: 600 12.5px/1.3 var(--f-ui); font-variant-numeric: tabular-nums; }
.afh-rate { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.afh-rate b { color: var(--ink); }
.afh-meta-n { color: var(--ink-3); }
.afh-mini-react { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.afh-mini-react img { width: 18px; height: 18px; }
.afh-star { flex: none; width: 15px; height: 15px; fill: var(--line-2); }
.afh-star.is-on { fill: var(--gold); }
.afh-stars { display: inline-flex; gap: 2px; }
.afh-stars--sm .afh-star { width: 13px; height: 13px; }

/* empty and coming-soon states */
.afh-x__empty, .afh-soon { display: grid; justify-items: center; gap: 14px; padding: 40px 20px; text-align: center; color: var(--ink-2); }
.afh-x__empty .afh-art, .afh-soon .afh-art { width: min(220px, 70%); height: auto; }
.afh-soon h3 { font: 400 var(--step-2)/1.15 var(--f-display); }
.afh-soon ul { display: grid; gap: 8px; width: 100%; max-width: 420px; text-align: left; }
.afh .afh-soon__city { display: grid; gap: 3px; width: 100%; padding: 14px 16px; border-radius: 2px; text-align: left; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.afh .afh-soon__city:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.afh-soon__name { color: var(--ink); font: 400 var(--step-1)/1.2 var(--f-display); }
.afh-soon__meta { color: var(--ink-3); font-size: 12.5px; }
.afh-x__note { max-width: 72ch; margin-top: 16px; padding-left: 26px; position: relative; color: var(--ink-3); font-size: var(--step--1); line-height: 1.55; }
.afh-x__note::before { content: "i"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #1B1513; font: italic 400 12px/1 var(--f-display); }

/* ---------- place sheet: a folder sliding from the side ---------- */
.afh-sheet { position: fixed; inset: 0; z-index: 100000; }
.afh-sheet__scrim { position: absolute; inset: 0; background: var(--scrim, rgba(20, 14, 10, .45)); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.afh-sheet__panel { --h-perf: var(--bg); position: absolute; top: 0; bottom: 0; left: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: var(--shadow-lg); outline: none; }
.afh-sheet.is-in .afh-sheet__scrim { animation: afh-fade .3s ease both; }
.afh-sheet.is-in .afh-sheet__panel { animation: afh-from-left .45s var(--h-ease) both; }
@keyframes afh-fade { from { opacity: 0; } }
@keyframes afh-from-left { from { transform: translateX(-36px); opacity: 0; } }
@keyframes afh-from-bottom { from { transform: translateY(56px); opacity: 0; } }
.afh-sheet__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.afh .afh-sheet__back, .afh .afh-sheet__share { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 2px; color: var(--ink); font: 600 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color var(--t-fast); }
.afh .afh-sheet__back:hover, .afh .afh-sheet__share:hover { background: var(--surface-2); }
.afh-sheet__bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.afh-sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 26px 56px; scrollbar-width: thin; }
.afh-sheet__body > * + * { margin-top: 24px; }
.afh-fiche__head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; }
.afh-fiche__ico { width: 76px; rotate: -3deg; }
.afh-fiche__id { display: grid; gap: 6px; min-width: 0; }
.afh-fiche__kind { color: color-mix(in srgb, var(--gold) 55%, var(--ink-2)); font: 600 11px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-fiche__name { font: 400 var(--step-3)/1.05 var(--f-display); letter-spacing: var(--display-track, -.02em); }
.afh-fiche__addr { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.afh-fiche__addr .afh-textbtn { margin-left: 6px; font-size: 11px; }
.afh-fiche__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px 0; border-block: 1px solid var(--line); }
.afh-fiche__stats > div { padding: 0 12px; border-left: 1px dashed var(--line-2); }
.afh-fiche__stats > div:first-child { padding-left: 0; border-left: 0; }
.afh-fiche__stats dt { color: var(--ink-3); font: 600 10.5px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-fiche__stats dd { margin: 6px 0 0; font-size: var(--step-2); line-height: 1; }
.afh-fiche__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.afh-fiche__actions .afh-btn { flex: 1 1 auto; }
.afh .afh-checkin { display: block; width: 100%; padding: 0; border-radius: var(--h-r); background: var(--surface); text-align: left; box-shadow: var(--paper-shadow); cursor: pointer; transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.afh-checkin__in { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 6px; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 2px; }
.afh .afh-checkin:hover .afh-checkin__in { border-color: var(--gold); }
.afh .afh-checkin.is-done { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.afh .afh-checkin.is-done .afh-checkin__in { border-style: solid; border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.afh-checkin__stamp { width: 52px; height: 52px; filter: grayscale(1); opacity: .45; transition: filter .3s, opacity .3s; }
.afh-checkin.is-done .afh-checkin__stamp { filter: none; opacity: 1; }
.afh-checkin.is-stamped .afh-checkin__stamp { animation: afh-stamp .55s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes afh-stamp { 0% { transform: scale(2.6) rotate(-24deg); opacity: 0; } 60% { transform: scale(.9) rotate(4deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
.afh-checkin__text { display: grid; gap: 2px; color: var(--ink-2); font-size: 13px; }
.afh-checkin__text b { color: var(--ink); font: 400 var(--step-1)/1.2 var(--f-display); }
.afh-checkin__n { font-size: var(--step-3); line-height: 1; }
.afh-fiche__sec h3 { margin-bottom: 12px; color: var(--ink); font: 600 11px/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; }
.afh-fiche__sec h3::before { content: "✦"; margin-right: 8px; color: var(--gold); }
.afh-reacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.afh .afh-react { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px 8px 10px; border-radius: 2px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1px var(--line); font: 500 13.5px/1.25 var(--f-ui); cursor: pointer; transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.afh .afh-react img { width: 30px; height: 30px; }
.afh .afh-react:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.afh .afh-react.is-on { background: color-mix(in srgb, var(--gold) 14%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--gold); }
.afh-react.is-pop img { animation: afh-pop .45s var(--h-ease); }
@keyframes afh-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25) rotate(-8deg); } 100% { transform: none; } }
.afh-react__n { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.afh table.afh-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.afh table.afh-hours :is(th, td) { padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-2); text-align: left; font-weight: 400; font-variant-numeric: tabular-nums; }
.afh table.afh-hours th { width: 30%; color: var(--ink); text-transform: capitalize; }
.afh table.afh-hours tr.is-today :is(th, td) { background: color-mix(in srgb, var(--gold) 13%, transparent); color: var(--ink); font-weight: 600; }
.afh table.afh-hours tr.is-today th { box-shadow: inset 2px 0 0 var(--gold); }
.afh-hours-raw { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.afh-hours-raw span { color: var(--ink); font-weight: 600; }
.afh-reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.afh-reviews__summary.is-empty { display: grid; justify-items: center; gap: 8px; padding: 6px 0 4px; text-align: center; color: var(--ink-2); font-size: 14px; }
.afh-reviews__summary .afh-art { width: 140px; height: auto; }
.afh-reviews__avg { display: grid; justify-items: start; gap: 6px; color: var(--ink-3); font-size: 12.5px; }
.afh-reviews__avg b { font-size: var(--step-5); line-height: .9; }
.afh-reviews__bars { flex: 1; min-width: 180px; display: grid; gap: 5px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.afh-reviews__bars li { display: grid; grid-template-columns: 12px minmax(0, 1fr) 28px; align-items: center; gap: 10px; }
.afh-bar { height: 5px; overflow: hidden; border-radius: 3px; background: var(--line); }
.afh-bar span { display: block; height: 100%; border-radius: 3px; background: var(--gold); }
.afh-review-form { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border-radius: var(--h-r); background: var(--surface); box-shadow: var(--paper-shadow); }
.afh .afh-stars-input legend { padding: 0; margin-bottom: 6px; color: var(--ink); font: 400 var(--step-1)/1.2 var(--f-display); }
.afh-stars-input__row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.afh-stars-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.afh-stars-input label { padding: 2px; cursor: pointer; }
.afh-stars-input label .afh-star { width: 32px; height: 32px; fill: var(--line-2); transition: fill .15s, transform .15s; }
.afh-stars-input input:checked ~ label .afh-star, .afh-stars-input label:hover .afh-star, .afh-stars-input label:hover ~ label .afh-star { fill: var(--gold); }
.afh-stars-input label:hover .afh-star { transform: scale(1.1); }
.afh-stars-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 1px; }
.afh :is(.afh-review-form, .afh-dialog) textarea, .afh-dialog :is(input, select, textarea) {
	display: block; width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--f-ui); resize: vertical;
}
.afh .afh-review-form textarea:focus, .afh-dialog :is(input, select, textarea):focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); outline: none; }
.afh-review-form__row { display: flex; justify-content: flex-end; }
.afh-reviews__list { display: grid; margin-top: 8px; }
.afh-review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.afh-review.is-mine { padding-inline: 12px; background: color-mix(in srgb, var(--gold) 8%, transparent); }
.afh-review__top { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; }
.afh-review__top > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.afh-review__top b { color: var(--ink); font-weight: 600; }
.afh-review__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--h-board); color: var(--h-board-ink); font: 400 17px/1 var(--f-display); text-transform: uppercase; }
.afh-review__date { color: var(--ink-3); font-size: 12px; }
.afh-review__pending { margin-top: 8px; color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 11px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.afh-review__body { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.afh-review__acts { display: flex; gap: 16px; margin-top: 8px; }
.afh-review__acts .afh-textbtn { font-size: 10.5px; color: var(--ink-2); }
.afh-reviews__more { width: 100%; margin-top: 12px; }
.afh-fiche__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.afh-fiche__foot p { flex: 1 1 100%; color: var(--ink-3); font-size: 13px; }
.afh-msg { display: block; margin-top: 8px; color: var(--ink-2); font-size: 13px; }
.afh-msg.is-error { color: #C0563A; }
.afh-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100001; max-width: min(92vw, 520px); padding: 13px 20px; translate: -50% 0; border-radius: 3px; background: var(--h-board); color: var(--h-board-ink); box-shadow: var(--shadow-lg); font: 500 14px/1.45 var(--f-ui); }
.afh-toast a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.afh-toast.is-in { animation: afh-toast .35s var(--h-ease) both; }
@keyframes afh-toast { from { opacity: 0; transform: translateY(12px); } }

/* contribution dialog (appended to the body, outside the explorer) */
dialog.afh-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--h-r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.afh-dialog::backdrop { background: var(--scrim, rgba(20, 14, 10, .45)); backdrop-filter: blur(2px); }
.afh-dialog form { display: grid; gap: 14px; padding: clamp(22px, 4vw, 32px); }
.afh-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.afh-dialog__head h3 { margin: 0; font: 400 var(--step-3)/1.05 var(--f-display); letter-spacing: var(--display-track, -.02em); }
.afh-dialog .afh-dialog__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.afh-dialog .afh-dialog__x:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.afh-dialog__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.afh-dialog label { display: grid; gap: 6px; color: var(--ink); font: 600 12px/1.3 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.afh-dialog label :is(input, select, textarea) { letter-spacing: normal; text-transform: none; }
.afh-dialog__legal { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.afh-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 6px 0 0; }

/* ---------- travel outfit: a suitcase card and a coupon ---------- */
.afh-outfit { position: relative; padding: clamp(24px, 4vw, 52px); background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-outfit__head { display: grid; gap: 20px 40px; align-items: end; }
.afh-outfit__code {
	position: relative; justify-self: start; padding: 14px 20px 14px 46px; border: 1.5px dashed color-mix(in srgb, var(--gold) 70%, transparent); border-radius: 2px;
	background: color-mix(in srgb, var(--gold) 8%, transparent); color: var(--ink); font: 600 13px/1.4 var(--f-ui); letter-spacing: .04em;
}
.afh-outfit__code::before { content: "✂"; position: absolute; left: 16px; top: 50%; translate: 0 -52%; color: var(--gold); font-size: 17px; }
.afh-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(14px, 2vw, 24px); margin: clamp(24px, 3vw, 36px) 0; }
.afh-shop a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.afh-shop__img { display: block; margin-bottom: 8px; overflow: hidden; border-radius: 2px; background: var(--bg-2); aspect-ratio: 3 / 4; }
.afh-shop__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--h-ease); }
.afh-shop a:hover .afh-shop__img img { transform: scale(1.04); }
.afh-shop__name { font: 400 var(--step-1)/1.2 var(--f-display); letter-spacing: -.01em; }
.afh-shop__price { color: var(--ink-2); font: 600 14px/1.3 var(--f-ui); font-variant-numeric: tabular-nums; }
.afh-shop__price del { margin-right: 6px; color: var(--ink-3); font-weight: 400; }
.afh-shop__price ins { text-decoration: none; }
@media (min-width: 900px) { .afh-outfit__head { grid-template-columns: minmax(0, 1fr) auto; } .afh-outfit__code { justify-self: end; } }

/* ---------- questions and good-to-know ---------- */
.afh-faq { max-width: 900px; border-top: 1px solid var(--line); }
.afh-tip { border-bottom: 1px solid var(--line); }
.afh-tip summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; }
.afh-tip summary::-webkit-details-marker { display: none; }
.afh .afh-tip summary :is(h2, h3) { font: 400 var(--step-1)/1.3 var(--f-display); letter-spacing: -.005em; transition: color var(--t-fast); }
.afh-tip summary:hover :is(h2, h3) { color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.afh-tip summary svg { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 50%; fill: none; stroke: var(--ink); stroke-width: 1.8; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .3s var(--h-ease), background-color var(--t-fast); }
.afh-tip[open] summary svg { transform: rotate(180deg); background: var(--surface-2); }
.afh-tip__body { max-width: 72ch; padding: 0 0 24px; color: var(--ink-2); font-size: var(--step-0); line-height: 1.75; }
.afh-tip__body > * + * { margin-top: 12px; }
.afh .afh-tip__body a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: 3px; }
.afh-tip__body :is(h3, h4) { margin: 18px 0 6px; color: var(--ink); font: 600 var(--step-0)/1.4 var(--f-ui); }
.afh-tip__body :is(ul, ol) { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.afh-tip__body li::marker { color: var(--gold); }
.afh-gsec > .afh-tip { max-width: 900px; }
.afh-tips__title + .afh-tip { border-top: 1px solid var(--line); }
.afh .afh-tips__title { max-width: 900px; margin-top: clamp(48px, 6vw, 72px); padding-bottom: 14px; font: 400 var(--step-3)/1.1 var(--f-display); }

@media (min-width: 1100px) {
	.afh-gsec:has(> .afh-faq) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 5vw, 96px); align-items: start; }
	.afh-gsec:has(> .afh-faq) > * { grid-column: 2; }
	.afh-gsec:has(> .afh-faq) > h2 { position: sticky; top: calc(var(--hdr-h) + 84px); grid-column: 1; grid-row: 1 / span 20; font-size: var(--step-3); }
	.afh-gsec:has(> .afh-faq) > h2 + .afh-faq { margin-top: 0; }
	.afh-gsec:has(> .afh-faq) > script { display: none; }
}

/* ---------- other guides: postcards ---------- */
.afh-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.afh-guides a { display: grid; gap: 6px; height: 100%; padding: 10px 10px 18px; border-radius: var(--h-r); background: var(--surface); box-shadow: var(--paper-shadow); color: var(--ink); text-decoration: none; rotate: -.7deg; transition: rotate .4s var(--h-ease), transform .4s var(--h-ease); }
.afh-guides li:nth-child(even) a { rotate: .7deg; }
.afh-guides a:hover { rotate: 0deg; transform: translateY(-4px); }
.afh-guides__img { position: relative; display: block; margin-bottom: 10px; overflow: hidden; border-radius: 2px; background: var(--h-board); aspect-ratio: 4 / 3; }
.afh-guides__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--h-ease); }
.afh-guides a:hover .afh-guides__img img { transform: scale(1.04); }
.afh-guides__flap { display: grid; place-items: center; height: 100%; padding: 0 12px; color: var(--h-board-ink); font: 700 clamp(18px, 2vw, 24px)/1 var(--f-ui); letter-spacing: .32em; background: linear-gradient(180deg, var(--h-board) 50%, var(--h-board-2) 50%); position: relative; }
.afh-guides__flap::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: rgba(0, 0, 0, .7); }
.afh-guides__country { padding-inline: 4px; color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-guides strong { padding-inline: 4px; font: 400 var(--step-2)/1.1 var(--f-display); letter-spacing: -.01em; }
.afh-guides__n { padding-inline: 4px; color: var(--ink-3); font-size: 13px; }
.afh-others > .afh-btn { margin-top: clamp(24px, 3vw, 36px); }

/* ---------- contribute: the mascot in her niche, with the call ---------- */
.afh-contrib {
	position: relative; display: grid; gap: 22px; align-items: center; margin-top: clamp(64px, 9vw, 120px); padding: clamp(24px, 4vw, 44px); padding-left: clamp(24px, 4vw, 44px);
	background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow);
}
.afh-contrib > .afh-art { display: none; }
.afh-contrib::before { content: ""; justify-self: start; width: 120px; height: 132px; border-radius: 60px 60px 4px 4px; background: url("../img/mascots/bud-happy.webp") 50% 100% / 108px auto no-repeat, linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 60%, var(--bg))); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .08); }
.afh-contrib__text h2 { font: 400 var(--step-3)/1.05 var(--f-display); letter-spacing: var(--display-track, -.02em); }
.afh-contrib__text p { max-width: 52ch; margin-top: 10px; color: var(--ink-2); font-size: var(--step-0); line-height: 1.6; }
.afh-contrib .afh-btn { justify-self: start; }
@media (min-width: 800px) { .afh-contrib { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 3.4vw, 48px); } .afh-contrib .afh-btn { justify-self: end; } }

/* ---------- hub: hero, search, departures board, guide preview ---------- */
.afh--hub { margin-top: clamp(14px, 2.4vw, 32px); }
.afh-hero { display: grid; gap: 16px; }
.afh-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; overflow: hidden; background: var(--surface); border-radius: var(--h-r); box-shadow: var(--paper-shadow); }
.afh-hero__copy { min-width: 0; padding: clamp(24px, 4.4vw, 64px); container-type: inline-size; }
.afh .afh-hero__title { max-width: 20ch; margin-top: 18px; font: 400 var(--h1)/1.06 var(--f-display); letter-spacing: var(--display-track, -.025em); text-wrap: balance; }
.afh-hero__lead { max-width: 46ch; margin-top: 18px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; }
.afh-board { margin-top: clamp(26px, 3.4vw, 40px); container-type: inline-size; }
.afh-board .afh-flap { --w: min(66px, calc((100cqi - (var(--n, 6) - 1) * var(--gap)) / var(--n, 6))); }
.afh-board__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--ink-2); font: 600 12px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-board__meta > span + span::before { content: "·"; margin-right: 18px; color: var(--gold); }
.afh-board__city { color: var(--ink); }
.afh-search { position: relative; max-width: 620px; margin-top: clamp(24px, 3vw, 34px); }
.afh .afh-search input { display: block; width: 100%; height: 60px; padding: 0 20px 0 56px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); color: var(--ink); font: 500 16px/1 var(--f-ui); outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.afh .afh-search input::placeholder { color: var(--ink-3); opacity: 1; }
.afh .afh-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.afh-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.afh-search__icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--ink-2); stroke-width: 1.8; pointer-events: none; }
.afh-sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 380px; overflow: auto; border-radius: var(--h-r); background: var(--surface); box-shadow: var(--shadow-lg); }
.afh-sugg__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "code name state" "code country state"; column-gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.afh-sugg__item.is-active, .afh-sugg__item:hover { background: var(--surface-2); }
.afh-sugg__code { grid-area: code; display: grid; place-items: center; height: 40px; border-radius: 2px; background: var(--h-board); color: var(--h-board-ink); font: 700 12px/1 var(--f-ui); letter-spacing: .08em; }
.afh-sugg__name { grid-area: name; font: 400 var(--step-1)/1.2 var(--f-display); }
.afh-sugg__country { grid-area: country; color: var(--ink-3); font: 600 11px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.afh-sugg .afh-state { grid-area: state; }
.afh-sugg__none { padding: 16px; color: var(--ink-2); }
.afh-hero__art { display: none; }
@media (min-width: 1100px) {
	.afh-hero.has-art .afh-hero__in { grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 400px); }
	/* the traveller stands in an arch cut into the paper */
	.afh-hero__art { position: relative; display: block; align-self: end; aspect-ratio: 4 / 5; margin: 40px 40px 0 0; border-radius: 200px 200px 0 0; background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 55%, var(--bg))); box-shadow: inset 0 2px 10px rgba(0, 0, 0, .08); }
	.afh-hero__art img { position: absolute; left: 50%; bottom: 0; display: block; width: 92%; height: auto; translate: -50% 0; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) { .afh-hero__art img { animation: afh-walk-in 1.1s .2s var(--h-ease) both; } }
@keyframes afh-walk-in { from { opacity: 0; transform: translateX(50px); } }

.afh-dep { padding: clamp(20px, 3vw, 36px); border-radius: var(--h-r); background: var(--h-board); color: var(--h-board-ink); box-shadow: var(--shadow); overflow-x: auto; }
.afh .afh-dep__title { margin-bottom: 14px; color: color-mix(in srgb, var(--gold) 80%, var(--h-board-ink)); font: 600 12px/1.2 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; }
.afh-dep__table { width: 100%; min-width: 520px; border-collapse: collapse; perspective: 900px; }
.afh .afh-dep__table th { padding: 8px 12px 10px 0; border: 0; border-bottom: 1px solid var(--h-board-line); background: transparent; color: rgba(243, 234, 223, .6); font: 600 10.5px/1.2 var(--f-ui); letter-spacing: .16em; text-align: left; text-transform: uppercase; }
.afh .afh-dep__table td { height: 58px; padding: 0 12px 0 0; border: 0; border-bottom: 1px solid var(--h-board-line); background: transparent; color: rgba(243, 234, 223, .78); font: 500 14px/1.2 var(--f-ui); letter-spacing: .04em; vertical-align: middle; }
.afh-dep__table tbody tr { transform-origin: 50% 0; transition: background-color .2s; }
.afh-dep__table tbody tr:hover { background: rgba(243, 234, 223, .04); }
.afh-dep__table tbody tr.is-on { background: rgba(243, 234, 223, .07); box-shadow: inset 3px 0 0 var(--gold); }
.afh-dep__table .afh-num { padding-right: 28px; text-align: right; font-variant-numeric: tabular-nums; }
.afh .afh-dep__table .afh-dep__code { width: 64px; padding-left: 16px; }
.afh .afh-dep__table tbody .afh-dep__code { color: var(--h-board-ink); font-weight: 700; letter-spacing: .1em; }
.afh .afh-dep__city button { display: block; width: 100%; padding: 16px 0; color: var(--h-board-ink); text-align: left; font: 700 16px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color var(--t-fast); }
.afh .afh-dep__table tbody tr:hover .afh-dep__city button, .afh .afh-dep__city button:hover { color: var(--gold); }
.afh-state { display: inline-block; padding: 5px 9px; border-radius: 2px; font: 700 10.5px/1.1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.afh-state--guide { background: var(--gold); color: #1B1513; }
.afh-state--map { color: var(--h-board-ink); box-shadow: inset 0 0 0 1px rgba(243, 234, 223, .45); }
.afh-state--soon { color: rgba(243, 234, 223, .6); box-shadow: inset 0 0 0 1px var(--h-board-line); }
.afh-sugg .afh-state--map { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.afh-sugg .afh-state--soon { color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-reduced-motion: no-preference) {
	.afh-dep__table tbody tr { animation: afh-row-in .7s var(--h-ease) both; animation-delay: calc(.35s + var(--i, 0) * 90ms); }
}
@keyframes afh-row-in { from { opacity: 0; transform: rotateX(-88deg); } }

.afh-preview-wrap { margin-top: clamp(48px, 7vw, 96px); }
.afh-preview { display: grid; overflow: hidden; border-radius: var(--h-r); background: var(--surface); box-shadow: var(--paper-shadow); }
.afh-preview__img { display: block; min-height: 260px; background: var(--bg-2); }
.afh-preview__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.afh-preview__body { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(24px, 4vw, 56px); }
.afh .afh-preview__title { font: 400 var(--step-5)/1 var(--f-display); letter-spacing: var(--display-track, -.025em); }
.afh .afh-preview__title a { text-decoration: none; }
.afh-preview__text { max-width: 52ch; color: var(--ink-2); font-size: var(--step-0); line-height: 1.6; }
.afh-preview__areas { color: var(--ink-2); font-size: 14px; }
.afh-preview__areas span { margin-right: 8px; color: color-mix(in srgb, var(--gold) 62%, var(--ink)); font: 600 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.afh-preview .afh-facts { padding-block: 16px; border-block: 1px solid var(--line); }
@media (min-width: 900px) { .afh-preview { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ---------- small screens ---------- */
@media (max-width: 999px) {
	.afh-ghead__photo { order: -1; margin: 22px 22px 0; rotate: -1deg; }
	.afh-ghead.has-photo .afh-ghead__copy { padding-top: 26px; }
}
@media (max-width: 760px) {
	.afh-areas, .afh-pcs:not(.afh-pcs--one), .afh-guides, .afh-shop {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
	}
	.afh-areas::-webkit-scrollbar, .afh-pcs::-webkit-scrollbar, .afh-guides::-webkit-scrollbar, .afh-shop::-webkit-scrollbar { display: none; }
	.afh-areas > li, .afh-pcs:not(.afh-pcs--one) > li, .afh-guides > li, .afh-shop > li { scroll-snap-align: start; }
	.afh-shop { grid-auto-columns: min(62%, 240px); }
	.afh-guides { padding-top: 10px; }
	/* the slider bar sits in the column, under the row that bleeds to the screen edges */
	.afh .slider { margin-top: 8px; }
	.afh-area:hover { transform: none; }
	.afh-group__head { margin-bottom: 10px; }
	.afh-flap { --gap: 4px; }
	.afh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; }
	.afh-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.afh-x__stats > div { padding: 0 14px; }
	.afh-x__mapcol { height: 56vh; min-height: 320px; }
	.afh-x__list { padding: 2px 4px; }
	.afh-card { grid-template-columns: 46px minmax(0, 1fr); padding: 16px 8px; column-gap: 14px; }
	.afh-card__ico { width: 46px; }
	.afh-card__no { display: none; }
	.afh .afh-select select { min-width: 0; max-width: none; }
	.afh-select { flex: 1 1 140px; }
	.afh .afh-toggle { flex: 1 1 100%; }
	.afh-fiche__stats > div { padding: 0 8px; }
	.afh-sheet__panel { top: auto; left: 0; right: 0; width: 100%; height: 90vh; height: 90dvh; border-radius: 10px 10px 0 0; }
	.afh-sheet__panel::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; translate: -50% 0; border-radius: 2px; background: var(--line-2); }
	.afh-sheet.is-in .afh-sheet__panel { animation-name: afh-from-bottom; }
	.afh-sheet__bar { padding-top: 16px; border-radius: 10px 10px 0 0; }
	.afh-sheet__body { padding: 20px 18px 44px; }
	.afh-reacts { grid-template-columns: minmax(0, 1fr); }
	.afh-guides a, .afh-guides li:nth-child(even) a { rotate: 0deg; }
	.afh-dep__country { display: none; }
	.afh-dep__table { min-width: 0; }
	.afh .afh-dep__city button { font-size: 14px; letter-spacing: .1em; }
	.afh .afh-dep__table .afh-dep__code { width: 48px; padding-left: 10px; }
}
@media (max-width: 420px) {
	.afh-fiche__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
	.afh-fiche__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.afh .afh-seg button { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.afh *, .afh *::before, .afh *::after, .afh-dialog * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.afh-facts .is-live b::after { animation: none; }
}

@media print {
	.afh-toc, .afh-x, .afh-gsec--map, .afh-contrib, .afh-sheet { display: none !important; }
	.afh-brief, .afh-area, .afh-pc__a, .afh-outfit, .afh-ghead__in { box-shadow: none; border: 1px solid #ccc; }
}
