/* Flight cards (display-output-display.php): photo, status chips, route strip and every field. */
html body.page .display-container .fc { --fc-line: #e6e6e6; --fc-mut: #6b7280; --fc-chip: #f1f1ef; display: grid; grid-template-columns: 380px minmax(0, 1fr) auto; margin: 0 auto 1.5rem; background: #fff; border: 1px solid #d9d7d0; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,20,.06), 0 8px 22px -10px rgba(20,20,20,.22); max-height: none; }
/* Category stripe drawn over the card edge so it doesn't narrow the card's content. */
html body.page .display-container .fc.has-cat { position: relative; }
html body.page .display-container .fc.has-cat::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 8px; background: var(--cat); z-index: 3; pointer-events: none; }
html body.page .display-container .flight-item-date { margin: 1.5rem auto .6rem; padding: 0; }
html body.page .display-container .flight-item-date .date a { font-weight: 700; color: inherit; text-decoration: none; }
html body.page .display-container .flight-item-date .date a:hover { text-decoration: underline; }
html body.page .fc-photo { position: relative; min-height: 220px; background: #eceae4; }
html body.page .fc-photo > div, html body.page .fc-photo .lazyload-photo-bg, html body.page .fc-photo .flight-item-other { position: absolute; inset: 0; display: block; margin: 0; }
html body.page .fc-photo .lazyload-photo-bg { background-size: cover !important; background-position: center !important; }
html body.page .fc-photo .flight-item-other { display: flex; align-items: center; justify-content: center; padding: .75rem; }
html body.page .fc-photo .flight-item-other img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
html body.page .fc-photo .photo-owner { position: absolute; right: .4rem; bottom: .4rem; font-size: .7rem !important; color: #fff; background: rgba(0,0,0,.45); padding: .05rem .4rem; border-radius: 4px; }
html body.page .fc-photo .aircraft-status-badge { position: absolute; top: auto; left: .5rem; bottom: .5rem; right: auto; z-index: 2; width: auto; height: auto; line-height: 1.4 !important; }
html body.page .fc-site { position: absolute; left: .5rem; top: .5rem; z-index: 2; font-size: .7rem !important; font-weight: 700; background: #141414; color: #f5c518; border-radius: 999px; padding: .05rem .5rem; }
html body.page .fc-body { padding: .85rem 1.1rem; min-width: 0; }
html body.page .fc-top { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .35rem; }
html body.page .fc-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem !important; font-weight: 600; line-height: 1.5 !important; background: var(--fc-chip); color: #141414; border-radius: 999px; padding: .05rem .55rem; }
html body.page .fc-chip-cat i { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; }
html body.page .fc-s-live { background: #fde8e8; color: #b30000; }
html body.page .fc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #e11d1d; animation: fc-pulse 1.4s infinite; }
@keyframes fc-pulse { 50% { opacity: .25; } }
html body.page .fc-s-del { background: #e6f4ea; color: #1e6b34; }
html body.page .fc-s-first { background: #fff3c4; color: #6b5200; }
html body.page .fc-s-test { background: #eef2ff; color: #3730a3; }
html body.page .fc-s-ferry { background: #ecfeff; color: #155e75; }
html body.page .fc-s-com { background: #eef0f2; color: #4b5563; }
html body.page .fc-title { margin: 0; font-size: 1.2rem !important; line-height: 1.25 !important; font-weight: 700; }
html body.page .fc-title a { color: inherit; text-decoration: none; }
html body.page .fc-title a:hover { text-decoration: underline; }
html body.page .fc-msn { font-size: .85rem !important; font-weight: 400; color: var(--fc-mut); white-space: nowrap; }
html body.page .fc-activity { margin: .15rem 0 .6rem; font-weight: 600; color: var(--fc-mut); font-size: .95rem !important; }
html body.page .fc-activity .icon, html body.page .fc-activity i { margin-right: .2rem; }
html body.page .fc-route { display: grid; grid-template-columns: auto minmax(80px, 1fr) auto; align-items: center; gap: .75rem; margin: 0 0 .75rem; }
html body.page .fc-ap b { display: block; font-size: 1.35rem !important; line-height: 1 !important; letter-spacing: .02em; }
html body.page .fc-ap b abbr { text-decoration: none; border: 0; cursor: help; }
html body.page .fc-ap small { display: block; font-size: .75rem !important; color: var(--fc-mut); margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12rem; }
html body.page .fc-ap-to { text-align: right; }
html body.page .fc-ap-to small { margin-left: auto; }
html body.page .fc-leg { position: relative; text-align: center; border-top: 2px dashed var(--fc-line); padding-top: .3rem; }
html body.page .fc-plane { position: absolute; left: 50%; top: -.85rem; transform: translateX(-50%); background: #fff; padding: 0 .3rem; color: #141414; text-decoration: none; }
html body.page .fc-leg em { font-style: normal; font-size: .75rem !important; color: var(--fc-mut); }
html body.page .fc-leg.is-live { border-top-color: #e11d1d; }
html body.page .fc-leg.is-live .fc-plane { color: #e11d1d; }
html body.page .fc-leg.is-local { border-top-style: dotted; }
html body.page .fc-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr 1.7fr; gap: .5rem 1rem; margin: 0; padding: .6rem 0 0; border-top: 1px solid var(--fc-line); }
html body.page .fc-meta dt { font-size: .68rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--fc-mut); font-weight: 400; }
html body.page .fc-meta dd { margin: .1rem 0 0; font-size: .92rem !important; overflow-wrap: anywhere; }
html body.page .fc-meta dd a { color: inherit; }
html body.page .fc-m-airline dd { display: flex; align-items: center; gap: .4rem; }
html body.page .fc-m-airline .airline-logo { width: 20px; height: 20px; object-fit: contain; }
html body.page .fc-m-when .live-flight-data a { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem !important; color: #b30000; }
html body.page .fc-notes { margin: .6rem 0 0; font-size: .85rem !important; color: var(--fc-mut); }
html body.page .fc-notes.is-diverted { color: #721c24; }
html body.page .fc-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: .85rem .85rem .85rem 0; }
html body.page .fc-actions .flight-track-btn { margin: 0 !important; white-space: nowrap; }
html body.page .fc-actions .btn-admin-edit { position: static !important; float: none !important; }
@media (max-width: 1199.98px) {
    html body.page .display-container .fc { grid-template-columns: 300px minmax(0, 1fr) auto; }
    html body.page .fc-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html body.page .fc-m-when { grid-column: span 2; }
}
/* Tablets and phones: the photo gets its own full-width row above the details. */
@media (max-width: 991.98px) {
    html body.page .display-container .fc { grid-template-columns: minmax(0, 1fr); position: relative; }
    html body.page .fc-photo { min-height: 0; aspect-ratio: 16 / 9; max-height: 360px; width: 100%; }
    html body.page .fc-body { padding: .8rem 1rem .7rem; }
    html body.page .fc-actions { position: absolute; top: .5rem; right: .5rem; flex-direction: row; align-items: center; padding: 0; z-index: 3; }
    html body.page .fc-actions .flight-track-btn { background: rgba(255,255,255,.94); color: #141414; }
    html body.page .fc-actions button.btn-admin { background: rgba(255,255,255,.94); border-radius: 50%; width: 30px; height: 30px; color: #141414; }
    html body.page .fc-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html body.page .fc-m-airline { grid-column: span 1; }
    html body.page .fc-m-when { grid-column: span 2; }
}
@media (max-width: 600px) {
    html body.page .fc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body.page .fc-m-airline, html body.page .fc-m-when { grid-column: 1 / -1; }
    html body.page .fc-ap b { font-size: 1.15rem !important; }
    html body.page .fc-ap small { max-width: 8rem; }
    html body.page .fc-title { font-size: 1.05rem !important; }
    html body.page .fc-body { padding: .75rem .85rem .6rem; }
}
/* Same width as the page .container content, so cards line up with the pagination bar. */
html body.page .display-container .fc, html body.page .display-container .flight-item-date { width: calc(100% - 1.5rem); max-width: none; margin-left: auto; margin-right: auto; }
@media (min-width: 576px) { html body.page .display-container .fc, html body.page .display-container .flight-item-date { max-width: 516px; } }
@media (min-width: 768px) { html body.page .display-container .fc, html body.page .display-container .flight-item-date { max-width: 696px; } }
@media (min-width: 992px) { html body.page .display-container .fc, html body.page .display-container .flight-item-date { max-width: 936px; } }
@media (min-width: 1200px) { html body.page .display-container .fc, html body.page .display-container .flight-item-date { max-width: 1116px; } }
@media (min-width: 1400px) { html body.page .display-container .fc, html body.page .display-container .flight-item-date { max-width: 1296px; } }
html body.page .fc-airline-logo img { width: 28px; height: 28px; object-fit: contain; display: block; }
/* Boarding-pass details (option A) */
html body.page .fc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title chips" "pass pass" "stub stub" "notes notes"; gap: .7rem 1rem; align-content: start; }
html body.page .fc-row1 { grid-area: title; min-width: 0; }
html body.page .fc-top { grid-area: chips; justify-content: flex-end; align-items: center; align-self: start; align-content: flex-start; margin: 0; }
html body.page .fc-title { font-size: 1.35rem !important; }
html body.page .fc-sub { margin: .1rem 0 0; color: var(--fc-mut); font-size: .9rem !important; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
html body.page .fc-sub { gap: .2rem .9rem; }
html body.page .fc-airline { display: inline-flex; align-items: center; gap: .35rem; }
html body.page .fc-airline a { color: inherit; }
html body.page .fc-airline-logo { width: 20px; height: 20px; object-fit: contain; }
html body.page .fc-pass { grid-area: pass; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--fc-soft, #fafaf8); border: 1px solid var(--fc-line); border-radius: 12px; padding: .8rem 1rem; }
html body.page .fc-pass.is-plain { grid-template-columns: minmax(0, 1fr); }
html body.page .fc-pass.is-plain .fc-mid { align-items: flex-start; }
html body.page .fc-ap small, html body.page .fc-stub small { display: block; font-size: .65rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--fc-mut); }
html body.page .fc-ap b { display: block; font-size: 1.9rem !important; line-height: 1 !important; }
html body.page .fc-ap b abbr { text-decoration: none; border: 0; }
html body.page .fc-ap span { display: block; font-size: .8rem !important; color: var(--fc-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; }
html body.page .fc-ap em { display: block; font-style: normal; font-size: .8rem !important; font-weight: 600; margin-top: .15rem; }
html body.page .fc-ap-to { text-align: right; }
html body.page .fc-ap-to span { margin-left: auto; }
html body.page .fc-mid { display: flex; flex-direction: column; align-items: center; gap: .2rem; min-width: 0; }
html body.page .fc-act { font-weight: 700; font-size: .92rem !important; }
html body.page .fc-line { position: relative; width: 100%; border-top: 2px dashed var(--fc-line); margin: .5rem 0 .3rem; }
html body.page .fc-line > * { position: absolute; left: 50%; top: -1px; transform: translate(-50%, -50%); font-size: 1.35rem; line-height: 1; background: var(--fc-soft, #fafaf8); padding: 0 .3rem; color: inherit; text-decoration: none; }
html body.page .fc-line.is-live { border-top-color: #e11d1d; }
html body.page .fc-line.is-live > * { color: #e11d1d; }
html body.page .fc-line.is-local { border-top-style: dotted; }
html body.page .fc-dur { font-size: .75rem !important; color: var(--fc-mut); }
html body.page .fc-dur-time { white-space: nowrap; }
html body.page .fc-dur-time .fa-clock { margin-right: .15rem; font-size: .8em !important; vertical-align: .05em; }
html body.page .fc-stub { grid-area: stub; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem 1rem; border-top: 2px dotted var(--fc-line); padding-top: .6rem; }
html body.page .fc-stub b { font-size: .95rem !important; font-weight: 600; }
html body.page .fc-stub b a { color: inherit; }
html body.page .fc-notes { grid-area: notes; margin: 0; }
html body.page .fc-actions { flex-direction: row; align-items: flex-end; justify-content: flex-end; }
@media (max-width: 991.98px) { html body.page .fc-actions { align-items: center; } }
@media (max-width: 600px) {
    html body.page .fc-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chips" "title" "pass" "stub" "notes"; }
    html body.page .fc-top { justify-content: flex-start; }
    html body.page .fc-ap b { font-size: 1.4rem !important; }
    html body.page .fc-ap span { max-width: 7rem; }
    html body.page .fc-pass { gap: .6rem; padding: .7rem .75rem; }
    html body.page .fc-stub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Details span the card; Track and the menu sit in the bottom-right corner. */
@media (min-width: 992px) {
    html body.page .display-container .fc { grid-template-columns: 380px minmax(0, 1fr); position: relative; }
    html body.page .fc-actions { position: absolute; right: 1.1rem; bottom: .85rem; padding: 0; z-index: 2; }
    html body.page .fc-stub { padding-right: 8.5rem; }
    html body.page .fc-notes { padding-right: 8.5rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    html body.page .display-container .fc { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (min-width: 1200px) { html body.page .display-container .fc { grid-template-columns: 440px minmax(0, 1fr); } }
@media (min-width: 992px) and (max-width: 1199.98px) { html body.page .display-container .fc { grid-template-columns: 340px minmax(0, 1fr); } }
/* Cards / Table switch above flight lists */
html body.page .flight-view-bar { display: flex; justify-content: flex-end; margin-top: .75rem; margin-bottom: .25rem; }
html body.page .flight-view-toggle { display: inline-flex; border: 1px solid #d6d6d6; border-radius: 999px; padding: 2px; background: #fff; }
html body.page .flight-view-toggle button { border: 0; background: transparent; color: #141414; border-radius: 999px; padding: .25rem .8rem; font-size: .82rem !important; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
html body.page .flight-view-toggle button[aria-pressed="true"] { background: #141414; color: #f5c518; }
html body.page .flight-view-toggle button:focus-visible { outline: 2px solid #f5c518; outline-offset: 1px; }
html body.page .flight-view-table { margin-top: .5rem; }
html body.page .flight-family-group { margin-top: 1.5rem; }
html body.page .flight-family-group:first-child { margin-top: .5rem; }
html body.page .flight-family-heading { margin: 0 0 .5rem; font-size: 1.35rem !important; }
@media (max-width: 400px) {
    html body.page .flight-view-toggle button { padding: .25rem .55rem; gap: .25rem; }
}
/* Track panel below the whole card; Track and the menu stay at the bottom-right of the details. */
html body.page .display-container .fc > .oad-row { grid-column: 1 / -1 !important; grid-row: 2; }
@media (min-width: 992px) {
    html body.page .display-container .fc > .fc-photo { grid-column: 1; grid-row: 1; }
    html body.page .display-container .fc > .fc-body { grid-column: 2; grid-row: 1; }
    html body.page .display-container .fc > .fc-actions { position: static; grid-column: 2; grid-row: 1; align-self: end; justify-self: end; padding: 0 1.1rem calc(.85rem + 12px) 0; }
}
@media (max-width: 991.98px) { html body.page .display-container .fc > .oad-row { grid-row: auto; } }
/* Day headings (in the list and the fixed one while scrolling) look like the table view's day heading. */
html body.page .flight-item-date .date a, html body.page .flight-container .date-fixed a { color: #141414 !important; font-size: 1.1rem !important; font-weight: 600 !important; line-height: 1.3 !important; text-decoration: none; }
html body.page .flight-item-date .date a i, html body.page .flight-container .date-fixed a i { display: none; }
html body.page .flight-item-date .date a:hover, html body.page .flight-container .date-fixed a:hover { text-decoration: underline; }
html body.page .flight-container .date-fixed { background-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid #eee; }
html body.page .flight-container .date-fixed .date-item { border-bottom: 0; padding: .7rem .75rem; }
html body.page .flight-item-date .date, html body.page .flight-container .date-fixed .date-item { display: flex; align-items: baseline; gap: .6rem; }
html body.page .flight-day-count { font-size: .85rem !important; font-weight: 400; color: #6b7280; }
/* /latest: room between the hero and the pagination bar */
html body.page .page-hero-body.latest-page { padding-top: 2rem; }
/* Hide / Show statistics switch (js/script.js). */
html body.page .stats-toggle-bar { display: flex; justify-content: flex-end; margin: 1rem 0 .5rem; }
html body .page-hero-body .page-heading + .stats-toggle-bar { margin-top: 1rem !important; }
html body.page .stats-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .75rem; border: 1px solid #d6d6da; border-radius: 999px; background: transparent; color: #555; font-size: .8rem !important; font-weight: 600; line-height: 1.4; }
html body.page .stats-toggle:hover, html body.page .stats-toggle:focus-visible { border-color: #111; color: #111; }
html body.page.stats-hidden .stats-toggle-target { display: none !important; }
html body.page .fc-chip.fc-chip-alert { gap: .35rem; background: #dc3545 !important; border-color: #dc3545 !important; color: #fff !important; }
html body.page .activity-row .fc-chip-alert { margin: 0 0 0 .6rem; width: fit-content; vertical-align: middle; position: relative; top: -1px; }
html body.page a.fc-chip, html body.page a.fc-chip:hover, html body.page a.fc-chip:focus { text-decoration: none; }
html body.page a.fc-chip:hover, html body.page a.fc-chip:focus-visible { filter: brightness(.95); }
html body.page .fc-ap a.fc-ap-link, html body.page .fc-ap a.fc-ap-link:hover { color: inherit; text-decoration: none; }
html body.page .fc-complete { display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #198754; color: #fff; font-size: .7rem !important; flex: 0 0 auto; }
html body.page button.fc-chip { border: 0; font-family: inherit; cursor: pointer; }
html body.page .stats-toggle { line-height: 1.2 !important; } html body.page .stats-toggle i { display: inline-flex; align-items: center; line-height: 1; font-size: .8rem; }
html body.page .stats-toggle { border: 0 !important; padding: .15rem 0 !important; gap: .5rem; color: #333; }
html body.page .stats-toggle:hover, html body.page .stats-toggle:focus-visible { color: #111; }
html body.page .stats-switch-track { position: relative; display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: #c9c9ce; transition: background .15s; flex: 0 0 auto; }
html body.page .stats-switch-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
html body.page .stats-toggle[aria-checked="true"] .stats-switch-track { background: #f5c518; }
html body.page .stats-toggle[aria-checked="true"] .stats-switch-knob { transform: translateX(14px); }
html body.page .stats-toggle:focus-visible .stats-switch-track { outline: 2px solid #111; outline-offset: 2px; }
html body.page .fc-photo > .fc-slide[hidden] { display: none !important; }
html body.page .fc-gal-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: .8rem !important; }
html body.page .fc-gal-btn:hover, html body.page .fc-gal-btn:focus-visible { background: rgba(0,0,0,.78); }
html body.page .fc-gal-prev { left: .5rem; }
html body.page .fc-gal-next { right: .5rem; }
html body.page .fc-gal-dots { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); z-index: 3; display: inline-flex; gap: .3rem; }
html body.page .fc-gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.5); }
html body.page .fc-gal-dots i.is-on { background: #fff; }
@media (hover: hover) {
    html body.page .fc-gal-btn { opacity: 0; transition: opacity .15s; }
    html body.page .fc-photo:hover .fc-gal-btn, html body.page .fc-gal-btn:focus-visible { opacity: 1; }
}
html body.page .fc-photo { touch-action: pan-y; }
html body.page .fc-stub small { font-size: 1rem !important; letter-spacing: .02em; }
html body.page .fc-stub b { font-size: 1rem !important; }
html body.page .fc-sub, html body.page .fc-ap span, html body.page .fc-ap em, html body.page .fc-act, html body.page .fc-dur, html body.page .fc-notes, html body.page .fc-msn { font-size: 1rem !important; }
html body.page .fc-ap small { font-size: 1rem !important; letter-spacing: .02em; }
html body.page .fc-sub > span { font-size: 1rem !important; }
html body.page .fc-stub small, html body.page .fc-ap small { font-size: .8rem !important; letter-spacing: .05em; }
html body.page .fc-notes { display: flex; align-items: flex-start; gap: .5rem; padding: .55rem .75rem; background: #fff8dc; border-left: 4px solid #f5c518; border-radius: 6px; color: #3d3200; font-weight: 500; }
html body.page .fc-notes > i { margin-top: .2rem; color: #8a6d00; }
html body.page .fc-notes.is-diverted { background: #fdecee; border-left-color: #dc3545; color: #721c24; }
html body.page .fc-notes.is-diverted > i { color: #dc3545; }
html body.page .fc-notes a { color: inherit; text-decoration: underline; }
html body.page .fc-pass.has-via { align-items: start; }
html body.page .fc-pass.has-via > .fc-act { grid-column: 1 / -1; text-align: center; margin-bottom: -.4rem; }
html body.page .fc-vias { display: flex; align-items: center; gap: .5rem; width: 100%; margin: 0 0 .2rem; }
html body.page .fc-vias > .fc-line,
html body.page .fc-via-extra > .fc-line { flex: 1 1 1.5rem; min-width: 1rem; width: auto; margin: 0; align-self: flex-start; margin-top: 1.9rem; }
html body.page .fc-ap-via { flex: 0 0 auto; text-align: center; }
html body.page .fc-ap-via span { margin: 0 auto; max-width: 7rem; }
html body.page .fc-via-extra:not([hidden]) { display: contents; }
html body.page .fc-vias.is-open { flex-wrap: wrap; row-gap: .6rem; }
html body.page .fc-vias.is-open > .fc-line, html body.page .fc-vias.is-open .fc-via-extra > .fc-line { flex: 0 0 2rem; }
html body.page .fc-via-more { flex: 0 0 auto; align-self: flex-start; margin-top: 1.35rem; padding: .3rem .75rem; border: 1px solid var(--fc-line, #ddd); border-radius: 999px; background: #fff; color: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
html body.page .fc-via-more:hover, html body.page .fc-via-more:focus-visible { background: #f5c518; border-color: #f5c518; color: #000; }
@media (max-width: 600px) {
    html body.page .fc-pass.has-many-via { grid-template-columns: auto auto; justify-content: space-between; }
    html body.page .fc-pass.has-many-via .fc-mid { grid-column: 1 / -1; grid-row: 3; }
    html body.page .fc-pass.has-many-via .fc-ap-to { grid-row: 2; grid-column: 2; }
    html body.page .fc-vias { flex-wrap: wrap; justify-content: center; }
}
/* Desktop: Track and the menu sit beside the registration row, so special notes span the full width below. */
@media (min-width: 992px) {
    /* Chips and Track/menu get their own columns, so several chips don't squeeze the registration row. */
    html body.page .fc-body { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "title chips chips" "pass pass pass" "stub stub actions" "notes notes notes"; }
    html body.page .display-container .fc .fc-body > .fc-actions { grid-area: actions; position: static; align-self: end; justify-self: end; padding: 0; }
    html body.page .fc-stub, html body.page .fc-notes { padding-right: 0; }
    html body.page .fc-notes { padding-right: .75rem; }
}
@media (min-width: 992px) {
    html body.page .fc-body { column-gap: 0; }
    html body.page .fc-row1, html body.page .fc-stub { padding-right: 1rem; }
    html body.page .display-container .fc .fc-body > .fc-actions { align-self: stretch; justify-self: stretch; justify-content: flex-end; align-items: flex-end; border-top: 2px dotted var(--fc-line); padding-top: .6rem; }
}
html body.page .flight-family-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; padding: 0; }
html body.page .flight-family-pills > li { float: none; margin: 0 !important; }
html body.page .flight-family-pills > li > a { padding: .35rem .8rem; font-size: .9rem; line-height: 1.2; border-radius: 999px; }
html body.page .flight-family-heading { scroll-margin-top: 90px; }
html body.page .flight-family-heading > .fa-plane { margin-right: .35rem; font-size: .85em; color: var(--main-color); }
@media (prefers-reduced-motion: no-preference) { html:has(.flight-family-pills) { scroll-behavior: smooth; } }
