/* Homepage cookie dog with explicit Google Analytics choices. */
.cookie-dog { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 80; width: 252px; max-width: calc(100vw - 24px); color: #f9e9bb; font: 13px/1.3 system-ui, sans-serif; pointer-events: none; }
.cookie-dog *, .cookie-dog *::before, .cookie-dog *::after { box-sizing: border-box; }
.cookie-dog__bubble { margin: 0 0 4px; padding: 9px 12px; width: fit-content; max-width: 100%; border: 1px solid #b89444; border-radius: 14px 14px 14px 3px; background: #17130c; box-shadow: 0 3px 14px #0006; }
.cookie-dog__stage { height: 76px; position: relative; }
.cookie-dog__target { width: 158px; height: 76px; position: absolute; inset: 0 auto auto 0; pointer-events: auto; border-radius: 12px; }
.cookie-dog__pup { width: 88px; height: 70px; animation: cookie-dog-scurrying 3s ease-in-out infinite alternate; }
.cookie-dog__tail { transform-origin: 22px 34px; animation: cookie-dog-wag .35s ease-in-out infinite alternate; }
.cookie-dog__leg { animation: cookie-dog-step .3s ease-in-out infinite alternate; transform-origin: center; }
.cookie-dog__leg--back { animation-delay: -.3s; }
.cookie-dog__cookie { position: absolute; right: 4px; top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #edcc76; background: #352610; padding: 5px; cursor: grab; pointer-events: auto; touch-action: none; }
.cookie-dog__cookie svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.cookie-dog__controls { display: flex; gap: 4px; justify-content: flex-end; pointer-events: auto; }
.cookie-dog__control { min-width: 44px; min-height: 44px; padding: 6px 9px; background: #17130c; color: #f9e9bb; border: 1px solid #b89444; border-radius: 10px; cursor: pointer; font: inherit; }
.cookie-dog button:focus-visible { outline: 3px solid #ffdf80; outline-offset: 3px; }
.cookie-dog.is-paused .cookie-dog__pup, .cookie-dog.is-paused .cookie-dog__tail, .cookie-dog.is-paused .cookie-dog__leg, .cookie-dog.is-dragging .cookie-dog__pup, .cookie-dog.is-dragging .cookie-dog__tail, .cookie-dog.is-dragging .cookie-dog__leg { animation-play-state: paused; }
.cookie-dog.is-fed .cookie-dog__pup { animation: none; transform: translateX(32px); }
.cookie-dog.is-fed .cookie-dog__cookie { visibility: hidden; }
@keyframes cookie-dog-scurrying { from { transform: translateX(0); } to { transform: translateX(68px); } }
@keyframes cookie-dog-wag { from { transform: rotate(-15deg); } to { transform: rotate(18deg); } }
@keyframes cookie-dog-step { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .cookie-dog__pup, .cookie-dog__tail, .cookie-dog__leg { animation: none; } }

/* Equal-weight Analytics choices; consent version. */
.cookie-dog--consent { width: 248px; padding: 8px; border: 1px solid #b89444; border-radius: 12px; background: #17130c; box-shadow: 0 8px 30px #0007; pointer-events: auto; box-sizing: border-box; max-height: calc(100dvh - 24px); overflow-y: auto; }
.cookie-dog--consent .cookie-dog__bubble { padding: 0; border: 0; background: none; box-shadow: none; }
.cookie-dog__purpose { font-size: 12px; margin: 4px 0; }
.cookie-dog__choices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cookie-dog--consent .cookie-dog__cookie, .cookie-dog__no { position: static; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 48px; height: auto; padding: 4px; border: 1px solid #edcc76; border-radius: 12px; background: #352610; color: #f9e9bb; font: 12px/1.3 system-ui,sans-serif; cursor: pointer; pointer-events: auto; }
.cookie-dog--consent .cookie-dog__cookie svg, .cookie-dog__no svg { width: 24px; height: 24px; flex-shrink: 0; pointer-events: none; }
.cookie-dog--consent .cookie-dog__details { font-size: 12px; margin: 4px 0 0; padding: 0; border: 0; background: none; }
.cookie-dog__details summary { cursor: pointer; min-height: 44px; padding: 12px 0; width: calc(100% - 96px); }
.cookie-dog__details a { color: #f9e9bb; text-decoration: underline; }
.cookie-dog--consent.is-fed .cookie-dog__choices, .cookie-dog--consent.is-fed .cookie-dog__details, .cookie-dog--consent.is-fed .cookie-dog__purpose { display: none; }
.cookie-dog-settings:not(.btn) { display: block; padding: 10px 14px; min-height: 44px; margin: 12px auto; border: 1px solid #b89444; border-radius: 10px; background: #17130c; color: #f9e9bb; font: 14px/1.4 system-ui,sans-serif; cursor: pointer; }
.cookie-dog-settings:focus-visible { outline: 3px solid #ffdf80; outline-offset: 3px; }

/* Compact layout; full disclosure remains available through Details. */
.cookie-dog--consent .cookie-dog__stage { height: 48px; }
.cookie-dog--consent .cookie-dog__target { width: 130px; height: 48px; }
.cookie-dog--consent .cookie-dog__pup { width: 60px; height: 48px; }
.cookie-dog--consent .cookie-dog__controls { position: absolute; right: 8px; bottom: 8px; }
.cookie-dog--consent .cookie-dog__control { width: 44px; padding: 4px; }
.cookie-dog--consent .cookie-dog__details[open] { padding-bottom: 48px; }

.footer-social-row .cookie-dog-settings { cursor: pointer; font-family: inherit; margin: 0; }
.cookie-dog-settings svg { width: 14px; height: 14px; flex-shrink: 0; }
