.privacy-settings-link { padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.privacy-settings-link:hover { color: #f05a38; }
.privacy-settings-link:focus-visible, .consent-dialog button:focus-visible, .consent-dialog a:focus-visible, .consent-dialog input:focus-visible { outline: 3px solid #ffb35d; outline-offset: 4px; }
.consent-dialog { position: fixed; inset: auto 20px 20px auto; width: min(590px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; color: #f5f0e7; background: #171714; border: 1px solid #5b554b; box-shadow: 0 20px 90px #0009; font: 15px/1.6 Arial, Helvetica, sans-serif; z-index: 1000; }
.consent-dialog:not([open]) { display: none; }
.consent-dialog::backdrop { background: #0808078a; backdrop-filter: blur(3px); }
.consent-dialog::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: #f05a38; }
.consent-inner { padding: clamp(24px, 4vw, 34px); }
.consent-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.consent-brand { display: inline-flex; align-items: center; gap: 10px; color: #f05a38; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.consent-brand::before { content: "MG"; display: grid; place-items: center; width: 30px; height: 29px; color: #111; background: #f05a38; font-size: 14px; font-weight: 900; letter-spacing: -.08em; transform: skew(-7deg); }
.consent-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid #655e52; background: transparent; color: #f5f0e7; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.consent-close:hover { border-color: #f05a38; color: #f05a38; }
.consent-close svg { display: block; width: 18px; height: 18px; }
.consent-title { margin: 0 0 12px; color: #f5f0e7; font: 900 clamp(29px, 5vw, 38px)/1.05 Impact, "Arial Narrow", "Arial Black", sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.consent-intro { margin: 0; color: #c7c0b4; font-size: 14px; line-height: 1.65; }
.consent-policy { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 19px; color: #f5f0e7; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-button { min-height: 46px; padding: 11px 15px; border: 1px solid #f5f0e7; background: #f5f0e7; color: #151411; font: 800 13px/1.4 Arial, sans-serif; cursor: pointer; text-align: center; transition: background .2s, border-color .2s; }
.consent-button:hover { background: #e0d8c8; border-color: #e0d8c8; }
.consent-button-secondary { background: transparent; color: #f5f0e7; border-color: #655e52; }
.consent-button-secondary:hover { background: #2b2923; border-color: #b1a795; }
.consent-customize { grid-column: 1 / -1; }
.consent-settings { margin: 3px 0 19px; }
.consent-settings[hidden] { display: none; }
.consent-category { padding: 17px 0; border-top: 1px solid #464137; }
.consent-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-category h3, .consent-category label { margin: 0; color: #f5f0e7; font-size: 14px; font-weight: 800; }
.consent-category label { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; cursor: pointer; }
.consent-category input { appearance: none; display: block; flex: none; position: relative; width: 43px; height: 25px; margin: 0; border: 1px solid #857968; border-radius: 20px; background: #38342d; cursor: pointer; }
.consent-category input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #f5f0e7; transition: transform .16s; }
.consent-category input:checked { background: #f05a38; border-color: #f05a38; }
.consent-category input:checked::after { transform: translateX(18px); background: #171411; }
.consent-category input:disabled { opacity: .4; cursor: not-allowed; }
.consent-category p { margin: 8px 0 0; color: #c7c0b4; font-size: 12px; line-height: 1.65; }
.consent-category p.consent-service-status { color: #eead8b; }
.consent-always { color: #c7c0b4; font-size: 10px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.consent-note { margin: 14px 0 0; color: #aaa092; font-size: 11px; line-height: 1.55; }
.consent-reset { margin-top: 15px; padding: 0; border: 0; background: transparent; color: #c7c0b4; font: 12px Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.consent-reset:hover { color: #f5f0e7; }
.consent-announcement { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.discord-widget-frame { display: block; width: 100%; height: 500px; border: 0; border-radius: 3px; background: #1e1f22; }
.discord-widget-placeholder button { min-height: 44px; padding: 11px 17px; border: 1px solid #b0a594; background: transparent; color: inherit; font: 800 13px Arial, sans-serif; cursor: pointer; }
.discord-widget-placeholder button:hover { border-color: #f05a38; }
.privacy-page { width: min(900px, calc(100% - 44px)); margin: 0 auto; padding: 70px 0 90px; }
.privacy-page h1 { margin: 20px 0 25px; color: #f5f0e7; font: 900 clamp(42px, 8vw, 76px)/1 Impact, "Arial Narrow", "Arial Black", sans-serif; text-transform: uppercase; }
.privacy-page h2 { margin: 38px 0 14px; color: #f5f0e7; font-size: 22px; }
.privacy-page p, .privacy-page li { color: #c7c0b4; font-size: 15px; line-height: 1.8; }
.privacy-page a { text-decoration: underline; text-underline-offset: 4px; }
.privacy-page .privacy-back { display: inline-flex; align-items: center; gap: 8px; color: #f05a38; font-size: 13px; font-weight: 800; }
.privacy-page .privacy-pending { padding: 16px 18px; border-left: 3px solid #f05a38; background: #211f19; }
.privacy-table-wrap { overflow-x: auto; }
.privacy-page table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; text-align: left; }
.privacy-page th, .privacy-page td { padding: 14px 12px; border-bottom: 1px solid #464137; vertical-align: top; }
.privacy-page th { color: #f5f0e7; background: #211f19; }
.privacy-page td { color: #c7c0b4; }
.privacy-page code { overflow-wrap: anywhere; color: #f5f0e7; }
.privacy-page .privacy-settings-link { min-height: 44px; color: #f5f0e7; font-size: 15px; }
@media (max-width: 480px) {
  .consent-dialog { inset: auto 10px 10px; width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .consent-inner { padding: 22px 20px; }
  .consent-actions { grid-template-columns: 1fr; }
  .consent-customize { grid-column: auto; }
  .consent-title { font-size: 31px; }
  .consent-button { min-height: 46px; }
  .privacy-page { padding-top: 45px; }
}
@media (prefers-reduced-motion: reduce) { .consent-dialog *, .consent-dialog *::after { transition: none !important; } }

.consent-feedback { margin: 12px 0 0; padding: 12px; border-left: 2px solid #f05a38; background: #30221b; color: #f4d7c8; font-size: 12px; line-height: 1.6; }
.consent-receipt { overflow-wrap: anywhere; color: #aaa092; font-size: 11px; line-height: 1.6; }
.consent-button:disabled { opacity: .55; cursor: wait; }

.launch-results { margin: 28px 0; padding: 0; list-style: none; }
.launch-results li { margin: 10px 0; padding: 12px 16px; border-left: 2px solid; background: #211f19; }
.launch-results .launch-ok { border-color: #82cf8c; color: #bce3c0; }
.launch-results .launch-error { border-color: #f05a38; color: #f4bca9; }
