/* [slice: season] styles for src/ui/season.js: the RING UP button's moods, the receipt, the [?] chooser, the Stand and
   Route 46 sheets, the morning and evening cards. Built on base.css tokens; selectors scoped under .season-. */

/* ------------------------------------------------------------------ the thumb button */
.fab.season-ready { animation: season-ready 1.1s ease-in-out infinite; }
@keyframes season-ready { 50% { box-shadow: 0 3px 0 var(--pumpkin-dark), 0 0 0 9px rgba(217, 120, 45, 0.18), 0 10px 22px rgba(217, 120, 45, 0.42); } }
.fab.season-rush { background: linear-gradient(160deg, #f0a24a, var(--pumpkin) 60%); animation: season-rush 0.5s ease-in-out infinite; }
@keyframes season-rush { 50% { transform: scale(1.06) rotate(-2deg); } }
.fab.season-urgent { animation: pulse 1.1s ease-in-out infinite; }
.fab .badge { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the receipt (stamps in at the top right, under the
   weekend row, next to the cash it rolls into; the bottom of the screen belongs to toasts and the thumb button) */
.season-receipt {
  position: absolute; right: calc(var(--sr) + 6px); top: calc(var(--top-h) + var(--nextup-h, 40px) + 54px + var(--stack, 0) * 10px);
  width: 176px; padding: 9px 12px 8px; border-radius: 14px; pointer-events: none;
  background: #fffdf7; color: var(--ink-strong); box-shadow: 0 10px 26px rgba(52, 64, 60, 0.24); border: 1px solid var(--line);
  font-size: var(--fs-s); transform-origin: 100% 0; animation: season-receipt-in 0.32s var(--spring);
  background-image: repeating-linear-gradient(180deg, transparent 0 21px, rgba(220, 214, 200, 0.45) 21px 22px);
  opacity: calc(1 - var(--stack, 0) * 0.28);
}
.season-receipt.out { opacity: 0; transform: translateY(-10px) scale(0.94); transition: opacity 0.3s, transform 0.3s; }
.season-receipt .rhead { font-size: var(--fs-xs); font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.season-receipt .ritem { display: flex; align-items: center; gap: 7px; font-weight: 700; animation: season-stamp 0.28s var(--spring) both; }
.season-receipt .rrush { margin-top: 3px; color: var(--pumpkin-dark); font-weight: 900; font-size: var(--fs-xs); letter-spacing: 0.04em; animation: season-stamp 0.3s 0.25s var(--spring) both; }
.season-receipt .rtotal { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; padding-top: 4px; border-top: 2px dashed var(--line); }
.season-receipt .rtotal b { font-family: Fraunces, Georgia, serif; font-size: var(--fs-l); color: var(--good); }
@keyframes season-receipt-in { from { opacity: 0; transform: translateY(-14px) scale(0.85) rotate(2deg); } }
@keyframes season-stamp { from { opacity: 0; transform: scale(1.5); } }

/* ------------------------------------------------------------------ pins: the [?] carries the colour of what they want */
.season-pin .season-askdot { position: absolute; right: 4px; bottom: 5px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------------ the [?] chooser */
.season-ask {
  position: absolute; left: 0; top: 0; width: min(240px, calc(100vw - 16px)); padding: 10px; display: grid; gap: 6px; z-index: 3;
  animation: pop 0.3s var(--spring); will-change: transform;
}
.season-ask .ahead { display: flex; align-items: center; gap: 8px; font-size: var(--fs-m); color: var(--ink-strong); padding: 0 2px 2px; }
.season-ask .btn { min-height: 48px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 4px 12px; text-align: left; display: flex; }
.season-ask .btn > span:first-child { display: flex; align-items: center; gap: 6px; }
.season-ask .btn .ico { width: 18px; height: 18px; }
.season-ask .btn:disabled { opacity: 0.55; }
.season-ask .btn.primary .sub { color: rgba(255, 255, 255, 0.9); }
.season-ask .btn .sub { font-size: var(--fs-xs); font-weight: 600; }
.season-ask .small { font-size: var(--fs-s); padding: 2px; }

/* ------------------------------------------------------------------ sheets */
.season-sheet .st-line { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-s); color: var(--ink); line-height: 1.35; }
.season-sheet .st-line .ico { flex: none; width: 18px; height: 18px; color: var(--pumpkin-dark); margin-top: 1px; }
.season-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 2px 0 4px; }
.season-stat { display: flex; flex-direction: column; align-items: center; padding: 8px 2px 6px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); min-width: 0; }
.season-stat b { font-family: Fraunces, Georgia, serif; font-size: var(--fs-xl); color: var(--ink-strong); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.season-stat span { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  text-align: center; line-height: 1.15; text-wrap: balance; max-width: 100%; }   /* 'TURNED AWAY' wraps rather than spill out */
.season-stat.bad b { color: var(--bad); } .season-stat.warn b { color: var(--warn); } .season-stat.good b { color: var(--good); }
.season-review { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: var(--fs-s); line-height: 1.35; }
.season-review .stars, .season-line .stars { color: var(--pumpkin); letter-spacing: 1px; font-size: var(--fs-s); }
.season-review .who { font-weight: 900; text-transform: capitalize; color: var(--ink-strong); }
.season-meter { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.season-meter .bar { height: 12px; border-radius: 6px; background: var(--chip); overflow: hidden; }
.season-meter .bar i { display: block; height: 100%; border-radius: 6px; background: var(--good); transition: width 0.4s var(--ease); }
.season-meter.warn .bar i { background: var(--warn); } .season-meter.bad .bar i { background: var(--bad); }
.season-meter .lbl { display: flex; justify-content: space-between; font-size: var(--fs-s); }
.season-meter .lbl span { color: var(--muted); font-weight: 700; }
.season-sheet .row-item .btn.small, .season-card .btn.small { min-height: 44px; min-width: 104px; flex-direction: column; gap: 0; padding: 4px 10px; }

/* ------------------------------------------------------------------ morning and evening cards */
.season-card .season-tiers { width: 100%; }
.season-card .season-tiers button { flex: 1; min-height: 52px; flex-direction: column; gap: 1px; display: flex; align-items: center; justify-content: center; }
.season-card .season-tiers button small { font-size: 10.5px; font-weight: 700; color: var(--muted); line-height: 1.15; text-align: center; }
.season-card .row-item { min-height: 52px; }
.season-card .section { margin-top: 10px; }
.season-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.season-chips .chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; }
.season-line { margin-top: 8px; font-size: var(--fs-m); color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.season-line .ico { width: 18px; height: 18px; color: var(--pumpkin-dark); }
.season-line.muted { color: var(--muted); font-size: var(--fs-s); }
.season-best { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--pumpkin-soft); font-family: Fraunces, Georgia, serif; font-size: var(--fs-l); color: var(--ink-strong); line-height: 1.3; }
.season-best .eyebrow { font-family: 'Nunito Sans', system-ui, sans-serif; margin-bottom: 2px; color: var(--pumpkin-dark); }
.season-evening .season-stats { margin-top: 8px; }

/* ------------------------------------------------------------------ the review ticker (a toast in a reviewer's voice) */
.toast.season-review-toast { background: var(--card-strong); color: var(--ink-strong); border: 1px solid var(--line); font-weight: 600; }
.toast.season-review-toast .ico { color: var(--pumpkin); }
.toast.season-review-toast.good { border-color: rgba(93, 138, 105, 0.5); }
.toast.season-review-toast.bad { border-color: rgba(181, 84, 63, 0.5); }

/* ------------------------------------------------------------------ the weekend row's reputation trend (hud.js) */
.wk .trend { margin-left: 2px; font-weight: 900; }
.wk .trend.up { color: var(--good); }
.wk .trend.down { color: var(--bad); }
