:root {
    --dtl-red: #7a0b2f;
    --dtl-red-dark: #56051f;
    --dtl-red-soft: #a23a5a;
    --dtl-black: #18202a;
    --dtl-text: #28313d;
    --dtl-muted: #728091;
    --dtl-page: #f6f7f9;
    --dtl-line: #e5e9ef;
    --dtl-panel: #fff;
    --dtl-shadow: 0 12px 30px rgba(24, 32, 42, .07);
}

.dtl-body {
    background: var(--dtl-page);
    color: var(--dtl-text);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: var(--dtl-red);
}

a:hover {
    color: var(--dtl-red-dark);
}

.dtl-header {
    background: #fff;
    border-top: 3px solid var(--dtl-red);
    box-shadow: 0 1px 0 rgba(24, 32, 42, .05);
}

.dtl-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 1rem;
}

.dtl-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--dtl-black);
    text-decoration: none;
}

.dtl-brand:hover {
    color: var(--dtl-black);
}

.dtl-mark {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 46px;
    background: var(--dtl-red);
    color: #fff;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.dtl-brand strong {
    display: block;
    color: var(--dtl-red);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.dtl-brand small {
    display: block;
    margin-top: .25rem;
    color: #222;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
}

.dtl-season-form {
    margin: 0;
}

.dtl-season {
    background: #faf0f4;
    border: 1px solid #efd3de;
    border-radius: 999px;
    color: var(--dtl-muted);
    font-size: .85rem;
    font-weight: 700;
    padding: .35rem .8rem;
    text-transform: uppercase;
}

.dtl-nav {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--dtl-line);
    box-shadow: 0 8px 24px rgba(24, 32, 42, .06);
    min-height: 54px;
}

.dtl-nav .navbar-toggler {
    background: #fff;
    border-radius: 2px;
}

.dtl-nav .nav-link {
    border-radius: 999px;
    color: #344052;
    font-size: .84rem;
    font-weight: 700;
    margin-right: 0;
    padding: .5rem .78rem;
    text-transform: uppercase;
}

.dtl-nav .nav-link:hover,
.dtl-nav .nav-link:focus {
    background: #faf0f4;
    color: var(--dtl-red);
}

.dtl-nav .btn {
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
}

.dtl-nav .btn-outline-secondary {
    border-color: #d8dee7;
    color: #344052;
}

.dtl-nav .btn-outline-secondary:hover {
    background: #faf0f4;
    border-color: #efd3de;
    color: var(--dtl-red);
}

.dtl-main {
    background: #fff;
    border: 1px solid rgba(229, 233, 239, .9);
    border-radius: 12px;
    box-shadow: var(--dtl-shadow);
    margin-bottom: 36px;
    margin-top: 24px;
    padding: 1.5rem 1.6rem 2.1rem;
}

.dtl-page-head {
    align-items: center;
    border-bottom: 1px solid #edf0f4;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
}

.dtl-page-head.compact {
    align-items: flex-start;
}

.dtl-page-head h1 {
    color: #111;
    font-size: clamp(1.45rem, 2.3vw, 2.05rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-transform: none;
}

.dtl-page-head p {
    color: var(--dtl-muted);
    margin: .35rem 0 0;
}

.dtl-kicker {
    color: var(--dtl-red);
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.panel {
    background: #fff;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(24, 32, 42, .045);
    padding: 1.15rem;
}

.panel h1,
.panel h2 {
    color: #111;
    font-weight: 800;
    text-transform: none;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-dark {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    box-shadow: 0 8px 16px rgba(122, 11, 47, .16);
}

.btn-dark:hover,
.btn-dark:focus {
    background: var(--dtl-red-dark);
    border-color: var(--dtl-red-dark);
}

.btn-outline-dark {
    border-color: var(--dtl-red);
    color: var(--dtl-red);
}

.btn-outline-dark:hover {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
}

.form-control,
.form-select {
    border-color: #cfd6df;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dtl-red-soft);
    box-shadow: 0 0 0 .2rem rgba(95, 2, 31, .15);
}

.admin-match-form .form-label {
    color: #222;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.admin-form-row {
    align-items: center;
    display: grid;
    gap: .85rem;
    grid-template-columns: 140px minmax(0, 1fr);
}

.admin-form-row .form-label {
    margin-bottom: 0;
}

.admin-form-row-compact {
    gap: .55rem;
    grid-template-columns: 64px minmax(0, 1fr);
}

.admin-form-row-compact .form-label {
    font-size: .78rem;
}

.team-admin-list {
    display: grid;
    gap: .35rem;
    max-height: 300px;
    overflow: auto;
    padding-right: .25rem;
}

.team-count-status {
    align-items: center;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .5rem;
    padding: .4rem .55rem;
}

.team-count-status strong {
    font-size: .86rem;
}

.team-count-status span {
    font-size: .82rem;
    font-weight: 700;
}

.team-count-status.complete {
    background: #eef8f1;
    border: 1px solid #cfe8d5;
    color: #25633b;
}

.team-count-status.incomplete {
    background: #fff8e8;
    border: 1px solid #f1dfad;
    color: #75531a;
}

.team-admin-row-wrap {
    border: 1px solid var(--dtl-line);
    border-radius: 6px;
    padding: .35rem;
}

.team-admin-row {
    align-items: center;
    display: grid;
    gap: .45rem;
    grid-template-columns: 1fr;
}

.team-admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .65rem;
}

.admin-import-box {
    align-items: center;
    border-top: 1px solid var(--dtl-line);
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding-top: .85rem;
}

.admin-import-box span {
    color: var(--dtl-muted);
    font-size: .82rem;
    font-weight: 700;
}

.admin-import-hint {
    background: #f7f8fa;
    border: 1px solid var(--dtl-line);
    border-radius: 8px;
    display: grid;
    gap: .2rem;
    margin-bottom: 1rem;
    padding: .65rem .75rem;
}

.admin-import-hint strong {
    color: #111;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-import-hint span {
    color: var(--dtl-muted);
    font-size: .82rem;
    font-weight: 700;
}

.admin-import-preview {
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.admin-import-preview-head {
    align-items: center;
    background: #fbfcfd;
    border-bottom: 1px solid var(--dtl-line);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: .8rem;
}

.admin-import-preview-head h4 {
    color: #111;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.admin-import-preview-head p {
    color: var(--dtl-muted);
    font-size: .82rem;
    font-weight: 700;
    margin: .1rem 0 0;
}

.import-suggestions {
    color: #8a5b00;
    display: block;
    font-size: .78rem;
    font-weight: 800;
    margin-top: .2rem;
}

.confirmation-code {
    background: #f2f6f8;
    border: 1px solid var(--dtl-line);
    border-radius: 8px;
    color: #0e2b3c;
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0;
    padding: .45rem .65rem;
    width: fit-content;
}

.confirmation-input {
    max-width: 11rem;
}

.admin-tabs {
    background: #fff;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    display: flex;
    gap: .35rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: .45rem;
}

.admin-tab {
    background: #f7f8fa;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    color: #222;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 800;
    padding: .45rem .8rem;
    text-transform: uppercase;
}

.admin-tab:hover,
.admin-tab.active {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    color: #fff;
}

.admin-tab-content {
    min-height: 420px;
}

.admin-section-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--dtl-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
}

.admin-section-head h2 {
    color: #111;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.admin-section-head p {
    color: var(--dtl-muted);
    margin: .2rem 0 0;
}

.admin-split-head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-import-box.compact {
    border-top: 0;
    padding-top: 0;
}

.admin-user-list {
    display: grid;
    gap: .5rem;
}

.admin-user-row {
    align-items: center;
    border: 1px solid var(--dtl-line);
    border-radius: 8px;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) 120px auto auto;
    padding: .55rem;
}

.admin-user-row strong {
    color: #111;
    display: block;
    font-weight: 800;
    line-height: 1.2;
}

.admin-user-row span {
    color: var(--dtl-muted);
    display: block;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: .15rem;
}

.admin-result-context {
    align-items: center;
    background: #fff7fa;
    border: 1px solid #efd3de;
    border-radius: 10px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    padding: .9rem;
}

.admin-result-context span {
    color: var(--dtl-red);
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-result-context strong {
    color: #111;
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: .1rem;
}

.admin-result-filter {
    align-items: end;
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    margin-bottom: .85rem;
}

.admin-result-filter.single {
    grid-template-columns: 1fr;
}

.admin-result-filter .form-label {
    color: #222;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.admin-result-done-filter {
    background: #f7f8fa;
    border: 1px solid var(--dtl-line);
    border-radius: 8px;
    min-height: 38px;
    padding: .45rem .75rem .45rem 2.5rem;
}

.result-admin-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .9rem;
}

.score-input {
    max-width: 7rem;
}

.score-input-wrap {
    max-width: 7rem;
}

.score-input-wrap .invalid-feedback {
    font-size: .7rem;
    line-height: 1.25;
    margin-top: .25rem;
}

.tip-result-cell {
    color: #111;
    font-weight: 800;
    white-space: nowrap;
}

.tip-result-cell span {
    color: var(--dtl-muted);
    font-weight: 700;
}

.tip-points-cell {
    color: var(--dtl-red);
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.tip-points-cell span {
    color: var(--dtl-muted);
    font-weight: 700;
}

.table {
    border-color: var(--dtl-line);
    font-size: .91rem;
}

.table th {
    background: #f7f8fa;
    color: #3b4655;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.table td {
    border-color: #f0f2f5;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #fff9fb;
}

.ranking-tabs {
    background: #fff;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    display: flex;
    gap: .35rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: .45rem;
}

.ranking-tab {
    background: #f7f8fa;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    color: #222;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem .75rem;
    text-decoration: none;
    text-transform: uppercase;
}

.ranking-tab:hover,
.ranking-tab.active {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    color: #fff;
}

.tip-view-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .75rem;
}

.tip-view-button {
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 999px;
    color: #344052;
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem .75rem;
    text-transform: uppercase;
}

.tip-view-button:hover,
.tip-view-button.active {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    color: #fff;
}

.accordion {
    --bs-accordion-border-radius: 10px;
    --bs-accordion-inner-border-radius: 10px;
    --bs-accordion-active-bg: #fff7fa;
    --bs-accordion-active-color: var(--dtl-red);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(95, 2, 31, .15);
}

.accordion-button {
    color: #111;
    font-weight: 700;
    text-transform: none;
}

.accordion-item {
    border-color: var(--dtl-line);
}

.matchday-nav {
    background: #fff;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    display: flex;
    gap: .35rem;
    margin-bottom: 1.2rem;
    overflow-x: auto;
    padding: .5rem;
    position: sticky;
    top: 52px;
    z-index: 10;
}

.matchday-filter {
    background: #f7f8fa;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    color: #222;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: .85rem;
    font-weight: 800;
    padding: .45rem .8rem;
    text-decoration: none;
    text-transform: uppercase;
}

.matchday-filter input {
    appearance: none;
    height: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 0;
}

.matchday-filter:hover,
.matchday-filter:focus,
.matchday-filter.active,
.matchday-filter.selected,
.matchday-filter:has(input:checked) {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    color: #fff;
}

.matchday-list {
    display: grid;
    gap: 1.35rem;
}

.matchday-section {
    scroll-margin-top: 112px;
}

.matchday-heading {
    align-items: baseline;
    border-bottom: 1px solid var(--dtl-line);
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .5rem;
    padding-bottom: .35rem;
}

.matchday-heading h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.matchday-heading span {
    color: var(--dtl-muted);
    font-size: .85rem;
    font-weight: 700;
}

.match-button {
    align-items: center;
    display: grid;
    gap: .35rem .8rem;
    grid-template-columns: minmax(150px, .7fr) minmax(220px, 1.2fr) auto;
    min-height: 64px;
}

.match-meta {
    display: grid;
    gap: .1rem;
}

.match-league {
    color: var(--dtl-red);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.match-date {
    color: var(--dtl-muted);
    font-size: .82rem;
    font-weight: 700;
}

.match-title {
    font-weight: 800;
}

.match-summary {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.match-score-line {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .4rem;
    line-height: 1.35;
}

.match-score-label {
    color: #5d6877;
    font-size: .68rem;
    font-weight: 700;
    min-width: 5.5rem;
    text-transform: uppercase;
}

.match-score-line strong {
    color: var(--dtl-black);
    font-size: .85rem;
}

.match-score-points {
    color: #25633b;
    font-size: .75rem;
    font-weight: 800;
}

.match-result-line strong {
    color: var(--dtl-red);
}

.match-status {
    background: #66717f;
    border: 1px solid #66717f;
    border-radius: 999px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    justify-self: end;
    padding: .25rem .45rem;
    text-transform: uppercase;
}

.match-status-group {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-self: end;
}

.match-status-group .match-status {
    justify-self: auto;
}

.match-status-open {
    background: #c83232;
    border-color: #c83232;
    color: #fff;
}

.match-status-partial {
    background: #f3a712;
    border-color: #f3a712;
    color: #332100;
}

.match-status-complete {
    background: #21834b;
    border-color: #21834b;
    color: #fff;
}

.alert {
    border-radius: 10px;
}

.display-6 {
    color: var(--dtl-red);
    font-weight: 800;
}

.stats-head {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stats-select {
    flex: 0 1 420px;
}

.stats-select .form-label {
    color: #222;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: .25rem;
    text-transform: uppercase;
}

.stats-card {
    border-top: 1px solid var(--dtl-line);
    padding-top: 1rem;
}

.stats-match-title {
    display: grid;
    gap: .1rem;
    margin-bottom: .85rem;
}

.stats-match-title span {
    color: var(--dtl-red);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stats-match-title strong {
    color: #111;
    font-size: 1.05rem;
    font-weight: 800;
}

.stats-match-title small {
    color: var(--dtl-muted);
    font-weight: 700;
}

.stats-grid {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.stats-metric {
    background: #f7f8fa;
    border: 1px solid var(--dtl-line);
    border-radius: 8px;
    padding: .75rem;
}

.stats-metric span {
    color: var(--dtl-muted);
    display: block;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stats-metric strong {
    color: #111;
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: .15rem;
}

.prognosis-box {
    background: #f8fbfa;
    border: 1px solid #d8e8df;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: .9rem;
}

.prognosis-title {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .55rem;
}

.prognosis-title span {
    color: #25633b;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.prognosis-title strong {
    color: #111;
    font-size: 1.35rem;
    font-weight: 800;
}

.prognosis-meta {
    color: var(--dtl-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: .8rem;
    font-weight: 700;
    gap: .45rem 1rem;
    margin-bottom: .8rem;
}

.prognosis-bars {
    display: grid;
    gap: .45rem;
}

.prognosis-bars div {
    align-items: center;
    background: #fff;
    border: 1px solid #dbeee3;
    border-radius: 8px;
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(52px, 1fr) minmax(0, 1.2fr) minmax(118px, auto);
    min-height: 36px;
    padding: .4rem .65rem;
}

.prognosis-bars span {
    background: linear-gradient(90deg, #21834b, #8dcc9f);
    border-radius: 999px;
    display: block;
    height: 8px;
    min-width: 2px;
}

.prognosis-bars strong {
    color: #111;
    font-size: .84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prognosis-bars small {
    color: #25633b;
    font-size: .78rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.stats-chart-wrap {
    background: #fbfcfd;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    margin-bottom: .9rem;
    padding: .75rem;
}

.stats-chart {
    display: block;
    height: 260px;
    width: 100%;
}

.stats-chart line {
    stroke: #cfd6df;
    stroke-width: .55;
}

.stats-chart polygon {
    fill: rgba(122, 11, 47, .12);
    stroke: none;
}

.stats-chart polyline {
    fill: none;
    stroke: var(--dtl-red);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.1;
}

.stats-chart circle {
    fill: #fff;
    stroke: var(--dtl-red);
    stroke-width: 1;
}

.stats-axis {
    color: var(--dtl-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: .78rem;
    font-weight: 700;
    gap: .75rem;
    justify-content: space-between;
}

.stats-tendency {
    display: grid;
    gap: .45rem;
    margin-bottom: .85rem;
}

.stats-tendency div {
    align-items: center;
    background: #f7f8fa;
    border: 1px solid var(--dtl-line);
    border-radius: 999px;
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(48px, 1fr) minmax(0, 2fr) auto;
    min-height: 34px;
    overflow: hidden;
    padding: .35rem .7rem;
}

.stats-tendency span {
    background: linear-gradient(90deg, var(--dtl-red), #d56b85);
    border-radius: 999px;
    display: block;
    height: 8px;
    min-width: 2px;
}

.stats-tendency strong {
    color: #111;
    font-size: .84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stats-tendency small {
    color: var(--dtl-red);
    font-weight: 800;
}

.stats-score-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.stats-score-list span {
    background: #fff7fa;
    border: 1px solid #efd3de;
    border-radius: 999px;
    color: #111;
    font-size: .82rem;
    font-weight: 800;
    padding: .32rem .65rem;
}

.stats-score-list strong {
    color: var(--dtl-red);
}

.rule-step {
    align-items: center;
    background: #fafbfc;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    display: flex;
    gap: .75rem;
    min-height: 64px;
    padding: .9rem;
}

.rule-step span {
    display: inline-grid;
    place-items: center;
    background: var(--dtl-red);
    border-radius: 50%;
    color: #fff;
    flex: 0 0 32px;
    font-weight: 800;
    height: 32px;
    width: 32px;
}

.dtl-footer {
    color: var(--dtl-muted);
    font-size: .85rem;
    padding: 0 0 2rem;
}

.dtl-footer .container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.dtl-footer a {
    font-weight: 700;
    text-decoration: none;
}

.form-check-input:checked {
    background-color: var(--dtl-red);
    border-color: var(--dtl-red);
}

.imprint-panel {
    max-width: 680px;
}

.legal-tabs {
    background: #fff;
    border: 1px solid var(--dtl-line);
    border-radius: 10px;
    display: inline-flex;
    gap: .35rem;
    margin-bottom: 1rem;
    padding: .4rem;
}

.legal-tab {
    background: #f7f8fa;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    color: #222;
    font-size: .82rem;
    font-weight: 800;
    padding: .4rem .75rem;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-tab:hover,
.legal-tab.active {
    background: var(--dtl-red);
    border-color: var(--dtl-red);
    color: #fff;
}

.privacy-panel h2:not(:first-child) {
    margin-top: 1.25rem;
}

.privacy-panel ul {
    padding-left: 1.1rem;
}

@media (max-width: 767.98px) {
    .dtl-brand-row,
    .dtl-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dtl-brand strong {
        font-size: 1.25rem;
    }

    .dtl-mark {
        height: 48px;
        width: 64px;
    }

    .dtl-main {
        border-radius: 10px;
        margin-top: 12px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .matchday-nav {
        top: 48px;
    }

    .match-button {
        grid-template-columns: 1fr;
    }

    .match-status {
        justify-self: start;
    }

    .match-status-group {
        justify-self: start;
    }

    .stats-head {
        align-items: stretch;
        flex-direction: column;
    }

    .stats-select {
        flex-basis: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-chart {
        height: 210px;
    }

    .prognosis-title {
        align-items: flex-start;
        flex-direction: column;
        gap: .15rem;
    }

    .prognosis-bars div {
        grid-template-columns: 1fr;
    }

    .prognosis-bars small {
        text-align: left;
    }

    .admin-form-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .team-admin-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-section-head,
    .admin-split-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-user-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-result-context,
    .admin-result-filter {
        grid-template-columns: 1fr;
    }

}
