body:is(.depth-theme, .first-person-demo) .ktv-ad-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 28px));
  max-height: min(680px, calc(100dvh - 28px));
  margin: auto;
  padding: 24px;
  overflow: auto;
  color: #f7f6ff;
  background: linear-gradient(150deg, #221637, #101024 85%);
  border: 1px solid #ee64d85c;
  border-radius: 24px;
  box-shadow: 0 24px 80px #03020bc4, inset 0 1px #ffffff0a;
  font: inherit;
}
body:is(.depth-theme, .first-person-demo) .ktv-ad-dialog::backdrop { background: #080818b8; backdrop-filter: blur(8px); }
body:is(.depth-theme, .first-person-demo) .ktv-ad-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-header h2 { margin: 0; color: #f7f6ff; font-size: 21px; line-height: 1.35; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-close { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff24; border-radius: 14px; color: #d8d4e8; background: #ffffff08; font: inherit; font-size: 26px; cursor: pointer; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-note { margin: 12px 0 20px; color: #bdb7cf; font-size: 12px; line-height: 1.7; }
body:is(.depth-theme, .first-person-demo) #ktv-ad-form { display: flex; flex-direction: column; gap: 8px; }
body:is(.depth-theme, .first-person-demo) #ktv-ad-form label { margin-top: 6px; color: #f2edf9; font-size: 13px; font-weight: 650; }
body:is(.depth-theme, .first-person-demo) #ktv-ad-form :is(input, textarea) { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #b9afcf38; border-radius: 13px; color: #f7f6ff; background: #08081994; font: inherit; font-size: 16px; line-height: 1.5; caret-color: #64e4ee; }
body:is(.depth-theme, .first-person-demo) #ktv-ad-form textarea { resize: vertical; min-height: 88px; max-height: 200px; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-limit { align-self: flex-end; margin-bottom: 3px; color: #aaa2c1; font-size: 11px; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-error { margin: 6px 0; color: #ffbade; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-error[hidden] { display: none; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; margin-top: 10px; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-actions button { min-width: 0; min-height: 44px; padding: 9px 8px; border: 1px solid #c2b4d63d; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-secondary { color: #e1d7ef; background: #ffffff08; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-primary { color: #141026; background: #64e4ee; border-color: #64e4ee; }
body:is(.depth-theme, .first-person-demo) .ktv-ad-dialog :is(button, input, textarea):focus-visible { outline: 2px solid #64e4ee; outline-offset: 3px; }
@media (max-height: 480px) {
  body:is(.depth-theme, .first-person-demo) .ktv-ad-dialog { padding: 16px 20px; border-radius: 18px; }
  body:is(.depth-theme, .first-person-demo) .ktv-ad-note { margin: 8px 0 10px; }
}
