/* Daily Slips page: one light column, gold for odds and landed slips. */
body.pond-legacy { background: #071426; color: var(--sp-ink, #f4fbff); margin: 0; }
.ds-page { max-width: 860px; margin: 0 auto; padding: 22px 16px 110px; box-sizing: border-box; }
.ds-page *, .ds-page *::before, .ds-page *::after { box-sizing: border-box; }
.ds-page a { color: var(--sp-teal); }
.ds-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-muted { color: var(--sp-muted); font-size: 13px; }

.ds-hero { padding: 6px 0 18px; }
.ds-eyebrow { margin: 0; color: var(--sp-amber); font: 800 12px/1.2 var(--sp-body); letter-spacing: 1.6px; text-transform: uppercase; }
.ds-hero h1 { margin: 8px 0 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.08; }
.ds-hero h1 span { color: var(--sp-amber); display: block; }
.ds-hero p:last-child { margin: 10px 0 0; color: #c9dbe7; line-height: 1.55; max-width: 560px; }

/* Landed this week */
.ds-landed { margin: 4px 0 20px; }
.ds-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ds-row-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.ds-tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sp-amber); color: #2a1d05; font-size: 13px; font-weight: 900; }
.ds-landed-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ds-win { flex: 0 0 158px; scroll-snap-align: start; display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(160deg, #3a2a0c, #1d1a10 70%); border: 1px solid var(--sp-amber-line); color: var(--sp-ink) !important; }
.ds-win small { color: #e8d3a8; font-size: 12px; font-weight: 700; }
.ds-win b { font: 700 26px/1.1 var(--sp-display); color: var(--sp-amber); }
.ds-win span { font-size: 12px; color: #e8d3a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-win:hover, .ds-win:focus-visible { border-color: var(--sp-amber); }

/* Controls */
.ds-controls { position: sticky; top: 0; z-index: 5; display: grid; gap: 12px; margin: 0 -16px; padding: 12px 16px 14px;
  background: rgba(7, 20, 38, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid #16324a; }
.ds-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ds-days::-webkit-scrollbar { display: none; }
.ds-days button, .ds-tabs button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sp-line);
  background: transparent; color: #c9dbe7; font: 700 13px/1 var(--sp-body); cursor: pointer; }
.ds-days button[aria-pressed="true"] { background: var(--sp-ink); color: #071426; border-color: var(--sp-ink); }
.ds-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sp-card); border: 1px solid var(--sp-line); }
.ds-tabs button { flex: 1 1 auto; border: 0; border-radius: 10px; padding: 0 8px; white-space: nowrap; }
.ds-tabs button[aria-pressed="true"] { background: var(--sp-amber); color: #2a1d05; }
.ds-odds-head { display: flex; justify-content: space-between; align-items: baseline; }
.ds-odds-head label { color: var(--sp-muted); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.ds-odds-head output { font: 700 22px/1 var(--sp-display); color: var(--sp-amber); }
#ds-odds-range { width: 100%; margin: 8px 0 2px; accent-color: var(--sp-amber); height: 28px; cursor: pointer; }
.ds-odds-marks { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--sp-muted); }
.ds-odds-marks span { width: 3.2em; text-align: center; }
.ds-odds-marks span:first-child { text-align: left; } .ds-odds-marks span:last-child { text-align: right; }
.ds-odds-marks span::after { content: attr(data-count) " slips"; display: block; font-size: 10px; opacity: .6; font-weight: 600; }
.ds-odds-marks span[data-count="1"]::after { content: "1 slip"; }
.ds-odds-marks span:not([data-count])::after, .ds-odds-marks span[data-count="0"]::after { content: ""; }
.ds-odds-marks span.is-on { color: var(--sp-amber); }

/* Slip cards */
.ds-summary { margin: 16px 0 10px; color: var(--sp-muted); font-size: 14px; font-weight: 700; }
.ds-list { display: grid; gap: 14px; }
.ds-slip { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 20px; padding: 16px; scroll-margin-top: 230px; }
.ds-slip.is-won { border-color: var(--sp-amber-line); background: linear-gradient(180deg, #1f1d12, var(--sp-card) 120px); }
.ds-slip.is-focus { outline: 2px solid var(--sp-amber); outline-offset: 2px; }
.ds-slip > header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ds-slip h3 { margin: 6px 0 2px; font-size: 17px; line-height: 1.25; }
.ds-slip header small { color: var(--sp-muted); font-size: 12px; font-weight: 700; }
.ds-band { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--sp-amber-bg); border: 1px solid var(--sp-amber-line); color: var(--sp-amber); font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.ds-total { text-align: right; flex: 0 0 auto; }
.ds-total small { display: block; color: var(--sp-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.ds-total b { font: 700 28px/1.1 var(--sp-display); color: var(--sp-amber); }
.ds-legs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.ds-legs.is-clipped > li:nth-child(n + 7) { display: none; }
.ds-leg { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid #16324a; }
.ds-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--sp-line-hi); }
.ds-leg.is-won .ds-dot { background: var(--sp-won); border-color: var(--sp-won); }
.ds-leg.is-lost .ds-dot { background: var(--sp-lost); border-color: var(--sp-lost); }
.ds-leg.is-live .ds-dot { border-color: var(--sp-amber); background: var(--sp-amber); animation: ds-pulse 1.6s ease-in-out infinite; }
@keyframes ds-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ds-leg.is-live .ds-dot { animation: none; } }
.ds-leg-main { min-width: 0; display: grid; gap: 2px; }
.ds-leg-main b { font-size: 14px; line-height: 1.35; }
.ds-leg-main b i { font-style: normal; color: var(--sp-muted); font-weight: 600; }
.ds-pick { font-size: 14px; color: var(--sp-teal); font-weight: 700; }
.ds-leg-main small { color: var(--sp-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-leg-side { text-align: right; display: grid; gap: 2px; }
.ds-leg-side b { font: 700 15px/1.2 var(--sp-display); }
.ds-leg-side small { font-size: 12px; color: var(--sp-muted); font-weight: 700; white-space: nowrap; }
.ds-leg.is-won .ds-leg-side small { color: var(--sp-won); }
.ds-leg.is-lost .ds-leg-side small { color: var(--sp-lost); }
.ds-leg.is-live .ds-leg-side small { color: var(--sp-amber); }
.ds-slip > footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #16324a; flex-wrap: wrap; }
.ds-status { font-size: 13px; font-weight: 800; color: #c9dbe7; }
.ds-status.is-won { color: var(--sp-amber); }
.ds-status.is-lost { color: var(--sp-lost); }
.ds-status.is-live { color: var(--sp-amber); }
.ds-actions { display: flex; gap: 8px; }
.ds-btn { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sp-line-hi); background: transparent; color: var(--sp-ink);
  font: 700 13px/1 var(--sp-body); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.ds-btn:hover { border-color: var(--sp-teal); }
.ds-btn.is-gold { background: var(--sp-amber); color: #2a1d05 !important; border-color: var(--sp-amber); }
.ds-empty { padding: 26px 18px; border: 1px dashed var(--sp-line); border-radius: 20px; text-align: center; color: #c9dbe7; }
.ds-empty b { display: block; font-size: 16px; color: var(--sp-ink); margin-bottom: 4px; }
.ds-empty p { margin: 0 0 12px; }
.ds-skeleton { height: 180px; border-radius: 20px; background: linear-gradient(90deg, var(--sp-card), #12304a, var(--sp-card)); background-size: 200% 100%; animation: ds-shine 1.4s linear infinite; }
@keyframes ds-shine { to { background-position: -200% 0; } }
.ds-foot { margin: 26px 0 0; font-size: 12px; color: var(--sp-muted); line-height: 1.6; }

@media (min-width: 760px) {
  .ds-page { padding-top: 34px; }
  .ds-controls { grid-template-columns: 1fr 1fr; align-items: end; margin: 0; border: 1px solid #16324a; border-radius: 20px; top: 8px; }
  .ds-days { grid-column: 1 / -1; }
  .ds-tabs button { min-height: 40px; }
  .ds-slip { padding: 20px 22px; }
  .ds-hero h1 span { display: inline; }
}
@media (max-width: 380px) {
  .ds-tabs button { font-size: 12px; padding: 0 4px; }
  .ds-total b { font-size: 24px; }
}
/* Locked (Premium) slips: real band, games and total odds; picks hidden. */
.ds-slip.is-locked { position:relative; border-color:var(--gold-line,#6b4d16); }
.ds-locked-legs .is-locked-row .ds-leg-main i, .ds-locked-legs .is-locked-row .ds-leg-side i { display:block; height:12px; border-radius:4px; background:#2a4a62; filter:blur(3px); opacity:.7; }
.ds-locked-legs .is-locked-row .ds-leg-main i:first-child { width:62%; margin-bottom:8px; }
.ds-locked-legs .is-locked-row .ds-leg-main i:last-child { width:78%; height:10px; }
.ds-locked-legs .is-locked-row .ds-leg-side i { width:40px; margin-left:auto; }
.ds-lock-label { display:inline-flex; align-items:center; gap:6px; color:var(--gold,#f5b54a); font-weight:700; font-size:13px; letter-spacing:.04em; text-transform:uppercase; }
.ds-status.is-awaiting { color:#ffd27a; border-color:#6b4d16; }
.ds-free-tag { display:inline-block; margin-left:8px; padding:2px 9px; border-radius:999px; background:rgba(53,201,213,.14); color:#7fe3ec; font-size:12px; font-weight:700; vertical-align:middle; }

.ds-leg-main .line-guide { display: block; font-size: 12px; opacity: .8; }
.ds-stale { margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(255,210,63,.45); border-radius: 14px; background: rgba(255,210,63,.08); color: #f3e3a6; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* Today's Pond (Phase 3): the daily board. */
.ds-today { margin: 18px 0 6px; }
.ds-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ds-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--sp-line); border-radius: 16px; background: rgba(13,34,53,.92); color: inherit; text-decoration: none; }
a.ds-tile:hover { border-color: #69e1dc; }
.ds-tile small { color: var(--sp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.ds-tile b { font-size: 22px; color: var(--sp-ink); }
.ds-tile span { color: #9db7c8; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .ds-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-tiles > :last-child { grid-column: 1 / -1; } }
.ds-yours { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(245,181,74,.16); color: #f5c66e; font-size: 11.5px; font-style: normal; font-weight: 800; }
