/* Banner ads (ads.js): one banner at the top of clean pages, the Boltworks Club box under it,
   and the cookie question for visitors in Europe. */
.gb-ad { margin: 0 0 14px; padding: 6px 8px 8px; border: 1px solid var(--line, #c9ced6); background: rgba(0,0,0,.025); text-align: center; }
.gb-ad-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 4px; }
.gb-ad .adsbygoogle { display: block; width: 100%; min-height: 90px; }
.gb-ad:has(ins[data-ad-status="unfilled"]) { display: none; }   /* Google had no ad to show */
.gb-ad-placeholder { display: flex; align-items: center; justify-content: center; min-height: 90px; max-width: 728px; margin: 0 auto;
  border: 2px dashed #b9bfc8; color: #777; font-size: 12px; padding: 8px; }
.gb-ad-club { margin-top: 6px; font-size: 12px; }
.gb-ad-club a { font-weight: bold; color: #c81e1e; }

.gb-cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin: 0 auto;
  background: #fff; color: #222; border: 2px solid #c81e1e; border-radius: 4px; box-shadow: 0 4px 18px rgba(0,0,0,.3);
  padding: 12px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.gb-cookies p { margin: 0; flex: 1 1 280px; }
.gb-cookies a { color: #c81e1e; font-weight: bold; }
.gb-cookies-buttons { display: flex; gap: 8px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gb-ad { background: rgba(255,255,255,.04); }
  :root:not([data-theme="light"]) .gb-cookies { background: #1b212b; color: #e8ecf2; }
  :root:not([data-theme="light"]) .gb-cookies a, :root:not([data-theme="light"]) .gb-ad-club a { color: #ff7a6e; }
}

/* The "Privacy choices" panel (ads.js openPrivacyChoices). */
.gb-choices-back { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gb-choices { background: #fff; color: #222; border: 2px solid #c81e1e; border-radius: 4px; box-shadow: 0 6px 28px rgba(0,0,0,.35);
  max-width: 520px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 14px 18px; font-size: 13px; line-height: 1.5; }
.gb-choices h2 { margin: 0 0 6px; font-size: 18px; color: #c81e1e; }
.gb-choices p { margin: 0 0 10px; }
.gb-choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #d6d6d6; border-radius: 3px; cursor: pointer; }
.gb-choice:has(input:checked) { border-color: #c81e1e; background: rgba(200,30,30,.05); }
.gb-choice input { margin-top: 3px; }
.gb-choice b, .gb-choice small { display: block; }
.gb-choice small { color: #666; }
.gb-choices-note { font-size: 12px; color: #2d6a2d; }
.gb-choices-links a { color: #c81e1e; font-weight: bold; }
.gb-choices .gb-cookies-buttons { justify-content: flex-end; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gb-choices { background: #1b212b; color: #e8ecf2; }
  :root:not([data-theme="light"]) .gb-choice { border-color: #334052; }
  :root:not([data-theme="light"]) .gb-choice small { color: #9aa5b5; }
  :root:not([data-theme="light"]) .gb-choices h2, :root:not([data-theme="light"]) .gb-choices-links a { color: #ff7a6e; }
  :root:not([data-theme="light"]) .gb-choices-note { color: #7fd17f; }
}
