/* Live-Tabelle Zuschaueransicht v1.0.4 */
:root{
  --bg:#06101a;--bg2:#0a1723;--panel:#0f1d29;--panel2:#142635;--line:#294150;
  --text:#f5f8fa;--muted:#9fb2bf;--green:#48d17e;--green2:#173d2b;--gold:#f0c94d;
  --blue:#5cb8ff;--red:#ff7a7a;--dim:#728694;--white:#fff;
}
*{box-sizing:border-box}
html,body{margin:0;min-width:100%;min-height:100%;background:#06101a;color:var(--text);font-family:Arial,Helvetica,sans-serif}
body{min-height:100vh}
a{color:inherit}
.table-stage{min-height:100vh;width:100%;padding:18px 26px 16px;display:flex;flex-direction:column;gap:12px;background:radial-gradient(circle at 50% -20%,#173147 0,#0a1825 34%,#06101a 76%)}
.display-topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(520px,1.25fr) minmax(0,1fr);align-items:center;gap:22px;min-height:92px;padding:0 2px 13px;border-bottom:2px solid var(--line)}
.display-brand,.display-status,.display-clockblock{min-width:0}
.display-eyebrow-row{display:flex;align-items:center;gap:13px;margin-bottom:7px}.display-publicnav{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #31506a;border-radius:11px;background:#091725}.display-publicnav a{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:6px 12px;border-radius:8px;color:#9fb7c7;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}.display-publicnav a:hover,.display-publicnav a:focus{color:#fff}.display-publicnav a.active{background:#173d2b;color:#a7f3c3;box-shadow:inset 0 0 0 1px rgba(72,209,126,.35)}
.display-event{font-size:25px;line-height:1.08;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.display-place{margin-top:6px;color:var(--muted);font-size:13px;font-weight:750}
.display-status{text-align:center}.display-status-line{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}.display-status-title{font-size:28px;line-height:1.05;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tableLiveBadge{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(72,209,126,.45);background:var(--green2);color:#8ff0b5;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}#tableLiveBadge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(72,209,126,.12)}#tableLiveBadge.off{background:#192631;color:var(--muted);border-color:#314655}#tableLiveBadge.off::before{background:var(--dim);box-shadow:none}.display-status-sub{margin-top:7px;color:var(--muted);font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.display-clockblock{text-align:right}.display-clock{font-size:32px;line-height:1;font-weight:900}.display-date{margin-top:6px;color:var(--muted);font-size:14px;font-weight:700}.display-connection{margin-top:5px;color:var(--green);font-size:12px;font-weight:800}.lt-connection-warning{color:#ffbe75!important}
.display-main{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.display-rulebar{display:flex;align-items:center;justify-content:center;gap:18px;min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(15,29,41,.84);color:#a9bac7;font-size:12px;font-weight:800}.display-rulebar span{white-space:nowrap}.display-rulebar b{color:#dcecff}.display-rulebar i{font-style:normal;color:#56738f;font-size:19px;font-weight:900}
.display-table-panel{flex:1;min-height:0;display:flex;flex-direction:column;border:2px solid var(--line);border-radius:15px;overflow:hidden;background:#0c1822;box-shadow:0 9px 26px rgba(0,0,0,.22)}.display-table-scroll{flex:1;min-height:0;overflow:auto}.display-table{width:100%;height:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;table-layout:auto}.display-table thead th{position:sticky;top:0;z-index:3;background:#182c3c;color:#afc2ce;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:900;border-bottom:1px solid var(--line);padding:8px 9px}.display-table tbody td{padding:6px 9px;text-align:center;border-bottom:1px solid rgba(159,178,191,.15);background:#0f1d29;color:#dbe6ec;font-size:14px;line-height:1.08;white-space:nowrap}.display-table tbody tr:nth-child(even) td{background:#0c1923}.display-table tbody tr:last-child td{border-bottom:0}.display-table th:nth-child(1),.display-table td:nth-child(1){width:64px}.display-table th:nth-child(2),.display-table td:nth-child(2){width:1%;min-width:0;text-align:left;white-space:nowrap}.display-table th:nth-child(3),.display-table td:nth-child(3){width:82px}.display-table th:nth-child(4),.display-table td:nth-child(4),.display-table th:nth-child(5),.display-table td:nth-child(5){width:54px}.display-table th:nth-child(6),.display-table td:nth-child(6){width:102px}.display-table th:nth-child(7),.display-table td:nth-child(7){width:78px}.display-table th:nth-child(8),.display-table td:nth-child(8){width:132px}.display-table th:nth-child(9),.display-table td:nth-child(9){width:88px}
.display-table tbody td:nth-child(1){font-size:16px;font-weight:950;color:#b6c9d5}.display-table tbody td:nth-child(2){font-size:15px;font-weight:900;color:#f1f7fa;overflow:visible;text-overflow:clip}.display-table tbody td:nth-child(3){font-size:18px;font-weight:950;color:#fff}.display-table .lt-games,.display-table .lt-scorepoints{font-weight:850}.display-table .lt-diff.positive{color:#70dda5}.display-table .lt-diff.negative{color:#ff9e9e}.display-table .lt-diff.zero{color:#aebdcb}.lt-dv{display:inline-flex;vertical-align:middle;margin-left:6px;padding:1px 5px;border-radius:5px;background:rgba(86,161,230,.14);border:1px solid rgba(86,161,230,.30);color:#8bc8ff;font-size:9px;line-height:1.3;font-weight:950;letter-spacing:.04em}
.display-table tbody tr.is-champion td{background:#123525;border-bottom-color:rgba(76,205,137,.32)}.display-table tbody tr.is-relegation td{background:#341d25;border-bottom-color:rgba(226,97,97,.27)}.display-table tbody tr.lt-updated td{animation:ltflash 1.25s ease-out}@keyframes ltflash{0%{box-shadow:inset 0 0 0 999px rgba(74,161,231,.15)}100%{box-shadow:inset 0 0 0 999px rgba(74,161,231,0)}}
.display-legend{display:flex;align-items:center;gap:22px;padding:8px 12px;background:#091522;color:#90a5bb;font-size:11px;font-weight:750}.display-legend span{display:flex;align-items:center;gap:7px}.display-legend>span>i{display:inline-block;width:24px;height:6px;border-radius:999px}.display-legend .champion i{background:#2aa66f}.display-legend .relegation i{background:#c55662}.display-legend .warranty{margin-left:auto}
.display-footer{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;font-weight:700;padding:0 3px}.display-footer a{color:#b9dcff;text-decoration:none;font-weight:850}.display-footer a:hover{text-decoration:underline}

@media(max-width:1100px){
  .table-stage{padding:14px 16px}.display-topbar{grid-template-columns:1fr 1.25fr;gap:14px}.display-clockblock{grid-column:1/-1;text-align:left;display:flex;align-items:center;gap:14px}.display-clock{font-size:24px}.display-date,.display-connection{margin-top:0}.display-table tbody td{font-size:13px;padding:6px 7px}.display-table tbody td:nth-child(2){font-size:14px}.display-rulebar{gap:12px}
}

@media(max-width:720px){
  body{overflow:auto}.table-stage{min-height:100vh;padding:12px 10px 14px;gap:10px}.display-topbar{display:grid;grid-template-columns:1fr;gap:10px;min-height:0;padding-bottom:11px}.display-brand{order:1}.display-status{order:2;text-align:left}.display-clockblock{order:3;grid-column:auto;display:grid;grid-template-columns:auto 1fr;gap:3px 12px;align-items:end}.display-clock{font-size:27px;grid-row:1/3}.display-date{font-size:12px;align-self:start}.display-connection{font-size:11px;grid-column:2}.display-eyebrow-row{margin-bottom:7px}.display-publicnav{width:100%;display:grid;grid-template-columns:1fr 1fr}.display-publicnav a{min-height:38px;padding:7px 8px;font-size:12px}.display-event{font-size:21px;white-space:normal}.display-place{font-size:11px;line-height:1.35}.display-status-line{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:8px}.display-status-title{font-size:22px;white-space:normal;overflow:visible}#tableLiveBadge{font-size:10px;padding:6px 9px}.display-status-sub{font-size:11px;line-height:1.35;white-space:normal;overflow:visible}.display-main{display:block}.display-rulebar{justify-content:flex-start;overflow-x:auto;gap:9px;margin-bottom:10px;font-size:11px;padding:7px 9px;min-height:38px}.display-rulebar i{font-size:16px}
  .display-table-panel{display:block;border-width:1px;border-radius:13px;background:transparent;box-shadow:none;overflow:visible}.display-table-scroll{overflow:visible}.display-table,.display-table tbody,.display-table tr,.display-table td{display:block;width:100%!important;height:auto}.display-table{table-layout:auto}.display-table thead{display:none}.display-table tbody{display:flex;flex-direction:column;gap:8px}.display-table tbody tr{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 76px;grid-template-areas:"place team points" "stats stats stats";gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#0f1d29;box-shadow:0 5px 15px rgba(0,0,0,.16)}.display-table tbody tr.is-champion{border-color:rgba(72,209,126,.55)}.display-table tbody tr.is-relegation{border-color:rgba(226,97,97,.45)}
  .display-table tbody td{background:transparent!important;border:0!important;padding:9px 8px;white-space:normal}.display-table tbody td:nth-child(1){grid-area:place;display:flex;align-items:center;justify-content:center;font-size:20px;border-right:1px solid rgba(159,178,191,.15)!important}.display-table tbody td:nth-child(2){grid-area:team;display:flex;align-items:center;font-size:15px;line-height:1.15;overflow:visible;text-overflow:clip}.display-table tbody td:nth-child(3){grid-area:points;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:21px;color:var(--gold);border-left:1px solid rgba(159,178,191,.15)!important}.display-table tbody td:nth-child(3)::before{content:"Punkte";display:block;margin-bottom:2px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.display-table tbody td:nth-child(n+4){grid-area:stats;display:inline-flex;width:auto!important;align-items:center;justify-content:center;gap:4px;padding:7px 5px;border-top:1px solid rgba(159,178,191,.15)!important;background:rgba(6,16,26,.28)!important;font-size:12px;white-space:nowrap}.display-table tbody tr{grid-template-columns:48px minmax(0,1fr) 76px;grid-template-rows:auto auto}.display-table tbody tr::after{content:"";grid-area:stats;height:34px;pointer-events:none}.display-table tbody td:nth-child(4){position:absolute;left:0;bottom:0;width:12%!important}.display-table tbody td:nth-child(5){position:absolute;left:12%;bottom:0;width:12%!important}.display-table tbody td:nth-child(6){position:absolute;left:24%;bottom:0;width:22%!important}.display-table tbody td:nth-child(7){position:absolute;left:46%;bottom:0;width:14%!important}.display-table tbody td:nth-child(8){position:absolute;left:60%;bottom:0;width:26%!important}.display-table tbody td:nth-child(9){position:absolute;left:86%;bottom:0;width:14%!important}.display-table tbody td:nth-child(4)::before{content:"G"}.display-table tbody td:nth-child(5)::before{content:"V"}.display-table tbody td:nth-child(6)::before{content:"Sp."}.display-table tbody td:nth-child(7)::before{content:"ΔS"}.display-table tbody td:nth-child(8)::before{content:"SP"}.display-table tbody td:nth-child(9)::before{content:"ΔSP"}.display-table tbody td:nth-child(n+4)::before{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}
  .display-legend{margin-top:9px;border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;gap:8px 14px;padding:9px 10px;font-size:10px}.display-legend .warranty{width:100%;margin-left:0;color:#8198b0}.display-footer{margin-top:10px;align-items:flex-start;flex-direction:column;gap:5px;font-size:10px;line-height:1.35;padding:0 2px 4px}
}

@media(max-width:390px){
  .display-table tbody td:nth-child(2){font-size:14px}.display-table tbody td:nth-child(n+4){font-size:11px;padding-left:3px;padding-right:3px}.display-rulebar span{font-size:10px}.display-rulebar{gap:7px}.display-publicnav a{padding-left:6px;padding-right:6px}
}


/* Monitor-/Kioskansicht 1920x1080: große Typografie statt künstlich gestreckter Zeilen */
body.display-embed .table-stage{padding:12px 20px 10px;gap:8px}
body.display-embed .display-topbar{min-height:94px;gap:24px;padding-bottom:9px}
body.display-embed .display-event{font-size:30px}
body.display-embed .display-place{font-size:16px}
body.display-embed .display-status-title{font-size:32px}
body.display-embed .display-status-sub{font-size:15px}
body.display-embed .display-clock{font-size:36px}
body.display-embed .display-date{font-size:16px}
body.display-embed .display-connection{font-size:14px}
body.display-embed .display-main{flex:1;gap:8px}
body.display-embed .display-rulebar{min-height:44px;padding:7px 14px;gap:22px;font-size:16px}
body.display-embed .display-rulebar i{font-size:23px}
body.display-embed .display-table-panel{flex:0 0 auto;border-radius:13px;box-shadow:none}
body.display-embed .display-table-scroll{flex:0 0 auto;overflow:hidden}
body.display-embed .display-table{height:auto}
body.display-embed .display-table thead th{padding:9px 11px;font-size:16px;line-height:1.05}
body.display-embed .display-table tbody td{height:auto;padding:11px 11px;font-size:23px;line-height:1;vertical-align:middle}
body.display-embed .display-table tbody td:nth-child(1){font-size:25px}
body.display-embed .display-table tbody td:nth-child(2){font-size:25px}
body.display-embed .display-table tbody td:nth-child(3){font-size:29px}
body.display-embed .display-table th:nth-child(1),body.display-embed .display-table td:nth-child(1){width:82px}
body.display-embed .display-table th:nth-child(3),body.display-embed .display-table td:nth-child(3){width:110px}
body.display-embed .display-table th:nth-child(4),body.display-embed .display-table td:nth-child(4),body.display-embed .display-table th:nth-child(5),body.display-embed .display-table td:nth-child(5){width:76px}
body.display-embed .display-table th:nth-child(6),body.display-embed .display-table td:nth-child(6){width:132px}
body.display-embed .display-table th:nth-child(7),body.display-embed .display-table td:nth-child(7){width:105px}
body.display-embed .display-table th:nth-child(8),body.display-embed .display-table td:nth-child(8){width:175px}
body.display-embed .display-table th:nth-child(9),body.display-embed .display-table td:nth-child(9){width:118px}
body.display-embed .lt-dv{font-size:12px;margin-left:8px;padding:2px 6px}
body.display-embed .display-legend{padding:9px 14px;font-size:14px}
body.display-embed .display-footer{font-size:12px}
