.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .stats-shell { width: calc(100% - 32px); max-width: 1180px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 60px; } .stats-topbar { min-height: 160px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; } .stats-topbar h1 { margin: 0; font-size: 50px; font-size: clamp(38px, 7vw, 66px); text-align: center; } .stats-topbar .eyebrow { text-align: center; } .back-link { justify-self: start; padding: 10px 14px; border-radius: 13px; color: var(--ink); background: rgba(255, 253, 248, 0.78); text-decoration: none; font-weight: 800; } .updated-at { justify-self: end; color: var(--muted); font-size: 12px; } .summary-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; } .summary-card { min-height: 130px; padding: 19px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px; background: rgba(255, 253, 248, 0.88); box-shadow: 0 12px 32px rgba(78, 62, 38, 0.07); } .summary-card:nth-child(1), .summary-card:nth-child(4) { background: rgba(223, 238, 231, 0.88); } .summary-card:nth-child(2), .summary-card:nth-child(5) { background: rgba(255, 241, 220, 0.9); } .summary-card strong, .summary-card span { display: block; } .summary-card strong { margin-top: 22px; font-size: 30px; } .summary-card span { color: var(--muted); font-size: 13px; } .stats-section { padding-top: 56px; } .stats-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 19px; } .legend { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; } .legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--sage); } .calendar-card { padding: 18px; border-radius: 24px; background: rgba(255, 253, 248, 0.84); box-shadow: 0 12px 34px rgba(78, 62, 38, 0.07); } .weekday-row, .daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; } .weekday-row { margin-bottom: 8px; color: var(--muted); text-align: center; font-size: 11px; } .day-cell { min-height: 72px; padding: 9px; border: 1px solid var(--border); border-radius: 15px; background: rgba(37, 50, 45, 0.025); } .day-cell.active { border-color: rgba(118, 168, 150, 0.35); background: var(--sage-soft); } .day-cell strong, .day-cell span { display: block; } .day-cell strong { font-size: 14px; } .day-cell span { margin-top: 9px; color: var(--muted); font-size: 11px; } .daily-list { display: grid; gap: 9px; margin-top: 14px; } .daily-row { display: grid; grid-template-columns: 100px repeat(4, 1fr); gap: 12px; padding: 13px 16px; border-radius: 16px; background: rgba(255, 253, 248, 0.72); } .daily-row strong { color: var(--peach-dark); } .daily-row span { color: var(--muted); } .stats-week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; } .stats-week-card { padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 253, 248, 0.76); } .stats-week-card.review { background: rgba(223, 238, 231, 0.66); } .stats-week-card.active { border-color: rgba(245, 166, 91, 0.55); box-shadow: 0 7px 19px rgba(217, 121, 53, 0.09); } .stats-week-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .stats-week-card header strong { font-size: 18px; } .stats-week-card header span { color: var(--muted); font-size: 11px; } .week-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 12px; color: var(--muted); font-size: 12px; } .two-column { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; } .actor-stats, .session-list { display: grid; gap: 9px; } .actor-card, .session-card { padding: 14px 16px; border-radius: 17px; background: rgba(255, 253, 248, 0.78); } .actor-card header, .session-card header { display: flex; justify-content: space-between; gap: 12px; } .actor-card p, .session-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; } .song-search input { width: min(300px, 48vw); min-height: 44px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: rgba(255, 253, 248, 0.9); } .song-table-wrap { overflow-x: auto; border-radius: 22px; background: rgba(255, 253, 248, 0.84); box-shadow: 0 12px 34px rgba(78, 62, 38, 0.07); } table { width: 100%; border-collapse: collapse; min-width: 900px; } th, td { padding: 13px 15px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; } th { position: sticky; top: 0; color: var(--muted); background: #f3eee3; font-size: 12px; } td { font-size: 13px; } td strong, td small { display: block; } td small { margin-top: 4px; color: var(--muted); } .stats-empty { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; padding: 28px; background: var(--cream); text-align: center; } .stats-empty[hidden] { display: none; } .stats-empty > span { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 26px; color: white; background: var(--peach); font-size: 36px; } .stats-empty p { max-width: 420px; color: var(--muted); } .stats-empty .primary-button { display: inline-grid; place-items: center; margin-top: 8px; text-decoration: none; } @media (max-width: 900px) { .summary-cards { grid-template-columns: repeat(3, 1fr); } .stats-week-grid { grid-template-columns: repeat(4, 1fr); } .two-column { grid-template-columns: 1fr; } } @media (max-width: 620px) { .stats-shell { width: min(calc(100% - 22px), 580px); } .stats-topbar { min-height: 128px; grid-template-columns: 1fr auto; } .stats-topbar > div { grid-column: 1 / -1; grid-row: 1; } .back-link { grid-column: 1; grid-row: 2; } .updated-at { grid-column: 2; grid-row: 2; } .summary-cards { grid-template-columns: repeat(2, 1fr); } .summary-card { min-height: 110px; } .summary-card strong { margin-top: 14px; } .stats-section { padding-top: 42px; } .calendar-card { padding: 10px; } .weekday-row, .daily-grid { gap: 5px; } .day-cell { min-height: 58px; padding: 6px; border-radius: 11px; } .day-cell span { margin-top: 5px; font-size: 9px; } .daily-row { grid-template-columns: 82px repeat(2, 1fr); } .daily-row span:nth-last-child(-n + 2) { display: none; } .stats-week-grid { grid-template-columns: repeat(2, 1fr); } .song-heading-row { align-items: stretch; flex-direction: column; } .song-search input { width: 100%; } .song-table-wrap { overflow: visible; background: transparent; box-shadow: none; } table, tbody { width: 100%; min-width: 0; display: block; } thead { display: none; } tbody { display: grid; gap: 10px; } tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; padding: 15px; border: 1px solid var(--border); border-radius: 17px; background: rgba(255, 253, 248, 0.82); } tbody td { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0; border: 0; } tbody td:first-child { display: block; grid-column: 1 / -1; padding-bottom: 7px; border-bottom: 1px solid var(--border); } tbody td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 10px; } }