html.afg-search-open, html.afg-search-open body { overflow: hidden; }
#navbar-quick-search-input { cursor: pointer; }
.afg-search { position: fixed; inset: 0; z-index: 2000; }
.afg-search[hidden] { display: none; }
.afg-search-veil { position: absolute; inset: 0; background: rgba(10, 10, 12, .6); }
.afg-search-box { position: relative; margin: 8vh auto 0; width: min(760px, 94vw); max-height: 84vh; display: flex; flex-direction: column;
	background: #fff; color: #111; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border-top: 3px solid #f5c518; }
.afg-search-bar { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.2rem; border-bottom: 1px solid #e3e3e0; }
.afg-search-bar > i { color: #8a8a8a; }
.afg-search.is-loading .afg-search-bar > i { color: #c99a00; }
.afg-search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font-size: 1.15rem !important; padding: .2rem 0; }
.afg-search-bar input::-webkit-search-cancel-button { display: none; }
.afg-search-close { border: 1px solid #e3e3e0; background: transparent; color: #6b6b6b; border-radius: 6px; padding: .1rem .5rem; font-size: .75rem !important; }
.afg-search-chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding: 0 1.2rem; }
.afg-search-chips:not(:empty) { padding: .75rem 1.2rem; border-bottom: 1px solid #e3e3e0; }
.afg-search-lbl { color: #6b6b6b; font-size: .9rem !important; margin-right: .2rem; }
.afg-search-chip { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: #0d0f13; color: #fff; border-radius: 999px; padding: .22rem .7rem; font-size: .85rem !important; line-height: 1.4; }
.afg-search-chip i { font-style: normal; color: #f5c518; font-size: .68rem !important; letter-spacing: .1em; text-transform: uppercase; }
.afg-search-chip span { opacity: .6; font-size: 1rem !important; }
.afg-search-chip:hover span, .afg-search-chip:focus-visible span { opacity: 1; color: #f5c518; }
.afg-search-tabs { display: flex; gap: .3rem; padding: 0 1.1rem; overflow-x: auto; }
.afg-search-tabs:not(:empty) { padding: .55rem 1.1rem; border-bottom: 1px solid #e3e3e0; }
.afg-search-tab { border: 0; background: transparent; color: inherit; padding: .3rem .8rem; border-radius: 999px; font-size: .9rem !important; white-space: nowrap; }
.afg-search-tab em { font-style: normal; opacity: .6; margin-left: .3rem; }
.afg-search-tab.is-on { background: #f5c518; color: #111; font-weight: 700; }
.afg-search-body { overflow-y: auto; padding: .3rem 1.1rem .8rem; flex: 1; overscroll-behavior: contain; }
.afg-search-sec h6 { margin: .9rem 0 .4rem; font-size: .72rem !important; letter-spacing: .18em; text-transform: uppercase; color: #6b6b6b; }
.afg-search-sec h6 small { letter-spacing: .05em; text-transform: none; font-size: .78rem !important; margin-left: .4rem; }
.afg-search-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .45rem .5rem; border-radius: 10px; color: inherit !important; text-decoration: none !important; }
.afg-search-item.is-sel, .afg-search-item:hover { background: #f4f4f2; outline: 2px solid #f5c518; }
.afg-search-thumb { width: 56px; height: 38px; border-radius: 6px; background: #e8ebee; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #8a8a8a; }
.afg-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.afg-search-text { min-width: 0; display: flex; flex-direction: column; }
.afg-search-title { font-weight: 700; font-size: .97rem !important; line-height: 1.3 !important; }
#afg-search .afg-search-live { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px; background: #c62828; color: #fff; font-size: .7rem !important; font-weight: 700; letter-spacing: .05em; line-height: 1.45 !important; text-transform: uppercase; vertical-align: .1em; white-space: nowrap; }
.afg-search-live-dot { width: .38rem; height: .38rem; border-radius: 50%; background: #fff; animation: afg-search-live-pulse 1.6s ease-in-out infinite; }
@keyframes afg-search-live-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .afg-search-live-dot { animation: none; } }
.afg-search-sub { color: #6b6b6b; font-size: .86rem !important; line-height: 1.35 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afg-search-snippet { margin-top: .2rem; padding: .2rem .5rem; border-left: 3px solid #f5c518; background: #fffbe6; border-radius: 0 6px 6px 0; font-size: .84rem !important; line-height: 1.35 !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.afg-search-snippet mark, .afg-search-item mark { background: #f5c518; color: #111; padding: 0 .1rem; border-radius: 3px; }
.afg-search-more { display: inline-block; margin: .3rem .5rem .2rem; font-size: .86rem !important; font-weight: 600; color: inherit !important; text-decoration: underline !important; text-decoration-color: #f5c518 !important; }
.afg-search-when { color: #6b6b6b; font-size: .85rem !important; white-space: nowrap; text-align: right; }
.afg-search-note, .afg-search-upsell { margin: .8rem 0 .2rem; padding: .6rem .8rem; border-left: 3px solid #f5c518; background: #f4f4f2; font-size: .9rem !important; }
.afg-search-empty { margin: 1rem 0; color: #6b6b6b; }
.afg-search-welcome p { margin: 1rem 0 .6rem; color: #6b6b6b; }
.afg-search-examples { display: flex; flex-wrap: wrap; gap: .45rem; }
.afg-search-examples button { border: 1px solid #e3e3e0; background: #f4f4f2; color: inherit; border-radius: 999px; padding: .3rem .85rem; font-size: .9rem !important; }
.afg-search-examples button:hover { border-color: #f5c518; }
.afg-search-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 1.2rem; border-top: 1px solid #e3e3e0; color: #6b6b6b; font-size: .82rem !important; }
.afg-search-foot span { font-size: .82rem !important; }
.afg-search-foot .afg-search-all { padding: .35rem 1rem; border-radius: 999px; }
@media (max-width: 576px) {
	.afg-search-box { margin: 0; width: 100%; max-height: none; height: 100%; border-radius: 0; }
	.afg-search-item { grid-template-columns: 44px 1fr; }
	.afg-search-thumb { width: 44px; height: 32px; }
	.afg-search-when { grid-column: 2; text-align: left; }
	.afg-search-sub { white-space: normal; }
	.afg-search-foot > span { display: none; }
	.afg-search-foot { justify-content: flex-end; }
	.afg-search-foot:not(:has(a)) { display: none; }
}
.afg-search-bar, .afg-search-chips, .afg-search-tabs, .afg-search-foot { flex-shrink: 0; }
.afg-search-bar input, .afg-search-bar input:focus { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; color: inherit !important; height: auto !important; }
.afg-search-tabs { scrollbar-width: none; }
.afg-search-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 576px) { .afg-search-when { margin-top: -.2rem; } }
#afg-search #afg-search-input:is(:focus, :focus-visible) { outline: none !important; box-shadow: none !important; }
#afg-search .afg-search-box:focus-within { box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 2px #f5c518; }

.afg-search-metar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: .8rem !important; line-height: 1.35 !important; color: #444; }
.afg-search-metar.is-stale { opacity: .65; }
.afg-metar-cat { padding: 1px 6px; border-radius: 3px; font-weight: 700; font-size: .72rem !important; color: #fff; background: #6b6b6b; }
.afg-metar-cat.VFR { background: #1e8e3e; }
.afg-metar-cat.MVFR { background: #1a73e8; }
.afg-metar-cat.IFR { background: #d93025; }
.afg-metar-cat.LIFR { background: #a142f4; }
.afg-metar-age { color: #6b6b6b; }
.afg-metar-raw { flex-basis: 100%; padding: 0; background: none; color: inherit; font-size: .76rem !important; white-space: normal; word-break: break-word; }
html.afg-search-open .date-fixed { display: none !important; }
