.shcct {
  box-sizing: border-box;
  max-width: 840px;
  margin: 1.5rem auto;
  color: #f8eedf;
  background: #111d19;
  border: 1px solid #426050;
  border-radius: 22px;
  font: 16px/1.45 system-ui, sans-serif;
  overflow: hidden;
  color-scheme: dark;
}
.shcct *, .shcct *::before, .shcct *::after { box-sizing: border-box; }
.shcct [hidden] { display: none !important; }
.shcct .shcct-header, .shcct .shcct-settings, .shcct .shcct-score { padding: 18px clamp(16px, 4%, 34px); }
.shcct .shcct-header { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.shcct .shcct-kicker, .shcct .shcct-progress {
  margin: 0 0 4px;
  color: #e7c984;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shcct h2 { margin: 0; color: #fff0d5; font: 700 clamp(2.1rem, 6vw, 3.55rem)/1.05 Georgia, serif; }
.shcct details { max-width: 350px; }
.shcct summary { cursor: pointer; color: #f1d491; }
.shcct details p { margin: .6rem 0 0; }
.shcct .shcct-settings, .shcct .shcct-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 0; }
.shcct .shcct-settings { border-top: 1px solid #355144; }
.shcct label { display: grid; gap: 4px; color: #f8eedf; font-size: .87rem; }
.shcct button, .shcct select, .shcct input {
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #728879;
  border-radius: 8px;
  background: #172b22;
  color: #fff4e4;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.shcct input { width: 115px; }
.shcct button { background: #efcf85; color: #17231b; border-color: #efcf85; font-weight: 750; cursor: pointer; }
.shcct button:hover { background: #ffe3a1; color: #17231b; }
.shcct :focus-visible { outline: 3px solid #f5db9f; outline-offset: 3px; }
.shcct .shcct-table {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  min-height: 390px;
  padding: 22px 14px 14px;
  border-block: 1px solid #456955;
  text-align: center;
  background: radial-gradient(ellipse at top, #266247, #123b2a 78%);
}
.shcct .shcct-card {
  width: 100px;
  height: 140px;
  display: grid;
  place-content: center;
  border: 4px solid #fff2da;
  border-radius: 12px;
  background: #fff7e8;
  color: #17211e;
  box-shadow: 0 7px 16px #071b13a0;
  font: 700 2.55rem/1 Georgia, serif;
}
.shcct .shcct-card span { white-space: pre-line; }
.shcct .shcct-red { color: #a42131; }
.shcct .shcct-back { color: #f1d491; background: repeating-linear-gradient(135deg, #1e3c31 0 6px, #2c4d3f 6px 12px); }
.shcct .shcct-prompt, .shcct .shcct-feedback { margin: 0; }
.shcct .shcct-feedback { min-height: 1.45em; color: #fff0cb; }
.shcct [data-tags] button { min-width: 66px; }
.shcct .shcct-score { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; color: #ccdbd1; font-size: .87rem; }
.shcct .shcct-score strong { display: inline-block; margin-inline-start: 4px; color: #fff0d5; font-variant-numeric: tabular-nums; }
