/* 百人牛牛顶部信息区 v373 */
.hundred-niu-room {
  grid-template-rows: 132px minmax(0, 1fr) 25px 58px 94px;
}

.hn-topbar {
  grid-template-columns: 46px 46px minmax(150px, 1fr) 132px 82px;
  grid-template-rows: 30px 72px;
  grid-template-areas:
    "exit rules trend rates banker"
    ". . trend rates banker";
  gap: 5px 6px;
  margin: 7px 7px 4px;
  padding: 7px;
}

.hn-exit,
.hn-rules-btn {
  position: static;
  width: auto;
  height: 30px;
  font-size: 11px;
}

.hn-exit {
  grid-area: exit;
}

.hn-rules-btn {
  grid-area: rules;
}

.hn-trend {
  grid-area: trend;
  display: grid;
  grid-template-rows: 25px minmax(0, 1fr);
  min-width: 0;
  padding: 0 8px;
  border-left: 1px solid rgba(255, 218, 105, .16);
  border-right: 1px solid rgba(255, 218, 105, .16);
}

.hn-trend header {
  margin: 0;
}

.hn-trend header strong {
  font-size: 13px;
}

.hn-trend header button {
  height: 20px;
  padding: 0 6px;
}

.hn-trend > div {
  align-content: center;
}

.hn-trend-row {
  grid-template-columns: 16px repeat(6, minmax(11px, 1fr));
}

.hn-trend-row i {
  height: 13px;
}

.hn-rate-cards {
  grid-area: rates;
  gap: 5px;
  align-self: stretch;
  padding: 0;
}

.hn-rate-cards span {
  place-items: center;
  align-content: center;
  padding: 4px 2px;
  border-color: rgba(255, 215, 91, .38);
  background:
    linear-gradient(180deg, rgba(136, 202, 180, .2), transparent 46%),
    rgba(0, 45, 30, .9);
}

.hn-rate-cards b {
  font-size: 14px;
}

.hn-rate-cards small {
  margin-top: 5px;
}

.hn-apply-banker {
  grid-area: banker;
  width: 72px;
  height: 72px;
  justify-self: center;
  align-self: center;
  font-size: 14px;
}

.hn-center {
  grid-template-rows: 106px minmax(0, 1fr);
}

.hn-banker {
  grid-template-columns: auto auto;
  grid-template-rows: 1fr auto;
  justify-content: center;
  align-content: center;
  column-gap: 12px;
  padding: 5px 0 11px;
}

.hn-banker-profile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
}

.hn-banker-profile > span {
  color: #ffe081;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.hn-banker-avatar {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 9px;
}

.hn-banker-hand {
  align-self: center;
}

.hn-banker > strong {
  grid-column: 1 / -1;
  position: static;
  min-width: 74px;
  margin-top: -2px;
  padding: 3px 12px;
  font-size: 16px;
  transform: none;
}

@media (max-width: 620px) {
  .hundred-niu-room {
    grid-template-rows: 124px minmax(0, 1fr) 23px 52px 82px;
  }

  .hn-topbar {
    grid-template-columns: 40px 40px minmax(130px, 1fr) 116px 72px;
    grid-template-rows: 28px 68px;
    gap: 4px;
    margin: 5px 4px 3px;
    padding: 6px 5px;
  }

  .hn-exit,
  .hn-rules-btn {
    height: 28px;
    font-size: 10px;
  }

  .hn-trend {
    padding: 0 5px;
  }

  .hn-trend header strong {
    font-size: 12px;
  }

  .hn-trend-row {
    grid-template-columns: 13px repeat(6, minmax(9px, 1fr));
    gap: 2px;
  }

  .hn-trend-row i {
    height: 12px;
    font-size: 9px;
  }

  .hn-rate-cards {
    gap: 3px;
  }

  .hn-rate-cards b {
    font-size: 11px;
  }

  .hn-rate-cards small {
    font-size: 9px;
  }

  .hn-apply-banker {
    width: 62px;
    height: 62px;
    font-size: 12px;
  }

  .hn-center {
    grid-template-rows: 100px minmax(0, 1fr);
  }

  .hn-banker {
    column-gap: 8px;
    padding-bottom: 9px;
  }

  .hn-banker-avatar {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 430px) {
  .hundred-niu-room {
    grid-template-rows: 120px minmax(0, 1fr) 23px 52px 82px;
  }

  .hn-topbar {
    grid-template-columns: 36px 36px minmax(110px, 1fr) 94px 62px;
    grid-template-rows: 27px 65px;
    padding-inline: 4px;
  }

  .hn-trend {
    padding: 0 3px;
  }

  .hn-trend header button {
    max-width: 58px;
    padding: 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hn-rate-cards b {
    font-size: 10px;
  }

  .hn-apply-banker {
    width: 56px;
    height: 56px;
    font-size: 11px;
  }
}
