/* CounterStrike dataset landing page. */
.dataset-home {
  --research-sidebar-width: 248px;
  display: flex; flex-direction: column; min-height: 100svh; padding-left: var(--research-sidebar-width);
}
.research-sidebar { position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--research-sidebar-width); padding: 64px 32px 32px; background: var(--bg); z-index: 10; }
.research-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: fit-content; color: var(--fg); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.research-brand-detail { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 18px; letter-spacing: .02em; }
.research-brand:hover { color: var(--fg); text-decoration: none; }
.research-sections { display: contents; }
.research-nav { display: flex; flex-direction: column; margin-top: 30px; }
.counterstrike-page .research-nav-heading { margin: 0 0 5px; color: var(--fg); font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: normal; text-transform: none; }
.research-nav > a, .research-nav-pending { display: block; padding: 5px 0; font-size: 12px; line-height: 18px; }
.research-nav > a:hover { color: var(--fg); text-underline-offset: 3px; }
.research-nav-pending { margin-top: 4px; padding-top: 3px; color: var(--faint); cursor: default; }
.research-sidebar-footer { margin-top: auto; padding-top: 32px; }
.research-author { color: var(--fg); font-size: 13px; font-weight: 500; text-decoration: none; }
.research-author:hover, .research-author:focus-visible { color: var(--fg); text-decoration: none; }
.research-socials { display: flex; gap: 10px; margin-top: 10px; margin-left: -3px; }
.research-socials a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 3px; color: var(--muted); }
.research-socials a:hover { color: var(--fg); text-decoration: none; }
.research-socials svg { display: block; width: 16px; height: 16px; }
.rendering-status { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.rendering-project { display: inline-flex; align-items: center; gap: 6px; }
.rendering-ring { display: block; flex: none; width: 12px; height: 12px; fill: none; stroke-width: 1.4; }
.rendering-ring-track { stroke: var(--border); }
.rendering-ring-fill { stroke: var(--cs-blue-label); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--ring-offset, 100); transform: rotate(-90deg); transform-origin: center; }
.rendering-status:has(.rendering-ellipsis) { gap: 0; }
.rendering-ellipsis { display: inline-flex; }
.rendering-ellipsis i, .render-ellipsis i { font-style: normal; }
.rendering-ellipsis i:nth-child(2), .render-ellipsis i:nth-child(2) { animation: rendering-dot-two 1.5s steps(1, end) infinite; }
.rendering-ellipsis i:nth-child(3), .render-ellipsis i:nth-child(3) { animation: rendering-dot-three 1.5s steps(1, end) infinite; }
@keyframes rendering-dot-two { 0% { opacity: 0; } 33.333%, 100% { opacity: 1; } }
@keyframes rendering-dot-three { 0% { opacity: 0; } 66.667%, 100% { opacity: 1; } }
.rendering-dot { display: inline-block; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--cs-blue-label); animation: rendering-pulse 1.8s ease-in-out infinite; }
@keyframes rendering-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgb(92 136 166 / 20%); } 50% { opacity: .35; box-shadow: 0 0 0 3px rgb(92 136 166 / 0%); } }
@media (prefers-reduced-motion: reduce) { .rendering-dot, .rendering-ellipsis i, .render-ellipsis i { animation: none; } }
.project-index .project-shell { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.dataset-home .project-shell { display: flex; flex: 1; flex-direction: column; width: 100%; }
.project-index .project-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.project-index .project-nav a { color: var(--fg); font-size: 13px; }
.project-index .project-nav .project-brand { font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.project-index .index-header { padding: 76px 0 48px; }
.project-index .index-header h1 { font-size: clamp(44px, 7vw, 80px); letter-spacing: -.055em; margin: 10px 0 18px; }
.project-index .index-header p { max-width: 640px; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; margin: 0; }
.project-index .index-header .index-description { color: var(--muted); line-height: 1.45; }
.index-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 28px; margin-top: 18px; }
.project-index .index-meta p { max-width: none; font-size: 18px; line-height: 1.6; }
.index-byline a { color: var(--fg); font-weight: 500; }
.index-byline a:hover { text-decoration: none; }
.index-byline sup { margin-left: 2px; font-size: .75em; }
.viewer-byline {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 6px;
}
.viewer-byline .author-name { grid-column: 2; }
.author-links { display: inline-flex; align-items: center; justify-self: start; }
.author-links a { display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--muted); }
.author-links a:hover, .author-links a:focus-visible { color: var(--fg); }
.author-links svg { display: block; width: 15px; height: 15px; }
.project-index .index-header .index-affiliation-note { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.index-affiliation-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.index-affiliation { color: var(--muted); }
.index-publication { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font-size: 12px; line-height: 1.5; }
.publication-tag { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid var(--cs-blue); background: var(--accent-soft); color: var(--cs-blue-label); font-weight: 400; }
.publication-spark { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; color: var(--accent); pointer-events: none; z-index: 2; }
.publication-spark:nth-of-type(even) { color: var(--warm); }
.publication-spark svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.publication-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.publication-trace rect { fill: none; stroke: var(--fg); stroke-width: 2px; stroke-dasharray: 24 100; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .publication-spark { display: none; } }
.index-publication .publication-tag { color: var(--cs-blue-label); text-decoration: none; }
.publication-arrow { display: inline-block; margin-left: 4px; vertical-align: -1px; }
.index-publication a.publication-tag:hover { color: var(--cs-blue-label); text-decoration: underline; text-underline-offset: 3px; }
.publication-tag .publication-arrow { margin-left: 0; }
.counterstrike-page .index-publication .project-links { gap: 6px; }
.counterstrike-page .index-publication .project-links a { padding: 5px 9px; }
@media (max-width: 450px) {
  .index-publication { gap: 6px; }
  .counterstrike-page .index-publication .project-links { gap: 4px; }
  .index-publication .publication-tag { gap: 5px; }
  .index-publication .publication-tag, .counterstrike-page .index-publication .project-links a { padding-inline: 5px; font-size: 11px; }
}
.project-index .project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.project-index .project-card { position: relative; overflow: hidden; min-width: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 28px; }
.project-index .featured { grid-column: span 6; min-height: 305px; background: var(--surface-muted); }
.project-index .card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.project-index .project-tag { display: inline-block; font-size: 11px; line-height: 1.4; padding: 5px 9px; border-radius: 0; background: var(--surface-muted); color: var(--muted); white-space: nowrap; }
.project-index .project-card h2 { position: relative; z-index: 1; margin: 34px 0 12px; font-size: 27px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; text-transform: none; color: var(--fg); }
.project-index .project-card p { position: relative; z-index: 1; max-width: 340px; margin: 0 0 26px; font-size: 15px; line-height: 1.7; }
.project-index .card-link { position: relative; z-index: 1; display: inline-flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 500; color: var(--link); }
.project-index .card-link span { transition: transform .15s ease; }
.project-index .card-link:hover span { transform: translate(2px, -2px); }
.project-index .project-number { position: absolute; right: 12px; bottom: -34px; font-size: 142px; font-weight: 600; line-height: 1; letter-spacing: -.08em; color: var(--surface-muted); pointer-events: none; }
.project-index .upcoming { grid-column: span 3; min-height: 154px; background: var(--surface); padding: 24px; }
.project-index .upcoming h2 { font-size: 20px; margin: 26px 0 0; }
.project-index .pending { background: var(--surface-muted); color: var(--muted); }
.project-index .index-footer { margin-top: 52px; padding: 24px 0 32px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.project-index .index-footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; }
.dataset-home .index-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: auto; padding: clamp(32px, 5vw, 56px) 0 24px; border: 0; }
.grant-credit { margin: 0; color: var(--muted); font-size: 11px; }
.grant-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-credit { margin: 0; color: var(--faint); font-size: 11px; }
.dataset-home .site-credit { margin-inline-start: auto; text-align: right; }
.site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.project-index .project-directory > summary { width: fit-content; cursor: pointer; font-weight: 500; }
.project-index .project-directory > summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; }
.project-index .project-directory .project-grid { margin-top: 24px; }
.project-index .project-directory:not([open]) .project-grid { display: none; }
@media (max-width: 1000px) {
  .project-index .upcoming { grid-column: span 6; }
}
@media (max-width: 900px) {
  .dataset-home { padding-left: 0; }
  .research-sidebar {
    position: static; width: auto; padding: 14px 40px 12px; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  }
  .research-brand { flex-direction: row; align-items: baseline; gap: 8px; }
  .research-sections { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; grid-column: 1 / -1; grid-row: 2; }
  .research-nav { flex-direction: row; flex-wrap: wrap; column-gap: 14px; margin-top: 4px; }
  .counterstrike-page .research-nav-heading { flex-basis: 100%; margin-bottom: 0; }
  .research-nav > a, .research-nav-pending { margin: 0; padding: 4px 0; }
  .research-sidebar-footer { display: flex; grid-column: 2; grid-row: 1; align-items: center; gap: 10px; margin: 0; padding: 0; }
  .research-socials { margin: 0; gap: 4px; }
  .research-socials a { width: 32px; height: 32px; }
}
@media (max-width: 640px) {
  .research-sidebar { padding-left: 20px; padding-right: 20px; }
  .research-sidebar-footer .research-author { display: none; }
  .project-index .project-shell { padding: 0 20px; }
  .project-index .index-header { padding: 48px 0 32px; }
  .project-index .featured, .project-index .upcoming { grid-column: 1 / -1; }
  .project-index .project-card { padding: 24px; }
  .project-index .project-card h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-index .card-link span { transition: none; }
}

.dataset-citation { margin-top: 32px; }
.dataset-bibtex-block { display: flow-root; padding: 10px 12px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); }
.dataset-citation-copy { position: relative; float: right; }
.dataset-citation-copy:has(button:not([hidden])) { margin: 0 0 4px 12px; }
.dataset-bibtex { margin: 0; min-width: 0; color: var(--fg); white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.55 ui-monospace, monospace; }
.dataset-bibtex code { display: block; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.dataset-citation-status {
  position: absolute; z-index: 1; top: calc(100% + 4px); right: 0;
  padding: 4px 7px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--surface); color: var(--fg); font-size: 11px; white-space: nowrap;
  pointer-events: none;
}
.dataset-citation-status:empty { opacity: 0; }
.dataset-release-page main { padding-bottom: 32px; }
.dataset-release-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; }
.dataset-release-stats dt { color: var(--muted); font-size: 12px; }
.dataset-release-stats dd { margin: 3px 0 0; color: var(--fg); font-size: 23px; font-variant-numeric: tabular-nums; }
.dataset-release-links { margin-top: 20px; }

.dataset-home .home-blogs { margin: 56px 0 64px; padding: 36px 0 0; border-top: 1px solid var(--border); }
.dataset-home .home-blogs h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; text-transform: none; color: var(--fg); }
.dataset-home .blog-feature { display: block; max-width: 850px; padding: 12px 0; color: var(--fg); }
.dataset-home .blog-feature-title { margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: -.01em; font-weight: 400; }
.dataset-home .blog-feature:hover { text-decoration: none; }
.dataset-home .blog-feature:hover .blog-feature-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dataset-home .blog-feature .publication-arrow { width: 12px; height: 12px; margin-left: 9px; vertical-align: super; }
@media (max-width: 640px) { .dataset-home .home-blogs { margin: 36px 0 44px; padding-top: 28px; } }

.dataset-home #works{margin:48px 0 64px}
