:root {
--rmpc-bg: #101010;
--rmpc-card: #171717;
--rmpc-card-soft: #1d1d1d;
--rmpc-line: #343434;
--rmpc-red: #be1c1c;
--rmpc-red-bright: #d62929;
--rmpc-text: #f7f7f8;
--rmpc-muted: #a0a0a6;
}
html.rmpc-locked { overflow: hidden !important; }
.rmpc-root[hidden], .rmpc-settings[hidden], .rmpc-actions[hidden], .rmpc-legal [hidden], .rmpc-reopen[hidden] { display: none !important; }
.rmpc-root, .rmpc-root *, .rmpc-reopen, .rmpc-inline-settings { box-sizing: border-box; }
.rmpc-root {
position: fixed;
z-index: 2147483000;
inset: 0;
display: grid;
place-items: end center;
padding: 22px;
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--rmpc-text);
}
.rmpc-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, .68);
backdrop-filter: blur(10px) saturate(.75);
}
.rmpc-dialog {
position: relative;
display: grid;
grid-template-columns: 190px minmax(0, 1fr);
gap: 18px 26px;
width: min(920px, 100%);
max-height: min(760px, calc(100vh - 44px));
padding: 23px;
overflow: auto;
border: 1px solid #3a3a3a;
border-radius: 22px;
outline: none;
background:
radial-gradient(circle at 4% 0, rgba(190, 28, 28, .2), transparent 34%),
linear-gradient(145deg, #181818, #0d0d0d);
box-shadow: 0 30px 100px rgba(0, 0, 0, .62);
animation: rmpc-rise .42s cubic-bezier(.22, 1, .36, 1) both;
}
.rmpc-brand {
grid-row: 1 / span 3;
display: grid;
align-content: start;
gap: 8px;
padding-right: 18px;
border-right: 1px solid var(--rmpc-line);
}
.rmpc-brand img { width: 118px; height: 58px; object-fit: contain; object-position: left center; }
.rmpc-brand small { color: #77777f; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.rmpc-intro { min-width: 0; }
.rmpc-eyebrow { margin: 0 0 5px !important; color: #e04747 !important; font-size: 9px !important; font-weight: 950 !important; letter-spacing: .16em; }
.rmpc-intro h2 { margin: 0 0 7px !important; color: #fff !important; font-size: clamp(24px, 3vw, 34px) !important; line-height: 1.05 !important; }
.rmpc-intro > p:last-child { max-width: 650px; margin: 0 !important; color: var(--rmpc-muted) !important; font-size: 13px !important; line-height: 1.5 !important; }
.rmpc-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rmpc-option {
display: flex !important;
align-items: center;
justify-content: space-between;
gap: 15px;
min-height: 78px;
margin: 0 !important;
padding: 13px !important;
border: 1px solid var(--rmpc-line);
border-radius: 13px;
background: var(--rmpc-card-soft);
cursor: pointer;
}
.rmpc-option.is-required { opacity: .72; cursor: default; }
.rmpc-option span { display: grid; gap: 3px; }
.rmpc-option b { color: #fff; font-size: 12px; }
.rmpc-option small { color: #8c8c92; font-size: 9px; line-height: 1.35; }
.rmpc-option input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.rmpc-option i { position: relative; flex: 0 0 auto; width: 43px; height: 24px; border: 1px solid #49494f; border-radius: 999px; background: #29292d; transition: .22s ease; }
.rmpc-option i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8c8c93; transition: .22s cubic-bezier(.22, 1, .36, 1); }
.rmpc-option input:checked + i { border-color: var(--rmpc-red); background: rgba(190, 28, 28, .34); }
.rmpc-option input:checked + i::after { left: 21px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.35); }
.rmpc-option input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.rmpc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.rmpc-actions.is-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rmpc-btn {
min-height: 46px;
padding: 10px 14px;
border: 1px solid transparent;
border-radius: 11px;
font: inherit;
font-size: 11px;
font-weight: 900;
cursor: pointer;
transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.rmpc-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.rmpc-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rmpc-btn.is-primary { background: linear-gradient(135deg, #d72a2a, #a71111); box-shadow: 0 10px 25px rgba(190, 28, 28, .24); color: #fff; }
.rmpc-btn.is-neutral { border-color: #4a4a4f; background: #29292d; color: #fff; }
.rmpc-btn.is-ghost { border-color: #434348; background: transparent; color: #c8c8cc; }
.rmpc-legal { grid-column: 2; display: flex; align-items: center; gap: 14px; }
.rmpc-legal a, .rmpc-legal button { padding: 0; border: 0; background: none; color: #85858c !important; font: inherit; font-size: 9px; font-weight: 750; text-decoration: none; cursor: pointer; }
.rmpc-legal a:hover, .rmpc-legal button:hover { color: #fff !important; }
.rmpc-reopen {
position: fixed;
z-index: 2147482000;
left: 14px;
bottom: 14px;
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 34px;
padding: 7px 11px;
border: 1px solid #3b3b3f;
border-radius: 999px;
background: rgba(16,16,16,.92);
box-shadow: 0 8px 30px rgba(0,0,0,.34);
color: #aaa;
font: 700 9px/1 Inter, ui-sans-serif, sans-serif;
cursor: pointer;
backdrop-filter: blur(10px);
}
.rmpc-reopen span { color: #d52a2a; font-size: 12px; }
.rmpc-reopen:hover { border-color: #6d2929; color: #fff; }
.rmpc-inline-settings { border: 0; padding: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; }
.rmpc-media-blocker {
display: grid;
place-items: center;
min-height: 190px;
padding: 28px;
border: 1px solid #3a3a3e;
border-radius: 16px;
background: radial-gradient(circle at 50% 0, rgba(190,28,28,.16), transparent 45%), #131313;
color: #fff;
font-family: Inter, ui-sans-serif, sans-serif;
text-align: center;
}
.rmpc-media-blocker .rmpc-media-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 50%; background: #be1c1c; font-size: 14px; }
.rmpc-media-blocker strong { font-size: 15px; }
.rmpc-media-blocker p { max-width: 470px; margin: 5px 0 13px !important; color: #929299 !important; font-size: 10px !important; }
.rmpc-media-blocker button { min-height: 38px; padding: 8px 16px; border: 0; border-radius: 9px; background: #be1c1c; color: #fff; font-weight: 850; cursor: pointer; }
.rmpc-media-blocker small { margin-top: 8px; font-size: 8px; }
.rmpc-media-blocker a { color: #999 !important; }
@keyframes rmpc-rise { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
.rmpc-root { align-items: end; padding: 8px; }
.rmpc-dialog { display: block; max-height: calc(100vh - 16px); padding: 17px; border-radius: 18px; }
.rmpc-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--rmpc-line); }
.rmpc-brand img { width: 92px; height: 42px; }
.rmpc-brand small { margin-left: auto; }
.rmpc-intro h2 { font-size: 25px !important; }
.rmpc-intro > p:last-child { font-size: 11px !important; }
.rmpc-settings { grid-template-columns: 1fr; margin-top: 15px; }
.rmpc-option { min-height: 68px; }
.rmpc-actions, .rmpc-actions.is-settings { grid-template-columns: 1fr; margin-top: 16px; }
.rmpc-legal { margin-top: 13px; }
.rmpc-btn { min-height: 44px; }
.rmpc-reopen { left: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
.rmpc-dialog { animation: none; }
.rmpc-root *, .rmpc-reopen { transition: none !important; }
}