.guide {
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100dvh - 22px);
}
.guide h2 {padding-right: 30px}
.guide-downloads {
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;
}
.guide-downloads .utility {
  min-height:44px;padding:8px 12px;justify-content:center;font-size:13px;
  border-color:#786747;
}
.guide-downloads .utility {text-decoration:none;color:#ebd2a4}
.guide-chapter {border-top:1px solid #69758c59;padding:0 0 10px}
.guide-chapter summary {
  min-height:37px;
  padding-top:10px;
  color:#efd3a2;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.guide-chapter p {margin:4px 0 9px}
.guide-rank-table {
  width:100%;
  margin:9px 0 10px;
  border-spacing:0;
  border:1px solid #7884986b;
  border-radius:4px;
  overflow:hidden;
  font-size:14px;
  text-align:left;
}
.guide-rank-table th,.guide-rank-table td {padding:7px 10px}
.guide-rank-table th {background:#1d2939;color:#f4d4a0}
.guide-rank-table td {border-top:1px solid #78849842}
.guide-rank-table td:last-child {color:#dbeeff;font-variant-numeric:tabular-nums}
.character-sheet {
  width:min(930px,calc(100vw - 24px));
  max-height:calc(100dvh - 22px);
  height:min(810px,calc(100dvh - 22px));
  padding:0;
  overflow:hidden;
}
.character-sheet[open] {display:grid;grid-template-rows:auto minmax(0,1fr)}
.character-sheet-header {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px clamp(12px,2.6vw,25px);
  border-bottom:1px solid #796240;
}
.character-sheet-header h2 {font-size:clamp(25px,5vw,43px);margin:0}
.character-sheet-header .utility {width:44px;height:44px}
#guide-roster {
  display:block;width:100%;height:100%;min-height:0;border:0;background:#0b1018;
}
#resources .film-preview .utility {min-height:44px}
@media (max-width:520px), (max-height:450px) {
  .guide {padding:16px}
  .guide p {font-size:15px}
  .character-sheet-header {padding-block:3px}
  .character-sheet-header h2 {font-size:27px}
}
.ranked-previews label {
  display: block;
  margin: 10px 0 5px;
  color: #e7d3b1;
  font-size: 13px;
  font-weight: 650;
}
.ranked-previews select {
  width: 100%;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #7a6649;
  border-radius: 4px;
  background: #101823;
  color: #ecf0f3;
  font: inherit;
}
.ranked-previews > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.ranked-previews .utility {border: 1px solid #7a6649;min-height: 44px}
.prisoner-previews h3 {color:#dcc397;font-size:.76rem;margin:.3rem 0 .38rem}
.prisoner-previews section + section {margin-top:.72rem}
.prisoner-previews section > div {display:flex;flex-wrap:wrap;gap:5px}
.prisoner-previews .utility {border:1px solid #7a6649;min-height:44px}
