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

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

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

.FlowPIE-logo {
  width: 1em;
  vertical-align: middle;
}

/* .FlowPIE {
  font-variant: small-caps;
  font-weight: bold;
} */

.human_expert {
  background-color: rgba(255, 208, 80, 0.15);
}

.open_source {
  background-color: rgba(249, 242, 248, 1);
}

.proprietary {
  background-color: rgba(117, 209, 215, 0.1);
}

.random_frequent {
  background-color: #f4f9fe;
  color: #808080;
}

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

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

.publication-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.publication-banner {
  max-height: 100%;
}

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

.publication-header .hero-body {
}

.publication-title,
.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%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.stats-image {
  max-height: 250px;
}

#org-banners {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.org-banner {
  max-width: 100%;
  height: 6em;
  margin: 10px;
  padding: 10px;
}

.chart-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.chart-item {
  text-align: center;
}

.chart-label {
  margin-top: 5px;
}

@media (min-width: 600px) {
  .chart-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (min-width: 900px) {
  .chart-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.bottom-text {
  margin-top: 30px;
}

.model-labels-container {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.model-label {
  display: inline-block;
  padding: 4px 10px;
  margin: 5px;
  border-radius: 3px;
  color: rgb(255, 255, 255);
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 5px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.leaderboard-container {
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.table-row {
  display: flex;
  width: 100%;
}

.sortable:hover {
  cursor: pointer;
}

.asc::after {
  content: ' ↑';
}

.desc::after {
  content: ' ↓';
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 8px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

th {
  background-color: #f2f2f2;
  border-bottom: 2px solid #ddd;
}

td:hover {
  background-color: #ffffff;
}

.main-header {
  background-color: #e6e6e6;
  font-weight: bold;
  text-align: center;
}

.sub-header {
  background-color: #f2f2f2;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  background-color: #d9d9d9;
}

.hidden {
  display: none;
}

.leaderboard-label {
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

@media screen and (max-width: 768px) {
  th, td {
    min-width: 100px;
  }
}

#FlowPIE-table {
  table-layout: auto;
  width: 100%;
}

#FlowPIE-table th:not(:first-child),
#FlowPIE-table td:not(:first-child) {
  width: auto;
}

#FlowPIE-table tbody td:first-child {
  text-align: left !important;
}

#toggleButton {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  color: #555555;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition-duration: 0.4s;
}

#toggleButton:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Idea Showcase 专属样式 - 增加前缀防止冲突 */
.idea-section {
    padding: 3rem 1.5rem;
    background: #f9fafb; /* 浅灰色背景与白底页面区分 */
    border-radius: 12px;
}

.idea-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.idea-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.idea-title-accent {
    color: #3273dc; /* 匹配 Bulma 主色调 */
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
}

.idea-formula-box {
    background: #f0f4f8;
    border-left: 5px solid #3273dc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.idea-tag {
    background-color: #ebf4ff;
    color: #2b6cb0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* 针对 MathJax 的微调 */
.mjx-chtml {
    font-size: 110% !important;
}


/* 实验部分专属样式 */
.idea-experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.idea-spec-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-top: 4px solid #3273dc; /* 顶部边框强调 */
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.idea-spec-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.idea-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.idea-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.idea-table th {
    background: #3273dc;
    color: white;
    text-align: left;
    padding: 12px 15px;
}

.idea-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.idea-hypothesis-box {
    background: linear-gradient(135deg, #ebf8ff 0%, #ffffff 100%);
    border: 1px solid #bee3f8;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.idea-highlight-text {
    color: #2b6cb0;
    font-weight: 600;
}
.idea-metric-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: center;
      margin-top: 1.5rem;
}

.idea-metric-pill {
      background: #ebf4ff;
      color: #2b6cb0;
      border: 1px solid #bee3f8;
      border-radius: 9999px;
      padding: 5px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      transition: all 0.2s;
      cursor: default;
}

.idea-metric-pill:hover {
      background: #3273dc;
      color: white;
      border-color: #3273dc;
}
 