* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

.topbar {
    padding: 18px;
    background: #111827;
    border-bottom: 1px solid #334155;
}

h1 {
    margin: 0;
    font-size: 26px;
}

h2 {
    margin-top: 0;
}

.sub {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: #020617;
    border-bottom: 1px solid #334155;
    overflow-x: auto;
}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    background: #1e293b;
    padding: 9px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.nav a.active,
.nav a:hover {
    background: #2563eb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px;
}

.card,
.day,
.groupbox {
    margin: 18px 0;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    overflow: hidden;
}

.card {
    padding: 16px;
}

.day h2,
.groupbox h2 {
    margin: 0;
    padding: 12px 14px;
    background: #1e293b;
    font-size: 18px;
}

.match {
    display: grid;
    grid-template-columns: 90px 1fr 80px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-top: 1px solid #334155;
}

.match.germany {
    background: #14532d;
    border-left: 5px solid #22c55e;
}

.time {
    color: #93c5fd;
    font-weight: bold;
}

.team {
    font-size: 16px;
}

.score {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 8px;
}

.stage {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.teamlist {
    list-style: none;
    padding: 14px;
    margin: 0;
}

.teamlist li {
    padding: 8px 0;
    border-bottom: 1px solid #334155;
}

.teamlist li:last-child {
    border-bottom: none;
}

.germany-team {
    background: #14532d;
    color: #ffffff;
    font-weight: bold;
    padding: 10px;
    border-left: 5px solid #22c55e;
    border-radius: 8px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid #334155;
    text-align: center;
}

th {
    background: #1e293b;
    color: #bfdbfe;
}

td.teamname {
    text-align: left;
    font-weight: bold;
}

.qualify {
    background: rgba(34,197,94,0.20);
}

.playoff {
    background: rgba(250,204,21,0.20);
}

.out {
    background: rgba(239,68,68,0.20);
}

.germany-row {
    background: #14532d;
    font-weight: bold;
    border-left: 5px solid #facc15;
}

.empty {
    padding: 20px;
    background: #7f1d1d;
    border-radius: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    font-size: 13px;
}

.footer {
    text-align: center;
    color: #64748b;
    padding: 30px 10px;
}

.germany-next {
    background: linear-gradient(135deg, #14532d, #052e16);
    border: 2px solid #22c55e;
}

.germany-next h2 {
    margin-bottom: 18px;
}

.germany-next-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
}

.germany-next-teams > div:first-child {
    text-align: right;
}

.germany-next-teams > div:last-child {
    text-align: left;
}

.versus {
    font-size: 16px;
    color: #bbf7d0;
    font-weight: normal;
}

.flag {
    margin-right: 6px;
}

.germany-next-time {
    margin-top: 18px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.countdown {
    margin: 14px auto 0 auto;
    padding: 10px 16px;
    max-width: 420px;
    text-align: center;
    background: #020617;
    border: 1px solid #22c55e;
    border-radius: 999px;
    font-size: 18px;
    font-weight: bold;
}

.germany-next-meta {
    margin-top: 14px;
    text-align: center;
    color: #bbf7d0;
}

.germany-last {
    border: 2px solid #facc15;
    background: #1e293b;
}

.today-card {
    border: 1px solid #38bdf8;
}

.tomorrow-card {
    border: 1px solid #818cf8;
}

.today-card h2,
.tomorrow-card h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-form label {
    font-weight: bold;
}

.filter-form select {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 16px;
}

.reset-link {
    color: #93c5fd;
    text-decoration: none;
    background: #1e293b;
    padding: 10px 12px;
    border-radius: 10px;
}

.reset-link:hover {
    background: #2563eb;
}

/* Turnierbaum */
.bracket {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 10px 0 24px 0;
}

.bracket-round {
    position: relative;
    min-width: 300px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 18px;
    padding: 34px 14px 14px 14px;
}

.bracket-round h2 {
    position: absolute;
    top: -16px;
    left: 18px;
    margin: 0;
    padding: 6px 14px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-size: 16px;
    border: 2px solid #60a5fa;
}

.bracket-match {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.bracket-match.germany {
    background: #14532d;
    border-left: 6px solid #22c55e;
}

.bracket-date {
    color: #93c5fd;
    font-size: 13px;
    margin-bottom: 8px;
}

.bracket-team {
    padding: 7px 0;
    font-weight: bold;
    font-size: 15px;
}

.bracket-score {
    text-align: center;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 7px;
    margin: 8px 0;
    font-weight: bold;
}

.bracket-ground {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 8px;
}

.bracket-empty {
    color: #94a3b8;
    padding: 12px;
}

/* Mobile Optimierung */
@media (max-width: 700px) {
    h1 {
        font-size: 22px;
    }

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

    .match {
        grid-template-columns: 70px 1fr;
    }

    .score {
        grid-column: 1 / -1;
    }

    .team {
        font-size: 15px;
    }

    .nav {
        padding: 8px;
    }

    .nav a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .germany-next-teams {
        grid-template-columns: 1fr;
        text-align: center;
        font-size: 24px;
    }

    .germany-next-teams > div:first-child,
    .germany-next-teams > div:last-child {
        text-align: center;
    }

    .versus {
        font-size: 15px;
    }

    .germany-next-time {
        font-size: 22px;
    }

    .countdown {
        font-size: 17px;
        border-radius: 14px;
    }

    .today-card h2,
    .tomorrow-card h2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-form select,
    .reset-link {
        width: 100%;
    }

    .table-wrap {
        overflow-x: hidden !important;
    }

    table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    th:nth-child(4),
    th:nth-child(5),
    th:nth-child(6),
    th:nth-child(8),
    td:nth-child(4),
    td:nth-child(5),
    td:nth-child(6),
    td:nth-child(8) {
        display: none !important;
    }

    th,
    td {
        font-size: 18px !important;
        padding: 12px 5px !important;
    }

    th:nth-child(1),
    td:nth-child(1) {
        width: 45px !important;
    }

    th:nth-child(2),
    td:nth-child(2) {
        width: auto !important;
        text-align: left !important;
    }

    th:nth-child(3),
    td:nth-child(3),
    th:nth-child(7),
    td:nth-child(7),
    th:nth-child(9),
    td:nth-child(9) {
        width: 55px !important;
    }

    td.teamname {
        white-space: normal !important;
        word-break: normal !important;
        font-size: 18px !important;
    }

    .bracket {
        display: block;
        overflow-x: visible;
    }

    .bracket-round {
        min-width: 0;
        margin-bottom: 28px;
    }

    .bracket-round h2 {
        font-size: 15px;
    }
}

/* K.O.-Baum sauber gestaffelt */
.ko-bracket {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 28px 0 50px 0;
    align-items: flex-start;
}

.ko-round {
    min-width: 300px;
    flex: 0 0 300px;
    position: relative;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 18px;
    padding: 42px 14px 14px 14px;
}

.ko-round h2 {
    position: absolute;
    top: -18px;
    left: 18px;
    margin: 0;
    padding: 8px 18px;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    border: 2px solid #60a5fa;
}


.ko-pair {
    margin-bottom: 24px;
    padding-right: 0;
}

.ko-match {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 12px;
}

.ko-match::after,
.ko-connector,
.ko-connector span {
    display: none !important;
}

.ko-date {
    color: #93c5fd;
    font-size: 12px;
    margin-bottom: 8px;
}

.ko-team {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
}

.ko-team.winner {
    background: rgba(34,197,94,0.25);
    border: 1px solid #22c55e;
}

.ko-score {
    text-align: center;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 5px;
    margin: 6px 0;
    font-weight: bold;
}

.ko-match.germany {
    background: #14532d;
    border-left: 6px solid #22c55e;
}

.ko-final-round {
    border-color: #facc15;
    background: linear-gradient(180deg, #2a2105, #0f172a);
}

.ko-final-round h2 {
    background: #b45309;
    border-color: #facc15;
}

.final-match {
    border-color: #facc15;
    background: linear-gradient(135deg, #422006, #111827);
}

.tournament-winner {
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    background: rgba(250,204,21,0.18);
    border: 1px solid #facc15;
    border-radius: 10px;
    color: #fde68a;
    font-weight: bold;
}

@media (max-width: 700px) {
    .ko-bracket {
        display: block;
        overflow-x: visible;
    }

    .ko-round {
        min-width: 0;
        margin-top: 0 !important;
        margin-bottom: 30px;
    }
}

/* K.O.-Phase endgültige Desktop-Korrektur */
@media (min-width: 701px) {
    .ko-page {
        width: calc(100vw - 30px) !important;
        max-width: none !important;
        margin-left: calc((1100px - 100vw) / 2 + 15px) !important;
        overflow-x: auto !important;
    }

    .ko-bracket {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 28px !important;
        overflow-x: auto !important;
        width: max-content !important;
        min-width: max-content !important;
        padding: 28px 40px 50px 0 !important;
        align-items: flex-start !important;
    }

    .ko-round {
        flex: 0 0 300px !important;
        min-width: 300px !important;
        margin-top: 0 !important;
    }

    .ko-round:nth-child(2),
    .ko-round:nth-child(3),
    .ko-round:nth-child(4),
    .ko-round:nth-child(5) {
        margin-top: 0 !important;
    }
}

.share-buttons{
    display:flex;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
}

.share-buttons button,
.share-whatsapp{
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:8px 12px;
    text-decoration:none;
    cursor:pointer;
    font-size:14px;
}

.share-buttons button:hover,
.share-whatsapp:hover{
    background:#1d4ed8;
}

.share-whatsapp{
    display:inline-flex;
    align-items:center;
}

@media (max-width:700px){

    .share-buttons{
        width:100%;
    }

    .share-buttons button,
    .share-whatsapp{
        flex:1;
        justify-content:center;
        text-align:center;
    }
}

.live-dot {
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ef4444;
    margin-right:8px;

    animation: liveBlink 1s infinite;
}

@keyframes liveBlink {

    0% {
        opacity:1;
        transform:scale(1);
    }

    50% {
        opacity:0.2;
        transform:scale(1.4);
    }

    100% {
        opacity:1;
        transform:scale(1);
    }
}

.live-header {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 14px 14px 0 14px;
    padding: 8px 12px;

    background: rgba(239,68,68,0.15);
    border-left: 4px solid #ef4444;

    color: #ffffff;
    font-weight: bold;
    border-radius: 8px;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;

    animation: liveBlink 1s infinite;
}

@keyframes liveBlink {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.match-live {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: #ef4444;
    font-weight: bold;
    font-size: 14px;
}

.live-match {
    border-left: 5px solid #ef4444;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: liveBlink 1s infinite;
}

@keyframes liveBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.25;
        transform: scale(1.5);
    }
}
.stream-list {
    display: grid;
    gap: 12px;
}

.stream-card {
    display: grid;
    grid-template-columns: 130px 1fr 110px 190px;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
}

.germany-stream {
    background: #14532d;
    border-left: 5px solid #22c55e;
}

.stream-date {
    color: #93c5fd;
    font-weight: bold;
}

.stream-match {
    font-weight: bold;
}

.stream-tv {
    text-align: center;
    font-weight: bold;
}

.stream-button {
    display: inline-block;
    text-align: center;
    background: #2563eb;
    color: #fff;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
}

.stream-button:hover {
    background: #1d4ed8;
}

.stream-no-link {
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 700px) {
    .stream-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stream-tv {
        text-align: left;
    }

    .stream-button {
        width: 100%;
    }
}
.team,
.teamname,
.stream-match,
.germany-next-teams,
.bracket-team,
.ko-team {
    font-family:
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        Arial,
        Helvetica,
        sans-serif;
}
.flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: -3px;
}

.back-links{
    margin-bottom:18px;
}

.match-stream-button {
    display: inline-block;
    margin-top: 8px;
    background: #2563eb;
    color: #fff;
    padding: 7px 10px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
}

.match-stream-button:hover {
    background: #1d4ed8;
}

.germany-stream {
    margin-top: 16px;
    text-align: center;
}

.germany-stream-button {
    display: inline-block;
    margin-left: 10px;
    padding: 10px 14px;

    background: #2563eb;
    color: #fff;

    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

.germany-stream-button:hover {
    background: #1d4ed8;
}

.tv-badge {
    grid-column: 1 / -1;

    display: inline-block;

    background: #1e293b;
    color: #93c5fd;

    padding: 4px 8px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: bold;

    margin-bottom: 4px;
}

.time-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-mini-badge {
    display: inline-block;
    padding: 3px 8px;

    background: #1e293b;
    color: #93c5fd;

    border-radius: 999px;

    font-size: 11px;
    font-weight: bold;

    width: fit-content;
}

.team-popup-table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
}

.team-popup-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.team-popup-table th,
.team-popup-table td {
    padding: 8px;
    border-bottom: 1px solid #334155;
    text-align: center;
}

.team-popup-table th {
    background: #1e293b;
    color: #bfdbfe;
}

/* Team-Popup Tabelle mobil scrollbar erzwingen */
.team-popup-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.team-popup-table {
    width: max-content !important;
    min-width: 650px !important;
    table-layout: auto !important;
}

.team-popup-table th,
.team-popup-table td {
    white-space: nowrap !important;
}

@media (max-width: 700px) {
    .team-popup-table-wrap {
        overflow-x: scroll !important;
    }

    .team-popup-table {
        min-width: 650px !important;
        width: 650px !important;
    }
}

.team-popup-table td.teamname {
    text-align: left;
    font-weight: bold;
}

.selected-team-row {
    outline: 2px solid #22c55e;
    font-weight: bold;
}

@media (max-width: 700px) {

    .team-popup-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .team-popup-table {
        min-width: 650px;
        font-size: 14px;
    }

    .team-popup-table th,
    .team-popup-table td {
        white-space: nowrap;
    }
}

.team-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.team-link:hover {
    text-decoration: underline;
}

.team-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,.85);
    z-index: 9999;
    padding: 20px;
}

.team-popup.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-popup-box {
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #111827;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.team-popup-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #7f1d1d;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.team-popup-title {
    font-size: 28px;
    font-weight: bold;
}

.team-popup-sub {
    color: #94a3b8;
    margin-top: 6px;
    margin-bottom: 16px;
}

.team-popup-stats {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.team-popup-stats div {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.team-popup-stats strong {
    display: block;
    font-size: 22px;
    color: #fff;
}

.team-popup-stats span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.team-popup-games {
    margin-top: 15px;
}

.team-popup-game {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

.team-popup-game-date {
    color: #93c5fd;
    font-weight: bold;
    margin-bottom: 6px;
}

.team-popup-game-match {
    font-size: 16px;
    font-weight: bold;
}

.team-popup-game-meta {
    margin-top: 6px;
    color: #94a3b8;
}

.team-popup-stream {
    margin-top: 8px;
}

.team-popup-stream a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: bold;
}

.team-popup-stream a:hover {
    text-decoration: underline;
}

@media (max-width:700px) {

    .team-popup {
        padding: 10px;
    }

    .team-popup-box {
        padding: 15px;
    }

    .team-popup-title {
        font-size: 22px;
    }

    .team-popup-stats {
        grid-template-columns: repeat(2,1fr);
    }
}
/* Team-Popup Tabelle: alle Spalten anzeigen */
.team-popup-table th,
.team-popup-table td {
    display: table-cell !important;
}

@media (max-width: 700px) {

    .team-popup-table th,
    .team-popup-table td {
        display: table-cell !important;
    }

    .team-popup-table-wrap {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .team-popup-table {
        width: 700px !important;
        min-width: 700px !important;
    }

    .team-popup-table th,
    .team-popup-table td {
        white-space: nowrap !important;
    }
}

.hidden-admin {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.hidden-admin:hover {
    color: #60a5fa;
}

.tv-logo {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.tv-ard {
    background: #2563eb;
}

.tv-zdf {
    background: #f97316;
}

.tv-magenta {
    background: #d946ef;
}

.tv-other {
    background: #64748b;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.status-in {
    background: #14532d;
    color: #bbf7d0;
}

.status-out {
    background: #7f1d1d;
    color: #fecaca;
}
.third-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.third-summary div {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.third-summary strong {
    display: block;
    font-size: 28px;
    color: #fff;
}

.third-summary span {
    color: #94a3b8;
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.status-in {
    background: #14532d;
    color: #bbf7d0;
}

.status-out {
    background: #7f1d1d;
    color: #fecaca;
}

.third-in {
    border-color: #22c55e;
}

.third-out {
    border-color: #ef4444;
}

@media (max-width:700px) {
    .third-summary {
        grid-template-columns: 1fr;
    }
}

/* MatchCenter Admin */
.live-admin-box {
    max-width: 900px;
    margin: 20px auto;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 18px;
    color: #e5e7eb;
}

.live-admin-list a {
    display: block;
    padding: 12px;
    margin-bottom: 8px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #e5e7eb;
    text-decoration: none;
}

.live-admin-list a.active {
    border-color: #22c55e;
    background: #14532d;
}

.live-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.live-form-grid label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.live-form-grid input,
.live-form-grid select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #020617;
    color: #fff;
    font-size: 18px;
}

.live-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.live-actions button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    font-weight: bold;
    cursor: pointer;
}

.live-actions .danger {
    background: #7f1d1d;
}

.live-score-title {
    font-size: 24px;
    font-weight: bold;
    margin: 18px 0;
    text-align: center;
}

.success {
    background: #14532d;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

@media (max-width: 700px) {
    .live-form-grid {
        grid-template-columns: 1fr;
    }
}

.live-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-counter button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}

.live-counter input {
    text-align: center;
}

/* MatchCenter modern */
.mc-match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.mc-match-card {
    display: block;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 14px;
    color: #e5e7eb;
    text-decoration: none;
}

.mc-match-card.active {
    border-color: #22c55e;
    background: #14532d;
}

.mc-match-time {
    color: #93c5fd;
    font-weight: bold;
    margin-bottom: 8px;
}

.mc-match-teams {
    font-size: 16px;
    font-weight: bold;
}

.mc-match-teams span {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 6px;
}

.mc-scoreboard {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    gap: 16px;
    align-items: center;
}

.mc-team-control {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}

.mc-team-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 14px;
}

.mc-team-control input,
.mc-minute-buttons input {
    width: 90px;
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #fff;
    padding: 8px;
}

.mc-team-control button,
.mc-minute-buttons button,
.mc-status-buttons button {
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 18px;
    cursor: pointer;
}

.mc-vs {
    text-align: center;
}

.mc-score-preview {
    font-size: 58px;
    font-weight: bold;
}

.mc-minute-preview {
    margin-top: 8px;
    font-size: 24px;
    color: #f87171;
    font-weight: bold;
}

.mc-minute-box,
.mc-status-box {
    margin-top: 20px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 16px;
}

.mc-minute-buttons,
.mc-status-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.mc-status-buttons button {
    font-size: 15px;
    background: #1e293b;
}

.mc-status-buttons button.active {
    background: #16a34a;
}

@media (max-width: 800px) {
    .mc-scoreboard {
        grid-template-columns: 1fr;
    }

    .mc-score-preview {
        font-size: 48px;
    }

    .mc-team-control button,
    .mc-minute-buttons button {
        flex: 1;
    }

    .mc-minute-buttons input {
        width: 100%;
    }
}

.goal-list {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid #334155;
    border-radius: 10px;
    color: #dbeafe;
    font-size: 13px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.goal-team strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}