:root{color-scheme:dark;--bg:#101716;--panel:#192320;--line:#34443d;--text:#f4f4ec;--muted:#aab9af;--accent:#d9f590}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}header{max-width:1320px;margin:auto;padding:30px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{font-weight:850;font-size:30px;text-decoration:none;letter-spacing:-1px}.brand span{font-weight:350}.brand small{display:block;font-size:10px;letter-spacing:3px;color:var(--accent);margin-top:4px}.header-right{display:flex;gap:20px;align-items:center;font-size:14px}.badge{font-size:13px;color:var(--accent);padding:5px 10px;border:1px solid var(--line);border-radius:30px;white-space:nowrap}nav{max-width:1240px;margin:auto;display:flex;gap:25px;border-bottom:1px solid var(--line);overflow:auto}nav a{padding:15px 0;text-decoration:none;white-space:nowrap;color:var(--muted)}nav a.active{color:var(--accent);border-bottom:3px solid var(--accent)}main{max-width:1240px;margin:0 auto;padding:44px 0 70px;min-height:70vh}h1{font-size:clamp(32px,4vw,54px);line-height:1.08;letter-spacing:-2px;margin:10px 0 28px}h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 20px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:2px;color:var(--accent)}.muted,small{color:var(--muted)}.lead{font-size:20px;color:var(--muted);margin-bottom:32px}.panel{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:16px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.grid .badge{display:inline-block;margin-bottom:20px}.narrow{max-width:760px}.auth{display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;padding:35px 50px}.auth h1{font-size:64px;max-width:440px}.memorial{border-left:2px solid var(--accent);padding-left:18px;margin-top:50px;color:var(--muted)}label{display:block;font-size:14px;color:var(--muted);margin-bottom:17px}input,select{width:100%;display:block;background:#111a16;border:1px solid #516558;color:var(--text);font:inherit;border-radius:8px;padding:12px;margin-top:7px}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:2px}button,.button{display:inline-block;background:var(--accent);color:#192414;border:1px solid var(--accent);border-radius:8px;padding:12px 19px;font-family:inherit;font-weight:600;font-size:15px;line-height:1.4;cursor:pointer;text-decoration:none}button:hover,.button:hover{filter:brightness(1.1)}.quiet{background:transparent;border:1px solid var(--line);color:var(--text);padding:9px 14px}.notice{padding:17px 22px;background:#273d2d;border:1px solid #5b7f56;border-radius:12px;margin-bottom:25px}.error{background:#412923;border-color:#b26d59}.titleline{display:flex;justify-content:space-between;gap:30px;align-items:center}.titleline form{display:flex;align-items:center;gap:12px;max-width:480px}.titleline label{margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.stats>div{border-top:1px solid var(--line);padding:20px 0}.stats span{display:block;color:var(--muted);font-size:14px}.stats strong{display:block;font-size:48px;line-height:1.3;font-weight:550}.welcome{display:flex;justify-content:space-between;background:#d9f590;color:#1c2b1c;border-radius:18px;padding:35px 40px;margin-bottom:40px;overflow:hidden}.welcome .eyebrow{color:#405a32}.welcome h2{font-size:38px}.welcome .button{border-color:#233e23;background:#233e23;color:white}.pitch{height:240px;width:330px;border:1px solid #82945a;align-self:center;position:relative;margin-right:-75px;transform:rotate(-12deg)}.pitch:before{content:"";width:110px;height:110px;border:1px solid #82945a;border-radius:50%;position:absolute;top:65px;left:110px}.pitch:after{content:"";position:absolute;height:100%;border-left:1px solid #82945a;left:50%}.pitch span{position:absolute;top:65px;left:75px;font-size:75px;z-index:1}.table-wrap{overflow:auto;padding:10px 24px}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:13px;color:var(--muted);font-weight:500}td,th{padding:18px 16px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}.self{color:var(--accent);background:#253425}.match-list{display:grid;gap:18px;max-width:960px}.match-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:14px;gap:10px;margin-bottom:24px}.match-body{display:flex;align-items:center;justify-content:space-between;gap:25px}.match h2{font-size:24px;margin:0}.match h2 small{display:block;font-weight:400;font-size:13px;margin:5px 0}.scores{display:flex;align-items:center;gap:12px}.scores input{width:80px;text-align:center;font-size:23px}.scores label{margin-bottom:12px}.scores b{padding-top:10px}.tip-form{display:flex;gap:20px;align-items:center}.tip-form button{margin-top:12px}.score-result{text-align:right}.score-result small,.score-result strong{display:block}.score-result strong{font-size:32px}.score-result span{font-size:14px}details{border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;color:var(--accent);font-size:14px}.others p{display:flex;justify-content:space-between;max-width:340px}.line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0}.line small{display:block}.rule{display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding:15px 0}.rule strong{font-size:28px;color:var(--accent);min-width:45px}footer{max-width:1240px;margin:auto;border-top:1px solid var(--line);padding:25px 0 40px;color:var(--muted);font-size:14px;display:flex;justify-content:space-between}@media(max-width:1300px){main,nav,footer{margin-left:30px;margin-right:30px}}@media(max-width:800px){header{padding:22px}.header-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}.header-right>.badge{display:none}main{padding-top:30px}.auth{grid-template-columns:1fr;padding:0;gap:30px}.auth h1{font-size:45px}.memorial{margin-top:25px}.grid{grid-template-columns:1fr}.titleline{display:block}.titleline form{margin-bottom:25px}.titleline select{max-width:65vw}.pitch{display:none}.welcome{padding:28px}.welcome h2{font-size:30px}.match-body{display:block}.tip-form{margin-top:20px;justify-content:space-between}.score-result{text-align:left;margin-top:15px}.panel{padding:22px}.stats strong{font-size:36px}main,nav,footer{margin-left:20px;margin-right:20px}nav{gap:22px;font-size:14px}.match-meta{flex-wrap:wrap}footer{display:block}footer span{display:block;margin-top:7px}}
/* Palette: Schwarz, Weiß, Pink, Violett */
:root{--bg:#100e14;--panel:#1b1722;--line:#3e324c;--text:#faf7ff;--muted:#bfb0cb;--accent:#f294d8}
input,select{background:#141019;border-color:#5b496a}button,.button{color:#211326}.notice{background:#30213b;border-color:#83619a}.error{background:#3b2038;border-color:#e793d0}.welcome{background:linear-gradient(115deg,#30203e,#442b57);color:var(--text);border:1px solid #71518c}.welcome .button{background:#f294d8;color:#211326;border-color:#f294d8}.pitch,.pitch:before,.pitch:after{border-color:#9977b2}.self{background:#302139}.history{margin-bottom:26px}.chart-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.legend-item{display:flex;gap:8px;align-items:center;background:transparent;border-color:var(--line);color:var(--text);padding:8px 12px;font-size:14px}.legend-item[aria-pressed=false]{opacity:.4}.chart-scroll{overflow:auto}.rank-chart{display:block;width:100%;min-width:600px}.line-hidden{display:none}.history details{margin-top:15px}.auth h1{font-size:56px}.welcome h2{font-size:32px}
.history{margin-top:26px}.curve-focus{max-width:320px}.curve-dim{opacity:.12}.curve-focus-line polyline{stroke-width:5}.rule strong{min-width:105px}.rule strong small{font-size:14px;font-weight:400}.rule-heading strong,.rule-heading span{font-size:14px;font-weight:650;color:var(--muted)}
.match-list{max-width:none;gap:8px}.panel.match{padding:12px 18px;border-radius:10px;display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:22px;align-items:center}.match-meta{display:block;margin:0;font-size:13px}.match-meta .badge{display:inline-block;margin-top:6px;padding:2px 8px;font-size:12px}.match-body{gap:18px}.match h2{font-size:17px;line-height:1.4;max-width:380px}.match h2 small{display:inline;margin:0 8px;font-size:13px}.match .tip-form{gap:12px}.match .scores{gap:8px}.match .scores label{font-size:12px;margin:0}.match .scores input{width:58px;padding:6px;margin-top:2px;font-size:19px}.match .scores b{padding-top:16px}.match .tip-form button{padding:8px 12px;font-size:14px;margin-top:18px}.match>p.muted{grid-column:1/-1;margin:6px 0 0;font-size:12px}.match details{grid-column:1/-1;padding-top:6px;margin-top:6px}.match summary{font-size:13px}.match .score-result{display:flex;align-items:center;gap:14px;font-size:14px}.match .score-result small{font-size:12px}.match .score-result strong{font-size:20px;white-space:nowrap}.match .score-result span{font-size:13px}.match .others p{margin:5px 0}.match .others{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 24px}
@media(max-width:900px){.panel.match{grid-template-columns:155px minmax(0,1fr);gap:10px}.match-body{flex-wrap:wrap}.match .score-result{flex-wrap:wrap;text-align:left;gap:10px}.match .tip-form{margin:0}.match .tip-form button{margin-top:14px}.match h2{max-width:none}.match .score-result span{font-size:12px}}@media(max-width:550px){.panel.match{display:block;padding:12px}.match-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:8px}.match-meta .badge{margin:0}.match-body{display:flex}.match .tip-form{width:100%;justify-content:space-between}.match .score-result{margin:0;width:100%}.match .score-result strong{font-size:18px}.match h2{font-size:16px}.match .scores input{width:54px}.match>p.muted{font-size:12px}.rule strong{min-width:95px}}

/* Discreet portrait beside the existing remembrance. */
.site-footer{padding-top:16px;padding-bottom:24px}.mothe-memory{display:flex;align-items:center;gap:20px}.mothe-memory img{display:block;width:84px;height:112px;object-fit:contain;mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%)}.mothe-memory span{margin:0;font-size:13px}@media(max-width:600px){.brand{font-size:24px}.mothe-memory{gap:16px}.mothe-memory img{width:66px;height:88px}}
.tip-form{position:relative;padding-bottom:22px}.tip-status{position:absolute;bottom:0;left:0;font-size:12px;line-height:18px;color:var(--accent)}.tip-status-error{position:static;max-width:220px}.tip-form button:disabled{opacity:.65;cursor:wait}
/* Competition setup, notices and finance overview. */
textarea{display:block;width:100%;margin-top:7px;resize:vertical;background:#15111d;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit}hr{border:0;border-top:1px solid var(--line);margin:25px 0}.admin-wide{grid-column:1/-1}.preview-games{max-height:360px;overflow:auto;margin-bottom:25px}.admin-grid small,.payment-row small,.sync-row small{display:block}.sync-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line)}.payment-row{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.announcement{margin-bottom:24px}.notice-body{white-space:normal;overflow-wrap:anywhere;margin:20px 0 30px;max-width:900px}.report-heading{display:flex;justify-content:space-between;gap:24px;margin-top:30px}.prize-total{text-align:right;flex-shrink:0}.prize-total strong,.prize-total small{display:block}.prize-total strong{font-size:34px;color:var(--accent)}.podium{display:flex;gap:14px;flex-wrap:wrap;margin:25px 0}.podium-place{flex:1;min-width:160px;display:flex;flex-direction:column;gap:6px;align-items:center;padding:24px 16px;background:linear-gradient(150deg,#32223e,#1b1722);border:1px solid #62436c;border-radius:14px}.podium-rank{font-size:40px;line-height:1;color:var(--accent)}.podium-place strong{font-size:22px;overflow-wrap:anywhere}.podium-place b{color:var(--accent)}.publish-actions{margin:25px 0}.result-report .history{margin-top:24px}.site-footer{align-items:center}@media(max-width:700px){.report-heading,.sync-row{display:block}.prize-total{text-align:left}.sync-row form{margin-top:14px}.podium-place{min-width:110px;padding:18px 10px}.podium-place strong{font-size:18px}.site-footer>small{display:block;margin-top:18px}}
.deadline-picker{border:1px solid var(--line);border-radius:12px;padding:18px;margin:22px 0}.deadline-picker legend{padding:0 8px;font-weight:600}.deadline-fields{display:flex;gap:16px;flex-wrap:wrap}.deadline-fields label:first-child{flex:0 1 190px}.deadline-fields label{flex:0 1 100px}.deadline-picker p{font-size:14px}.deadline-fields input{min-width:0}.deadline-fields select{min-width:80px}

.titleline h1:has(+ .competition-name) { margin-bottom: .25rem; }
.competition-name {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.home-mark { position: relative; display: inline-flex; align-items: center; padding-right: 1.9rem; }
.home-mark img { position: absolute; right: 0; width: 1.85rem; height: 1.85rem; object-fit: contain; }
.home-ball { font-size: .78em; vertical-align: .02em; }

.competition-name { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; }
.competition-status {
  display: inline-block; border: 1px solid #785d88; border-radius: 1rem;
  padding: .25rem .65rem; color: #ecdbf5; font-size: .82rem; font-weight: 600;
}
.competition-status.is-ended { background: #ded7e3; color: #2d2333; border-color: transparent; }
.home-mark { padding-right: 2.35rem; }
.home-mark img { width: 2.25rem; height: 2.25rem; }

.competition-card > .competition-status { display: inline-block; margin-bottom: 1rem; }
.archive-heading { margin: 2.5rem 0 1rem; }
.archived-card { background: #19171c; border-color: #49434e; }
.archived-card h2, .archived-card p { color: #d3cdd7; }
.payment-info { margin: 0 0 1rem; }
.payment-info summary { color: var(--accent); cursor: pointer; font-weight: 600; }

.team-crest { width: 1.35em; height: 1.35em; object-fit: contain; vertical-align: middle; margin-inline-end: .38em; }
.archive-day { margin-block: .6rem; }
.archive-day > details { margin-block: .85rem; }

.competition-archive { margin-top: 3rem; }
.archive-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none; font-weight: 650; }
.archive-link:hover, .archive-link:focus-visible { border-color: var(--accent); color: var(--accent); }

#payment-dialog { width: min(30rem, 90vw); max-height: 85vh; overflow: auto; box-sizing: border-box; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--text); background: var(--panel); }
#payment-dialog::backdrop { background: rgb(0 0 0 / .72); }
.payment-competition { color: var(--accent); }
.payment-content { overflow-wrap: anywhere; }

.mail-settings input[type="checkbox"] { width: auto; display: inline-block; margin-inline-end: .5rem; }

.remove-contest[open] { border: 2px solid #f196c6; padding: 1rem; margin-top: 1.25rem; border-radius: .65rem; }
.remove-contest h3 { font-size: 1.35rem; color: #ffbada; }
.remove-contest input[type="checkbox"] { width: auto; }

.phase-info { margin: .75rem 0 1.1rem; }
.phase-info p { max-width: 65ch; }
.phase-info dl { margin: .5rem 0; }
.phase-info dl div { display: flex; flex-wrap: wrap; column-gap: .8rem; }
.phase-info dt { min-width: 6rem; font-weight: 650; }
.phase-info dd { margin: 0; font-variant-numeric: tabular-nums; }

.bonus-options label{display:flex;align-items:baseline;gap:.65rem;padding:.45rem 0;margin:0}
.bonus-options input[type="radio"]{width:1rem;min-width:1rem;margin:0;accent-color:#ed88cf}
