/* Series work content uses the existing panels, lists and detail rows. */
body[data-rendering="static"] .main-content > section[data-static-list] > h2 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 10px 0 8px;
}
body[data-rendering="static"] .character-detail-item h3 {
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-rendering="static"] .character-detail-item .skill-cost {
  white-space: nowrap;
}
body[data-rendering="static"] .character-detail {
  align-items: start;
}
body[data-rendering="static"] .panel p,
body[data-rendering="static"] .panel li {
  overflow-wrap: anywhere;
  line-height: 1.65;
}
body[data-rendering="static"] .panel ol,
body[data-rendering="static"] .panel ul {
  padding-left: 1.5em;
}
body[data-rendering="static"] .panel li + li {
  margin-top: 6px;
}
body[data-rendering="static"] .character-card-value {
  display: block;
  border-radius: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body[data-rendering="static"] [data-static-list] .character-name-text,
body[data-rendering="static"] [data-static-list] .character-name-static {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}
#identification .character-filter-grid {
  margin-top: 8px;
}
#identification .character-filter-control input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #c9b58d;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: inherit;
}
#identification .character-filter-control span {
  font-weight: 700;
}
#shiren4-price-clear {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #c9b58d;
  border-radius: 8px;
  background: #fffaf2;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.shiren4-card-note {
  margin: 0;
  padding: 0 12px 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.shiren4-card-separator {
  display: none;
}
.shiren4-reference {
  margin-top: 14px;
}
.shiren4-section-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0;
}
.shiren4-section-jumps a {
  display: inline-block;
  padding: 5px 0;
}
.shiren4-reference h2 {
  color: var(--accent);
}
.shiren4-reference-table {
  overflow-x: auto;
}
.shiren4-reference-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.shiren4-reference-table th,
.shiren4-reference-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd0b5;
  vertical-align: top;
  line-height: 1.55;
}
.shiren4-reference-table thead th {
  background: #f5eddf;
}
.shiren4-reference-table tbody th {
  min-width: 8em;
}
.shiren4-reference-cards {
  display: none;
}
@media (max-width: 600px) {
  .shiren4-reference-table {
    display: none;
  }
  .shiren4-reference-cards {
    display: grid;
    gap: 10px;
  }
  .shiren4-reference-card {
    padding: 12px;
    border: 1px solid #ddd0b5;
    border-radius: 10px;
    background: #fffaf2;
  }
  .shiren4-reference-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
  }
  .shiren4-reference-card dl,
  .shiren4-reference-card dd {
    margin: 0;
  }
  .shiren4-reference-card dl > div + div {
    margin-top: 7px;
  }
  .shiren4-reference-card dt {
    font-weight: 700;
  }
  .shiren4-reference-card dd {
    overflow-wrap: anywhere;
    line-height: 1.55;
  }
}
@media (max-width: 600px) {
  body[data-rendering="static"] .character-detail-item {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
  body[data-rendering="static"] .character-detail-item p {
    line-height: 1.6;
  }
  body[data-rendering="static"] .character-card-summary--with-value {
    grid-template-columns: minmax(0, 1fr) minmax(105px, 0.85fr);
  }
  #characters .character-card-summary--with-value,
  #companions .character-card-summary--with-value,
  #dungeons .character-card-summary--with-value,
  #bosses .character-card-summary--with-value,
  #banana-powers .character-card-summary--with-value,
  #marks .character-card-summary--with-value,
  #resonance .character-card-summary--with-value {
    grid-template-columns: minmax(0, 1fr) minmax(105px, 0.85fr);
  }
  #characters .character-card-value,
  #companions .character-card-value,
  #dungeons .character-card-value,
  #bosses .character-card-value,
  #banana-powers .character-card-value,
  #marks .character-card-value,
  #resonance .character-card-value {
    text-align: left;
    padding: 6px 10px;
  }
  body[data-rendering="static"] .character-card-value {
    font-size: 0.84rem;
  }
}
