/* Go Around aerodrome card, v3 MOCKUP. One clean stylesheet (replaces final.css + its v2 / v2.1 layers). Mockup only, never shipped.
   Locked: status #22C55E / #FF8A00 / #F80F3B, ease cubic-bezier(.32,.72,0,1), 20px card rails.
   Why "!important" is still here: this file sits on top of the static LIVE stylesheets, which set the same card properties
   with !important (wst__wq.css 74, ad-types 76, fs 37, glass 17 ...). A normal declaration can never beat those, so a rule here
   carries !important only where a live !important rule targets the same property. Nothing in this file overrides
   another rule in this file. In the repo port these rules replace the live ones and the !important go away. */

/* ---------- 0. tokens ---------- */
:root{--mk-ease:cubic-bezier(.32,.72,0,1);--mk-pill:112px;--mk-pill-top:24px;--mk-pill-right:20px;
 --mk-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Inter,"Helvetica Neue",sans-serif;
 /* flight-condition word colours, one token per word. Dark themes: live hues; IFR / LIFR TEXT lifted toward white (live #F80F3B 4.45:1, #C026D3 3.87:1 on Midnight glass, both under 4.5:1) */
 --fc-VFR:#22C55E;--fc-MVFR:#3B82F6;--fc-IFR:#FA4D6E;--fc-LIFR:#D05EDE;--fc-VMC:#22C55E;--fc-IMC:#FA4D6E;--fc-none:var(--tx3);
 --mk-amber:#FF8A00}
/* light themes (Pearl, Champagne): 1C text-only darkening, same hue; dots, borders, icons and glows keep the exact status colours */
html[data-theme=day]{--fc-VFR:color-mix(in srgb,#22C55E 58%,#000);--fc-MVFR:color-mix(in srgb,#3B82F6 74%,#000);--fc-IFR:color-mix(in srgb,#F80F3B 80%,#000);
 --fc-LIFR:color-mix(in srgb,#C026D3 86%,#000);--fc-VMC:var(--fc-VFR);--fc-IMC:var(--fc-IFR);--mk-amber:color-mix(in srgb,#FF8A00 58%,#000)}

/* ---------- 1. header: verdict pill at ONE fixed spot (top 24, right 20, 112 × 28) ---------- */
html body #list .card:not(#z){position:relative}
html body #list .card .ch:not(#z):not(#y){display:block!important;position:static!important;flex-wrap:nowrap!important}
html body #list .card .ch>.t:not(#z):not(#y){position:relative!important;z-index:1!important;display:block!important;flex:none!important;width:auto!important;max-width:none!important;min-width:0!important;padding-right:calc(var(--mk-pill) + 12px)!important;box-sizing:border-box!important}
html body #list .card .ch h2:not(#z):not(#y){height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important;font:700 20px/23px Satoshi,-apple-system,sans-serif!important;letter-spacing:-.02em!important}
html body #list .card .ch h2 .nm:not(#z){display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important;text-overflow:clip!important;text-wrap:balance;overflow-wrap:break-word;font:inherit!important;font-size:var(--mk-nm,20px)!important;line-height:var(--mk-lh,23px)!important}
html body #list .card .ch>.badge:not(#z):not(#y){position:absolute!important;top:var(--mk-pill-top)!important;right:var(--mk-pill-right)!important;left:auto!important;bottom:auto!important;margin:0!important;width:var(--mk-pill)!important;min-width:var(--mk-pill)!important;max-width:var(--mk-pill)!important;height:28px!important;box-sizing:border-box!important;justify-content:center!important;z-index:2}
/* 1C: light-theme status text (green 62 %, amber 64 %) passes 4.5:1 on the tinted pill */
html[data-theme=day] body #list .card[data-s=go] .ch>.badge:not(#z){color:color-mix(in srgb,#22C55E 62%,#000)!important}
html[data-theme=day] body #list .card[data-s=caution] .ch>.badge:not(#z){color:color-mix(in srgb,#FF8A00 64%,#000)!important}
html[data-theme=day] body #list .card[data-s=go] .ch>.badge svg{color:#22C55E;stroke:#22C55E}
html[data-theme=day] body #list .card[data-s=caution] .ch>.badge svg{color:#FF8A00;stroke:#FF8A00}
/* NO DEPART / NO LAND text: same IFR text token as the flight words (dark: lifted #FA4D6E, light: 80 % darkened); the icon keeps the locked #F80F3B */
html body #list .card[data-s=nogo] .ch>.badge:not(#z){color:var(--fc-IFR)!important}
html body #list .card[data-s=nogo] .ch>.badge svg{color:#F80F3B;stroke:#F80F3B}
html body #list .card .ch .t .sub:not(#z){margin:6px 0 0!important;height:19px!important;align-items:center!important}
html body #list .card.ad-mil-pro .ch .icao:not(#z){height:19px!important;line-height:19px!important;padding:0 7px!important;box-sizing:border-box!important;border-radius:4px!important}
html body #list .card .ch>.mil-row{display:none!important}
html body #list .card .wq-nn{display:none!important}
/* type row: one under the ICAO on every card; wraps to a 2nd line rather than clipping */
.mk-type{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-height:16px;margin:6px 0 0;font:600 12px/16px var(--mk-sans);letter-spacing:.01em;color:var(--tx2)}
.mk-type .d{font-weight:500;color:var(--tx3)}
.mk-type .w-mil{font-weight:700;letter-spacing:.02em;color:#FF4D6A;text-shadow:0 0 6px rgba(225,29,72,.55),0 0 14px rgba(225,29,72,.35)}
html[data-theme=day] .mk-type .w-mil{color:#C0102E;text-shadow:0 0 5px rgba(192,16,46,.3)}

/* ---------- 2. reason line (verdict word removed, time inline) ---------- */
html body #list .card>.why:not(#z){margin-top:12px!important;color:color-mix(in srgb,var(--tx) 54%,transparent)!important}
html[data-theme=day] body #list .card>.why:not(#z){color:color-mix(in srgb,var(--tx) 60%,transparent)!important}
.mk-t{white-space:nowrap}
.mk-why{display:inline}

/* ---------- 3. eyebrow + weather row: temp · 3 lines · runway on ONE midline, one sans, tabular numbers ---------- */
html body #list>article.card>.mk-src{display:flex;justify-content:space-between;gap:8px;height:12px;margin:12px 0 6px;font:700 10px/12px var(--mk-sans);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:color-mix(in srgb,var(--tx) 54%,transparent)}
html[data-theme=day] body #list>article.card>.mk-src{color:color-mix(in srgb,var(--tx) 60%,transparent)}
html body #list>article.card>.wxrow:not(#z){display:grid!important;grid-template-columns:max-content minmax(0,1fr) 76px!important;column-gap:0!important;align-items:center!important;margin:0 0 12px!important;min-height:76px}
html body #list>article.card>.wxrow>.wxd:not(#z){transform:none!important;width:auto!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;align-self:center!important;margin:0 6px 0 10px!important;font-size:11.5px!important;letter-spacing:-.005em!important}
html body #list>article.card>.wxrow>.wxd>span:not(#z){display:block!important;height:18px;line-height:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #list .card .wxrow .temp:not(#z),html body #list .card .wxd:not(#z),html body #list .card .wxd b:not(#z){font-family:var(--mk-sans)!important;font-variant-numeric:tabular-nums!important}
html body #list .card .wxrow .temp:not(#z){display:block;width:auto!important;max-width:none!important;white-space:nowrap;letter-spacing:-.04em;line-height:46px!important}
html body #list .card .wxd b:not(#z){font-weight:600!important;letter-spacing:-.005em}
html body #list .card .wxd .wmtag{display:none!important}
html body #list .card .wxd [data-ad-empty]{display:block!important;visibility:visible!important}

/* ---------- 4. pills: Day/Night, FZL, DA (+ option-B minimum) on one 3-column spec ---------- */
.mk-pills{display:flex;flex-direction:column;gap:6px;margin:4px 0 14px}
html body #list .card .mk-pills>.mk-3col:not(#z):not(#y){display:grid!important;grid-template-columns:15px minmax(0,1fr) var(--mk-w2,0px) var(--mk-w3,0px)!important;column-gap:6px!important;align-items:center!important;height:30px!important;box-sizing:border-box!important;margin:0!important;padding:0 11px!important;border-radius:15px!important;font:500 11.5px/1.2 var(--mk-sans)!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.005em!important;color:var(--tx2)!important;white-space:nowrap!important;overflow:hidden!important;background:var(--gl)!important;box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 .5px var(--ln)!important}
html body #list .card .mk-pills>.mk-3col.mk-span:not(#z):not(#y){grid-template-columns:15px minmax(0,1fr)!important}
html body #list .card .mk-pills>*>svg:first-child{display:block;width:15px;height:15px;flex:none}
html body #list .card .mk-pills b{color:var(--tx)!important;font-weight:600!important}
html body #list .card .mk-pills .mk-c1:not(#z){display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font:inherit!important;line-height:1.2!important}
#list .card .mk-pills .mk-c2,#list .card .mk-pills .mk-c3{display:flex;justify-content:flex-end;white-space:nowrap;font:inherit;line-height:1.2;color:var(--tx3)}
#list .card .mk-pills .mk-c2 .v,#list .card .mk-pills .mk-c3 .v{display:inline-flex;align-items:center;gap:3px}
/* the ONE arrow: same 9px path, stroke and colour in Day/Night (↑ sunrise ↓ sunset), FZL and DA (trend). Direction = rotation only */
#list .card .mk-pills svg.mk-ar{display:block;width:9px;height:9px;flex:none;fill:none;stroke:var(--mk-ar)!important;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:none;transform-origin:50% 50%}
/* one arrow colour, resolved once on .mk-pills: the live .wfzl2 re-declares --tx3 on light themes, so per-pill var(--tx3) gave .wsun2 and .wfzl2 arrows different strokes */
#list .card .mk-pills{--mk-ar:var(--tx3)}
#list .card .mk-pills svg.mk-ar path{stroke:var(--mk-ar)!important;fill:none}
#list .card .mk-pills svg.mk-ar-dn{transform:rotate(180deg)}
#list .card .mk-pills svg.mk-ar-fl{transform:rotate(90deg)}
/* high DA (above the 2 500 ft policy limit): amber value + amber hairline on the pill; the AMSL and trend columns stay neutral */
.mk-warn{color:var(--mk-amber);font-weight:600}
html body #list .card .mk-pills>.wda2.mk-dahi:not(#z):not(#y){box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 1px color-mix(in srgb,#FF8A00 45%,transparent),inset 0 0 14px -6px #FF8A00!important}
html body #list .card .mk-pills .fz-amsl,html body #list .card .mk-pills .u .z{display:none!important}
/* red night pill (approved geometry): ONE centred flex row, icon + text, no column cells; icon and text cy 15.0 */
html body #list .card .mk-pills>.wsun2.mk-red:not(#z):not(#y){position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:30px!important;box-sizing:border-box!important;margin:0!important;padding:0 12px!important;border-radius:15px!important;font:500 11.5px/1.2 var(--mk-sans)!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.005em!important;white-space:nowrap!important;overflow:hidden!important;color:var(--tx)!important;
 background:color-mix(in srgb,#F80F3B 10%,var(--gl))!important;box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 1px color-mix(in srgb,#F80F3B 42%,transparent),inset 0 0 16px -4px #F80F3B!important}
html[data-theme=day] body #list .card .mk-pills>.wsun2.mk-red:not(#z):not(#y){background:color-mix(in srgb,#F80F3B 7%,var(--gl))!important;box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 1px color-mix(in srgb,#F80F3B 38%,transparent),inset 0 0 12px -5px #F80F3B!important}
html body #list .card .mk-pills>.wsun2.mk-red>.cd:not(#z){display:block!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font:inherit!important}
html body #list .card .mk-pills>.wsun2.mk-red>*{position:relative;z-index:1}
html body #list .card .mk-pills>.wsun2.mk-red::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;animation:breathe 5.5s ease-in-out infinite;
 background:radial-gradient(40px 30px at 0 50%,color-mix(in srgb,#F80F3B 26%,transparent),transparent 70%),radial-gradient(40px 30px at 100% 50%,color-mix(in srgb,#F80F3B 26%,transparent),transparent 70%)}
html[data-theme=day] body #list .card .mk-pills>.wsun2.mk-red::after{background:radial-gradient(40px 30px at 0 50%,color-mix(in srgb,#F80F3B 16%,transparent),transparent 70%),radial-gradient(40px 30px at 100% 50%,color-mix(in srgb,#F80F3B 16%,transparent),transparent 70%)}
html body #list .card .mk-pills>.wsun2.mk-red .mk-warn{color:#FF5C7A;font-weight:600}
html[data-theme=day] body #list .card .mk-pills>.wsun2.mk-red .mk-warn{color:#D90B32}
html body #list .card .mk-pills>.wsun2.mk-red svg path{fill:#FF8FA3}
html[data-theme=day] body #list .card .mk-pills>.wsun2.mk-red svg path{fill:#D90B32}
@media(prefers-reduced-motion:reduce){html body #list .card .mk-pills>.wsun2.mk-red::after{animation:none;opacity:.6}}
/* phones ≤400px (350px card): 11px pill text so label + two columns fit an SF/Inter-width face without clipping */
@media (max-width:400px){html body #list .card .mk-pills>.mk-3col:not(#z):not(#y),html body #list .card .mk-pills>.wsun2.mk-red:not(#z):not(#y){font-size:11px!important}}

/* ---------- 5. tab row: tabs, VFR · VMC chip and i on one 40px midline ---------- */
html body #list .card .crow:not(#z){display:flex!important;align-items:center!important;gap:8px!important;height:40px}
html body #list .card .crow .csw button:not(#z){line-height:1.2!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #list .card .crow .inote:not(#z){display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
html body #list .card .crow .fcb2:not(#z){margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0}
html body #list .card .crow .fcb2 .fbadge{display:none!important}
html body #list .card[data-s=heli] .crow:not(#z){justify-content:flex-end!important}
/* VFR · VMC: no dot; each word reads its OWN token from its own text (VFR/MVFR/IFR/LIFR, VMC/IMC), never a shared colour */
.mk-fc{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:14px;box-sizing:border-box;font:600 11.5px/1.2 var(--mk-sans);letter-spacing:.02em;color:var(--tx2);background:var(--gl);box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 .5px var(--ln);white-space:nowrap}
.mk-fc .mk-fw{font-weight:700;color:var(--fc-none)}
.mk-fc .s{color:var(--tx3)}
.mk-fc .mk-fw[data-k=VFR]{color:var(--fc-VFR)}.mk-fc .mk-fw[data-k=MVFR]{color:var(--fc-MVFR)}
.mk-fc .mk-fw[data-k=IFR]{color:var(--fc-IFR)}.mk-fc .mk-fw[data-k=LIFR]{color:var(--fc-LIFR)}
.mk-fc .mk-fw[data-k=VMC]{color:var(--fc-VMC)}.mk-fc .mk-fw[data-k=IMC]{color:var(--fc-IMC)}

/* ---------- 6. grid: live stretch rows (equal heights), card is a column, View pinned 20px from the bottom ---------- */
html body #list.list:not(#z){align-items:stretch!important}
html body #list>article.card:not(#z):not(#y){display:flex!important;flex-direction:column!important;align-self:stretch!important;height:auto!important}
html body #list>article.card>*{flex:none}
html body #list>article.card>.go-fact:not(#z){margin-top:auto!important}
html body #list>article.card>.fr:not(#z){margin-bottom:12px!important}

/* ---------- 7. Lighting & VFR minimum options (?lv=a|b|c|d) ---------- */
.mk-type .mk-lt{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--tx2)}
.mk-type .mk-lt.off{font-weight:500;color:var(--tx3)}
.mk-type .mk-lt svg,.mk-pills .mk-li{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body #list>article.card>.mk-src .mk-src-r{color:inherit}
#list .card .mk-pills .mk-c3 svg.mk-li{display:block;width:11px;height:11px}
#list .card .mk-pills>.mk-unlit .mk-c3{color:var(--mk-amber)}
.mk-whymin{white-space:nowrap}
/* option C: overlay anchored under the flight-condition row; option D: same panel in flow. Opaque, and 12 px radius = the METAR panel it covers, so no dark corner peeks out */
#list .card .mk-pop{padding:12px 14px;border-radius:12px;background:var(--bg,#0B0B10);box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 .5px var(--ln);font:500 11.5px/1.35 var(--mk-sans);color:var(--tx2)}
#list>article.card>.mk-pop-c{position:absolute;left:20px;right:20px;z-index:30;filter:drop-shadow(0 14px 22px rgba(0,0,0,.45))}
#list .card .crow+.mk-pop-d{margin:12px 0 0}
html[data-theme=day] #list .card .mk-pop{background:#fff;box-shadow:inset 0 0 0 .5px var(--ln)}
html[data-theme=day] #list>article.card>.mk-pop-c{filter:drop-shadow(0 12px 18px rgba(30,30,60,.22))}
.mk-pop h4{margin:0 0 8px;font:700 10px/12px var(--mk-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tx3)}
.mk-pop .r{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:10px;padding:6px 0;border-top:.5px solid var(--ln)}
.mk-pop .r:first-of-type{border-top:0}
.mk-pop .mk-fc-flat{height:auto;padding:0;background:none;box-shadow:none;font:inherit;font-weight:700}
.mk-pop .r>span{color:var(--tx3)}.mk-pop .r>b{color:var(--tx);font-weight:600}.mk-pop .r small{display:block;font-size:10.5px;color:var(--tx3);font-weight:500}

/* ---------- 8. inline loading (DA-calculator skeleton, daph 1.6 s); verdict keeps its 112 px box ---------- */
.mk-ph{position:relative!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
.mk-ph *{visibility:hidden!important}
.mk-ph::after{content:"";position:absolute;left:0;right:0;top:50%;height:.62em;min-height:8px;margin-top:-.31em;border-radius:.31em;background:linear-gradient(90deg,var(--gl2,rgba(255,255,255,.06)) 0%,var(--ln) 50%,var(--gl2,rgba(255,255,255,.06)) 100%) 0 0/200% 100%,var(--gl2,rgba(255,255,255,.06));box-shadow:inset 0 0 0 .5px var(--ln);animation:mkph 1.6s ease-in-out infinite;visibility:visible!important}
@keyframes mkph{from{background-position:100% 0,0 0}to{background-position:-100% 0,0 0}}
@media(prefers-reduced-motion:reduce){.mk-ph::after{animation:none}}
.mk-in{animation:mkin .35s var(--mk-ease) both}
@keyframes mkin{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
html body #list .card .ch>.badge.mk-ph svg{visibility:hidden!important}
html body #list .card .ch>.badge.mk-ph::after{left:16px;right:16px;margin-top:-4px;height:8px}
.ch>.badge.mk-in{animation:mkfade .35s var(--mk-ease) both!important}
@keyframes mkfade{from{opacity:.35}to{opacity:1}}
.mk-why.mk-ph{display:block;min-height:17px}.mk-why.mk-ph::after{right:22%;height:9px;margin-top:-4.5px}
.cp .mono.mk-ph{display:block;min-height:34px}.cp .mono.mk-ph::after{left:14px;right:14px;height:9px;margin-top:-4.5px}
.mk-fc.mk-ph{min-width:96px}
.mk-ph:empty,.mk-src .v.mk-ph{display:inline-block;min-width:3.2em}
#list .card .mk-pills .mk-c2 .v.mk-ph,#list .card .mk-pills .mk-c3 .v.mk-ph{min-width:3.2em;height:1.2em}
html body #list .card.mk-wait[data-s=none]::after{animation:breathe 5.5s ease-in-out infinite!important;opacity:1!important}
/* sitewide first-load bars (detail page, Status tiles, footer) */
#vs.mk-ph{display:inline-block;min-width:5.2em}
#vw.mk-ph{min-height:1.2em}#vw.mk-ph::after{right:28%}
.wxg b.mk-ph{display:block;min-height:1.1em;max-width:7em}
.dec li.mk-ph::after{right:20%}
#mhr .mht b.mk-ph,#mhr .mht small.mk-ph,#mhr .mx span.mk-ph{display:block;min-width:2.6em;min-height:1em}
#fbl .fn b.mk-ph,#fbl .fn small.mk-ph{display:block;min-width:8em}
.kv>div>span.mk-ph{min-width:4em;display:inline-block}
#fbr.mk-radar-wait g,#fbr.mk-radar-wait text[style*="monospace"]{opacity:0}
#fbr.mk-radar-wait{position:relative}#fbr.mk-radar-wait::after{content:"";position:absolute;left:30%;right:30%;top:50%;height:9px;margin-top:22px;border-radius:5px;background:linear-gradient(90deg,var(--gl2) 0%,var(--ln) 50%,var(--gl2) 100%) 0 0/200% 100%,var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln);animation:mkph 1.6s ease-in-out infinite}
#tiles .tile .n.mk-ph{display:inline-block;min-width:1.7em;min-height:.9em}
.stfoot .wupd.mk-ph{display:inline-block;min-width:7.5em}
.fcb .fbadge.mk-ph{min-width:64px;display:inline-flex}
