/* Reading layer only. The dice tray, buttons, sound and roll engine keep V4 styles. */
.game-shell .game-copy, .game-shell .game-hero p { font-family: Calibri, "Segoe UI", Arial, sans-serif; }
.game-shell .game-hero p {
  max-width: none;
  font-size: 19px;
  line-height: 1.65;
}
.game-shell .game-copy {
  width: 100%;
  max-width: none;
  padding: 24px;
  font-size: 20px;
  line-height: 1.7;
  border-radius: 0;
}
.game-shell .game-copy > * { max-width: none; }
.game-shell .game-copy p,
.game-shell .game-copy li,
.game-shell .game-copy .note,
.game-shell .game-copy .game-faq p {
  font-size: inherit;
  line-height: inherit;
}
.game-shell .game-copy > p { width: 100%; margin: .65em 0 1.05em; }
.game-shell .game-copy h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 1.45em 0 .6em;
  font-weight: 700;
}
.game-shell .game-copy .gc-heading { display: flex; gap: 10px; align-items: baseline; }
.game-shell .game-copy .gc-heading-icon { flex: 0 0 auto; font-size: .88em; }
.game-shell .game-copy h2:first-child { margin-top: 0; }
.game-shell .game-copy ul { margin: .65em 0 1.15em; padding-left: 1.3em; }
.game-shell .game-copy li { padding-left: .12em; margin: .65em 0; }
.game-shell .game-copy li::marker { color: #536e72; }
.game-shell .game-copy .note { padding: 16px 18px; margin: 22px 0; border-radius: 0; }
.game-shell .game-copy .note > :first-child { margin-top: 0; }
.game-shell .game-copy .note > :last-child { margin-bottom: 0; }
.game-shell .game-copy .gc-example-label {
  display: block; font-size: 15px; letter-spacing: .04em; font-weight: 700;
  line-height: 1.5; color: #52676a; margin-bottom: 8px;
}
.game-shell .game-copy .game-faq details { padding: 12px 0; }
.game-shell .game-copy .game-faq summary { font-size: 20px; min-height: 44px; line-height: 1.5; padding: 7px 0; }
.game-shell .game-copy .game-faq p { margin: .6em 0 .3em; }
.game-shell .game-copy .game-sources { font-size: 17px; line-height: 1.6; margin-top: 24px; padding-top: 16px; }
.game-shell .game-copy .game-sources p,
.game-shell .game-copy .game-sources li { font-size: inherit; line-height: inherit; }
.game-shell .game-copy .noodle { font-size: 18px; line-height: 1.6; }
.game-shell .game-copy .related-games a { font-size: 16px; min-height: 44px; padding: 8px 12px; }

/* Optional explanatory illustrations. These controls never change the actual roll. */
.game-shell .game-copy .gc-lesson {
  clear: both; width: 100%; min-width: 0; margin: 28px 0;
  padding: 18px 20px; border: 1px dashed #859892; border-radius: 0;
  background: #f7f3e7; overflow-wrap: break-word;
}
.game-shell .gc-lesson .gc-lesson-eyebrow {
  display: block; font: 700 12px/1.5 Arial, sans-serif;
  letter-spacing: .07em; color: #52676a; margin-bottom: 6px;
}
.game-shell .gc-lesson h3 { font-size: 23px; line-height: 1.3; margin: 0 0 8px; }
.game-shell .game-copy .gc-lesson p { font-size: 18px; line-height: 1.6; }
.game-shell .gc-lesson figcaption { font-size: 16px; line-height: 1.55; margin-top: 16px; color: #52676a; }
.game-shell .gc-lesson .gc-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.game-shell .gc-lesson .gc-controls label { display: block; font-size: 16px; line-height: 1.4; min-width: 0; }
.game-shell .gc-lesson .gc-controls select { display: block; width: auto; min-width: 100px; max-width: 100%; margin-top: 6px; font-size: 18px; min-height: 44px; }
.game-shell .gc-lesson button { font-size: 16px; min-height: 44px; padding: 8px 12px; }
.game-shell .gc-lesson .gc-hbars { display: grid; gap: 12px; margin: 18px 0; }
.game-shell .gc-lesson .gc-hbar { display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 2fr) 84px; align-items: center; gap: 14px; font-size: 17px; line-height: 1.35; }
.game-shell .gc-lesson .gc-track { height: 20px; background: #e3e5db; display: block; border: 1px solid #aebbb2; }
.game-shell .gc-lesson .gc-fill { display: block; height: 100%; background: #577d78; }
.game-shell .gc-lesson .gc-hbar[data-bar="disadvantage"] .gc-fill,
.game-shell .gc-lesson .gc-hbar[data-bar="low"] .gc-fill { background: #9b6c56; }
.game-shell .gc-lesson .gc-hbar[data-bar="advantage"] .gc-fill,
.game-shell .gc-lesson .gc-hbar[data-bar="high"] .gc-fill { background: #4d7977; }
.game-shell .gc-lesson .gc-hbar[data-bar="normal"] .gc-fill,
.game-shell .gc-lesson .gc-hbar[data-bar="middle"] .gc-fill { background: #8b835e; }
.game-shell .gc-lesson .gc-pct { text-align: right; font: 700 18px/1.4 Consolas, monospace; font-variant-numeric: tabular-nums; }
.game-shell .gc-lesson .gc-lesson-output { display: block; padding: 12px 14px; border-left: 3px solid #577d78; background: #e9ece1; font-size: 18px; line-height: 1.55; }
.game-shell .gc-lesson .gc-distribution { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 6px; margin: 20px 0 14px; }
.game-shell .gc-lesson .gc-column { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
.game-shell .gc-lesson .gc-column-track { height: 130px; display: flex; align-items: end; border-bottom: 1px solid #8b9d98; }
.game-shell .gc-lesson .gc-column-fill { display: block; background: #b2c2b6; width: 100%; border: 1px solid #8b9d98; }
.game-shell .gc-lesson .gc-column.gc-selected .gc-column-fill { background: #577d78; border-color: #345c5d; }
.game-shell .gc-lesson .gc-column-label { font: 700 16px/1.3 Consolas, monospace; }
.game-shell .gc-lesson .gc-column.gc-selected .gc-column-label { text-decoration: underline; text-underline-offset: 4px; }
.game-shell .gc-lesson .gc-sum-choices { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.game-shell .gc-lesson .gc-sum-choices button { min-width: 44px; flex: 0 0 auto; }
.game-shell .gc-lesson .gc-sum-choices button[aria-pressed="true"] { background: #083442; color: #fffdf6; }
.game-shell .gc-lesson .gc-pair-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 24px; align-items: center; margin: 16px 0; }
.game-shell .gc-lesson .gc-pairs { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 16px; font-variant-numeric: tabular-nums; }
.game-shell .gc-lesson .gc-pairs caption { text-align: left; font-size: 15px; color: #52676a; margin-bottom: 7px; }
.game-shell .gc-lesson .gc-pairs th,.game-shell .gc-lesson .gc-pairs td { padding: 7px 1px; border: 1px solid #b9c1b5; text-align: center; }
.game-shell .gc-lesson .gc-pairs th { background: #e8e7d6; font-weight: 700; }
.game-shell .gc-lesson .gc-pairs td { background: #fffdf6; }
.game-shell .gc-lesson .gc-pairs td.gc-match { background: #577d78; color: #fffdf6; font-weight: 700; }
.game-shell .gc-lesson .gc-big-number { display: block; font: 700 clamp(28px,4vw,46px)/1.2 Consolas, monospace; margin-bottom: 9px; }
.game-shell .gc-lesson .gc-digits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.game-shell .gc-lesson .gc-digits label { font-size: 16px; line-height: 1.4; min-width: 0; }
.game-shell .gc-lesson .gc-digits select { margin-top: 8px; text-align: center; font: 700 26px/1.4 Consolas, monospace; }
.game-shell .gc-lesson .gc-candidates { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 14px 0; }
.game-shell .gc-lesson .gc-candidate { display: inline-flex; min-width: 80px; min-height: 70px; padding: 10px; justify-content: center; align-items: center; border: 1px solid #7e9690; font: 700 32px/1.3 Consolas, monospace; background: #fffdf6; }
.game-shell .gc-lesson .gc-example-dice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.game-shell .gc-lesson .gc-example-die { padding: 15px; border: 1px solid #82968f; background: #e3e9df; text-align: center; min-width: 0; }
.game-shell .gc-lesson .gc-example-die.gc-fear { background: #e9e2ec; border-color: #a89aaf; }
.game-shell .gc-lesson .gc-example-die label { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; }
.game-shell .gc-lesson .gc-example-die select { display: block; margin: 10px auto 0; width: 100%; max-width: 140px; font: 700 28px/1.4 Consolas, monospace; text-align: center; }
@media (max-width:600px) {
  .game-shell .game-hero p { font-size: 18px; }
  .game-shell .game-copy { padding: 16px; font-size: 18px; line-height: 1.65; }
  .game-shell .game-copy h2 { font-size: 23px; }
  .game-shell .game-copy .game-faq summary { font-size: 18px; }
  .game-shell .game-copy .game-sources { font-size: 16px; }
  .game-shell .game-copy .note { padding: 13px; }
  .game-shell .game-copy .gc-lesson { padding: 14px 12px; }
  .game-shell .gc-lesson h3 { font-size: 21px; }
  .game-shell .game-copy .gc-lesson p { font-size: 17px; }
  .game-shell .gc-lesson figcaption { font-size: 15px; }
  .game-shell .gc-lesson .gc-hbar { grid-template-columns: minmax(0,1fr) 82px; gap: 6px 10px; }
  .game-shell .gc-lesson .gc-hbar .gc-track { grid-column: 1/-1; grid-row: 2; }
  .game-shell .gc-lesson .gc-pair-layout { grid-template-columns: 1fr; gap: 16px; }
  .game-shell .gc-lesson .gc-lesson-output { padding: 10px; font-size: 17px; }
  .game-shell .gc-lesson .gc-pairs { font-size: 15px; }
  .game-shell .gc-lesson .gc-distribution { gap: 3px; }
  .game-shell .gc-lesson .gc-column-label { font-size: 14px; }
  .game-shell .gc-lesson .gc-digits { gap: 7px; }
  .game-shell .gc-lesson .gc-digits select { font-size: 22px; padding: 6px 4px; }
  .game-shell .gc-lesson .gc-example-die { padding: 10px 7px; }
}
