/* Best-day strip, the tee sheet grid, and the time chips in the tee-time sheet. */
.best{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.bday{background:var(--surface);border:0;border-radius:var(--radius);padding:12px;display:flex;flex-direction:column;gap:3px;text-align:left;min-height:116px;transition:transform .12s}
.bday:active{transform:scale(.97)}
.bday .d{font-size:13px;font-weight:600;color:var(--muted)}
.bday .nm{font-size:17px;font-weight:600;line-height:1.2;color:var(--ink)}
.bday .p{font-size:22px;color:var(--accent);font-weight:600}
.bday .c{font-size:12px;color:var(--muted);line-height:1.35;margin-top:auto}
.bday.none .p{color:var(--empty)}
@media (max-width:899px){
  .best{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px;scroll-padding:0 16px;scrollbar-width:none}
  .best::-webkit-scrollbar{display:none}
  .bday{flex:0 0 152px;scroll-snap-align:start}
}
.card-scroll{overflow-x:auto;border-radius:var(--radius);background:var(--surface)}
table.sheet{border-collapse:separate;border-spacing:0;width:100%;min-width:720px}
.sheet th,.sheet td{border-bottom:.5px solid var(--line);padding:0}
.sheet thead th{font-weight:600;font-size:13px;padding:9px 6px;text-align:center;background:var(--sunk);color:var(--ink)}
.sheet thead th.today{color:var(--accent)}
.sheet thead th:first-child{text-align:left;padding-left:14px}
.sheet thead th small{display:block;font-weight:400;font-size:11px;color:var(--muted)}
.sheet tbody tr:last-child td,.sheet tbody tr:last-child th{border-bottom:0}
/* Course column stays put while the days scroll sideways. */
.sheet .course,.sheet thead th:first-child{position:sticky;left:0;z-index:1;border-right:.5px solid var(--line)}
.sheet .course{background:var(--surface);padding:10px 12px 10px 14px;text-align:left;min-width:170px;max-width:200px;vertical-align:middle}
.course .n{font-weight:600;font-size:15px;line-height:1.25}
.course .m{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:2px}
.sheet td{border-left:.5px solid var(--line);text-align:center;vertical-align:middle}
.sheet td:nth-child(2){border-left:0}
.cell{width:100%;min-height:64px;border:0;background:none;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
@media (hover:hover){.cell:hover{background:var(--accent-soft)}}
.cell .cnt{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}
.cell .from{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.cell.zero .cnt{color:var(--empty)}
.cell.low{box-shadow:inset 0 -3px 0 var(--sand)}
.cell.cheapest .cnt{font-weight:800}
.cell .marks{display:flex;gap:4px;align-items:center;justify-content:center;min-height:12px;margin-top:2px}
.gdot{width:8px;height:8px;border-radius:50%;display:inline-block}
.gdot.w-dry{background:var(--good)} .gdot.w-damp{background:var(--muted)} .gdot.w-soft{background:var(--sand)} .gdot.w-soggy{background:var(--warn)} .gdot.w-snow{background:var(--snow)}
.cell .frost{font-size:11px;line-height:1}
.cell[aria-pressed="true"] .gdot{box-shadow:0 0 0 1.5px var(--accent-ink)}
.cell[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink)}
.cell[aria-pressed="true"] .from,.cell[aria-pressed="true"] .cnt{color:var(--accent-ink)}
.cell.na{color:var(--empty);font-size:12px;cursor:default}
.cell.na:hover{background:none}
@media (max-width:699px){
  table.sheet{min-width:0;width:max-content}
  .sheet .course{min-width:0;width:124px;max-width:124px;padding:8px 8px 8px 12px}
  .sheet thead th:first-child{padding-left:12px}
  .course .n{font-size:14px}
  .course .m .pill{font-size:11px;padding:2px 7px}
  .sheet td,.sheet thead th:not(:first-child){min-width:66px}
}
.legend{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.sw{width:12px;height:12px;border-radius:3px;display:inline-block}
.cell.old .cnt,.cell.old .from{opacity:.55}
.times{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.t{background:var(--sheet-card);border:1.5px solid transparent;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:1px}
.t .tt{font-weight:600;font-size:16px}
.t .tp{font-size:12px;color:var(--muted)}
.t.deal{border-color:var(--accent)}
.t.deal .tp{color:var(--accent);font-weight:600}
.t .tf{font-size:11px;font-weight:600;color:var(--snow)}
.cell .frost{margin-top:1px}
.cell[aria-pressed="true"] .frost{color:var(--accent-ink)}
