/* style */
.tiv-protein-chart {
  background: #fff;
  border: 1px solid #f0e3d9;
  border-radius: 2px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  max-width: 760px;
  font-family: inherit;
}
.tiv-protein-chart-header { margin-bottom: 1.25rem; padding-bottom: 0.8rem; border-bottom: 2px solid #e59875; }
.tiv-protein-chart-title { display: block; font-size: 1.15em; font-weight: 700; color: #2a2a2a; }
.tiv-protein-chart-sub { display: block; font-size: 0.88em; color: #888; margin-top: 0.2rem; }
.tiv-protein-chart-list { list-style: none; padding: 0; margin: 0; counter-reset: protein; }
.tiv-protein-row {
  display: grid;
  grid-template-columns: 28px 1.6fr 2.5fr 70px 90px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f5ebe2;
  font-size: 0.94em;
}
.tiv-protein-row:last-child { border-bottom: none; }
.tiv-protein-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: #e59875; color: #fff; border-radius: 50%;
  font-weight: 700; font-size: 0.82em;
}
.tiv-protein-name { font-weight: 600; color: #2a2a2a; }
.tiv-protein-bar { background: #faf6f3; border-radius: 0; height: 12px; overflow: hidden; position: relative; }
.tiv-protein-fill {
  display: block; height: 100%;
  background: #e59875;
  border-radius: 0;
  transition: width 0.6s ease;
}
.tiv-protein-value { font-weight: 700; color: #c97e5c; text-align: right; font-variant-numeric: tabular-nums; }
.tiv-protein-state { font-size: 0.82em; color: #888; }
.tiv-protein-chart-source {
  margin: 1rem 0 0; font-size: 0.82em; color: #888; line-height: 1.5;
}
@media (max-width: 600px) {
  .tiv-protein-chart { padding: 1.1rem 1.1rem; }
  .tiv-protein-row {
    grid-template-columns: 24px 1.4fr 2fr 60px;
    font-size: 0.86em;
    gap: 0.5rem;
  }
  .tiv-protein-state { display: none; }
}