.list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.list-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: white;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  min-height: 37px;
  padding: 5px 10px;
}
.list-action:hover {
  background: var(--tint);
}
.list-actions .list-action:last-child {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.edit-rows {
  display: grid;
  gap: 8px;
}
.edit-row {
  background: var(--light-gray);
  border: 1px solid var(--line-color);
  border-radius: 5px;
  padding: 9px 8px;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 7px;
}
.edit-row label {
  flex: 1 1 135px;
  min-width: 0;
  color: var(--text-color);
  font-size: 12px;
}
.edit-row label:first-child:not(:last-of-type) {
  flex-basis: 87px;
}
.edit-row label input {
  margin-top: 4px;
  min-height: 37px;
}
.remove-row {
  border: 0;
  background: none;
  font-size: 19px;
  color: var(--muted-color);
  min-height: 37px;
  min-width: 32px;
}
.remove-row:hover {
  background: #f5e6e1;
}
.list-editor:empty {
  display: none;
}
.table-scroll td {
  white-space: pre-line;
}
.short-list tbody tr:nth-child(n + 9) {
  display: none;
}
.more {
  margin: 5px 0;
}
.specimen {
  margin: 14px 0 3px;
  padding: 12px 0 3px;
  border-top: 1px solid var(--line-color);
}
.specimen > small {
  display: block;
  font:
    500 12px/1.5 'Microsoft YaHei',
    sans-serif;
  color: var(--muted-color);
}
.script-tiles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.script-tiles > div {
  background: var(--light-gray);
  border-radius: 3px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 48px;
  padding: 7px 9px 9px;
}
.script-tiles small {
  font-size: 11px;
  color: var(--muted-color);
}
.script-tiles b,
.big-name,
.big-date {
  font-family: 'STSong', 'Songti SC', 'SimSun', serif;
  color: var(--ink);
}
.script-tiles b {
  font-size: 21px;
}
.big-name,
.big-date {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.55;
}
.big-date {
  font-size: 23px;
}
.phonetic {
  font-size: 13px;
  color: var(--text-color);
}
.poem {
  margin: 1px 0 4px;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font:
    18px/1.8 'STSong',
    'SimSun',
    serif;
}
.element-plot > div {
  display: grid;
  grid-template-columns: 24px 1fr 48px;
  align-items: center;
  gap: 8px;
}
.element-plot .element-line {
  margin: 0;
}
.element-plot small {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cloth-strip {
  display: flex;
  gap: 6px;
}
.cloth-strip > div {
  flex: 1;
  min-width: 0;
}
.cloth-strip i {
  display: block;
  height: 29px;
  border: 1px solid #545d6626;
  border-radius: 2px;
}
.cloth-strip span {
  font-size: 12px;
}
.download-btn {
  display: inline-block;
}
@media (max-width: 760px) {
  .big-date {
    font-size: 21px;
  }
  .edit-row {
    gap: 5px;
  }
  .edit-row label {
    flex-basis: 116px;
  }
}
@media print {
  .short-list tbody tr:nth-child(n + 9) {
    display: table-row !important;
  }
  .more {
    display: none !important;
  }
}
