/* Shared production navigation and optional analytics preferences. */
.production-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 22px;
  font:
    11px/1.4 "Instrument Sans",
    sans-serif;
}
.production-links a,
.production-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d5e2e8;
}
[data-analytics-settings] {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.site-footer {
  flex-wrap: wrap;
}
.site-footer .production-links {
  order: 3;
  flex-basis: 100%;
}
.art-mode .production-links,
.landscape-active .production-links {
  display: none;
}
.analytics-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid #9baeb766;
  border-radius: 16px;
  background: #112634;
  color: #edf2f2;
  font:
    15px/1.6 "Instrument Sans",
    sans-serif;
  box-shadow: 0 24px 80px #0009;
}
.analytics-dialog::backdrop {
  background: #020b16a6;
}
.analytics-dialog h2 {
  font:
    30px/1.2 "Fraunces",
    Georgia,
    serif;
  margin: 0 0 16px;
}
.analytics-dialog p {
  margin: 12px 0;
  color: #e3eaf0;
}
.analytics-dialog a {
  color: #ecd191;
  text-decoration: underline;
}
.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.analytics-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #b6c8d0;
  border-radius: 6px;
  background: #203d4d;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.analytics-actions button[data-consent="yes"] {
  background: #ecd191;
  color: #172b39;
}
.analytics-dialog :focus-visible,
.production-links :focus-visible {
  outline: 2px solid #ecd191;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .site-footer .production-links {
    gap: 0 16px;
  }
  .analytics-dialog {
    padding: 22px;
  }
}
