.snb-consent {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 820px;
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(16, 42, 59, .18);
  background: #fff;
  color: #102a3b;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(1, 10, 20, .12);
}
.snb-consent h2 { margin: 0; font-size: 15px; line-height: 1.3; letter-spacing: -.02em; }
.snb-consent p { margin: 4px 0 0; color: #536576; font-size: 12px; line-height: 1.4; }
.snb-consent a { color: #1769d2; text-underline-offset: 3px; }
.snb-consent__actions { display: flex; gap: 6px; }
.snb-consent__button {
  width: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(16,42,59,.3);
  border-radius: 10px;
  background: #fff;
  color: #102a3b;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}
.snb-consent__button--primary { background: #1769d2; border-color: #1769d2; color: #fff; }
.snb-consent__button:focus-visible { outline: 3px solid #102a3b; outline-offset: 2px; }
.snb-consent [hidden] { display: none !important; }
.snb-consent__screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .snb-consent { grid-template-columns: 1fr; gap: 8px; }
  .snb-consent__actions { display: grid; grid-template-columns: minmax(44px, .8fr) minmax(0, 1.8fr) minmax(44px, .8fr); }
  .snb-consent__button { width: 100%; }
}
