/* Shared website tokens and button shapes from home.css and styles.css. */
.advertising-settings { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.advertising-panel { position:fixed; right:max(24px, env(safe-area-inset-right)); bottom:max(24px, env(safe-area-inset-bottom)); z-index:20; width:min(480px, calc(100% - 48px)); max-height:calc(100dvh - 48px); overflow-y:auto; display:flex; flex-direction:column; gap:20px; padding:24px; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:16px; box-shadow:0 16px 48px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.08); font:inherit; font-size:.875rem; }
.advertising-copy { min-width:0; }
.advertising-copy strong { font-weight:600; }
.advertising-copy p { margin:6px 0 0; }
.cookie-categories { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:12px; }
.cookie-categories label { display:flex; align-items:flex-start; gap:8px; cursor:pointer; flex:1 1 240px; }
.cookie-categories input { width:20px; height:20px; margin:0; flex:none; accent-color:var(--ink); }
.cookie-categories label span span { display:block; font-size:.8125rem; margin-top:2px; }
.cookie-categories input:disabled + span { opacity:.6; }
.cookie-categories input:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.advertising-copy a { text-decoration:underline; text-underline-offset:3px; }
.advertising-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
.advertising-actions button { min-height:44px; padding:10px 20px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); font:inherit; font-weight:600; cursor:pointer; }
.advertising-actions [data-accept] { background:var(--action, var(--ink)); color:var(--on-action, var(--surface)); border-color:transparent; }
.advertising-actions [data-accept]:hover { opacity:.88; }
.advertising-actions button:disabled { opacity:.5; cursor:default; }
.advertising-settings:focus-visible, .advertising-actions button:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.advertising-panel[hidden], .advertising-settings[hidden], .cookie-categories[hidden], .advertising-actions button[hidden] { display:none; }
@media (max-width:600px) {
  .advertising-panel { right:max(16px, env(safe-area-inset-right)); bottom:max(16px, env(safe-area-inset-bottom)); width:calc(100% - 32px); max-height:calc(100dvh - 32px); padding:16px; gap:16px; }
  .cookie-categories { gap:10px; }
  .advertising-actions { width:100%; gap:8px; }
  .advertising-actions button { flex:1; padding:8px 10px; font-size:.8125rem; }
}
