#bw-half-life-match {
  --bw-pk-css: 1;
  --pk-text: #1a2a3d;
  --pk-muted: #344b66;
  --pk-panel: #f5f8fa;
  --pk-sheet: #fff;
  --pk-rule: #c2cdd8;
  --pk-control: #566981;
  --pk-picked: #e1eaf3;
  --pk-highlight: #2a506f;
  --pk-focus: #1b527e;
  box-sizing: border-box;
  display: none;
  color: var(--pk-text);
  background: var(--pk-panel);
  border: 1px solid var(--pk-rule);
  border-radius: 9px;
  padding: 17px 18px;
  margin: 18px 0 22px;
  font: inherit;
}
html[data-bw-study-scheme="dark"] #bw-half-life-match {
  --pk-text: #edf1f7;
  --pk-muted: #c7d4e5;
  --pk-panel: #202732;
  --pk-sheet: #171e28;
  --pk-rule: #627086;
  --pk-control: #a6b4c9;
  --pk-picked: #2a3a50;
  --pk-highlight: #b8d4f5;
  --pk-focus: #c5dcff;
}
#bw-half-life-match[data-pk-ready="1"] { display: grid; gap: 12px; }
#bw-half-life-match[hidden], #bw-half-life-match:not([data-pk-ready="1"]) {display: none !important;}
#bw-half-life-match .bw-pk-input, #bw-half-life-match [data-pk-case] { min-width: 0; }
#bw-half-life-match :is(p,h3,dl,dt,dd) { max-width: none; margin: 0; color: inherit; overflow-wrap: anywhere; }
#bw-half-life-match .bw-pk-kicker {
  color: var(--pk-muted);
  text-transform: uppercase;
  font-size: .7rem;
  line-height: 1.35;
  letter-spacing: .09em;
  font-weight: 780;
}
#bw-half-life-match h3 {font-size: clamp(1.17rem, 1.03rem + .52vw, 1.48rem); line-height: 1.15; margin-top: 4px; font-weight: 790; letter-spacing: -.018em;}
#bw-half-life-match .bw-pk-setup {font-size: .9rem; line-height: 1.43; margin-top: 7px;}
#bw-half-life-match .bw-pk-choices { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8.3rem),1fr)); gap: 7px; margin-top: 11px; }
#bw-half-life-match button {
  width: 100%; min-height: 44px; min-width: 44px; display: grid; place-content: center;
  padding: 7px 10px; border: 1px solid var(--pk-control); border-radius: 4px;
  background: var(--pk-sheet); color: var(--pk-text);
  font: inherit; font-size: .79rem; line-height: 1.19; font-weight: 740;
  text-align: center; overflow-wrap: anywhere; cursor: pointer;
}
#bw-half-life-match button[aria-pressed="true"] {background: var(--pk-picked); border-color: var(--pk-highlight); box-shadow: inset 0 -2px 0 var(--pk-highlight);}
@media (hover:hover) { #bw-half-life-match button:hover {background: var(--pk-picked); border-color: var(--pk-highlight);} }
#bw-half-life-match button:focus-visible { outline: 2px solid var(--pk-focus); outline-offset: 2px; z-index: 1; }
#bw-half-life-match .bw-pk-result {
  display: grid;
  container-type: inline-size;
  padding: 11px 12px;
  min-width: 0;
  background: var(--pk-sheet);
  border: 1px solid var(--pk-rule);
  border-left: 3px solid var(--pk-highlight);
  border-radius: 6px;
}
#bw-half-life-match [data-pk-case] { grid-area: 1/1; }
#bw-half-life-match [data-pk-case][aria-hidden="true"] {visibility: hidden; pointer-events: none;}
#bw-half-life-match .bw-pk-case-heading {color: var(--pk-highlight); font-size: .79rem; font-weight: 780; line-height: 1.27;}
#bw-half-life-match .bw-pk-metrics {display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr) minmax(0,1.16fr); gap: 8px; margin-top: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--pk-rule);}
#bw-half-life-match .bw-pk-metrics > div {display:flex; flex-direction: column; justify-content: space-between; min-width: 0; gap: 4px;}
#bw-half-life-match dt {color: var(--pk-muted); font-size: .7rem; font-weight: 675; line-height: 1.2;}
#bw-half-life-match dd {color: var(--pk-text); font-size: clamp(1rem, .84rem + .52vw, 1.27rem); font-weight: 790; line-height: 1.13; font-variant-numeric: tabular-nums;}
#bw-half-life-match .bw-pk-why {font-size: .86rem; line-height: 1.38; margin-top: 7px;}
@media (min-width: 740px) {
  #bw-half-life-match[data-pk-ready="1"] {grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); align-items: center; gap: 17px;}
}
@media (max-width: 360px) {
  #bw-half-life-match {padding: 13px;}
  #bw-half-life-match .bw-pk-choices {grid-template-columns: minmax(0,1fr);}
}
@container (max-width: 16rem) {
  #bw-half-life-match .bw-pk-metrics {grid-template-columns: minmax(0,1fr); gap: 6px;}
  #bw-half-life-match .bw-pk-metrics > div {flex-direction: row; align-items: baseline; gap: 10px;}
  #bw-half-life-match .bw-pk-metrics dt {overflow-wrap: normal;}
  #bw-half-life-match .bw-pk-metrics dd {white-space: nowrap; text-align: right;}
}
/* Scope to this exercise: the released dark skin uses transparent generic button borders. */
html[data-bw-study-scheme] main#lesson #bw-half-life-match .bw-pk-choices > button[data-pk-choice] {
  border: 1px solid var(--pk-control) !important;
  background: var(--pk-sheet) !important;
  color: var(--pk-text) !important;
}
html[data-bw-study-scheme] main#lesson #bw-half-life-match .bw-pk-choices > button[data-pk-choice][aria-pressed="true"] {
  background: var(--pk-picked) !important;
  border-color: var(--pk-highlight) !important;
}
@media (hover:hover) {
  html[data-bw-study-scheme] main#lesson #bw-half-life-match .bw-pk-choices > button[data-pk-choice]:hover {
    background: var(--pk-picked) !important;
    border-color: var(--pk-highlight) !important;
  }
}
html[data-bw-study-scheme] main#lesson #bw-half-life-match .bw-pk-choices > button[data-pk-choice]:focus-visible {
  outline: 2px solid var(--pk-focus) !important;
  outline-offset: 2px !important;
}
#bw-half-life-match :is(h3, button, .bw-pk-result) { scroll-margin-block-start: max(6rem,112px); }
