.cp-ads-notice {
  position: fixed;
  z-index: 30;
  left: max(1rem, env(safe-area-inset-left));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: min(24rem, calc(100vw - 6rem));
  box-sizing: border-box;
  padding: .9rem 1rem;
  border: 1px solid #c4d1d2;
  border-radius: .65rem;
  background: #fff;
  color: #153848;
  box-shadow: 0 4px 20px #102f3f24;
  font-size: .875rem;
}

.cp-ads-notice p { margin: .35rem 0 .5rem; line-height: 1.4; }
.cp-ads-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-ads-actions button {
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid #6b818b;
  border-radius: .3rem;
  background: #fff;
  color: #153848;
  font: inherit;
  cursor: pointer;
}

.cp-ads-actions button:hover { background: #edf3f4; }
.cp-ads-actions button:focus-visible { outline: 2px solid #094b7d; outline-offset: 2px; }

@media (max-width: 680px) {
  .cp-ads-notice { bottom: calc(4.6rem + env(safe-area-inset-bottom)); width: min(24rem, calc(100vw - 2rem)); }
}
