@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #090909;
  --bg-2: #120d0f;

  --text: #f2ede7;
  --muted: rgba(242, 237, 231, 0.58);

  --accent: #9f1d2c;
  --accent-soft: rgba(159, 29, 44, 0.18);

  --line: rgba(255,255,255,0.08);

  --mouse-x: 50%;
  --mouse-y: 50%;
}


/* ==========================================================
   BASE
   ========================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background: var(--bg);
  color: var(--text);
}

body.frase-body {
  position: relative;

  min-height: 100svh;

  font-family: 'Inter', sans-serif;
}


/* ==========================================================
   FONDO
   ========================================================== */

.frase-bg {
  position: fixed;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.frase-bg::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(120, 15, 30, 0.25),
      transparent 30%
    ),
    radial-gradient(
      circle at 78% 32%,
      rgba(90, 10, 25, 0.18),
      transparent 25%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(110, 20, 20, 0.10),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--bg) 0%,
      var(--bg-2) 60%,
      #070707 100%
    );

  transform: scale(1.05);
}


.bg-orb {
  position: absolute;

  border-radius: 999px;

  filter: blur(70px);

  opacity: 0.48;

  mix-blend-mode: screen;

  animation:
    drift 14s
    ease-in-out
    infinite alternate;
}


.orb-a {
  width: 28vw;
  height: 28vw;

  left: 10%;
  top: 12%;

  background:
    rgba(125, 23, 37, 0.16);
}


.orb-b {
  width: 24vw;
  height: 24vw;

  right: 8%;
  bottom: 10%;

  background:
    rgba(151, 27, 45, 0.13);

  animation-duration: 18s;
}


.orb-c {
  width: 18vw;
  height: 18vw;

  left: 45%;
  bottom: 18%;

  background:
    rgba(95, 13, 28, 0.12);

  animation-duration: 16s;
}


.bg-spotlight {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at var(--mouse-x) var(--mouse-y),
      rgba(255,255,255,0.045),
      transparent 22%
    );

  transition:
    background 120ms linear;
}


.bg-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.018) 1px,
      transparent 1px
    );

  background-size:
    48px 48px;

  mask-image:
    radial-gradient(
      circle at center,
      black 30%,
      transparent 82%
    );

  opacity: 0.11;
}


.bg-vignette {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      transparent 40%,
      rgba(0,0,0,0.46) 100%
    );
}


.bg-noise {
  position: absolute;
  inset: 0;

  opacity: 0.045;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");

  mix-blend-mode: soft-light;
}


/* ==========================================================
   ESCENA
   ========================================================== */

.frase-page {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100svh;

  display: grid;
  place-items: center;

  padding:
    clamp(24px, 4vw, 64px);
}


.frase-shell {
  width: min(1200px, 100%);

  text-align: center;

  opacity: 0;

  transform:
    translateY(22px)
    scale(0.988);

  transition:
    opacity 1.15s ease,
    transform 1.15s
      cubic-bezier(.2,.8,.2,1);
}


.frase-shell.is-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);
}


/* ==========================================================
   PROCEDENCIA
   ========================================================== */

.frase-meta {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-bottom:
    clamp(24px, 3vh, 38px);

  padding:
    10px 16px;

  border:
    1px solid var(--line);

  border-radius: 999px;

  backdrop-filter: blur(10px);

  background:
    rgba(255,255,255,0.025);

  color:
    var(--muted);

  font-size: 12px;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.frase-dot {
  width: 4px;
  height: 4px;

  border-radius: 999px;

  background:
    rgba(255,255,255,0.35);
}


/* ==========================================================
   LINK A LA OBRA
   ========================================================== */

.frase-origen {
  position: relative;

  color: inherit;

  text-decoration: none;

  transition:
    color 250ms ease,
    opacity 250ms ease;
}


.frase-origen::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;

  bottom: -5px;

  height: 1px;

  background:
    var(--accent);

  transition:
    right 350ms
      cubic-bezier(.2,.8,.2,1);
}


.frase-origen:hover {
  color:
    var(--text);
}


.frase-origen:hover::after {
  right: 0;
}


/* ==========================================================
   FRASE
   ========================================================== */

.frase-texto {
  margin: 0 auto;

  max-width: none;

  font-family:
    'Cormorant Garamond',
    serif;

  font-weight: 600;

  font-size:
    clamp(
      2.35rem,
      4.35vw,
      5rem
    );

  line-height: 0.99;

  letter-spacing: -0.022em;

  text-align: center;

  text-shadow:
    0 2px 18px
    rgba(0,0,0,0.35);

  transition:
    transform 220ms ease-out;
}


.segunda-parte {
  display: inline-block;

  margin-top: 0.24em;
}


/* ==========================================================
   ÉNFASIS
   ========================================================== */

.frase-texto .accent {
  position: relative;

  display: inline-block;

  color: #fff5f2;

  z-index: 1;
}


.frase-texto .accent::after {
  content: "";

  position: absolute;

  z-index: -1;

  left: -0.04em;
  right: -0.04em;

  bottom: 0.07em;

  height: 0.11em;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      rgba(159,29,44,0),
      rgba(159,29,44,0.58),
      rgba(159,29,44,0)
    );

  filter: blur(5px);

  opacity: 0.48;

  animation:
    pulseLine
    4.5s
    ease-in-out
    infinite;
}


/* ==========================================================
   FIRMA DEL SITIO
   ========================================================== */

.frase-corner {
  position: fixed;

  z-index: 3;

  left: 22px;
  bottom: 18px;

  font-size: 11px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color:
    rgba(242, 237, 231, 0.30);
}


.frase-corner span {
  color:
    rgba(242, 237, 231, 0.50);
}


/* ==========================================================
   ANIMACIONES
   ========================================================== */

@keyframes drift {

  from {
    transform:
      translate3d(0,0,0)
      scale(1);
  }

  to {
    transform:
      translate3d(20px,-18px,0)
      scale(1.08);
  }

}


@keyframes pulseLine {

  0%,
  100% {
    opacity: 0.30;

    transform:
      scaleX(0.94);
  }

  50% {
    opacity: 0.62;

    transform:
      scaleX(1.03);
  }

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

  .frase-texto {
    font-size:
      clamp(
        2.2rem,
        7vw,
        4.2rem
      );

    line-height: 1;
  }

  .frase-meta {
    font-size: 10px;

    gap: 8px;

    letter-spacing: 0.12em;
  }

}


@media (max-width: 560px) {

  .frase-page {
    padding:
      24px 18px;
  }

  .frase-meta {
    margin-bottom: 22px;

    padding:
      8px 12px;

    font-size: 9px;
  }

  .frase-texto {
    font-size:
      clamp(
        2rem,
        9vw,
        3.35rem
      );

    line-height: 1.02;
  }

  .frase-corner {
    top: 14px;
    left: 14px;
    bottom: auto;

    font-size: 9px;
  }

}

/* ===== INDEX FRASES ===== */

/* Portada "antología": cabecera, frase del día, filtros por obra y fragmentos. */

html.frases-index-html {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(159,29,44,.34) transparent;
}

.frases-index-body {
  --fi-bg: #0b0a0a;
  --fi-card: #121010;
  --fi-card-hover: #1a1314;
  --fi-text: #f2ede7;
  --fi-muted: rgba(242,237,231,.58);
  --fi-faint: rgba(242,237,231,.36);
  --fi-line: rgba(242,237,231,.09);
  --fi-line-strong: rgba(242,237,231,.18);
  --fi-accent: #b02a3a;
  --fi-accent-soft: rgba(176,42,58,.16);
  --fi-accent-text: #d9707b;
  --fi-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --fi-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  margin: 0;
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  color: var(--fi-text);
  font-family: var(--fi-sans);
  background: var(--fi-bg);
  background-image: radial-gradient(ellipse 70% 40% at 50% -5%, rgba(120,16,30,.22), transparent 70%);
  background-attachment: fixed;
}

.frases-index-body a { color: inherit; }
.frases-index-body [hidden] { display: none !important; }

.fi-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 max(18px, env(safe-area-inset-right, 0px)) 96px max(18px, env(safe-area-inset-left, 0px));
}

.fi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fi-muted);
}
.fi-top a { text-decoration: none; transition: color .25s; }
.fi-top a:hover { color: var(--fi-text); }

.fi-top a:focus-visible,
.fi-chip:focus-visible,
.fi-card:focus-visible,
.fi-dia button:focus-visible,
.fi-leer:focus-visible {
  outline: 2px solid var(--fi-accent-text);
  outline-offset: 3px;
}

.fi-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(40px, 8vw, 88px) 0 clamp(28px, 5vw, 48px);
  border-bottom: 1px solid var(--fi-line);
}
.fi-hero h1 {
  margin: 0;
  font-family: var(--fi-serif);
  font-weight: 500;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  line-height: .85;
  letter-spacing: -.035em;
}
.fi-lede {
  margin: 18px 0 0;
  font-family: var(--fi-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--fi-muted);
}
.fi-count {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fi-faint);
  font-variant-numeric: tabular-nums;
}
.fi-count b { color: var(--fi-text); font-weight: 500; }

.fi-dia {
  margin: 0;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 36px);
  border-left: 1px solid var(--fi-accent);
  background: linear-gradient(90deg, var(--fi-accent-soft), transparent 85%);
}
.fi-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fi-accent-text);
}
.fi-eyebrow button {
  all: unset;
  cursor: pointer;
  color: var(--fi-muted);
  letter-spacing: .14em;
}
.fi-eyebrow button:hover { color: var(--fi-text); }
.fi-dia blockquote {
  margin: 0;
  font-family: var(--fi-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.32;
  text-wrap: pretty;
}
.fi-dia figcaption { margin-top: 16px; font-size: 12.5px; color: var(--fi-muted); }
.fi-dia figcaption i { font-family: var(--fi-serif); font-size: 1.12em; color: var(--fi-text); }
.fi-leer {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fi-accent-text) !important;
}
.fi-leer:hover { color: var(--fi-text) !important; }

.fi-filtros {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 20px 0 22px;
  margin-bottom: 8px;
  background: linear-gradient(var(--fi-bg) 78%, transparent);
}
.fi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fi-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--fi-muted);
  background: transparent;
  border: 1px solid var(--fi-line-strong);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s, border-color .25s, background .25s;
}
.fi-chip i { font-family: var(--fi-serif); font-size: 1.12em; }
.fi-chip small { font-size: 11px; color: var(--fi-faint); font-variant-numeric: tabular-nums; }
.fi-chip:hover { color: var(--fi-text); border-color: rgba(242,237,231,.34); }
.fi-chip[aria-pressed="true"] { background: var(--fi-text); color: var(--fi-bg); border-color: var(--fi-text); }
.fi-chip[aria-pressed="true"] small { color: rgba(11,10,10,.55); }

.fi-obra {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding: 8px 0 26px;
}
.fi-obra h2 {
  margin: 0;
  font-family: var(--fi-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}
.fi-obra p { margin: 6px 0 0; color: var(--fi-muted); font-size: 13.5px; }
.fi-obra a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fi-accent-text);
}
.fi-obra a:hover { color: var(--fi-text); }

.fi-grid { columns: 3 300px; column-gap: 20px; }
.fi-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 24px 24px 20px;
  background: var(--fi-card);
  border: 1px solid var(--fi-line);
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.fi-card:hover {
  background: var(--fi-card-hover);
  border-color: rgba(176,42,58,.42);
  transform: translateY(-2px);
}
.fi-txt {
  margin: 0;
  font-family: var(--fi-serif);
  font-size: 1.28rem;
  line-height: 1.36;
  color: rgba(242,237,231,.9);
  text-wrap: pretty;
}
.fi-txt::before { content: "“"; color: var(--fi-accent-text); margin-right: .04em; }
.fi-mas {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fi-accent-text);
  opacity: 0;
  transition: opacity .3s;
}
.fi-card:hover .fi-mas,
.fi-card:focus-visible .fi-mas { opacity: 1; }
.fi-pie {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--fi-line);
  font-size: 12px;
  color: var(--fi-muted);
}
.fi-pie i { font-family: var(--fi-serif); font-size: 1.12em; color: var(--fi-text); }
.fi-n { flex: none; color: var(--fi-faint); font-variant-numeric: tabular-nums; letter-spacing: .06em; }

@media (max-width: 820px) {
  .fi-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 480px) {
  .fi-card { padding: 20px 18px 16px; }
  .fi-txt { font-size: 1.18rem; }
  .fi-chip { font-size: 12.5px; padding: 6px 12px; }
  .fi-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -18px;
    padding: 0 18px;
  }
  .fi-mas { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fi-card, .fi-chip, .fi-mas { transition: none; }
}

/* ===== FIN INDEX FRASES ===== */

/* ===== SOPORTE LOTE FRASES ===== */

.frase-bloque {
  display: block;
}

.frase-bloque + .frase-bloque {
  margin-top: 0.24em;
}

.frase-escena {
  position: relative;
}

.frase-escena--con-imagen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

.frase-ilustracion {
  margin: 0;
  opacity: 0.24;
  filter:
    saturate(.92)
    contrast(1.03)
    drop-shadow(0 8px 40px rgba(0,0,0,.35));
  animation:
    fraseFloat 9s ease-in-out infinite alternate;
}

.frase-ilustracion img {
  display: block;
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
}

@keyframes fraseFloat {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (max-width: 820px) {
  .frase-escena--con-imagen {
    grid-template-columns: 1fr;
  }

  .frase-ilustracion {
    max-width: 260px;
    margin: 0 auto 10px;
    opacity: 0.18;
  }
}

/* ===== FIN SOPORTE LOTE FRASES ===== */

/* ===== VISOR / GALERÍA FRASES ===== */

/* El documento sigue siendo una escena fija. Sólo el contenido de una
   cita extraordinariamente larga obtiene scroll propio. */
.frase-page {
  overflow: hidden;
}

.frase-shell {
  max-height: calc(100svh - 110px);
}

.frase-escena {
  max-height: calc(100svh - 175px);
}

.frase-texto {
  max-height: calc(100svh - 190px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(159,29,44,.48) transparent;
  padding: 0.08em 0.18em 0.18em;
}

.frase-texto::-webkit-scrollbar {
  width: 5px;
}

.frase-texto::-webkit-scrollbar-track {
  background: transparent;
}

.frase-texto::-webkit-scrollbar-thumb {
  background: rgba(159,29,44,.42);
  border-radius: 999px;
}

/* Escalado editorial: no encoge todas las frases, sólo las que lo necesitan. */
.frase--media .frase-texto {
  font-size: clamp(2.05rem, 3.65vw, 4.25rem);
  line-height: 1.01;
}

.frase--larga .frase-texto {
  font-size: clamp(1.65rem, 2.75vw, 3.15rem);
  line-height: 1.04;
}

.frase--extra .frase-texto {
  font-size: clamp(1.28rem, 2.05vw, 2.35rem);
  line-height: 1.08;
}

/* Sólo mostramos una pista visual de scroll cuando JS detecta desborde real. */
.frase-texto.is-scrollable {
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 18px,
    black calc(100% - 28px),
    transparent 100%
  );
  padding-top: 18px;
  padding-bottom: 28px;
}

.frase-nav {
  position: fixed;
  z-index: 8;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-family: 'Inter', sans-serif;
}

.frase-nav a {
  color: rgba(242,237,231,.38);
  text-decoration: none;
  transition:
    color 250ms ease,
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease;
}

.frase-nav-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
  font-size: 18px;
}

.frase-nav-index {
  padding: 10px 4px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.frase-nav a:hover,
.frase-nav a:focus-visible {
  color: rgba(242,237,231,.92);
}

.frase-nav-btn:hover,
.frase-nav-btn:focus-visible {
  border-color: rgba(159,29,44,.34);
  background: rgba(159,29,44,.07);
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .frase--media .frase-texto {
    font-size: clamp(1.85rem, 5.6vw, 3.25rem);
  }

  .frase--larga .frase-texto {
    font-size: clamp(1.48rem, 4.5vw, 2.55rem);
  }

  .frase--extra .frase-texto {
    font-size: clamp(1.18rem, 3.7vw, 2rem);
  }
}

@media (max-width: 560px) {
  .frase-shell {
    max-height: calc(100svh - 92px);
  }

  .frase-escena {
    max-height: calc(100svh - 145px);
  }

  .frase-texto {
    max-height: calc(100svh - 160px);
  }

  .frase--media .frase-texto {
    font-size: clamp(1.72rem, 7vw, 2.55rem);
  }

  .frase--larga .frase-texto {
    font-size: clamp(1.38rem, 5.5vw, 2rem);
  }

  .frase--extra .frase-texto {
    font-size: clamp(1.08rem, 4.35vw, 1.6rem);
  }

  .frase-corner {
    max-width: 34vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .frase-nav {
    bottom: 10px;
  }

  .frase-nav-btn {
    width: 34px;
    height: 34px;
  }
}

/* ===== FIN VISOR / GALERÍA FRASES ===== */

/* ===== COMILLAS EDITORIALES ===== */

.frase-texto {
  position: relative;
}

.frase-texto::before {
  content: "“";

  position: absolute;
  z-index: -1;

  left: -0.05em;
  top: -0.24em;

  font-family: 'Cormorant Garamond', serif;
  font-size: 2.35em;
  font-weight: 600;
  line-height: 1;

  color: rgba(159, 29, 44, 0.30);

  pointer-events: none;
}

.frase-texto::after {
  content: "”";

  display: inline;

  margin-left: 0.08em;

  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12em;
  font-weight: 600;

  color: rgba(159, 29, 44, 0.62);
}

/* ===== FIN COMILLAS EDITORIALES ===== */

/* ===== REGRESO FRASES ===== */

.frase-back {
  position: fixed;
  z-index: 9;

  top: 22px;
  left: 22px;

  color: rgba(242,237,231,.38);
  text-decoration: none;

  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;

  letter-spacing: .17em;
  text-transform: uppercase;

  transition:
    color 250ms ease,
    transform 250ms ease;
}

.frase-back:hover,
.frase-back:focus-visible {
  color: rgba(242,237,231,.90);
  transform: translateX(-3px);
}

.frase-corner {
  text-decoration: none;
  transition: color 250ms ease;
}

.frase-corner:hover {
  color: rgba(242,237,231,.72);
}

@media (max-width: 560px) {
  .frase-back {
    top: 16px;
    left: 16px;
    font-size: 9px;
  }
}

/* ===== FIN REGRESO FRASES ===== */

/* Controles legibles y separados del texto en ventanas pequeñas. */
.frase-nav {
  bottom: max(12px, env(safe-area-inset-bottom));
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(9,9,9,.96);
  white-space: nowrap;
}

.frase-nav a,
.frase-back {
  color: rgba(242,237,231,.85);
}

.frase-back {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(9,9,9,.96);
}

@media (max-width: 560px) {
  .frase-corner { display: none; }
}
