@charset "utf-8";

#character table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5em 0;
  font-size: 0.95rem;
}
#character th,
#character td {
  border: 1px solid var(--box-head-bg-color, #ccc);
  padding: 0.35em 0.5em;
  text-align: center;
}
#character thead th {
  background-color: var(--box-head-bg-color, #eee);
}

#ability {
  overflow-x: auto;
}
.ability-table {
  min-width: 50em;
}
.ability-table td {
  min-width: 2.6em;
  white-space: nowrap;
}

.skill-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
}
.skill-box {
  flex: 1 1 100%;
  min-width: 0;
}
@media screen and (min-width: 700px) {
  .skill-box {
    flex: 1 1 calc(50% - 0.4em);
  }
}
.skill-table {
  table-layout: fixed;
}
.skill-table th {
  text-align: left;
  width: 60%;
}
.skill-table td.total {
  font-weight: bold;
  width: 4em;
}
.skill-table tbody tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--box-head-bg-color, #eee) 30%, transparent);
}

#combat table th, #combat table td,
#possessions table th, #possessions table td {
  border: 1px solid var(--box-head-bg-color, #ccc);
  padding: 0.35em 0.5em;
}
