/* StreamForge player (shared by the panel overview and /NAME/embed.html) */
.sfp { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 12px; font-family: 'Inter', system-ui, sans-serif; color: #fff; }
.sfp.embed { border-radius: 0; height: 100%; aspect-ratio: auto; }
.sfp video { width: 100%; height: 100%; display: block; background: #000; cursor: pointer; object-fit: contain; }
.sfp.idle video { cursor: none; }
.sfp.idle .sfp-bar { opacity: 0; pointer-events: none; transform: translateY(6px); }
.sfp-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 26px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.45) 55%, transparent); transition: opacity .22s ease, transform .22s ease; }
.sfp-spacer { flex: 1; }
.sfp-btn { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: #fff; cursor: pointer; transition: background .15s; font: inherit; }
.sfp-btn:hover { background: rgba(255,255,255,.14); }
.sfp-btn.wide { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.sfp-live { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: 800 11px/1 'Inter', system-ui, sans-serif; letter-spacing: .08em; cursor: default; }
.sfp-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3b4e; box-shadow: 0 0 8px #ff3b4e; }
.sfp-live.off { cursor: pointer; color: rgba(255,255,255,.62); }
.sfp-live.off .dot { background: rgba(255,255,255,.42); box-shadow: none; }
.sfp-live.off:hover { background: rgba(255,255,255,.2); color: #fff; }
.sfp-live.ok .dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.sfp-live.bad .dot { background: #ff3b4e; box-shadow: 0 0 8px #ff3b4e; animation: sfp-blink 1s ease-in-out infinite; }
@keyframes sfp-blink { 50% { opacity: .35; } }
.sfp-vol { display: flex; align-items: center; }
.sfp-vol input { width: 0; opacity: 0; height: 3px; margin-left: 0; accent-color: #8b7cf6; transition: width .18s, opacity .18s, margin .18s; }
.sfp-vol:hover input, .sfp-vol input:focus-visible { width: 76px; opacity: 1; margin-left: 6px; }
.sfp-menu { position: relative; }
.sfp-menu-list { position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 116px; max-height: 218px; overflow-y: auto; padding: 5px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14); background: rgba(14,12,20,.96); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.sfp-menu-list button { display: block; width: 100%; padding: 7px 11px; border: 0; border-radius: 7px; background: transparent; color: rgba(255,255,255,.82); font: 600 12.5px 'Inter', system-ui, sans-serif; text-align: left; cursor: pointer; }
.sfp-menu-list button:hover { background: rgba(255,255,255,.1); color: #fff; }
.sfp-menu-list button.on { background: #8b7cf6; color: #fff; }
.sfp-busy { position: absolute; top: 14px; left: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); pointer-events: none; }
.sfp-busy-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: #8b7cf6; animation: sfp-spin .8s linear infinite; }
@keyframes sfp-spin { to { transform: rotate(360deg); } }
.sfp-sound { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border: 0; border-radius: 999px; background: rgba(0,0,0,.62); backdrop-filter: blur(8px); color: #fff; font: 600 13px 'Inter', system-ui, sans-serif; cursor: pointer; }
.sfp-sound:hover { background: rgba(139,124,246,.9); }
.sfp-state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.72); text-align: center; padding: 20px; }
.sfp-state .inner { max-width: 360px; }
.sfp-state svg { color: #8b7cf6; margin-bottom: 8px; }
.sfp-state h3 { margin: 0 0 6px; font-size: 17px; }
.sfp-state p { margin: 0 0 14px; color: rgba(255,255,255,.7); font-size: 13px; }
.sfp-retry { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #a78bfa, #6366f1); color: #fff; font: 600 13px 'Inter', system-ui, sans-serif; cursor: pointer; }
@media (max-width: 560px) { .sfp-vol input, .sfp-vol:hover input { display: none; } .sfp-bar { gap: 4px; padding: 22px 8px 10px; } }
