.ys-player{--ys-accent:#8057ff;--ys-bg:#101118;--ys-card:#1b1d27;--ys-text:#f5f5fa;--ys-muted:#a7a8b5;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;background:var(--ys-bg);color:var(--ys-text);border:1px solid #2a2c38;border-radius:18px;overflow:hidden;max-width:100%;box-shadow:0 18px 48px rgba(0,0,0,.24);direction:rtl}.ys-player *{box-sizing:border-box}.ys-player__header{min-height:58px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(100deg,#1e1b2b,#171821)}.ys-player__title{display:flex;align-items:center;gap:10px;min-width:0}.ys-player__title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ys-player__live-dot{width:9px;height:9px;border-radius:50%;background:#21d184;box-shadow:0 0 0 5px rgba(33,209,132,.12)}.ys-player__quality{color:#d5caff;background:rgba(128,87,255,.16);border:1px solid rgba(128,87,255,.28);padding:5px 10px;border-radius:999px;font-size:12px;white-space:nowrap}.ys-player__screen{position:relative;width:100%;aspect-ratio:16/9;min-height:220px;background:#050506;overflow:hidden}.ys-player__stage,.ys-player__stage iframe,.ys-player__stage video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#050506}.ys-player__stage iframe{display:block}.ys-player__stage video{object-fit:contain}.ys-player__loading{position:absolute;left:12px;top:12px;padding:7px 11px;background:rgba(0,0,0,.68);border-radius:9px;font-size:12px;pointer-events:none}.ys-player__gate{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:16px;background:linear-gradient(135deg,rgba(9,9,14,.92),rgba(18,14,33,.88))}.ys-player__gate[hidden]{display:none}.ys-player__gate-card{text-align:center;max-width:390px;padding:26px 24px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(28,27,39,.96);box-shadow:0 16px 48px rgba(0,0,0,.38)}.ys-player__gift{display:grid;place-items:center;width:44px;height:44px;margin:auto auto 12px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#a37bff,#6339e7);font-size:23px}.ys-player__gate h3{margin:0 0 8px;font-size:19px}.ys-player__gate p{margin:0 0 17px;color:var(--ys-muted);font-size:14px}.ys-player button{font:inherit;cursor:pointer}.ys-player__reward{border:0;border-radius:12px;background:linear-gradient(110deg,#936bff,#7047ec);color:#fff;padding:12px 22px;font-weight:750;box-shadow:0 8px 22px rgba(112,71,236,.25)}.ys-player__reward:disabled{opacity:.7;cursor:wait}.ys-player__reward-error{display:block;min-height:17px;margin-top:10px;color:#ffb2b2;font-size:12px}.ys-player__toolbar{padding:14px 16px 16px}.ys-player__server-label{font-size:13px;color:var(--ys-muted);margin:0 0 9px}.ys-player__servers{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 8px;scrollbar-width:thin}.ys-player__server{flex:0 0 auto;min-width:92px;padding:10px 14px;border:1px solid #333542;border-radius:10px;background:#20212b;color:#e9e9f2;white-space:nowrap;transition:.18s ease}.ys-player__server:hover{border-color:#8d6cff;transform:translateY(-1px)}.ys-player__server.is-active{background:var(--ys-accent);border-color:var(--ys-accent);color:white;box-shadow:0 6px 17px rgba(128,87,255,.23)}.ys-player__actions{display:flex;justify-content:flex-start;gap:8px;border-top:1px solid #292a35;padding-top:12px}.ys-player__actions button{border:1px solid #343542;background:transparent;color:#c9cad5;padding:8px 11px;border-radius:9px;font-size:12px}.ys-player__actions button:hover{border-color:#8d6cff;color:white}.ys-player:fullscreen .ys-player__screen{height:100vh;aspect-ratio:auto}.ys-player:fullscreen .ys-player__toolbar{background:var(--ys-bg)}@media(max-width:600px){.ys-player{border-radius:13px}.ys-player__header{min-height:50px;padding:10px 12px}.ys-player__screen{min-height:190px}.ys-player__gate-card{padding:20px 16px}.ys-player__gate h3{font-size:16px}.ys-player__toolbar{padding:12px}.ys-player__server{padding:9px 12px;min-width:82px;font-size:13px}.ys-player__actions{justify-content:space-between}.ys-player__actions button{flex:1}}

/* Standalone single-player page: no theme article frame or surrounding margins. */
html:has(body.ys-player-page),body.ys-player-page{width:100%;height:100%;min-height:100%;margin:0!important;padding:0!important;background:#08090d!important;overflow:hidden!important}body.ys-player-page{display:block!important}body.ys-player-page .ys-player-page__main{width:100%;height:100vh;height:100dvh;margin:0;padding:0;max-width:none}body.ys-player-page .ys-player{width:100%;max-width:none;height:100%;min-height:0;margin:0;border:0;border-radius:0;display:flex;flex-direction:column}body.ys-player-page .ys-player__screen{flex:1 1 auto;min-height:0;aspect-ratio:auto}body.ys-player-page .ys-player__toolbar{flex:0 0 auto}body.ys-player-page .ys-player__header{flex:0 0 auto}body.ys-player-page #wpadminbar{position:fixed}

/* Requested player layout: server tabs above, controls over the frame. */
.ys-player__toolbar{order:2;padding:10px 14px 12px}.ys-player__server-label{margin-bottom:7px}.ys-player__screen{order:3}.ys-player__header{order:1}.ys-player__actions{position:absolute;z-index:5;top:10px;right:10px;left:10px;display:flex;justify-content:space-between;gap:8px;padding:0;border:0;pointer-events:none}.ys-player__actions button{pointer-events:auto;background:rgba(21,20,30,.88);backdrop-filter:blur(5px);color:#fff;border:1px solid rgba(255,255,255,.22);padding:8px 11px;border-radius:9px;font-size:12px}.ys-player__actions button:hover{border-color:#9b7cff;background:rgba(30,27,44,.96)}.ys-player__brand{position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);padding:6px 13px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(12,12,18,.76);color:#fff;font-size:13px;font-weight:700;line-height:1.3;text-align:center;white-space:nowrap;pointer-events:none;backdrop-filter:blur(5px)}.ys-player__gate{z-index:3}.ys-player__loading{z-index:6}
.ys-player__screen:fullscreen{width:100vw;height:100vh;height:100dvh;min-height:0;aspect-ratio:auto;border-radius:0}

/* Fixed-height embedded player matching the requested 500px iframe layout. */
.ys-player__screen{height:500px;min-height:500px;aspect-ratio:auto}

.ys-player__popup-bridge{position:absolute;inset:0;z-index:2;background:transparent;cursor:pointer}
