/* Estación Unwritten · Transmisiones V2
   Styles the tx2-* markup rendered by transmisiones-v2.mjs.
   Scoped to this page. Shared shell, buttons, and Zayni rig stay in site-shell. */

body.tx2 {
  --tx-bg: var(--eu-bg-0, #03050a);
  --tx-bg-2: var(--eu-bg-1, #060914);
  --tx-panel: rgba(8, 12, 22, 0.82);
  --tx-panel-2: rgba(12, 18, 34, 0.94);
  --tx-line: rgba(143, 155, 186, 0.22);
  --tx-line-strong: rgba(143, 155, 186, 0.4);
  --tx-text: var(--eu-text-primary, #eef3ff);
  --tx-soft: var(--eu-text-secondary, #b8c4e0);
  --tx-muted: var(--eu-text-muted, #8f9bba);
  --tx-cyan: var(--eu-cyan, #46e8d8);
  --tx-violet: var(--eu-violet, #9d7bff);
  --tx-pink: #ff4fd8;
  --tx-amber: var(--eu-amber, #f2c177);
  --tx-gold: var(--eu-gold, #e8b854);
  --tx-display: var(--eu-font-display, "Orbitron", system-ui, sans-serif);
  --tx-body: var(--eu-font-body, "Exo 2", system-ui, sans-serif);
  --tx-mono: var(--eu-font-mono, "Share Tech Mono", Consolas, monospace);
  --tx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(157, 123, 255, 0.09), transparent 58%),
    radial-gradient(ellipse 36% 28% at 100% 18%, rgba(70, 232, 216, 0.05), transparent 46%),
    var(--tx-bg);
  color: var(--tx-text);
  font-family: var(--tx-body);
}

body.tx2 ::selection {
  background: rgba(70, 232, 216, 0.28);
  color: #fff;
}

html:has(body.tx2) {
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body.tx2 [hidden] {
  display: none !important;
}

#tx2-root {
  min-width: 0;
}

#tx2-root[aria-busy="true"] {
  min-height: 100vh;
}

body.tx2 h1,
body.tx2 h2,
body.tx2 h3,
body.tx2 p {
  margin: 0;
}

body.tx2 h1,
body.tx2 h2,
.tx2-detail h3 {
  font-family: var(--tx-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

body.tx2 img {
  max-width: 100%;
}

.tx2-skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(70, 232, 216, 0.5);
  background: #071018;
  color: var(--tx-cyan);
  font: 600 12px/1 var(--tx-display);
  letter-spacing: 0.08em;
  transform: translateY(-160%);
}

.tx2-skip:focus,
.tx2-skip:focus-visible {
  transform: none;
}

body.tx2 .site-cta:focus-visible,
body.tx2 .tx2-tabs [role="tab"][aria-selected="true"]:focus-visible {
  outline-color: #fff;
}

body.tx2 .tx2-mood__card:focus-visible,
body.tx2 .tx2-hotspot:focus-visible,
body.tx2 .tx2-tabs [role="tab"]:focus-visible,
body.tx2 .eu-cta-secondary:focus-visible {
  outline: 2px solid var(--tx-cyan);
  outline-offset: 2px;
}

body.tx2 .site-cta {
  max-width: 100%;
  height: auto;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  box-sizing: border-box;
}

body.tx2 .site-cta--primary {
  transition: transform 0.22s var(--tx-ease), filter 0.22s ease, box-shadow 0.22s ease;
}

body.tx2 .site-cta--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

body.tx2 .site-cta:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Header: shared shell, tuned so four links fit without sideways scroll. */
body.tx2 .site-nav-link[aria-current="page"] {
  color: #bffcf6;
}

body.tx2 .site-nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 8px;
  height: 1px;
  background: var(--tx-cyan);
  box-shadow: 0 0 10px rgba(70, 232, 216, 0.55);
  pointer-events: none;
}

body.tx2 .site-brand {
  max-width: min(210px, 46vw);
}

body.tx2 .site-brand img {
  max-width: 100%;
  object-fit: contain;
}

/* Hero */
.tx2-hero,
.tx2-closing {
  position: relative;
  display: grid;
  align-items: end;
  min-width: 0;
  overflow: visible;
}

.tx2-hero {
  min-height: clamp(620px, 88vh, 860px);
  scroll-margin-top: 84px;
}

.tx2-hero__media,
.tx2-closing__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tx2-hero__media img,
.tx2-closing__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
}

.tx2-hero__media::after,
.tx2-closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.78) 0%, rgba(3, 5, 10, 0.42) 48%, rgba(3, 5, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.18) 0%, rgba(3, 5, 10, 0.55) 46%, rgba(3, 5, 10, 0.94) 100%);
}

.tx2-hero__copy,
.tx2-closing__copy {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  margin-inline: auto;
  padding: clamp(56px, 9vh, 96px) clamp(16px, 4vw, 40px) clamp(40px, 6vh, 72px);
}

.tx2-hero__copy {
  padding-bottom: clamp(76px, 11vh, 132px);
}

.tx2-hero__copy > *,
.tx2-closing__copy > * {
  max-width: 40rem;
}

.tx2-eyebrow,
.tx2-kicker {
  margin: 0 0 12px;
  font: 500 11px/1.45 var(--tx-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-amber);
}

.tx2-kicker {
  color: var(--tx-cyan);
  letter-spacing: 0.14em;
}

.tx2-hero .tx2-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tx-cyan);
  box-shadow: 0 0 8px rgba(70, 232, 216, 0.8);
  vertical-align: 1px;
  animation: tx2-pulse 3.6s ease-in-out infinite;
}

.tx2-hero h1 {
  font-size: clamp(2rem, 5.2vw, 4.35rem);
  line-height: 1.02;
}

.tx2-lead,
.tx2-body {
  max-width: 42rem;
  color: var(--tx-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
}

.tx2-hero .tx2-lead,
.tx2-closing .tx2-lead {
  margin-top: 16px;
}

.tx2-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tx2-facts li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(70, 232, 216, 0.46);
  background: rgba(5, 9, 17, 0.86);
  color: #dffdf9;
  font: 500 11px/1 var(--tx-mono);
  letter-spacing: 0.11em;
}

.tx2-facts li:nth-child(2) {
  border-color: rgba(157, 123, 255, 0.55);
  color: #ebe4ff;
}

.tx2-facts li:nth-child(3) {
  border-color: rgba(255, 79, 216, 0.42);
  color: #ffd8f3;
}

.tx2-month {
  margin: 19px 0 0;
  color: var(--tx-amber);
  font: 500 12px/1.45 var(--tx-mono);
  letter-spacing: 0.12em;
}

.tx2-hero__cta {
  margin-top: clamp(40px, 6vh, 72px);
}

.tx2-hero__copy > * {
  animation: tx2-rise 0.7s var(--tx-ease) both;
}

.tx2-hero__copy > :nth-child(2) { animation-delay: 0.05s; }
.tx2-hero__copy > :nth-child(3) { animation-delay: 0.1s; }
.tx2-hero__copy > :nth-child(4) { animation-delay: 0.15s; }
.tx2-hero__copy > :nth-child(5) { animation-delay: 0.2s; }
.tx2-hero__copy > :nth-child(6) { animation-delay: 0.25s; }

/* Route */
.tx2-route {
  width: min(1160px, 100%);
  margin: clamp(18px, 3vw, 28px) auto 0;
  padding-inline: clamp(16px, 4vw, 40px);
  scroll-margin-top: 84px;
}

.tx2-route__in {
  position: relative;
  z-index: 0;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--tx-line);
  background: rgba(6, 10, 18, 0.9);
}

.tx2-route ol {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx2-route ol::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(70, 232, 216, 0.15), rgba(70, 232, 216, 0.7), rgba(157, 123, 255, 0.45));
  pointer-events: none;
}

.tx2-route a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  min-height: 88px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.94);
  color: var(--tx-soft);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tx2-route a:hover {
  color: var(--tx-text);
  background: rgba(14, 20, 36, 0.96);
}

.tx2-route__num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(70, 232, 216, 0.5);
  background: #070b14;
  color: var(--tx-cyan);
  font: 500 11px/1 var(--tx-mono);
}

.tx2-route a span:last-child {
  font: 600 12px/1.35 var(--tx-display);
  letter-spacing: 0.04em;
}

/* Sections */
.tx2-section {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
  scroll-margin-top: 84px;
}

.tx2-section h2,
.tx2-closing h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.6vw, 2.85rem);
  line-height: 1.08;
}

.tx2-note {
  margin: 14px 0 0;
  max-width: 46rem;
  color: var(--tx-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* Mood */
.tx2-mood__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tx2-mood__card {
  --mood: var(--tx-cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  min-height: 188px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  border: 1px solid var(--tx-line);
  background:
    linear-gradient(180deg, rgba(16, 22, 38, 0.55), rgba(7, 10, 18, 0.2) 42%),
    var(--tx-panel);
  color: var(--tx-text);
  text-align: left;
  transition: border-color 0.22s ease, transform 0.22s var(--tx-ease), box-shadow 0.22s ease;
}

.tx2-mood__card:has(.tx2-face--thoughtful) { --mood: var(--tx-violet); }
.tx2-mood__card:has(.tx2-face--playful) { --mood: var(--tx-pink); }

.tx2-mood__card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--mood) 55%, transparent);
}

.tx2-mood__card.is-selected {
  border-color: var(--mood);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--mood) 34%, transparent), transparent 58%),
    rgba(8, 12, 22, 0.96);
  box-shadow:
    0 0 0 1px var(--mood),
    0 0 34px color-mix(in srgb, var(--mood) 52%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.34);
}

.tx2-mood__card.is-selected .tx2-face {
  box-shadow:
    inset 0 0 18px color-mix(in srgb, var(--mood) 42%, transparent),
    0 0 24px color-mix(in srgb, var(--mood) 48%, transparent);
}

.tx2-mood.is-chosen .tx2-mood__card:not(.is-selected) {
  opacity: 0.42;
  filter: saturate(0.4) brightness(0.72);
}

.tx2-mood.is-chosen .tx2-mood__card:not(.is-selected):hover,
.tx2-mood.is-chosen .tx2-mood__card:not(.is-selected):focus-visible {
  opacity: 0.72;
  transform: none;
}

.tx2-face {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  background: rgba(3, 6, 14, 0.72);
  box-shadow: inset 0 0 16px color-mix(in srgb, currentColor 16%, transparent);
  color: var(--mood);
}

.tx2-face__svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor 50%, transparent));
}

.tx2-face__brow,
.tx2-face__eyes,
.tx2-face__chin,
.tx2-face__mouth {
  transform-box: fill-box;
  transform-origin: center;
}

.tx2-mood__card.is-selected .tx2-face--calm .tx2-face__svg {
  transform-origin: 50% 50%;
  animation: tx2-breathe 4.4s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face--calm .tx2-face__mouth {
  animation: tx2-smile 4.4s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face--thoughtful .tx2-face__brow {
  animation: tx2-brow 3.6s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face--thoughtful .tx2-face__brow--r {
  animation-delay: 0.18s;
}

.tx2-mood__card.is-selected .tx2-face--thoughtful .tx2-face__eyes {
  animation: tx2-think-eyes 3.6s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face--thoughtful .tx2-face__chin {
  animation: tx2-chin 3.6s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face--playful .tx2-face__svg {
  transform-origin: 50% 58%;
  animation: tx2-wobble 2.8s ease-in-out infinite;
}

.tx2-mood__label {
  font: 600 clamp(16px, 1.5vw, 18px) / 1.35 var(--tx-body);
  letter-spacing: 0.01em;
}

.tx2-mood__chosen {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(242, 193, 119, 0.14);
  color: var(--tx-amber);
  font: 500 10px/1 var(--tx-mono);
  letter-spacing: 0.12em;
}

.tx2-companion {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(240px, 0.9fr);
  grid-template-areas: "eye advice rec";
  gap: 18px 22px;
  align-items: start;
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--tx-line);
  background: rgba(6, 10, 18, 0.72);
  animation: tx2-rise 0.45s var(--tx-ease) both;
}

.tx2-companion > * {
  min-width: 0;
}

.tx2-companion__eye { grid-area: eye; }
.tx2-companion__advice,
.tx2-companion__copy { grid-area: advice; }
.tx2-rec { grid-area: rec; }

.tx2-companion__eye {
  display: grid;
  place-items: center;
  padding-top: 4px;
}

.tx2-advice {
  min-height: 4.6em;
  color: var(--tx-text);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
}

.tx2-advice__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tx2-rec {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(70, 232, 216, 0.16);
  background: rgba(3, 6, 14, 0.45);
}

.tx2-rec [data-rec-body] > p {
  margin: 0 0 12px;
  color: var(--tx-soft);
  font-size: 15px;
  line-height: 1.55;
}

.tx2-rec .tx2-card,
.tx2-rec .tx2-empty {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Library */
.tx2-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px;
}

.tx2-tabs [role="tab"] {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--tx-line);
  background: rgba(8, 12, 22, 0.65);
  color: var(--tx-soft);
  font: 600 11px/1.2 var(--tx-display);
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tx2-tabs [role="tab"]:hover {
  border-color: rgba(70, 232, 216, 0.45);
  color: var(--tx-text);
}

.tx2-tabs [role="tab"][aria-selected="true"] {
  border-color: #6ef3e6;
  background: #6ef3e6;
  color: #041410;
}

#tx2-library-panel {
  min-width: 0;
  border-radius: 12px;
}

.tx2-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 180px;
  padding: 28px 22px;
  border-radius: 16px;
  border: 1px dashed rgba(143, 155, 186, 0.38);
  background:
    linear-gradient(180deg, rgba(70, 232, 216, 0.04), transparent 42%),
    rgba(6, 10, 18, 0.55);
}

.tx2-empty__title {
  font: 600 13px/1.4 var(--tx-display);
  letter-spacing: 0.05em;
  color: var(--tx-text);
}

.tx2-empty p:last-child {
  max-width: 58ch;
  color: var(--tx-soft);
  font-size: 16px;
  line-height: 1.6;
}

.tx2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.tx2-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--tx-line);
  background: var(--tx-panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.tx2-card h3 {
  font: 600 16px/1.35 var(--tx-body);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.tx2-card p {
  color: var(--tx-soft);
  font-size: 14px;
  line-height: 1.55;
}

.tx2-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #05070e;
  border: 1px solid rgba(143, 155, 186, 0.18);
}

.tx2-card--short .tx2-card__frame {
  width: min(100%, 220px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
}

.tx2-card__frame iframe,
.tx2-card__frame img,
.tx2-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tx2-card__frame img {
  object-fit: cover;
}

.tx2-card__placeholder {
  background:
    radial-gradient(circle at 50% 45%, rgba(157, 123, 255, 0.2), transparent 46%),
    linear-gradient(160deg, rgba(70, 232, 216, 0.08), rgba(5, 7, 14, 0.2));
}

.tx2-ext {
  justify-content: flex-start;
  margin-top: 2px;
  padding-left: 0;
}

/* Anatomy */
.tx2-anatomy__head {
  max-width: 46rem;
  margin-bottom: 22px;
}

.tx2-stage {
  position: relative;
  min-width: 0;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--tx-line-strong);
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.92), rgba(5, 8, 16, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.32);
}

.tx2-frame {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: 148px minmax(0, 1fr) minmax(200px, 250px);
  grid-template-areas:
    "upper upper upper"
    "manuscript manuscript side"
    "zayni lower lower";
  gap: 10px;
  min-width: 0;
}

.tx2-zone--upper { grid-area: upper; }
.tx2-zone--manuscript { grid-area: manuscript; }
.tx2-frame__side { grid-area: side; }
.tx2-zone--zayni { grid-area: zayni; }
.tx2-zone--lower { grid-area: lower; }

.tx2-frame__side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.tx2-zone {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(143, 155, 186, 0.2);
  background: rgba(5, 8, 16, 0.72);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
}

.tx2-zone.is-hot {
  border-color: rgba(70, 232, 216, 0.78);
  box-shadow: 0 0 0 1px rgba(70, 232, 216, 0.28), 0 0 26px rgba(70, 232, 216, 0.12);
}

.tx2-stage.is-focused .tx2-zone:not(.is-hot) {
  opacity: 0.4;
}

.tx2-stage.is-focused .tx2-zone.is-hot {
  opacity: 1;
}

@media (min-width: 901px) {
  .tx2-stage.is-focused {
    overflow: hidden;
  }

  .tx2-stage.is-focused .tx2-frame {
    transform: translate(var(--pan-x, 0), var(--pan-y, 0));
    transition: transform 0.55s var(--tx-ease);
  }
}

.tx2-hud,
.tx2-lower {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}

.tx2-hud__book {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx2-hud p,
.tx2-lower p {
  min-width: 0;
}

.tx2-hud small,
.tx2-lower small {
  display: block;
  color: var(--tx-muted);
  font: 500 10px/1.35 var(--tx-mono);
  letter-spacing: 0.12em;
}

.tx2-hud strong,
.tx2-lower strong {
  display: block;
  margin-top: 4px;
  color: var(--tx-text);
  font: 600 12px/1.3 var(--tx-display);
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
}

.tx2-book {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.tx2-book span {
  width: 7px;
  height: 16px;
  border: 1px solid rgba(70, 232, 216, 0.45);
  background: rgba(70, 232, 216, 0.08);
}

.tx2-book span:nth-child(-n + 3) {
  background: rgba(70, 232, 216, 0.62);
  border-color: rgba(70, 232, 216, 0.8);
}

.tx2-book span:nth-child(4) {
  animation: tx2-page 3.8s ease-in-out infinite;
}

.tx2-book__label {
  color: var(--tx-muted);
  font: 500 10px/1 var(--tx-mono);
  letter-spacing: 0.14em;
}

.tx2-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1px solid rgba(143, 155, 186, 0.24);
  background: #070b14;
}

.tx2-window--manuscript {
  aspect-ratio: 16 / 11;
}

.tx2-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tx2-veil {
  position: absolute;
  z-index: 1;
  top: 14%;
  right: 7%;
  bottom: 16%;
  display: grid;
  place-items: center;
  width: min(42%, 190px);
  min-width: 92px;
  padding: 8px;
  text-align: center;
  color: var(--tx-amber);
  font: 600 11px/1.3 var(--tx-display);
  letter-spacing: 0.12em;
  background: rgba(7, 9, 16, 0.8);
  border: 1px solid rgba(242, 193, 119, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(3px);
}

.tx2-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.tx2-states li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(70, 232, 216, 0.4);
  color: #dffdf9;
  font: 500 10px/1 var(--tx-mono);
  letter-spacing: 0.1em;
}

.tx2-states li:nth-child(2) {
  border-color: rgba(242, 193, 119, 0.7);
  background: rgba(242, 193, 119, 0.12);
  color: var(--tx-amber);
}

.tx2-states li:nth-child(3) {
  border-color: rgba(157, 123, 255, 0.55);
  color: #e4dcff;
}

.tx2-states li:nth-child(4) {
  border-color: rgba(255, 79, 216, 0.45);
  color: #ffd4f2;
}

.tx2-hotspot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(143, 155, 186, 0.32);
  background: rgba(3, 6, 14, 0.55);
  color: var(--tx-soft);
  font: 600 11px/1.2 var(--tx-display);
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tx2-hotspot:hover,
.tx2-hotspot[aria-expanded="true"] {
  border-color: rgba(70, 232, 216, 0.7);
  color: var(--tx-text);
}

.tx2-hotspot[aria-expanded="true"] {
  background: rgba(70, 232, 216, 0.12);
}

.tx2-hotspot__arrow {
  width: 28px;
  height: 10px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tx2-zone--zayni {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.tx2-anatomy__launch {
  margin-top: 18px;
}

.tx2-detail {
  margin-top: 16px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--tx-line-strong);
  background: var(--tx-panel-2);
  scroll-margin-top: 96px;
}

.tx2-detail__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tx2-detail__bar h3 {
  min-width: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.3;
}

.tx2-detail__bar .eu-cta-secondary {
  flex: none;
}

.tx2-detail > p {
  max-width: 68ch;
  color: var(--tx-soft);
  font-size: 16px;
  line-height: 1.65;
}

.tx2-detail ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tx2-detail li {
  padding-top: 10px;
  border-top: 1px solid rgba(143, 155, 186, 0.18);
}

.tx2-detail li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--tx-cyan);
  font: 500 11px/1.3 var(--tx-mono);
  letter-spacing: 0.12em;
}

.tx2-detail li:nth-child(2) strong { color: var(--tx-amber); }
.tx2-detail li:nth-child(3) strong { color: #d7ccff; }
.tx2-detail li:nth-child(4) strong { color: #ffd0f1; }

.tx2-detail li span {
  color: var(--tx-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* Closing + footer */
.tx2-closing {
  min-height: clamp(520px, 72vh, 740px);
  scroll-margin-top: 84px;
}

.tx2-closing__media img {
  object-position: center 60%;
}

.tx2-footer {
  border-top: 1px solid rgba(157, 123, 255, 0.16);
  background: #02040a;
}

.tx2-footer__in {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding: 28px clamp(16px, 4vw, 40px) 40px;
}

.tx2-footer p {
  color: var(--tx-soft);
  font: 400 13px/1.6 var(--tx-mono);
  letter-spacing: 0.06em;
  text-align: center;
}

#tx2-root > .tx2-lead {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px);
}

/* Floating tour */
.tx2-guide {
  position: fixed;
  z-index: 80;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  width: min(348px, calc(100% - 24px));
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(70, 232, 216, 0.32);
  background: rgba(6, 10, 18, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  color: var(--tx-text);
  scrollbar-width: thin;
  scrollbar-color: rgba(70, 232, 216, 0.45) transparent;
}

.tx2-guide__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tx2-guide__row > div {
  min-width: 0;
}

.tx2-guide__row .tx2-kicker {
  margin: 0;
}

.tx2-guide__row .tx2-kicker + .tx2-kicker {
  margin-top: 4px;
  color: var(--tx-muted);
}

.tx2-guide__text {
  margin: 0;
  color: var(--tx-soft);
  font-size: 15px;
  line-height: 1.55;
}

.tx2-guide__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tx2-guide__actions .site-cta,
.tx2-guide__actions .eu-cta-secondary {
  width: 100%;
  min-width: 0;
  padding-inline: 8px;
}

.tx2-guide.is-mobile {
  max-height: min(200px, 32dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 12px;
  gap: 8px;
}

.tx2-guide.is-mobile .tx2-guide__text {
  font-size: 14px;
  line-height: 1.45;
}

/* Zayni: calm, open, no halo. Mouse look maps onto the shared gaze rig. */
body.tx2 .zayni-mini {
  --look-x: 0px;
  --look-y: 0px;
  --open: 1;
  --upper-y: 0px;
  --upper-r: 0deg;
  --lower-y: 0px;
  --brow-y: -1px;
  --brow-r: 0deg;
  --halo-strength: 0;
  width: 148px;
  height: auto;
  overflow: visible;
}

body.tx2 .tx2-companion__eye .zayni-mini {
  width: 168px;
}

body.tx2 .tx2-zone--zayni .zayni-mini {
  width: 120px;
}

body.tx2 .tx2-guide .zayni-mini {
  width: 84px;
  flex: none;
}

body.tx2 .tx2-guide.is-mobile .zayni-mini {
  width: 68px;
}

body.tx2 .zayni-mini .zayni-eye {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

body.tx2 .zayni-mini .zayni-halo {
  display: none;
}

body.tx2 .zayni-mini .rig-glow {
  opacity: 0.35;
}

body.tx2 .zayni-mini .zayni-gaze-base {
  transform: translate(calc(var(--gaze-x) + var(--look-x)), calc(var(--gaze-y) + var(--look-y))) scale(var(--iris));
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.tx2 .zayni-mini .pupil {
  transform: translate(var(--look-x), var(--look-y)) scale(var(--pupil));
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.tx2 .zayni-mini .zayni-blink {
  animation: tx2-blink 8.4s ease-in-out infinite;
}

@keyframes tx2-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes tx2-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes tx2-page {
  0%, 100% { background: rgba(70, 232, 216, 0.08); }
  50% { background: rgba(70, 232, 216, 0.5); }
}

@keyframes tx2-blink {
  0%, 92%, 100% { transform: scaleY(var(--open, 1)); }
  96% { transform: scaleY(0.08); }
}

@media (max-width: 980px) {
  .tx2-companion {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "eye advice"
      "rec rec";
  }
}

@media (max-width: 900px) {
  .tx2-frame {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "upper"
      "manuscript"
      "side"
      "zayni"
      "lower";
  }

  .tx2-zone--zayni {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .tx2-zone--zayni .tx2-hotspot {
    margin-top: 0;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .tx2-frame__side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  html:has(body.tx2) {
    scroll-padding-top: calc(var(--hdr, 62px) + 16px);
  }
}

@media (max-width: 700px) {
  .tx2-mood__grid,
  .tx2-route ol {
    grid-template-columns: 1fr;
  }

  .tx2-route ol {
    grid-template-columns: 1fr 1fr;
  }

  .tx2-route ol::before {
    display: none;
  }

  .tx2-companion {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eye"
      "advice"
      "rec";
  }

  .tx2-companion__eye {
    justify-items: start;
  }
}

@media (max-width: 390px) {
  .tx2-hero {
    min-height: 0;
  }

  .tx2-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.2rem);
  }

  .tx2-hud,
  .tx2-lower {
    grid-template-columns: 1fr;
  }

  .tx2-facts li,
  .tx2-tabs [role="tab"] {
    letter-spacing: 0.06em;
  }

}

@media (prefers-reduced-motion: reduce) {
  body.tx2 .tx2-hero__copy > *,
  body.tx2 .tx2-companion,
  body.tx2 .tx2-hero .tx2-eyebrow::before,
  body.tx2 .tx2-book span,
  body.tx2 .zayni-mini .zayni-blink,
  body.tx2 .zayni-mini .zayni-gaze-drift,
  body.tx2 .zayni-mini .zayni-halo,
  body.tx2 .tx2-face__svg,
  body.tx2 .tx2-face__mouth,
  body.tx2 .tx2-face__brow,
  body.tx2 .tx2-face__eyes,
  body.tx2 .tx2-face__chin {
    animation: none !important;
  }

  body.tx2 .zayni-mini {
    --open: 1;
  }

  .tx2-shot,
  .tx2-stage.is-focused .tx2-frame {
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .tx2-veil {
    backdrop-filter: none;
    background: rgba(7, 9, 16, 0.94);
  }
}

@media (forced-colors: active) {
  .tx2-mood__card,
  .tx2-hotspot,
  .tx2-region__frame,
  .tx2-tabs [role="tab"],
  .tx2-card,
  .tx2-zone,
  .tx2-guide,
  .tx2-empty {
    border: 1px solid CanvasText;
  }
}

@keyframes tx2-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes tx2-smile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.8px) scaleX(1.06); }
}

@keyframes tx2-brow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-1.6px) rotate(-6deg); }
}

@keyframes tx2-think-eyes {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(1px, 1.2px); }
  70% { transform: translate(-0.4px, 0.4px); }
}

@keyframes tx2-chin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.6px); }
}

@keyframes tx2-wobble {
  0%, 100% { transform: rotate(-8deg); }
  35% { transform: rotate(9deg) translateY(-1px); }
  68% { transform: rotate(-4deg); }
}

.tx2-companion {
  position: relative;
  padding-right: 56px;
}

.tx2-companion__close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(143, 155, 186, 0.35);
  background: rgba(3, 6, 13, 0.82);
  color: var(--tx-soft);
  font: 600 22px/1 var(--tx-body);
}

.tx2-companion__close:hover,
.tx2-companion__close:focus-visible {
  color: #fff;
  border-color: rgba(70, 232, 216, 0.6);
}

.tx2-advice {
  min-height: 0;
}

.tx2-empty--compact {
  min-height: 0;
  padding: 8px 0 4px;
  border: 0;
  background: transparent;
}

.tx2-more {
  display: inline-flex;
  margin-top: 14px;
  color: var(--tx-cyan);
  font: 600 11px/1.35 var(--tx-display);
  letter-spacing: 0.08em;
}

.tx2-more:hover,
.tx2-more:focus-visible {
  text-shadow: 0 0 12px rgba(70, 232, 216, 0.45);
}

.tx2-tabs [role="tab"] {
  white-space: normal;
  text-align: center;
  height: auto;
  padding-block: 10px;
}

.tx2-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1141 / 594;
  border-radius: 16px;
  background: #05070e;
}

.tx2-shot {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 0.55s var(--tx-ease);
}

.tx2-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}

.tx2-region {
  --zone: var(--tx-cyan);
  position: absolute;
  z-index: 2;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--zone);
}

.tx2-region[data-tone="cyan"] { --zone: #46e8d8; }
.tx2-region[data-tone="amber"] { --zone: #f2c177; }
.tx2-region[data-tone="violet"] { --zone: #c4b2ff; }
.tx2-region[data-tone="pink"] { --zone: #ff7ae3; }
.tx2-region[data-tone="green"] { --zone: #8dffe0; }
.tx2-region[data-tone="gold"] { --zone: #e8b854; }

.tx2-region__frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid color-mix(in srgb, var(--zone) 72%, transparent);
  background: color-mix(in srgb, var(--zone) 12%, transparent);
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--zone) 18%, transparent);
  pointer-events: none;
}

.tx2-region.is-hot .tx2-region__frame {
  border-color: var(--zone);
  background: color-mix(in srgb, var(--zone) 18%, transparent);
  box-shadow:
    0 0 0 1px var(--zone),
    0 0 22px color-mix(in srgb, var(--zone) 55%, transparent),
    inset 0 0 18px color-mix(in srgb, var(--zone) 20%, transparent);
}

.tx2-stage.is-focused .tx2-region:not(.is-hot) {
  opacity: 0;
}

.tx2-stage.is-focused .tx2-region.is-hot {
  opacity: 1;
  z-index: 4;
}

.tx2-stage.is-focused .tx2-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(2, 4, 10, 0.62);
  pointer-events: none;
  clip-path: polygon(
    evenodd,
    0% 0%,
    100% 0%,
    100% 100%,
    0% 100%,
    0% 0%,
    var(--hx, 0%) var(--hy, 0%),
    calc(var(--hx, 0%) + var(--hw, 0%)) var(--hy, 0%),
    calc(var(--hx, 0%) + var(--hw, 0%)) calc(var(--hy, 0%) + var(--hh, 0%)),
    var(--hx, 0%) calc(var(--hy, 0%) + var(--hh, 0%)),
    var(--hx, 0%) var(--hy, 0%)
  );
}

.tx2-stage.is-focused .tx2-region.is-hot .tx2-region__frame {
  box-shadow:
    0 0 0 1px var(--zone),
    0 0 28px color-mix(in srgb, var(--zone) 65%, transparent);
}

.tx2-region__tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(210px, 46vw);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--zone) 70%, transparent);
  background: rgba(4, 8, 16, 0.88);
  color: var(--zone);
  font: 600 10px/1.2 var(--tx-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

.tx2-region__arrow {
  width: 22px;
  height: 8px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tx2-region[data-place="below"] .tx2-region__tag {
  top: calc(100% + 8px);
  left: 8px;
}

.tx2-region[data-place="below"] .tx2-region__arrow {
  transform: rotate(-90deg);
}

.tx2-region[data-place="above"] .tx2-region__tag {
  bottom: calc(100% + 8px);
  left: 8px;
}

.tx2-stage.is-focused .tx2-region[data-zone="lower"].is-hot .tx2-region__frame {
  box-shadow:
    0 0 0 1px var(--zone),
    0 0 8px color-mix(in srgb, var(--zone) 45%, transparent);
}

.tx2-region[data-zone="lower"]::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 320%;
}

.tx2-region[data-place="above"] .tx2-region__arrow {
  transform: rotate(90deg);
}

.tx2-region[data-place="side"] .tx2-region__tag {
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.tx2-region[data-place="start"] .tx2-region__tag {
  left: 10px;
  top: 10px;
}

.tx2-region[data-place="start"] .tx2-region__arrow {
  transform: rotate(90deg);
}

@media (max-width: 860px) {
  .tx2-viewport {
    aspect-ratio: auto;
    height: min(68vh, 460px);
    overflow: auto;
    overscroll-behavior: contain;
  }

  .tx2-shot {
    position: relative;
    width: 920px;
    height: calc(920px * 594 / 1141);
    inset: auto;
  }

  .tx2-region[data-place] .tx2-region__tag {
    left: 4px;
    right: auto;
    top: 4px;
    bottom: auto;
    transform: none;
    max-width: calc(100% - 8px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tx2-region[data-place] .tx2-region__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx2-shot {
    transition: none;
  }
}


/* === Transmisiones V2 · Emotion Engine Rework 2026-10-07 === */
.tx2-section {
  padding-top: clamp(42px, 5.8vw, 68px);
  padding-bottom: clamp(42px, 5.8vw, 68px);
}

.tx2-hero {
  min-height: clamp(560px, 78vh, 760px);
}

.tx2-hero__media img {
  filter: brightness(.42) saturate(.82);
  opacity: .72;
}

.tx2-hero__media::after {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, .82) 0%, rgba(3, 5, 10, .48) 46%, rgba(3, 5, 10, .28) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, .18) 0%, rgba(3, 5, 10, .50) 48%, rgba(3, 5, 10, .9) 100%);
}

.tx2-life {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.tx2-life__copy .tx2-body {
  margin-top: 16px;
}

.tx2-life__media {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(143,155,186,.24);
  background: rgba(6,10,18,.74);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.tx2-life__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(.78) saturate(.9);
}

.tx2-mood {
  text-align: center;
}

.tx2-mood > .tx2-eyebrow {
  margin-bottom: 22px;
}

.tx2-mood > h2,
.tx2-mood > .tx2-body {
  margin-inline: auto;
}

.tx2-mood__intro {
  margin-top: 14px !important;
  max-width: 54rem;
}

.tx2-mood__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.tx2-mood__card {
  align-items: center;
  justify-content: center;
  min-height: 178px;
  text-align: center;
}

.tx2-face {
  width: 82px;
  height: 82px;
  font-size: 48px;
  border-color: rgba(255,255,255,.18);
  background: rgba(7,11,20,.92);
  transition: transform .28s var(--tx-ease), box-shadow .28s ease;
}

.tx2-face__emoji {
  display: block;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.08));
}

.tx2-mood__card.is-selected .tx2-face {
  animation: tx2-emoji-confirm .58s var(--tx-ease) both;
}

@keyframes tx2-emoji-confirm {
  0% { transform: scale(.88) rotate(-4deg); }
  55% { transform: scale(1.14) rotate(3deg); }
  100% { transform: scale(1.02) rotate(0); }
}

.tx2-mood__confirmation {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(70,232,216,.24);
  border-radius: 14px;
  background: rgba(6,10,18,.72);
  color: var(--tx-soft);
  text-align: left;
}

.tx2-mood-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(70,232,216,.25);
  background: rgba(8,12,22,.75);
}

.tx2-mood-status > span {
  color: var(--tx-muted);
  font: 500 10px/1.2 var(--tx-mono);
  letter-spacing: .12em;
}

.tx2-mood-status > strong {
  color: var(--tx-cyan);
  font: 700 12px/1.2 var(--tx-display);
  letter-spacing: .07em;
}

.tx2-mood-status .eu-cta-secondary {
  margin-left: auto;
}

.tx2-companion--library {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "eye advice";
  margin-top: 16px;
}

.tx2-companion--library .tx2-rec {
  display: none;
}

.tx2-library .tx2-tabs {
  margin-top: 20px;
}

.tx2-anatomy__head {
  margin-bottom: 18px;
}

.tx2-viewport {
  aspect-ratio: 1141 / 594;
  overflow: hidden;
}

.tx2-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tx2-detail {
  margin-top: 16px;
}

.tx2-anatomy__launch {
  margin-top: 18px;
}

.tx2-closing__copy .site-cta {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .tx2-life {
    grid-template-columns: 1fr;
  }

  .tx2-mood__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tx2-companion--library {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eye"
      "advice";
  }
}

@media (max-width: 520px) {
  .tx2-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .tx2-mood__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tx2-mood__card {
    min-height: 154px;
    padding: 14px 10px;
  }

  .tx2-face {
    width: 68px;
    height: 68px;
    font-size: 40px;
  }

  .tx2-mood-status .eu-cta-secondary {
    width: 100%;
    margin-left: 0;
  }
}


/* Anatomy mobile correction: preserve the full 1141×594 frame instead of a 920px scroll canvas. */
@media (max-width: 860px) {
  .tx2-viewport {
    aspect-ratio: 1141 / 594;
    height: auto;
    overflow: hidden;
  }

  .tx2-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}


/* Mobile hotspot legibility + touch targets. */
@media (max-width: 520px) {
  .tx2-region[data-place] .tx2-region__tag {
    max-width: 118px;
    overflow: visible;
    text-overflow: clip;
    font-size: 8px;
    letter-spacing: .045em;
  }

  .tx2-region[data-zone="zayni"] .tx2-region__tag,
  .tx2-region[data-zone="captain"] .tx2-region__tag {
    left: auto;
    right: calc(100% + 4px);
    top: 4px;
  }

  .tx2-region[data-zone="hands"] .tx2-region__tag {
    left: auto;
    right: 0;
    top: auto;
    bottom: calc(100% + 4px);
  }

  .tx2-region[data-zone="hands"]::before,
  .tx2-region[data-zone="lower"]::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 44px);
    height: 44px;
    transform: translate(-50%, -50%);
  }
}


.tx2-load-more {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 0;
}


/* === Transmisiones V2 · Polish 2026-10-08 === */

/* Hero: reveal more of the new transmission hall artwork while preserving copy contrast. */
.tx2-hero__media img {
  filter: brightness(.58) saturate(.9) contrast(.98);
  opacity: .9;
}

.tx2-hero__media::after {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, .72) 0%, rgba(3, 5, 10, .34) 48%, rgba(3, 5, 10, .16) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, .08) 0%, rgba(3, 5, 10, .34) 50%, rgba(3, 5, 10, .82) 100%);
}

.tx2-month {
  margin-top: 19px;
}

/* La vida en la Estación: staggered arrival and a gentle signal shimmer on hover/touch. */
.tx2-life__media {
  position: relative;
  isolation: isolate;
  transform-origin: center;
  will-change: transform;
}

.tx2-life__media::after {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 28% 32%, rgba(70, 232, 216, .18), transparent 33%),
    radial-gradient(circle at 72% 66%, rgba(157, 123, 255, .16), transparent 36%),
    linear-gradient(112deg, transparent 36%, rgba(255,255,255,.08) 48%, transparent 60%);
  mix-blend-mode: screen;
  transition: opacity .32s ease;
}

.tx2-life.is-motion-ready .tx2-life__copy > *,
.tx2-life.is-motion-ready .tx2-life__media {
  opacity: 0;
  transition:
    opacity .82s var(--tx-ease),
    transform .82s var(--tx-ease);
}

.tx2-life.is-motion-ready .tx2-life__copy > * {
  transform: translateY(18px);
}

.tx2-life.is-motion-ready .tx2-life__media {
  transform: translateX(28px) translateY(10px) scale(.975);
}

.tx2-life.is-motion-ready.is-revealed .tx2-life__copy > *,
.tx2-life.is-motion-ready.is-revealed .tx2-life__media {
  opacity: 1;
  transform: none;
}

.tx2-life.is-motion-ready .tx2-life__copy > :nth-child(1) { transition-delay: .02s; }
.tx2-life.is-motion-ready .tx2-life__copy > :nth-child(2) { transition-delay: .11s; }
.tx2-life.is-motion-ready .tx2-life__copy > :nth-child(3) { transition-delay: .20s; }
.tx2-life.is-motion-ready .tx2-life__media { transition-delay: .28s; }

.tx2-life__media.is-magic-pulse {
  animation: tx2-life-magic-pulse .72s cubic-bezier(.22,.75,.25,1) both;
}

.tx2-life__media.is-magic-pulse::after {
  opacity: 1;
  animation: tx2-life-magic-light .72s ease both;
}

.tx2-life__media.is-magic-pulse img {
  animation: tx2-life-magic-image .72s cubic-bezier(.22,.75,.25,1) both;
}

@keyframes tx2-life-magic-pulse {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
  18% { transform: translate3d(.7px,-.6px,0) rotate(-.18deg); }
  38% { transform: translate3d(-.8px,.7px,0) rotate(.16deg); box-shadow: 0 20px 54px rgba(0,0,0,.28), 0 0 24px rgba(70,232,216,.12); }
  60% { transform: translate3d(.55px,.4px,0) rotate(-.11deg); }
  80% { transform: translate3d(-.35px,-.25px,0) rotate(.07deg); }
}

@keyframes tx2-life-magic-light {
  0%,100% { opacity: 0; transform: translateX(-4%) scale(.98); }
  42% { opacity: .92; }
  68% { opacity: .35; transform: translateX(4%) scale(1.02); }
}

@keyframes tx2-life-magic-image {
  0%,100% { transform: scale(1); filter: brightness(.78) saturate(.9); }
  46% { transform: scale(1.008); filter: brightness(.86) saturate(1.03); }
}

/* Mood cards: four station-coded signals, each with its own energy signature. */
.tx2-mood__card {
  --mood-color: #46e8d8;
  --mood-soft: rgba(70,232,216,.16);
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: color-mix(in srgb, var(--mood-color) 24%, rgba(143,155,186,.3));
  background:
    radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--mood-color) 10%, transparent), transparent 54%),
    linear-gradient(180deg, rgba(9,14,25,.96), rgba(5,9,17,.94));
  transition:
    transform .28s var(--tx-ease),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.tx2-mood__card[data-mood="alegre"] {
  --mood-color: #46e8d8;
  --mood-soft: rgba(70,232,216,.17);
}

.tx2-mood__card[data-mood="investigador"] {
  --mood-color: #a77cff;
  --mood-soft: rgba(167,124,255,.17);
}

.tx2-mood__card[data-mood="triste"] {
  --mood-color: #5ba7ff;
  --mood-soft: rgba(91,167,255,.17);
}

.tx2-mood__card[data-mood="inexpresivo"] {
  --mood-color: #f2c177;
  --mood-soft: rgba(242,193,119,.17);
}

.tx2-mood__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--mood-color) 20%, transparent), transparent 48%);
  transition: opacity .28s ease;
}

.tx2-mood__card:hover,
.tx2-mood__card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--mood-color) 78%, white 8%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--mood-color) 28%, transparent),
    0 0 28px color-mix(in srgb, var(--mood-color) 24%, transparent),
    inset 0 0 24px color-mix(in srgb, var(--mood-color) 7%, transparent);
}

.tx2-mood__card:hover::before,
.tx2-mood__card:focus-visible::before,
.tx2-mood__card.is-selected::before {
  opacity: 1;
}

.tx2-mood__card.is-selected {
  transform: translateY(-2px);
  border-color: var(--mood-color);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--mood-color) 58%, transparent),
    0 0 34px color-mix(in srgb, var(--mood-color) 32%, transparent),
    inset 0 0 30px color-mix(in srgb, var(--mood-color) 11%, transparent);
}

.tx2-face {
  color: var(--mood-color);
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.11), transparent 32%),
    radial-gradient(circle, color-mix(in srgb, var(--mood-color) 12%, #0c1525), #07101c 72%);
  border-color: color-mix(in srgb, var(--mood-color) 42%, rgba(255,255,255,.08));
  box-shadow:
    inset 0 0 20px color-mix(in srgb, var(--mood-color) 8%, transparent),
    0 0 18px color-mix(in srgb, var(--mood-color) 12%, transparent);
}

.tx2-face__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tx2-face__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: .42;
  stroke-dasharray: 4 5;
}

.tx2-face__core {
  fill: color-mix(in srgb, var(--mood-color) 13%, #08111e);
  stroke: color-mix(in srgb, var(--mood-color) 54%, #dffcff 16%);
  stroke-width: 1.25;
}

.tx2-face__eye,
.tx2-face__mouth,
.tx2-face__brow,
.tx2-face__orbit-line {
  fill: none;
  stroke: color-mix(in srgb, var(--mood-color) 58%, white 42%);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
}

.tx2-face__eye-dot,
.tx2-face__spark,
.tx2-face__orbit {
  fill: color-mix(in srgb, var(--mood-color) 72%, white 28%);
  transform-box: fill-box;
  transform-origin: center;
}

.tx2-face__tear {
  fill: color-mix(in srgb, var(--mood-color) 78%, white 22%);
  opacity: .85;
  transform-box: fill-box;
  transform-origin: top center;
}

.tx2-mood__label {
  color: color-mix(in srgb, var(--mood-color) 35%, #f4f7ff 65%);
}

.tx2-mood__chosen {
  color: var(--mood-color);
  text-shadow: 0 0 12px color-mix(in srgb, var(--mood-color) 45%, transparent);
}

.tx2-mood__particles {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
}

.tx2-mood__particle {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  opacity: 0;
  background: var(--mood-color);
  box-shadow:
    0 0 8px var(--mood-color),
    0 0 16px color-mix(in srgb, var(--mood-color) 72%, transparent);
  animation: tx2-mood-particle .82s cubic-bezier(.18,.7,.22,1) var(--pd,0ms) forwards;
}

/* OPUS MEDIUM: MOOD MOTION START */
.tx2-mood__card .tx2-face {
  animation: tx2-mood-float 3.6s ease-in-out infinite;
}

.tx2-mood__card[data-mood="alegre"] .tx2-face__spark {
  animation: tx2-mood-spark 2.2s ease-in-out infinite;
}

.tx2-mood__card[data-mood="investigador"] .tx2-face__orbit {
  animation: tx2-mood-orbit-pulse 2.8s ease-in-out infinite;
}

.tx2-mood__card[data-mood="triste"] .tx2-face__tear {
  animation: tx2-mood-tear 3s ease-in-out infinite;
}

.tx2-mood__card[data-mood="inexpresivo"] .tx2-face__orbit-line {
  animation: tx2-mood-line-drift 3.4s ease-in-out infinite;
}

.tx2-mood__card.is-selected .tx2-face {
  animation: tx2-mood-confirm .62s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes tx2-mood-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(.4deg); }
}

@keyframes tx2-mood-spark {
  0%,100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes tx2-mood-orbit-pulse {
  0%,100% { opacity: .55; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1.22); }
}

@keyframes tx2-mood-tear {
  0%,55%,100% { opacity: .15; transform: translateY(-1px) scale(.75); }
  72% { opacity: .9; transform: translateY(3px) scale(1); }
  88% { opacity: 0; transform: translateY(8px) scale(.85); }
}

@keyframes tx2-mood-line-drift {
  0%,100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(-2px); opacity: .9; }
}

@keyframes tx2-mood-confirm {
  0% { transform: scale(.9) rotate(-3deg); }
  46% { transform: scale(1.14) rotate(2deg); }
  72% { transform: scale(.98) rotate(-.6deg); }
  100% { transform: scale(1.03) rotate(0); }
}

@keyframes tx2-mood-particle {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.5); }
  14% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py))) scale(1.15); }
}
/* OPUS MEDIUM: MOOD MOTION END */

/* Give the final cinematic panel a small black breath, then anchor its message near the upper-left of the image. */
.tx2-anatomy {
  padding-bottom: clamp(50px, 6vw, 76px);
}

.tx2-closing {
  margin-top: clamp(18px, 2.4vw, 30px);
  min-height: clamp(540px, 72vh, 760px);
  align-items: start;
}

.tx2-closing__copy {
  align-self: start;
  padding-top: clamp(46px, 7vh, 82px);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.tx2-closing__copy h2 {
  max-width: 37rem;
}

.tx2-closing__media::after {
  background:
    linear-gradient(105deg, rgba(3,5,10,.78) 0%, rgba(3,5,10,.52) 38%, rgba(3,5,10,.20) 68%, rgba(3,5,10,.10) 100%),
    linear-gradient(180deg, rgba(3,5,10,.32) 0%, rgba(3,5,10,.10) 42%, rgba(3,5,10,.72) 100%);
}

@media (max-width: 700px) {
  .tx2-life.is-motion-ready .tx2-life__media {
    transform: translateY(18px) scale(.982);
  }

  .tx2-closing {
    min-height: clamp(520px, 76vh, 680px);
  }

  .tx2-closing__copy {
    padding-top: 34px;
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx2-life.is-motion-ready .tx2-life__copy > *,
  .tx2-life.is-motion-ready .tx2-life__media {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tx2-life__media.is-magic-pulse,
  .tx2-life__media.is-magic-pulse::after,
  .tx2-life__media.is-magic-pulse img,
  .tx2-mood__card .tx2-face,
  .tx2-mood__card .tx2-face__spark,
  .tx2-mood__card .tx2-face__orbit,
  .tx2-mood__card .tx2-face__tear,
  .tx2-mood__card .tx2-face__orbit-line,
  .tx2-mood__particle {
    animation: none !important;
  }
}


/* Keep the monthly estimate visibly detached from the signal pills even when margins collapse. */
.tx2-month {
  margin-top: 0;
  padding-top: 16px;
}


/* Final spacing calibration: a short black breath before the closing image, not a large void. */
.tx2-anatomy {
  padding-bottom: 44px;
}

.tx2-closing {
  margin-top: 14px;
}

/* Estación Unwritten V2 | guía de Transmisiones: misma identidad que los decks */
body.tx2 .tx2-guide{
  width:min(430px,calc(100vw - 24px));
  padding:clamp(14px,2vw,22px);
  background:linear-gradient(150deg,rgba(11,19,35,.98),rgba(4,9,20,.985));
  border:1px solid rgba(70,232,216,.44);
  border-radius:16px;
  box-shadow:0 22px 66px rgba(0,0,0,.66),0 0 24px rgba(70,232,216,.10);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  color:#eef3ff;
}
body.tx2 .tx2-guide .tx2-kicker{font-family:"Share Tech Mono",Consolas,monospace}
body.tx2 .tx2-guide__text{
  font-family:"Exo 2","Segoe UI",sans-serif;
  color:#b8c4e0;line-height:1.6
}
body.tx2 .tx2-guide__actions{gap:8px}
body.tx2 .tx2-guide__actions button{border-radius:9px;min-height:42px;font-weight:700}
body.tx2 .tx2-guide__actions button:focus-visible{outline:2px solid #46e8d8;outline-offset:3px}
body.tx2 .tx2-guide__meter{height:4px;border-radius:5px;overflow:hidden;
  background:rgba(143,155,186,.22)}
body.tx2 .tx2-guide__meter span{display:block;height:100%;width:0;
  border-radius:inherit;background:linear-gradient(90deg,#46e8d8,#9d7bff);
  transition:width .22s ease}
body.tx2 .tx2-guide.is-mobile{max-height:min(290px,46dvh);padding:12px 14px;gap:8px}
@media(prefers-reduced-motion:reduce){
  body.tx2 .tx2-guide__meter span{transition:none!important}
}
