:root {
  --wood-dark-1: #6b3620;
  --wood-dark-2: #431f11;
  --wood-light-1: #f0d8a0;
  --wood-light-2: #dcaf65;
  --parchment: #f6efdd;
  --parchment-line: #e5d6ae;
  --rust: #c1502e;
  --rust-dark: #8a3418;
  --rust-light: #e8935a;
  --cream: #fff8ec;
  --ink: #3a2a1c;
  --muted: #8a7860;
  --line: #dcc691;
  --card-bg: #fffaf0;
  --danger: #b91c1c;
  --select: #2f7bb0;
  --match: #f2b53a;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  margin: 0;
  background-color: var(--wood-light-2);
  background-image:
    repeating-linear-gradient(98deg, rgba(120,72,32,0.07) 0px, rgba(120,72,32,0.07) 2px, transparent 2px, transparent 7px),
    repeating-linear-gradient(98deg, rgba(255,240,205,0.18) 0px, rgba(255,240,205,0.18) 1px, transparent 1px, transparent 16px),
    linear-gradient(165deg, var(--wood-light-1), var(--wood-light-2) 55%, #c99a52);
  background-attachment: fixed;
}

h1, h2, h3, .brand, .btn, .dims {
  font-family: "Baloo 2", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: var(--rust-dark); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background-color: var(--wood-dark-2);
  background-image:
    repeating-linear-gradient(95deg, rgba(0,0,0,0.16) 0px, rgba(0,0,0,0.16) 2px, transparent 2px, transparent 8px),
    linear-gradient(180deg, var(--wood-dark-1), var(--wood-dark-2));
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

.site-header .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header .brand img {
  height: 40px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.site-header nav {
  display: flex;
  gap: 22px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover { color: var(--rust-light); border-bottom-color: var(--rust-light); }

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero {
  text-align: center;
  padding: 24px 0 40px;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 12px;
  color: var(--wood-dark-2);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.hero p {
  color: var(--ink);
  opacity: 0.85;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

/* Landing-page hero: copy on one side, a live mini game board on the other. */
.hero.hero-split {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  text-align: left;
  flex-wrap: wrap;
  padding: 36px 0 44px;
}

.hero-copy {
  flex: 1 1 340px;
  max-width: 420px;
  padding-top: 20px;
  position: relative;
  animation: heroFadeUp 0.6s ease both;
}

.hero-copy h1 { text-align: left; }
.hero-copy p { text-align: left; margin: 0 0 22px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hero-demo {
  flex: 1 1 300px;
  max-width: 440px;
  display: flex;
  justify-content: center;
  position: relative;
  animation: heroFadeUp 0.6s 0.12s ease both;
}

/* Uses `top` on a `position: relative` element rather than `transform` for
   the slide-up, because `transform` (even a no-op one held by the animation's
   `both` fill mode) makes this element a new containing block for any
   `position: fixed` descendant - which breaks dragging a piece out of the
   tray here, since the engine positions the dragged piece with `fixed`. */
@keyframes heroFadeUp {
  from { opacity: 0; top: 14px; }
  to { opacity: 1; top: 0; }
}

.demo-frame {
  position: relative;
  width: 100%;
  background-color: var(--wood-light-1);
  background-image:
    repeating-linear-gradient(100deg, rgba(120,72,32,0.06) 0px, rgba(120,72,32,0.06) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, var(--wood-light-1), var(--wood-light-2));
  border: 3px solid var(--wood-dark-1);
  border-radius: 12px;
  padding: 34px 16px 16px;
  box-shadow: 0 10px 26px rgba(67,31,17,0.4);
}

.demo-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--rust);
  background-image: linear-gradient(160deg, var(--rust-light), var(--rust) 60%, var(--rust-dark));
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Display-only: this preview never advances past the assembly stage, so
   nothing here should look or act clickable. */
.demo-play-area {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  pointer-events: none;
}

/* Prevents the board (a fixed size*cell px box set inline by the engine)
   from being squeezed narrower by the flex row when space is tight - which
   previously left its absolutely-positioned cells overflowing past its own
   shrunk border instead of lining up with it. */
.demo-play-area #board { flex-shrink: 0; }

.demo-play-area #tray {
  width: auto;
  min-width: 110px;
  flex-shrink: 0;
  gap: 10px;
  padding: 10px;
}

.demo-play-area #tray h3 { font-size: 12px; }

.demo-fallback {
  margin: 0;
  padding: 30px 10px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.demo-fallback a { color: var(--rust-dark); font-weight: 700; }

@media (max-width: 760px) {
  .hero.hero-split { text-align: center; }
  .hero-copy h1, .hero-copy p { text-align: center; }
  .hero-actions { justify-content: center; }
  /* Not enough width for board + tray side by side once the demo shrinks to
     fit a narrow screen - fall back to the original stacked layout. */
  .demo-play-area { flex-wrap: wrap; }
}

.btn {
  display: inline-block;
  background-color: var(--rust);
  background-image: linear-gradient(160deg, var(--rust-light), var(--rust) 55%, var(--rust-dark));
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  padding: 13px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.45), inset 0 -3px 5px rgba(0,0,0,0.25), 0 3px 6px rgba(0,0,0,0.25);
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.btn:hover { filter: brightness(1.06); }
.btn:active { box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }

.btn.secondary {
  background: var(--parchment);
  background-image: none;
  color: var(--ink);
  border: 2px solid var(--wood-dark-1);
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

section.block {
  margin: 48px 0;
}

section.block h2 {
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--wood-dark-2);
  border-bottom: 3px solid var(--rust);
  display: inline-block;
  padding-bottom: 6px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.rules-grid .rule-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(67,31,17,0.12);
}

.rules-grid .rule-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--rust-dark);
}

.rules-grid .rule-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Small hand-built diagrams on the "how to play" cards - reuse the game's
   own color language so they read as "the actual game" rather than generic
   stock icons. Pure CSS/HTML, no image assets. */
.diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 15px);
  grid-auto-rows: 15px;
  gap: 2px;
}

.mini-grid-single { grid-template-columns: 34px; grid-auto-rows: 34px; }
.mini-grid-4 { grid-template-columns: repeat(4, 17px); grid-auto-rows: 17px; }

.mc {
  position: relative;
  background: var(--parchment);
  border: 1px solid var(--parchment-line);
  border-radius: 2px;
}

.mc.filled { border-radius: 3px; border-color: rgba(58,42,28,0.3); }
.mc.filled.hue-a { background: hsl(14, 55%, 78%); }
.mc.filled.hue-b { background: hsl(150, 40%, 74%); }

.mc.target {
  background: transparent;
  border: 1px dashed var(--rust);
  opacity: 0.7;
}

.diagram-arrow {
  font-size: 18px;
  color: var(--rust-dark);
  font-weight: 800;
}

.mini-piece {
  width: 15px;
  height: 32px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(67,31,17,0.25);
}

.mini-piece.hue-c { background: hsl(200, 55%, 74%); }

/* Rule 2: a single cell whose digit visibly cycles, showing what "tap to
   change the number" looks like without needing a screen recording. */
.mc.editable {
  border-radius: 6px;
  background-image: linear-gradient(160deg, var(--rust-light), var(--rust) 60%, var(--rust-dark));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), inset 0 -2px 3px rgba(0,0,0,0.2);
}

.cycle-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 16px;
  opacity: 0;
  animation: cycleNum 4s infinite;
}

.cycle-num.n1 { animation-delay: 0s; }
.cycle-num.n2 { animation-delay: -3s; }
.cycle-num.n3 { animation-delay: -2s; }
.cycle-num.n4 { animation-delay: -1s; }

@keyframes cycleNum {
  0%, 24% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

.diagram-caption {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

/* Rule 3: a mini solved grid with the row/column/piece each individually
   traced, since that's the exact shape of the "one of each" rule. */
.mini-grid-4 .mc.num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--wood-dark-2);
  border-radius: 2px;
}

.mini-grid-4 .mc.hl-row { background-image: linear-gradient(rgba(193,80,46,0.3), rgba(193,80,46,0.3)); }
.mini-grid-4 .mc.hl-col { background-image: linear-gradient(rgba(47,123,176,0.3), rgba(47,123,176,0.3)); }
.mini-grid-4 .mc.hl-row.hl-col {
  background-image: linear-gradient(rgba(193,80,46,0.3), rgba(193,80,46,0.3)), linear-gradient(rgba(47,123,176,0.3), rgba(47,123,176,0.3));
}
.mini-grid-4 .mc.hl-piece { box-shadow: inset 0 0 0 2px #4a9d5f; }

.diagram-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-row { background: #c1502e; }
.dot-col { background: #2f7bb0; }
.dot-piece { background: #4a9d5f; }

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.size-card {
  background: var(--card-bg);
  border: 2px solid var(--wood-dark-1);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.08s ease;
  box-shadow: 0 2px 6px rgba(67,31,17,0.15);
}

.size-card:hover { transform: translateY(-2px); }

.size-card.selected {
  background-image: linear-gradient(160deg, var(--rust-light), var(--rust) 60%, var(--rust-dark));
  color: var(--cream);
  border-color: var(--rust-dark);
}

.size-card .plaque {
  width: 100%;
  max-width: 140px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 3px 8px rgba(67,31,17,0.3);
}

.size-card .dims {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.size-card .difficulty {
  font-size: 13px;
  color: var(--muted);
}

.size-card.selected .difficulty { color: var(--cream); opacity: 0.9; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
  max-width: 900px;
}

.book-card {
  background: var(--card-bg);
  border: 2px solid var(--wood-dark-1);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(67,31,17,0.15);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.book-cover {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(67,31,17,0.35);
  align-self: flex-start;
}

.book-card-body { flex: 1 1 260px; min-width: 0; }

.book-card h3 { margin: 0 0 4px; color: var(--wood-dark-2); }

.book-author {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.book-card p { margin: 0 0 18px; line-height: 1.5; }

.date-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink);
}

.date-bar input[type="date"] {
  font-size: 14px;
  padding: 6px 8px;
  border: 1px solid var(--wood-dark-1);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
}

.game-area {
  display: none;
  margin-top: 32px;
}

.game-area.active { display: block; }

.game-layout {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

#board {
  position: relative;
  /* The engine sizes this element to exactly size*cell px for the absolutely
     positioned cell grid to fill. Override the global border-box so that's
     the content area, not shrunk by the border - otherwise the cell grid
     overflows past the border on the right/bottom (top/left still look fine
     since cells start flush with the padding edge). */
  box-sizing: content-box;
  background-color: var(--parchment);
  border: 3px solid var(--wood-dark-1);
  border-radius: 6px;
  background-image:
    linear-gradient(to right, var(--parchment-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--parchment-line) 1px, transparent 1px);
  box-shadow: 0 4px 14px rgba(67,31,17,0.35);
  touch-action: none;
}

.cell {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(67,31,17,0.12);
}

.cell.empty-bg { cursor: default; background: var(--parchment); border-color: var(--parchment-line); }
.cell.given { cursor: default; }
.cell.selected { outline: 3px solid var(--select); outline-offset: -3px; z-index: 6; }
.cell.conflict { outline: 3px solid var(--danger); outline-offset: -3px; z-index: 7; }

/* Piece-covered cells get a warm beveled "wood tile" feel; the inline
   background-color set by the engine (per-piece hue) shows through. */
.cell:not(.empty-bg) {
  box-shadow: inset 0 2px 2px rgba(255,255,255,0.5), inset 0 -3px 4px rgba(0,0,0,0.15);
}

.num-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76%;
  height: 76%;
  border-radius: 22%;
  background-image: linear-gradient(160deg, var(--rust-light), var(--rust) 60%, var(--rust-dark));
  color: var(--cream);
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.45), inset 0 -2px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 800;
}

/* Matching-number highlight rings just the chip, so the piece's own
   background color (which marks its shape/boundaries) stays untouched. */
.cell.value-match .num-chip::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  box-shadow: 0 0 0 3px var(--match), 0 0 7px 2px var(--match);
  pointer-events: none;
}

.cell.given .num-chip {
  background-image: linear-gradient(160deg, #8a4a30, var(--wood-dark-1) 65%, var(--wood-dark-2));
}

.cell.conflict .num-chip {
  background-image: linear-gradient(160deg, #e26a5a, var(--danger) 65%, #7a1414);
}

.remove-btn {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-image: linear-gradient(160deg, var(--wood-dark-1), var(--wood-dark-2));
  color: var(--cream);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

#tray {
  width: 250px;
  min-height: 250px;
  background-color: var(--wood-light-1);
  background-image:
    repeating-linear-gradient(100deg, rgba(120,72,32,0.06) 0px, rgba(120,72,32,0.06) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, var(--wood-light-1), var(--wood-light-2));
  border: 3px solid var(--wood-dark-1);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(67,31,17,0.35);
}

#tray h3 { margin: 0; font-size: 14px; color: var(--wood-dark-2); align-self: flex-start; }

.piece-wrap { position: relative; touch-action: none; cursor: pointer; }
.piece-wrap .cell { border: 1px solid rgba(67,31,17,0.3); }

.number-pad {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px auto 0;
  padding: 22px 20px 8px;
  max-width: 640px;
  background-color: var(--wood-light-1);
  background-image:
    repeating-linear-gradient(100deg, rgba(120,72,32,0.06) 0px, rgba(120,72,32,0.06) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, var(--wood-light-1), var(--wood-light-2));
  border: 3px solid var(--wood-dark-1);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(67,31,17,0.35);
}

.pad-chip {
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  font-size: 20px;
  font-family: "Baloo 2", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.pad-chip:nth-child(even) { margin-top: 26px; }

.pad-chip:hover:not(.disabled) { filter: brightness(1.08); }
.pad-chip:active:not(.disabled) { transform: translateY(1px); }

/* All instances of this value are on the board - mark it done. */
.pad-chip.complete {
  color: var(--wood-dark-2);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.pad-chip.active {
  outline: 3px solid var(--select);
  outline-offset: 2px;
}

.pad-chip.disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.status { font-size: 14px; font-weight: 700; margin-top: 16px; min-height: 20px; text-align: center; color: var(--wood-dark-2); }
.error-msg { color: var(--danger); font-weight: 600; text-align: center; margin-top: 16px; }
.puzzle-meta { font-size: 13px; color: var(--ink); opacity: 0.8; text-align: center; margin-bottom: 8px; }

.game-toolbar {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px auto 0;
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 18px;
}

.toolbar-btn:disabled {
  opacity: 0.45;
  cursor: default;
  filter: none;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
  font-size: 12px;
  font-weight: 800;
}

.btn.secondary .check-badge, .btn.secondary .ad-tag { background: rgba(58,42,28,0.14); }

.ad-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.3);
  padding: 3px 7px;
  border-radius: 5px;
}

/* Numbers "check numbers" rejects fall away rather than just vanishing. */
.num-chip.chip-fall {
  transition: transform 0.65s cubic-bezier(.5,-0.2,1,1), opacity 0.5s ease-in 0.15s;
  transform: translate(var(--fall-x, 0), 420px) rotate(var(--fall-rot, 140deg));
  opacity: 0;
  pointer-events: none;
}

/* Placeholder rewarded-ad modal (Online Game/js/ads.js). Deliberately plain
   and neutral so it reads as third-party ad content rather than site chrome -
   swap watchRewardedAd()'s internals for a real ad SDK later without
   touching any caller. */
.ad-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,16,12,0.72);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.ad-modal {
  position: relative;
  width: min(340px, 90vw);
  background: #efefef;
  color: #222;
  border-radius: 10px;
  padding: 30px 22px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.ad-modal-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #888;
}

.ad-modal-placeholder {
  margin: 6px 0 20px;
  font-size: 14px;
  color: #555;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-modal-bar {
  height: 6px;
  border-radius: 999px;
  background: #ddd;
  overflow: hidden;
  margin-bottom: 8px;
}

.ad-modal-bar-fill {
  height: 100%;
  width: 0%;
  background: #4a90d9;
}

.ad-modal-countdown {
  font-size: 13px;
  color: #777;
}

.ad-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #e2e2e2;
  color: #444;
  font-size: 16px;
  line-height: 26px;
  cursor: pointer;
}

.ad-modal-close:hover { background: #d2d2d2; }

.site-footer {
  text-align: center;
  padding: 22px;
  color: var(--cream);
  font-size: 13px;
  background-color: var(--wood-dark-2);
  background-image: linear-gradient(180deg, var(--wood-dark-1), var(--wood-dark-2));
}
