/* Self-hosted, square-edged pixel-inspired styling. No remote fonts. */
.sm-consent, [data-media-placeholder] {font-family: ui-monospace, 'Courier New', monospace; color:#fff4d2; background:#171126; border:3px solid #f5c76b; box-shadow:6px 6px 0 #08050f; box-sizing:border-box;}
.sm-consent {width:min(94vw,660px); max-height:85dvh; padding:24px; line-height:1.6; font-size:16px; text-align:left;}
.sm-consent::backdrop {background:rgb(8 5 15 / 78%);}
.sm-consent h2 {font: bold 24px ui-monospace,monospace; color:#f5c76b; margin:0 0 16px;}
.sm-consent a, [data-media-placeholder] a {color:#bce9ff; text-decoration:underline;}
.sm-actions {display:flex; gap:12px; flex-wrap:wrap; margin:18px 0;}
.sm-actions button {flex:1 1 180px;}
.sm-consent button, [data-media-placeholder] button {font: bold 16px ui-monospace,monospace; background:#302047; color:#fff4d2; border:2px solid #f5c76b; min-height:48px; padding:10px 14px; cursor:pointer; border-radius:0;}
.sm-consent button:hover {background:#493067;}
.sm-consent :focus-visible, .sm-settings:focus-visible, [data-media-placeholder] :focus-visible {outline:3px solid #9de7ff; outline-offset:4px;}
.sm-consent fieldset {border:1px solid #aa8bc6; padding:12px;}
.sm-consent label {display:block; padding:10px 0; cursor:pointer;}
.sm-consent input {width:20px; height:20px; vertical-align:middle; accent-color:#7854a4;}
.sm-settings {display:block; position:static; margin:8px auto 16px; padding:10px 12px; min-height:44px; max-width:100%; font:inherit; font-size:14px; line-height:1.5; color:#333; background:transparent; border:0; box-shadow:none; text-decoration:underline; cursor:pointer;}
.sm-settings:hover {color:#5F6CDA; background:transparent;}
.sm-settings:focus-visible {outline:3px solid #5F6CDA; outline-offset:3px;}
[data-media-placeholder] {padding:24px; line-height:1.6;}
[hidden] {display:none !important;}
#sm-status:not(:empty) {padding:16px; background:#171126; color:#fff4d2;}

/* Compact first-visit banner; detailed choices remain in footer settings. */
.sm-banner {position:fixed; z-index:1100; left:50%; bottom:16px; transform:translateX(-50%); width:min(600px,calc(100% - 32px)); box-sizing:border-box; display:flex; align-items:center; gap:16px; padding:18px 16px 12px; color:#171126; background:#fff0f2; border:3px solid #fa4377; box-shadow:5px 5px 0 #feadb9; text-align:left; font-family:"Star Mage",ui-monospace,monospace; font-size:16px; line-height:1.5;}
.sm-banner p {margin:0; flex:1;}
.sm-cookie-art {position:absolute; left:12px; top:-48px; width:72px; height:auto; image-rendering:pixelated; pointer-events:none;}
.sm-banner-actions {display:flex; flex-shrink:0; gap:8px;}
.sm-banner-actions button {box-sizing:border-box; min-width:82px; min-height:44px; padding:8px 10px; border:2px solid #171126; border-radius:0; background:#fffafb; color:#171126; font:inherit; cursor:pointer;}
.sm-banner-actions button:hover {background:#ffdae5;}
.sm-banner-actions button:focus-visible {outline:3px solid #5F6CDA; outline-offset:3px;}
@media (max-width:540px) {
  .sm-banner {flex-direction:column; align-items:stretch; gap:10px; padding:18px 14px 12px; bottom:12px;}
  .sm-banner-actions button {flex:1;}
}
@media (max-height:300px) {
  .sm-banner {bottom:6px; max-height:calc(100dvh - 16px); overflow:auto;}
  .sm-cookie-art {display:none;}
}
