@charset "utf-8";

#personal-data dl,
#scenario dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3em 1em;
}
#personal-data dt, #scenario dt { font-weight: bold; }

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

#skill-grid {
  overflow-x: auto;
}
.skill-grid-table {
  border-collapse: collapse;
  min-width: 56em;
  font-size: 0.85rem;
}
.skill-grid-table th, .skill-grid-table td {
  border: 1px solid var(--box-head-bg-color, #ccc);
  padding: 0.3em 0.4em;
  text-align: center;
  vertical-align: top;
}
.skill-grid-table thead th {
  background-color: var(--box-head-bg-color, #eee);
}
.skill-grid-table td.learned {
  background-color: color-mix(in srgb, var(--box-head-bg-color, #eee) 40%, transparent);
  font-weight: bold;
}
.skill-grid-table td.fear .skill-name {
  color: #b00;
  text-decoration: underline wavy;
}
.skill-grid-table .judge-value {
  font-size: 1.1em;
  font-weight: bold;
}

#tracks .attention {
  color: #b00;
  font-weight: bold;
}
