/* Gym page (lane D): markup from assets/gym-render.js. Uses the design tokens and .btn/.crumbs from style.css; never edits it.
   Also the shared "price plate" poster (.fp-poster) and round price sticker (.fp-sticker), used by compare.html too.
   Phone first: one column (title → price → buttons → today → photo/poster → prices → …); from 901 px two columns with a
   sticky sidebar holding the price, the buttons and today's hours. */

/* ---------- poster and sticker ---------- */
.fp-poster {
  --pt: #fff; --pt-2: rgba(255, 255, 255, .78);
  position: relative; container-type: inline-size; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9; width: 100%; background: var(--pc, #555); color: var(--pt);
}
.fp-poster.is-light { --pt: #17140a; --pt-2: rgba(23, 20, 10, .74); }
.fp-poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fp-poster-txt { position: absolute; inset: 7cqi 7cqi auto 7cqi; display: flex; flex-direction: column; gap: 2.2cqi; max-width: 72%; }
.fp-poster-cat {
  display: inline-flex; align-items: center; gap: 1.6cqi; font-size: max(10.5px, 3.3cqi); font-weight: 700; letter-spacing: .06em;
  color: var(--pt-2); font-family: var(--f-display); font-stretch: 87.5%; text-transform: uppercase; font-feature-settings: "case" 1;
}
.fp-poster-cat .ico { width: max(12px, 3.8cqi); height: max(12px, 3.8cqi); }
.fp-poster-name {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; line-height: .98; letter-spacing: .005em;
  text-transform: uppercase; font-feature-settings: "case" 1; overflow-wrap: anywhere; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-poster-name.len-s { font-size: 13cqi; }
.fp-poster-name.len-m { font-size: 10.5cqi; }
.fp-poster-name.len-l { font-size: 8.4cqi; }
.fp-poster-name.len-xl { font-size: 6.8cqi; }
.fp-poster-meta { font-size: max(10.5px, 3.4cqi); color: var(--pt-2); font-weight: 500; line-height: 1.3; }
.fp-poster--thumb .fp-poster-txt { inset: 6cqi 6cqi auto 6cqi; max-width: 78%; }
.fp-poster--thumb .fp-poster-name.len-s { font-size: 12cqi; }
.fp-poster--thumb .fp-poster-name.len-m { font-size: 10cqi; }
.fp-poster--thumb .fp-poster-name.len-l { font-size: 8.6cqi; }
.fp-poster--thumb .fp-poster-name.len-xl { font-size: 7.4cqi; }

.fp-sticker {
  --s: clamp(46px, 19cqi, 84px);
  position: absolute; right: 4cqi; bottom: 5cqi; width: var(--s); height: var(--s); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: #fff; color: #0d1015; box-shadow: 0 0 0 3px var(--pc, #0d1015), 0 6px 16px -6px rgba(0, 0, 0, .55);
  font-variant-numeric: tabular-nums; text-align: center; line-height: 1;
}
.fp-sticker b { font-family: var(--f-display); font-stretch: 75%; font-weight: 850; font-size: calc(var(--s) * .36); letter-spacing: -.01em; }
.fp-sticker.long b { font-size: calc(var(--s) * .28); }
.fp-sticker small { font-size: max(8.5px, calc(var(--s) * .14)); font-weight: 600; color: #4a515d; white-space: nowrap; }
.fp-sticker.unknown { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; border: 2px dashed rgba(255, 255, 255, .85); backdrop-filter: blur(4px); }
.fp-sticker.unknown b { font-size: calc(var(--s) * .42); font-family: var(--f-body); font-stretch: 100%; }
.is-light .fp-sticker.unknown, .fp-poster.is-light .fp-sticker.unknown { color: #17140a; border-color: rgba(23, 20, 10, .7); }
.photo .fp-sticker.unknown { background: rgba(10, 12, 15, .45); }


/* ---------- page frame ---------- */
.gp { padding-bottom: 32px; }
.gp-crumbs { padding-block: 16px 10px; }
.gp-crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }

/* ---------- header [r4]: calm and neutral (surface colour, ink text); the monthly price in plain large figures ---------- */
.gp-head {
  --on: var(--ink); --on-2: var(--muted); --veil: var(--surface-2); --veil-2: var(--line-strong);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "price" "actions"; gap: 16px;
  margin-bottom: 18px; padding: 20px 18px 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink);
}
.gp-head-main { grid-area: main; min-width: 0; }
.gp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; box-sizing: border-box; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; color: var(--muted);
  font-family: var(--f-display); font-stretch: 87.5%; text-transform: uppercase; font-feature-settings: "case" 1; margin-bottom: 6px;
}
.gp-eyebrow .ico { width: 16px; height: 16px; }
.gp-eyebrow > span { min-width: 0; overflow-wrap: anywhere; } /* a long type name wraps instead of widening the page (320px) */
.gp-head h1 { font-size: clamp(30px, 4.4vw, 50px); font-stretch: 78%; line-height: 1.04; overflow-wrap: anywhere; color: var(--ink); }
.gp-alt { color: var(--muted); font-size: 14px; margin-top: 4px; }
.gp-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.gp-sub > span { display: inline-flex; align-items: center; gap: 6px; }
.gp-sub .ico { width: 16px; height: 16px; color: var(--muted); }
.gp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gp-tag, .gp-badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2); white-space: nowrap;
}
.gp-tag .ico, .gp-badge .ico { width: 14px; height: 14px; }
.gp-tag.pass { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.gp-tag.grey { background: var(--surface-3); }
/* partner: ink pill with the accent check */
.gp-badge { background: var(--ink); color: var(--bg); }

.gp-head-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.gp-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; min-width: 40px; padding: 0 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none;
}
.gp-icon-btn:hover { border-color: var(--ink-2); }
.gp-icon-btn .ico { width: 18px; height: 18px; }
.gp-google { min-width: 0; }
.gp-icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gp-head .cmp-tg { height: 40px; padding: 0 16px; font-size: 13.5px; }

/* the price: large plain figures, then the kind and its source */
.gp-head-price { grid-area: price; min-width: 0; }
.gp-hp { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.gp-big { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.gp-big b { font-family: var(--f-display); font-stretch: 75%; font-weight: 850; font-size: 48px; letter-spacing: -.015em; }
.gp-big .cur { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 26px; }
.gp-big .unit { font-size: 16px; color: var(--muted); font-weight: 500; }
.gp-big-date { font-size: 15px; color: var(--muted); font-weight: 600; }
.gp-big.is-stale b, .gp-big.is-stale .cur { color: var(--ink-2); }
.gp-hp-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; font-size: 13.5px; line-height: 1.4; }
.gp-hp-kind { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.gp-alt-price { font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.gp-alt-price.is-stale { color: var(--muted); font-weight: 600; font-size: 16px; }
.gp-hp-src { color: var(--muted); }
.gp-hp-src .sym { font-weight: 800; margin-right: 5px; color: var(--warn); }
.gp-hp-src.ok .sym { color: var(--ok); }
.gp-hp-more { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-2); font-weight: 600; text-underline-offset: 3px; margin-top: 2px; }
.gp-hp-more .ico { width: 15px; height: 15px; }
.gp-head .gp-hp-ask { margin-top: 8px; }
.gp-head.no-price { grid-template-areas: "main" "actions"; }
@media (min-width: 901px) {
  .gp-head.no-price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "actions"; }
  .gp-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main price" "actions price"; gap: 18px 40px; padding: 28px 32px 26px; align-items: end; }
  .gp-head-main { align-self: start; }
  .gp-head-price { align-self: center; max-width: 360px; padding-left: 32px; border-left: 1px solid var(--line); }
  .gp-big b { font-size: 60px; }
  .gp-big .cur { font-size: 30px; }
  .gp-hp-kind { font-size: 16px; }
  /* the sticky sidebar's ask button is right below on desktop */
  .gp-head .gp-hp-ask { display: none; }
}

/* ---------- layout ---------- */
.gp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.gp-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gp-main { min-width: 0; display: flex; flex-direction: column; }
@media (min-width: 901px) {
  .gp-grid { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "main side"; gap: 40px; }
  .gp-side { grid-area: side; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 18px); }
  .gp-main { grid-area: main; }
}
@media (min-width: 1181px) { .gp-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } }

/* ---------- status banners ---------- */
.gp-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.gp-banner > .ico { width: 20px; height: 20px; color: var(--muted); margin-top: 1px; }
.gp-banner b { display: block; color: var(--ink); font-size: 14.5px; }
.gp-banner p { margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.gp-banner.closed { background: var(--surface); border-color: var(--ink); }
.gp-banner-sub { margin-top: 10px !important; color: var(--ink) !important; font-weight: 600; }
.gp-banner .gp-near-grid { margin-top: 8px; }
.gp-banner .gp-near-body > span { white-space: normal; } /* narrow phones: the kind and walk line wraps instead of ending in "…" */

/* ---------- the buy block: price plate, buttons, today ---------- */
.gp-buy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
@media (min-width: 901px) { .gp-buy { padding: 22px; box-shadow: var(--shadow-md); } }
.gp-plate { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gp-plate-kind { font-size: 13px; color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
.gp-plate-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 2px; }
.gp-plate-price b { font-family: var(--f-display); font-stretch: 75%; font-weight: 850; font-size: 36px; letter-spacing: -.015em; }
.gp-plate-price .cur { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 22px; }
.gp-plate.is-stale .gp-plate-price b, .gp-plate.is-stale .gp-plate-price .cur { color: var(--muted); }
/* [B5] phones: the header's disc is right above, so the sidebar's copy of the price (and of the ask button) is hidden */
@media (max-width: 900px) {
  .gp-plate.is-dup { display: none; }
  .gp-btns.ask-dup > .gp-btn-main { display: none; }
  .gp-btns:empty, .gp-btns.ask-dup:not(:has(> :not(.gp-btn-main))) { display: none; }
  .gp-buy > .gp-today:first-child, .gp-buy > .gp-btns.ask-dup:not(:has(> :not(.gp-btn-main))) + .gp-today { border-top: 0; padding-top: 0; }
}
.gp-plate-price .unit { font-size: 15px; color: var(--muted); font-weight: 500; }
.gp-plate-date { font-size: 13px; color: var(--muted); font-weight: 600; }
.gp-plate-alt { font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.gp-plate.is-stale .gp-plate-alt { color: var(--muted); font-weight: 600; font-size: 15px; }
/* desktop: the header band right above already shows the kind, the price and its source, so the sticky sidebar keeps
   only the bare price, small (it is there for when the band has scrolled away) */
@media (min-width: 901px) {
  .gp-plate.is-dup .gp-plate-kind, .gp-plate.is-dup .gp-plate-mo { display: none; }
  .gp-plate.is-dup .gp-plate-price { margin-top: 0; }
  .gp-plate.is-dup .gp-plate-price b { font-size: 24px; }
  .gp-plate.is-dup .gp-plate-price .cur { font-size: 16px; }
  .gp-plate.is-dup .gp-plate-price .unit { font-size: 14px; }
}
.gp-plate-pm { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gp-plate-none { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 26px; line-height: 1.15; }
.gp-plate-note { font-size: 13.5px; color: var(--muted); }
.gp-plate-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; font-weight: 600; margin-top: 2px; width: fit-content; }
.gp-plate-more:hover { color: var(--accent); }
.gp-plate-more .ico { width: 15px; height: 15px; }
.gp-mark { display: flex; gap: 6px; align-items: baseline; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.gp-mark .sym { font-weight: 800; flex: none; }
.gp-mark.ok .sym, .gp-sym.ok { color: var(--ok); }
.gp-mark.semi .sym, .gp-sym.semi { color: var(--warn); }
.gp-btns { display: flex; flex-direction: column; gap: 8px; }
.gp-btns-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.gp-btns-2 .btn { width: 100%; padding: 0 10px; }
.gp-btns .gp-trial { align-self: flex-start; }
.gp-btn-main { font-size: 15.5px; }
.gp-today { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.gp-today > .ico { color: var(--muted); margin-top: 2px; }
.gp-today > div { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; min-width: 0; }
.gp-open { font-weight: 700; display: inline; }
.gp-open::before { content: ""; display: inline-block; vertical-align: .12em; margin-right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--plate-grey); }
.gp-open.open { color: var(--ok); }
.gp-open.open::before { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.gp-open.closed { color: var(--ink-2); }
.gp-open.probable { font-weight: 600; }
.gp-open.unknown, .gp-open:empty { display: none; }
.gp-today-h { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gp-today-note { color: var(--muted); font-size: 13px; width: 100%; }
.gp-today-all { font-size: 13px; color: var(--muted); }

/* ---------- media ---------- */
.gp-media { margin: 0 0 6px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); aspect-ratio: 16 / 9; }
.gp-media img { width: 100%; height: 100%; object-fit: cover; }
.gp-media .fp-poster { height: 100%; }
/* [B5] no photo of its own, but an Instagram profile */
.gp-igtile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 0 0 6px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.gp-igtile:hover { border-color: var(--ink); }
.gp-igtile-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 110%, #fdd36b 0 22%, #f5743a 40%, #d6276e 62%, #8a3ab9 92%); }
.gp-igtile-ico .ico { width: 28px; height: 28px; }
.gp-igtile-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-igtile-txt b { font-size: 16px; overflow-wrap: anywhere; }
.gp-igtile-txt > span { color: var(--muted); font-size: 13.5px; }
.gp-phototag {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px);
  font-size: 12.5px; font-weight: 600; background: rgba(10, 12, 15, .72); color: #fff; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.gp-phototag .ico { width: 15px; height: 15px; }
.gp-phototag a { color: inherit; font-weight: 500; opacity: .85; }
.gp-phototag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-gallery-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 8px; position: relative; }
.gp-gallery-ph span { aspect-ratio: 4 / 3; border-radius: var(--r-sm); background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface-3) 10px 20px); }
.gp-gallery-ph p { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.gp-sec { padding-block: 24px; border-bottom: 1px solid var(--line); }
.gp-sec:last-child { border-bottom: 0; }
.gp-sec h2 { font-size: 22px; margin-bottom: 14px; }
.gp-fine { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.gp-about { color: var(--ink-2); max-width: 68ch; }
.report-link { color: var(--muted); font-size: 13px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.report-link:hover { color: var(--ink); }

.gp-prices { list-style: none; margin: 0; padding: 0; }
.gp-price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.gp-price-row:last-child { border-bottom: 0; }
.gp-price-row .lbl { color: var(--ink-2); overflow-wrap: anywhere; }
.gp-price-row .amt { text-align: right; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; }
.gp-price-row .amt b { font-size: 19px; font-weight: 800; white-space: nowrap; }
.gp-price-row .amt small { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gp-price-row.main .lbl { color: var(--ink); font-weight: 600; }
.gp-price-row.stale .lbl, .gp-price-row.stale .amt b { color: var(--muted); }
.gp-price-row.stale .amt b { font-weight: 700; }
.gp-say { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin-bottom: 8px; max-width: 64ch; }
.gp-stale-note { font-size: 14px; color: var(--muted); background: var(--surface-2); border-radius: var(--r-md); padding: 10px 13px; margin-bottom: 6px; }
.gp-mynote { font-size: 14px; font-style: italic; color: var(--ink-2); }
.gp-mynote[hidden] { display: none; }
.gp-noprice--after { margin-top: 14px; }
.gp-report { display: flex; gap: 9px; align-items: flex-start; padding-top: 22px; font-size: 14px; color: var(--muted); }
.gp-report .ico { width: 17px; height: 17px; margin-top: 2px; flex: none; }
.gp-report a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.gp-sym { font-weight: 800; text-align: center; cursor: help; }
.gp-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.gp-legend li { display: flex; gap: 8px; align-items: baseline; }
.gp-legend a { color: inherit; }
.gp-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 11px 13px; border-radius: var(--r-md); background: var(--warn-soft); color: var(--warn); font-size: 13.5px; line-height: 1.5; }
.gp-note.neutral { background: var(--surface-2); color: var(--ink-2); }
.gp-note .ico { width: 17px; height: 17px; margin-top: 1px; }
.gp-noprice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gp-noprice p { color: var(--ink-2); }

.gp-cpw { margin-top: 18px; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); }
.gp-cpw-q { font-weight: 700; margin-bottom: 10px; }
.gp-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); }
.gp-seg button { border: 0; background: transparent; height: 36px; min-width: 48px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gp-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.gp-cpw-a { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.gp-cpw-pre { margin-top: 4px; color: var(--ink-2); }
.gp-cpw-pre[hidden] { display: none; }
.gp-cpw .gp-fine { margin-top: 8px; }

.gp-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gp-lines li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.gp-lines .ico { color: var(--ok); margin-top: 3px; }
.gp-lines b { color: var(--ink); }
.gp-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.gp-services li { display: flex; align-items: center; gap: 11px; font-size: 15px; min-width: 0; }
.gp-services .ico { width: 20px; height: 20px; color: var(--ink-2); }
@media (max-width: 420px) { .gp-services { grid-template-columns: minmax(0, 1fr); } }

.gp-week { width: 100%; max-width: 460px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gp-week th, .gp-week td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 500; }
.gp-week th { color: var(--muted); width: 45%; }
.gp-week tr.today th, .gp-week tr.today td { color: var(--ink); font-weight: 700; background: var(--surface-2); }
.gp-week tr.today th { box-shadow: inset 3px 0 0 var(--accent); }
/* [B5] grouped hours: "ორშ–პარ 07:00–23:00", today's line marked */
.gp-hours { list-style: none; margin: 0; padding: 0; max-width: 460px; font-variant-numeric: tabular-nums; }
.gp-hours li { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.gp-hours .d { flex: 0 0 38%; color: var(--muted); font-weight: 600; }
.gp-hours .h { color: var(--ink-2); }
.gp-hours li.today { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.gp-hours li.today .d, .gp-hours li.today .h { color: var(--ink); font-weight: 700; }
.gp-hours li.today::after { content: "დღეს"; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--accent); }

.gp-map { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); aspect-ratio: 640 / 280; max-width: 640px; }
.gp-map img { width: 100%; height: 100%; object-fit: cover; }
/* Top right: the map credit is drawn into the image's bottom-right corner and must stay visible. */
.gp-map-hint { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); }
.gp-map-hint .ico { width: 15px; height: 15px; }
.gp-maplink { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface-2); text-decoration: none; color: var(--ink); }
.gp-maplink > .ico { width: 24px; height: 24px; color: var(--accent); }
.gp-maplink > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gp-maplink > span span { color: var(--muted); font-size: 13.5px; }
.gp-kv { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.gp-kv li { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.gp-kv .ico { color: var(--muted); margin-top: 2px; }
.gp-kv a { text-decoration: none; overflow-wrap: anywhere; }
.gp-kv a:hover { color: var(--accent); }
.gp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; align-items: center; }
.gp-links > a:first-child { display: inline-flex; gap: 5px; align-items: center; font-weight: 600; text-decoration: none; }
.gp-links .ico { width: 15px; height: 15px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gp-map img { filter: invert(.92) hue-rotate(180deg) brightness(.92) contrast(.92); } }
:root[data-theme="dark"] .gp-map img { filter: invert(.92) hue-rotate(180deg) brightness(.92) contrast(.92); }
/* The darkening filter would also turn the gym's pin (drawn into the image by tools/minimaps.js: 40×40 px at 300,100 of
   640×280) pale pink. In dark mode the pin area is shown again from the same image, unfiltered, in the pin's own shape. */
.gp-map-pin { display: none; position: absolute; left: 46.875%; top: 35.714%; width: 6.25%; height: 14.286%; border-radius: 50% 50% 50% 10%; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .55); pointer-events: none; }
.gp-map .gp-map-pin img { position: absolute; left: -750%; top: -250%; width: 1600%; height: 700%; max-width: none; object-fit: fill; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gp-map-pin { display: block; } :root:not([data-theme="light"]) .gp-map .gp-map-pin img { filter: none; } }
:root[data-theme="dark"] .gp-map-pin { display: block; }
:root[data-theme="dark"] .gp-map .gp-map-pin img { filter: none; }

/* ---------- nearby ---------- */
.gp-nearby { padding-block: 28px 8px; }
.gp-nearby-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gp-nearby-head h2 { font-size: 22px; }
.gp-more-link { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.gp-more-link .ico { width: 15px; height: 15px; }
.gp-nearby-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
/* [r3b] compare with nearby gyms: a labelled box under the "ახლოს" cards */
.gp-near-cmp {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.gp-nc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--accent-text); }
.gp-nc-ico .ico { width: 19px; height: 19px; }
.gp-nc-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-nc-tx b { font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.gp-nc-tx span { font-size: 13.5px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.btn.gp-nc-go { height: 42px; gap: 6px; white-space: nowrap; }
.btn.gp-nc-go .ico { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .gp-near-cmp { grid-template-columns: auto minmax(0, 1fr); gap: 12px 12px; }
  .btn.gp-nc-go { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
/* [r4] nearby gyms as compact rows: the real photo (else the neutral initial tile), name, kind · walk, price */
.gp-near-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.gp-near {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit;
}
.gp-near:hover { border-color: var(--line-strong); }
.gp-near-media { position: relative; flex: none; width: 88px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gp-near-media > .poster { position: absolute; inset: 0; } /* round 4b: a gym without a photo gets the small plate poster */
.gp-near-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* a chain's photo shared by its branches says so, as on the list cards */
.gp-near-tag {
  position: absolute; left: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 1px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 600;
  line-height: 1.4; color: #fff; background: rgba(8, 10, 13, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-near-media .g-tile {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; background: var(--surface-2); color: var(--ink-2);
  font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 24px; line-height: 1; box-shadow: inset 0 0 0 1px var(--line);
}
.gp-near-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.gp-near-body > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-near-body b { color: var(--ink); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-near-price { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gp-near-price b { font-size: 15px; color: var(--ink); font-weight: 800; }
.gp-near-price.is-alt { color: var(--ink-2); font-weight: 600; }
.gp-near-price.is-stale, .gp-near-date { color: var(--muted); font-weight: 500; }
.gp-near:hover b { color: var(--accent-text); }
.gp-near-grid.compact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 1181px) { .gp-near-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .gp-near-grid, .gp-near-grid.compact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* [r4] partner: the gym's own photos and its own text */
.gp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 8px; }
.gp-gallery figure { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); }
.gp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-gallery figcaption { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: rgba(10, 12, 15, .7); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-gallery figcaption a { color: inherit; }
.gp-own-ph { padding: 14px 16px; border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 14px; }

/* ---------- phone bottom bar ---------- */
.gp-bar { display: none; }
@media (max-width: 900px) {
  .gp-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; gap: 10px; align-items: center; justify-content: space-between;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .25);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    transform: translateY(110%); transition: transform .2s ease; visibility: hidden;
  }
  .gp-bar.on { transform: none; visibility: visible; }
  .gp-bar-price { min-width: 0; display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
  .gp-bar-price b { font-family: var(--f-display); font-stretch: 78%; font-size: 22px; font-weight: 850; white-space: nowrap; }
  .gp-bar-price small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gp-bar-price span { font-size: 13.5px; color: var(--muted); }
  .gp-bar-price.is-stale b { color: var(--muted); }
  .gp-bar-btns { display: flex; gap: 8px; flex: none; }
  .gp-bar-btns .btn { height: 44px; }
  .gp-bar-tel { width: 42px; padding: 0; }
  /* [r4] the compare control ("+ შედარება" / "✓ შედარებაშია") and, with 2+ marked, the link "შეადარე (n) →" */
  .gp-bar-cmp { height: 44px; min-width: 44px; padding: 0 12px; gap: 5px; font-size: 13.5px; border-radius: 999px; }
  .gp-bar .gp-bar-go { color: var(--accent-text); border-color: currentColor; }
  .gp-bar-price b { flex: none; }
  .gp-bar-price.is-alt span { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gp-bar-price.is-stale span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gp-go-w { white-space: nowrap; }
  .gp-bar-go .ico { width: 17px; height: 17px; }
  /* an old monthly price: its month under the figure, so it is never cut off */
  .gp-bar-price.is-old { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.1; }
  /* the shortlist tray (and the footer's end) sits above the bar, not under it */
  body.gp-bar-on { --tray-offset: 64px; }
  body.gp-bar-on .site-footer { padding-bottom: 150px; }
}
@media (min-width: 431px) and (max-width: 900px) {
  /* the bar carries the compare link, so the shortlist tray steps aside while the bar shows */
  body.gp-bar-on.gp-cmp-go .save-tray { display: none !important; }
}
@media (max-width: 430px) {
  /* phones: no room for the compare control next to the price and the contact buttons. The bar keeps the price and
     contacts (as in round 2); comparing stays with the "+ შედარება" at the top of the page and the shortlist tray above the bar. */
  .gp-bar .gp-bar-cmp { display: none !important; }
  /* the price unit ("/ თვე") goes under the figure when there is no room beside it; a long one-line price ends in "…" */
  .gp-bar-price { flex-wrap: wrap; column-gap: 5px; row-gap: 0; line-height: 1.15; }
  .gp-bar-price > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .gp-crumbs { padding-block: 10px 6px; font-size: 12.5px; }
  .gp-head { margin-bottom: 14px; padding: 16px; border-radius: var(--r-md); gap: 14px; }
  .gp-head [data-share-lbl] { display: none; }
  /* the compare control and share sit in the header's top-right corner, level with the category line; Google gets the
     actions row. Room for share (38) + gap + the pressed "✓ შედარებაშია" pill (~140) */
  .gp-eyebrow { min-height: 38px; margin-bottom: 2px; padding-right: 180px; }
  .gp-eyebrow .ico { display: none; }
  .gp-head-actions { gap: 6px; }
  .gp-icon-btn { padding: 0; width: 38px; height: 38px; min-width: 38px; flex: none; }
  .gp-head .cmp-tg { position: absolute; top: 16px; right: 60px; height: 38px; padding: 0 12px; font-size: 12.5px; }
  .gp-head [data-share] { position: absolute; top: 16px; right: 16px; }
  .gp-big b { font-size: 46px; }
  .gp-icon-btn.gp-google { width: auto; padding: 0 14px; font-size: 13px; }
  .gp-sub { font-size: 13.5px; }
  .gp-grid { gap: 14px; }
  .gp-buy { padding: 16px; gap: 12px; }
  .gp-plate-price b { font-size: 42px; }
  .gp-media { aspect-ratio: 16 / 10; }
  .gp-sec { padding-block: 20px; }
  .gp-sec h2 { font-size: 20px; }
}
/* the narrowest phones: a smaller compare control, so the category line keeps some width */
@media (max-width: 374px) {
  .gp-eyebrow { padding-right: 180px; }
  .gp-head .cmp-tg { padding: 0 10px; font-size: 12.5px; }
}
