.reckers {
  --gold: #ffcf8a;
  --muted: #d1baba;
  --ink: #1b1723;
  --rail: #cb9d695e;
  --starrilion-play: linear-gradient(110deg, #ffda91, #e9a66f);
  --starrilion-ink: #251a24;
}
.reckers .stage, .reckers .game-shell { background: #191726; }
.reckers .site-bar { background: linear-gradient(#12101edd, #15112000); }
.reckers .title-screen { background: linear-gradient(90deg, #14101ef0 0%, #16121fbb 29%, #17141f22 62%, transparent); }
.reckers .title-content h1 {
  width: min-content;
  font: 700 clamp(54px, 11vw, 168px)/.73 var(--pixel);
  letter-spacing: -.055em;
  text-shadow: .035em .044em #9c624d, .066em .08em #241524;
}
.reckers .title-content h1 span {
  display: block;
  margin-top: .10em;
  color: #ffe7c0;
  font-size: .62em;
  letter-spacing: .005em;
  text-shadow: .05em .045em #86645a, .09em .086em #241524;
}
.reckers .title-badge { margin-bottom: 24px; }
.reckers .title-pitch { max-width: 32ch; margin-top: 32px; }
.reckers .creator-link img {
  box-sizing: border-box;
  border: 1px solid #9c715e;
  border-radius: 4px;
  box-shadow: 2px 2px #211521;
  filter: saturate(.7) brightness(.88);
}
.reckers .creator-link:is(:hover, :focus-visible) img { filter: saturate(.9); }
.reckers .question-screen {
  background: linear-gradient(#100d22ad, #14112345 40%, transparent 72%, #100b1ee6);
}
.reckers .mission-prompt p { color: #f0d8cd; }
.reckers .mission-hud { z-index: 2; }
.reckers .round-instrument progress { accent-color: #edb572; }
.reckers #answer { background: #1a1625ee; border-bottom-color: #b98059; }
.reckers #round-source { font-size: .77rem; color: #ffe0a7; text-underline-offset: 3px; }
.reckers .round-result { pointer-events: auto; }
.reckers [data-rarity='common'] { --rarity-color: #f2bc8b; }
.reckers [data-rarity='uncommon'] { --rarity-color: #a4eeca; }
.reckers [data-rarity='rare'] { --rarity-color: #d8bbff; }
.reckers [data-rarity='deep'] { --rarity-color: #ff94b0; }
.reckers [data-rarity='rarest'] { --rarity-color: #fff1ae; }
.reckers [data-rarity='miss'] { --rarity-color: #ffaaa0; }
.reckers .rocket-payload {
  padding: 5px 9px 6px 12px;
  background: #302433;
  box-shadow: inset 3px 0 #b88055, inset 0 -3px #1a1424, 2px 2px #120e1d;
  border-width: 1px;
  max-width: min(calc(50vw - 48px), 265px);
}
.reckers .rocket-payload[data-phase='docked']::before {
  left: -14px;
  width: 14px;
  height: 2px;
  top: calc(50% - 1px);
  background: #c8a376;
}
.reckers .rocket-payload[data-rarity='miss'] { background: #412531; box-shadow: inset 3px 0 #cc725f, 2px 2px #120e1d; }
.reckers #question-screen[data-kind='rank'] {
  grid-template-rows: auto auto;
  align-content: start;
}
.reckers #question-screen:is([data-kind='rank'], [data-kind='map'], [data-kind='choice'], :has(#estimate-replay:not([hidden]))) {
  padding-top: clamp(96px, 13dvh, 130px);
}
.reckers #question-screen:not([data-kind='trivia']) h2 {
  font-size: clamp(27px, 4vw, 40px);
}
.reckers :is(.survey-choices, .estimate-form, .rank-choices) button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.reckers .survey-choices {
  width: min(100%, 520px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  text-align: left;
}
.reckers .survey-choices button,
.reckers .rank-choices button,
.reckers .estimate-control button {
  border: 1px solid #6b4f58;
  color: #fff1dc;
  background: #281e2cf5;
  box-shadow: inset 0 -3px #17121f;
}
.reckers .survey-choices button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 10px;
  font: 600 .9rem/1.25 var(--readable);
  text-align: left;
}
.reckers .survey-key {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  aspect-ratio: 1;
  color: var(--gold);
  background: #442b33;
  font: 700 .72rem/1 ui-monospace, monospace;
}
.reckers .survey-choices button:enabled:hover,
.reckers .rank-choices button:hover,
.reckers .rank-choices button[aria-pressed='true'],
.reckers .estimate-control button:enabled:hover {
  border-color: var(--gold);
  background: #483044;
}
.reckers .survey-choices button[data-missed='true'] { color: #b9a7aa; text-decoration: line-through; opacity: .63; }
.reckers #question-screen:not([data-kind='trivia']) .answer-dock {
  width: min(100%, 520px);
  align-items: center;
}
.reckers #question-screen:is([data-kind='choice'], [data-kind='map']) .answer-dock {
  grid-template-columns: 58px 1fr;
  gap: 4px 14px;
}
.reckers .answer-dock .survey-choices {
  grid-column: 1 / -1;
  margin: 0 0 6px;
}
.reckers #question-screen:is([data-kind='choice'], [data-kind='map']) .question-clock {
  grid-column: 1;
  grid-row: 2;
}
.reckers #question-screen:is([data-kind='choice'], [data-kind='map']) .question-actions {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-end;
}
.reckers #question-screen:is([data-kind='choice'], [data-kind='map']) #status {
  grid-row: 3;
}
.reckers .estimate-form {
  --gauge-ink: #f8cb8e;
  min-width: 0;
  display: grid;
  justify-items: stretch;
  gap: 9px;
  padding: 10px 12px 12px;
  background: #1b1626f5;
  border: 1px solid #6a4c54;
  border-top: 2px solid #a97151;
  box-shadow: 0 4px #140f1d;
}
.reckers #estimate-readout {
  color: var(--gauge-ink);
  text-align: center;
  font: 700 clamp(1.1rem, 4.3vw, 1.65rem)/1.2 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}
.reckers .estimate-control {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: start;
  gap: clamp(5px, 2vw, 11px);
}
.reckers .estimate-control button { width: 42px; min-height: 40px; font-size: 1.3rem; }
.reckers .estimate-track { display: grid; gap: 3px; }
.reckers #estimate {
  appearance: none;
  touch-action: pan-y;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
}
.reckers #estimate::-webkit-slider-runnable-track {
  height: 9px;
  border: 1px solid #77545a;
  background: repeating-linear-gradient(90deg, #21182388 0 1px, transparent 1px 10%),
    linear-gradient(90deg, #e6ab74 var(--position), #392c3f var(--position));
}
.reckers #estimate::-moz-range-track {
  height: 8px;
  border: 1px solid #77545a;
  background: repeating-linear-gradient(90deg, #21182388 0 1px, transparent 1px 10%),
    linear-gradient(90deg, #e6ab74 var(--position), #392c3f var(--position));
}
.reckers #estimate::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 21px;
  margin-top: -7px;
  background: var(--gauge-ink);
  border: 3px solid #97623f;
  box-shadow: 2px 3px #110f1d;
}
.reckers #estimate::-moz-range-thumb {
  width: 10px;
  height: 15px;
  border-radius: 0;
  background: var(--gauge-ink);
  border: 3px solid #97623f;
  box-shadow: 2px 3px #110f1d;
}
.reckers .estimate-scale {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  font: 600 clamp(.58rem, 2.2vw, .72rem)/1.15 ui-monospace, monospace;
}
.reckers .estimate-scale span:last-child { text-align: right; }
.reckers .estimate-form .primary { justify-self: end; padding-inline: 12px; }
.reckers #question-screen:is([data-kind='rank'], :has(#estimate-replay:not([hidden]))) .mission-prompt {
  width: min(100%, 810px);
}
.reckers .rank-station, .reckers #estimate-replay { width: min(100%, 780px, 78dvh); margin-inline: auto; }
.reckers .replay-monitor {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 0;
  padding: 12px;
  border: 2px solid #72565f;
  background: repeating-linear-gradient(#0000 0 4px, #120e1918 4px 5px), radial-gradient(ellipse, #352637, #171420 74%);
  font: 600 .78rem/1.2 var(--readable);
  color: var(--muted);
}
.reckers .replay-monitor:not(:has(iframe)) { aspect-ratio: 16 / 9; box-sizing: border-box; }
.reckers .replay-monitor:has(iframe) { padding: 0; gap: 0; }
.reckers .replay-monitor iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.reckers .replay-credit {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 6px 8px;
  text-align: left;
}
.reckers :is(.replay-credit a, .voice-clue summary) { color: var(--gold); }
.reckers .voice-clue { margin: 16px auto; width: fit-content; }
.reckers .voice-clue button { min-height: 44px; }
.reckers .voice-clue summary { padding: 9px; cursor: pointer; font-size: .8rem; }
.reckers #voice-quote { margin: 0; font-size: .95rem; }
.reckers .replay-monitor img { width: 54px; height: 46px; object-fit: contain; image-rendering: pixelated; }
.reckers .replay-monitor strong { color: var(--gold); font-size: .94rem; }
.reckers .rank-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.reckers .rank-choices button {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 6px 1px;
  min-height: 52px;
  font: 600 clamp(.62rem, 2.7vw, .8rem)/1.2 var(--readable);
}
.reckers .rank-choices img { width: 27px; height: 23px; object-fit: contain; }
.reckers .rank-lock { justify-self: end; }
.reckers .map-survey {
  width: min(100%, 360px);
  margin: 0 auto;
  background: #191524;
  border: 2px solid #806368;
  box-shadow: inset 0 0 0 4px #292032, 0 4px #161021;
}
.reckers #map-clue {
  width: 100%;
  height: clamp(125px, 27dvh, 240px);
  background: #171521;
  border: 0;
}
.reckers #map-clue-label {
  padding: 6px 4px;
  color: var(--gold);
  border-top: 1px solid #55414e;
  font: 700 clamp(.63rem, 2.5vw, .76rem)/1.3 ui-monospace, monospace;
}
.reckers .solution { margin: 14px auto; font-size: .84rem; }
.reckers .solution summary { cursor: pointer; color: var(--gold); padding: 8px 0; }
.reckers #round-answer-label {
  color: var(--gold);
  font: 700 .73rem/1.2 ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.reckers #round-answer { font-size: clamp(33px, 5vw, 62px); }
.reckers #round-guess { color: #f3c5b8; font-size: clamp(.88rem, 2vw, 1rem); }
.reckers #round-map { height: clamp(116px, 28dvh, 265px); border-color: #806368; }
.reckers .result-screen { background: linear-gradient(90deg, #171220f7, #171220a8 65%, #17122018); }
.reckers .flight-record { width: min(100%, 795px); }
.reckers .result-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(12px, 4vw, 56px);
  margin-bottom: clamp(12px, 3vw, 24px);
}
.reckers .result-depth h2 { font-size: clamp(40px, 6vw, 81px); white-space: nowrap; }
.reckers .depth-map {
  --depth-position: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(174px, 31dvh, 295px);
  border: 1px solid #8a6764;
  background: linear-gradient(#322634 0 21%, #223635 21% 40%, #332746 40% 60%, #3f263e 60% 80%, #17273d 80%);
  box-shadow: 0 4px #0f0c18;
}
.reckers .depth-map::before,
.reckers .depth-map::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0 auto 0 0;
  width: 39%;
  background: repeating-linear-gradient(0deg, #70586a30 0 2px, transparent 2px 16px), #0c0c174a;
  clip-path: polygon(0 0, 85% 0, 85% 9%, 68% 9%, 68% 17%, 87% 17%, 87% 35%, 67% 35%, 67% 43%, 77% 43%, 77% 56%, 91% 56%, 91% 67%, 69% 67%, 69% 74%, 81% 74%, 81% 83%, 61% 83%, 61% 90%, 82% 90%, 82% 100%, 0 100%);
}
.reckers .depth-map::after { inset: 0 0 0 auto; transform: scale(-1); }
.reckers .depth-track { position: absolute; inset: 20px 12px; }
.reckers .depth-ticks {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr) 0;
  color: #eed3c4;
  font: 700 clamp(.56rem, 1.45vw, .74rem)/1 ui-monospace, monospace;
}
.reckers .depth-ticks span { position: relative; }
.reckers .depth-ticks span::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 53%;
  border-top: 1px dashed #ac859a72;
}
.reckers .depth-rope, .reckers .depth-trail {
  position: absolute;
  left: 66%;
  inset-block: 0;
  width: 4px;
  transform: translateX(-50%);
}
.reckers .depth-rope { background: #211724; border: 1px solid #987063; }
.reckers .depth-trail {
  height: var(--depth-position);
  background: #ffd286;
  box-shadow: 0 0 10px #ffb161b8;
}
.reckers .depth-marker {
  position: absolute;
  display: grid;
  place-items: center;
  top: var(--depth-position);
  left: 66%;
  width: 30px;
  height: 27px;
  background: #362439;
  border: 1px solid #e4a972;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px #ffb45968, 2px 2px #15101d;
}
.reckers .depth-marker img { width: 16px; height: 17px; image-rendering: pixelated; }
.reckers .depth-map[data-landed='true'] .depth-marker { animation: depth-landing .55s ease-out both; }
@keyframes depth-landing {
  22% { scale: 1.28; box-shadow: 0 0 20px #ffd68d, 2px 2px #15101d; }
  100% { scale: 1; }
}
.reckers .game-footer { color: #dfc6b9; }
@media (max-width: 640px) {
  .reckers .title-screen { padding-top: max(84px, 13svh); background: linear-gradient(#18121dea, #17141f44 59%, transparent); }
  .reckers .title-content h1 { font-size: clamp(53px, 15vw, 90px); }
  .reckers .title-badge { margin-bottom: 20px; }
  .reckers .title-pitch { margin-top: 19px; }
  .reckers .rocket-payload { max-width: calc(50vw - 40px); }
  .reckers .result-screen { background: #161222dd; }
  .reckers .result-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .reckers .depth-track { inset-inline: 7px; }
  .reckers .result-depth h2 { font-size: clamp(34px, 9vw, 53px); }
  .reckers #question-screen[data-kind='choice'] .survey-choices { grid-template-columns: 1fr; }
  .reckers #map-clue { height: clamp(110px, 25dvh, 170px); }
  .reckers .survey-choices button { font-size: .82rem; min-height: 43px; }
  .reckers .estimate-form { padding-inline: 8px; }
  .reckers #question-screen[data-kind='estimate'] { padding-inline: 10px; }
  .reckers #question-screen[data-kind='estimate'] .answer-dock { grid-template-columns: 41px minmax(0, 1fr); }
}
@media (min-width: 800px) {
  .reckers .rank-choices { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-height: 450px) and (orientation: landscape) {
  .reckers .title-content h1 { font-size: min(12vw, 21svh); }
  .reckers .title-badge { margin-bottom: 10px; }
  .reckers .title-pitch { margin-block: 10px; }
}
