  footer, .tb-footnote { display: none !important; }

  /* ── Search + filter stack ── */
  .al-search-wrap { padding: 35px 32px 0; display: flex; justify-content: center; }
  .al-search { max-width: 100%; }

  .controls {
    max-width: none; margin: 0 auto; padding: 10px 32px 0;
    display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center;
  }

  /* ── Cards ── */
  main { padding: 16px 32px 32px; max-width: none; }
  .al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; align-items: stretch; }

  .al-pass {
    display: flex; background: var(--surface, #fff);
    border: 1px solid var(--border2, #e6e2da); border-radius: 12px;
    box-shadow: 0 1px 3px rgba(61,58,50,.08);
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .al-pass:hover {
    box-shadow: 0 14px 28px rgba(61,58,50,.14), 0 3px 8px rgba(61,58,50,.08);
    transform: translateY(-3px) rotate(-.35deg);
  }
  .al-pass-body { flex: 1; min-width: 0; padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 12px; }
  .al-pass-head { display: flex; align-items: flex-start; gap: 11px; }
  .al-pass-flag { font-size: 23px; line-height: 1.15; margin-top: 1px; flex-shrink: 0; }
  .al-pass-id { flex: 1; min-width: 0; }
  .al-pass-name { font-family: var(--font); font-size: 18px; font-weight: 700; line-height: 1.2; margin: 0 0 3px; }
  .al-pass-name a { color: var(--text); text-decoration: none; }
  .al-pass-sub { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

  .card-tags { align-items: flex-start; }
  .al-pass-desc { font-size: 12.6px; line-height: 1.55; color: var(--text); margin: 0; }

  .al-pass-stats { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 2px; }
  .al-pass-stat { font-size: 11.5px; color: var(--muted); }
  .al-pass-stat b {
    display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--accent); margin-bottom: 2px;
  }
  .al-pass-stat span { color: var(--text); font-weight: 500; }

  .al-pass-known { font-size: 11.8px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--border2); padding-top: 10px; margin-top: 2px; }
  .al-pass-known b { color: var(--text); font-weight: 600; }

  .al-pass-links { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 2px; }
  .al-pass-link { font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
  .al-pass-link::after { content: "\203A"; font-weight: 700; transition: transform .15s; }
  .al-pass-link:hover { color: var(--rust, #C04E1A); }
  .al-pass-link:hover::after { transform: translateX(2px); }

  /* ── Perforated seam — the tear between body and stub ── */
  .al-seam { position: relative; width: 0; flex-shrink: 0; }
  .al-seam::before {
    content: ""; position: absolute; top: 14px; bottom: 14px; left: -1px; width: 1px;
    background-image: repeating-linear-gradient(180deg, var(--border-warm, #c4b896) 0 6px, transparent 6px 12px);
  }
  .al-notch { position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg, #f5f4f0); border: 1px solid var(--border2, #e6e2da); }
  .al-notch.top { top: -8px; }
  .al-notch.bot { bottom: -8px; }

  /* ── Counterfoil stub — always readable, whatever family colours it ── */
  .al-stub {
    width: 108px; flex-shrink: 0; padding: 16px 12px; display: flex; flex-direction: column;
    align-items: center; justify-content: space-between; gap: 10px; border-radius: 0 12px 12px 0;
  }
  .al-stub-iata { font-weight: 700; font-size: 25px; letter-spacing: .02em; line-height: 1; }
  .al-stub-label { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .al-stub-fleet { text-align: center; }
  .al-stub-fleet b { display: block; font-weight: 700; font-size: 15px; }
  .al-stub-barcode {
    width: 100%; height: 18px; opacity: .5;
    background-image: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 3px, currentColor 3px 4px, transparent 4px 7px, currentColor 7px 8px, transparent 8px 10px);
  }

  /* ── Section + country headings ── */
  .al-region { margin-bottom: 30px; }
  .al-region-head {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--border2); margin-bottom: 16px;
    scroll-margin-top: 14px;
  }
  .al-country { margin-bottom: 34px; }
  .al-country-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
  .al-country-flag { font-size: 19px; }
  .al-country-name { font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--text); }
  .al-country-rule { flex: 1; height: 1px; background-image: repeating-linear-gradient(90deg, var(--border-warm, #c4b896) 0 5px, transparent 5px 10px); }

  .empty-state { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 0; }

  @media (max-width: 600px) and (pointer: coarse) {
    main { padding: 14px 14px 28px; }
    .al-grid { grid-template-columns: 1fr; gap: 16px; }
    .controls { padding: 8px 14px 0; }
    .jump-row { padding: 0 14px; }
    .al-search-wrap { padding: 12px 14px 0; }
    .al-stub { width: 88px; padding: 13px 10px; }
    .al-stub-iata { font-size: 21px; }
  }

@media (prefers-color-scheme: dark) {
  .al-pass:hover { box-shadow: 0 14px 30px rgba(0,0,0,.45); }
  .al-notch { background: var(--bg, #1a1917); }
}

