html,body,#root{height:100%;margin:0;overflow:hidden}body{font-family:system-ui,Arial,sans-serif;background:#000;color:#f5f5f5}.player{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;width:100%;max-width:100vw;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}.player-body{flex:1;display:flex;flex-direction:column;min-height:0}.player-debug{padding:8px 16px;font-size:12px;background:#00000080;flex-shrink:0}.player-debug-hint{opacity:.85;font-size:11px}.player-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative}.player-stage--layout{align-items:stretch;justify-content:stretch}.player-stage--empty,.player-stage--alert{flex:1;min-height:0}.player-stage--empty{align-items:stretch;justify-content:stretch;width:100%}.player-stage--empty .player-layout-root,.player-stage--alert .player-layout-root{flex:1;min-height:0;display:flex;flex-direction:column}.player-stage--alert .player-slot--fill{flex:1;min-height:0;width:100%;height:100%}.player-layout-root{position:relative;flex:1;display:flex;flex-direction:column;min-height:0;width:100%;overflow:hidden}.player-background-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;overflow:hidden}.player-slot--background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;border:none;border-radius:0;background:transparent}.player-slot--background .player-slot-media{width:100%;height:100%}.player-foreground-layer{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;min-height:0;width:100%;overflow:hidden}.player-foreground-layer>.player-slot--fill{flex:1;min-height:0;width:100%}.player-foreground-layer--empty{align-items:center;justify-content:center}.player-layout-grid{flex:1;display:grid;gap:4px;min-height:0;padding:4px;box-sizing:border-box;align-items:stretch}.player-layout-grid--lr-only{flex:1;align-content:stretch}.player-alternating-fade{flex:1;display:flex;flex-direction:column;min-height:0;width:100%;opacity:1;transition:opacity .5s ease}.player-alternating-fade[data-dimmed="1"]{opacity:0}.player-alternate-fs-wrap{flex:1;display:flex;min-height:0;padding:4px;box-sizing:border-box}.player-alternate-fs-pane{flex:1;min-height:0;width:100%}.player-slot{position:relative;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#00000040;overflow:hidden;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.player-slot--stack{flex-direction:column;justify-content:flex-start;align-items:stretch}.player-slot-media{flex:1;min-height:0;min-width:0;width:100%}.player-slot-media--fit-contain{display:flex;align-items:center;justify-content:center;overflow:hidden}.player-slot-media--fit-contain .player-slot-img,.player-slot-media--fit-contain .player-slot-video{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:1}.player-slot-media--fit-contain .player-slot-frame{flex:1 1 0;align-self:stretch;width:100%;min-width:0;min-height:0;max-width:100%;max-height:100%}.player-slot-media--fit-cover{position:relative;overflow:hidden}.player-slot-media--fit-cover .player-slot-img,.player-slot-media--fit-cover .player-slot-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}.player-slot-media--fit-cover .player-slot-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0}.player-slot-chrome{flex-shrink:0;width:100%;box-sizing:border-box;padding:6px 10px 10px}.player-slot-progress-track{height:3px;border-radius:2px;background:#ffffff0f;overflow:hidden}.player-slot-progress-fill{height:100%;border-radius:2px;background:#ffffff38;transform-origin:left center;transition:width .08s linear}.player-slot-progress-track--indeterminate{background:linear-gradient(90deg,#ffffff0f,#ffffff29 45%,#ffffff0f);background-size:180% 100%;animation:player-slot-progress-shimmer 1.4s linear infinite}.player-slot-progress-track--indeterminate .player-slot-progress-fill{opacity:0}@keyframes player-slot-progress-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.player-slot-dots{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding-top:8px}.player-slot-dots span{width:6px;height:6px;border-radius:50%;background:#ffffff38;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.player-slot-dots span.active{background:#ffffffb8;transform:scale(1.25);box-shadow:0 0 5px #ffffff40}.player-slot--grid-cell{width:100%;height:100%;min-height:0;align-self:stretch}.player-slot-full{min-height:0}.player-slot-floating{max-width:min(520px,92vw);max-height:min(360px,42vh);border-radius:12px;box-shadow:0 12px 40px #00000073}.player-slot--fill{width:100%;height:100%;min-height:0;flex:1;border:0;background:transparent}.player-slot-frame{border:0;background:#fff}.player-slot-frame--autoscroll{overflow:hidden}.player-slot-video{background:#000}.player-slot-empty{padding:12px;font-size:14px;opacity:.55;text-align:center}.player-slot-empty--float{min-width:120px}.player-floating-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:20}.player-floating-overlay .player-slot{pointer-events:auto}.player-floating--top-left .player-slot-floating{position:absolute;top:12px;left:12px}.player-floating--top-right .player-slot-floating{position:absolute;top:12px;right:12px}.player-floating--bottom-left .player-slot-floating{position:absolute;bottom:12px;left:12px}.player-floating--bottom-right .player-slot-floating{position:absolute;bottom:12px;right:12px}.player-floating--center .player-slot-floating{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.player-widgets-layer{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:60}.player-widget-pos{position:absolute;pointer-events:auto}.player-widget-pos--top-left{top:16px;left:16px}.player-widget-pos--top-right{top:16px;right:16px}.player-widget-pos--bottom-left{bottom:16px;left:16px}.player-widget-pos--bottom-right{bottom:16px;right:16px}.player-widget-pos--center{top:50%;left:50%;transform:translate(-50%,-50%)}.player-widget-canvas{display:block;border-radius:10px;background:#fffffff0;box-shadow:0 4px 24px #00000059}.player-widget-fallback{font-size:12px;padding:10px 12px;background:#0000008c;border:1px solid rgba(255,255,255,.15);border-radius:8px;max-width:200px}.player-widget-error{font-size:11px;padding:8px 10px;max-width:220px;background:#781414d9;border-radius:8px;color:#fff}.player-empty{padding:24px;opacity:.7}.content{margin:12px 16px 16px;background:#1c1c1c;border:1px solid #333;border-radius:8px;padding:16px;flex-shrink:0;max-height:min(40vh,320px);overflow:auto}.debug-slots{font-size:13px;margin:0;line-height:1.5}.error{color:#ff6b6b;padding:12px 16px;flex-shrink:0}
