body:has(> #lc-paper) { margin: 0; background: #fff; }
#lc-paper {
  --ink: #1b2633;
  --text: #2e3640;
  --muted: #59636d;
  --link: #29597a;
  --line: #dce0e5;
  --gutter: clamp(18px, 4vw, 44px);
  box-sizing: border-box;
  color-scheme: light;
  color: var(--text);
  background: white;
  font: 17px/1.62 "Inter", "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  padding: 0 var(--gutter) clamp(42px, 6vw, 88px);
  -webkit-font-smoothing: antialiased;
}
#lc-paper *, #lc-paper *::after, #lc-paper *::before { box-sizing: border-box; }
#lc-paper [hidden] { display: none !important; }
#lc-paper :where(h1,h2,p,figure,ul) { margin: 0; }
#lc-paper :is(a,button):focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
#lc-paper a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: #aebfcb;
  text-underline-offset: .18em;
}
#lc-paper a:hover { text-decoration-color: currentColor; }
#lc-paper button { font: inherit; cursor: pointer; }
#lc-paper .paper-header {
  margin-inline: calc(-1 * var(--gutter));
  text-align: center;
  background: linear-gradient(to bottom, #f5f8fa 0%, #f9fbfc 48%, #fff 90%);
  padding-top: clamp(28px, 4vw, 56px);
}
#lc-paper .paper-byline { max-width: 52rem; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
#lc-paper h1 { color: var(--ink); margin: 0 auto; font-size: clamp(1.75rem, 3.45vw, 2.7rem); line-height: 1.13; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
#lc-paper .authors { margin: 22px auto 0; font-size: clamp(18px, 1.65vw, 22px); font-weight: 550; line-height: 1.6; text-wrap: balance; }
#lc-paper .author-row { display: block; white-space: nowrap; }
#lc-paper .authors a { white-space: nowrap; }
#lc-paper .authors sup { font-size: .85em; line-height: 0; }
#lc-paper .affiliation { margin: 20px auto; }
#lc-paper .affiliation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px clamp(24px, 4vw, 44px); }
#lc-paper .affiliation img { display: block; width: auto; max-width: 100%; height: clamp(34px, 4.2vw, 46px); }
#lc-paper .resources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#lc-paper .resources a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 6px 19px; color: white; background: var(--ink); border: 1px solid var(--ink); border-radius: 5px; font-size: 17px; font-weight: 600; text-decoration: none; }
#lc-paper .resources a:hover { background: var(--link); border-color: var(--link); }
#lc-paper .resources .code { gap: 8px; color: var(--ink); background: none; }
#lc-paper .resources .code:hover { color: var(--link); background: none; }
#lc-paper .resources .code svg { width: 20px; height: 20px; fill: currentColor; }
#lc-paper .highlights { max-width: 48rem; margin: clamp(22px, 3vw, 40px) auto 0; }
#lc-paper .highlights h2 { font-size: 20px; margin: 0 0 10px; }
#lc-paper .highlights video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #131616; }
#lc-paper .prose, #lc-paper figcaption { max-width: 43rem; margin-inline: auto; }
#lc-paper .paper-figure { max-width: 50rem; margin: 24px auto; }
#lc-paper .overview { margin: clamp(26px, 3.6vw, 50px) auto 0; }
#lc-paper .paper-figure > a { display: block; line-height: 0; }
#lc-paper .paper-figure img { display: block; width: 100%; height: auto; }
#lc-paper figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#lc-paper figcaption b { color: var(--text); font-weight: 600; }
#lc-paper .paper-chart { position: relative; display: grid; }
#lc-paper .paper-chart.latency { grid-template-columns: 202fr 194fr; }
#lc-paper .paper-chart.results { grid-template-columns: 1fr 1fr; }
#lc-paper .paper-chart svg { display: block; width: 100%; height: auto; outline-offset: 2px; font-family: Roboto, "Inter", "Helvetica Neue", Arial, sans-serif; cursor: default; user-select: none; -webkit-tap-highlight-color: transparent; }
#lc-paper .paper-chart svg:focus { outline: none; }
#lc-paper .paper-chart svg:focus-visible { outline: 2px solid var(--link); }
#lc-paper .paper-chart text { pointer-events: none; }
#lc-paper .paper-chart .title { fill: #253548; font-weight: 700; }
#lc-paper .paper-chart .guide { opacity: 0; }
#lc-paper .paper-chart .active .guide { opacity: 1; }
#lc-paper .paper-chart .pt { transform-box: fill-box; transform-origin: center; transition: transform .12s; }
#lc-paper .paper-chart .pt.on { transform: scale(1.45); }
#lc-paper .paper-chart .bar { transition: opacity .12s; }
#lc-paper .paper-chart .active .bar:not(.on) { opacity: .4; }
#lc-paper .paper-chart .tip { position: absolute; z-index: 2; top: 0; left: 0; padding: 8px 12px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgb(27 38 51 / 15%); font-size: 12.5px; line-height: 1.4; white-space: nowrap; pointer-events: none; }
#lc-paper .paper-chart .tip b { display: block; color: var(--ink); font-weight: 600; }
#lc-paper .paper-chart .tip dl { display: grid; grid-template-columns: auto auto; gap: 0 16px; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
#lc-paper .paper-chart .tip dt { display: flex; align-items: center; gap: 7px; }
#lc-paper .paper-chart .tip dt i { width: 8px; height: 8px; border-radius: 50%; }
#lc-paper .paper-chart .tip dt.square i { border-radius: 2px; }
#lc-paper .paper-chart .tip dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
#lc-paper .paper-chart .tip .total { margin-top: 2px; color: var(--ink); font-weight: 600; }
#lc-paper .paper-section { margin-top: clamp(32px, 4.5vw, 60px); }
#lc-paper h2 { color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 1.96rem); line-height: 1.2; letter-spacing: -.034em; font-weight: 600; text-wrap: balance; }
#lc-paper .paper-section > p { margin-top: 13px; }
#lc-paper h2.centered { text-align: center; font-size: clamp(1.75rem, 3vw, 2.25rem); }
#lc-paper h2.centered::after { content: ""; display: block; width: 3rem; height: 5px; margin: .42em auto 0; border-radius: 3px; background: #bdd6ee; }
#lc-paper h3 { margin-block: 30px 0; color: var(--ink); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
#lc-paper h3.numbered { margin-top: clamp(38px, 5vw, 58px); font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.03em; }
#lc-paper h3.numbered mark { display: inline-block; padding: .2em .55em .24em; border-radius: 8px; background: #e3eef8; color: inherit; }
#lc-paper h3.numbered b { margin-right: .2em; font-weight: inherit; color: var(--link); }
#lc-paper h3.numbered + figure { margin-top: 20px; }
#lc-paper h3.numbered + #inference-player { margin-top: 4px; }
#lc-paper strong { color: var(--ink); font-weight: 600; }
#lc-paper .reference { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; }
#lc-paper pre { margin: 18px 0 0; padding: 14px 18px; overflow-x: auto; border-radius: 8px; background: #f2f5f8; color: var(--ink); font: 14px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
#lc-paper .paper-figure.narrow { max-width: 30rem; }
#lc-paper .clip { max-width: 50rem; margin: 34px auto 0; }
#lc-paper .clip-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 9px; }
#lc-paper .clip-bar b { color: var(--ink); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
#lc-paper .clip video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #131616; }
#lc-paper .clip figcaption { margin-top: 12px; color: var(--text); font-size: inherit; line-height: inherit; }
#lc-paper .speed { display: inline-flex; padding: 3px; border-radius: 8px; background: #edf0f3; }
#lc-paper .speed a { padding: 4px 13px; border-radius: 6px; color: var(--muted); font-size: 14px; font-weight: 550; line-height: 1.5; text-decoration: none; }
#lc-paper .speed a:hover { color: var(--ink); }
#lc-paper .speed a[aria-current] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgb(27 38 51 / 18%); }
@media (max-width: 560px) {
  #lc-paper { font-size: 16px; line-height: 1.58; }
  #lc-paper .authors { margin: 16px -12px 0; font-size: clamp(14px, 4.1vw, 18px); }
  #lc-paper .author-row { letter-spacing: -.025em; }
  #lc-paper .overview { margin-top: 18px; }
  #lc-paper .paper-figure figcaption { margin-top: 9px; }
  #lc-paper .paper-chart.latency { grid-template-columns: 1fr; row-gap: 18px; }
  #lc-paper .paper-chart.results { grid-template-columns: 1fr; }
}
