:root {
  color-scheme: light;
  --paper: #f5f1e6;
  --ink: #1b312e;
  --soft: #4d6057;
  --rule: #bdc1ad;
  --orange: #ff995c;
  --sans: 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --display: 'Barlow Condensed', 'DIN Condensed', 'Arial Narrow', Impact, sans-serif;
  --mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath fill='%23908a68' opacity='.1' d='M1 4h1v1H1zM6 8h1v1H6z'/%3E%3C/svg%3E");
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
canvas:focus-visible {
  outline: 3px solid #047d7d;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
button:not(:disabled):active {
  transform: translateY(1px);
}
.mast {
  border-bottom: 1px solid var(--rule);
  background: #efeadb;
}
.mast-inner,
main {
  width: min(1136px, calc(100% - 88px));
  margin: auto;
}
.mast-inner {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font: 900 27px/0.9 var(--display);
}
.wordmark canvas {
  width: 40px;
  height: 40px;
}
.mast nav {
  display: flex;
  gap: 20px;
}
.link-button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
}
.link-button:hover,
.restart:hover {
  text-decoration: underline;
}
.question {
  border: 1.5px solid;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  font: 700 12px var(--mono);
}
.audio-icon {
  font-size: 19px;
}
.intro {
  padding: 31px 0 24px;
}
.shaft-tab,
.minor-heading,
legend,
.floor-title,
.ammo,
.keys,
.magrow small,
.board-foot,
.trim output {
  font-family: var(--mono);
}
.shaft-tab,
.minor-heading,
legend,
.floor-title,
.ammo {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 750;
}
.shaft-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #546250;
}
.shaft-tab:before {
  content: '';
  width: 22px;
  height: 7px;
  background: repeating-linear-gradient(120deg, #b26336 0 3px, transparent 3px 6px);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
.gear b,
.supply b,
.primary {
  font-family: var(--display);
  font-weight: 800;
}
h1 {
  font-size: clamp(46px, 5vw, 68px);
  letter-spacing: -0.012em;
  line-height: 1;
  margin: 6px 0 3px;
}
h2 {
  font-size: 35px;
  line-height: 1.1;
}
.intro p {
  font-size: 16px;
  line-height: 1.45;
  color: #42544c;
}
.intro strong {
  color: var(--ink);
  font-weight: 700;
}
.workstation {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(245px, 1fr);
  gap: 30px;
  align-items: start;
}
.bezel {
  border: 2px solid #192c29;
  background: #182e2a;
  box-shadow: 3px 4px 0 #c7c9b6;
  overflow: hidden;
  border-radius: 6px;
}
.board-head,
.board-foot {
  display: flex;
  align-items: center;
  color: #f5efdc;
  background: #223b35;
}
.board-head {
  height: 38px;
  padding: 0 16px;
  justify-content: space-between;
  border-bottom: 1px solid #667669;
}
.floor-title,
.ammo {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.floor-title i {
  width: 8px;
  height: 8px;
  background: #b5d6a8;
  box-shadow: 0 0 0 2px #738e7855;
  transform: rotate(45deg);
}
.pips {
  display: flex;
  gap: 4px;
}
.pips i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffad70;
  border: 1px solid #ffc99c;
}
.pips i.used {
  background: transparent;
  border-color: #87998a;
}
#board {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
  cursor: crosshair;
  aspect-ratio: 3/2;
}
#board:focus-visible {
  outline-offset: -3px;
  outline-color: #ffe298;
}
.board-foot {
  gap: 8px;
  padding: 7px 13px;
  border-top: 1px solid #627163;
  font-size: 11px;
  min-height: 31px;
  line-height: 1.4;
  background: #263c34;
  color: #eee7d1;
}
.reticle {
  font-size: 19px;
  line-height: 1;
}
.controls {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 47px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--orange);
  box-shadow: 0 3px 0 var(--ink);
  font-size: 23px;
  letter-spacing: 0.015em;
  line-height: 1;
}
.primary:hover:not(:disabled) {
  background: #ffa973;
}
.primary:disabled {
  background: #dddaca;
  color: #536358;
  box-shadow: none;
}
.primary.pulse {
  background: #ade1d2;
}
.controls .primary {
  flex: 1;
}
.trim {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9aab95;
  border-radius: 4px;
  background: #eeeada;
}
.trim button {
  background: none;
  border: 0;
  width: 41px;
  min-height: 45px;
  font-size: 25px;
}
.trim button:hover:not(:disabled) {
  background: #e1e2cf;
}
.trim button:disabled {
  opacity: 0.35;
}
.trim output {
  min-width: 49px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
.bench {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}
.bench-heading,
.magrow {
  display: flex;
  align-items: center;
}
.bench-heading {
  justify-content: space-between;
  margin-bottom: 18px;
}
.bench-heading canvas {
  width: 26px;
  height: 26px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend,
.minor-heading {
  color: #526050;
  font-size: 10px;
}
.gear-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.gear {
  padding: 9px;
  display: grid;
  grid-template-columns: 55px 1fr 13px;
  gap: 11px;
  align-items: center;
  text-align: left;
  min-height: 76px;
  width: 100%;
  border: 1px solid #afb7a3;
  border-radius: 4px;
  background: #f7f4e9;
}
.gear[aria-pressed='true'] {
  border: 2px solid #284d42;
  background: #e4ead8;
  padding: 8px;
  box-shadow: inset 3px 0 #355e4e;
}
.gear:not(:disabled):hover {
  border-color: #315443;
}
.choice {
  width: 12px;
  height: 12px;
  border: 1px solid #7e8c7c;
  border-radius: 50%;
}
.gear[aria-pressed='true'] .choice {
  border: 3px solid #355d4b;
  background: #c2d2b7;
}
.plate {
  display: grid;
  place-items: center;
  border-radius: 3px;
  width: 55px;
  height: 55px;
  background-color: #e0e2cf;
  background-image: repeating-linear-gradient(130deg, transparent 0 6px, #25382e09 6px 7px);
}
.plate canvas {
  width: 100%;
  height: 100%;
}
.peach {
  background-color: #e8d2ad;
}
.mint {
  background-color: #d1ddcf;
}
.gold {
  background-color: #e6dbb9;
}
.gear b,
.supply b {
  display: block;
  font-size: 23px;
  line-height: 1.15;
}
.gear small,
.supply p {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: #425349;
}
.supply {
  margin-top: 19px;
  padding: 17px 0 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.magrow {
  gap: 12px;
  margin: 10px 0 8px;
}
.magrow small {
  font-size: 10px;
  color: #4c6354;
}
.restart {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
}
.restart span {
  font-size: 22px;
}
.runlog {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 22px 0 32px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.runlog p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 3px;
}
.logmark {
  font: 700 30px/1 var(--mono);
  color: #a5532b;
}
.runlog .minor-heading {
  font-size: 9px;
}
dialog {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 7px;
  max-width: min(430px, 92vw);
  max-height: 88dvh;
  box-shadow: 5px 6px 0 #1c312d55;
}
dialog::backdrop {
  background: #132823a8;
}
.dialog-inner {
  padding: 22px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dialog-head button {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 3px;
  width: 44px;
  height: 44px;
  font-size: 25px;
}
.dialog-inner li,
.dialog-inner p {
  font-size: 14px;
  line-height: 1.55;
}
.dialog-inner ol {
  padding-left: 20px;
}
.dialog-inner li {
  margin: 10px 0;
}
.dialog-inner .keys {
  font-size: 11px;
  margin: 12px 0;
}
.dialog-inner .primary {
  width: 100%;
}
@media (min-width: 851px) and (max-height: 910px) {
  .mast-inner {
    height: 58px;
  }
  .intro {
    padding: 18px 0;
  }
  .workstation {
    grid-template-columns: minmax(0, 2.2fr) minmax(270px, 1fr);
  }
  main,
  .mast-inner {
    max-width: 1030px;
  }
}
@media (max-width: 850px) {
  .mast-inner,
  main {
    width: calc(100% - 36px);
  }
  .workstation {
    gap: 18px;
    grid-template-columns: minmax(0, 1.8fr) minmax(212px, 1fr);
  }
  .gear {
    grid-template-columns: 43px 1fr 11px;
    gap: 7px;
  }
  .gear .plate {
    width: 43px;
    height: 43px;
  }
  .gear b,
  .supply b {
    font-size: 21px;
  }
}
@media (max-width: 690px) {
  .mast-inner,
  main {
    width: calc(100% - 28px);
  }
  .mast-inner {
    height: 54px;
  }
  .wordmark {
    font-size: 23px;
    gap: 6px;
  }
  .wordmark canvas {
    width: 32px;
    height: 32px;
  }
  .mast nav {
    gap: 10px;
  }
  .link-button {
    font-size: 12px;
  }
  .intro {
    padding: 19px 0 15px;
  }
  h1 {
    font-size: 45px;
    margin: 5px 0;
  }
  .intro p {
    font-size: 14px;
  }
  .workstation {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .game,
  .bench {
    width: 100%;
  }
  .board-head {
    padding: 0 10px;
    height: 31px;
  }
  .board-foot {
    padding: 5px 8px;
    font-size: 10px;
    min-height: 28px;
  }
  .controls {
    gap: 8px;
    margin-top: 9px;
  }
  .trim button {
    width: 40px;
  }
  .trim output {
    min-width: 40px;
  }
  .primary {
    font-size: 21px;
    min-height: 44px;
  }
  .bench {
    padding-top: 10px;
  }
  .bench-heading {
    margin-bottom: 9px;
  }
  .bench-heading h2 {
    font-size: 29px;
  }
  .gear-list {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 5px;
  }
  .gear,
  .gear[aria-pressed='true'] {
    min-height: 72px;
    grid-template-columns: 35px 1fr;
    gap: 6px;
    position: relative;
  }
  .gear .plate {
    width: 35px;
    height: 42px;
  }
  .gear b {
    font-size: 19px;
  }
  .gear small {
    font-size: 11px;
    line-height: 1.3;
  }
  .choice {
    display: none;
  }
  .supply {
    margin-top: 12px;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
  }
  .supply .minor-heading {
    grid-column: 1/-1;
  }
  .magrow {
    margin: 6px 0 0;
    gap: 6px;
  }
  .magrow .plate {
    width: 36px;
    height: 36px;
  }
  .supply p {
    align-self: center;
    font-size: 11.5px;
  }
  .runlog {
    margin: 9px 0 18px;
  }
  .restart {
    min-height: 44px;
  }
}
@media (max-width: 380px) {
  .audio-icon {
    display: none;
  }
  .mast nav {
    gap: 6px;
  }
  .shaft-tab {
    font-size: 10px;
  }
  .gear {
    grid-template-columns: 1fr;
  }
  .gear .plate {
    display: none;
  }
}
.board-wrap {
  position: relative;
}
.board-wrap #result {
  position: absolute;
  left: 5%;
  top: 9%;
  max-width: 72%;
  padding: 10px 17px 12px;
  background: #fff0ccef;
  border: 2px solid #3b4937;
  border-left: 6px solid #c4753c;
  border-radius: 3px;
  box-shadow: 3px 4px 0 #182e287a;
  pointer-events: none;
}
.board-wrap #result[data-win='true'] {
  border-left-color: #56926b;
}
#resultTitle {
  display: block;
  font: 800 clamp(24px, 3vw, 37px) / 1.1 var(--display);
}
#resultDetail {
  display: block;
  margin-top: 3px;
  font: 600 11px/1.4 var(--mono);
}
@media (max-width: 690px) {
  .board-wrap #result {
    padding: 6px 9px;
    left: 4%;
    top: 7%;
  }
  #resultDetail {
    font-size: 9px;
  }
}
@media (min-width: 1000px) and (max-height: 770px) {
  main,
  .mast-inner {
    max-width: 990px;
  }
  .mast-inner {
    height: 48px;
  }
  .intro {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: baseline;
    padding: 10px 0 13px;
  }
  .intro .shaft-tab {
    grid-column: 1/-1;
  }
  .intro h1 {
    font-size: 44px;
    margin: 3px 0 0;
  }
  .intro p {
    font-size: 14px;
  }
}
.map-trigger {
  min-height: 44px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #acb6a3;
  border-radius: 4px;
  background: #f5f2e6;
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
}
.board-head {
  background: var(--seam, #223b35);
}
.map-trigger:hover,
.secondary:hover {
  background: #e5ead9;
}
.hint-button {
  margin: -5px -5px -5px auto;
  padding: 3px 9px;
  min-height: 29px;
  flex-shrink: 0;
  border: 1px solid #839686;
  border-radius: 3px;
  background: none;
  color: #fff0c9;
  font: 700 11px var(--mono);
}
.hint-button:hover,
.hint-button[aria-expanded='true'] {
  background: #526a55;
}
.field-hint {
  margin-top: 7px;
  padding: 8px 10px;
  border-left: 3px solid #8d6b37;
  background: #ece5ce;
  font-size: 13px;
  line-height: 1.4;
}
.secondary {
  min-height: 44px;
  border: 1px solid #809080;
  border-radius: 4px;
  background: #f4efdf;
  font-size: 14px;
  font-weight: 750;
  padding: 0 13px;
}
[hidden] {
  display: none !important;
}
.bench-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
#shaftBest {
  font: 700 11px var(--mono);
  color: #526253;
  text-align: right;
}
#map {
  width: min(570px, 94vw);
  max-width: 94vw;
}
.map-summary {
  padding: 5px 0 12px;
  color: #4b5a50;
}
.chapter-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.chapter-buttons button {
  min-height: 44px;
  border: 1px solid #9ba996;
  border-radius: 4px;
  background: #ede9d9;
  padding: 3px;
  font: 700 12px var(--mono);
}
.chapter-buttons button[aria-pressed='true'] {
  background: #294a3f;
  color: #ffefd2;
  border-color: #294a3f;
}
#chapterTitle {
  font: 800 28px var(--display);
  margin: 15px 0 0;
}
#chapterLesson {
  color: #4d6057;
  margin: 0 0 10px;
}
.shaft-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.shaft-button {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-height: 55px;
  padding: 5px 3px;
  border: 1px solid #a8b29c;
  border-radius: 4px;
  background: #f9f4e5;
  font: 700 12px var(--mono);
}
.shaft-button:not(:disabled):hover {
  background: #e2e6d4;
}
.shaft-button[aria-current='true'] {
  border: 2px solid #375a43;
}
.shaft-button:disabled {
  color: #59685d;
  background: #e5e3d8;
}
.shaft-button span {
  font-size: 10px;
  line-height: 1.2;
  color: #775729;
}
.shaft-button:disabled span {
  color: #59685d;
}
#resultStars:not(:empty) {
  color: #8c4c14;
  font: 700 17px var(--mono);
  letter-spacing: 2px;
}
#result[data-win='true']:not([hidden]) {
  animation: delivery 240ms cubic-bezier(0.14, 0.62, 0.38, 1) both;
}
@keyframes delivery {
  from {
    opacity: 0.25;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #result[data-win='true']:not([hidden]) {
    animation: none;
  }
}
@media (max-width: 690px) {
  .mast nav {
    gap: 7px;
  }
  .map-trigger {
    font-size: 11px;
    min-height: 42px;
    padding: 4px 6px;
  }
  .wordmark {
    font-size: 20px;
  }
  #help {
    font-size: 0;
  }
  .question {
    font-size: 12px;
  }
  .hint-button {
    min-height: 34px;
  }
  .board-foot {
    min-height: 35px;
  }
  .controls:has(.secondary:not([hidden])) .trim {
    display: none;
  }
}
@media (max-width: 380px) {
  .wordmark {
    font-size: 19px;
  }
  .wordmark canvas {
    width: 28px;
    height: 28px;
  }
  .mast nav {
    gap: 5px;
  }
  .shaft-grid {
    gap: 4px;
  }
  .dialog-inner {
    padding: 15px;
  }
}
@media (max-width: 690px) {
  #help {
    min-width: 38px;
    justify-content: center;
  }
  .trim output {
    min-width: 50px;
  }
}
@media (max-width: 380px) {
  .audio-icon {
    display: inline;
  }
  .mast nav #sound {
    min-width: 38px;
    justify-content: center;
  }
}
@media (max-width: 350px) {
  #soundText {
    display: none;
  }
}

.board-wrap #result[data-side='right'] {
  left: auto;
  right: 5%;
}
@media (max-width: 690px) {
  .board-wrap #result[data-side='right'] {
    right: 4%;
  }
}

.board-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
}
.board-foot .hint-button {
  margin: 0;
  min-height: 40px;
  min-width: 44px;
  padding: 3px 7px;
}
.board-foot .restart-board {
  font-size: 19px;
  font-weight: 500;
}
.retry-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.trace-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid #94a796;
  border-radius: 4px;
  background: #eee9da;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
.trace-toggle i {
  width: 15px;
  border-top: 2px dashed #567770;
}
.trace-toggle[aria-pressed='false'] i {
  opacity: 0.38;
}
.speed-toggle {
  min-height: 42px;
  font-size: 12px;
  padding: 0 9px;
  white-space: nowrap;
}
.speed-toggle[aria-pressed='true'] {
  background: #d3e7dc;
  border-color: #2d665b;
}
.bench-actions {
  padding-top: 9px;
}
@media (max-width: 690px) {
  .workstation {
    gap: 18px;
  }
  .board-foot {
    padding: 4px 6px;
    gap: 5px;
  }
  .controls {
    margin-top: 8px;
  }
  .bench-heading {
    margin-bottom: 6px;
  }
  .gear small {
    overflow-wrap: break-word;
  }
}
@media (max-width: 380px) {
  .intro {
    padding: 12px 0 10px;
  }
  .intro h1 {
    font-size: 36px;
  }
  .intro p {
    font-size: 13px;
  }
  .board-foot {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .board-foot .reticle {
    display: none;
  }
  .gear,
  .gear[aria-pressed='true'] {
    grid-template-columns: minmax(0, 1fr);
    min-height: 58px;
  }
  .gear b {
    font-size: 18px;
  }
  .bench {
    padding-top: 5px;
  }
  .bench-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    margin: 0;
  }
  .bench .gear-list {
    margin-top: 3px;
  }
}
@media (min-width: 1000px) and (max-height: 770px) {
  main,
  .mast-inner {
    max-width: 968px;
  }
  .board-foot {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
@media (max-width: 350px) {
  .wordmark {
    white-space: nowrap;
    font-size: 16px;
    gap: 4px;
  }
  .map-trigger span {
    display: none;
  }
  .intro {
    padding-top: 8px;
    padding-bottom: 6px;
  }
  .intro h1 {
    font-size: 33px;
    margin-bottom: 3px;
  }
  .workstation {
    gap: 9px;
  }
  .board-head {
    height: 28px;
  }
  .gear,
  .gear[aria-pressed='true'] {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

button,
#board {
  -webkit-tap-highlight-color: transparent;
}

.trim-grip {
  width: 66px;
  min-height: 45px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  border-inline: 1px solid #a8b0a0;
}
.trim-grip output {
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
  font-size: 11px;
}
.trim-grip span {
  font-size: 9px;
  white-space: nowrap;
  font-weight: 650;
  color: #42574b;
}
.trim-grip.dragging {
  background: #dbe5d3;
}
.trim-grip.inactive {
  pointer-events: none;
  opacity: 0.6;
}
.test-export {
  margin: 18px 0 30px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.test-export p {
  margin-bottom: 8px;
}
@media (max-width: 380px) {
  .trim-grip {
    width: 62px;
  }
  .trim button {
    width: 35px;
  }
}

.site-mark{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0}
.site-mark img{width:40px;height:40px;flex:none}
.site-heading{margin:0;font-family:var(--display);font-size:27px;line-height:1;white-space:nowrap}
.site-heading a{color:inherit}
.site-heading span{display:block;color:#516051;font:700 10px/1.3 var(--mono);letter-spacing:.035em}
.intro #shaftTitle{font-size:clamp(46px,5vw,68px);letter-spacing:-.012em;line-height:1;margin:6px 0 3px}
.release-equipment{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.field-notes{margin:22px 0 45px;padding:26px 0 0;border-top:2px solid var(--ink);max-width:900px}
.field-notes h2,.reading h2{font-size:32px;margin:28px 0 10px}
.notes-heading h2{margin-top:0}
.field-notes h3{font:800 24px var(--display);margin:15px 0 6px}
.field-notes p,.field-notes li,.field-notes dd,.reading p,.reading li,.reading td,.reading th{font-size:15px;line-height:1.65}
.field-notes p,.reading p{margin:0 0 12px}
.field-notes a,.reading a,.site-footer a{color:#2b5243;text-underline-offset:2px}
.quick-steps{padding-left:23px;margin:12px 0 18px}
.quick-steps li{margin-bottom:8px;padding-left:4px}
.game-figure{margin:25px 0}
.game-figure img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:6px}
.game-figure figcaption{margin:8px 0;color:var(--soft);font-size:13px;line-height:1.45}
.equipment-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}
.equipment-notes section{border-top:2px solid #416153;background:#e9eadc;padding:0 12px 8px}
.chapter-list{margin:14px 0}
.chapter-list div{display:grid;grid-template-columns:minmax(145px,1fr) 3fr;gap:16px;border-top:1px solid var(--rule);padding:10px 0}
.chapter-list dt{font:800 22px/1.2 var(--display)}
.chapter-list dt span{display:block;font:700 11px/1.5 var(--mono);color:#586652}
.chapter-list dd{margin:0}
.site-footer{padding:20px 0;margin-top:18px;border-top:1px solid var(--rule)}
.site-footer ul{display:flex;flex-wrap:wrap;gap:10px 23px;margin:0;padding:0;list-style:none}
.site-footer a{display:inline-block;padding:8px 0;font-size:14px;font-weight:680}
.reading{max-width:760px;padding:28px 0 24px}
.reading h1{font-size:clamp(39px,7vw,65px);margin:0 0 12px}
.reading .page-lede{font-size:17px}
.site-play{display:inline-block;min-height:44px;padding:8px 13px;border:2px solid var(--ink);border-radius:4px;background:var(--orange);font-weight:750}
.control-table{width:100%;border-collapse:collapse;margin:14px 0}
.control-table th,.control-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--rule);padding:8px 9px}
.control-table thead{background:#e4e8d7}
.site-nav-link{font-weight:650;color:var(--ink);display:inline-block;padding:8px 0;font-size:13px}
@media(min-width:1000px) and (max-height:770px){.intro #shaftTitle{font-size:44px;margin:3px 0 0}}
@media(max-width:690px){
  .site-heading{font-size:21px}.site-heading span{font-size:9px}.site-mark{gap:5px}.site-mark img{width:31px;height:31px}
  .intro #shaftTitle{font-size:45px;margin:5px 0}
  .field-notes h2,.reading h2{font-size:28px}
  .equipment-notes{grid-template-columns:1fr}
  .chapter-list div{grid-template-columns:1fr;gap:4px}
}
@media(max-width:380px){.site-heading{font-size:18px}.site-heading span{font-size:8px}.site-mark img{width:27px;height:27px}.intro #shaftTitle{font-size:36px}}
@media(max-width:350px){.site-heading{font-size:17px}.site-heading span{font-size:7.5px}.intro #shaftTitle{font-size:33px;margin-bottom:3px}}
@media(max-width:350px){
  .site-heading span{max-width:86px;white-space:normal;line-height:1.15}
  .controls .primary{gap:7px;padding-inline:6px;font-size:19px}
  #actionText{white-space:nowrap}
}


.feedback-form { margin: 20px 0; }
.feedback-form label { display: block; font-weight: 700; }
.feedback-form textarea { display: block; width: 100%; padding: 10px; margin: 6px 0 12px; border: 1px solid var(--rule); border-radius: 4px; background: #f9f6ec; color: var(--ink); font: inherit; }
.feedback-form button { cursor: pointer; }
.feedback-form [role="status"] { min-height: 1.65em; margin-top: 8px; }
