#mmtcl-root { position: relative; z-index: var(--mmtcl-z, 999998); }
.mmtcl-overlay { position: fixed; z-index: var(--mmtcl-z, 999998); left: 0; right: 0; display: flex; pointer-events: none; box-sizing: border-box; }
.mmtcl-pos-bottom { bottom: 0; justify-content: center; align-items: flex-end; }
.mmtcl-pos-top { top: 0; justify-content: center; align-items: flex-start; }
.mmtcl-pos-bottom-left { bottom: var(--mmtcl-offset-y, 18px); justify-content: flex-start; padding-left: var(--mmtcl-offset-x, 18px); }
.mmtcl-pos-bottom-right { bottom: var(--mmtcl-offset-y, 18px); justify-content: flex-end; padding-right: var(--mmtcl-offset-x, 18px); }
.mmtcl-pos-top-left { top: var(--mmtcl-offset-y, 18px); justify-content: flex-start; padding-left: var(--mmtcl-offset-x, 18px); }
.mmtcl-pos-top-right { top: var(--mmtcl-offset-y, 18px); justify-content: flex-end; padding-right: var(--mmtcl-offset-x, 18px); }
.mmtcl-pos-center { top: 0; bottom: 0; align-items: center; justify-content: center; background: var(--mmtcl-overlay-bg, rgba(0,0,0,.35)); padding: var(--mmtcl-offset-y, 18px) var(--mmtcl-offset-x, 18px); }
.mmtcl-pos-custom { top: var(--mmtcl-custom-top, auto); right: var(--mmtcl-custom-right, auto); bottom: var(--mmtcl-custom-bottom, auto); left: var(--mmtcl-custom-left, auto); justify-content: flex-start; align-items: flex-start; }
.mmtcl-panel { pointer-events: auto; width: min(var(--mmtcl-banner-width, 920px), calc(100vw - (var(--mmtcl-offset-x, 18px) * 2))); max-height: calc(100vh - (var(--mmtcl-offset-y, 18px) * 2)); overflow: auto; background: var(--mmtcl-bg, #fff); color: var(--mmtcl-text, #1d2327); border: 1px solid var(--mmtcl-border, #dcdcde); border-radius: var(--mmtcl-radius, 16px) var(--mmtcl-radius, 16px) 0 0; box-shadow: var(--mmtcl-shadow, 0 10px 35px rgba(0,0,0,.22)); padding: var(--mmtcl-padding, 22px); font: var(--mmtcl-font-size, 15px)/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; position: relative; box-sizing: border-box; }
.mmtcl-pos-top .mmtcl-panel { border-radius: 0 0 var(--mmtcl-radius, 16px) var(--mmtcl-radius, 16px); }
.mmtcl-pos-bottom-left .mmtcl-panel, .mmtcl-pos-bottom-right .mmtcl-panel, .mmtcl-pos-top-left .mmtcl-panel, .mmtcl-pos-top-right .mmtcl-panel, .mmtcl-pos-center .mmtcl-panel, .mmtcl-pos-custom .mmtcl-panel { width: min(var(--mmtcl-side-width, 560px), calc(100vw - (var(--mmtcl-offset-x, 18px) * 2))); border-radius: var(--mmtcl-radius, 16px); }
.mmtcl-panel h2 { margin: 0 42px 10px 0; font-size: calc(var(--mmtcl-font-size, 15px) + 7px); color: var(--mmtcl-text, #1d2327); }
.mmtcl-panel p { margin: 0 0 12px; }
.mmtcl-panel a { color: var(--mmtcl-link, #135e96); text-decoration: underline; }
.mmtcl-close { position: absolute; right: 16px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mmtcl-border, #dcdcde); background: var(--mmtcl-btn-bg, #fff); color: var(--mmtcl-btn-text, #1d2327); cursor: pointer; font-size: 20px; line-height: 1; }
.mmtcl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mmtcl-btn, .mmtcl-open-preferences, .mmtcl-floating { cursor: pointer; border-radius: var(--mmtcl-btn-radius, 999px); border: 1px solid var(--mmtcl-btn-border, #1d2327); padding: 10px 16px; font-weight: 700; background: var(--mmtcl-btn-bg, #fff); color: var(--mmtcl-btn-text, #1d2327); }
.mmtcl-btn:hover, .mmtcl-open-preferences:hover, .mmtcl-floating:hover, .mmtcl-close:hover { background: var(--mmtcl-btn-hover-bg, #1d2327); color: var(--mmtcl-btn-hover-text, #fff); }
.mmtcl-equal { min-width: 150px; }
.mmtcl-preferences { display: none; margin-top: 14px; border: 1px solid var(--mmtcl-border, #dcdcde); border-radius: 12px; padding: 12px; background: var(--mmtcl-panel-alt, #f6f7f7); }
.mmtcl-preferences.is-open { display: grid; gap: 10px; }
.mmtcl-category { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; cursor: pointer; }
.mmtcl-category input { margin-top: 4px; }
.mmtcl-category strong { display: block; color: var(--mmtcl-text, #1d2327); }
.mmtcl-category small { display: block; color: var(--mmtcl-muted, #50575e); }
.mmtcl-floating { position: fixed; z-index: calc(var(--mmtcl-z, 999998) - 8); box-shadow: 0 5px 18px rgba(0,0,0,.16); }
.mmtcl-floating-bottom-left { left: var(--mmtcl-floating-x, 14px); bottom: var(--mmtcl-floating-y, 14px); }
.mmtcl-floating-bottom-right { right: var(--mmtcl-floating-x, 14px); bottom: var(--mmtcl-floating-y, 14px); }
.mmtcl-floating-top-left { left: var(--mmtcl-floating-x, 14px); top: var(--mmtcl-floating-y, 14px); }
.mmtcl-floating-top-right { right: var(--mmtcl-floating-x, 14px); top: var(--mmtcl-floating-y, 14px); }
.mmtcl-policy-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.mmtcl-policy-table th, .mmtcl-policy-table td { border: 1px solid var(--mmtcl-border, #dcdcde); padding: 8px; vertical-align: top; text-align: left; }
.mmtcl-iframe-placeholder { border: 1px dashed #8c8f94; padding: 14px; margin: 10px 0; background: var(--mmtcl-panel-alt, #f6f7f7); color: var(--mmtcl-text, #1d2327); font: 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
iframe[data-mmt-blocked-iframe="1"] { display: none !important; }
@media (max-width: 680px) {
  .mmtcl-panel { width: 100vw; border-radius: var(--mmtcl-radius, 14px) var(--mmtcl-radius, 14px) 0 0; padding: max(16px, var(--mmtcl-padding, 18px)); }
  .mmtcl-pos-bottom-left, .mmtcl-pos-bottom-right, .mmtcl-pos-top-left, .mmtcl-pos-top-right { padding-left: 10px; padding-right: 10px; justify-content: center; }
  .mmtcl-pos-bottom-left, .mmtcl-pos-bottom-right { bottom: 0; }
  .mmtcl-pos-top-left, .mmtcl-pos-top-right { top: 0; }
  .mmtcl-actions { display: grid; }
  .mmtcl-btn { width: 100%; }
}
