/* Mobile Collab Board + Trip Detail
 * Responsive variant of #live-collab-board for viewports <768px.
 * Visual design locked from airmango_mobile_collab_board_and_trip_detail.html
 * — pixel/copy/structure must not change.
 *
 * Class prefix: .m-lcb-* (mobile live collab board) — no collision with the
 * existing desktop .lcb-* classes.
 */

/* ─── Visibility toggling ────────────────────────────────────────────── */

/* Default: hide mobile DOM. Mobile breakpoint flips it on. */
#m-view-board, #m-view-detail, .m-lcb-only { display: none; }

@media (max-width: 767px) {
  /* Hide the desktop board + detail entirely on phone viewports */
  #view-board, #view-detail { display: none !important; }
  .m-lcb-only { display: revert; }

  /* Show the mobile board by default; show detail when body.show-detail */
  #m-view-board { display: block; }
  #m-view-detail { display: none; }
  body.show-detail #m-view-board { display: none; }
  body.show-detail #m-view-detail { display: block; }

  /* The shared mobile header (/css/site-header.css + /js/site-header.js)
     replaces the desktop chrome on phones; the site footer stays hidden
     so the mobile board's own dropbar is the only bottom navigation. */
  body > footer.site-footer {
    display: none !important;
  }
}

/* ─── Page-level mobile container ───────────────────────────────────── */

.m-lcb-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #000;
  min-height: 100vh;
  padding-bottom: 96px; /* room for sticky bottom bar */
}

/* Topbar + drawer styles moved to /css/site-header.css. */

/* ─── Eyebrow + headline ───────────────────────────────────────────── */

.m-lcb-hero {
  padding: 16px 16px 14px;
}
.m-lcb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #fef0f3;
  border-radius: 100px;
  margin-bottom: 10px;
}
.m-lcb-eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8475F;
}
.m-lcb-eyebrow-text {
  font-size: 10px;
  color: #E8475F;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.m-lcb-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
  color: #000;
  letter-spacing: -0.5px;
}
.m-lcb-title-accent {
  color: var(--accent, #E8366D);
}
.m-lcb-lead {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #777;
  margin: 0 0 10px;
}
.m-lcb-wishlist {
  font-size: 12px;
  color: #E8475F;
  font-weight: 500;
  margin: 0;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

/* ─── Date range row (mirrors creator panel) ───────────────────────── */

.m-lcb-controls-dates {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 10px;
  flex-wrap: wrap;
}
.m-lcb-date-input {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  color: #2c2c2c;
  flex: 1 1 130px;
  min-width: 0;
}
.m-lcb-date-input-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
}
.m-lcb-date-input input[type="date"] {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0;
  outline: none;
  width: 100%;
  min-width: 0;
}
.m-lcb-date-arrow {
  color: #888;
  font-size: 12px;
}
.m-lcb-controls-clear {
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}

/* ─── Filter chips ─────────────────────────────────────────────────── */

.m-lcb-filters {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-lcb-filters::-webkit-scrollbar { display: none; }
.m-lcb-filter-chip {
  padding: 6px 12px;
  background: #fff;
  color: #555;
  border: 0.5px solid #ddd;
  border-radius: 100px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 400;
}
.m-lcb-filter-chip.is-active {
  background: #000;
  color: #fff;
  font-weight: 500;
  border-color: #000;
}
.m-lcb-filter-count {
  font-size: 10px;
}
.m-lcb-filter-chip:not(.is-active) .m-lcb-filter-count {
  color: #E8475F;
  font-weight: 500;
}
.m-lcb-filter-chip.is-active .m-lcb-filter-count {
  background: rgba(255,255,255,0.25);
  padding: 1px 6px;
  border-radius: 100px;
}

/* ─── Trip rows ────────────────────────────────────────────────────── */

.m-lcb-rows {
  padding: 0 16px;
}
.m-lcb-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.m-lcb-row.is-claimed {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.m-lcb-row:last-child {
  border-bottom: 0;
}
.m-lcb-row-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #1a2940, #4a3a52);
}
.m-lcb-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-lcb-row-thumb-aurora {
  position: absolute;
  top: 30%;
  left: -10%;
  width: 130%;
  height: 25%;
  background: linear-gradient(90deg, transparent, #5dcaa5, transparent);
  opacity: 0.5;
  transform: rotate(-8deg);
  filter: blur(4px);
}
.m-lcb-row-thumb-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: #0a0a0a;
  clip-path: polygon(0 100%, 0 60%, 30% 30%, 60% 50%, 100% 35%, 100% 100%);
}
.m-lcb-row-body {
  flex: 1;
  min-width: 0;
}
.m-lcb-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.m-lcb-row-newpill {
  padding: 1px 6px;
  background: #fef0f3;
  color: #E8475F;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.m-lcb-row-meta-text {
  font-size: 10px;
  color: #888;
}
.m-lcb-row-title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  color: #000;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-lcb-row-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #666;
}
.m-lcb-row-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.m-lcb-row-status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.m-lcb-row-status-dot.is-open    { background: #1d9e75; }
.m-lcb-row-status-dot.is-1spot   { background: #BA7517; }
.m-lcb-row-status-dot.is-claimed { background: #999; }
.m-lcb-row-status-sep {
  color: #ddd;
}
.m-lcb-row-chev {
  flex-shrink: 0;
  align-self: center;
  color: #999;
}

/* ─── Empty + loading states ──────────────────────────────────────── */

.m-lcb-empty,
.m-lcb-loading,
.m-lcb-error {
  padding: 40px 24px;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.m-lcb-error a {
  color: #E8475F;
  font-weight: 500;
}
.m-lcb-skeleton {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid #f0f0f0;
}
.m-lcb-skeleton-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: m-lcb-shimmer 1.4s infinite;
}
.m-lcb-skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}
.m-lcb-skeleton-line {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: m-lcb-shimmer 1.4s infinite;
}
.m-lcb-skeleton-line:nth-child(1) { width: 40%; }
.m-lcb-skeleton-line:nth-child(2) { width: 80%; }
.m-lcb-skeleton-line:nth-child(3) { width: 60%; }
@keyframes m-lcb-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Bottom drop counter ─────────────────────────────────────────── */

.m-lcb-dropbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 0.5px solid #eee;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 12px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}
.m-lcb-dropbar-meta-line1 {
  font-size: 11px;
  color: #888;
  margin: 0;
}
.m-lcb-dropbar-meta-line2 {
  font-size: 12px;
  color: #000;
  margin: 0;
  font-weight: 500;
}
.m-lcb-apply-btn {
  padding: 14px 22px;
  background: #E8475F;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ─── Trip detail view ────────────────────────────────────────────────────
   Layout adopted from the reference template (mobile trip detail, hero +
   facts grid + day-by-day cards + content brief + covered/not-covered +
   operator cards + sticky CTA). Hex palette is scoped to .m-lcb-detail-*
   so the rest of the v2 creator surface keeps its #e8366d brand pink. */

.m-lcb-detail {
  --md-pink: #E8366D;
  --md-pink-dark: #c92d5b;
  --md-pink-soft: #FDF2F8;
  --md-pink-border: #FBCFE8;
  --md-ink: #111;
  --md-ink-2: #333;
  --md-ink-3: #555;
  --md-ink-4: #777;
  --md-line: #ececec;
  --md-line-2: #f0f0f0;
  --md-bg-soft: #fafafa;
  --md-green: #10B981;
  --md-amber: #B45309;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--md-ink);
  min-height: 100vh;
  padding-bottom: 96px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── Hero gallery ───────────────────────────────────────────────── */

.m-lcb-detail-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #ddd;
  overflow: hidden;
}
.m-lcb-detail-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.m-lcb-detail-hero-track::-webkit-scrollbar { display: none; }
.m-lcb-detail-hero-track > .m-lcb-detail-hero-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  background: #1a2940;
}
.m-lcb-detail-hero-track > .m-lcb-detail-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-lcb-detail-hero-track > .m-lcb-detail-hero-slide.is-fallback {
  background: linear-gradient(180deg, #1a2940 0%, #4a3a52 100%);
}
.m-lcb-detail-hero-actions {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}
.m-lcb-detail-hero-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 0;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.m-lcb-detail-hero-reftag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.m-lcb-detail-hero-reftag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--md-pink);
}
.m-lcb-detail-hero-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.m-lcb-detail-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.m-lcb-detail-hero-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  transition: width 200ms ease, background 200ms ease;
}
.m-lcb-detail-hero-dots .dot.is-active {
  width: 18px;
  background: #fff;
}
.m-lcb-detail-hero-dots[aria-hidden="true"] { display: none; }

/* ─── Content container ──────────────────────────────────────────── */

.m-lcb-detail-content {
  padding: 0;
}

/* ─── Inspiration callout ────────────────────────────────────────── */

.m-lcb-detail-inspiration {
  margin: 16px;
  background: var(--md-pink-soft);
  border: 1px solid var(--md-pink-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 12px;
}
.m-lcb-detail-inspiration-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--md-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-top: 1px;
}
.m-lcb-detail-inspiration-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--md-ink);
  margin: 0 0 4px;
  line-height: 1.35;
}
.m-lcb-detail-inspiration-text {
  font-size: 13px;
  color: var(--md-ink-3);
  line-height: 1.55;
  margin: 0;
}

/* ─── Title block + meta pills ───────────────────────────────────── */

.m-lcb-detail-titleblock {
  padding: 4px 18px 18px;
}
.m-lcb-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.m-lcb-detail-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--md-ink-2);
  letter-spacing: 0.02em;
}
.m-lcb-detail-meta-pill.is-code {
  background: var(--md-bg-soft);
  font-family: 'Inter', monospace;
  text-transform: uppercase;
}
.m-lcb-detail-meta-pill.is-urgent {
  background: var(--md-pink-soft);
  border-color: var(--md-pink-border);
  color: var(--md-pink-dark);
}
.m-lcb-detail-meta-pill.is-status {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.m-lcb-detail-meta-pill.is-status.is-1spot {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.m-lcb-detail-meta-pill.is-status.is-1spot .m-lcb-detail-meta-pill-dot { background: #ea580c; }
.m-lcb-detail-meta-pill.is-status.is-claimed {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #4b5563;
}
.m-lcb-detail-meta-pill.is-status.is-claimed .m-lcb-detail-meta-pill-dot { background: #9ca3af; }
.m-lcb-detail-meta-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--md-pink);
}
.m-lcb-detail-meta-pill-dot.is-green {
  background: var(--md-green);
}
.m-lcb-detail-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--md-ink);
}
.m-lcb-detail-tagline {
  font-size: 15px;
  color: var(--md-ink-3);
  line-height: 1.5;
  margin: 0;
}

/* ─── Facts grid ─────────────────────────────────────────────────── */

.m-lcb-detail-facts {
  margin: 0 18px 24px;
  border-top: 1px solid var(--md-line-2);
  border-bottom: 1px solid var(--md-line-2);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.m-lcb-detail-fact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--md-ink-4);
  margin-bottom: 4px;
}
.m-lcb-detail-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--md-ink);
  line-height: 1.35;
}
.m-lcb-detail-fact-sub {
  font-weight: 400;
  color: var(--md-ink-3);
  font-size: 13px;
  display: block;
  margin-top: 2px;
}

/* ─── Section headers ────────────────────────────────────────────── */

.m-lcb-detail-section {
  padding: 8px 18px 24px;
}
.m-lcb-detail-h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--md-ink);
}
.m-lcb-detail-h2-accent {
  color: var(--md-pink);
}
.m-lcb-detail-section-lede {
  font-size: 14px;
  color: var(--md-ink-3);
  margin: 0 0 16px;
  line-height: 1.55;
}
.m-lcb-detail-divider {
  height: 8px;
  background: var(--md-bg-soft);
  margin: 8px 0 16px;
}

/* ─── Day by day cards ───────────────────────────────────────────── */

.m-lcb-detail-itinerary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.m-lcb-detail-day {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}
.m-lcb-detail-day-image {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  position: relative;
  overflow: hidden;
}
.m-lcb-detail-day-image-ref {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.7);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.m-lcb-detail-day-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--md-pink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
}
.m-lcb-detail-day-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--md-ink);
}
.m-lcb-detail-day-desc {
  font-size: 13px;
  color: var(--md-ink-3);
  line-height: 1.5;
  margin: 0 0 8px;
}
.m-lcb-detail-day-desc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.m-lcb-detail-day-desc.is-expanded .m-lcb-detail-day-desc-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.m-lcb-detail-day-desc-toggle {
  margin-top: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--md-pink);
  cursor: pointer;
}
.m-lcb-detail-day-desc-toggle[hidden] { display: none; }
.m-lcb-detail-day-stops-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.m-lcb-detail-day-stops {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 28px;
  overflow: hidden;
}
.m-lcb-detail-day-stops-wrap.is-expanded .m-lcb-detail-day-stops {
  max-height: none;
  overflow: visible;
}
.m-lcb-detail-day-stop {
  background: var(--md-bg-soft);
  border: 1px solid var(--md-line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--md-ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.m-lcb-detail-day-stops-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--md-line);
  border-radius: 999px;
  background: #fff;
  color: var(--md-ink-3);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}
.m-lcb-detail-day-stops-wrap.is-expanded .m-lcb-detail-day-stops-toggle {
  transform: rotate(180deg);
}
.m-lcb-detail-day-stops-toggle[hidden] { display: none; }

/* ─── Content brief card ─────────────────────────────────────────── */

.m-lcb-detail-brief {
  margin: 8px 18px 16px;
  background: var(--md-bg-soft);
  border: 1px solid var(--md-line);
  border-radius: 16px;
  padding: 18px;
}
.m-lcb-detail-brief-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--md-pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}
.m-lcb-detail-brief-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--md-ink);
}
.m-lcb-detail-brief-intro {
  font-size: 13px;
  color: var(--md-ink-3);
  line-height: 1.55;
  margin: 0 0 16px;
}
.m-lcb-detail-brief-tier {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--md-line);
}
.m-lcb-detail-brief-tier:first-of-type {
  border-top: none;
  padding-top: 4px;
}
.m-lcb-detail-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.m-lcb-detail-tier--pink  { color: var(--md-pink); }
.m-lcb-detail-tier--amber { color: var(--md-amber); }
.m-lcb-detail-tier--muted { color: var(--md-ink-3); }
.m-lcb-detail-tier-sub {
  font-size: 11px;
  color: var(--md-ink-4);
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.m-lcb-detail-tier-body {
  font-size: 13px;
  color: var(--md-ink-2);
  line-height: 1.55;
}
.m-lcb-detail-tier-body strong {
  color: var(--md-ink);
  font-weight: 700;
}
.m-lcb-detail-brief-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--md-line);
  font-size: 13px;
  color: var(--md-ink-3);
  line-height: 1.55;
}
.m-lcb-detail-brief-footer strong {
  color: var(--md-ink);
  font-weight: 700;
}

/* ─── Photo rights reassurance ──────────────────────────────────── */

.m-lcb-detail-rights {
  margin: 0 18px 24px;
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--md-ink-3);
  line-height: 1.5;
}
.m-lcb-detail-rights strong {
  color: var(--md-ink);
  font-weight: 600;
}

/* ─── What's covered / Not covered ──────────────────────────────── */

.m-lcb-detail-covered-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.m-lcb-detail-covered-item {
  padding: 12px 0;
  border-top: 1px solid var(--md-line-2);
  display: flex;
  gap: 10px;
  align-items: center;
}
.m-lcb-detail-covered-item:first-child {
  border-top: none;
  padding-top: 4px;
}
.m-lcb-detail-covered-free {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--md-pink);
  background: var(--md-pink-soft);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Category icon is emitted by the renderer for compatibility but the
   reference template uses only the FREE tag — hide the icon to keep the
   row clean. */
.m-lcb-detail-covered-icon { display: none; }
.m-lcb-detail-covered-body {
  flex: 1;
  min-width: 0;
}
.m-lcb-detail-covered-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--md-ink);
  margin: 0;
  line-height: 1.4;
}
.m-lcb-detail-covered-detail {
  font-size: 12px;
  color: var(--md-ink-4);
  line-height: 1.45;
  margin: 2px 0 0;
  font-weight: 400;
}

.m-lcb-detail-notcovered {
  margin-top: 16px;
  background: var(--md-bg-soft);
  border-radius: 12px;
  padding: 14px 16px;
}
.m-lcb-detail-notcovered-h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--md-ink);
}
.m-lcb-detail-notcovered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.m-lcb-detail-notcovered-list li {
  font-size: 13px;
  color: var(--md-ink-3);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.5;
}
.m-lcb-detail-notcovered-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--md-ink-4);
  font-weight: 600;
}

/* ─── Operators on this trip (cards) ────────────────────────────── */

.m-lcb-detail-operators {
  /* heading + lead + rows are direct children; rows get their own margin */
}
.m-lcb-detail-operators-h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--md-ink);
  margin: 0 0 6px;
}
.m-lcb-detail-operators-lead {
  font-size: 14px;
  color: var(--md-ink-3);
  line-height: 1.55;
  margin: 0 0 16px;
}
.m-lcb-detail-operator-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 14px;
  margin-bottom: 10px;
}
.m-lcb-detail-operator-row:last-child { margin-bottom: 0; }
.m-lcb-detail-operator-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #ddd;
  position: relative;
  overflow: hidden;
}
.m-lcb-detail-operator-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-lcb-detail-operator-avatar-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}
.m-lcb-detail-operator-info { flex: 1; min-width: 0; }
.m-lcb-detail-operator-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-ink-4);
  margin: 0 0 2px;
}
.m-lcb-detail-operator-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--md-ink);
  margin: 0;
  line-height: 1.3;
}
.m-lcb-detail-operator-sub {
  font-size: 11px;
  color: var(--md-ink-4);
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-lcb-detail-operator-sub::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--md-green);
}

/* ─── Sticky claim bar ──────────────────────────────────────────── */

.m-lcb-claimbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--md-line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 12px));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}
.m-lcb-claimbar-meta { flex-shrink: 0; }
.m-lcb-claimbar-meta-line1 {
  font-size: 10px;
  color: var(--md-ink-4);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-lcb-claimbar-meta-line2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--md-ink);
  line-height: 1.2;
}
.m-lcb-claimbar-meta-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--md-ink-3);
}
.m-lcb-claimbar-btn {
  flex: 1;
  padding: 14px 20px;
  background: var(--md-pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms ease;
}
.m-lcb-claimbar-btn:hover { background: var(--md-pink-dark); }
.m-lcb-claimbar-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ─── Toast (claim feedback) ──────────────────────────────────────── */

.m-lcb-toast {
  position: fixed;
  bottom: 100px;
  left: 16px;
  right: 16px;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 30;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.m-lcb-toast.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.m-lcb-toast a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 8px;
}
