/* G4-YTDCF1 + G4-QDUP1 + G4-STAY1: the «connection dropped, trying again» banner over the page; the recorded-adjustment note on the quality page. */
.ytdcf1-stay{position:fixed;top:12px;inset-inline:0;margin-inline:auto;width:min(560px,calc(100vw - 32px));z-index:9999;padding:12px 16px;border-radius:12px;border:1px solid #334155;background:#0f172a;color:#f8fafc;box-shadow:0 8px 28px rgba(15,23,42,.35)}/* fixed contrast: it shows over the dark sign-in page and the light app alike */
.ytdcf1-stay[hidden]{display:none}
.ytdcf1-stay p{margin:0;line-height:1.6;color:inherit}
.ytdcf1-stay button{background:#f8fafc;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;padding:6px 12px;font:inherit;cursor:pointer}
.ytdcf1-stay-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.ytdcf1-adjusted small{display:block;margin-top:4px;opacity:.8}

/* G4-STAY1: visible keyboard focus; the recovery UI has no animation. */
.ytdcf1-stay button:focus-visible{outline:3px solid #22d3ee;outline-offset:3px}
.ytdcf1-stay{box-sizing:border-box;overflow-wrap:anywhere}
