:root{
    --fg:#eaf7ee;
    --muted:#bfe0c9;
    --panel:rgba(12,24,18,.68);
    --panel-border:rgba(73,153,96,.55);
    --accent:#39d353;
    --live:#e8ff66;
    --end:#a8b3ad;
}
*{
    box-sizing:border-box
}
body{
    margin:0;
    background-image:url(media/bg.gif);
    color:var(--fg);
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    font-size: 11px
}
.bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 16px;
    background:rgba(0,0,0,.35);
    border-bottom:1px solid rgba(0,0,0,.5);
}
.brand{
    display:flex;
    align-items:center;
    gap:10px
}
.brand img{
    height:56px;
    width:auto;
    display:block
}
.layout{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:16px;
    padding:16px;
    max-width:1200px;
    margin:0 auto
}
.panel{
    background:var(--panel);
    border:1px solid var(--panel-border);
    border-radius:16px;
    padding:14px 14px 8px;
    box-shadow:0 10px 30px #47c46d33
}
.panel h2{
    margin:6px 8px 12px
}
.toolbar{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    padding:8px;
    margin:0 0 8px
}
.btn{
    padding:6px 10px;
    border:1px solid rgba(91,171,108,.5);
    background:linear-gradient(180deg,rgba(60,130,90,.7),rgba(40,95,70,.8));
    color:var(--fg);
    border-radius:10px;
    cursor:pointer;
    user-select:none
}
.btn:disabled{
    opacity:.55;
    cursor:default
}
.tag{
    font-size:12px;
    padding:3px 8px;
    border-radius:999px;
    border:1px solid rgba(91,171,108,.45);
    color:var(--muted)
}
.grow{
    flex:1
}
.matches{
    display:flex;
    flex-direction:column;
    gap:10px
}
.match{
    background:linear-gradient(180deg,rgba(20,40,30,.75),rgba(14,28,21,.75));
    border:1px solid rgba(91,171,108,.45);
    border-radius:12px;
    padding:10px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 6px 16px #0006
}
.teams{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:10px;
    align-items:center
}
.teams .home{
    text-align:right
}
.teams .score{
    font-weight:800;
    font-size:18px;
    letter-spacing:.6px;
    padding:2px 8px;
    border-radius:10px;
    background:rgba(0,0,0,.3);
    border:1px solid rgba(255,255,255,.06)
}
.teams .away{
    text-align:left
}
.meta{
    margin-top:6px;
    display:flex;
    gap:10px;
    align-items:center;
    color:var(--muted);
    font-size:13px
}
.status.live{
    color:#173200;
    background:linear-gradient(180deg,var(--live),#d9ff2a);
    padding:1px 8px;
    border-radius:999px;
    font-weight:800
}
.status.ende{
    color:var(--end);
    font-weight:700
}

/* Ball-Leiste */
.ballbar{
    margin-top:8px;
    padding:8px 10px 10px;
    border:1px solid rgba(0,0,0,.45);
    border-radius:10px;
    background:rgba(0,0,0,.28)
}
.ballbar-track{
    position:relative;
    height:10px;
    border-radius:999px;
    background:linear-gradient(90deg,#2b3b2e 0%,#35533c 50%,#2b3b2e 100%);
    outline:1px solid rgba(255,255,255,.06)
}
.ballbar-tick{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    width:2px;
    height:12px;
    background:rgba(255,255,255,.25)
}
.ballbar-tick.zero{
    height:16px;
    background:#ffffffaa
}
.ballbar-tick.pos{
    background:rgba(180,255,180,.35)
}
.ballbar-tick.neg{
    background:rgba(255,220,220,.35)
}
.ballbar-marker{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    width:14px;
    height:14px;
    border-radius:50%;
    background:#39d353;
    border:3px solid #000;
    transition:left .25s ease
}
.ballbar-labels{
    display:flex;
    justify-content:space-between;
    font-size:11px;
    color:#e6f3e9;
    padding-top:4px;
    opacity:.85
}
.ballbar-labels span:nth-child(2){
    opacity:.9;
    font-weight:700
}
table{
    width:100%;
    border-collapse:collapse
}
th,td{
    padding:8px 10px;
    border-bottom:1px solid rgba(255,255,255,.06)
}
thead th{
    position:sticky;
    top:0;
    background:rgba(0,0,0,.25);
    text-align:left
}

.line-up td {
    border-bottom: 2px solid green;
}
.line-down td {
    border-bottom: 2px solid red;
}

