/* Layout from Hugging Face's Gradio 6 leaderboard template; palette, type and backdrop from the unsafe-eval banner and deck, which are dark-only. */ :root { color-scheme: dark; --background: #081116; --surface: #111c21; --block: rgba(255, 255, 255, 0.03); --raised: rgba(255, 255, 255, 0.05); --hover: rgba(255, 255, 255, 0.04); --text: #f2f6f5; --body-text: #d6e0de; --muted: #94a8a5; --faint: #6f8582; --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.14); --primary: #7df7d6; --primary-soft: rgba(125, 247, 214, 0.12); --pill: 999px; --on-primary: #052219; --key: #1c292f; --key-hover: #24343b; --track: rgba(255, 255, 255, 0.04); /* Opaque, so sticky header and model cells hide what scrolls under them. */ --table: #101a1f; --table-raised: #172126; --ring: inset 0 0 0 1.5px var(--primary); --success: #7df7d6; --warning: #f5c26b; --warning-soft: rgba(245, 194, 107, 0.08); --danger: #ff7a7a; --series-task: #00ad79; --series-general: #9c8cff; --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; color: var(--text); font-family: var(--sans); font-size: 14px; background-color: var(--background); background-image: radial-gradient(1100px 760px at 100% 100%, rgba(52, 150, 118, 0.26), transparent 65%), radial-gradient(900px 520px at 62% 110%, rgba(28, 92, 120, 0.20), transparent 60%), linear-gradient(100deg, #0a141b, var(--background) 45%, #0b1c1f); background-attachment: scroll, scroll, fixed; } button, input, select { font: inherit; } ::selection { background: color-mix(in srgb, var(--primary) 30%, transparent); color: var(--text); } input { caret-color: var(--primary); } html, .table-shell, .citation-card pre { scrollbar-color: var(--border-strong) transparent; scrollbar-width: thin; } button { cursor: pointer; } :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; } main { width: min(1520px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 52px; } .app-header { max-width: 760px; margin: 0 auto 28px; text-align: center; } .logo { display: block; width: fit-content; margin: 0 auto 22px; opacity: 0.92; } .logo:hover { opacity: 1; } .logo img { display: block; width: auto; height: 34px; } .app-header h1 { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; } .app-header h1 .accent { color: var(--primary); } .tabs { display: flex; width: fit-content; gap: 4px; margin: 0 auto 28px; padding: 4px; border-radius: var(--pill); background: var(--track); } .tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: var(--pill); background: transparent; color: var(--muted); font-weight: 500; } .tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .tab:hover { color: var(--text); } .tab.active { color: var(--on-primary); } .tab:hover:not(.active), .view:hover:enabled:not(.active), .display:hover:not(.active) { background: var(--hover); } .tab, .view, .display { transition: background 0.12s, color 0.12s, transform 0.12s; } .tab:active, .view:active:enabled, .display:active { transform: scale(0.97); } .tabs, .view-switch { position: relative; } .tab, .view, .display { position: relative; z-index: 1; } .thumb { position: absolute; top: 0; left: 0; border-radius: var(--pill); background: var(--primary); pointer-events: none; transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.25, 1), width 0.3s cubic-bezier(0.2, 0.9, 0.25, 1), background 0.12s; } :is(.tabs, .view-switch):has(.active:hover) .thumb { background: color-mix(in srgb, #fff 12%, var(--primary)); } .panel { display: none; } .panel.active { display: block; } .panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 14px; } .panel-heading h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; } .panel-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; } .panel-heading .updated { white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; } .block, .toolbar, .table-shell { background: var(--block); border: 1px solid var(--border); border-radius: 16px; } /* Concentric with the pills inside: their 19px radius plus the 10px padding. */ .toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px; margin-bottom: 12px; border-radius: 29px; } .search, .select-control select { border: 0; border-radius: var(--pill); background-color: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); } .view-switch { border-radius: var(--pill); background: var(--track); } .search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; } .search:hover, .search:has(input:focus-visible) { box-shadow: var(--ring); } .search svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; } .search kbd { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--muted); font: 11px var(--mono); } .search:has(input:focus, input:not(:placeholder-shown)) kbd { display: none; } @media (hover: none) { .search kbd { display: none; } } .search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; } .select-control { display: grid; } .select-control select { appearance: none; height: 38px; min-width: 150px; padding: 0 36px 0 16px; outline: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; color: var(--text); font-size: 13px; } .select-control select:hover, .select-control select:focus-visible { box-shadow: var(--ring); } .select-control select option { background: var(--surface); } .view-switch { display: inline-flex; gap: 2px; height: 38px; padding: 3px; } .view, .display { padding: 0 12px; border: 0; border-radius: var(--pill); background: transparent; color: var(--muted); font: 500 12px var(--sans); white-space: nowrap; } .view:hover:enabled, .display:hover { color: var(--text); } .view.active, .view.active:hover:enabled, .display.active { color: var(--on-primary); } .view:disabled { background: transparent; color: var(--faint); opacity: 0.5; cursor: not-allowed; } .toggle, .view-switch.actions .action, #show-hidden, .citation-card button, .variants-toggle { border: 0; border-radius: var(--pill); background: var(--key); color: var(--body-text); transition: background 0.12s, color 0.12s, transform 0.12s; } .toggle:hover, .view-switch.actions .action:hover:enabled, #show-hidden:hover, .citation-card button:hover, .variants-toggle:hover { background: var(--key-hover); color: var(--text); } .toggle:active, .view-switch.actions .action:active:enabled, #show-hidden:active, .citation-card button:active, .variants-toggle:active { transform: scale(0.97); } .toggle { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; font-size: 12px; white-space: nowrap; cursor: pointer; } .toggle:has(input:checked) { background: var(--primary); color: var(--on-primary); } .toggle:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; } .toggle:has(input:disabled) { opacity: 0.5; cursor: not-allowed; } .toggle input { appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border-radius: 5px; background: transparent center / 12px no-repeat; box-shadow: inset 0 0 0 1.5px var(--faint); cursor: inherit; transition: background-color 0.15s, box-shadow 0.15s; } .toggle input:checked { background-color: var(--on-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%237df7d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); box-shadow: none; } .toggle:hover input:not(:checked) { box-shadow: inset 0 0 0 1.5px var(--muted); } [data-tip] { position: relative; } [data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20; width: max-content; max-width: 280px; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--body-text); font: 12px/1.3 var(--sans); text-align: left; white-space: normal; pointer-events: none; opacity: 0; transition: opacity 0.12s; } [data-tip].tip-end::after { left: auto; right: 0; transform: none; } @media (hover: none) { [data-tip]::after { display: none; } } [data-tip]:hover::after, [data-tip]:focus-visible::after, [data-tip]:has(:focus-visible)::after { opacity: 1; } .icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .hide-col { width: 1%; padding: 0 10px 0 4px; text-align: center; } .hide-row { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: var(--pill); background: transparent; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.12s, transform 0.12s; } tbody tr:hover .hide-row, .hide-row:focus-visible { opacity: 1; } .hide-row:hover, .hide-row:focus-visible { color: var(--primary); background: var(--key); } .hide-row:active { transform: scale(0.97); } @media (hover: none) { .hide-row { opacity: 1; } } #show-hidden { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px 0 14px; font: 500 12px var(--sans); white-space: nowrap; cursor: pointer; } #show-hidden.hidden { display: none; } .view-switch.actions { gap: 8px; padding: 0; background: none; box-shadow: none; } .view-switch.actions .action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; font: 500 12px var(--sans); white-space: nowrap; cursor: pointer; } .menu { margin: 0; inset: auto; padding: 5px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); color: var(--body-text); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6); } .menu:popover-open { display: grid; min-width: 120px; } .menu button { padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: inherit; font: 500 13px var(--sans); text-align: left; cursor: pointer; } .menu button:hover, .menu button:focus-visible { color: var(--primary); background: var(--hover); } .actions:has(~ .menu:popover-open) [data-tip]::after { opacity: 0; } .table-shell { position: relative; overflow-x: auto; background: var(--table); } /* Its own scroll box no taller than the screen, so the header and model column can stick inside it. */ .table-shell:has(> table:not(.hidden)) { max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior-x: contain; } .table-shell.is-empty { min-height: 180px; } table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; } th { position: sticky; top: 0; z-index: 2; height: 42px; padding: 0 12px; background: var(--table-raised); box-shadow: inset 0 -1px 0 var(--border); color: var(--muted); text-align: right; font: 600 12px var(--sans); white-space: nowrap; } th:first-child, th:nth-child(2), td:first-child, td:nth-child(2) { text-align: left; } th:first-child, td:first-child { position: sticky; left: 0; width: 56px; min-width: 56px; } th:nth-child(2), td:nth-child(2) { position: sticky; left: 56px; } td:first-child, td:nth-child(2) { z-index: 1; background: var(--table); } th:first-child, th:nth-child(2) { z-index: 3; } tbody tr:hover td:first-child, tbody tr:hover td:nth-child(2) { background: color-mix(in srgb, #fff 4%, var(--table)); } th button { padding: 0; border: 0; background: none; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; } th .arrow { width: 12px; height: 12px; margin-left: 3px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.12s; } th[aria-sort="ascending"] .arrow { transform: rotate(180deg); } th.sortable:hover, th.active-sort { color: var(--text); } th.sortable:hover .arrow, th button:focus-visible .arrow { opacity: 0.5; } th.active-sort .arrow { opacity: 1; } td { height: 44px; padding: 0 12px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover { background: var(--hover); } .rank { color: var(--muted); } .rank.top, .score.best { color: var(--primary); font-weight: 600; } .score.primary { font-weight: 600; } .score.no-refusal { color: var(--faint); } .score.refused { color: #e89a9a; } .model-cell { font-family: var(--sans); } .org-logo { position: relative; display: inline-flex; margin-right: 8px; vertical-align: middle; isolation: isolate; } .org-logo img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; } /* A blurred copy of the logo glows in its own colours. */ .org-logo img:first-child { position: absolute; z-index: -1; filter: blur(4px) saturate(1.3); opacity: 0.2; } /* The only avatar that is a dark mark on a transparent background. */ .org-logo img[src*="/openai/"]:last-child { background: #fff; } .model-cell a, .model-cell .name { color: var(--text); font-weight: 600; text-decoration: none; } .model-cell a::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 4px; background: var(--muted); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; } .model-cell a:hover::after { background: var(--primary); } .model-cell a:hover { color: var(--primary); } /* Static tags are flat tinted pills, like .pill; only controls are raised. */ .model-cell code { margin-left: 8px; padding: 2px 8px; border-radius: var(--pill); background: var(--raised); color: var(--muted); font: 10.5px var(--mono); } .variants-toggle { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 3px 6px 3px 10px; font: 500 11.5px var(--sans); vertical-align: middle; cursor: pointer; } .variants-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.15s; } .variants-toggle[aria-expanded="true"] svg { transform: rotate(180deg); } .variants-toggle[aria-expanded="true"], .actions:has(~ .menu:popover-open) .action[popovertarget] { background: color-mix(in srgb, var(--primary) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent); color: var(--primary); } tr.group-open td, tr.variant:not(.last) td { border-bottom-color: transparent; } tr.variant td { height: 36px; } tr.variant .model-cell code:first-child { margin-left: 0; } /* Tree lines from the model's logo, whose centre sits 21px in, down to each variant, whose tag starts where the name does. */ tr.variant .model-cell { padding-left: 38px; } tr.group-open .model-cell::after, tr.variant .model-cell::before, tr.variant .model-cell::after { content: ""; position: absolute; left: 21px; border-left: 1px solid var(--border-strong); } tr.group-open .model-cell::after { top: calc(50% + 12px); bottom: 0; } tr.variant .model-cell::before { top: 0; bottom: 0; } tr.variant.last .model-cell::before { bottom: 50%; } tr.variant .model-cell::after { top: 50%; width: 13px; border-left: 0; border-top: 1px solid var(--border-strong); } .pill { display: inline-flex; padding: 3px 9px; border-radius: var(--pill); background: var(--raised); color: var(--body-text); font: 11px var(--sans); } .pill.task { background: color-mix(in srgb, var(--series-task) 16%, transparent); color: var(--series-task); } .pill.general { background: color-mix(in srgb, var(--series-general) 16%, transparent); color: var(--series-general); } .availability { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); } .availability.yes { background: var(--success); } .table-footer { display: flex; justify-content: space-between; gap: 12px; padding: 8px 3px 0; color: var(--muted); font-size: 11px; } .cost sup, .tokens sup, .latency sup, .score sup { margin-left: 2px; font-size: 10px; } .cost sup a, .tokens sup a, .latency sup a, .score sup a { color: var(--muted); text-decoration: none; } .table-notes { margin: 12px 3px 0; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; } .table-notes:empty { display: none; } .table-notes li:target { color: var(--body-text); } .legend { max-width: 110ch; margin: 18px 3px 0; color: var(--muted); font-size: 13px; line-height: 1.6; } .legend code { padding: 1px 7px; border-radius: var(--pill); background: var(--raised); font: 11px var(--mono); } .empty-state { position: absolute; inset: 43px 0 0; display: grid; place-content: center; text-align: center; color: var(--muted); } .empty-state h3 { margin: 0 0 4px; color: var(--body-text); font-size: 14px; } .empty-state p { margin: 0; font-size: 12px; } .chart { padding: 18px 20px 14px; } .chart-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 28px; margin-bottom: 14px; } .chart-title { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; } .chart-sub { margin: 0; color: var(--muted); font-size: 13px; } .chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--body-text); font-size: 12px; } .legend-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; } .legend-label { margin-right: 2px; color: var(--muted); font-weight: 600; } /* Swatches are drawn at the size of the chart's dots. */ .swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--body-text); } .swatch.task { background: var(--series-task); } .swatch.general { background: var(--series-general); } .swatch.hollow { width: 12px; height: 12px; background: transparent; box-shadow: inset 0 0 0 2px var(--body-text); } .swatch-frontier { width: 26px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; } .swatch-frontier circle { stroke-opacity: 0.45; stroke-width: 1.5; } .chart-plot { position: relative; } .chart svg { display: block; width: 100%; overflow: visible; font-variant-numeric: tabular-nums; } .chart .grid { stroke: var(--border); } .chart .axis { stroke: var(--border-strong); } .chart .tick { fill: var(--muted); font-size: 11px; } .chart .axis-title { fill: var(--muted); font: 12px var(--sans); } .chart .pareto { fill: none; stroke: var(--primary); stroke-opacity: 0.85; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.15s; } .chart .pareto.tail { stroke-opacity: 1; stroke-dasharray: 1 5; stroke-linecap: round; } .tail-fade stop { stop-color: var(--primary); stop-opacity: 0.8; } .tail-fade stop + stop { stop-opacity: 0; } .chart .guides line { stroke: var(--border-strong); stroke-dasharray: 3 3; } /* Filled dots carry a ring in the surface colour, so overlapping ones stay apart. */ .chart .dot { stroke: var(--table); stroke-width: 2; transition: r 0.12s, opacity 0.15s; } .chart .frontier-ring { fill: none; stroke: var(--primary); stroke-opacity: 0.45; stroke-width: 1.5; transition: opacity 0.15s; } .chart .dot.task { fill: var(--series-task); } .chart .dot.general { fill: var(--series-general); } .chart .dot.hosted { fill: var(--table); } .chart .dot.hosted.task { stroke: var(--series-task); } .chart .dot.hosted.general { stroke: var(--series-general); } .chart .dot.active { r: 8px; } .chart svg.hovering .dot:not(.active), .chart svg.hovering .label, .chart svg.hovering .label-logo, .chart svg.hovering .pareto, .chart svg.hovering .frontier-ring { opacity: 0.25; } .chart .hit { fill: transparent; cursor: default; } .chart .break { stroke: var(--border-strong); stroke-dasharray: 2 4; } .chart .label { overflow: visible; pointer-events: none; transition: opacity 0.15s; } .chart .chip-row { display: flex; height: 100%; align-items: center; } .chart .chip-row.end { justify-content: flex-end; } .chart .chip, .legend-group > span:not(.legend-label) { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 3px; border-radius: var(--pill); white-space: nowrap; background: var(--key); color: var(--text); font: 500 11.5px var(--sans); } .legend-group > span:not(.legend-label) { padding-left: 7px; color: var(--body-text); font-weight: 400; } .chart .chip .org-logo { margin: 0; } .chart .chip .org-logo img { width: 16px; height: 16px; border-radius: 50%; } .chart .chip .variant { color: var(--muted); font-weight: 400; } .chart .label-logo { overflow: visible; transition: opacity 0.15s; } .chart .label-logo .org-logo { display: flex; margin: 0; } .chart .label-logo .org-logo img { width: 14px; height: 14px; border-radius: 50%; } .chart-tip { position: absolute; z-index: 1; display: grid; gap: 3px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--table-raised); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6); color: var(--muted); font-size: 11px; white-space: nowrap; pointer-events: none; } .chart-tip strong { color: var(--text); font-size: 12px; font-weight: 600; } .chart-tip code { margin-left: 6px; padding: 2px 8px; border-radius: var(--pill); background: var(--raised); color: var(--muted); font: 10.5px var(--mono); } .chart-note { margin: 8px 0 0; color: var(--muted); font-size: 11px; } .skeleton { display: block; width: 40px; height: 10px; margin-left: auto; border-radius: var(--pill); background: linear-gradient(90deg, var(--border) 30%, var(--border-strong) 50%, var(--border) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; } td:first-child .skeleton { width: 20px; margin-left: 0; } td:nth-child(2) .skeleton { width: var(--w); margin-left: 0; } @keyframes shimmer { to { background-position: -150% 0; } } .about-copy, .citation-card, .request-copy { padding: 18px 22px; } .prose { color: var(--body-text); font-size: 14px; line-height: 1.65; } #panel-about, #panel-request { max-width: 900px; margin: 0 auto; } .prose h2, .prose h3 { color: var(--text); font-weight: 600; } .prose h2 { margin: 22px 0 6px; font-size: 18px; } .prose h3 { margin: 18px 0 5px; font-size: 15px; } .prose p, .prose ul { margin: 8px 0; } .prose ul { padding-left: 20px; } .prose code { font-family: var(--mono); font-size: .9em; } .prose a { color: var(--primary); } .prose a.button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 20px; border-radius: var(--pill); background: var(--primary); color: var(--on-primary); font: 600 13px var(--sans); text-decoration: none; white-space: nowrap; transition: filter 0.12s, transform 0.12s; } .prose a.button:hover { filter: brightness(1.06); } .prose a.button:active { transform: scale(0.97); } .prose a.button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .about-copy { min-height: 160px; } .request-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; } .request-copy p { max-width: 64ch; margin: 0; } .about-copy h2:first-child { margin-top: 0; } .citation-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 12px; } .citation-card h3 { margin: 2px 0 4px; font-size: 15px; font-weight: 600; } .citation-card p { margin: 0; color: var(--muted); font-size: 13px; } .citation-card button { align-self: start; height: 34px; padding: 0 16px; font-weight: 500; } .citation-card pre { grid-column: 1 / -1; overflow: auto; margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0, 0, 0, 0.3); color: var(--body-text); font: 12px/1.6 var(--mono); } .notice { margin: 10px 0; padding: 10px 12px; border: 1px solid; border-radius: 12px; font-size: 12px; line-height: 1.45; } .notice.warning { color: var(--warning); background: var(--warning-soft); border-color: rgba(245, 194, 107, 0.3); } .hidden { display: none !important; } @media (prefers-reduced-motion: reduce) { :active { transform: none !important; } .toggle input { transition: none; } .skeleton { animation: none; } .thumb { transition: none; } } @media (max-width: 980px) { .toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; } .search, .metric-switch { grid-column: 1 / -1; } td:nth-child(2) { box-shadow: inset -1px 0 0 var(--border); } th:nth-child(2) { box-shadow: inset 0 -1px 0 var(--border), inset -1px 0 0 var(--border); } } @media (max-width: 560px) { main { width: min(100% - 24px, 1520px); padding-top: 24px; } .app-header h1 { font-size: 30px; } .tabs { width: 100%; } .tab { flex: 1; padding-inline: 8px; } .tab .long { display: none; } .panel-heading { display: block; } .updated { margin-top: 6px !important; } .select-control select { width: 100%; } .view-switch { width: 100%; } .metric-switch { overflow-x: auto; scrollbar-width: none; } .view { flex: 1 0 auto; padding-inline: 5px; } .table-footer span:last-child { display: none; } /* The sticky model column must leave room for the scores to scroll into view. */ .model-cell { padding-block: 8px; } th:first-child, td:first-child { width: 44px; min-width: 44px; } th:nth-child(2), td:nth-child(2) { left: 44px; } .model-cell .model { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; max-width: min(200px, 44vw); } .model-cell .title { display: flex; align-items: center; min-width: 0; max-width: 100%; } .model-cell .title a, .model-cell .title .name, .model-cell code { overflow: hidden; text-overflow: ellipsis; } .model-cell code, .variants-toggle { max-width: 100%; margin-left: 0; } tr.group-open .model-cell::after { top: 31px; } }