/* dates.css: The date strip under the header. */
.dates { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; height: 70px; padding: 2px 16px 12px; scrollbar-width: none;
  max-width: 1400px; margin: 0 auto; }
.dates::-webkit-scrollbar { display: none; }
/* The strip scrolls sideways: fade whichever edge has more dates beyond it, and put a small arrow on the right,
   so on a phone it's clear there is more than this week. */
.dates-wrap { position: relative; }
.dates.more-r { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.dates.more-l.more-r { -webkit-mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.dates.more-l:not(.more-r) { -webkit-mask: linear-gradient(90deg, transparent, #000 40px); mask: linear-gradient(90deg, transparent, #000 40px); }
.dates-next { position: absolute; right: 6px; top: 16px; width: 30px; height: 30px; display: none; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.dates-next svg { width: 15px; height: 15px; rotate: -90deg; }
.dates-wrap:has(.dates.more-r) .dates-next { display: grid; }
@media (hover: hover) { .dates-next:hover { background: var(--surface-2); } }
.chip { flex: none; display: grid; justify-items: center; align-content: center; height: 56px; min-width: 46px; padding: 4px 6px;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
  border: 1px solid transparent; border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"]:hover { opacity: .9; }
.chip .m { font-family: var(--font-ja); font-size: 10px; color: var(--muted); line-height: 1; letter-spacing: .06em; }
.chip .d { font-size: 17px; font-weight: 600; line-height: 1.15; }
.chip .w { font-family: var(--font-ja); font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.chip.sat .w { color: var(--sat); } .chip.sun .w { color: var(--ng); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .w, .chip[aria-pressed="true"] .m { color: inherit; opacity: .7; }
.chip .dot { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

