:root {
    --bg-dark: #1b241e;
    --panel-bg: #c4c8c5;
    --panel-light: #e2e5e3;
    --panel-shadow: #767a77;
    --pitch-green: #246b35;
    --pitch-dark: #184d25;
    --accent-gold: #e5b822;
    --accent-red: #a82424;
    --text-dark: #111111;
    --text-light: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

#app-container {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 1024px;
    height: 100dvh;
    margin: 0 auto;
    background-color: var(--panel-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header inkl. Safe-Area für iPhone Dynamic Island */
.bmh-header {
    background-color: var(--pitch-dark);
    color: var(--text-light);
    padding-top: calc(env(safe-area-inset-top, 14px) + 8px);
    padding-bottom: 8px;
    padding-left: calc(env(safe-area-inset-left, 0px) + 10px);
    padding-right: calc(env(safe-area-inset-right, 0px) + 10px);
    border-bottom: 3px solid #0e2e16;
    flex-shrink: 0;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.club-title-wrap {
    min-width: 0;
    overflow: hidden;
}

.bmh-header h1 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-info {
    display: block;
    font-size: 0.72rem;
    color: #cccccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.stat-box {
    background: #0e2e16;
    padding: 4px 6px;
    border: 1px solid var(--pitch-green);
    display: flex;
    flex-direction: column;
    text-align: right;
}

.stat-box .label {
    font-size: 0.56rem;
    color: #99b8a1;
}

.stat-box .value {
    font-size: 0.76rem;
    font-weight: bold;
    white-space: nowrap;
}

.money {
    color: #6ee787;
}

/* Hauptbereich: nur vertikal scrollbar, null horizontal */
.bmh-panel {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 10px;
}

.section-title {
    background-color: var(--pitch-green);
    color: var(--text-light);
    padding: 6px 8px;
    font-size: 0.88rem;
    margin-bottom: 10px;
    border-left: 4px solid var(--accent-gold);
}

.bmh-box {
    background-color: #d5d9d6;
    border: 2px solid var(--panel-shadow);
    border-right-color: var(--panel-light);
    border-bottom-color: var(--panel-light);
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    overflow-x: hidden;
}

/* Tabellen: strikt 100% Breite ohne seitliches Überstehen */
.bmh-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.73rem;
    background: #e9ecea;
}

.bmh-table th {
    background-color: var(--pitch-dark);
    color: var(--text-light);
    text-align: left;
    padding: 5px 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmh-table td {
    padding: 5px 4px;
    border-bottom: 1px solid #b5bab7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmh-table tr:hover {
    background-color: #d0dfd4;
}

/* Buttons & Inputs */
.bmh-btn {
    padding: 8px 10px;
    background-color: var(--panel-bg);
    border: 2px solid var(--panel-light);
    border-right-color: var(--panel-shadow);
    border-bottom-color: var(--panel-shadow);
    font-weight: bold;
    font-size: 0.78rem;
    cursor: pointer;
    max-width: 100%;
}

.bmh-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.bmh-btn.small-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.bmh-btn.primary {
    background-color: var(--pitch-green);
    color: var(--text-light);
}

.bmh-btn.danger {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.bmh-btn.gold-btn {
    background-color: var(--accent-gold);
    color: #111111;
}

.bmh-select, .bmh-input {
    width: 100%;
    max-width: 100%;
    padding: 6px;
    border: 2px solid var(--panel-shadow);
    background: #fff;
    font-weight: bold;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

/* ==========================================
   GRAFISCHES SPIELFELD & WECHSEL-SYSTEM
   ========================================== */
.swap-banner {
    background-color: #184d25;
    color: #f4f4f4;
    border: 2px solid var(--accent-gold);
    padding: 6px 8px;
    margin-bottom: 8px;
    font-size: 0.74rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.pitch-board {
    position: relative;
    width: 100%;
    height: 350px;
    background: repeating-linear-gradient(
        to bottom,
        #256e37 0px,
        #256e37 35px,
        #1f5e2e 35px,
        #1f5e2e 70px
    );
    border: 3px solid #e9ecea;
    box-shadow: inset 0 0 0 2px #143d1e;
    margin-bottom: 10px;
    overflow: hidden;
    user-select: none;
}

.pitch-halfline {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.pitch-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    pointer-events: none;
}

.pitch-box-top {
    position: absolute;
    top: 0;
    left: 22%;
    width: 56%;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top: none;
    pointer-events: none;
}

.pitch-box-bottom {
    position: absolute;
    bottom: 0;
    left: 22%;
    width: 56%;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-bottom: none;
    pointer-events: none;
}

.pitch-node {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 68px;
    max-width: 22vw;
    background-color: #122918;
    border: 2px solid #e2e5e3;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
    transition: transform 0.1s ease, border-color 0.1s ease;
}

.pitch-node.mismatch {
    border-color: #ff6b6b;
}

.pitch-node.empty-slot {
    background-color: rgba(18, 41, 24, 0.72);
    border-style: dashed;
    border-color: #cccccc;
}

.pitch-node.selected-swap {
    border: 3px solid var(--accent-gold) !important;
    background-color: #3d3108 !important;
    transform: translate(-50%, -50%) scale(1.08);
    z-index: 25;
}

.pitch-node.drag-over {
    border: 3px solid #6ee787 !important;
    transform: translate(-50%, -50%) scale(1.08);
}

.pitch-node-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0b1c10;
    padding: 1px 3px;
    font-size: 0.6rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.pitch-node-pos {
    color: var(--accent-gold);
}

.pitch-node-rating {
    color: #6ee787;
}

.pitch-node.mismatch .pitch-node-rating {
    color: #ff8787;
}

.pitch-node-name {
    padding: 3px 2px;
    font-size: 0.64rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bank & Tribüne Karten-Listen */
.squad-zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: bold;
}

.zone-badge {
    display: inline-block;
    padding: 2px 5px;
    font-size: 0.64rem;
    font-weight: bold;
    border: 1px solid #111;
}

.zone-badge.xi {
    background-color: var(--pitch-green);
    color: #fff;
}

.zone-badge.bench {
    background-color: var(--accent-gold);
    color: #111;
}

.zone-badge.stands {
    background-color: #8c918e;
    color: #111;
}

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

.player-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 6px;
    background-color: #e9ecea;
    border: 2px solid var(--panel-light);
    border-right-color: var(--panel-shadow);
    border-bottom-color: var(--panel-shadow);
    font-size: 0.72rem;
    cursor: pointer;
    user-select: none;
    min-width: 0;
}

.player-chip.stands-chip {
    background-color: #cfd4d1;
    opacity: 0.92;
}

.player-chip.empty-bench {
    background-color: #c7ccc9;
    border-style: dashed;
    color: #555;
    justify-content: center;
}

.player-chip.selected-swap {
    border: 2px solid var(--accent-gold) !important;
    background-color: #fff3bf !important;
}

.player-chip.drag-over {
    border: 2px solid var(--pitch-green) !important;
    background-color: #d3f9d8 !important;
}

.chip-pos {
    font-weight: bold;
    color: var(--pitch-dark);
    flex-shrink: 0;
    width: 24px;
}

.chip-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.chip-rating {
    font-weight: bold;
    color: var(--pitch-green);
    flex-shrink: 0;
}

/* Fixierter unterer Bereich (Dock + 9 Kacheln nebeneinander) */
.bmh-bottom-dock {
    flex-shrink: 0;
    width: 100%;
    background-color: #9ca19d;
    border-top: 2px solid var(--panel-light);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 100;
}

.bmh-footer {
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    border-bottom: 1px solid var(--panel-shadow);
}

#status-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Navigation: 2 Reihen à 5 Kacheln (breite Bildschirme: 1 Reihe) */
.bmh-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 4px 3px;
    width: 100%;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0 4px 0;
    background-color: var(--panel-bg);
    border: 2px solid var(--panel-light);
    border-right-color: var(--panel-shadow);
    border-bottom-color: var(--panel-shadow);
    font-weight: bold;
    font-size: 0.58rem;
    line-height: 1.1;
    cursor: pointer;
    color: var(--text-dark);
    min-width: 0;
    overflow: hidden;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-icon {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.nav-btn:active, .nav-btn.active {
    background-color: var(--pitch-green);
    color: var(--text-light);
    border-color: var(--panel-shadow);
    border-right-color: var(--panel-light);
    border-bottom-color: var(--panel-light);
}

.admin-btn {
    background-color: #d4c391;
}

.dragging-active {
    opacity: 0.65;
    outline: 2px dashed var(--accent-gold);
}

/* ==========================================
   KADER SUB-TABS, SORTIERUNG & TRANSFERMARKT
   ========================================== */
.sub-tab-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

.sub-tab-bar.two-tabs {
    grid-template-columns: repeat(2, 1fr);
}

.sub-tab-btn {
    padding: 7px 4px;
    background-color: var(--panel-bg);
    border: 2px solid var(--panel-light);
    border-right-color: var(--panel-shadow);
    border-bottom-color: var(--panel-shadow);
    font-weight: bold;
    font-size: 0.70rem;
    cursor: pointer;
    text-align: center;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-tab-btn.active {
    background-color: var(--pitch-dark);
    color: var(--accent-gold);
    border-color: var(--panel-shadow);
    border-right-color: var(--panel-light);
    border-bottom-color: var(--panel-light);
}

.sort-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-bottom: 8px;
}

.sort-btn {
    padding: 5px 2px;
    background-color: #e2e5e3;
    border: 1px solid var(--panel-shadow);
    font-size: 0.65rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.sort-btn.active {
    background-color: var(--pitch-green);
    color: #fff;
    border-color: #0e2e16;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    margin-bottom: 6px;
}

.filter-btn {
    padding: 4px 2px;
    background-color: #e2e5e3;
    border: 1px solid var(--panel-shadow);
    font-size: 0.65rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.filter-btn.active {
    background-color: var(--pitch-dark);
    color: var(--accent-gold);
}

.mini-action-btn {
    padding: 2px 4px;
    font-size: 0.62rem;
    font-weight: bold;
    border: 1px solid #333;
    background-color: var(--pitch-green);
    color: #fff;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.mini-action-btn.sell {
    background-color: #b5482a;
}

.mini-action-btn.youth {
    background-color: #1f6b48;
}

.negotiation-box {
    background-color: #184d25;
    color: #f4f4f4;
    border: 2px solid var(--accent-gold);
    padding: 10px;
    margin-bottom: 10px;
    font-size: 0.76rem;
}

.negotiation-box h3 {
    color: var(--accent-gold);
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.youth-badge {
    display: inline-block;
    background-color: #2b8a3e;
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 4px;
    border: 1px solid #0e2e16;
    font-weight: bold;
}

/* ==========================================
   VERTRÄGE, SPONSOREN & STADION
   ========================================== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.kpi-card {
    background-color: #e9ecea;
    border: 1px solid var(--panel-shadow);
    padding: 6px 8px;
}

.kpi-label {
    display: block;
    font-size: 0.62rem;
    color: #444;
    font-weight: bold;
    margin-bottom: 2px;
}

.kpi-value {
    font-size: 0.82rem;
    font-weight: bold;
    color: var(--pitch-dark);
}

.kpi-value.warn {
    color: var(--accent-red);
}

.sponsor-card {
    background-color: #e9ecea;
    border: 2px solid var(--panel-shadow);
    padding: 8px;
    margin-bottom: 8px;
}

.sponsor-card.active-deal {
    background-color: #d7eadc;
    border-color: var(--pitch-green);
}

.sponsor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.sponsor-tag {
    display: inline-block;
    padding: 2px 5px;
    font-size: 0.6rem;
    font-weight: bold;
    background-color: var(--pitch-dark);
    color: var(--accent-gold);
}

.locked-banner {
    background-color: #ffe3e3;
    border: 2px solid #a82424;
    color: #5e1111;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.open-window-banner {
    background-color: #d3f9d8;
    border: 2px solid #246b35;
    color: #0e2e16;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    overflow: hidden;
}

.progress-bar-wrap {
    width: 100%;
    height: 12px;
    background-color: #b5bab7;
    border: 1px solid #333;
    margin: 6px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--pitch-green);
    transition: width 0.2s ease;
}

.price-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 6px 0;
}

.contract-pill {
    display: inline-block;
    padding: 1px 4px;
    font-size: 0.66rem;
    font-weight: bold;
    border-radius: 2px;
}

.contract-pill.expiring {
    background-color: #ffe3e3;
    color: #a82424;
    border: 1px solid #a82424;
}

.contract-pill.medium {
    background-color: #fff3bf;
    color: #7c5800;
    border: 1px solid #b58900;
}

.contract-pill.long {
    background-color: #d3f9d8;
    color: #184d25;
    border: 1px solid #246b35;
}

/* ==========================================
   TABELLE, SPIELTAG & MATCH-REPORT
   ========================================== */
.match-report-card {
    background-color: #122918;
    color: #f4f4f4;
    border: 2px solid var(--accent-gold);
    padding: 10px;
    margin-bottom: 10px;
    font-size: 0.76rem;
}

.match-report-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0b1c10;
    border: 1px solid var(--pitch-green);
    padding: 8px;
    margin: 6px 0;
    font-weight: bold;
}

.match-report-team {
    flex: 1;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-report-team.away {
    text-align: right;
}

.match-report-result {
    padding: 2px 10px;
    font-size: 1.05rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.match-events-list {
    font-size: 0.7rem;
    color: #d3f9d8;
    margin: 6px 0;
    padding-left: 4px;
    border-left: 2px solid var(--accent-gold);
}

.finance-recap {
    background-color: #0e2e16;
    border: 1px solid #246b35;
    padding: 6px 8px;
    margin-top: 6px;
    font-size: 0.7rem;
}

.table-row-user {
    background-color: #cfe8d5 !important;
    font-weight: bold;
}

.rank-badge {
    display: inline-block;
    width: 18px;
    text-align: center;
    font-weight: bold;
    font-size: 0.68rem;
    padding: 1px 0;
    border-radius: 2px;
}

.rank-badge.cl {
    background-color: #246b35;
    color: #fff;
}

.rank-badge.el {
    background-color: #2b6cb0;
    color: #fff;
}

.rank-badge.rel {
    background-color: #e5b822;
    color: #111;
}

.rank-badge.down {
    background-color: #a82424;
    color: #fff;
}

.fixture-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px;
    border-bottom: 1px solid #b5bab7;
    font-size: 0.74rem;
    gap: 4px;
}

.fixture-row.user-match {
    background-color: #d7eadc;
    font-weight: bold;
}

.fixture-team {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixture-team.away {
    text-align: right;
}

.fixture-score {
    min-width: 46px;
    text-align: center;
    font-weight: bold;
    background-color: #184d25;
    color: var(--accent-gold);
    padding: 2px 4px;
    border: 1px solid #0e2e16;
    flex-shrink: 0;
}

.fixture-score.unplayed {
    background-color: #8c918e;
    color: #111;
}

/* ==========================================
   KALENDER, SAISONVORBEREITUNG & ENTWICKLUNG (v0.9)
   ========================================== */
.calendar-week-card {
    background-color: #e9ecea;
    border: 2px solid var(--panel-shadow);
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.calendar-week-card.current-week {
    border-color: var(--accent-gold);
    background-color: #fff9db;
}

.calendar-week-card.booked-week {
    border-color: var(--pitch-green);
    background-color: #d7eadc;
}

.calendar-week-card.done-week {
    background-color: #cfd4d1;
    opacity: 0.9;
}

.cal-badge {
    display: inline-block;
    padding: 2px 5px;
    font-size: 0.6rem;
    font-weight: bold;
    border: 1px solid #111;
}

.cal-badge.friendly {
    background-color: #246b35;
    color: #fff;
}

.cal-badge.camp {
    background-color: #2b6cb0;
    color: #fff;
}

.cal-badge.event {
    background-color: #e5b822;
    color: #111;
}

.cal-badge.open {
    background-color: #8c918e;
    color: #111;
}

.dev-delta-pos {
    color: #184d25;
    font-weight: bold;
}

.dev-delta-neg {
    color: #a82424;
    font-weight: bold;
}

.dev-delta-zero {
    color: #555555;
    font-weight: bold;
}

/* ==========================================
   LIVE-TICKER, KONFERENZ, HALBZEIT & KABINEN-ANSPRACHE (v1.0)
   ========================================== */
.live-scoreboard-card {
    background-color: #122918;
    color: #f4f4f4;
    border: 2px solid var(--accent-gold);
    padding: 8px 10px;
    margin-bottom: 8px;
}

.live-clock-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.72rem;
}

.live-minute-pill {
    display: inline-block;
    background-color: var(--accent-red);
    color: #ffffff;
    font-weight: bold;
    padding: 2px 7px;
    border: 1px solid #ff8787;
    font-size: 0.76rem;
}

.live-minute-pill.paused {
    background-color: var(--accent-gold);
    color: #111111;
    border-color: #ffffff;
}

.live-minute-pill.fulltime {
    background-color: var(--pitch-green);
    color: #ffffff;
    border-color: var(--accent-gold);
}

.live-teams-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0b1c10;
    border: 1px solid var(--pitch-green);
    padding: 8px 6px;
    gap: 4px;
}

.live-team-name {
    flex: 1;
    font-size: 0.80rem;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-team-name.away {
    text-align: right;
}

.live-score-digits {
    padding: 2px 10px;
    font-size: 1.18rem;
    font-weight: bold;
    color: var(--accent-gold);
    background-color: #184d25;
    border: 1px solid var(--accent-gold);
    flex-shrink: 0;
}

.live-controls-bar {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 0.7fr) 1.1fr;
    gap: 4px;
    margin-top: 8px;
}

.speed-btn {
    padding: 5px 2px;
    background-color: #1e3b26;
    color: #f4f4f4;
    border: 1px solid #3c6e49;
    font-weight: bold;
    font-size: 0.68rem;
    cursor: pointer;
    text-align: center;
}

.speed-btn.active {
    background-color: var(--accent-gold);
    color: #111111;
    border-color: #ffffff;
}

.speed-btn.pause-active {
    background-color: var(--accent-red);
    color: #ffffff;
    border-color: #ff8787;
}

.live-pause-banner {
    background-color: #fff3bf;
    border: 2px solid #e5b822;
    color: #111111;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.ticker-feed-box {
    max-height: 290px;
    overflow-y: auto;
    background-color: #e9ecea;
    border: 1px solid var(--panel-shadow);
    padding: 6px;
}

.ticker-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 4px;
    border-bottom: 1px solid #c4c8c5;
    font-size: 0.73rem;
    line-height: 1.28;
}

.ticker-item.goal {
    background-color: #d3f9d8;
    font-weight: bold;
    border-left: 3px solid #246b35;
}

.ticker-item.opp-goal {
    background-color: #ffe3e3;
    font-weight: bold;
    border-left: 3px solid #a82424;
}

.ticker-item.card-red, .ticker-item.injury {
    background-color: #fff3bf;
    font-weight: bold;
    border-left: 3px solid #d9480f;
}

.ticker-item.halftime {
    background-color: #184d25;
    color: #e5b822;
    font-weight: bold;
}

.ticker-min {
    min-width: 36px;
    font-weight: bold;
    color: var(--pitch-dark);
    flex-shrink: 0;
}

.ticker-item.halftime .ticker-min {
    color: #ffffff;
}

.teamtalk-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 8px 0;
}

.teamtalk-btn {
    text-align: left;
    padding: 7px 8px;
    background-color: #0e2e16;
    color: #f4f4f4;
    border: 2px solid #246b35;
    cursor: pointer;
    font-size: 0.73rem;
}

.teamtalk-btn.selected {
    border-color: var(--accent-gold);
    background-color: #244a1c;
}

.rank-move-up {
    color: #184d25;
    font-weight: bold;
    font-size: 0.66rem;
}

.rank-move-down {
    color: #a82424;
    font-weight: bold;
    font-size: 0.66rem;
}

.rank-move-same {
    color: #666666;
    font-size: 0.66rem;
}

.live-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 6px;
    background-color: #e9ecea;
    border: 1px solid var(--panel-shadow);
    margin-bottom: 4px;
    font-size: 0.72rem;
    gap: 6px;
}

.live-sub-row.sent-off {
    background-color: #ffe3e3;
    border-color: #a82424;
    opacity: 0.85;
}

.live-inapp-toast {
    padding: 8px 10px;
    margin-bottom: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    animation: toastSlideIn 0.22s ease-out;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.pitch-board.live-pitch-board {
    height: 255px;
    margin-bottom: 6px;
}

/* ==========================================
   v1.4: LOGO, POSTFACH, VERHANDLUNGEN, KLICKBARE KACHELN, FINANZEN
   ========================================== */
.header-logo {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    background: #26292c;
    flex-shrink: 0;
}
.nav-badge {
    position: absolute; top: 1px; right: 2px;
    min-width: 14px; height: 14px; padding: 0 3px;
    border-radius: 7px; background: var(--accent-red); color: #fff;
    font-size: 0.55rem; line-height: 14px; text-align: center; font-weight: bold;
}
.inbox-unread-pill {
    display: inline-block; background: var(--accent-red); color: #fff;
    font-size: 0.6rem; padding: 1px 5px; margin-left: 4px; vertical-align: middle;
}
.inbox-item {
    background: #e9ecea; border: 1px solid var(--panel-shadow);
    padding: 5px 6px; margin-bottom: 4px; cursor: pointer; font-size: 0.72rem;
}
.inbox-item:focus-visible { outline: 2px solid var(--accent-gold); }
.inbox-item.unread { background: #fff9db; border-left: 4px solid var(--accent-gold); }
.inbox-item.unread .inbox-title { font-weight: bold; }
.inbox-item.open { background: #ffffff; }
.inbox-head { display: flex; align-items: center; gap: 6px; }
.inbox-icon { flex-shrink: 0; width: 18px; text-align: center; }
.inbox-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-date { flex-shrink: 0; font-size: 0.6rem; color: #555; }
.inbox-text { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #b5bab7; line-height: 1.35; white-space: normal; }
.nego-dots { display: flex; gap: 2px; font-size: 0.9rem; flex-shrink: 0; }
.nego-log-entry {
    background: #0e2e16; border: 1px solid #246b35; border-left-width: 4px;
    padding: 5px 7px; margin-bottom: 5px; animation: toastSlideIn 0.22s ease-out;
}
.nego-log-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 0.66rem; color: #d3f9d8; }
.nego-mood { color: #fff; font-weight: bold; font-size: 0.62rem; padding: 1px 5px; flex-shrink: 0; }
.nego-quote { font-size: 0.74rem; font-style: italic; margin-top: 3px; color: #fff; }
.nego-hint { font-size: 0.64rem; color: #ffe066; margin-top: 2px; }
.nego-result { padding: 7px; font-weight: bold; font-size: 0.76rem; margin-top: 4px; }
.nego-result.success { background: #2b8a3e; color: #fff; }
.nego-result.fail { background: #5c1a1a; color: #fff; }
.ticker-item.sub { background-color: #e7f5ff; border-left: 3px solid #1c7ed6; }
.ticker-item.card-yellow { background-color: #fff9db; }
.clickable { cursor: pointer; transition: transform 0.08s ease, box-shadow 0.08s ease; }
.clickable:active { transform: scale(0.98); }
.kpi-card.clickable:hover, .kpi-card.clickable:focus-visible { box-shadow: 0 0 0 2px var(--accent-gold) inset; outline: none; }
p.clickable:focus-visible, .bmh-box.clickable:focus-visible { outline: 2px solid var(--accent-gold); }
.finance-table td { font-size: 0.70rem; padding: 3px 4px; }
.bmh-btn:focus-visible, .nav-btn:focus-visible, .sort-btn:focus-visible, .mini-action-btn:focus-visible, .sub-tab-btn:focus-visible {
    outline: 2px solid var(--accent-gold); outline-offset: 1px;
}

/* ==========================================
   v1.5: NAVIGATION (2 REIHEN), TURNIERBAUM, SPIELERKARTE, FORMATIONS-EDITOR, FINANZEN
   ========================================== */
@media (min-width: 700px) {
    .bmh-nav { grid-template-columns: repeat(10, 1fr); }
}

.bracket-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    padding-bottom: 4px;
}
.bracket { display: flex; gap: 10px; min-width: min-content; }
.br-col { display: flex; flex-direction: column; width: 150px; flex-shrink: 0; }
.br-col-title {
    background: var(--pitch-dark); color: var(--accent-gold);
    font-size: 0.64rem; font-weight: bold; text-align: center; padding: 3px; margin-bottom: 4px;
}
.br-col-body { display: flex; flex-direction: column; justify-content: space-around; }
.br-tie { background: #e9ecea; border: 1px solid var(--panel-shadow); border-left: 3px solid #8c918e; margin: 2px 0; }
.br-tie.user-tie { border-left-color: var(--accent-gold); background: #fff9db; }
.br-tie.placeholder { opacity: 0.6; border-style: dashed; }
.br-team { display: flex; justify-content: space-between; gap: 4px; padding: 2px 4px; font-size: 0.64rem; }
.br-team.user .br-name { color: #184d25; font-weight: bold; }
.br-team.win { font-weight: bold; background: #d3f9d8; }
.br-team.lost { color: #777; }
.br-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.br-goals { flex-shrink: 0; font-weight: bold; min-width: 14px; text-align: right; }
.br-detail { font-size: 0.54rem; color: #555; padding: 0 4px 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-champion { background: #184d25; color: #e5b822; font-weight: bold; text-align: center; padding: 5px; margin-bottom: 6px; font-size: 0.8rem; }

.player-card { background: #f4f6f4; border: 2px solid var(--pitch-dark); padding: 8px; margin-bottom: 10px; font-size: 0.72rem; }
.pc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pc-pos { background: var(--pitch-dark); color: var(--accent-gold); font-weight: bold; padding: 6px 7px; font-size: 0.8rem; flex-shrink: 0; }
.pc-name { font-weight: bold; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sub { font-size: 0.64rem; color: #444; }
.pc-rating { font-size: 1.2rem; font-weight: bold; color: var(--pitch-green); flex-shrink: 0; }
.pc-status { margin-bottom: 6px; }
.pc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 6px; }
.pc-cell { background: #e2e5e3; border: 1px solid var(--panel-shadow); padding: 4px 6px; display: flex; flex-direction: column; min-width: 0; }
.pc-cell span { font-size: 0.56rem; color: #444; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-cell strong { font-size: 0.86rem; color: var(--pitch-dark); }
.pc-cell em { font-size: 0.58rem; color: #555; font-style: normal; }
.pc-contract { background: #e9ecea; border: 1px solid var(--panel-shadow); padding: 5px 6px; margin-bottom: 6px; }
.pc-offer { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: #fff9db; border: 1px solid #b58900; padding: 4px 6px; margin-bottom: 4px; font-size: 0.68rem; }
.pc-actions { display: flex; flex-direction: column; gap: 5px; }
.pc-actions .bmh-btn { width: 100%; }

.pitch-board.edit-mode { touch-action: none; box-shadow: inset 0 0 0 3px var(--accent-gold); }
.pitch-node.edit-node { cursor: grab; border-color: var(--accent-gold); touch-action: none; }
.pitch-node.edit-node.locked { cursor: not-allowed; opacity: 0.85; border-color: #ccc; }

.cal-clickable { cursor: pointer; }
.cal-clickable:hover, .cal-clickable:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: -2px; }
.cal-open { background: #fff3bf !important; }
.cal-report { margin: 4px 0 8px 0; }

.finance-table .fin-head td { background: #c7ccc9; font-weight: bold; font-size: 0.62rem; letter-spacing: 0.5px; }
.finance-table .fin-sum td { font-weight: bold; border-top: 1px solid #8c918e; }
.finance-table .fin-total td { font-weight: bold; font-size: 0.80rem; border-top: 2px solid #184d25; background: #d7eadc; }
.rank-badge.ecl { background-color: #7048e8; color: #fff; }
.roster-row:hover td { background: #d0dfd4; }

/* ==========================================
   v1.6: GESPERRTE NAVIGATION, HEIM/AUSWÄRTS, TICKER-VEREIN, VERSION
   ========================================== */
.bmh-nav.nav-locked .nav-btn {
    opacity: 0.35;
    pointer-events: none;
    filter: grayscale(1);
}
.bmh-nav.nav-locked { position: relative; }
.bmh-nav.nav-locked::after {
    content: "🔒 LIVE-SPIEL – MENÜ GESPERRT";
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: bold; color: #fff;
    background: rgba(24, 77, 37, 0.55);
    pointer-events: none;
}
#header-date-box.locked { pointer-events: none; opacity: 0.8; }
.venue-badge {
    display: inline-block; font-size: 0.56rem; font-weight: bold;
    padding: 1px 4px; margin: 0 2px; vertical-align: middle; border: 1px solid #111; white-space: nowrap;
}
.venue-badge.home { background: #246b35; color: #fff; }
.venue-badge.away { background: #e2e5e3; color: #111; }
.venue-badge.neutral { background: #8c918e; color: #111; }
.ticker-club {
    display: inline-block; font-size: 0.6rem; font-weight: bold; padding: 0 4px;
    margin-right: 2px; border: 1px solid #111; vertical-align: middle;
    max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ticker-club.own { background: #246b35; color: #fff; }
.ticker-club.opp { background: #a82424; color: #fff; }
.version-pill { background: var(--pitch-dark); color: var(--accent-gold); font-weight: bold; padding: 4px 8px; font-size: 0.9rem; }

/* ==========================================
   v1.6.1: BUTTON-REIHEN IN BANNERN (Kalender & Büro) – kein Überlaufen mehr
   ========================================== */
.open-window-banner > div[style*="display:flex"] { flex-wrap: wrap; }
.open-window-banner .bmh-btn.small-btn {
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}
.open-window-banner > div[style*="margin-top:6px"] > .bmh-btn { flex: 1 1 30%; }
#btn-sim-preseason-week, #btn-banner-calendar { flex-shrink: 0; white-space: nowrap; }

/* v1.7: Transfer-Ticker */
.transfer-news summary { list-style: none; }
.transfer-news summary::-webkit-details-marker { display: none; }
.transfer-news[open] summary { margin-bottom: 4px; }

/* ==========================================
   v1.8: ZEITUNG, FAN-TERMINE, SPIELER-CHARAKTER
   ========================================== */
.newspaper {
    background: #f6f1e3; color: #1a1a1a; border: 2px solid #1a1a1a;
    padding: 8px 10px; margin-top: 6px;
    font-family: Georgia, 'Times New Roman', serif;
    box-shadow: 2px 2px 0 #8c7f5e;
}
.newspaper * { font-family: Georgia, 'Times New Roman', serif; }
.np-masthead {
    display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
    border-bottom: 3px double #1a1a1a; padding-bottom: 3px; margin-bottom: 5px;
}
.np-name { font-size: 1.05rem; font-weight: bold; letter-spacing: 1px; text-align: center; flex: 1; }
.np-date, .np-price { font-size: 0.56rem; color: #555; flex-shrink: 0; }
.np-kicker { background: #a82424; color: #fff; display: inline-block; font-size: 0.64rem; font-weight: bold; padding: 1px 6px; letter-spacing: 0.5px; }
.np-headline { font-size: 1.0rem; font-weight: bold; line-height: 1.2; margin: 4px 0; }
.np-body { font-size: 0.72rem; line-height: 1.35; text-align: justify; }
.np-quote { font-size: 0.70rem; font-style: italic; border-left: 3px solid #a82424; padding-left: 6px; margin-top: 5px; color: #333; }
.np-office { margin-bottom: 10px; }
.fanev-row {
    display: flex; justify-content: space-between; align-items: center; gap: 6px;
    background: #e9ecea; border: 1px solid var(--panel-shadow); padding: 5px 6px; margin-bottom: 4px; font-size: 0.70rem;
}
.fanev-row.booked { background: #d3f9d8; border-color: #246b35; }
.pc-trait { background: #e9ecea; border: 1px solid var(--panel-shadow); padding: 4px 6px; margin-bottom: 6px; font-size: 0.66rem; }
.pc-trait span { color: #444; }

/* ==========================================
   v1.9: SPIELSTÄNDE & BACKUP
   ========================================== */
.slot-card { background: #e9ecea; border: 2px solid var(--panel-shadow); padding: 8px; margin-bottom: 8px; font-size: 0.72rem; }
.slot-card.active { border-color: var(--pitch-green); background: #d7eadc; }
.slot-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 0.82rem; }
.slot-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.slot-info { color: #333; line-height: 1.4; margin-bottom: 6px; }
.slot-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.slot-actions .bmh-btn { white-space: normal; line-height: 1.15; }
.backup-banner {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    background: #fff3bf; border: 2px solid #b58900; padding: 7px 9px; margin-bottom: 10px; font-size: 0.70rem;
}
.backup-banner span { color: #444; }
.backup-banner .bmh-btn { flex-shrink: 0; }

/* ==========================================
   v1.10: EINSTELLUNGEN (Schalter)
   ========================================== */
.settings-box { margin-top: 4px; }
.setting-row {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 7px 0; border-top: 1px dashed #b5bab7; font-size: 0.74rem;
}
.setting-row:first-of-type { border-top: none; }
.setting-row span { font-size: 0.62rem; color: #444; }
.toggle-switch {
    position: relative; flex-shrink: 0;
    width: 52px; height: 28px; border-radius: 14px;
    background: #8c918e; border: 2px solid #111; cursor: pointer; padding: 0;
    transition: background 0.15s ease;
}
.toggle-switch.on { background: var(--pitch-green); }
.toggle-knob {
    position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 1px solid #111;
    transition: left 0.15s ease;
}
.toggle-switch.on .toggle-knob { left: 26px; }
.toggle-switch:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

/* ==========================================
   v1.11: SPIELWELT-AUSWAHL
   ========================================== */
.world-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; margin: 6px 0; }
.world-check {
    display: block; background: #e9ecea; border: 2px solid var(--panel-shadow);
    padding: 6px; font-size: 0.72rem; font-weight: bold; cursor: pointer; min-width: 0;
}
.world-check.on { background: #d7eadc; border-color: var(--pitch-green); }
.world-check span { font-size: 0.58rem; font-weight: normal; color: #444; }
.world-check input { margin-right: 4px; vertical-align: middle; }

/* ==========================================
   v1.12: NOTEN, FORM, KONFERENZ, INTERVIEW
   ========================================== */
.grade-badge, .grade-chip {
    display: inline-block; font-weight: bold; border: 1px solid #111; text-align: center; vertical-align: middle;
}
.grade-badge { min-width: 26px; font-size: 0.62rem; padding: 0 4px; }
.grade-chip { font-size: 0.62rem; padding: 1px 5px; margin: 1px 1px; }
.g-top { background: #2b8a3e; color: #fff; }
.g-good { background: #94d82d; color: #111; }
.g-ok { background: #ffd43b; color: #111; }
.g-bad { background: #e03131; color: #fff; }
.g-none { background: #8c918e; color: #111; }
.pitch-node-grade { font-size: 0.56rem; font-weight: bold; padding: 1px 2px; text-align: center; border-top: 1px solid rgba(255,255,255,0.25); }
.ht-grades { background: #0e2e16; border: 1px solid #246b35; padding: 5px 7px; margin-bottom: 6px; font-size: 0.66rem; color: #f4f4f4; }
.ht-grades .grade-line { font-size: 0.64rem; }
.ht-grades em { color: #99b8a1; font-style: normal; }
.form-up { color: #2b8a3e; font-size: 0.62rem; font-weight: bold; }
.form-down { color: #a82424; font-size: 0.62rem; font-weight: bold; }
.conf-detail { background: #ffffff; border: 1px solid #b5bab7; padding: 5px 6px; margin-top: 3px; cursor: default; }
.conf-row:active { transform: none; }
.iv-reporter { font-size: 0.68rem; color: #444; margin-bottom: 4px; }
.iv-question { font-size: 0.92rem; font-weight: bold; color: #184d25; margin: 4px 0 10px 0; line-height: 1.3; }
.iv-answer {
    display: block; width: 100%; text-align: left; padding: 8px 9px; margin-bottom: 6px;
    background: #e9ecea; border: 2px solid #8c918e; cursor: pointer; font-size: 0.74rem; line-height: 1.3; color: #111;
}
.iv-answer .iv-tag { display: block; font-size: 0.60rem; font-weight: bold; letter-spacing: 0.5px; margin-bottom: 2px; }
.iv-answer.serious { border-color: #246b35; }
.iv-answer.funny { border-color: #e5b822; }
.iv-answer.provocative { border-color: #d9480f; }
.iv-answer.angry { border-color: #a82424; }
.iv-answer.picked { background: #fff3bf; border-width: 3px; }
.iv-answer.dim { opacity: 0.45; }
.iv-feedback { background: #f4f6f4; border: 1px solid #b5bab7; padding: 8px; margin-top: 4px; }
.iv-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.iv-meter { background: #e9ecea; border: 2px solid #8c918e; text-align: center; font-size: 0.58rem; padding: 4px 2px; font-weight: bold; }
.iv-meter strong { font-size: 1.0rem; }
.iv-meter.pos { border-color: #246b35; background: #d3f9d8; }
.iv-meter.neg { border-color: #a82424; background: #ffe3e3; }
.club-row:hover td { background: #d0dfd4; }

/* ==========================================
   v1.13: FORM-PFEILE, SPIELERKARTE, BIETERKAMPF, SPIEL-DETAILS
   ========================================== */
.form-flat { color: #777; font-size: 0.56rem; font-weight: bold; }
.pitch-node .form-up, .player-chip .form-up { color: #6ee787; }
.pitch-node .form-down, .player-chip .form-down { color: #ff8787; }
.pitch-node .form-flat { color: #c3dec9; }
.player-chip .form-up { color: #2b8a3e; }
.player-chip .form-down { color: #c92a2a; }
.form-legend { font-size: 0.60rem; color: #444; margin: -2px 0 6px 0; }
.mrow { cursor: pointer; }
.mrow:hover { background: #d0dfd4; }
.club-player-row:hover td, .mkt-row:hover td { background: #d0dfd4; }
.match-detail-wrap { background: #fff; border: 1px solid #b5bab7; padding: 5px 6px; margin: 0 0 4px 0; }

/* ==========================================
   v1.14: FORM-SPALTE, MOTIVATION
   ========================================== */
.form-cell { text-align: center; }
.form-cell .form-up, .form-cell .form-down, .form-cell .form-flat { font-size: 0.80rem; }
.pitch-node-form { flex: 1; text-align: center; font-size: 0.62rem; line-height: 1; }
.pitch-node-form .form-up { color: #6ee787; }
.pitch-node-form .form-down { color: #ff8787; }
.pitch-node-form .form-flat { color: #c3dec9; }
.chip-form { flex-shrink: 0; width: 12px; text-align: center; }
.sound-warn { font-size: 0.62rem; background: #fff3bf; border: 2px solid #b58900; padding: 5px 7px; margin: 4px 0; color: #5c4400; }
.sound-preview { background: #e9ecea; border: 1px solid var(--panel-shadow); padding: 6px; margin: 4px 0 6px 0; }

/* v1.15: Ergebnis-Wirkung im Spielbericht */
.rep-line { font-size: 0.66rem; background: #0b1c10; border: 1px solid #246b35; padding: 3px 6px; margin: 4px 0; }
.rep-up { color: #6ee787; }
.rep-down { color: #ff8787; }

/* v1.16: Interview-Stile, Leihe */
.iv-answer.humble { border-color: #1c7ed6; }
.iv-answer.cool { border-color: #7048e8; }
.report-toggle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; background: #122918; color: #f4f4f4; border: 2px solid var(--accent-gold); padding: 7px 9px; margin-bottom: 8px; cursor: pointer; font-size: 0.70rem; }
.report-toggle .rt-title { color: var(--accent-gold); font-weight: bold; font-size: 0.66rem; flex: 1 1 100%; }
.report-toggle .rt-sum { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; }
.report-toggle .rt-hint { font-size: 0.60rem; color: #99b8a1; flex-shrink: 0; }
.report-toggle:focus-visible { outline: 2px solid var(--accent-gold); }

/* ==========================================
   v1.17: ANSPRACHE VOR DEM SPIEL, EINSTELLUNGEN AUFKLAPPBAR & ERSCHEINUNGSBILD
   ========================================== */
.nego-result.neutral { background: #6c757d; color: #fff; }
.set-section { border-top: 1px dashed #b5bab7; }
.set-head { display: flex; align-items: center; gap: 6px; padding: 9px 2px; cursor: pointer; font-size: 0.78rem; font-weight: bold; user-select: none; }
.set-head:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: -2px; }
.set-head .set-title { flex-shrink: 0; }
.set-head .set-sum { flex: 1; min-width: 0; text-align: right; font-weight: normal; font-size: 0.62rem; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-head .set-arrow { width: 14px; text-align: center; flex-shrink: 0; }
.set-section.open > .set-head { color: var(--pitch-dark); }
.set-body { padding: 0 0 8px 0; }
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.theme-card { text-align: left; padding: 7px; background: #e9ecea; border: 2px solid var(--panel-shadow); cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-size: 0.72rem; color: #111; min-width: 0; }
.theme-card.on { border-color: var(--pitch-green); background: #d7eadc; }
.theme-card:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 1px; }
.theme-sw { display: block; height: 24px; border: 1px solid #111; }
.sw-classic { background: linear-gradient(90deg, #184d25 0%, #184d25 38%, #e5b822 38%, #e5b822 52%, #c4c8c5 52%, #c4c8c5 100%); }
.sw-win31 { background: linear-gradient(90deg, #000080 0%, #000080 38%, #ffff00 38%, #ffff00 52%, #c0c0c0 52%, #c0c0c0 100%); }
.theme-desc { font-size: 0.58rem; color: #444; font-weight: normal; line-height: 1.25; }

/* ==========================================
   ERSCHEINUNGSBILD "WINDOWS 3.1" (blau) – aktiv über <html data-theme="win31">
   Blaue Titelleisten, graue Fenster, abgeflachte Schaltflächen mit hellem/dunklem Rand, weiße Listen.
   ========================================== */
html[data-theme="win31"] {
    --bg-dark: #0000a8; --panel-bg: #c0c0c0; --panel-light: #ffffff; --panel-shadow: #808080;
    --pitch-green: #000080; --pitch-dark: #000080; --accent-gold: #ffff00; --accent-red: #c00000;
    --text-dark: #000000; --text-light: #ffffff;
}
html[data-theme="win31"] * { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
html[data-theme="win31"] .newspaper, html[data-theme="win31"] .newspaper * { font-family: Georgia, 'Times New Roman', serif; }

html[data-theme="win31"] .bmh-header { background: #000080; border-bottom: 2px solid #000; }
html[data-theme="win31"] .bmh-header h1 { color: #ffffff; letter-spacing: 0; }
html[data-theme="win31"] .sub-info { color: #c0c0ff; }
html[data-theme="win31"] .header-logo { border: 1px solid #fff; }
html[data-theme="win31"] .stat-box { background: #c0c0c0; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .stat-box .label { color: #404040; }
html[data-theme="win31"] .stat-box .value { color: #000; }
html[data-theme="win31"] .money { color: #006000; }
html[data-theme="win31"] .section-title { background: #000080; color: #fff; border: 1px solid #000; border-left: 1px solid #000; letter-spacing: 0; padding: 5px 8px; box-shadow: inset 1px 1px 0 #5a5ad8; display: flex; align-items: center; }
html[data-theme="win31"] .section-title::before { content: ""; display: inline-block; flex-shrink: 0; width: 14px; height: 11px; margin-right: 8px; background: #c0c0c0; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .bmh-box { background: #c0c0c0; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080, 2px 2px 0 #000; width: calc(100% - 3px); }
html[data-theme="win31"] .bmh-table { background: #ffffff; border: 1px solid #000; }
html[data-theme="win31"] .bmh-table th { background: #000080; color: #fff; }
html[data-theme="win31"] .bmh-table td { border-bottom: 1px solid #c0c0c0; }
html[data-theme="win31"] .bmh-table tr:hover, html[data-theme="win31"] .roster-row:hover td, html[data-theme="win31"] .club-row:hover td, html[data-theme="win31"] .club-player-row:hover td, html[data-theme="win31"] .mkt-row:hover td { background-color: #d0d0ff; }
html[data-theme="win31"] .kpi-card { background: #ffffff; border: 1px solid #000; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .kpi-label { color: #404040; }
html[data-theme="win31"] .kpi-value { color: #000080; }
html[data-theme="win31"] .sponsor-card, html[data-theme="win31"] .calendar-week-card, html[data-theme="win31"] .slot-card, html[data-theme="win31"] .world-check, html[data-theme="win31"] .fanev-row { background: #ffffff; border: 1px solid #000; }
html[data-theme="win31"] .sponsor-card.active-deal, html[data-theme="win31"] .calendar-week-card.booked-week, html[data-theme="win31"] .slot-card.active, html[data-theme="win31"] .world-check.on, html[data-theme="win31"] .fanev-row.booked { background: #d0d8ff; border: 1px solid #000080; }
html[data-theme="win31"] .calendar-week-card.current-week { background: #ffffcc; border: 2px solid #000080; }
html[data-theme="win31"] .calendar-week-card.done-week { background: #d8d8d8; }
html[data-theme="win31"] .sponsor-tag { background: #000080; color: #ffff00; }
html[data-theme="win31"] .inbox-item { background: #ffffff; border: 1px solid #808080; }
html[data-theme="win31"] .inbox-item.unread { background: #ffffe0; border-left: 4px solid #000080; }
html[data-theme="win31"] .inbox-item.open { background: #ffffff; }
html[data-theme="win31"] .player-card { background: #ffffff; border: 2px solid #000080; }
html[data-theme="win31"] .pc-cell, html[data-theme="win31"] .pc-contract, html[data-theme="win31"] .pc-trait, html[data-theme="win31"] .sound-preview { background: #e8e8e8; border: 1px solid #808080; }
html[data-theme="win31"] .match-detail-wrap, html[data-theme="win31"] .conf-detail { background: #ffffff; border: 1px solid #808080; }
html[data-theme="win31"] .fixture-row { border-bottom: 1px solid #c0c0c0; }
html[data-theme="win31"] .fixture-row.user-match { background: #c8c8ff; }
html[data-theme="win31"] .table-row-user { background-color: #c8c8ff !important; }
html[data-theme="win31"] .fixture-score { background: #000080; color: #ffff00; border: 1px solid #000; }
html[data-theme="win31"] .fixture-score.unplayed { background: #808080; color: #000; }
html[data-theme="win31"] .cal-open { background: #ffffcc !important; }
html[data-theme="win31"] .progress-bar-wrap { background: #ffffff; border: 1px solid #000; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .bmh-btn,
html[data-theme="win31"] .nav-btn,
html[data-theme="win31"] .sub-tab-btn,
html[data-theme="win31"] .sort-btn,
html[data-theme="win31"] .filter-btn,
html[data-theme="win31"] .speed-btn {
    background: #c0c0c0; color: #000; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; text-shadow: none; }
html[data-theme="win31"] .bmh-btn:active,
html[data-theme="win31"] .nav-btn:active,
html[data-theme="win31"] .sub-tab-btn:active,
html[data-theme="win31"] .sort-btn:active,
html[data-theme="win31"] .filter-btn:active,
html[data-theme="win31"] .speed-btn:active,
html[data-theme="win31"] .mini-action-btn:active { box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .bmh-btn.primary { background: #000080; color: #fff; box-shadow: inset 1px 1px 0 #6a6aff, inset -1px -1px 0 #000040; }
html[data-theme="win31"] .bmh-btn.danger { background: #c00000; color: #fff; box-shadow: inset 1px 1px 0 #ff7070, inset -1px -1px 0 #600000; }
html[data-theme="win31"] .bmh-btn.gold-btn { background: #ffff00; color: #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808000; }
html[data-theme="win31"] .mini-action-btn { background: #000080; color: #fff; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #6a6aff, inset -1px -1px 0 #000040; }
html[data-theme="win31"] .mini-action-btn.sell { background: #c00000; box-shadow: inset 1px 1px 0 #ff7070, inset -1px -1px 0 #600000; }
html[data-theme="win31"] .mini-action-btn.youth { background: #006060; box-shadow: inset 1px 1px 0 #50c0c0, inset -1px -1px 0 #003030; }
html[data-theme="win31"] .sub-tab-btn.active { background: #000080; color: #ffff00; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .sort-btn.active, html[data-theme="win31"] .filter-btn.active { background: #000080; color: #fff; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .nav-btn.active, html[data-theme="win31"] .nav-btn:active { background: #000080; color: #fff; border-color: #000; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .nav-btn.admin-btn { background: #c0c0c0; }
html[data-theme="win31"] .speed-btn.active { background: #ffff00; color: #000; }
html[data-theme="win31"] .speed-btn.pause-active { background: #c00000; color: #fff; }
html[data-theme="win31"] .bmh-btn:focus-visible, html[data-theme="win31"] .nav-btn:focus-visible, html[data-theme="win31"] .sort-btn:focus-visible, html[data-theme="win31"] .mini-action-btn:focus-visible, html[data-theme="win31"] .sub-tab-btn:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
html[data-theme="win31"] .bmh-select, html[data-theme="win31"] .bmh-input { background: #ffffff; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .toggle-switch { background: #c0c0c0; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .toggle-switch.on { background: #000080; box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #ffffff; }
html[data-theme="win31"] .toggle-knob { background: #c0c0c0; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .set-section { border-top: 1px solid #808080; }
html[data-theme="win31"] .set-head .set-sum { color: #404040; }
html[data-theme="win31"] .set-section.open > .set-head { color: #000080; }
html[data-theme="win31"] .theme-card { background: #ffffff; border: 1px solid #000; border-radius: 0; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .theme-card.on { background: #d0d8ff; border: 2px solid #000080; }
html[data-theme="win31"] .theme-sw { border: 1px solid #000; }
html[data-theme="win31"] .bmh-bottom-dock { background: #c0c0c0; border-top: 2px solid #fff; }
html[data-theme="win31"] .bmh-footer { border-bottom: 1px solid #808080; }
html[data-theme="win31"] #status-message { color: #000; }
html[data-theme="win31"] .bmh-nav.nav-locked::after { background: rgba(0, 0, 128, 0.55); }
html[data-theme="win31"] .open-window-banner { background: #e0e0ff; border: 1px solid #000080; color: #000040; }
html[data-theme="win31"] .locked-banner { border: 1px solid #800000; }
html[data-theme="win31"] .backup-banner { border: 1px solid #000; }
html[data-theme="win31"] .negotiation-box,
html[data-theme="win31"] .swap-banner { background: #000080; color: #fff; border: 2px solid #fff; outline: 1px solid #000; }
html[data-theme="win31"] .negotiation-box h3 { color: #ffff00; }
html[data-theme="win31"] .nego-log-entry { background: #000060; border: 1px solid #8080ff; border-left-width: 4px; }
html[data-theme="win31"] .nego-log-head { color: #e0e0ff; }
html[data-theme="win31"] .match-report-card, html[data-theme="win31"] .live-scoreboard-card, html[data-theme="win31"] .report-toggle { background: #000080; color: #fff; border: 2px solid #fff; outline: 1px solid #000; }
html[data-theme="win31"] .report-toggle .rt-title { color: #ffff00; }
html[data-theme="win31"] .report-toggle .rt-hint { color: #c0c0ff; }
html[data-theme="win31"] .match-report-score, html[data-theme="win31"] .live-teams-row { background: #000060; border: 1px solid #8080ff; }
html[data-theme="win31"] .match-report-result { color: #ffff00; }
html[data-theme="win31"] .match-events-list { color: #e0e0ff; border-left: 2px solid #ffff00; }
html[data-theme="win31"] .finance-recap, html[data-theme="win31"] .ht-grades, html[data-theme="win31"] .rep-line { background: #000060; border: 1px solid #8080ff; }
html[data-theme="win31"] .live-score-digits { background: #000040; color: #ffff00; border: 1px solid #ffff00; }
html[data-theme="win31"] .live-clock-bar span { color: #c0c0ff; }
html[data-theme="win31"] .live-minute-pill.paused { background: #ffff00; color: #000; border-color: #fff; }
html[data-theme="win31"] .live-minute-pill.fulltime { background: #008000; color: #fff; }
html[data-theme="win31"] .live-pause-banner { background: #ffffcc; border: 2px solid #000080; }
html[data-theme="win31"] .ticker-feed-box { background: #ffffff; border: 1px solid #000; }
html[data-theme="win31"] .ticker-item { border-bottom: 1px solid #c0c0c0; }
html[data-theme="win31"] .ticker-item.halftime { background: #000080; color: #ffff00; }
html[data-theme="win31"] .ticker-club.own { background: #000080; color: #fff; }
html[data-theme="win31"] .venue-badge.home { background: #000080; }
html[data-theme="win31"] .teamtalk-btn { background: #000060; color: #fff; border: 2px solid #8080ff; border-radius: 0; }
html[data-theme="win31"] .teamtalk-btn.selected { background: #0000c0; border-color: #ffff00; }
html[data-theme="win31"] .nego-result.success { background: #008000; }
html[data-theme="win31"] .iv-answer { background: #ffffff; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .iv-answer.picked { background: #ffffcc; }
html[data-theme="win31"] .iv-question { color: #000080; }
html[data-theme="win31"] .iv-feedback { background: #ffffff; border: 1px solid #808080; }
html[data-theme="win31"] .br-col-title, html[data-theme="win31"] .br-champion { background: #000080; color: #ffff00; }
html[data-theme="win31"] .br-tie { background: #ffffff; border: 1px solid #000; border-left: 3px solid #808080; }
html[data-theme="win31"] .br-tie.user-tie { border-left-color: #000080; background: #e0e0ff; }
html[data-theme="win31"] .br-team.win { background: #d0d8ff; }
html[data-theme="win31"] .pitch-board { border: 2px solid #000; box-shadow: inset 0 0 0 1px #fff; }
html[data-theme="win31"] .pitch-node { background: #000080; border: 1px solid #fff; border-radius: 0; box-shadow: 1px 1px 0 #000; }
html[data-theme="win31"] .pitch-node-top { background: #000050; }
html[data-theme="win31"] .pitch-node-pos { color: #ffff00; }
html[data-theme="win31"] .pitch-node-rating { color: #00ff00; }
html[data-theme="win31"] .pitch-node.empty-slot { background: rgba(0, 0, 128, 0.72); border-color: #c0c0c0; }
html[data-theme="win31"] .pitch-node.selected-swap { background: #0000d0 !important; border: 2px solid #ffff00 !important; }
html[data-theme="win31"] .pitch-node.edit-node { border-color: #ffff00; }
html[data-theme="win31"] .player-chip { background: #ffffff; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] .player-chip.stands-chip { background: #e0e0e0; }
html[data-theme="win31"] .player-chip.empty-bench { background: #d0d0d0; }
html[data-theme="win31"] .player-chip.selected-swap { background: #ffffcc !important; border: 2px solid #000080 !important; }
html[data-theme="win31"] .zone-badge.xi { background: #000080; color: #fff; }
html[data-theme="win31"] .live-sub-row { background: #ffffff; border: 1px solid #808080; }
html[data-theme="win31"] .nav-badge { border-radius: 0; }
html[data-theme="win31"] .version-pill { background: #000080; color: #ffff00; }
html[data-theme="win31"] ::-webkit-scrollbar { width: 16px; height: 16px; background: #e0e0e0; }
html[data-theme="win31"] ::-webkit-scrollbar-thumb { background: #c0c0c0; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; }
html[data-theme="win31"] ::-webkit-scrollbar-button { background: #c0c0c0; border: 1px solid #000; box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080; height: 16px; width: 16px; }

/* --- Inline-Farben im generierten HTML: Grün/Gold -> Blau/Gelb --- */
html[data-theme="win31"] [style^="color:#184d25"], html[data-theme="win31"] [style*=" color:#184d25"], html[data-theme="win31"] [style*=";color:#184d25"], html[data-theme="win31"] [style^="color: #184d25"], html[data-theme="win31"] [style*=" color: #184d25"], html[data-theme="win31"] [style*=";color: #184d25"] { color: #000080 !important; }
html[data-theme="win31"] [style^="color:#246b35"], html[data-theme="win31"] [style*=" color:#246b35"], html[data-theme="win31"] [style*=";color:#246b35"], html[data-theme="win31"] [style^="color: #246b35"], html[data-theme="win31"] [style*=" color: #246b35"], html[data-theme="win31"] [style*=";color: #246b35"] { color: #000080 !important; }
html[data-theme="win31"] [style^="color:#d3f9d8"], html[data-theme="win31"] [style*=" color:#d3f9d8"], html[data-theme="win31"] [style*=";color:#d3f9d8"], html[data-theme="win31"] [style^="color: #d3f9d8"], html[data-theme="win31"] [style*=" color: #d3f9d8"], html[data-theme="win31"] [style*=";color: #d3f9d8"] { color: #e0e0ff !important; }
html[data-theme="win31"] [style^="color:#e5b822"], html[data-theme="win31"] [style*=" color:#e5b822"], html[data-theme="win31"] [style*=";color:#e5b822"], html[data-theme="win31"] [style^="color: #e5b822"], html[data-theme="win31"] [style*=" color: #e5b822"], html[data-theme="win31"] [style*=";color: #e5b822"] { color: #ffff00 !important; }
html[data-theme="win31"] [style^="color:#6ee787"], html[data-theme="win31"] [style*=" color:#6ee787"], html[data-theme="win31"] [style*=";color:#6ee787"], html[data-theme="win31"] [style^="color: #6ee787"], html[data-theme="win31"] [style*=" color: #6ee787"], html[data-theme="win31"] [style*=";color: #6ee787"] { color: #00ff00 !important; }
html[data-theme="win31"] [style^="color:#99b8a1"], html[data-theme="win31"] [style*=" color:#99b8a1"], html[data-theme="win31"] [style*=";color:#99b8a1"], html[data-theme="win31"] [style^="color: #99b8a1"], html[data-theme="win31"] [style*=" color: #99b8a1"], html[data-theme="win31"] [style*=";color: #99b8a1"] { color: #c0c0ff !important; }
html[data-theme="win31"] [style^="color:#c3dec9"], html[data-theme="win31"] [style*=" color:#c3dec9"], html[data-theme="win31"] [style*=";color:#c3dec9"], html[data-theme="win31"] [style^="color: #c3dec9"], html[data-theme="win31"] [style*=" color: #c3dec9"], html[data-theme="win31"] [style*=";color: #c3dec9"] { color: #c0c0ff !important; }
html[data-theme="win31"] [style^="color:#ffe066"], html[data-theme="win31"] [style*=" color:#ffe066"], html[data-theme="win31"] [style*=";color:#ffe066"], html[data-theme="win31"] [style^="color: #ffe066"], html[data-theme="win31"] [style*=" color: #ffe066"], html[data-theme="win31"] [style*=";color: #ffe066"] { color: #ffff00 !important; }
html[data-theme="win31"] [style*="background:#184d25"], html[data-theme="win31"] [style*="background: #184d25"], html[data-theme="win31"] [style*="background-color:#184d25"], html[data-theme="win31"] [style*="background-color: #184d25"] { background-color: #000080 !important; }
html[data-theme="win31"] [style*="background:#122918"], html[data-theme="win31"] [style*="background: #122918"], html[data-theme="win31"] [style*="background-color:#122918"], html[data-theme="win31"] [style*="background-color: #122918"] { background-color: #000080 !important; }
html[data-theme="win31"] [style*="background:#0e2e16"], html[data-theme="win31"] [style*="background: #0e2e16"], html[data-theme="win31"] [style*="background-color:#0e2e16"], html[data-theme="win31"] [style*="background-color: #0e2e16"] { background-color: #000060 !important; }
html[data-theme="win31"] [style*="background:#0b1c10"], html[data-theme="win31"] [style*="background: #0b1c10"], html[data-theme="win31"] [style*="background-color:#0b1c10"], html[data-theme="win31"] [style*="background-color: #0b1c10"] { background-color: #000050 !important; }
html[data-theme="win31"] [style*="background:#26292c"], html[data-theme="win31"] [style*="background: #26292c"], html[data-theme="win31"] [style*="background-color:#26292c"], html[data-theme="win31"] [style*="background-color: #26292c"] { background-color: #000080 !important; }
html[data-theme="win31"] [style*="background:#d7eadc"], html[data-theme="win31"] [style*="background: #d7eadc"], html[data-theme="win31"] [style*="background-color:#d7eadc"], html[data-theme="win31"] [style*="background-color: #d7eadc"] { background-color: #d0d8ff !important; }
html[data-theme="win31"] [style*="background:#d3f9d8"], html[data-theme="win31"] [style*="background: #d3f9d8"], html[data-theme="win31"] [style*="background-color:#d3f9d8"], html[data-theme="win31"] [style*="background-color: #d3f9d8"] { background-color: #d0d8ff !important; }
html[data-theme="win31"] [style*="background:#e9ecea"], html[data-theme="win31"] [style*="background: #e9ecea"], html[data-theme="win31"] [style*="background-color:#e9ecea"], html[data-theme="win31"] [style*="background-color: #e9ecea"] { background-color: #ffffff !important; }
html[data-theme="win31"] [style*="background:#e5b822"], html[data-theme="win31"] [style*="background: #e5b822"], html[data-theme="win31"] [style*="background-color:#e5b822"], html[data-theme="win31"] [style*="background-color: #e5b822"] { background-color: #ffff00 !important; }
html[data-theme="win31"] [style*="border"][style*="#e5b822"] { border-color: #ffff00 !important; }
html[data-theme="win31"] [style*="border"][style*="#246b35"] { border-color: #8080ff !important; }

html[data-theme="win31"] .negotiation-box .bmh-btn.primary,
html[data-theme="win31"] .match-report-card .bmh-btn.primary,
html[data-theme="win31"] .live-scoreboard-card .bmh-btn.primary,
html[data-theme="win31"] .swap-banner .bmh-btn.primary { background: #008000; color: #fff; box-shadow: inset 1px 1px 0 #60d060, inset -1px -1px 0 #004000; }
