/* =====================================================================
   BASE MÓVIL GLOBAL — FutsAsk BFI v1.14.5
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    overscroll-behavior: none;
    height: 100%;
    height: 100dvh;
}

body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

#app { height: 100%; height: 100dvh; }

img, video, canvas, svg { max-width: 100%; height: auto; }

button:not(.btn-sm):not(.banner-dot):not(.answer-btn):not(.rank-number),
a, select, input, textarea {
    min-height: 44px;
    touch-action: manipulation;
}

input, select, textarea { font-size: 16px !important; }

@media (hover: none) {
    .info-card:hover, .card:hover, .ranking-card:hover, .answer-btn:hover,
    .nav-item:hover, .btn-play:hover { transform: none !important; }
}

* { scrollbar-width: thin; scrollbar-color: #334155 transparent; }
*::-webkit-scrollbar { width: 4px; height: 4px; }
*::-webkit-scrollbar-thumb { background: #334155; border-radius: 2px; }
*::-webkit-scrollbar-track { background: transparent; }

.safe-bottom { padding-bottom: env(safe-area-inset-bottom); }
.safe-top    { padding-top: env(safe-area-inset-top); }

/* Scroll suave nativo iOS */
.main-content, .home-container, .news-container, .info-container,
.ranking-card-container, .teams-content {
    -webkit-overflow-scrolling: touch;
}

/* Texto no seleccionable en zonas de navegación */
.bottom-nav, .app-header { user-select: none; -webkit-user-select: none; }