/* V48: Thanksgiving paper and cooking actions; blue navigation and shopping. */
@media screen {
  body[data-edition="thanksgiving"] {
    --canvas: #faeadb;
    --reader-canvas-rgb: 250 234 219;
    --welcome-cloth: #fff1e0;
    --welcome-check: rgb(220 125 50 / .22);
    --reader-cook: #a94d24;
    --reader-cook-dark: #823918;
    --reader-cook-wash: #fff1e6;
    --reader-saved: #b83a52;
    background: var(--canvas);
  }
  body[data-edition="thanksgiving"]:has(.shopping-page) {
    --canvas: #edf5fb;
    --reader-canvas-rgb: 237 245 251;
    background: var(--canvas);
  }
  body[data-edition="thanksgiving"] .recipe-card { background: #fff; }
  body[data-edition="thanksgiving"] .welcome-copy {
    background: #fff;
    box-shadow: 0 14px 28px -17px rgb(135 75 37 / .48);
  }

  body[data-edition="thanksgiving"] .menu-button {
    background: var(--reader-cook-wash);
    color: var(--reader-cook);
  }
  body[data-edition="thanksgiving"] .menu-button:hover { background: #f8dfcc; }
  body[data-edition="thanksgiving"] .button[data-action="menu-toggle"] {
    background: #fff;
    border-color: #dfb99f;
    color: var(--reader-cook);
  }
  body[data-edition="thanksgiving"] .button[data-action="menu-toggle"]:hover { background: var(--reader-cook-wash); }
  body[data-edition="thanksgiving"] .menu-button[aria-pressed="true"],
  body[data-edition="thanksgiving"] .button[data-action="menu-toggle"][aria-pressed="true"],
  body[data-edition="thanksgiving"] .welcome-actions .button.primary,
  body[data-edition="thanksgiving"] .menu-page .button.primary,
  body[data-edition="thanksgiving"] .prep-page .button.primary {
    background: var(--reader-cook);
    border-color: var(--reader-cook);
    color: #fff;
  }
  body[data-edition="thanksgiving"] .menu-button[aria-pressed="true"]:hover,
  body[data-edition="thanksgiving"] .button[data-action="menu-toggle"][aria-pressed="true"]:hover,
  body[data-edition="thanksgiving"] .welcome-actions .button.primary:hover,
  body[data-edition="thanksgiving"] .menu-page .button.primary:hover,
  body[data-edition="thanksgiving"] .prep-page .button.primary:hover {
    background: var(--reader-cook-dark);
    border-color: var(--reader-cook-dark);
  }
  body[data-edition="thanksgiving"] .menu-page .button.outline {
    background: #fff;
    border-color: #dfb99f;
    color: var(--reader-cook);
  }
  body[data-edition="thanksgiving"] .menu-page .button.outline:hover { background: var(--reader-cook-wash); }

  body[data-edition="thanksgiving"] .category-picker select {
    appearance: none;
    background: var(--reader-cook) !important;
    border-color: var(--reader-cook) !important;
    color: #fff !important;
    font-weight: 700;
    padding-right: 40px;
  }
  body[data-edition="thanksgiving"] .category-picker select:hover { background: var(--reader-cook-dark) !important; }
  body[data-edition="thanksgiving"] .category-picker select option { background: #fff; color: #283f52; }
  body[data-edition="thanksgiving"] .category-picker > svg { display: block; color: #fff !important; }
  body[data-edition="thanksgiving"] .category-tabs { background: #fff4e9; }
  body[data-edition="thanksgiving"] .category-tabs button[aria-pressed="true"] { background: var(--reader-cook); color: #fff; }
  body[data-edition="thanksgiving"] .category-tabs button[aria-pressed="true"] small { background: #fff; color: var(--reader-cook); }

  body[data-edition="thanksgiving"] :is(.favorite-button, .favorite-inline, .favorite-filter) { color: #596771; }
  body[data-edition="thanksgiving"] :is(.favorite-button, .favorite-inline, .favorite-filter)[aria-pressed="true"] { color: var(--reader-saved); }
  body[data-edition="thanksgiving"] .favorite-button[aria-pressed="true"] {
    background: #fff0f2 !important;
    border-color: #efd0d7 !important;
  }
  body[data-edition="thanksgiving"] :is(.favorite-button, .favorite-inline, .favorite-filter)[aria-pressed="true"] svg {
    fill: var(--reader-saved);
    stroke: var(--reader-saved);
  }
  body[data-edition="thanksgiving"] .favorite-filter[aria-pressed="true"] { background: #fff0f3; }
  body[data-edition="thanksgiving"] .favorite-filter:hover:not([aria-pressed="true"]) { background: #fff; color: #596771; }

  body[data-edition="thanksgiving"] .preview-cutoff { background: var(--canvas); }
  body[data-edition="thanksgiving"] .preview-cutoff::before {
    background: linear-gradient(to top, var(--canvas) 4%, rgb(var(--reader-canvas-rgb) / .92) 22%, rgb(var(--reader-canvas-rgb) / 0));
  }
  body[data-edition="thanksgiving"]:has(.preview-cutoff)::after {
    background: linear-gradient(to top, var(--canvas), rgb(var(--reader-canvas-rgb) / 0));
  }

  @media (max-width: 700px) {
    body[data-edition="thanksgiving"] .edition-welcome-inner {
      background: #fff;
      box-shadow: 0 14px 28px -17px rgb(135 75 37 / .48);
    }
    body[data-edition="thanksgiving"] .welcome-copy { box-shadow: none; }
  }
}
