/* 百人牛牛 v386：移除庄闲胜率，走势横向铺满顶部第二层。 */
#room.hundred-niu-mode .hn-topbar {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "banker"
    "trend";
}

#room.hundred-niu-mode .hn-trend {
  padding-right: 0;
  padding-left: 0;
  border-right: 0;
}

#room.hundred-niu-mode .hn-trend > div {
  column-gap: 0;
  row-gap: 0;
}

#room.hundred-niu-mode .hn-trend-row {
  position: relative;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 0;
}

#room.hundred-niu-mode .hn-trend-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 14px;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: rgba(0, 43, 27, .88);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 132, .08);
}

#room.hundred-niu-mode .hn-trend-row b,
#room.hundred-niu-mode .hn-trend-results,
#room.hundred-niu-mode .hn-trend-row i {
  position: relative;
  z-index: 1;
}

#room.hundred-niu-mode .hn-trend-results {
  display: flex;
  flex-direction: row;
  min-width: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

#room.hundred-niu-mode .hn-trend-row i {
  flex: 0 0 clamp(20px, 4vw, 24px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

#room.hundred-niu-mode .hn-trend-row i.empty {
  color: transparent;
}

#room.hundred-niu-mode .hn-trend-row i.tie {
  color: #d8e8dc;
}

@media (max-width: 430px) {
  #room.hundred-niu-mode .hn-topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  #room.hundred-niu-mode .hn-trend {
    padding-right: 0;
    padding-left: 0;
  }

  #room.hundred-niu-mode .hn-trend-row {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 0;
  }

  #room.hundred-niu-mode .hn-trend-row::before {
    left: 12px;
  }

  #room.hundred-niu-mode .hn-trend-row i {
    flex-basis: 20px;
  }
}
