/* RankRealm Auto Next sits outside the official YouTube embed. */
.watch-auto-next{
  display:flex;flex-direction:column;gap:7px;
  padding:9px 12px;margin:6px 0 2px;
  color:#e8d8f6;background:linear-gradient(95deg,#20152c,#120d22);
  border:1px solid #6d488a;border-radius:9px;
}
.watch-auto-next-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.watch-auto-next-toggle{
  display:inline-flex;align-items:center;gap:9px;
  color:#f8d79c;font:750 12px/1.4 var(--rr-font-ui,"Segoe UI",sans-serif);
  cursor:pointer;
}
.watch-auto-next-toggle input{
  appearance:auto;width:17px;height:17px;margin:0;
  accent-color:#a75ce8;cursor:pointer;
}
.watch-auto-next-toggle input:disabled{cursor:not-allowed;opacity:.5}
.watch-auto-next-link{
  display:inline-flex;align-items:center;gap:6px;
  color:#f1d5ff;font:750 12px/1.35 var(--rr-font-ui,"Segoe UI",sans-serif);
  text-decoration:none;padding:5px 9px;border:1px solid #775393;
  border-radius:7px;background:#2b1a3e;
}
.watch-auto-next-link:hover,.watch-auto-next-link:focus-visible{
  color:#fff;background:#4d2871;border-color:#cc97ef;
}
.watch-auto-next-end{font-size:11px;color:#ad9bbd}
.watch-auto-next-notice{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:10px;
  padding:9px 11px;border:1px solid #b18650;border-radius:7px;
  color:#ffdfaf;background:#37243b;font:650 12px/1.4 var(--rr-font-ui,"Segoe UI",sans-serif);
}
.watch-auto-next-notice[hidden]{display:none}
.watch-auto-next-notice button{
  margin:0;padding:6px 10px;min-height:30px;
  border:1px solid #c39b70;border-radius:7px;
  color:#ffe0b0;background:#503052;font-size:11px;
}
@media(max-width:650px){
  .watch-auto-next{padding:8px 10px}
  .watch-auto-next-notice{font-size:11px}
}
