:root {
  color-scheme: light;
  --background: #edf3fa;
  --paper: #ffffff;
  --soft: #e2ebf8;
  --border: #c9d8ec;
  --ink: #172743;
  --muted: #4a5d79;
  --accent: #294da3;
  --accent-hover: #193779;
  --deep: #142a57;
  --accent-ink: #ffffff;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-underline-offset: .18em;
}

button {
  font: inherit;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.13;
}

h1, h2 {
  font-family: Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: .6em 0;
}

.shell {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.cta, [data-tracking-reload] {
  display: inline-block;
  min-height: 44px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}

.cta:hover, [data-tracking-reload]:hover {
  background: var(--accent-hover);
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

html, body {
  height: 100%;
}

.container-wrapper {
  min-width: 320px;
  height: 100%;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.shell {
  height: 100%;
  min-height: 100%;
  overflow-y: scroll;
}

.shell::-webkit-scrollbar {
  display: none;
}

.zodiac {
  max-width: 58rem;
  padding-block: clamp(3rem, 8vw, 6rem);
  animation: appear .55s ease-out both;
}

.zodiac h1 {
  margin-bottom: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 8rem;
  padding: .75rem .25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}

.answer-button:hover, .answer-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--soft);
}

.answer-button img {
  object-fit: contain;
}

@media (max-width: 680px) {
  .zodiac-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .zodiac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer {
  padding-left: 1rem;
  padding-right: 1rem;
  border-top: 1px solid var(--border);
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  overflow-wrap: anywhere;
}

.site-footer p {
  margin: 0;
  line-height: normal;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}
