.sm-consent, .sm-consent-button, .sm-video-consent { font-family: Arial, sans-serif; }
.sm-consent, .sm-consent * { box-sizing: border-box; }
.sm-consent[open] { display: block; }
.sm-consent { position: fixed; inset: auto 20px 20px auto; margin: 0; width: min(640px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #292929; border-radius: 22px; padding: 28px; color: #181818; background: #fffdf5; box-shadow: 0 12px 60px #0004; }
.sm-consent::backdrop { background: #0005; }
.sm-consent p { margin: 0; }
.sm-consent .sm-consent-brand { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.sm-consent h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 700; }
.sm-consent-intro { font-size: 15px; line-height: 1.55; }
.sm-consent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.sm-consent-button { cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 46px; border: 1px solid #242424; border-radius: 12px; padding: 12px; color: #181818; background: #ffdf59; text-align: center; }
.sm-consent-button:hover { background: #f1ce3e; }
.sm-consent-button:focus-visible, .sm-consent input:focus-visible { outline: 3px solid #3153c9; outline-offset: 3px; }
.sm-consent [hidden], .sm-consent-button[hidden] { display: none !important; }
.sm-consent-details { margin-top: 20px; border-top: 1px solid #d8d5c8; }
.sm-consent-category { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid #d8d5c8; cursor: pointer; }
.sm-consent-category input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: #191919; }
.sm-consent-category strong { display: block; font-size: 15px; margin-bottom: 5px; }
.sm-consent-category span span { display: block; font-size: 13px; line-height: 1.5; color: #454545; }
.sm-consent .sm-consent-note { font-size: 12px; line-height: 1.5; margin-top: 12px; color: #454545; }
.sm-consent .sm-consent-dismiss { display: block; background: transparent; border-color: transparent; font-weight: 400; text-decoration: underline; margin: 8px auto -12px; }
#sm-consent-launcher { position: fixed; z-index: 100000; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: auto; min-height: 38px; padding: 9px 12px; border: 1px solid #292929; border-radius: 10px; background: #fffdf5; box-shadow: 0 2px 16px #0002; font: 700 13px/1.2 Arial, sans-serif; white-space: nowrap; }
.sm-consent-status { position: fixed; z-index: 100001; right: 12px; bottom: 62px; left: auto; max-width: min(330px, calc(100% - 24px)); background: #fffdf5; color: #181818; font: 13px/1.5 Arial, sans-serif; border-radius: 10px; }
.sm-consent-status:not(:empty) { padding: 10px 14px; border: 1px solid #292929; }
.sm-video-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 100%; min-height: 160px; box-sizing: border-box; padding: 20px; background: #171717; color: white; text-align: center; }
.sm-video-consent p { max-width: 440px; font-size: 15px; line-height: 1.5; margin: 0; }
@media (max-width: 540px) {
  .sm-consent { inset: auto 10px max(10px, env(safe-area-inset-bottom)) 10px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px; border-radius: 18px; }
  .sm-consent h2 { font-size: 26px; }
  .sm-consent-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .sm-consent-button { min-height: 46px; }
}
