/* Marim tour components v1.0. Structure only: colours, radius and fonts come from tokens.
   Type sizes follow marim-playbook/TYPOGRAPHY.md (card title 18-20, price 20+, facts >=15, controls >=16, labels >=13, never under 12). */

:root {
  --tc-ink: #12262c;
  --tc-ink-soft: #3f5258;          /* 8.2:1 on white */
  --tc-paper: #fff;
  --tc-surface: #f4f1ea;
  --tc-line: rgba(18, 38, 44, .16);
  --tc-accent: #3fd0d4;             /* brand accent: fills, rings, never text on white */
  --tc-accent-ink: #062a2e;         /* text on accent */
  --tc-action: #0a676d;             /* buttons: white text = 6.9:1 */
  --tc-action-ink: #fff;
  --tc-link: #0a676d;
  --tc-star: #f2a900;
  --tc-ok: #1b6b3a;
  --tc-no: #8f2f2f;
  --tc-radius: 16px;
  --tc-radius-sm: 10px;
  --tc-shadow: 0 1px 2px rgba(18, 38, 44, .06), 0 8px 28px rgba(18, 38, 44, .08);
  --tc-pad: 16px;
  --tc-max: 1200px;
  --tc-sticky-top: 0px;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", var(--font-ui);
}
@media (min-width: 760px) { :root { --tc-pad: 28px; } }

.tc-detail, .tc-card, .tc-grid { font-family: var(--font-ui); color: var(--tc-ink); }
.tc-detail *, .tc-card * { box-sizing: border-box; }
.tc-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.tc-locked { overflow: hidden; }
.tc-wrap { width: 100%; max-width: var(--tc-max); margin: 0 auto; padding-inline: var(--tc-pad); }
.tc-i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tc-sample { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px dashed #8a5a00; border-radius: 6px; background: #fff7e0; color: #6b4500; font: 600 13px/1.3 var(--font-ui); vertical-align: middle; }
:focus-visible { outline: 3px solid var(--tc-action); outline-offset: 2px; }

/* ---------- buttons ---------- */
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.tc-btn--primary { background: var(--tc-action); color: var(--tc-action-ink); }
.tc-btn--primary:hover { background: #07525a; }
.tc-btn--line { background: var(--tc-paper); color: var(--tc-ink); border-color: var(--tc-line); }
.tc-btn--line:hover { border-color: var(--tc-ink); }
.tc-btn--light { background: rgba(255, 255, 255, .96); color: var(--tc-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.tc-btn--block { width: 100%; }
.tc-link { color: var(--tc-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- rating ---------- */
.tc-rating { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.3 var(--font-ui); color: var(--tc-ink); flex-wrap: wrap; }
.tc-rating b { font-size: 15px; font-variant-numeric: tabular-nums; }
.tc-count { color: var(--tc-ink-soft); font-weight: 600; }
.tc-stars { position: relative; display: inline-block; width: 82px; height: 16px; line-height: 0; flex: none; }
.tc-stars-bg, .tc-stars-fg { position: absolute; left: 0; top: 0; display: flex; gap: 1px; height: 16px; white-space: nowrap; overflow: hidden; }
.tc-stars svg { width: 16px; height: 16px; flex: none; }
.tc-stars-bg svg { fill: #d9d5c9; }
.tc-stars-fg svg { fill: var(--tc-star); }
.tc-glogo { flex: none; }
.tc-src { font-weight: 600; color: var(--tc-ink-soft); }
.tc-rating--lg { font-size: 16px; }
.tc-rating--lg .tc-stars { transform-origin: left; }

/* ---------- card ---------- */
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 20px; }
.tc-grid--rail { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tc-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--tc-paper); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tc-card:hover { box-shadow: var(--tc-shadow); }
.tc-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.tc-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tc-surface); }
.tc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tc-card:hover .tc-card-media img { transform: scale(1.04); }
.tc-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-badges--flow { position: static; padding: 12px 16px 0; }
.tc-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--tc-ink); font: 600 13px/1.2 var(--font-ui); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tc-badge .tc-i { width: 15px; height: 15px; }
.tc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 12px; flex: 1; }
.tc-card-kicker { color: var(--tc-link); font: 600 14px/1.3 var(--font-ui); }
.tc-card-title { font: 700 clamp(18px, 1.05rem + .3vw, 20px)/1.25 var(--font-ui); letter-spacing: -.005em; }
.tc-card-line { color: var(--tc-ink-soft); font: 400 16px/1.4 var(--font-ui); }
.tc-card-ratingrow { display: block; }
.tc-card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--tc-ink-soft); font: 400 15px/1.3 var(--font-ui); }
.tc-cf { display: inline-flex; align-items: center; gap: 5px; }
.tc-cf .tc-i { width: 17px; height: 17px; }
.tc-cf--langs { gap: 4px; }
.tc-flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); flex: none; }
.tc-card-note { display: flex; align-items: center; gap: 6px; color: var(--tc-ok); font: 600 15px/1.3 var(--font-ui); }
.tc-card-note .tc-i { width: 18px; height: 18px; }
.tc-card-foot { padding: 12px 16px 16px; border-top: 1px solid var(--tc-line); display: flex; flex-direction: column; gap: 10px; background: var(--tc-paper); }
.tc-card-times[hidden] { display: none; }
.tc-times-r { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tc-time, .tc-slot { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding: 8px 14px; border: 1.5px solid var(--tc-action); border-radius: 10px; background: var(--tc-paper); color: var(--tc-action); font: 600 16px/1 var(--font-ui); font-variant-numeric: tabular-nums; text-decoration: none; }
.tc-time:hover, .tc-slot:hover { background: var(--tc-action); color: var(--tc-action-ink); }
.tc-times-more { font: 600 14px/1 var(--font-ui); color: var(--tc-ink-soft); }
.tc-card-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tc-card-price { font-variant-numeric: tabular-nums; line-height: 1.15; }
.tc-card-price b { font: 700 clamp(20px, 1.2rem + .4vw, 24px)/1.1 var(--font-ui); }
.tc-from, .tc-unit { font: 600 14px/1.2 var(--font-ui); color: var(--tc-ink-soft); }
.tc-card-dur { display: inline-flex; align-items: center; gap: 6px; color: var(--tc-ink-soft); font: 600 15px/1.2 var(--font-ui); white-space: nowrap; padding-bottom: 2px; }
.tc-card-dur .tc-i { width: 18px; height: 18px; }

/* ---------- gallery / hero ---------- */
.tc-gallery { position: relative; width: 100%; background: var(--tc-ink); }
.tc-gall-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; max-height: 62vh; }
.tc-gall-grid::-webkit-scrollbar { display: none; }
.tc-g { flex: 0 0 100%; scroll-snap-align: center; display: block; position: relative; overflow: hidden; }
.tc-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-gall-all { position: absolute; right: 12px; bottom: 12px; min-height: 44px; }
.tc-gall-count { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 24, 28, .82); color: #fff; font: 600 14px/1.3 var(--font-ui); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .tc-gall-grid { display: grid; gap: 4px; overflow: hidden; aspect-ratio: auto; height: clamp(360px, 46vw, 560px); max-height: none; scroll-snap-type: none; }
  .tc-gallery--1 .tc-gall-grid { grid-template-columns: 1fr; }
  .tc-gallery--2 .tc-gall-grid { grid-template-columns: 1fr 1fr; }
  .tc-gallery--3 .tc-gall-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .tc-gallery--3 .tc-g0 { grid-row: 1 / 3; }
  .tc-gallery--4 .tc-gall-grid, .tc-gallery--5 .tc-gall-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .tc-gallery--4 .tc-g0, .tc-gallery--5 .tc-g0 { grid-row: 1 / 3; }
  .tc-gall-count { display: none; }
  .tc-g { flex: none; }
}
.tc-lightbox { border: 0; padding: 0; background: rgba(6, 16, 20, .96); color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.tc-lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; grid-template-rows: 1fr auto; align-items: center; }
.tc-lightbox img { grid-column: 2; grid-row: 1; max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; }
.tc-lightbox button { background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.tc-lightbox .tc-i { width: 24px; height: 24px; }
.tc-lb-x { position: absolute; right: 12px; top: 12px; }
.tc-lb-p { grid-column: 1; grid-row: 1; justify-self: center; }
.tc-lb-n2 { grid-column: 3; grid-row: 1; justify-self: center; }
.tc-lb-n { grid-column: 1 / 4; text-align: center; margin: 0 0 14px; font: 600 15px/1.3 var(--font-ui); }
::backdrop { background: rgba(6, 16, 20, .96); }

/* ---------- head ---------- */
.tc-head { padding: 16px 0 8px; }
.tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 12px; font: 400 15px/1.4 var(--font-ui); color: var(--tc-ink-soft); }
.tc-crumbs a { color: var(--tc-ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.tc-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; font: 600 14px/1.3 var(--font-ui); color: var(--tc-link); }
.tc-eyebrow .tc-badge { border: 1px solid var(--tc-line); box-shadow: none; background: var(--tc-surface); color: var(--tc-ink); }
.tc-title { margin: 0; font: 700 clamp(30px, 1.4rem + 2.2vw, 46px)/1.12 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.tc-sub { margin: 8px 0 0; font: 400 clamp(17px, 1rem + .4vw, 20px)/1.45 var(--font-ui); color: var(--tc-ink-soft); max-width: 62ch; }
.tc-ratingrow { margin: 12px 0 0; }
.tc-factsbar { list-style: none; margin: 18px 0 0; padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--tc-surface); border-radius: var(--tc-radius); }
.tc-factsbar li { align-content: start; display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: start; min-width: 0; }
.tc-factsbar .tc-i { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--tc-action); margin-top: 2px; }
.tc-fact-l { font: 600 14px/1.3 var(--font-ui); color: var(--tc-ink-soft); }
.tc-fact-v { font: 600 16px/1.35 var(--font-ui); }
@media (min-width: 900px) { .tc-factsbar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 18px 22px; } }

/* ---------- layout ---------- */
.tc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; align-items: start; }
.tc-aside { order: -1; margin-top: 8px; }
@media (min-width: 960px) {
  .tc-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .tc-aside { order: 0; position: sticky; top: calc(var(--tc-sticky-top) + 72px); margin-top: 24px; }
}
.tc-main { min-width: 0; }
.tc-sections { position: sticky; top: var(--tc-sticky-top); z-index: 5; background: var(--tc-paper); border-bottom: 1px solid var(--tc-line); margin: 8px calc(var(--tc-pad) * -1) 0; padding: 0 var(--tc-pad); }
.tc-sections-track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.tc-sections-track::-webkit-scrollbar { display: none; }
.tc-sections a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; color: var(--tc-ink); font: 600 16px/1.2 var(--font-ui); text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.tc-sections a[aria-current="true"] { background: var(--tc-ink); color: #fff; }
.tc-sections a:hover { border-color: var(--tc-line); }
.tc-sec { padding: 28px 0; border-bottom: 1px solid var(--tc-line); scroll-margin-top: 72px; }
.tc-sec:last-child { border-bottom: 0; }
.tc-sec h2, .tc-related h2 { margin: 0 0 16px; font: 700 clamp(26px, 1.2rem + 1.2vw, 36px)/1.15 var(--font-display); letter-spacing: -.01em; }
.tc-sec h3 { margin: 0 0 8px; font: 700 20px/1.25 var(--font-ui); }
.tc-sec p { margin: 0 0 14px; font: 400 17px/1.6 var(--font-ui); max-width: 65ch; }
.tc-lede { font-size: 19px !important; line-height: 1.55 !important; color: var(--tc-ink); }

/* checks */
.tc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 28px; }
.tc-checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font: 400 17px/1.45 var(--font-ui); align-items: start; }
.tc-checks .tc-i { width: 22px; height: 22px; margin-top: 1px; }
.tc-checks--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .tc-checks--2 { grid-template-columns: 1fr 1fr; } }
.tc-checks--yes .tc-i { color: var(--tc-ok); stroke-width: 2.4; }
.tc-checks--no .tc-i { color: var(--tc-no); stroke-width: 2.4; }
.tc-checks--plain .tc-i { color: var(--tc-action); }
.tc-checks:not(.tc-checks--plain):not(.tc-checks--no) .tc-i { color: var(--tc-ok); }
.tc-two { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tc-two:not(.tc-two--one) { grid-template-columns: 1fr 1fr; } }
.tc-more { margin: 4px 0 0; }
.tc-more summary, .tc-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font: 600 16px/1.35 var(--font-ui); }
.tc-more summary { color: var(--tc-link); justify-content: flex-start; }
.tc-more summary::-webkit-details-marker, .tc-faq summary::-webkit-details-marker { display: none; }
.tc-more[open] summary .tc-i, .tc-faq details[open] summary .tc-i { transform: rotate(180deg); }
.tc-more p { margin-top: 10px; }

/* timeline */
.tc-timeline { list-style: none; margin: 0; padding: 0; }
.tc-timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding-bottom: 22px; }
.tc-timeline li::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: -4px; width: 2px; background: var(--tc-line); }
.tc-timeline li:last-child::before { display: none; }
.tc-timeline li::after { content: ""; position: absolute; left: 70px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--tc-paper); border: 3px solid var(--tc-action); }
.tc-tl-time { font: 700 17px/1.4 var(--font-ui); font-variant-numeric: tabular-nums; text-align: right; color: var(--tc-ink); }
.tc-timeline li > div { padding-left: 28px; }
.tc-timeline h3 { margin: 0 0 4px; font-size: 18px; }
.tc-timeline p { margin: 0 0 6px; }
.tc-tl-dur { display: inline-flex; align-items: center; gap: 6px; color: var(--tc-ink-soft); font: 600 14px/1.3 var(--font-ui); }
.tc-tl-dur .tc-i { width: 16px; height: 16px; }

/* meeting point */
.tc-meet { display: grid; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); overflow: hidden; }
.tc-map { position: relative; aspect-ratio: 1280 / 672; background: var(--tc-surface); min-height: 200px; }
.tc-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; background: var(--tc-action); transform: rotate(-45deg); box-shadow: 0 0 0 6px rgba(63, 208, 212, .35); }
.tc-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.tc-map-chip { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .96); font: 600 15px/1.3 var(--font-ui); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tc-credit { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .88); font: 400 13px/1.3 var(--font-ui); color: #333; }
.tc-meet-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; align-items: flex-start; }
.tc-meet-card b { font: 700 19px/1.3 var(--font-ui); }
.tc-meet-card > span { font: 400 17px/1.5 var(--font-ui); max-width: 60ch; }
.tc-meet-card dl { margin: 6px 0 8px; display: grid; gap: 10px; }
.tc-meet-card dt { font: 600 14px/1.3 var(--font-ui); color: var(--tc-ink-soft); }
.tc-meet-card dd { margin: 0; font: 400 16px/1.5 var(--font-ui); }
@media (min-width: 760px) { .tc-meet:not(.tc-meet--nomap) { grid-template-columns: 1.3fr 1fr; } .tc-meet .tc-map { aspect-ratio: auto; min-height: 280px; } }

/* options, callout, host */
.tc-options { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tc-options { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.tc-option { padding: 18px; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: var(--tc-paper); }
.tc-option-kind { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--tc-surface); font: 600 14px/1.4 var(--font-ui); }
.tc-option h3 { font-size: 19px; }
.tc-option p { font-size: 16px; margin-bottom: 8px; }
.tc-option-bits { color: var(--tc-ink-soft); }
.tc-option-price b { font: 700 22px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; }
.tc-option-price small { font: 600 14px/1.2 var(--font-ui); color: var(--tc-ink-soft); }
.tc-callout { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 18px; border-radius: var(--tc-radius); background: #eaf6f6; margin-top: 8px; }
.tc-callout .tc-i { width: 26px; height: 26px; color: var(--tc-action); }
.tc-callout h3 { font-size: 18px; margin-bottom: 4px; }
.tc-callout p { margin: 0; font-size: 16px; }

/* reviews */
.tc-revsum { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); margin-bottom: 18px; flex-wrap: wrap; }
.tc-bigscore { display: flex; align-items: baseline; gap: 2px; }
.tc-bigscore b { font: 700 44px/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.tc-bigscore span { font: 600 16px/1 var(--font-ui); color: var(--tc-ink-soft); }
.tc-scope { margin: 6px 0 4px !important; font-size: 15px !important; color: var(--tc-ink-soft); }
.tc-revlist { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tc-revlist { grid-template-columns: 1fr 1fr; } }
.tc-rev { margin: 0; padding: 18px; border-radius: var(--tc-radius); background: var(--tc-surface); display: flex; flex-direction: column; gap: 10px; }
.tc-rev blockquote { margin: 0; }
.tc-rev p { margin: 0; font-size: 17px; }
.tc-rev figcaption { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; font: 400 15px/1.4 var(--font-ui); color: var(--tc-ink-soft); }
.tc-rev figcaption b { color: var(--tc-ink); font-weight: 700; }

/* faq */
.tc-faq details { border-bottom: 1px solid var(--tc-line); }
.tc-faq details:first-child { border-top: 1px solid var(--tc-line); }
.tc-faq summary { padding: 8px 0; font-size: 17px; font-weight: 700; }
.tc-faq-a p { margin: 0 0 14px; font-size: 17px; }

/* ---------- booking card ---------- */
.tc-book { padding: 20px; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); background: var(--tc-paper); box-shadow: var(--tc-shadow); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; }
.tc-book-head { display: flex; flex-direction: column; gap: 2px; }
.tc-book-sub { margin: 0; font: 600 15px/1.4 var(--font-ui); color: var(--tc-ink-soft); }
.tc-book-price b { font: 700 32px/1.1 var(--font-ui); font-variant-numeric: tabular-nums; }
.tc-book-free { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--tc-ok); font: 600 15px/1.3 var(--font-ui); }
.tc-book-free .tc-i { width: 20px; height: 20px; }
.tc-book-label { margin: 4px 0 -4px; font: 600 14px/1.3 var(--font-ui); color: var(--tc-ink-soft); }
.tc-book-status { margin: 0; font: 400 15px/1.45 var(--font-ui); color: var(--tc-ink-soft); }
.tc-book-status:empty { display: none; }
.tc-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tc-pill { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 70px; padding: 6px 2px; border: 1.5px solid var(--tc-line); border-radius: 12px; background: var(--tc-paper); color: var(--tc-ink); cursor: pointer; font-family: var(--font-ui); min-width: 0; }
.tc-pill small { font: 600 13px/1.25 var(--font-ui); color: var(--tc-ink-soft); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pill b { font: 700 20px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; }
.tc-pill[aria-pressed="true"] { background: var(--tc-ink); border-color: var(--tc-ink); color: #fff; }
.tc-pill[aria-pressed="true"] small { color: #e6eef0; }
.tc-moredates { width: 100%; }
.tc-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-month { display: grid; gap: 14px; padding: 12px; border: 1px solid var(--tc-line); border-radius: 12px; }
.tc-month[hidden] { display: none; }
.tc-mo-t { margin: 0 0 6px; font: 700 16px/1.3 var(--font-ui); }
.tc-mo-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tc-day { min-height: 40px; display: grid; place-items: center; border-radius: 8px; border: 0; background: #e3f4f4; color: var(--tc-ink); font: 700 16px/1 var(--font-ui); cursor: pointer; font-variant-numeric: tabular-nums; }
.tc-day.is-off { background: transparent; color: #5b6b70; text-decoration: line-through; font-weight: 400; cursor: default; }
.tc-req { display: grid; gap: 12px; }
.tc-req label { display: grid; gap: 4px; font: 600 14px/1.3 var(--font-ui); color: var(--tc-ink-soft); }
.tc-req input { min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--tc-line); border-radius: 10px; font: 400 16px/1.2 var(--font-ui); color: var(--tc-ink); }

/* ---------- sticky bar (mobile) ---------- */
.tc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--tc-pad) max(10px, env(safe-area-inset-bottom)); background: var(--tc-paper); border-top: 1px solid var(--tc-line); box-shadow: 0 -6px 24px rgba(18, 38, 44, .12); transform: translateY(110%); transition: transform .25s; }
.tc-sticky.is-on { transform: none; }
.tc-sticky small { display: block; color: var(--tc-ink-soft); font: 600 14px/1.2 var(--font-ui); }
.tc-sticky b { font: 700 20px/1.2 var(--font-ui); font-variant-numeric: tabular-nums; }
.tc-sticky .tc-btn { min-width: 140px; }
@media (min-width: 960px) { .tc-sticky { display: none; } }
@media (max-width: 959px) { .tc-detail { padding-bottom: 76px; } }

/* ---------- related ---------- */
.tc-related { padding: 40px 0 56px; background: var(--tc-surface); margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { .tc-card, .tc-card-media img, .tc-sticky { transition: none; } .tc-card:hover .tc-card-media img { transform: none; } }

/* Whole-card native link; departure and recovery controls remain separate targets. */
.tc-card-link::after {content:"";position:absolute;inset:0;z-index:1;cursor:pointer;}
.tc-card-link:focus-visible {outline:none;}
.tc-card-link:focus-visible::after {outline:3px solid var(--tc-link);outline-offset:-4px;border-radius:var(--tc-radius);}
.tc-card-times a,.tc-card-times button {position:relative;z-index:2;}
