/* forensic-player.css — BTHL Forensic Media Analyzer overlay. Self-contained; only
 * fpx-* classes. Rides the portal design tokens where available. */
.fpx-root { position: fixed; inset: 0; z-index: 10000; background: #010104; display: flex; flex-direction: column; font-family: 'Inter', system-ui, sans-serif; }
.fpx-top { display: flex; align-items: center; gap: 1rem; padding: .55rem 1rem; background: #0d0d20; border-bottom: 1px solid #1a1a3e; }
.fpx-title { display: flex; align-items: baseline; gap: .9rem; min-width: 0; }
.fpx-brand { font-family: 'Share Tech Mono', monospace; font-size: .78rem; color: #10b981; letter-spacing: .14em; white-space: nowrap; }
.fpx-case { font-family: 'Share Tech Mono', monospace; font-size: .74rem; color: #06b6d4; letter-spacing: .1em; white-space: nowrap; }
.fpx-name { font-size: .8rem; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fpx-close { margin-left: auto; font-size: 1.3rem; line-height: 1; }

.fpx-stage { position: relative; flex: 1; min-height: 0; cursor: grab; }
.fpx-stage:active { cursor: grabbing; }
.fpx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fpx-hud { position: absolute; top: .6rem; left: .8rem; display: flex; gap: 1.1rem; font-family: 'Share Tech Mono', monospace; font-size: .68rem; color: #10b981; letter-spacing: .08em; background: rgba(1,1,6,.55); padding: .3rem .6rem; border-radius: 5px; pointer-events: none; }
.fpx-hist { position: absolute; right: .8rem; top: .6rem; border: 1px solid #1a1a3e; border-radius: 5px; opacity: .85; }

.fpx-scrub { padding: .3rem .9rem 0; background: #07070f; }
.fpx-seek { width: 100%; accent-color: #10b981; height: 18px; cursor: pointer; }

.fpx-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .55rem .9rem .7rem; background: #07070f; border-top: 1px solid #1a1a3e; }
.fpx-grp { display: flex; align-items: center; gap: .35rem; }
.fpx-btn { font-family: 'Share Tech Mono', monospace; font-size: .7rem; letter-spacing: .06em; padding: .38rem .7rem; border-radius: 6px; border: 1px solid #252550; background: transparent; color: #94a3b8; cursor: pointer; }
.fpx-btn:hover { border-color: #10b981; color: #10b981; }
.fpx-btn.on { background: rgba(16,185,129,.14); color: #10b981; border-color: #10b981; }
.fpx-play { font-size: .85rem; padding: .38rem .9rem; }
.fpx-snap { color: #06b6d4; border-color: rgba(6,182,212,.5); }
.fpx-sel { font-family: 'Share Tech Mono', monospace; font-size: .7rem; background: #12122a; color: #94a3b8; border: 1px solid #252550; border-radius: 6px; padding: .34rem .4rem; }
.fpx-sliders label { display: flex; align-items: center; gap: .3rem; font-family: 'Share Tech Mono', monospace; font-size: .62rem; color: #64748b; }
.fpx-sliders input[type=range] { width: 74px; accent-color: #8b5cf6; }
.fpx-custody { margin-left: auto; font-family: 'Share Tech Mono', monospace; font-size: .62rem; color: #10b981; letter-spacing: .06em; }

.fpx-toast { position: absolute; bottom: 5.4rem; left: 50%; transform: translateX(-50%); background: #0d0d20; border: 1px solid #10b981; color: #e2e8f0; font-family: 'Share Tech Mono', monospace; font-size: .74rem; padding: .5rem 1rem; border-radius: 7px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.fpx-toast.show { opacity: 1; }

@media (max-width: 760px) {
  .fpx-sliders { display: none; }
  .fpx-custody { display: none; }
  .fpx-hist { display: none; }
}
