.board-page { min-height: 100svh; } .board { max-width: 800px; margin: 0 auto; padding: 0 24px 64px; } .board-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 72px; } .board-home { display: inline-flex; align-items: center; gap: 8px; justify-self: start; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; transition: color var(--motion) var(--ease); } .board-home .icon { color: var(--ink-3); transition: transform 160ms var(--ease-out); } .board-home:hover { color: var(--ink); } .board-home:hover .icon { transform: translateX(-2px); } .board-tabs { display: flex; gap: 2px; padding: 3px; border-radius: var(--radius); background: var(--fill); } .board-tab { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 7px; color: var(--ink-3); font-size: 13.5px; transition: color var(--motion) var(--ease), background-color var(--motion) var(--ease); } .board-tab:hover { color: var(--ink); } .board-tab[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px var(--shadow-color), 0 0 0 1px var(--line); } .board-updated { justify-self: end; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; } .board-view { padding-top: 8px; } .board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; } .board-modes { display: flex; gap: 20px; } .board-mode { height: 28px; border-radius: var(--radius-sm); color: var(--ink-3); font-size: 14px; transition: color var(--motion) var(--ease); } .board-mode:hover, .board-mode[aria-pressed="true"] { color: var(--ink); } .board-mode[aria-pressed="true"] { font-weight: 500; } .board-note { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 12.5px; line-height: 18px; } .board-note.is-preview::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber, #d99b26); } .board-list { margin: 0; padding: 0; overflow: hidden; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-stage); background: var(--surface); box-shadow: var(--shadow-stage); } .board-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 160px 44px; align-items: center; gap: 16px; height: 48px; padding: 0 20px; border-top: 1px solid var(--line); font-size: 14px; } .board-row:first-child { border-top: 0; } .board-row.is-yours { background: var(--selected); } .board-row.is-yours .track { background: var(--surface); } .board-rank { color: var(--ink-3); font-variant-numeric: tabular-nums; } .board-repo, .board-model { display: inline-flex; align-items: center; gap: 10px; min-width: 0; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; } .board-repo .icon, .board-model .icon { flex: none; color: var(--ink-3); } .board-repo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .board-owner { color: var(--ink-3); font-weight: 400; } .board-repo:hover .board-repo-name { text-decoration: underline 1px var(--line-strong); text-underline-offset: 4px; } .board-score { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; } .board-empty { padding: 48px 0; color: var(--ink-3); text-align: center; } .track { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--fill); } .track i { display: block; height: 100%; border-radius: inherit; background: var(--ink-2); } .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .tile, .panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); } .tile { padding: 14px 16px; } .tile-label, .tile-note, .panel-note, .reward-fact dt { color: var(--ink-3); font-size: 12.5px; line-height: 18px; } .tile-value { margin: 4px 0 2px; font-size: 26px; font-weight: 500; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; } .charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; } .panel { padding: 16px; } .panel-title { font-size: 14px; font-weight: 500; line-height: 20px; } .bars { display: grid; gap: 10px; margin-top: 14px; } .bar-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px; align-items: center; gap: 12px; font-size: 13px; line-height: 18px; } .bar-label { overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; } .bar-value { font-variant-numeric: tabular-nums; text-align: right; } .panel-empty { color: var(--ink-3); font-size: 13px; } .reward { margin-top: 12px; padding: 0; } .reward-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 16px 0; } .reward-source { display: inline-flex; align-items: center; gap: 4px; border-radius: var(--radius-sm); color: var(--ink-3); font-size: 12.5px; transition: color var(--motion) var(--ease); } .reward-source .icon { width: 10px; height: 10px; } .reward-source:hover { color: var(--ink); } .reward-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 0; border-top: 1px solid var(--line); } .reward-fact { padding: 12px 16px 14px; border-left: 1px solid var(--line); } .reward-fact:first-child { border-left: 0; } .reward-fact dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; line-height: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; } @media (max-width: 640px) { .board { padding: 0 16px 48px; } .board-head { grid-template-columns: 1fr auto; height: auto; padding: 16px 0 8px; } .board-home span, .board-updated { display: none; } .board-row { grid-template-columns: 24px minmax(0, 1fr) 44px; gap: 12px; padding: 0 14px; } .board-row .track { display: none; } .tiles, .reward-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .charts { grid-template-columns: minmax(0, 1fr); } .reward-fact:nth-child(3) { border-left: 0; } .reward-fact:nth-child(n + 3) { border-top: 1px solid var(--line); } }