/* Cookie notice in the agent note look: no border, the card surface, the action on the right. The landing has no app tokens, hence the fallbacks. */
.cookie-notice { position: fixed; z-index: 140; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: min(560px, calc(100% - 32px)); padding: 16px 16px 16px 20px; border-radius: 28px; background: var(--surface-card, #1c1c1c); box-shadow: 0 8px 40px #0008; font-family: var(--sans, inherit); animation: cookie-notice-in .42s cubic-bezier(.16, 1, .3, 1) both; }
.cookie-notice-text { flex: 1 1 260px; margin: 0; color: #e4e4e4; font-size: 15px; font-weight: 500; line-height: 1.5; text-wrap: pretty; }
.cookie-notice-text a { color: inherit; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; }
.cookie-notice-text a:hover { text-decoration-color: currentColor; }
.cookie-notice-action { display: inline-flex; min-height: 34px; align-items: center; margin-left: auto; padding: 0 14px; border: 0; border-radius: 999px; background: var(--fill-control, #393939); color: var(--accent, #ffd166); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.cookie-notice-action:hover { background: var(--fill-control-hover, #484848); color: #ffdc85; }
/* in the app the navigation takes the bottom of a narrow screen */
@media (max-width: 820px) { body:has(.main-nav:not([hidden])) .cookie-notice { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@keyframes cookie-notice-in { from { opacity: 0; transform: translate(-50%, 6px); } }

@media (prefers-reduced-motion: reduce) {
  .cookie-notice { animation: none; }
}
