Der Organisator sieht Code, Link, Kopieren und Neuer Code jetzt unten in der Team-Karte. Im Bereich Einladungen bleiben Zuschauer-, Stream- und Organisator-Links.
782 lines
51 KiB
CSS
782 lines
51 KiB
CSS
/* ---------- Tokens ---------- */
|
|
:root {
|
|
/* Maxlan-Farben aus dem Logo: Blau #344A99, Rot #A72A1C auf Schwarz */
|
|
--brand-blue: #344a99;
|
|
--brand-red: #a72a1c;
|
|
|
|
--bg: #090b11;
|
|
--bg-rgb: 9, 11, 17;
|
|
--surface: #11141e;
|
|
--surface-2: #191d2b;
|
|
--line: #232939;
|
|
--line-strong: #343c53;
|
|
--text: #e8ebf3;
|
|
--muted: #8b93a8;
|
|
|
|
/* Teamfarben: Logo-Blau und -Rot, aufgehellt für Lesbarkeit auf dunklem Grund */
|
|
--team-a: #6383e6;
|
|
--team-b: #e5503c;
|
|
--primary: #3b5bcc;
|
|
--primary-hover: #4a6ae0;
|
|
--link: #7b97f0;
|
|
/* Seitenfarben aus den CT/T-Emblemen */
|
|
--ct: #9fb3d1;
|
|
--t: #d2bd8e;
|
|
|
|
--ok: #49d48f;
|
|
--pending: #e8c25a;
|
|
--error: #ff8a3d;
|
|
--demo: #b39bff;
|
|
|
|
--display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
|
|
--body: 'Barlow', system-ui, sans-serif;
|
|
|
|
--radius: 6px;
|
|
--chamfer: 14px;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; }
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 400 16px/1.5 var(--body);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
|
|
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
|
|
h2 { font-size: 1.375rem; }
|
|
h3 { font-size: 1.0625rem; }
|
|
p { margin: 0 0 .75em; }
|
|
a { color: var(--link); }
|
|
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .875em; }
|
|
.muted { color: var(--muted); }
|
|
.small { font-size: .875rem; }
|
|
.lead { color: var(--muted); max-width: 60ch; font-size: 1.0625rem; }
|
|
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
|
|
|
|
.tone-ok { color: var(--ok); }
|
|
.tone-pending { color: var(--pending); }
|
|
.tone-error { color: var(--error); }
|
|
.tone-demo { color: var(--demo); }
|
|
.tone-muted { color: var(--muted); }
|
|
.team-a { color: var(--team-a); }
|
|
.team-b { color: var(--team-b); }
|
|
|
|
/* ---------- Layout ---------- */
|
|
.topbar {
|
|
display: flex; align-items: center; gap: 16px;
|
|
padding: 10px clamp(16px, 4vw, 40px);
|
|
/* Schwarz wie der Logo-Hintergrund, roter Abschluss wie das X */
|
|
border-bottom: 2px solid var(--brand-red);
|
|
background: #000;
|
|
position: sticky; top: 0; z-index: 10;
|
|
}
|
|
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
|
|
.brand-logo { height: 42px; width: auto; display: block; }
|
|
.brand-app { font: 600 1.125rem var(--display); color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
|
|
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 16px; }
|
|
.nav-link { color: var(--muted); text-decoration: none; }
|
|
.nav-link:hover { color: var(--text); }
|
|
.demo-flag {
|
|
font-size: .8125rem; color: var(--demo); border: 1px solid color-mix(in srgb, var(--demo) 50%, transparent);
|
|
padding: 2px 10px; border-radius: 999px;
|
|
}
|
|
.content { max-width: 1320px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 80px; }
|
|
|
|
/* ---------- Buttons & Felder ---------- */
|
|
.btn {
|
|
--btn: var(--surface-2);
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
|
|
font: 600 .9375rem var(--body);
|
|
color: var(--text); background: var(--btn);
|
|
border: 1px solid var(--line-strong); border-radius: var(--radius);
|
|
padding: 9px 16px; cursor: pointer; text-decoration: none;
|
|
transition: background .15s, border-color .15s;
|
|
}
|
|
.btn:hover:not(:disabled) { border-color: var(--muted); }
|
|
.btn:disabled { opacity: .45; cursor: not-allowed; }
|
|
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
|
|
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover); }
|
|
.btn-danger { background: var(--error); border-color: var(--error); color: #2a1204; }
|
|
.btn-ct { background: color-mix(in srgb, var(--ct) 22%, var(--surface)); border-color: var(--ct); }
|
|
.btn-t { background: color-mix(in srgb, var(--t) 22%, var(--surface)); border-color: var(--t); }
|
|
.btn-ghost { background: transparent; }
|
|
.btn-sm { padding: 5px 12px; font-size: .875rem; }
|
|
.btn-lg { padding: 13px 22px; font-size: 1.0625rem; }
|
|
.btn.danger, .link-btn.danger { color: var(--error); }
|
|
.link-btn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-size: .875rem; cursor: pointer; }
|
|
.link-btn:disabled { opacity: .5; cursor: not-allowed; }
|
|
|
|
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
|
|
.field > span { font-weight: 600; font-size: .9375rem; }
|
|
input, select {
|
|
font: inherit; color: var(--text); background: var(--bg);
|
|
border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; min-width: 0;
|
|
}
|
|
input:focus, select:focus { border-color: var(--link); outline: none; }
|
|
.hint { color: var(--muted); font-size: .8125rem; }
|
|
.field-error { color: var(--error); font-size: .875rem; margin-top: 6px; }
|
|
.row { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
|
|
.alert { border: 1px solid var(--line-strong); background: var(--surface); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
|
|
.alert-error { border-color: var(--error); color: #ffd2b8; }
|
|
.alert-demo { border-color: color-mix(in srgb, var(--demo) 55%, transparent); background: color-mix(in srgb, var(--demo) 9%, var(--surface)); color: #ded3ff; font-size: .875rem; }
|
|
|
|
.empty { text-align: center; padding: 80px 16px; }
|
|
|
|
/* ---------- Übersicht ---------- */
|
|
.overview-head { display: flex; gap: 32px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 40px; }
|
|
.code-entry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; width: min(100%, 380px); }
|
|
.code-entry label { display: block; font-weight: 600; margin-bottom: 8px; }
|
|
.code-entry input { flex: 1; text-transform: uppercase; letter-spacing: .08em; }
|
|
.groups { display: grid; gap: 40px; }
|
|
.group h2 { display: flex; align-items: baseline; gap: 10px; }
|
|
.count { font: 500 .9375rem var(--body); color: var(--muted); }
|
|
.match-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
|
|
.match-row {
|
|
display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
|
|
padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
|
|
}
|
|
.match-row:hover { background: var(--surface); }
|
|
.match-row-teams { font: 600 1.375rem var(--display); display: flex; gap: 10px; align-items: baseline; }
|
|
.vs { color: var(--muted); font: 500 .9375rem var(--body); }
|
|
.vs.big { font-size: 1.25rem; align-self: center; }
|
|
.match-row-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--muted); }
|
|
.mine { color: var(--link); }
|
|
.group-closed .match-row-teams { opacity: .7; }
|
|
|
|
/* ---------- Match erstellen ---------- */
|
|
.create, .join-card { max-width: 720px; }
|
|
.create-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; }
|
|
.team-field-a input { border-left: 4px solid var(--team-a); }
|
|
.team-field-b input { border-left: 4px solid var(--team-b); }
|
|
.choice { border: 0; padding: 0; margin: 8px 0 22px; }
|
|
.choice legend { font-weight: 600; margin-bottom: 8px; }
|
|
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
|
|
.choice-card {
|
|
position: relative; display: flex; flex-direction: column; gap: 2px;
|
|
padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer;
|
|
}
|
|
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
|
|
.choice-card strong { font: 600 1.375rem var(--display); }
|
|
.choice-card span { color: var(--muted); font-size: .875rem; }
|
|
.choice-card small { color: var(--muted); }
|
|
.choice-card.is-on { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
|
|
.choice-card.is-off { opacity: .45; cursor: not-allowed; }
|
|
.choice-card:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 2px; }
|
|
.flow-preview { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 12px 0 0; }
|
|
.flow-step { font-size: .875rem; padding: 6px 12px; border-radius: 3px; background: var(--surface-2); display: flex; flex-direction: column; line-height: 1.2; }
|
|
.flow-step small { color: var(--muted); font-size: .75rem; }
|
|
.flow-ban { box-shadow: inset 0 -2px 0 var(--error); }
|
|
.flow-pick { box-shadow: inset 0 -2px 0 var(--ok); }
|
|
.flow-decider { box-shadow: inset 0 -2px 0 var(--text); }
|
|
|
|
.join-card { margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--team-a); padding: 28px; border-radius: var(--radius); }
|
|
.join-card.team-B { border-top-color: var(--team-b); }
|
|
|
|
/* ---------- Match-Seite ---------- */
|
|
.match-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; align-items: flex-end; margin-bottom: 28px; }
|
|
.versus h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; margin: 0; }
|
|
.match-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
|
|
.match-facts dt { color: var(--muted); font-size: .8125rem; }
|
|
.match-facts dd { margin: 0; font-weight: 600; }
|
|
|
|
.match-grid { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(220px, 280px); gap: 20px; align-items: start; }
|
|
/* Ab dem Veto bekommt das Map-Board die volle Breite, die Teamkarten stehen darunter nebeneinander */
|
|
.match-grid.stage-wide { grid-template-columns: 1fr 1fr; }
|
|
.match-grid.stage-wide .stage { grid-column: 1 / -1; grid-row: 1; }
|
|
.stage { min-width: 0; }
|
|
.stage-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
|
|
.stage-note .btn { margin: 8px 0 8px; }
|
|
.stage-note .pool-preview { margin-top: 16px; }
|
|
.missing-list { margin: 0 0 12px; padding-left: 1.1em; color: var(--muted); }
|
|
.self-join { margin: 18px 0 4px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); max-width: 560px; }
|
|
.self-join h3 { margin-bottom: 4px; }
|
|
.self-join .field { margin-bottom: 12px; }
|
|
.self-join-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.self-join-buttons .btn { flex: 1 1 180px; margin: 0; }
|
|
.self-join-A:not(:disabled) { border-color: var(--team-a); color: var(--team-a); }
|
|
.self-join-B:not(:disabled) { border-color: var(--team-b); color: var(--team-b); }
|
|
.missing-list li { margin-bottom: 4px; }
|
|
.pool-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
|
|
.pool-chip {
|
|
position: relative; overflow: hidden; display: flex; align-items: flex-end;
|
|
aspect-ratio: 16 / 9; padding: 6px 8px; border-bottom: 3px solid var(--map); border-radius: 3px; background: var(--surface-2);
|
|
}
|
|
.pool-chip-name { position: relative; z-index: 1; font: 600 1rem var(--display); }
|
|
|
|
.team-card { --team: var(--team-a); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--team); border-radius: var(--radius); padding: 16px; }
|
|
.team-card.team-B { --team: var(--team-b); }
|
|
.team-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
|
|
.team-card h2 { color: var(--team); font-size: 1.625rem; margin: 0 0 10px; overflow-wrap: anywhere; }
|
|
.ready-state { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
|
|
.ready-state.on { color: var(--ok); font-weight: 600; }
|
|
.roster { list-style: none; padding: 0; margin: 0 0 12px; }
|
|
.roster li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
|
|
.roster li.is-you .nick { color: var(--team); }
|
|
.nick { font-weight: 600; flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
.nick small { font-weight: 400; color: var(--muted); }
|
|
.presence { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
|
|
.presence.on { background: var(--ok); }
|
|
.captain { font-size: .75rem; padding: 1px 6px; border: 1px solid var(--team); color: var(--team); border-radius: 3px; }
|
|
.ready-dot { font-size: .75rem; color: var(--muted); }
|
|
.ready-dot.on { color: var(--ok); }
|
|
.row-actions { flex-basis: 100%; display: flex; gap: 14px; padding-left: 16px; }
|
|
.slot-empty { color: var(--muted); font-style: italic; font-size: .9375rem; border-bottom-style: dashed !important; }
|
|
.team-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
|
|
.team-card.is-ready { box-shadow: 0 0 0 1px color-mix(in srgb, var(--team) 35%, transparent); }
|
|
|
|
/* ---------- Veto ---------- */
|
|
.veto { display: grid; gap: 16px; }
|
|
.turn {
|
|
--team: var(--team-a);
|
|
display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline;
|
|
padding: 14px 18px; background: color-mix(in srgb, var(--team) 10%, var(--surface));
|
|
border-left: 4px solid var(--team); border-radius: var(--radius);
|
|
}
|
|
.turn-B { --team: var(--team-b); }
|
|
.turn-team { font: 700 1.75rem var(--display); color: var(--team); }
|
|
.turn-action { font: 600 1.375rem var(--display); }
|
|
.turn-hint { grid-column: 1 / -1; color: var(--muted); font-size: .9375rem; }
|
|
.turn.is-you { box-shadow: 0 0 0 1px var(--team); }
|
|
.turn.is-you .turn-hint { color: var(--text); font-weight: 600; }
|
|
.turn-done { font: 600 1.375rem var(--display); --team: var(--ok); }
|
|
|
|
.map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
|
.map-tile {
|
|
--by: var(--line-strong);
|
|
--chamfer: 20px;
|
|
position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-align: left;
|
|
aspect-ratio: 16 / 10; padding: 16px 18px; border: 0; color: var(--text); font: inherit; cursor: default;
|
|
background: var(--surface-2);
|
|
clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
|
|
transition: transform .15s, filter .25s;
|
|
}
|
|
.map-tile.by-A { --by: var(--team-a); }
|
|
.map-tile.by-B { --by: var(--team-b); }
|
|
.map-art {
|
|
position: absolute; inset: 0; z-index: 0;
|
|
background:
|
|
repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--map) 16%, transparent) 9px 10px),
|
|
radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--map) 70%, transparent), transparent 60%),
|
|
linear-gradient(180deg, color-mix(in srgb, var(--map) 35%, var(--surface-2)), var(--surface) 85%);
|
|
}
|
|
.map-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
/* Abdunkeln nach unten, damit Name und Status auf jedem Bild lesbar bleiben */
|
|
.map-art::after {
|
|
content: ''; position: absolute; inset: 0;
|
|
background: linear-gradient(180deg, rgba(var(--bg-rgb), .05) 30%, rgba(var(--bg-rgb), .88) 100%);
|
|
}
|
|
.map-name, .map-status { position: relative; z-index: 1; }
|
|
.map-name { font: 700 clamp(1.625rem, 2.6vw, 2.25rem)/1 var(--display); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
|
|
.map-status { font-size: .9375rem; color: color-mix(in srgb, var(--text) 75%, transparent); margin-top: 4px; }
|
|
.map-tile:not(:disabled) { cursor: pointer; }
|
|
.map-tile:not(:disabled):hover { transform: translateY(-2px); }
|
|
.map-tile:focus-visible { outline: none; }
|
|
.map-tile:focus-visible::after { content: ''; position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 0 3px var(--link); }
|
|
|
|
/* Gebannt: entsättigt, mit diagonalem Strich in der Farbe des bannenden Teams */
|
|
.map-tile.status-banned { filter: grayscale(.9) brightness(.6); }
|
|
.map-tile.status-banned::after {
|
|
content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
|
|
background: linear-gradient(to top right, transparent calc(50% - 4px), var(--by) calc(50% - 4px), var(--by) calc(50% + 4px), transparent calc(50% + 4px));
|
|
}
|
|
.map-tile.status-banned .map-status { color: var(--text); }
|
|
/* Gewählt, Entscheidungsmap, Auswahl: Rahmen als Overlay über dem Map-Bild */
|
|
.map-tile.status-picked::after, .map-tile.status-decider::after, .map-tile.is-selected::after, .map-tile.is-side::after {
|
|
content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
|
|
box-shadow: inset 0 0 0 4px var(--frame, var(--by));
|
|
}
|
|
.map-tile.status-picked .map-status { color: var(--by); font-weight: 600; }
|
|
.map-tile.status-decider { --by: var(--text); }
|
|
.map-tile.status-decider .map-status { font-weight: 600; }
|
|
.map-tile.is-selected { transform: translateY(-2px); }
|
|
.map-tile.is-selected.sel-ban { --frame: var(--error); }
|
|
.map-tile.is-selected.sel-pick { --frame: var(--ok); }
|
|
.map-tile.is-side::after { animation: side-pulse 1.6s ease-in-out infinite; }
|
|
@keyframes side-pulse { 50% { box-shadow: inset 0 0 0 4px var(--pending); } }
|
|
|
|
.veto-confirm .btn { width: 100%; }
|
|
.side-choice { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
|
|
.side-choice-art { opacity: .45; }
|
|
.side-choice-art::after { background: linear-gradient(90deg, rgba(var(--bg-rgb), .92), rgba(var(--bg-rgb), .55)); }
|
|
.side-choice-body { position: relative; z-index: 1; padding: 18px; }
|
|
.side-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
.side-option {
|
|
--side: var(--ct);
|
|
display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
|
|
text-align: left; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--text);
|
|
background: color-mix(in srgb, var(--side) 16%, rgba(var(--bg-rgb), .75));
|
|
border: 2px solid color-mix(in srgb, var(--side) 70%, transparent); border-radius: var(--radius);
|
|
transition: background .15s, border-color .15s, transform .15s;
|
|
}
|
|
.side-option-t { --side: var(--t); }
|
|
.side-option .side-icon { grid-row: 1 / 3; color: var(--side); }
|
|
.side-option-name { font: 700 1.375rem/1.1 var(--display); color: var(--side); }
|
|
.side-option-sub { font-size: .8125rem; color: var(--muted); }
|
|
.side-option:hover:not(:disabled) { background: color-mix(in srgb, var(--side) 28%, rgba(var(--bg-rgb), .75)); border-color: var(--side); transform: translateY(-1px); }
|
|
.side-option:disabled { opacity: .5; cursor: not-allowed; }
|
|
.side-icon { flex: none; }
|
|
|
|
.step-track { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
|
|
.step {
|
|
--team: var(--muted);
|
|
display: flex; flex-direction: column; min-width: 92px; line-height: 1.2;
|
|
font: 600 1rem var(--display); padding: 8px 14px; border-radius: 4px; background: var(--surface);
|
|
border-bottom: 3px solid color-mix(in srgb, var(--team) 45%, transparent); color: var(--muted);
|
|
}
|
|
.step small { font: 500 .8125rem var(--body); opacity: .85; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.step-A { --team: var(--team-a); }
|
|
.step-B { --team: var(--team-b); }
|
|
.step.done { color: var(--text); background: var(--surface-2); border-bottom-color: var(--team); }
|
|
.step.now { color: var(--bg); background: var(--team); border-bottom-color: var(--team); font-weight: 600; }
|
|
.step-decider.now, .step-decider.done { --team: var(--text); }
|
|
|
|
.veto-history { list-style: none; padding: 0; margin: 0; font-size: .9375rem; border-top: 1px solid var(--line); }
|
|
.veto-history li { padding: 6px 0 6px 12px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
|
|
.veto-history li.hist-A { border-left-color: var(--team-a); }
|
|
.veto-history li.hist-B { border-left-color: var(--team-b); }
|
|
.veto-history time, .event-log time { color: var(--muted); font-size: .8125rem; margin-right: 8px; font-variant-numeric: tabular-nums; }
|
|
.veto-compact .map-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
|
|
.veto-compact .map-tile { aspect-ratio: 16 / 9; padding: 10px 12px; --chamfer: 14px; }
|
|
.veto-compact .map-name { font-size: 1.375rem; }
|
|
.veto-compact .map-status { font-size: .8125rem; }
|
|
|
|
/* ---------- Serie ---------- */
|
|
.series { margin-bottom: 20px; }
|
|
.series-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
|
|
.series-item {
|
|
position: relative; overflow: hidden;
|
|
display: grid; grid-template-columns: auto 1fr auto; gap: 2px 16px; align-items: baseline;
|
|
padding: 14px 16px; background: var(--surface); border-left: 4px solid var(--map); border-radius: var(--radius);
|
|
}
|
|
.series-item > :not(.series-art) { position: relative; z-index: 1; }
|
|
/* Map-Bild rechts, nach links in die Fläche ausgeblendet */
|
|
.series-art {
|
|
left: auto !important; width: 60%;
|
|
-webkit-mask-image: linear-gradient(to left, #000 35%, transparent);
|
|
mask-image: linear-gradient(to left, #000 35%, transparent);
|
|
opacity: .7;
|
|
}
|
|
.series-art::after { display: none; }
|
|
.series-status { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
|
|
.series-no { color: var(--muted); font-size: .875rem; }
|
|
.series-map { font: 700 1.625rem var(--display); }
|
|
.series-status { font-size: .875rem; color: var(--muted); text-align: right; grid-column: 3; grid-row: 1; }
|
|
.series-origin, .series-sides { grid-column: 2 / -1; font-size: .875rem; color: var(--muted); }
|
|
.series-item.is-live { box-shadow: inset 0 0 0 1px var(--map); }
|
|
.series-item.is-live .series-status, .series-item.is-next .series-status { color: var(--pending); font-weight: 600; }
|
|
.series-item.is-done { opacity: .6; }
|
|
.side-ct, .side-t { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
|
|
.side-ct { color: var(--ct); }
|
|
.side-t { color: var(--t); margin-left: 14px; }
|
|
|
|
/* ---------- Panels unten ---------- */
|
|
.match-lower { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
|
|
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
|
|
.server-status { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 1.0625rem; }
|
|
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
|
|
.status-dot.pulse { animation: pulse 1.2s ease-in-out infinite; }
|
|
@keyframes pulse { 50% { opacity: .3; } }
|
|
.tone-border-error { border-color: color-mix(in srgb, var(--error) 60%, transparent); }
|
|
.connect { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: start; }
|
|
.connect .copy-field { width: 100%; }
|
|
.org-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
|
|
|
|
.copy-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
|
|
.copy-label { font-size: .8125rem; color: var(--muted); }
|
|
.copy-row { display: flex; gap: 8px; align-items: center; }
|
|
.copy-row code { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; overflow-x: auto; white-space: nowrap; }
|
|
.copy-row code.blurred { filter: blur(5px); cursor: pointer; user-select: none; }
|
|
|
|
.invite { padding: 12px 0; border-top: 1px solid var(--line); border-left: 3px solid transparent; padding-left: 12px; }
|
|
.invite.team-A { border-left-color: var(--team-a); }
|
|
.invite.team-B { border-left-color: var(--team-b); }
|
|
.invite.spectator { border-left-color: var(--muted); }
|
|
.invite-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
|
|
.invite-code { font: 600 1.125rem var(--display); letter-spacing: .1em; }
|
|
.invite-head .link-btn { margin-left: auto; }
|
|
.org-link { margin-top: 12px; }
|
|
.org-link summary { cursor: pointer; color: var(--muted); font-size: .875rem; }
|
|
|
|
.event-log ol { list-style: none; padding: 0; margin: 0; max-height: 360px; overflow-y: auto; font-size: .875rem; }
|
|
.event-log li { display: flex; gap: 4px; padding: 5px 0; border-bottom: 1px solid var(--line); }
|
|
.event-log li.ev-server span { color: color-mix(in srgb, var(--text) 80%, var(--link)); }
|
|
|
|
.toast {
|
|
position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50;
|
|
padding: 12px 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-strong);
|
|
max-width: min(560px, calc(100vw - 32px)); box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
|
|
}
|
|
.toast-error { border-color: var(--error); }
|
|
.toast-ok { border-color: var(--ok); }
|
|
.reconnect { background: var(--pending); color: #2a2000; padding: 8px 14px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 600; }
|
|
|
|
/* ---------- Responsiv ---------- */
|
|
@media (max-width: 1040px) {
|
|
.match-grid { grid-template-columns: 1fr 1fr; }
|
|
.stage { grid-column: 1 / -1; grid-row: 1; }
|
|
.map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 640px) {
|
|
.match-grid { grid-template-columns: 1fr; }
|
|
.topbar { flex-wrap: wrap; gap: 8px 16px; }
|
|
.demo-flag { order: 3; }
|
|
.brand-logo { height: 26px; }
|
|
.brand-app { font-size: 1rem; padding-left: 10px; }
|
|
.create-teams { grid-template-columns: 1fr; }
|
|
.vs.big { justify-self: center; }
|
|
.map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
.map-tile { --chamfer: 14px; padding: 10px 12px; }
|
|
.map-name { font-size: 1.375rem; }
|
|
.map-status { font-size: .8125rem; }
|
|
.match-grid.stage-wide { grid-template-columns: 1fr; }
|
|
.step { min-width: 0; padding: 6px 10px; font-size: .9375rem; }
|
|
.side-options { grid-template-columns: 1fr; }
|
|
.series-item { grid-template-columns: 1fr auto; }
|
|
.series-no { grid-column: 1 / -1; }
|
|
.series-status { grid-column: 2; grid-row: 2; }
|
|
.series-origin, .series-sides { grid-column: 1 / -1; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { animation: none !important; transition: none !important; }
|
|
}
|
|
|
|
/* ---------- Live-Ergebnisse ---------- */
|
|
.live-badge {
|
|
display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 6px; border-radius: 3px;
|
|
background: var(--brand-red); color: #fff; font: 700 .8125rem var(--display); vertical-align: middle;
|
|
}
|
|
.live-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
|
|
.series-total { font-variant-numeric: tabular-nums; color: var(--text); }
|
|
.series-total .colon, .series-score .colon { color: var(--muted); margin: 0 .12em; }
|
|
.row-score { font: 700 1.375rem var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
|
|
.row-live { color: var(--text); }
|
|
|
|
.series-score {
|
|
grid-column: 3; grid-row: 2 / 4; align-self: center; justify-self: end; text-align: right;
|
|
font: 700 2.25rem/1 var(--display); font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
|
|
}
|
|
.series-score small { display: block; font: 500 .8125rem var(--body); color: var(--muted); margin-top: 4px; }
|
|
.series-score .is-winner { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
|
|
.series-rounds { grid-column: 1 / -1; margin-top: 10px; overflow-x: auto; }
|
|
.series-item.is-playing { box-shadow: inset 0 0 0 2px var(--brand-red); }
|
|
|
|
.round-strip { list-style: none; display: flex; gap: 3px; padding: 0; margin: 0; }
|
|
.round {
|
|
display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 3px;
|
|
background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line);
|
|
}
|
|
.round.won-A { background: var(--team-a); box-shadow: none; }
|
|
.round.won-B { background: var(--team-b); box-shadow: none; }
|
|
.round.break { margin-left: 10px; }
|
|
.round-strip-sm .round { width: 18px; height: 18px; }
|
|
.round-strip-sm .reason-icon { width: 10px; height: 10px; }
|
|
.round-strip-sm .round.break { margin-left: 8px; }
|
|
|
|
.alert-ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--surface)); }
|
|
.live-data { display: flex; align-items: center; gap: 8px; color: var(--muted); }
|
|
.stream-link { margin-top: 10px; display: grid; gap: 8px; justify-items: start; }
|
|
.stream-link .copy-field { width: 100%; }
|
|
@media (max-width: 640px) {
|
|
.series-score { grid-column: 2; grid-row: 2; font-size: 1.75rem; }
|
|
}
|
|
|
|
/* ---------- Admin ---------- */
|
|
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
|
|
.admin-list { display: grid; gap: 14px; }
|
|
.admin-card { border-left: 4px solid var(--line-strong); }
|
|
.admin-card.status-live { border-left-color: var(--brand-red); }
|
|
.admin-card.status-veto { border-left-color: var(--pending); }
|
|
.admin-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
|
|
.admin-card-head strong { font: 700 1.5rem var(--display); }
|
|
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
|
|
.admin-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
|
|
.admin-details h3 { margin-top: 6px; }
|
|
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
|
|
.admin-players { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
|
.admin-players ul { list-style: none; padding: 0; margin: 4px 0 0; }
|
|
.admin-players li { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--line); }
|
|
.admin-players em { font-style: normal; color: var(--pending); font-size: .8125rem; }
|
|
.admin-log { list-style: none; padding: 0; margin: 0; max-height: 260px; overflow-y: auto; font-size: .875rem; }
|
|
.admin-log li { padding: 4px 0; border-bottom: 1px solid var(--line); }
|
|
.admin-log time { color: var(--muted); margin-right: 8px; }
|
|
.admin-login { margin-top: 40px; }
|
|
.danger { color: var(--error); }
|
|
@media (max-width: 640px) { .admin-players { grid-template-columns: 1fr; } }
|
|
|
|
/* ---------- Rollback (nur Admin) ---------- */
|
|
.rollback { border: 1px dashed var(--brand-red); border-radius: var(--radius); padding: 12px 14px; }
|
|
.rollback h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
|
|
.rollback select { min-width: 200px; }
|
|
.admin-badge { font: 600 .75rem var(--body); color: #fff; background: var(--brand-red); padding: 2px 8px; border-radius: 3px; }
|
|
|
|
.admin-settings { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
|
|
.admin-settings h2 { margin: 0 0 12px; font-size: 1.1rem; }
|
|
.admin-settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 16px; margin-bottom: 12px; }
|
|
.admin-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
|
|
|
|
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
|
|
.admin-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 14px; font: inherit; cursor: pointer; }
|
|
.admin-tab:hover { color: var(--text); }
|
|
.admin-tab.is-active { color: var(--text); border-bottom-color: var(--primary); }
|
|
|
|
.turn-timer { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 8px; }
|
|
.turn-bar { flex: 1; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--team) 18%, transparent); overflow: hidden; }
|
|
.turn-bar span { display: block; height: 100%; background: var(--team); transition: width .25s linear; }
|
|
.turn-seconds { min-width: 3ch; text-align: right; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
|
|
.turn-timer.is-low .turn-bar span { background: var(--error); }
|
|
.turn-timer.is-low .turn-seconds { color: var(--error); font-weight: 600; }
|
|
.admin-live { display: flex; gap: 10px; align-items: baseline; margin-top: 4px; font-size: .9rem; }
|
|
.admin-live strong { font-variant-numeric: tabular-nums; }
|
|
.admin-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
|
|
.admin-badge.is-paused { background: color-mix(in srgb, var(--pending) 22%, transparent); color: var(--pending); border: 1px solid var(--pending); }
|
|
.btn-warn { border-color: var(--pending); color: var(--pending); }
|
|
/* Laufende Matches in der Übersicht */
|
|
.run-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
|
|
.run-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 190px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .15s ease, border-color .15s ease; }
|
|
.run-card:hover { transform: translateY(-2px); border-color: var(--map); }
|
|
.run-card.is-live { box-shadow: inset 3px 0 0 var(--brand-red); }
|
|
.run-art { position: absolute; inset: 0; z-index: -1; opacity: .28; }
|
|
.run-art::after { background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.92)); }
|
|
.run-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
|
|
.run-live { animation: run-pulse 1.6s ease-in-out infinite; }
|
|
@keyframes run-pulse { 50% { opacity: .55; } }
|
|
.run-status { font-weight: 600; }
|
|
.run-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
|
|
.run-team { font: 700 1.25rem var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.run-team.a { color: var(--team-a); text-align: right; }
|
|
.run-team.b { color: var(--team-b); text-align: left; }
|
|
.run-score { font: 700 2.25rem var(--display); font-variant-numeric: tabular-nums; }
|
|
.run-score i { font-style: normal; color: var(--muted); padding: 0 4px; }
|
|
.run-vs { font-size: 1rem; color: var(--muted); font-style: normal; }
|
|
.run-foot { display: flex; justify-content: space-between; gap: 8px; font-size: .875rem; color: var(--muted); }
|
|
.run-series { font-variant-numeric: tabular-nums; }
|
|
.host-usage { margin-bottom: 20px; }
|
|
.host-usage h2 { font-size: 1.1rem; margin: 0 0 10px; }
|
|
.host-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
|
|
.host-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 12px 14px; }
|
|
.host-card.is-full { border-color: var(--pending); }
|
|
.host-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 8px; }
|
|
.host-count { margin-left: auto; font-variant-numeric: tabular-nums; font-size: .875rem; }
|
|
.host-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
|
|
.host-bar span { display: block; height: 100%; background: var(--primary); transition: width .3s ease; }
|
|
.host-card.is-full .host-bar span { background: var(--pending); }
|
|
.host-matches { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
|
|
.host-matches li { padding: 3px 0; border-top: 1px solid var(--line); }
|
|
.host-disk { font-size: .85rem; color: var(--muted); margin: -2px 0 8px; font-variant-numeric: tabular-nums; }
|
|
.host-disk.is-low { color: var(--error); font-weight: 600; }
|
|
.admin-address { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .85rem; }
|
|
.admin-address code { font: 500 .85rem ui-monospace, SFMono-Regular, Consolas, monospace; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
|
|
.admin-settings h3 { margin: 16px 0 8px; font-size: .95rem; }
|
|
.setting-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 20px; }
|
|
.setting-item { display: flex; flex-direction: column; gap: 4px; }
|
|
.setting-field { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
|
|
.setting-field input, .setting-field textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--text); background: var(--bg, transparent); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; }
|
|
.setting-field textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; }
|
|
.setting-live { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 999px; font-size: .7rem; font-weight: 600; color: var(--primary); border: 1px solid var(--primary); }
|
|
.host-edit { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
|
|
.host-edit-row { display: grid; grid-template-columns: 1fr 2fr 1.4fr .8fr .8fr 1.1fr 1.4fr auto; gap: 8px; align-items: end; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
|
|
@media (max-width: 900px) {
|
|
.host-edit-row { grid-template-columns: 1fr 1fr; }
|
|
.host-col-dockerHost { grid-column: 1 / -1; }
|
|
}
|
|
.pull-results { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
|
|
.pull-results li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
|
|
.pull-results code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
|
|
.pull-running span { color: var(--pending); }
|
|
.pull-ok span { color: var(--ok, #22c55e); }
|
|
.pull-failed span { color: var(--error); }
|
|
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 14px; }
|
|
.admin-search { flex: 1 1 240px; min-width: 0; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; }
|
|
.admin-filters { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.admin-filter { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .875rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
|
|
.admin-filter:hover { color: var(--text); }
|
|
.admin-filter.is-active { color: var(--text); border-color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, transparent); }
|
|
.admin-filter-count { font-variant-numeric: tabular-nums; font-size: .75rem; opacity: .8; }
|
|
.admin-filter.has-errors .admin-filter-count { color: var(--error); font-weight: 700; opacity: 1; }
|
|
.admin-error { margin: 8px 0 0; color: var(--error); }
|
|
.admin-badge.is-archived { background: transparent; color: var(--muted); border: 1px solid var(--line); }
|
|
.knife-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
|
|
.knife-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
|
|
.knife-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
|
|
.knife-state { margin-left: auto; }
|
|
.knife-addr { font: 500 .9rem ui-monospace, SFMono-Regular, Consolas, monospace; align-self: flex-start; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; }
|
|
.knife-new select { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; }
|
|
.knife-new { align-items: center; }
|
|
.knife-public { margin-bottom: 24px; }
|
|
.knife-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.knife-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
|
|
.knife-list code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; }
|
|
.knife-list .btn { margin-left: auto; }
|
|
.knife-mode { display: inline-block; margin: 0; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--primary); border: 1px solid var(--primary); background: transparent; }
|
|
.pool-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; }
|
|
.pool-map { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 78px; isolation: isolate; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .15s ease, border-color .15s ease; }
|
|
.pool-map.is-on { opacity: 1; border-color: var(--primary); }
|
|
.pool-map input { position: absolute; top: 6px; left: 6px; z-index: 2; }
|
|
|
|
.pool-map-name { position: relative; z-index: 1; padding: 5px 8px; font-size: .9rem; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
|
|
.pool-flows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
|
|
.pool-flow { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
|
|
.pool-flow strong { min-width: 36px; font-size: .85rem; }
|
|
.flow-steps { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
|
|
.flow-steps li { font-size: .75rem; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
|
|
.flow-steps .flow-ban { color: var(--error); border-color: color-mix(in srgb, var(--error) 50%, transparent); }
|
|
.flow-steps .flow-pick { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
|
|
.flow-steps .flow-decider { color: var(--text); border-color: var(--primary); }
|
|
/* Admin-Einstellungen mit Seitenleiste */
|
|
.settings-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
|
|
.settings-nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
|
|
.settings-nav-title { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px 10px; }
|
|
.settings-nav-group { display: flex; flex-direction: column; gap: 2px; }
|
|
.settings-nav-item { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid transparent; border-left: 3px solid transparent; border-radius: 4px; padding: 7px 10px; cursor: pointer; }
|
|
.settings-nav-item small { font-size: .75rem; color: var(--muted); }
|
|
.settings-nav-item:hover { background: var(--surface); }
|
|
.settings-nav-item.is-active { background: var(--surface); border-color: var(--line); border-left-color: var(--primary); }
|
|
.settings-content > .admin-settings { margin-bottom: 0; }
|
|
@media (max-width: 760px) {
|
|
.settings-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
.settings-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
|
|
.settings-nav-group { flex-direction: row; flex-wrap: wrap; gap: 6px; }
|
|
.settings-nav-title { display: none; }
|
|
.settings-nav-item { width: auto; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
|
|
.settings-nav-item small { display: none; }
|
|
.settings-nav-item.is-active { border-color: var(--primary); }
|
|
}
|
|
|
|
/* ---------- Startseite: Spieler zuerst ---------- */
|
|
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; margin: 8px 0 28px; }
|
|
.home-hero.has-mine { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); }
|
|
.home-intro h1 { font: 700 clamp(2.6rem, 6vw, 4.4rem)/.95 var(--display); letter-spacing: -.01em; margin: 0 0 14px; max-width: 14ch; }
|
|
.home-intro .lead { max-width: 58ch; margin: 0 0 22px; }
|
|
|
|
/* Code-Eingabe als Eintrittskarte: Abriss links, Code groß in der Mitte */
|
|
.ticket {
|
|
--notch: 11px;
|
|
display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0;
|
|
max-width: 620px; background: var(--surface-2); border: 1px solid var(--line-strong);
|
|
clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
|
|
}
|
|
.ticket-stub {
|
|
align-self: stretch; display: flex; align-items: center; padding: 0 18px 0 22px;
|
|
font: 700 1.05rem var(--display); color: var(--muted); letter-spacing: .02em;
|
|
border-right: 2px dashed var(--line-strong); background: color-mix(in srgb, var(--brand-red) 14%, transparent);
|
|
}
|
|
.ticket-code {
|
|
min-width: 0; width: 100%; border: 0; background: transparent; color: var(--text); outline: none;
|
|
font: 700 clamp(1.9rem, 4.6vw, 2.75rem)/1 var(--display); letter-spacing: .14em; padding: 16px 18px;
|
|
}
|
|
.ticket-code::placeholder { color: color-mix(in srgb, var(--muted) 45%, transparent); }
|
|
.ticket:focus-within { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
|
|
.ticket-go { margin: 0 14px 0 0; }
|
|
.ticket-msg { grid-column: 1 / -1; margin: 0; padding: 8px 22px 12px; border-top: 1px solid var(--line); }
|
|
|
|
/* Eigene Matches */
|
|
.home-mine h2 { font-size: 1.15rem; margin: 6px 0 10px; }
|
|
.home-mine ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
|
.mine-card {
|
|
display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center;
|
|
padding: 14px 16px; text-decoration: none; color: var(--text);
|
|
background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--radius);
|
|
}
|
|
.mine-card:hover { border-color: var(--line-strong); border-left-color: var(--primary-hover); }
|
|
.mine-card:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
|
|
.mine-teams { font: 700 1.35rem/1.1 var(--display); grid-column: 1; }
|
|
.mine-meta { grid-column: 1; font-size: .85rem; color: var(--muted); }
|
|
.mine-next { grid-column: 1; font-weight: 600; margin-top: 4px; }
|
|
.mine-go { grid-column: 2; grid-row: 1 / span 3; }
|
|
|
|
/* Vier Schritte */
|
|
.home-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
|
|
.home-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 12px; row-gap: 2px; padding: 14px 16px 4px 0; }
|
|
.step-n {
|
|
grid-row: 1; align-self: center; width: 34px; height: 34px; display: grid; place-items: center;
|
|
font: 700 1.2rem var(--display); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 50%;
|
|
}
|
|
.step-title { font-weight: 700; align-self: center; }
|
|
.step-text { grid-column: 2; font-size: .85rem; color: var(--muted); }
|
|
.home-steps li.is-done .step-n { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 60%, transparent); }
|
|
.home-steps li.is-current::before { content: ''; position: absolute; top: -2px; left: 0; right: 16px; height: 3px; background: var(--primary); }
|
|
.home-steps li.is-current .step-n { color: #fff; background: var(--primary); border-color: var(--primary); }
|
|
|
|
.home-live { margin-bottom: 36px; }
|
|
.home-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
|
|
.home-lists .match-row-meta { flex-wrap: wrap; }
|
|
|
|
@media (max-width: 900px) {
|
|
.home-hero.has-mine { grid-template-columns: minmax(0, 1fr); }
|
|
.home-hero.has-mine .home-mine { order: -1; }
|
|
.home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.home-lists { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
@media (max-width: 520px) {
|
|
.ticket { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.ticket-stub { grid-column: 1 / -1; border-right: 0; border-bottom: 2px dashed var(--line-strong); padding: 8px 18px; }
|
|
.ticket-code { letter-spacing: .08em; padding: 12px 14px; }
|
|
.home-steps { grid-template-columns: minmax(0, 1fr); }
|
|
.home-steps li { padding: 10px 0 10px 12px; }
|
|
.home-steps li.is-current::before { top: 8px; bottom: 8px; left: 0; right: auto; width: 3px; height: auto; }
|
|
.mine-card { grid-template-columns: minmax(0, 1fr); }
|
|
.mine-go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
|
|
}
|
|
/* Seitenwahl per Messerrunde in der Lobby */
|
|
.knife-round { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--brand-red); border-radius: var(--radius); background: var(--surface-2); text-align: left; }
|
|
.knife-round h3 { margin: 0 0 6px; font-size: 1.05rem; }
|
|
.knife-round .knife-list { margin-top: 10px; }
|
|
.knife-decide { margin: 6px 0 4px; }
|
|
.knife-decide .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
|
|
.knife-team-a { border-color: var(--team-a); color: var(--team-a); }
|
|
.knife-team-b { border-color: var(--team-b); color: var(--team-b); }
|
|
/* Chat im Match */
|
|
.chat-box { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
|
|
.chat-tabs { display: flex; border-bottom: 1px solid var(--line); }
|
|
.chat-tab { position: relative; flex: 1; font: 700 1rem var(--display); color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px 10px; cursor: pointer; }
|
|
.chat-tab:hover { color: var(--text); }
|
|
.chat-tab.is-active { color: var(--text); border-bottom-color: var(--primary); }
|
|
.chat-tab-a.is-active { border-bottom-color: var(--team-a); }
|
|
.chat-tab-b.is-active { border-bottom-color: var(--team-b); }
|
|
.chat-unread { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--brand-red); vertical-align: middle; }
|
|
.chat-list { list-style: none; margin: 0; padding: 10px 16px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
|
|
.chat-empty { margin: auto 0; text-align: center; }
|
|
.chat-msg { display: flex; flex-direction: column; gap: 1px; max-width: 92%; }
|
|
.chat-msg.is-mine { align-self: flex-end; text-align: right; }
|
|
.chat-meta { display: flex; gap: 6px; align-items: baseline; font-size: .8rem; }
|
|
.chat-msg.is-mine .chat-meta { justify-content: flex-end; }
|
|
.chat-org { color: var(--text); }
|
|
.chat-role { font-size: .7rem; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); }
|
|
.chat-text { display: inline-block; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); overflow-wrap: anywhere; }
|
|
.chat-msg.is-mine .chat-text { background: color-mix(in srgb, var(--primary) 30%, var(--surface-2)); }
|
|
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
|
|
.chat-form input { flex: 1; min-width: 0; }
|
|
.chat-closed { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
|
|
.chat-box .field-error { margin: 0 16px 10px; }
|
|
/* Live-Konsole der Container */
|
|
.console-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(var(--bg-rgb), .78); }
|
|
.console-dialog { display: flex; flex-direction: column; width: min(1100px, 100%); height: min(760px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
|
|
.console-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
|
|
.console-head strong { font: 700 1.1rem var(--display); margin-right: auto; }
|
|
.console-status { font-size: .8rem; color: var(--muted); }
|
|
.console-status.is-live { color: var(--ok); }
|
|
.console-status.is-live::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--ok); vertical-align: middle; }
|
|
.console-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
|
|
.console-tools input[type="search"] { flex: 1 1 200px; min-width: 0; }
|
|
.console-out { flex: 1; margin: 0; padding: 12px 16px; overflow: auto; background: #05060a; color: #cfd6e6; font: .8rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.console-note { margin: 0; padding: 6px 16px 10px; }
|
|
.host-log-btn { margin-left: 4px; }
|
|
@media (max-width: 600px) {
|
|
.console-backdrop { padding: 0; }
|
|
.console-dialog { height: 100%; border-radius: 0; }
|
|
}
|
|
.pull-skipped span { color: var(--muted); }
|
|
.files-bar { flex: 1 1 160px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
|
|
.files-bar i { display: block; height: 100%; background: var(--primary); transition: width .4s ease; }
|
|
.knife-connect { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; margin-top: 10px; }
|
|
.knife-connect > :first-child { flex: 1 1 260px; }
|
|
.knife-actions { margin-top: 10px; gap: 8px; flex-wrap: wrap; }
|
|
.team-invite { margin-top: 12px; padding-right: 0; }
|
|
.team-invite .copy-row { flex-wrap: wrap; }
|
|
.team-invite .copy-row code { flex: 1 1 100%; font-size: .78rem; white-space: normal; word-break: break-all; overflow: visible; }
|
|
.team-invite p { margin: 6px 0 0; }
|