/** Shopify CDN: Minification failed

Line 132:0 Unexpected "<"

**/
/*
  Carnivoro Cow Sim — section styles
  --
  Designed to integrate cleanly with any modern Shopify theme.
  Inherits theme fonts where available; only the canvas itself uses a fixed
  brand palette since the game is rendered by JavaScript.
*/

.carnivoro-game-section {
  /* These come from the section settings via inline style. Fall back to safe defaults. */
  --cg-section-bg: #242329;
  --cg-max-width: 720px;
  --cg-padding-top: 60px;
  --cg-padding-bottom: 60px;

  background: var(--cg-section-bg, transparent);
  padding-top: var(--cg-padding-top);
  padding-bottom: var(--cg-padding-bottom);
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* When the section is wrapped in a theme's color scheme class (e.g. color-background-1),
   the theme's CSS variables for --color-foreground and --color-background take over.
   We respect those by letting the section background be transparent or theme-coded. */
.carnivoro-game-section.color-scheme-1,
.carnivoro-game-section.color-scheme-2,
.carnivoro-game-section.color-scheme-3,
.carnivoro-game-section.color-scheme-4,
.carnivoro-game-section.color-scheme-5 {
  background: rgb(var(--color-background, 36, 35, 41));
  color: rgb(var(--color-foreground, 246, 216, 180));
}

.carnivoro-game-inner {
  max-width: var(--cg-max-width);
  margin: 0 auto;
}

#cg-wrap {
  margin: 0 auto;
  text-align: center;
  color: inherit;
  /* Use the theme's heading font when available, fall back to system. */
  font-family: var(--font-body-family, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif);
}

#cg-wrap .cg-heading {
  /* Inherits color from the section so it adapts to the chosen color scheme. */
  color: inherit;
  font-family: var(--font-heading-family, inherit);
  font-weight: var(--font-heading-weight, 800);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
  text-transform: uppercase;
}

#cg-wrap .cg-subheading {
  /* Gold accent — falls back to a subtle muted variant if the theme uses one. */
  color: rgb(var(--color-accent, 201, 161, 114));
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 700;
  opacity: 0.9;
}

#cg-wrap .cg-intro {
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
  opacity: 0.9;
  color: inherit;
}

#cg-wrap .cg-intro p:last-child {
  margin-bottom: 0;
}

#cg-wrap .cg-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 440 / 620;
}

#cg-wrap #cg-canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: #242329;
  border-radius: 6px;
  /* Gold-accent rim + soft drop shadow that works on light AND dark backgrounds. */
  box-shadow:
    0 0 0 3px rgb(var(--color-accent, 201, 161, 114)),
    0 24px 60px rgba(0, 0, 0, 0.5);
  touch-action: none;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#cg-wrap #cg-canvas:focus {
  box-shadow:
    0 0 0 3px rgb(var(--color-foreground, 246, 216, 180)),
    0 24px 60px rgba(0, 0, 0, 0.5);
}

/* Tighter spacing on narrow viewports */
@media (max-width: 600px) {
  .carnivoro-game-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  #cg-wrap .cg-intro {
    margin-bottom: 18px;
  }
}
</content>
