/* One winter board, with the seven calendar tiles set into its upper section. */
.daily-mascot-sign, .daily-winter-top { display: contents; }
html[data-season="new-year"] #tasks-view .tasks-daily { gap: 8px; }
html[data-season="new-year"] #tasks-view .tasks-daily-panel {
  --daily-figure-width: clamp(116px, 33vw, 137px);
  position: relative;
  isolation: isolate;
  padding: 10px 12px 0;
  border: 0;
  border-radius: 14px;
  background: #1b3c34;
  color: #fffaf0;
  box-shadow: inset 0 1px 0 #b1c9bc, 0 2px 3px #142e3024;
}
html[data-season="new-year"] #tasks-view .daily-winter-top {
  display: flow-root;
  position: relative;
  isolation: isolate;
}
html[data-season="new-year"] #tasks-view .daily-winter-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -10px -12px -32px;
  border-radius: 14px 14px 0 0;
  background: url("./assets/new-year-2026/daily-winter-forest.webp") right bottom / cover no-repeat;
}
html[data-season="new-year"] #tasks-view .daily-winter-top > .daily-task:first-child {
  min-height: calc(var(--daily-figure-width) - 44px);
  padding-right: calc(var(--daily-figure-width) - 16px);
  margin-bottom: 7px;
}
html[data-season="new-year"] #tasks-view .tasks-daily-panel .daily-task-title { color: #fffcf2; }
html[data-season="new-year"] #app #tasks-view #tasks-list .tasks-daily-panel .daily-task-reward { color: #d1ded5; }
html[data-season="new-year"] #tasks-view .tasks-daily-panel .rule-info-trigger { color: #cad9d1; }
html[data-season="new-year"] #tasks-view .tasks-daily-panel .rule-info-trigger:focus-visible { outline-color: #ffe4ad; }

/* The painted sign is part of the figure. Only its live status is HTML. */
html[data-season="new-year"] #tasks-view .daily-mascot-sign {
  position: absolute;
  top: -42px;
  right: -2px;
  display: block;
  width: var(--daily-figure-width);
  aspect-ratio: 1;
  pointer-events: none;
}
html[data-season="new-year"] #tasks-view .daily-sign-mascot {
  position: absolute;
  inset: 0;
  background: url("./assets/new-year-2026/daily-market-guide.webp?v=ababed85ab") center / contain no-repeat;
  filter: drop-shadow(0 2px 1px #102b2e55);
}
html[data-season="new-year"] #app #tasks-view .daily-mascot-sign > .daily-sign-label {
  position: absolute;
  left: 22%;
  top: 27%;
  transform: translate(-50%, -50%) rotate(-10deg);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38%;
  min-width: 44px;
  max-width: none;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  color: #39291e !important;
  font: inherit;
  font-size: clamp(9px, 2.45vw, 10.5px);
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
html[data-season="new-year"] #app #tasks-view .daily-mascot-sign > .daily-sign-label::before { content: none; }
html[data-season="new-year"] #app #tasks-view .daily-mascot-sign > button { pointer-events: auto; }
html[data-season="new-year"] #app #tasks-view .daily-mascot-sign > button:disabled { opacity: .75; }
html[data-season="new-year"] #app #tasks-view .daily-mascot-sign > button:focus-visible { outline-color: #ffdfa2; }
html[data-season="new-year"] #tasks-view .daily-streak-day {
  border-color: #d2dad2;
  background: linear-gradient(#fffef6, #f1f2e8);
  color: #283f38;
  box-shadow: 0 2px 0 #0f322e50;
}
html[data-season="new-year"] #tasks-view .daily-streak-day.is-passed {
  border-bottom-color: #acc6b8;
  background: #dde9e1;
  color: #314c40;
}
html[data-season="new-year"] #tasks-view .daily-streak-day.is-current {
  border-color: #e7a38b;
  background: linear-gradient(155deg, #a93649, #832538);
  color: white;
}
html[data-season="new-year"] #tasks-view .pet-care-task {
  min-height: 59px;
  margin-top: 8px;
  padding: 7px 0 8px;
  border-top: 1px solid #e5efdb40;
  color: #fff9ea;
}
html[data-season="new-year"] #tasks-view .pet-care-task .task-game-arrow { color: #d4e2d6; }
html[data-season="new-year"] #tasks-view .pet-care-task .task-care-rewards { color: #fff9ea; }

/* The birch lower section follows the width of the daily panel above it. */
.daily-winter-base { display: contents; }

html[data-season="new-year"] #tasks-view .daily-winter-base {
  display: flow-root;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 46px;
  margin: 4px -12px 0;
  padding: 8px 12px 5px;
  border-top: 24px solid transparent;
  border-radius: 0 0 14px 14px;
  background: #f4e5ca url("./assets/new-year-2026/maple-grain.svg") center top / 100% 112px repeat-y;
  background-clip: padding-box;
  box-shadow: inset 0 -1px 0 #bda784, inset 0 -3px 0 #e4cfac;
}
html[data-season="new-year"] #tasks-view .daily-winter-base::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -24px 0 auto;
  height: 40px;
  background: url("./assets/new-year-2026/maple-lights.svg") center top / 100% 40px no-repeat;
}
html[data-season="new-year"] #tasks-view .tasks-daily-panel .daily-winter-base #subscription-tasks-host {
  margin: 0;
  padding: 0;
  border: 0;
}
html[data-season="new-year"] #tasks-view #subscription-tasks-host:empty { display: none; }

html[data-season="new-year"] #tasks-view #subscription-tasks-host .subscription-row {
  border-bottom-color: #856c4433;
}
html[data-season="new-year"] #tasks-view #subscription-tasks-host :is(.subscription-reward, .subscription-task-empty) {
  color: #635542;
}
html[data-season="new-year"] #tasks-view .daily-winter-base:has(:is(#subscription-tasks-host:empty, .subscription-task-empty))::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto 0 2px;
  height: 21px;
  border-radius: 0 0 14px 14px;
  background: url("./assets/new-year-2026/panel-fir.svg") center bottom / 100% 21px no-repeat;
}
html[data-season="new-year"] #tasks-view .tasks-daily-panel #subscription-tasks-host:has(.subscription-task-empty),
html[data-season="new-year"] #tasks-view #subscription-tasks-host[data-slots] .subscription-task-empty {
  min-height: 40px;
}
html[data-season="new-year"] #tasks-view #subscription-tasks-host .subscription-task-empty {
  display: flex;
  align-items: center;
  margin: 0;
  padding-bottom: 4px;
}
