[data-replay-controls]:empty { display: none; }
[data-replay-controls] {
  --cookie-paper: #fff;
  --cookie-ink: #242321;
  --cookie-secondary: #55534f;
  --cookie-edge: #d9d5ce;
  --cookie-button: #f6f4f0;
  color: var(--cookie-secondary);
  font: 14px/1.45 Inter, var(--font-sans, system-ui), sans-serif;
  text-align: center;
}
html[data-theme="dark"] [data-replay-controls] {
  --cookie-paper: #242427;
  --cookie-ink: #f6f5f2;
  --cookie-secondary: #cecbc6;
  --cookie-edge: #555458;
  --cookie-button: #343438;
}
[data-replay-controls] button { font: inherit; cursor: pointer; }
[data-replay-controls] :is(a, button):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
[data-replay-controls] .it-cookie-panel {
  position: fixed; z-index: 70; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box; width: min(390px, calc(100% - 24px));
  max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  margin: 0; padding: 16px; border: 1px solid var(--cookie-edge); border-radius: 14px;
  background: var(--cookie-paper); color: var(--cookie-ink); box-shadow: 0 6px 28px #0002; text-align: left;
}
[data-replay-controls] .it-cookie-notice {
  --notice-inset: max(8px, env(safe-area-inset-left), env(safe-area-inset-right));
  left: 50%; transform: translateX(-50%); bottom: max(10px, env(safe-area-inset-bottom));
  display: grid; gap: 14px;
  width: min(440px, calc(100% - 2 * var(--notice-inset))); padding: 17px;
  max-height: calc(100dvh - max(10px, env(safe-area-inset-bottom)) - max(10px, env(safe-area-inset-top)));
  background: #3e3e3e; color: #fafafa; border: 1px solid #565656; border-radius: 28px;
  box-shadow: 0 8px 32px rgb(0 0 0 / 16%);
  text-align: center;
}
[data-replay-controls] .it-cookie-notice h2 {
  margin: 0; color: inherit; font: inherit; font-size: 22px; font-weight: 700; line-height: 1.2;
}
[data-replay-controls] .it-cookie-notice p {
  margin: 0; color: inherit; font-size: 16px; font-weight: 400; line-height: 1.35; text-wrap: pretty;
}
[data-replay-controls] .it-cookie-panel.it-cookie-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
[data-replay-controls] .it-notice-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
[data-replay-controls] .it-notice-actions button {
  min-height: 44px; padding: 6px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
}
[data-replay-controls] .it-notice-actions .it-notice-accept { background: #fafafa; color: #202020; }
[data-replay-controls] .it-notice-actions .it-notice-settings { background: transparent; color: #fafafa; border-color: #787878; }
[data-replay-controls] .it-notice-actions button:focus-visible { outline-color: #fff; }
@media (hover: hover) {
  [data-replay-controls] .it-notice-actions .it-notice-accept:hover { background: #e6e6e6; }
  [data-replay-controls] .it-notice-actions .it-notice-settings:hover { background: #545454; }
}
[data-replay-controls] .it-cookie-dialog {
  box-sizing: border-box; width: min(704px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
  background: #202124; color: #f8f5f0; color-scheme: dark; border: 1px solid #49494c;
  border-radius: 20px; box-shadow: 0 24px 80px #0008; font: inherit; text-align: left;
}
.it-cookie-dialog::backdrop { background: rgb(10 10 12 / 68%); backdrop-filter: blur(4px); }
html:has(.it-cookie-dialog[open]) { overflow: hidden; }
.it-cookie-dialog .it-cookie-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #393a3d; }
.it-cookie-dialog h2 { display: flex; align-items: center; gap: 12px; margin: 0; color: inherit; font-family: inherit; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.03em; }
.it-cookie-dialog h2 img { border-radius: 8px; }
.it-cookie-dialog button { box-sizing: border-box; color: inherit; }
.it-cookie-dialog .it-cookie-dismiss { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.it-cookie-dialog .it-cookie-dismiss:hover { background: #343538; }
.it-cookie-body { display: grid; grid-template-columns: 192px 1fr; min-height: 260px; }
.it-cookie-tabs { display: flex; align-items: stretch; flex-direction: column; gap: 4px; padding: 18px 10px; background: #1b1c1e; border-right: 1px solid #393a3d; }
.it-cookie-dialog .it-cookie-tabs button { min-height: 42px; padding: 9px 12px; background: transparent; color: #c9c6c2; text-align: left; font-weight: 550; border: 0; border-radius: 8px; }
.it-cookie-dialog .it-cookie-tabs button:hover { background: #2a2b2d; }
.it-cookie-dialog .it-cookie-tabs button[aria-selected="true"] { color: #ffceb6; background: #3e302b; }
.it-cookie-content { padding: 25px 28px; }
.it-cookie-content h3 { margin: 0 0 12px; font: inherit; font-size: 20px; font-weight: 650; letter-spacing: -.025em; color: inherit; }
.it-cookie-content p { margin: 0 0 12px; font: inherit; font-size: 15px; line-height: 1.55; color: #ccc9c5; }
.it-cookie-content a { color: #ffc19e; text-decoration: underline; text-underline-offset: 3px; }
.it-cookie-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 14px; border-top: 1px solid #424246; padding-top: 8px; font-weight: 600; }
.it-cookie-switch input { appearance: none; box-sizing: border-box; flex: none; width: 42px; height: 24px; margin: 0; border-radius: 20px; background: #666669; border: 1px solid #8a8a8d; cursor: pointer; }
.it-cookie-switch input::before { content: ''; display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: white; }
.it-cookie-switch input:checked { background: #b44c21; border-color: #d98964; }
.it-cookie-switch input:checked::before { transform: translateX(18px); }
.it-cookie-switch input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.it-cookie-switch input:disabled { cursor: default; }
.it-cookie-dialog .it-cookie-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 22px; border-top: 1px solid #393a3d; }
.it-cookie-actions button { min-height: 44px; padding: 9px 17px; font-weight: 600; border-radius: 10px; background: #2d2e31; border: 1px solid #5c5c60; }
.it-cookie-actions .it-cookie-primary { background: #b44c21; border-color: #b44c21; color: #fff; }
.it-cookie-actions button:hover, .it-cookie-actions button:focus-visible { filter: brightness(1.16); }
.it-cookie-dialog :disabled { opacity: .52; cursor: default; }
@media (max-width: 560px) {
  .it-cookie-dialog .it-cookie-head { padding: 12px 14px 12px 18px; }
  .it-cookie-dialog h2 { font-size: 20px; }
  .it-cookie-body { display: block; min-height: 0; }
  .it-cookie-tabs { flex-direction: row; padding: 8px; gap: 1px; border: 0; border-bottom: 1px solid #393a3d; }
  .it-cookie-dialog .it-cookie-tabs button { flex: 1; text-align: center; font-size: 13px; line-height: 1.3; padding: 5px 3px; }
  .it-cookie-content { padding: 20px; }
  .it-cookie-dialog .it-cookie-actions { padding: 12px; gap: 5px; }
  .it-cookie-actions button { flex: 1; padding-inline: 5px; line-height: 1.25; }
}
