* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --highlight: #ffe95c;
    --text: #fff;
    --text-window: #d8dbff;
    --dim: rgba(255, 255, 255, 0.65);
    --font-game: 'Jersey 10', monospace;
    --font-plain: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
body {
    height: 100%;
}

body {
    background: #000;
    color: var(--text);
    font-family: var(--font-game);
    font-size: 20px;
    letter-spacing: 0.02em;
    overflow: hidden;
}

button {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

/* la manita como cursor en toda la web */
html,
body,
button,
input[type="range"] {
    cursor: url('data/icons/hand-cursor.svg') 7 0, auto;
}

/* ===== Carrusel ===== */
.stage {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    transition: filter 0.35s ease;
}

/* con el menu abierto el video se apaga un poquito */
body.overlay-open .stage {
    filter: brightness(0.4) saturate(0.6);
}

.slide {
    position: absolute;
    inset: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.6, 0.3, 1);
    will-change: transform;
}

.slide.offright {
    transform: translateX(100%);
}

.slide.offleft {
    transform: translateX(-100%);
}

.slide.notransition {
    transition: none;
}

.main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* mismo video detras, borroso y apagado (solo para verticales en pantalla horizontal) */
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    filter: blur(30px) brightness(0.35);
    transform: scale(1.15);
}

.slide.contain .main-video {
    object-fit: contain;
}

.slide.contain .bg-video {
    display: block;
}

/* ===== La telita ===== */
.veil {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
    transition: background 0.35s ease;
}

/* con la interfaz a la vista, la telita se oscurece un poquito mas */
body.controls-open .veil {
    background: rgba(0, 0, 0, 0.45);
}

/* ===== Esquinas ===== */
.ui {
    position: fixed;
    z-index: 40;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: opacity 0.25s ease;
}

/* con un overlay abierto las esquinas se apartan (la × de cerrar vive alli) */
body.overlay-open .ui {
    opacity: 0;
    pointer-events: none;
}

#menuBtn {
    top: 16px;
    left: 22px;
    font-size: 28px;
    --tilt: -2deg;
    transform: rotate(var(--tilt));
}

#brandBtn {
    top: 16px;
    right: 22px;
    font-size: 30px;
    --tilt: 1.6deg;
    transform: rotate(var(--tilt));
}

#menuBtn:hover,
#brandBtn:hover,
#menuBtn:focus-visible,
#brandBtn:focus-visible {
    color: var(--highlight);
    outline: none;
    animation: cornerWiggle 0.4s ease-in-out;
}

@keyframes cornerWiggle {
    0%, 100% { transform: rotate(var(--tilt)); }
    30% { transform: rotate(calc(var(--tilt) + 4deg)) scale(1.06); }
    70% { transform: rotate(calc(var(--tilt) - 3deg)) scale(1.06); }
}

.ficha {
    bottom: 18px;
    left: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    transform: rotate(-1.4deg);
    transition: transform 0.2s ease, bottom 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.25s ease 0.2s;
}

/* cuando aparece la barra de vida, la ficha sube para dejarle sitio */
body.controls-open .ficha {
    bottom: 48px;
}

.ficha:hover {
    transform: rotate(0.8deg) scale(1.04);
}

.ficha:hover .ficha-title {
    color: var(--highlight);
}

/* contador de nivel: por que video del carrusel vas */
.ficha-level-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ficha-level {
    font-size: 15px;
    background: var(--highlight);
    color: #000;
    padding: 0 8px 2px;
    transform: rotate(2deg);
    clip-path: polygon(3% 10%, 100% 0, 97% 92%, 0 100%);
    text-shadow: none;
}

/* al pasar por el contador asoman las flechitas para navegar;
   la de la izquierda no cuenta en el layout (margen negativo) para que el chip
   quede pegado a la izquierda, y al hacer hover el chip se desplaza y le hace hueco */
.level-arrow {
    width: 12px;
    height: 18px;
    background: no-repeat center / contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease, margin-left 0.18s ease;
}

.level-arrow.prev {
    background-image: url('data/icons/arrow-left.svg');
    transform: translateX(5px);
    margin-left: -18px;
}

.ficha-level-row:hover .level-arrow.prev {
    margin-left: 0;
}

.level-arrow.next {
    background-image: url('data/icons/arrow-right.svg');
    transform: translateX(-5px);
}

.ficha-level-row:hover .level-arrow {
    opacity: 1;
    transform: translateX(0);
}

.level-arrow.prev:hover {
    background-image: url('data/icons/arrow-left-hi.svg');
    transform: translateX(-2px) scale(1.15);
}

.level-arrow.next:hover {
    background-image: url('data/icons/arrow-right-hi.svg');
    transform: translateX(2px) scale(1.15);
}

/* cada linea con su propio torcimiento suave */
.ficha-title {
    font-size: 26px;
    line-height: 1.1;
    transform: rotate(-1deg);
    max-width: min(46vw, 340px);
    overflow: hidden;
    white-space: nowrap;
}

/* titulo largo: marquesina dentro de su linea */
.ficha-title .ficha-scroll {
    display: inline-block;
    animation: fichaScroll 7s linear infinite;
}

@keyframes fichaScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ficha-line {
    font-size: 19px;
    line-height: 1.1;
    color: var(--dim);
    transform: rotate(0.9deg);
}

.ficha-line + .ficha-line {
    transform: rotate(-0.7deg);
}

/* ===== Flechas de carrusel (salen y se esconden con el resto de controles) ===== */
.edge-arrow {
    top: 50%;
    width: 52px;
    height: 64px;
    background: no-repeat center / 26px auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.edge-arrow.left {
    --base: translateY(-50%) rotate(-4deg);
    left: 12px;
    background-image: url('data/icons/arrow-left.svg');
}

.edge-arrow.right {
    --base: translateY(-50%) rotate(4deg);
    right: 12px;
    background-image: url('data/icons/arrow-right.svg');
}

.edge-arrow.left:hover,
.edge-arrow.left:focus-visible {
    background-image: url('data/icons/arrow-left-hi.svg');
    outline: none;
}

.edge-arrow.right:hover,
.edge-arrow.right:focus-visible {
    background-image: url('data/icons/arrow-right-hi.svg');
    outline: none;
}

.controls:not(.faded) .edge-arrow.left:hover {
    animation: nudgeLeft 0.55s ease-in-out infinite;
}

.controls:not(.faded) .edge-arrow.right:hover {
    animation: nudgeRight 0.55s ease-in-out infinite;
}

@keyframes nudgeLeft {
    0%, 100% { transform: var(--base); }
    50% { transform: var(--base) translateX(-5px); }
}

@keyframes nudgeRight {
    0%, 100% { transform: var(--base); }
    50% { transform: var(--base) translateX(5px); }
}

/* sin carrusel no hay flechas */
body[data-mode="single"] .edge-arrow,

/* ===== Navegacion del video: elementos sueltos repartidos por la pantalla ===== */
.controls {
    position: fixed;
    inset: 0;
    z-index: 45;
    pointer-events: none;
}

.controls .ctrl {
    position: absolute;
    pointer-events: auto;
    transform: var(--base, none);
}

.controls.faded .ctrl {
    opacity: 0;
    pointer-events: none;
}

.controls.gone {
    display: none;
}

/* cada elemento entra desde un sitio aleatorio y se marcha hacia otro distinto:
   las coordenadas (--ix/--iy/--ir, --ox/--oy/--or) las sortea el JS en cada pasada */
body.booted .controls:not(.faded) .ctrl {
    animation: flyIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

body.booted .controls.faded .ctrl {
    animation: flyOut 0.38s cubic-bezier(0.5, -0.25, 0.75, 0.4) both;
}

.controls #playBtn { animation-delay: 0ms; }
.controls #seekBar { animation-delay: 70ms; }
.controls #autoBtn { animation-delay: 130ms; }
.controls #soundBtn { animation-delay: 185ms; }
.controls #arrowPrev { animation-delay: 40ms; }
.controls #arrowNext { animation-delay: 100ms; }

@keyframes flyIn {
    from {
        opacity: 0;
        transform: var(--base, none)
            translate(var(--ix, 0px), var(--iy, 0px))
            rotate(var(--ir, 0deg)) scale(0.65);
    }
}

@keyframes flyOut {
    to {
        opacity: 0;
        transform: var(--base, none)
            translate(var(--ox, 0px), var(--oy, 0px))
            rotate(var(--or, 0deg)) scale(0.65);
    }
}

/* play/pause en el centro, donde aterriza el titulo */
.play-big {
    --base: translate(-50%, -50%) rotate(-2deg);
    left: 50%;
    top: 50%;
    font-size: clamp(40px, 6vw, 58px);
    line-height: 1;
    color: #fff;
    padding: 6px 22px;
    text-shadow: 4px 4px 0 #000;
}

/* splash amarillo del menu al pasar por encima */
.play-big::before {
    content: '';
    position: absolute;
    inset: 2px -8px;
    z-index: -1;
    background: var(--highlight);
    clip-path: polygon(2% 20%, 55% 4%, 98% 0%, 100% 74%, 90% 100%, 30% 94%, 4% 100%, 0 52%);
    display: none;
}

.play-big:hover,
.play-big:focus-visible {
    color: #000;
    text-shadow: none;
    outline: none;
}

.play-big:hover::before,
.play-big:focus-visible::before {
    display: block;
}

/* mientras el titulo gigante vuela por el centro, el play se aparta */
body.title-flight .play-big {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* toggles como pegatinas torcidas en el lateral derecho */
.controls .toggle {
    font-size: 22px;
    line-height: 1;
    padding: 2px 14px 4px;
    color: var(--text-window);
    opacity: 0.45;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease;
}

#autoBtn {
    --base: rotate(-3deg);
    right: 16px;
    bottom: 118px;
}

#soundBtn {
    --base: rotate(2.5deg);
    right: 20px;
    bottom: 74px;
}

.controls .toggle.on {
    opacity: 1;
    background: var(--highlight);
    color: #000;
    text-shadow: none;
    clip-path: polygon(0 14%, 96% 0, 100% 88%, 4% 100%);
}

.controls .toggle:hover,
.controls .toggle:focus-visible {
    transform: var(--base) scale(1.12) rotate(2deg);
    outline: none;
}

/* proyecto suelto: sin carrusel */
.controls.mode-single #autoBtn {
    display: none;
}

/* barra de vida: se va llenando de amarillo (--p la pone el JS) */
#seekBar {
    --base: translateX(-50%) rotate(-0.6deg);
    left: 50%;
    bottom: 12px;
    width: min(600px, 88vw);
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    background: linear-gradient(90deg,
        var(--highlight) 0 var(--p, 0%),
        rgba(216, 219, 255, 0.18) var(--p, 0%) 100%);
    box-shadow: 0 0 0 2px rgba(4, 4, 16, 0.75);
    outline: none;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 22px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(4, 4, 16, 0.9);
}

#seekBar::-moz-range-thumb {
    width: 8px;
    height: 22px;
    border-radius: 0;
    background: #fff;
    border: none;
    box-shadow: 0 0 0 2px rgba(4, 4, 16, 0.9);
}

/* ===== Titulo gigante al cambiar de video ===== */
.big-title {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 30;
    transform: translate(-50%, -50%) rotate(-2deg);
    font-size: clamp(42px, 9vw, 96px);
    line-height: 0.95;
    text-align: center;
    max-width: 92vw;
    color: var(--highlight);
    text-shadow: 5px 5px 0 #000;
    pointer-events: none;
    animation: bigIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.big-title.hidden {
    display: none;
}

/* cada letra cae con su propia rotacion y altura (vars sorteadas en JS) */
.big-title .bt-word {
    display: inline-block;
    white-space: nowrap;
}

.big-title .bt-letter {
    display: inline-block;
    transform: rotate(var(--lr, 0deg));
    animation: letterIn 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}

@keyframes letterIn {
    from {
        opacity: 0;
        transform: translateY(var(--ly, 0px)) rotate(calc(var(--lr, 0deg) * 4)) scale(0.3);
    }
}

.big-title.to-corner {
    transition: transform 0.45s cubic-bezier(0.55, 0, 0.2, 1), opacity 0.4s ease 0.05s;
    transform: translate(-50%, -50%) scale(0.28) translate(-120%, 300%);
    opacity: 0;
}

@keyframes bigIn {
    from {
        opacity: 0;
        transform: translate(-58%, -50%) rotate(-6deg) skewX(-8deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-2deg);
    }
}

/* la ficha espera a que el titulo llegue a la esquina */
body.title-flight .ficha {
    opacity: 0;
}

/* ===== Barrido diagonal (wipe) ===== */
.wipe {
    position: fixed;
    inset: -20% -30%;
    z-index: 80;
    pointer-events: none;
    display: none;
    overflow: hidden;
}

.wipe.run {
    display: block;
}

.wipe::before,
.wipe::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-135%) skewX(-14deg);
}

.wipe::before {
    background: var(--highlight);
}

.wipe::after {
    background: #0a0a1c;
}

/* entrada: el amarillo cruza de largo y el oscuro se queda tapando la pantalla
   (el video cambia debajo). Salida: el oscuro se va y el amarillo repite pasada */
.wipe.run::before {
    animation: wipePass 0.62s cubic-bezier(0.6, 0, 0.25, 1) forwards;
}

.wipe.run::after {
    animation: wipeIn 0.6s cubic-bezier(0.5, 0, 0.2, 1) 0.12s forwards;
}

.wipe.away::before {
    animation: wipePassOut 0.55s cubic-bezier(0.6, 0, 0.25, 1) 0.06s forwards;
}

.wipe.away::after {
    animation: wipeOut 0.5s cubic-bezier(0.5, 0, 0.2, 1) forwards;
}

@keyframes wipeIn {
    from { transform: translateX(-135%) skewX(-14deg); }
    to { transform: translateX(0) skewX(-14deg); }
}

@keyframes wipeOut {
    from { transform: translateX(0) skewX(-14deg); }
    to { transform: translateX(135%) skewX(-14deg); }
}

/* misma pasada, dos nombres: cambiar de nombre es lo que la hace repetirse */
@keyframes wipePass {
    from { transform: translateX(-135%) skewX(-14deg); }
    to { transform: translateX(135%) skewX(-14deg); }
}

@keyframes wipePassOut {
    from { transform: translateX(-135%) skewX(-14deg); }
    to { transform: translateX(135%) skewX(-14deg); }
}

/* ===== Micro-glitch al cambiar de video ===== */
.stage.glitch {
    animation: glitchFlash 0.3s steps(2, end);
}

@keyframes glitchFlash {
    0% { transform: translateX(0); filter: none; }
    30% { transform: translateX(-7px); filter: hue-rotate(80deg) saturate(2.4); }
    60% { transform: translateX(5px); filter: hue-rotate(-60deg) contrast(1.6); }
    100% { transform: translateX(0); filter: none; }
}

/* aviso de que data.json no ha cargado (si no, el sitio se queda en negro) */
.fallo {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    background: #000;
    color: var(--highlight);
    font-size: 26px;
    text-align: center;
}

.fallo-pista {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--dim);
}

/* ===== Overlays ===== */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(5, 5, 18, 0.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.overlay.hidden {
    display: none;
}

/* al cerrarse: los items vuelan y el fondo se destapa */
.overlay.closing {
    pointer-events: none;
    animation: overlayOut 0.35s ease 0.15s forwards;
}

@keyframes overlayOut {
    to { opacity: 0; }
}

.overlay-close {
    position: absolute;
    top: 14px;
    right: 24px;
    z-index: 2;
    font-size: 46px;
    line-height: 1;
    padding: 2px 10px;
    color: var(--text);
    text-shadow: 3px 3px 0 #000;
    transition: transform 0.15s ease;
}

.overlay-close:hover,
.overlay-close:focus-visible {
    color: var(--highlight);
    transform: rotate(-8deg) scale(1.2);
    outline: none;
}

.menu-nav {
    overflow-y: auto;
    scrollbar-width: none;
    padding: 6px 8px 10px;
}

.menu-nav::-webkit-scrollbar {
    display: none;
}

/* menu a pantalla completa, sin ventana: los items flotan sobre el video */
.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    max-height: 100%;
    padding: 40px 24px 60px;
    transition: transform 0.12s ease-out;
}

.menu-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

/* cada grupo con su ladeo propio */
.menu-group:nth-child(even) {
    transform: rotate(0.8deg);
}

.menu-group:nth-child(odd) {
    transform: rotate(-0.8deg);
}

/* los botones del menu entran desde sitios aleatorios y se marchan hacia otros,
   igual que los controles del video (vars sorteadas en JS al abrir/cerrar) */
.menu-overlay button {
    animation: flyIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.menu-overlay.closing button {
    animation-name: flyOut;
    animation-duration: 0.32s;
    animation-timing-function: cubic-bezier(0.5, -0.25, 0.75, 0.4);
}

/* etiqueta de categoria: pegatina torcida con marquesina al pasar por encima */
.menu-cat {
    position: relative;
    overflow: hidden;
    font-size: 22px;
    letter-spacing: 0.1em;
    background: var(--highlight);
    color: #000;
    padding: 2px 18px 4px;
    transform: rotate(-2deg);
    clip-path: polygon(0 12%, 100% 0, 98% 100%, 2% 90%);
    margin-bottom: 6px;
}

.menu-cat:hover,
.menu-cat:focus {
    transform: rotate(2deg) scale(1.08);
    outline: none;
}

.menu-cat .marquee {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    white-space: nowrap;
    display: none;
}

.menu-cat:hover .marquee,
.menu-cat:focus .marquee {
    display: inline-block;
    animation: marqueeMove 3s linear infinite;
}

.menu-cat:hover .icon,
.menu-cat:hover .label,
.menu-cat:focus .icon,
.menu-cat:focus .label {
    visibility: hidden;
}

@keyframes marqueeMove {
    from { transform: translate(0, -50%); }
    to { transform: translate(-50%, -50%); }
}

/* items del menu con splash amarillo y manita.
   El hueco de 46px a los lados es el sitio de la manita: dentro del boton,
   asi no la recorta el menu (que hace scroll) ni se sale por los bordes */
.menu-item {
    position: relative;
    max-width: min(94vw, 1000px);
    font-size: 38px;
    line-height: 1.1;
    padding: 3px 46px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.85);
    transition: transform 0.1s ease-out;
}

/* iconos pixel: heredan el color del item */
.menu-nav .icon {
    display: inline-block;
    width: 0.72em;
    height: 0.72em;
    margin-right: 10px;
    vertical-align: -4%;
}

.menu-nav .icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.menu-item .label,
.menu-item .icon {
    position: relative;
    z-index: 1;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0 34px;
    background: var(--highlight);
    clip-path: polygon(2% 20%, 55% 4%, 98% 0%, 100% 74%, 90% 100%, 30% 94%, 4% 100%, 0 52%);
    transform: rotate(0.6deg);
    display: none;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    background: url('data/icons/hand-point.svg') no-repeat center / contain;
    filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.6));
    display: none;
    animation: handBob 0.55s ease-in-out infinite;
}

@keyframes handBob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* donde estas: el video que esta sonando detras lleva la manita fija y va en
   amarillo (va antes que el :hover para que pasar por encima siga mandando) */
.menu-item.is-playing {
    color: var(--highlight);
}

.menu-item.is-playing::after {
    display: block;
}

/* la seccion desde la que se llego. Home y los proyectos sueltos no se
   marcan: el video que suena ya lleva la manita y subrayar ademas sobraba */
.menu-cat.is-here {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: inset 0 0 0 3px #000;
}

.menu-item:hover,
.menu-item:focus {
    color: #000;
    text-shadow: none;
    transform: rotate(-1.5deg) scale(1.07);
    outline: none;
}

.menu-item:hover::before,
.menu-item:hover::after,
.menu-item:focus::before,
.menu-item:focus::after {
    display: block;
}

.menu-link {
    font-size: 28px;
}

/* pantallas bajas: el menu se aprieta para que quepa todo */
@media (max-height: 720px) {
    .menu-nav {
        gap: 12px;
        padding: 24px 24px 40px;
    }

    .menu-item {
        font-size: 30px;
    }

    .menu-link {
        font-size: 24px;
    }
}

/* ===== Movil ===== */
@media (max-width: 768px) {
    .play-big {
        font-size: 38px;
        padding: 10px 26px;
    }

    #seekBar {
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: 86vw;
    }

    .ficha {
        bottom: calc(18px + env(safe-area-inset-bottom));
    }

    body.controls-open .ficha {
        bottom: calc(48px + env(safe-area-inset-bottom));
    }

    /* dedos, no ratones: la pegatina crece a unos 40px de alto para que se
       pueda acertar. Con relleno y no con un area invisible, porque el
       clip-path de la version encendida recortaria cualquier pseudoelemento */
    .controls .toggle {
        padding: 8px 16px 10px;
    }

    #autoBtn {
        bottom: calc(120px + env(safe-area-inset-bottom));
        right: 6px;
    }

    #soundBtn {
        bottom: calc(68px + env(safe-area-inset-bottom));
        right: 10px;
    }

    .edge-arrow {
        width: 40px;
        height: 52px;
        background-size: 20px auto;
    }

    #menuBtn {
        font-size: 24px;
    }

    #brandBtn {
        font-size: 26px;
    }

    .ficha-title {
        font-size: 22px;
    }

    .menu-item {
        font-size: 32px;
    }
}

