/* Consent banner, "Your Privacy Choices" panel and footer button (markup from consent.js). Tokens and .pill come from details.css. */
.cc-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 10px 22px 10px 24px; border-radius: var(--r-md); background: rgba(29,29,31,.92); color: var(--d-ink);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 12px 40px -12px rgba(0,0,0,.45);
  font-size: 15px; line-height: 1.35; animation: cc-in .6s var(--ease-out); transition: bottom .5s var(--ease-out); }
@keyframes cc-in { from { opacity: 0; transform: translateY(24px); } }
.cc-bar p { flex: 1; margin-right: 8px; }
.cc-bar .pill { min-width: 96px; padding: 0 18px; font-size: 15px; background: #fff; color: var(--ink); }
.cc-bar .pill:hover { background: var(--mist); }
.cc-bar a { padding: 12px 0; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.cc-bar a::before { content: "·"; content: "·" / ""; display: inline-block; margin: 0 10px 0 4px; color: var(--d-ink-2); }
@media (max-width: 760px) {
  /* two columns so the bar stays under the hero Buy button at 390px; above the buy bar once it shows */
  .cc-bar { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 6px; padding: 8px 8px 8px 16px; font-size: 13px; }
  .cc-bar p { grid-area: 1 / 1; align-self: end; margin: 0; }
  .cc-bar .pill { grid-row: 1 / span 2; min-width: 76px; padding: 0 10px; font-size: 14px; }
  .cc-bar a { grid-area: 2 / 1; justify-self: start; align-self: start; padding: 19px 0 8px; margin: -19px 0 -8px; }
  .cc-bar a::before { display: none; }
  body:has(.mbuy.show) .cc-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

.cc-panel { width: min(380px, calc(100% - 2 * var(--gut))); max-width: none; padding: 28px 24px 24px; border: 0; border-radius: var(--r-lg);
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); }
.cc-panel::backdrop { background: rgba(0,0,0,.45); }
.cc-panel h2 { font: 700 26px/1.1 var(--fd); letter-spacing: -0.035em; }
.cc-panel [role="switch"] { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; margin-top: 18px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 17px/1.3 var(--fd); letter-spacing: -0.015em; text-align: left; }
.cc-panel [role="switch"]:disabled { cursor: default; color: var(--ink-2); }
.cc-panel i { position: relative; flex: none; width: 51px; height: 31px; border-radius: 99px; background: var(--ink-2); transition: background .25s var(--ease); }
.cc-panel i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.cc-panel [aria-checked="true"] i { background: #1a5cff; }
.cc-panel [aria-checked="true"] i::after { transform: translateX(20px); }
.cc-panel :disabled i { opacity: .5; }
.cc-panel p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.cc-panel p:empty { margin: 0; }
.cc-panel form { display: flex; gap: 10px; margin-top: 20px; }
.cc-panel .pill { flex: 1; }
.cc-panel .pill + .pill { background: var(--mist); color: var(--ink); }
.cc-panel .pill[hidden] { display: none; }

.foot-cols button { display: flex; width: 100%; min-height: 44px; padding: 4px 0 0; text-align: left; }
.foot-cols button:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .foot-cols button { padding-top: 8px; } }
