/* /london — "Life in London".
   Home: just the name, one big search box and popular searches.
   After a search (html.ll-feed): full-screen cards, one per screen, swiped up
   and down; (html.ll-list): the classic comparison with charts and maps. */

/* ── header ── */
.ll-head { position: sticky; top: 0; z-index: 50; background: hsl(48 22% 96% / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.ll-bar { display: flex; align-items: center; gap: 14px; min-height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ll-logo { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 22px; color: var(--green-deep); text-decoration: none; margin-inline-end: auto; }
.ll-logo em, .ll-title em { font-style: italic; color: var(--green); }
.ll-head .lang-head { margin: 0; }
.ll-views { display: none; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--card); }
.ll-views button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; border-radius: 999px; padding: 6px 12px; font: 600 13px/1 inherit; font-family: inherit; color: var(--muted-fg); cursor: pointer; }
.ll-views button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ll-views button[aria-pressed="true"] { background: var(--green-deep); color: #f3ead2; }
html.ll-feed .ll-views, html.ll-list .ll-views { display: inline-flex; }

/* ── home: the name and one search box ── */
html:not(.ll-feed):not(.ll-list) .ll { min-height: calc(100dvh - 61px); display: flex; flex-direction: column; justify-content: center; }
.ll-hero { padding: 0; text-align: center; }
.ll-title { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: clamp(46px, 9vw, 104px); line-height: 1; color: var(--green-deep); margin: 0 0 18px; letter-spacing: -.01em; }
.ll-sub { max-width: 620px; margin: 0 auto 28px; color: var(--muted-fg); font-size: 16px; line-height: 1.6; }
html:not(.ll-feed):not(.ll-list) .ll-browse { padding: 0 0 6vh; }
html:not(.ll-feed):not(.ll-list) .ll-browse .wrap { max-width: 720px; }
html:not(.ll-feed):not(.ll-list) .br-bar { position: static; margin: 0; padding: 0; background: none; }
html:not(.ll-feed):not(.ll-list) .br-bar::after { display: none; }
html:not(.ll-feed):not(.ll-list) .br-seg,
html:not(.ll-feed):not(.ll-list) .br-sort,
html:not(.ll-feed):not(.ll-list) .br-cats,
html:not(.ll-feed):not(.ll-list) .br-sum { display: none !important; }
html:not(.ll-feed):not(.ll-list) .br-tools { display: block; }
html:not(.ll-feed):not(.ll-list) .br-q { width: 100%; height: 64px; border-radius: 999px; padding: 0 28px; font-size: 18px; border: 1px solid var(--gold-soft); box-shadow: 0 10px 30px -14px hsl(160 30% 12% / .35); background: var(--card); }
html:not(.ll-feed):not(.ll-list) .br-q:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px hsl(43 60% 70% / .25), 0 10px 30px -14px hsl(160 30% 12% / .35); }
.ll-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ll-chip { border: 1px solid var(--border); background: hsl(48 30% 98% / .7); border-radius: 999px; padding: 8px 15px; font: 500 14px/1 inherit; font-family: inherit; color: var(--green-deep); cursor: pointer; }
.ll-chip:hover { border-color: var(--gold); background: #fff; }
html.ll-feed .ll-chips, html.ll-list .ll-chips, html.ll-feed .ll-hero, html.ll-list .ll-hero { display: none; }
.ll-foot { padding: 28px 0 40px; color: var(--muted-fg); font-size: 12px; text-align: center; }
.ll-foot p { max-width: 720px; margin: 0 auto 6px; }
.ll-by a { color: var(--green); }
html.ll-feed .ll-foot { display: none; }

/* ── list view: the classic comparison under the header ── */
html.ll-list .ll-browse { padding-top: 16px; }
html.ll-list .br-bar { top: 60px; }
@media (min-width: 900px) { html.ll-list #browse .pv-viz { top: calc(60px + var(--brbar, 0px)); } }

/* ── card feed ── */
html.ll-feed, html.ll-feed body { overflow: hidden; background: #0b1c16; }
html.ll-feed .ll-head { background: linear-gradient(hsl(160 40% 6% / .75), hsl(160 40% 6% / 0)); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.ll-feed .ll-logo { color: #f3ead2; }
html.ll-feed .ll-logo em { color: #e2c98f; }
html.ll-feed .ll-head .lang-btn { color: #f3ead2; }
html.ll-feed .ll-views { background: hsl(0 0% 100% / .1); border-color: hsl(0 0% 100% / .18); }
html.ll-feed .ll-views button { color: hsl(45 30% 88% / .8); }
html.ll-feed .ll-views button[aria-pressed="true"] { background: #f3ead2; color: var(--green-deep); }
html.ll-feed .ll-head { position: fixed; left: 0; right: 0; }
html.ll-feed .ll-browse { padding: 0; }
html.ll-feed .br-bar { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); width: min(100vw, 480px); margin: 0; padding: 4px 16px 0; background: none; z-index: 45; }
html.ll-feed .br-bar::after, html.ll-feed .br-seg, html.ll-feed .br-sort, html.ll-feed .br-cats, html.ll-feed .br-sum { display: none !important; }
html.ll-feed .br-tools { display: block; margin: 0; }
html.ll-feed .br-q { width: 100%; height: 42px; border-radius: 999px; background: hsl(0 0% 100% / .14); border: 1px solid hsl(0 0% 100% / .22); color: #fff; padding: 0 18px; font-size: 15px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.ll-feed .br-q::placeholder { color: hsl(0 0% 100% / .6); }
html.ll-feed #br-list { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100vw, 480px); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; z-index: 40; }
html.ll-feed #br-list::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { html.ll-feed #br-list { box-shadow: 0 0 0 1px hsl(0 0% 100% / .06), 0 30px 80px hsl(0 0% 0% / .5); } }
.fd-more { height: 1px; }
.fd-card { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; justify-content: flex-end; padding: 124px 80px 34px 24px; color: #f3ead2; overflow: hidden; }
[dir="rtl"] .fd-card { padding: 124px 24px 34px 80px; }
.fd-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 85% 10%, hsl(43 70% 70% / .16), transparent 60%); pointer-events: none; }
.t-health { background: linear-gradient(165deg, #0e2b21 0%, #1d4a3a 100%); }
.t-skin { background: linear-gradient(165deg, #331f23 0%, #7a4b4f 100%); }
.t-body { background: linear-gradient(165deg, #2f2416 0%, #7a6237 100%); }
.t-iv { background: linear-gradient(165deg, #0d2a33 0%, #2a5a63 100%); }
.t-fit { background: linear-gradient(165deg, #131f33 0%, #334f72 100%); }
.fd-body { position: relative; }
.fd-kicker { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #e2c98f; }
.fd-count { margin-inline-start: 8px; color: hsl(45 30% 88% / .6); letter-spacing: .08em; }
.fd-title { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: clamp(34px, 9vw, 44px); line-height: 1.05; margin: 0 0 12px; color: #fff; }
.fd-sum { font-size: 15px; line-height: 1.55; color: hsl(45 30% 90% / .85); margin: 0 0 22px; }
.fd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.fd-stats div { border-top: 1px solid hsl(43 60% 75% / .35); padding-top: 8px; }
.fd-stats b { display: block; font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 30px; color: #fff; line-height: 1.1; }
.fd-stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: hsl(45 30% 88% / .65); }
.fd-histo { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin: 8px 0 6px; }
.fd-histo i { flex: 1; background: linear-gradient(#e2c98f, hsl(43 60% 70% / .35)); border-radius: 2px 2px 0 0; }
.fd-range { font-size: 12px; color: hsl(45 30% 88% / .65); margin: 0 0 14px; }
.fd-ega { font-size: 14px; color: hsl(45 30% 90% / .9); margin: 0; }
.fd-ega b { color: #fff; }
.fd-foot { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.fd-list { border: 1px solid hsl(0 0% 100% / .35); background: hsl(0 0% 100% / .08); color: #fff; border-radius: 999px; padding: 10px 18px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.fd-hint { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: hsl(45 30% 88% / .6); animation: fd-bob 1.8s ease-in-out infinite; }
@keyframes fd-bob { 50% { transform: translateY(-4px); } }
.fd-price { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: clamp(64px, 18vw, 88px); line-height: .95; color: #fff; margin: 0 0 10px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fd-price small { font-family: "Avenir Next", system-ui, sans-serif; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: hsl(45 30% 88% / .7); }
.fd-price s { font-size: 24px; color: hsl(45 30% 88% / .5); }
.fd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; min-height: 4px; }
.fd-tag { border: 1px solid hsl(43 60% 75% / .55); color: #e2c98f; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.fd-offer { border-color: hsl(10 70% 75% / .6); color: hsl(10 85% 82%); }
.fd-doc { border-color: hsl(150 40% 70% / .6); color: hsl(150 45% 82%); }
.fd-scale { margin: 0 0 20px; }
.fd-track { position: relative; height: 4px; border-radius: 4px; background: linear-gradient(90deg, hsl(150 45% 60% / .7), hsl(45 30% 88% / .3) 50%, hsl(10 60% 65% / .6)); }
.fd-track b { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #e2c98f; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px hsl(43 70% 70% / .25); }
.fd-track .fd-mid { position: absolute; top: -5px; width: 1px; height: 14px; background: hsl(0 0% 100% / .6); }
.fd-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: hsl(45 30% 88% / .65); }
.fd-prov { font-size: 21px; font-weight: 600; color: #fff; margin: 0 0 4px; line-height: 1.25; }
.fd-prov .badge { vertical-align: 3px; }
.fd-card .rv { color: #fff; margin-inline-start: 10px; font-size: 14px; vertical-align: 2px; }
.fd-card .rv-n { color: hsl(45 30% 88% / .65); }
.fd-card .rv-stars { font-size: 13px; background: linear-gradient(90deg, #e2c98f calc(var(--r) / 5 * 100%), hsl(45 20% 80% / .35) 0); -webkit-background-clip: text; background-clip: text; }
.fd-svc { font-size: 16px; color: hsl(45 30% 92% / .92); margin: 0 0 6px; line-height: 1.4; }
.fd-inc { font-size: 13px; color: hsl(45 30% 88% / .65); margin: 0 0 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-where { display: flex; align-items: flex-end; gap: 12px; }
.mm { width: 150px; height: auto; flex: none; border-radius: 10px; background: hsl(0 0% 100% / .06); border: 1px solid hsl(0 0% 100% / .12); }
.mm-river { fill: none; stroke: hsl(195 50% 75% / .55); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mm-zone { fill: none; stroke: hsl(45 30% 88% / .25); stroke-dasharray: 3 4; }
.mm-dot { fill: #e2c98f; stroke: #fff; stroke-width: 2; }
.mm-dot.is-approx { fill: hsl(43 60% 75% / .7); }
.mm-pulse { fill: hsl(43 70% 70% / .35); transform-box: fill-box; transform-origin: center; animation: mm-pulse 2s ease-out infinite; }
@keyframes mm-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.fd-area { font-size: 13px; color: hsl(45 30% 90% / .85); padding-bottom: 2px; }
.fd-rail { position: absolute; right: 12px; bottom: 120px; display: flex; flex-direction: column; gap: 18px; align-items: center; z-index: 2; }
[dir="rtl"] .fd-rail { right: auto; left: 12px; }
.fd-act { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: 0; color: #fff; font: 600 11px/1.1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; width: 60px; text-align: center; }
.fd-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: hsl(0 0% 100% / .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.fd-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fd-act:active .fd-ico { transform: scale(.9); }
.fd-act.is-on .fd-ico { background: #e2c98f; }
.fd-act.is-on .fd-ico svg { fill: #fff; stroke: #fff; }
.fd-provhead .prov-head { background: hsl(0 0% 100% / .08); border-color: hsl(0 0% 100% / .15); color: #f3ead2; }
.fd-provhead .prov-head h3 { color: #fff; }
.fd-provhead .prov-head p { color: hsl(45 30% 88% / .8); }
.fd-provhead .btn-ghost { color: #fff; border-color: hsl(0 0% 100% / .4); background: none; }
.ll-toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: #f3ead2; color: var(--green-deep); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; z-index: 80; pointer-events: none; }
.ll-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) {
  .ll-bar { min-height: 56px; padding: 0 14px; gap: 8px; }
  .ll-logo { font-size: 19px; }
  .ll-views button { padding: 6px 9px; font-size: 12px; }
  html.ll-feed .br-bar { top: 56px; }
  html.ll-list .br-bar { top: 56px; }
  .fd-card { padding: 116px 76px 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { .fd-hint, .mm-pulse { animation: none; } }
/* home: no empty result area, no rules; the big title replaces the small logo */
html:not(.ll-feed):not(.ll-list) #br-list { display: none; }
.ll-browse { border-top: 0; }
html:not(.ll-feed):not(.ll-list) .ll-head { background: none; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html:not(.ll-feed):not(.ll-list) .ll-logo { visibility: hidden; }
html:not(.ll-feed):not(.ll-list) .ll-browse { padding-top: 0; }

/* ── cards v2: photos, captions, booking, zoomable map ── */
/* rail: every label the same size, links and buttons alike */
.fd-act, a.fd-act, button.fd-act { font: 600 12px/1.15 "Avenir Next", system-ui, sans-serif; letter-spacing: .01em; color: #fff; }
.fd-act > span:last-child { font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px hsl(0 0% 0% / .45); }
.fd-rail { bottom: 132px; gap: 16px; }

/* Google photos behind the card: swipe sideways; a dark gradient keeps the text readable */
.fd-bg { position: absolute; inset: 0; z-index: 0; }
.fd-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.fd-slides::-webkit-scrollbar { display: none; }
.fd-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.fd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, hsl(0 0% 0% / .55) 0%, hsl(0 0% 0% / .05) 28%, hsl(0 0% 0% / .25) 48%, hsl(160 40% 5% / .92) 78%); }
.fd-card.has-photo::before { display: none; }
.fd-dots { position: absolute; left: 0; right: 0; top: 118px; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.fd-dots i { width: 6px; height: 6px; border-radius: 50%; background: hsl(0 0% 100% / .45); }
.fd-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.fd-body { z-index: 1; pointer-events: none; }
.fd-body a, .fd-body button { pointer-events: auto; }
.fd-rail { z-index: 3; }
.fd-credit { margin: 10px 0 0; font-size: 10px; color: hsl(0 0% 100% / .6); }
.fd-credit a { color: inherit; }

/* captions (danmaku): Google reviews light, visitors' comments gold */
.fd-dm { position: absolute; left: 0; right: 0; top: 134px; height: 104px; z-index: 2; overflow: hidden; pointer-events: none; }
.dm { position: absolute; left: 100%; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 13px; line-height: 1.3; animation: dm-move linear infinite; animation-play-state: paused; max-width: none; }
.fd-card.is-live .dm { animation-play-state: running; }
.dm-g { background: hsl(0 0% 100% / .16); color: #fff; border: 1px solid hsl(0 0% 100% / .22); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dm-g b { color: #f5c94c; font-weight: 400; letter-spacing: -1px; margin-inline-start: 4px; }
.dm-g i { font-style: normal; font-size: 11px; color: hsl(0 0% 100% / .65); margin-inline-start: 4px; }
.dm-u { background: hsl(43 70% 62% / .9); color: #2a1f0a; font-weight: 600; }
.dm-mine { box-shadow: 0 0 0 2px #fff; }
@keyframes dm-move { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 100% - 520px)); } }
@media (prefers-reduced-motion: reduce) { .dm { animation: none; position: static; display: inline-block; margin: 2px; } .fd-dm { display: flex; flex-wrap: wrap; align-content: flex-start; padding: 0 20px; } }

/* booking */
.fd-book { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 22px; border-radius: 999px; background: #e2c98f; color: #1d1608; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 8px 20px -10px hsl(43 80% 50% / .8); }
.fd-book:active { transform: scale(.97); }

/* mini map: bigger, place names, tap to zoom on Google Maps */
.mm-btn { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.mm { width: 190px; }
.mm-names text { font: 600 8.5px/1 "Avenir Next", system-ui, sans-serif; fill: hsl(45 30% 90% / .55); text-anchor: middle; letter-spacing: .02em; }
.mm-zoom { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: hsl(0 0% 0% / .35); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.fd-mapov { position: fixed; inset: 0; z-index: 90; background: #0b1c16; display: flex; flex-direction: column; }
.fd-mapbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #f3ead2; }
.fd-mapbar b { font-size: 16px; }
.fd-mapbar span { font-size: 13px; opacity: .7; margin-inline-end: auto; }
.fd-mapov iframe { flex: 1; width: 100%; border: 0; }
.fd-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: hsl(0 0% 100% / .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* comment sheet */
.fd-sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100vw, 480px); z-index: 95; background: #f6f2e8; color: var(--fg); border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px hsl(0 0% 0% / .4); }
.fd-sheet-t { margin: 0 44px 10px 0; font-weight: 600; font-size: 15px; }
.fd-sheet-row { display: flex; gap: 8px; }
.fd-sheet-row input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--border); padding: 0 16px; font: inherit; font-size: 16px; background: #fff; }
.fd-sheet-row .btn { border-radius: 999px; padding: 0 20px; border: 0; }
.fd-sheet-n { margin: 8px 4px 0; font-size: 12px; color: var(--muted-fg); }
.fd-sheet .fd-x { position: absolute; top: 10px; right: 12px; background: hsl(160 20% 20% / .08); color: var(--fg); }
/* v2.1: compact card so the captions keep the top */
.fd-card { padding-top: 210px; }
.fd-dm { top: 122px; height: 72px; }
.fd-dots { top: 112px; }
.fd-kicker { margin-bottom: 6px; }
.fd-price { font-size: clamp(52px, 15vw, 70px); margin-bottom: 6px; }
.fd-price s { font-size: 20px; }
.fd-tags { margin-bottom: 10px; }
.fd-scale { margin-bottom: 14px; }
.fd-prov { font-size: 19px; }
.fd-svc { font-size: 15px; margin-bottom: 4px; }
.fd-inc { -webkit-line-clamp: 1; margin-bottom: 10px; }
.fd-where { align-items: stretch; gap: 14px; }
.mm { width: 150px; }
.fd-where-r { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-width: 0; }
.fd-where-r .fd-book { margin-top: 8px; padding: 10px 18px; font-size: 14px; }
.fd-credit { margin-top: 8px; }
.fd-rail { bottom: 96px; gap: 12px; }
.fd-ico { width: 44px; height: 44px; }
.fd-ico svg { width: 20px; height: 20px; }
@media (max-height: 700px) { .fd-card { padding-top: 190px; } .fd-inc { display: none; } .mm { width: 120px; } }

/* Social sheet: website, Instagram, RED (小红书), Google Maps */
.fd-social .fd-sheet-n { margin: -4px 0 14px; }
.fd-soc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fd-soc a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--fg); font-size: 12px; font-weight: 600; text-align: center; }
.fd-logo { width: 56px; height: 56px; display: block; border-radius: 14px; box-shadow: 0 4px 12px -6px hsl(0 0% 0% / .35); overflow: hidden; }
.fd-logo svg { width: 100%; height: 100%; display: block; }
.fd-soc a:active .fd-logo { transform: scale(.94); }
.fd-soc a small { margin-top: -5px; font-size: 10.5px; font-weight: 500; color: var(--muted, #6b6b6b); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Chinese food */
.t-food { background: linear-gradient(165deg, #3a1210 0%, #7a2a1c 100%); }
.fd-prov span[lang="zh"] { font-weight: 500; opacity: .85; margin-inline-start: 4px; }
.ll-credit { font-size: 12px; opacity: .75; }
.ll-credit a { color: inherit; }

/* 医 / 食 */
.ll-scope { display: flex; justify-content: center; gap: 4px; margin: 0 auto 14px; padding: 4px; width: max-content; border: 1px solid var(--border); border-radius: 999px; background: hsl(48 30% 98% / .8); }
.ll-scope button { border: 0; background: none; border-radius: 999px; padding: 9px 26px; font: 600 16px/1 inherit; font-family: inherit; color: var(--muted-fg); cursor: pointer; letter-spacing: .04em; }
.ll-scope button[aria-pressed="true"] { background: var(--green-deep); color: #f3ead2; }
html[data-ll-s="food"] .ll-scope button[aria-pressed="true"] { background: #7a2a1c; }
html[data-ll-s="food"] .ll-chip[data-s="med"], html:not([data-ll-s="food"]) .ll-chip[data-s="food"] { display: none; }
/* while browsing results the search decides (it switches 医/食 itself); the logo goes back to the toggle */
html.ll-feed .ll-scope, html.ll-list .ll-scope { display: none; }
.ll-mark { font-family: "Didot", "Bodoni 72", Georgia, serif; font-size: 14px; color: var(--green-deep); }
.ll-mark em { font-style: italic; color: var(--green); }

/* semi-permanent make-up, teeth */
.t-pmu { background: linear-gradient(165deg, #3a1a2a 0%, #8a4a63 100%); }
.t-dental { background: linear-gradient(165deg, #10283a 0%, #3a6a86 100%); }

/* related procedures on the main card */
.fd-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 12px; color: hsl(45 30% 90% / .65); }
.fd-rel span { margin-inline-end: 2px; }
.fd-rel button { border: 1px solid hsl(45 40% 85% / .3); background: hsl(0 0% 100% / .08); color: hsl(45 30% 92% / .9); border-radius: 999px; padding: 4px 9px; font: 500 11px/1.2 inherit; font-family: inherit; cursor: pointer; }
.fd-rel button:active { background: hsl(0 0% 100% / .2); }
/* the procedure card has no captions above it: use the room, tighter when it lists related ones */
.fd-card.fd-proc { padding-top: 132px; }
.fd-proc.has-rel .fd-sum { margin-bottom: 14px; }
.fd-proc.has-rel .fd-stats { margin-bottom: 8px; }
.fd-proc.has-rel .fd-histo { height: 40px; }
.fd-proc.has-rel .fd-range { margin-bottom: 8px; }
.fd-proc.has-rel .fd-foot { margin-top: 16px; }
@media (max-height: 760px) { .fd-proc.has-rel .fd-histo { display: none; } .fd-proc.has-rel .fd-title { font-size: 32px; } }

/* ── Life in London AI ── */
.ll-ask { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0; border: 0; background: none; color: var(--green); font: 600 14px/1.3 inherit; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: hsl(150 30% 40% / .35); }
.ll-ask svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
html:not(.ll-feed):not(.ll-list) .ll-browse .wrap { text-align: center; }
.fd-card { text-align: start; }
html.ll-feed .ll-ask, html.ll-list .ll-ask { display: none; }
.ll-chat { position: fixed; inset: auto 0 0 0; height: 88dvh; z-index: 120; display: flex; flex-direction: column; background: #f6f3ec; color: var(--fg); border-radius: 22px 22px 0 0; box-shadow: 0 -18px 50px -20px hsl(0 0% 0% / .5); transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); max-width: 640px; margin: 0 auto; }
.ll-chat.on { transform: none; }
html.llc-open body { overflow: hidden; }
.llc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); }
.llc-head b { font-family: "Didot", "Bodoni 72", Georgia, serif; font-weight: 400; font-size: 19px; color: var(--green-deep); margin-inline-end: auto; }
.llc-head b em { font-style: italic; color: var(--green); }
.llc-new { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 11px; font: 500 12px/1 inherit; font-family: inherit; color: var(--muted-fg); cursor: pointer; }
.llc-x { border: 0; background: hsl(0 0% 0% / .06); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--fg); }
.llc-list { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.llc-m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.llc-m p { margin: 0 0 6px; } .llc-m p:last-child { margin-bottom: 0; }
.llc-m ul { margin: 4px 0 6px; padding-inline-start: 18px; } .llc-m li { margin: 2px 0; }
.llc-u { align-self: flex-end; background: var(--green-deep); color: #f3ead2; border-bottom-right-radius: 5px; }
.llc-a { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.llc-a b { color: var(--green-deep); }
.llc-photos { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.llc-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.llc-ph { font-size: 13px; opacity: .8; }
.llc-see { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.llc-see button { border: 1px solid hsl(150 30% 35% / .35); background: hsl(150 30% 35% / .07); color: var(--green-deep); border-radius: 999px; padding: 6px 11px; font: 600 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
.llc-dots { display: flex; gap: 4px; padding: 4px 0; } .llc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-fg); opacity: .4; animation: llc-dot 1s infinite; } .llc-dots i:nth-child(2) { animation-delay: .15s; } .llc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes llc-dot { 50% { opacity: 1; transform: translateY(-3px); } }
.llc-hello { margin: auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.llc-hello p { color: var(--muted-fg); font-size: 15px; margin: 0 0 6px; max-width: 320px; }
.llc-hello button { border: 1px solid var(--border); background: #fff; border-radius: 14px; padding: 9px 14px; font: 500 14px/1.35 inherit; font-family: inherit; color: var(--green-deep); cursor: pointer; max-width: 340px; }
.llc-tray { display: flex; gap: 8px; padding: 0 16px; }
.llc-tray:empty { display: none; }
.llc-tray span { position: relative; } .llc-tray img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; display: block; margin-top: 8px; }
.llc-tray button { position: absolute; top: 2px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #222; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.llc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 4px; }
.llc-add, .llc-send { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; }
.llc-add { background: #fff; border: 1px solid var(--border); }
.llc-send { background: var(--green-deep); }
.llc-add svg, .llc-send svg { width: 21px; height: 21px; fill: none; stroke: var(--green-deep); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.llc-send svg { stroke: #f3ead2; }
.llc-form textarea { flex: 1; resize: none; border: 1px solid var(--border); border-radius: 21px; padding: 10px 14px; font: 16px/1.35 inherit; font-family: inherit; background: #fff; max-height: 120px; }
.llc-note { margin: 2px 16px calc(10px + env(safe-area-inset-bottom)); font-size: 11px; color: var(--muted-fg); text-align: center; }
.llc-ctx { font-size: 13px !important; color: var(--green-deep) !important; background: hsl(150 30% 35% / .07); border-radius: 12px; padding: 8px 12px; }

/* ── badges and filters ── */
.fd-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px; }
.bdg { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; font: 600 11.5px/1.2 inherit; font-family: inherit; text-decoration: none; white-space: nowrap; }
.bdg svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bdg-cqc { background: hsl(205 70% 55% / .22); color: #d9ecff; border: 1px solid hsl(205 70% 70% / .45); }
.bdg-dev { background: hsl(43 70% 60% / .22); color: #f6e3b4; border: 1px solid hsl(43 70% 70% / .5); }
.bdg-reg { background: hsl(330 55% 65% / .22); color: #fbdbe9; border: 1px solid hsl(330 55% 75% / .45); }
.bdg-more { background: hsl(0 0% 100% / .12); color: #fff; }
.fd-badges.is-small { display: inline-flex; margin: 0 0 0 6px; vertical-align: middle; }
.pv-main .bdg-cqc, html.ll-list .bdg-cqc { background: hsl(205 70% 45% / .1); color: #1d5a8a; border-color: hsl(205 60% 45% / .3); }
.pv-main .bdg-dev, html.ll-list .bdg-dev { background: hsl(43 70% 45% / .12); color: #7a5a14; border-color: hsl(43 60% 45% / .35); }
.pv-main .bdg-reg, html.ll-list .bdg-reg { background: hsl(330 50% 50% / .1); color: #8a2f5a; border-color: hsl(330 50% 50% / .3); }
.ll-filters { display: none; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.ll-filters::-webkit-scrollbar { display: none; }
html.ll-feed .ll-filters, html.ll-list .ll-filters { display: flex; }
.ll-filters button { flex: none; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); background: var(--card); color: var(--green-deep); border-radius: 999px; padding: 5px 11px; font: 600 12px/1.2 inherit; font-family: inherit; cursor: pointer; }
.ll-filters button svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ll-filters button[aria-pressed="true"] { background: var(--green-deep); color: #f3ead2; border-color: var(--green-deep); }
html.ll-feed .ll-filters button { background: hsl(0 0% 100% / .12); border-color: hsl(0 0% 100% / .22); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.ll-feed .ll-filters button[aria-pressed="true"] { background: #f3ead2; color: #123a2c; }
/* the filter row takes room under the search box: captions and photo dots move down */
html.ll-feed .fd-dm { top: 156px; }
html.ll-feed .fd-dots { top: 150px; }
html.ll-feed .fd-card.fd-proc { padding-top: 164px; }
.ll-offers { display: inline-flex; align-items: center; gap: 6px; margin: 16px 6px 0; border: 1px solid hsl(15 70% 55% / .4); background: hsl(15 80% 60% / .1); color: #a3401c; border-radius: 999px; padding: 8px 15px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
html.ll-feed .ll-offers, html.ll-list .ll-offers { display: none; }

/* the ring-bloom mark */
.ll-logo { display: inline-flex; align-items: center; gap: 8px; }
.ll-mark { width: 26px; height: 26px; color: var(--gold, #b08c42); flex: none; }
html.ll-feed .ll-mark { color: #e2c98f; }
.ll-mark-hero { display: block; width: 84px; height: 84px; margin: 0 auto 10px; }
.llc-head img { flex: none; }

/* the AI buddy: the ring-bloom flower with two eyes */
.fd-ico svg .eye { fill: #fff; stroke: none; }
.ll-ask svg .eye { fill: currentColor; stroke: none; }
.ll-ask svg { width: 20px; height: 20px; }
.llc-buddy svg { width: 28px; height: 28px; display: block; fill: none; stroke: var(--gold, #b08c42); stroke-width: 1.7; stroke-linejoin: round; }
.llc-buddy svg .eye { fill: var(--green-deep); stroke: none; }
/* home: the footer sits at the bottom of the screen, out of the way */
html:not(.ll-feed):not(.ll-list) .ll { justify-content: flex-start; }
html:not(.ll-feed):not(.ll-list) .ll-hero { margin-top: auto; }
html:not(.ll-feed):not(.ll-list) .ll-browse { margin-bottom: auto; }
html:not(.ll-feed):not(.ll-list) .ll-foot { padding: 28px 0 calc(14px + env(safe-area-inset-bottom)); font-size: 11px; opacity: .8; }
