/* The Longest Table in Malta | app styles (on top of /shared/css/aps.css) */

/* ---------- Hero ---------- */
.lt-hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(20px, 3vw, 32px); }
.lt-hero .lead { max-width: 19em; }
.lt-hero__inner { display: grid; gap: var(--space-5); align-items: end; }
.lt-hero h1 { margin-bottom: 0.3em; }
.lt-hero__sub { margin-bottom: 0; }
.lt-counter {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); font-weight: 700; color: var(--aps-green-dark);
  font-variant-numeric: tabular-nums; margin: 0 0 var(--space-5); min-height: 1.5em; letter-spacing: -0.01em;
}
.lt-counter__text { display: inline-block; animation: lt-fade .4s var(--ease); }
.lt-hero__cta { margin-bottom: var(--space-2); }
.lt-story {
  font-size: 0.95rem; margin: 0; max-width: 52ch; padding-left: var(--space-4);
  border-left: 2px solid var(--gold); color: var(--ink-2);
}
@media (min-width: 900px) {
  .lt-hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-7); }
  .lt-story { margin-bottom: var(--space-3); }
}
.lt-story--under { display: none; margin-top: var(--space-5); }
@media (max-width: 719px) {
  .lt-story--hero { display: none; }
  .lt-story--under { display: block; }
}
@media (max-width: 520px) {
  .lt-hero__cta .btn { flex: 1 1 100%; }
}

.lt-message { margin-top: var(--space-4); align-items: center; max-width: 620px; scroll-margin-top: 92px; }
.lt-message__art { width: 64px; height: 64px; flex: none; }
.lt-message__art.is-missing { visibility: hidden; }
.lt-message__body { flex: 1; min-width: 0; }
.lt-message__body p { margin: 0; }
.lt-message__title { font-weight: 700; color: var(--aps-green-dark); font-size: 1.05rem; }
.lt-message__text + .btn-row, .lt-message__title + .btn-row, .lt-message__text { margin-top: 4px; }
.lt-message .btn-row { margin-top: var(--space-3); }

/* ---------- Toolbar and filters ---------- */
.lt-table-section { padding-top: var(--space-3); }
.lt-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-4); }
.lt-toolbar__title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin: 0; }
.lt-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); }
.lt-filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lt-filter__label { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.lt-filter__btn, .lt-filter__select { min-width: 190px; max-width: 260px; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.lt-filter__btn .flag { margin-right: 4px; }
.lt-filters__clear { align-self: flex-end; }
@media (max-width: 560px) {
  .lt-filters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .lt-filter__btn, .lt-filter__select { min-width: 0; max-width: none; width: 100%; }
  .lt-filters__clear { grid-column: 1 / -1; justify-self: start; }
}

.flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1em; line-height: 1; }
.flag--code { font-family: var(--font); font-size: 0.62em; font-weight: 700; letter-spacing: 0.04em; padding: 2px 4px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); vertical-align: 1px; }

/* ---------- Stage: the table seen from above ---------- */
.lt-stage {
  --lt-col: 136px; --lt-pad: 56px; --lt-h: 360px;
  --lt-plate: 62px; --lt-chair-w: 50px; --lt-chair-h: 47px;
  --lt-label-top: 8px; --lt-table-top: 96px; --lt-table-h: 168px; --lt-runner-h: 34px; --lt-plate-inset: 12px;
  position: relative; height: var(--lt-h); overflow: hidden;
  background:
    linear-gradient(90deg, rgba(205, 187, 156, 0.18) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(205, 187, 156, 0.18) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  contain: layout paint;
}
@media (min-width: 720px) {
  .lt-stage {
    --lt-col: 168px; --lt-pad: 96px; --lt-h: 420px;
    --lt-plate: 78px; --lt-chair-w: 60px; --lt-chair-h: 56px;
    --lt-label-top: 12px; --lt-table-top: 112px; --lt-table-h: 196px; --lt-runner-h: 40px; --lt-plate-inset: 14px;
  }
}
.lt-map {
  position: absolute; top: -48%; left: 0; height: 190%; width: auto; max-width: none;
  opacity: 0.9; pointer-events: none; user-select: none; will-change: transform;
}
.lt-scroller {
  position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; cursor: grab; outline: none;
}
.lt-scroller::-webkit-scrollbar { display: none; }
.lt-scroller.is-dragging { cursor: grabbing; user-select: none; }
.lt-scroller.is-dragging .lt-seat * { cursor: grabbing; }
.lt-scroller:focus-visible { box-shadow: inset 0 0 0 3px var(--aps-green); border-radius: 0; }
.lt-track { position: relative; height: 100%; z-index: 0; min-width: 100%; }

/* tablecloth with a runner down the middle */
.lt-cloth {
  position: absolute; left: 0; top: var(--lt-table-top); height: var(--lt-table-h); z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgba(232, 220, 198, 0.22) 0 1px, transparent 1px 7px),
    #fffdf9;
  border: 1.5px solid var(--limestone-dark); border-radius: 20px;
  box-shadow: 0 1px 0 #fff inset, 0 8px 22px rgba(38, 30, 18, 0.10), 0 2px 4px rgba(38, 30, 18, 0.06);
}
.lt-cloth::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: var(--lt-runner-h); transform: translateY(-50%);
  background: url("/longest-table/runner.svg") repeat-x calc(var(--lt-runner-offset, 30px) - 14px) center / var(--lt-col) 100%, var(--gold-soft);
  border-radius: 4px;
}
.lt-cloth::after {
  content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: calc(var(--lt-runner-h) - 10px); transform: translateY(-50%);
  border-top: 1.5px dashed rgba(184, 137, 58, 0.55); border-bottom: 1.5px dashed rgba(184, 137, 58, 0.55);
  pointer-events: none;
}

/* one seat: label, chair, plate (positioned with `left` so chairs can tuck under the cloth) */
.lt-seat { position: absolute; top: 0; left: 0; width: var(--lt-col); height: 100%; pointer-events: none; }
.lt-seat > * { pointer-events: auto; }
.lt-seat__label {
  position: absolute; left: 4px; right: 4px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1px;
  text-align: center; line-height: 1.2; cursor: pointer;
}
.lt-seat--top .lt-seat__label { top: var(--lt-label-top); }
.lt-seat--bottom .lt-seat__label { top: calc(var(--lt-table-top) + var(--lt-table-h) + var(--lt-chair-h) * 0.72 + 6px); }
.lt-seat__name {
  max-width: 100%; font-weight: 700; font-size: 0.95rem; color: var(--aps-green-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 1px 8px; border-radius: 999px;
}
.lt-seat__town {
  max-width: 100%; display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--ink-2);
  white-space: nowrap; overflow: hidden;
}
.lt-seat__townname { overflow: hidden; text-overflow: ellipsis; }
.lt-seat__town .flag { flex: none; font-size: 0.95rem; }

.lt-seat__chair {
  position: absolute; left: 50%; width: var(--lt-chair-w); height: var(--lt-chair-h); margin-left: calc(var(--lt-chair-w) / -2);
  z-index: 1; background: url("/longest-table/chair.svg") center / contain no-repeat; cursor: pointer;
}
.lt-seat--top .lt-seat__chair { top: calc(var(--lt-table-top) - var(--lt-chair-h) * 0.72); }
.lt-seat--bottom .lt-seat__chair { top: calc(var(--lt-table-top) + var(--lt-table-h) - var(--lt-chair-h) * 0.28); transform: rotate(180deg); }

.lt-seat__plate {
  position: absolute; left: 50%; width: var(--lt-plate); height: var(--lt-plate); margin-left: calc(var(--lt-plate) / -2);
  z-index: 3; border-radius: 50%; cursor: pointer;
}
.lt-seat--top .lt-seat__plate { top: calc(var(--lt-table-top) + var(--lt-plate-inset)); }
.lt-seat--bottom .lt-seat__plate { top: calc(var(--lt-table-top) + var(--lt-table-h) - var(--lt-plate-inset) - var(--lt-plate)); }
.lt-seat--bottom .lt-seat__plate img { transform: rotate(180deg); }
.lt-seat__plate img { display: block; width: 100%; height: 100%; -webkit-user-drag: none; user-select: none; }
.lt-seat__plate img.is-missing { display: none; }
.lt-seat__plate:has(img.is-missing), .lt-seat__plate--skel {
  background: radial-gradient(circle, #f5efe4 0 52%, #fbf8f3 53% 100%); box-shadow: 0 0 0 1.5px var(--limestone-dark) inset, 0 2px 4px rgba(91, 63, 34, 0.12);
}
.lt-seat__plate--skel { opacity: 0.55; }

.lt-seat__badge {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 4; display: none;
  background: var(--gold-soft); color: var(--gold-text); border: 1px solid var(--gold); font-weight: 700; font-size: 0.72rem;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.lt-seat--top .lt-seat__badge { top: calc(var(--lt-table-top) - var(--lt-chair-h) * 0.5); }
.lt-seat--bottom .lt-seat__badge { top: calc(var(--lt-table-top) + var(--lt-table-h) + var(--lt-chair-h) * 0.18); }

/* hover and selection */
@media (hover: hover) {
  .lt-seat:not(.is-skel):not(.is-invite):hover .lt-seat__plate { transform: scale(1.06); }
  .lt-seat__plate { transition: transform .2s var(--ease); }
}
.lt-seat.is-selected .lt-seat__plate { box-shadow: 0 0 0 3px var(--aps-green-light), 0 6px 14px rgba(38, 30, 18, 0.18); }

/* highlighted: your seat, or the seat a shared link points to */
.lt-seat.is-highlight .lt-seat__name { background: var(--aps-green); color: #fff; }
.lt-seat.is-highlight .lt-seat__badge { display: block; }
.lt-seat.is-highlight .lt-seat__plate { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold), 0 8px 18px rgba(38, 30, 18, 0.2); }
.lt-seat.is-highlight .lt-seat__plate::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold);
  animation: lt-ring 2.2s var(--ease) 3; pointer-events: none;
}

/* skeleton while a page of seats loads */
.lt-seat.is-skel .lt-seat__chair { opacity: 0.45; }
.lt-seat__label--skel span { display: block; height: 10px; width: 70px; border-radius: 6px; background: rgba(205, 187, 156, 0.45); margin: 3px auto; }
.lt-seat__label--skel span + span { width: 52px; height: 8px; }

/* the empty chair at the end of the table */
.lt-seat__invite {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: none; font: inherit; cursor: pointer;
  border-radius: 12px;
}
.lt-seat__invite:focus-visible { box-shadow: inset 0 0 0 3px var(--aps-green); }
.lt-seat.is-invite .lt-seat__name { color: var(--gold-text); white-space: normal; line-height: 1.15; font-size: 0.88rem; }
.lt-seat__chair--empty { background-image: url("/longest-table/chair-empty.svg"); transition: transform .35s var(--ease); }
.lt-seat--top .lt-seat__chair--empty { transform: translateY(-12px) rotate(-6deg); }
.lt-seat--bottom .lt-seat__chair--empty { transform: rotate(180deg) translateY(-12px) rotate(-6deg); }
.lt-seat--top .lt-seat__invite:hover .lt-seat__chair--empty { transform: none; }
.lt-seat--bottom .lt-seat__invite:hover .lt-seat__chair--empty { transform: rotate(180deg); }
.lt-seat__plate--empty { border: 2px dashed var(--gold); background: rgba(251, 248, 243, 0.9); display: grid; place-items: center; }
.lt-seat__plus { width: 22px; height: 22px; position: relative; }
.lt-seat__plus::before, .lt-seat__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2.5px; margin: -1.25px 0 0 -11px; background: var(--gold-text); border-radius: 2px; }
.lt-seat__plus::after { transform: rotate(90deg); }

/* your own seat while it is being checked */
.lt-seat.is-pending .lt-seat__plate { opacity: 0.7; box-shadow: 0 0 0 2px var(--gold-soft), 0 0 0 4px rgba(184, 137, 58, 0.5); }
.lt-seat.is-pending .lt-seat__town { color: var(--gold-text); font-weight: 600; }

/* seat details */
.lt-pop {
  position: absolute; left: 50%; z-index: 10; width: max-content; max-width: 210px; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l);
  font-size: 0.85rem; line-height: 1.3; animation: lt-fade .18s var(--ease); cursor: default;
}
.lt-seat--top .lt-pop { top: calc(var(--lt-table-top) + var(--lt-plate-inset) + var(--lt-plate) + 8px); }
.lt-seat--bottom .lt-pop { bottom: calc(var(--lt-h) - var(--lt-table-top) - var(--lt-table-h) + var(--lt-plate-inset) + var(--lt-plate) + 8px); }
.lt-pop__dish { font-weight: 700; color: var(--aps-green-dark); font-size: 0.95rem; }
.lt-pop__country { color: var(--ink-2); }
.lt-pop__n { color: var(--gold-text); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* arrival: the chair slides up to the table, then the plate lands with a soft bounce */
.lt-seat.is-arriving .lt-seat__chair { animation: lt-chair-top 0.9s var(--ease) both; }
.lt-seat--bottom.is-arriving .lt-seat__chair { animation-name: lt-chair-bottom; }
.lt-seat.is-arriving .lt-seat__plate { animation: lt-plate 0.75s cubic-bezier(.34, 1.4, .5, 1) 0.7s both; }
.lt-seat.is-arriving .lt-seat__label { animation: lt-fade 0.5s var(--ease) 1.2s both; }
.lt-seat.is-arriving .lt-seat__badge { animation: lt-fade 0.5s var(--ease) 1.3s both; }
@keyframes lt-chair-top { from { transform: translateY(-44px) rotate(-8deg); opacity: 0; } 35% { opacity: 1; } to { transform: none; } }
@keyframes lt-chair-bottom { from { transform: rotate(180deg) translateY(-44px) rotate(-8deg); opacity: 0; } 35% { opacity: 1; } to { transform: rotate(180deg); } }
@keyframes lt-plate { from { transform: translateY(-26px) scale(1.4); opacity: 0; } 55% { transform: translateY(0) scale(0.93); opacity: 1; } 78% { transform: scale(1.04); } to { transform: none; } }
@keyframes lt-fade { from { opacity: 0; } }
@keyframes lt-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.45); opacity: 0; } }

/* prev / next */
.lt-nav {
  position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); color: var(--aps-green); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  transition: opacity .2s, background .15s, transform .12s;
}
.lt-nav svg { width: 22px; height: 22px; }
.lt-nav:hover { background: #fff; color: var(--aps-green-dark); }
.lt-nav:active { transform: scale(0.96); }
.lt-nav:disabled { opacity: 0; pointer-events: none; }
.lt-nav--prev { left: 12px; }
.lt-nav--next { right: 12px; }
@media (max-width: 719px) { .lt-nav { width: 44px; height: 44px; margin-top: -22px; } .lt-nav--prev { left: 6px; } .lt-nav--next { right: 6px; } }

/* loading / error / empty */
.lt-overlay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; }
.lt-overlay[data-kind="loading"] { background: rgba(244, 238, 228, 0.35); }
.lt-overlay__card { pointer-events: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; max-width: min(92vw, 380px); text-align: center; }
.lt-overlay__card p { margin: 0 0 12px; }

/* under the table */
.lt-under { padding-top: var(--space-4); }
.lt-scrub { display: grid; gap: 4px; }
.lt-scrub__range { width: 100%; accent-color: var(--aps-green); height: 28px; cursor: pointer; margin: 0; }
.lt-position { margin: 0; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.lt-hint { margin: var(--space-2) 0 0; }

/* ---------- Your seat ---------- */
.lt-yours { padding-top: var(--space-6); }
.lt-yours:focus { outline: none; }
.lt-yours__card { display: grid; gap: var(--space-5); align-items: center; animation: lt-rise .5s var(--ease); }
@media (min-width: 760px) { .lt-yours__card { grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-6); } }
.lt-yours__art { position: relative; height: 220px; display: grid; place-items: center; }
.lt-yours__cloth { position: absolute; left: -8px; right: -8px; top: 22px; height: 140px; background: #fffdf9; border: 1.5px solid var(--limestone-dark); border-radius: 18px; box-shadow: var(--shadow-s); }
.lt-yours__cloth::before { content: ""; position: absolute; left: 10px; right: 10px; top: 14px; height: 18px; background: var(--gold-soft); border-top: 1.5px dashed rgba(184, 137, 58, 0.55); border-bottom: 1.5px dashed rgba(184, 137, 58, 0.55); }
.lt-yours__plate { position: absolute; top: 46px; left: 50%; width: 108px; height: 108px; margin-left: -54px; z-index: 2; }
.lt-yours__plate.is-missing { visibility: hidden; }
.lt-yours__chair { position: absolute; top: 146px; left: 50%; width: 74px; height: 69px; margin-left: -37px; z-index: 0; background: url("/longest-table/chair.svg") center / contain no-repeat; transform: rotate(180deg); }
.lt-yours__body h2 { margin-bottom: 0.25em; font-variant-numeric: tabular-nums; }
.lt-yours__who { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5em; }
.lt-yours__pending { margin-bottom: var(--space-4); }
.lt-yours__link { margin: var(--space-4) 0; }
.lt-yours__linkrow { display: flex; gap: var(--space-2); }
.lt-yours__linkrow .input { min-width: 0; flex: 1; font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 520px) { .lt-yours__linkrow { flex-direction: column; } }
@keyframes lt-rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Join dialog ---------- */
.dialog.lt-join-dialog { width: min(96vw, 680px); }
.lt-join-dialog .dialog__body { padding-bottom: 0; }
.lt-join__steps { margin-bottom: var(--space-4); }
.lt-join__heading { font-size: 1.25rem; margin: 0 0 var(--space-3); outline: none; }
.lt-join__search { margin-bottom: var(--space-3); }
.lt-join__customline { margin-bottom: var(--space-3); }
.lt-join__custom-toggle { gap: 8px; }
.lt-join__covered { width: 28px; height: 28px; }
.lt-join__covered.is-missing { display: none; }
.lt-join__custom { padding: var(--space-3) var(--space-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.lt-join__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }

.lt-dishes__group + .lt-dishes__group { margin-top: var(--space-4); }
.lt-dishes__country { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 var(--space-2); display: flex; align-items: center; gap: 6px; }
.lt-dishes__country .flag { font-size: 1.1rem; }
.lt-dishes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--space-2); }
.lt-dish {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 10px; min-height: 44px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .15s, background .15s, transform .12s;
}
.lt-dish:hover { border-color: var(--aps-green-light); }
.lt-dish img { width: 72px; height: 72px; }
.lt-dish img.is-missing { visibility: hidden; }
.lt-dish__name { font-size: 0.82rem; font-weight: 600; line-height: 1.2; text-align: center; }
.lt-dish[aria-pressed="true"] { border-color: var(--aps-green); background: var(--aps-green-tint); box-shadow: 0 0 0 1px var(--aps-green) inset; }
.lt-dish[aria-pressed="true"]::after {
  content: "\2713"; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--aps-green); color: #fff; font: 700 13px/1 system-ui, sans-serif;
}

.lt-join__summary:empty { display: none; }
.lt-join__chosen { display: flex; align-items: center; gap: var(--space-3); padding: 8px 10px 8px 8px; margin-bottom: var(--space-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.lt-join__chosen img { width: 48px; height: 48px; flex: none; }
.lt-join__chosen img.is-missing { visibility: hidden; }
.lt-join__chosen-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.lt-join__chosen-label { font-size: 0.75rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.lt-join__chosen-text strong { color: var(--aps-green-dark); overflow-wrap: anywhere; }
.lt-join__chosen-country { font-size: 0.85rem; color: var(--ink-2); }

.lt-countries { max-height: min(46vh, 380px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overscroll-behavior: contain; }
.lt-countries__head { position: sticky; top: 0; z-index: 1; margin: 0; padding: 8px 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); background: var(--paper); border-bottom: 1px solid var(--line); }
.lt-country {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 14px; cursor: pointer;
  border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--ink); text-align: left;
}
.lt-country:last-child { border-bottom: 0; }
.lt-country:hover { background: var(--aps-green-mist); }
.lt-country input { width: 18px; height: 18px; margin: 0; accent-color: var(--aps-green); flex: none; }
.lt-country:has(input:checked), .lt-country[aria-selected="true"] { background: var(--aps-green-tint); font-weight: 700; color: var(--aps-green-dark); }
.lt-country:has(input:focus-visible) { box-shadow: inset 0 0 0 3px var(--aps-green); }
.lt-country .flag { font-size: 1.2rem; width: 1.5em; text-align: center; flex: none; }
.lt-country__name { flex: 1; min-width: 0; }
.lt-country__count { color: var(--ink-3); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.lt-countries--filter { margin-top: var(--space-3); max-height: min(56vh, 460px); }
.lt-countries--filter .lt-country:focus-visible { box-shadow: inset 0 0 0 3px var(--aps-green); border-radius: 0; }

.lt-join__privacy { margin: 0 0 var(--space-3); }
.lt-join__error { margin: var(--space-3) 0 0; }
.lt-join__footer {
  position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  margin: var(--space-4) calc(-1 * clamp(20px, 4vw, 32px)) 0; padding: var(--space-3) clamp(20px, 4vw, 32px) var(--space-4);
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
}
.lt-join__footer .lt-join__next { margin-left: auto; }
.lt-spinner-sm { width: 18px; height: 18px; border-width: 2.5px; border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
@media (max-width: 520px) {
  .dialog.lt-join-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .lt-join-dialog .dialog__body { max-height: 100dvh; height: 100dvh; }
  .lt-join__steps li { font-size: 0.8rem; }
}
.dialog.lt-filter-dialog { width: min(94vw, 460px); }

@media (prefers-reduced-motion: reduce) {
  .lt-seat.is-highlight .lt-seat__plate::after { display: none; }
}
