/* The upgrade prompts of the video player (tools/player-protect/src/upgrade.js), in the house design (the Share folder window, My Account):
   square corners, a head with a 30 px icon tile, one framed list of rows with a hairline between them, one blue accent, a primary button with a
   little depth and a quiet one. Two prompts: the daily bandwidth is used up (.xvu-bw), a quality of the menu is Premium only (.xvu-q); and a
   small notice when little is left (.xvu-toast). The locked rows of the player's quality menu are .xvu-lock. Everything is under .xvu / .xvu-*,
   inside the player's element, so it also shows in full screen. Always dark, on any site. The card fills a small
   player (an embed, a phone) and leaves out what does not fit: the list under 480 x 340, the hint under 360 x 220. */
/* Always dark (2026-11-02): the window sits on a video, light or dark site alike. */
.video-js .xvu,.video-js .xvu-toast{
  --xvu-bg:#17191e;--xvu-ink:#f2f4f7;--xvu-text:#a3abb8;--xvu-mute:#737c8a;--xvu-blue:#3d8bff;--xvu-btn:#0168fa;--xvu-line:rgba(255,255,255,.08);--xvu-frame:rgba(255,255,255,.1);
  --xvu-tile:#23262d;--xvu-tile-ic:#a3abb8;--xvu-blue-t:rgba(61,139,255,.14);--xvu-amber:#ffb340;--xvu-amber-t:rgba(255,179,64,.14);--xvu-green:#3ccf7e;
  --xvu-quiet:rgba(255,255,255,.08);--xvu-quiet-h:rgba(255,255,255,.14);--xvu-track:#2a2d34;--xvu-shade:rgba(0,0,0,.6);
  font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--xvu-ink);text-align:left;
  font-variant-numeric:tabular-nums;letter-spacing:normal;text-transform:none
}
.video-js .xvu,.video-js .xvu *,.video-js .xvu *::before,.video-js .xvu *::after,.video-js .xvu-toast,.video-js .xvu-toast *,.video-js .xvu-lock{border-radius:0!important;box-sizing:border-box}
.video-js .xvu svg,.video-js .xvu-toast svg,.video-js .xvu-lock svg{flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.video-js .xvu [hidden],.video-js .xvu-toast[hidden]{display:none!important}

/* the shade over the video and the card in its middle */
.video-js .xvu{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--xvu-shade);
  container-type:size;animation:xvu-in .15s ease-out}
@keyframes xvu-in{from{opacity:0}to{opacity:1}}
.video-js .xvu-card{position:relative;display:flex;flex-direction:column;width:380px;max-width:100%;max-height:100%;overflow:auto;background:var(--xvu-bg);
  border:1px solid var(--xvu-frame);animation:xvu-up .18s ease-out}
@keyframes xvu-up{from{transform:translateY(8px)}to{transform:none}}

/* head: the tile, the title, the hint, the close button */
.video-js .xvu-head{display:flex;align-items:flex-start;gap:12px;padding:20px 16px 0 20px}
.video-js .xvu-tile{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:var(--xvu-tile);color:var(--xvu-tile-ic)}
.video-js .xvu-tile svg{width:16px;height:16px}
.video-js .xvu-head .xvu-tile{width:36px;height:36px}
.video-js .xvu-head .xvu-tile svg{width:18px;height:18px}
.video-js .xvu-tile.xvu-amber{background:var(--xvu-amber-t);color:var(--xvu-amber)}
.video-js .xvu-tile.xvu-blue{background:var(--xvu-blue-t);color:var(--xvu-blue)}
.video-js .xvu-tile.xvu-green{background:rgba(16,183,89,.12);color:var(--xvu-green)}
.video-js .xvu-hgroup{flex:1;min-width:0;padding-top:1px}
.video-js .xvu-title{margin:0;font-size:16px;font-weight:600;line-height:1.3;color:var(--xvu-ink)}
.video-js .xvu-hint{margin:4px 0 0;font-size:13px;color:var(--xvu-text)}
.video-js .xvu-only{display:block;margin-bottom:6px;font-size:12px;color:var(--xvu-mute)}
.video-js .xvu-x{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;width:28px!important;height:28px!important;margin:-4px -6px 0 0;padding:0!important;border:0!important;
  background:none!important;color:var(--xvu-mute);cursor:pointer}
.video-js .xvu-x:hover,.video-js .xvu-x:focus-visible{color:var(--xvu-blue);background:var(--xvu-quiet-h)!important}
.video-js .xvu-x svg{width:16px;height:16px}

/* the list: one frame, rows that touch with a hairline between them */
.video-js .xvu-list{margin:16px 20px 0;box-shadow:0 0 0 1px var(--xvu-frame)}
.video-js .xvu-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px}
.video-js .xvu-row + .xvu-row{border-top:1px solid var(--xvu-line)}
.video-js .xvu-name{flex:1;min-width:0}
.video-js .xvu-name b{display:block;font-size:14px;font-weight:500;color:var(--xvu-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.video-js .xvu-name small{display:block;font-size:12px;line-height:16px;color:var(--xvu-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.video-js .xvu-val{flex-shrink:0;font-size:13px;font-weight:500;color:var(--xvu-ink);white-space:nowrap}
.video-js .xvu-bar{display:block;height:4px;margin-top:6px;background:var(--xvu-track)}
.video-js .xvu-bar i{display:block;height:100%;background:var(--xvu-amber)}
.video-js .xvu-tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;background:var(--xvu-tile);font-size:11.5px;font-weight:500;color:var(--xvu-text);white-space:nowrap}
.video-js .xvu-tag svg{width:11px;height:11px}
.video-js .xvu-tag.xvu-blue{background:var(--xvu-blue-t);color:var(--xvu-blue)}
.video-js .xvu-tag.xvu-green{background:rgba(16,183,89,.12);color:var(--xvu-green)}
.video-js .xvu-row.xvu-now{background:var(--xvu-blue-t)}

/* the buttons (the skins of the player style every button inside it: width, background; so the important parts say !important) */
.video-js .xvu-foot{display:flex;gap:8px;padding:16px 20px 20px}
.video-js .xvu-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:0;height:38px!important;padding:0 14px!important;margin:0!important;border:0!important;opacity:1!important;font-family:inherit;font-size:14px;font-weight:500;line-height:1;
  text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:background-color .15s,color .15s,box-shadow .15s}
.video-js .xvu-btn svg{width:15px;height:15px}
.video-js .xvu-go{flex:1 1 auto;background:var(--xvu-btn)!important;color:#fff!important}
.video-js .xvu-go:hover,.video-js .xvu-go:focus-visible{background:#1474ff!important}
.video-js .xvu-quiet{flex:0 0 auto;background:var(--xvu-quiet)!important;color:var(--xvu-ink)!important}
.video-js .xvu-quiet:hover,.video-js .xvu-quiet:focus-visible{background:var(--xvu-quiet-h)!important;color:var(--xvu-ink)!important}

/* the qualities of the Premium prompt in two groups: Free (grey chips, green dot) and Premium (blue chips, lock) */
.video-js .xvu-qs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 20px 0}
.video-js .xvu-grp{display:flex;flex-direction:column;gap:6px}
.video-js .xvu-gl{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--xvu-mute)}
.video-js .xvu-gl svg{width:10px;height:10px;stroke-width:2.4}
.video-js .xvu-paid{padding-left:10px;border-left:1px solid var(--xvu-frame)}
.video-js .xvu-paid .xvu-gl{color:#5b9dff}
.video-js .xvu-chips{display:flex;flex-wrap:wrap;gap:6px}
.video-js .xvu-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;font-size:13px;color:var(--xvu-text);border:1px solid var(--xvu-frame);white-space:nowrap}
.video-js .xvu-chip svg{width:11px;height:11px}
.video-js .xvu-chip .xvu-dot{width:6px;height:6px;background:var(--xvu-green);border-radius:50%!important}
.video-js .xvu-paid .xvu-chip{color:#b9d3ff;background:rgba(91,157,255,.1);border-color:rgba(91,157,255,.3)}
/* "Keep 720p": a plain line under the buttons */
.video-js .xvu-keep{align-self:flex-start;margin:-10px 0 18px 20px;padding:0!important;border:0!important;background:none!important;font:inherit;font-size:13px;color:var(--xvu-mute);cursor:pointer;width:auto!important;height:auto!important}
.video-js .xvu-keep:hover,.video-js .xvu-keep:focus-visible{color:var(--xvu-ink)}
.video-js .xvu :focus-visible,.video-js .xvu-toast :focus-visible{outline:2px solid rgba(1,104,250,.55);outline-offset:2px}
.video-js .xvu button:focus:not(:focus-visible){outline:0}

/* a small player (an embed, a phone): the card fills it, the list and then the hint are left out, the buttons stay on one row */
@container (max-width:479px) or (max-height:339px){
  .video-js .xvu-card{width:100%;height:100%;justify-content:center;box-shadow:none;border:0;background:transparent;color:#fff}
  .video-js .xvu-list,.video-js .xvu-qs,.video-js .xvu-keep,.video-js .xvu-only{display:none}
  .video-js .xvu-head{padding:0 4px 10px}
  .video-js .xvu-title{color:#fff;font-size:15px}
  .video-js .xvu-hint{color:rgba(255,255,255,.78);font-size:12.5px}
  .video-js .xvu-x{color:rgba(255,255,255,.75)}
  .video-js .xvu-x:hover{color:#fff;background:rgba(255,255,255,.12)!important}
  .video-js .xvu-foot{padding:0 4px}
  .video-js .xvu-quiet{background:rgba(255,255,255,.14)!important;color:#fff!important}
  .video-js .xvu-quiet:hover{background:rgba(255,255,255,.22)!important;color:#fff!important}
  .video-js .xvu .xvu-short{display:block!important}
  .video-js .xvu .xvu-long{display:none}
}
@container (max-width:259px) or (max-height:149px){
  .video-js .xvu-hint{display:none}
  .video-js .xvu-head .xvu-tile{display:none}
  .video-js .xvu-btn{height:34px!important;padding:0 10px!important;font-size:13px}
}
.video-js .xvu .xvu-short{display:none}

/* the notice when little is left: top left, over the video, goes away by itself */
.video-js .xvu-toast{position:absolute;top:12px;left:12px;z-index:55;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:6px 6px 6px 8px;
  background:var(--xvu-bg);box-shadow:0 0 0 1px var(--xvu-frame),0 6px 20px rgba(0,0,0,.3);font-size:13px;animation:xvu-up .2s ease-out}
.video-js .xvu-toast .xvu-tile{width:24px;height:24px}
.video-js .xvu-toast .xvu-tile svg{width:13px;height:13px}
.video-js .xvu-toast span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.video-js .xvu-toast a{flex-shrink:0;padding:4px 8px;color:var(--xvu-blue)!important;font-weight:500;text-decoration:none!important}
.video-js .xvu-toast a:hover{background:var(--xvu-quiet-h)}
.video-js .xvu-toast .xvu-x{width:24px!important;height:24px!important;margin:0}

/* the qualities of the menu that this account cannot play: the name, its HD / 4K sign, a lock and "Premium" (the row itself is the skin's) */
.video-js .vjs-menu li.xvu-lock{cursor:pointer}
.video-js .vjs-menu li.xvu-lock:not(:hover):not(:focus){color:rgba(255,255,255,.6)}
.video-js .vjs-menu li.xvu-lock .xvu-hd{display:inline-block;margin-left:4px;padding:0 3px;background:rgba(255,255,255,.18);font-size:9px;font-style:normal;font-weight:700;line-height:13px;vertical-align:1px}
.video-js .vjs-menu li.xvu-lock .xvu-lk{display:inline-flex;align-items:center;gap:3px;margin-left:10px;font-size:10.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;
  color:#7fb2ff;vertical-align:0}
.video-js .vjs-menu li.xvu-lock:hover .xvu-lk,.video-js .vjs-menu li.xvu-lock:focus .xvu-lk{color:var(--xvu-blue,#0168fa)}
.video-js .vjs-menu li.xvu-lock .xvu-lk svg{width:11px;height:11px}
.video-js .xvu:focus{outline:0}
