.fpm { position: relative; }
.fpm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 34px 0 22px; }
.fpm-tab { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid rgba(148,212,244,.22); background: rgba(7,28,66,.6); color: #fff; font: inherit; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.fpm-tab:hover { border-color: rgba(148,212,244,.5); transform: translateY(-2px); }
.fpm-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fpm-tab[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(135deg, rgba(0,84,133,.55), rgba(7,28,66,.85)); box-shadow: 0 0 0 4px rgba(148,212,244,.08), 0 18px 40px rgba(0,8,24,.4); }
.fpm-tab .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(148,212,244,.1); color: var(--accent); }
.fpm-tab[aria-selected="true"] .ico { background: var(--accent); color: var(--navy); }
.fpm-tab svg { width: 22px; height: 22px; }
.fpm-tab b { display: block; font-size: 16px; line-height: 1.25; }
.fpm-tab small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--teal-pale); opacity: .8; margin-top: 2px; }
.fpm-stage { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.fpm-console { position: relative; border-radius: 18px; overflow: hidden; background: #020d22; border: 1.5px solid rgba(148,212,244,.28); box-shadow: 0 30px 70px rgba(0,8,24,.5); display: flex; flex-direction: column; min-height: 0; }
.fpm-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(148,212,244,.16); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.fpm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: fpmBlink 1.8s infinite; }
.fpm-bar span:last-child { margin-left: auto; color: rgba(203,232,230,.6); letter-spacing: .08em; font-weight: 600; }
.fpm-radar { position: relative; aspect-ratio: 16 / 10; margin: 14px 16px 0; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #0a4a7c 0%, #06335f 26%, #03234b 52%, #020d22 78%); }
.fpm-radar::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148,212,244,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,212,244,.07) 1px, transparent 1px); background-size: 28px 28px; }
.fpm-rings { position: absolute; inset: 0; }
.fpm-sweep { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(148,212,244,0) 0deg, rgba(148,212,244,0) 300deg, rgba(148,212,244,.32) 358deg, rgba(148,212,244,0) 360deg); border-radius: 50%; animation: fpmSweep 6s linear infinite; }
.fpm-ping { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #cbe8e6; opacity: .35; transition: opacity .4s, transform .4s, background .4s; }
.fpm-ping.on { opacity: 1; background: #fff; transform: scale(1.15); }
.fpm-ping.on::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: fpmPing 1.6s ease-out infinite; }
.fpm-ping.hot { background: var(--accent); opacity: 1; }
.fpm-feed { list-style: none; margin: 0; padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.fpm-feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(7,28,66,.85); border: 1px solid rgba(148,212,244,.14); font-size: 13.5px; color: #fff; animation: fpmIn .5s var(--ease) both; }
.fpm-feed li:first-child { border-color: rgba(148,212,244,.55); background: rgba(0,84,133,.35); }
.fpm-feed .src { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--accent); padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.fpm-feed .t { min-width: 0; overflow-wrap: anywhere; }
.fpm-feed .when { font-size: 11.5px; color: rgba(203,232,230,.65); white-space: nowrap; }
.fpm-note { font-size: 11.5px; color: rgba(203,232,230,.6); padding: 0 16px 14px; margin: 0; }
.fpm-panel { border-radius: 18px; background: rgba(7,28,66,.72); border: 1.5px solid rgba(148,212,244,.22); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.fpm-panel[hidden] { display: none; }
.fpm-panel h3 { margin: 0; font-size: 22px; line-height: 1.25; color: #fff; }
.fpm-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fpm-uses li { padding: 14px; border-radius: 12px; background: rgba(2,13,34,.55); border: 1px solid rgba(148,212,244,.14); opacity: 0; transform: translateY(10px); animation: fpmIn .55s var(--ease) forwards; }
.fpm-uses li:nth-child(2) { animation-delay: .08s; } .fpm-uses li:nth-child(3) { animation-delay: .16s; } .fpm-uses li:nth-child(4) { animation-delay: .24s; }
.fpm-uses .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: var(--accent); margin-bottom: 10px; }
.fpm-uses svg { width: 19px; height: 19px; }
.fpm-uses b { display: block; color: #fff; font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
.fpm-uses p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--teal-pale); }
.fpm-example { position: relative; padding: 16px 18px 16px 20px; border-radius: 12px; background: linear-gradient(135deg, rgba(148,212,244,.12), rgba(148,212,244,.04)); border: 1px dashed rgba(148,212,244,.45); }
.fpm-example small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 6px; }
.fpm-example p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #fff; }
.fpm-help { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-top: auto; }
.fpm-help span { font-size: 13.5px; color: var(--teal-pale); max-width: 34ch; }
.fpm-src { text-align: center; margin: 22px auto 0; font-size: 12.5px; color: rgba(203,232,230,.7); max-width: 760px; }
.fpm-src a { color: var(--accent); }
@keyframes fpmSweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes fpmPing { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes fpmBlink { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 60% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
@keyframes fpmIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .fpm-stage { grid-template-columns: minmax(0, 1fr); } .fpm-console { min-height: 0; } }
@media (max-width: 760px) { .fpm-tabs { grid-template-columns: minmax(0, 1fr); } .fpm-tab small { display: none; } .fpm-uses { grid-template-columns: minmax(0, 1fr); } .fpm-panel { padding: 20px; } .fpm-feed li { grid-template-columns: minmax(0, 1fr) auto; } .fpm-feed .src { grid-column: 1 / -1; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .fpm-sweep, .fpm-bar i, .fpm-ping.on::after { animation: none; } .fpm-feed li, .fpm-uses li { animation: none; opacity: 1; transform: none; } }
