/*
  Approved Feedback Study 01 notice material, scoped to actual Metona API
  outcomes. All notices dismiss after 3 seconds; no speculative offline/sync claims.
  design-exception: V2 selected notices use glass, dimensional color and blur.
*/
.notification-dock {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 56px);
  overflow-y: auto; scrollbar-width: thin; padding: 7px;
}
.notice-queue-count { font-size: 11px; color: #99b9d3; text-align: right; margin: 0 3px 9px; }
.notice-queue-count:empty { display: none; }
.notice {
  position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 44px;
  gap: 12px; align-items: start; margin: 10px 0; padding: 14px 10px 14px 16px;
  border: 1px solid #b6cbdc99; border-radius: 22px;
  background: linear-gradient(120deg,#1c2c3a9e,#09131de0 55%,#122436ba);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  box-shadow: inset 0 1px #f0f8ff9c,inset 0 -1px #76b2dd2b,0 6px 15px #0006,0 0 0 1px #02060b;
  isolation: isolate; color: #e1eef9;
}
.notice::before { content: ''; position: absolute; inset: 3px; border: 1px solid #d3e5f026; border-radius: 18px; pointer-events: none; }
.notice::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse 55% 90% at 0 -45%,#e4f5ff43,transparent 75%); }
.notice-icon {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 15%,#a2ffc0,#19a561 45%,#07523d);
  border: 1px solid #c4ffe48c;
  box-shadow: inset 0 1px 2px #ffffff80,inset 0 -3px 5px #0007,0 2px 6px #0008,0 0 14px #19c57825;
  color: #e8fff5; font-weight: 700;
}
.notice.error .notice-icon { background: radial-gradient(circle at 30% 15%,#ffc2b7,#e44845 45%,#7a1e30); border-color: #ffc6ba99; }
.notice-message { min-width: 0; margin: 4px 0; color: #dce9f6; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.notice-content { min-width: 0; }
.notice-action { min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid #8dc9f788; border-radius: 10px; background: #1b6bb74a; color: #e1f4ff; font: inherit; cursor: pointer; }
.notice-action:hover { background: #237ac166; }
.notice-action:focus-visible { outline: 2px solid #8bd3ff; outline-offset: 3px; }
.notice-action:disabled { opacity: .6; cursor: wait; }
.notice-close { width: 44px; min-width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: #c6d9e9; font-size: 22px; cursor: pointer; }
.notice-close:hover { background: #96c3e212; }
.notice-close:focus-visible { outline: 2px solid #8bd3ff; outline-offset: 3px; }
@media (max-width: 760px) {
  .notification-dock { left: 15px; right: 15px; width: auto; bottom: calc(110px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 135px); }
  body.booking .notification-dock { bottom: calc(15px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 30px); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .notice { background: #132332; }
}
@media (prefers-reduced-motion: reduce) { .notice, .notice-icon { animation: none !important; transition: none !important; } }
