:root { --emv-ink: #263027; --emv-paper: #fffdf8; --emv-soft: #e0ebdc; --emv-line: #c5cec2; --emv-accent: #355f46; }
:root[data-theme="dark"] { --emv-ink: #edf2ea; --emv-paper: #202820; --emv-soft: #303d30; --emv-line: #61715e; --emv-accent: #b2d0a7; }
.emv-site-shell .emv-topbar,.emv-site-shell .emv-offer-topbar,.emv-site-shell #emv-reader-topbar,.emv-site-shell #emv-shared-topbar,.emv-site-shell .emv-pastblogs-topbar,.emv-site-shell .emv-404-nav,
.emv-site-shell #masthead,.emv-site-shell .site-header,.emv-site-shell .emv-footer,.emv-site-shell #emv-footer,.emv-site-shell .emv-offer-footer,.emv-site-shell .site-footer,.emv-site-shell .emv-404-footer { display: none !important; }
.emv-site-nav { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:12px auto 18px; width:100%; max-width:1120px; color:var(--emv-ink); }
.emv-site-brand { color:var(--emv-ink)!important; font:800 20px/1.25 system-ui,sans-serif; text-decoration:none!important; flex-shrink:0; }
.emv-site-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.emv-site-link { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--emv-line); border-radius:999px; padding:8px 12px; background:var(--emv-paper); color:var(--emv-ink)!important; font:500 14px/1.3 system-ui,sans-serif; text-decoration:none!important; cursor:pointer; margin:0; }
.emv-site-link:hover { background:var(--emv-soft); }
.emv-site-menu { position:relative; border:0; padding:0; margin:0; background:none; }
.emv-site-menu>summary { list-style:none; }
.emv-site-menu>summary::-webkit-details-marker { display:none; }
.emv-site-submenu { position:absolute; top:calc(100% + 6px); right:0; display:grid; gap:4px; min-width:190px; max-width:calc(100vw - 24px); padding:8px; border:1px solid var(--emv-line); border-radius:8px; background:var(--emv-paper); box-shadow:0 6px 20px #0002; z-index:1000; }
.emv-site-menu:not([open])>.emv-site-submenu { display:none; }
.emv-site-submenu .emv-site-link { justify-content:flex-start; border:0; border-radius:4px; white-space:normal; text-align:left; }
.emv-site-footer { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:14px; margin:30px auto 12px; padding-top:18px; max-width:1120px; border-top:1px solid var(--emv-line); color:var(--emv-ink); font:400 13px/1.6 system-ui,sans-serif; }
.emv-site-footer>span:first-child { flex:1 1 420px; }
.emv-site-footer-links { display:flex; flex-wrap:wrap; gap:12px; }
.emv-site-footer .emv-site-link { border:0; background:none; padding:0; font-size:13px; border-radius:0; text-decoration:underline!important; }
.emv-site-shell :is(a,button,select,input,textarea,summary):focus-visible { outline:3px solid var(--emv-accent)!important; outline-offset:3px; }
.emv-site-shell .emv-menu-item { text-decoration:none; color:inherit; }
.emv-site-shell .emv-menu { max-width:calc(100vw - 24px); max-height:65vh; overflow:auto; }
:root[data-theme="dark"] .emv-site-shell,
:root[data-theme="dark"] body { color:var(--emv-ink); }
:root[data-theme="dark"] :is(#emv-app,.emv-offer-root,#emv-offer-root,main) :is(h1,h2,h3,h4,h5,h6),
:root[data-theme="dark"] :is(#emv-app,.emv-offer-root,#emv-offer-root,main) :is(h1,h2,h3,h4,h5,h6) span { color:var(--emv-ink)!important; }
:root[data-theme="dark"] :is(select,input,textarea) { color:var(--emv-ink); background-color:var(--emv-paper); }
:root[data-theme="dark"] option { color:var(--emv-ink); background:var(--emv-paper); }
.emv-site-shell .emv-media-panel :is(video,img) { object-fit:contain!important; background:#111; }
.emv-site-shell .emv-offer-hero-img>img { object-fit:contain!important; background:var(--emv-paper); }
.emv-site-shell .emv-pb-topbar,.emv-site-shell .emv-pb-footer { display:none!important; }
.emv-site-shell .emv-404-topbar,.emv-site-shell #emv-disclaimer-footer { display:none!important; }
:root[data-theme="dark"] .emv-404-page,:root[data-theme="dark"] .emv-404-card { background:var(--emv-paper)!important; color:var(--emv-ink)!important; }
.emv-site-shell .emv-offer-hero { background-size:contain!important; background-repeat:no-repeat; }
.emv-site-shell .emv-offer-links-select { min-height:40px; }
.emv-offer-filter-label { display:block; font-size:12px; margin-bottom:4px; color:var(--emv-ink); }
@media(max-width:700px) {
  .emv-site-nav { align-items:flex-start; flex-wrap:wrap; gap:10px; }
  .emv-site-brand { font-size:18px; }
  .emv-site-actions { justify-content:flex-start; gap:6px; }
  .emv-site-link { min-height:38px; padding:8px 10px; }
  .emv-site-submenu { right:auto; left:0; }
  .emv-site-actions>.emv-site-menu:last-child .emv-site-submenu { right:0; left:auto; }
  .emv-site-shell .emv-offer-links-table { display:block; width:100%; min-width:0; }
  .emv-site-shell .emv-offer-links-table thead { display:block; }
  .emv-site-shell .emv-offer-links-table thead tr:first-child { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .emv-site-shell .emv-offer-links-table thead tr:last-child { display:none; }
  .emv-site-shell .emv-offer-links-table th { display:block; border:0; padding:0; }
  .emv-site-shell .emv-offer-links-table tbody { display:block; }
  .emv-site-shell .emv-offer-links-table tbody tr { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--emv-line); padding:12px 0; }
  .emv-site-shell .emv-offer-links-table :is(td,th) { min-width:0; width:auto; white-space:normal; }
  .emv-site-shell .emv-offer-links-table td { display:block; border:0; padding:4px; overflow-wrap:anywhere; }
  .emv-site-shell .emv-offer-links-select { width:100%; max-width:100%; min-width:0; }
  .emv-site-shell .emv-offer-links-table td::before { content:attr(data-label); display:block; font-size:12px; opacity:.85; }
  .emv-site-shell .emv-offer-links-table td:last-child { grid-column:1/-1; }
  .emv-site-shell .emv-offer-links-table td:last-child a { display:block; text-align:center; padding:10px; background:var(--emv-soft); border-radius:4px; }
}
