/* TLT Player Snapshot v0.7.2 — mobile safe-area and clue-integrity hardening */
@font-face {
  font-family: "TLT Snapshot Display";
  src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "TLT Snapshot Data";
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TLT Snapshot Data";
  src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.tlt-snapshot-machine {
  --ps-black: #050707;
  --ps-black-2: #090c0d;
  --ps-metal: #121719;
  --ps-metal-2: #20272a;
  --ps-rubber: #0b0e0f;
  --ps-glass: rgba(7, 15, 17, 0.94);
  --ps-glass-deep: rgba(4, 9, 10, 0.985);
  --ps-paper: #f4efe6;
  --ps-muted: #9ba6a4;
  --ps-amber: #d99a3d;
  --ps-orange: #f26a1b;
  --ps-focus: #5ec6c4;
  --ps-danger: #d75454;
  --ps-role: var(--ps-focus);
  --ps-line: rgba(226, 235, 230, 0.18);
  --ps-line-hot: rgba(226, 235, 230, 0.34);
  --ps-art-opacity: 0.34;
  --ps-display: "TLT Snapshot Display", "Arial Narrow", sans-serif;
  --ps-data: "TLT Snapshot Data", Consolas, monospace;
  width: 100%;
  max-width: none;
  min-width: 0;
  color: var(--ps-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  isolation: isolate;
}

.tlt-snapshot-machine,
.tlt-snapshot-machine *,
.tlt-snapshot-machine *::before,
.tlt-snapshot-machine *::after {
  box-sizing: border-box;
}

.tlt-snapshot-machine .tlt-ps-pos--qb { --ps-role: #ef2f8f; }
.tlt-snapshot-machine .tlt-ps-pos--rb { --ps-role: #4d9c65; }
.tlt-snapshot-machine .tlt-ps-pos--wr { --ps-role: #44a5ee; }
.tlt-snapshot-machine .tlt-ps-pos--te { --ps-role: #f2b313; }
.tlt-snapshot-machine .tlt-ps-pos--secondary { --ps-role: #6fa7a0; }
.tlt-snapshot-machine .tlt-ps-pos--front-seven { --ps-role: #7f9ca7; }
.tlt-snapshot-machine .tlt-ps-pos--kicker { --ps-role: #8d5aa2; }
.tlt-snapshot-machine .tlt-ps-pos--punter { --ps-role: #c7a978; }

.tlt-snapshot-machine button,
.tlt-snapshot-machine select,
.tlt-snapshot-machine input,
.tlt-snapshot-machine textarea {
  appearance: none !important;
  min-width: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.tlt-snapshot-machine button {
  cursor: pointer;
}

.tlt-snapshot-machine button:disabled {
  cursor: default;
}

.tlt-snapshot-machine button:focus-visible,
.tlt-snapshot-machine select:focus-visible {
  outline: 3px solid var(--ps-amber) !important;
  outline-offset: 3px !important;
}

.tlt-snapshot-machine .tlt-ps__loading,
.tlt-snapshot-machine .tlt-ps-loading-card {
  color: var(--ps-paper);
}

.tlt-snapshot-machine .tlt-ps__room {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(10px, 1.7vw, 22px) clamp(8px, 1.9vw, 24px) max(24px, env(safe-area-inset-bottom));
  overflow: clip;
  background: transparent;
  isolation: isolate;
}

/*
 * The private station lives inside the logged-in TLT shell. Kadence's content
 * max-width is narrower than the real aperture, so desktop intentionally
 * breaks out to the rail-safe viewport width. This is placement only: the
 * game DOM, artwork, and interaction chassis remain unchanged.
 */
@media (min-width: 1101px) {
  .admin-bar .tlt-snapshot-machine {
    position: relative;
    left: 50%;
    width: min(1680px, calc(100vw - 148px));
    max-width: none;
    padding-top: 8px;
    transform: translateX(-50%);
  }
}

.tlt-snapshot-machine .tlt-ps__room::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 3%, rgba(94, 198, 196, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 7, 0.78), rgba(5, 7, 7, 0.96));
}

.tlt-snapshot-machine .tlt-ps__room::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background: url("textures/snapshot-film-grain.svg") repeat;
}

/* Camera-top machine strip */
.tlt-snapshot-machine .tlt-ps-machine-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 76px;
  margin: 0 0 10px;
  border-top: 2px solid #323b3e;
  border-right: 1px solid #252d30;
  border-bottom: 3px solid #050606;
  border-left: 8px solid var(--ps-amber);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 16%),
    linear-gradient(92deg, #171d1f, #0b0f10 58%, #13191b);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.32),
    inset 0 -1px rgba(255, 255, 255, 0.035);
}

.tlt-snapshot-machine .tlt-ps-machine-bar::before,
.tlt-snapshot-machine .tlt-ps-machine-bar::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid #50595b;
  border-radius: 50%;
  background: #080a0a;
}

.tlt-snapshot-machine .tlt-ps-machine-bar::before { left: 9px; }
.tlt-snapshot-machine .tlt-ps-machine-bar::after { right: 9px; }

.tlt-snapshot-machine .tlt-ps-machine-label {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 9px 18px 8px 16px;
  border-right: 1px solid var(--ps-line);
  font-family: var(--ps-data);
}

.tlt-snapshot-machine .tlt-ps-machine-label > span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(217, 154, 61, 0.42);
  color: var(--ps-amber);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.tlt-snapshot-machine .tlt-ps-machine-title {
  display: grid;
  align-content: center;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-machine-title > strong {
  display: block;
  color: var(--ps-paper);
  font-family: var(--ps-display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 0.92;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.tlt-snapshot-machine .tlt-ps-machine-title > small {
  display: block;
  margin-top: 7px;
  color: var(--ps-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  white-space: nowrap;
}

.tlt-snapshot-machine .tlt-ps-machine-tools,
.tlt-snapshot-machine .tlt-ps__mast-tools {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps__sound,
.tlt-snapshot-machine .tlt-ps__haptics,
.tlt-snapshot-machine .tlt-ps__setup-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  min-width: 88px;
  min-height: 72px;
  padding: 7px 10px;
  border: 0 !important;
  border-left: 1px solid var(--ps-line) !important;
  background: rgba(4, 7, 8, 0.72) !important;
  color: var(--ps-muted) !important;
  font-family: var(--ps-data);
  font-size: 9px !important;
  line-height: 1;
  text-align: left;
}

.tlt-snapshot-machine .tlt-ps__sound-icon,
.tlt-snapshot-machine .tlt-ps__haptics-icon {
  grid-row: 1 / 3;
  margin-right: 7px;
  color: var(--ps-amber);
  font-size: 16px;
}

.tlt-snapshot-machine .tlt-ps__sound small,
.tlt-snapshot-machine .tlt-ps__haptics small,
.tlt-snapshot-machine .tlt-ps__setup-link small {
  color: rgba(244, 239, 230, 0.38);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.tlt-snapshot-machine .tlt-ps__sound[aria-pressed="true"],
.tlt-snapshot-machine .tlt-ps__haptics[aria-pressed="true"] {
  color: var(--ps-paper) !important;
  background: rgba(217, 154, 61, 0.1) !important;
}

@media (min-width: 721px) {
  .tlt-snapshot-machine .tlt-ps__setup-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    white-space: nowrap;
  }
}

/* Setup: one attached calibration bench */
.tlt-snapshot-machine .tlt-ps-calibrate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(680px, 1.28fr);
  min-height: clamp(500px, calc(100vh - 280px), 600px);
  border-top: 1px solid #30383b;
  border-bottom: 8px solid #050606;
  background: #0b0f10;
  box-shadow: 0 28px 46px rgba(0, 0, 0, 0.38);
}

.tlt-snapshot-machine .tlt-ps-calibrate::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 28px;
  pointer-events: none;
  background: url("textures/snapshot-sprocket-strip.svg") repeat-x center / auto 28px;
  opacity: 0.64;
}

.tlt-snapshot-machine .tlt-ps-calibrate__scene {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 10px solid #080a0b;
  background: #070909;
  isolation: isolate;
  animation: tlt-ps-focus-seat 360ms cubic-bezier(0.16, 0.8, 0.24, 1) both;
}

.tlt-snapshot-machine .tlt-ps-calibrate__scene::before,
.tlt-snapshot-machine .tlt-ps__art-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("art/station-01-player-snapshot-underlay-desktop.webp");
  background-position: 50% 50%;
  background-size: cover;
  opacity: var(--ps-art-opacity);
}

.tlt-snapshot-machine .tlt-ps-calibrate__scene::after,
.tlt-snapshot-machine .tlt-ps__art-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 5, 0.05), rgba(3, 5, 5, 0.2) 62%, rgba(3, 5, 5, 0.58)),
    linear-gradient(180deg, rgba(3, 5, 5, 0.06), rgba(3, 5, 5, 0.5));
}

.tlt-snapshot-machine .tlt-ps-calibrate__reticle {
  position: absolute;
  top: 50%;
  left: 33%;
  display: grid;
  place-items: center;
  width: clamp(122px, 14vw, 172px);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 154, 61, 0.44);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 26px rgba(217, 154, 61, 0.08);
}

.tlt-snapshot-machine .tlt-ps-calibrate__reticle::before,
.tlt-snapshot-machine .tlt-ps-calibrate__reticle::after,
.tlt-snapshot-machine .tlt-ps-calibrate__reticle i {
  content: "";
  position: absolute;
  width: 72%;
  height: 1px;
  background: rgba(217, 154, 61, 0.28);
}

.tlt-snapshot-machine .tlt-ps-calibrate__reticle::after { transform: rotate(90deg); }
.tlt-snapshot-machine .tlt-ps-calibrate__reticle i:first-child { transform: rotate(45deg); }
.tlt-snapshot-machine .tlt-ps-calibrate__reticle i:nth-child(2) { transform: rotate(-45deg); }

.tlt-snapshot-machine .tlt-ps-calibrate__reticle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 230, 0.18);
  border-radius: 50%;
  background: rgba(4, 7, 7, 0.54);
  color: rgba(244, 239, 230, 0.66);
  font-family: var(--ps-data);
  font-size: 21px;
}

.tlt-snapshot-machine .tlt-ps-calibrate__scene-readout,
.tlt-snapshot-machine .tlt-ps__art-readout {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(4, 7, 7, 0.78);
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.tlt-snapshot-machine .tlt-ps-calibrate__scene-readout b,
.tlt-snapshot-machine .tlt-ps__art-readout b {
  color: var(--ps-amber);
  font-weight: 600;
}

.tlt-snapshot-machine .tlt-ps-calibrate__console {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 2.4vw, 42px);
  border-left: 1px solid #30383b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 10%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.011) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #151b1d, #0a0e0f 72%);
}

.tlt-snapshot-machine .tlt-ps-calibrate__console::before,
.tlt-snapshot-machine .tlt-ps-calibrate__console::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #475053;
  border-radius: 50%;
  background: #080a0a;
}

.tlt-snapshot-machine .tlt-ps-calibrate__console::before { top: 14px; right: 14px; }
.tlt-snapshot-machine .tlt-ps-calibrate__console::after { right: 14px; bottom: 18px; }

.tlt-snapshot-machine .tlt-ps-calibrate__heading > span,
.tlt-snapshot-machine .tlt-ps__note,
.tlt-snapshot-machine .tlt-ps-viewfinder__rail span,
.tlt-snapshot-machine .tlt-ps-answer header span,
.tlt-snapshot-machine .tlt-ps-stat span,
.tlt-snapshot-machine .tlt-ps-context span,
.tlt-snapshot-machine .tlt-ps-ruling span,
.tlt-snapshot-machine .tlt-ps__footer {
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.tlt-snapshot-machine .tlt-ps-calibrate__heading h2,
.tlt-snapshot-machine .tlt-ps-answer h2,
.tlt-snapshot-machine .tlt-ps-ruling h2 {
  margin: 0;
  color: var(--ps-paper);
  font-family: var(--ps-display);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 0.93;
}

.tlt-snapshot-machine .tlt-ps-calibrate__heading h2 {
  margin-top: 8px;
  font-size: clamp(42px, 4.2vw, 58px);
  overflow-wrap: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.tlt-snapshot-machine .tlt-ps-calibrate__heading p {
  max-width: 48ch;
  margin: 10px 0 0;
  color: rgba(244, 239, 230, 0.58);
  font-size: 12px;
}

.tlt-snapshot-machine .tlt-ps-calibrate__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px 18px;
  margin-top: clamp(22px, 2.2vw, 30px);
}

.tlt-snapshot-machine .tlt-ps-calibrator {
  display: block;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-calibrator__label {
  display: block;
  margin: 0 0 7px;
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.tlt-snapshot-machine .tlt-ps-calibrator__collar {
  position: relative;
  display: block;
  min-width: 0;
  padding: 8px 34px 8px 9px;
  border: 1px solid #384144;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.045) 9px 10px),
    linear-gradient(180deg, #252d30, #0a0d0e 48%, #1c2325);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.05),
    inset 0 -3px 5px rgba(0, 0, 0, 0.54);
}

.tlt-snapshot-machine .tlt-ps-calibrator__collar select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(244, 239, 230, 0.14) !important;
  border-radius: 999px !important;
  background: #080c0d !important;
  color: var(--ps-paper) !important;
  font-family: var(--ps-data);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.tlt-snapshot-machine .tlt-ps-calibrator__collar i {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ps-amber);
  border-bottom: 2px solid var(--ps-amber);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.tlt-snapshot-machine .tlt-ps__primary,
.tlt-snapshot-machine .tlt-ps__secondary {
  min-height: 48px;
  border: 1px solid transparent !important;
  font-family: var(--ps-display);
  font-size: 17px !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.tlt-snapshot-machine .tlt-ps__primary {
  background: var(--ps-orange) !important;
  color: #110a05 !important;
}

.tlt-snapshot-machine .tlt-ps__secondary {
  border-color: var(--ps-line) !important;
  background: #0a0e0f !important;
  color: var(--ps-muted) !important;
}

.tlt-snapshot-machine .tlt-ps-calibrate__shutter {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 2px;
  padding: 0 8px 0 22px;
  border-right: 8px solid #070909 !important;
  background:
    linear-gradient(90deg, var(--ps-orange), #dc5a15 76%, #1a2022 76%) !important;
}

.tlt-snapshot-machine .tlt-ps-calibrate__shutter b {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 2px solid rgba(244, 239, 230, 0.3);
  border-radius: 50%;
  color: var(--ps-paper);
  font-family: var(--ps-data);
  font-size: 10px;
  font-weight: 600;
}

.tlt-snapshot-machine .tlt-ps__note {
  margin: 16px 0 0;
}

/* Active machine: viewfinder attached to contact sheet */
.tlt-snapshot-machine .tlt-ps-machine-bar--game {
  grid-template-columns: minmax(0, 1fr) auto;
}

.tlt-snapshot-machine .tlt-ps__mast-score {
  min-width: 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--ps-line);
  border-bottom: 1px solid var(--ps-line);
  background: rgba(3, 7, 8, 0.78);
}

.tlt-snapshot-machine .tlt-ps-score {
  display: grid;
  grid-template-columns: repeat(6, minmax(68px, 1fr));
  min-height: 64px;
  min-width: 0;
  font-family: var(--ps-data);
}

.tlt-snapshot-machine .tlt-ps-score > div {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 8px 11px;
  border-right: 1px solid var(--ps-line);
  background: rgba(4, 7, 8, 0.54);
}

.tlt-snapshot-machine .tlt-ps-score > div:first-child {
  border-left: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-score span {
  color: rgba(244, 239, 230, 0.42);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.tlt-snapshot-machine .tlt-ps-score strong {
  overflow: hidden;
  margin-top: 2px;
  color: var(--ps-paper);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tlt-snapshot-machine .tlt-ps-score strong small {
  margin-left: 2px;
  color: var(--ps-muted);
  font-size: 8px;
}

.tlt-snapshot-machine .tlt-ps-score .is-current {
  box-shadow: inset 0 2px var(--ps-role);
}

.tlt-snapshot-machine .tlt-ps-timer {
  display: block;
  margin-top: 3px;
  color: var(--ps-amber) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}

.tlt-snapshot-machine .tlt-ps-timer.is-expired {
  color: var(--ps-danger) !important;
}

.tlt-snapshot-machine .tlt-ps-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(460px, 1fr);
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-optical-stage {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border-top: 1px solid #30383b;
  border-bottom: 8px solid #050606;
  background: #090d0e;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
}

.tlt-snapshot-machine .tlt-ps__art-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border: 0;
  background: #070909;
  isolation: isolate;
  pointer-events: none;
}

.tlt-snapshot-machine .tlt-ps__art-field::after {
  background:
    linear-gradient(90deg, rgba(3, 5, 5, 0.2), rgba(3, 5, 5, 0.54) 50%, rgba(3, 5, 5, 0.82)),
    linear-gradient(180deg, rgba(3, 5, 5, 0.12), rgba(3, 5, 5, 0.72));
}

.tlt-snapshot-machine .tlt-ps__aperture {
  position: absolute;
  top: 47%;
  left: 36%;
  width: min(106px, 68%);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 154, 61, 0.42);
  border-radius: 50%;
  opacity: 0.84;
  transform: translate(-50%, -50%);
}

.tlt-snapshot-machine .tlt-ps__aperture::before,
.tlt-snapshot-machine .tlt-ps__aperture::after,
.tlt-snapshot-machine .tlt-ps__aperture i {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 1px;
  background: rgba(217, 154, 61, 0.36);
  transform-origin: center;
}

.tlt-snapshot-machine .tlt-ps__aperture::before { transform: translate(-50%, -50%); }
.tlt-snapshot-machine .tlt-ps__aperture::after { transform: translate(-50%, -50%) rotate(90deg); }
.tlt-snapshot-machine .tlt-ps__aperture i:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.tlt-snapshot-machine .tlt-ps__aperture i:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.tlt-snapshot-machine .tlt-ps__aperture i:nth-child(3) {
  width: 26%;
  height: 26%;
  border: 1px solid var(--ps-amber);
  border-radius: 50%;
  background: rgba(3, 5, 5, 0.42);
  transform: translate(-50%, -50%);
}

.tlt-snapshot-machine .tlt-ps__art-readout {
  right: 8px;
  bottom: 9px;
  left: 8px;
  display: grid;
  gap: 4px;
}

.tlt-snapshot-machine .tlt-ps-viewfinder {
  position: relative;
  z-index: 1;
  height: 100%;
  min-width: 0;
  padding: 14px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 8%),
    linear-gradient(90deg, rgba(16, 23, 25, 0.78), rgba(7, 12, 13, 0.94) 42%, #080c0d 78%);
}

.tlt-snapshot-machine .tlt-ps-viewfinder::before,
.tlt-snapshot-machine .tlt-ps-viewfinder::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid #4c5659;
  border-radius: 50%;
  background: #080a0a;
}

.tlt-snapshot-machine .tlt-ps-viewfinder::before { top: 6px; right: 6px; }
.tlt-snapshot-machine .tlt-ps-viewfinder::after { right: 6px; bottom: 6px; }

.tlt-snapshot-machine .tlt-ps-viewfinder__rail {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 5px 8px 10px;
  border-bottom: 1px solid var(--ps-line);
  font-family: var(--ps-data);
}

.tlt-snapshot-machine .tlt-ps-viewfinder__rail > div:first-child {
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-viewfinder__rail strong {
  display: block;
  margin-top: 3px;
  color: var(--ps-paper);
  font-family: var(--ps-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.tlt-snapshot-machine .tlt-ps-exposure__code {
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.tlt-snapshot-machine .tlt-ps-exposure__code small {
  display: block;
  margin-bottom: 3px;
  color: var(--ps-role);
  font-size: 8px;
}

.tlt-snapshot-machine .tlt-ps-viewfinder__glass {
  position: relative;
  min-height: 390px;
  margin-top: 10px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ps-role) 42%, #243033);
  background:
    radial-gradient(circle at 52% 14%, color-mix(in srgb, var(--ps-role) 8%, transparent), transparent 38%),
    linear-gradient(160deg, rgba(7, 17, 19, 0.88), rgba(4, 9, 10, 0.965)),
    #050a0b;
  box-shadow:
    inset 0 0 32px rgba(0, 0, 0, 0.62),
    inset 0 1px rgba(244, 239, 230, 0.05);
}

.tlt-snapshot-machine .is-live .tlt-ps-viewfinder__glass {
  animation: tlt-ps-focus-breathe 4.6s ease-in-out infinite;
}

.tlt-snapshot-machine.tlt-ps-is-paused .tlt-ps-viewfinder__glass {
  animation-play-state: paused;
}

.tlt-snapshot-machine .tlt-ps-exposure__plate {
  display: grid;
  grid-template-columns: minmax(80px, 0.38fr) 1fr;
  align-items: center;
  min-height: 98px;
  border-bottom: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-exposure__position {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 8px 12px;
  border-right: 1px solid var(--ps-line);
  background: color-mix(in srgb, var(--ps-role) 9%, transparent);
}

.tlt-snapshot-machine .tlt-ps-exposure__position small {
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.tlt-snapshot-machine .tlt-ps-exposure__position strong {
  margin-top: 2px;
  color: var(--ps-role);
  font-family: var(--ps-display);
  font-size: 50px;
  font-weight: 800;
  line-height: 0.9;
}

.tlt-snapshot-machine .tlt-ps-exposure__position span {
  margin-top: 4px;
  color: rgba(244, 239, 230, 0.52);
  font-family: var(--ps-data);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.tlt-snapshot-machine .tlt-ps-exposure__held {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--ps-muted);
  font-family: var(--ps-data);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.tlt-snapshot-machine .tlt-ps-exposure__held i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ps-role);
  border-radius: 50%;
  background: color-mix(in srgb, var(--ps-role) 34%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ps-role) 24%, transparent);
}

.tlt-snapshot-machine .tlt-ps-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 11px;
  border-top: 1px solid var(--ps-line);
  border-left: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-stat {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 78px;
  padding: 10px 11px;
  border-right: 1px solid var(--ps-line);
  border-bottom: 1px solid var(--ps-line);
  background: rgba(0, 0, 0, 0.2);
}

.tlt-snapshot-machine .tlt-ps-stat strong {
  overflow: hidden;
  margin-top: 4px;
  color: var(--ps-paper);
  font-family: var(--ps-data);
  font-size: clamp(24px, 2.55vw, 32px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tlt-snapshot-machine .tlt-ps-stat.is-lead strong {
  color: var(--ps-role);
}

.tlt-snapshot-machine .tlt-ps-stat span {
  font-size: 9px;
  letter-spacing: 0.13em;
}

.tlt-snapshot-machine .tlt-ps-context {
  display: grid;
  grid-template-columns: auto repeat(2, minmax(0, 1fr));
  min-height: 58px;
  margin-top: 10px;
  border: 1px solid var(--ps-line);
  background: rgba(0, 0, 0, 0.22);
}

.tlt-snapshot-machine .tlt-ps-context > div,
.tlt-snapshot-machine .tlt-ps-context.is-held {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 7px 9px;
  border-right: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-context strong {
  overflow: visible;
  margin-top: 3px;
  color: var(--ps-paper);
  font-family: var(--ps-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.22;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

.tlt-snapshot-machine .tlt-ps-context.is-held {
  grid-template-columns: auto 1fr;
}

.tlt-snapshot-machine .tlt-ps-context.is-held strong {
  margin: 0 0 0 10px;
}

.tlt-snapshot-machine .tlt-ps-viewfinder__corners {
  position: absolute;
  inset: 8px;
  pointer-events: none;
}

.tlt-snapshot-machine .tlt-ps-viewfinder__corners i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: color-mix(in srgb, var(--ps-role) 58%, transparent);
  border-style: solid;
}

.tlt-snapshot-machine .tlt-ps-viewfinder__corners i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.tlt-snapshot-machine .tlt-ps-viewfinder__corners i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.tlt-snapshot-machine .tlt-ps-viewfinder__corners i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.tlt-snapshot-machine .tlt-ps-viewfinder__corners i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }

/* Film contact sheet */
.tlt-snapshot-machine .tlt-ps-contact-sheet {
  position: relative;
  min-width: 0;
  padding: 40px 14px 42px;
  border-top: 1px solid #30383b;
  border-bottom: 8px solid #050606;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 9%),
    url("textures/snapshot-film-grain.svg"),
    #101516;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
}

.tlt-snapshot-machine .tlt-ps-contact-sheet::before,
.tlt-snapshot-machine .tlt-ps-contact-sheet::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 28px;
  background: url("textures/snapshot-sprocket-strip.svg") repeat-x center / auto 28px;
  opacity: 0.82;
}

.tlt-snapshot-machine .tlt-ps-contact-sheet::before { top: 0; }
.tlt-snapshot-machine .tlt-ps-contact-sheet::after { bottom: 0; transform: rotate(180deg); }

.tlt-snapshot-machine .tlt-ps-contact-sheet > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-contact-sheet h2 {
  margin-top: 4px;
  font-size: 34px;
}

.tlt-snapshot-machine .tlt-ps-answer__lock {
  flex: 0 0 auto;
  color: var(--ps-amber) !important;
}

.tlt-snapshot-machine .tlt-ps-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.tlt-snapshot-machine .tlt-ps-contact-frame {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #303a3d;
  background: #090c0d;
  transition: border-color 140ms ease, transform 140ms ease;
}

.tlt-snapshot-machine .tlt-ps-contact-frame::before {
  content: attr(data-frame-shell);
  position: absolute;
  top: 5px;
  right: 7px;
  z-index: 2;
  color: rgba(244, 239, 230, 0.28);
  font-family: var(--ps-data);
  font-size: 7px;
}

.tlt-snapshot-machine .tlt-ps-contact-frame.is-developed {
  grid-column: 1 / -1;
  grid-template-columns: 74px minmax(0, 1fr);
  border-color: var(--ps-role);
}

.tlt-snapshot-machine .tlt-ps-contact-frame.is-rejected {
  border-color: var(--ps-danger);
}

.tlt-snapshot-machine .tlt-ps-contact-frame.is-rejected::after {
  content: "REJECTED";
  position: absolute;
  top: 8px;
  right: -25px;
  z-index: 3;
  width: 92px;
  padding: 3px 0;
  background: var(--ps-danger);
  color: #160606;
  font-family: var(--ps-data);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  transform: rotate(36deg);
}

.tlt-snapshot-machine .tlt-ps-choice {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 124px;
  padding: 20px 12px 14px;
  border: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 18%),
    #0b0f10 !important;
  color: var(--ps-paper) !important;
  font-size: 16px !important;
  text-align: left;
}

.tlt-snapshot-machine .tlt-ps-choice > span {
  display: grid;
  place-items: center;
  width: 25px;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 230, 0.22);
  color: var(--ps-amber);
  font-family: var(--ps-data);
  font-size: 10px;
}

.tlt-snapshot-machine .tlt-ps-choice > strong {
  min-width: 0;
  color: inherit;
  font-family: var(--ps-display);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 0.98;
  overflow-wrap: normal !important;
  text-wrap: balance;
  word-break: normal !important;
  writing-mode: horizontal-tb;
  hyphens: none !important;
}

.tlt-snapshot-machine .tlt-ps-choice > i {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  height: 2px;
  background: rgba(244, 239, 230, 0.08);
}

.tlt-snapshot-machine .tlt-ps-choice:hover:not(:disabled) {
  background: #12191a !important;
}

.tlt-snapshot-machine .tlt-ps-choice:hover:not(:disabled) > i {
  background: var(--ps-amber);
}

.tlt-snapshot-machine .tlt-ps-choice:disabled {
  opacity: 0.58;
}

.tlt-snapshot-machine .tlt-ps-choice.is-target,
.tlt-snapshot-machine .tlt-ps-choice.is-correct {
  opacity: 1;
  background: color-mix(in srgb, var(--ps-role) 10%, #0b0f10) !important;
  transform: translateX(5px);
}

.tlt-snapshot-machine .tlt-ps-choice.is-wrong {
  opacity: 0.92;
  background: rgba(65, 15, 15, 0.48) !important;
}

.tlt-snapshot-machine .tlt-ps-choice.is-target > i,
.tlt-snapshot-machine .tlt-ps-choice.is-correct > i {
  background: var(--ps-role);
}

.tlt-snapshot-machine .tlt-ps-contact-frame.is-developed .tlt-ps-choice {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 100%;
  padding: 10px 6px;
}

.tlt-snapshot-machine .tlt-ps-contact-frame.is-developed .tlt-ps-choice > strong,
.tlt-snapshot-machine .tlt-ps-contact-frame.is-developed .tlt-ps-choice > i {
  display: none;
}

/* Developed receipt lives inside the correct contact frame */
.tlt-snapshot-machine .tlt-ps-ruling {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(120px, 1fr);
  grid-template-areas:
    "key copy"
    "facts facts"
    "round round"
    "actions actions";
  gap: 8px 10px;
  min-width: 0;
  padding: 10px;
  border-left: 1px solid var(--ps-role);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--ps-role) 8%, transparent), transparent 45%),
    #080c0d;
  animation: tlt-ps-develop 420ms ease-out both;
}

.tlt-snapshot-machine .tlt-ps-ruling::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #020303;
  animation: tlt-ps-shutter 490ms ease-out both;
}

.tlt-snapshot-machine .tlt-ps-ruling__key {
  grid-area: key;
  position: relative;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-ruling__emblem {
  width: 62px;
  height: 82px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.2);
  background: #0a0d0e;
}

.tlt-snapshot-machine .tlt-ps-ruling__emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tlt-snapshot-machine .tlt-ps-ruling__glyph {
  display: grid;
  place-items: center;
  width: 62px;
  height: 82px;
  border: 1px solid var(--ps-role);
  background: color-mix(in srgb, var(--ps-role) 12%, #080c0d);
}

.tlt-snapshot-machine .tlt-ps-ruling__glyph span {
  color: var(--ps-role);
  font-family: var(--ps-display);
  font-size: 25px;
}

.tlt-snapshot-machine .tlt-ps-ruling__stamp {
  position: absolute;
  right: -4px;
  bottom: 2px;
  max-width: 78px;
  padding: 3px 5px;
  border: 1px solid currentColor;
  background: rgba(4, 7, 7, 0.84);
  color: var(--ps-role);
  font-family: var(--ps-data);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.tlt-snapshot-machine .tlt-ps-ruling.is-wrong .tlt-ps-ruling__stamp {
  color: var(--ps-danger);
}

.tlt-snapshot-machine .tlt-ps-ruling__copy {
  grid-area: copy;
  align-self: center;
  min-width: 0;
}

.tlt-snapshot-machine .tlt-ps-ruling__copy h2 {
  max-width: 100%;
  margin-top: 4px;
  font-size: clamp(32px, 3.8vw, 46px);
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
  writing-mode: horizontal-tb;
  hyphens: none;
}

.tlt-snapshot-machine .tlt-ps-ruling__copy p {
  margin: 5px 0 0;
  color: var(--ps-role);
  font-family: var(--ps-data);
  font-size: 9px;
  font-weight: 600;
}

.tlt-snapshot-machine .tlt-ps-ruling__facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ps-line);
  border-left: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-ruling__facts > div {
  min-width: 0;
  padding: 6px 8px;
  border-right: 1px solid var(--ps-line);
  border-bottom: 1px solid var(--ps-line);
}

.tlt-snapshot-machine .tlt-ps-ruling__facts strong {
  display: block;
  overflow: visible;
  margin-top: 2px;
  color: var(--ps-paper);
  font-family: var(--ps-data);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.22;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

.tlt-snapshot-machine .tlt-ps-ruling__actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.tlt-snapshot-machine .tlt-ps-ruling__actions button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px !important;
}

.tlt-snapshot-machine .tlt-ps-ruling__actions .tlt-ps__primary {
  min-width: 120px;
}

.tlt-snapshot-machine .tlt-ps-round {
  grid-area: round;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(217, 154, 61, 0.32);
  background: rgba(217, 154, 61, 0.07);
  font-family: var(--ps-data);
}

.tlt-snapshot-machine .tlt-ps-round > span {
  color: var(--ps-amber);
}

.tlt-snapshot-machine .tlt-ps-round > strong {
  color: var(--ps-paper);
  font-size: 16px;
}

.tlt-snapshot-machine .tlt-ps-round p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 8px;
}

.tlt-snapshot-machine .tlt-ps-round > div {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
}

.tlt-snapshot-machine .tlt-ps-round button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--ps-line) !important;
  background: #080b0c !important;
  color: var(--ps-muted) !important;
  font-family: var(--ps-data);
  font-size: 8px !important;
}

.tlt-snapshot-machine .tlt-ps-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--ps-danger);
  background: rgba(72, 15, 15, 0.74);
  color: var(--ps-paper);
  font-size: 12px;
}

.tlt-snapshot-machine .tlt-ps__missing {
  color: rgba(244, 239, 230, 0.36);
}

.tlt-snapshot-machine .tlt-ps__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 0;
  color: rgba(244, 239, 230, 0.32);
}

.tlt-snapshot-machine .tlt-ps-loading-card {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 280px;
  padding: 72px 20px;
  border-top: 1px solid #30383b;
  border-bottom: 28px solid transparent;
  background:
    url("textures/snapshot-sprocket-strip.svg") repeat-x bottom / auto 28px,
    #0a0e0f;
  text-align: center;
}

.tlt-snapshot-machine .tlt-ps-loading-card > span {
  color: var(--ps-amber);
  font-family: var(--ps-data);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.tlt-snapshot-machine .tlt-ps-loading-card > strong {
  margin-top: 12px;
  font-family: var(--ps-display);
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0.04em;
}

.tlt-snapshot-machine .tlt-ps-loading-card i {
  width: 50px;
  height: 50px;
  margin-top: 24px;
  border: 1px solid var(--ps-amber);
  border-radius: 50%;
  animation: tlt-ps-aperture-settle 280ms ease-out both;
}

@keyframes tlt-ps-focus-seat {
  from { opacity: 0.7; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tlt-ps-focus-breathe {
  0%, 100% { box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.62), 0 0 0 rgba(94, 198, 196, 0); }
  50% { box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.62), 0 0 18px color-mix(in srgb, var(--ps-role) 10%, transparent); }
}

@keyframes tlt-ps-aperture-settle {
  from { opacity: 0; transform: scale(1.24); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes tlt-ps-develop {
  from { opacity: 0; filter: contrast(0.6) brightness(0.25); transform: translateX(-8px); }
  to { opacity: 1; filter: none; transform: translateX(0); }
}

@keyframes tlt-ps-shutter {
  0%, 14% { opacity: 1; }
  15%, 100% { opacity: 0; }
}

.tlt-snapshot-machine .is-revealed .tlt-ps__aperture {
  animation: tlt-ps-aperture-settle 280ms ease-out both;
}

/* Tablet */
@media (max-width: 1100px) {
  .tlt-snapshot-machine .tlt-ps-calibrate {
    grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1.38fr);
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tlt-snapshot-machine .tlt-ps-machine-bar--game {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tlt-snapshot-machine .tlt-ps-machine-label > span {
    display: none;
  }

  .tlt-snapshot-machine .tlt-ps-machine-label {
    grid-template-columns: 1fr;
  }

  .tlt-snapshot-machine .tlt-ps-workbench {
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.9fr);
  }

  .tlt-snapshot-machine .tlt-ps-optical-stage {
    display: block;
  }

  .tlt-snapshot-machine .tlt-ps-stat {
    min-height: 74px;
  }
}

@media (max-width: 920px) {
  .tlt-snapshot-machine .tlt-ps-machine-bar--game {
    grid-template-columns: minmax(200px, 1fr) auto;
  }

  .tlt-snapshot-machine .tlt-ps__mast-score {
    border-top: 1px solid var(--ps-line);
  }

  .tlt-snapshot-machine .tlt-ps-score {
    min-height: 52px;
  }

  .tlt-snapshot-machine .tlt-ps-workbench {
    grid-template-columns: 1fr;
  }

  .tlt-snapshot-machine .tlt-ps-optical-stage {
    min-height: 440px;
  }

  .tlt-snapshot-machine .tlt-ps-contact-frame.is-developed {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (min-width: 781px) and (max-width: 1100px) {
  .admin-bar .tlt-snapshot-machine {
    margin-top: 32px;
  }
}

@media (min-width: 1101px) {
  .admin-bar .tlt-snapshot-machine {
    margin-top: 16px;
  }
}

/* Modern phones: preserve the machine, not a card hallway */
@media (max-width: 720px) {
  .tlt-snapshot-machine {
    --ps-art-opacity: 0.35;
  }

  .tlt-snapshot-machine .tlt-ps__room {
    width: 100%;
    padding: 6px 8px max(152px, calc(128px + env(safe-area-inset-bottom)));
    scroll-padding-bottom: max(132px, calc(108px + env(safe-area-inset-bottom)));
  }

  .tlt-snapshot-machine .tlt-ps-machine-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    margin-bottom: 7px;
    border-left-width: 5px;
  }

  .tlt-snapshot-machine .tlt-ps-machine-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 9px 10px;
  }

  .tlt-snapshot-machine .tlt-ps-machine-title > strong {
    display: block;
    font-size: clamp(25px, 7vw, 30px);
    white-space: nowrap;
  }

  .tlt-snapshot-machine .tlt-ps-machine-title > small {
    display: block;
    margin-top: 4px;
    font-size: 7px;
  }

  .tlt-snapshot-machine .tlt-ps-machine-tools {
    min-width: 0;
  }

  .tlt-snapshot-machine .tlt-ps__sound,
  .tlt-snapshot-machine .tlt-ps__haptics,
  .tlt-snapshot-machine .tlt-ps__setup-link {
    grid-template-columns: 1fr;
    min-width: 48px;
    width: 48px;
    min-height: 60px;
    padding: 5px;
    text-align: center;
  }

  .tlt-snapshot-machine .tlt-ps__sound > span:nth-child(2),
  .tlt-snapshot-machine .tlt-ps__haptics > span:nth-child(2),
  .tlt-snapshot-machine .tlt-ps__setup-link > span {
    display: none;
  }

  .tlt-snapshot-machine .tlt-ps__sound-icon,
  .tlt-snapshot-machine .tlt-ps__haptics-icon {
    grid-row: auto;
    margin: 0;
  }

  .tlt-snapshot-machine .tlt-ps__sound small,
  .tlt-snapshot-machine .tlt-ps__haptics small,
  .tlt-snapshot-machine .tlt-ps__setup-link small {
    align-self: end;
    color: rgba(244, 239, 230, 0.76) !important;
    font-size: 7px;
    font-weight: 600;
  }

  .tlt-snapshot-machine .tlt-ps__sound,
  .tlt-snapshot-machine .tlt-ps__haptics,
  .tlt-snapshot-machine .tlt-ps__setup-link {
    color: #c5cfcc !important;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate {
    display: block;
    min-height: 0;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__scene {
    height: clamp(190px, 29vh, 232px);
    border-right: 0;
    border-bottom: 8px solid #050707;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__scene::before,
  .tlt-snapshot-machine .tlt-ps__art-field::before {
    background-image: url("art/station-01-player-snapshot-underlay-mobile.webp");
    background-position: 20% 18%;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__reticle {
    left: 25%;
    width: 112px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__console {
    padding: 18px 14px 22px;
    border-left: 0;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__heading h2 {
    font-size: 38px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__heading p {
    margin-top: 6px;
    font-size: 11px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 10px;
    margin-top: 18px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrator__collar {
    padding: 5px 27px 5px 6px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrator__collar select {
    min-height: 44px;
    padding: 0 8px;
    font-size: 10px;
  }

  .tlt-snapshot-machine .tlt-ps-calibrate__shutter {
    min-height: 54px;
  }

  .tlt-snapshot-machine .tlt-ps-machine-bar--game {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tlt-snapshot-machine .tlt-ps__mast-score {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .tlt-snapshot-machine .tlt-ps-score {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-height: 48px;
  }

  .tlt-snapshot-machine .tlt-ps-score > div {
    padding: 5px 4px;
  }

  .tlt-snapshot-machine .tlt-ps-score span {
    font-size: 6px;
  }

  .tlt-snapshot-machine .tlt-ps-score strong {
    font-size: 12px;
  }

  .tlt-snapshot-machine .tlt-ps-workbench {
    display: block;
  }

  .tlt-snapshot-machine .tlt-ps-optical-stage {
    display: block;
    min-height: 0;
  }

  .tlt-snapshot-machine .tlt-ps__art-field {
    position: absolute;
    inset: 0;
    height: auto;
    border: 0;
  }

  .tlt-snapshot-machine .tlt-ps__aperture {
    left: 24%;
    width: 90px;
  }

  .tlt-snapshot-machine .tlt-ps-viewfinder {
    padding: 10px;
  }

  .tlt-snapshot-machine .tlt-ps-viewfinder__rail {
    min-height: 40px;
  }

  .tlt-snapshot-machine .tlt-ps-viewfinder__rail strong {
    font-size: 25px;
  }

  .tlt-snapshot-machine .tlt-ps-viewfinder__glass {
    min-height: 0;
    padding: 11px;
  }

  .tlt-snapshot-machine .tlt-ps-exposure__plate {
    min-height: 66px;
  }

  .tlt-snapshot-machine .tlt-ps-exposure__position strong {
    font-size: 38px;
  }

  .tlt-snapshot-machine .tlt-ps-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tlt-snapshot-machine .tlt-ps-stat {
    min-height: 60px;
    padding: 7px;
  }

  .tlt-snapshot-machine .tlt-ps-stat span {
    font-size: 7px;
  }

  .tlt-snapshot-machine .tlt-ps-stat strong {
    font-size: 19px;
  }

  .tlt-snapshot-machine .tlt-ps-context {
    grid-template-columns: auto repeat(2, minmax(0, 1fr));
    min-height: 44px;
  }

  .tlt-snapshot-machine .tlt-ps-context > div {
    padding: 7px 8px;
  }

  .tlt-snapshot-machine .tlt-ps-context strong {
    font-size: 9px;
    line-height: 1.2;
  }

  .tlt-snapshot-machine .tlt-ps-contact-sheet {
    margin-top: 8px;
    padding: 32px 9px 34px;
  }

  .tlt-snapshot-machine .tlt-ps-contact-sheet > header {
    min-height: 44px;
  }

  .tlt-snapshot-machine .tlt-ps-contact-sheet h2 {
    font-size: 28px;
  }

  .tlt-snapshot-machine .tlt-ps-choice {
    min-height: 82px;
    padding: 12px 8px 10px;
  }

  .tlt-snapshot-machine .tlt-ps-choice > strong {
    font-size: clamp(19px, 5.4vw, 23px);
  }

  .tlt-snapshot-machine .tlt-ps-contact-frame.is-developed {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .tlt-snapshot-machine .tlt-ps-contact-frame.is-developed .tlt-ps-choice {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    min-height: 100%;
    padding: 10px 6px;
    text-align: center;
  }

  .tlt-snapshot-machine .tlt-ps-contact-frame.is-developed .tlt-ps-choice > strong {
    display: none;
  }

  .tlt-snapshot-machine .tlt-ps-ruling {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 6px 8px;
    padding: 8px;
  }

  .tlt-snapshot-machine .tlt-ps-ruling__emblem,
  .tlt-snapshot-machine .tlt-ps-ruling__glyph {
    width: 52px;
    height: 70px;
  }

  .tlt-snapshot-machine .tlt-ps-ruling__copy h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .tlt-snapshot-machine .tlt-ps-ruling__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tlt-snapshot-machine .tlt-ps-ruling__facts strong {
    overflow: visible;
    line-height: 1.22;
    overflow-wrap: normal;
    text-overflow: clip;
    white-space: normal;
    word-break: normal;
  }

  .tlt-snapshot-machine .tlt-ps-ruling__actions {
    grid-template-columns: 1fr;
  }

  .tlt-snapshot-machine .tlt-ps-ruling__actions button {
    width: 100%;
  }

  .tlt-snapshot-machine .tlt-ps-round {
    grid-template-columns: auto auto;
  }

  .tlt-snapshot-machine .tlt-ps-round p {
    grid-column: 1 / -1;
  }

  .tlt-snapshot-machine .tlt-ps__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    font-size: 6px;
  }

  .tlt-snapshot-machine .tlt-ps__footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 359px) {
  .tlt-snapshot-machine .tlt-ps-calibrate__form {
    grid-template-columns: 1fr;
  }

  .tlt-snapshot-machine .tlt-ps-choices {
    grid-template-columns: 1fr;
  }

  .tlt-snapshot-machine .tlt-ps-contact-frame.is-developed {
    grid-column: 1;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .tlt-snapshot-machine .tlt-ps-choice {
    min-height: 68px;
  }

  .tlt-snapshot-machine .tlt-ps-ruling__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tlt-snapshot-machine .tlt-ps-ruling__facts > div:last-child {
    grid-column: 1 / -1;
  }

  .tlt-snapshot-machine .tlt-ps-exposure__held span {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tlt-snapshot-machine *,
  .tlt-snapshot-machine *::before,
  .tlt-snapshot-machine *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Private access surface remains separately owned and does not alter access logic. */
.tlt-ps-access {
  max-width: 760px;
  margin: 30px auto;
  padding: clamp(22px, 4vw, 42px);
  border-top: 2px solid #d99a3d;
  border-bottom: 8px solid #050707;
  background: #101516;
  color: #f4efe6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tlt-ps-access > span {
  color: #d99a3d;
  font-family: "TLT Snapshot Data", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tlt-ps-access h1 {
  margin: 8px 0;
  color: #f4efe6;
  font-family: "TLT Snapshot Display", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.9;
}

.tlt-ps-access p {
  color: #9ba6a4;
}

.tlt-ps-access a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  background: #f26a1b;
  color: #130a04;
  font-weight: 800;
  text-decoration: none;
}
