/* The flight card's minimise control and tab, and the overlays its entrance styles draw (see cardfx.js). Loaded for
   both designs; colours come from the design's own accent. */
#c-close { display: none; }
#c-min { width: 32px; height: 32px; flex: none; display: grid; place-items: center; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
#c-min i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--accent, var(--volt)); filter: drop-shadow(0 0 6px var(--glow, transparent)); transition: transform 0.2s ease; }
#c-min:hover i { transform: translateY(2px); }
#c-min:focus-visible { outline: 2px solid var(--accent, var(--volt)); outline-offset: 2px; }
.ctab { position: absolute; left: 44px; bottom: 40px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 14px; border-radius: 99px;
  border: 1px solid var(--hair); background: color-mix(in srgb, var(--card, #0e0e12) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--accent, var(--volt)); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; cursor: pointer; }
.ctab i { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid currentColor; filter: drop-shadow(0 0 6px var(--glow, transparent)); }
.ctab:hover { border-color: var(--faint, currentColor); }
:root[data-design="classic"] .ctab { left: 24px; bottom: 24px; color: var(--ink); background: var(--raised); }
:root[data-design="classic"] .ctab i { color: var(--volt); filter: drop-shadow(0 0 0 1px var(--ink)); }
html[data-detail] .ctab { opacity: 0; pointer-events: none; }

.cfx, .cfx-f { position: absolute; inset: 0; pointer-events: none; z-index: 2; --fx: var(--accent, var(--volt)); }
.cfx i { position: absolute; display: block; }
.cfx .base { height: 2px; background: #fff; box-shadow: 0 0 10px 2px var(--fx), 0 0 30px var(--fx); }
.cfx .beam { background: linear-gradient(0deg, color-mix(in srgb, var(--fx) 34%, transparent), transparent 85%); transform-origin: 50% 100%; }
.cfx .ring { border: 1.5px solid var(--fx); border-radius: 50%; box-shadow: 0 0 14px color-mix(in srgb, var(--fx) 50%, transparent), inset 0 0 14px color-mix(in srgb, var(--fx) 30%, transparent); }
.cfx .blip { width: 10px; height: 10px; border-radius: 50%; background: var(--fx); box-shadow: 0 0 12px var(--fx); }
.cfx .tether { height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, var(--fx), color-mix(in srgb, var(--fx) 40%, transparent)); box-shadow: 0 0 6px var(--fx); }
.cfx .caret { width: 8px; background: var(--fx); box-shadow: 0 0 10px var(--fx); }
