:root { --aqua: #1F8A7E; --rose: #B4475C; }
body { background: #fff; color: #1D2330; }
.anycam { color: var(--aqua); font-weight: 700; }
.hl { color: var(--aqua); }
.publication-authors a { color: var(--aqua) !important; }
.teaser-sub { margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; }
.clip-labels { display: grid; text-align: center; color: #6B7280; font-size: 0.95rem; margin-bottom: 0.25rem; }
.clip-labels.four { grid-template-columns: repeat(4, 1fr); }
.clip-labels .ours { color: var(--aqua); font-weight: 600; }
video { display: block; background: #f5f5f5; border-radius: 6px; max-width: 100%; }
.cam-rep .columns { margin-bottom: 0; }
.cam-rep p { margin-bottom: 2rem; text-align: justify; }
.section h3.title { margin-top: 2.5rem; }
.section-note { text-align: center; color: #6B7280; margin-bottom: 1rem; }
.result-item { margin-bottom: 2rem; }
.result-caption { text-align: center; color: #1D2330; margin-top: 0.4rem; }
pre { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 768px) {
  .clip-labels { font-size: 0.7rem; }
  .publication-title br { display: none; }
}
.hover-fig { position: relative; cursor: pointer; margin: 0 auto 0.75rem; }
.hover-fig img { display: block; width: 100%; }
.hover-fig video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain;
  background: #fff; border-radius: 0; opacity: 0; transition: opacity .15s; }
.hover-fig.playing video { opacity: 1; }
.fig-md { display: block; width: 80%; margin: 0 auto 1rem; }
ol.steps { max-width: 760px; margin: 0 auto 1rem; padding-left: 1.5rem; }
ol.steps li { margin-bottom: 0.3rem; }
dl.stats dt { color: var(--aqua); font-weight: 700; font-size: 1.1rem; margin-top: 0.6rem; }
dl.stats dd { color: #6B7280; margin-left: 0; }
@media (max-width: 768px) { .fig-md { width: 100%; } }

.fig-pair { display: flex; gap: 1.5%; align-items: flex-start; margin: 0 auto 0.5rem; }
.fig-pair figure { margin: 0; text-align: center; }
.fig-pair .fig-a { width: 69.2%; } .fig-pair .fig-b { width: 29.3%; }
.fig-pair img { width: 100%; display: block; }
.fig-pair figcaption { color: #6B7280; font-size: 0.9rem; margin-top: 0.3rem; }
.fig-text { margin-top: 1rem; }
@media (max-width: 768px) { .fig-pair { flex-direction: column; } .fig-pair .fig-a, .fig-pair .fig-b { width: 100%; } }
/* horizontal result carousels */
.rc { position: relative; margin-bottom: 2.5rem; }
.rc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 1rem;
  scrollbar-width: none; }
.rc-track::-webkit-scrollbar { display: none; }
.rc-track .result-item { flex: 0 0 100%; scroll-snap-align: center; margin-bottom: 0; }
.rc-btn { position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; border: none; background: rgba(29,35,48,.55); color: #fff; font-size: 1.3rem; cursor: pointer; }
.rc-btn:hover { background: rgba(31,138,126,.9); }
.rc-prev { left: -1.3rem; } .rc-next { right: -1.3rem; }
.rc-dots { text-align: center; margin-top: 0.4rem; }
.rc-dots button { width: .6rem; height: .6rem; border-radius: 50%; border: none; margin: 0 .25rem; background: #ccc; cursor: pointer; padding: 0; }
.rc-dots button.on { background: var(--aqua); }
@media (max-width: 1100px) { .rc-prev { left: .2rem; } .rc-next { right: .2rem; } }
/* 11/25 user: titles too bold -> semi-bold, the page title medium */
.title { font-weight: 600; }
.publication-title { font-weight: 500; }
/* 11/25 user: teaser caption and abstract keep bold aqua / rose (unbold try reverted) */
/* 11/25 user: overview and H-Concat at the abstract width (Bulma column is-four-fifths = 80% of the 960 px container) */
.narrow { max-width: 80%; margin: 0 auto; }
@media (max-width: 768px) { .narrow { max-width: 100%; } }
/* 11/25 user: rose for the "any object / anchor" idea (as in the talk's "Anything"), aqua for AnyCam and its properties */
.rose, .hl.rose { color: var(--rose); }
