/* Hoy en el club. Quiet surface built on the shared tokens; the own choice uses
   weight and a neutral line, never a warm highlight. */
.club-day-entry { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-3); width: 100%; min-height: 60px; padding: var(--ds-space-3) var(--ds-space-4); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-lg); background: var(--ds-surface); color: var(--ds-text); font: inherit; text-align: left; }
.club-day-entry span { display: grid; gap: 2px; min-width: 0; }
.club-day-entry strong { font-size: var(--ds-text-md); font-weight: 600; }
.club-day-entry small { font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.club-day-entry svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ds-text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.club-day-page { width: min(100%, 720px); margin-inline: auto; }
.club-day { display: grid; gap: var(--ds-space-3); padding: var(--ds-space-4); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-lg); background: var(--ds-surface); color: var(--ds-text); }
.club-day[hidden] { display: none; }
.club-day h4 { margin: 0; font-size: var(--ds-text-md); font-weight: 600; line-height: 1.35; }
.club-day.is-busy .club-day-body { opacity: .6; pointer-events: none; }
.club-day-tabs { display: flex; gap: var(--ds-space-2); margin-inline: calc(var(--ds-space-4) * -1); padding-inline: var(--ds-space-4); overflow-x: auto; scrollbar-width: none; }
.club-day-tabs::-webkit-scrollbar { display: none; }
.club-day-tabs button { flex: none; min-height: var(--ds-control-sm); padding: 0 var(--ds-space-3); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text-2); font: inherit; font-size: var(--ds-text-sm); }
.club-day-tabs button[aria-selected="true"] { border-color: var(--ds-text-2); background: var(--ds-raised); color: var(--ds-text); font-weight: 600; }
.club-day-tabs-host { display: grid; gap: var(--ds-space-2); min-width: 0; }
.club-day-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-1); padding: var(--ds-space-1); border-radius: var(--ds-radius-md); background: var(--ds-raised); }
.club-day-groups button { min-height: var(--ds-control-sm); border: 0; border-radius: var(--ds-radius-sm); background: transparent; color: var(--ds-text-2); font: inherit; font-size: var(--ds-text-sm); }
.club-day-groups button[aria-pressed="true"] { background: var(--ds-surface); color: var(--ds-text); font-weight: 600; }
.plus-upload { display: inline-flex; align-items: center; justify-self: start; }
.plus-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-2); }
.plus-photo { margin: 0; }
.plus-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--ds-radius-sm); background: var(--ds-raised); }
.plus-photo figcaption { margin-top: 4px; font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.club-day audio { width: 100%; }
.club-day-body { display: grid; gap: var(--ds-space-3); min-width: 0; }
.club-day-note, .club-day-notice { margin: 0; font-size: var(--ds-text-sm); line-height: 1.4; color: var(--ds-text-2); }
.club-day-notice:empty { display: none; }
.club-day-people { display: flex; gap: var(--ds-space-2); margin-inline: calc(var(--ds-space-4) * -1); padding-inline: var(--ds-space-4); overflow-x: auto; scrollbar-width: none; }
.club-day-people::-webkit-scrollbar { display: none; }
.club-day-people button { flex: none; display: grid; justify-items: center; gap: var(--ds-space-1); width: 68px; padding: var(--ds-space-2) 0; border: 1px solid transparent; border-radius: var(--ds-radius-md); background: transparent; color: var(--ds-text-2); font: inherit; font-size: var(--ds-text-xs); }
.club-day-people button span { max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-day-people .avatar { width: 44px; height: 44px; }
.club-day-people button[aria-pressed="true"] { border-color: var(--ds-line-strong); background: var(--ds-raised); color: var(--ds-text); font-weight: 600; }
.club-day-results { display: grid; gap: var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
.club-day-results li { position: relative; display: flex; justify-content: space-between; gap: var(--ds-space-2); min-height: var(--ds-control-sm); align-items: center; padding: 0 var(--ds-space-3); overflow: hidden; border-radius: var(--ds-radius-sm); background: var(--ds-raised); font-size: var(--ds-text-sm); }
.club-day-results li span, .club-day-results li b { position: relative; z-index: 1; }
.club-day-results li i { position: absolute; inset: 0 auto 0 0; width: var(--share); background: var(--ds-line); }
.club-day-results li.is-own { font-weight: 600; }
.club-day-prediction, .club-day-award { display: grid; gap: var(--ds-space-2); padding-top: var(--ds-space-3); border-top: 1px solid var(--ds-line); }
.club-day-prediction:first-child { padding-top: 0; border-top: 0; }
.club-day-options { display: grid; gap: var(--ds-space-2); }
.club-day-options button { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-2); min-height: var(--ds-control); padding: 0 var(--ds-space-3); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-sm); background: transparent; color: var(--ds-text); font: inherit; font-size: var(--ds-text-sm); text-align: left; }
.club-day-options button[aria-pressed="true"] { border-color: var(--ds-line-strong); background: var(--ds-raised); font-weight: 600; }
.club-day-options button.is-right { border-color: var(--ds-text-2); }
.club-day-options button:disabled { color: var(--ds-text-2); }
.club-day-action { min-height: var(--ds-control-sm); padding: 0 var(--ds-space-4); border: 1px solid transparent; border-radius: var(--ds-radius-pill); background: var(--ds-text); color: var(--ds-surface); font: inherit; font-size: var(--ds-text-sm); font-weight: 600; }
.club-day-action.is-quiet { justify-self: start; border-color: var(--ds-line); background: transparent; color: var(--ds-text); font-weight: 500; }
.club-day-manage { font-size: var(--ds-text-sm); color: var(--ds-text-2); }
.club-day-manage button { display: block; width: 100%; min-height: var(--ds-control-sm); margin-top: var(--ds-space-1); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-sm); background: transparent; color: var(--ds-text); font: inherit; }
.club-day-form { display: grid; gap: var(--ds-space-2); }
.club-day-form label { display: grid; gap: var(--ds-space-1); font-size: var(--ds-text-sm); color: var(--ds-text-2); }
.plus-lines, .plus-days { display: grid; gap: var(--ds-space-1); margin: 0; padding: 0; list-style: none; }
.plus-lines li, .plus-days li { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-2); min-height: var(--ds-control-sm); font-size: var(--ds-text-sm); }
.plus-lines li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.plus-lines b { flex: none; font-weight: 600; }
.plus-lines a { color: inherit; text-decoration: underline; }
.plus-lines small { font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.plus-meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-1) var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
.plus-meters li { display: grid; gap: 2px; font-size: 13px; color: var(--ds-text-2); }
.plus-meters meter { width: 100%; height: 8px; }
.plus-story button { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-2); width: 100%; min-height: var(--ds-control-md, 44px); padding: 0 var(--ds-space-2); text-align: left; }
.plus-remove { flex: none; width: var(--ds-control-sm); height: var(--ds-control-sm); padding: 0; border: 1px solid var(--ds-line); border-radius: 50%; background: transparent; color: var(--ds-text-2); font: inherit; font-size: 18px; }
.plus-days li.is-own { font-weight: 600; }
.plus-days [data-plus-lie] { width: 100%; text-align: left; }
.plus-days [data-plus-day], .plus-days [data-plus-lie], .plus-songs button, .plus-choose { display: inline-flex; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-control-sm); padding: 0 var(--ds-space-3); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-pill); background: transparent; color: var(--ds-text); font: inherit; font-size: var(--ds-text-sm); }
.plus-days [data-plus-day] { flex: 1; justify-content: space-between; }
.plus-days [aria-pressed="true"], .plus-songs [aria-pressed="true"] { border-color: var(--ds-text-2); background: var(--ds-raised); font-weight: 600; }
.club-day details { font-size: var(--ds-text-sm); color: var(--ds-text-2); }
.club-day summary { min-height: var(--ds-control-sm); line-height: var(--ds-control-sm); }
.plus-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-1); margin: 0; padding: 0; border: 0; }
.plus-people legend { margin-bottom: var(--ds-space-1); font-size: var(--ds-text-sm); }
.club-day-form .plus-people label { display: flex; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-control-sm); }
.club-day-form input[type="checkbox"] { width: 18px; min-height: 18px; accent-color: var(--ds-text-2); }
.club-day-form input, .club-day-form textarea, .club-day-form select { width: 100%; min-height: var(--ds-control); padding: var(--ds-space-2) var(--ds-space-3); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-sm); background: var(--ds-raised); color: var(--ds-text); font: inherit; font-size: 16px; }
.club-day-form div { display: flex; gap: var(--ds-space-2); }
.club-day-ranking { display: grid; gap: var(--ds-space-1); margin: 0; padding: 0; list-style: none; }
.club-day-ranking li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: var(--ds-space-2); min-height: var(--ds-control-sm); font-size: var(--ds-text-sm); }
.club-day-ranking small { font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.club-day-cards { display: flex; gap: var(--ds-space-2); margin-inline: calc(var(--ds-space-4) * -1); padding-inline: var(--ds-space-4); overflow-x: auto; scrollbar-width: none; }
.club-day-cards::-webkit-scrollbar { display: none; }
.club-day-cards button { flex: none; display: grid; gap: 2px; width: 84px; padding: 0; border: 0; background: transparent; color: var(--ds-text-2); font: inherit; font-size: var(--ds-text-xs); text-align: left; }
.club-day-cards img { width: 84px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: var(--ds-radius-sm); background: var(--ds-raised); }
.club-day-cards span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-day-cards b { color: var(--ds-text); }
.club-day-week { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: var(--ds-space-3); }
.club-day-week img { width: 104px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: var(--ds-radius-sm); background: var(--ds-raised); }
.club-day-week div { display: grid; gap: var(--ds-space-2); justify-items: start; }
.club-day-message { margin: 0; font-size: var(--ds-text-md); line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.club-day-year { display: grid; gap: var(--ds-space-1); margin: 0; }
.club-day-year div { display: flex; justify-content: space-between; gap: var(--ds-space-3); min-height: var(--ds-control-sm); align-items: center; font-size: var(--ds-text-sm); }
.club-day-year dt { color: var(--ds-text-2); }
.club-day-year dd { margin: 0; font-weight: 600; }
.club-day-whois { display: grid; gap: var(--ds-space-2); margin: 0; padding: 0; list-style: none; }
.club-day-whois p { margin: 0; font-size: var(--ds-text-sm); overflow-wrap: anywhere; }
.club-day-whois small { font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.club-day-form select { appearance: auto; }
.club-day button:focus-visible, .club-day-entry:focus-visible { outline: 2px solid var(--ds-text-2); outline-offset: 1px; }

.chota-story-line { position: relative; z-index: 2; margin: 0; padding: 4px 12px; font-size: 13px; color: var(--ds-text-2); }

/* Hub: a visual home with the streak, today's list and tiles for every activity. */
.club-day { gap: var(--ds-space-4); padding: 0; border: 0; background: transparent; }
.club-day-head:empty { display: none; }
.club-day:not(.is-hub) .club-day-body { padding: var(--ds-space-4); border-radius: var(--ds-radius-lg); background: var(--ds-surface); }
.club-day.is-hub .club-day-body { gap: var(--ds-space-5, 24px); }
.cd-icon { --cd-hue: 210; display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: hsl(var(--cd-hue) 70% 55% / .16); color: hsl(var(--cd-hue) 85% 72%); }
.cd-icon.is-large { width: 48px; height: 48px; border-radius: 14px; }
.cd-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cd-icon.is-large svg { width: 26px; height: 26px; }
.cd-hero { display: flex; align-items: center; gap: var(--ds-space-4); padding: var(--ds-space-4); border-radius: 20px; background: linear-gradient(135deg, hsl(18 80% 50% / .22), hsl(330 70% 50% / .12) 60%, transparent), var(--ds-surface); }
.cd-streak { position: relative; display: grid; flex: none; place-items: center; align-content: center; width: 76px; height: 76px; border-radius: 50%; background: hsl(18 85% 55% / .16); color: hsl(22 95% 66%); }
.cd-streak svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); fill: currentColor; opacity: .18; }
.cd-streak b { position: relative; font-size: 28px; font-weight: 800; line-height: 1; color: var(--ds-text); font-variant-numeric: tabular-nums; }
.cd-streak small { position: relative; margin-top: 2px; font-size: 11px; font-weight: 600; color: hsl(22 95% 72%); }
.cd-hero-copy { display: grid; flex: 1; gap: 4px; min-width: 0; }
.cd-hero-copy > span { font-size: var(--ds-text-xs); color: var(--ds-text-2); }
.cd-hero-copy strong { font-size: var(--ds-text-lg); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.cd-progress { height: 6px; margin-top: 6px; overflow: hidden; border-radius: 3px; background: var(--ds-raised); }
.cd-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, hsl(22 95% 60%), hsl(340 80% 64%)); transition: width .5s var(--ds-press); }
.cd-section { display: grid; gap: var(--ds-space-2); }
.cd-section h3 { margin: 0 0 2px 4px; font-size: var(--ds-text-sm); font-weight: 600; color: var(--ds-text-2); }
.cd-list { display: grid; overflow: hidden; border-radius: var(--ds-radius-lg); background: var(--ds-surface); }
.cd-row { display: flex; align-items: center; gap: var(--ds-space-3); width: 100%; min-height: 64px; padding: 10px var(--ds-space-4); border: 0; background: transparent; color: var(--ds-text); font: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.cd-row + .cd-row { box-shadow: inset 0 .5px 0 var(--ds-line); }
.cd-row:active, .cd-tile:active { background: var(--ds-raised); }
.cd-row-copy { display: grid; flex: 1; gap: 2px; min-width: 0; }
.cd-row-copy strong { font-size: var(--ds-text-md); font-weight: 600; }
.cd-row-copy small { overflow: hidden; font-size: var(--ds-text-xs); color: var(--ds-text-2); text-overflow: ellipsis; white-space: nowrap; }
.cd-row.is-done .cd-row-copy strong { color: var(--ds-text-2); }
.cd-reward { flex: none; padding: 4px 10px; border-radius: 12px; background: var(--ds-text); color: var(--bb2-canvas, #000); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-check { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: hsl(145 60% 45% / .2); color: hsl(145 65% 62%); }
.cd-check svg, .cd-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cd-chevron { flex: none; width: 18px; height: 18px; stroke: var(--ds-text-3); stroke-width: 2; }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.cd-tile { position: relative; display: grid; align-content: start; justify-items: start; gap: 4px; min-height: 132px; padding: 14px; border: 0; border-radius: var(--ds-radius-lg); background: var(--ds-surface); color: var(--ds-text); font: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.cd-tile .cd-icon { margin-bottom: 8px; }
.cd-tile strong { font-size: var(--ds-text-sm); font-weight: 600; }
.cd-tile small { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.3; color: var(--ds-text-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cd-dot { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ds-danger); box-shadow: 0 0 0 3px var(--ds-surface); }
.cd-tile .is-corner { position: absolute; top: 12px; right: 12px; }
.cd-tile .cd-reward.is-corner { padding: 3px 8px; font-size: 12px; }
.cd-tile .cd-check.is-corner { width: 22px; height: 22px; }
.cd-dot.is-inline { position: static; flex: none; margin-right: 4px; box-shadow: none; }
.cd-detail-head { display: flex; align-items: center; gap: var(--ds-space-3); }
.cd-detail-head > div { display: grid; gap: 2px; min-width: 0; }
.cd-detail-head strong { font-size: var(--ds-text-lg); font-weight: 700; }
.cd-detail-head small { overflow: hidden; font-size: var(--ds-text-xs); color: var(--ds-text-2); text-overflow: ellipsis; white-space: nowrap; }
.cd-back { display: grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--ds-surface); color: var(--ds-text); }
.cd-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Detail contents: clearer answers and bars without warm highlights. */
.club-day-body .club-day-results li { min-height: 44px; border-radius: 12px; }
.club-day-body .club-day-results li i { background: hsl(210 70% 55% / .28); transition: width .5s var(--ds-press); }
.club-day-body .club-day-results li.is-own i { background: hsl(210 75% 58% / .45); }
.club-day-body .club-day-options button { min-height: 48px; border: 0; border-radius: 12px; background: var(--ds-raised); }
.club-day-body .club-day-options button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ds-text-2); }
.club-day-body .club-day-options button.is-right { box-shadow: inset 0 0 0 2px hsl(145 60% 50%); }
.club-day-body .club-day-people button[aria-pressed="true"] { border-color: transparent; box-shadow: inset 0 0 0 2px var(--ds-text-2); }
.club-day-body .club-day-action { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .cd-progress i, .club-day-body .club-day-results li i { transition: none; } }
/* Inside an activity its own header leads back to the hub, so the page header steps aside. */
#hoy:has(.club-day:not(.is-hub):not([hidden])) > .packs-heading { display: none; }
.club-day:not(.is-hub) .cd-detail-head { padding-top: 4px; }
.club-day:not(.is-hub) .cd-detail-head strong { font-size: var(--ds-text-xl); letter-spacing: -.02em; line-height: 1.1; }
/* A row whose activity is resting (the Chota at night) stays visible but can't be opened. */
.cd-row:disabled, .cd-tile:disabled { opacity: .55; cursor: default; }
.cd-row:disabled :is(.cd-check, .cd-dot), .cd-tile:disabled :is(.cd-dot, .is-corner) { display: none; }

