/* /today, "What should we do today?": the day's cards best first, ♥ to keep, Your picks. And the home page's way in. */

/* The way in, under the home page's subtitle: a gold pill the width of the column. */
.today-cta { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; margin-top: 14px; padding: 8px 22px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 19px/1.2 var(--serif); text-align: center; text-decoration: none;
  box-shadow: 0 2px 8px rgb(185 130 42 / .28); }
.today-cta:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.season-head .today-cta { max-width: 420px; }

/* The paper keeps its light greens in dark mode too. */
.today { max-width: 640px; --ok: #2f6b3a; }
/* One header for List and Swipe, kept short so a swipe card and its buttons fit a small phone: the day, "3 things on · ← Whole season", then the day chips with Swipe | List in one row. */
.today .shelf-nav { padding-bottom: 4px; }
.today-head { display: grid; gap: 2px; justify-items: start; margin: 4px 0 6px; }
.today-head h1 { margin: 0; font: 500 clamp(30px, 8.5vw, 40px)/1.08 var(--serif); }
.today-eyebrow { margin: 0 0 2px; font: 600 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.today-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0; }
.today-count { margin: 0; font: italic 18px/1.3 var(--serif); color: var(--muted); }
.today-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--muted); text-decoration: none; }
.today-sub .today-back { min-height: 36px; padding: 4px 0; margin: -4px 0; }
/* On a phone "← Whole season" always has its own line, so the serif landing can't move it between lines. */
@media (max-width: 480px) { .today-sub .today-back { flex-basis: 100%; } }
.today-back:hover { color: var(--ink); }

/* Today · Tomorrow · Sat · Sun, and Swipe | List at the end of the row; the days scroll sideways when they don't fit. */
.today-switch { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
@media (max-height: 620px) {
  .today-head { margin: 0 0 4px; }
  .today-head h1 { font-size: 27px; }
  .today-switch { margin-bottom: 10px; }
}
.today-days { display: flex; flex: 1 1 auto; min-width: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 1px 0; }
.today-days::-webkit-scrollbar { display: none; }
@media (max-width: 400px) {
  .today-days:has(.today-day:nth-child(2)) { -webkit-mask-image: linear-gradient(to left, transparent, #000 24px); mask-image: linear-gradient(to left, transparent, #000 24px); padding-right: 16px; }
}
.today-day { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; }
.today-day:hover { border-color: var(--accent); }
.today-day-count { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--sunk); font-size: 13px; text-align: center; }
.today-day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.today-day.on .today-day-count { background: rgb(255 255 255 / .25); }

/* A card: the kind's tint and icon up top with what makes the day special, then the facts. The title's link covers the card. */
.today-cards { display: grid; gap: 14px; }
.today-card { position: relative; display: grid; overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .07), 0 6px 18px rgb(0 0 0 / .04); }
.today-card:has(.today-card-title a:hover) { box-shadow: 0 0 0 2px var(--accent-soft), 0 6px 18px rgb(0 0 0 / .08); }
.today-card-art { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 64px 10px 16px; background: var(--tint); }
.today-card-icon .festive { display: block; width: 40px; height: 40px; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .14)); }
.today-card-icon span { font-size: 32px; }
.today-badge { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1.4 var(--sans); letter-spacing: .03em; }
.today-card-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.today-card-body p { margin: 0; }
.today-card-kicker { font: 600 12px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.today-card-title { margin: 0; font: 600 24px/1.15 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.today-card-title a { color: var(--ink); text-decoration: none; }
.today-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.today-card-title a:focus-visible { outline: none; }
.today-card:has(.today-card-title a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.today-card-place { font-size: 15px; color: var(--muted); }
.today-card-hours { font: 600 17px/1.3 var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.today-card-cost .chip.small { font-size: 14px; padding: 3px 11px; border-radius: 12px; }
.today-card-notes { font: 17px/1.35 var(--serif); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* A shared plan's cards: Website and Directions, above the title's cover link. */
.today-card-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.today-card-links a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }

/* ♥, over the card's corner; shown once picks_controller.js is on. */
.today button.today-keep { display: none; position: absolute; z-index: 1; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; place-items: center;
  border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: var(--muted); box-shadow: 0 1px 4px rgb(0 0 0 / .15); cursor: pointer; }
.picks-on button.today-keep { display: grid; }
.today-keep-heart { width: 22px; height: 22px; transition: transform .15s ease-out; }
.today button.today-keep[aria-pressed=true] .today-keep-heart { fill: currentColor; }
.today button.today-keep[aria-pressed=true] { background: #fff; color: #c8414b; }
.today button.today-keep[aria-pressed=true] .today-keep-heart { transform: scale(1.15); }
.today button.today-keep:hover { color: #c8414b; }
.today-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A thin day: the busiest other day. An empty one: that, and the season. */
.today-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 56px; margin-top: 14px; padding: 12px 18px;
  border: 1px dashed var(--accent); border-radius: 18px; color: var(--ink); font: 18px/1.3 var(--serif); text-decoration: none; }
.today-more strong { color: var(--accent-text); font-weight: 600; }
.today-more:hover { background: var(--accent-soft); }
.today-empty { display: grid; gap: 4px; justify-items: center; padding: 28px 18px; border-radius: 18px; background: var(--surface); text-align: center; }
.today-empty p { margin: 0; font: italic 20px/1.35 var(--serif); }
.today-own { margin: 20px 0 0; }

/* Your picks: a bar at the bottom once something's kept, opening the sheet. */
.today-page { padding-bottom: 8px; }
.today-page:has(.today-bar:not([hidden])) { padding-bottom: 76px; }
.today-bar { position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 60%, transparent); pointer-events: none; }
.today-bar[hidden] { display: none; }
.today button.today-bar-open { pointer-events: auto; width: min(100%, 420px); min-height: 48px; border-radius: 999px; border: 0; background: var(--ink); color: #fff;
  font: 600 18px var(--serif); box-shadow: 0 6px 20px rgb(0 0 0 / .22); }
body:has(.today-bar:not([hidden])) .toasts { bottom: calc(76px + env(safe-area-inset-bottom)); }

.picks-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pick-row { display: grid; grid-template-columns: 40px 1fr 44px; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pick-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); }
.pick-icon .festive { width: 26px; height: 26px; }
.pick-text { display: grid; gap: 2px; min-width: 0; }
.side-panel button.pick-title, .pick-title { all: unset; font: 600 18px/1.2 var(--serif); color: var(--ink); cursor: pointer; }
strong.pick-title { cursor: auto; }
.side-panel button.pick-title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pick-text small { font-size: 14px; color: var(--muted); }
.pick-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.pick-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.side-panel button.pick-drop { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 18px; }
.side-panel button.pick-drop:hover { color: var(--ink); border-color: var(--ink); }
.picks-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.picks-actions button { flex: 1 1 140px; min-height: 48px; border-radius: 999px; font-size: 16px; }
.picks-copy { display: grid; gap: 4px; margin-top: 4px; }
.picks-copy[hidden] { display: none; }
.picks-copy-row { display: flex; gap: 8px; }
.picks-copy-row input { flex: 1; min-height: 48px; font-size: 16px; }
.picks-copy-row button { flex: none; min-height: 48px; border-radius: 999px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .today-keep-heart { transition: none; }
  .today button.today-keep[aria-pressed=true] .today-keep-heart { transform: none; }
}
