dialog.cookie-dialog {
  width: min(32rem, calc(100% - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #414d6a;
  border-radius: 1.3rem;
  background: var(--ink);
  color: #fff;
  text-align: start;
  font-family: Assistant, Arial, sans-serif;
  box-shadow: 0 20px 64px rgb(10 18 40 / 28%);
}
.cookie-dialog::backdrop { background: rgb(12 18 31 / 61%); }
.cookie-view { padding: clamp(1.25rem, 4vw, 2rem); }
.cookie-view h2 {
  color: #fff;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .7rem;
}
.cookie-intro {
  max-width: 43ch;
  color: #e6ebf3;
  font-size: 1.06rem;
  line-height: 1.55;
}
.cookie-policy-link {
  padding: .4rem 0;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-block-start: .95rem;
}
.cookie-actions button {
  min-height: 44px;
  padding: .55rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  white-space: normal;
}
.cookie-actions .cookie-primary { background: var(--yellow); color: var(--ink); }
.cookie-actions .cookie-secondary { border-color: #8793ab; background: transparent; color: #fff; }
.cookie-dialog :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cookie-list {
  margin-block: .9rem .35rem;
  border-block-start: 1px solid #485572;
}
.cookie-option {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .65rem;
  border-block-end: 1px solid #485572;
  cursor: pointer;
}
.cookie-option:has(input:disabled) { cursor: default; }
.cookie-option strong, .cookie-option small { display: block; }
.cookie-option strong { font-size: 1.05rem; font-weight: 700; }
.cookie-option small { color: #d7dfea; font-size: .94rem; line-height: 1.45; }
.cookie-option input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 .25rem;
  accent-color: var(--yellow);
  cursor: inherit;
}
.privacy-form-note {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.privacy-form-note button {
  padding: 0;
  font-weight: 650;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.fine .consent-footer { flex-wrap: wrap; }
@media (hover: hover) {
  .cookie-primary:hover { background: #ffeb73; }
  .cookie-actions .cookie-secondary:hover { background: #354362; }
  .cookie-policy-link:hover { color: var(--yellow); }
}
@media (max-width: 420px) {
  .cookie-actions button { flex: 1 1 7rem; padding-inline: .65rem; }
}
