


:root {
  --font-body: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Major Mono Display", "JetBrains Mono", ui-monospace, monospace;
  
  --font-brand: "Press Start 2P", "Silkscreen", ui-monospace, monospace;
}


html, body {
  
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow: visible;
  height: auto;
  overflow-x: hidden;
  background: var(--terminal-black);
  color: var(--screen-white);
  
  font-weight: 300;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}
body.tm-no-scroll { overflow: hidden; }


.tm-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 232, 240, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 232, 240, 0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(140% 120% at 50% 45%, #000 60%, transparent 100%);
          mask-image: radial-gradient(140% 120% at 50% 45%, #000 60%, transparent 100%);
  animation: tm-grid-drift 11s linear infinite;
}
@keyframes tm-grid-drift { to { background-position: 0 42px, 0 42px; } }

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .tm-bg { animation: none; }
  .tm-tile--cast:hover::after, .tm-tile--cast:focus-visible::after { animation: none; opacity: 0; }
  .tm-hero__under .tm-beat s::after { opacity: 0; }   
}


html.js [data-secret] [data-decode] { display: none; }


.tm-page {
  position: relative;
  z-index: 1;                      
  min-height: 100vh;
  padding-top: 40px;               
  padding-bottom: var(--space-16);
  
  background:
    radial-gradient(120% 75% at 50% -8%, rgba(61, 31, 92, 0.14), transparent 60%);
}



.tm-brand { display: flex; justify-content: center; margin-bottom: var(--space-3); }

.mg-brand__mark {
  font-family: var(--font-brand);
  
  font-size: clamp(15px, 1.7vw, 18px);   
  letter-spacing: 0.2em;
  text-transform: uppercase;
  -webkit-font-smoothing: none;
  position: relative;
  display: inline-block;
  
  white-space: nowrap;
  
  cursor: default;
  user-select: none;
  padding: 18px 16px;
  line-height: 1;
}
.mg-brand__mark-inner {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  
  filter: drop-shadow(0 0 8px rgba(240, 170, 28, 0.55))
          drop-shadow(0 0 16px rgba(240, 170, 28, 0.22));
  transition: filter 220ms ease;
}
.mg-brand__letter {
  display: inline-block;
  
  color: #F5F1E6;
  text-shadow: 0 0 5px rgba(var(--letter-c), 0.45);
  transition: text-shadow 200ms ease, color 200ms ease, filter 220ms ease;
  animation: mg-brand-pop 7.3s ease-in-out infinite;
  animation-delay: calc(var(--mg-brand-i, 0) * 0.11s);
  will-change: transform, color;
}

.mg-brand__lg {
  display: inline-block;
  transition: transform 220ms cubic-bezier(.22, 1.2, .36, 1);
  will-change: transform;
}

.mg-brand__letter:nth-child(4n+1) { --letter-c: 240, 170, 28; }   
.mg-brand__letter:nth-child(4n+2) { --letter-c:  34, 232, 240; }  
.mg-brand__letter:nth-child(4n+3) { --letter-c: 255,  42, 142; }  
.mg-brand__letter:nth-child(4n+4) { --letter-c: 157, 232,  48; }  

@keyframes mg-brand-pop {
  0%   { transform: translateY(0) scale(1);
         color: #F5F1E6;
         text-shadow: 0 0 5px rgba(var(--letter-c), 0.45); }
  3.5% { transform: translateY(-2px) scale(1.28);
         color: rgb(var(--letter-c));
         text-shadow: 0 0 12px rgba(var(--letter-c), 0.95),
                      0 0 24px rgba(var(--letter-c), 0.45); }
  8.5% { transform: translateY(0) scale(1);
         color: #F5F1E6;
         text-shadow: 0 0 5px rgba(var(--letter-c), 0.45); }
  100% { transform: translateY(0) scale(1);
         color: #F5F1E6;
         text-shadow: 0 0 5px rgba(var(--letter-c), 0.45); }
}
.mg-brand__space { display: inline-block; width: 0.32em; }
.mg-brand__letter:hover .mg-brand__lg { transform: translateY(-3px) scale(1.18) rotate(-3deg); }

.mg-brand__mark:hover .mg-brand__letter { animation-play-state: paused; }
.mg-brand__letter:hover {
  color: rgb(var(--letter-c)) !important;
  text-shadow: 0 0 12px rgba(var(--letter-c), 0.98),
               0 0 24px rgba(var(--letter-c), 0.5) !important;
}
.mg-brand__mark:hover .mg-brand__mark-inner {
  filter: drop-shadow(0 0 14px rgba(240, 170, 28, 0.85))
          drop-shadow(0 0 26px rgba(240, 170, 28, 0.4));
}


.tm-hero {
  
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-6) var(--space-6) var(--space-8);
}
.tm-hero__inner {
  width: 100%;
  
  max-width: 920px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.tm-hero__beats { margin: 0 0 var(--space-6); max-width: none; }


.tm-hero__logline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.72;
  letter-spacing: 0.005em;
  color: var(--screen-white);
  margin: 0 auto;
  max-width: 70ch;          
  text-wrap: balance;       
}
.tm-beat { white-space: nowrap; }
@media (max-width: 680px) { .tm-beat { white-space: normal; } }
.tm-beat {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--screen-white-dim);
  margin: 0 0 var(--space-3);
}

.tm-beat:last-child { margin-bottom: 0; color: var(--screen-white); opacity: 0.9; }

.tm-iris {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--phosphor-cyan);
  text-shadow: 0 0 8px rgba(34, 232, 240, 0.22);
  opacity: 0.9;
  margin: 0;
  max-width: 32ch;
}
.tm-mission {
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 0.95vw, 0.88rem);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--screen-white-dim);
  margin: 0;
  max-width: 46ch;
}

.tm-hero__secret {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-3);
  margin: var(--space-8) 0 0;
}


.tm-video-wrap {
  position: relative;      
  width: 100%;
  max-width: 920px;
}
.tm-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-base);
  overflow: hidden;
  background: #050509;
  box-shadow: 0 0 0 1px rgba(34,232,240,0.06), 0 18px 60px rgba(0,0,0,0.6);
  outline: none;
}
.tm-video:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 3px; }
.tm-video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.tm-video__controls {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
}

.tm-video__snd {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--screen-white); background: rgba(5, 5, 10, 0.6);
  border: 1px solid rgba(224, 226, 236, 0.18); border-radius: 4px; cursor: pointer;
  transition: color var(--motion-fast) var(--ease-default), border-color var(--motion-fast) var(--ease-default);
}
.tm-video__snd:hover { color: var(--phosphor-cyan); border-color: rgba(34, 232, 240, 0.5); }
.tm-video__snd:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 2px; }
.tm-video__snd svg { width: 20px; height: 20px; display: block; }
.tm-video__snd .snd-on { display: none; }
.tm-video__snd.is-on .snd-on { display: inline; }
.tm-video__snd.is-on .snd-off { display: none; }
.tm-video__snd-label { display: none; }   

.tm-video__exit {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  color: var(--screen-white); background: rgba(5, 5, 10, 0.6);
  border: 1px solid rgba(224, 226, 236, 0.18); border-radius: 4px; cursor: pointer;
  transition: color var(--motion-fast) var(--ease-default), border-color var(--motion-fast) var(--ease-default), background var(--motion-fast) var(--ease-default);
}
.tm-video__exit svg { width: 22px; height: 22px; display: block; }
.tm-video__exit:hover { color: var(--phosphor-cyan); border-color: rgba(34, 232, 240, 0.5); background: rgba(5, 5, 10, 0.85); }
.tm-video__exit:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 2px; }

.tm-video:fullscreen .tm-video__exit { display: inline-flex; }
.tm-video:-webkit-full-screen .tm-video__exit { display: inline-flex; }
.tm-video:-ms-fullscreen .tm-video__exit { display: inline-flex; }

.tm-video:fullscreen { border: none; border-radius: 0; }
.tm-video:-webkit-full-screen { border: none; border-radius: 0; }
.tm-video:-ms-fullscreen { border: none; border-radius: 0; }
.tm-video__fs {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-crt); font-size: var(--text-sm); letter-spacing: 0.06em;
  color: var(--screen-white); background: rgba(5, 5, 10, 0.6);
  padding: 3px 9px; border-radius: 2px; cursor: pointer;
  border: 1px solid rgba(224, 226, 236, 0.18);
  transition: color var(--motion-fast) var(--ease-default), border-color var(--motion-fast) var(--ease-default);
}
.tm-video__fs:hover { color: var(--phosphor-cyan); border-color: rgba(34, 232, 240, 0.5); }
.tm-video__fs:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 2px; }
.tm-video__fs svg { width: 13px; height: 13px; display: block; }   
.tm-video__restart {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-crt); font-size: var(--text-sm); letter-spacing: 0.06em;
  color: var(--screen-white); background: rgba(5, 5, 10, 0.6);
  padding: 3px 9px; border-radius: 2px; cursor: pointer;
  border: 1px solid rgba(224, 226, 236, 0.18);
  transition: color var(--motion-fast) var(--ease-default), border-color var(--motion-fast) var(--ease-default);
}
.tm-video__restart:hover { color: var(--phosphor-cyan); border-color: rgba(34, 232, 240, 0.5); }
.tm-video__restart:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 2px; }

.tm-video__stamp {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-family: var(--font-crt); font-size: var(--text-sm); letter-spacing: 0.1em;
  color: var(--bile-green); background: rgba(5,5,10,0.6);
  padding: 3px 9px; border-radius: 2px; pointer-events: none;
  border: 1px solid rgba(157,232,48,0.4);
}

.tm-hero .tm-video-wrap {
  width: min(920px, 92vw, calc(54vh * 16 / 9));
  margin-bottom: var(--space-8);   
}


@media (max-width: 640px) {
  .tm-video-wrap { display: flex; flex-wrap: wrap; }
  .tm-video { flex: 0 0 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .tm-hero .tm-video-wrap { margin-bottom: var(--space-6); }
  .tm-video__controls { display: contents; }   
  .tm-video__snd,
  .tm-video__restart,
  .tm-video__share,
  .tm-video__fs {
    position: static; inset: auto; top: auto; right: auto; bottom: auto; left: auto; z-index: auto;
    flex: 1 1 0; width: auto; height: auto; min-height: 44px; margin: 0;
    padding: 11px 6px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 0; border: 1px solid var(--border-subtle); border-top: none; border-left: none;
    background: rgba(5, 5, 10, 0.92);
    font-family: var(--font-crt); font-size: var(--text-sm); letter-spacing: 0.06em; color: var(--screen-white);
  }
  .tm-video__restart { border-left: 1px solid var(--border-subtle); }   
  .tm-video__restart { order: 1; }
  .tm-video__snd     { order: 2; }
  .tm-video__share   { order: 3; }
  .tm-video__fs:not(.tm-video__share) { order: 4; }
  .tm-video__snd svg { width: 18px; height: 18px; }
  .tm-video__snd-label { display: inline; }
  .tm-video__snd:active, .tm-video__restart:active,
  .tm-video__share:active, .tm-video__fs:active { color: var(--phosphor-cyan); border-color: rgba(34, 232, 240, 0.5); }
}



.tm-hero__under {
  margin: 150px 0 0;
  text-align: center;
}
.tm-hero__under .tm-beat {
  color: var(--screen-white);
  opacity: 0.9;
  letter-spacing: 0.07em;
  line-height: 1.9;
  margin: 0 0 var(--space-4);
}
.tm-hero__under .tm-beat:last-child {
  margin-bottom: 0;
  opacity: 1;
  letter-spacing: 0.09em;
  text-shadow: 0 0 22px rgba(245, 241, 230, 0.14);
}

.tm-hero__under .tm-beat s {
  position: relative; display: inline-block;
  text-decoration-thickness: 1.5px;
  color: rgba(245, 241, 230, 0.42);
  text-decoration-color: rgba(245, 241, 230, 0.6);
}

.tm-hero__under .tm-beat s.is-lit { color: transparent; text-decoration-color: transparent; }
.tm-hero__under .tm-beat s::after {
  content: "humans";
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-family: var(--font-display); color: var(--phosphor-cyan);
  text-decoration: line-through; text-decoration-color: var(--phosphor-cyan);
  text-decoration-thickness: 1.5px;
  text-shadow: 0 0 9px rgba(34, 232, 240, 0.6);
  white-space: nowrap; pointer-events: none; opacity: 0;
}
.tm-hero__under .tm-beat s.is-lit::after { opacity: 1; }


.tm-gate {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  width: 100%;
  max-width: 560px;
  justify-content: center;
}
.tm-gate__input {
  flex: 1 1 280px;
  min-width: 0;
  background: #0E0E16;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-base);
  color: var(--screen-white);
  font-size: 1rem;
  padding: 0 var(--space-5, 20px);
  height: 56px;
  letter-spacing: 0.02em;
}
.tm-gate__input::placeholder { color: var(--screen-white-muted); }
.tm-gate__input:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 1px; border-color: var(--phosphor-cyan); }
.tm-gate__input:disabled { opacity: 0.5; }
.tm-gate__btn {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 var(--space-6, 24px);
  font-family: var(--font-body);   
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--phosphor-cyan);
  background: transparent;
  border: 1px solid rgba(34, 232, 240, 0.4);
  border-radius: var(--radius-base);
  transition: background var(--motion-fast) var(--ease-default),
              border-color var(--motion-fast) var(--ease-default),
              color var(--motion-fast) var(--ease-default),
              transform var(--motion-fast) var(--ease-default);
}
.tm-gate__btn:hover { background: rgba(34, 232, 240, 0.1); border-color: var(--phosphor-cyan); }
.tm-gate__btn:active { transform: translateY(1px); }
.tm-gate__btn:disabled { opacity: 0.5; cursor: default; }
.tm-gate__status {
  flex: 1 0 100%;
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 0.95vw, 0.88rem);
  letter-spacing: 0.02em;
  color: var(--phosphor-cyan);
  text-shadow: 0 0 12px var(--phosphor-cyan-glow);
}


.tm-block {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}
.tm-block p {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--screen-white-dim);
  margin: 0 0 var(--space-6);
}
.tm-block p:last-child { margin-bottom: 0; }



.tm-collage {
  position: relative;
  width: 100%; max-width: 760px;
  margin: var(--space-6) auto var(--space-12);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-8);
}
.tm-tile {
  position: relative;
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #0a0a10;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  transition: transform 340ms var(--ease-out-soft), filter 220ms var(--ease-default), box-shadow 220ms var(--ease-default);
}
.tm-tile img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}


.tm-cards {
  display: flex; justify-content: center; align-items: flex-end;
  padding-top: var(--space-4);
}
.tm-tile--asset {
  width: 188px; aspect-ratio: 3 / 5; border-radius: 6px;
  margin-left: -30px;
  transform-origin: bottom center;
}
.tm-tile--asset:first-child { margin-left: 0; }
.tm-cards .tm-tile--asset:nth-child(1) { transform: rotate(-9deg) translateY(10px); z-index: 1; }  
.tm-cards .tm-tile--asset:nth-child(2) { transform: rotate(-3deg) translateY(1px);  z-index: 2; }  
.tm-cards .tm-tile--asset:nth-child(3) { transform: rotate(3deg)  translateY(1px);  z-index: 3; }  
.tm-cards .tm-tile--asset:nth-child(4) { transform: rotate(9deg)  translateY(10px); z-index: 4; }  
.tm-cards .tm-tile--asset:hover,
.tm-cards .tm-tile--asset:focus-visible { transform: rotate(0) translateY(-12px) scale(1.06); z-index: 20; }


.tm-cast {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--space-3);
}
.tm-tile--cast { width: 112px; height: 112px; border-radius: 5px; }
.tm-cast .tm-tile--cast:nth-child(odd)  { transform: rotate(-2.5deg); }
.tm-cast .tm-tile--cast:nth-child(even) { transform: rotate(2.5deg); }
.tm-cast .tm-tile--cast:hover,
.tm-cast .tm-tile--cast:focus-visible { transform: rotate(0) scale(1.1) translateY(-6px); z-index: 20; }


.tm-tile:hover, .tm-tile:focus-visible { filter: brightness(1.2) saturate(1.14); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 26px rgba(34, 232, 240, 0.34); outline: none; }


.tm-tile--cast::after {
  content: ''; position: absolute; inset: -12%; pointer-events: none; opacity: 0;
  background: linear-gradient(120deg, transparent 36%, rgba(34, 232, 240, 0.22) 47%, rgba(255, 255, 255, 0.30) 50%, rgba(34, 232, 240, 0.22) 53%, transparent 64%);
  transform: translateX(-130%);
}
.tm-tile--cast:hover::after, .tm-tile--cast:focus-visible::after {
  opacity: 1;
  animation: tm-cast-sweep 1.1s var(--ease-default) forwards;
}
@keyframes tm-cast-sweep {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}


.tm-tile__cap {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


.tm-collage__cap {
  min-height: 20px; margin: calc(var(--space-2) * -1) 0;
  display: flex; gap: 0; align-items: baseline; justify-content: center;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 200ms var(--ease-default);
  pointer-events: none;
}
.tm-collage__cap.is-on { opacity: 1; }
.tm-collage__cap-name {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--screen-white);
}

.tm-collage__cap-card {
  font-family: var(--font-body);
  font-size: 14px; font-style: italic; font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--phosphor-amber);
}
.tm-collage__cap-line {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--screen-white-dim);
}

.tm-collage__cap-card::before,
.tm-collage__cap-line::before {
  content: '·'; margin: 0 9px;
  font-style: normal; color: var(--screen-white-dim); opacity: 0.5;
}

@media (max-width: 640px) {
  .tm-collage { max-width: 100%; gap: var(--space-6); }
  
  .tm-tile--asset { width: 92px; margin-left: -18px; }
  .tm-tile--cast { width: 92px; height: 92px; }
  .tm-cast { gap: var(--space-3); }
  
  .tm-collage__cap {
    white-space: normal; flex-wrap: wrap; text-align: center;
    max-width: 90vw; row-gap: 2px; min-height: 2.8em; line-height: 1.3;
  }
  .tm-collage__cap-card::before,
  .tm-collage__cap-line::before { margin: 0 6px; }
}


.tm-cull {
  max-width: 38ch;
  margin: var(--space-16) auto var(--space-6);
  padding: 0 var(--space-6);
  text-align: center;
}
.tm-cull p {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--magenta-hot);
  text-shadow: 0 0 8px rgba(255, 42, 142, 0.18);
  opacity: 0.9;
  margin: 0;
}



.tm-intro {
  max-width: 840px;
  margin: var(--space-16) auto var(--space-8);
  padding: 0 var(--space-6);
  text-align: center;
}
.tm-intro__logline {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6; letter-spacing: 0.01em;
  color: var(--screen-white); margin: 0 auto;
  max-width: 40ch;
}
.tm-intro__tags {
  list-style: none; margin: var(--space-6) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  font-family: var(--font-body); font-weight: 300;
  font-size: var(--text-xs); letter-spacing: 0.06em;
  color: var(--screen-white-muted);
}
.tm-intro__tags li { white-space: nowrap; }
.tm-intro__tags li:not(:last-child)::after {
  content: "·"; margin: 0 0.7em; color: var(--screen-white-faint);
}



.tm-bell {
  margin: var(--space-16) auto;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}
.tm-bell__line {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--screen-white); margin: 0;
}


.tm-aperture { max-width: 968px; display: flex; justify-content: center; }
.tm-video--aperture { max-width: 920px; }


.tm-gate__lure {
  font-family: var(--font-display);
  font-size: clamp(1.07rem, 1.37vw, 1.27rem);   
  letter-spacing: 0.03em; text-align: center;
  color: var(--phosphor-cyan);
  text-shadow: 0 0 8px rgba(34, 232, 240, 0.22);
  opacity: 0.92;
  margin: 0 0 var(--space-8);   
}

.tm-gate__whisper {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  letter-spacing: 0.04em; text-align: center;
  color: var(--phosphor-cyan);
  text-shadow: 0 0 7px rgba(34, 232, 240, 0.16);
  opacity: 0.58;
  margin: var(--space-6) 0 0;
}



.tm-footer { text-align: center; padding: var(--space-12) var(--space-6) var(--space-8); }
.tm-footer__line {
  font-size: var(--text-xs); letter-spacing: 0.14em;
  color: var(--screen-white-dim);
}

.tm-footer__legal {
  margin: var(--space-2) 0 0;
  font-size: 0.6875rem; letter-spacing: 0.08em;
  color: #565963;
}


.tm-tape {
  
  position: fixed; left: 0; right: 0; top: 0; z-index: 138;
  pointer-events: none;   
  height: 40px;
  background: rgba(6, 6, 11, 0.96);
  border-bottom: 1px solid rgba(224, 226, 236, 0.07);
  backdrop-filter: blur(3px);
  display: flex; align-items: center;
}
.tm-tape__viewport {
  overflow: hidden; position: relative; height: 100%;
  display: flex; align-items: center; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tm-tape__track {
  display: flex; white-space: nowrap;
  animation: mg-tape-scroll 80s linear infinite;
}
@keyframes mg-tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tm-tape__group { display: flex; align-items: center; flex-shrink: 0; }


.tm-tape__cell {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  margin-right: 3em; flex-shrink: 0; font-size: var(--text-sm);
}
.tm-tape__sym {
  color: var(--screen-white-dim); font-weight: 600; letter-spacing: 0.04em;
}
.tm-tape__price {
  color: #80828C; font-variant-numeric: tabular-nums;   
}
.tm-tape__delta {
  letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}

.tm-tape__delta.up   { color: #2C8E94; }
.tm-tape__delta.down { color: #A84070; }
.tm-tape__delta.dim  { color: var(--screen-white-faint); }


.tm-tape__event {
  display: inline-flex; align-items: baseline; gap: 0.5em;
  margin-right: 3em; flex-shrink: 0; font-size: var(--text-sm);   
}
.tm-tape__event-mark { color: #F0AA1C; font-size: 0.7em; opacity: 0.9; }
.tm-tape__event-src {
  color: #F0AA1C; font-weight: 700; letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(240, 170, 28, 0.3);
}
.tm-tape__event-body {
  color: #CBA24A; letter-spacing: 0.05em; text-transform: uppercase;
}


.tm-tape__price--tickup   { animation: tm-tick-up   0.7s ease-out; }
.tm-tape__price--tickdown { animation: tm-tick-down 0.7s ease-out; }
@keyframes tm-tick-up {
  0%   { color: #5BE6B0; text-shadow: 0 0 9px rgba(91, 230, 176, 0.6); }
  100% { color: #80828C; text-shadow: none; }
}
@keyframes tm-tick-down {
  0%   { color: #FF6B9A; text-shadow: 0 0 9px rgba(255, 107, 154, 0.55); }
  100% { color: #80828C; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-tape__price--tickup, .tm-tape__price--tickdown { animation: none; }
}


.tm-tape--breaking .tm-tape__track { animation-play-state: paused; }
.tm-tape--breaking .tm-tape__viewport { animation: tm-tape-stutter 0.5s steps(2); }
@keyframes tm-tape-stutter {
  0%, 100% { transform: translateX(0);   opacity: 1; }
  20%      { transform: translateX(-2px); opacity: 0.65; }
  40%      { transform: translateX(2px);  opacity: 1; }
  60%      { transform: translateX(-1px); opacity: 0.45; }
  80%      { transform: translateX(1px);  opacity: 0.9; }
}

.tm-iris-char {
  display: inline-block;
  font-family: var(--font-body); font-size: var(--text-sm);
  color: #FF2A8E; letter-spacing: 0.05em;          
  text-shadow: 0 0 6px rgba(255, 42, 142, 0.4);
}
.tm-iris-char--sp { animation: none; }

.tm-iris--plea   { color: #FF2A8E; text-shadow: 0 0 6px rgba(255, 42, 142, 0.42); }
.tm-iris--mantra { color: #F0AA1C; text-shadow: 0 0 6px rgba(240, 170, 28, 0.42); }
.tm-iris--dread  { color: #22E8F0; text-shadow: 0 0 6px rgba(34, 232, 240, 0.42); }
.tm-iris--leet   { color: #9DE830; text-shadow: 0 0 6px rgba(157, 232, 48, 0.42); }

.tm-iris-char:nth-child(16n + 4) { animation: tm-iris-jitter 0.2s steps(2) infinite; animation-delay: calc(var(--i, 0) * -0.04s); }
.tm-iris-char:nth-child(13n + 1) { animation: tm-iris-flicker 2.4s steps(1) infinite; animation-delay: calc(var(--i, 0) * -0.09s); }
.tm-iris-sep {
  display: inline-block; margin: 0 1.2em; font-size: var(--text-sm);
  color: rgba(140, 200, 210, 0.34);   
}
@keyframes tm-iris-jitter {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(0.5px, -1px); }
}
@keyframes tm-iris-flicker {
  0%, 88%, 100% { opacity: 1; }
  92% { opacity: 0.25; }
  96% { opacity: 0.8; }
}


@media (prefers-reduced-motion: reduce) {
  
  .tm-iris-char, .tm-iris-char:nth-child(16n + 4), .tm-iris-char:nth-child(13n + 1),
  .tm-iris-sep, .tm-tape--breaking .tm-tape__viewport { animation: none; }
}


body.tm-tab-hidden .tm-tape__track,
body.tm-tab-hidden .tm-iris-char,
body.tm-tab-hidden .tm-iris-sep { animation-play-state: paused !important; }


@media (max-width: 640px) {
  .tm-tape { height: 36px; }
  .tm-page { padding-top: 36px; }
  .tm-hero { min-height: calc(100vh - 36px); }
}


[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out-soft), transform 700ms var(--ease-out-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }



.tm-secret--collapsed {
  position: relative;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}
.tm-secret__trigger {
  position: absolute;
  top: 0;
  left: 50%;
  
  transform: translate(calc(var(--mk-x, min(46vw, 290px)) - 50%), var(--mk-y, -2px));
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px; background: transparent; border: 0;   
  cursor: pointer; z-index: 40;   
}
.tm-secret__trigger:focus-visible { outline: 2px solid rgba(34, 232, 240, 0.4); outline-offset: 3px; }

.tm-secret__glyphs {
  font-family: var(--font-crt); font-size: 14px; letter-spacing: 2px; line-height: 1;
  text-shadow: 0 0 6px rgba(34, 232, 240, 0.3);
  opacity: 0.55; white-space: nowrap; user-select: none;
  pointer-events: none;   
}

.tm-secret__static {
  display: inline-block;
  color: var(--phosphor-cyan-dim); opacity: 0.5; filter: saturate(0.35);
  animation: tm-glitch-jitter 0.22s steps(2) infinite;
}

.tm-secret__hex { color: var(--phosphor-cyan); letter-spacing: 1px; }

.tm-secret__trigger:hover .tm-secret__glyphs,
.tm-secret__trigger:focus-visible .tm-secret__glyphs {
  opacity: 1; text-shadow: 0 0 10px var(--phosphor-cyan-glow);
}

.tm-secret__trigger:hover .tm-secret__static,
.tm-secret__trigger:focus-visible .tm-secret__static { animation-duration: 0.1s; filter: saturate(0.65); }
.tm-secret__trigger:hover .tm-secret__hex,
.tm-secret__trigger:focus-visible .tm-secret__hex { animation: tm-hex-flicker 0.5s steps(1) infinite; }


.tm-secret__check {
  display: none; margin-left: 7px;
  font-family: var(--font-crt); font-size: 15px; line-height: 1;
  color: #9DE830; text-shadow: 0 0 7px rgba(157, 232, 48, 0.6);
}
.tm-secret--cleared .tm-secret__check { display: inline-block; }
.tm-secret--cleared .tm-secret__glyphs { opacity: 0.3; }
.tm-secret--cleared .tm-secret__static { animation: none; filter: saturate(0.12); }
.tm-secret--cleared .tm-secret__hex { color: var(--phosphor-cyan-dim); }
.tm-secret--cleared .tm-secret__trigger:hover .tm-secret__glyphs,
.tm-secret--cleared .tm-secret__trigger:focus-visible .tm-secret__glyphs { opacity: 0.85; }

@keyframes tm-glitch-jitter {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(1px, -1px) skewX(-6deg); }
}
@keyframes tm-hex-flicker {
  0%, 68%, 100% { opacity: 1; }
  76% { opacity: 0.25; }
  88% { opacity: 0.85; }
}


.tm-pos--r-far { --mk-x: min(47vw, 415px); }
.tm-pos--l-far { --mk-x: calc(min(47vw, 415px) * -1); }
.tm-pos--r-mid { --mk-x: min(46vw, 390px); }
.tm-pos--l-mid { --mk-x: calc(min(46vw, 390px) * -1); }


.tm-irispop {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-6);
}
.tm-irispop[hidden] { display: none; }
.tm-irispop__scrim { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.9); backdrop-filter: blur(2px); }
.tm-irispop__panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  background: var(--slate-base); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: var(--space-8);
  max-height: 86vh; overflow: auto;
  animation: mg-overlay-in var(--motion-base) var(--ease-out-soft) both;
}
.tm-irispop__close {
  position: absolute; top: 8px; right: 12px; line-height: 1;
  width: 32px; height: 32px; border-radius: var(--radius-base);
  font-size: 1.05rem; color: var(--screen-white-dim);
}
.tm-irispop__close:hover { color: var(--screen-white); }
.tm-irispop__body { margin-top: var(--space-2); }
.tm-irispop__line {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.75; letter-spacing: 0.03em;
  color: #A7E9EE; text-shadow: 0 0 8px rgba(34, 232, 240, 0.2);
  margin: 0 0 var(--space-4);
}
.tm-irispop__line:last-child { margin-bottom: 0; }



.iris-key { color: #FF2A8E; }
body.iris-unlocked .iris-key {
  color: #FF2A8E;
  text-shadow: 0 0 8px rgba(255, 42, 142, 0.85), 0 0 16px rgba(255, 42, 142, 0.4);
}


.tm-finale {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-5); text-align: center; padding: var(--space-6);
  background: radial-gradient(circle at 50% 44%, rgba(10, 14, 20, 0.93), rgba(2, 3, 6, 0.985));
  opacity: 0; transition: opacity 520ms var(--ease-out-soft);
}
.tm-finale[hidden] { display: none; }
.tm-finale.is-on { opacity: 1; }
.tm-finale__big {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(2.1rem, 7vw, 5rem); line-height: 1.05; letter-spacing: 0.04em;
  color: #C8F4F8; text-shadow: 0 0 18px rgba(34, 232, 240, 0.55), 0 0 46px rgba(34, 232, 240, 0.25);
}
.tm-finale__sub {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.6rem); letter-spacing: 0.08em;
  color: #8FD6DC; text-shadow: 0 0 12px rgba(34, 232, 240, 0.3);
}
.tm-finale.is-on .tm-finale__big { animation: tm-finale-flick 2.8s steps(1) infinite; }
@keyframes tm-finale-flick {
  0%, 92%, 100% { opacity: 1; }
  94% { opacity: 0.5; }
  97% { opacity: 0.88; }
}




.tm-answerme {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 110;
  font-family: var(--font-crt); font-size: clamp(2.8rem, 10vw, 5.5rem);
  letter-spacing: 0.18em; line-height: 1;
  color: #FF2A8E; background: rgba(8, 4, 10, 0.72);
  border: 1px solid rgba(255, 42, 142, 0.5); border-radius: 6px;
  padding: 18px 38px; cursor: pointer;
  text-shadow: 0 0 14px rgba(255, 42, 142, 0.7), 0 0 36px rgba(255, 42, 142, 0.4);
  box-shadow: 0 0 40px rgba(255, 42, 142, 0.35), inset 0 0 26px rgba(255, 42, 142, 0.14);
  animation: tm-answerme-pulse 1.4s steps(2) infinite;
}
.tm-answerme[hidden] { display: none; }
.tm-answerme:hover, .tm-answerme:focus-visible {
  outline: none; color: #fff;
  box-shadow: 0 0 34px rgba(255, 42, 142, 0.55), inset 0 0 22px rgba(255, 42, 142, 0.2);
}
.tm-answerme__txt { display: inline-block; animation: tm-iris-jitter 0.16s steps(2) infinite; }
@keyframes tm-answerme-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.74; } }


.tm-survey { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: var(--space-6); }
.tm-survey[hidden] { display: none; }
.tm-survey__scrim { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.92); backdrop-filter: blur(3px); }
.tm-survey__panel {
  position: relative; z-index: 1; width: 100%; max-width: 540px;
  background: var(--slate-base); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: var(--space-8);
  max-height: 88vh; overflow: auto;
  box-shadow: 0 0 40px rgba(34, 232, 240, 0.12);
  animation: mg-overlay-in var(--motion-base) var(--ease-out-soft) both;
}
.tm-survey__panel.is-advancing { animation: tm-survey-advance 0.26s var(--ease-out-soft); }
@keyframes tm-survey-advance { 0% { opacity: 0.4; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.tm-survey__close {
  position: absolute; top: 8px; right: 12px; line-height: 1;
  width: 32px; height: 32px; border-radius: var(--radius-base);
  font-size: 1.05rem; color: var(--screen-white-dim); background: transparent; border: 0; cursor: pointer;
}
.tm-survey__close:hover { color: var(--screen-white); }
.tm-survey__body { margin-top: var(--space-2); }
.tm-survey__line {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1vw, 0.96rem); line-height: 1.7; letter-spacing: 0.03em;
  color: #A7E9EE; text-shadow: 0 0 8px rgba(34, 232, 240, 0.22);
  margin: 0 0 var(--space-4);
}

.tm-survey__panel[data-calm="done"] .tm-survey__line,
.tm-survey__panel[data-calm="4"] .tm-survey__line,
.tm-survey__panel[data-calm="5"] .tm-survey__line,
.tm-survey__panel[data-calm="6"] .tm-survey__line { color: #C8F4F8; }
.tm-survey__form { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.tm-survey__option {
  text-align: left; font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--screen-white); background: rgba(34, 232, 240, 0.05);
  border: 1px solid rgba(34, 232, 240, 0.22); border-radius: var(--radius-base);
  padding: 11px 14px; cursor: pointer; letter-spacing: 0.01em;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.tm-survey__option:hover, .tm-survey__option:focus-visible {
  outline: none; color: #fff; background: rgba(34, 232, 240, 0.14); border-color: var(--phosphor-cyan);
}
.tm-survey__input {
  font-size: var(--text-sm); color: var(--screen-white);
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(34, 232, 240, 0.3);
  border-radius: var(--radius-base); padding: 11px 14px;
}
.tm-survey__input:focus-visible { outline: none; border-color: var(--phosphor-cyan); }
.tm-survey__submit {
  align-self: flex-start; font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: 0.1em;
  color: var(--phosphor-cyan); background: transparent;
  border: 1px solid rgba(34, 232, 240, 0.4); border-radius: var(--radius-base);
  padding: 9px 18px; cursor: pointer; transition: color 140ms, border-color 140ms;
}
.tm-survey__submit:hover, .tm-survey__submit:focus-visible { outline: none; color: #fff; border-color: var(--phosphor-cyan); }
.tm-survey__hint { font-family: var(--font-body); font-size: var(--text-xs); color: var(--screen-white-dim); margin: 2px 0 0; }
.tm-survey__err { font-family: var(--font-body); font-size: var(--text-xs); color: #FF2A8E; margin: 2px 0 0; }


.tm-survey__multihint { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--screen-white-dim); margin: 0 0 2px; }
.tm-survey__option--multi { position: relative; padding-left: 40px; }
.tm-survey__option--multi::before {
  content: ""; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; border-radius: 4px;
  border: 1px solid rgba(34, 232, 240, 0.5); background: rgba(0, 0, 0, 0.3);
  transition: background 140ms, border-color 140ms, box-shadow 140ms;
}
.tm-survey__option--multi.is-selected { background: rgba(34, 232, 240, 0.16); border-color: var(--phosphor-cyan); color: #fff; }
.tm-survey__option--multi.is-selected::before { background: var(--phosphor-cyan); border-color: var(--phosphor-cyan); box-shadow: 0 0 10px rgba(34, 232, 240, 0.6); }
.tm-survey__option--multi.is-selected::after {
  content: ""; position: absolute; left: 18.5px; top: 47%; width: 4px; height: 8px;
  border: solid #04121a; border-width: 0 2px 2px 0; transform: translateY(-50%) rotate(45deg);
}
.tm-survey__submit:disabled { opacity: 0.4; cursor: not-allowed; }


.tm-survey__openwrap { align-items: center; margin-top: var(--space-7); }
.tm-survey__open-lead { text-align: center; max-width: 34ch; margin-bottom: var(--space-5); }
.tm-survey__open {
  position: relative; overflow: hidden;
  font-family: var(--font-crt); font-size: clamp(0.8rem, 1.3vw, 0.98rem);
  letter-spacing: 0.3em; text-transform: uppercase; color: #1c1305;
  border: none; border-radius: 10px; padding: 18px 44px; cursor: pointer;
  background: linear-gradient(180deg, #FFE8A8 0%, #F5B82E 45%, #D8920F 100%);
  box-shadow: 0 0 26px rgba(240, 170, 28, 0.5), 0 0 64px rgba(240, 170, 28, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: tm-open-charge 2.1s ease-in-out infinite;
}
.tm-survey__open-label { position: relative; z-index: 2; }
.tm-survey__open-spark {
  position: absolute; inset: 0; z-index: 1; border-radius: 10px; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.85) 50%, transparent 64%);
  background-size: 250% 100%; mix-blend-mode: screen; animation: tm-open-sheen 2.1s linear infinite;
}
.tm-survey__open:hover { filter: brightness(1.08); }
.tm-survey__open:focus-visible { outline: 2px solid var(--phosphor-cyan); outline-offset: 4px; }
.tm-survey__open:disabled { cursor: default; }
@keyframes tm-open-charge {
  0%, 100% { box-shadow: 0 0 22px rgba(240,170,28,0.42), 0 0 52px rgba(240,170,28,0.18), inset 0 1px 0 rgba(255,255,255,0.5); transform: scale(1); }
  50%      { box-shadow: 0 0 36px rgba(240,170,28,0.85), 0 0 88px rgba(34,232,240,0.34), 0 0 130px rgba(255,42,142,0.22), inset 0 1px 0 rgba(255,255,255,0.65); transform: scale(1.022); }
}
@keyframes tm-open-sheen { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.tm-survey__panel.is-opening { animation: tm-open-burst 560ms ease-out; }
@keyframes tm-open-burst { 0% { filter: brightness(1); } 18% { filter: brightness(2.1) saturate(1.4); } 42% { filter: brightness(1.08); } 100% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) {
  .tm-survey__open, .tm-survey__open-spark { animation: none; }
  .tm-survey__panel.is-opening { animation: none; }
}


.tm-survey__rline {
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.05vw, 1rem); line-height: 1.8; letter-spacing: 0.03em;
  color: #C8F4F8; text-shadow: 0 0 10px rgba(34, 232, 240, 0.3);
  margin: 0 0 var(--space-4);
}
.tm-survey__mark { margin-top: var(--space-6); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }


.tm-refmark__offer { text-align: center; }
.tm-refmark__sigil {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; color: #F0AA1C;
  border: 1px solid rgba(240, 170, 28, 0.45); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-8); background: rgba(240, 170, 28, 0.06);
  box-shadow: 0 0 22px rgba(240, 170, 28, 0.18); cursor: pointer;
  transition: box-shadow 160ms, border-color 160ms;
}
.tm-refmark__sigil:hover, .tm-refmark__sigil:focus-visible { outline: none; box-shadow: 0 0 32px rgba(240, 170, 28, 0.34); border-color: #F0AA1C; }
.tm-refmark__ring { font-size: 1.6rem; line-height: 1; text-shadow: 0 0 12px rgba(240, 170, 28, 0.6); }
.tm-refmark__stamp { font-family: var(--font-crt); font-size: 11px; letter-spacing: 0.3em; color: rgba(240, 170, 28, 0.7); }
.tm-refmark__name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; color: #FFD27A; }
.tm-refmark__share {
  font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.12em;
  color: var(--screen-white-dim); background: transparent; border: 1px solid rgba(224, 226, 236, 0.2);
  border-radius: var(--radius-base); padding: 7px 14px; cursor: pointer; transition: color 140ms, border-color 140ms;
}
.tm-refmark__share:hover, .tm-refmark__share:focus-visible { outline: none; color: var(--screen-white); border-color: rgba(224, 226, 236, 0.5); }
.tm-refmark__share-copy { text-align: center; font-size: clamp(0.78rem, 0.95vw, 0.9rem); }


.tm-reftoast {
  position: fixed; left: 0; right: 0; top: 3px; z-index: 140;
  margin: 0 auto; width: max-content; max-width: min(92vw, 560px); box-sizing: border-box;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-height: 44px; text-align: center;
  font-family: var(--font-display); font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  line-height: 1.22; letter-spacing: 0.02em;
  color: #A7E9EE; text-shadow: 0 0 8px rgba(34, 232, 240, 0.25);
  background: rgba(6, 8, 12, 0.92); border: 1px solid rgba(34, 232, 240, 0.3);
  border-radius: var(--radius-md); padding: 4px 15px; cursor: pointer;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 360ms var(--ease-out-soft), transform 360ms var(--ease-out-soft);
}
.tm-reftoast.is-on { opacity: 1; transform: translateY(0); }


body.iris-completed .tm-tape__viewport,
.tm-tape--final .tm-tape__viewport { opacity: 0.92; transition: opacity 1.4s ease; }

.tm-tape--final .tm-iris-char,
.tm-tape--final .tm-iris-char:nth-child(16n + 4),
.tm-tape--final .tm-iris-char:nth-child(13n + 1),
.tm-tape--final .tm-iris-sep,
body.iris-completed .tm-iris-char { animation: none; }

.tm-tape--final .tm-iris--fw1 { color: #FF3D9A; text-shadow: 0 0 9px rgba(255, 61, 154, 0.55); }
.tm-tape--final .tm-iris--fw2 { color: #FFB42E; text-shadow: 0 0 9px rgba(255, 180, 46, 0.55); }
.tm-tape--final .tm-iris--fw3 { color: #FF74B9; text-shadow: 0 0 9px rgba(255, 116, 185, 0.55); }
.tm-tape--final .tm-iris--fc1 { color: #2BF0F8; text-shadow: 0 0 9px rgba(43, 240, 248, 0.55); }
.tm-tape--final .tm-iris--fc2 { color: #A6F23A; text-shadow: 0 0 9px rgba(166, 242, 58, 0.55); }
.tm-tape--final .tm-iris--fc3 { color: #5FD6FF; text-shadow: 0 0 9px rgba(95, 214, 255, 0.55); }

.tm-tape--final .tm-iris--fw1:nth-child(14n + 3),
.tm-tape--final .tm-iris--fw2:nth-child(14n + 3),
.tm-tape--final .tm-iris--fw3:nth-child(14n + 3) { animation: tm-warm-breath 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.08s); }
.tm-tape--final .tm-iris--fc1:nth-child(11n + 1),
.tm-tape--final .tm-iris--fc2:nth-child(11n + 1),
.tm-tape--final .tm-iris--fc3:nth-child(11n + 1) { animation: tm-cold-glitch 1s steps(1) infinite; animation-delay: calc(var(--i, 0) * -0.05s); }
@keyframes tm-warm-breath { 0%, 100% { opacity: 0.66; } 50% { opacity: 1; } }
@keyframes tm-cold-glitch { 0%, 82%, 100% { opacity: 1; } 86% { opacity: 0.26; } 92% { opacity: 0.8; } }


.tm-iris-deco--warm { color: #FF9EC4; text-shadow: 0 0 6px rgba(255, 140, 180, 0.4); }
.tm-iris-deco--cold { color: #9DE830; text-shadow: 0 0 6px rgba(157, 232, 48, 0.5); letter-spacing: 0.08em; }
.tm-tape--final .tm-iris-deco--warm { animation: tm-warm-breath 3.2s ease-in-out infinite; }
.tm-tape--final .tm-iris-deco--cold { animation: tm-cold-glitch 0.8s steps(1) infinite; }


.tm-mark-reopen {
  position: fixed; left: 16px; top: 48px; z-index: 120;
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-crt); font-size: 15px; letter-spacing: 0.18em;
  color: #FFD27A; background: rgba(8, 8, 12, 0.82);
  border: 1px solid rgba(240, 170, 28, 0.5); border-radius: 999px;
  padding: 13px 22px; cursor: pointer;
  text-shadow: 0 0 10px rgba(240, 170, 28, 0.5);
  box-shadow: 0 0 22px rgba(240, 170, 28, 0.2);
  animation: tm-mark-breathe 3.6s ease-in-out infinite;
}
.tm-mark-reopen[hidden] { display: none; }
.tm-mark-reopen:hover, .tm-mark-reopen:focus-visible {
  outline: none; color: #fff; border-color: #F0AA1C;
  box-shadow: 0 0 32px rgba(240, 170, 28, 0.42);
}
.tm-mark-reopen__ring { font-size: 1.25rem; line-height: 1; }
@keyframes tm-mark-breathe {
  0%, 100% { box-shadow: 0 0 16px rgba(240, 170, 28, 0.16); }
  50%      { box-shadow: 0 0 30px rgba(240, 170, 28, 0.42); }
}


.tm-markpop { position: fixed; inset: 0; z-index: 135; display: flex; align-items: center; justify-content: center; padding: var(--space-6); }
.tm-markpop[hidden] { display: none; }
.tm-markpop__scrim { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.9); backdrop-filter: blur(3px); }
.tm-markpop__panel {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: var(--slate-base); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: var(--space-8);
  max-height: 88vh; overflow: auto;
  box-shadow: 0 0 40px rgba(240, 170, 28, 0.14);
  animation: mg-overlay-in var(--motion-base) var(--ease-out-soft) both;
}
.tm-markpop__close {
  position: absolute; top: 8px; right: 12px; line-height: 1;
  width: 32px; height: 32px; border-radius: var(--radius-base);
  font-size: 1.05rem; color: var(--screen-white-dim); background: transparent; border: 0; cursor: pointer;
}
.tm-markpop__close:hover { color: var(--screen-white); }
.tm-markpop__body { margin-top: var(--space-4); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }


@media (prefers-reduced-motion: reduce) {
  .mg-brand__letter { animation: none; }
  .tm-tape__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tm-secret__glyphs, .tm-secret__static, .tm-secret__hex { animation: none; }
  .tm-finale { transition: none; }
  .tm-finale.is-on .tm-finale__big { animation: none; }
  .tm-answerme, .tm-answerme__txt { animation: none; }
  .tm-survey__panel, .tm-survey__panel.is-advancing { animation: none; }
  .tm-reftoast { transition: none; }
  .tm-mark-reopen { animation: none; }
  .tm-markpop__panel { animation: none; }
  .tm-tape--final .tm-iris--fw1, .tm-tape--final .tm-iris--fw2, .tm-tape--final .tm-iris--fw3,
  .tm-tape--final .tm-iris--fc1, .tm-tape--final .tm-iris--fc2, .tm-tape--final .tm-iris--fc3,
  .tm-iris-deco--warm, .tm-iris-deco--cold { animation: none !important; }
}


.tm-consent {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(245, 241, 230, 0.5);
  margin: 10px auto 0;
  max-width: 46ch;
  text-align: center;
}

.tm-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tm-consent a:hover, .tm-consent a:focus-visible { outline: none; color: var(--phosphor-cyan); }


.tm-geoblock {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(8, 9, 12, 0.97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 24px; text-align: center;
}
.tm-geoblock__panel { max-width: 34ch; }
.tm-geoblock__mark {
  font-family: var(--font-brand, "Press Start 2P", monospace);
  font-size: 14px; letter-spacing: 0.12em;
  color: var(--phosphor-cyan, #22E8F0); margin: 0 0 18px;
}
.tm-geoblock__line {
  font-family: var(--font-body, "JetBrains Mono", monospace);
  font-size: 16px; line-height: 1.5; color: #F5F1E6; margin: 0 0 10px;
}
.tm-geoblock__sub { font-size: 12px; color: rgba(245, 241, 230, 0.5); margin: 0; }


.tm-consent-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 12px);
  z-index: 150; width: min(92vw, 620px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: rgba(6, 8, 12, 0.94); border: 1px solid rgba(34, 232, 240, 0.30);
  border-radius: 10px; box-shadow: 0 0 28px rgba(0, 0, 0, 0.5); padding: 16px 18px;
  opacity: 0; transition: opacity 360ms ease, transform 360ms ease;
}
.tm-consent-banner.is-on { opacity: 1; transform: translate(-50%, 0); }
.tm-consent-banner__text { flex: 1 1 280px; min-width: 230px; }
.tm-consent-banner__voice {
  margin: 0 0 5px; font-family: "Major Mono Display", "JetBrains Mono", monospace;
  font-size: clamp(0.82rem, 1vw, 0.95rem); letter-spacing: 0.02em;
  color: #A7E9EE; text-shadow: 0 0 8px rgba(34, 232, 240, 0.22);
}
.tm-consent-banner__sub { margin: 0; font-family: "JetBrains Mono", monospace; font-size: 11px; line-height: 1.45; color: rgba(224, 226, 236, 0.6); }
.tm-consent-banner__link { display: inline-block; margin-top: 6px; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.03em; color: #A7E9EE; text-decoration: underline; text-underline-offset: 2px; }
.tm-consent-banner__link:hover, .tm-consent-banner__link:focus-visible { outline: none; color: #C8F4F8; }
.tm-consent-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.tm-consent-banner__btn { font-family: "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.12em; border-radius: 6px; padding: 9px 16px; cursor: pointer; background: transparent; transition: color 140ms, border-color 140ms, box-shadow 140ms; }
.tm-consent-banner__btn--no { color: rgba(224, 226, 236, 0.6); border: 1px solid rgba(224, 226, 236, 0.20); }
.tm-consent-banner__btn--no:hover, .tm-consent-banner__btn--no:focus-visible { outline: none; color: #E0E2EC; border-color: rgba(224, 226, 236, 0.45); }
.tm-consent-banner__btn--yes { color: #A7E9EE; border: 1px solid rgba(34, 232, 240, 0.5); text-shadow: 0 0 8px rgba(34, 232, 240, 0.3); }
.tm-consent-banner__btn--yes:hover, .tm-consent-banner__btn--yes:focus-visible { outline: none; color: #fff; border-color: #22E8F0; box-shadow: 0 0 18px rgba(34, 232, 240, 0.28); }


.tm-cookie-settings, .tm-footer__legal a {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.tm-cookie-settings:hover, .tm-cookie-settings:focus-visible,
.tm-footer__legal a:hover, .tm-footer__legal a:focus-visible { outline: none; color: var(--phosphor-cyan); }


body.tm-no-scroll .tm-consent-banner { opacity: 0 !important; pointer-events: none !important; }

body.tm-consent-pending { padding-bottom: 0; }




.tm-consent.mono { max-width: 54ch; font-size: 10px; line-height: 1.5; color: rgba(245, 241, 230, 0.5); margin: 10px auto 0; }


.tm-video__share svg { width: 13px; height: 13px; display: block; }
.tm-video__share:hover svg { animation: tm-transmit-send 0.6s ease; }
@keyframes tm-transmit-send { 0% { transform: translate(0,0); } 40% { transform: translate(2px,-2px); } 100% { transform: translate(0,0); } }


.tm-refmark__sigil {
  position: relative; display: block; width: 100%; max-width: 210px; margin: 0 auto;
  text-decoration: none; border-radius: 12px;
  background: radial-gradient(120% 70% at 50% 18%, rgba(240,170,28,0.06), rgba(8,8,12,0) 70%);
  transition: filter 180ms, transform 180ms;
}
.tm-refmark__sigil:hover, .tm-refmark__sigil:focus-visible { outline: none; transform: translateY(-2px); filter: drop-shadow(0 0 22px rgba(240,170,28,0.30)); }
.tm-refmark__svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.tm-rm-field { fill: #08080C; }
.tm-rm-bezel { fill: rgba(240,170,28,0.035); }
.tm-rm-frame-out { fill: none; stroke: #F0AA1C; stroke-width: 2; }
.tm-rm-frame-in { fill: none; stroke: rgba(240,170,28,0.40); stroke-width: 1; }
.tm-rm-frame-hair { fill: none; stroke: rgba(240,170,28,0.16); stroke-width: 0.75; }
.tm-rm-numeral { fill: #F0AA1C; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; }
.tm-rm-pip { fill: none; stroke-width: 1; }
.tm-rm-pip--cy { stroke: #22E8F0; } .tm-rm-pip--mg { stroke: #FF2A8E; } .tm-rm-pip--gr { stroke: #9DE830; }
.tm-rm-halo { fill: none; stroke: rgba(34,232,240,0.22); stroke-width: 1; }
.tm-rm-rays { stroke: rgba(240,170,28,0.30); stroke-width: 0.85; }
.tm-rm-eye-out { fill: rgba(8,8,12,0.6); stroke: #F0AA1C; stroke-width: 1.6; }
.tm-rm-iris { fill: none; stroke: #22E8F0; stroke-width: 1.5; }
.tm-rm-iris-fill { fill: rgba(34,232,240,0.10); }
.tm-rm-pupil { fill: #08080C; stroke: #FF2A8E; stroke-width: 1.4; }
.tm-rm-pupil-core { fill: #FF2A8E; }
.tm-rm-glint { fill: #9DE830; }
.tm-rm-lash { stroke: #F0AA1C; stroke-width: 1.3; stroke-linecap: round; fill: none; }
.tm-rm-tear { fill: none; stroke: rgba(34,232,240,0.55); stroke-width: 1; }
.tm-rm-band { fill: rgba(8,8,12,0.78); stroke: rgba(240,170,28,0.45); stroke-width: 1; }
.tm-rm-band-rule { stroke: rgba(240,170,28,0.55); stroke-width: 1; }
.tm-rm-suit { fill: none; stroke-width: 1.1; }
.tm-rm-suit--mg { stroke: #FF2A8E; } .tm-rm-suit--gr { stroke: #9DE830; } .tm-rm-suit--cy { stroke: #22E8F0; }
.tm-rm-scan { fill: url(#tmrmScan); opacity: 0.5; animation: tm-rm-sweep 5.5s linear infinite; }
@keyframes tm-rm-sweep { 0% { transform: translateY(-30px); opacity: 0; } 8% { opacity: 0.55; } 92% { opacity: 0.55; } 100% { transform: translateY(360px); opacity: 0; } }
.tm-rm-eye-grp { transform-box: fill-box; transform-origin: center; animation: tm-rm-awaken 6.5s ease-in-out infinite; }
@keyframes tm-rm-awaken { 0%, 100% { opacity: 0.82; } 50% { opacity: 1; } }
.tm-rm-pupil-core { transform-box: fill-box; transform-origin: center; animation: tm-rm-pulse 6.5s ease-in-out infinite; }
@keyframes tm-rm-pulse { 0%, 100% { transform: scale(0.78); filter: none; } 50% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255,42,142,0.7)); } }
.tm-rm-halo { animation: tm-rm-breathe 6.5s ease-in-out infinite; }
@keyframes tm-rm-breathe { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.tm-rm-iris-fill { animation: tm-rm-iris-glow 6.5s ease-in-out infinite; }
@keyframes tm-rm-iris-glow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }


.tm-refmark__svg { animation: tm-rm-aura 6.5s ease-in-out infinite; }
@keyframes tm-rm-aura {
  0%, 100% { filter: drop-shadow(0 0 9px rgba(240,170,28,0.6))  drop-shadow(0 0 24px rgba(240,170,28,0.3)); }
  33%      { filter: drop-shadow(0 0 13px rgba(34,232,240,0.5)) drop-shadow(0 0 30px rgba(34,232,240,0.26)); }
  66%      { filter: drop-shadow(0 0 13px rgba(255,42,142,0.5)) drop-shadow(0 0 30px rgba(157,232,48,0.24)); }
}
.tm-refmark__sigil::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 12px; pointer-events: none;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,0.16) 48%, rgba(34,232,240,0.22) 50%, rgba(255,42,142,0.16) 52%, transparent 62%);
  background-size: 260% 260%; mix-blend-mode: screen; opacity: 0; animation: tm-rm-holo 6s ease-in-out infinite;
}
@keyframes tm-rm-holo { 0%, 100% { background-position: 150% 0; opacity: 0; } 44% { opacity: 0.8; } 50% { background-position: -50% 0; } 56% { opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) {
  .tm-refmark__svg { animation: none; filter: drop-shadow(0 0 10px rgba(240,170,28,0.5)); }
  .tm-refmark__sigil::after { animation: none; opacity: 0; }
}
.tm-refmark__plate { z-index: 3; }
.tm-refmark__plate {
  position: absolute; left: 11%; right: 11%; top: 76.5%; height: 16%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; pointer-events: none; text-align: center;
}
.tm-refmark__stamp {
  font-family: "JetBrains Mono", monospace; font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.42em; text-indent: 0.42em; line-height: 1;
  color: rgba(240,170,28,0.78); text-shadow: 0 0 6px rgba(240,170,28,0.30);
}
.tm-refmark__name {
  font-family: "Major Mono Display", "JetBrains Mono", monospace;
  font-size: clamp(0.8rem, 4.2vw, 1rem); line-height: 1.05; letter-spacing: 0.04em;
  color: #FFD27A; text-shadow: 0 0 9px rgba(240,170,28,0.55), 0 1px 2px #000;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  pointer-events: auto; user-select: text;
}


@media (prefers-reduced-motion: reduce) {
  .tm-rm-scan { animation: none; opacity: 0; }
  .tm-rm-eye-grp, .tm-rm-pupil-core, .tm-rm-halo, .tm-rm-iris-fill { animation: none; }
  .tm-rm-eye-grp { opacity: 1; }
  .tm-rm-pupil-core { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255,42,142,0.55)); }
  .tm-rm-halo { opacity: 0.8; }
  .tm-rm-iris-fill { opacity: 0.9; }
  .tm-refmark__sigil:hover { transform: none; }
  .tm-video__share:hover svg { animation: none; }
  .tm-consent-banner { transition: none; transform: translate(-50%, 0); }
}




@media (max-width: 640px) {
  .tm-consent-banner {
    left: 8px; right: 8px; bottom: 8px; width: auto;
    transform: translateY(12px); gap: 9px 12px; padding: 11px 12px;
  }
  .tm-consent-banner.is-on { transform: translateY(0); }
  .tm-consent-banner__text { flex: 1 1 100%; min-width: 0; }
  .tm-consent-banner__voice { font-size: 0.76rem; }
  .tm-consent-banner__sub { font-size: 9.5px; }
  .tm-consent-banner__link { font-size: 9.5px; margin-top: 4px; }
  .tm-consent-banner__actions { flex: 1 1 100%; }
  .tm-consent-banner__btn { flex: 1 1 0; font-size: 12px; padding: 8px 13px; }
  body.tm-consent-pending { padding-bottom: 112px; }   

  
  .tm-pos--r-far, .tm-pos--r-mid { --mk-x: min(34vw, 132px); }
  .tm-pos--l-far, .tm-pos--l-mid { --mk-x: calc(min(34vw, 132px) * -1); }

  
  .tm-gate__btn { flex: 1 1 100%; width: 100%; }
}


@media (max-width: 360px) {
  .tm-consent.mono { font-size: 9px; max-width: 50ch; }
}
