/*=============== FUENTES ===============*/
@font-face { font-family: "Gabarito"; src: url("../assets/fonts/Gabarito-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

/*=============== VARIABLES ===============*/
:root {
  --first-color: #ff5fa2;
  --blue: #9d8cff;
  --title-color: #ffffff;
  --text-color: #e4dae8;
  --text-color-light: #a898ae;
  --body-color: #1b1020;
  --world-bg: radial-gradient(120% 90% at 50% 40%, #33193a 0%, #1b1020 70%);

  --surface: #2a2030;
  --surface-line: rgba(255, 255, 255, 0.06);
  --rim: rgba(0, 0, 0, 0.35);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.3);
  --hover-bg: rgba(255, 95, 162, 0.12);
  --indicator: rgba(255, 95, 162, 0.16);
  --indicator-line: rgba(255, 95, 162, 0.32);
  --primary: linear-gradient(135deg, #ff7ab4 0%, #ec4d93 100%);
  --primary-text: #ffffff;
  --primary-glow: rgba(236, 77, 147, 0.22);

  --body-font: "Gabarito", system-ui, sans-serif;
  --second-font: "Gabarito", system-ui, sans-serif;

  --safe-left: env(safe-area-inset-left, 0px);
  --safe-top: env(safe-area-inset-top, 0px);

  --rubber: cubic-bezier(.34, 1.56, .64, 1);
  --rubber-soft: cubic-bezier(.32, 1.24, .5, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --rubber: linear(0, 0.047, 0.169, 0.341, 0.537, 0.735, 0.916, 1.067, 1.181, 1.256, 1.292, 1.295, 1.271, 1.227, 1.172, 1.113, 1.055, 1.005, 0.964, 0.935, 0.918, 0.912, 0.914, 0.924, 0.939, 0.956, 0.974, 0.99, 1.004, 1.015, 1.022, 1.026, 1.026, 1.024, 1.021, 1.016, 1.011, 1.006, 1.001, 0.997, 0.995, 0.993, 0.992, 0.992, 0.993, 0.994, 0.996, 0.997, 1);
    --rubber-soft: linear(0, 0.02, 0.074, 0.152, 0.248, 0.353, 0.461, 0.568, 0.67, 0.763, 0.847, 0.92, 0.98, 1.029, 1.067, 1.095, 1.113, 1.123, 1.126, 1.124, 1.117, 1.108, 1.096, 1.083, 1.069, 1.055, 1.042, 1.031, 1.02, 1.011, 1.003, 0.997, 0.992, 0.988, 0.986, 0.985, 0.984, 0.984, 0.985, 0.986, 0.988, 0.989, 0.991, 0.993, 0.995, 0.996, 0.997, 0.999, 1);
  }
}

[data-theme="light"] {
  --first-color: #e9478f;
  --blue: #6a5cff;
  --title-color: #141016;
  --text-color: #3d3542;
  --text-color-light: #86798c;
  --body-color: #fbdcf6;
  --world-bg: radial-gradient(110% 90% at 50% 42%, #fff0fc 0%, #fbdcf6 62%, #f7cdf1 100%);

  --surface: #ffffff;
  --surface-line: rgba(60, 40, 90, 0.06);
  --rim: #d3d7f2;
  --shadow: 0 14px 34px rgba(176, 120, 196, 0.24), 0 2px 8px rgba(176, 120, 196, 0.14);
  --hover-bg: rgba(233, 71, 143, 0.08);
  --indicator: rgba(233, 71, 143, 0.1);
  --indicator-line: rgba(233, 71, 143, 0.24);
  --primary: linear-gradient(135deg, #ff7ab4 0%, #e9478f 100%);
  --primary-text: #ffffff;
  --primary-glow: rgba(233, 71, 143, 0.2);
}

/*=============== BASE ===============*/
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
html {
  font-synthesis: none;
  color-scheme: dark;
  background: var(--body-color);
  transition: background-color .6s ease;
}
html[data-theme="light"] { color-scheme: light; }
body {
  font-family: var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s ease, color .6s ease;
}
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--world-bg);
  background-color: var(--body-color);
  transition: background-color .6s ease;
}
.ios {
  --bleed-top: 62px;
  --bleed-bottom: 136px;
  overflow-y: scroll;
}
.ios body {
  position: relative;
  height: auto;
  overflow: visible;
  touch-action: none;
}
.ios #world {
  position: relative;
  inset: auto;
  height: calc(100dvh + var(--bleed-top) + var(--bleed-bottom));
}
.ios #world canvas {
  margin-top: var(--bleed-top);
  height: calc(100% - var(--bleed-top));
}
.ios .intro {
  position: absolute;
  inset: auto;
  left: 0;
  top: var(--bleed-top);
  width: 100%;
  height: calc(100dvh + var(--bleed-bottom));
}
.ios .intro:not(.is-running) .intro__window { top: calc(50% - var(--bleed-bottom) / 2); }
.ios .topbar { position: absolute; bottom: calc(var(--bleed-bottom) + max(18px, env(safe-area-inset-bottom))); }
.ios .dock { position: absolute; bottom: calc(var(--bleed-bottom) + max(18px, env(safe-area-inset-bottom)) + 66px); }
#world canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transition: opacity .5s ease;
}
#world canvas.is-live { opacity: 1; }
.sr-only {
  position: fixed;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
::selection { background: var(--first-color); color: #fff; }

/*=============== SUPERFICIES ===============*/
.glass {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  box-shadow: inset -2px -3px 6px -2px var(--rim), var(--shadow);
  transition: background .6s ease, border-color .6s ease, box-shadow .6s ease;
}

/*=============== ENTRADA DE LA UI ===============*/
[data-ui] {
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease, transform .9s var(--rubber), translate .9s var(--rubber), filter .5s ease;
}
.topbar[data-ui] { translate: -50% 28px; }
.dock[data-ui] { translate: -50% 28px; }
.is-ready [data-ui] {
  opacity: 1;
  pointer-events: auto;
}
.is-ready .topbar[data-ui] { translate: -50% 0; }
.is-ready .dock[data-ui] { translate: -50% 0; transition-delay: .12s; }

/*=============== LOGO ===============*/
.brand {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 31;
  margin: 0;
  font: 800 calc(168px * var(--s, .5)) / 1 var(--second-font);
  letter-spacing: -0.045em;
  color: #0b0b0d;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  text-shadow: 0 .05em .14em rgba(80, 20, 70, .14);
  -webkit-tap-highlight-color: transparent;
}
.intro.is-running ~ .brand, .brand.is-logo { opacity: 1; }
.brand { transition: color .15s ease; }
.brand.is-themed { color: var(--title-color); }
.brand.is-logo { transition: color .6s ease; }
.brand.is-logo { pointer-events: auto; cursor: pointer; }
.brand:focus-visible { outline: 2px solid var(--first-color); outline-offset: 6px; border-radius: 8px; }

/*=============== INTRO ===============*/
.intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.intro.is-fading { opacity: 0; transition: opacity .35s ease; }
.intro__stage { position: absolute; inset: 0; }
.intro__bg { position: absolute; inset: 0; overflow: hidden; background: #fdd2f8; }
.intro__bg i { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 50%; will-change: transform; }
.intro__bg i:nth-child(1),
.intro__bg i:nth-child(2) { background: radial-gradient(closest-side, #fe9ff8 0%, rgba(254, 159, 248, .75) 35%, rgba(254, 159, 248, 0) 100%); }
.intro__bg i:nth-child(3) { background: radial-gradient(closest-side, #f7baf2 0%, rgba(247, 186, 242, 0) 100%); }
.intro__bg i:nth-child(4) { background: radial-gradient(closest-side, #faf1f9 0%, #faf1f9 25%, rgba(250, 241, 249, 0) 100%); }
.intro__veil { position: absolute; inset: 0; background: #000; }
.intro__card {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  background: #f8f8f8;
  box-shadow: inset calc(-6px * var(--s) * var(--rim, 1)) calc(-10px * var(--s) * var(--rim, 1)) calc(16px * var(--s) * var(--rim, 1)) calc(-2px * var(--s) * var(--rim, 1)) #c8cdef;
}
.intro__window {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(248px * var(--s));
  height: calc(248px * var(--s));
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset calc(40px * var(--s)) calc(70px * var(--s)) calc(240px * var(--s)) rgb(120 25 95 / calc(.32 * var(--shade, 0))),
    calc(-4px * var(--s) * var(--rim, 0)) calc(-7px * var(--s) * var(--rim, 0)) calc(12px * var(--s) * var(--rim, 0)) calc(1px * var(--s) * var(--rim, 0)) rgb(200 205 239 / var(--rim, 0));
}
.intro:not(.is-running) .intro__window {
  left: 50%;
  top: 50%;
  margin: calc(-64.5px * var(--s)) 0 0 calc(-124px * var(--s));
  animation: introBreathe 1.8s ease-in-out .9s infinite;
}
@keyframes introBreathe { 50% { scale: 1.03; } }
.intro__ball {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ec5c95;
  box-shadow:
    inset calc(5px * var(--s)) calc(16px * var(--s)) calc(16px * var(--s)) calc(-8px * var(--s)) rgba(255, 255, 255, .9),
    inset calc(-4px * var(--s)) calc(-8px * var(--s)) calc(16px * var(--s)) calc(-8px * var(--s)) rgba(140, 25, 80, .3);
  animation: introBall .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes introBall { from { opacity: 0; scale: .9; } }
.intro__caption { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none; display: none; }
.intro__lines { position: absolute; inset: 0; }
.intro__title, .intro__sub {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  line-height: 1;
  white-space: pre;
  font-family: var(--second-font);
}
.intro__title { font-weight: 800; font-size: calc(112px * var(--s)); letter-spacing: -0.02em; color: #0b0b0d; }
.intro__sub { font-weight: 700; font-size: calc(81px * var(--s)); color: #ed5d96; }
.intro__like { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; display: none; }
.intro__start {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  transition: scale .45s var(--rubber);
}
.intro__start[hidden] { display: none; }
.intro__start:hover { scale: 1.06; }
.intro__start:active { scale: .92; transition-duration: .12s; }
.intro__start:disabled { cursor: default; scale: 1; }
.intro__start:focus-visible { outline: 3px solid #ec5c95; outline-offset: 5px; }
.intro__disc {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #f8f8f8;
  box-shadow: inset calc(-5px * var(--s)) calc(-8px * var(--s)) calc(14px * var(--s)) calc(-2px * var(--s)) #c8cdef;
}
.intro__star {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  translate: -50% -50%;
  pointer-events: none;
}

/*=============== BARRA DE SECCIONES ===============*/
.topbar {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
}
.nav__indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: var(--w, 0px);
  translate: var(--x, 0px) 0;
  border-radius: 999px;
  background: var(--indicator);
  box-shadow: inset 0 0 0 1px var(--indicator-line);
  transition: translate .6s var(--rubber), width .6s var(--rubber), opacity .3s;
  pointer-events: none;
}
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--title-color);
  font: 700 .86rem var(--body-font);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s, transform .45s var(--rubber), background-color .3s;
}
.nav__link i {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-color-light);
  transition: transform .5s var(--rubber);
}
.nav__link:hover { color: var(--title-color); }
.nav__link:hover i { transform: scale(1.18) rotate(-6deg); }
.nav__link:active { transform: scale(.92); }
.nav__link.is-active { color: var(--first-color); }
.nav__link.is-active i { color: var(--first-color); }
.nav__link:focus-visible,
.tool:focus-visible,
.segmented button:focus-visible {
  outline: 2px solid var(--first-color);
  outline-offset: 2px;
}
.nav__divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: var(--surface-line);
}
.nav__link--icon {
  width: 40px;
  padding: 0;
  justify-content: center;
}
.nav__link--icon i { font-size: 1.15rem; color: var(--title-color); }
.theme-toggle.is-spinning i { animation: themeSpin .7s var(--rubber); }
@keyframes themeSpin {
  0% { transform: rotate(0) scale(1); }
  40% { transform: rotate(200deg) scale(.4); opacity: .2; }
  100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

/*=============== DOCK DE CONTROLES ===============*/
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 66px);
  z-index: 10;
  height: 58px;
  width: var(--dock-w, 360px);
  border-radius: 999px;
  overflow: hidden;
  transition: opacity .5s ease, translate .9s var(--rubber), width .65s var(--rubber), background .6s ease, border-color .6s ease, box-shadow .6s ease;
}
.is-ready .dock.is-empty {
  opacity: 0;
  translate: -50% 14px;
  scale: .94;
  pointer-events: none;
}
.dock { transition-property: opacity, translate, width, scale, background, border-color, box-shadow; }
.dock__group {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 8px;
  white-space: nowrap;
  translate: -50% 14px;
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
  transition: opacity .25s ease, translate .25s ease, filter .25s ease;
}
.dock__group.is-active {
  translate: -50% 0;
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  transition: opacity .35s ease .12s, translate .6s var(--rubber) .1s, filter .35s ease .12s;
}
.dock__sep {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: var(--surface-line);
  flex: none;
}
.dock__counter {
  min-width: 88px;
  text-align: center;
  font: 700 .82rem var(--body-font);
  color: var(--text-color);
  font-variant-numeric: tabular-nums;
}

.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  min-width: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--title-color);
  font: 700 .84rem var(--body-font);
  cursor: pointer;
  flex: none;
  transition: color .25s, background-color .25s, transform .45s var(--rubber), box-shadow .3s, opacity .3s;
}
.tool i { font-size: 1.15rem; line-height: 1; transition: transform .5s var(--rubber); }
.tool:hover { background: var(--hover-bg); color: var(--title-color); }
.tool:hover i { transform: scale(1.15); }
.tool:active { transform: scale(.9); }
.tool:disabled { opacity: .35; pointer-events: none; }
.tool--label { padding: 0 15px 0 12px; }
.tool[aria-pressed="true"] { background: var(--hover-bg); color: var(--title-color); }
.tool--primary {
  padding: 0 18px 0 14px;
  color: var(--primary-text);
  background: var(--primary);
  box-shadow: 0 6px 16px var(--primary-glow), inset -1px -2px 4px rgba(150, 20, 80, .22);
}
.tool--primary:hover {
  color: var(--primary-text);
  background: var(--primary);
  filter: brightness(1.04);
  box-shadow: 0 8px 20px var(--primary-glow), inset -1px -2px 4px rgba(150, 20, 80, .22);
  transform: translateY(-1px) scale(1.03);
}
.tool--primary:active { transform: scale(.93); }
.tool.is-done i { animation: pop .5s var(--rubber); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: var(--hover-bg);
  box-shadow: inset 0 0 0 1px var(--surface-line);
}
.segmented__thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
  translate: calc(var(--index, 0) * 100%) 0;
  transition: translate .55s var(--rubber);
}
.segmented button {
  position: relative;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--title-color);
  font: 700 .78rem var(--body-font);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s, transform .4s var(--rubber);
}
.segmented button[aria-pressed="true"] { color: var(--primary-text); }
.segmented button:active { transform: scale(.94); }

/*=============== AVISO ===============*/
.toast {
  position: fixed;
  left: 50%;
  top: max(84px, calc(env(safe-area-inset-top) + 70px));
  z-index: 32;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  color: var(--title-color);
  font: 700 .84rem var(--body-font);
  opacity: 0;
  translate: -50% -14px;
  scale: .9;
  pointer-events: none;
  transition: opacity .3s ease, translate .6s var(--rubber), scale .6s var(--rubber);
}
.toast i { color: var(--first-color); font-size: 1.1rem; }
.toast.is-visible { opacity: 1; translate: -50% 0; scale: 1; }

/*=============== REPRODUCTOR ===============*/
.player {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 12px;
  border-radius: 28px;
  color: var(--title-color);
  overflow: visible;
}
.player[open] { animation: sheetIn .55s var(--rubber); }
.player.is-closing { animation: sheetOut .25s ease forwards; }
.player::backdrop {
  background: hsla(320, 40%, 8%, .6);
  animation: fadeIn .35s ease;
}
.player.is-closing::backdrop { animation: fadeOut .25s ease forwards; }
.player__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 12px 10px;
}
.player__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 1rem var(--second-font);
}
.player__frame {
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 110px);
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(26px) scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(16px) scale(.94); filter: blur(6px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }

/*=============== SIN WEBGL ===============*/
#unavailable {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--world-bg);
  color: var(--text-color);
}
#unavailable[hidden] { display: none; }
#unavailable > div { max-width: 440px; text-align: center; }
#unavailable span { display: block; margin-bottom: 36px; font: 700 1.9rem var(--second-font); letter-spacing: -0.02em; color: var(--title-color); }
#unavailable h2 { margin: 0 0 12px; font: 700 1.3rem var(--second-font); color: var(--title-color); }
#unavailable p { margin: 0 0 26px; line-height: 1.7; }
.no-script { position: fixed; inset: 40% 10%; text-align: center; }

/*=============== TELEFONO: dock de iconos abajo, como la pagina principal ===============*/
@media (max-width: 700px) {
  .topbar {
    top: auto;
    right: auto;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .topbar[data-ui] { translate: -50% 28px; }
  .is-ready .topbar[data-ui] { translate: -50% 0; }
  .nav { gap: 2px; padding: 5px; }
  .nav__indicator { top: 5px; bottom: 5px; }
  .nav__link { flex-direction: column; justify-content: center; width: 50px; height: 46px; padding: 0; border-radius: 18px; }
  .nav__link i { font-size: 1.3rem; }
  .nav__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .nav__divider { height: 24px; margin: 0 2px; }
  .dock {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 66px);
    height: 50px;
  }
  .ios .topbar { bottom: calc(var(--bleed-bottom) + max(12px, env(safe-area-inset-bottom))); }
  .ios .dock { bottom: calc(var(--bleed-bottom) + max(12px, env(safe-area-inset-bottom)) + 66px); }
  .tool { height: 38px; min-width: 38px; padding: 0 9px; font-size: .76rem; }
  .tool--label span { display: none; }
  .tool--label { padding: 0 9px; }
  .tool--primary { padding: 0 14px 0 11px; }
  .dock__counter { min-width: 64px; font-size: .72rem; }
  .segmented button { height: 32px; padding: 0 10px; font-size: .7rem; }
  .dock__group[data-for="home"] .tool--label { display: none; }
  .dock__group[data-for="home"] .dock__sep { display: none; }
  .dock__group[data-for="contact"] .tool--primary span { display: none; }
  .dock__group[data-for="contact"] .tool--primary { padding: 0 11px; }
  .toast { top: max(70px, calc(env(safe-area-inset-top) + 60px)); }
  .player { padding: 8px; border-radius: 22px; }
}

@media (max-width: 380px) {
  .dock__group[data-for="detail"] [data-youtube] { display: none; }
  .dock__counter { min-width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 700px) {
  .dock { max-width: calc(100vw - 20px); }
  .dock__group { gap: 2px; padding: 0 6px; }
  .dock__sep { display: none; }
  .dock__group[data-for="projects"] [data-action="back"] { display: none; }
}
