#gam-page-views {
  box-sizing: border-box;
  clear: both;
  width: 100%;
  padding: 10px max(18px, env(safe-area-inset-right)) 12px 18px;
  margin: 0;
  background: #102c46;
  color: #e4eaf0;
  text-align: center;
  font: 12px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
}
#gam-page-views > span:first-child { color: #d4b36a; margin-right: 5px; }
.gam-page-views-number { font-weight: 700; }
.gam-page-views-preferences { max-width: 650px; margin: 5px auto 0; font-size: 11px; }
.gam-page-views-preferences summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gam-page-views-preferences p { margin: 10px 0; line-height: 1.65; }
.gam-page-views-preferences button { padding: 6px 10px; border: 1px solid #d4b36a; border-radius: 4px; background: transparent; color: #e4eaf0; font: inherit; cursor: pointer; margin: 3px; }
.gam-page-views-preferences button:disabled { opacity: .65; cursor: default; }
.gam-page-views-preferences button:focus-visible, .gam-page-views-preferences summary:focus-visible { outline: 2px solid #d4b36a; outline-offset: 3px; }
.gam-pv-cookie-panel[hidden] { display: none !important; }
.gam-pv-cookie-panel {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 99990;
  box-sizing: border-box;
  width: min(410px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #d4b36a;
  border-radius: 14px;
  background: #102c46;
  color: #e4eaf0;
  box-shadow: 0 8px 28px #0004;
  font: 13px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: left;
}
.gam-pv-cookie-panel h2 { margin: 0 32px 10px 0; color: #fff; font: 700 17px/1.3 system-ui, sans-serif; }
.gam-pv-cookie-panel p { margin: 10px 0; }
.gam-pv-cookie-panel a { color: #ead098; text-decoration: underline; text-underline-offset: 3px; }
.gam-pv-cookie-panel button, .gam-pv-cookie-panel .gam-pv-leave {
  padding: 9px 10px;
  border: 1px solid #d4b36a;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
}
.gam-pv-cookie-panel .gam-pv-close { position: absolute; top: 9px; right: 10px; border: 0; padding: 3px 7px; font-size: 22px; font-weight: 400; }
.gam-pv-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 15px 0 8px; }
.gam-pv-cookie-panel .gam-pv-leave { display: block; text-decoration: none; font-weight: 400; }
.gam-pv-cookie-panel :focus-visible { outline: 2px solid #f7dfa6; outline-offset: 3px; }
@media (max-width: 430px) { .gam-pv-cookie-panel { padding: 16px; } .gam-pv-cookie-actions { grid-template-columns: 1fr; } }
@media print { #gam-page-views, .gam-pv-cookie-panel { display: none !important; } }
