/* Non-modal cookie notice. Only login is gated; the rest of the page stays usable. */
.auth-cookies-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 0 0;
  color: var(--ink, #edf1ed);
  background: var(--panel, #181f24);
  border-top: 1px solid var(--line, #344047);
  box-shadow: 0 -10px 35px #0004;
  font-family: "Segoe UI", Arial, sans-serif;
}
.auth-cookies-banner[hidden], .auth-cookies-status[hidden] { display: none !important; }
.auth-cookies-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  max-width: 1480px;
  padding: 20px 28px max(20px, env(safe-area-inset-bottom));
  margin: 0 auto;
}
.auth-cookies-copy { flex: 1 1 560px; min-width: 0; }
.auth-cookies-copy p { margin: 0; color: var(--ink, #edf1ed); font-size: 14px; line-height: 1.5; }
.auth-cookies-copy p + p { margin-top: 6px; color: var(--muted, #a8b5b8); }
.auth-cookies-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.auth-cookies-actions button { min-height: 40px; min-width: 110px; padding: 10px 18px; border-radius: 8px; font: 600 14px/1.35 "Segoe UI", Arial, sans-serif; cursor: pointer; }
#auth-cookies-accept { color: #1d291d; background: var(--accent, #bbd99b); border: 1px solid var(--accent, #bbd99b); }
#auth-cookies-accept:hover { filter: brightness(1.06); }
#auth-cookies-decline { color: var(--ink, #edf1ed); background: transparent; border: 1px solid var(--line, #344047); }
#auth-cookies-decline:hover { background: var(--surface, #20292f); }
.auth-cookies-actions button:disabled { opacity: .55; cursor: wait; }
.auth-cookies-status { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.4; color: var(--muted, #a8b5b8); }
.auth-cookies-status.error { color: #ffb4a1; min-height: 0; }
html body.auth-cookies-banner-visible { padding-bottom: calc(var(--auth-cookies-banner-height, 180px) + 32px) !important; }
body.auth-cookies-banner-visible [data-portal-scene] { bottom: var(--auth-cookies-banner-height, 180px); }
[data-auth-cookies-pending="true"] { opacity: .5; cursor: not-allowed; }
.auth-cookies-login-hint {
  position: fixed;
  z-index: 10001;
  width: max-content;
  max-width: min(360px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--accent, #bbd99b);
  border-radius: 10px;
  color: var(--ink, #edf1ed);
  background: var(--panel, #181f24);
  box-shadow: 0 8px 25px #0005;
  font: 500 13px/1.45 "Segoe UI", Arial, sans-serif;
  text-align: center;
  pointer-events: none;
}
.auth-cookies-banner :focus-visible { outline: 2px solid var(--accent, #bbd99b); outline-offset: 3px; }
@media (max-width: 600px) {
  .auth-cookies-inner { padding: 16px 18px max(16px, env(safe-area-inset-bottom)); gap: 14px; }
  .auth-cookies-copy { flex-basis: 100%; }
  .auth-cookies-copy p { font-size: 13px; }
  .auth-cookies-actions { width: 100%; }
  .auth-cookies-actions button { flex: 1; min-width: 0; min-height: 44px; }
}
