
      #emo-consent-test, #emo-consent-test * { box-sizing: border-box; }
      #emo-consent-test { position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; display: none; align-items: flex-end; justify-content: center; padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); background: transparent !important; pointer-events: none !important; font-family: inherit; isolation: isolate; }
      #emo-consent-test[data-open="true"] { display: flex !important; }
      #emo-consent-test:popover-open { display:flex!important; position:fixed!important; inset:0!important; width:100vw!important; height:100dvh!important; max-width:none!important; max-height:none!important; margin:0!important; border:0!important; padding:16px!important; padding-bottom:max(16px,env(safe-area-inset-bottom))!important; background:transparent!important; overflow:visible!important; }
      @media(max-width:600px){#emo-consent-test:popover-open{padding:10px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}}
      #emo-consent-test .emo-consent-card { position: relative; width: min(100%, 760px); max-height: min(86dvh, 780px); overflow-y: auto; overscroll-behavior: contain; pointer-events:auto!important; z-index:2147483647!important; padding: clamp(18px,3vw,28px); border: 1px solid #b6d5e9; border-radius: 20px; background: #fff; color: #133b5a; box-shadow: 0 16px 60px rgba(0,0,0,.24); }
      #emo-consent-test h2 { font-size: clamp(20px,3vw,25px); line-height: 1.3; margin: 0 0 10px; color: #103755; }
      #emo-consent-test p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; color: #31556d; }
      #emo-consent-test .emo-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
      #emo-consent-test button { min-height: 46px; padding: 11px 17px; border-radius: 11px; border: 2px solid #14527b; background: #fff; color: #123d5e; font: 700 15px/1.3 inherit; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
      #emo-consent-test button[data-action="accept"] { background: #ffcd63; color: #102f4d; border-color: #ffcd63; }
      #emo-consent-test button[data-action="save"] { background: #103c60; color: #fff; }
      #emo-consent-test button:focus-visible, #emo-consent-reopen:focus-visible { outline: 3px solid #0969bb; outline-offset: 3px; }
      #emo-consent-test .emo-consent-options { display: none; margin: 14px 0; padding: 14px; border: 1px solid #d0e1ea; border-radius: 12px; background: #f4f9fc; }
      #emo-consent-test[data-settings="true"] .emo-consent-options { display: block; }
      #emo-consent-test .emo-consent-options label { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 15px; color: #173e59; }
      #emo-consent-test .emo-consent-options input { width: 20px; height: 20px; flex: none; accent-color: #125e88; }
      #emo-consent-test .emo-consent-options small { display: block; color: #526d7d; font-size: 13px; margin-top: 3px; }
      #emo-consent-test .emo-consent-settings-actions { display: none; margin-top: 12px; }
      #emo-consent-test[data-settings="true"] .emo-consent-settings-actions { display: flex; }
      #emo-consent-test[data-settings="true"] [data-action="settings"] { display: none; }
      /* Reopen control is a compact inline footer link, never a floating overlay. */
      #emo-consent-reopen { position:static!important; display:inline!important; inset:auto!important; transform:none!important; z-index:auto!important; width:auto!important; height:auto!important; margin:0 0 0 12px!important; padding:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; color:inherit!important; font:inherit!important; font-size:inherit!important; font-weight:inherit!important; line-height:inherit!important; text-decoration:underline!important; text-underline-offset:3px; cursor:pointer; }
      body.emo-consent-is-open #emo-consent-reopen {display:none!important}
      #emo-consent-test a { color: #075b9a; text-decoration: underline; }
      @media (max-width: 600px) {
        #emo-consent-test { padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
        #emo-consent-test .emo-consent-card { width: 100%; max-height: 82dvh; border-radius: 17px; }
        #emo-consent-test .emo-consent-actions > button { flex: 1 1 100%; }
      }
      @media (prefers-reduced-motion: reduce) { #emo-consent-test * { scroll-behavior: auto !important; transition: none !important; } }

      /* EMO 0.6.6: compact editorial navy + warm gold; no page dimming. */
      #emo-consent-test .emo-consent-card {
        width:min(100%,640px); padding:clamp(18px,2.4vw,24px);
        border:1px solid #b5d1df; border-top:4px solid #0b5975;
        border-radius:18px; background:#fff; color:#123d59;
        box-shadow:0 10px 34px rgba(8,44,70,.18),0 2px 8px rgba(8,44,70,.08);
        opacity:0; transform:translateY(14px) scale(.985);
        transition:opacity 280ms ease,transform 320ms cubic-bezier(.2,.75,.2,1);
      }
      #emo-consent-test[data-visible="true"] .emo-consent-card {opacity:1;transform:translateY(0) scale(1)}
      #emo-consent-test h2 {font-size:clamp(19px,2.5vw,23px);margin:0 0 8px;color:#123d59;line-height:1.35}
      #emo-consent-test p {font-size:14px;line-height:1.55;margin:0 0 11px;color:#34566a}
      #emo-consent-test .emo-consent-actions {gap:8px}
      #emo-consent-test button {min-height:44px;padding:9px 12px;border-radius:10px;font-size:13px;line-height:1.4;border-width:1.5px}
      #emo-consent-test button[data-action="accept"] {background:#ffd36b;border-color:#ffd36b;color:#10354f}
      #emo-consent-test button[data-action="accept"]:hover {background:#ffca4e;border-color:#ffca4e}
      #emo-consent-test button[data-action="reject"]:hover,#emo-consent-test button[data-action="settings"]:hover {background:#eaf4f8}
      #emo-consent-test a {color:#075d91;text-underline-offset:3px}
      @media(max-width:600px){
        #emo-consent-test .emo-consent-card{width:100%;padding:18px;border-radius:16px;max-height:82dvh}
        #emo-consent-test button{font-size:14px;min-height:46px}
      }
      /* v0.6.7: compact mobile layout; preserve 44px touch targets and visible focus. */
      @media (max-width:600px) {
        #emo-consent-test:popover-open {
          align-items:flex-end!important;
          justify-content:center!important;
          padding:8px!important;
          padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
        }
        #emo-consent-test .emo-consent-card {
          width:min(100%,430px)!important;
          padding:14px 15px 15px!important;
          max-height:min(76dvh,620px)!important;
          border-radius:15px!important;
          border-top-width:3px!important;
        }
        #emo-consent-test h2 {font-size:18px!important;line-height:1.3!important;margin:0 0 6px!important}
        #emo-consent-test p {font-size:13px!important;line-height:1.45!important;margin:0 0 8px!important}
        #emo-consent-test .emo-consent-actions {gap:7px!important}
        #emo-consent-test .emo-consent-actions > button {
          min-height:44px!important;
          padding:8px 10px!important;
          font-size:12.5px!important;
          line-height:1.3!important;
          border-radius:9px!important;
          letter-spacing:0!important;
        }
        #emo-consent-test .emo-consent-options {margin:9px 0!important;padding:10px!important}
        #emo-consent-test .emo-consent-options label {margin:8px 0!important;font-size:13px!important}
        #emo-consent-test .emo-consent-options small {font-size:12px!important}
      }
      @media (max-width:360px) {
        #emo-consent-test .emo-consent-card {padding:12px!important}
        #emo-consent-test h2 {font-size:17px!important}
        #emo-consent-test .emo-consent-actions > button {font-size:12px!important}
      }
      @media(prefers-reduced-motion:reduce){
        #emo-consent-test .emo-consent-card{transition:none!important;transform:none!important}
      }

      /* EMO 0.6.8: genuinely compact mobile banner. Last override wins. */
      .emo-consent-mobile-copy{display:none}
      @media (max-width:600px) {
        #emo-consent-test:popover-open {align-items:flex-end!important;justify-content:center!important;padding:8px 8px max(10px,env(safe-area-inset-bottom))!important}
        #emo-consent-test .emo-consent-card {width:min(100%,350px)!important;max-width:calc(100vw - 16px)!important;padding:12px 13px 13px!important;max-height:min(72dvh,500px)!important;border-radius:14px!important}
        #emo-consent-test h2 {font-size:17px!important;line-height:1.25!important;margin-bottom:6px!important}
        #emo-consent-test p {font-size:12.5px!important;line-height:1.45!important;margin-bottom:7px!important}
        #emo-consent-test .emo-consent-desktop-copy{display:none!important}
        #emo-consent-test .emo-consent-mobile-copy{display:inline!important}
        #emo-consent-test .emo-consent-actions:not(.emo-consent-settings-actions){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important}
        #emo-consent-test .emo-consent-actions:not(.emo-consent-settings-actions)>button{width:100%!important;min-width:0!important;min-height:44px!important;padding:7px 5px!important;font-size:11.5px!important;line-height:1.25!important;white-space:normal!important}
        #emo-consent-test button[data-action="reject"]{grid-column:1!important;grid-row:1!important}
        #emo-consent-test button[data-action="accept"]{grid-column:2!important;grid-row:1!important}
        #emo-consent-test button[data-action="settings"]{grid-column:1 / -1!important;grid-row:2!important}
        #emo-consent-test .emo-consent-options{margin:8px 0!important;padding:9px!important}
        #emo-consent-test .emo-consent-options label{font-size:12.5px!important}
      }
      @media (max-width:360px){#emo-consent-test .emo-consent-card{width:100%!important;padding:11px!important}}
    