@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #171918;
  --panel: #222523;
  --yellow: #f1c64b;
  --ink: #edede7;
  --muted: #a0a49b;
  --line: #3d423b;
  --red: #ff6a58;
  --green: #a6c49d;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, "Arial", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  background: radial-gradient(ellipse at 75% 30%, #30352a55, transparent 60%);
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
button,
a {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--yellow);
}
h1:focus,
h2:focus {
  outline: none;
}
button {
  user-select: none;
  -webkit-user-select: none;
}
button:active:not(:disabled) {
  transform: translateY(2px);
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
p {
  margin: 0;
}
i,
em {
  font-style: normal;
}
svg {
  display: block;
}
button .icon {
  pointer-events: none;
}
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.text-yellow {
  color: var(--yellow);
}
.text-red {
  color: var(--red) !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image:
    linear-gradient(#73776c1c 1px, transparent 1px),
    linear-gradient(90deg, #73776c1c 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.site-shell {
  position: relative;
  max-width: 1160px;
  margin: auto;
  padding: 0 40px;
}
.masthead {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 21px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.wordmark > i {
  font-weight: 400;
  color: var(--yellow);
}
.brand-mark {
  display: inline-flex;
  width: 33px;
  height: 35px;
  background: var(--yellow);
  color: var(--bg);
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 950;
  transform: skew(-9deg);
  position: relative;
  margin-right: 3px;
}
.brand-mark > span {
  font-size: 16px;
  position: absolute;
  right: 2px;
  top: 0;
}
.edition {
  font: 12px var(--mono);
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin-left: 4px;
  letter-spacing: 1px;
}
.icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 2px;
}
.icon-button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.eyebrow {
  font: 12px/1.5 var(--mono);
  letter-spacing: 1.7px;
  color: var(--muted);
  display: block;
}
.button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 750;
  font-size: 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    background 0.15s,
    transform 0.1s;
}
.primary {
  background: var(--yellow);
  color: #1c201b;
}
.primary:hover {
  background: #ffdb71;
}
.primary > span {
  font: 26px var(--mono);
  margin-left: auto;
}
.secondary {
  background: transparent;
  border-color: var(--line);
  color: #c6c9c0;
}
.secondary:hover {
  border-color: #858a7d;
  background: #ffffff05;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
  color: #858b7f;
  font-size: 12px;
  letter-spacing: 0.6px;
}
.site-footer span:last-child {
  font-family: var(--mono);
}
.site-footer i {
  color: var(--yellow);
  margin: 0 8px;
}
.status-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.status-label > span {
  width: 6px;
  height: 6px;
  background: var(--yellow);
}
.home-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 46px;
  padding: 60px 0 30px;
  align-items: center;
  min-height: calc(100svh - 180px);
}
.home-copy {
  padding: 14px 0;
}
.home-copy h1 {
  font-size: clamp(44px, 4.8vw, 65px);
  line-height: 1.23;
  letter-spacing: -2.8px;
  font-weight: 900;
  margin: 26px 0 18px;
}
.home-copy h1 em {
  color: var(--yellow);
  font-style: italic;
  letter-spacing: -4px;
  margin-right: 5px;
}
.question-mark {
  color: var(--yellow);
}
.tagline {
  font-size: 18px;
  color: #b5b9ad;
  letter-spacing: 1px;
}
.brief-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #c6c8c0;
  margin-top: 27px;
}
.brief-line i {
  color: #656c5e;
}
.home-actions {
  max-width: 328px;
  margin-top: 35px;
  display: grid;
  gap: 10px;
}
.home-tip {
  text-align: center;
  font-size: 12px;
  color: #969b8e;
  padding-top: 5px;
}
.home-visual {
  border: 1px solid #4b5144;
  background: linear-gradient(145deg, #2c3029a8, #1a1e1aaa);
  position: relative;
  min-width: 0;
}
.visual-topline,
.visual-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 11px var(--mono);
  letter-spacing: 1px;
  color: #9da58f;
  padding: 16px 18px;
}
.visual-topline {
  border-bottom: 1px solid #41473b;
}
.visual-topline > span:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
}
.visual-topline i {
  width: 5px;
  height: 5px;
  background: var(--red);
  box-shadow: 0 0 10px #ff6a5866;
}
.visual-bottomline {
  font-size: 10px;
  padding: 13px 14px;
}
.device-stage {
  position: relative;
  height: 385px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.target-rings {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid #7b84632b;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 55px,
    #7b846314 56px 57px
  );
}
.target-rings:after,
.target-rings:before {
  content: "";
  position: absolute;
  background: #7b846324;
}
.target-rings:after {
  width: 100%;
  height: 1px;
  top: 50%;
}
.target-rings:before {
  height: 100%;
  width: 1px;
  left: 50%;
}
.coordinate {
  font: 10px var(--mono);
  color: #7f8973;
  position: absolute;
}
.top-left {
  top: 20px;
  left: 18px;
}
.bottom-right {
  bottom: 25px;
  right: 18px;
}
.teammate-note {
  position: absolute;
  bottom: 22px;
  left: 15px;
  background: #191d19;
  border: 1px solid #4b5144;
  padding: 10px 12px;
  transform: rotate(-4deg);
  box-shadow: 0 4px 16px #0003;
}
.teammate-note > span {
  font-size: 10px;
  color: var(--yellow);
  display: block;
  margin-bottom: 3px;
}
.teammate-note > b {
  font-size: 12px;
  font-weight: 500;
}
.hazard-label {
  border-block: 1px solid #796432;
  background: #453d24;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #e4c774;
  font-size: 13px;
}
.hazard-label > span {
  font-size: 21px;
}
.hazard-label > b {
  font-weight: 500;
}
.module-strip {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 4px;
  color: #a0a697;
  font-size: 12px;
}
.module-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.module-strip > div span {
  color: #c6cbbb;
}
.module-strip > b {
  font-weight: 400;
  color: #8d9484;
  font-family: var(--mono);
}
/* Replaceable C4 placeholder; deliberately toy-like with large physical controls. */
.device-art {
  position: relative;
  width: 340px;
  height: 330px;
  transform: rotate(-9deg);
  flex-shrink: 0;
  filter: drop-shadow(12px 20px 17px #0007);
}
.charge-pack {
  position: absolute;
  inset: 45px 22px 28px;
  display: flex;
  gap: 5px;
  border-radius: 12px;
}
.charge-pack > span {
  flex: 1;
  border: 1px solid #766e47;
  background: linear-gradient(
    90deg,
    #716945,
    #a49a64 35%,
    #867b4a 70%,
    #524d31
  );
  border-radius: 11px;
  box-shadow:
    inset 0 5px 8px #d1c28844,
    inset 0 -8px 10px #1b1d13;
}
.pack-band {
  position: absolute;
  left: 17px;
  right: 18px;
  height: 32px;
  background:
    repeating-linear-gradient(0deg, #292b2355 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #33362a, #565947 50%, #292d24);
  border: 1px solid #686b53;
  box-shadow: 0 3px 6px #0006;
}
.band-top {
  top: 79px;
}
.band-bottom {
  bottom: 53px;
}
.cables {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke-width: 5;
  filter: drop-shadow(1px 3px 1px #0009);
}
.c4-unit {
  position: absolute;
  top: 66px;
  left: 68px;
  width: 205px;
  height: 218px;
  padding: 17px;
  border: 2px solid #484c41;
  background: linear-gradient(120deg, #2c322b, #131813);
  border-radius: 7px;
  box-shadow:
    5px 6px 0 #10140fcc,
    inset 1px 1px 1px #a3ac8266;
}
.screw {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(
    135deg,
    #aab099 0 42%,
    #2b3027 43% 60%,
    #757d68 61%
  );
  border-radius: 50%;
  box-shadow: 0 1px 2px #000;
}
.s1 {
  top: 6px;
  left: 6px;
}
.s2 {
  top: 6px;
  right: 6px;
}
.s3 {
  bottom: 6px;
  left: 6px;
}
.s4 {
  bottom: 6px;
  right: 6px;
}
.unit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px var(--mono);
  letter-spacing: 0.6px;
  color: #8d9b7d;
  margin-bottom: 8px;
}
.led {
  width: 5px;
  height: 5px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px #ff6a5877;
}
.lcd {
  background:
    repeating-linear-gradient(0deg, #07160813 0 1px, transparent 1px 3px),
    #a5ae69;
  color: #273522;
  border: 4px solid #111a11;
  padding: 6px 8px;
  box-shadow: inset 2px 3px 5px #23302188;
  white-space: nowrap;
}
.lcd > small {
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
.lcd > b {
  font: 700 31px/1.2 var(--mono);
  letter-spacing: -2px;
}
.lcd > b > span {
  font-size: 19px;
}
.lcd > div {
  font: 7px var(--mono);
  display: flex;
  justify-content: space-between;
}
.unit-bottom {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.fake-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  flex: 1;
}
.fake-keypad > span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 17px;
  font: 10px var(--mono);
  color: #d5d7c8;
  background: linear-gradient(#53594d, #343c31);
  border: 1px solid #69705e;
  border-radius: 2px;
  box-shadow: 0 2px 0 #050a08;
}
.battery {
  width: 32px;
  border: 1px solid #5f624e;
  background: linear-gradient(90deg, #434835, #272e20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font: 8px var(--mono);
  color: #b0b695;
}
.battery > b {
  writing-mode: vertical-rl;
  letter-spacing: 1px;
  font-size: 9px;
}
.unit-sticker {
  font: 7px var(--mono);
  background: repeating-linear-gradient(120deg, #252818 0 3px, #a89540 3px 6px);
  margin: 9px 0 0;
  padding: 2px;
  color: #ece6bc;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000;
}
.unit-sticker > span {
  background: #333921;
}
.pack-label {
  position: absolute;
  right: 31px;
  bottom: 31px;
  color: #c6bd87;
  font: 6px/1.2 var(--mono);
  letter-spacing: 0.6px;
}
.replacement-bomb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.has-replacement > :not(.replacement-bomb) {
  visibility: hidden;
}
.replacement-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}
dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  background: #222622;
  border: 1px solid #59604f;
  color: var(--ink);
  padding: 24px;
  box-shadow: 0 24px 120px #000b;
}
dialog::backdrop {
  background: #080b08cc;
  backdrop-filter: blur(7px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
dialog h2 {
  font-size: 27px;
  line-height: 1.4;
}
.rules {
  padding: 0;
  list-style: none;
  counter-reset: rules;
  margin: 26px 0;
}
.rules li {
  counter-increment: rules;
  padding: 14px 0 14px 40px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.rules li:before {
  content: "0" counter(rules);
  font: 16px var(--mono);
  color: var(--yellow);
  position: absolute;
  left: 0;
  top: 15px;
}
.rules b {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}
.rules span {
  font-size: 14px;
  line-height: 1.7;
  color: #adb4a5;
}
.manual-note {
  font-size: 13px;
  color: #aaa98d;
  line-height: 1.8;
  margin-bottom: 23px;
}
dialog .button {
  width: 100%;
}
.screen-enter {
  animation: screenIn 0.28s ease-out;
}
@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1400px) {
  .home-screen {
    padding-block: 75px;
  }
  .device-stage {
    height: 420px;
  }
  .device-art {
    transform: rotate(-9deg) scale(1.07);
  }
}
@media (max-width: 760px) {
  .site-shell {
    padding: 0 20px;
    max-width: 520px;
  }
  .masthead {
    height: 70px;
  }
  .wordmark {
    font-size: 18px;
    gap: 8px;
  }
  .edition {
    display: none;
  }
  .brand-mark {
    width: 27px;
    height: 29px;
    font-size: 21px;
  }
  .brand-mark > span {
    font-size: 13px;
  }
  .icon-button {
    width: 42px;
    height: 42px;
  }
  .home-screen {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 0 25px;
    min-height: auto;
    align-items: stretch;
  }
  .home-copy {
    display: contents;
  }
  .home-copy .eyebrow {
    order: 0;
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .home-copy h1 {
    order: 1;
    font-size: 46px;
    line-height: 1.17;
    letter-spacing: -2px;
    margin: 0;
  }
  .home-copy h1 br {
    display: none;
  }
  .home-copy h1 em {
    letter-spacing: -3px;
  }
  .tagline {
    order: 2;
    font-size: 15px;
    letter-spacing: 0.3px;
    margin-top: -8px;
  }
  .brief-line {
    order: 3;
    gap: 15px;
    margin: 0;
    font-size: 12px;
    position: absolute;
    visibility: hidden;
  }
  .home-visual {
    order: 4;
  }
  .home-actions {
    order: 5;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr 112px;
    gap: 9px;
  }
  .home-actions .button {
    padding: 12px;
    min-height: 54px;
    font-size: 16px;
  }
  .home-actions .secondary .icon {
    display: none;
  }
  .home-tip {
    grid-column: 1/-1;
  }
  .device-stage {
    height: 260px;
  }
  .device-art {
    transform: rotate(-9deg) scale(0.8);
  }
  .visual-topline {
    padding: 10px 12px;
    font-size: 9px;
  }
  .visual-bottomline {
    display: none;
  }
  .hazard-label {
    padding: 8px 12px;
    font-size: 12px;
    border-bottom: 0;
  }
  .hazard-label > span {
    font-size: 17px;
  }
  .teammate-note {
    bottom: 12px;
    left: 12px;
    padding: 7px 9px;
    transform: rotate(-3deg);
  }
  .teammate-note > b {
    font-size: 11px;
  }
  .teammate-note > span {
    font-size: 9px;
  }
  .target-rings {
    width: 240px;
    height: 240px;
  }
  .coordinate {
    font-size: 9px;
  }
  .bottom-right {
    bottom: 18px;
    right: 12px;
  }
  .module-strip {
    order: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin-top: 1px;
  }
  .module-strip > span,
  .module-strip > b {
    display: none;
  }
  .module-strip > div {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-size: 11px;
  }
  .site-footer {
    padding: 17px 0 20px;
    font-size: 10px;
    gap: 5px;
    letter-spacing: 0;
  }
  .site-footer > span:last-child {
    font-size: 9px;
  }
  .site-footer i {
    margin: 0 3px;
  }
}
@media (max-width: 370px) {
  .site-shell {
    padding: 0 15px;
  }
  .home-copy h1 {
    font-size: 39px;
  }
  .home-screen {
    gap: 17px;
  }
  .device-stage {
    height: 225px;
  }
  .device-art {
    transform: rotate(-9deg) scale(0.7);
  }
  .module-strip > div {
    gap: 7px;
    font-size: 10px;
  }
  .site-footer > span:last-child {
    font-size: 8px;
  }
  .home-actions {
    grid-template-columns: 1fr 102px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 760px) {
  .home-copy h1 br {
    display: block;
  }
  .site-shell {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .masthead {
    padding-top: env(safe-area-inset-top);
  }
}
