:root {
--paper: #f5f4f7;
--paper-2: #ebe9ef;
--surface: #ffffff;
--ink: #221c27;
--ink-2: #554e5d;
--rule: #d8d4de;
--wine: #8a1d3f;
--wine-2: #6c1430;
--wine-tint: #f4e5eb;
--pass: #0a7253;
--pass-tint: #e1f1ea;
--fail: #b0371d;
--fail-tint: #f9e6e0;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
"Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
--mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", "PingFang SC",
"Microsoft YaHei", monospace;
--plan-line: #221c27;
--del-hatch: #554e5d;
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--dur-fast: 0.15s;
--dur-mid: 0.25s;
--dur-slow: 0.6s;
--dur-step: 0.18s;
--wrap: 72rem;
--gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
--band: clamp(4rem, 2.5rem + 5vw, 7.5rem);
--radius: 10px;
color-scheme: light;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: 5rem;
}
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--sans);
font-size: 1.0625rem;
line-height: 1.75;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.lang-en body {
line-height: 1.6;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
margin: 0;
}
ol,
ul {
padding: 0;
list-style: none;
}
a {
color: var(--wine);
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
}
a:hover {
color: var(--wine-2);
}
:focus-visible {
outline: 2px solid var(--wine);
outline-offset: 3px;
border-radius: 3px;
}
::selection {
background: var(--wine-tint);
}
code {
font-family: var(--mono);
font-size: 0.88em;
}
.wrap {
max-width: var(--wrap);
margin: 0 auto;
padding: 0 var(--gutter);
}
.sr,
.lane-tag {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.skip {
position: absolute;
left: var(--gutter);
top: -4rem;
z-index: 20;
padding: 0.5rem 1rem;
background: var(--ink);
color: var(--paper);
border-radius: 6px;
}
.skip:focus {
top: 0.75rem;
}
.bg {
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
}
.bg-canvas {
display: block;
width: 100%;
height: 100vh;
height: 100lvh;
}
main,
.foot {
position: relative;
z-index: 1;
}
.reveal {
transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.motion-ready .reveal:not(.in) {
opacity: 0;
transform: translateY(16px);
}
.sample-badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.15rem 0.55rem;
border: 1px solid var(--rule);
border-radius: 999px;
background: var(--surface);
color: var(--ink-2);
font-size: 0.8125rem;
line-height: 1.5;
white-space: nowrap;
}
.sample-badge::before {
content: "";
width: 0.45rem;
height: 0.45rem;
border-radius: 50%;
background: var(--wine);
}
.motion-debug {
position: fixed;
right: 0.75rem;
bottom: 0.75rem;
z-index: 50;
margin: 0;
padding: 0.5rem 0.75rem;
background: rgb(34 28 39 / 0.88);
color: #f5f4f7;
font: 12px/1.5 var(--mono);
border-radius: 6px;
pointer-events: none;
}
.interlude {
display: flex;
align-items: center;
min-height: 70vh;
padding: 4rem 0;
}
.interlude-long {
min-height: 140vh;
}
.interlude-text {
max-width: 22em;
font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
line-height: 1.35;
font-weight: 650;
letter-spacing: 0.005em;
text-wrap: balance;
}
.lang-en .interlude-text {
letter-spacing: -0.02em;
line-height: 1.2;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 2.75rem;
padding: 0 1.25rem;
border: 1px solid transparent;
border-radius: 6px;
font-weight: 600;
font-size: 1rem;
line-height: 1.2;
text-decoration: none;
white-space: nowrap;
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-solid {
background: var(--wine);
color: #fff;
}
.btn-solid:hover {
background: var(--wine-2);
color: #fff;
}
.btn-line {
border-color: var(--ink);
color: var(--ink);
}
.btn-line:hover {
background: var(--ink);
color: var(--paper);
}
.btn-small {
min-height: 2.5rem;
padding: 0 1rem;
font-size: 0.9375rem;
}
.actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem 1rem;
}
.top {
position: sticky;
top: 0;
z-index: 10;
background: rgb(245 244 247 / 0.92);
backdrop-filter: saturate(1.4) blur(10px);
-webkit-backdrop-filter: saturate(1.4) blur(10px);
border-bottom: 1px solid var(--rule);
}
.top-inner {
display: flex;
align-items: center;
gap: 2rem;
min-height: 4rem;
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.55rem;
color: var(--ink);
text-decoration: none;
font-weight: 650;
letter-spacing: -0.01em;
white-space: nowrap;
}
.brand:hover {
color: var(--ink);
}
.brand-mark {
width: 1.375rem;
height: 1.375rem;
flex: none;
}
.brand-mark rect:first-child {
fill: var(--wine);
}
.brand-mark rect:last-child {
fill: var(--ink);
fill-opacity: 0.85;
}
.brand-local {
color: var(--ink-2);
font-weight: 500;
font-size: 0.9375rem;
}
.nav ul {
display: flex;
gap: 1.75rem;
}
.nav a {
color: var(--ink-2);
text-decoration: none;
font-size: 0.9375rem;
}
.nav a:hover {
color: var(--ink);
}
.top-actions {
display: flex;
align-items: center;
gap: 1.25rem;
margin-left: auto;
}
.lang-switch {
flex: none;
white-space: nowrap;
color: var(--ink-2);
text-decoration: none;
font-size: 0.9375rem;
padding: 0.5rem 0.25rem;
}
.lang-switch:hover {
color: var(--ink);
}
.hero {
padding: clamp(2rem, 0.5rem + 4vw, 5rem) 0 var(--band);
}
.hero-grid {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
grid-template-areas:
"title title"
"copy trace";
column-gap: clamp(2.5rem, 1rem + 4vw, 5rem);
align-items: start;
}
.hero-title {
grid-area: title;
font-size: clamp(2.375rem, 0.9rem + 4.4vw, 4.25rem);
line-height: 1.12;
font-weight: 700;
letter-spacing: 0.01em;
margin-bottom: clamp(1.5rem, 0.75rem + 2vw, 2.75rem);
}
.lang-en .hero-title {
font-size: clamp(2.25rem, 0.9rem + 3.6vw, 4rem);
letter-spacing: -0.03em;
line-height: 1.04;
}
.lang-en .hero-line + .hero-line {
padding-left: 1.25em;
}
.hero-copy {
grid-area: copy;
padding-top: 0.5rem;
}
.trace {
grid-area: trace;
}
.hero-line {
display: block;
}
.hero-line + .hero-line {
padding-left: calc((100% - clamp(2.5rem, 1rem + 4vw, 5rem)) * 5 / 12 + clamp(2.5rem, 1rem + 4vw, 5rem));
}
.lead {
max-width: 30em;
color: var(--ink-2);
font-size: 1.125rem;
margin-bottom: 2rem;
}
.mail-note {
margin-top: 1rem;
color: var(--ink-2);
font-size: 0.9375rem;
}
.hero-facts {
margin-top: clamp(2rem, 1rem + 2.5vw, 3rem);
border-top: 1px solid var(--rule);
font-size: 0.9375rem;
line-height: 1.55;
}
.hero-facts li {
padding: 0.7rem 0;
border-bottom: 1px solid var(--rule);
}
.lang-en .lead {
max-width: 36em;
}
.trace {
background: var(--surface);
border: 1px solid var(--rule);
border-radius: var(--radius);
padding: 1rem 1.5rem 1.1rem;
font-size: 0.9375rem;
line-height: 1.5;
}
.trace-head,
.step {
display: grid;
grid-template-columns: 1fr 1.75rem 1fr;
}
.trace-head {
padding-bottom: 0.75rem;
margin-bottom: 0.25rem;
border-bottom: 1px solid var(--rule);
color: var(--ink-2);
font-size: 0.8125rem;
font-weight: 600;
}
.lane-agent {
grid-column: 1;
text-align: right;
}
.lane-env {
grid-column: 3;
}
.trace-steps {
position: relative;
}
.trace-steps::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
background: var(--rule);
}
.step {
position: relative;
}
.move {
position: relative;
padding: 0.4rem 0;
}
.move-agent {
grid-column: 1;
text-align: right;
}
.move-env {
grid-column: 3;
margin-top: 1.15rem;
color: var(--ink-2);
}
.move::after {
content: "";
position: absolute;
top: 0.9rem;
width: 9px;
height: 9px;
border-radius: 50%;
border: 2px solid var(--surface);
box-sizing: content-box;
}
.move-agent::after {
right: calc(-0.875rem - 6.5px);
background: var(--wine);
}
.move-env::after {
left: calc(-0.875rem - 6.5px);
background: var(--ink-2);
}
.step-fail .move-env {
color: var(--fail);
}
.step-fail .move-env::after {
background: var(--fail);
}
.step-ok .move-env {
color: var(--pass);
}
.step-ok .move-env::after {
background: var(--pass);
}
.move code {
background: var(--paper);
border-radius: 4px;
padding: 0.05em 0.35em;
color: var(--ink);
overflow-wrap: anywhere;
}
.verdict {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-areas:
"label result"
"checks result";
align-items: center;
gap: 0.25rem 1rem;
margin-top: 1rem;
padding: 0.75rem 1rem;
background: var(--pass-tint);
border-radius: 6px;
color: var(--pass);
}
.verdict-label {
grid-area: label;
font-weight: 600;
color: var(--ink);
}
.verdict-checks {
grid-area: checks;
display: inline-flex;
flex-wrap: wrap;
gap: 0.25rem 1rem;
font-family: var(--mono);
font-size: 0.875rem;
}
.verdict-result {
grid-area: result;
font-family: var(--mono);
font-size: 1.125rem;
white-space: nowrap;
}
.trace-foot {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-top: 1rem;
}
.trace-caption {
color: var(--ink-2);
font-size: 0.8125rem;
line-height: 1.6;
}
.replay {
flex: none;
margin-left: auto;
min-height: 2rem;
padding: 0 0.75rem;
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
color: var(--ink-2);
font: inherit;
cursor: pointer;
}
.replay:hover {
border-color: var(--ink-2);
color: var(--ink);
}
@keyframes step-in {
from {
opacity: 0;
transform: translateY(6px);
}
}
@keyframes verdict-in {
0% {
opacity: 0;
background-color: var(--surface);
}
40% {
opacity: 1;
background-color: var(--surface);
}
}
.anim .trace:not(.rewind) .move {
animation: step-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.anim .trace:not(.rewind) .verdict {
animation: verdict-in 0.9s ease-out 3.3s backwards;
}
.anim .trace:not(.rewind) .step:nth-child(1) .move-agent { animation-delay: 0.2s; }
.anim .trace:not(.rewind) .step:nth-child(1) .move-env { animation-delay: 0.5s; }
.anim .trace:not(.rewind) .step:nth-child(2) .move-agent { animation-delay: 0.8s; }
.anim .trace:not(.rewind) .step:nth-child(2) .move-env { animation-delay: 1.1s; }
.anim .trace:not(.rewind) .step:nth-child(3) .move-agent { animation-delay: 1.4s; }
.anim .trace:not(.rewind) .step:nth-child(3) .move-env { animation-delay: 1.75s; }
.anim .trace:not(.rewind) .step:nth-child(4) .move-agent { animation-delay: 2.1s; }
.anim .trace:not(.rewind) .step:nth-child(4) .move-env { animation-delay: 2.4s; }
.anim .trace:not(.rewind) .step:nth-child(5) .move-agent { animation-delay: 2.7s; }
.anim .trace:not(.rewind) .step:nth-child(5) .move-env { animation-delay: 3s; }
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
.trace .move,
.trace .verdict {
animation: none !important;
}
}
.band {
padding: var(--band) 0;
}
.band-alt {
background: rgb(235 233 239 / 0.6);
}
.band-head {
margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem);
}
.band-head h2 {
max-width: 20em;
font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.375rem);
line-height: 1.25;
font-weight: 700;
letter-spacing: 0.005em;
margin-bottom: 1rem;
}
.lang-en .band-head h2 {
letter-spacing: -0.02em;
line-height: 1.15;
}
.band-head p {
max-width: 38em;
color: var(--ink-2);
font-size: 1.125rem;
}
h3 {
font-size: 1.125rem;
line-height: 1.4;
font-weight: 650;
}
.units {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 2.5rem;
margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.unit {
border-top: 2px solid var(--ink);
padding-top: 1.25rem;
}
.unit dt {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.75rem;
}
.unit dd {
color: var(--ink-2);
}
.usage dl {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 2.5rem;
}
.usage .usage-row {
border-bottom: 1px solid var(--rule);
}
.deliver-inspector {
margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.usage h3,
.tree h3 {
margin-bottom: 1.25rem;
}
.usage-row {
padding: 1.25rem 0;
border-top: 1px solid var(--rule);
}
.usage-row:last-child {
border-bottom: 1px solid var(--rule);
}
.usage-row dt {
font-weight: 650;
margin-bottom: 0.35rem;
}
.usage-row dd {
color: var(--ink-2);
}
.usage-row dd strong {
display: block;
color: var(--wine);
font-weight: 650;
}
.tree {
background: var(--surface);
border: 1px solid var(--rule);
border-radius: var(--radius);
padding: 1.5rem;
}
.tree-body {
display: grid;
grid-template-columns: max-content minmax(0, 1fr);
gap: 0.6rem 1.75rem;
font-size: 0.9375rem;
line-height: 1.5;
}
.tree-body li {
display: contents;
}
.tree-path {
font-size: 0.875rem;
white-space: pre;
color: var(--ink);
}
.tree-note {
color: var(--ink-2);
}
.tree figcaption {
margin-top: 1.25rem;
padding-top: 1rem;
border-top: 1px solid var(--rule);
color: var(--ink-2);
font-size: 0.875rem;
}
.coverage {
width: 100%;
border-collapse: collapse;
font-size: 1rem;
}
.coverage th,
.coverage td {
text-align: left;
vertical-align: top;
padding: 1.5rem 1.5rem 1.5rem 0;
border-top: 1px solid var(--rule);
}
.coverage tr:last-child > * {
border-bottom: 1px solid var(--rule);
}
.coverage thead th {
padding-top: 0;
padding-bottom: 0.85rem;
border-top: 0;
border-bottom: 2px solid var(--ink);
color: var(--ink-2);
font-size: 0.875rem;
font-weight: 600;
}
.coverage tbody th {
width: 14%;
font-size: 1.125rem;
font-weight: 700;
}
.coverage td:nth-child(2) {
width: 36%;
}
.coverage td:last-child {
padding-right: 0;
}
.fineprint {
margin-top: 1.25rem;
color: var(--ink-2);
font-size: 0.8125rem;
}
.quality-grid {
display: grid;
grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
gap: clamp(2rem, 1rem + 3vw, 4.5rem);
align-items: start;
}
.pipeline {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2rem 2.5rem;
counter-reset: stage;
}
.pipeline li {
position: relative;
padding-left: 2.5rem;
counter-increment: stage;
}
.pipeline li::before {
content: counter(stage);
position: absolute;
left: 0;
top: 0;
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
background: var(--wine-tint);
color: var(--wine);
font-size: 0.875rem;
font-weight: 700;
line-height: 1.75rem;
text-align: center;
font-variant-numeric: tabular-nums;
}
.pipeline h3 {
margin-bottom: 0.3rem;
}
.pipeline p {
color: var(--ink-2);
}
.hacks {
background: var(--surface);
border: 1px solid var(--rule);
border-left: 3px solid var(--wine);
border-radius: 0 var(--radius) var(--radius) 0;
padding: 1.5rem;
}
.hacks h3 {
margin-bottom: 1rem;
}
.hacks li {
padding: 0.75rem 0;
border-top: 1px solid var(--rule);
color: var(--ink-2);
font-size: 0.9375rem;
}
.hacks li strong {
display: block;
color: var(--ink);
font-weight: 650;
}
.ladder {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 2rem;
counter-reset: rung;
}
.ladder li {
position: relative;
padding-top: 2.75rem;
counter-increment: rung;
}
.ladder li::before {
content: "";
position: absolute;
top: 0.875rem;
left: 0;
right: -2rem;
height: 2px;
background: var(--rule);
}
.ladder li:last-child::before {
right: 0;
}
.ladder li::after {
content: counter(rung);
position: absolute;
top: 0;
left: 0;
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
background: var(--wine);
color: #fff;
font-size: 0.875rem;
font-weight: 700;
line-height: 1.75rem;
text-align: center;
font-variant-numeric: tabular-nums;
}
.ladder h3 {
margin-bottom: 0.4rem;
}
.ladder p {
color: var(--ink-2);
}
.capacity {
margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
max-width: 40em;
font-size: 1.25rem;
line-height: 1.6;
font-weight: 600;
}
.closing {
padding: calc(var(--band) * 1.4) 0;
border-top: 1px solid var(--rule);
}
.closing-inner h2 {
max-width: 16em;
font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
line-height: 1.2;
font-weight: 700;
margin-bottom: 1.25rem;
}
.lang-en .closing-inner h2 {
letter-spacing: -0.02em;
}
.closing-inner > p {
max-width: 38em;
color: var(--ink-2);
font-size: 1.125rem;
margin-bottom: 2rem;
}
.closing .mail {
font-family: var(--mono);
font-size: 0.9375rem;
}
.closing-alt {
margin-top: 1.5rem;
color: var(--ink-2);
font-size: 0.9375rem;
}
.foot {
padding: 2rem 0 2.5rem;
font-size: 0.875rem;
color: var(--ink-2);
}
.foot-inner {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 2rem;
align-items: center;
}
.foot-brand {
color: var(--ink);
font-weight: 650;
}
.foot a {
color: var(--ink-2);
}
.foot-rights {
margin-left: auto;
}
@media (max-width: 64rem) {
.hero-grid,
.deliver-grid,
.quality-grid {
grid-template-columns: minmax(0, 1fr);
}
.hero-grid {
grid-template-areas:
"title"
"copy"
"trace";
}
.hero-copy {
padding-top: 0;
margin-bottom: 3rem;
}
.hero-line + .hero-line {
padding-left: 1.5em;
}
.ladder {
grid-template-columns: repeat(2, minmax(0, 1fr));
row-gap: 2.5rem;
}
.ladder li:nth-child(2n)::before {
right: 0;
}
}
@media (max-width: 64rem) {
.lang-en .nav {
display: none;
}
}
@media (max-width: 52rem) {
.usage dl {
grid-template-columns: minmax(0, 1fr);
}
.units {
grid-template-columns: minmax(0, 1fr);
gap: 2rem;
}
.coverage thead {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.coverage,
.coverage tbody,
.coverage tr,
.coverage th,
.coverage td {
display: block;
width: auto !important;
}
.coverage tr {
padding: 1.25rem 0;
border-top: 1px solid var(--rule);
}
.coverage tr:last-child {
border-bottom: 1px solid var(--rule);
}
.coverage th,
.coverage td,
.coverage tr:last-child > * {
border: 0;
padding: 0;
}
.coverage tbody th {
margin-bottom: 0.75rem;
}
.coverage td + td {
margin-top: 0.75rem;
}
.coverage td::before {
content: attr(data-label);
display: block;
color: var(--ink-2);
font-size: 0.8125rem;
font-weight: 600;
margin-bottom: 0.15rem;
}
.pipeline {
grid-template-columns: minmax(0, 1fr);
gap: 1.5rem;
}
.foot-rights {
margin-left: 0;
width: 100%;
}
}
@media (max-width: 44rem) {
.nav {
display: none;
}
}
@media (max-width: 40rem) {
.top-inner {
gap: 1rem;
}
.brand-local {
display: none;
}
.top-actions {
gap: 0.75rem;
}
.hero-line + .hero-line {
padding-left: 0.75em;
}
.trace {
padding: 1rem 1rem 1rem;
}
.trace-head {
display: none;
}
.step {
display: block;
padding-left: 1.5rem;
}
.trace-steps::before {
left: 0.3rem;
}
.move-agent,
.move-env {
text-align: left;
margin-top: 0;
padding: 0.4rem 0;
}
.move-agent::after,
.move-env::after {
left: calc(-1.5rem + 0.3rem - 5.5px);
right: auto;
top: 0.85rem;
}
.step:first-child .lane-tag {
position: static;
width: auto;
height: auto;
overflow: visible;
clip-path: none;
white-space: normal;
display: block;
color: var(--ink-2);
font-size: 0.75rem;
font-weight: 600;
}
.move-env {
padding-left: 1rem;
}
.move-env::after {
left: calc(-1.5rem + 0.3rem - 5.5px - 1rem);
}
.verdict {
grid-template-columns: minmax(0, 1fr);
grid-template-areas:
"label"
"checks"
"result";
}
.tree {
padding: 1.1rem;
}
.tree-body {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.tree-path {
margin-top: 0.6rem;
}
.tree-note {
padding-left: 2.2rem;
font-size: 0.875rem;
}
.tree-note:empty {
display: none;
}
.tree-path {
white-space: pre-wrap;
}
.ladder {
grid-template-columns: minmax(0, 1fr);
}
.ladder li::before {
right: auto;
top: 0;
bottom: -2.5rem;
left: 0.8125rem;
width: 2px;
height: auto;
}
.ladder li:last-child::before {
display: none;
}
.ladder li {
padding-top: 0;
padding-left: 2.75rem;
}
.capacity {
font-size: 1.125rem;
}
}
@media (max-width: 24.5rem) {
.top-inner {
gap: 0.75rem;
}
.top-actions {
gap: 0.5rem;
}
.lang-switch {
padding: 0.5rem 0;
}
.top .btn-small {
padding: 0 0.75rem;
}
.lang-zh .hero-title {
font-size: 2rem;
}
.lang-zh .hero-line + .hero-line {
padding-left: 0.5em;
}
}
@media (max-width: 23rem) {
.lang-en .brand-name {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
}
.bg {
opacity: 0;
transition: opacity var(--dur-slow) var(--ease-out);
}
.bg.is-ready {
opacity: 1;
}
.bg-canvas {
opacity: var(--bg-a, 1);
}
.bg-note {
position: absolute;
left: var(--gutter);
bottom: 1rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.25rem 0.6rem;
max-width: calc(100% - 2 * var(--gutter));
color: var(--ink-2);
font-size: 0.8125rem;
line-height: 1.5;
opacity: 0;
transition: opacity var(--dur-mid) var(--ease-out);
}
.bg.is-lead .bg-note {
opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
.bg {
transition-duration: 0.2s;
}
.bg-canvas {
transition: opacity 0.2s linear;
animation: bg-in-a 0.2s linear;
}
.bg.is-swap .bg-canvas {
animation-name: bg-in-b;
}
}
@keyframes bg-in-a {
from {
opacity: 0;
}
}
@keyframes bg-in-b {
from {
opacity: 0;
}
}
.inspector {
container: ti / inline-size;
}
.deliver-inspector > .inspector.is-live {
grid-column: 1 / -1;
}
.inspector [hidden],
.inspector.is-live > .ti-fallback,
.widget-failed > .ti {
display: none !important;
}
.ti {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr);
background: var(--surface);
border: 1px solid var(--ink);
border-radius: var(--radius);
overflow: hidden;
font-size: 1rem;
line-height: 1.5;
}
:where(.ti) button {
appearance: none;
margin: 0;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
}
.ti-cell,
.ti-badge,
.ti-pick,
.ti-btn,
.ti-gate,
.ti-row {
transition: background-color 100ms var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.ti-cell:focus-visible,
.ti-badge:focus-visible,
.ti-pick:focus-visible,
.ti-code:focus-visible {
outline-offset: -3px;
}
.ti-bar {
position: relative;
border-bottom: 1px solid var(--ink);
}
.ti-top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-bottom: 1px solid var(--rule);
}
.ti-cell {
display: grid;
align-content: center;
min-height: 2.75rem;
padding: 0.45em 0.875em;
background: var(--surface);
}
.ti-id {
display: flex;
flex-wrap: wrap;
align-items: baseline;
column-gap: 0.75em;
}
.ti-id .ti-v {
font-size: 0.9375em;
font-weight: 600;
}
.ti-cell:active,
.ti-row:active,
.ti-btn:active,
.ti-badge:active .sample-badge {
background: var(--paper-2);
}
.ti-kl {
display: flex;
gap: 0.5em;
font-size: 0.8125em;
color: var(--ink-2);
white-space: nowrap;
}
.ti .is-ok,
.ti .is-err {
border-color: var(--wine);
color: var(--wine);
}
.ti-cell:is(:hover, :focus-visible) .ti-k:not(.is-ok, .is-err) + .ti-hint {
position: static;
width: auto;
height: auto;
clip-path: none;
color: var(--wine);
}
.ti-v {
font: 0.8125em/1.45 var(--mono);
font-variant-numeric: tabular-nums;
overflow-wrap: anywhere;
}
.ti-sub {
font-family: var(--sans);
color: var(--ink-2);
}
.ti-meta {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
background: var(--rule);
}
.ti-meta li {
display: grid;
}
.ti-meta li:first-child {
grid-column: 1 / -1;
}
.ti-badge {
display: flex;
align-items: center;
min-height: 2.75rem;
padding: 0 0.875em;
}
.ti-badge[aria-expanded="true"] .sample-badge {
border-color: var(--wine);
color: var(--ink);
}
.ti-badge .sample-badge::after,
.ti-pick::after,
.ti-row::before {
content: "";
width: 0.4em;
height: 0.4em;
border-right: 1.5px solid var(--ink-2);
border-bottom: 1.5px solid var(--ink-2);
transform: translateY(-25%) rotate(45deg);
transition: transform 120ms var(--ease-out);
}
.ti-badge[aria-expanded="true"] .sample-badge::after,
.ti-pick[aria-expanded="true"]::after {
transform: translateY(25%) rotate(-135deg);
}
.ti-note {
padding: 0.75em 1.1em;
border-bottom: 1px solid var(--rule);
background: var(--paper);
color: var(--ink-2);
font-size: 0.8125em;
line-height: 1.6;
}
.ti-pick {
display: flex;
align-items: center;
gap: 0.6em;
width: 100%;
min-height: 2.75rem;
padding: 0.5em 1em;
}
.ti-pick .ti-k {
font-size: 0.8125em;
color: var(--ink-2);
}
.ti-pick-path {
flex: 1;
font: 600 0.875em/1.4 var(--mono);
overflow-wrap: anywhere;
}
.ti-pick[aria-expanded="false"] + .ti-tree {
display: none;
}
.ti-tree {
padding: 0.4em 0;
overflow: auto;
border-top: 1px solid var(--rule);
}
.ti-tree [role="treeitem"] {
outline: none;
}
.ti-tree [role="group"] {
position: relative;
}
.ti-tree [role="group"]::before {
content: "";
position: absolute;
top: 0;
bottom: 0.5em;
left: calc((0.8em + var(--lvl) * 1.3em) * 0.8125);
width: 1px;
background: var(--rule);
}
.ti-row {
position: relative;
display: block;
padding: 0 0.75em 0 calc(1.75em + var(--lvl) * 1.3em);
font: 0.8125em/3.385 var(--mono);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}
.ti-row::before {
display: none;
position: absolute;
top: 50%;
left: calc(0.6em + var(--lvl) * 1.3em);
margin-top: -0.2em;
}
[aria-expanded] > .ti-row::before {
display: block;
}
[aria-expanded="false"] > .ti-row::before {
transform: rotate(-45deg);
}
[aria-expanded="false"] > [role="group"] {
display: none;
}
[role="treeitem"]:focus-visible > .ti-row {
outline: 2px solid var(--wine);
outline-offset: -2px;
}
.ti [aria-selected="true"] > .ti-row {
background: var(--wine-tint);
box-shadow: inset 2px 0 var(--wine);
color: var(--wine-2);
font-weight: 600;
}
.ti-main {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
border-top: 1px solid var(--rule);
}
.ti-head {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 0.75em;
padding: 0.4em 0.6em 0.4em 1em;
border-bottom: 1px solid var(--rule);
}
.ti-path {
display: none;
flex: 1;
min-width: 0;
font: 600 0.8125em/1.4 var(--mono);
overflow-wrap: anywhere;
}
.ti-btn {
flex: none;
min-height: 2.75rem;
padding: 0 0.9em;
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
font-size: 0.8125em;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
}
.ti-notice {
padding: 0.5em 1em;
border-bottom: 1px solid var(--rule);
background: var(--paper);
color: var(--ink-2);
font-size: 0.8125em;
line-height: 1.55;
}
.ti-notice strong {
color: var(--ink);
}
.ti-mount {
background: var(--wine-tint);
color: var(--wine-2);
}
.ti-code {
flex: 1;
min-height: 0;
max-height: 24rem;
overflow: auto;
padding: 0.6em 0 1em;
counter-reset: ln;
}
.ti-lines {
display: block;
font: 0.8125em/1.6 var(--mono);
color: var(--ink);
}
.ti-l {
position: relative;
display: block;
min-height: 1.6em;
padding: 0 1em 0 4em;
white-space: pre-wrap;
overflow-wrap: anywhere;
counter-increment: ln;
}
.ti-l::before {
content: counter(ln);
position: absolute;
left: 0;
width: 2.75em;
text-align: right;
color: var(--ink-2);
}
.ti-l.is-add {
background: var(--wine-tint);
}
.ti-l.is-del::after {
content: "";
position: absolute;
inset: 0;
background: repeating-linear-gradient(-45deg, var(--del-hatch) 0 1px, transparent 1px 6px);
opacity: 0.2;
pointer-events: none;
}
[class^="hl-k"],
.hl-ow,
.hl-nd,
.hl-nt {
color: var(--wine);
}
.hl-k,
.hl-kn,
.hl-kd,
.hl-nf,
.hl-nc,
.hl-gh,
.hl-gu {
font-weight: 600;
}
.hl-kc,
[class^="hl-m"],
.hl-nb,
.hl-nv,
.hl-vm,
.hl-sb,
.hl-gi {
color: var(--wine-2);
}
[class^="hl-s"]:not(.hl-sb),
[class^="hl-c"],
.hl-o,
.hl-p,
.hl-gu {
color: var(--ink-2);
}
[class^="hl-c"],
.hl-sd {
font-style: italic;
}
.ti-aside {
display: grid;
gap: 1em;
padding: 0.9em 1em 1em;
border-top: 1px solid var(--rule);
}
.ti-h {
margin-bottom: 0.4em;
font-size: 0.8125em;
font-weight: 600;
color: var(--ink-2);
}
.ti-use {
font-size: 0.875em;
}
.ti-gates {
display: grid;
gap: 0.5em;
}
.ti-gate {
display: grid;
grid-template-columns: 1.6em minmax(0, 1fr);
gap: 0.6em;
width: 100%;
padding: 0.6em 0.75em;
border: 1px solid var(--rule);
border-radius: 6px;
}
.ti-gate:active {
background: var(--wine-tint);
}
.ti-gn {
display: grid;
place-items: center;
width: 1.6em;
height: 1.6em;
border-radius: 50%;
background: var(--wine-tint);
color: var(--wine);
font-size: 0.8125em;
font-weight: 700;
}
.ti-gt,
.ti-tip {
font-size: 0.8125em;
color: var(--ink-2);
}
.ti-gt strong {
display: block;
color: var(--ink);
font-size: 1.077em;
font-weight: 650;
}
.ti-tip {
margin-top: 0.6em;
}
.ti-bench {
display: grid;
gap: 0.5em;
padding: 0.9em 1em 1em;
border-top: 1px solid var(--ink);
background: var(--paper);
}
.ti-bench-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.25em 1em;
margin-bottom: 0.25em;
}
.ti-bench-head h3 {
font-size: 0.9375em;
}
.ti-bench-head p {
flex: 1 1 18em;
font-size: 0.8125em;
color: var(--ink-2);
}
.ti .ti-play {
border-color: var(--wine);
background: var(--wine);
color: var(--surface);
}
.ti-cols {
display: none;
}
.ti-step {
display: grid;
grid-template-columns: 1.5em minmax(0, 1fr);
column-gap: 0.5em;
align-items: center;
padding: 0.25em 0.4em;
border-radius: 4px;
font-size: 0.8125em;
line-height: 1.55;
transition: opacity var(--dur-fast) var(--ease-out), background-color 120ms var(--ease-out);
}
.ti-step > :nth-child(n + 3) {
grid-column: 2;
}
.ti-sn {
align-self: start;
font-family: var(--mono);
color: var(--ink-2);
}
.ti-step[data-s="wait"] {
opacity: 0.35;
}
.ti-step[data-s="run"] {
background: var(--wine-tint);
}
.ti-f2p,
.ti-p2p {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.25em 0.6em;
}
.ti-lab,
.ti-done {
color: var(--ink-2);
}
.ti-cells {
display: inline-flex;
flex-wrap: wrap;
gap: 2px;
}
.ti-cells i {
width: 0.54em;
height: 1.08em;
border-radius: 1px;
background: var(--rule);
}
.ti-cells .f {
background: var(--fail);
}
.ti-cells .p {
background: var(--pass);
}
.ti-res {
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.ti-num {
font-family: var(--mono);
}
.ti-res.is-pass {
color: var(--pass);
}
.ti-res.is-fail {
color: var(--fail);
}
.ti-res.is-run {
color: var(--ink-2);
}
.ti-res.is-pass::before,
.ti-done::before {
content: "\2713\00a0";
}
.ti-res.is-fail::before {
content: "\2717\00a0";
}
.ti-res.is-wait,
.ti-step:is([data-s="wait"], [data-s="run"]) :is(.ti-done, strong.ti-res) {
visibility: hidden;
}
.ti-cell:hover,
.ti-pick:hover,
.ti-row:hover {
background: var(--paper);
}
.ti-badge:hover .sample-badge,
.ti-btn:hover {
border-color: var(--ink-2);
}
.ti-gate:hover {
border-color: var(--wine);
}
.ti .ti-play:is(:hover, :active) {
background: var(--wine-2);
}
@container ti (min-width: 640px) {
.ti {
grid-template-columns: 14em minmax(0, 1fr);
}
.ti-bar,
.ti-aside,
.ti-bench {
grid-column: 1 / -1;
}
.ti-meta {
display: flex;
flex-wrap: wrap;
}
.ti-v {
white-space: nowrap;
}
.ti-meta li {
flex: 1 1 auto;
}
.ti-note {
position: absolute;
z-index: 2;
top: 2.75rem;
right: 0.75em;
width: 24em;
max-width: calc(100% - 1.5em);
border: 1px solid var(--ink);
border-radius: 6px;
background: var(--surface);
}
.ti-side {
display: flex;
flex-direction: column;
min-height: 0;
border-right: 1px solid var(--rule);
}
.ti-pick {
display: none;
}
.ti-path {
display: block;
}
.ti-pick[aria-expanded="false"] + .ti-tree {
display: block;
}
.ti-tree {
flex: 1;
border-top: 0;
}
.ti-row {
line-height: 1.7;
}
.ti-main {
height: 30em;
border-top: 0;
}
.ti-code {
max-height: none;
}
.ti-btn {
min-height: 2.25em;
}
}
@container ti (min-width: 960px) {
.ti {
height: 43.75em;
font-size: min(1rem, 100cqw / 70);
grid-template-columns: 15em minmax(0, 1fr) 15em;
grid-template-rows: auto minmax(0, 1fr) auto;
}
.ti-main {
height: auto;
}
.ti-aside {
grid-column: auto;
align-content: start;
gap: 1.25em;
min-height: 0;
overflow: auto;
border-top: 0;
border-left: 1px solid var(--rule);
}
.ti-bench {
gap: 0;
padding: 0.7em 1em 0.75em;
}
.ti-cols,
.ti-step {
display: grid;
grid-template-columns: 1.5em minmax(0, 21em) minmax(0, 1fr) 17em;
column-gap: 0.75em;
}
.ti-cols {
padding: 0 0.4em 0.3em;
margin-bottom: 0.3em;
border-bottom: 1px solid var(--rule);
font-size: 0.8125em;
color: var(--ink-2);
}
.ti-cols span {
grid-column: 3;
}
.ti-cols span + span {
grid-column: 4;
}
.ti-step {
padding: 0.1em 0.4em;
}
.ti-step > :nth-child(n + 3) {
grid-column: auto;
}
.ti-step[data-kind="verdict"] .ti-st {
grid-column: 2 / -1;
}
.ti-f2p,
.ti-p2p,
.ti-cells {
flex-wrap: nowrap;
}
.ti-lab {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
}
@media (pointer: coarse) {
.ti-row {
line-height: 3.385;
}
.ti-btn {
min-height: 2.75rem;
}
}
@media (prefers-reduced-motion: reduce) {
.ti * {
transition-property: opacity, background-color, border-color !important;
}
}
.player {
--lab: 9.5rem;
--pl-in: 180ms;
padding: 1.25rem 1.5rem 1.5rem;
background: var(--surface);
border: 1px solid var(--rule);
border-radius: var(--radius);
font-size: 0.9375rem;
line-height: 1.55;
}
.player:not(.pl-on) .pl-js,
.player [hidden],
.pl-score,
.pl-play .i2,
.pl-playing .pl-play .i1,
.pl-stat span + span,
.pl-rep .s-repro span,
.pl-graded .s-hidden span,
.pl-fold :is(.k-read, .k-search)::before,
.pl-fold .pl-step:is(.k-read, .k-search) {
display: none !important;
}
.pl-playing .pl-play .i2,
.pl-rep .s-repro span + span,
.pl-graded .s-hidden span + span {
display: inline !important;
}
.pl-head,
.pl-key,
.pl-key li,
.pl-chip,
.pl-tags,
.pl-ctl,
.pl-opts,
.pl-speed,
.pl-foot,
.pl-stat {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.375rem 1rem;
}
.pl-head {
padding-bottom: 1rem;
border-bottom: 1px solid var(--rule);
}
.pl-repo,
.pl-key,
.pl-count,
.pl-files,
.pl-out,
.pl-hint,
.pl-lanes,
.pl-mk,
.pl-n,
.pl-step code,
.pl-stat dt,
.pl-m {
color: var(--ink-2);
}
.pl-key,
.pl-chip,
.pl-mk,
.pl-lanes,
.pl-n,
.pl-m,
.pl-stat dt,
.pl-step code,
.pl-term,
.pl-files {
font-size: 0.8125rem;
}
.pl-key {
margin-left: auto;
}
.pl-key li,
.pl-chip {
display: inline-flex;
gap: 0.375rem;
}
.pl-a,
.pl-e {
--dx: -8px;
display: block;
height: 1.25rem;
border: 1.5px solid var(--ink);
border-radius: 3px;
background: var(--surface);
}
.k-edit .pl-a {
border-color: var(--wine);
background: var(--wine);
}
.k-run .pl-a {
background: var(--ink);
}
.k-submit .pl-a {
border-color: var(--wine);
background: var(--wine-tint);
}
.pl-e {
--dx: 8px;
border: 1px solid var(--rule);
background: var(--paper-2);
font-size: 0.75rem;
font-weight: 700;
line-height: 1.125rem;
text-align: center;
}
.x-pass .pl-e {
border-color: var(--pass);
background: var(--pass-tint);
}
.x-fail .pl-e {
border-color: var(--fail);
background: var(--fail-tint);
}
.x-pass .pl-e,
.pl-pass,
.pl-count .pl-pass,
.pl-fb {
color: var(--pass);
}
.x-fail .pl-e,
.pl-fail {
color: var(--fail);
}
.pl-key .pl-a,
.pl-key .pl-e,
.pl-chip .pl-a,
.pl-dts {
width: 1.125rem;
height: 0.875rem;
line-height: 0.75rem;
}
.pl-dts,
.pl-note,
.pl-nt,
.pl-dl {
border: 1.5px dashed var(--ink-2);
border-radius: 6px;
}
.pl-m,
.pl-chip {
border: 1px solid var(--rule);
border-radius: 6px;
}
.pl-chip,
.pl-m,
.pl-dl {
padding: 0 0.5rem;
}
.pl-detail {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
gap: 1rem 1.5rem;
margin-top: 1.25rem;
}
.pl-term {
min-height: calc((var(--lines, 6) + 1) * 1.6em + 2.25rem);
padding: 0.875rem 1rem;
background: var(--paper);
border-radius: 6px;
font-family: var(--mono);
line-height: 1.6;
}
.pl-hint {
font: 0.9375rem var(--sans);
}
.pl-cmd,
.pl-say,
.pl-mk.at,
.pl-gout p:last-child {
font-weight: 600;
overflow-wrap: anywhere;
}
.pl-cmd span,
.pl-more,
.pl-mk.at {
color: var(--wine);
}
.pl-cmd code {
font-size: 1em;
}
.pl-out {
margin: 0.5rem 0 0;
font: inherit;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.pl-more,
.pl-mk {
min-height: 2.75rem;
padding: 0 0.5rem;
border: 0;
background: none;
font-family: inherit;
white-space: nowrap;
cursor: pointer;
}
.pl-more {
padding: 0;
}
.pl-gout p {
margin-bottom: 0.5rem;
}
.pl-gout p:last-child {
color: var(--pass);
font-size: 1.125rem;
}
.pl-meta {
display: grid;
}
.pl-mi {
grid-area: 1 / 1;
}
.pl-mi:not(.cur) {
visibility: hidden;
}
.pl-count b {
margin-right: 0.375rem;
color: var(--ink);
font-size: 1.75rem;
font-weight: 650;
}
.pl-tags {
margin: 0.75rem 0 0.5rem;
}
.pl-files {
font-family: var(--mono);
overflow-wrap: anywhere;
}
.pl-note,
.pl-nt {
display: block;
margin-top: 0.75rem;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
font-style: normal;
}
.pl-score {
grid-template-columns: var(--lab) minmax(0, 1fr);
padding-top: 2.25rem;
}
.pl-lanes,
.pl-col {
display: grid;
grid-template-rows: 1.25rem 1.25rem;
gap: 0.75rem;
padding: 0.5rem 1rem 0.5rem 0;
align-items: center;
font-weight: 600;
text-align: right;
}
.pl-grid,
.pl-track {
display: grid;
grid-template-columns: var(--cols);
}
.pl-grid {
background: linear-gradient(var(--rule) 0 0) 0 1.125rem / 100% 1px no-repeat,
linear-gradient(var(--rule) 0 0) 0 3.125rem / 100% 1px no-repeat;
}
.pl-col {
position: relative;
padding-right: 0;
border-radius: 6px;
cursor: pointer;
}
.pl-col .pl-a,
.pl-col .pl-e {
width: 62%;
margin-left: 8%;
}
.pl-col .pl-e {
margin-left: 30%;
}
.pl-col > *,
.pl-g > *,
.pl-col.wait > .pl-e {
opacity: 0.2;
transition: opacity var(--dur-fast) var(--ease-out);
}
.pl-col.on > *,
.pl-step.on .pl-g > * {
opacity: 1;
}
.pl-col.cur:not(.pl-fin),
.pl-on .pl-step.cur {
background: var(--wine-tint);
}
.pl-col.in > .pl-a,
.pl-col.ein > .pl-e,
.pl-fin.in .pl-fb,
.pl-out.fade {
animation: pl-in var(--pl-in) var(--ease-out);
}
@keyframes pl-in {
from {
opacity: 0;
transform: translateX(var(--dx, 0));
}
}
.pl-col::before {
content: attr(data-n);
position: absolute;
bottom: 100%;
left: 8%;
width: 62%;
font-size: 0.75rem;
font-weight: 400;
text-align: center;
}
.pl-col.dt::before {
content: attr(data-dt);
left: 0;
white-space: nowrap;
}
.pl-col.dt::after,
.pl-step.dt::after {
content: "";
position: absolute;
inset: -3px 0;
border: 0 dashed var(--ink-2);
border-width: 1.5px 0;
pointer-events: none;
}
.pl-col.dt-s::after {
border-left-width: 1.5px;
border-radius: 6px 0 0 6px;
}
.pl-col.dt-e::after {
border-right-width: 1.5px;
border-radius: 0 6px 6px 0;
}
.pl-fin {
display: flex;
align-items: stretch;
padding-left: 1.25rem;
}
.pl-fin::before {
content: "";
top: 0.5rem;
bottom: 0.5rem;
left: 0.375rem;
width: 7px;
border: solid var(--ink);
border-width: 0 3px 0 1px;
}
.pl-fb {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid var(--pass);
border-radius: 6px;
background: var(--pass-tint);
font: 600 0.8125rem var(--mono);
white-space: nowrap;
}
.pl-fold .pl-col:is(.k-read, .k-search) > * {
width: 2px;
margin-left: 2px;
}
.pl-dock {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 0.5rem;
margin-top: 1rem;
}
.pl-ctl {
gap: 2px;
}
.pl-track {
height: 2.75rem;
cursor: pointer;
touch-action: pan-y;
}
.pl-seg {
position: relative;
background: linear-gradient(var(--rule) 0 0) 0 50% / 100% 2px no-repeat;
}
.pl-seg.on {
background-image: linear-gradient(var(--ink) 0 0);
}
.pl-seg.mk::before,
.pl-seg.cur::after {
content: "";
position: absolute;
top: 30%;
bottom: 30%;
left: calc(50% - 1px);
width: 2px;
background: var(--ink-2);
}
.pl-seg.cur::after {
top: calc(50% - 0.4375rem);
left: calc(50% - 0.4375rem);
width: 0.875rem;
height: 0.875rem;
border-radius: 50%;
background: var(--wine);
box-shadow: 0 0 0 3px var(--surface);
}
.pl-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 2.75rem;
min-height: 2.75rem;
padding: 0 0.75rem;
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
color: var(--ink);
font: 600 0.875rem var(--sans);
cursor: pointer;
transition: border-color var(--dur-fast), opacity var(--dur-fast);
}
.pl-btn:hover {
border-color: var(--ink-2);
}
.pl-mk:hover {
color: var(--ink);
}
.pl-btn:active {
opacity: 0.75;
}
.pl-play,
.pl-btn[aria-pressed="true"] {
border-color: var(--ink);
background: var(--ink);
color: var(--surface);
}
.pl-btn[aria-disabled="true"] {
opacity: 0.4;
cursor: default;
}
.pl-btn svg {
width: 1rem;
fill: currentColor;
}
.pl-ctl .pl-btn,
.pl-speed .pl-btn {
padding: 0;
}
.pl-foot {
justify-content: space-between;
margin-top: 0.75rem;
padding-top: 1rem;
border-top: 1px solid var(--rule);
}
.pl-speed {
gap: 0.25rem;
}
.pl-stat {
gap: 0.5rem 1.75rem;
}
.pl-stat dd {
font-weight: 600;
white-space: nowrap;
}
.pl-count,
.pl-n,
.pl-chip,
.pl-stat dd {
font-variant-numeric: tabular-nums;
}
.pl-steps {
margin-top: 1rem;
}
.pl-step {
position: relative;
display: flex;
gap: 0.75rem;
padding: 0.625rem 0.5rem;
border-top: 1px solid var(--rule);
border-radius: 6px;
}
.pl-on .pl-step {
cursor: pointer;
}
.pl-n {
flex: none;
width: 1.5rem;
line-height: 1.9;
text-align: right;
}
.pl-b {
min-width: 0;
}
.pl-step code {
display: block;
overflow-wrap: anywhere;
}
.pl-r {
font-size: 0.875rem;
font-weight: 600;
white-space: nowrap;
}
.pl-dl,
.pl-m {
display: inline-block;
margin-right: 0.5rem;
font-size: 0.75rem;
}
.pl-gr {
background: var(--pass-tint);
}
.pl-g {
display: grid;
flex: none;
grid-template-rows: 0.75rem 0.75rem;
gap: 0.25rem;
padding-top: 0.3rem;
}
.pl-g > * {
width: 1.25rem;
height: 0.75rem;
font-size: 0;
}
.pl-g .pl-e {
margin-left: 0.625rem;
}
.pl-step.dt::after {
inset: 0;
border-width: 0 1.5px;
}
.pl-step.dt-s::after {
border-top-width: 1.5px;
border-radius: 6px 6px 0 0;
}
.pl-step.dt-e::after {
border-bottom-width: 1.5px;
border-radius: 0 0 6px 6px;
}
@media (min-width: 40.0625rem) and (prefers-reduced-motion: no-preference) {
.pl-on .pl-score {
display: grid !important;
}
.motion-ready .player:not(.widget-failed) {
min-height: 39rem;
}
.motion-ready .player:not(.widget-failed) .pl-steps {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.pl-dock {
grid-template-columns: var(--lab) minmax(0, 1fr);
margin-top: 0.25rem;
}
.pl-ctl {
justify-content: flex-end;
padding-right: 1rem;
}
.pl-marks {
display: grid;
grid-template-columns: var(--cols);
margin-left: var(--lab);
}
.pl-mk {
grid-area: 1 / var(--c);
justify-self: center;
}
}
@media (max-width: 40rem) {
.player {
padding: 1rem;
}
.pl-key {
margin-left: 0;
}
.pl-detail {
grid-template-columns: minmax(0, 1fr);
}
.pl-meta {
order: -1;
}
.pl-mi :is(.pl-note, .pl-files) {
display: none;
}
}
@media (max-width: 40rem) and (prefers-reduced-motion: no-preference) {
.pl-on .pl-step code {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.pl-dock {
position: sticky;
bottom: 0;
z-index: 2;
margin: 0 -1rem;
padding: 0.25rem 1rem;
border-top: 1px solid var(--rule);
background: var(--surface);
}
}
.pipeline-wrap:not(.qg-on) .qg-vis {
display: none;
}
.pipeline p,
.hacks li {
text-wrap: pretty;
}
.qg-adds,
.qg-drop {
margin-top: 0.5rem;
color: var(--ink-2);
font-size: 0.875rem;
line-height: 1.6;
}
.qg-adds code {
display: inline-block;
margin: 0.15rem 0 0 0.3rem;
padding: 0 0.4rem;
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
color: var(--ink);
overflow-wrap: anywhere;
}
.qg-drop::before,
.qg-why::after {
content: "×";
margin: 0 0.4em;
color: var(--fail);
font-weight: 700;
}
.qg-drop::before {
margin-left: 0;
}
.qg-on .qg-scroll {
height: calc(100vh + 8 * 35vh);
}
.qg-on .qg-stage {
--lane: 1.75rem;
--track: 1.75rem;
--row: 1.625rem;
--t: var(--dur-mid) var(--ease-out);
position: sticky;
top: 0;
height: 100vh;
display: flex;
flex-direction: column;
padding: 5.5rem 0 2rem;
}
.qg-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem 1rem;
}
.qg-count {
font-size: 1.125rem;
font-weight: 650;
font-variant-numeric: tabular-nums;
}
.qg-skip {
display: inline-flex;
align-items: center;
min-height: 2.75rem;
margin-left: auto;
font-size: 0.9375rem;
}
.qg-rail {
container-type: inline-size;
display: grid;
grid-template-columns: repeat(9, minmax(0, 1fr));
margin-top: auto;
}
.qg-gate {
position: relative;
display: grid;
align-content: end;
min-height: 2.75rem;
padding: 0.25rem 0.125rem 0.625rem;
border: 0;
background: none;
color: var(--ink-2);
font: inherit;
font-size: 0.875rem;
line-height: 1.3;
text-align: center;
cursor: pointer;
transition: color var(--dur-fast) var(--ease-out);
}
.qg-n {
font-variant-numeric: tabular-nums;
}
.qg-gate::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
width: 1px;
height: calc(3 * var(--lane) + var(--track) / 2);
background: var(--rule);
}
.qg-gate.on,
.qg-gate:hover {
color: var(--ink);
}
.qg-gate.on::after {
background: var(--ink-2);
}
.qg-gate.is-cur {
color: var(--wine);
font-weight: 650;
}
.qg-gate.is-cur::after {
width: 2px;
background: var(--wine);
}
.qg-gate:active {
opacity: 0.7;
}
.qg-lanes,
.qg-dock {
grid-column: 1 / -1;
position: relative;
}
.qg-lanes {
z-index: 1;
}
.qg-lane,
.qg-track {
position: relative;
height: var(--lane);
}
.qg-track {
height: var(--track);
}
.qg-cand,
.qg-pkg {
position: absolute;
top: 50%;
left: 0;
transform: translate(calc(var(--x, 0.0556) * 100cqw - 50%), -50%);
}
.qg-dir {
position: relative;
display: block;
width: 1.25rem;
height: 0.875rem;
border: 1.5px solid;
border-radius: 1px 3px 3px;
}
.qg-dir::before {
content: "";
position: absolute;
left: -1.5px;
bottom: 100%;
width: 0.55rem;
height: 0.25rem;
border: 1.5px solid;
border-bottom: 0;
border-radius: 2px 2px 0 0;
background: inherit;
}
.qg-cand {
color: color-mix(in srgb, var(--ink-2) 55%, var(--paper));
}
.qg-cand .qg-dir {
background: var(--paper);
transition: opacity var(--t), transform var(--t);
}
.qg-cand .qg-dir.on {
opacity: 0;
transform: translateY(12px);
}
.qg-why {
position: absolute;
top: 50%;
right: calc((8.5 - var(--g, 0)) / 9 * 100%);
padding-left: 0.375rem;
background: var(--paper);
color: var(--ink-2);
font-size: 0.8125rem;
white-space: nowrap;
opacity: 0;
transform: translate(0.25rem, -50%);
transition: opacity var(--t), transform var(--t);
}
.qg-why.on {
opacity: 1;
transform: translate(0, -50%);
}
.qg-line {
position: absolute;
top: 50%;
left: 5.556%;
right: 5.556%;
height: 2px;
margin-top: -1px;
background: var(--rule);
}
.qg-fill {
display: block;
height: 100%;
background: var(--wine);
transform-origin: left;
transform: scaleX(calc((var(--x, 0.0556) * 9 - 0.5) / 8));
}
.qg-pkg {
z-index: 1;
color: var(--wine);
}
.qg-pkg .qg-dir {
width: 1.5rem;
height: 1.05rem;
background: var(--wine);
box-shadow: 0 0 0 3px var(--paper);
}
.qg-pkg::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
width: 1px;
height: calc(var(--track) / 2 + 0.25rem);
background: var(--wine);
}
.qg-dock {
height: calc(9 * var(--row) + 2.25rem);
}
.qg-card {
position: absolute;
top: 0.75rem;
left: 0;
min-width: 15rem;
padding: 0.5rem 1rem 0.625rem;
border: 1px solid var(--rule);
border-radius: var(--radius);
background: var(--surface);
box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--ink) 45%, transparent);
font: 0.8125rem / var(--row) var(--mono);
white-space: nowrap;
transform: translateX(clamp(0px, calc(var(--x, 0.0556) * 100cqw - 50%), calc(100cqw - 100%)));
transition: border-color var(--t);
}
.qg-card.on {
border-color: var(--ink-2);
}
.qg-root {
font-weight: 650;
}
.qg-src,
.qg-empty,
.qg-pre {
color: var(--ink-2);
}
.qg-empty {
font-family: var(--sans);
}
.qg-src,
.qg-files li,
.qg-tag {
display: none;
transition: opacity var(--t), translate var(--t), transform var(--dur-slow) var(--ease-in-out);
}
.qg-src.on,
.qg-files li.on {
display: block;
}
.qg-empty.on {
display: none;
}
@starting-style {
.qg-src.on,
.qg-files li.on,
.qg-tag.on {
opacity: 0;
translate: 0 -0.25rem;
}
}
.qg-pre {
opacity: 0;
transition: opacity var(--t);
}
.qg-card.on .qg-pre {
opacity: 1;
}
.qg-card.on .qg-files li {
transform: translateY(calc(var(--d, 0) * var(--row)));
}
.qg-tag {
margin-left: 0.5rem;
padding: 0 0.4rem;
border-radius: 6px;
background: var(--wine-tint);
color: var(--wine);
font: 0.75rem / 1.6 var(--sans);
}
.qg-tag.on {
display: inline-block;
}
.qg-on .quality-grid {
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
margin-top: auto;
}
.qg-on .pipeline {
display: grid;
grid-template-columns: minmax(0, 1fr);
}
.qg-on .pipeline li,
.qg-on .hacks {
opacity: 0;
translate: 0 0.375rem;
transition: opacity var(--t), translate var(--t);
}
.qg-on .pipeline li {
grid-area: 1 / 1;
padding-left: 0;
}
.qg-on .pipeline li.is-cur,
.qg-on .hacks.is-cur {
opacity: 1;
translate: none;
}
.qg-on .pipeline li::before {
display: none;
}
.qg-on .pipeline h3 {
margin-bottom: 0.4rem;
font-size: 1.375rem;
}
.qg-on .pipeline p {
max-width: 32em;
font-size: 1.0625rem;
}
.qg-on :is(.qg-adds, .qg-drop, .qg-hb) {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
.qg-on .hacks {
padding: 1rem 1.25rem;
}
.qg-on .hacks h3 {
margin-bottom: 0.5rem;
font-size: 0.9375rem;
}
.qg-on .hacks ul {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 1rem;
}
.qg-on .hacks li {
position: relative;
padding: 0.35rem 0 0.35rem 1.75rem;
border: 0;
line-height: 1.4;
}
.qg-on .hacks li strong {
color: inherit;
font-weight: 600;
}
.qg-on .hacks li::before {
content: "";
position: absolute;
top: 0.4rem;
left: 0;
width: 1.125rem;
height: 1.125rem;
border: 1.5px solid var(--rule);
border-radius: 50%;
color: var(--surface);
font-size: 0.6875rem;
font-weight: 700;
line-height: 0.95rem;
text-align: center;
}
.qg-on .hacks li.on {
color: var(--ink);
}
.qg-on .hacks li.on::before {
content: "✓";
border-color: var(--pass);
background: var(--pass);
}
@media (max-height: 820px) {
.qg-on .qg-stage {
--lane: 1.375rem;
--track: 1.5rem;
--row: 1.375rem;
padding: 4.75rem 0 1.25rem;
}
}
.mx-on .mx-row {
cursor: pointer;
}
.mx-on .mx-row > * {
transition: background-color var(--dur-fast) var(--ease-out);
}
.mx-toggle {
display: flex;
align-items: center;
gap: 0.6rem;
width: 100%;
min-height: 2.75rem;
margin-top: -0.5rem;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
}
.mx-toggle::before {
content: "";
flex: none;
width: 0.45rem;
height: 0.45rem;
margin-left: 0.1rem;
border-right: 2px solid var(--ink-2);
border-bottom: 2px solid var(--ink-2);
transform: rotate(-45deg);
transition: transform var(--dur-mid) var(--ease-out);
}
.mx-toggle[aria-expanded="true"]::before {
border-color: var(--wine);
transform: rotate(45deg);
}
.mx-on .mx-row:not(.is-open) .mx-diff {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
color: var(--ink-2);
}
.mx-on .mx-row.is-open > * {
background: var(--surface);
}
@media (hover: hover) and (pointer: fine) {
.mx-on .mx-row:not(.is-open):hover > * {
background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.mx-on .mx-row:hover .mx-toggle {
color: var(--wine);
}
}
@media (min-width: 52.0625rem) {
.mx-on .coverage th:first-child {
padding-left: 1rem;
}
.mx-on .coverage td:last-child {
padding-right: 1rem;
}
}
@media (max-width: 52rem) {
.mx-on .mx-row {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.mx-on .mx-row.is-open {
background: var(--surface);
}
.mx-on .mx-row.is-open > * {
background: none;
}
}
.mx-quick {
margin-top: 1.25rem;
padding-top: 1rem;
border-top: 1px solid var(--rule);
}
.mx-title {
margin-bottom: 0.75rem;
color: var(--ink-2);
font-size: 0.8125rem;
font-weight: 650;
}
.mx-label {
margin-bottom: 0.4rem;
font-size: 0.875rem;
font-weight: 600;
line-height: 1.4;
}
.mx-metric {
position: relative;
margin: 0 -0.5rem;
padding: 0.5rem;
border-radius: 6px;
cursor: default;
}
.mx-metric + .mx-metric {
margin-top: 0.5rem;
}
.mx-pair {
display: grid;
grid-template-columns: 6em minmax(0, 1fr) 2.75em;
align-items: center;
gap: 0.35rem 0.75rem;
font-size: 0.8125rem;
line-height: 1.4;
}
.lang-en .mx-pair {
grid-template-columns: 8.5em minmax(0, 1fr) 2.75em;
}
.mx-who {
color: var(--ink-2);
}
.mx-bar {
height: 0.625rem;
}
.mx-ours {
color: var(--wine);
}
.mx-base {
color: var(--ink-2);
}
.mx-bar i {
display: block;
height: 100%;
border-radius: 2px;
background: currentColor;
transform-origin: left;
transform: scaleX(var(--w, 1));
transition: transform calc(var(--dur-mid) * 2) var(--ease-out);
}
.mx-base i {
transition-delay: 60ms;
}
.mx-on:not(.mx-grown) .mx-bar i {
transform: scaleX(0);
}
@starting-style {
.mx-bar i {
transform: scaleX(0);
}
}
.mx-v {
font-weight: 650;
font-variant-numeric: tabular-nums;
text-align: right;
}
.mx-src {
margin-top: 0.4rem;
color: var(--ink-2);
font-size: 0.8125rem;
line-height: 1.5;
}
@media (hover: hover) and (pointer: fine) {
.mx-metric {
transition: background-color var(--dur-fast) var(--ease-out);
}
.mx-metric:hover,
.mx-metric:focus-visible {
background: var(--paper);
}
.mx-src {
position: absolute;
left: 0.5rem;
bottom: calc(100% - 0.25rem);
z-index: 2;
width: max-content;
max-width: min(24rem, calc(100% - 1rem));
margin: 0;
padding: 0.5rem 0.75rem;
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--ink) 45%, transparent);
color: var(--ink);
opacity: 0;
translate: 0 0.25rem;
pointer-events: none;
transition: opacity var(--dur-fast) var(--ease-out), translate var(--dur-fast) var(--ease-out);
}
.mx-metric:hover .mx-src,
.mx-metric:focus-visible .mx-src {
opacity: 1;
translate: none;
}
}
.mx-chips {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.mx-chips li,
.mx-split ul {
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--paper);
}
.mx-chips li {
padding: 0.1rem 0.55rem;
font-size: 0.8125rem;
line-height: 1.6;
}
.mx-chips .mx-main {
border-color: var(--wine);
color: var(--wine);
font-weight: 650;
}
.mx-main span {
color: var(--ink-2);
font-weight: 400;
}
.mx-split {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.mx-split ul {
padding: 0.35rem 0.75rem;
font-size: 0.875rem;
line-height: 1.5;
}
.mx-split li {
padding: 0.15rem 0;
}
.mx-sealed ul {
border-style: dashed;
border-color: var(--ink-2);
background: none;
color: var(--ink-2);
}
.mx-note {
margin-top: 0.75rem;
color: var(--ink-2);
font-size: 0.8125rem;
line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
.mx-bar i,
.mx-toggle::before {
transition: none;
}
}
