body {
            margin: 0;
            background: #060913;
            color: white;
            font-family: 'Segoe UI', Arial, sans-serif;
            background-image: radial-gradient(circle at 50% 0%, #0d1b38 0%, #060913 70%);
            background-attachment: fixed;
            min-height: 100vh;
        }

        /* NAVEGACIÓN */
        header {
            background: rgba(10, 16, 30, 0.85);
            backdrop-filter: blur(10px);
            padding: 18px 40px;
            border-bottom: 1px solid rgba(0, 210, 255, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav {
            max-width: 1100px;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

        .logo {
            color: white;
            text-decoration: none;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: 1px;
            white-space: nowrap;
            cursor: pointer;
        }

        .logo span {
            color: #00d2ff;
            text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
        }

        nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* BOTONES DE PESTAÑAS / NAVEGACIÓN DE PÁGINAS */
        nav button {
            background: transparent;
            color: #8fa0be;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            padding: 8px 16px;
            border-radius: 20px;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        nav button:hover, nav button.active {
            color: #ffffff;
            background: rgba(0, 210, 255, 0.08);
            border-color: rgba(0, 210, 255, 0.35);
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
            text-shadow: none;
        }

        .language-switcher {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            min-height: 38px;
            padding: 0 11px 0 7px;
            border: 1px solid rgba(104, 205, 255, 0.24);
            border-radius: 12px;
            background: linear-gradient(145deg, rgba(18, 39, 64, .94), rgba(8, 20, 35, .96));
            color: #8deaff;
            box-shadow: inset 0 1px rgba(255,255,255,.04), 0 7px 18px rgba(0,0,0,.18);
            transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
        }

        .language-switcher:hover {
            transform: translateY(-1px);
            border-color: rgba(0, 210, 255, .5);
            box-shadow: inset 0 1px rgba(255,255,255,.05), 0 9px 22px rgba(0,0,0,.24), 0 0 16px rgba(0,210,255,.08);
        }

        .language-switcher:focus-within { border-color: #00d2ff; }

        .language-switcher-icon {
            display: grid;
            place-items: center;
            width: 24px;
            height: 24px;
            border: 1px solid rgba(0,210,255,.25);
            border-radius: 8px;
            background: rgba(0,210,255,.08);
            color: #59e4ff;
            font-size: 14px;
            font-weight: 950;
        }

        .nav-actions { display: flex; align-items: center; gap: 8px; }

        .language-options {
            display: flex;
            align-items: center;
            gap: 3px;
            padding: 3px;
            border: 1px solid rgba(104,205,255,.12);
            border-radius: 9px;
            background: rgba(3,12,23,.55);
        }

        .language-options button {
            position: relative;
            min-width: 31px;
            height: 27px;
            padding: 0 7px;
            border: 0;
            border-radius: 7px;
            background: transparent;
            color: #70859e;
            font: 900 10px/1 'Segoe UI', Arial, sans-serif;
            letter-spacing: .04em;
            cursor: pointer;
            transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
        }

        .language-options button:hover {
            color: #dff8ff;
            background: rgba(0,210,255,.08);
        }

        .language-options button.active {
            color: #ffffff;
            background: linear-gradient(145deg, #087fa2, #075c81);
            box-shadow: 0 3px 10px rgba(0,174,224,.25), inset 0 1px rgba(255,255,255,.16);
            text-shadow: 0 1px 3px rgba(0,0,0,.3);
        }

        .language-options button:active { transform: scale(.94); }

        #google_translate_element {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            opacity: 0;
            pointer-events: none;
        }

        .goog-te-banner-frame,
        .goog-te-banner-frame.skiptranslate,
        iframe.goog-te-banner-frame,
        body > .skiptranslate,
        #goog-gt-tt,
        .goog-te-balloon-frame,
        .goog-te-spinner-pos,
        .VIpgJd-ZVi9od-ORHb-OEVmcd,
        .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
        html, body { top: 0 !important; }
        .goog-text-highlight { background: transparent !important; box-shadow: none !important; }

        /* CONTENIDO */
        main {
            max-width: 1100px;
            margin: auto;
            padding: 40px 20px 60px;
        }

        /* CONTROL DE MUESTRA/OCULTACIÓN DE PÁGINAS */
        .page-content {
            display: none;
        }

        .page-content.active {
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

        .character-features-loading #charactersGrid:empty::before,
        .character-features-loading #comparatorSummary:empty::before,
        .character-features-loading #teamsDashboard:empty::before {
            content: 'Cargando datos de personajes…';
            display: block;
            grid-column: 1 / -1;
            padding: 32px;
            color: #8fa0be;
            text-align: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* HERO */
        .hero {
            background: linear-gradient(145deg, #0c1220 0%, #070c16 100%);
            border: 1px solid #1c2b42;
            border-radius: 18px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 210, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
            pointer-events: none;
        }

        .hero h1 {
            font-size: 48px;
            margin: 0 0 15px;
            letter-spacing: 1px;
            background: linear-gradient(180deg, #ffffff 0%, #a5c7eb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero h1 span {
            color: #00d2ff;
            -webkit-text-fill-color: #00d2ff;
            text-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
        }

        .hero p {
            color: #8fa0be;
            max-width: 650px;
            margin: auto;
            line-height: 1.6;
            font-size: 16px;
        }

        /* BOTONES HERO */
        .buttons {
            margin-top: 35px;
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .button {
            display: inline-block;
            background: linear-gradient(145deg, #0d1527 0%, #090e1a 100%);
            color: #8fa0be;
            text-decoration: none;
            border: 1px solid #1e2d46;
            padding: 12px 24px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            transition: all 0.25s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            cursor: pointer;
        }

        .button:hover {
            color: white;
            border-color: #00d2ff;
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
            transform: translateY(-2px);
        }

        .button.primary {
            background: linear-gradient(135deg, #0072ff 0%, #00d2ff 100%);
            color: #040814;
            border: none;
            box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
        }

        .button.primary:hover {
            box-shadow: 0 6px 25px rgba(0, 210, 255, 0.6);
            color: #000;
        }

        .home-content-switcher {
            width: min(100%, 620px);
            margin-left: auto;
            margin-right: auto;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 4px;
            padding: 4px;
            border: 1px solid rgba(0, 210, 255, 0.2);
            border-radius: 16px;
            background: rgba(5, 10, 20, 0.62);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 28px rgba(0, 0, 0, 0.22);
        }

        .home-switch-btn {
            width: 100%;
            min-height: 46px;
            padding: 0 20px;
            border: 1px solid transparent;
            border-radius: 11px;
            background: transparent;
            color: #8fa0be;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            font: inherit;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 0.35px;
            cursor: pointer;
            transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        }

        .home-switch-btn:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.045);
        }

        .home-switch-btn.active {
            color: #06101b;
            border-color: rgba(118, 230, 255, 0.7);
            background: linear-gradient(135deg, #00d2ff, #65e7ff);
            box-shadow: 0 5px 18px rgba(0, 210, 255, 0.34);
            transform: translateY(-1px);
        }

        .home-switch-icon {
            font-size: 15px;
            line-height: 1;
        }

        .home-switch-btn[data-home-panel="destacados"] .home-switch-icon {
            color: #ffd45c;
            text-shadow: 0 0 8px rgba(255, 193, 7, 0.55);
        }

        @media (max-width: 520px) {
            .home-content-switcher {
                width: 100%;
                box-sizing: border-box;
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .home-switch-btn {
                width: 100%;
                min-height: 42px;
                padding: 0 8px;
                gap: 6px;
                font-size: 10px;
            }

            .home-switch-icon { font-size: 12px; }
        }

        /* SECCIONES Y FILTROS */
        .section {
            margin-top: 55px;
        }

        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 2px solid #1c2b42;
            padding-bottom: 12px;
        }

        .section-title h2 {
            margin: 0;
            font-size: 24px;
            color: #00d2ff;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
        }

        .section-title button {
            background: transparent;
            border: none;
            color: #8fa0be;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: color 0.2s;
        }

        .section-title button:hover {
            color: #00d2ff;
        }

        .home-panel[hidden] {
            display: none !important;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .news-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin: 26px 0 4px;
        }

        .news-pagination[hidden] { display: none !important; }

        .news-page-numbers {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .news-page-btn {
            min-width: 38px;
            min-height: 38px;
            padding: 0 11px;
            border: 1px solid #294262;
            border-radius: 9px;
            background: #0d192a;
            color: #b9c8dc;
            font: inherit;
            font-size: 12px;
            font-weight: 850;
            cursor: pointer;
            transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
        }

        .news-page-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            border-color: #00d2ff;
            color: #ffffff;
        }

        .news-page-btn.active {
            border-color: #00d2ff;
            background: rgba(0, 210, 255, .18);
            color: #00d2ff;
            box-shadow: 0 0 15px rgba(0, 210, 255, .14);
        }

        .news-page-btn:disabled {
            opacity: .38;
            cursor: default;
        }

        .news-page-step { min-width: 106px; }

        .content-section-heading {
            margin-bottom: 22px;
            padding: 4px 0 18px;
            border-bottom: 1px solid rgba(0, 210, 255, 0.2);
        }

        .content-section-kicker {
            display: block;
            margin-bottom: 7px;
            color: #6f829f;
            font-size: 9px;
            font-weight: 900;
            letter-spacing: 2.1px;
        }

        .content-section-heading h2 {
            margin: 0;
            color: #00d2ff;
            font-size: clamp(25px, 4vw, 34px);
            line-height: 1.15;
            font-weight: 900;
            letter-spacing: 0.2px;
            text-shadow: 0 0 16px rgba(0, 210, 255, 0.28);
        }

        .content-section-heading p {
            margin: 8px 0 0;
            color: #8fa0be;
            font-size: 13px;
            line-height: 1.55;
        }

        .featured-section-heading {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 20px;
        }

        .featured-view-all {
            flex: 0 0 auto;
            min-height: 34px;
            padding: 0 14px;
            border: 1px solid rgba(0, 210, 255, 0.32);
            border-radius: 9px;
            background: rgba(0, 210, 255, 0.08);
            color: #9edff0;
            font: inherit;
            font-size: 11px;
            font-weight: 850;
            cursor: pointer;
            transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }

        .featured-view-all:hover {
            color: #ffffff;
            border-color: #00d2ff;
            background: rgba(0, 210, 255, 0.16);
        }

        @media (max-width: 600px) {
            .featured-section-heading {
                align-items: flex-start;
                flex-direction: column;
            }
        }

        .news-channel-tabs {
            display: inline-flex;
            gap: 4px;
            margin-bottom: 20px;
            padding: 4px;
            border: 1px solid #1c2b42;
            border-radius: 11px;
            background: rgba(7, 12, 22, 0.78);
        }

        .news-channel-tab {
            min-height: 35px;
            padding: 0 14px;
            border: 1px solid transparent;
            border-radius: 8px;
            background: transparent;
            color: #8496b1;
            font: inherit;
            font-size: 11px;
            font-weight: 850;
            letter-spacing: 0.35px;
            cursor: pointer;
            transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }

        .news-channel-tab:hover { color: #ffffff; }

        .news-channel-tab.active {
            border-color: rgba(0, 210, 255, 0.55);
            background: rgba(0, 210, 255, 0.14);
            color: #00d2ff;
        }

        .news-channel-panel[hidden] { display: none !important; }

        .developer-notes-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .developer-note-card {
            overflow: hidden;
            padding: 0;
            border: 1px solid #1c2b42;
            border-radius: 14px;
            background: linear-gradient(145deg, #0c1220, #070c16);
            color: #ffffff;
            text-align: left;
            font: inherit;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
        }

        .developer-note-card:hover {
            transform: translateY(-3px);
            border-color: rgba(0, 210, 255, 0.65);
            box-shadow: 0 11px 28px rgba(0, 210, 255, 0.16);
        }

        .developer-note-cover {
            position: relative;
            min-height: 178px;
            overflow: hidden;
            padding: 24px;
            background:
                linear-gradient(rgba(0, 210, 255, 0.055) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 210, 255, 0.055) 1px, transparent 1px),
                linear-gradient(135deg, #07304a 0%, #0a1c32 58%, #132b50 100%);
            background-size: 24px 24px, 24px 24px, auto;
            display: flex;
            align-items: center;
            gap: 20px;
            box-sizing: border-box;
        }

        .developer-note-cover::after {
            content: '';
            position: absolute;
            right: -55px;
            bottom: -90px;
            width: 210px;
            height: 210px;
            border: 28px solid rgba(0, 210, 255, 0.075);
            border-radius: 50%;
        }

        .developer-note-cover-glow {
            position: absolute;
            top: -70px;
            left: -40px;
            width: 210px;
            height: 210px;
            border-radius: 50%;
            background: rgba(0, 210, 255, 0.14);
            filter: blur(42px);
        }

        .developer-note-cover-icon {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            border: 1px solid rgba(0, 210, 255, 0.48);
            border-radius: 13px;
            background: linear-gradient(145deg, rgba(0, 210, 255, 0.22), rgba(0, 210, 255, 0.06));
            color: #00d2ff;
            display: grid;
            place-items: center;
            font-size: 28px;
            font-weight: 900;
            text-shadow: 0 0 14px rgba(0, 210, 255, 0.45);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 22px rgba(0, 210, 255, 0.13);
            z-index: 1;
        }

        .developer-note-cover-copy {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .developer-note-cover strong {
            display: block;
            color: #ffffff;
            font-size: 22px;
            line-height: 1.1;
            letter-spacing: 0.1px;
            text-shadow: 0 3px 16px rgba(0, 0, 0, 0.4);
        }

        .developer-note-cover-kicker {
            margin-bottom: 7px;
            color: #76e8ff;
            font-size: 8px;
            font-weight: 900;
            letter-spacing: 1.65px;
        }

        .developer-note-cover-chip {
            margin-top: 13px;
            padding: 5px 9px;
            border: 1px solid rgba(255, 212, 92, 0.42);
            border-radius: 999px;
            background: rgba(255, 212, 92, 0.1);
            color: #ffe27d;
            font-size: 9px;
            font-weight: 900;
            letter-spacing: 0.65px;
        }

        .developer-note-card-body {
            display: block;
            padding: 17px 18px 19px;
        }

        .developer-note-card-title {
            display: block;
            margin-bottom: 13px;
            color: #00d2ff;
            font-size: 17px;
            line-height: 1.45;
            font-weight: 850;
        }

        .developer-note-card-date {
            color: #8fa0be;
            font-size: 12px;
            font-weight: 700;
        }

        .developer-note-list {
            margin: 12px 0 22px;
            padding-left: 20px;
            color: #d6e0ee;
        }

        .developer-note-list li { margin: 8px 0; }

        .developer-warning {
            margin: 18px 0;
            padding: 15px 17px;
            border-left: 3px solid #ffd45c;
            border-radius: 0 10px 10px 0;
            background: rgba(255, 212, 92, 0.08);
            color: #e8dfc2;
        }

        @media (max-width: 520px) {
            .news-channel-tabs {
                width: 100%;
                display: grid;
                grid-template-columns: 1fr;
                box-sizing: border-box;
            }

            .developer-notes-grid { grid-template-columns: 1fr; }
        }

        .news-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 0;
            overflow: hidden;
            border: 1px solid #1c2b42;
            border-radius: 15px;
            background: linear-gradient(145deg, #0c1220, #080d18);
            color: #ffffff;
            text-align: left;
            font: inherit;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
            transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
        }

        .news-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 210, 255, 0.7);
            box-shadow: 0 12px 30px rgba(0, 210, 255, 0.2);
        }

        .news-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #0b1422;
        }

        .news-card-media {
            position: relative;
            display: block;
            width: 100%;
            aspect-ratio: 2 / 1;
            overflow: hidden;
            flex: 0 0 auto;
        }

        .news-status {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 25px;
            padding: 0 11px;
            border-radius: 999px;
            color: #ffffff;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0.75px;
            text-transform: uppercase;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
        }

        .news-card-labels {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }

        .news-card-labels .news-category {
            margin-bottom: 0;
        }

        .news-status.active {
            background: #18a866;
            border: 1px solid #48db91;
        }

        .news-status.finished {
            background: #a43546;
            border: 1px solid #e06978;
        }

        .news-status.upcoming {
            color: #231500;
            background: #ffd45c;
            border: 1px solid #ffe99a;
        }

        .news-detail-status {
            margin-left: 8px;
            vertical-align: middle;
        }

        .news-card-body {
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 17px 18px 18px;
        }

        .news-category {
            display: inline-flex;
            align-items: center;
            min-height: 25px;
            margin-bottom: 12px;
            padding: 0 11px;
            border-radius: 999px;
            color: #04111c;
            background: #00d2ff;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0.8px;
            text-transform: uppercase;
        }

        .news-category.gacha { background: #a884ff; }
        .news-category.update { background: #ffd45c; }

        .news-card-title {
            display: block;
            min-height: 52px;
            margin: 0 0 14px;
            color: #00d2ff;
            font-size: 17px;
            line-height: 1.48;
            font-weight: 850;
        }

        .news-card-date {
            display: block;
            margin-top: auto;
            color: #aebbd0;
            font-size: 12px;
            font-weight: 700;
        }

        .news-detail[hidden],
        .news-grid[hidden] {
            display: none !important;
        }

        .news-detail {
            overflow: hidden;
            border: 1px solid #1c2b42;
            border-radius: 16px;
            background: linear-gradient(145deg, #0c1220, #070c16);
            box-shadow: 0 10px 32px rgba(0, 0, 0, 0.36);
        }

        .news-detail-back {
            margin: 18px 18px 0;
            padding: 9px 14px;
            border: 1px solid #294262;
            border-radius: 10px;
            background: #111e31;
            color: #dce8ff;
            font: inherit;
            font-size: 12px;
            font-weight: 800;
            cursor: pointer;
        }

        .news-detail-back:hover {
            border-color: #00d2ff;
            color: #ffffff;
        }

        .news-detail-image {
            width: calc(100% - 36px);
            max-height: 420px;
            margin: 18px;
            border-radius: 13px;
            object-fit: cover;
            display: block;
        }

        .news-detail-body {
            padding: 2px 28px 30px;
        }

        .news-detail-body h2 {
            margin: 3px 0 10px;
            color: #00d2ff;
            font-size: clamp(22px, 3vw, 32px);
            line-height: 1.25;
        }

        .news-detail-date {
            margin: 0 0 22px;
            color: #91a3bd;
            font-size: 13px;
        }

        .news-detail-copy {
            color: #d6e0ee;
            line-height: 1.75;
        }

        .news-detail-period {
            margin: 22px 0;
            padding: 15px 17px;
            border-left: 3px solid #00d2ff;
            border-radius: 0 10px 10px 0;
            background: rgba(0, 210, 255, 0.08);
        }

        .news-article-section {
            margin-top: 28px;
        }

        .news-article-section h3 {
            margin: 0 0 14px;
            color: #ffffff;
            font-size: 20px;
        }

        .news-article-section p {
            margin: 12px 0;
        }

        .news-article-image {
            width: 100%;
            margin: 5px 0 16px;
            border: 1px solid #243a59;
            border-radius: 12px;
            display: block;
        }

        .news-article-image.portrait {
            width: min(100%, 520px);
            max-height: 720px;
            margin-left: auto;
            margin-right: auto;
            object-fit: contain;
        }

        .news-article-image.plush {
            width: min(100%, 280px);
            margin-left: auto;
            margin-right: auto;
            padding: 0;
            border: 0;
            background: transparent;
            box-sizing: border-box;
            object-fit: contain;
        }

        @media (max-width: 900px) {
            .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }

        @media (max-width: 600px) {
            .news-grid { grid-template-columns: 1fr; }
            .news-pagination { gap: 7px; }
            .news-page-step { min-width: 92px; padding: 0 8px; }
            .news-card-title { min-height: 0; }
            .news-detail-body { padding: 2px 18px 24px; }
        }

        /* BOTONES DE FILTRADO EN PERSONAJES */
        .filters-wrapper {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: stretch;
            gap: 22px;
            margin-bottom: 25px;
            background: rgba(12, 18, 32, 0.6);
            padding: 16px;
            border-radius: 14px;
            border: 1px solid #1c2b42;
        }

        .filters-main {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 12px;
            min-width: 0;
        }

        .characters-filter-count {
            min-width: 150px;
            padding: 12px 18px;
            border-left: 1px solid rgba(0, 210, 255, 0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .characters-filter-count-number {
            color: #00d2ff;
            font-size: 34px;
            line-height: 1;
            font-weight: 900;
            text-shadow: 0 0 14px rgba(0, 210, 255, 0.42);
        }

        .characters-filter-count-label {
            color: #8fa0be;
            font-size: 10px;
            line-height: 1.35;
            font-weight: 800;
            letter-spacing: 0.9px;
            text-transform: uppercase;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-label {
            font-size: 12px;
            font-weight: 800;
            color: #00d2ff;
            min-width: 90px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .filter-btn {
            background: linear-gradient(145deg, #0c1220 0%, #070c16 100%);
            border: 1px solid #1c2b42;
            color: #8fa0be;
            padding: 8px 16px;
            border-radius: 18px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .filter-btn:hover {
            color: #ffffff;
            border-color: rgba(0, 210, 255, 0.4);
        }

        .filter-btn.active {
            color: #ffffff;
            background: rgba(0, 210, 255, 0.15);
            border-color: #00d2ff;
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
        }

        .team-filter-group {
            padding-top: 2px;
        }

        .team-filter-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
            min-width: 240px;
            max-width: 100%;
        }

        .team-filter {
            width: 100%;
            min-width: 240px;
            height: 36px;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background: linear-gradient(145deg, #0c1220 0%, #070c16 100%);
            border: 1px solid #1c2b42;
            color: #8fa0be;
            padding: 0 42px 0 16px;
            border-radius: 18px;
            font-size: 12px;
            font-weight: 700;
            font-family: inherit;
            line-height: 34px;
            outline: none;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .team-filter:hover {
            color: #ffffff;
            border-color: rgba(0, 210, 255, 0.4);
        }

        .team-filter:focus {
            color: #ffffff;
            border-color: #00d2ff;
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
        }

        .team-filter option {
            background: #0c1220;
            color: #dbe7f7;
            font-weight: 700;
        }

        .team-filter-arrow {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-55%);
            color: #00d2ff;
            font-size: 18px;
            font-weight: 900;
            line-height: 1;
            pointer-events: none;
            transition: color 0.25s ease;
        }

        .team-filter-wrap:hover .team-filter-arrow {
            color: #ffffff;
        }

        @media (max-width: 640px) {
            .filters-wrapper {
                grid-template-columns: 1fr;
            }

            .characters-filter-count {
                min-width: 0;
                border-left: 0;
                border-top: 1px solid rgba(0, 210, 255, 0.22);
            }

            .team-filter-wrap,
            .team-filter {
                width: 100%;
                min-width: 0;
            }

            .team-filter-group {
                align-items: stretch;
            }
        }

        /* PERSONAJES DESTACADOS */
        .featured {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            align-items: start;
        }

        .featured-card {
            background: linear-gradient(145deg, #0c1220 0%, #070c16 100%);
            border: 1px solid #1c2b42;
            border-radius: 14px;
            overflow: hidden;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
        }

        .featured-card.hidden {
            display: none !important;
        }

        .featured-card:hover {
            transform: translateY(-5px);
            border-color: #00d2ff;
            box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
        }

        .featured-image {
            height: 220px;
            background: linear-gradient(135deg, #0e172a 0%, #090f1d 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #1c2b42;
            overflow: hidden;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .featured-card:hover .featured-image img {
            transform: scale(1.05);
        }

        .featured-info {
            padding: 16px;
        }

        .featured-name {
            font-size: 18px;
            font-weight: 800;
            letter-spacing: 0.3px;
        }

        .featured-type {
            color: #00d2ff;
            font-size: 11px;
            font-weight: 700;
            margin-top: 6px;
            letter-spacing: 1px;
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
        }

        .featured-type span {
            padding: 3px 8px;
            border-radius: 12px;
            background: rgba(0, 210, 255, 0.1);
            border: 1px solid rgba(0, 210, 255, 0.3);
        }

        .featured-type span.montana {
            color: #ffaa00 !important;
            background: rgba(255, 170, 0, 0.15) !important;
            border-color: rgba(255, 170, 0, 0.45) !important;
        }

        .featured-type span.fuego {
            color: #ff4d4d;
            background: rgba(255, 77, 77, 0.1);
            border-color: rgba(255, 77, 77, 0.3);
        }

        .featured-type span.aire {
            color: #00d2ff;
            background: rgba(0, 210, 255, 0.1);
            border-color: rgba(0, 210, 255, 0.4);
        }

        .featured-type span.bosque {
            color: #86c98b;
            background: rgba(34, 85, 45, 0.25);
            border-color: rgba(76, 175, 80, 0.45);
        }

        .featured-type span.fw {
            color: #ff4d4d;
            background: rgba(255, 77, 77, 0.1);
            border-color: rgba(255, 77, 77, 0.3);
        }

        .featured-type span.mf {
            color: #00d2ff;
            background: rgba(0, 210, 255, 0.1);
            border-color: rgba(0, 210, 255, 0.4);
        }

        .featured-type span.gk {
            color: #ffaa00;
            background: rgba(255, 170, 0, 0.1);
            border-color: rgba(255, 170, 0, 0.3);
        }

        .featured-type span.df {
            color: #86c98b;
            background: rgba(34, 85, 45, 0.25);
            border-color: rgba(76, 175, 80, 0.45);
        }

        /* GACHA */
        .gacha-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 22px;
            margin: 4px 0 28px;
            padding: 14px;
            border: 1px solid #1c2b42;
            border-radius: 16px;
            background: linear-gradient(145deg, rgba(12, 18, 32, 0.94), rgba(7, 12, 22, 0.94));
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035);
        }

        .gacha-counts {
            display: flex;
            gap: 10px;
        }

        .gacha-count {
            min-width: 128px;
            padding: 10px 13px;
            border: 1px solid rgba(255, 255, 255, 0.07);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.025);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
        }

        .gacha-count-label {
            color: #91a3bd;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.35px;
            text-transform: uppercase;
        }

        .gacha-count strong {
            min-width: 32px;
            height: 32px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #00d2ff;
            background: rgba(0, 210, 255, 0.11);
            font-size: 17px;
            line-height: 1;
            box-shadow: inset 0 0 0 1px rgba(0, 210, 255, 0.2);
        }

        .gacha-count-active strong {
            color: #55e69a;
            background: rgba(24, 168, 102, 0.12);
            box-shadow: inset 0 0 0 1px rgba(72, 219, 145, 0.24);
        }

        .gacha-count-ended strong {
            color: #ff7d91;
            background: rgba(224, 105, 120, 0.1);
            box-shadow: inset 0 0 0 1px rgba(224, 105, 120, 0.2);
        }

        .gacha-subtitle {
            font-size: 15px;
            font-weight: 800;
            color: #d1dbe8;
            margin: 30px 0 15px 0;
            letter-spacing: 0.3px;
        }

        .gacha-tabs {
            display: flex;
            gap: 6px;
            margin: 0;
            padding: 5px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 13px;
            background: rgba(2, 7, 15, 0.64);
        }

        .gacha-tab-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-width: 122px;
            min-height: 42px;
            background: transparent;
            border: 1px solid transparent;
            color: #8fa0be;
            padding: 9px 18px;
            border-radius: 9px;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: none;
        }

        .gacha-tab-btn:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.045);
        }

        .gacha-tab-btn.active {
            color: #04140d;
            background: linear-gradient(135deg, #24bd75, #65e6a4);
            border-color: rgba(105, 236, 169, 0.76);
            box-shadow: 0 5px 16px rgba(36, 189, 117, 0.26);
        }

        .gacha-tab-btn[data-tab="finalizados"].active {
            color: #ffffff;
            background: linear-gradient(135deg, #b13d52, #e06978);
            border-color: rgba(255, 142, 157, 0.72);
            box-shadow: 0 5px 16px rgba(224, 105, 120, 0.24);
        }

        .gacha-tab-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
            box-shadow: 0 0 7px currentColor;
        }

        @media (max-width: 720px) {
            .gacha-controls {
                align-items: stretch;
                flex-direction: column;
            }

            .gacha-counts,
            .gacha-tabs {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .gacha-count,
            .gacha-tab-btn {
                min-width: 0;
            }
        }

        .gacha-panel {
            display: none;
        }

        .gacha-panel.active {
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

        .gacha-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: 20px;
        }

        .gacha-empty {
            color: #8fa0be;
            font-size: 13px;
            padding: 10px 2px;
        }

        .gacha-card {
            background: linear-gradient(145deg, #0c1220 0%, #070c16 100%);
            border: 1px solid #1c2b42;
            border-radius: 14px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .gacha-card:hover {
            transform: translateY(-5px);
            border-color: #00d2ff;
            box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
        }

        .gacha-card.ended {
            opacity: 0.55;
        }

        .gacha-card.ended:hover {
            transform: none;
            border-color: #1c2b42;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .gacha-banner {
            aspect-ratio: 8 / 3;
            background: linear-gradient(135deg, #0e172a 0%, #090f1d 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #1c2b42;
            overflow: hidden;
        }

        .gacha-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gacha-info {
            padding: 14px 16px 16px;
        }

        .gacha-name {
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 0.2px;
            margin-bottom: 8px;
        }

        .gacha-status-badge {
            display: inline-block;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            padding: 3px 10px;
            border-radius: 12px;
            margin-bottom: 10px;
        }

        .gacha-status-badge.active {
            color: #2ecc71;
            background: rgba(0, 210, 255, 0.1);
            border: 1px solid rgba(0, 210, 255, 0.4);
        }

        .gacha-status-badge.upcoming {
            color: #be8cff;
            background: rgba(190, 140, 255, 0.1);
            border: 1px solid rgba(190, 140, 255, 0.4);
        }

        .gacha-status-badge.ended {
            color: #8fa0be;
            background: rgba(143, 160, 190, 0.1);
            border: 1px solid rgba(143, 160, 190, 0.3);
        }

        .gacha-status-badge.permanent {
            color: #2ecc71;
            background: rgba(46, 204, 113, 0.1);
            border: 1px solid rgba(46, 204, 113, 0.4);
        }

        .gacha-countdown {
            font-family: 'Segoe UI', monospace;
            font-size: 20px;
            font-weight: 800;
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

        .gacha-countdown.permanent-label {
            color: #2ecc71;
            text-shadow: 0 0 10px rgba(46, 204, 113, 0.35);
        }

        .gacha-dates {
            display: flex;
            flex-direction: column;
            gap: 3px;
            font-size: 11px;
            color: #8fa0be;
            border-top: 1px solid #1c2b42;
            padding-top: 8px;
        }

        /* RESPONSIVE */
        @media (max-width: 700px) {
            header {
                padding: 15px 20px;
            }

            .nav {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .hero {
                padding: 40px 20px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .featured {
                grid-template-columns: 1fr;
            }

            .filter-group {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        .featured-type span.team-badge {
            color: #d6c6ff;
            background: rgba(143, 105, 255, 0.12);
            border-color: rgba(143, 105, 255, 0.35);
            letter-spacing: 0.4px;
        }


/* Ficha del gacha de Riccardo */
.gacha-card.clickable{cursor:pointer}.gacha-card.clickable:hover{transform:translateY(-3px);border-color:#527dff}
.gacha-detail{margin-top:22px}.gacha-back{background:#14233a;color:#dce8ff;border:1px solid #2b4368;border-radius:10px;padding:10px 14px;cursor:pointer;margin-bottom:16px}
.gacha-detail-hero{border-radius:16px;overflow:hidden;border:1px solid #253b5d;background:#0b1422}.gacha-detail-hero img{display:block;width:100%;max-height:360px;object-fit:cover}
.gacha-detail h2{margin:18px 0 6px}.gacha-detail-sub{color:#9eb0cb;margin:0 0 18px}.gacha-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 28px}
.gacha-summary>div{background:#101d30;border:1px solid #213756;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px}.gacha-summary b{color:#fff}.gacha-summary span{color:#aebdd3;font-size:13px}
.gacha-detail h3{margin:26px 0 12px}.gacha-pool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.gacha-pool-card{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;background:#101d30;border:1px solid #213756;border-radius:12px;padding:9px;transition:.18s ease}.gacha-pool-card:hover{transform:translateY(-2px);border-color:#527dff;background:#142641}
.gacha-pool-card img{width:58px;height:58px;object-fit:cover;border-radius:9px;background:#0b1422}.gacha-pool-info{min-width:0;display:flex;flex-direction:column;gap:4px}.gacha-pool-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gacha-pool-info span{font-size:12px;color:#ffd76b}
@media(max-width:700px){.gacha-summary{grid-template-columns:1fr 1fr}.gacha-pool-grid{grid-template-columns:1fr 1fr}.gacha-pool-card{align-items:flex-start}.gacha-pool-card img{width:48px;height:48px}}

/* Fechas y contador dentro de la ficha de cada gacha */
.gacha-detail-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:16px;align-items:stretch}
.gacha-detail-top .gacha-detail-hero{height:100%}
.gacha-detail-top .gacha-detail-hero img{height:100%;min-height:220px}
.gacha-detail-schedule{display:flex;flex-direction:column;justify-content:center;gap:12px;background:#101d30;border:1px solid #253b5d;border-radius:16px;padding:18px}
.gacha-detail-schedule>div{display:flex;flex-direction:column;gap:5px;padding:11px 0;border-bottom:1px solid #213756}
.gacha-detail-schedule>div:last-child{border-bottom:0}
.gacha-detail-schedule b{font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:#8fa0be}
.gacha-detail-schedule span{font-size:16px;font-weight:700;color:#fff}
#gacha-detail-countdown{font-variant-numeric:tabular-nums;color:#ffd76b;font-size:22px}
@media(max-width:700px){.gacha-detail-top{grid-template-columns:1fr}.gacha-detail-top .gacha-detail-hero img{min-height:0}.gacha-detail-schedule{padding:14px}}





/* Banners de noticias completos y centrados en todas las tarjetas. */
.news-card-media {
    aspect-ratio: 8 / 3;
    background: #0b1422;
}
.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.news-detail-image {
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: #0b1422;
}

/* Pie legal / copyright */
.site-footer{margin-top:44px;border-top:1px solid rgba(255,255,255,.10);background:#08111f;padding:28px 20px 32px;text-align:center}
.site-footer-inner{max-width:900px;margin:0 auto}
.site-footer-brand{font-weight:800;letter-spacing:.8px;margin-bottom:10px;color:#fff}
.site-footer-brand span{color:#ffd24a}
.site-footer p{margin:6px auto;color:#aebbd0;font-size:13px;line-height:1.55}
.site-footer-disclaimer{max-width:760px;color:#7f8da5!important;font-size:12px!important}


/* Botón oficial de X / Twitter en el pie */
.site-footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:4px 0 10px}
.site-footer-social{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.06);color:#fff;text-decoration:none;font-size:13px;font-weight:700;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.site-footer-twitter:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.28);transform:translateY(-1px)}
.site-footer-twitter-icon{font-size:15px;line-height:1}
.site-footer-coffee{border-color:rgba(255,221,0,.42);background:linear-gradient(135deg,rgba(255,221,0,.16),rgba(255,185,0,.09));color:#fff5ba}
.site-footer-coffee:hover{border-color:rgba(255,221,0,.8);background:linear-gradient(135deg,rgba(255,221,0,.25),rgba(255,185,0,.16));box-shadow:0 6px 20px rgba(255,210,0,.12);color:#fff;transform:translateY(-1px)}
.site-footer-coffee-icon{font-size:16px;line-height:1}


/* =========================================================
   PULIDO VISUAL 2026 · navegación, consistencia y responsive
   No altera contenido ni lógica de la wiki.
   ========================================================= */
:root{
    --ui-bg:#08101d;
    --ui-panel:#0c1423;
    --ui-panel-2:#101b2e;
    --ui-line:rgba(143,176,221,.16);
    --ui-line-strong:rgba(0,210,255,.34);
    --ui-text:#f5f8ff;
    --ui-muted:#91a3bd;
    --ui-cyan:#00d2ff;
    --ui-radius:16px;
    --ui-shadow:0 12px 34px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{line-height:1.5}
button,a,input,select{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
    outline:2px solid var(--ui-cyan);
    outline-offset:3px;
}

/* Cabecera más compacta y estable */
header{
    padding:14px 28px;
    background:rgba(7,13,25,.90);
    border-bottom-color:rgba(0,210,255,.16);
    box-shadow:0 8px 28px rgba(0,0,0,.30);
}
.nav{max-width:1180px;gap:22px;min-height:42px}
.logo{font-size:21px;transition:opacity .18s ease,transform .18s ease}
.logo:hover{opacity:.94;transform:translateY(-1px)}
nav{gap:5px}
nav button{
    min-height:38px;
    padding:0 14px;
    border-radius:11px;
    font-size:12.5px;
    white-space:nowrap;
}
nav button:hover{transform:translateY(-1px)}
nav button.active{
    color:#fff;
    background:linear-gradient(180deg,rgba(0,210,255,.14),rgba(0,210,255,.07));
    border-color:rgba(0,210,255,.40);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 5px 18px rgba(0,210,255,.10);
}

/* Ritmo general de página */
main{max-width:1180px;padding:34px 22px 72px}
.section{margin-top:48px}
.content-section-heading,.section-title{margin-bottom:20px}
.content-section-heading{padding-bottom:16px}
.content-section-heading p{max-width:760px}

/* Hero: menos espacio vacío y mejor jerarquía */
.hero{
    padding:52px 34px;
    border-radius:20px;
    border-color:rgba(107,151,207,.20);
    box-shadow:0 16px 45px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.025);
}
.hero h1{font-size:clamp(34px,5vw,48px);line-height:1.08}
.hero p{font-size:15px;max-width:620px}
.buttons{margin-top:28px}

/* Botones coherentes */
.button,.featured-view-all,.news-detail-back,.gacha-back{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease;
}
.button{padding:9px 18px}
.button:hover,.featured-view-all:hover,.news-detail-back:hover,.gacha-back:hover{transform:translateY(-1px)}
.button:active,.featured-view-all:active,.news-detail-back:active,.gacha-back:active,nav button:active{transform:translateY(0)}

/* Tarjetas con el mismo lenguaje visual */
.news-card,.developer-note-card,.featured-card,.gacha-card,.news-detail,.gacha-detail-hero,.gacha-detail-schedule{
    border-color:var(--ui-line);
    box-shadow:var(--ui-shadow);
}
.news-card,.developer-note-card,.featured-card,.gacha-card{
    border-radius:16px;
    transition:transform .20s ease,border-color .20s ease,box-shadow .20s ease,background .20s ease;
}
.news-card:hover,.developer-note-card:hover,.featured-card:hover,.gacha-card.clickable:hover{
    transform:translateY(-3px);
    border-color:rgba(0,210,255,.48);
    box-shadow:0 14px 34px rgba(0,0,0,.34),0 0 20px rgba(0,210,255,.07);
}
.news-card-media,.gacha-banner{background:#091322}
.news-card-image,.gacha-banner img{transition:transform .28s ease,filter .28s ease}
.news-card:hover .news-card-image{transform:none}
.gacha-card.clickable:hover .gacha-banner img{transform:scale(1.018)}
.news-card-body{padding:16px 17px 17px}
.news-card-title{font-size:16px;line-height:1.42}

/* Destacados */
.featured{gap:18px}
.featured-card{overflow:hidden;background:linear-gradient(145deg,#0c1423,#080e19)}
.featured-image{background:#091322}
.featured-info{padding:15px 16px 17px}

/* Filtros: una sola superficie clara */
.filters-wrapper{
    padding:15px;
    gap:16px;
    margin-bottom:22px;
    border-radius:16px;
    border-color:var(--ui-line);
    background:rgba(10,17,30,.72);
    box-shadow:0 9px 25px rgba(0,0,0,.18);
}
.filter-btn{
    min-height:35px;
    border-radius:10px;
    transition:all .17s ease;
}
.filter-btn:hover{transform:translateY(-1px)}
.filter-btn.active{box-shadow:0 4px 14px rgba(0,210,255,.12)}
.characters-filter-count{border-left-color:var(--ui-line)}

/* Gacha */
.gacha-live-countdown{display:inline-block;min-width:80px;font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1;white-space:nowrap}
.gacha-controls{
    border-radius:16px;
    border-color:var(--ui-line);
    box-shadow:0 9px 25px rgba(0,0,0,.17);
}
.gacha-grid{gap:18px}
.gacha-info{padding:15px 16px 17px}
.gacha-detail{margin-top:18px}
.gacha-summary>div,.gacha-pool-card{
    border-color:var(--ui-line);
    background:rgba(16,29,48,.82);
}

/* Artículos/noticias */
.news-detail{border-radius:18px}
.news-detail-image{margin-top:16px}
.news-detail-copy{font-size:15px;line-height:1.78}
.news-article-section{margin-top:25px}
.news-article-section h3{line-height:1.35}

/* Footer */
.site-footer{
    margin-top:36px;
    padding:30px 20px 34px;
    background:linear-gradient(180deg,#07101d,#060c16);
    border-top-color:rgba(255,255,255,.08);
}
.site-footer-twitter{min-height:38px;padding:8px 14px}

/* Tablets */
@media(max-width:900px){
    header{padding:12px 18px}
    .nav{gap:14px}
    nav button{padding:0 11px;font-size:12px}
    main{padding-top:28px}
    .hero{padding:44px 28px}
}

/* Móvil: cabecera compacta + navegación horizontal deslizable */
@media(max-width:700px){
    html{scroll-padding-top:122px}
    header{padding:11px 14px 9px}
    .nav{
        max-width:none;
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }
    .logo{font-size:19px;padding:0 2px}
    nav{
        width:calc(100% + 8px);
        margin:0 -4px;
        padding:2px 4px 5px;
        overflow-x:auto;
        overflow-y:hidden;
        flex-wrap:nowrap;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        mask-image:linear-gradient(to right,transparent 0,#000 8px,#000 calc(100% - 8px),transparent 100%);
    }
    nav::-webkit-scrollbar{display:none}
    nav button{
        flex:0 0 auto;
        min-height:35px;
        padding:0 12px;
        border-radius:10px;
    }
    main{padding:22px 14px 54px}
    .hero{padding:36px 18px;border-radius:17px}
    .hero h1{font-size:31px;margin-bottom:12px}
    .hero p{font-size:14px}
    .section{margin-top:38px}
    .content-section-heading{margin-bottom:16px;padding-bottom:14px}
    .content-section-heading h2{font-size:26px}
    .featured-section-heading{gap:12px}
    .featured-view-all{min-height:38px}
    .filters-wrapper{padding:12px;border-radius:14px}
    .characters-filter-count{min-width:0;border-left:0;border-top:1px solid var(--ui-line);padding:12px 6px 3px}
    .news-channel-tabs{margin-bottom:16px}
    .news-card,.featured-card,.gacha-card{border-radius:14px}
    .news-detail-image{width:calc(100% - 24px);margin:12px}
    .news-detail-body{padding:4px 16px 22px}
    .gacha-grid{grid-template-columns:1fr;gap:14px}
    .gacha-summary{gap:8px}
    .gacha-summary>div{padding:11px}
    .gacha-pool-grid{grid-template-columns:1fr}
}

@media(max-width:430px){
    .hero{padding:31px 15px}
    .hero h1{font-size:28px}
    .home-content-switcher{margin-top:23px}
    .home-switch-btn{min-height:42px}
    .news-card-body{padding:14px}
    .section-title{align-items:flex-start;gap:10px}
    .section-title h2{font-size:21px}
    .gacha-counts,.gacha-tabs{grid-template-columns:1fr 1fr}
    .site-footer{padding-left:15px;padding-right:15px}
}

/* Respeta usuarios con animaciones reducidas */
@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}


/* =========================================================
   PERSONAJES · BUSCADOR Y FILTROS V2
   ========================================================= */
.characters-toolbar{
    display:grid;
    grid-template-columns:minmax(280px,1fr) auto;
    gap:12px;
    align-items:center;
    margin:18px 0 14px;
}
.character-search-wrap{
    position:relative;
    width:100%;
    margin:0!important;
}
.character-search-wrap #characterSearch{
    width:100%;
    min-height:46px;
    padding:0 46px 0 42px;
    border-radius:14px;
}
.character-search-wrap #passiveSearch{
    width:100%;
    min-height:46px;
    box-sizing:border-box;
    padding:0 18px 0 42px;
    border:1px solid rgba(147,113,255,.28);
    border-radius:14px;
    background:linear-gradient(135deg,rgba(20,19,46,.9),rgba(8,15,31,.82));
    color:#fff;
    font:inherit;
    outline:none;
    transition:border-color .2s ease,box-shadow .2s ease;
}
.character-search-wrap #passiveSearch:focus{border-color:#a88df8;box-shadow:0 0 0 3px rgba(168,141,248,.12)}
.passive-search-wrap .character-search-icon{color:#a88df8;opacity:.9}
.character-search-wrap #passiveSearch::placeholder{color:#a8a1c4}
.character-search-icon{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    opacity:.55;
    pointer-events:none;
    font-size:1.05rem;
}
.character-search-clear{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    border:0;
    border-radius:9px;
    background:rgba(255,255,255,.07);
    color:#fff;
    font-size:1.1rem;
    cursor:pointer;
}
.characters-toolbar-actions{
    display:flex;
    gap:8px;
    align-items:center;
}
.character-sort,
.character-select-filter select{
    min-height:42px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:12px;
    background:rgba(8,15,31,.72);
    color:#fff;
    padding:0 36px 0 12px;
    font:inherit;
    font-size:.82rem;
    cursor:pointer;
}
.characters-reset-btn{
    min-height:42px;
    white-space:nowrap;
    padding-inline:14px;
}
.characters-filters-v2{
    align-items:stretch;
}
.characters-filters-v2 .filters-main{
    display:grid;
    gap:14px;
    min-width:0;
}
.characters-filters-v2 .filter-group{
    align-items:flex-start;
}
.characters-filters-v2 .filter-label{
    min-width:72px;
    padding-top:7px;
}
.filter-buttons-scroll{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.characters-select-filters{
    display:grid;
    grid-template-columns:repeat(3,minmax(160px,1fr));
    gap:9px;
}
.character-select-filter{
    display:grid;
    gap:6px;
}
.character-select-filter>span{
    font-size:.69rem;
    font-weight:850;
    letter-spacing:.06em;
    text-transform:uppercase;
    opacity:.62;
}
.character-select-filter select{
    width:100%;
}
.characters-filter-count{
    min-width:112px;
}
.characters-filter-count-number{
    font-size:1.8rem!important;
}
.characters-filter-count-total{
    display:block;
    font-size:.68rem;
    opacity:.5;
    margin-top:2px;
}
.characters-active-filters{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:-2px 0 15px;
}
.characters-active-filters span{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:5px 9px;
    border-radius:999px;
    border:1px solid rgba(86,214,255,.15);
    background:rgba(66,190,230,.07);
    color:rgba(225,248,255,.82);
    font-size:.68rem;
    font-weight:750;
}
.characters-empty-state{
    grid-column:1/-1;
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-align:center;
    padding:28px;
    border:1px dashed rgba(255,255,255,.12);
    border-radius:18px;
    background:rgba(255,255,255,.025);
}
.characters-empty-state strong{font-size:1rem}
.characters-empty-state span{font-size:.8rem;opacity:.55}
.characters-empty-icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    font-size:1.35rem;
    opacity:.7;
}
#charactersGrid .featured-card{min-width:0}
#charactersGrid .featured-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#charactersGrid .team-badge{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:100%;
}

@media (max-width:900px){
    .characters-toolbar{grid-template-columns:1fr}
    .characters-toolbar-actions{
        display:grid;
        grid-template-columns:1fr auto;
    }
    .characters-select-filters{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
    .characters-toolbar-actions{grid-template-columns:1fr}
    .characters-reset-btn{width:100%}
    .characters-select-filters{grid-template-columns:1fr}
    .characters-filters-v2 .filter-group{display:block}
    .characters-filters-v2 .filter-label{
        display:block;
        min-width:0;
        margin-bottom:7px;
        padding:0;
    }
    .filter-buttons-scroll{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:4px;
        scrollbar-width:none;
    }
    .filter-buttons-scroll::-webkit-scrollbar{display:none}
    .filter-buttons-scroll .filter-btn{flex:0 0 auto}
    .characters-filter-count{
        width:100%;
        min-width:0;
        display:flex;
        align-items:baseline;
        justify-content:center;
        gap:7px;
    }
    .characters-filter-count-label,
    .characters-filter-count-total{display:inline}
}

/* Personajes: selector simplificado */
.characters-select-filters{grid-template-columns:minmax(220px,420px)!important;}


/* =========================================================
   PERSONAJES · RECOLOCACIÓN DE FILTROS
   ========================================================= */

/* La caja principal aprovecha mejor el ancho disponible */
#personajes .characters-filters-v2{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 118px !important;
    gap:18px !important;
    align-items:stretch !important;
    padding:16px 18px !important;
}

/* Zona izquierda de filtros */
#personajes .characters-filters-v2 .filters-main{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:14px 18px !important;
    align-items:start !important;
    min-width:0 !important;
}

/* Elemento y posición, cada uno ocupando media fila */
#personajes .characters-filters-v2 .filter-group{
    display:grid !important;
    grid-template-columns:auto 1fr !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
}

#personajes .characters-filters-v2 .filter-label{
    min-width:auto !important;
    padding:0 !important;
    margin:0 !important;
    white-space:nowrap !important;
}

/* Los botones se ajustan sin dejar huecos absurdos */
#personajes .characters-filters-v2 .filter-buttons-scroll{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:7px !important;
    min-width:0 !important;
}

/* Equipo ocupa toda la fila inferior */
#personajes .characters-select-filters{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:minmax(280px, 520px) !important;
    gap:0 !important;
    margin-top:2px !important;
}

#personajes .character-select-filter{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:center !important;
}

#personajes .character-select-filter > span{
    margin:0 !important;
    white-space:nowrap !important;
}

#personajes .character-select-filter select{
    width:100% !important;
    min-height:42px !important;
}

/* Contador más compacto y centrado */
#personajes .characters-filter-count{
    min-width:0 !important;
    width:118px !important;
    padding-left:16px !important;
    border-left:1px solid rgba(255,255,255,.10) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:1px !important;
    text-align:center !important;
}

#personajes .characters-filter-count-number{
    font-size:2rem !important;
    line-height:1 !important;
}

#personajes .characters-filter-count-label{
    font-size:.64rem !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}

#personajes .characters-filter-count-total{
    font-size:.64rem !important;
    margin-top:2px !important;
}

/* Tablet: apilamos los dos bloques de filtro sin perder orden */
@media (max-width:980px){
    #personajes .characters-filters-v2{
        grid-template-columns:1fr !important;
    }

    #personajes .characters-filter-count{
        width:100% !important;
        min-height:54px !important;
        padding:10px 0 0 !important;
        border-left:0 !important;
        border-top:1px solid rgba(255,255,255,.10) !important;
        flex-direction:row !important;
        gap:7px !important;
    }

    #personajes .characters-filters-v2 .filters-main{
        grid-template-columns:1fr !important;
    }

    #personajes .characters-select-filters{
        grid-column:auto !important;
        grid-template-columns:1fr !important;
    }
}

/* Móvil: etiquetas arriba y botones en scroll horizontal */
@media (max-width:620px){
    #personajes .characters-filters-v2{
        padding:14px !important;
        gap:12px !important;
    }

    #personajes .characters-filters-v2 .filter-group{
        display:block !important;
    }

    #personajes .characters-filters-v2 .filter-label{
        display:block !important;
        margin-bottom:7px !important;
    }

    #personajes .characters-filters-v2 .filter-buttons-scroll{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        padding-bottom:3px !important;
    }

    #personajes .character-select-filter{
        display:block !important;
    }

    #personajes .character-select-filter > span{
        display:block !important;
        margin-bottom:6px !important;
    }
}


/* =========================================================
   PERSONAJES · FILTROS FINAL
   Layout más equilibrado y natural
   ========================================================= */

#personajes .characters-filters-v2{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 132px !important;
    gap:20px !important;
    padding:18px 20px !important;
    align-items:stretch !important;
}

/* Zona principal: tres bloques claros */
#personajes .characters-filters-v2 .filters-main{
    display:grid !important;
    grid-template-columns:minmax(340px,1.35fr) minmax(250px,.9fr) minmax(220px,.9fr) !important;
    gap:18px !important;
    align-items:end !important;
    min-width:0 !important;
}

/* Elemento y posición se apilan internamente */
#personajes .characters-filters-v2 .filter-group{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    min-width:0 !important;
}

#personajes .characters-filters-v2 .filter-label{
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    font-size:.68rem !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
}

#personajes .characters-filters-v2 .filter-buttons-scroll{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:7px !important;
    width:100% !important;
}

/* Equipo como tercer bloque */
#personajes .characters-select-filters{
    grid-column:auto !important;
    display:block !important;
    margin:0 !important;
    min-width:0 !important;
}

#personajes .character-select-filter{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    min-width:0 !important;
}

#personajes .character-select-filter > span{
    margin:0 !important;
    font-size:.68rem !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    opacity:.65 !important;
}

#personajes .character-select-filter select{
    width:100% !important;
    min-height:40px !important;
    border-radius:11px !important;
}

/* Resultado más tipo tarjeta lateral */
#personajes .characters-filter-count{
    width:132px !important;
    min-width:132px !important;
    padding:0 !important;
    border-left:1px solid rgba(255,255,255,.10) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    gap:2px !important;
}

#personajes .characters-filter-count-number{
    font-size:2.15rem !important;
    line-height:1 !important;
    margin-bottom:4px !important;
}

#personajes .characters-filter-count-label{
    font-size:.64rem !important;
    font-weight:900 !important;
    letter-spacing:.09em !important;
    text-transform:uppercase !important;
}

#personajes .characters-filter-count-total{
    font-size:.63rem !important;
    opacity:.48 !important;
    margin-top:1px !important;
}

/* Botones algo más compactos para encajar mejor */
#personajes .characters-filters-v2 .filter-btn{
    min-height:36px !important;
    padding:7px 13px !important;
    border-radius:10px !important;
    font-size:.76rem !important;
}

/* Anchos intermedios */
@media (max-width:1120px){
    #personajes .characters-filters-v2 .filters-main{
        grid-template-columns:1fr 1fr !important;
    }

    #personajes .characters-select-filters{
        grid-column:1 / -1 !important;
        max-width:460px !important;
    }
}

/* Tablet */
@media (max-width:820px){
    #personajes .characters-filters-v2{
        grid-template-columns:1fr !important;
    }

    #personajes .characters-filter-count{
        width:100% !important;
        min-width:0 !important;
        min-height:54px !important;
        padding-top:12px !important;
        border-left:0 !important;
        border-top:1px solid rgba(255,255,255,.10) !important;
        flex-direction:row !important;
        gap:8px !important;
    }

    #personajes .characters-filter-count-number{
        font-size:1.5rem !important;
        margin:0 !important;
    }
}

/* Móvil */
@media (max-width:620px){
    #personajes .characters-filters-v2{
        padding:14px !important;
        gap:14px !important;
    }

    #personajes .characters-filters-v2 .filters-main{
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    #personajes .characters-select-filters{
        grid-column:auto !important;
        max-width:none !important;
    }

    #personajes .characters-filters-v2 .filter-buttons-scroll{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        scrollbar-width:none;
        padding-bottom:3px !important;
    }

    #personajes .characters-filters-v2 .filter-buttons-scroll::-webkit-scrollbar{
        display:none;
    }

    #personajes .characters-filters-v2 .filter-btn{
        flex:0 0 auto !important;
    }
}


/* =========================================================
   PERSONAJES · DISEÑO ANTIGUO + ESTÉTICA NUEVA
   ========================================================= */

/* Caja general como el diseño antiguo */
#personajes .characters-filters-v2{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 145px !important;
    gap:20px !important;
    align-items:stretch !important;
    padding:18px 20px !important;
}

/* Volvemos a la distribución vertical original */
#personajes .characters-filters-v2 .filters-main{
    display:flex !important;
    flex-direction:column !important;
    gap:13px !important;
    min-width:0 !important;
}

/* Elemento y posición: etiqueta a la izquierda + botones a la derecha */
#personajes .characters-filters-v2 .filter-group{
    display:grid !important;
    grid-template-columns:78px minmax(0,1fr) !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
}

#personajes .characters-filters-v2 .filter-label{
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    font-size:.68rem !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}

/* Botones como antes, pero con estética nueva */
#personajes .characters-filters-v2 .filter-buttons-scroll{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
}

#personajes .characters-filters-v2 .filter-btn{
    min-height:36px !important;
    padding:7px 14px !important;
    border-radius:10px !important;
    font-size:.76rem !important;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease !important;
}

#personajes .characters-filters-v2 .filter-btn:hover{
    transform:translateY(-1px);
}

#personajes .characters-filters-v2 .filter-btn.active{
    box-shadow:0 0 18px rgba(0,205,255,.12) !important;
}

/* Equipo vuelve debajo, como en el diseño original */
#personajes .characters-select-filters{
    display:block !important;
    grid-column:auto !important;
    width:min(100%,520px) !important;
    margin-top:1px !important;
}

#personajes .character-select-filter{
    display:grid !important;
    grid-template-columns:78px minmax(0,1fr) !important;
    align-items:center !important;
    gap:10px !important;
}

#personajes .character-select-filter > span{
    margin:0 !important;
    font-size:.68rem !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
    opacity:.65 !important;
    white-space:nowrap !important;
}

#personajes .character-select-filter select{
    width:100% !important;
    min-height:42px !important;
    border-radius:11px !important;
    background:rgba(7,14,29,.68) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    transition:border-color .16s ease, background .16s ease !important;
}

#personajes .character-select-filter select:hover,
#personajes .character-select-filter select:focus{
    border-color:rgba(0,205,255,.30) !important;
    background:rgba(9,18,37,.88) !important;
}

/* Contador lateral, como antes, pero más elegante */
#personajes .characters-filter-count{
    width:145px !important;
    min-width:145px !important;
    padding:0 0 0 18px !important;
    border-left:1px solid rgba(255,255,255,.09) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:2px !important;
    text-align:center !important;
}

#personajes .characters-filter-count-number{
    font-size:2.05rem !important;
    line-height:1 !important;
    margin-bottom:3px !important;
    text-shadow:0 0 18px rgba(0,210,255,.18) !important;
}

#personajes .characters-filter-count-label{
    font-size:.64rem !important;
    font-weight:900 !important;
    letter-spacing:.09em !important;
    text-transform:uppercase !important;
}

#personajes .characters-filter-count-total{
    font-size:.63rem !important;
    opacity:.48 !important;
    margin-top:2px !important;
}

/* En pantallas medianas sigue pareciéndose al diseño antiguo */
@media (max-width:900px){
    #personajes .characters-filters-v2{
        grid-template-columns:1fr !important;
    }

    #personajes .characters-filter-count{
        width:100% !important;
        min-width:0 !important;
        min-height:52px !important;
        padding:11px 0 0 !important;
        border-left:0 !important;
        border-top:1px solid rgba(255,255,255,.09) !important;
        flex-direction:row !important;
        gap:7px !important;
    }

    #personajes .characters-filter-count-number{
        font-size:1.5rem !important;
        margin:0 !important;
    }
}

/* Móvil */
@media (max-width:620px){
    #personajes .characters-filters-v2{
        padding:14px !important;
        gap:13px !important;
    }

    #personajes .characters-filters-v2 .filter-group,
    #personajes .character-select-filter{
        display:block !important;
    }

    #personajes .characters-filters-v2 .filter-label,
    #personajes .character-select-filter > span{
        display:block !important;
        margin-bottom:7px !important;
    }

    #personajes .characters-filters-v2 .filter-buttons-scroll{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        scrollbar-width:none;
        padding-bottom:3px !important;
    }

    #personajes .characters-filters-v2 .filter-buttons-scroll::-webkit-scrollbar{
        display:none;
    }

    #personajes .characters-filters-v2 .filter-btn{
        flex:0 0 auto !important;
    }

    #personajes .characters-select-filters{
        width:100% !important;
    }
}

/* Personajes · filtros alineados a la izquierda */
#personajes .characters-filters-v2{
    grid-template-columns:1fr !important;
}
#personajes .characters-filters-v2 .filters-main{
    width:100% !important;
    max-width:none !important;
    align-items:start !important;
}
#personajes .characters-filters-v2 .filter-group{
    justify-content:start !important;
    justify-items:start !important;
}
#personajes .characters-filters-v2 .filter-buttons-scroll{
    justify-content:flex-start !important;
}
#personajes .characters-select-filters{
    margin-left:0 !important;
    margin-right:auto !important;
}
#personajes .characters-filter-count{
    width:auto !important;
    min-width:0 !important;
    padding:11px 0 0 !important;
    border-left:0 !important;
    border-top:1px solid rgba(255,255,255,.09) !important;
    flex-direction:row !important;
    justify-content:flex-start !important;
    align-items:baseline !important;
    gap:7px !important;
    text-align:left !important;
}
#personajes .characters-filter-count-number{
    font-size:1.55rem !important;
    margin:0 !important;
}

/* Contador de personajes otra vez a la derecha */
#personajes .characters-filters-v2{
    grid-template-columns:minmax(0,1fr) 145px !important;
    align-items:stretch !important;
}
#personajes .characters-filter-count{
    width:145px !important;
    min-width:145px !important;
    padding:0 0 0 18px !important;
    border-top:0 !important;
    border-left:1px solid rgba(255,255,255,.09) !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:2px !important;
    text-align:center !important;
}
#personajes .characters-filter-count-number{
    font-size:2.05rem !important;
    line-height:1 !important;
    margin-bottom:3px !important;
}
@media(max-width:900px){
    #personajes .characters-filters-v2{grid-template-columns:1fr !important}
    #personajes .characters-filter-count{
        width:100% !important;
        min-width:0 !important;
        padding:11px 0 0 !important;
        border-left:0 !important;
        border-top:1px solid rgba(255,255,255,.09) !important;
        flex-direction:row !important;
        justify-content:flex-start !important;
        align-items:baseline !important;
        text-align:left !important;
        gap:7px !important;
    }
}

/* Ordenar + limpiar filtros: integrado con la estética azul de la wiki */
#personajes .character-sort{
    appearance:none;
    -webkit-appearance:none;
    min-height:44px !important;
    padding:0 42px 0 15px !important;
    border:1px solid rgba(39,201,255,.22) !important;
    border-radius:12px !important;
    background:
      linear-gradient(135deg,rgba(16,34,58,.96),rgba(8,20,39,.96)) !important;
    color:#eaf9ff !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 22px rgba(0,0,0,.12) !important;
    font-weight:750 !important;
    cursor:pointer !important;
}
#personajes .characters-toolbar-actions{
    position:relative;
}
#personajes .characters-toolbar-actions::after{
    content:"⌄";
    position:absolute;
    right:126px;
    top:50%;
    transform:translateY(-54%);
    color:#62dcff;
    pointer-events:none;
    font-size:.9rem;
}
#personajes .character-sort:hover,
#personajes .character-sort:focus{
    border-color:rgba(69,220,255,.48) !important;
    background:linear-gradient(135deg,rgba(19,43,72,.98),rgba(9,25,47,.98)) !important;
    box-shadow:0 0 0 3px rgba(0,199,255,.06),0 10px 25px rgba(0,0,0,.16) !important;
    outline:none !important;
}
#personajes .character-sort option{
    background:#0b1729;
    color:#eaf9ff;
}
#personajes .characters-reset-btn{
    min-height:44px !important;
    border:1px solid rgba(39,201,255,.18) !important;
    border-radius:12px !important;
    background:rgba(25,60,87,.58) !important;
    color:#dff8ff !important;
    font-weight:800 !important;
    box-shadow:none !important;
}
#personajes .characters-reset-btn:hover{
    border-color:rgba(68,220,255,.42) !important;
    background:rgba(28,82,113,.72) !important;
    color:#fff !important;
    transform:translateY(-1px);
}
@media(max-width:900px){
 #personajes .characters-toolbar-actions::after{right:126px}
}
@media(max-width:620px){
 #personajes .characters-toolbar-actions::after{
   right:14px;
   top:22px;
 }
}

/* Quitar flecha accidental junto a "Limpiar filtros" */
#personajes .characters-toolbar-actions::after{
    content:none !important;
    display:none !important;
}


/* =========================================================
   COMPARADOR DE PERSONAJES
   ========================================================= */
.comparator-section{max-width:1180px;margin-inline:auto}
.comparator-controls{
    display:grid;
    grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);
    align-items:end;
    gap:12px;
    margin:20px 0 18px;
}
.comparator-select-block{
    display:grid;
    gap:7px;
}
.comparator-select-block>span{
    font-size:.69rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.65;
}
.comparator-select-block select{
    width:100%;
    min-height:46px;
    border:1px solid rgba(39,201,255,.22);
    border-radius:13px;
    background:linear-gradient(135deg,rgba(16,34,58,.96),rgba(8,20,39,.96));
    color:#eefaff;
    padding:0 14px;
    font:inherit;
    font-weight:700;
}
.comparator-select-block option{background:#0b1729;color:#eefaff}
.compare-swap-btn{
    width:46px;height:46px;
    border-radius:13px;
    border:1px solid rgba(39,201,255,.22);
    background:rgba(25,60,87,.58);
    color:#dff8ff;
    font-size:1.2rem;
    cursor:pointer;
}
.compare-swap-btn:hover{
    background:rgba(28,82,113,.72);
    border-color:rgba(68,220,255,.42);
}
.comparator-summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);
    align-items:stretch;
    gap:12px;
}
.comparator-level-controls{margin:12px 0 18px;padding:13px 15px;display:grid;grid-template-columns:minmax(240px,1fr) 170px 170px;align-items:end;gap:10px;border:1px solid rgba(112,192,231,.15);border-radius:15px;background:linear-gradient(135deg,rgba(9,24,41,.96),rgba(7,15,27,.98))}
.comparator-level-controls>div{display:grid;gap:4px;align-self:center}.comparator-level-controls>div span{color:#69dcff;font-size:.55rem;font-weight:950;letter-spacing:1px}.comparator-level-controls>div strong{font-size:.75rem}.comparator-level-controls label{display:grid;gap:5px}.comparator-level-controls label span{color:#7d92aa;font-size:.58rem;font-weight:800}.comparator-level-controls select{min-height:39px;padding:0 10px;border:1px solid rgba(117,179,218,.17);border-radius:9px;background:#06111e;color:#fff;font:inherit;font-size:.7rem}
.compare-player-card{
    min-width:0;
    display:flex;
    gap:16px;
    align-items:center;
    padding:17px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:18px;
    background:rgba(8,16,31,.62);
}
.compare-player-image-wrap{
    flex:0 0 104px;
    width:104px;
    height:104px;
    display:grid;
    place-items:center;
    border-radius:16px;
    overflow:hidden;
    background:rgba(255,255,255,.04);
}
.compare-player-image-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.compare-player-info{min-width:0}
.compare-side-label{
    display:block;
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.1em;
    color:#62dcff;
    margin-bottom:4px;
}
.compare-player-info h3{
    margin:0 0 7px;
    font-size:1.15rem;
}
.compare-meta{
    display:flex;
    flex-wrap:wrap;
    gap:5px 9px;
    font-size:.72rem;
    opacity:.68;
}
.compare-tags{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:8px;
}
.compare-tag{
    padding:4px 7px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.04);
    font-size:.65rem;
}
.compare-vs{
    display:grid;
    place-items:center;
    font-weight:950;
    font-size:.85rem;
    opacity:.42;
}
.comparator-stats-wrap,
.comparator-detail-panel{
    margin-top:18px;
    padding:18px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:18px;
    background:rgba(8,16,31,.46);
}
.comparator-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:13px;
}
.comparator-section-head.compact{margin-bottom:11px}
.comparator-section-head h3{margin:2px 0 0;font-size:1rem}
.compare-level-toggle{min-height:38px}
.comparator-stats{display:grid;gap:7px}
.compare-stat-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 118px minmax(0,1fr);
    align-items:center;
    gap:12px;
    min-height:52px;
    padding:8px 10px;
    border-radius:12px;
    background:rgba(255,255,255,.025);
}
.compare-stat-player{min-width:0;text-align:right}
.compare-stat-player.right{text-align:left}
.compare-stat-player strong{
    display:block;
    margin-bottom:5px;
    font-size:.88rem;
}
.compare-stat-player.winner strong{color:#70e5ff}
.compare-stat-track{
    height:8px;
    border-radius:999px;
    overflow:hidden;
    background:rgba(255,255,255,.06);
}
.compare-stat-track span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,rgba(39,201,255,.42),rgba(79,221,255,.86));
}
.compare-stat-name{text-align:center}
.compare-stat-name span{
    display:block;
    font-weight:850;
    font-size:.75rem;
}
.compare-stat-name small{
    display:block;
    margin-top:2px;
    opacity:.43;
    font-size:.61rem;
}
.comparator-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.compare-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.compare-columns h4{
    margin:0 0 8px;
    font-size:.78rem;
    color:#bcefff;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.compare-tech-item{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:9px 10px;
    border-radius:11px;
    background:rgba(255,255,255,.035);
    margin-bottom:6px;
}
.compare-tech-item strong{
    display:block;
    font-size:.75rem;
}
.compare-tech-item span{
    display:block;
    margin-top:2px;
    font-size:.63rem;
    opacity:.55;
}
.compare-tech-values{
    flex:0 0 auto;
    text-align:right;
}
.compare-tech-values b{color:#74e2ff}
.compare-tech-values em{margin-left:3px;color:#7ce3ac;font-size:.57rem;font-style:normal}
.compare-passive-item{
    margin-bottom:7px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:11px;
    background:rgba(255,255,255,.025);
    overflow:hidden;
}
.compare-passive-item summary{
    cursor:pointer;
    list-style:none;
    padding:9px 10px;
}
.compare-passive-item summary::-webkit-details-marker{display:none}
.compare-passive-item summary span{
    display:block;
    font-size:.72rem;
    font-weight:800;
}
.compare-passive-item summary small{
    display:block;
    margin-top:2px;
    font-size:.6rem;
    opacity:.43;
}
.compare-passive-item p{
    margin:0;
    padding:0 10px 10px;
    font-size:.68rem;
    line-height:1.45;
    opacity:.7;
}
.compare-empty{
    padding:12px;
    border:1px dashed rgba(255,255,255,.09);
    border-radius:10px;
    text-align:center;
    font-size:.7rem;
    opacity:.45;
}

@media(max-width:900px){
    .comparator-summary{grid-template-columns:1fr}
    .compare-vs{min-height:26px}
    .comparator-detail-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
    .comparator-controls{
        grid-template-columns:1fr;
    }
    .compare-swap-btn{
        width:100%;
        height:38px;
    }
    .compare-player-card{
        align-items:flex-start;
    }
    .compare-player-image-wrap{
        width:82px;height:82px;flex-basis:82px;
    }
    .compare-stat-row{
        grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);
        gap:7px;
    }
    .compare-columns{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   PERSONAJES · FAVORITOS LOCALES
   ========================================================= */
#charactersGrid .featured-card-wrap{
    position:relative;
    min-width:0;
}
#charactersGrid .featured-card-wrap>.featured-card{
    height:100%;
}
.character-favorite-btn{
    position:absolute;
    top:10px;
    right:10px;
    z-index:8;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.16);
    border-radius:11px;
    background:rgba(7,15,28,.78);
    color:#dce8f2;
    font-size:1.25rem;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    box-shadow:0 5px 16px rgba(0,0,0,.22);
    transition:transform .15s ease,background .15s ease,border-color .15s ease,color .15s ease;
}
.character-favorite-btn:hover{
    transform:translateY(-1px) scale(1.04);
    border-color:rgba(255,202,65,.48);
}
.character-favorite-btn.active{
    color:#ffd45c;
    background:rgba(83,61,10,.78);
    border-color:rgba(255,203,63,.42);
}
.favorites-filter-btn{
    min-height:44px!important;
    white-space:nowrap;
    border:1px solid rgba(255,202,65,.18)!important;
    border-radius:12px!important;
    background:rgba(65,52,18,.30)!important;
    color:#f4e8bd!important;
    font-weight:800!important;
}
.favorites-filter-btn:hover,
.favorites-filter-btn.active{
    border-color:rgba(255,205,70,.46)!important;
    background:rgba(92,69,15,.48)!important;
    color:#ffe28a!important;
}
.favorites-count{
    display:inline-grid;
    place-items:center;
    min-width:20px;
    height:20px;
    margin-left:5px;
    padding:0 5px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    font-size:.65rem;
}
@media(max-width:900px){
    #personajes .characters-toolbar-actions{
        grid-template-columns:1fr auto auto;
    }
}
@media(max-width:620px){
    #personajes .characters-toolbar-actions{
        grid-template-columns:1fr;
    }
    .favorites-filter-btn{width:100%}
}


/* =========================================================
   EQUIPOS LOCALES
   ========================================================= */
.teams-local-section{max-width:1180px;margin-inline:auto}
.teams-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}
.team-create-main{flex:0 0 auto}
.team-local-notice{
    display:flex;
    align-items:center;
    gap:11px;
    margin:15px 0 22px;
    padding:11px 13px;
    border-radius:13px;
    border:1px solid rgba(73,204,255,.12);
    background:rgba(40,150,200,.055);
}
.team-local-notice-icon{
    width:34px;height:34px;
    display:grid;place-items:center;
    border-radius:10px;
    background:rgba(255,255,255,.05);
}
.team-local-notice strong{display:block;font-size:.75rem}
.team-local-notice span span,
.team-local-notice div>span{display:block;margin-top:2px;font-size:.68rem;opacity:.55}

.team-dashboard-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:13px;
}
.team-dashboard-toolbar h3{margin:2px 0 0}
.team-dashboard-count{
    padding:6px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    font-size:.68rem;
    opacity:.7;
}
.team-saved-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(235px,1fr));
    gap:12px;
}
.team-new-card,
.team-saved-card{
    min-height:150px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:17px;
    background:rgba(8,16,31,.52);
    overflow:hidden;
}
.team-new-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    color:inherit;
    cursor:pointer;
    border-style:dashed;
}
.team-new-card:hover{
    border-color:rgba(68,220,255,.28);
    background:rgba(30,120,170,.07);
}
.team-new-plus{
    width:38px;height:38px;
    display:grid;place-items:center;
    border-radius:11px;
    background:rgba(79,215,255,.08);
    color:#68dcff;
    font-size:1.2rem;
}
.team-new-card strong{font-size:.82rem}
.team-new-card>span:last-child{font-size:.66rem;opacity:.48}

.team-saved-open{
    width:100%;
    height:100%;
    min-height:150px;
    padding:14px;
    border:0;
    background:transparent;
    color:inherit;
    text-align:left;
    cursor:pointer;
}
.team-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}
.team-card-kicker{
    font-size:.6rem;
    font-weight:900;
    color:#67dcff;
}
.team-card-top h4{
    margin:3px 0 0;
    font-size:.9rem;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:165px;
}
.team-card-progress{
    padding:4px 7px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    font-size:.62rem;
}
.team-card-progress.complete{
    color:#7ae7a0;
    background:rgba(70,190,115,.10);
}
.team-card-faces{
    display:flex;
    align-items:center;
    min-height:44px;
    margin:14px 0 13px 3px;
}
.team-card-faces img{
    position:static!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    object-fit:cover!important;
    border-radius:50%!important;
    border:2px solid #10192a!important;
    background:#111b2c!important;
    margin-left:-7px;
}
.team-card-faces img:first-child{margin-left:0}
.team-card-empty-faces{
    min-height:44px;
    display:flex;
    align-items:center;
    margin:14px 0 13px;
    font-size:.65rem;
    opacity:.4;
}
.team-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:9px;
    border-top:1px solid rgba(255,255,255,.07);
    font-size:.66rem;
    opacity:.68;
}

.team-editor[hidden],
.team-dashboard[hidden]{display:none!important}
.team-editor-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}
.team-back-btn,
.team-clear-slot{
    border:0;
    background:transparent;
    color:#b8d6e5;
    font:inherit;
    font-size:.72rem;
    font-weight:800;
    cursor:pointer;
}
.team-editor-actions{display:flex;gap:7px}
.team-secondary-action{
    border-color:rgba(255,255,255,.11)!important;
    background:rgba(255,255,255,.04)!important;
}
.team-danger-action{
    border-color:rgba(255,90,90,.18)!important;
    background:rgba(130,30,30,.12)!important;
    color:#ffb5b5!important;
}
.team-editor-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;
    padding:15px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
    background:rgba(8,16,31,.42);
}
.team-editor-title-group{
    display:grid;
    grid-template-columns:minmax(240px,1fr) 150px;
    gap:10px;
    flex:1;
}
.team-editor-title-group label{display:grid;gap:6px}
.team-editor-title-group label>span{
    font-size:.64rem;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
    opacity:.55;
}
.team-editor-title-group input,
.team-editor-title-group select{
    width:100%;
    min-height:42px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:11px;
    background:rgba(8,17,32,.72);
    color:#fff;
    font:inherit;
}
.team-editor-title-group select option{background:#0b1729}
.team-completion{
    display:flex;
    align-items:center;
    gap:9px;
    flex:0 0 auto;
}
.team-completion-circle{
    width:48px;height:48px;
    display:flex;
    align-items:baseline;
    justify-content:center;
    padding-top:11px;
    border-radius:50%;
    border:1px solid rgba(75,218,255,.22);
    background:rgba(45,160,210,.07);
}
.team-completion-circle span{font-size:1.05rem;font-weight:900;color:#6be0ff}
.team-completion-circle small{font-size:.55rem;opacity:.45}
.team-completion>div:last-child strong{display:block;font-size:.7rem}
.team-completion>div:last-child span{display:block;margin-top:2px;font-size:.62rem;opacity:.5}

.team-builder-layout{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
    gap:14px;
    align-items:start;
}
.team-pitch-panel,
.team-player-picker,
.team-squad-summary{
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(8,16,31,.45);
}
.team-pitch-panel{padding:15px}
.team-pitch-head,
.team-picker-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
}
.team-pitch-head h3,
.team-picker-head h3{margin:2px 0 0;font-size:.9rem}

.football-pitch{
    position:relative;
    width:100%;
    aspect-ratio:1.34;
    min-height:430px;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.24);
    border-radius:15px;
    background:
      linear-gradient(rgba(255,255,255,.025),rgba(255,255,255,.025)),
      repeating-linear-gradient(
        0deg,
        rgba(32,115,63,.94) 0 10%,
        rgba(28,105,57,.94) 10% 20%
      );
}
.pitch-line,
.pitch-center-circle,
.pitch-box,
.pitch-small-box,
.pitch-spot{
    position:absolute;
    pointer-events:none;
    border-color:rgba(255,255,255,.45);
}
.pitch-half-line{
    left:0;right:0;top:50%;
    border-top:2px solid rgba(255,255,255,.42);
}
.pitch-center-circle{
    left:50%;top:50%;
    width:18%;aspect-ratio:1;
    transform:translate(-50%,-50%);
    border:2px solid rgba(255,255,255,.42);
    border-radius:50%;
}
.pitch-box{
    left:23%;width:54%;height:18%;
    border:2px solid rgba(255,255,255,.42);
}
.pitch-box-top{top:-2px;border-top:0}
.pitch-box-bottom{bottom:-2px;border-bottom:0}
.pitch-small-box{
    left:36%;width:28%;height:8%;
    border:2px solid rgba(255,255,255,.42);
}
.pitch-small-box-top{top:-2px;border-top:0}
.pitch-small-box-bottom{bottom:-2px;border-bottom:0}
.pitch-spot{
    left:50%;
    width:5px;height:5px;
    margin-left:-2px;
    border-radius:50%;
    background:rgba(255,255,255,.55);
}
.pitch-spot-top{top:13%}
.pitch-spot-bottom{bottom:13%}

#teamFormationSlots{position:absolute;inset:0}
#teamFormationSlots .formation-slot{
    position:absolute;
    transform:translate(-50%,-50%);
    width:92px;
    border:0;
    background:transparent;
    color:#fff;
    cursor:pointer;
    text-align:center;
}
#teamFormationSlots .formation-slot-card{
    position:relative;
    width:58px;height:58px;
    display:grid;
    place-items:center;
    margin:0 auto 4px;
    border:2px solid rgba(255,255,255,.34);
    border-radius:50%;
    background:rgba(8,17,32,.72);
    box-shadow:0 5px 12px rgba(0,0,0,.30);
    overflow:visible;
    transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}
#teamFormationSlots .formation-slot:hover .formation-slot-card,
#teamFormationSlots .formation-slot.selected .formation-slot-card{
    transform:translateY(-2px) scale(1.04);
    border-color:rgba(91,223,255,.92);
    box-shadow:0 0 0 4px rgba(52,200,255,.09),0 8px 15px rgba(0,0,0,.35);
}
#teamFormationSlots .formation-slot-card img{
    position:static!important;
    width:52px!important;height:52px!important;
    min-width:52px!important;max-width:52px!important;
    min-height:52px!important;max-height:52px!important;
    object-fit:cover!important;
    border-radius:50%!important;
}
.slot-plus{font-size:1.15rem;opacity:.6}
.formation-slot-pos{
    position:absolute;
    left:50%;bottom:-7px;
    transform:translateX(-50%);
    min-width:28px;
    padding:2px 6px;
    border-radius:999px;
    font-size:.58rem;
    font-weight:950;
    background:#d47f1d;
    color:#fff;
}
.formation-slot-name{
    display:block;
    max-width:92px;
    padding:2px 4px;
    border-radius:5px;
    background:rgba(5,12,23,.72);
    font-size:.61rem;
    line-height:1.15;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.formation-slot-condition{position:absolute;left:50%;bottom:-2px;transform:translate(-50%,100%);max-width:92px;padding:2px 5px;border:1px solid rgba(255,210,72,.55);border-radius:6px;background:rgba(25,16,2,.94);color:#ffe081;font-size:.52rem;font-weight:800;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:4}
.team-pitch-legend{
    display:flex;
    justify-content:center;
    gap:14px;
    margin-top:10px;
    font-size:.63rem;
    opacity:.56;
}
.team-pitch-legend span{display:flex;align-items:center;gap:4px}
.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}
.legend-dot.gk{background:#f0cb52}
.legend-dot.df{background:#63a7ff}
.legend-dot.mf{background:#74d296}
.legend-dot.fw{background:#ef8b6d}

.team-player-picker{
    padding:15px;
    max-height:650px;
    display:flex;
    flex-direction:column;
}
.team-slot-role{
    padding:5px 8px;
    border-radius:999px;
    background:rgba(212,127,29,.13);
    color:#ffc074;
    font-size:.65rem;
    font-weight:950;
}
.team-picker-search input{
    width:100%;
    min-height:40px;
    padding:0 11px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:10px;
    background:rgba(8,17,32,.72);
    color:#fff;
}
.team-picker-filters{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin:8px 0;
}
.team-picker-filters button{
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    background:rgba(255,255,255,.035);
    color:#c9dbe5;
    padding:5px 8px;
    font-size:.62rem;
    cursor:pointer;
}
.team-picker-filters button.active{
    border-color:rgba(69,218,255,.28);
    background:rgba(54,183,225,.10);
    color:#8fe9ff;
}
.team-picker-results-meta{
    display:flex;
    justify-content:space-between;
    gap:8px;
    padding:5px 1px 8px;
    font-size:.6rem;
    opacity:.45;
}
.team-player-list{
    display:grid;
    gap:5px;
    overflow:auto;
    padding-right:3px;
}
.team-player-option{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    width:100%;
    padding:7px;
    border:1px solid rgba(255,255,255,.06);
    border-radius:11px;
    background:rgba(255,255,255,.025);
    color:inherit;
    text-align:left;
    cursor:pointer;
}
.team-player-option:hover{
    border-color:rgba(70,215,255,.20);
    background:rgba(60,180,220,.055);
}
.team-player-option.natural-position{
    border-color:rgba(94,214,142,.12);
}
.team-player-option.used{opacity:.55}
.team-player-option img{
    position:static!important;
    width:42px!important;height:42px!important;
    min-width:42px!important;max-width:42px!important;
    min-height:42px!important;max-height:42px!important;
    border-radius:10px!important;
    object-fit:cover!important;
    background:#101a2a!important;
}
.team-player-option-info{min-width:0}
.team-player-option-info strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.7rem;
}
.team-player-option-info small{
    display:block;
    margin-top:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.57rem;
    opacity:.48;
}
.team-player-option-status{
    font-size:.56rem;
    color:#79dca0;
    white-space:nowrap;
}
.team-picker-empty{
    padding:18px;
    border:1px dashed rgba(255,255,255,.08);
    border-radius:11px;
    text-align:center;
    font-size:.67rem;
    opacity:.5;
}

.team-squad-summary{
    margin-top:14px;
    padding:15px;
}
.team-squad-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:7px;
}
.team-squad-item{
    display:grid;
    grid-template-columns:auto 34px minmax(0,1fr);
    align-items:center;
    gap:7px;
    min-height:49px;
    padding:6px 8px;
    border:1px solid rgba(255,255,255,.06);
    border-radius:10px;
    background:rgba(255,255,255,.025);
    color:inherit;
    text-align:left;
    cursor:pointer;
}
.team-squad-role{
    width:27px;
    padding:3px 0;
    border-radius:6px;
    text-align:center;
    font-size:.55rem;
    font-weight:950;
    background:rgba(255,255,255,.06);
}
.team-squad-role.gk{color:#f3d66f}
.team-squad-role.df{color:#8ab9ff}
.team-squad-role.mf{color:#8ce1a7}
.team-squad-role.fw{color:#f3a089}
.team-squad-item img{
    position:static!important;
    width:34px!important;height:34px!important;
    min-width:34px!important;max-width:34px!important;
    min-height:34px!important;max-height:34px!important;
    border-radius:8px!important;
    object-fit:cover!important;
}
.team-squad-item strong{
    display:block;
    font-size:.65rem;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.team-squad-item small{
    display:block;
    margin-top:1px;
    font-size:.55rem;
    opacity:.45;
}
.team-squad-empty{
    grid-column:2/-1;
    font-size:.6rem;
    opacity:.4;
}

.coaches-mini-section{margin-top:28px;padding-top:24px;border-top:1px solid rgba(105,224,255,.12)}
.coaches-mini-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.coaches-mini-heading h3{margin:3px 0 4px;font-size:1.35rem}.coaches-mini-heading p{margin:0;color:#8fa3bb;font-size:.68rem}
.coaches-mini-count{padding:7px 10px;border:1px solid rgba(105,224,255,.14);border-radius:999px;color:#8ba0b8;font-size:.56rem}.coaches-mini-count b{color:#69ddfa}
.coaches-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.coach-mini-card{overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:linear-gradient(145deg,rgba(13,27,45,.98),rgba(5,12,22,.98));box-shadow:0 14px 30px rgba(0,0,0,.18)}
.coach-mini-art{position:relative;height:145px;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(75,180,220,.2),transparent 65%),#071321}
.coach-mini-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}
.coach-mini-art span{position:absolute;left:9px;bottom:8px;padding:4px 7px;border:1px solid rgba(255,255,255,.13);border-radius:999px;color:#eaf7ff;background:rgba(5,15,27,.82);font-size:.5rem;font-weight:900;backdrop-filter:blur(8px)}
.coach-mini-copy{padding:11px}.coach-mini-copy h4{margin:0 0 6px;color:#fff;font-size:.76rem}.coach-mini-copy small{display:block;color:#5fcce9;font-size:.47rem;font-weight:900;letter-spacing:.08em}.coach-mini-copy>strong{display:block;margin-top:3px;color:#c9d7e8;font-size:.6rem;line-height:1.35}
.coach-mini-copy p{display:-webkit-box;min-height:46px;margin:7px 0 10px;overflow:hidden;color:#879ab1;font-size:.55rem;line-height:1.4;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.coach-mini-copy button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:8px 9px;border:1px solid rgba(105,224,255,.14);border-radius:9px;color:#aeefff;background:rgba(105,224,255,.055);font-size:.54rem;font-weight:850;cursor:pointer}.coach-mini-copy button:hover{border-color:#69ddfa;background:rgba(105,224,255,.11)}

.team-coach-selector{display:grid;grid-template-columns:125px minmax(0,1.35fr) minmax(220px,.85fr);gap:16px;margin-bottom:17px;padding:17px;border:1px solid rgba(117,211,238,.14);border-radius:19px;background:linear-gradient(120deg,rgba(12,30,49,.98),rgba(6,14,25,.98));box-shadow:0 16px 36px rgba(0,0,0,.2)}
.team-coach-art{position:relative;min-height:150px;overflow:hidden;border-radius:13px;background:radial-gradient(circle at 50% 28%,rgba(105,224,255,.17),transparent 62%),#071321}.team-coach-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.team-coach-art span{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:999px;color:#dff7ff;background:rgba(3,12,22,.82);font-size:.48rem;font-weight:900}
.team-coach-main{display:grid;align-content:start;gap:12px}.team-coach-main label{display:grid;gap:5px}.team-coach-main label>span,.team-coach-passive small,.team-coach-formation small{color:#6ed8f5;font-size:.5rem;font-weight:900;letter-spacing:.08em}.team-coach-main select{min-height:43px;padding:0 11px;border:1px solid rgba(105,224,255,.15);border-radius:10px;color:#fff;background:#071523;font:inherit;font-size:.67rem}.team-coach-main select option{background:#071523}
.team-coach-passive strong,.team-coach-formation strong{display:block;margin:4px 0;color:#f0f7ff;font-size:.71rem}.team-coach-passive p,.team-coach-formation p{margin:0;color:#94a8be;font-size:.58rem;line-height:1.5}
.team-coach-formation{align-self:stretch;padding:13px;border:1px solid rgba(255,210,99,.12);border-radius:12px;background:rgba(255,210,99,.035)}.team-coach-formation small{color:#e7c76f}.team-coach-formation strong{color:#f3d986}

.team-synergy-panel{
    margin-top:18px;
    padding:20px;
    border:1px solid rgba(105,224,255,.14);
    border-radius:20px;
    background:linear-gradient(145deg,rgba(12,26,43,.98),rgba(5,12,22,.98));
    box-shadow:0 18px 42px rgba(0,0,0,.22);
}
.team-synergy-coach-impact{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:11px;padding:10px 12px;border:1px solid rgba(105,224,255,.13);border-radius:12px;background:rgba(105,224,255,.045)}
.team-synergy-coach-impact img{width:54px;height:54px;border-radius:10px;object-fit:contain;background:#071321}.team-synergy-coach-impact small{display:block;color:#66d7f4;font-size:.47rem;font-weight:900;letter-spacing:.08em}.team-synergy-coach-impact strong{display:block;margin:3px 0;color:#eef8ff;font-size:.68rem}.team-synergy-coach-impact p{margin:0;color:#91a5bc;font-size:.56rem;line-height:1.4}
.team-synergy-heading{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:17px;
}
.team-synergy-heading h3{margin:3px 0 5px;font-size:1.18rem}
.team-synergy-heading p{margin:0;color:#91a4bc;font-size:.68rem}
.team-synergy-level{
    padding:7px 10px;
    border:1px solid rgba(105,224,255,.18);
    border-radius:999px;
    color:#75ddfa;
    background:rgba(105,224,255,.06);
    font-size:.55rem;
    font-weight:900;
    letter-spacing:.08em;
    white-space:nowrap;
}
.team-synergy-overview{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}
.team-synergy-stat{
    display:grid;
    grid-template-columns:1fr auto;
    gap:3px 10px;
    padding:13px 14px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:13px;
    color:#eaf4ff;
    background:rgba(255,255,255,.025);
    text-align:left;
    cursor:pointer;
}
.team-synergy-stat small{font-size:.55rem;font-weight:900;letter-spacing:.08em;opacity:.65}
.team-synergy-stat strong{grid-row:1/3;grid-column:2;font-size:1.45rem;line-height:1}
.team-synergy-stat span{font-size:.58rem;opacity:.48}
.team-synergy-stat.active strong{color:#65e3a4}
.team-synergy-stat.inactive strong{color:#ff8b93}
.team-synergy-stat.conditional strong{color:#f3ce72}
.team-synergy-stat:hover,.team-synergy-stat.selected{border-color:rgba(105,224,255,.42);background:rgba(105,224,255,.07)}
.team-synergy-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:12px 0;
}
.team-synergy-toolbar>button{
    padding:7px 11px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:9px;
    color:#adbed2;
    background:rgba(255,255,255,.03);
    font-size:.6rem;
    font-weight:850;
    cursor:pointer;
}
.team-synergy-toolbar>button.active{border-color:#65cce8;color:#fff;background:rgba(101,204,232,.12)}
.team-synergy-labels{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}
.team-synergy-labels span{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.045);color:#8fa4bd;font-size:.53rem}
.team-synergy-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.team-synergy-item{
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    gap:11px;
    padding:12px;
    border:1px solid rgba(255,255,255,.07);
    border-left:3px solid #65e3a4;
    border-radius:12px;
    background:rgba(255,255,255,.025);
}
.team-synergy-item.inactive{border-left-color:#ff737e;background:rgba(255,91,105,.035)}
.team-synergy-item.conditional{border-left-color:#e8c061;background:rgba(232,192,97,.03)}
.team-synergy-item>img{width:46px;height:46px;border-radius:10px;object-fit:cover;background:#07111e}
.team-synergy-item-copy{min-width:0}
.team-synergy-item-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:5px}
.team-synergy-item-top small{color:#74879e;font-size:.5rem}
.team-synergy-status{padding:3px 6px;border-radius:999px;color:#59dfa0;background:rgba(89,223,160,.1);font-size:.48rem;font-weight:950;text-transform:uppercase}
.team-synergy-item.inactive .team-synergy-status{color:#ff8b93;background:rgba(255,139,147,.1)}
.team-synergy-item.conditional .team-synergy-status{color:#f3ce72;background:rgba(243,206,114,.1)}
.team-synergy-item-copy>strong{display:block;color:#f4f8ff;font-size:.72rem;line-height:1.3}
.team-synergy-owner{display:block;margin-top:2px;color:#71cfe9;font-size:.56rem;font-weight:800}
.team-synergy-item p{margin:7px 0;color:#b3c1d2;font-size:.59rem;line-height:1.5}
.team-synergy-reason{padding-top:7px;border-top:1px solid rgba(255,255,255,.055);color:#7fd5a6;font-size:.55rem;line-height:1.4}
.team-synergy-item.inactive .team-synergy-reason{color:#ff9da4}
.team-synergy-item.conditional .team-synergy-reason{color:#dfc57f}
.team-synergy-empty{display:flex;min-height:155px;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:24px;border:1px dashed rgba(105,224,255,.13);border-radius:14px;text-align:center;color:#8499b2}
.team-synergy-empty b{font-size:1.5rem;color:#66d7f4}.team-synergy-empty strong{color:#dce9f8;font-size:.75rem}.team-synergy-empty span{font-size:.6rem}.team-synergy-empty.compact{grid-column:1/-1;min-height:100px}

@media(max-width:900px){
    .teams-heading{display:block}
    .team-create-main{margin-top:12px}
    .team-builder-layout{grid-template-columns:1fr}
    .team-player-picker{max-height:none}
    .team-player-list{max-height:430px}
    .team-synergy-list{grid-template-columns:1fr}
    .coaches-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .team-coach-selector{grid-template-columns:105px minmax(0,1fr)}
    .team-coach-formation{grid-column:1/-1}
}
@media(max-width:650px){
    .comparator-level-controls{grid-template-columns:1fr 1fr}.comparator-level-controls>div{grid-column:1/-1}
    .team-editor-topbar{
        align-items:flex-start;
        flex-direction:column;
    }
    .team-editor-actions{
        width:100%;
        display:grid;
        grid-template-columns:repeat(3,1fr);
    }
    .team-editor-header{
        align-items:stretch;
        flex-direction:column;
    }
    .team-editor-title-group{
        grid-template-columns:1fr;
    }
    .team-completion{justify-content:flex-start}
    .team-synergy-panel{padding:15px}
    .team-synergy-heading{flex-direction:column}
    .team-synergy-overview{grid-template-columns:1fr}
    .team-synergy-toolbar{align-items:flex-start;flex-direction:column}
    .team-synergy-labels{justify-content:flex-start}
    .coaches-mini-heading{align-items:flex-start;flex-direction:column}.coaches-mini-grid{grid-template-columns:1fr}
    .team-coach-selector{grid-template-columns:88px minmax(0,1fr);padding:12px}.team-coach-art{min-height:130px}.team-coach-formation{grid-column:1/-1}
    .football-pitch{
        min-height:390px;
        aspect-ratio:.8;
    }
    #teamFormationSlots .formation-slot{
        width:76px;
    }
    #teamFormationSlots .formation-slot-card{
        width:50px;height:50px;
    }
    #teamFormationSlots .formation-slot-card img{
        width:44px!important;height:44px!important;
        min-width:44px!important;max-width:44px!important;
        min-height:44px!important;max-height:44px!important;
    }
    .formation-slot-name{max-width:76px;font-size:.56rem}
}


/* =========================================================
   EQUIPOS · RETRATOS HD + ARRASTRAR JUGADORES
   ========================================================= */

/* Más tamaño y sin recortar el retrato: las imágenes fuente son 520×620. */
#teamFormationSlots .formation-slot{
    width:104px !important;
}
#teamFormationSlots .formation-slot-card{
    width:68px !important;
    height:68px !important;
    background:rgba(8,17,32,.92) !important;
    overflow:hidden !important;
    isolation:isolate;
}
#teamFormationSlots .formation-slot-card img{
    display:block !important;
    position:static !important;
    width:64px !important;
    height:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    min-height:64px !important;
    max-height:64px !important;
    object-fit:contain !important;
    object-position:center center !important;
    border-radius:50% !important;
    image-rendering:auto !important;
    filter:none !important;
    opacity:1 !important;
    transform:none !important;
    backface-visibility:hidden;
}
#teamFormationSlots .formation-slot-name{
    max-width:104px !important;
    font-size:.63rem !important;
}

/* El cursor deja claro que los jugadores se pueden mover. */
#teamFormationSlots .formation-slot.has-player{
    cursor:grab !important;
}
#teamFormationSlots .formation-slot.has-player:active{
    cursor:grabbing !important;
}
#teamFormationSlots .formation-slot.dragging{
    opacity:.42;
}
#teamFormationSlots .formation-slot.dragging .formation-slot-card{
    transform:scale(.94) !important;
}
#teamFormationSlots .formation-slot.drag-over .formation-slot-card{
    border-color:#7ce9ff !important;
    box-shadow:
      0 0 0 5px rgba(61,213,255,.16),
      0 0 24px rgba(61,213,255,.24),
      0 8px 15px rgba(0,0,0,.35) !important;
    transform:translateY(-2px) scale(1.08) !important;
}
#teamFormationSlots .formation-slot.drag-over::after{
    content:"Soltar aquí";
    position:absolute;
    left:50%;
    top:-24px;
    transform:translateX(-50%);
    padding:3px 7px;
    border-radius:999px;
    background:rgba(7,20,34,.94);
    border:1px solid rgba(91,223,255,.30);
    color:#9cedff;
    font-size:.53rem;
    font-weight:850;
    white-space:nowrap;
}

/* También evitamos que miniaturas del selector se suavicen por reglas heredadas. */
.team-player-option img,
.team-squad-item img,
.team-card-faces img{
    image-rendering:auto !important;
    filter:none !important;
    opacity:1 !important;
}

@media(max-width:650px){
    #teamFormationSlots .formation-slot{width:86px !important}
    #teamFormationSlots .formation-slot-card{
        width:56px !important;
        height:56px !important;
    }
    #teamFormationSlots .formation-slot-card img{
        width:52px !important;
        height:52px !important;
        min-width:52px !important;
        max-width:52px !important;
        min-height:52px !important;
        max-height:52px !important;
    }
    #teamFormationSlots .formation-slot-name{
        max-width:86px !important;
        font-size:.57rem !important;
    }
}


/* =========================================================
   GACHA · CENTRO MEJORADO
   ========================================================= */
.gacha-overview{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:18px 0;
}
.gacha-overview-card{
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:15px;
    background:rgba(8,16,31,.48);
}
.gacha-overview-card>span{
    display:block;
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.09em;
    opacity:.55;
}
.gacha-overview-card strong{
    display:block;
    margin:4px 0 2px;
    font-size:1.65rem;
    line-height:1;
}
.gacha-overview-card small{font-size:.65rem;opacity:.45}
.gacha-overview-card.active strong{color:#69e0ff}
.gacha-overview-card.permanent strong{color:#a8e889}
.gacha-overview-card.ended strong{color:#aeb9c5}

.gacha-spotlight{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
    min-height:255px;
    margin:0 0 18px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:20px;
    overflow:hidden;
    background:rgba(8,16,31,.62);
}
.gacha-spotlight[hidden]{display:none!important}
.gacha-spotlight-banner{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:255px;
    overflow:hidden;
    background:#0d1828;
}
.gacha-spotlight-banner img{
    width:100%;
    height:100%;
    min-height:255px;
    object-fit:contain;
    object-position:center;
    background:#0a1423;
}
.gacha-spotlight-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,transparent 55%,rgba(8,16,31,.7));
}
.gacha-spotlight-label{
    position:absolute;
    top:14px;left:14px;
    padding:6px 9px;
    border-radius:999px;
    background:rgba(5,13,24,.82);
    border:1px solid rgba(103,225,255,.23);
    color:#82e9ff;
    font-size:.59rem;
    font-weight:950;
    letter-spacing:.08em;
}
.gacha-spotlight-arrow{position:absolute;z-index:4;top:50%;display:grid;place-items:center;width:38px;height:48px;padding:0;border:1px solid rgba(126,231,255,.32);border-radius:11px;color:#e8fbff;background:rgba(3,12,23,.76);backdrop-filter:blur(8px);font-family:inherit;font-size:28px;font-weight:700;line-height:1;cursor:pointer;transform:translateY(-50%);transition:background .18s ease,border-color .18s ease,transform .18s ease}
.gacha-spotlight-arrow:hover{border-color:#79e7ff;background:rgba(7,29,45,.92);transform:translateY(-50%) scale(1.05)}
.gacha-spotlight-arrow.previous{left:14px}
.gacha-spotlight-arrow.next{right:14px}
.gacha-spotlight-page{position:absolute;z-index:4;left:50%;bottom:12px;padding:5px 9px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#d9e9f6;background:rgba(3,10,19,.72);font-size:9px;font-weight:900;letter-spacing:.7px;transform:translateX(-50%);backdrop-filter:blur(8px)}
.gacha-spotlight-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:22px;
}
.gacha-spotlight-info h3{
    margin:4px 0 11px;
    font-size:1.12rem;
    line-height:1.28;
}
.gacha-spotlight-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    font-size:.66rem;
    opacity:.62;
}
.gacha-spotlight-meta b{color:#7be6ff}
.gacha-spotlight-characters{
    display:grid;
    gap:6px;
    margin:14px 0;
}
.gacha-spotlight-characters.guaranteed-five{grid-template-columns:repeat(2,minmax(0,1fr))}
.gacha-spotlight-characters>div{
    display:flex;
    align-items:center;
    gap:9px;
}
.gacha-spotlight-characters img{
    position:static!important;
    width:42px!important;height:42px!important;
    min-width:42px!important;max-width:42px!important;
    min-height:42px!important;max-height:42px!important;
    border-radius:10px!important;
    object-fit:cover!important;
}
.gacha-spotlight-characters small{
    display:block;
    font-size:.53rem;
    letter-spacing:.07em;
    opacity:.45;
}
.gacha-spotlight-characters strong{display:block;font-size:.7rem}
.gacha-spotlight-open{align-self:flex-start}

.gacha-list-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:15px;
    margin:17px 0 11px;
}
.gacha-list-heading h3{margin:2px 0 0}
.gacha-list-heading>span{font-size:.66rem;opacity:.45;text-align:right}

.gacha-grid{
    grid-template-columns:repeat(auto-fill,minmax(275px,1fr))!important;
}
.gacha-card-v2{
    overflow:hidden;
    border-radius:17px!important;
    background:rgba(8,16,31,.54)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.gacha-card-v2.clickable:hover{
    transform:translateY(-2px);
    border-color:rgba(77,220,255,.24)!important;
    background:rgba(10,23,42,.72)!important;
}
.gacha-card-v2.ended{opacity:.67}
.gacha-card-v2 .gacha-banner{
    position:relative;
    aspect-ratio:8/3;
    overflow:hidden;
}
.gacha-card-v2 .gacha-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.gacha-banner-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    padding:9px;
    background:linear-gradient(180deg,rgba(5,12,23,.36),transparent 52%,rgba(5,12,23,.24));
}
.gacha-card-featured{
    display:flex;
    align-items:center;
}
.gacha-featured-face{
    position:relative;
    display:block;
    width:38px;height:38px;
    margin-left:-7px;
}
.gacha-featured-face:first-child{margin-left:0}
.gacha-featured-face img{
    width:38px!important;height:38px!important;
    border-radius:50%;
    object-fit:cover!important;
    border:2px solid rgba(13,24,40,.95);
    background:#101a2a;
}
.gacha-featured-face.main img{border-color:rgba(104,229,255,.8)}
.gacha-card-featured:has(.gacha-featured-face:nth-child(5)) .gacha-featured-face img{border-color:rgba(255,212,92,.75)}
.gacha-featured-face small{
    position:absolute;
    left:50%;bottom:-5px;
    transform:translateX(-50%);
    padding:1px 4px;
    border-radius:999px;
    background:#11243a;
    color:#9cecff;
    font-size:.45rem;
    font-weight:900;
}
.gacha-card-v2 .gacha-info{padding:13px 14px 12px}
.gacha-card-v2 .gacha-name{
    min-height:2.5em;
    font-size:.78rem;
    line-height:1.3;
}
.gacha-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:4px 10px;
    margin-top:8px;
    font-size:.58rem;
    opacity:.48;
}
.gacha-card-content{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    margin-top:10px;
}
.gacha-card-content>span{
    padding:5px 7px;
    border-radius:8px;
    background:rgba(255,255,255,.035);
    font-size:.57rem;
    opacity:.72;
}
.gacha-card-content b{color:#88e8ff}
.gacha-timer-chip{color:#91e9ff!important}
.gacha-timer-chip.permanent{color:#b8eb9b!important}
.gacha-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:10px;
    padding-top:9px;
    border-top:1px solid rgba(255,255,255,.07);
    font-size:.61rem;
    font-weight:750;
    opacity:.66;
}
.gacha-card-v2.clickable .gacha-card-footer{color:#a8ecff;opacity:.9}

/* Ficha individual */
.gacha-detail-v2 .gacha-detail-top{
    border-radius:18px;
    overflow:hidden;
}
.gacha-detail-statusbar{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin:12px 0 18px;
}
.gacha-detail-statusbar span{
    padding:10px;
    border-radius:11px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.065);
    font-size:.63rem;
    opacity:.72;
}
.gacha-detail-statusbar b{
    display:block;
    margin-bottom:3px;
    font-size:.55rem;
    letter-spacing:.07em;
    text-transform:uppercase;
    opacity:.6;
}
.gacha-detail-featured{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:8px;
    margin:10px 0 16px;
}
.gacha-detail-featured a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:13px;
    background:rgba(255,255,255,.03);
    color:inherit;
    text-decoration:none;
}
.gacha-detail-featured a.main{
    border-color:rgba(72,218,255,.18);
    background:rgba(60,190,230,.055);
}
.gacha-detail-featured img{
    position:static!important;
    width:54px!important;height:54px!important;
    min-width:54px!important;max-width:54px!important;
    min-height:54px!important;max-height:54px!important;
    border-radius:12px!important;
    object-fit:cover!important;
}
.gacha-detail-featured small{
    display:block;
    font-size:.51rem;
    letter-spacing:.07em;
    opacity:.45;
}
.gacha-detail-featured strong{display:block;margin:2px 0;font-size:.75rem}
.gacha-detail-featured em{display:block;font-size:.58rem;opacity:.45;font-style:normal}

@media(max-width:850px){
    .gacha-spotlight{grid-template-columns:1fr}
    .gacha-spotlight-shade{background:linear-gradient(180deg,transparent 62%,rgba(8,16,31,.42))}
    .gacha-detail-statusbar{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
    .gacha-overview{grid-template-columns:1fr}
    .gacha-list-heading{display:block}
    .gacha-list-heading>span{display:block;text-align:left;margin-top:5px}
    .gacha-detail-statusbar{grid-template-columns:1fr}
    .gacha-spotlight-arrow{width:34px;height:42px}
}


/* FIX: etiqueta "En curso" visible sobre los banners de Gacha */
.gacha-banner-overlay{
    z-index: 3 !important;
    pointer-events: none;
}
.gacha-status-badge{
    position: relative !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.gacha-status-badge.active{
    color: #dffaff !important;
    background: rgba(5, 31, 45, .94) !important;
    border: 1px solid rgba(99, 226, 255, .72) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .38) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .8) !important;
}


/* =========================================================
   INICIO · PERSONAJES DESTACADOS · REDISEÑO
   ========================================================= */
#personajes-destacados{
    position:relative;
}
#personajes-destacados .content-section-heading{
    margin-bottom:18px;
}
#personajes-destacados .content-section-heading h2{
    margin-top:4px;
    font-size:1.55rem;
    letter-spacing:-.025em;
}
#personajes-destacados .content-section-heading p{
    max-width:580px;
    margin-top:5px;
    color:#71839c;
    font-size:.76rem;
    line-height:1.55;
}
#personajes-destacados .featured-view-all{
    min-height:38px;
    padding:0 15px;
    border-radius:11px;
    background:rgba(18,41,60,.7);
}

#personajes-destacados .featured{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
}
#personajes-destacados .featured-card{
    --featured-accent:#65dffc;
    --featured-accent-rgb:101,223,252;
    position:relative;
    display:grid !important;
    grid-template-columns:190px minmax(0,1fr);
    min-height:190px;
    border:1px solid rgba(125,157,192,.14) !important;
    border-radius:18px !important;
    background:
      radial-gradient(circle at 0 0,rgba(0,210,255,.075),transparent 38%),
      linear-gradient(135deg,rgba(13,24,42,.98),rgba(7,13,24,.98)) !important;
    box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
    isolation:isolate;
}
#personajes-destacados .featured-card.element-fuego{--featured-accent:#ff675e;--featured-accent-rgb:255,103,94}
#personajes-destacados .featured-card.element-bosque{--featured-accent:#6ee59a;--featured-accent-rgb:110,229,154}
#personajes-destacados .featured-card.element-aire{--featured-accent:#65dffc;--featured-accent-rgb:101,223,252}
#personajes-destacados .featured-card.element-montana{--featured-accent:#e7b76c;--featured-accent-rgb:231,183,108}
#personajes-destacados .featured-card.element-fuego,
#personajes-destacados .featured-card.element-bosque,
#personajes-destacados .featured-card.element-aire,
#personajes-destacados .featured-card.element-montana{
    border-color:rgba(var(--featured-accent-rgb),.24) !important;
    background:
      radial-gradient(circle at 0 0,rgba(var(--featured-accent-rgb),.12),transparent 40%),
      linear-gradient(135deg,rgba(13,24,42,.98),rgba(7,13,24,.98)) !important;
}
#personajes-destacados .featured-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    border-radius:inherit;
    background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 35%);
    pointer-events:none;
}
#personajes-destacados .featured-card:hover{
    transform:translateY(-3px) !important;
    border-color:rgba(0,210,255,.34) !important;
    box-shadow:0 14px 34px rgba(0,0,0,.32),0 0 0 1px rgba(0,210,255,.035) !important;
}
#personajes-destacados .featured-card.element-fuego:hover,
#personajes-destacados .featured-card.element-bosque:hover,
#personajes-destacados .featured-card.element-aire:hover,
#personajes-destacados .featured-card.element-montana:hover{
    border-color:rgba(var(--featured-accent-rgb),.55) !important;
    box-shadow:0 14px 34px rgba(0,0,0,.32),0 0 20px rgba(var(--featured-accent-rgb),.09) !important;
}

#personajes-destacados .featured-image{
    position:relative;
    height:auto !important;
    min-height:190px;
    border:0 !important;
    border-right:1px solid rgba(125,157,192,.1) !important;
    background:
      radial-gradient(circle at 50% 45%,rgba(41,101,139,.28),transparent 55%),
      linear-gradient(180deg,rgba(12,25,43,.6),rgba(7,14,26,.35)) !important;
}
#personajes-destacados .featured-card.element-fuego .featured-image,
#personajes-destacados .featured-card.element-bosque .featured-image,
#personajes-destacados .featured-card.element-aire .featured-image,
#personajes-destacados .featured-card.element-montana .featured-image{
    border-right-color:rgba(var(--featured-accent-rgb),.16) !important;
    background:
      radial-gradient(circle at 50% 55%,rgba(var(--featured-accent-rgb),.24),transparent 58%),
      linear-gradient(180deg,rgba(12,25,43,.68),rgba(7,14,26,.38)) !important;
}
#personajes-destacados .featured-image::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:45%;
    background:linear-gradient(transparent,rgba(6,13,23,.48));
    pointer-events:none;
}
#personajes-destacados .featured-image img{
    position:absolute !important;
    inset:8px 8px 0 !important;
    width:calc(100% - 16px) !important;
    height:calc(100% - 8px) !important;
    object-fit:contain !important;
    object-position:center bottom !important;
    filter:drop-shadow(0 10px 14px rgba(0,0,0,.3));
}
#personajes-destacados .featured-card:hover .featured-image img{
    transform:translateY(-2px) scale(1.025) !important;
}
#personajes-destacados .featured-ribbon{
    position:absolute;
    z-index:4;
    top:11px;left:11px;
    padding:5px 7px;
    border:1px solid rgba(95,225,255,.2);
    border-radius:8px;
    background:rgba(6,18,31,.78);
    color:#84e8ff;
    font-size:.5rem;
    font-weight:950;
    letter-spacing:.09em;
    backdrop-filter:blur(5px);
}
#personajes-destacados .featured-card .featured-ribbon{
    border-color:rgba(var(--featured-accent-rgb),.3);
    color:var(--featured-accent);
}

#personajes-destacados .featured-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:20px !important;
}
#personajes-destacados .featured-card-topline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:6px;
    color:#58708e;
    font-size:.54rem;
    font-weight:900;
    letter-spacing:.1em;
}
#personajes-destacados .featured-card-topline span:last-child{
    color:#ffd86a;
    font-size:.75rem;
}
#personajes-destacados .featured-card-topline .featured-rarity{
    display:inline-flex;
    align-items:center;
    gap:2px;
    padding:5px 9px;
    border:1px solid rgba(255,208,70,.6);
    border-radius:7px;
    background:linear-gradient(145deg,rgba(83,51,5,.94),rgba(34,21,4,.94));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 0 14px rgba(255,183,38,.16);
    color:#ffd65a;
    font-size:inherit;
    letter-spacing:0;
}
#personajes-destacados .featured-rarity .rarity-star{
    color:#ffd65a;
    font-size:10px;
    font-style:normal;
    line-height:1;
    text-shadow:0 0 7px rgba(255,194,49,.72);
}
#personajes-destacados .featured-rarity .rarity-star-main{
    color:#fff0a2;
    font-size:13px;
    transform:translateY(-1px);
}
#personajes-destacados .featured-name{
    font-size:1.12rem !important;
    line-height:1.15;
    letter-spacing:-.015em !important;
}
#personajes-destacados .featured-type{
    gap:5px !important;
    margin-top:10px !important;
    letter-spacing:0 !important;
}
#personajes-destacados .featured-type span{
    padding:4px 7px !important;
    border-radius:7px !important;
    font-size:.56rem;
}
#personajes-destacados .featured-card-action{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
    padding-top:15px;
    border-top:1px solid rgba(125,157,192,.09);
    color:#7590ad;
    font-size:.62rem;
    font-weight:750;
}
#personajes-destacados .featured-card-action b{
    color:#69e2ff;
    font-size:.9rem;
    transition:transform .2s ease;
}
#personajes-destacados .featured-card:hover .featured-card-action{
    color:#b7d8e8;
}
#personajes-destacados .featured-card:hover .featured-card-action b{
    transform:translateX(3px);
}

@media(max-width:850px){
    #personajes-destacados .featured{
        grid-template-columns:1fr !important;
    }
}
@media(max-width:520px){
    #personajes-destacados .featured-card{
        grid-template-columns:125px minmax(0,1fr);
        min-height:160px;
    }
    #personajes-destacados .featured-image{min-height:160px}
    #personajes-destacados .featured-info{padding:14px !important}
    #personajes-destacados .featured-name{font-size:.95rem !important}
    #personajes-destacados .featured-ribbon{font-size:.44rem;padding:4px 5px}
    #personajes-destacados .featured-card-action{padding-top:10px}
}

/* =========================================================
   COMPARADOR · REDISEÑO VISUAL 2026
   ========================================================= */
#comparador .comparator-section{
    position:relative;
    max-width:1220px;
}
#comparador .content-section-heading{
    position:relative;
    overflow:hidden;
    padding:24px 26px;
    border:1px solid rgba(91,211,255,.14);
    border-radius:22px;
    background:
      radial-gradient(circle at 8% 0%,rgba(46,185,255,.12),transparent 35%),
      linear-gradient(145deg,rgba(10,24,43,.88),rgba(6,14,27,.7));
}
#comparador .content-section-heading::after{
    content:"VS";
    position:absolute;
    right:28px;
    top:50%;
    transform:translateY(-50%);
    font-size:4.8rem;
    line-height:1;
    font-weight:1000;
    font-style:italic;
    letter-spacing:-.09em;
    color:rgba(100,224,255,.055);
    pointer-events:none;
}
#comparador .content-section-heading h2{font-size:clamp(1.45rem,3vw,2rem);margin-top:4px}
#comparador .content-section-heading p{max-width:650px;margin-bottom:0}

#comparador .comparator-controls{
    position:relative;
    margin:18px 0;
    padding:15px;
    border:1px solid rgba(255,255,255,.085);
    border-radius:19px;
    background:rgba(7,16,29,.62);
}
#comparador .comparator-select-block{
    position:relative;
    padding:11px 12px 12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:14px;
    background:rgba(255,255,255,.025);
}
#comparador .comparator-select-block>span{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:1px;
    font-weight:900;
    letter-spacing:.09em;
}
#comparador .comparator-select-block:first-child>span::before,
#comparador .comparator-select-block:last-child>span::before{
    content:"";
    width:7px;height:7px;border-radius:50%;
    background:#64dfff;
    box-shadow:0 0 0 4px rgba(100,223,255,.09);
}
#comparador .comparator-select-block:last-child>span::before{
    background:#a7b9ff;
    box-shadow:0 0 0 4px rgba(167,185,255,.08);
}
#comparador .comparator-select-block select{
    min-height:46px;
    border-radius:11px;
    font-weight:750;
    background-color:rgba(3,11,22,.72);
}
#comparador .comparator-search-field{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:42px;
    margin:9px 0 7px;
    padding:0 12px;
    border:1px solid rgba(100,223,255,.18);
    border-radius:11px;
    background:rgba(2,9,18,.72);
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
#comparador .comparator-search-field:focus-within{
    border-color:rgba(100,223,255,.65);
    background:rgba(3,14,27,.9);
    box-shadow:0 0 0 3px rgba(100,223,255,.07);
}
#comparador .comparator-search-field>span{flex:0 0 auto;color:#64dfff;font-size:19px;line-height:1}
#comparador .comparator-search-field input{
    width:100%;
    min-width:0;
    padding:10px 0;
    border:0;
    outline:0;
    background:transparent;
    color:#eefbff;
    font:inherit;
    font-size:13px;
    font-weight:700;
}
#comparador .comparator-search-field input::placeholder{color:#60768f;font-weight:600}
#comparador .comparator-search-field input::-webkit-search-cancel-button{cursor:pointer;filter:invert(1);opacity:.55}
#comparador .comparator-select-block select:disabled{cursor:not-allowed;color:#718095;opacity:.75}
#comparador .compare-swap-btn{
    align-self:center;
    width:46px;
    height:46px;
    border-radius:50%;
    border:1px solid rgba(100,223,255,.28);
    background:linear-gradient(145deg,rgba(28,91,126,.8),rgba(12,42,68,.88));
    color:#e8fbff;
    box-shadow:0 0 0 5px rgba(52,191,239,.045),0 9px 22px rgba(0,0,0,.22);
    transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
#comparador .compare-swap-btn:hover{
    transform:rotate(180deg) scale(1.05);
    border-color:rgba(104,229,255,.65);
}

#comparador .comparator-summary{
    position:relative;
    gap:16px;
    margin-top:6px;
}
#comparador .compare-player-card{
    position:relative;
    isolation:isolate;
    min-height:154px;
    padding:20px;
    border-radius:21px;
    overflow:hidden;
    box-shadow:0 14px 34px rgba(0,0,0,.16);
}
#comparador .compare-player-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background:linear-gradient(135deg,rgba(18,43,68,.94),rgba(6,15,29,.91));
}
#comparador .compare-player-card::after{
    content:"";
    position:absolute;
    z-index:-1;
    width:180px;height:180px;
    border-radius:50%;
    filter:blur(4px);
    opacity:.15;
    top:-95px;
}
#comparador .compare-player-a{
    border-color:rgba(75,210,255,.27);
}
#comparador .compare-player-a::after{left:-55px;background:#38d4ff}
#comparador .compare-player-b{
    border-color:rgba(159,179,255,.23);
    flex-direction:row-reverse;
    text-align:right;
}
#comparador .compare-player-b::after{right:-55px;background:#9caeff}
#comparador .compare-player-b .compare-meta,
#comparador .compare-player-b .compare-tags{justify-content:flex-end}
#comparador .compare-player-image-wrap{
    flex-basis:116px;
    width:116px;height:116px;
    border-radius:19px;
    border:1px solid rgba(255,255,255,.1);
    background:
      radial-gradient(circle at 50% 35%,rgba(94,214,255,.13),transparent 58%),
      rgba(255,255,255,.035);
    box-shadow:inset 0 0 28px rgba(255,255,255,.025);
}
#comparador .compare-player-image-wrap img{
    width:94%;height:94%;
    filter:drop-shadow(0 8px 9px rgba(0,0,0,.28));
}
#comparador .compare-side-label{
    display:inline-flex;
    padding:4px 8px;
    border:1px solid rgba(90,219,255,.18);
    border-radius:999px;
    background:rgba(57,192,239,.075);
    margin-bottom:8px;
}
#comparador .compare-player-b .compare-side-label{
    color:#cdd5ff;
    border-color:rgba(174,187,255,.18);
    background:rgba(151,166,255,.065);
}
#comparador .compare-player-info h3{
    font-size:1.32rem;
    letter-spacing:-.02em;
    color:#f4fbff;
}
#comparador .compare-meta{
    opacity:.78;
    font-size:.72rem;
}
#comparador .compare-meta span{
    padding:3px 0;
}
#comparador .compare-tag{
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.1);
}
#comparador .compare-vs{
    align-self:center;
    justify-self:center;
    width:58px;height:58px;
    border-radius:50%;
    opacity:1;
    font-style:italic;
    font-size:1rem;
    letter-spacing:-.05em;
    color:#ecfbff;
    border:1px solid rgba(111,224,255,.27);
    background:radial-gradient(circle at 35% 30%,rgba(88,216,255,.24),rgba(9,27,46,.95) 70%);
    box-shadow:0 0 0 6px rgba(73,202,244,.045),0 10px 25px rgba(0,0,0,.3);
}

#comparador .comparator-stats-wrap,
#comparador .comparator-detail-panel{
    border-radius:21px;
    border-color:rgba(255,255,255,.085);
    background:linear-gradient(145deg,rgba(9,20,36,.76),rgba(5,13,25,.6));
    box-shadow:0 10px 28px rgba(0,0,0,.1);
}
#comparador .comparator-stats-wrap{padding:20px}
#comparador .comparator-section-head{
    padding-bottom:12px;
    border-bottom:1px solid rgba(255,255,255,.07);
}
#comparador .compare-level-toggle{
    min-width:82px;
    border-radius:999px;
    border-color:rgba(93,219,255,.28);
    background:rgba(51,179,222,.11);
    font-weight:900;
    letter-spacing:.04em;
}
#comparador .comparator-stats{gap:8px}
#comparador .compare-stat-row{
    min-height:64px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.045);
    border-radius:14px;
    background:rgba(255,255,255,.022);
    transition:background .15s ease,border-color .15s ease;
}
#comparador .compare-stat-row:hover{
    background:rgba(255,255,255,.036);
    border-color:rgba(111,222,255,.105);
}
#comparador .compare-stat-player strong{
    display:inline-block;
    min-width:52px;
    margin-bottom:7px;
    padding:3px 7px;
    border-radius:7px;
    font-size:.95rem;
    background:rgba(255,255,255,.035);
}
#comparador .compare-stat-player.winner strong{
    color:#8aeaff;
    background:rgba(69,206,246,.105);
    box-shadow:inset 0 0 0 1px rgba(89,221,255,.11);
}
#comparador .compare-stat-track{
    height:9px;
    border:1px solid rgba(255,255,255,.035);
    background:rgba(255,255,255,.045);
}
#comparador .compare-stat-player:not(.right) .compare-stat-track span{margin-left:auto}
#comparador .compare-stat-player:not(.right) .compare-stat-track span{
    background:linear-gradient(90deg,rgba(31,128,173,.78),rgba(81,224,255,.96));
}
#comparador .compare-stat-player.right .compare-stat-track span{
    background:linear-gradient(90deg,rgba(163,181,255,.92),rgba(94,133,212,.7));
}
#comparador .compare-stat-name span{
    font-size:.8rem;
    color:#e9f7fb;
}
#comparador .compare-stat-name small{
    opacity:.55;
    text-transform:uppercase;
    letter-spacing:.055em;
}

#comparador .comparator-detail-grid{gap:18px}
#comparador .comparator-detail-panel{padding:18px}
#comparador .compare-columns{gap:12px}
#comparador .compare-columns>div{
    min-width:0;
    padding:10px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:14px;
    background:rgba(255,255,255,.018);
}
#comparador .compare-columns h4{
    padding-bottom:8px;
    border-bottom:1px solid rgba(255,255,255,.055);
    color:#d9f7ff;
    font-size:.8rem;
}
#comparador .compare-tech-item{
    padding:11px;
    border:1px solid rgba(255,255,255,.05);
    background:rgba(255,255,255,.027);
    transition:border-color .14s ease,background .14s ease;
}
#comparador .compare-tech-item:hover{
    border-color:rgba(87,215,255,.13);
    background:rgba(60,186,225,.045);
}
#comparador .compare-tech-item strong{font-size:.78rem;color:#f2fbff}
#comparador .compare-tech-values b{color:#80e8ff}
#comparador .compare-passive-item{
    border-color:rgba(255,255,255,.065);
    background:rgba(255,255,255,.022);
}
#comparador .compare-passive-item[open]{
    border-color:rgba(89,218,255,.13);
    background:rgba(50,174,216,.04);
}
#comparador .compare-passive-item summary{
    position:relative;
    padding:11px 30px 11px 11px;
}
#comparador .compare-passive-item summary::after{
    content:"+";
    position:absolute;
    right:11px;top:50%;
    transform:translateY(-50%);
    color:#78e4ff;
    font-weight:900;
}
#comparador .compare-passive-item[open] summary::after{content:"−"}
#comparador .compare-passive-item p{
    border-top:1px solid rgba(255,255,255,.045);
    padding:10px 11px 12px;
}
#comparador .compare-passive-levels{display:grid;gap:6px;padding-top:4px}
#comparador .compare-passive-levels p{margin:0}
#comparador .compare-passive-levels p b{display:inline-block;min-width:44px;margin-right:7px;color:#70dcff;font-size:.58rem}

@media(max-width:900px){
    #comparador .comparator-summary{gap:8px}
    #comparador .compare-vs{width:48px;height:48px;margin:0 auto}
    #comparador .compare-player-b{flex-direction:row;text-align:left}
    #comparador .compare-player-b .compare-meta,
    #comparador .compare-player-b .compare-tags{justify-content:flex-start}
}
@media(max-width:680px){
    #comparador .content-section-heading{padding:20px 18px}
    #comparador .content-section-heading::after{font-size:3.4rem;right:18px}
    #comparador .comparator-controls{padding:12px}
    #comparador .compare-swap-btn{width:100%;height:40px;border-radius:12px}
    #comparador .compare-swap-btn:hover{transform:none}
    #comparador .compare-player-card{min-height:128px;padding:14px;gap:12px}
    #comparador .compare-player-image-wrap{width:88px;height:88px;flex-basis:88px}
    #comparador .compare-player-info h3{font-size:1.08rem}
    #comparador .compare-stat-row{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);padding:9px 7px}
    #comparador .compare-stat-player strong{font-size:.8rem;min-width:0;padding:2px 5px}
    #comparador .comparator-stats-wrap{padding:14px}
}

/* =========================================================
   PERSONAJES — COLECCIÓN DE CARTAS V3
   ========================================================= */
#personajes .characters-toolbar{margin:0 0 10px;padding:12px;border:1px solid rgba(113,159,207,.16);border-radius:17px 17px 10px 10px;background:linear-gradient(145deg,rgba(14,25,43,.88),rgba(7,14,26,.9));box-shadow:0 12px 32px rgba(0,0,0,.2)}
#personajes .characters-filters-v2{margin-top:0;border-radius:10px 10px 17px 17px;border-color:rgba(113,159,207,.16);background:linear-gradient(145deg,rgba(11,21,37,.92),rgba(6,13,24,.94));box-shadow:0 12px 32px rgba(0,0,0,.16)}
#personajes .characters-active-filters{margin:10px 0 0}
#personajes .characters-grid-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:30px 0 14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
#personajes .characters-grid-heading>div{display:flex;flex-direction:column;gap:3px}
#personajes .characters-grid-heading span{color:#00d2ff;font-size:9px;font-weight:900;letter-spacing:1.7px}
#personajes .characters-grid-heading h3{margin:0;color:#fff;font-size:20px}
#personajes .characters-grid-heading small{color:#7688a2;font-size:11px}
#personajes #charactersGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#charactersGrid .featured-card-wrap{--card-accent:#00d2ff;animation:collectionCardIn .32s both}
#charactersGrid .featured-card-wrap.element-fuego{--card-accent:#ff675e}
#charactersGrid .featured-card-wrap.element-bosque{--card-accent:#6ee59a}
#charactersGrid .featured-card-wrap.element-aire{--card-accent:#65dffc}
#charactersGrid .featured-card-wrap.element-montana{--card-accent:#e7b76c}
@keyframes collectionCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#charactersGrid .featured-card-wrap>.featured-card{position:relative;overflow:hidden;border:1px solid rgba(116,155,201,.18);border-radius:17px;background:linear-gradient(155deg,rgba(14,25,43,.98),rgba(6,12,22,.99));box-shadow:0 12px 30px rgba(0,0,0,.27);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
#charactersGrid .featured-card-wrap>.featured-card::before{content:'';position:absolute;inset:0 0 auto;height:2px;z-index:4;background:linear-gradient(90deg,transparent,var(--card-accent),transparent);opacity:.72}
#charactersGrid .featured-card-wrap>.featured-card:hover{transform:translateY(-5px);border-color:var(--card-accent);box-shadow:0 18px 38px rgba(0,0,0,.38),0 0 24px rgba(0,210,255,.1)}
#charactersGrid .featured-image{position:relative;height:255px;isolation:isolate;background:radial-gradient(circle at 50% 85%,rgba(0,210,255,.13),transparent 48%),linear-gradient(180deg,#101d31,#08111f);border-color:rgba(255,255,255,.07)}
#charactersGrid .element-fuego .featured-image{background:radial-gradient(circle at 50% 85%,rgba(255,103,94,.15),transparent 48%),linear-gradient(180deg,#211825,#0b101c)}
#charactersGrid .element-bosque .featured-image{background:radial-gradient(circle at 50% 85%,rgba(110,229,154,.14),transparent 48%),linear-gradient(180deg,#12231f,#08131a)}
#charactersGrid .element-montana .featured-image{background:radial-gradient(circle at 50% 85%,rgba(231,183,108,.14),transparent 48%),linear-gradient(180deg,#211d19,#0e1119)}
#charactersGrid .collection-card-grid{position:absolute;inset:0;z-index:-1;opacity:.24;background-image:linear-gradient(rgba(129,178,218,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(129,178,218,.13) 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(to bottom,#000,transparent 92%)}
#charactersGrid .featured-image img{width:calc(100% - 12px);height:calc(100% - 8px);margin-top:8px;object-position:center bottom;filter:drop-shadow(0 15px 12px rgba(0,0,0,.38))}
#charactersGrid .featured-card:hover .featured-image img{transform:translateY(-3px) scale(1.035)}

#charactersGrid .collection-card-rarity,#charactersGrid .collection-card-position{position:absolute;top:12px;z-index:3;padding:5px 8px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:rgba(4,11,21,.7);backdrop-filter:blur(8px);color:#d9e6f3;font-size:8px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
#charactersGrid .collection-card-rarity{left:12px;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#charactersGrid .collection-card-position{right:54px;color:var(--card-accent);border-color:var(--card-accent)}
#charactersGrid .rarity-legendario{color:#ffe084;border-color:rgba(255,213,91,.38);background:rgba(65,48,8,.72)}
#charactersGrid .rarity-one-stars,
#charactersGrid .rarity-two-stars,
#charactersGrid .rarity-three-stars{
    display:inline-flex;
    align-items:center;
    gap:2px;
    padding:5px 9px;
    border-color:rgba(255,208,70,.6);
    background:linear-gradient(145deg,rgba(83,51,5,.94),rgba(34,21,4,.94));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 0 14px rgba(255,183,38,.16);
    color:#ffd65a;
    letter-spacing:0;
}
#charactersGrid .rarity-one-stars{border-color:rgba(127,164,195,.5);background:linear-gradient(145deg,rgba(28,43,59,.94),rgba(10,19,29,.94));color:#b9cee0;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 12px rgba(105,158,198,.12)}
#charactersGrid .rarity-two-stars{border-color:rgba(73,207,226,.55);background:linear-gradient(145deg,rgba(9,58,69,.94),rgba(5,27,37,.94));color:#72e5f2;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 13px rgba(49,204,224,.15)}
#charactersGrid .rarity-one-stars .rarity-star,
#charactersGrid .rarity-two-stars .rarity-star,
#charactersGrid .rarity-three-stars .rarity-star{
    font-size:10px;
    line-height:1;
    text-shadow:0 0 7px rgba(255,194,49,.72);
}
#charactersGrid .rarity-one-stars .rarity-star-main,
#charactersGrid .rarity-two-stars .rarity-star-main,
#charactersGrid .rarity-three-stars .rarity-star-main{
    color:#fff0a2;
    font-size:13px;
    transform:translateY(-1px);
}
#charactersGrid .rarity-one-stars .rarity-star-main{color:#dceaf5;text-shadow:0 0 7px rgba(146,194,229,.6)}
#charactersGrid .rarity-two-stars .rarity-star-main{color:#c8fbff;text-shadow:0 0 7px rgba(73,224,239,.7)}
#charactersGrid .character-favorite-btn{top:9px;right:9px;width:34px;height:34px;border-radius:9px}
#charactersGrid .featured-card-wrap.is-favorite>.featured-card{border-color:rgba(255,210,79,.32)}
#charactersGrid .featured-info{padding:15px 15px 13px}
#charactersGrid .collection-card-team{overflow:hidden;margin-bottom:5px;color:#71849f;font-size:9px;font-weight:850;letter-spacing:1.2px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
#charactersGrid .featured-name{color:#f8fbff;font-size:17px;line-height:1.2}
#charactersGrid .featured-type{margin-top:9px}
#charactersGrid .featured-type>span{padding:4px 8px;border-radius:7px;letter-spacing:.35px}
#charactersGrid .collection-card-action{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07);color:#7e91aa;font-size:10px;font-weight:800;letter-spacing:.35px}
#charactersGrid .collection-card-action b{color:var(--card-accent);font-size:16px;transition:transform .2s ease}
#charactersGrid .featured-card:hover .collection-card-action{color:#dbe9f5}
#charactersGrid .featured-card:hover .collection-card-action b{transform:translateX(3px)}
@media(max-width:900px){#personajes #charactersGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#personajes .characters-toolbar{padding:10px}#personajes .characters-grid-heading{align-items:flex-start;margin-top:24px}#personajes .characters-grid-heading small{display:none}#personajes #charactersGrid{gap:10px}#charactersGrid .featured-image{height:205px}#charactersGrid .featured-info{padding:12px}#charactersGrid .featured-name{font-size:14px}#charactersGrid .collection-card-position{right:48px}}
@media(max-width:390px){#personajes #charactersGrid{grid-template-columns:1fr}#charactersGrid .featured-image{height:265px}}

/* =========================================================
   SISTEMA VISUAL GLOBAL — PULIDO 2026
   ========================================================= */
:root{--ui-bg:#050913;--ui-surface:#0b1423;--ui-surface-2:#101d30;--ui-line:rgba(126,166,208,.16);--ui-line-strong:rgba(0,210,255,.34);--ui-text:#f5f9ff;--ui-muted:#8799b2;--ui-cyan:#00d2ff;--ui-gold:#ffd45c;--ui-radius:18px;--ui-shadow:0 18px 46px rgba(0,0,0,.3)}
html{scrollbar-color:#28415f #07101d;scrollbar-width:thin}
body{background-color:var(--ui-bg);background-image:radial-gradient(circle at 12% 0,rgba(0,210,255,.09),transparent 27%),radial-gradient(circle at 88% 16%,rgba(95,86,255,.07),transparent 24%),linear-gradient(180deg,#07101d 0,#050913 42%,#04070e 100%);background-attachment:fixed;color:var(--ui-text)}
body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent 72%)}
::selection{background:rgba(0,210,255,.3);color:#fff}
button,input,select{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(87,224,255,.8);outline-offset:3px}

header{padding:12px 28px;background:rgba(5,11,21,.82);border-bottom:1px solid rgba(92,180,224,.16);box-shadow:0 10px 36px rgba(0,0,0,.25);backdrop-filter:blur(18px) saturate(125%)}
.nav{max-width:1180px;gap:24px}
.logo{position:relative;padding-left:34px;font-size:19px;letter-spacing:.75px}
.logo::before{content:'⚡';position:absolute;left:0;top:50%;width:26px;height:26px;display:grid;place-items:center;transform:translateY(-50%);border:1px solid rgba(0,210,255,.3);border-radius:8px;background:rgba(0,210,255,.09);color:#72e7ff;font-size:13px;box-shadow:0 0 18px rgba(0,210,255,.12)}
.logo span{color:#6fe6ff;text-shadow:none}
header nav{padding:4px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(255,255,255,.025)}
header nav button{min-height:34px;padding:7px 13px;border-radius:9px;color:#8293aa;font-size:11px;letter-spacing:.45px}
header nav button:hover,header nav button.active{border-color:rgba(0,210,255,.22);background:rgba(0,210,255,.09);box-shadow:none;color:#eafaff}
main{max-width:1180px;padding:34px 20px 72px}

.content-section-heading{position:relative;overflow:hidden;margin-bottom:22px;padding:24px 26px;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:linear-gradient(145deg,rgba(15,28,48,.84),rgba(7,14,26,.88));box-shadow:0 14px 38px rgba(0,0,0,.2)}
.content-section-heading::before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:3px;border-radius:3px;background:linear-gradient(#74e9ff,#008cff)}
.content-section-heading::after{content:'⚡';position:absolute;right:26px;top:50%;transform:translateY(-50%);color:rgba(115,225,255,.055);font-size:72px;font-weight:900}
.content-section-heading>*{position:relative;z-index:1}
.content-section-heading h2{margin:5px 0 6px;font-size:clamp(25px,4vw,34px);letter-spacing:-.6px}
.content-section-heading p{margin:0;color:var(--ui-muted);font-size:13px}
.content-section-kicker{color:#65e3ff;font-size:9px;letter-spacing:1.7px}

#inicio .hero{padding:58px 42px 44px;border-color:rgba(80,189,235,.2);border-radius:24px;background:radial-gradient(circle at 50% 5%,rgba(0,210,255,.14),transparent 32%),linear-gradient(145deg,rgba(13,27,47,.96),rgba(5,11,21,.99));box-shadow:0 24px 70px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.04)}
#inicio .hero::after{content:'';position:absolute;left:12%;right:12%;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#00d2ff,transparent);opacity:.55}
#inicio .hero h1{font-size:clamp(38px,6vw,58px);letter-spacing:-1.4px}
#inicio .hero p{color:#9aabc1;font-size:15px}
.home-content-switcher{margin-top:28px;border-color:rgba(0,210,255,.15);background:rgba(2,8,17,.5)}

.button{border-color:rgba(118,158,204,.18);border-radius:11px;background:linear-gradient(145deg,rgba(17,31,52,.95),rgba(8,15,28,.98));color:#b9c8d9;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.button:hover{border-color:rgba(0,210,255,.55);background:linear-gradient(145deg,rgba(19,42,66,.98),rgba(8,22,39,.98));box-shadow:0 10px 24px rgba(0,210,255,.1)}
.button.primary{background:linear-gradient(135deg,#00b8eb,#5be5ff);color:#03111d;box-shadow:0 10px 25px rgba(0,210,255,.2)}
input,select{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
input:hover,select:hover,input:focus,select:focus{border-color:rgba(0,210,255,.4)!important;box-shadow:0 0 0 3px rgba(0,210,255,.06);outline:0}

.news-grid{gap:16px}
.news-card,.developer-note-card{overflow:hidden;border-color:var(--ui-line);border-radius:17px;background:linear-gradient(155deg,rgba(14,25,43,.98),rgba(6,12,22,.99));box-shadow:0 14px 34px rgba(0,0,0,.25)}
.news-card:hover,.developer-note-card:hover{transform:translateY(-4px);border-color:rgba(0,210,255,.42);box-shadow:0 18px 38px rgba(0,0,0,.32),0 0 20px rgba(0,210,255,.08)}
.news-card-media{background:#08121f}
.news-card-body{padding:17px 18px 18px}
.news-card-title{color:#f5f9ff;font-size:15px;line-height:1.38}
.news-card-date,.developer-note-card-date{color:#71839d}
.news-category,.news-status{border-radius:7px!important;letter-spacing:.6px}
.news-channel-tabs{padding:5px;border:1px solid var(--ui-line);border-radius:13px;background:rgba(4,10,19,.55)}
.news-channel-tab{border-radius:9px}
.news-detail{border-color:var(--ui-line);border-radius:20px;background:linear-gradient(145deg,#0d192b,#07101e);box-shadow:var(--ui-shadow)}

.gacha-overview{gap:10px}
.gacha-overview-card{position:relative;overflow:hidden;border:1px solid var(--ui-line);border-radius:15px;background:linear-gradient(145deg,rgba(16,29,49,.94),rgba(7,14,26,.98));box-shadow:0 12px 28px rgba(0,0,0,.2)}
.gacha-overview-card::after{content:'';position:absolute;inset:auto 0 0;height:2px;background:currentColor;opacity:.22}
.gacha-card-v2{border-color:var(--ui-line);border-radius:18px;background:linear-gradient(155deg,#0e1a2c,#07101d);box-shadow:0 14px 34px rgba(0,0,0,.27)}
.gacha-card-v2.clickable:hover{transform:translateY(-5px);border-color:rgba(0,210,255,.42);box-shadow:0 20px 42px rgba(0,0,0,.35),0 0 24px rgba(0,210,255,.09)}
.gacha-card-v2 .gacha-banner{background:#07101d}
.gacha-card-v2 .gacha-name{color:#f8fbff}
.gacha-spotlight,.gacha-controls,.gacha-detail{border-radius:18px}

.comparator-controls,.comparator-stats-wrap,.comparator-detail-panel{border-color:var(--ui-line);border-radius:18px;background:linear-gradient(145deg,rgba(14,26,45,.95),rgba(6,13,24,.98));box-shadow:0 14px 34px rgba(0,0,0,.2)}
.comparator-select-block select{border-radius:11px;background:#071221}
.compare-swap-btn{border-color:rgba(0,210,255,.25);background:rgba(0,210,255,.08);color:#8aebff;box-shadow:0 8px 18px rgba(0,0,0,.2)}
.compare-player-card{border-color:var(--ui-line);border-radius:17px;background:linear-gradient(145deg,#101d30,#08111f);box-shadow:0 14px 30px rgba(0,0,0,.22)}
.compare-vs{border-color:rgba(0,210,255,.3);background:#081624;color:#73e7ff;box-shadow:0 0 25px rgba(0,210,255,.13)}

#comparador .comparator-analysis-wrap{margin-top:18px;padding:20px;border:1px solid var(--ui-line);border-radius:18px;background:linear-gradient(145deg,rgba(14,26,45,.95),rgba(6,13,24,.98));box-shadow:0 14px 34px rgba(0,0,0,.2)}
#comparador .comparator-tactical{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;margin-top:14px}
#comparador .compare-tactical-verdict{display:flex;flex-direction:column;justify-content:center;padding:18px;border:1px solid rgba(0,210,255,.18);border-radius:14px;background:radial-gradient(circle at 20% 20%,rgba(0,210,255,.1),transparent 55%),rgba(3,12,22,.6)}
#comparador .compare-tactical-verdict span{color:#71869f;font-size:8px;font-weight:950;letter-spacing:1.2px}
#comparador .compare-tactical-verdict strong{margin-top:8px;color:#f0fbff;font-size:1.05rem;line-height:1.25}
#comparador .compare-tactical-verdict small{margin-top:7px;color:#6f8299;font-size:9px}
#comparador .compare-tactical-rows{display:grid;gap:6px}
#comparador .compare-tactical-row{display:grid;grid-template-columns:minmax(0,1fr) 105px minmax(0,1fr);align-items:center;gap:10px;min-height:46px;padding:6px 12px;border:1px solid rgba(117,158,207,.11);border-radius:10px;background:rgba(2,8,16,.42)}
#comparador .compare-tactical-row>strong{overflow:hidden;color:#dbe7f4;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
#comparador .compare-tactical-row>strong:last-child{text-align:right}
#comparador .compare-tactical-row>span{display:flex;flex-direction:column;align-items:center;color:#6f849d;font-size:8px;font-weight:950;letter-spacing:.8px;text-align:center;text-transform:uppercase}
#comparador .compare-tactical-row>span small{margin-top:3px;color:#63efb2;font-size:6px;letter-spacing:.6px}
#comparador .compare-tactical-row.is-match{border-color:rgba(99,239,178,.2);background:rgba(99,239,178,.035)}
#comparador .comparator-detail-grid{margin-top:18px}
@media(max-width:760px){#comparador .comparator-tactical{grid-template-columns:1fr}#comparador .compare-tactical-row{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);padding-inline:8px}#comparador .compare-tactical-row>strong{font-size:9px}}

.team-local-notice,.team-dashboard,.team-editor-header,.team-pitch-panel,.team-player-picker,.team-squad-summary{border-color:var(--ui-line);border-radius:18px;background:linear-gradient(145deg,rgba(14,26,45,.95),rgba(6,13,24,.98));box-shadow:0 14px 34px rgba(0,0,0,.2)}
.team-saved-card{border-color:var(--ui-line);border-radius:16px;background:linear-gradient(145deg,#101d30,#08111f);box-shadow:0 12px 28px rgba(0,0,0,.22)}
.football-pitch{border-color:rgba(104,231,184,.3);box-shadow:inset 0 0 50px rgba(0,0,0,.22),0 15px 35px rgba(0,0,0,.2)}
.team-player-item{border-radius:12px}

.techniques-coming-card{position:relative;overflow:hidden;max-width:720px;margin:0 auto;padding:58px 34px;text-align:center;border:1px solid var(--ui-line);border-radius:22px;background:radial-gradient(circle at 50% 10%,rgba(0,210,255,.13),transparent 34%),linear-gradient(145deg,#0e1b2e,#07101e);box-shadow:var(--ui-shadow)}
.techniques-coming-card::after{content:'';position:absolute;left:15%;right:15%;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#00d2ff,transparent)}
.techniques-coming-icon{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 18px;border:1px solid rgba(0,210,255,.3);border-radius:20px;background:rgba(0,210,255,.08);color:#78e8ff;font-size:31px;box-shadow:0 0 35px rgba(0,210,255,.12)}
.techniques-coming-card h3{margin:8px 0 10px;font-size:24px}
.techniques-coming-card p{max-width:540px;margin:0 auto 24px;color:var(--ui-muted);font-size:13px;line-height:1.65}

.site-footer{position:relative;margin-top:20px;padding:40px 20px;background:linear-gradient(180deg,#07101d,#040810);border-top-color:rgba(0,210,255,.13)}
.site-footer::before{content:'';position:absolute;left:15%;right:15%;top:0;height:1px;background:linear-gradient(90deg,transparent,#00d2ff,transparent);opacity:.55}
.site-footer-brand{font-size:16px;letter-spacing:1.2px}
.site-footer-brand span{color:#6ee7ff}
.site-footer-twitter{border-radius:10px;border-color:var(--ui-line);background:rgba(255,255,255,.035)}

@media(max-width:760px){header{padding:10px 14px}.nav{align-items:stretch!important;gap:10px}.logo{align-self:flex-start}header nav{width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}header nav::-webkit-scrollbar{display:none}header nav button{flex:0 0 auto}main{padding:22px 14px 56px}.content-section-heading{padding:20px 19px}.content-section-heading::before{top:18px;bottom:18px}.content-section-heading::after{right:14px;font-size:54px}#inicio .hero{padding:42px 20px 34px}.news-channel-tabs{width:100%;box-sizing:border-box}.techniques-coming-card{padding:42px 20px}.techniques-coming-card h3{font-size:20px}}

/* BUSCADOR GLOBAL */
.global-search-trigger{flex:0 0 auto;min-height:38px;padding:0 9px 0 11px;display:flex;align-items:center;gap:7px;border:1px solid rgba(105,174,218,.18);border-radius:11px;background:rgba(255,255,255,.035);color:#afbed0;font:inherit;font-size:11px;font-weight:750;cursor:pointer;transition:.18s ease}
.global-search-trigger:hover{border-color:rgba(0,210,255,.42);background:rgba(0,210,255,.07);color:#fff}
.global-search-trigger>span:first-child{color:#6ee6ff;font-size:16px}
.global-search-trigger kbd{padding:3px 5px;border:1px solid rgba(255,255,255,.1);border-radius:5px;background:rgba(0,0,0,.22);color:#75879d;font:inherit;font-size:8px}
.global-search-overlay[hidden]{display:none!important}
.global-search-overlay{position:fixed;inset:0;z-index:1000;padding:9vh 18px 30px;display:flex;align-items:flex-start;justify-content:center;background:rgba(1,5,11,.74);backdrop-filter:blur(12px);animation:globalSearchFade .16s ease}
.global-search-dialog{width:min(100%,650px);overflow:hidden;border:1px solid rgba(102,194,233,.25);border-radius:20px;background:linear-gradient(150deg,#101e32,#07101d);box-shadow:0 35px 100px rgba(0,0,0,.65),0 0 45px rgba(0,210,255,.08);animation:globalSearchRise .2s ease}
.global-search-input-wrap{min-height:66px;padding:0 14px 0 19px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.global-search-input-wrap>span{color:#6fe6ff;font-size:24px}
.global-search-input-wrap input{width:100%;border:0!important;background:transparent;color:#fff;font-size:16px;box-shadow:none!important;outline:0}
.global-search-input-wrap input::placeholder{color:#65788f}
.global-search-input-wrap button{padding:6px 8px;border:1px solid rgba(255,255,255,.11);border-radius:7px;background:rgba(255,255,255,.045);color:#899bb1;font:inherit;font-size:9px;font-weight:800;cursor:pointer}
.global-search-results{max-height:min(58vh,520px);overflow-y:auto;padding:9px}
.global-search-results.loading-data::before{content:'Cargando personajes y técnicas…';display:block;padding:7px 10px;color:#668198;font-size:9px;font-weight:800;letter-spacing:.7px}

/* Base de datos de técnicas */
.techniques-database{--tech-cyan:#25d9ff}.techniques-section-heading{background:radial-gradient(circle at 86% 20%,rgba(37,217,255,.16),transparent 30%),linear-gradient(145deg,rgba(12,30,49,.98),rgba(5,13,24,.98))}
.techniques-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.techniques-summary>div{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid rgba(74,151,193,.18);border-radius:14px;background:linear-gradient(145deg,rgba(14,28,46,.9),rgba(7,15,27,.9))}.techniques-summary strong{color:#69e5ff;font-size:25px}.techniques-summary span{color:#8ba0b5;font-size:10px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}
.techniques-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px auto;gap:10px;margin-bottom:12px}.techniques-search{display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid rgba(61,163,208,.26);border-radius:12px;background:#071322;color:#58dbfa}.techniques-search:focus-within{border-color:rgba(37,217,255,.65);box-shadow:0 0 0 3px rgba(37,217,255,.08)}.techniques-search input{width:100%;padding:13px 0;border:0;outline:0;background:transparent;color:#eef8ff;font:inherit}.techniques-search button{border:0;background:transparent;color:#7791a7;font-size:20px;cursor:pointer}.techniques-toolbar select{padding:0 38px 0 13px;border:1px solid rgba(61,163,208,.26);border-radius:12px;background:#071322;color:#d9e8f5}.techniques-reset{min-height:45px}
.techniques-filter-groups{display:grid;gap:9px;margin-bottom:20px;padding:14px;border:1px solid rgba(61,163,208,.16);border-radius:14px;background:rgba(5,14,25,.72)}.techniques-filter-group{display:flex;align-items:center;gap:13px}.techniques-filter-group>span{width:70px;color:#72899f;font-size:9px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.techniques-filter-buttons{display:flex;flex-wrap:wrap;gap:6px}.techniques-filter-buttons button{padding:7px 11px;border:1px solid rgba(78,139,175,.19);border-radius:8px;background:rgba(17,35,55,.75);color:#9bb0c3;font-size:10px;font-weight:800;cursor:pointer}.techniques-filter-buttons button:hover,.techniques-filter-buttons button.active{border-color:rgba(37,217,255,.55);background:rgba(37,217,255,.1);color:#70e7ff}
.techniques-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.technique-db-card{position:relative;overflow:hidden;border:1px solid rgba(79,139,173,.2);border-radius:17px;background:linear-gradient(150deg,rgba(15,29,47,.98),rgba(5,12,22,.98));box-shadow:0 12px 30px rgba(0,0,0,.14)}.technique-db-card::before{content:'';position:absolute;inset:0 auto 0 0;width:2px;background:#25d9ff}.technique-db-card.element-fuego::before{background:#ff634f}.technique-db-card.element-bosque::before{background:#52d47d}.technique-db-card.element-aire::before{background:#55d8ff}.technique-db-card.element-montana::before{background:#f0b84a}.technique-db-top{display:flex;justify-content:space-between;align-items:center;padding:13px 15px 0}.technique-db-element,.technique-db-type{color:#84a3ba;font-size:9px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}.technique-db-type{padding:5px 8px;border-radius:6px;background:rgba(65,145,184,.1);color:#73dff5}
.technique-db-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:13px 15px}.technique-db-title h3{margin:0;color:#f3f8fc;font-size:16px;line-height:1.25}.technique-db-title small{display:block;margin-top:4px;color:#60798f;font-size:10px}.technique-db-title>span{flex:0 0 auto;color:#638096;font-size:8px;font-weight:900}.technique-db-title>span b{display:block;color:#ffd257;font-size:21px;text-align:right}.technique-db-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:0 15px 14px;border:1px solid rgba(82,139,172,.13);border-radius:10px;background:rgba(4,11,20,.5)}.technique-db-stats>div{padding:9px;text-align:center}.technique-db-stats>div+div{border-left:1px solid rgba(82,139,172,.13)}.technique-db-stats small{display:block;color:#5f768a;font-size:7px;font-weight:800;text-transform:uppercase}.technique-db-stats strong{display:block;margin-top:3px;color:#dce9f3;font-size:13px}
.technique-db-users{padding:12px 15px 15px;border-top:1px solid rgba(82,139,172,.12);background:rgba(3,10,18,.35)}.technique-db-users-heading{display:flex;justify-content:space-between;margin-bottom:8px;color:#657e92;font-size:8px;font-weight:900;letter-spacing:.8px}.technique-db-users-heading b{color:#78dff3}.technique-user-list{display:flex;flex-direction:column;gap:5px}.technique-user-list a{display:flex;align-items:center;gap:8px;padding:6px;border-radius:8px;color:inherit;text-decoration:none}.technique-user-list a:hover{background:rgba(37,217,255,.07)}.technique-user-list img{width:30px;height:30px;object-fit:cover;border:1px solid rgba(79,164,200,.22);border-radius:7px;background:#07121f}.technique-user-list span{min-width:0}.technique-user-list strong,.technique-user-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.technique-user-list strong{color:#cfdeeb;font-size:10px}.technique-user-list small{margin-top:2px;color:#587084;font-size:8px}.technique-more-users{padding:6px;color:#6fdff7;font-size:9px;font-weight:900}
.techniques-pagination{display:flex;justify-content:center;gap:6px;margin-top:22px}.techniques-pagination button{min-width:34px;height:34px;border:1px solid rgba(79,155,193,.22);border-radius:8px;background:#091727;color:#8ca5b9;font-weight:800;cursor:pointer}.techniques-pagination button.active{border-color:#25d9ff;background:rgba(37,217,255,.13);color:#79e8ff}.techniques-pagination button:disabled{opacity:.35;cursor:default}.techniques-empty{grid-column:1/-1;padding:55px 20px;text-align:center;border:1px dashed rgba(79,155,193,.25);border-radius:17px;color:#7790a5}.techniques-empty>span{font-size:30px}.techniques-empty h3{margin:10px 0 5px;color:#dce8f2}.techniques-empty p{margin:0;font-size:12px}
@media(max-width:1000px){.techniques-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.techniques-summary{grid-template-columns:1fr}.techniques-summary>div{padding:11px 14px}.techniques-toolbar{grid-template-columns:1fr}.techniques-toolbar select{min-height:45px}.techniques-filter-group{align-items:flex-start;flex-direction:column;gap:7px}.techniques-filter-group>span{width:auto}.techniques-grid{grid-template-columns:1fr}.technique-db-title h3{font-size:15px}}
.global-search-group-title{padding:8px 10px 6px;color:#60758e;font-size:8px;font-weight:900;letter-spacing:1.4px}
.global-search-result{width:100%;min-height:62px;padding:8px 11px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#fff;text-align:left;font:inherit;cursor:pointer;transition:.15s ease}
.global-search-result:hover,.global-search-result:focus-visible{border-color:rgba(0,210,255,.2);background:rgba(0,210,255,.065);outline:0}
.global-search-result img,.global-search-result-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(116,175,215,.15);border-radius:10px;background:linear-gradient(145deg,#142640,#0a1423);object-fit:contain;color:#72e7ff;font-size:18px}
.global-search-result-copy{min-width:0;display:grid;gap:2px}
.global-search-result-copy small{color:#5bdfff;font-size:7px;font-weight:900;letter-spacing:1.2px}
.global-search-result-copy strong{overflow:hidden;color:#f6faff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.global-search-result-copy span{overflow:hidden;color:#74879f;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.global-search-result>b{color:#53738e;font-size:16px}
.global-search-result:hover>b{color:#6fe6ff;transform:translateX(2px)}
.global-search-empty{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#70839a}
.global-search-empty>span{width:52px;height:52px;display:grid;place-items:center;margin-bottom:5px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.035);font-size:24px}
.global-search-empty strong{color:#dfe9f4;font-size:14px}.global-search-empty small{font-size:10px}
.global-search-footer{padding:9px 14px;display:flex;justify-content:flex-end;gap:14px;border-top:1px solid rgba(255,255,255,.065);color:#5f7187;font-size:8px;font-weight:750}
.global-search-open{overflow:hidden}
@keyframes globalSearchFade{from{opacity:0}to{opacity:1}}@keyframes globalSearchRise{from{opacity:0;transform:translateY(-9px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:980px){.global-search-trigger kbd{display:none}.global-search-trigger>span:nth-child(2){display:none}}
@media(max-width:760px){.nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto}.nav>.logo{grid-column:1}.global-search-trigger{grid-column:2;grid-row:1}.nav>nav{grid-column:1/-1}.global-search-overlay{padding:3vh 10px 18px}.global-search-dialog{border-radius:16px}.global-search-footer{display:none}}
@media(max-width:760px){.nav>.nav-actions{grid-column:2;grid-row:1}.nav-actions .global-search-trigger kbd,.nav-actions .global-search-trigger span:nth-child(2){display:none}.nav-actions .global-search-trigger{min-width:36px;padding:0 10px}.language-switcher{padding:0 7px}}
@media(max-width:520px){.language-switcher-icon{display:none}.language-switcher{padding:0 4px}.language-options button{min-width:27px;padding:0 5px}.nav-actions{gap:5px}}

/* PERSONAJES NUEVOS */
.newcomers-section{position:relative;overflow:hidden;padding:26px;border:1px solid rgba(85,235,183,.2);border-radius:24px;background:radial-gradient(circle at 88% 0,rgba(40,232,171,.11),transparent 30%),linear-gradient(145deg,#0b1725,#060d17 70%);box-shadow:0 24px 60px rgba(0,0,0,.3)}
.newcomers-section::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0 55%,rgba(255,255,255,.025) 55% 56%,transparent 56%)}
.newcomers-heading{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px;padding:4px 4px 18px;border-bottom:1px solid rgba(123,184,211,.12)}
.newcomers-heading h2{margin:5px 0 4px;color:#f5fbff;font-size:28px;line-height:1}
.newcomers-heading p{margin:0;color:#71869c;font-size:11px}
.newcomers-count{padding:8px 11px;border:1px solid rgba(76,240,181,.28);border-radius:9px;background:rgba(76,240,181,.08);color:#64efba;font-size:8px;font-weight:950;letter-spacing:1.2px}
.newcomers-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.newcomer-card{min-width:0;min-height:116px;display:grid;grid-template-columns:38px 88px minmax(0,1fr) 24px;align-items:center;gap:10px;overflow:hidden;border:1px solid rgba(110,163,195,.13);border-radius:15px;background:linear-gradient(105deg,rgba(16,31,49,.96),rgba(7,16,28,.96));color:inherit;text-decoration:none;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.newcomer-card:hover{transform:translateY(-3px);border-color:rgba(86,232,184,.38);box-shadow:0 16px 30px rgba(0,0,0,.28),0 0 24px rgba(58,228,177,.06)}
.newcomer-number{align-self:stretch;display:grid;place-items:center;border-right:1px solid rgba(112,169,201,.11);color:#31475b;font-size:11px;font-weight:950;letter-spacing:1px;writing-mode:vertical-rl;transform:rotate(180deg)}
.newcomer-card img{align-self:end;width:88px;height:110px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 10px rgba(0,0,0,.32));transition:transform .18s ease}
.newcomer-card:hover img{transform:scale(1.04)}
.newcomer-card>div{min-width:0;display:grid;gap:5px}
.newcomer-card small{overflow:hidden;color:#4cddcb;font-size:7px;font-weight:950;letter-spacing:1.1px;text-overflow:ellipsis;white-space:nowrap}
.newcomer-card strong{overflow:hidden;color:#f3f8fd;font-size:15px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.newcomer-card>div span{color:#7e91a7;font-size:9px;font-weight:750}
.newcomer-card>b{color:#4ce8c0;font-size:15px;transition:transform .18s ease}
.newcomer-card:hover>b{transform:translateX(3px)}
@media(max-width:820px){.newcomers-section{padding:19px}.newcomers-grid{grid-template-columns:1fr}.newcomer-card{grid-template-columns:34px 78px minmax(0,1fr) 20px;min-height:104px}.newcomer-card img{width:78px;height:98px}}
@media(max-width:520px){.newcomers-heading{align-items:flex-start}.newcomers-heading h2{font-size:23px}.newcomers-heading p{max-width:210px}.newcomers-count{white-space:nowrap}.newcomer-card{grid-template-columns:27px 67px minmax(0,1fr) 16px;gap:7px}.newcomer-card img{width:67px;height:92px}.newcomer-card strong{font-size:13px}}
.chains-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.chains-tabs{position:relative;display:flex;gap:8px;margin:-3px 0 18px;padding:5px;border:1px solid rgba(91,190,216,.14);border-radius:13px;background:rgba(4,14,25,.55)}
.chains-tab{min-height:38px;padding:0 16px;border:1px solid transparent;border-radius:9px;background:transparent;color:#71869d;font-size:9px;font-weight:900;letter-spacing:.45px;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease}
.chains-tab:hover{color:#d7f7f7;background:rgba(69,204,200,.06)}
.chains-tab.active{border-color:rgba(79,225,205,.26);background:linear-gradient(135deg,rgba(58,208,187,.17),rgba(31,130,151,.12));color:#78eee0;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.chain-cover{position:relative;min-width:0;overflow:hidden;padding:0;border:1px solid rgba(91,211,235,.18);border-radius:17px;background:linear-gradient(145deg,#10243a,#07121f);color:inherit;text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.chain-cover:hover{transform:translateY(-4px);border-color:rgba(94,224,245,.42);box-shadow:0 18px 34px rgba(0,0,0,.3)}
.chain-cover-art{height:145px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 70%,rgba(75,222,226,.23),transparent 58%),linear-gradient(180deg,#132d46,#071521)}
.chain-cover-art img{width:40%;height:138px;margin:0 -5%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 8px rgba(0,0,0,.35))}
.chain-cover-art img:nth-child(2){z-index:2;width:46%;height:148px}
.official-chain-cover .chain-cover-art{height:auto;aspect-ratio:520/146}
.image-chain-cover .chain-cover-number{display:none}
.event-chain-cover .chain-cover-art{height:145px;aspect-ratio:auto}
.chain-official-cover{position:relative;width:100%;height:100%;overflow:hidden}
.chain-official-cover>img{width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important;filter:none!important}
.chain-cover-number{position:absolute;z-index:4;top:10px;left:11px;color:rgba(255,255,255,.2);font-size:22px;font-weight:950}
.chain-status{position:absolute;z-index:5;top:11px;right:11px;padding:5px 8px;border:1px solid;border-radius:7px;background:rgba(5,14,23,.84);font-size:7px;font-weight:950;letter-spacing:1px;backdrop-filter:blur(6px)}
.chain-status.active{border-color:rgba(75,238,171,.38);color:#65efb6;box-shadow:0 0 14px rgba(68,229,161,.12)}
.chain-status.finished{border-color:rgba(139,154,172,.25);color:#8898aa}
.chain-cover-copy{display:grid;gap:4px;padding:15px 15px 8px}.chain-cover-copy small{color:#62dfe2;font-size:7px;font-weight:950;letter-spacing:1.2px}.chain-cover-copy strong{color:#f5fbff;font-size:16px}.chain-cover-copy span{color:#71869c;font-size:9px}.chain-cover>b{display:block;padding:8px 15px 14px;color:#62dfe2;font-size:8px;letter-spacing:1px}
.chain-back{margin-bottom:18px;padding:9px 13px;border:1px solid rgba(100,220,230,.2);border-radius:9px;background:rgba(9,31,45,.8);color:#81e9ed;cursor:pointer}
.chain-characters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.chain-character-card{min-width:0;min-height:126px;display:grid;grid-template-columns:105px minmax(0,1fr) 22px;align-items:center;gap:11px;overflow:hidden;border:1px solid rgba(103,180,208,.14);border-radius:14px;background:linear-gradient(110deg,rgba(16,34,52,.97),rgba(7,15,27,.97));color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.chain-character-card:hover{transform:translateY(-3px);border-color:rgba(87,225,208,.4)}
.chain-character-image{align-self:stretch;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(circle at 50% 70%,rgba(65,207,190,.17),transparent 58%)}
.chain-character-image img{width:100%;height:123px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 9px rgba(0,0,0,.35))}.chain-character-card>div:nth-child(2){min-width:0;display:grid;gap:5px}.chain-character-card small{overflow:hidden;color:#55d9cf;font-size:7px;font-weight:900;letter-spacing:.8px;text-overflow:ellipsis;white-space:nowrap}.chain-character-card strong{overflow:hidden;color:#f5f9fd;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.chain-character-card span{color:#7d91a8;font-size:9px}.chain-character-card>b{color:#59dfd3}
@media(max-width:900px){.chains-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.chains-grid,.chain-characters-grid{grid-template-columns:1fr}.chain-cover-art{height:165px}}
@media(max-width:460px){.chains-tabs{display:grid;grid-template-columns:1fr 1fr}.chains-tab{padding:0 8px;font-size:8px}}

/* =========================================================
   CENTRO TÁCTICO — REDISEÑO DE EQUIPOS
   ========================================================= */
#equipos{--team-green:#58e6a9;--team-cyan:#60dcff;--team-surface:#091423;--team-line:rgba(112,174,205,.16)}
#equipos .teams-local-section{max-width:1220px}
#equipos .team-studio-hero{position:relative;overflow:hidden;min-height:270px;padding:36px 38px;align-items:center;border-color:rgba(83,221,177,.22);background:radial-gradient(circle at 16% 18%,rgba(47,222,164,.15),transparent 32%),radial-gradient(circle at 92% 0,rgba(41,188,241,.14),transparent 36%),linear-gradient(135deg,#0e2030,#07111f 65%);box-shadow:0 25px 70px rgba(0,0,0,.34)}
#equipos .team-studio-hero::before{content:'XI';position:absolute;right:27%;bottom:-62px;color:rgba(115,231,195,.035);font-size:220px;font-weight:1000;line-height:1}
#equipos .team-studio-copy{position:relative;z-index:1;max-width:680px}
#equipos .team-studio-copy h2{max-width:620px;margin:8px 0 12px;font-size:clamp(34px,5vw,55px);line-height:.98;letter-spacing:-1.8px}
#equipos .team-studio-copy>p{max-width:600px;color:#91a7bb;font-size:14px;line-height:1.6}
#equipos .team-studio-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
#equipos .team-studio-features span{min-width:116px;padding:9px 12px;border:1px solid rgba(106,190,211,.14);border-radius:10px;background:rgba(4,13,23,.4);color:#8094a8;font-size:9px;font-weight:750}
#equipos .team-studio-features b{margin-right:6px;color:var(--team-green);font-size:13px}
#equipos .team-studio-cta{position:relative;z-index:1;width:min(100%,265px);padding:19px;border:1px solid rgba(102,227,188,.2);border-radius:17px;background:rgba(3,11,20,.56);box-shadow:0 20px 45px rgba(0,0,0,.24);backdrop-filter:blur(8px)}
#equipos .team-studio-cta>span{display:block;margin-bottom:10px;color:#658196;font-size:7px;font-weight:950;letter-spacing:1.4px}
#equipos .team-studio-cta .team-create-main{width:100%;min-height:48px;margin:0;display:flex;justify-content:space-between;padding-inline:16px;border-radius:12px;font-size:11px}
#equipos .team-studio-cta .team-create-main b{font-size:16px}
#equipos .team-studio-cta small{display:block;margin-top:10px;color:#607387;font-size:8px;text-align:center}

#equipos .team-workflow{display:grid;grid-template-columns:1fr 42px 1fr 42px 1fr;align-items:center;margin:14px 0;padding:14px 18px;border:1px solid var(--team-line);border-radius:16px;background:linear-gradient(100deg,rgba(12,27,43,.9),rgba(6,14,25,.92));box-shadow:0 12px 30px rgba(0,0,0,.18)}
#equipos .team-workflow-step{min-width:0;display:flex;align-items:center;gap:11px}
#equipos .team-workflow-step>b{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(85,229,174,.2);border-radius:10px;background:rgba(85,229,174,.07);color:var(--team-green);font-size:9px}
#equipos .team-workflow-step span{min-width:0;display:grid;gap:2px}
#equipos .team-workflow-step strong{color:#dfeaf3;font-size:10px}
#equipos .team-workflow-step small{overflow:hidden;color:#61768b;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
#equipos .team-workflow>i{height:1px;background:linear-gradient(90deg,rgba(85,229,174,.08),rgba(85,229,174,.5),rgba(85,229,174,.08))}
#equipos .team-local-notice{margin:0 0 18px;padding:8px 12px;border-color:rgba(96,220,255,.1);background:rgba(96,220,255,.025)}
#equipos .team-local-notice-icon{width:29px;height:29px;font-size:12px}

#equipos .team-dashboard{padding:22px;border:1px solid var(--team-line);border-radius:20px;background:linear-gradient(145deg,rgba(12,26,43,.96),rgba(5,12,22,.98));box-shadow:0 20px 50px rgba(0,0,0,.24)}
#equipos .team-dashboard-toolbar{padding-bottom:14px;border-bottom:1px solid rgba(112,174,205,.1)}
#equipos .team-dashboard-toolbar h3{font-size:20px}
#equipos .team-dashboard-count{border:1px solid rgba(89,229,173,.16);background:rgba(89,229,173,.06);color:#79dfb3;opacity:1}
#equipos .team-saved-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px}
#equipos .team-new-card,#equipos .team-saved-card{min-height:184px;border-color:rgba(112,174,205,.14);border-radius:17px;background:linear-gradient(145deg,#0e1d2f,#07111e);transition:.2s ease}
#equipos .team-new-card{border-color:rgba(89,229,173,.2);background:radial-gradient(circle at 50% 45%,rgba(89,229,173,.09),transparent 40%),rgba(6,15,25,.8)}
#equipos .team-new-card:hover,#equipos .team-saved-card:hover{transform:translateY(-4px);border-color:rgba(89,229,173,.38);box-shadow:0 18px 34px rgba(0,0,0,.27)}
#equipos .team-new-plus{width:48px;height:48px;border:1px solid rgba(89,229,173,.2);border-radius:14px;background:rgba(89,229,173,.08);color:var(--team-green)}
#equipos .team-saved-open{min-height:184px;padding:17px}
#equipos .team-card-kicker{color:var(--team-green);letter-spacing:1px}
#equipos .team-card-progress{border:1px solid rgba(112,174,205,.12);background:rgba(255,255,255,.03)}
#equipos .team-card-faces{margin-block:18px}
#equipos .team-card-faces img{width:45px!important;height:45px!important;min-width:45px!important;max-width:45px!important;min-height:45px!important;max-height:45px!important;border-color:#0b1727!important;background:#0e1d30!important}

#equipos .team-editor-topbar{position:sticky;top:8px;z-index:20;padding:9px 10px;border:1px solid rgba(112,174,205,.16);border-radius:14px;background:rgba(5,13,23,.9);box-shadow:0 12px 32px rgba(0,0,0,.3);backdrop-filter:blur(12px)}
#equipos .team-back-btn{padding:8px 10px;border-radius:8px}
#equipos .team-back-btn:hover{background:rgba(255,255,255,.05);color:#fff}
#equipos .team-editor-header{padding:19px;border-color:var(--team-line);border-radius:18px;background:linear-gradient(120deg,rgba(15,31,50,.96),rgba(6,14,25,.98))}
#equipos .team-editor-title-group input,#equipos .team-editor-title-group select{min-height:47px;border-color:rgba(112,174,205,.15);background:#071321}
#equipos .team-completion-circle{width:57px;height:57px;padding-top:13px;border-color:rgba(89,229,173,.27);background:radial-gradient(circle,rgba(89,229,173,.12),rgba(89,229,173,.03))}
#equipos .team-completion-circle span{color:var(--team-green);font-size:1.25rem}

#equipos .team-builder-layout{grid-template-columns:minmax(0,1.38fr) minmax(330px,.62fr);gap:17px}
#equipos .team-pitch-panel,#equipos .team-player-picker,#equipos .team-squad-summary{border-color:var(--team-line);border-radius:20px;background:linear-gradient(145deg,rgba(12,26,43,.98),rgba(5,12,22,.98));box-shadow:0 18px 42px rgba(0,0,0,.22)}
#equipos .team-pitch-panel{padding:18px}
#equipos .team-pitch-head,#equipos .team-picker-head{align-items:center;padding-bottom:12px;border-bottom:1px solid rgba(112,174,205,.1)}
#equipos .team-pitch-head h3,#equipos .team-picker-head h3{font-size:15px}
#equipos .football-pitch{min-height:500px;border:1px solid rgba(182,255,220,.42);border-radius:18px;background:radial-gradient(circle at 50% 50%,rgba(89,229,173,.09),transparent 32%),repeating-linear-gradient(0deg,rgba(22,91,58,.98) 0 10%,rgba(18,82,51,.98) 10% 20%);box-shadow:inset 0 0 65px rgba(0,0,0,.3),0 18px 35px rgba(0,0,0,.24)}
#equipos #teamFormationSlots .formation-slot-card{width:64px;height:64px;border-color:rgba(255,255,255,.38);background:rgba(4,14,23,.82);box-shadow:0 8px 18px rgba(0,0,0,.4)}
#equipos #teamFormationSlots .formation-slot-card img{width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;min-height:58px!important;max-height:58px!important}
#equipos #teamFormationSlots .formation-slot:hover .formation-slot-card,#equipos #teamFormationSlots .formation-slot.selected .formation-slot-card{border-color:var(--team-cyan);box-shadow:0 0 0 5px rgba(96,220,255,.1),0 10px 22px rgba(0,0,0,.4)}
#equipos .formation-slot-name{padding:4px 7px;border:1px solid rgba(255,255,255,.07);border-radius:7px;background:rgba(2,9,16,.82);font-size:.65rem}
#equipos .team-pitch-legend{margin-top:13px;padding-top:12px;border-top:1px solid rgba(112,174,205,.09)}

#equipos .team-player-picker{position:sticky;top:78px;max-height:720px;padding:18px}
#equipos .team-slot-role{border:1px solid rgba(96,220,255,.22);background:rgba(96,220,255,.08);color:var(--team-cyan)}
#equipos .team-picker-search input{min-height:46px;padding-left:14px;border-color:rgba(112,174,205,.15);border-radius:12px;background:#071321}
#equipos .team-picker-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}
#equipos .team-picker-filters button{padding:7px 5px;border-radius:9px}
#equipos .team-picker-filters button.active{border-color:rgba(89,229,173,.28);background:rgba(89,229,173,.09);color:var(--team-green)}
#equipos .team-player-list{gap:7px}
#equipos .team-player-option{min-height:58px;padding:7px 9px;border-color:rgba(112,174,205,.09);border-radius:12px;background:rgba(255,255,255,.018)}
#equipos .team-player-option:hover{transform:translateX(2px);border-color:rgba(89,229,173,.25);background:rgba(89,229,173,.045)}
#equipos .team-squad-summary{margin-top:17px;padding:19px}
#equipos .team-squad-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:8px}
#equipos .team-squad-item{min-height:57px;border-color:rgba(112,174,205,.1);border-radius:11px}
#equipos .team-squad-item:hover{border-color:rgba(96,220,255,.24);background:rgba(96,220,255,.04)}

@media(max-width:900px){#equipos .team-studio-hero{display:grid;padding:28px}#equipos .team-studio-cta{width:100%}#equipos .team-builder-layout{grid-template-columns:1fr}#equipos .team-player-picker{position:static;max-height:none}#equipos .football-pitch{min-height:470px}}
@media(max-width:680px){#equipos .team-studio-hero{padding:25px 20px}#equipos .team-studio-copy h2{font-size:35px}#equipos .team-studio-features{display:grid;grid-template-columns:repeat(3,1fr)}#equipos .team-studio-features span{min-width:0;padding:8px;font-size:8px}#equipos .team-workflow{grid-template-columns:1fr;gap:7px}#equipos .team-workflow>i{display:none}#equipos .team-local-notice{align-items:flex-start}#equipos .team-dashboard{padding:15px}#equipos .team-editor-topbar{position:static}#equipos .football-pitch{min-height:430px}#equipos #teamFormationSlots .formation-slot-card{width:52px;height:52px}#equipos #teamFormationSlots .formation-slot-card img{width:47px!important;height:47px!important;min-width:47px!important;max-width:47px!important;min-height:47px!important;max-height:47px!important}}

/* LABORATORIO */
.lab-section{max-width:1180px;margin-inline:auto}
.lab-hero{position:relative;min-height:225px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px;overflow:hidden;border:1px solid rgba(141,111,255,.24);border-radius:24px;background:radial-gradient(circle at 18% 12%,rgba(122,91,255,.18),transparent 34%),radial-gradient(circle at 90% 80%,rgba(0,210,255,.12),transparent 34%),linear-gradient(140deg,#111a32,#07101e 70%);box-shadow:0 25px 70px rgba(0,0,0,.36)}
.lab-hero::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0 64%,rgba(255,255,255,.025) 64% 65%,transparent 65%)}
.lab-hero-copy{position:relative;z-index:1;max-width:680px}.lab-hero h2{margin:7px 0 10px;font-size:clamp(40px,7vw,68px);letter-spacing:-2px;line-height:.95}.lab-hero p{max-width:650px;margin:0;color:#93a5bb;font-size:14px;line-height:1.65}
.lab-hero-mark{position:relative;z-index:1;width:155px;height:135px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(139,111,255,.25);border-radius:22px;background:rgba(6,13,25,.48);box-shadow:inset 0 0 35px rgba(122,91,255,.08)}
.lab-hero-mark span{position:absolute;top:13px;left:15px;color:#654fa8;font-size:8px;font-weight:950;letter-spacing:2px}.lab-hero-mark b{color:#a994ff;font-size:52px;text-shadow:0 0 28px rgba(146,113,255,.45)}
.lab-tool-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}
.lab-tool-tab{min-height:83px;padding:14px 16px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 10px;border:1px solid rgba(112,158,199,.14);border-radius:15px;background:linear-gradient(145deg,rgba(14,27,47,.95),rgba(6,14,25,.98));color:#8fa1b6;text-align:left;font:inherit;cursor:pointer;transition:.18s ease}
.lab-tool-tab>span{grid-row:1/3;width:33px;height:33px;display:grid;place-items:center;border:1px solid rgba(146,113,255,.2);border-radius:9px;color:#8d75df;font-size:8px;font-weight:950}.lab-tool-tab b{align-self:end;color:#dae5f0;font-size:11px}.lab-tool-tab small{align-self:start;color:#63758a;font-size:8px}.lab-tool-tab:hover,.lab-tool-tab.active{transform:translateY(-2px);border-color:rgba(147,113,255,.42);background:linear-gradient(145deg,rgba(37,30,72,.9),rgba(8,17,31,.98));box-shadow:0 14px 30px rgba(0,0,0,.22)}.lab-tool-tab.active>span{background:rgba(147,113,255,.13);color:#beaaff}
.lab-workspace{border:1px solid rgba(112,158,199,.15);border-radius:22px;background:linear-gradient(145deg,rgba(12,25,43,.97),rgba(5,12,22,.99));box-shadow:0 22px 55px rgba(0,0,0,.28)}
.lab-panel{padding:25px}.lab-panel[hidden]{display:none!important}.lab-panel-intro{display:flex;align-items:center;gap:13px;padding-bottom:19px;border-bottom:1px solid rgba(112,158,199,.1)}.lab-panel-number{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(147,113,255,.24);border-radius:13px;background:rgba(147,113,255,.08);color:#aa92ff;font-size:10px;font-weight:950}.lab-panel-intro h3{margin:0 0 4px;font-size:19px}.lab-panel-intro p{margin:0;color:#6f8298;font-size:10px}
.lab-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 190px;gap:10px;margin:19px 0}.lab-control-grid label{display:grid;gap:6px}.lab-control-grid label>span{color:#60758c;font-size:7px;font-weight:950;letter-spacing:1px}.lab-control-grid select{width:100%;min-height:46px;padding:0 12px;border:1px solid rgba(112,158,199,.14);border-radius:11px;background:#071321;color:#e8f1f8;font:inherit;font-size:10px}.lab-run-btn{align-self:end;min-height:46px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(147,113,255,.5);border-radius:11px;background:linear-gradient(135deg,#7456df,#9d79ff);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(112,76,222,.2);transition:.18s ease}.lab-run-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(112,76,222,.3)}.lab-run-btn b{font-size:15px}
.lab-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 10px;padding-top:13px;border-top:1px solid rgba(112,158,199,.08)}.lab-results-heading span{color:#b9c8d8;font-size:10px;font-weight:800}.lab-results-heading small{color:#566a81;font-size:7px;font-weight:950;letter-spacing:1.2px}
.lab-character-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lab-character-card{min-width:0;min-height:78px;padding:8px;display:grid;grid-template-columns:58px minmax(0,1fr) 18px;align-items:center;gap:10px;border:1px solid rgba(112,158,199,.1);border-radius:12px;background:rgba(255,255,255,.018);color:inherit;text-decoration:none;transition:.16s ease}.lab-character-card:hover{transform:translateY(-2px);border-color:rgba(147,113,255,.3);background:rgba(147,113,255,.045)}.lab-character-image{width:58px;height:62px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#11233a,#081321)}.lab-character-image img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.lab-character-card>div:nth-child(2){min-width:0;display:grid;gap:3px}.lab-character-card small{overflow:hidden;color:#806cd0;font-size:6px;font-weight:950;letter-spacing:.8px;text-overflow:ellipsis;white-space:nowrap}.lab-character-card strong{overflow:hidden;color:#eef4fa;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.lab-character-card span{color:#708298;font-size:8px}.lab-character-card>b{color:#9c83f0}
.lab-generator-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0;padding:13px 15px;border:1px solid rgba(112,158,199,.1);border-radius:13px;background:rgba(255,255,255,.018)}.lab-generator-bar>div{display:grid;gap:3px}.lab-generator-bar span{color:#5d7188;font-size:7px;font-weight:950;letter-spacing:1px}.lab-generator-bar strong{color:#dce8f2;font-size:17px;letter-spacing:5px}.lab-generator-bar .lab-run-btn{min-width:190px}
.lab-squad-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.lab-squad-player{min-width:0;min-height:88px;padding:8px;display:grid;grid-template-columns:23px 55px minmax(0,1fr);align-items:center;gap:8px;border:1px solid rgba(112,158,199,.1);border-radius:12px;background:rgba(255,255,255,.018);color:inherit;text-decoration:none}.lab-squad-player:hover{border-color:rgba(83,229,173,.28);background:rgba(83,229,173,.035)}.lab-squad-player>span{color:#354c62;font-size:8px;font-weight:950}.lab-squad-player img{width:55px;height:68px;object-fit:contain;object-position:center bottom}.lab-squad-player div{min-width:0;display:grid;gap:3px}.lab-squad-player small{color:#54dca9;font-size:6px;font-weight:900}.lab-squad-player strong{overflow:hidden;color:#edf5fa;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.lab-passive-search{min-height:51px;margin:18px 0 8px;padding:0 15px;display:grid;grid-template-columns:23px 1fr;align-items:center;border:1px solid rgba(112,158,199,.15);border-radius:13px;background:#071321}.lab-passive-search>span{color:#9e85f0;font-size:20px}.lab-passive-search input{width:100%;border:0!important;background:transparent;color:#fff;font:inherit;font-size:11px;outline:0;box-shadow:none!important}.lab-passive-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lab-passive-card{min-width:0;padding:13px;display:grid;grid-template-columns:35px minmax(0,1fr) 18px;align-items:start;gap:10px;border:1px solid rgba(112,158,199,.1);border-radius:12px;background:rgba(255,255,255,.018);color:inherit;text-decoration:none}.lab-passive-card:hover{border-color:rgba(147,113,255,.3);background:rgba(147,113,255,.04)}.lab-passive-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(147,113,255,.09);color:#a88df8}.lab-passive-card>div{min-width:0}.lab-passive-card small{color:#6f5fba;font-size:6px;font-weight:900}.lab-passive-card strong{display:block;margin:3px 0 5px;color:#edf4fa;font-size:11px}.lab-passive-card p{display:-webkit-box;overflow:hidden;margin:0;color:#708197;font-size:8px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.lab-passive-card>b{color:#9277e4}
.lab-empty-state{grid-column:1/-1;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed rgba(112,158,199,.12);border-radius:14px;color:#60748a;text-align:center}.lab-empty-state>b{width:46px;height:46px;display:grid;place-items:center;margin-bottom:5px;border-radius:13px;background:rgba(147,113,255,.07);color:#8f76df;font-size:20px}.lab-empty-state strong{color:#b9c7d5;font-size:12px}.lab-empty-state span{font-size:9px}
@media(max-width:900px){.lab-control-grid{grid-template-columns:repeat(3,1fr)}.lab-control-grid .lab-run-btn{grid-column:1/-1}.lab-character-results{grid-template-columns:repeat(2,1fr)}.lab-squad-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.lab-hero{min-height:0;padding:28px 21px}.lab-hero-mark{display:none}.lab-tool-tabs{grid-template-columns:1fr}.lab-tool-tab{min-height:65px}.lab-panel{padding:17px}.lab-control-grid{grid-template-columns:1fr}.lab-control-grid .lab-run-btn{grid-column:auto}.lab-character-results,.lab-passive-results{grid-template-columns:1fr}.lab-generator-bar{align-items:stretch;flex-direction:column}.lab-generator-bar .lab-run-btn{width:100%;min-width:0}.lab-squad-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:430px){.lab-squad-grid{grid-template-columns:1fr}.lab-panel-intro{align-items:flex-start}.lab-character-card{grid-template-columns:54px minmax(0,1fr) 15px}}

/* SIMULADOR DE ENFRENTAMIENTOS */
.battle-simulator{max-width:1180px;margin-inline:auto}.battle-sim-hero{min-height:205px;padding:35px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid rgba(255,93,108,.25);border-radius:24px;background:radial-gradient(circle at 15% 15%,rgba(255,74,95,.16),transparent 34%),radial-gradient(circle at 85% 80%,rgba(71,192,255,.14),transparent 35%),linear-gradient(140deg,#181629,#07101e 72%);box-shadow:0 25px 70px rgba(0,0,0,.35)}.battle-sim-hero h2{margin:7px 0 10px;font-size:clamp(35px,6vw,62px);line-height:.95;letter-spacing:-2px}.battle-sim-hero p{max-width:650px;margin:0;color:#98a9bc;line-height:1.6}.battle-sim-hero>b{font-size:76px;font-style:italic;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.18);text-shadow:18px 0 35px rgba(62,193,255,.17),-18px 0 35px rgba(255,68,91,.18)}
.battle-sim-toolbar{margin:15px 0;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px}.battle-sim-toolbar label,.battle-side>label{padding:12px 14px;display:grid;gap:7px;border:1px solid rgba(118,158,196,.14);border-radius:13px;background:#091523}.battle-sim-toolbar span,.battle-side>label span{color:#8094aa;font-size:.65rem;font-weight:800}.battle-sim-toolbar select,.battle-side select{width:100%;min-height:42px;padding:0 11px;border:1px solid rgba(119,174,216,.16);border-radius:9px;background:#06101d;color:#eef6ff;font:inherit}.battle-sim-toolbar input{width:100%;accent-color:#7adfff}
.battle-sim-stage{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:13px;align-items:stretch}.battle-side{padding:20px;display:grid;align-content:start;gap:13px;border:1px solid rgba(117,161,201,.16);border-radius:20px;background:linear-gradient(145deg,rgba(13,27,46,.98),rgba(5,12,22,.99));box-shadow:0 18px 45px rgba(0,0,0,.25)}.battle-side.attacker{border-top:3px solid #ff5269}.battle-side.defender{border-top:3px solid #55ccff}.battle-side>small{color:#71869d;font-size:.58rem;font-weight:950;letter-spacing:1.5px}.battle-versus{display:grid;place-items:center;align-content:center;gap:10px}.battle-versus span{width:55px;height:55px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:#101a29;color:#fff;font-weight:950;font-style:italic}.battle-versus i{width:1px;height:75px;background:linear-gradient(transparent,rgba(255,255,255,.15),transparent)}
.battle-player-card{min-height:180px;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:18px}.battle-player-art{height:180px;position:relative;display:grid;place-items:end center;overflow:hidden;border-radius:15px;background:radial-gradient(circle at 50% 70%,rgba(255,255,255,.12),transparent 58%)}.battle-player-art img{width:100%;height:100%;object-fit:contain}.battle-player-art span{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:7px;background:rgba(2,9,16,.86);font-size:.57rem;font-weight:900}.battle-player-card small{color:#71869b;font-size:.57rem}.battle-player-card strong{display:block;margin:5px 0;font-size:1.18rem}.battle-player-card p{margin:15px 0 0;color:#8194aa;font-size:.68rem}.battle-player-card p b{display:block;color:#fff;font-size:1.55rem}
.battle-result{margin-top:15px;padding:22px;border:1px solid rgba(116,171,213,.18);border-radius:20px;background:linear-gradient(145deg,#0d1b2d,#06101d)}.battle-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.battle-result-head small{color:#72d9ff;font-size:.57rem;font-weight:950;letter-spacing:1px}.battle-result-head strong{display:block;margin:5px 0;font-size:1.3rem}.battle-result-head span{color:#879aae;font-size:.67rem}.battle-probability{text-align:right}.battle-probability b{display:block;color:#7de0ff;font-size:2.2rem}.battle-probability small{color:#8194aa}.battle-result-bar{height:9px;margin:18px 0;overflow:hidden;border-radius:20px;background:#223247}.battle-result-bar i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#ff536a,#ffd35d 48%,#66ddff);box-shadow:0 0 18px rgba(96,220,255,.45)}.battle-score-grid{display:grid;grid-template-columns:1fr 55px 1fr;align-items:center;gap:12px}.battle-score-grid>div{padding:13px;border-radius:12px;background:rgba(255,255,255,.035)}.battle-score-grid>div:last-child{text-align:right}.battle-score-grid span,.battle-score-grid small{display:block;color:#8194aa;font-size:.6rem}.battle-score-grid strong{font-size:1.45rem}.battle-score-grid em{text-align:center;color:#63778e;font-size:.62rem}.battle-result-empty{display:grid;gap:5px;text-align:center;color:#8498ae}.battle-disclaimer{margin:12px 5px 0;color:#61758c;font-size:.62rem;line-height:1.5}
@media(max-width:800px){.battle-sim-toolbar{grid-template-columns:1fr}.battle-sim-stage{grid-template-columns:1fr}.battle-versus{grid-template-columns:1fr;min-height:55px}.battle-versus i{display:none}.battle-result-head{align-items:flex-start}.battle-player-card{grid-template-columns:115px 1fr}.battle-player-art{height:145px}}@media(max-width:520px){.battle-sim-hero{padding:27px 21px}.battle-sim-hero>b{display:none}.battle-side{padding:14px}.battle-player-card{grid-template-columns:90px 1fr;gap:11px}.battle-player-art{height:120px}.battle-score-grid{grid-template-columns:1fr}.battle-score-grid em{display:none}.battle-score-grid>div:last-child{text-align:left}.battle-result-head{display:grid}.battle-probability{text-align:left}}



/* Sakuma Jirou 3016: imagen original de IE Cross Database.
   Sin recortes ni escalados especiales: usa el encuadre nativo del asset. */
#charactersGrid img[src*="/players/database/3016.png"]{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center bottom !important;
}

/* Banner completo de la cadena de Alius. */
.chain-cover[data-chain-id="alius"] .chain-cover-art{height:auto;aspect-ratio:16 / 9}
.chain-cover[data-chain-id="alius"] .chain-official-cover>img{object-fit:contain!important}

/* Evita que la marca se solape con las acciones en pantallas pequeñas. */
@media(max-width:520px){
  .nav{grid-template-columns:minmax(0,1fr)!important}
  .nav>.logo{grid-column:1;grid-row:1;justify-self:center}
  .nav>.nav-actions{grid-column:1;grid-row:2;justify-self:center}
  .nav>nav{grid-column:1;grid-row:3}
}

/* Obtención, entrenadores y condiciones de equipo. */
.wiki-info-panel{padding:18px;margin:18px 0;border:1px solid #29435c;border-radius:14px;background:#0b1929;color:#dceafa;line-height:1.6}
.wiki-info-panel h3{font-size:17px;color:#74e8ff;margin:0 0 12px}.wiki-info-panel ul{padding:0;list-style:none}.wiki-info-panel li{padding:9px 0;border-bottom:1px solid #243549}.wiki-info-panel li span{display:block;font-size:13px;color:#b7cadb}.wiki-info-panel small{color:#9fb4c9}
.coach-profile-dialog{width:min(640px,calc(100% - 32px));box-sizing:border-box;max-height:85vh;overflow:auto;border:1px solid #3a617c;border-radius:18px;padding:24px;background:#0c1929;color:#eaf4ff;line-height:1.65}.coach-profile-dialog::backdrop{background:rgba(0,0,0,.75)}.coach-profile-dialog>img{display:block;width:130px;height:130px;object-fit:contain}.coach-profile-dialog h3{color:#71e8ff}.coach-dialog-close{float:right;padding:10px 16px;background:#193448;color:white;border:1px solid #3b647c;border-radius:9px;cursor:pointer}
.gacha-purchase-summary{display:grid;gap:7px;margin:12px 0;padding:12px;border:1px solid #34819a;border-radius:10px;background:#0a2734;font-size:13px}.gacha-purchase-summary.paid{background:#302414;border-color:#b78a39}.gacha-purchase-summary strong{color:#7be7ff}.gacha-purchase-summary.paid strong{color:#ffd36f}
/* Filtros rápidos del centro de noticias. */
.news-filter-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(95,190,220,.18);border-radius:12px;background:rgba(8,24,39,.72);color:#c9d9e8;font-size:13px}
.news-filter-bar label{display:flex;align-items:center;gap:8px}.news-filter-bar select{padding:7px 10px;border:1px solid #31536a;border-radius:8px;background:#0c1b2b;color:#eaf5ff}.news-filter-bar input{accent-color:#00d2ff}

/* Accesos rápidos de la portada. */
.home-quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px auto 22px;max-width:1130px}
.home-quick-links{margin-top:10px;margin-bottom:16px}.home-quick-links button{min-height:66px}.home-quick-links small{display:block;max-width:190px}
.home-quick-links button{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:14px;border:1px solid rgba(83,164,201,.2);border-radius:14px;background:linear-gradient(145deg,rgba(13,30,48,.95),rgba(7,15,27,.95));color:#dcebf7;text-align:left;cursor:pointer;transition:.18s ease}
.home-quick-links button:hover{transform:translateY(-2px);border-color:rgba(0,210,255,.55);box-shadow:0 8px 22px rgba(0,210,255,.1)}
.home-quick-links button>span{grid-row:span 2;color:#6fe6ff;font-size:22px}.home-quick-links strong{font-size:12px}.home-quick-links small{color:#758ca1;font-size:9px;line-height:1.35}
.gacha-ending-alert{display:inline-flex;align-items:center;margin:6px;padding:4px 7px;border-radius:6px;background:#713321;color:#ffd2a3;font-size:8px;font-weight:900;letter-spacing:.7px;animation:gachaEndingPulse 1.8s ease-in-out infinite}
@keyframes gachaEndingPulse{50%{box-shadow:0 0 0 4px rgba(255,112,57,.12)}}
@media(max-width:800px){.home-quick-links{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0 18px}.home-quick-links button{padding:11px}.home-quick-links small{font-size:8px}}
@media(max-width:520px){.home-quick-links{gap:7px}.home-quick-links button>span{font-size:18px}.home-quick-links strong{font-size:10px}.home-quick-links small{font-size:7px}header nav{padding-bottom:3px}header nav button{padding:9px 11px;font-size:9px}}

/* Controles compactos del filtro de noticias. */
.news-filter-bar{gap:10px;padding:10px 12px;background:linear-gradient(135deg,rgba(10,29,47,.96),rgba(7,18,31,.96));border-color:rgba(92,192,225,.24);font-size:11px}
.news-filter-bar label{min-height:32px;padding:0 8px;border:0;border-radius:9px;background:transparent;font-weight:700;color:#b9cfdf}
.news-filter-bar label:first-child{padding-left:0}
.news-filter-bar label:last-child{border:1px solid rgba(106,170,200,.18);background:rgba(255,255,255,.035)}
.news-filter-bar select{appearance:none;min-width:132px;padding:7px 31px 7px 10px;border:1px solid rgba(91,196,226,.38);border-radius:8px;background:#071827;color:#e9f8ff;color-scheme:dark;font:inherit;font-weight:800;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#72dff9 50%),linear-gradient(135deg,#72dff9 50%,transparent 50%);background-position:calc(100% - 14px) 52%,calc(100% - 9px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.news-filter-bar select option{background:#071827;color:#e9f8ff;font-weight:700}
.news-filter-bar select:hover,.news-filter-bar select:focus{border-color:#5ddcf8;box-shadow:0 0 0 3px rgba(56,210,244,.1);outline:0}
.news-filter-bar input[type="checkbox"]{appearance:none;width:34px;height:19px;margin:0;border:1px solid #42677c;border-radius:999px;background:#15283a;position:relative;cursor:pointer;transition:.18s ease}
.news-filter-bar input[type="checkbox"]::after{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#8ba4b6;transition:.18s ease}
.news-filter-bar input[type="checkbox"]:checked{border-color:#44d8f5;background:#08758d;box-shadow:0 0 0 3px rgba(68,216,245,.1)}
.news-filter-bar input[type="checkbox"]:checked::after{left:18px;background:#fff}
@media(max-width:520px){.news-filter-bar label{width:100%;justify-content:space-between}.news-filter-bar select{flex:1;min-width:0}}

/* Estilo común para todos los menús desplegables de la wiki. */
select{color-scheme:dark;appearance:none;border:1px solid rgba(91,177,211,.3);border-radius:10px;background-color:#071523;color:#e8f4ff;background-image:linear-gradient(45deg,transparent 50%,#70dff7 50%),linear-gradient(135deg,#70dff7 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;cursor:pointer}
select option{background:#101d30;color:#eaf5ff}
select:hover{border-color:rgba(88,216,245,.65);box-shadow:0 0 0 3px rgba(52,202,236,.08)}
select:focus{border-color:#55d9f5;box-shadow:0 0 0 3px rgba(52,202,236,.13);outline:0}
.custom-select-button:focus-visible,.custom-select-option:focus-visible{outline:2px solid #70e4ff;outline-offset:2px}
.custom-select-button:focus:not(:focus-visible),.custom-select-option:focus:not(:focus-visible){outline:0;box-shadow:none}.custom-select-button,.custom-select-option{user-select:none;-webkit-tap-highlight-color:transparent}
button,.news-card,.featured-card,.gacha-card,.team-saved-open{overflow-wrap:anywhere}
.character-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.character-copy-link{font-size:.7rem;padding:8px 11px}@media(max-width:520px){.character-detail-actions{align-items:stretch;flex-direction:column}.character-copy-link{align-self:flex-start}}
.comparator-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 16px;color:#7890a5;font-size:.68rem}.comparator-actions .button{padding:8px 12px;font-size:.68rem}.comparator-advanced{margin:0 0 16px;border:1px solid rgba(91,177,211,.16);border-radius:12px;background:rgba(7,18,31,.5)}.comparator-advanced summary{padding:11px 14px;color:#8edff7;font-size:.7rem;font-weight:800;cursor:pointer}.comparator-advanced .comparator-level-controls{margin:0;padding:12px;border:0;border-top:1px solid rgba(91,177,211,.12);border-radius:0;background:transparent}@media(max-width:520px){.comparator-actions{align-items:flex-start;flex-direction:column}}
.comparator-more-details{margin-top:18px;border:1px solid rgba(91,177,211,.16);border-radius:12px;background:rgba(7,18,31,.45)}.comparator-more-details summary{padding:12px 14px;color:#8edff7;font-size:.72rem;font-weight:800;cursor:pointer}.comparator-more-details[open] summary{border-bottom:1px solid rgba(91,177,211,.12)}.comparator-more-details .comparator-analysis-wrap,.comparator-more-details .comparator-detail-grid{margin:16px}
.site-footer-updated{margin:8px 0 0;color:#6f879b;font-size:.65rem}
.chain-cover-copy span{line-height:1.35}.chain-cover-copy strong{line-height:1.2}
.header-scrolled{box-shadow:0 8px 24px rgba(0,0,0,.28);border-bottom-color:rgba(94,211,239,.24)}header .nav-tab.active{box-shadow:inset 0 -2px 0 #64e4ff;color:#e9fbff}
@media(max-width:520px){header .logo{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header .nav-tab.active{box-shadow:inset 0 -2px 0 #64e4ff}}
@media(max-width:520px){.chain-cover-art{max-height:170px}.chain-cover-copy span{font-size:9px}}
.news-filter-bar label:first-child{border:0!important;background:transparent!important;padding:0!important;gap:9px;color:#8faabd}.news-filter-bar label:first-child .custom-select-wrap{min-width:128px}.news-filter-bar label:first-child .custom-select-button{border-color:rgba(91,196,226,.42);background:#071827}
.gacha-card .gacha-purchase-summary.paid{border-color:rgba(255,196,86,.65);background:linear-gradient(135deg,rgba(67,42,13,.85),rgba(36,25,12,.85))}.gacha-card .gacha-purchase-summary.normal{border-color:rgba(91,211,244,.4)}.gacha-card .gacha-status-badge{font-weight:950;letter-spacing:.05em}.gacha-detail .gacha-back{position:sticky;top:10px;z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.gacha-pool-card.rarity-3{border-color:rgba(255,208,99,.5)}.gacha-pool-card.rarity-2{border-color:rgba(113,213,255,.3)}.gacha-pool-card.rarity-1{border-color:rgba(143,159,178,.25)}.gacha-pool-card .gacha-pool-info span{font-weight:800}.gacha-pool-card.rarity-3 .gacha-pool-info span{color:#ffd36d}.gacha-pool-card.rarity-2 .gacha-pool-info span{color:#76dcff}
.page-content.active{animation:pageReveal .2s ease both}.rarity-three-stars,.rarity-3{color:#ffd36d}.rarity-two-stars,.rarity-2{color:#76dcff}.rarity-one-star,.rarity-1{color:#aab8c7}.button.primary{box-shadow:0 7px 18px rgba(55,205,239,.14)}.button.primary:hover{box-shadow:0 10px 24px rgba(55,205,239,.24)}
@keyframes pageReveal{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
.techniques-sort-label{display:grid;gap:4px}.techniques-sort-label>span{color:#7890a5;font-size:9px;font-weight:800;letter-spacing:.04em}.technique-db-users-heading span{font-size:.65rem}
.passive-search-hint{grid-column:1/-1;margin-top:-5px;color:#71899e;font-size:10px}.passive-search-wrap{grid-column:span 1}
@media(max-width:600px){.character-profile-portrait{max-height:310px;min-height:190px}.character-profile-portrait img{max-height:285px}.character-profile-info h1{font-size:clamp(1.65rem,8vw,2.35rem)}}
@media(max-width:600px){#personajes .characters-toolbar{gap:7px}#personajes .characters-toolbar-actions{gap:7px;flex-wrap:wrap}#personajes .characters-toolbar-actions .character-sort{flex:1;min-width:145px}#personajes .characters-toolbar-actions .favorites-filter-btn,#personajes .characters-toolbar-actions .characters-reset-btn{flex:1;min-width:130px;padding-inline:8px}.passive-search-hint{font-size:9px;margin-top:-2px}.characters-filters-v2{margin-top:10px}}
#noticias-inicio .content-section-heading{margin-bottom:14px}#noticias-inicio .content-section-heading h2{font-size:clamp(1.45rem,3vw,2rem)}#noticias-inicio .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-panel{animation:homePanelIn .22s ease both}.featured-section-heading,.home-panel .content-section-heading{align-items:end}.featured-section-heading p,.home-panel .content-section-heading p{max-width:560px}.featured-view-all{white-space:nowrap}
@keyframes homePanelIn{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:680px){#noticias-inicio .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-quick-links button{min-height:54px;padding:9px;column-gap:7px}.home-quick-links button>span{font-size:17px}.home-quick-links strong{font-size:9px}.home-quick-links small{font-size:7px}}
@media(max-width:430px){#noticias-inicio .news-grid{grid-template-columns:1fr}.home-quick-links{gap:6px}.home-quick-links button{min-height:48px}.home-quick-links small{display:none}}
.news-card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.news-status{font-weight:900;letter-spacing:.03em}.news-status.active{box-shadow:0 0 0 3px rgba(73,224,175,.1)}.news-status.upcoming{box-shadow:0 0 0 3px rgba(255,203,88,.1)}.news-status.finished{opacity:.8}.news-card-image{transition:transform .25s ease}.news-card:hover .news-card-image{transform:scale(1.035)}
@media(max-width:600px){.news-card-title{font-size:.78rem;line-height:1.28}.news-card-date{font-size:.58rem}.news-card-body{padding:10px}.news-card-labels{gap:5px;flex-wrap:wrap}}
.news-grid .news-card:first-child{border-color:rgba(91,218,244,.48);box-shadow:0 10px 28px rgba(0,185,229,.12)}.news-grid .news-card:first-child .news-card-title{font-weight:900}.news-grid .news-card:first-child .news-card-media::after{content:"DESTACADA";position:absolute;top:9px;left:9px;padding:4px 6px;border-radius:5px;background:rgba(6,22,35,.9);color:#7ce8ff;font-size:8px;font-weight:900;letter-spacing:.08em}.news-card-media{position:relative}
.hero{padding-top:clamp(34px,6vw,68px);padding-bottom:clamp(24px,4vw,46px)}.hero h1{margin-bottom:10px}.hero p{max-width:620px;margin-left:auto;margin-right:auto}
@media(max-width:600px){.hero{padding-top:28px;padding-bottom:22px}.hero h1{font-size:clamp(1.75rem,9vw,2.5rem)}.hero p{font-size:.78rem;line-height:1.5}}
.home-content-switcher{gap:7px}.home-switch-btn{min-width:108px;border-radius:10px;transition:background .18s ease,border-color .18s ease,transform .18s ease}.home-switch-btn:hover{transform:translateY(-1px)}.home-switch-btn.active{box-shadow:0 0 0 3px rgba(75,220,247,.1)}.home-quick-links button{min-height:70px}.home-quick-links button strong{line-height:1.2}.home-quick-links button small{margin-top:2px}.news-filter-bar{margin-top:2px}
@media(max-width:600px){.home-content-switcher{width:100%;justify-content:center}.home-switch-btn{min-width:0;flex:1;padding-inline:8px}.home-quick-links button{min-height:58px}}
.gacha-roll-calculator{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:18px;margin:16px 0;padding:14px 16px;border:1px solid rgba(91,177,211,.2);border-radius:14px;background:linear-gradient(135deg,rgba(10,29,47,.9),rgba(7,18,31,.9))}.gacha-roll-calculator label{display:grid;gap:6px}.gacha-roll-calculator label span{color:#83a1b6;font-size:10px;font-weight:800}.gacha-roll-calculator input{max-width:260px;padding:10px 12px;border:1px solid rgba(91,177,211,.3);border-radius:9px;background:#071523;color:#fff;font:inherit}.gacha-roll-calculator>div{text-align:right}.gacha-roll-calculator strong{display:block;color:#73e2ff;font-size:25px}.gacha-roll-calculator small{color:#8da2b4;font-size:10px}@media(max-width:520px){.gacha-roll-calculator{grid-template-columns:1fr}.gacha-roll-calculator>div{text-align:left}}
.gacha-roll-calculator input[type="number"]{-moz-appearance:textfield}.gacha-roll-calculator input[type="number"]::-webkit-inner-spin-button,.gacha-roll-calculator input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:600px){.custom-select-menu{min-width:165px;max-height:220px}.custom-select-option{padding:10px 9px}.custom-select-button{min-height:42px}}
.custom-select-wrap{position:relative;min-width:0}.custom-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.custom-select-button{width:100%;min-height:39px;padding:8px 30px 8px 11px;border:1px solid rgba(91,177,211,.3);border-radius:10px;background:#071523;color:#e8f4ff;text-align:left;font:inherit;font-size:.78rem;cursor:pointer;position:relative}.custom-select-button::after{content:"";position:absolute;right:12px;top:50%;width:7px;height:7px;border-right:2px solid #70dff7;border-bottom:2px solid #70dff7;transform:translateY(-65%) rotate(45deg);transition:.16s}.custom-select-wrap.open .custom-select-button{border-color:#55d9f5;box-shadow:0 0 0 3px rgba(52,202,236,.13)}.custom-select-wrap.open .custom-select-button::after{transform:translateY(-25%) rotate(225deg)}.custom-select-menu{display:none;position:absolute;z-index:80;top:calc(100% + 5px);left:0;right:auto;min-width:180px;width:max-content;max-width:calc(100vw - 20px);max-height:260px;overflow:auto;padding:5px;border:1px solid rgba(91,177,211,.45);border-radius:10px;background:#0b1c2d;box-shadow:0 14px 30px rgba(0,0,0,.45)}.custom-select-wrap.open .custom-select-menu{display:grid;gap:2px}.custom-select-option{width:100%;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#dcecf8;text-align:left;font:inherit;font-size:.76rem;cursor:pointer}.custom-select-option:hover,.custom-select-option.selected{background:rgba(47,177,224,.22);color:#fff}.news-filter-bar .custom-select-button{min-height:32px;padding-top:6px;padding-bottom:6px}.news-filter-bar,.news-filter-bar label,.news-filter-bar .custom-select-wrap{overflow:visible}
