/* TLT Career File 0.4.3 // mobile decision-clearance and evidence-contrast hardening // 2026-08-07 */
@font-face {
  font-family: "TLT Career Display";
  src: url("fonts/roboto-slab-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "TLT Career Type";
  src: url("fonts/courier-prime-latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "TLT Career Type";
  src: url("fonts/courier-prime-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

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

.tlt-career-machine {
  --career-black: #090907;
  --career-black-2: #11110e;
  --career-wood: #19130f;
  --career-wood-2: #2a1e15;
  --career-paper: #e8dfcc;
  --career-paper-2: #cfc2a8;
  --career-ink: #1a1b18;
  --career-carbon: #333831;
  --career-brass: #a98545;
  --career-brass-bright: #d2b06a;
  --career-red: #934c45;
  --career-moss: #6f8f5f;
  --career-cream: #f4efe6;
  --career-line: rgba(55, 45, 31, 0.28);
  --career-art-opacity: 0.35;
  --career-display: "TLT Career Display", Georgia, serif;
  --career-type: "TLT Career Type", "Courier New", monospace;
  --career-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--career-cream);
  container-name: tlt-career-machine;
  container-type: inline-size;
  font-family: var(--career-ui);
  font-size: 16px;
  line-height: 1.35;
  min-width: 0;
  position: relative;
  width: 100%;
}

/* Escape the narrow WordPress post column on rail-based desktop pages. */
@media (min-width: 901px) and (max-width: 1100px) {
  .tlt-career-machine {
    max-width: 1640px;
    width: min(1640px, calc(100vw - 215px));
  }
}

/*
 * Kadence keeps the shortcode inside an article-width entry column while the
 * authenticated Third Floor shell has materially more room beside the rail.
 * On full desktop, Career File owns a centered, rail-aware aperture.
 */
@media (min-width: 1101px) {
  .tlt-career-machine {
    margin-left: 50%;
    margin-right: 0;
    max-width: none;
    transform: translateX(-50%);
    width: min(1280px, calc(100vw - 160px));
  }
}

.tlt-career-machine button,
.tlt-career-machine select,
.tlt-career-machine input,
.tlt-career-machine textarea {
  appearance: none;
  border-radius: 0;
  box-shadow: none !important;
  font-family: var(--career-ui) !important;
  letter-spacing: normal;
  margin: 0 !important;
  text-transform: none !important;
}

.tlt-career-machine button,
.tlt-career-machine select,
.tlt-career-machine summary {
  -webkit-tap-highlight-color: transparent;
}

.tlt-career-machine button:focus-visible,
.tlt-career-machine select:focus-visible,
.tlt-career-machine summary:focus-visible,
.tlt-career-machine [tabindex="-1"]:focus-visible {
  outline: 3px solid #e1b457 !important;
  outline-offset: 3px;
}

.tlt-career-machine img {
  max-width: none;
}

.tlt-cf-access {
  background: linear-gradient(135deg, rgba(169, 133, 69, 0.15), transparent 46%), #11110e;
  border: 1px solid rgba(210, 176, 106, 0.46);
  color: #f4efe6;
  margin: 24px auto;
  max-width: 760px;
  padding: clamp(28px, 6vw, 64px);
}

.tlt-cf-access span,
.tlt-cf-access h1,
.tlt-cf-access p {
  display: block;
  margin: 0;
}

.tlt-cf-access span {
  color: #d2b06a;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tlt-cf-access h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
  margin-top: 10px;
}

.tlt-cf-access p {
  color: rgba(244, 239, 230, 0.76);
  margin: 18px 0 24px;
}

.tlt-cf-access a {
  align-items: center;
  background: #a98545;
  border: 1px solid #d2b06a;
  color: #11110e;
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
}

.tlt-career-machine__room {
  background: var(--career-black);
  border: 1px solid rgba(210, 176, 106, 0.34);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.52);
  isolation: isolate;
  margin: 0 auto;
  max-width: 1640px;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.tlt-career-machine__room::before {
  background-image: url("textures/career-carbon-lines.svg");
  content: "";
  inset: 0;
  opacity: 0.44;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.tlt-career-machine__stage {
  background: linear-gradient(110deg, rgba(9, 9, 7, 0.98) 0 54%, rgba(17, 14, 10, 0.2) 78% 100%);
  min-height: clamp(650px, 69vh, 760px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tlt-career-machine__stage::after {
  background: linear-gradient(90deg, rgba(9, 9, 7, 0.45), transparent 59%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.tlt-career-machine__art {
  inset: 0;
  opacity: var(--career-art-opacity);
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.tlt-career-machine__art img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

.tlt-cf-docket {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: clamp(14px, 2.4vw, 34px);
  position: absolute;
  right: clamp(14px, 2.4vw, 34px);
  top: 16px;
  z-index: 7;
}

.tlt-cf-docket__id {
  align-items: stretch;
  background: rgba(13, 12, 9, 0.94);
  border: 1px solid rgba(210, 176, 106, 0.46);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);
  display: flex;
  min-height: 46px;
}

.tlt-cf-docket__id > span {
  align-items: center;
  background: var(--career-brass);
  color: #11110e;
  display: flex;
  font-family: var(--career-type);
  font-size: 17px;
  font-weight: 700;
  justify-content: center;
  min-width: 46px;
}

.tlt-cf-docket__id > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 5px 12px;
}

.tlt-cf-docket__id strong,
.tlt-cf-docket__id small {
  display: block;
  margin: 0;
}

.tlt-cf-docket__id strong {
  font-family: var(--career-display);
  font-size: 15px;
  line-height: 1.05;
}

.tlt-cf-docket__id small {
  color: rgba(244, 239, 230, 0.54);
  font-family: var(--career-type);
  font-size: 8px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tlt-cf-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.tlt-cf-control {
  align-items: center;
  background: rgba(13, 12, 9, 0.94) !important;
  border: 1px solid rgba(210, 176, 106, 0.35) !important;
  color: var(--career-cream) !important;
  cursor: pointer;
  display: grid;
  font-size: 10px !important;
  gap: 0 6px;
  grid-template-columns: 10px auto;
  line-height: 1.05;
  min-height: 44px;
  min-width: 66px;
  padding: 6px 8px;
}

.tlt-cf-control > span {
  color: rgba(244, 239, 230, 0.42);
  grid-row: 1 / 3;
}

.tlt-cf-control b,
.tlt-cf-control small {
  display: block;
  font-size: inherit;
  text-align: left;
}

.tlt-cf-control small {
  color: rgba(244, 239, 230, 0.46);
  font-family: var(--career-type);
  font-size: 8px;
}

.tlt-cf-control[aria-pressed="true"] {
  border-color: var(--career-brass-bright) !important;
}

.tlt-cf-control[aria-pressed="true"] > span {
  color: var(--career-brass-bright);
}

.tlt-cf-help {
  background: #12120f;
  border: 1px solid rgba(210, 176, 106, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.74);
  color: var(--career-cream);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 24px;
  position: absolute;
  right: 20px;
  top: 72px;
  width: min(430px, calc(100% - 40px));
  z-index: 20;
}

.tlt-cf-help[hidden] {
  display: none;
}

.tlt-cf-help > div span,
.tlt-cf-help > div h2,
.tlt-cf-help p,
.tlt-cf-help dl,
.tlt-cf-help dt,
.tlt-cf-help dd {
  margin: 0;
}

.tlt-cf-help > div span {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 10px;
  text-transform: uppercase;
}

.tlt-cf-help h2 {
  font-family: var(--career-display);
  font-size: 28px;
  line-height: 1.05;
  margin-top: 4px !important;
  padding-right: 34px;
}

.tlt-cf-help p {
  color: rgba(244, 239, 230, 0.75);
  font-size: 13px;
  margin-top: 16px !important;
}

.tlt-cf-help dl {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px !important;
}

.tlt-cf-help dl div {
  border: 1px solid rgba(210, 176, 106, 0.25);
  padding: 8px;
}

.tlt-cf-help dt {
  font-size: 11px;
  font-weight: 800;
}

.tlt-cf-help dd {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 11px;
}

.tlt-cf-help__close {
  background: transparent !important;
  border: 1px solid rgba(244, 239, 230, 0.22) !important;
  color: var(--career-cream) !important;
  cursor: pointer;
  font-size: 20px !important;
  height: 44px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
}

.tlt-cf-index-scene {
  min-height: clamp(650px, 69vh, 760px);
  padding: 108px 0 42px clamp(18px, 4vw, 62px);
  position: relative;
  width: min(64%, 920px);
  z-index: 3;
}

.tlt-cf-index-scene__title {
  margin: 0 0 18px;
  max-width: 620px;
}

.tlt-cf-index-scene__title span,
.tlt-cf-index-scene__title h1,
.tlt-cf-index-scene__title p {
  display: block;
  margin: 0;
}

.tlt-cf-index-scene__title span {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tlt-cf-index-scene__title h1 {
  font-family: var(--career-display);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  margin-top: 3px;
}

.tlt-cf-index-scene__title p {
  color: rgba(244, 239, 230, 0.66);
  font-family: var(--career-type);
  font-size: 12px;
  margin-top: 6px;
}

.tlt-cf-index-drawer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(115deg, var(--career-wood-2), #100c09 70%);
  border: 1px solid rgba(210, 176, 106, 0.62);
  box-shadow: 18px 22px 0 rgba(0, 0, 0, 0.22), 0 34px 62px rgba(0, 0, 0, 0.5);
  padding: clamp(16px, 2vw, 25px);
  position: relative;
}

.tlt-cf-index-drawer::before,
.tlt-cf-index-drawer::after {
  background: var(--career-brass);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(17, 13, 9, 0.38);
  content: "";
  height: 8px;
  position: absolute;
  top: 10px;
  width: 8px;
}

.tlt-cf-index-drawer::before {
  left: 10px;
}

.tlt-cf-index-drawer::after {
  right: 10px;
}

.tlt-cf-index-drawer__head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 17px;
  padding: 0 5px;
}

.tlt-cf-index-drawer__head span,
.tlt-cf-index-drawer__head h2,
.tlt-cf-index-drawer__head p {
  display: block;
  margin: 0;
}

.tlt-cf-index-drawer__head span {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tlt-cf-index-drawer__head h2 {
  font-family: var(--career-display);
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1;
  margin-top: 2px;
}

.tlt-cf-index-drawer__head p {
  color: rgba(244, 239, 230, 0.6);
  font-family: var(--career-type);
  font-size: 10px;
  max-width: 390px;
  text-align: right;
}

.tlt-cf-index-stack {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.tlt-cf-index-card {
  background-color: var(--career-paper);
  background-image: url("textures/career-paper-fiber.svg");
  border: 1px solid rgba(26, 27, 24, 0.42);
  color: var(--career-ink);
  display: block;
  flex: 1 1 0;
  min-width: 0;
  padding: 13px 10px 10px;
  position: relative;
}

.tlt-cf-index-card:nth-child(2) {
  transform: translateY(5px);
}

.tlt-cf-index-card:nth-child(3) {
  transform: translateY(1px);
}

.tlt-cf-index-card:nth-child(4) {
  transform: translateY(7px);
}

.tlt-cf-index-card > span {
  display: block;
  font-family: var(--career-type);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.tlt-cf-index-card select {
  background: rgba(255, 255, 255, 0.22) !important;
  border: 0 !important;
  border-bottom: 2px solid var(--career-ink) !important;
  color: var(--career-ink) !important;
  cursor: pointer;
  font-family: var(--career-type) !important;
  font-size: 11px !important;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 24px 8px 2px;
  width: 100%;
}

.tlt-cf-index-card > i {
  border-color: var(--career-ink) transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0;
  bottom: 28px;
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 10px;
  width: 0;
}

.tlt-cf-index-drawer__face {
  align-items: center;
  border-top: 1px solid rgba(210, 176, 106, 0.25);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 22px;
  padding: 15px 5px 0;
}

.tlt-cf-index-drawer__face > span {
  color: rgba(244, 239, 230, 0.46);
  font-family: var(--career-type);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tlt-cf-drawer-pull {
  align-items: center;
  background: linear-gradient(180deg, #d2b06a, #8c6a34) !important;
  border: 1px solid #e1c483 !important;
  color: #15110b !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 50px;
  min-width: 180px;
  padding: 10px 18px;
}

.tlt-cf-drawer-pull > i {
  border: 3px solid #3f2f1b;
  border-bottom-width: 5px;
  height: 17px;
  width: 38px;
}

.tlt-cf-drawer-pull:active {
  transform: translateY(2px);
}

.tlt-cf-game-label {
  left: clamp(18px, 3vw, 48px);
  position: absolute;
  top: 78px;
  z-index: 5;
}

.tlt-cf-game-label span,
.tlt-cf-game-label h1,
.tlt-cf-game-label p {
  display: block;
  margin: 0;
}

.tlt-cf-game-label span {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tlt-cf-game-label h1 {
  font-family: var(--career-display);
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
}

.tlt-cf-game-label p {
  color: rgba(244, 239, 230, 0.48);
  font-family: var(--career-type);
  font-size: 8px;
  margin-top: 3px;
}

.tlt-cf-workspace {
  margin-left: clamp(18px, 3vw, 48px);
  padding: 124px 0 44px;
  position: relative;
  width: min(65%, 980px);
  z-index: 4;
}

.tlt-cf-clerk-tally {
  background: #15130f;
  border: 1px solid rgba(210, 176, 106, 0.5);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 16px -1px;
  position: relative;
  z-index: 5;
}

.tlt-cf-clerk-tally > div {
  border-right: 1px solid rgba(210, 176, 106, 0.22);
  min-width: 0;
  padding: 7px 9px;
}

.tlt-cf-clerk-tally > div:last-child {
  border-right: 0;
}

.tlt-cf-clerk-tally span,
.tlt-cf-clerk-tally strong {
  display: block;
  margin: 0;
}

.tlt-cf-clerk-tally span {
  color: rgba(244, 239, 230, 0.48);
  font-family: var(--career-type);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tlt-cf-clerk-tally strong {
  color: var(--career-cream);
  font-family: var(--career-type);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  margin-top: 2px;
}

.tlt-cf-case-folder {
  background: linear-gradient(135deg, #2a1e15, #120e0a 72%);
  border: 1px solid rgba(210, 176, 106, 0.6);
  box-shadow: 18px 20px 0 rgba(0, 0, 0, 0.22), 0 34px 68px rgba(0, 0, 0, 0.48);
  color: var(--career-cream);
  min-width: 0;
  position: relative;
}

.tlt-cf-case-folder::before,
.tlt-cf-case-folder::after {
  background: var(--career-brass);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(17, 13, 9, 0.42);
  content: "";
  height: 8px;
  position: absolute;
  top: 12px;
  width: 8px;
  z-index: 4;
}

.tlt-cf-case-folder::before {
  left: 12px;
}

.tlt-cf-case-folder::after {
  right: 12px;
}

.tlt-cf-case-folder__tab {
  align-items: center;
  border-bottom: 3px solid var(--position-color);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 13px 26px;
}

.tlt-cf-active-file {
  align-items: center;
  color: rgba(244, 239, 230, 0.64);
  display: flex;
  font-family: var(--career-type);
  font-size: 8px;
  gap: 7px;
  text-transform: uppercase;
}

.tlt-cf-active-file i {
  background: var(--career-brass-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(210, 176, 106, 0.1);
  height: 7px;
  width: 7px;
}

.tlt-career-machine__room.is-reading .tlt-cf-active-file i {
  animation: tlt-cf-status-pulse 2.1s ease-in-out infinite;
}

.tlt-cf-case-folder__tab h2 {
  font-family: var(--career-display);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  margin: 0;
  min-width: 0;
}

.tlt-cf-case-folder__classification {
  border-left: 1px solid rgba(210, 176, 106, 0.28);
  min-width: 104px;
  padding-left: 12px;
  text-align: right;
}

.tlt-cf-case-folder__classification strong,
.tlt-cf-case-folder__classification span {
  display: block;
  font-family: var(--career-type);
  margin: 0;
}

.tlt-cf-case-folder__classification strong {
  color: var(--position-color);
  font-size: 14px;
}

.tlt-cf-case-folder__classification span {
  color: rgba(244, 239, 230, 0.52);
  font-size: 8px;
  margin-top: 2px;
}

.tlt-cf-case-folder__body {
  background: var(--career-paper-2);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
}

.tlt-cf-season-spine {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--career-paper-2);
  border-right: 1px solid rgba(55, 45, 31, 0.34);
  color: var(--career-ink);
  min-width: 0;
  padding: 18px 10px;
}

.tlt-cf-season-spine__label {
  display: block;
  font-family: var(--career-type);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 3px 9px;
  text-transform: uppercase;
}

.tlt-cf-season-spine__track {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 430px;
  overflow-y: auto;
  padding: 1px 3px 7px;
  scrollbar-color: var(--career-brass) transparent;
  scrollbar-width: thin;
}

.tlt-cf-season-spine button {
  background: #d7cab1 !important;
  border: 1px solid rgba(55, 45, 31, 0.34) !important;
  color: var(--career-ink) !important;
  cursor: pointer;
  min-height: 48px;
  padding: 7px;
  position: relative;
  text-align: left;
  width: 100%;
}

.tlt-cf-season-spine button::before {
  background: var(--career-brass);
  content: "";
  inset: 0 auto 0 0;
  opacity: 0;
  position: absolute;
  width: 4px;
}

.tlt-cf-season-spine button span,
.tlt-cf-season-spine button small {
  display: block;
  font-family: var(--career-type);
  margin: 0;
}

.tlt-cf-season-spine button span {
  font-size: 12px;
  font-weight: 700;
}

.tlt-cf-season-spine button small {
  font-size: 7px;
  margin-top: 1px;
  opacity: 0.66;
}

.tlt-cf-season-spine button[aria-pressed="true"] {
  background: var(--career-paper) !important;
  box-shadow: 6px 5px 0 rgba(55, 45, 31, 0.16) !important;
  transform: translateX(4px);
}

.tlt-cf-season-spine button[aria-pressed="true"]::before {
  opacity: 1;
}

.tlt-cf-record-sheet {
  background-color: var(--career-paper);
  background-image: url("textures/career-paper-fiber.svg");
  color: var(--career-ink);
  min-width: 0;
  padding: clamp(16px, 2.1vw, 28px);
  position: relative;
}

.tlt-cf-record-sheet::after {
  border: 1px solid rgba(55, 45, 31, 0.2);
  content: "";
  inset: 9px;
  pointer-events: none;
  position: absolute;
}

.tlt-cf-record-sheet > * {
  position: relative;
  z-index: 1;
}

.tlt-cf-record-sheet__head {
  align-items: end;
  border-bottom: 2px solid var(--career-ink);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 0 3px 9px;
}

.tlt-cf-record-sheet__head span,
.tlt-cf-record-sheet__head h2 {
  color: var(--career-ink) !important;
  display: block;
  margin: 0;
}

.tlt-cf-record-sheet__head span {
  font-family: var(--career-type);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tlt-cf-record-sheet__head h2 {
  font-family: var(--career-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.9;
  margin-top: 2px;
}

.tlt-cf-record-sheet__head > strong {
  border: 2px solid var(--position-color);
  color: var(--position-color);
  font-family: var(--career-type);
  font-size: 14px;
  padding: 7px 10px 5px;
}

.tlt-cf-season-record {
  margin-top: 14px;
}

.tlt-cf-season-record > header,
.tlt-cf-carbon-ledger > header {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.tlt-cf-season-record > header span,
.tlt-cf-season-record > header h3,
.tlt-cf-carbon-ledger > header span,
.tlt-cf-carbon-ledger > header h3 {
  display: block;
  margin: 0;
}

.tlt-cf-season-record > header span,
.tlt-cf-carbon-ledger > header span {
  font-family: var(--career-type);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tlt-cf-season-record > header h3,
.tlt-cf-carbon-ledger > header h3 {
  color: inherit !important;
  font-family: var(--career-display);
  font-size: 14px;
}

.tlt-cf-data-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 7px 0 0;
}

.tlt-cf-data-row {
  align-items: baseline;
  border-bottom: 1px solid var(--career-line);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
  padding: 8px 6px;
}

.tlt-cf-data-row:nth-child(odd) {
  border-right: 1px solid var(--career-line);
}

.tlt-cf-data-row dt,
.tlt-cf-data-row dd {
  color: inherit !important;
  display: block;
  margin: 0;
}

.tlt-cf-data-row dt {
  font-family: var(--career-type);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.tlt-cf-data-row dd {
  font-family: var(--career-type);
  font-size: clamp(15px, 1.75vw, 22px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.tlt-cf-carbon-ledger {
  background-color: var(--career-carbon);
  background-image: url("textures/career-carbon-lines.svg");
  border-left: 4px solid var(--career-brass);
  color: var(--career-cream);
  margin-top: 15px;
  padding: 12px 14px;
}

.tlt-cf-data-grid--career {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tlt-cf-data-grid--career .tlt-cf-data-row {
  border-color: rgba(244, 239, 230, 0.16);
  border-right: 0;
  padding: 7px 8px;
}

.tlt-cf-data-grid--career .tlt-cf-data-row dt {
  color: rgba(244, 239, 230, 0.62);
}

.tlt-cf-data-grid--career .tlt-cf-data-row dd {
  font-size: 15px;
}

.tlt-cf-one-season {
  border-left: 4px solid var(--career-brass);
  margin-top: 15px;
  padding: 8px 12px;
}

.tlt-cf-one-season span,
.tlt-cf-one-season strong,
.tlt-cf-one-season p {
  display: block;
  margin: 0;
}

.tlt-cf-one-season span {
  font-family: var(--career-type);
  font-size: 8px;
  text-transform: uppercase;
}

.tlt-cf-one-season strong {
  font-family: var(--career-display);
  font-size: 14px;
  margin-top: 1px;
}

.tlt-cf-one-season p {
  background: rgba(26, 27, 24, 0.07);
  color: var(--career-ink) !important;
  font-family: var(--career-type);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 3px;
  max-width: 620px;
  opacity: 1 !important;
  padding: 6px 8px;
}

.tlt-cf-file-note {
  border-top: 1px dashed rgba(55, 45, 31, 0.46);
  font-family: var(--career-type);
  margin: 14px 0 0;
  padding: 9px 3px 0;
}

.tlt-cf-file-note summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 44px;
}

.tlt-cf-file-note summary::-webkit-details-marker {
  display: none;
}

.tlt-cf-file-note summary span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.tlt-cf-file-note summary b {
  border: 1px solid rgba(55, 45, 31, 0.42);
  font-size: 8px;
  padding: 5px 7px;
}

.tlt-cf-file-note[open] summary b::before {
  content: "Close ";
}

.tlt-cf-file-note[open] summary b {
  font-size: 0;
}

.tlt-cf-file-note[open] summary b::before {
  font-size: 8px;
}

.tlt-cf-file-note__body {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px 0 3px;
}

.tlt-cf-file-note__body > div {
  background: rgba(55, 45, 31, 0.07);
  border-left: 2px solid var(--career-brass);
  min-width: 0;
  padding: 7px 9px;
}

.tlt-cf-file-note__body span,
.tlt-cf-file-note__body strong {
  display: block;
  margin: 0;
}

.tlt-cf-file-note__body span {
  font-size: 7px;
  text-transform: uppercase;
}

.tlt-cf-file-note__body strong {
  font-size: 10px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.tlt-cf-file-note.is-held {
  font-size: 8px;
  opacity: 0.66;
  text-transform: uppercase;
}

.tlt-cf-answer-drawer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 26%),
    var(--career-wood);
  border: 1px solid rgba(210, 176, 106, 0.64);
  border-top: 5px solid #100c09;
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.18);
  margin: -1px 13px 0;
  padding: 13px;
  position: relative;
}

.tlt-cf-answer-drawer > header {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 9px;
}

.tlt-cf-answer-drawer > header span,
.tlt-cf-answer-drawer > header h2 {
  display: block;
  margin: 0;
}

.tlt-cf-answer-drawer > header > div > span {
  color: rgba(244, 239, 230, 0.5);
  font-family: var(--career-type);
  font-size: 8px;
  text-transform: uppercase;
}

.tlt-cf-answer-drawer h2 {
  font-family: var(--career-display);
  font-size: 18px;
  line-height: 1;
  margin-top: 2px !important;
}

.tlt-cf-timer {
  border: 1px solid rgba(210, 176, 106, 0.42);
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 10px;
  min-width: 62px;
  padding: 7px 8px;
  text-align: center;
}

.tlt-cf-timer.is-off,
.tlt-cf-timer.is-filed {
  color: rgba(244, 239, 230, 0.5);
}

.tlt-cf-timer.is-expired {
  border-color: var(--career-red);
  color: #e8aaa4;
}

.tlt-cf-choices {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tlt-cf-choice {
  background: linear-gradient(180deg, #c09a53, #7a592c) !important;
  border: 1px solid #d4b777 !important;
  color: var(--career-ink) !important;
  cursor: pointer;
  display: grid;
  font-size: 12px !important;
  gap: 6px;
  grid-template-columns: 23px minmax(0, 1fr);
  min-height: 66px;
  min-width: 0;
  padding: 5px;
  position: relative;
  text-align: left;
}

.tlt-cf-choice::before,
.tlt-cf-choice::after {
  background: #392818;
  border-radius: 50%;
  content: "";
  height: 4px;
  position: absolute;
  top: 4px;
  width: 4px;
  z-index: 3;
}

.tlt-cf-choice::before {
  left: 4px;
}

.tlt-cf-choice::after {
  right: 4px;
}

.tlt-cf-choice > span {
  align-items: center;
  color: #2c2115;
  display: flex;
  font-family: var(--career-type);
  font-size: 9px;
  font-weight: 700;
  justify-content: center;
}

.tlt-cf-choice > strong {
  align-items: center;
  background-color: var(--career-paper);
  background-image: url("textures/career-paper-fiber.svg");
  border: 1px solid rgba(26, 27, 24, 0.35);
  display: flex;
  font-family: var(--career-display);
  font-size: clamp(11px, 1.08vw, 14px);
  justify-content: flex-start;
  line-height: 1.08;
  min-width: 0;
  overflow-wrap: break-word;
  padding: 8px 7px;
  text-wrap: balance;
  word-break: normal;
}

.tlt-cf-choice > i {
  background: #171713;
  bottom: 3px;
  color: var(--career-cream);
  font-family: var(--career-type);
  font-size: 0;
  font-style: normal;
  font-weight: 700;
  padding: 0;
  position: absolute;
  right: 4px;
}

.tlt-cf-choice.is-locked {
  transform: translateY(2px);
}

.tlt-cf-choice.is-locked > i,
.tlt-cf-choice.is-target > i,
.tlt-cf-choice.is-correct > i,
.tlt-cf-choice.is-wrong > i {
  font-size: 7px;
  padding: 2px 4px;
}

.tlt-cf-choice.is-correct,
.tlt-cf-choice.is-target {
  box-shadow: inset 0 0 0 3px var(--career-moss) !important;
}

.tlt-cf-choice.is-wrong {
  box-shadow: inset 0 0 0 3px var(--career-red) !important;
}

.tlt-cf-choice:disabled {
  cursor: default;
  opacity: 0.78;
}

.tlt-cf-choice.is-target,
.tlt-cf-choice.is-correct,
.tlt-cf-choice.is-wrong {
  opacity: 1;
}

.tlt-cf-case-folder--cover {
  background: var(--career-paper-2);
}

.tlt-cf-case-cover {
  background-color: var(--career-paper);
  background-image: url("textures/career-paper-fiber.svg");
  color: var(--career-ink);
  min-height: 410px;
  padding: clamp(20px, 3vw, 38px);
  position: relative;
}

.tlt-cf-case-cover::before {
  border: 2px solid var(--position-color);
  content: "";
  inset: 11px;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.tlt-cf-case-cover > * {
  position: relative;
  z-index: 2;
}

.tlt-cf-case-cover__receipt {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.tlt-cf-case-cover__emblem {
  align-items: center;
  display: flex;
  min-height: 82px;
}

.tlt-cf-position-emblem {
  display: block;
  height: 82px;
  object-fit: contain;
  width: 55px;
}

.tlt-cf-position-key {
  border: 3px solid var(--position-color);
  color: var(--position-color);
  display: inline-flex;
  font-family: var(--career-type);
  font-size: 12px;
  font-weight: 700;
  max-width: 130px;
  min-height: 54px;
  padding: 8px;
  text-align: center;
}

.tlt-cf-ruling__stamp {
  border: 4px double currentColor;
  color: var(--career-moss);
  display: inline-flex;
  flex-direction: column;
  max-width: 230px;
  padding: 7px 12px;
  text-align: center;
  transform: rotate(-2deg);
}

.tlt-cf-ruling.is-wrong .tlt-cf-ruling__stamp {
  color: var(--career-red);
}

.tlt-cf-ruling__stamp strong,
.tlt-cf-ruling__stamp span {
  display: block;
  margin: 0;
}

.tlt-cf-ruling__stamp strong {
  font-family: var(--career-type);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 0.9;
}

.tlt-cf-ruling__stamp span {
  font-family: var(--career-type);
  font-size: 7px;
  margin-top: 4px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.tlt-cf-ruling__identity {
  border-bottom: 2px solid var(--career-ink);
  margin-top: 17px;
  padding-bottom: 14px;
}

.tlt-cf-ruling__identity span,
.tlt-cf-ruling__identity h2,
.tlt-cf-ruling__identity p {
  display: block;
  margin: 0;
}

.tlt-cf-ruling__identity > span {
  color: var(--position-color);
  font-family: var(--career-type);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tlt-cf-ruling__identity h2 {
  color: var(--career-ink) !important;
  font-family: var(--career-display);
  font-size: clamp(34px, 5.2vw, 67px);
  line-height: 0.94;
  margin-top: 5px;
  max-width: 100%;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.tlt-cf-ruling__identity p {
  color: var(--career-ink) !important;
  font-family: var(--career-type);
  font-size: 11px;
  margin-top: 7px;
}

.tlt-cf-ruling__facts {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.tlt-cf-ruling__facts > div {
  border-left: 3px solid var(--career-brass);
  min-width: 0;
  padding: 6px 9px;
}

.tlt-cf-ruling__facts > div > span,
.tlt-cf-ruling__facts > div > strong {
  color: var(--career-ink) !important;
  display: block;
  margin: 0;
}

.tlt-cf-ruling__facts > div > span {
  font-family: var(--career-type);
  font-size: 7px;
  text-transform: uppercase;
}

.tlt-cf-ruling__facts > div > strong {
  font-family: var(--career-type);
  font-size: 11px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.tlt-cf-ruling__facts .tlt-cf-ruling__team {
  grid-column: 1 / -1;
}

.tlt-cf-team-file {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tlt-cf-team-file > i {
  font-family: var(--career-type);
  font-size: 8px;
  font-style: normal;
  opacity: 0.44;
}

.tlt-cf-team-chip {
  background: linear-gradient(90deg, var(--team-color) 0 5px, rgba(26, 27, 24, 0.08) 5px 100%);
  border: 1px solid rgba(26, 27, 24, 0.28);
  color: var(--career-ink);
  font-family: var(--career-type);
  font-size: 9px;
  font-weight: 700;
  min-width: 42px;
  padding: 5px 7px 4px 11px;
  text-align: center;
}

.tlt-cf-team-chip.is-neutral {
  --team-color: #766a56;
}

.tlt-cf-ruling__actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 17px;
}

.tlt-cf-drawer-pull--next {
  min-width: 170px;
}

.tlt-cf-drawer-pull--next > i {
  display: none;
}

.tlt-cf__secondary,
.tlt-cf-round__exports button {
  background: rgba(26, 27, 24, 0.07) !important;
  border: 1px solid rgba(26, 27, 24, 0.32) !important;
  color: var(--career-ink) !important;
  cursor: pointer;
  font-size: 10px !important;
  font-weight: 800;
  min-height: 44px;
  padding: 8px 12px;
}

.tlt-cf-round {
  align-items: center;
  background: var(--career-carbon);
  color: var(--career-cream);
  display: grid;
  gap: 9px 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 15px;
  padding: 11px 13px;
}

.tlt-cf-round span,
.tlt-cf-round strong,
.tlt-cf-round p {
  display: block;
  margin: 0;
}

.tlt-cf-round span,
.tlt-cf-round p {
  font-family: var(--career-type);
  font-size: 8px;
}

.tlt-cf-round strong {
  color: var(--career-brass-bright);
  font-family: var(--career-type);
  font-size: 18px;
}

.tlt-cf-round__exports {
  display: flex;
  gap: 5px;
}

.tlt-cf-round__exports button {
  border-color: rgba(244, 239, 230, 0.26) !important;
  color: var(--career-cream) !important;
  font-size: 8px !important;
}

.tlt-cf-error {
  background: #3c201e;
  border: 1px solid #b46d65;
  color: #ffe4df;
  font-family: var(--career-type);
  font-size: 11px;
  margin: 7px 0;
  padding: 10px 12px;
}

.tlt-cf-workspace > .tlt-cf-error {
  margin-bottom: 10px;
}

.tlt-cf-loading-card {
  background: var(--career-paper);
  border: 1px solid rgba(210, 176, 106, 0.7);
  box-shadow: 18px 22px 0 rgba(0, 0, 0, 0.2);
  color: var(--career-ink);
  left: clamp(18px, 4vw, 64px);
  max-width: 460px;
  padding: 28px;
  position: absolute;
  top: 130px;
  width: calc(60% - 36px);
  z-index: 5;
}

.tlt-cf-loading-card span,
.tlt-cf-loading-card strong {
  display: block;
  font-family: var(--career-type);
  margin: 0;
}

.tlt-cf-loading-card span {
  font-size: 9px;
  text-transform: uppercase;
}

.tlt-cf-loading-card strong {
  font-family: var(--career-display);
  font-size: 23px;
  margin-top: 3px;
}

.tlt-cf-loading-card i {
  background: var(--career-brass);
  display: block;
  height: 4px;
  margin-top: 18px;
  transform-origin: left;
  width: 100%;
  animation: tlt-cf-paper-feed 1s ease-in-out infinite;
}

.tlt-cf__footer {
  align-items: center;
  background: #0c0c0a;
  border-top: 1px solid rgba(210, 176, 106, 0.28);
  color: rgba(244, 239, 230, 0.42);
  display: flex;
  font-family: var(--career-type);
  font-size: 8px;
  gap: 12px;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px clamp(14px, 2.4vw, 34px);
  position: relative;
  text-transform: uppercase;
  z-index: 3;
}

.tlt-cf__footer button {
  background: transparent !important;
  border: 0 !important;
  color: var(--career-brass-bright) !important;
  cursor: pointer;
  font-family: var(--career-type) !important;
  font-size: 8px !important;
  min-height: 44px;
  padding: 5px 12px;
}

.tlt-cf__missing {
  opacity: 0.48;
}

@keyframes tlt-cf-status-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes tlt-cf-paper-feed {
  0% { transform: scaleX(0.08); }
  70%, 100% { transform: scaleX(1); }
}

@keyframes tlt-cf-folder-advance {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tlt-cf-cover-slide {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

.tlt-career-machine__room.is-reading .tlt-cf-case-folder {
  animation: tlt-cf-folder-advance 460ms cubic-bezier(0.2, 0.76, 0.25, 1) both;
}

.tlt-career-machine__room.is-stamped .tlt-cf-case-cover {
  animation: tlt-cf-cover-slide 520ms cubic-bezier(0.2, 0.76, 0.25, 1) both;
}

/* Use the desktop aperture to shorten the evidence sheet without changing it. */
@media (min-width: 1101px) {
  .tlt-career-machine__room--game .tlt-cf-workspace {
    width: min(76%, 980px);
  }

  .tlt-career-machine__room--game .tlt-cf-data-grid--season {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tlt-career-machine__room--game .tlt-cf-data-grid--season .tlt-cf-data-row {
    border-right: 1px solid var(--career-line);
  }

  .tlt-career-machine__room--game .tlt-cf-data-grid--season .tlt-cf-data-row:nth-child(4n) {
    border-right: 0;
  }
}

/*
 * The live Third Floor shell can leave a desktop station with substantially
 * less inline room than the browser viewport. Container rules keep the game
 * desktop-shaped inside that rail without pretending the component is a phone.
 */
@media (min-width: 721px) {
@container tlt-career-machine (max-width: 820px) {
  .tlt-cf-index-scene {
    padding-left: 22px;
    padding-top: 88px;
    width: 78% !important;
  }

  .tlt-cf-index-scene__title {
    margin-bottom: 12px;
  }

  .tlt-cf-index-scene__title h1 {
    font-size: clamp(36px, 7cqw, 46px);
  }

  .tlt-cf-index-drawer {
    padding: 16px;
  }

  .tlt-cf-index-drawer__head {
    align-items: flex-start;
    display: block;
    margin-bottom: 12px;
  }

  .tlt-cf-index-drawer__head h2 {
    font-size: 27px;
  }

  .tlt-cf-index-drawer__head p {
    font-size: 8px;
    margin-top: 4px;
    max-width: none;
    text-align: left;
  }

  .tlt-cf-index-stack {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tlt-cf-index-card,
  .tlt-cf-index-card:nth-child(n) {
    min-width: 0;
    padding: 9px 10px 7px;
    transform: none;
  }

  .tlt-cf-index-card select {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tlt-cf-index-drawer__face {
    margin-top: 14px;
    padding-top: 11px;
  }

  .tlt-cf-workspace {
    padding-bottom: 28px;
    padding-top: 96px;
    width: 78% !important;
  }

  .tlt-cf-game-label {
    top: 64px;
  }

  .tlt-cf-clerk-tally {
    margin-left: 9px;
    margin-right: 9px;
  }

  .tlt-cf-clerk-tally > div {
    padding: 5px 6px;
  }

  .tlt-cf-case-folder__tab {
    min-height: 52px;
    padding: 10px 18px;
  }

  .tlt-cf-case-folder__body {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .tlt-cf-season-spine {
    padding: 10px 7px;
  }

  .tlt-cf-season-spine__track {
    max-height: 270px;
  }

  .tlt-cf-season-spine button {
    min-height: 39px;
    padding: 5px;
  }

  .tlt-cf-record-sheet {
    padding: 14px;
  }

  .tlt-cf-record-sheet__head h2 {
    font-size: 36px;
  }

  .tlt-cf-season-record,
  .tlt-cf-carbon-ledger {
    margin-top: 9px;
  }

  .tlt-cf-data-grid,
  .tlt-cf-data-grid--career {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .tlt-cf-data-row,
  .tlt-cf-data-grid--career .tlt-cf-data-row {
    border-right: 1px solid var(--career-line);
    min-height: 43px;
    padding: 5px;
  }

  .tlt-cf-data-row:nth-child(3n),
  .tlt-cf-data-grid--career .tlt-cf-data-row:nth-child(3n) {
    border-right: 0;
  }

  .tlt-cf-data-row dd {
    font-size: 16px;
  }

  .tlt-cf-data-grid--career .tlt-cf-data-row dd {
    font-size: 13px;
  }

  .tlt-cf-carbon-ledger {
    padding: 9px 10px;
  }

  .tlt-cf-file-note {
    margin-top: 8px;
    padding-top: 5px;
  }

  .tlt-cf-file-note summary {
    min-height: 38px;
  }

  .tlt-cf-answer-drawer {
    margin-left: 8px;
    margin-right: 8px;
    padding: 10px;
  }

  .tlt-cf-choice {
    min-height: 58px;
  }

  .tlt-cf-case-cover {
    min-height: 320px;
    padding: 14px 16px;
  }

  .tlt-cf-case-cover::before {
    inset: 8px;
  }

  .tlt-cf-position-emblem {
    height: 48px;
    width: 36px;
  }

  .tlt-cf-case-cover__emblem {
    min-height: 48px;
  }

  .tlt-cf-position-key {
    font-size: 10px;
    min-height: 44px;
  }

  .tlt-cf-ruling__stamp {
    max-width: 180px;
    padding: 6px 9px;
  }

  .tlt-cf-ruling__stamp strong {
    font-size: 22px;
  }

  .tlt-cf-ruling__identity {
    margin-top: 4px;
    padding-bottom: 7px;
  }

  .tlt-cf-ruling__identity h2 {
    font-size: clamp(30px, 6cqw, 42px);
  }

  .tlt-cf-ruling__facts {
    gap: 4px;
    margin-top: 7px;
  }

  .tlt-cf-ruling__facts > div {
    padding: 4px 7px;
  }

  .tlt-cf-ruling__actions {
    margin-top: 7px;
  }
}
}

@media (min-width: 721px) and (max-height: 800px) {
  .tlt-career-machine__stage,
  .tlt-cf-index-scene {
    min-height: 560px;
  }

  .tlt-cf-docket {
    top: 10px;
  }

  .tlt-cf-index-scene {
    padding-bottom: 24px;
    padding-top: 82px;
  }

  .tlt-cf-workspace {
    padding-bottom: 24px;
    padding-top: 120px;
  }

  .tlt-cf-game-label {
    top: 61px;
  }

  .tlt-cf__footer {
    min-height: 36px;
    padding-bottom: 4px;
    padding-top: 4px;
  }
}

@media (max-width: 1100px) {
  .tlt-cf-index-scene,
  .tlt-cf-workspace {
    width: min(69%, 780px);
  }

  .tlt-cf-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tlt-cf-data-grid--career {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .tlt-career-machine__stage {
    background: linear-gradient(110deg, rgba(9, 9, 7, 0.98) 0 62%, rgba(17, 14, 10, 0.22) 84% 100%);
  }

  .tlt-cf-index-scene,
  .tlt-cf-workspace {
    width: min(76%, 720px);
  }

  .tlt-cf-index-stack {
    flex-wrap: wrap;
  }

  .tlt-cf-index-card {
    flex-basis: calc(50% - 4px);
  }

  .tlt-cf-case-folder__body {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .tlt-career-machine {
    --career-art-opacity: 0.35;
    font-size: 15px;
  }

  .tlt-career-machine__room {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    min-height: 100vh;
    padding-bottom: max(182px, calc(166px + env(safe-area-inset-bottom)));
  }

  .tlt-career-machine__stage,
  .tlt-career-machine__stage--setup {
    background: #090907;
    min-height: 0;
    overflow: visible;
    padding-top: 190px;
  }

  .tlt-career-machine__stage::after {
    background: linear-gradient(180deg, transparent 0 132px, rgba(9, 9, 7, 0.28) 166px, #090907 190px);
    height: 190px;
  }

  .tlt-career-machine__art {
    height: 190px;
    inset: 0 0 auto;
  }

  .tlt-career-machine__art img {
    object-position: 78% 18%;
  }

  .tlt-cf-docket {
    left: 9px;
    right: 9px;
    top: 9px;
  }

  .tlt-cf-docket__id {
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.18);
    min-height: 44px;
  }

  .tlt-cf-docket__id > span {
    font-size: 14px;
    min-width: 40px;
  }

  .tlt-cf-docket__id > div {
    max-width: 108px;
    padding: 5px 8px;
  }

  .tlt-cf-docket__id strong {
    font-size: 12px;
  }

  .tlt-cf-docket__id small {
    font-size: 6px;
  }

  .tlt-cf-controls {
    gap: 4px;
  }

  .tlt-cf-control {
    display: flex;
    gap: 4px;
    justify-content: center;
    min-width: 44px;
    padding: 5px;
  }

  .tlt-cf-control b {
    font-size: 8px;
  }

  .tlt-cf-control small {
    display: none;
  }

  .tlt-cf-help {
    max-height: calc(100vh - 120px - env(safe-area-inset-bottom));
    padding: 20px;
    position: fixed;
    right: 10px;
    top: max(68px, calc(env(safe-area-inset-top) + 56px));
    width: calc(100% - 20px);
  }

  .tlt-cf-index-scene {
    min-height: 0;
    padding: 0 10px 18px;
    width: 100%;
  }

  .tlt-cf-index-scene__title {
    left: 11px;
    margin: 0;
    position: absolute;
    top: -105px;
    width: calc(60% - 14px);
    z-index: 4;
  }

  .tlt-cf-index-scene__title span {
    font-size: 7px;
  }

  .tlt-cf-index-scene__title h1 {
    font-size: clamp(29px, 9vw, 38px);
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.68);
  }

  .tlt-cf-index-scene__title p {
    font-size: 8px;
  }

  .tlt-cf-index-drawer {
    box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.2);
    margin-top: -18px;
    padding: 15px 12px;
  }

  .tlt-cf-index-drawer__head {
    align-items: flex-start;
    display: block;
    margin-bottom: 10px;
    padding: 0 3px;
  }

  .tlt-cf-index-drawer__head h2 {
    font-size: 24px;
  }

  .tlt-cf-index-drawer__head p {
    font-size: 8px;
    margin-top: 4px;
    max-width: 100%;
    text-align: left;
  }

  .tlt-cf-index-stack {
    display: block;
  }

  .tlt-cf-index-card,
  .tlt-cf-index-card:nth-child(n) {
    margin-top: -1px;
    min-height: 56px;
    padding: 8px 9px 7px;
    transform: none;
  }

  .tlt-cf-index-card:nth-child(2) {
    margin-left: 4px;
  }

  .tlt-cf-index-card:nth-child(3) {
    margin-right: 4px;
  }

  .tlt-cf-index-card select {
    font-size: 10px !important;
    min-height: 38px;
    padding-bottom: 5px;
    padding-top: 5px;
  }

  .tlt-cf-index-card > i {
    bottom: 22px;
  }

  .tlt-cf-index-drawer__face {
    align-items: stretch;
    display: block;
    margin-top: 10px;
    padding-top: 10px;
  }

  .tlt-cf-index-drawer__face > span {
    display: block;
    font-size: 6px;
    margin-bottom: 7px;
  }

  .tlt-cf-drawer-pull {
    min-height: 48px;
    width: 100%;
  }

  .tlt-cf-game-label {
    left: 11px;
    top: 104px;
    width: 52%;
  }

  .tlt-cf-game-label h1 {
    font-size: 19px;
  }

  .tlt-cf-game-label p {
    font-size: 7px;
  }

  .tlt-cf-workspace {
    margin: -18px 8px 0;
    padding: 0 0 16px;
    width: auto;
  }

  .tlt-cf-clerk-tally {
    margin: 0 8px -1px;
  }

  .tlt-cf-clerk-tally > div {
    padding: 6px 4px;
  }

  .tlt-cf-clerk-tally span {
    font-size: 6px;
    letter-spacing: 0;
  }

  .tlt-cf-clerk-tally strong {
    font-size: 12px;
  }

  .tlt-cf-case-folder {
    box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.18);
  }

  .tlt-cf-case-folder__tab {
    gap: 7px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 55px;
    padding: 10px 15px;
  }

  .tlt-cf-active-file span {
    display: none;
  }

  .tlt-cf-case-folder__tab h2 {
    font-size: 16px;
  }

  .tlt-cf-case-folder__classification {
    min-width: 74px;
    padding-left: 7px;
  }

  .tlt-cf-case-folder__classification strong {
    font-size: 11px;
  }

  .tlt-cf-case-folder__classification span {
    font-size: 6px;
  }

  .tlt-cf-case-folder__body {
    display: block;
  }

  .tlt-cf-season-spine {
    border-bottom: 1px solid rgba(55, 45, 31, 0.34);
    border-right: 0;
    padding: 8px 9px 7px;
  }

  .tlt-cf-season-spine__label {
    font-size: 7px;
    margin-bottom: 5px;
  }

  .tlt-cf-season-spine__track {
    display: flex;
    flex-direction: row;
    gap: 5px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 1px 5px;
    scroll-snap-type: x proximity;
  }

  .tlt-cf-season-spine button {
    flex: 0 0 72px;
    min-height: 46px;
    scroll-snap-align: start;
    text-align: center;
    width: 72px;
  }

  .tlt-cf-season-spine button[aria-pressed="true"] {
    transform: translateY(-2px);
  }

  .tlt-cf-record-sheet {
    padding: 13px 12px;
  }

  .tlt-cf-record-sheet::after {
    inset: 6px;
  }

  .tlt-cf-record-sheet__head {
    padding: 0 1px 7px;
  }

  .tlt-cf-record-sheet__head h2 {
    font-size: 29px;
  }

  .tlt-cf-record-sheet__head > strong {
    font-size: 10px;
    padding: 5px 7px 4px;
  }

  .tlt-cf-season-record {
    margin-top: 9px;
  }

  .tlt-cf-season-record > header h3,
  .tlt-cf-carbon-ledger > header h3 {
    font-size: 11px;
  }

  .tlt-cf-data-row {
    min-height: 34px;
    padding: 6px 4px;
  }

  .tlt-cf-data-row dt {
    font-size: 6px;
  }

  .tlt-cf-data-row dd {
    font-size: 13px;
  }

  .tlt-cf-carbon-ledger {
    margin-top: 10px;
    padding: 9px 9px 8px;
  }

  .tlt-cf-data-grid--career {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .tlt-cf-data-grid--career .tlt-cf-data-row {
    display: block;
    flex: 0 0 82px;
    min-height: 48px;
    padding: 6px;
  }

  .tlt-cf-data-grid--career .tlt-cf-data-row dd {
    font-size: 12px;
    margin-top: 4px;
    text-align: left;
  }

  .tlt-cf-one-season {
    margin-top: 8px;
    padding: 6px 9px 7px;
  }

  .tlt-cf-one-season p {
    font-size: 9px;
    margin-top: 5px;
    padding: 7px 8px;
  }

  .tlt-cf-file-note {
    margin-top: 9px;
    padding-top: 5px;
  }

  .tlt-cf-file-note summary {
    min-height: 36px;
  }

  .tlt-cf-file-note__body {
    grid-template-columns: 1fr;
  }

  .tlt-cf-answer-drawer {
    box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.14);
    margin: -1px 7px 0;
    padding: 9px;
    scroll-margin-bottom: max(150px, calc(132px + env(safe-area-inset-bottom)));
  }

  .tlt-cf-answer-drawer h2 {
    font-size: 16px;
  }

  .tlt-cf-timer {
    font-size: 8px;
    min-width: 54px;
    padding: 6px;
  }

  .tlt-cf-choices {
    gap: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tlt-cf-choice {
    gap: 4px;
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 60px;
    padding: 4px;
  }

  .tlt-cf-choice > span {
    font-size: 7px;
  }

  .tlt-cf-choice > strong {
    font-size: clamp(10px, 2.9vw, 12px);
    min-height: 48px;
    padding: 5px;
  }

  .tlt-cf-case-cover {
    min-height: 0;
    padding: 18px 15px;
  }

  .tlt-cf-case-cover::before {
    inset: 7px;
  }

  .tlt-cf-case-cover__receipt {
    align-items: center;
  }

  .tlt-cf-position-emblem {
    height: 66px;
    width: 44px;
  }

  .tlt-cf-position-key {
    font-size: 9px;
    min-height: 44px;
  }

  .tlt-cf-ruling__stamp {
    max-width: 170px;
    padding: 6px 8px;
  }

  .tlt-cf-ruling__stamp strong {
    font-size: 21px;
  }

  .tlt-cf-ruling__stamp span {
    font-size: 5px;
  }

  .tlt-cf-ruling__identity {
    margin-top: 12px;
    padding-bottom: 10px;
  }

  .tlt-cf-ruling__identity > span {
    font-size: 8px;
  }

  .tlt-cf-ruling__identity h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .tlt-cf-ruling__identity p {
    font-size: 9px;
  }

  .tlt-cf-ruling__facts {
    gap: 5px;
    margin-top: 10px;
  }

  .tlt-cf-ruling__facts > div {
    padding: 5px 7px;
  }

  .tlt-cf-team-chip {
    font-size: 8px;
    min-width: 37px;
  }

  .tlt-cf-ruling__actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 12px;
  }

  .tlt-cf-drawer-pull--next {
    min-width: 0;
  }

  .tlt-cf-round {
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 10px;
  }

  .tlt-cf-round__exports {
    grid-column: 1 / -1;
  }

  .tlt-cf__footer {
    font-size: 6px;
    min-height: 36px;
    padding: 4px 9px;
  }

  .tlt-cf__footer button {
    font-size: 7px !important;
  }

  .tlt-cf-loading-card {
    left: 10px;
    padding: 20px;
    top: 145px;
    width: calc(100% - 20px);
  }
}

@media (max-width: 360px) {
  .tlt-cf-docket__id > div {
    max-width: 92px;
  }

  .tlt-cf-control b {
    display: none;
  }

  .tlt-cf-control {
    min-width: 44px;
  }

  .tlt-cf-index-scene__title {
    width: 56%;
  }

  .tlt-cf-clerk-tally > div {
    padding-left: 3px;
    padding-right: 3px;
  }

  .tlt-cf-clerk-tally span {
    font-size: 5px;
  }

  .tlt-cf-clerk-tally strong {
    font-size: 11px;
  }

  .tlt-cf-case-folder__tab {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tlt-cf-ruling__facts {
    grid-template-columns: 1fr;
  }

  .tlt-cf-ruling__facts .tlt-cf-ruling__team {
    grid-column: 1;
  }

  .tlt-cf-ruling__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-data: reduce) {
  .tlt-career-machine__art {
    display: none;
  }
}

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

  .tlt-cf-season-spine button[aria-pressed="true"],
  .tlt-cf-choice.is-locked {
    transform: none;
  }
}
