/* Godwit Landfall demo layer — uses the app's own tokens (godwit.css is loaded first). */
.lf-has-dock { padding-bottom: 96px; }

/* Floating dock */
.lf-dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2000;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
  background: var(--ink); color: #fff; border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(6, 25, 42, .55); max-width: calc(100vw - 24px);
}
.lf-dock__tag { display: flex; flex-direction: column; line-height: 1.15; padding-right: 6px; white-space: nowrap; }
.lf-dock__tag b { font-family: var(--display); font-size: .875rem; }
.lf-dock__tag span { font-size: .6875rem; color: rgba(255, 255, 255, .6); letter-spacing: .04em; text-transform: uppercase; }
.lf-dock__jump {
  height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
  color: #fff; font: 500 .8125rem var(--sans); padding: 0 10px; max-width: 210px;
}
.lf-dock__jump option { color: var(--ink); }

.lf-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 14px; border-radius: 10px;
  font: 600 .8125rem var(--sans); text-decoration: none !important; border: 0; cursor: pointer; white-space: nowrap;
}
.lf-btn--primary { background: var(--grad-btn); color: #fff; }
.lf-btn--primary:hover { background: var(--br-700); color: #fff; }
.lf-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.lf-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.lf-card .lf-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.lf-card .lf-btn--ghost:hover { background: var(--tint); }
.lf-link { background: none; border: 0; color: var(--grey); font: 500 .8125rem var(--sans); cursor: pointer; margin-right: auto; padding: 0; }
.lf-link:hover { color: var(--ink); text-decoration: underline; }

/* Tour */
.lf-spot {
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 4px var(--cyan-light), 0 0 0 100vmax rgba(6, 25, 42, .5) !important;
  transition: box-shadow .2s;
}
.lf-dim::after { content: ""; position: fixed; inset: 0; background: rgba(6, 25, 42, .5); z-index: 1990; pointer-events: none; }
.lf-card {
  position: fixed; z-index: 2010; width: min(380px, calc(100vw - 28px));
  background: var(--surface); color: var(--ink); border-radius: 16px; padding: 18px 20px 16px;
  box-shadow: 0 30px 70px -20px rgba(6, 25, 42, .55); border: 1px solid var(--line);
}
.lf-card--nudge { animation: lf-nudge .45s ease; }
@keyframes lf-nudge {
  0%, 100% { box-shadow: 0 30px 70px -20px rgba(6, 25, 42, .55); }
  40% { box-shadow: 0 0 0 4px var(--cyan-light), 0 30px 70px -20px rgba(6, 25, 42, .55); }
}
@media (prefers-reduced-motion: reduce) { .lf-card--nudge { animation: none; } }
.lf-card--center, .lf-card--sheet { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }
.lf-card--sheet { top: auto !important; bottom: 92px; transform: translateX(-50%); }
.lf-card__count { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--br-500); }
.lf-card__title { font-family: var(--display); font-size: 1.125rem; font-weight: 800; margin: 6px 0 6px; letter-spacing: -.01em; }
.lf-card__text { font-size: .875rem; color: var(--ink-2); margin: 0 0 14px; line-height: 1.55; }
.lf-card__nav { display: flex; align-items: center; gap: 8px; }

/* Locked-action toast */
.lf-toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); z-index: 2020; opacity: 0; pointer-events: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  font-size: .875rem; box-shadow: var(--shadow-lg); transition: opacity .18s, transform .18s; max-width: calc(100vw - 28px);
}
.lf-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lf-toast a { font-weight: 700; }

@media (max-width: 720px) {
  .lf-dock { left: 12px; right: 12px; transform: none; bottom: 12px; padding: 8px; gap: 8px; flex-wrap: wrap; justify-content: space-between; }
  .lf-dock__tag { display: none; }
  .lf-hide-sm { display: none; }
  .lf-dock__jump { flex: 1 1 100%; max-width: none; order: -1; }
  .lf-dock .lf-btn { flex: 1 1 0; }
  .lf-has-dock { padding-bottom: 140px; }
  .lf-card--sheet { bottom: 132px; }
}
@media (prefers-reduced-motion: reduce) { .lf-toast { transition: none; } }

/* Glass (2026-11-24): the tour card, the locked-action note and the bottom bar get the
   website's glass edge. Only the demo layer, never the app's own screens. Tokens copied
   from assets/site.css so this file stands alone. */
:root {
  --lf-edge-light: linear-gradient(135deg, rgba(14,143,199,.60) 0%, rgba(57,180,232,.32) 16%,
      rgba(175,222,239,0) 40%, rgba(175,222,239,0) 64%, rgba(57,180,232,.20) 84%, rgba(14,143,199,.42) 100%);
  --lf-edge-dark: linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(175,222,239,.25) 18%,
      rgba(255,255,255,0) 42%, rgba(255,255,255,0) 62%, rgba(57,180,232,.30) 86%, rgba(175,222,239,.50) 100%);
  --lf-shine-light: radial-gradient(130% 90% at 0% 0%, rgba(234,243,249,.95) 0%, rgba(234,243,249,.35) 30%, rgba(234,243,249,0) 58%);
}
@media screen {
  .lf-card, .lf-toast { background-color: #fff; background-image: var(--lf-shine-light); border-color: transparent; }
  .lf-dock {
    background-color: rgba(16, 20, 24, .86);
    background-image: radial-gradient(120% 140% at 0% 0%, rgba(57,180,232,.22) 0%, rgba(57,180,232,0) 55%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  }
  .lf-card::after, .lf-toast::after, .lf-dock::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    border-radius: inherit; padding: 1.5px; background: var(--lf-edge-light);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .lf-dock::after { padding: 1px; background: var(--lf-edge-dark); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lf-dock { background-color: var(--ink); }
}
@media (forced-colors: active), (prefers-reduced-transparency: reduce), (prefers-contrast: more), print {
  .lf-card::after, .lf-toast::after, .lf-dock::after { display: none; }
  .lf-card, .lf-toast { border-color: var(--line); background-image: none; }
  .lf-dock { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
