.tv-cookie-dialog {
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #172b4d;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.tv-cookie-dialog::backdrop { background: #101827a6; }
.tv-cookie-dialog h2 { margin: 24px 0; font-size: 26px; line-height: 1.25; color: #172b4d; }
.tv-cookie-dialog h3 { font-size: 19px; }
.tv-cookie-dialog p { margin: 16px 0; color: #526071; }
.tv-cookie-dialog button { cursor: pointer; font: inherit; min-height: 46px; }
.tv-cookie-dialog button:focus-visible, .tv-cookie-reopen:focus-visible { outline: 3px solid #2457e7; outline-offset: 3px; }
.tv-cookie-top { display: flex; justify-content: flex-end; }
.tv-cookie-top button { padding: 0; border: 0; background: transparent; color: #172b4d; font-weight: 700; }
.tv-cookie-actions { display: grid; gap: 12px; margin-top: 26px; }
.tv-cookie-actions button { width: 100%; padding: 12px 18px; border: 1px solid #b5bfce; border-radius: 10px; background: #fff; color: #2457e7; font-weight: 700; }
.tv-cookie-actions .tv-cookie-primary { background: #2457e7; color: #fff; border-color: #2457e7; }
.tv-cookie-settings { margin-top: 20px; padding: 16px; background: #edf3ff; border-radius: 10px; }
.tv-cookie-settings[hidden] { display: none; }
.tv-cookie-settings a { color: #2457e7; text-decoration: underline; }
.tv-cookie-reopen { display: inline-block; padding: 10px 0; margin: 8px 16px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .tv-cookie-dialog { width: 100%; max-width: 100%; max-height: 90dvh; margin: auto 0 0; padding: 20px 20px max(24px, env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
  .tv-cookie-dialog h2 { font-size: 24px; }
}
