.storage-notice {
  position: fixed; z-index: 10000; bottom: 20px; left: 50%; transform: translateX(-50%);
  box-sizing: border-box; width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  overflow-y: auto; display: flex; align-items: center; gap: 24px; padding: 22px 24px;
  border: 1px solid #665187; border-radius: 12px; background: #141520; color: #f4f1fa;
  box-shadow: 0 12px 48px #0008; font: 14px/1.6 system-ui, sans-serif;
}
.storage-notice[hidden], .storage-notice__reopen[hidden] { display: none; }
.storage-notice h2 { margin: 0 0 6px; font: 600 17px/1.4 system-ui, sans-serif; color: #fff; }
.storage-notice p { margin: 0; color: #d8d5e2; }
.storage-notice details { margin-top: 8px; }
.storage-notice summary { cursor: pointer; color: #d2b2ff; }
.storage-notice details p { margin-top: 8px; }
.storage-notice__accept, .storage-notice__reopen, [data-open-storage-notice] { cursor: pointer; font: inherit; }
.storage-notice__accept { flex-shrink: 0; min-height: 44px; padding: 10px 18px; border: 1px solid #bc8aff; border-radius: 7px; background: #7031b3; color: #fff; font-weight: 600; }
.storage-notice__accept:hover { background: #813ac9; }
.storage-notice__reopen { position: fixed; z-index: 9999; bottom: 10px; right: 12px; padding: 7px 11px; border: 1px solid #555065; border-radius: 6px; background: #141520; color: #e0d7ef; font: 12px/1.5 system-ui, sans-serif; }
[data-open-storage-notice] { border: 0; padding: 0; background: none; color: inherit; }
.storage-notice :focus-visible, .storage-notice__reopen:focus-visible, [data-open-storage-notice]:focus-visible { outline: 2px solid #d2b2ff; outline-offset: 4px; }
@media (max-width: 600px) {
  .storage-notice { bottom: 10px; width: calc(100% - 20px); padding: 18px; flex-direction: column; align-items: stretch; gap: 14px; }
}
