/* RESET E ESTILOS GERAIS */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: #050b09;
            background-image:
                radial-gradient(circle at 50% 30%, rgba(20, 45, 35, 0.6) 0%, rgba(5, 11, 9, 0.95) 80%),
                linear-gradient(to bottom, rgba(5, 11, 9, 0.8), #050b09);
            color: #e0e0e0;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 20px 10px 60px 10px;
            position: relative;
        }

        .app-container {
            width: 100%;
            max-width: 440px;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            padding: 10px;
        }

        /* LOGO BDA NO TOPO */
        .top-logo-header {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 20px;
        }

        .top-logo-img {
            max-width: 180px;
            height: auto;
            filter: drop-shadow(0px 4px 10px rgba(241, 105, 36, 0.4));
        }

        /* BOTÃO DE CRÉDITOS */
        .btn-creditos {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(13, 26, 21, 0.8);
            border: 1px solid #1d3b2f;
            color: #72a28a;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 100;
        }

        .btn-creditos:hover {
            background: #1d3b2f;
            color: #ffffff;
            border-color: #f16924;
        }

        /* TELA INITIAL */
        .subtitle {
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 2px;
            color: #72a28a;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .logo-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 7.5rem;
            line-height: 0.85;
            letter-spacing: -2px;
            background: linear-gradient(180deg, #93f1be 0%, #ffffff 40%, #f16924 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0px 4px 15px rgba(241, 105, 36, 0.25));
        }

        .tagline {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2.2rem;
            line-height: 0.95;
            color: #ffffff;
            margin-top: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .description {
            font-size: 0.95rem;
            line-height: 1.5;
            color: #a0b3a8;
            margin-bottom: 20px;
        }

        .support-link-box {
            font-size: 0.85rem;
            color: #72a28a;
            font-weight: 600;
            margin-bottom: 30px;
        }

        .support-link-box a {
            color: #f16924;
            font-weight: 800;
            text-decoration: none;
            transition: color 0.2s;
        }

        .support-link-box a:hover {
            color: #93f1be;
            text-decoration: underline;
        }

        /* REDES SOCIAIS */
        .social-container {
            margin-top: 25px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 0.85rem;
            color: #72a28a;
            font-weight: 600;
        }

        .social-title {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #a0b3a8;
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .social-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            font-weight: 800;
            font-size: 0.9rem;
            line-height: 1;
            transition: opacity 0.2s;
        }

        .social-item:hover {
            opacity: 0.8;
        }

        .social-icon {
            width: 18px;
            height: 18px;
            object-fit: contain;
            vertical-align: middle;
        }

        .link-insta {
            color: #e1306c;
        }

        .link-x {
            color: #ffffff;
        }

        .btn-primary {
            width: 100%;
            background: linear-gradient(135deg, #f16924 0%, #d44d0d 100%);
            color: #ffffff;
            border: none;
            padding: 18px 24px;
            border-radius: 8px;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.8rem;
            letter-spacing: 1.5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(241, 105, 36, 0.35);
            transition: all 0.2s;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(241, 105, 36, 0.5);
        }

        .btn-secondary {
            width: 100%;
            background: transparent;
            border: 2px solid #1d3b2f;
            color: #a0b3a8;
            padding: 14px 20px;
            border-radius: 8px;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem;
            letter-spacing: 1px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-secondary:hover {
            background: #142a22;
            color: #ffffff;
            border-color: #72a28a;
        }

        /* POP-UP / MODAL */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            padding: 15px;
        }

        .modal-card {
            background: #0d1a15;
            border: 2px solid #f16924;
            border-radius: 16px;
            width: 100%;
            max-width: 420px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            padding: 20px;
            position: relative;
            box-shadow: 0 0 25px rgba(241, 105, 36, 0.3);
            overflow: hidden;
        }

        .modal-close-x {
            position: absolute;
            top: 15px;
            right: 18px;
            background: transparent;
            border: none;
            color: #a0b3a8;
            font-size: 1.5rem;
            font-weight: 900;
            cursor: pointer;
            transition: color 0.2s;
            line-height: 1;
        }

        .modal-close-x:hover {
            color: #f16924;
        }

        .modal-header-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2.2rem;
            letter-spacing: 1px;
            color: #f16924;
            line-height: 1;
            margin-bottom: 4px;
        }

        .modal-date {
            font-size: 0.8rem;
            font-weight: 700;
            color: #72a28a;
            text-transform: uppercase;
            margin-bottom: 15px;
            border-bottom: 1px solid #1d3b2f;
            padding-bottom: 10px;
        }

        .modal-body-scroll {
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding-right: 5px;
            margin-bottom: 15px;
        }

        .modal-body-scroll::-webkit-scrollbar {
            width: 4px;
        }
        .modal-body-scroll::-webkit-scrollbar-thumb {
            background: #f16924;
            border-radius: 4px;
        }

        .update-item {
            font-size: 0.85rem;
            line-height: 1.5;
            color: #e0e0e0;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .update-item-arrow {
            color: #f16924;
            font-weight: 900;
            font-size: 1rem;
            line-height: 1.2;
        }

        .update-item-text strong {
            color: #93f1be;
        }

        .btn-modal-close {
            width: 100%;
            background: linear-gradient(135deg, #f16924 0%, #d44d0d 100%);
            color: #ffffff;
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.6rem;
            letter-spacing: 1.5px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(241, 105, 36, 0.3);
            transition: all 0.2s;
            text-align: center;
        }

        .btn-modal-close:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(241, 105, 36, 0.5);
        }

        /* GERENCIAMENTO DE TELAS */
        #home-screen-view {
            display: flex;
            flex-direction: column;
        }

        /* Telas escondidas inicialmente por padrão, mas serão geridas no JS */
        #mode-selection-screen, #bda10-submenu-screen, #trio-selection-screen, #sim-format-screen, #draft-screen, #sim-screen, #card-screen {
            display: none;
            flex-direction: column;
            gap: 15px;
        }

        .top-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(15, 30, 24, 0.8);
            border: 1px solid #1c3d30;
            padding: 10px 15px;
            border-radius: 8px;
        }

        .counter-box {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2rem;
            color: #93f1be;
        }

        /* JURADOS */
        .judges-box {
            font-size: 0.75rem;
            color: #72a28a;
            text-align: center;
            margin-top: -5px;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .card-drawn {
            background: #0d1a15;
            border: 1px solid #1d3b2f;
            border-radius: 8px;
            padding: 15px;
        }

        .card-label {
            font-size: 0.75rem;
            color: #72a28a;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .card-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2.2rem;
            color: #ffffff;
            line-height: 1;
            margin: 5px 0;
            transition: opacity 0.1s;
        }

        .card-bda {
            color: #f16924;
            font-weight: 700;
            font-size: 0.9rem;
        }

        .btn-resort {
            background: transparent;
            border: 1px solid #1d3b2f;
            color: #a0b3a8;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
            width: 100%;
            transition: 0.2s;
        }

        .btn-resort:hover:not(:disabled) {
            background: #142a22;
            color: #fff;
        }

        /* LISTA DE MCS PARA SELEÇÃO COM PESQUISA */
        .mc-list-container {
            background: #0d1a15;
            border: 1px solid #1d3b2f;
            border-radius: 8px;
            overflow: hidden;
            max-height: 280px;
            overflow-y: auto;
            position: relative;
        }

        .mc-list-header-sticky {
            position: sticky;
            top: 0;
            background: #0d1a15;
            z-index: 5;
        }

        .mc-list-title {
            padding: 10px 15px;
            font-size: 0.8rem;
            font-weight: 700;
            color: #72a28a;
            border-bottom: 1px solid #1d3b2f;
            text-transform: uppercase;
        }

        .search-wrapper {
            padding: 10px 15px;
            border-bottom: 1px solid #1d3b2f;
        }

        .search-bar {
            width: 100%;
            padding: 10px 12px;
            background: rgba(5, 11, 9, 0.9);
            border: 1px solid #1c3d30;
            color: #ffffff;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.2s;
        }

        .search-bar:focus {
            border-color: #f16924;
            box-shadow: 0 0 8px rgba(241, 105, 36, 0.2);
        }

        .search-bar::placeholder {
            color: #3b5c4f;
        }

        .mc-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid rgba(29, 59, 47, 0.5);
            cursor: pointer;
            transition: 0.2s;
        }

        .mc-item:last-child {
            border-bottom: none;
        }

        .mc-item:hover:not(.blocked) {
            background: rgba(147, 241, 190, 0.08);
        }

        .mc-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mc-state {
            color: #72a28a;
            font-weight: 700;
            font-size: 0.85rem;
            width: 30px;
        }

        .mc-name {
            color: #ffffff;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .mc-bda-tag {
            font-size: 0.65rem;
            color: #f16924;
            font-weight: 700;
            margin-left: 6px;
        }

        .mc-overall {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.6rem;
            color: #ffffff;
        }

        .mc-item.blocked {
            opacity: 0.35;
            cursor: not-allowed;
            background: rgba(0, 0, 0, 0.3);
        }

        .mc-item.blocked .mc-name::after {
            content: attr(data-reason);
            font-size: 0.7rem;
            color: #f16924;
            margin-left: 5px;
        }

        /* CARD DE SELEÇÃO DE TRIOS PRONTOS */
        .trio-select-card {
            background: #0d1a15;
            border: 1px solid #1d3b2f;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            flex-direction: column;
            text-align: center;
        }

        .trio-select-card:hover {
            background: rgba(147, 241, 190, 0.08);
            border-color: #72a28a;
        }

        .trio-select-names {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem;
            color: #ffffff;
        }

        .trio-select-ovr {
            font-size: 0.8rem;
            color: #93f1be;
            font-weight: bold;
            margin-top: 4px;
        }

        /* OCTÓGONO / RINGUE DE LUTA */
        .ring-wrapper {
            position: relative;
            width: 100%;
            padding-top: 100%;
            margin-top: 10px;
        }

        .ring-container {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: #020504;
            border-radius: 12px;
            border: 1px solid #1d3b2f;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .ring-svg {
            position: absolute;
            width: 90%;
            height: 90%;
        }

        .slot {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .slot-1 { top: 18%; left: 50%; transform: translateX(-50%); }
        .slot-2 { bottom: 20%; left: 22%; }
        .slot-3 { bottom: 20%; right: 22%; }

        .badge-state {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #ffffff;
            color: #000000;
            border: 3px solid #f16924;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 900;
            font-size: 0.95rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
        }

        .badge-empty {
            background: #12221b;
            color: #3b5c4f;
            border: 2px dashed #244738;
        }

        .mc-slot-name {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.1rem;
            color: #ffffff;
            background: rgba(5, 11, 9, 0.9);
            padding: 2px 8px;
            border-radius: 4px;
            margin-top: 4px;
            white-space: nowrap;
            border: 1px solid #1d3b2f;
        }
       
        .btn-remove-mc {
            position: absolute;
            top: -8px;
            right: -8px;
            background: transparent;
            border: none;
            width: 26px;
            height: 26px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            transition: transform 0.2s;
            padding: 0;
        }

        .btn-remove-mc img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
        }

        .btn-remove-mc:hover {
            transform: scale(1.15);
        }

        /* SIMULAÇÃO DA BATALHA */
        .battle-card {
            background: #0d1a15;
            border: 1px solid #1d3b2f;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 12px;
        }

        .battle-header {
            display: flex;
            flex-direction: column;
            border-bottom: 1px solid #1d3b2f;
            padding-bottom: 8px;
            margin-bottom: 10px;
        }

        .phase-title {
            font-size: 0.75rem;
            font-weight: 700;
            color: #72a28a;
            text-transform: uppercase;
        }

        .opp-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.25rem;
            color: #f16924;
            margin-top: 2px;
        }

        .rounds-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .round-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(5, 11, 9, 0.6);
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 0.85rem;
            border-left: 3px solid #3b5c4f;
        }

        .round-item.win { border-left-color: #93f1be; }
        .round-item.loss { border-left-color: #f16924; }

        .round-desc {
            color: #e0e0e0;
            font-weight: 600;
        }

        .round-score {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.2rem;
            color: #ffffff;
        }

        /* CAIXA DE ESCOLHA DE X1 */
        .x1-choice-box {
            background: #0a1410;
            border: 2px solid #f16924;
            border-radius: 8px;
            padding: 12px;
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .x1-choice-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #f16924;
            text-transform: uppercase;
            text-align: center;
        }

        /* CARD DE INTERVALO DE EVENTO */
        .interval-card {
            background: linear-gradient(135deg, #1c1308 0%, #0d1a15 100%);
            border: 2px solid #f16924;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 12px;
            box-shadow: 0 0 15px rgba(241, 105, 36, 0.2);
        }

        .interval-header {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.5rem;
            color: #f16924;
            border-bottom: 1px dashed #1d3b2f;
            padding-bottom: 6px;
            margin-bottom: 10px;
            text-align: center;
            letter-spacing: 1px;
        }

        .interval-lines-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .interval-line-item {
            font-size: 0.85rem;
            color: #93f1be;
            font-weight: 600;
            background: rgba(5, 11, 9, 0.7);
            padding: 8px 10px;
            border-radius: 4px;
            border-left: 3px solid #f16924;
            line-height: 1.4;
        }

        .final-result-box {
            text-align: center;
            background: #0d1a15;
            border: 2px solid #f16924;
            padding: 20px;
            border-radius: 8px;
            margin-top: 15px;
        }

        .final-score-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 4rem;
            color: #93f1be;
            line-height: 1;
        }

        /* CARD FINAL DE ESTATÍSTICAS */
        .summary-card-container {
            background: linear-gradient(180deg, #0f241a 0%, #050b09 100%);
            border: 2px solid #1d3b2f;
            border-radius: 12px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8);
            position: relative;
        }

        .card-close-x {
            position: absolute;
            top: 12px;
            right: 15px;
            background: transparent;
            border: none;
            color: #a0b3a8;
            font-size: 1.5rem;
            font-weight: 900;
            cursor: pointer;
            transition: color 0.2s;
            line-height: 1;
            z-index: 2;
        }

        .card-close-x:hover {
            color: #f16924;
        }

        .card-header-status {
            text-align: center;
            border-bottom: 1px solid #1d3b2f;
            padding-bottom: 10px;
        }

        .card-status-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2.8rem;
            letter-spacing: 1px;
            line-height: 1;
        }

        .card-status-title.campeao { color: #93f1be; text-shadow: 0 0 10px rgba(147, 241, 190, 0.4); }
        .card-status-title.eliminado { color: #f16924; text-shadow: 0 0 10px rgba(241, 105, 36, 0.4); }

        .card-score-big {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 2.2rem;
            color: #ffffff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .stat-box {
            background: rgba(5, 11, 9, 0.7);
            border: 1px solid #1c3d30;
            padding: 10px;
            border-radius: 6px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stat-label {
            font-size: 0.7rem;
            font-weight: 700;
            color: #72a28a;
            text-transform: uppercase;
        }

        .stat-value {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.8rem;
            color: #ffffff;
            margin-top: 2px;
        }

        .mvp-box {
            grid-column: span 2;
            background: linear-gradient(135deg, rgba(241, 105, 36, 0.15) 0%, rgba(5, 11, 9, 0.8) 100%);
            border: 1px solid #f16924;
        }

        .mvp-box .stat-value {
            color: #f16924;
            font-size: 2.2rem;
        }

        .trio-cards-container {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-top: 10px;
        }

        .mc-fut-card {
            flex: 1;
            background: #0a1410;
            border: 1px solid #1c3d30;
            border-radius: 8px;
            padding: 10px 5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        }

        .mc-fut-card.gold-icon {
            background: linear-gradient(135deg, #2c2206 0%, #0d0a02 100%);
            border: 2px solid #ffd700;
            box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
        }

        .mc-fut-card.gold-icon .mc-fut-ovr { color: #ffd700; }
        .mc-fut-card.gold-icon .mc-fut-name { color: #fff8d6; }

        .mc-fut-ovr {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.8rem;
            line-height: 1;
            color: #93f1be;
        }

        .mc-fut-state {
            font-size: 0.65rem;
            font-weight: 800;
            color: #72a28a;
            margin-bottom: 4px;
        }

        .mc-fut-name {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1.1rem;
            color: #ffffff;
            text-align: center;
            line-height: 1;
            margin-top: 4px;
        }

        .mc-fut-bda {
            font-size: 0.6rem;
            font-weight: 700;
            color: #f16924;
            margin-top: 2px;
        }

        .mode-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 4.5rem;
            color: #ffffff;
            text-align: center;
            margin-bottom: 20px;
            text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
        }

        .credits-watermark {
            position: fixed;
            bottom: 12px;
            right: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            color: rgba(147, 241, 190, 0.6);
            letter-spacing: 1px;
            pointer-events: none;
            z-index: 999;
        }

/* V8 — HISTÓRICO DA CAMPANHA */
.campaign-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 22px;
    text-align: left;
}

.campaign-history-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 1.2px;
    color: #f16924;
    border-bottom: 1px solid rgba(241, 105, 36, 0.35);
    padding-bottom: 6px;
}

.history-battle {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
    padding: 12px;
}

.history-battle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.history-battle-header > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-index {
    font-size: 0.62rem;
    color: #72a28a;
    letter-spacing: 1px;
}

.history-result {
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.history-result-win,
.history-win span:last-child {
    color: #72e69d;
}

.history-result-loss,
.history-loss span:last-child {
    color: #ff6b6b;
}

.history-opponent {
    margin-top: 8px;
    font-size: 0.77rem;
    color: #a0b3a8;
    line-height: 1.35;
}

.history-rounds {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 9px;
}

.history-round {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.68rem;
    color: #d6ddd9;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,.05);
}

@media (max-width: 520px) {
    .social-links {
        gap: 10px;
    }
    .social-item {
        font-size: 0.82rem;
    }
    .history-battle-header {
        flex-direction: column;
        gap: 5px;
    }
}


/* v11 — seed + save/resume */
.seed-config-box {
  margin: 0 0 18px; padding: 14px; border: 1px solid #1d3b2f; border-radius: 10px; background: rgba(8,15,12,.72);
}
.seed-config-box label { display:block; font-weight:900; font-size:.78rem; letter-spacing:1px; color:#93f1be; margin-bottom:8px; }
.seed-config-box label span { color:#72a28a; font-weight:600; }
.seed-config-box input { width:100%; box-sizing:border-box; background:#050907; color:#fff; border:1px solid #315744; border-radius:8px; padding:11px 12px; font-family:Montserrat,sans-serif; }
.seed-help { color:#72a28a; font-size:.68rem; margin-top:7px; }
.seed-display { margin:8px 0 12px; text-align:center; color:#72a28a; font-size:.72rem; letter-spacing:.6px; overflow-wrap:anywhere; }
.seed-display strong { color:#93f1be; }
.seed-copy-btn { margin-left:7px; border:1px solid #315744; background:transparent; color:#93f1be; border-radius:5px; padding:3px 7px; font-size:.62rem; font-weight:800; cursor:pointer; }
.card-seed { margin-top:0; margin-bottom:8px; }

/* v12 — Multiplayer anunciado no menu, ainda sem navegação */
.multiplayer-menu-btn {
  border-color: #5d62d9 !important;
  color: #b8baff !important;
  cursor: default;
}
.multiplayer-menu-btn:hover {
  transform: none;
}
.multiplayer-status {
  margin-left: 6px;
  font-size: .72em;
  font-weight: 700;
  opacity: .78;
}
