.challenge-notifications571{position:relative;display:inline-flex;align-items:center;font:13px system-ui,sans-serif;color:var(--ink,#202b35)}.challenge-notifications571[hidden],.challenge-notifications571 [hidden],.challenge-toast571[hidden]{display:none!important}.challenge-bell571{display:flex;align-items:center;gap:7px;cursor:pointer;background:var(--panel,#fff);color:inherit;border:1px solid #b18a40;border-radius:8px;padding:8px 10px;font:inherit}.challenge-count571{min-width:20px;padding:2px 5px;border-radius:20px;background:#a57924;color:#fff;font-weight:800;text-align:center}.challenge-panel571{position:absolute;right:0;top:calc(100% + 9px);z-index:10000;width:min(350px,90vw);max-height:65dvh;overflow:auto;padding:16px;background:var(--panel,#fff);color:var(--ink,#202b35);border:1px solid #b18a40;border-radius:12px;box-shadow:0 10px 35px #0005;white-space:normal;text-align:left}.challenge-heading571{display:flex;align-items:center;justify-content:space-between;gap:14px}.challenge-heading571 button{font-size:24px}.challenge-item571{padding:14px 0;border-bottom:1px solid #b18a4040}.challenge-item571 p,.challenge-toast571 p{line-height:1.5;margin:8px 0}.challenge-actions571{display:flex;flex-wrap:wrap;gap:8px}.challenge-notifications571 button,.challenge-toast571 button,.challenge-actions571 a{cursor:pointer;font:inherit}.challenge-actions571 button,.challenge-actions571 a{padding:8px 12px;border:1px solid #b18a40;border-radius:6px;color:inherit;background:transparent;text-decoration:none}.challenge-actions571 .challenge-accept571{background:#84601f;color:#fff}.challenge-actions571 button:disabled{opacity:.5;cursor:wait}.challenge-heading571 button{background:transparent;border:0;color:inherit;cursor:pointer}.challenge-toast571{position:fixed;top:85px;right:20px;z-index:10001;width:min(370px,calc(100vw - 32px));padding:20px;border:1px solid #b18a40;border-left:5px solid #c6a24f;border-radius:12px;background:var(--panel,#fff);color:var(--ink,#202b35);font:14px system-ui,sans-serif;box-shadow:0 10px 40px #0005}.challenge-status571{font-size:12px;white-space:normal}.challenge-floating571{position:fixed;top:12px;right:12px;z-index:9999}.challenge-notifications571 button:focus-visible,.challenge-toast571 button:focus-visible{outline:2px solid #c6a24f;outline-offset:3px}@media(max-width:600px){.challenge-bell571>span:nth-child(2){display:none}.challenge-panel571{position:fixed;right:12px;top:75px;width:calc(100vw - 24px)}.challenge-toast571{right:12px;top:80px}}

/* The game header owns this control; it must never float over Exit match. */
header .toplinks>.challenge-notifications571{position:relative;inset:auto;flex:0 0 auto;max-width:100%;align-self:center}
/* Challenge UI uses its own readable ink on every dark page. */
html:not([data-theme=light]) :is(.challenge-notifications571,.challenge-toast571){--ink:#fff;color:#fff}
html:not([data-theme=light]) :is(.challenge-bell571,.challenge-panel571,.challenge-toast571) :is(strong,p,span,button,a){color:inherit}
