body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

/* Interactive Browsing Demo Styles */
.sampling-container, .browsing-container {
  min-height: 400px;
  position: relative;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.prompt-text {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
  text-align: center;
  font-style: italic;
  max-width: 500px;
  padding: 0 10px;
}

.loading-text {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.result-video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.tree-layer {
  margin: 20px 0;
  transition: opacity 0.5s ease-in;
}

.tree-layer-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.tree-layer-block {
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
}

.tree-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.tree-item {
  position: relative;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 3px;
  transition: all 0.3s ease;
  background: white;
  flex: 0 0 90px;
  max-width: 95px;
  min-width: 90px;
  box-sizing: border-box;
}
.tree-item .preview-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.tree-item .preview-single {
  display: block;
}
.tree-item:hover .preview-grid {
  display: grid;
}
.tree-item:hover .preview-single {
  display: none;
}

.tree-item.selected {
  border-color: #F9BD10;
  border-width: 3px;
  box-shadow: 0 0 15px rgba(249, 189, 16, 0.6);
}

.tree-item video {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}

.tree-label {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.connection-line {
  width: 2px;
  height: 30px;
  background: #F9BD10;
  margin: 10px auto;
  position: relative;
}

.connection-line::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #F9BD10;
}

.final-result {
  margin-top: 20px;
  text-align: center;
}

.final-result video {
  max-width: 100%;
  border-radius: 10px;
  border: 2px solid #F9BD10;
}

.rubber-previews {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.rubber-previews .hero-body {
  padding-top: 0;
  padding-bottom: 0;
}
