:root {
  --ktc-bg: #050b18;
  --ktc-blue: #2b8cff;
  --ktc-cyan: #6ce8ff;
  --ktc-green: #70f2b1;
  --ktc-text: #f4f9ff;
  --ktc-muted: #91a8c6;
  --ktc-glass: rgba(8, 24, 48, .58);
  --ktc-border: rgba(145, 220, 255, .2);
}

body.ktc-locked { overflow: hidden !important; }

.ktc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  overflow: hidden;
  color: var(--ktc-text);
  background: var(--ktc-bg);
  font-family: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
  opacity: 0;
  visibility: hidden;
  isolation: isolate;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), visibility .7s;
}

.ktc-overlay.ktc-active { opacity: 1; visibility: visible; }
.ktc-overlay.ktc-exiting { opacity: 0; pointer-events: none; }

.ktc-canvas,
.ktc-grid,
.ktc-aurora,
.ktc-vignette,
.ktc-scanlines,
.ktc-flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ktc-canvas { width: 100%; height: 100%; opacity: .9; }

.ktc-grid {
  inset: -30%;
  top: 42%;
  opacity: .34;
  background-image:
    linear-gradient(rgba(61, 161, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 161, 255, .13) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(460px) rotateX(64deg) translateY(0);
  transform-origin: center top;
  animation: ktc-grid-drift 7s linear infinite;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
}

.ktc-aurora {
  inset: -25%;
  opacity: .8;
  background:
    radial-gradient(circle at 16% 28%, rgba(23, 115, 255, .23), transparent 24%),
    radial-gradient(circle at 78% 24%, rgba(34, 208, 255, .15), transparent 28%),
    radial-gradient(circle at 54% 88%, rgba(20, 76, 180, .2), transparent 32%);
  animation: ktc-aurora 11s ease-in-out infinite alternate;
}

.ktc-vignette {
  background: radial-gradient(circle at 50% 45%, transparent 25%, rgba(0, 4, 14, .42) 67%, rgba(0, 2, 9, .9) 100%);
}

.ktc-scanlines {
  opacity: .12;
  background: repeating-linear-gradient(180deg, transparent 0 4px, rgba(147, 220, 255, .08) 5px);
  mix-blend-mode: screen;
}

.ktc-flare {
  width: 56vw;
  height: 2px;
  top: 48%;
  left: 22%;
  opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(146, 228, 255, .9), transparent);
  box-shadow: 0 0 34px 8px rgba(70, 186, 255, .24);
  animation: ktc-flare 8s ease-in-out infinite;
}

.ktc-map-ambient {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 48%;
  width: min(1120px, 94vw);
  aspect-ratio: 2000 / 1121;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.08);
  mask-image: radial-gradient(ellipse at center, #000 30%, rgba(0,0,0,.94) 58%, rgba(0,0,0,.34) 78%, transparent 98%);
  transition: opacity 2.2s cubic-bezier(.22, 1, .36, 1), transform 2.2s cubic-bezier(.22, 1, .36, 1), filter 2.2s;
}
.ktc-active .ktc-map-ambient { opacity: .32; transform: translate(-50%, -50%) scale(1); }
.ktc-active.ktc-map-focus .ktc-map-ambient { opacity: 0; transform: translate(-50%, -50%) scale(.985); }
.ktc-map-window-ended .ktc-map-ambient { opacity: 0; transform: translate(-50%, -50%) scale(.975); filter: blur(7px); }
.ktc-map-ambient img,
.ktc-map-fragment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: url("assets/knight-operations-map.avif") center / cover no-repeat;
  filter: hue-rotate(155deg) saturate(.84) brightness(.68) contrast(1.14);
}
.ktc-map-ambient img { opacity: .72; }
.ktc-map-fragment { opacity: .52; mix-blend-mode: screen; }
.ktc-map-fragment-a { clip-path: polygon(0 0, 58% 0, 43% 52%, 0 72%); }
.ktc-map-fragment-b { clip-path: polygon(58% 0, 100% 0, 100% 62%, 43% 52%); }
.ktc-map-fragment-c { clip-path: polygon(0 72%, 43% 52%, 100% 62%, 100% 100%, 0 100%); }
.ktc-active .ktc-map-ambient img { animation: ktc-map-base-assemble 2s cubic-bezier(.16, 1, .3, 1) both; }
.ktc-active .ktc-map-fragment-a { animation: ktc-map-piece-a 1.65s cubic-bezier(.16, 1, .3, 1) both; }
.ktc-active .ktc-map-fragment-b { animation: ktc-map-piece-b 1.8s cubic-bezier(.16, 1, .3, 1) both; }
.ktc-active .ktc-map-fragment-c { animation: ktc-map-piece-c 1.95s cubic-bezier(.16, 1, .3, 1) both; }
.ktc-map-ambient-lights { position: absolute; inset: 0; }
.ktc-map-ambient-lights i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bff8ff;
  box-shadow: 0 0 8px 2px #67deff, 0 0 25px 7px rgba(39, 146, 255, .34);
  animation: ktc-ambient-light 2.3s ease-in-out infinite var(--ambient-delay);
}

.ktc-topbar {
  position: absolute;
  z-index: 20;
  inset: 26px 34px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ktc-brandlock { display: flex; align-items: center; gap: 12px; }
.ktc-brandmark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ktc-cyan);
  border: 1px solid rgba(118, 219, 255, .42);
  border-radius: 10px;
  background: rgba(8, 28, 53, .58);
  box-shadow: inset 0 0 18px rgba(70, 178, 255, .13);
}
.ktc-brandmark::before,
.ktc-brandmark::after { content: ""; position: absolute; inset: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.ktc-brandmark::after { inset: 12px; opacity: .65; }
.ktc-brandname { font-size: 11px; letter-spacing: .24em; font-weight: 800; }
.ktc-brandname span { display: block; margin-top: 4px; color: var(--ktc-muted); font-size: 8px; letter-spacing: .28em; font-weight: 600; }

.ktc-skip {
  appearance: none;
  border: 1px solid rgba(147, 220, 255, .2);
  border-radius: 999px;
  padding: 10px 16px;
  color: #bfd5ec;
  background: rgba(6, 18, 36, .55);
  backdrop-filter: blur(16px);
  font: inherit;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .5s, transform .5s, color .25s, border-color .25s, background .25s;
}
.ktc-skip.ktc-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ktc-skip:hover { color: #fff; border-color: rgba(147, 220, 255, .55); background: rgba(16, 51, 91, .72); }
.ktc-skip:focus-visible,
.ktc-continue:focus-visible { outline: 2px solid var(--ktc-cyan); outline-offset: 4px; }

.ktc-rail {
  position: absolute;
  z-index: 18;
  left: 34px;
  right: 34px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: #6f89aa;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ktc-rail-track { height: 1px; background: rgba(112, 185, 240, .16); overflow: hidden; }
.ktc-rail-fill { height: 100%; width: 0; background: linear-gradient(90deg, #1a70ff, #72edff); box-shadow: 0 0 14px #31bfff; }
.ktc-rail-scene { min-width: 76px; text-align: right; color: #9ab4d2; }

.ktc-stage { position: absolute; inset: 76px 24px 48px; z-index: 10; }
.ktc-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  filter: blur(9px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1), filter .8s, visibility .9s;
}
.ktc-scene::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 9% 8%;
  pointer-events: none;
  opacity: .18;
  background:
    radial-gradient(circle at 28% 55%, rgba(122,239,255,.95) 0 1px, transparent 5px),
    radial-gradient(circle at 42% 43%, rgba(66,178,255,.9) 0 1px, transparent 6px),
    radial-gradient(circle at 55% 59%, rgba(142,245,255,.95) 0 1px, transparent 5px),
    radial-gradient(circle at 67% 44%, rgba(62,168,255,.9) 0 1px, transparent 6px),
    radial-gradient(circle at 78% 51%, rgba(142,245,255,.95) 0 1px, transparent 5px);
  filter: drop-shadow(0 0 8px #52d5ff);
  animation: ktc-backdrop-flash 2.8s ease-in-out infinite alternate;
}
.ktc-scene > * { position: relative; z-index: 1; }
.ktc-scene.ktc-current { opacity: 1; visibility: visible; transform: scale(1); filter: blur(0); }
.ktc-scene.ktc-leaving { opacity: 0; transform: scale(.985); filter: blur(7px); }

.ktc-kicker { color: var(--ktc-cyan); font-size: 10px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; }
.ktc-title {
  margin: 16px 0 10px;
  font-family: "Bank Gothic", "Avenir Next Condensed", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(34px, 6vw, 78px);
  line-height: .94;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(72, 171, 255, .22);
}
.ktc-title span { display: block; margin-top: 12px; color: #9bb8d7; font-size: .34em; letter-spacing: .28em; font-weight: 500; }
.ktc-subtitle { margin: 0; color: var(--ktc-muted); font-size: clamp(13px, 1.6vw, 17px); letter-spacing: .05em; }
.ktc-center { width: min(100%, 980px); text-align: center; }

.ktc-loader-ring {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 42px auto 0;
  border: 1px solid rgba(120, 210, 255, .14);
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(50, 160, 255, .09), 0 0 34px rgba(50, 160, 255, .1);
}
.ktc-loader-ring::before,
.ktc-loader-ring::after { content: ""; position: absolute; border-radius: 50%; }
.ktc-loader-ring::before { inset: 9px; border: 2px solid transparent; border-top-color: var(--ktc-cyan); border-right-color: rgba(43, 140, 255, .42); animation: ktc-spin 1.6s linear infinite; }
.ktc-loader-ring::after { inset: 28px; background: radial-gradient(circle, #bdf5ff 0 5%, #319dff 8%, rgba(35, 132, 255, .15) 32%, transparent 68%); animation: ktc-core-pulse 1.8s ease-in-out infinite; }

.ktc-map-layout { width: min(1120px, 96vw); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .55fr); gap: clamp(24px, 5vw, 68px); align-items: center; }
.ktc-map-wrap { position: relative; min-height: min(58vw, 610px); display: grid; place-items: center; }
.ktc-map-wrap::before { content: ""; position: absolute; inset: 18% 7%; background: radial-gradient(ellipse, rgba(22, 119, 255, .2), transparent 64%); filter: blur(30px); }
.ktc-map { position: relative; width: 100%; overflow: visible; filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .42)); }
.ktc-photo-map {
  aspect-ratio: 2000 / 1121;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  mask-image: radial-gradient(ellipse at center, #000 35%, rgba(0,0,0,.96) 55%, rgba(0,0,0,.42) 75%, transparent 96%);
  transition: opacity 1.8s cubic-bezier(.22, 1, .36, 1), transform 1.8s cubic-bezier(.22, 1, .36, 1);
}
.ktc-photo-map::after { display: none; }
.ktc-photo-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  filter: hue-rotate(155deg) saturate(.86) brightness(.78) contrast(1.12);
  transform: scale(1.015);
}
.ktc-photo-map-tint {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(145deg, rgba(6, 54, 111, .18), rgba(0, 13, 35, .16)), radial-gradient(circle at 48% 60%, rgba(53, 195, 255, .12), transparent 32%);
  mix-blend-mode: screen;
}
.ktc-photo-network { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ktc-photo-map .ktc-map-node {
  position: absolute;
  z-index: 5;
  left: var(--x);
  top: var(--y);
  width: calc(8px * var(--size));
  height: calc(8px * var(--size));
  border-radius: 50%;
  background: #c7faff;
  opacity: .18;
  transform: translate(-50%, -50%) scale(.45);
  box-shadow: 0 0 7px 2px rgba(90, 221, 255, .7), 0 0 20px 4px rgba(34, 144, 255, .22);
}
.ktc-photo-map .ktc-map-node.ktc-lit { opacity: 1; animation: ktc-photo-flash 1.9s ease-in-out infinite var(--flash-delay); }
.ktc-photo-map .ktc-map-node.ktc-texas { background: #e1fcff; box-shadow: 0 0 10px 3px #75ebff, 0 0 34px 10px rgba(28, 151, 255, .55); }
.ktc-photo-map .ktc-map-node.ktc-technician { background: var(--ktc-green); box-shadow: 0 0 10px 3px var(--ktc-green), 0 0 36px 11px rgba(112, 242, 177, .45); }
.ktc-network-line { fill: none; stroke: rgba(102, 220, 255, .32); stroke-width: 1.1; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; animation: ktc-dash 3s linear infinite; }
.ktc-network-line.ktc-active { stroke: rgba(108, 232, 255, .9); stroke-width: 1.8; filter: drop-shadow(0 0 3px #37bfff); }
.ktc-photo-map .ktc-radar { position: absolute; z-index: 4; left: 47%; top: 68%; width: 88%; aspect-ratio: 1; opacity: 0; transform: translate(-50%, -50%); transform-origin: 50% 50%; pointer-events: none; }
.ktc-photo-map .ktc-radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 12deg, transparent 0 77%, rgba(86, 218, 255, .03) 82%, rgba(114, 234, 255, .45) 99%, transparent); mask-image: radial-gradient(circle, #000 0 67%, transparent 68%); }
.ktc-photo-map .ktc-radar.ktc-active { opacity: .72; animation: ktc-photo-radar 2.3s linear infinite; }
.ktc-photo-map .ktc-texas-ring { position: absolute; z-index: 6; left: 47%; top: 68%; width: 24px; height: 24px; border: 2px solid var(--ktc-cyan); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); transform-origin: center; }
.ktc-photo-map .ktc-texas-ring.ktc-active { animation: ktc-photo-ring 1.7s ease-out infinite; }
.ktc-map-compact { border-radius: 0; }
.ktc-map-window-ended .ktc-photo-map { opacity: 0; transform: scale(.985); }
.ktc-map-window-ended .ktc-scene::after { opacity: 0; animation: none; transition: opacity 1.6s ease; }

.ktc-sidecopy { position: relative; text-align: left; }
.ktc-sidecopy::before { content: ""; position: absolute; left: -24px; top: 2px; bottom: 2px; width: 1px; background: linear-gradient(transparent, rgba(100, 210, 255, .55), transparent); }
.ktc-sidecopy h2 { margin: 12px 0; max-width: 350px; font-size: clamp(25px, 3vw, 42px); line-height: 1.08; font-weight: 550; letter-spacing: -.02em; }
.ktc-sidecopy p { color: var(--ktc-muted); line-height: 1.7; }
.ktc-progress-line { height: 3px; margin: 28px 0 10px; overflow: hidden; background: rgba(110, 183, 237, .13); }
.ktc-progress-line span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #1f76ff, #6deaff); box-shadow: 0 0 12px #34c7ff; transition: width .35s linear; }
.ktc-progress-value { color: #dff8ff; font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .13em; }
.ktc-search-stack { min-height: 70px; margin-top: 24px; color: #bbd1e8; }
.ktc-search-stack strong { display: block; margin-top: 10px; color: var(--ktc-green); font-size: 13px; letter-spacing: .08em; opacity: 0; transform: translateY(6px); transition: .45s; }
.ktc-search-stack strong.ktc-visible { opacity: 1; transform: translateY(0); }

.ktc-glass {
  border: 1px solid var(--ktc-border);
  background: linear-gradient(145deg, rgba(12, 34, 64, .72), rgba(5, 17, 36, .52));
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 28px 80px rgba(0, 3, 12, .42), 0 0 80px rgba(23, 114, 215, .09);
  backdrop-filter: blur(24px) saturate(130%);
}
.ktc-verify-card { width: min(680px, 92vw); padding: clamp(24px, 4vw, 48px); border-radius: 28px; }
.ktc-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ktc-panel-head h2 { margin: 7px 0 0; font-size: clamp(26px, 4vw, 42px); font-weight: 550; }
.ktc-panel-code { color: #6f8cab; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ktc-checks { display: grid; gap: 7px; }
.ktc-check { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: #8199b6; opacity: .36; transform: translateX(-10px); transition: opacity .45s, transform .45s, color .45s, background .45s; }
.ktc-check.ktc-done { opacity: 1; transform: translateX(0); color: #eaf8ff; background: rgba(103, 230, 178, .055); }
.ktc-check-icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(120, 163, 203, .25); border-radius: 50%; color: transparent; font-size: 13px; transition: .4s; }
.ktc-check.ktc-done .ktc-check-icon { color: #03140d; border-color: var(--ktc-green); background: var(--ktc-green); box-shadow: 0 0 18px rgba(112, 242, 177, .34); }
.ktc-priority { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(110, 193, 255, .12); border-radius: 15px; background: rgba(6, 20, 42, .48); color: #91a8c4; opacity: .5; transition: .6s; }
.ktc-priority.ktc-done { opacity: 1; }
.ktc-priority strong { color: #fff; font-weight: 600; }
.ktc-priority em { padding: 5px 10px; border-radius: 999px; color: #a8d7ff; background: rgba(43, 140, 255, .13); font-size: 11px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.ktc-ai-layout { width: min(950px, 94vw); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
.ktc-core-space { position: relative; min-height: 470px; display: grid; place-items: center; }
.ktc-core { position: relative; width: clamp(130px, 19vw, 210px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #e8fbff 0 2%, #7ee8ff 5%, #247df4 22%, rgba(18, 75, 166, .66) 44%, rgba(4, 20, 55, .12) 70%); box-shadow: inset -18px -16px 45px rgba(0, 4, 25, .7), inset 10px 10px 38px rgba(138, 235, 255, .32), 0 0 38px rgba(58, 155, 255, .42), 0 0 110px rgba(32, 122, 255, .24); animation: ktc-core-float 4.2s ease-in-out infinite; }
.ktc-core::before,
.ktc-core::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(116, 224, 255, .32); }
.ktc-core::before { inset: -22px; animation: ktc-spin 7s linear infinite; border-left-color: transparent; border-bottom-color: transparent; }
.ktc-core::after { inset: -46px; border-style: dashed; opacity: .55; animation: ktc-spin 14s linear infinite reverse; }
.ktc-orbit { position: absolute; inset: 50%; }
.ktc-orbit-icon { position: absolute; width: 54px; height: 54px; margin: -27px; display: grid; place-items: center; border: 1px solid rgba(124, 208, 255, .19); border-radius: 16px; color: #8eb4d5; background: rgba(7, 24, 48, .75); box-shadow: inset 0 0 18px rgba(53, 151, 255, .08); transform: rotate(var(--angle)) translateX(clamp(145px, 20vw, 225px)) rotate(calc(var(--angle) * -1)); transition: color .5s, border-color .5s, box-shadow .5s, background .5s; }
.ktc-orbit-icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ktc-orbit-icon.ktc-selected { color: #e8fcff; border-color: rgba(108, 232, 255, .72); background: rgba(15, 75, 126, .75); box-shadow: inset 0 0 24px rgba(74, 191, 255, .16), 0 0 28px rgba(62, 186, 255, .22); }
.ktc-ai-copy h2 { margin: 12px 0; font-size: clamp(30px, 4vw, 48px); font-weight: 550; }
.ktc-ai-copy p { color: var(--ktc-muted); line-height: 1.7; }
.ktc-data-readout { margin-top: 28px; padding-left: 16px; border-left: 1px solid rgba(108, 232, 255, .38); color: #c6ddf2; font-size: 13px; line-height: 2; }
.ktc-data-readout span { color: var(--ktc-cyan); }

.ktc-upload { width: min(760px, 92vw); text-align: center; }
.ktc-upload h2 { margin: 16px 0 8px; font-size: clamp(36px, 6vw, 66px); font-weight: 520; letter-spacing: -.035em; }
.ktc-upload p { color: var(--ktc-muted); }
.ktc-upload-value { margin: 54px 0 20px; font-size: clamp(54px, 11vw, 112px); line-height: .8; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.06em; text-shadow: 0 0 42px rgba(68, 187, 255, .22); }
.ktc-upload-bar { position: relative; height: 5px; overflow: visible; background: rgba(97, 170, 224, .12); }
.ktc-upload-bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #176cf5, #76efff); box-shadow: 0 0 22px rgba(74, 206, 255, .65); transition: width .6s cubic-bezier(.22, 1, .36, 1); }
.ktc-upload-meta { display: flex; justify-content: space-between; margin-top: 13px; color: #6682a1; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ktc-streams { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .7s; }
.ktc-streams.ktc-active { opacity: 1; }
.ktc-stream { position: absolute; bottom: -15%; width: 1px; height: 120px; background: linear-gradient(transparent, rgba(100, 220, 255, .85), transparent); animation: ktc-stream-up var(--speed) linear infinite; animation-delay: var(--delay); }

.ktc-tunnel-scene { overflow: visible; }
.ktc-cyber-tunnel {
  position: absolute !important;
  z-index: 1 !important;
  inset: -76px -24px -48px;
  overflow: hidden;
  background: #020815;
  perspective: 900px;
  isolation: isolate;
}
.ktc-tunnel-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .35s ease;
}
.ktc-current .ktc-tunnel-canvas { opacity: 1; }
.ktc-tunnel-canvas.ktc-tunnel-fallback {
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 42px, rgba(57, 173, 255, .18) 44px 46px, transparent 48px 86px),
    conic-gradient(from 45deg at center, #03122e, #071f49, #020815, #0a2b58, #03122e);
  animation: ktc-tunnel-fallback 1.2s linear infinite;
}
.ktc-tunnel-ribs { position: absolute; z-index: 2; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.ktc-tunnel-ribs i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28vmin;
  height: 24vmin;
  border: 1px solid rgba(83, 205, 255, .22);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  box-shadow: inset 0 0 22px rgba(43, 154, 255, .08), 0 0 24px rgba(43, 154, 255, .06);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.08);
}
.ktc-current .ktc-tunnel-ribs i { animation: ktc-tunnel-rib 1.6s linear infinite; animation-delay: calc(var(--rib) * -.18s); }
.ktc-tunnel-binary { position: absolute; z-index: 3; inset: 0; overflow: hidden; opacity: .48; pointer-events: none; }
.ktc-tunnel-binary span {
  position: absolute;
  left: calc(6% + var(--column) * 14.5%);
  top: -20%;
  width: 9px;
  color: rgba(113, 222, 255, .62);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  line-height: 2.2;
  letter-spacing: .18em;
  text-shadow: 0 0 10px rgba(47, 182, 255, .7);
  writing-mode: vertical-rl;
  animation: ktc-binary-flight 2.9s linear infinite var(--binary-delay);
}
.ktc-tunnel-fog {
  position: absolute;
  z-index: 4;
  inset: -20%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(63, 192, 255, .12), transparent 22%),
    radial-gradient(ellipse at 16% 52%, rgba(23, 91, 187, .19), transparent 34%),
    radial-gradient(ellipse at 84% 48%, rgba(21, 122, 204, .16), transparent 32%);
  filter: blur(30px);
  mix-blend-mode: screen;
  animation: ktc-tunnel-fog 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}
.ktc-tunnel-ticket {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: min(330px, 72vw);
  padding: 23px 25px;
  border: 1px solid rgba(127, 226, 255, .52);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(12, 60, 108, .8), rgba(3, 17, 39, .86));
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 0 36px rgba(53, 183, 255, .26), 0 0 110px rgba(30, 115, 255, .22);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) scale(.86);
  opacity: 0;
  overflow: hidden;
}
.ktc-tunnel-ticket::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(130, 236, 255, .18) 9px 10px);
  transform: rotate(18deg);
  animation: ktc-ticket-energy .65s linear infinite;
}
.ktc-current .ktc-tunnel-ticket { animation: ktc-ticket-dissolve 1.7s cubic-bezier(.5, 0, .72, .2) .18s forwards; }
.ktc-tunnel-ticket > * { position: relative; }
.ktc-tunnel-ticket-label { margin-bottom: 9px; color: #75ddff; font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ktc-tunnel-ticket strong { display: block; color: #f0fdff; font-size: 28px; font-weight: 550; letter-spacing: .03em; }
.ktc-tunnel-ticket > span { display: block; margin-top: 5px; color: #98bad5; font-size: 12px; }
.ktc-tunnel-ticket-lines { display: grid; gap: 6px; margin-top: 18px; }
.ktc-tunnel-ticket-lines i { height: 2px; background: linear-gradient(90deg, rgba(104,220,255,.5), transparent); }
.ktc-tunnel-ticket-lines i:nth-child(2) { width: 76%; }
.ktc-tunnel-ticket-lines i:nth-child(3) { width: 48%; }

.ktc-tunnel-diagnostics { position: absolute; z-index: 8; inset: 0; pointer-events: none; }
.ktc-tunnel-diagnostic {
  position: absolute;
  top: 23%;
  left: 7%;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  padding: 10px 14px;
  border-left: 1px solid rgba(101, 220, 255, .62);
  color: #d8f8ff;
  background: linear-gradient(90deg, rgba(8, 45, 83, .58), transparent);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(-18px, 8px, 0) skewX(-4deg);
  transition: opacity .24s, transform .34s cubic-bezier(.22,1,.36,1), filter .3s;
}
.ktc-tunnel-diagnostic:nth-child(even) { left: auto; right: 7%; top: 63%; border-left: 0; border-right: 1px solid rgba(101, 220, 255, .62); background: linear-gradient(270deg, rgba(8, 45, 83, .58), transparent); transform: translate3d(18px, -8px, 0) skewX(4deg); }
.ktc-tunnel-diagnostic:nth-child(3n) { top: 39%; }
.ktc-tunnel-diagnostic:nth-child(4n) { top: 72%; }
.ktc-tunnel-diagnostic span { color: #58cfff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.ktc-tunnel-diagnostic.ktc-visible { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) skewX(0); }

.ktc-ops-arrival {
  position: absolute;
  z-index: 6;
  inset: 0;
  opacity: 0;
  transform: scale(1.13);
  filter: blur(12px);
  transition: opacity 1.15s ease, transform 1.5s cubic-bezier(.22,1,.36,1), filter 1.1s;
  pointer-events: none;
}
.ktc-ops-arrival.ktc-visible { opacity: 1; transform: scale(1); filter: blur(0); }
.ktc-ops-arrival::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 43%, rgba(3,12,28,.65) 68%, #020711 100%), radial-gradient(circle at 50% 48%, rgba(109,226,255,.32), transparent 24%); }
.ktc-ops-horizon { position: absolute; left: 10%; right: 10%; top: 52%; height: 1px; background: linear-gradient(90deg, transparent, #73e8ff, transparent); box-shadow: 0 0 24px 5px rgba(61,188,255,.32); }
.ktc-ops-monitor {
  position: absolute;
  top: 28%;
  width: 25vw;
  max-width: 370px;
  min-width: 220px;
  aspect-ratio: 1.7;
  overflow: hidden;
  border: 1px solid rgba(116,218,255,.24);
  background: rgba(4,20,43,.62);
  box-shadow: inset 0 0 30px rgba(31,136,226,.08), 0 22px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(13px);
}
.ktc-ops-monitor > span { position: absolute; z-index: 2; left: 13px; top: 10px; color: #7db5d6; font-size: 7px; letter-spacing: .16em; }
.ktc-ops-monitor-left { left: 6%; transform: perspective(700px) rotateY(16deg); }
.ktc-ops-monitor-center { left: 50%; transform: translateX(-50%) translateY(-6%); }
.ktc-ops-monitor-right { right: 6%; transform: perspective(700px) rotateY(-16deg); }
.ktc-ops-monitor-center img { width: 100%; height: 100%; object-fit: cover; opacity: .58; filter: hue-rotate(155deg) saturate(.8) brightness(.62); }
.ktc-ops-chart { position: absolute; inset: 26% 8% 12%; background: linear-gradient(145deg, transparent 48%, rgba(87,218,255,.78) 49% 50%, transparent 51%), linear-gradient(25deg, transparent 39%, rgba(50,142,255,.6) 40% 41%, transparent 42%); clip-path: polygon(0 76%, 12% 62%, 24% 70%, 38% 38%, 51% 51%, 64% 20%, 78% 34%, 100% 8%, 100% 100%, 0 100%); border-bottom: 1px solid rgba(90,213,255,.35); }
.ktc-ops-bars { position: absolute; inset: 28% 10% 14%; display: flex; align-items: end; gap: 8%; }
.ktc-ops-bars i { flex: 1; height: calc(25% + var(--height, 25%)); background: linear-gradient(#69e4ff, rgba(26,107,222,.18)); box-shadow: 0 0 12px rgba(79,211,255,.18); animation: ktc-ops-bar 1.4s ease-in-out infinite alternate; }
.ktc-ops-bars i:nth-child(2) { --height:45%; animation-delay:-.3s; }.ktc-ops-bars i:nth-child(3) { --height:62%; animation-delay:-.6s; }.ktc-ops-bars i:nth-child(4) { --height:34%; animation-delay:-.9s; }.ktc-ops-bars i:nth-child(5) { --height:53%; animation-delay:-1.2s; }
.ktc-arrival-ticket {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 61%;
  width: min(420px, 76vw);
  padding: 24px 28px;
  border: 1px solid rgba(124,225,255,.4);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(13,52,91,.76), rgba(4,17,37,.72));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 0 55px rgba(51,182,255,.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55) rotateX(18deg);
  transition: opacity .7s, transform 1s cubic-bezier(.34,1.56,.64,1);
}
.ktc-arrival-ticket::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(182,246,255,.22), transparent 64%); transform: translateX(-120%); }
.ktc-arrival-ticket.ktc-visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotateX(0); }
.ktc-arrival-ticket.ktc-visible::before { animation: ktc-arrival-sheen 1.2s ease-out .25s; }
.ktc-arrival-ticket span { display: block; color: #69d8ff; font-size: 8px; letter-spacing: .2em; }
.ktc-arrival-ticket strong { display: block; margin-top: 7px; color: #effdff; font-size: clamp(25px,4vw,38px); font-weight: 520; }
.ktc-arrival-ticket small { color: #91afc9; }
.ktc-tunnel-complete {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eaffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .5s, transform .7s cubic-bezier(.22,1,.36,1);
}
.ktc-tunnel-complete i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #03140d; background: var(--ktc-green); box-shadow: 0 0 24px rgba(112,242,177,.35); font-style: normal; }
.ktc-tunnel-complete.ktc-visible { opacity: 1; transform: translate(-50%, 0); }
.ktc-tunnel-vignette { position: absolute; z-index: 12; inset: 0; background: radial-gradient(circle, transparent 30%, rgba(0,4,15,.17) 60%, rgba(0,2,10,.76) 100%); pointer-events: none; }

.ktc-encrypt-layout { width: min(1040px, 95vw); display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.ktc-encrypt-map { position: relative; }
.ktc-encrypt-map .ktc-map { opacity: .78; }
.ktc-security-list { display: grid; gap: 14px; }
.ktc-security-row { position: relative; padding: 17px 18px 17px 48px; border: 1px solid rgba(110, 195, 255, .12); border-radius: 14px; color: #7f99b6; background: rgba(7, 23, 47, .48); opacity: .4; transform: translateX(12px); transition: .5s; }
.ktc-security-row::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; border: 1px solid #557492; border-radius: 50%; transform: translateY(-50%); }
.ktc-security-row.ktc-done { color: #ecfaff; border-color: rgba(112, 242, 177, .2); opacity: 1; transform: translateX(0); }
.ktc-security-row.ktc-done::before { border-color: var(--ktc-green); background: var(--ktc-green); box-shadow: 0 0 17px rgba(112, 242, 177, .5); }
.ktc-security-check { width: 88px; height: 88px; margin-top: 30px; display: grid; place-items: center; border: 1px solid rgba(112, 242, 177, .3); border-radius: 50%; color: var(--ktc-green); font-size: 43px; opacity: 0; transform: scale(.5); box-shadow: inset 0 0 25px rgba(112, 242, 177, .07); transition: .7s cubic-bezier(.34, 1.56, .64, 1); }
.ktc-security-check.ktc-visible { opacity: 1; transform: scale(1); box-shadow: inset 0 0 25px rgba(112, 242, 177, .07), 0 0 50px rgba(112, 242, 177, .13); }

.ktc-result-wrap { width: min(880px, 94vw); perspective: 1000px; }
.ktc-result-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 46px); border-radius: 30px; transform: translateY(30px) rotateX(4deg); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.ktc-current .ktc-result-card { transform: translateY(0) rotateX(0); }
.ktc-result-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(164, 230, 255, .07) 49%, transparent 66%); transform: translateX(-100%); animation: ktc-sheen 7s ease-in-out infinite 1s; }
.ktc-result-head { position: relative; display: flex; align-items: center; gap: 18px; padding-bottom: 25px; border-bottom: 1px solid rgba(128, 200, 255, .14); }
.ktc-result-check { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #04150e; background: var(--ktc-green); font-size: 28px; box-shadow: 0 0 30px rgba(112, 242, 177, .25); }
.ktc-result-head h2 { margin: 0; font-size: clamp(23px, 4vw, 38px); font-weight: 560; letter-spacing: .04em; }
.ktc-result-head p { margin: 5px 0 0; color: var(--ktc-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ktc-result-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 25px 0; background: rgba(115, 183, 235, .11); }
.ktc-result-field { min-height: 80px; padding: 18px; background: rgba(5, 17, 36, .92); }
.ktc-result-field label { display: block; margin-bottom: 9px; color: #6f8ba8; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ktc-result-field strong { color: #f3fbff; font-size: clamp(14px, 2vw, 18px); font-weight: 550; }
.ktc-result-copy { position: relative; color: #a5bad0; line-height: 1.7; font-size: 13px; }
.ktc-result-copy strong { color: #dff8ff; font-weight: 550; }
.ktc-continue {
  position: relative;
  width: 100%;
  margin-top: 25px;
  padding: 16px 22px;
  border: 1px solid rgba(116, 221, 255, .48);
  border-radius: 14px;
  color: #f5fcff;
  background: linear-gradient(135deg, rgba(24, 116, 224, .88), rgba(23, 151, 199, .78));
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 12px 28px rgba(8, 100, 206, .23);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.ktc-continue:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 18px 38px rgba(8, 120, 220, .3); }

.ktc-live-region { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes ktc-grid-drift { to { transform: perspective(460px) rotateX(64deg) translateY(62px); } }
@keyframes ktc-aurora { to { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1; } }
@keyframes ktc-flare { 0%, 100% { transform: translateX(-20%) scaleX(.4); opacity: 0; } 45%, 60% { transform: translateX(15%) scaleX(1); opacity: .5; } }
@keyframes ktc-spin { to { transform: rotate(360deg); } }
@keyframes ktc-core-pulse { 50% { transform: scale(1.25); opacity: .7; } }
@keyframes ktc-node { 0% { transform: scale(.3); } 45% { transform: scale(2.2); } 100% { transform: scale(1); } }
@keyframes ktc-photo-flash { 0%, 100% { opacity: .24; transform: translate(-50%, -50%) scale(.5); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(1.55); } 60% { opacity: .58; transform: translate(-50%, -50%) scale(.9); } }
@keyframes ktc-photo-radar { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ktc-photo-ring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.35); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(3.2); } }
@keyframes ktc-backdrop-flash { 0%, 20% { opacity: .09; transform: scale(.98); } 55% { opacity: .32; transform: scale(1.02); } 100% { opacity: .15; transform: scale(1); } }
@keyframes ktc-map-base-assemble { from { opacity: 0; clip-path: inset(46% 46% 46% 46%); transform: scale(1.18); filter: hue-rotate(155deg) saturate(.84) brightness(1.1) blur(12px); } to { opacity: .72; clip-path: inset(0); transform: scale(1); filter: hue-rotate(155deg) saturate(.84) brightness(.68) blur(0); } }
@keyframes ktc-map-piece-a { from { opacity: 0; transform: translate3d(-11%, -8%, 0) scale(1.1); } to { opacity: .52; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes ktc-map-piece-b { from { opacity: 0; transform: translate3d(12%, -7%, 0) scale(1.12); } to { opacity: .52; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes ktc-map-piece-c { from { opacity: 0; transform: translate3d(0, 13%, 0) scale(1.08); } to { opacity: .52; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes ktc-ambient-light { 0%, 100% { opacity: .12; transform: scale(.45); } 42% { opacity: .9; transform: scale(1.45); } 68% { opacity: .35; transform: scale(.8); } }
@keyframes ktc-tunnel-rib { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.08); filter: blur(2px); } 20% { opacity: .72; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(8); filter: blur(1px); } }
@keyframes ktc-binary-flight { from { transform: translate3d(0,-12vh,0); opacity: 0; } 16% { opacity: .52; } to { transform: translate3d(0,142vh,0); opacity: 0; } }
@keyframes ktc-tunnel-fog { to { transform: translate3d(4%,-2%,0) scale(1.08); opacity: .72; } }
@keyframes ktc-ticket-energy { to { transform: translateX(12%) rotate(18deg); } }
@keyframes ktc-ticket-dissolve { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.82); filter: blur(5px); } 18% { opacity: 1; transform: translate(-50%,-50%) scale(1); filter: blur(0); } 55% { opacity: 1; clip-path: inset(0); filter: brightness(1.7) blur(0); } 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(-50%,-62%) scale(1.18); filter: brightness(2.4) blur(8px); } }
@keyframes ktc-ops-bar { to { transform: scaleY(.58); opacity: .58; } }
@keyframes ktc-arrival-sheen { to { transform: translateX(130%); } }
@keyframes ktc-tunnel-fallback { to { transform: scale(1.35) rotate(.5deg); filter: hue-rotate(18deg); } }
@keyframes ktc-dash { to { stroke-dashoffset: -24; } }
@keyframes ktc-radar { to { transform: rotate(360deg); } }
@keyframes ktc-ring { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes ktc-core-float { 50% { transform: translateY(-12px) scale(1.025); } }
@keyframes ktc-stream-up { from { transform: translateY(0); } to { transform: translateY(-125vh); } }
@keyframes ktc-sheen { 0%, 55% { transform: translateX(-100%); } 80%, 100% { transform: translateX(120%); } }

@media (max-width: 780px) {
  .ktc-topbar { inset: 18px 18px auto; }
  .ktc-stage { inset: 64px 12px 42px; }
  .ktc-rail { left: 18px; right: 18px; bottom: 16px; }
  .ktc-brandname { display: none; }
  .ktc-map-layout,
  .ktc-ai-layout,
  .ktc-encrypt-layout { grid-template-columns: 1fr; gap: 14px; }
  .ktc-map-wrap { min-height: 39vh; }
  .ktc-sidecopy { padding: 0 20px; text-align: center; }
  .ktc-sidecopy::before { display: none; }
  .ktc-sidecopy h2 { margin-inline: auto; }
  .ktc-progress-line { margin-top: 16px; }
  .ktc-core-space { min-height: 350px; }
  .ktc-orbit-icon { width: 46px; height: 46px; margin: -23px; transform: rotate(var(--angle)) translateX(min(35vw, 155px)) rotate(calc(var(--angle) * -1)); }
  .ktc-ai-copy { text-align: center; }
  .ktc-data-readout { display: inline-block; text-align: left; margin-top: 10px; }
  .ktc-encrypt-map { display: none; }
  .ktc-security-list { width: min(530px, 92vw); margin: auto; }
  .ktc-security-check { margin: 20px auto 0; }
  .ktc-result-grid { grid-template-columns: 1fr; max-height: 39vh; overflow: auto; }
  .ktc-result-field { min-height: 62px; padding: 13px 16px; }
  .ktc-result-head { padding-bottom: 17px; }
  .ktc-result-card { padding: 20px; border-radius: 23px; }
  .ktc-result-copy { font-size: 11px; }
  .ktc-continue { margin-top: 16px; padding: 13px; }
  .ktc-cyber-tunnel { inset: -64px -12px -42px; }
  .ktc-tunnel-binary { opacity: .26; }
  .ktc-tunnel-diagnostic { left: 4%; top: 18%; max-width: 78vw; font-size: 9px; }
  .ktc-tunnel-diagnostic:nth-child(even) { right: 4%; top: 67%; }
  .ktc-tunnel-diagnostic:nth-child(3n) { top: 32%; }
  .ktc-tunnel-diagnostic:nth-child(4n) { top: 75%; }
  .ktc-ops-monitor-left, .ktc-ops-monitor-right { display: none; }
  .ktc-ops-monitor-center { top: 22%; width: min(76vw, 430px); }
  .ktc-arrival-ticket { top: 59%; width: min(380px, 78vw); padding: 19px 21px; }
  .ktc-tunnel-complete { bottom: 11%; width: 88vw; justify-content: center; text-align: center; font-size: 9px; }
  .ktc-tunnel-ticket { width: min(300px, 72vw); padding: 19px 21px; }
}

@media (max-height: 680px) {
  .ktc-stage { top: 58px; }
  .ktc-loader-ring { width: 72px; height: 72px; margin-top: 24px; }
  .ktc-map-wrap { min-height: 310px; }
  .ktc-core-space { min-height: 320px; }
  .ktc-verify-card { padding-block: 20px; }
  .ktc-check { min-height: 35px; padding-block: 5px; }
  .ktc-upload-value { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ktc-overlay *, .ktc-overlay *::before, .ktc-overlay *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .ktc-grid { animation: none; }
  .ktc-scanlines { display: none; }
  .ktc-tunnel-ribs, .ktc-tunnel-binary, .ktc-tunnel-fog { display: none; }
  .ktc-tunnel-canvas { opacity: .48; }
}
