:root {
    --panel-bg: #ffffff;
    --panel-border: #d8e1ed;
    --ink: #132033;
    --muted: #5f6e82;
    --accent-soft: rgba(245, 196, 81, 0.12);
    --accent-gold: #d9a73a;
    --accent-gold-soft: rgba(217, 167, 58, 0.22);
    --accent-teal: #0f9f8f;
    --page-bg: #f2f5fa;
    --page-bg-accent: #e6edf5;
    --surface-2: #f7f9fc;
    --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] {
    --panel-bg: #10192a;
    --panel-border: #26364b;
    --ink: #edf4fb;
    --muted: #a1b0c2;
    --accent-soft: rgba(245, 196, 81, 0.12);
    --accent-gold: #f5c451;
    --accent-gold-soft: rgba(245, 196, 81, 0.22);
    --accent-teal: #5eead4;
    --page-bg: #09111e;
    --page-bg-accent: #111b2c;
    --surface-2: #121d30;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
    --panel-bg: #ffffff;
    --panel-border: #d8e1ed;
    --ink: #132033;
    --muted: #5f6e82;
    --accent-soft: rgba(245, 196, 81, 0.16);
    --accent-gold: #c8921f;
    --accent-gold-soft: rgba(200, 146, 31, 0.16);
    --accent-teal: #087f74;
    --page-bg: #eef3f9;
    --page-bg-accent: #dfe8f1;
    --surface-2: #f8fbff;
    --shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

body.site-body {
    background:
        radial-gradient(circle at top right, rgba(245, 196, 81, 0.14), transparent 28%),
        linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-accent) 100%);
    color: var(--ink);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.text-muted {
    color: var(--muted) !important;
}

.site-navbar {
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.06), transparent 55%),
        var(--panel-bg);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid var(--panel-border);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0;
    color: var(--ink) !important;
}

.navbar .nav-link {
    color: var(--muted);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--ink);
}

.navbar-toggler {
    border-color: var(--panel-border);
    color: var(--ink);
}

.navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23132033' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .navbar .nav-link,
html[data-theme="dark"] .navbar .navbar-text,
html[data-theme="dark"] .navbar-toggler {
    color: var(--ink) !important;
}

html[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23edf4fb' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-tools {
    min-width: 0;
}

.lock-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    border: 1px solid var(--panel-border);
    background:
        linear-gradient(135deg, rgba(245, 196, 81, 0.1) 0%, transparent 35%),
        var(--surface-2);
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.08);
}

.lock-widget__icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    box-shadow: 0 8px 20px rgba(245, 196, 81, 0.15);
}

.lock-widget__icon svg {
    width: 1rem;
    height: 1rem;
}

.lock-widget__body {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.lock-widget__label {
    font-size: 0.67rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0;
}

.lock-widget__countdown {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--ink);
}

.lock-widget__match {
    font-size: 0.76rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 17rem;
}

.lock-widget.is-expired .lock-widget__countdown {
    color: var(--accent-gold);
}

.navbar-user {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: var(--surface-2);
    color: var(--ink);
    max-width: 12rem;
}

.navbar-user__name {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-action-btn,
.theme-toggle {
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: var(--surface-2);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.nav-action-btn:hover,
.theme-toggle:hover {
    border-color: rgba(245, 196, 81, 0.6);
    transform: translateY(-1px);
}

.nav-action-btn--accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    border-color: rgba(0, 0, 0, 0.08);
}

.nav-action-btn--ghost {
    background: var(--surface-2);
}

.theme-toggle {
    width: 2.35rem;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle__icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.theme-toggle__icon svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--ink);
}

.theme-toggle__icon--sun {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle__icon--moon {
    opacity: 0;
    transform: scale(0.85);
}

html[data-theme="light"] .theme-toggle__icon--sun {
    opacity: 0;
    transform: scale(0.85);
}

html[data-theme="light"] .theme-toggle__icon--moon {
    opacity: 1;
    transform: scale(1);
}

main.container {
    padding-bottom: 2rem;
}

.panel,
.summary-band {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(245, 196, 81, 0.08);
    min-width: 0;
}

.panel-body {
    padding: 1.25rem;
    min-width: 0;
}

.drabinka-shell {
    width: min(calc(100vw - 2rem), 108rem);
    max-width: none;
    min-width: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.panel--breakout {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.panel--breakout .panel-body {
    overflow: visible;
}

.summary-band {
    padding: 1.35rem;
    background:
        linear-gradient(135deg, var(--accent-soft) 0%, transparent 35%),
        var(--panel-bg);
}

.summary-copy {
    min-width: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat-grid--compact {
    min-width: 0;
    width: min(100%, 26rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-tile {
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.08) 0%, transparent 46%),
        var(--surface-2);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    min-width: 0;
    min-height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.stat-label {
    font-size: 0.64rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0;
    line-height: 1.05;
    min-height: 1.4rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0.15rem;
    color: var(--ink);
}

.fixture-list {
    display: grid;
    gap: 0.65rem;
}

.fixture-list--single {
    gap: 0;
}

.date-group-stack {
    display: grid;
    gap: 1rem;
}

.date-group {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--surface-2);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.08);
}

.date-group__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.date-group__eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.date-group__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.date-group__count {
    flex: 0 0 auto;
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    color: var(--ink);
}

.fixture-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(245, 196, 81, 0.08) 0, rgba(245, 196, 81, 0.08) 4px, transparent 4px),
        var(--surface-2);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.05);
}

.fixture-row:hover {
    border-color: rgba(245, 196, 81, 0.45);
    background:
        linear-gradient(90deg, rgba(245, 196, 81, 0.12) 0, rgba(245, 196, 81, 0.12) 4px, transparent 4px),
        var(--surface-2);
    box-shadow: var(--shadow);
}

.fixture-row--disabled {
    cursor: default;
    opacity: 0.82;
}

.fixture-row--disabled:hover {
    border-color: var(--panel-border);
    background:
        linear-gradient(90deg, rgba(245, 196, 81, 0.08) 0, rgba(245, 196, 81, 0.08) 4px, transparent 4px),
        var(--surface-2);
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.05);
}

.fixture-row__main {
    min-width: 0;
    flex: 1 1 auto;
}

.fixture-row__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.45rem;
    align-items: center;
}

.fixture-row--result {
    align-items: stretch;
}

.fixture-row--result .fixture-row__main {
    display: grid;
    gap: 0.75rem;
}

.fixture-row__match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.fixture-row__match--upcoming {
    align-items: center;
}

.fixture-row__team {
    min-width: 0;
}

.fixture-row__team--away .team-identity {
    margin-left: auto;
}

.fixture-row__center {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    align-content: center;
    min-width: 7rem;
}

.fixture-row__status {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.fixture-row__status .badge {
    white-space: nowrap;
}

.fixture-list--single .fixture-row {
    flex-direction: column;
    align-items: stretch;
}

.fixture-list--single .fixture-row__status {
    align-items: flex-start;
}

.fixture-row--result .result-scorers {
    display: grid;
    gap: 0.2rem;
}

.fixture-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.76rem;
    color: var(--ink);
    line-height: 1.2;
}

.team-identity {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    min-height: 3rem;
}

.team-identity--end {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
}

.team-identity--compact {
    gap: 0.45rem;
    min-height: 2.55rem;
}

.team-flag {
    grid-area: flag;
}

.team-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 3rem;
}

.team-identity--end .team-copy {
    align-items: flex-end;
}

.team-identity--compact .team-copy {
    min-height: 2.55rem;
}

.team-name {
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    font-size: 1.04rem;
    overflow-wrap: anywhere;
}

.team-name--compact {
    font-size: 1rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal;
}

.team-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
    white-space: normal;
    overflow-wrap: anywhere;
}

.team-subtitle--compact {
    font-size: 0.7rem;
    line-height: 1.05;
}

.team-flag {
    width: 30px;
    height: 22px;
    border-radius: 5px;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-fallback {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0;
}

.team-identity--compact .team-flag {
    width: 24px;
    height: 18px;
    border-radius: 4px;
}

.match-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.score-badge {
    min-width: 80px;
    padding: 0.5rem 0.85rem;
    text-align: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 10px 24px rgba(245, 196, 81, 0.15);
}

.score-badge--xl {
    min-width: 120px;
    font-size: 1.25rem;
    padding: 0.75rem 1.1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.detail-item {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    background: var(--surface-2);
}

.detail-item span {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.2rem;
}

.detail-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.result-scorers {
    max-width: 18rem;
}

.pagination .page-link {
    border-radius: 8px;
}

.pagination .page-link {
    background: var(--surface-2);
    border-color: var(--panel-border);
    color: var(--ink);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    border-color: transparent;
    color: #111827;
}

.date-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 1.5fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.date-nav__btn,
.date-nav__current {
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 0.8rem 0.95rem;
    color: var(--ink);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.date-nav__btn:hover {
    border-color: rgba(245, 196, 81, 0.45);
    background: var(--panel-bg);
    color: var(--ink);
}

.date-nav__btn--disabled {
    opacity: 0.42;
}

.date-nav__btn--next {
    text-align: right;
}

.date-nav__current {
    background:
        linear-gradient(135deg, var(--accent-soft) 0%, transparent 45%),
        var(--panel-bg);
    border-color: rgba(245, 196, 81, 0.25);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 5.4rem;
}

.date-nav__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
}

.date-nav__value {
    font-size: 1.05rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--ink);
}

.date-nav__meta {
    font-size: 0.75rem;
    color: var(--muted);
}

.date-nav__arrow {
    font-size: 1.15rem;
    line-height: 1;
    color: var(--accent-gold);
}

.prediction-panel {
    position: sticky;
    top: 1rem;
}

.fixture-nav-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.fixture-nav-strip__btn {
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: var(--surface-2);
    padding: 0.8rem 0.9rem;
    color: var(--ink);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.fixture-nav-strip__btn:hover {
    border-color: rgba(245, 196, 81, 0.45);
    background: var(--panel-bg);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: var(--ink);
}

.fixture-nav-strip__btn--disabled {
    opacity: 0.45;
}

.fixture-nav-strip__btn--next {
    text-align: right;
}

.fixture-nav-strip__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.fixture-nav-strip__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0;
}

.fixture-nav-strip__title {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixture-nav-strip__meta {
    font-size: 0.75rem;
    color: var(--muted);
}

.fixture-nav-strip__arrow {
    font-size: 1.15rem;
    line-height: 1;
    color: var(--accent-gold);
    flex: 0 0 auto;
}

.prediction-form {
    display: grid;
    gap: 1rem;
}

.prediction-form__inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.prediction-field {
    min-width: 0;
}

.prediction-field .form-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.prediction-input {
    height: 4.1rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--surface-2);
    color: var(--ink);
    border-color: var(--panel-border);
}

.prediction-form__hint {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--surface-2);
    padding: 0.8rem 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.prediction-deadline {
    border: 1px solid rgba(245, 196, 81, 0.28);
    background: linear-gradient(180deg, rgba(245, 196, 81, 0.08), transparent 100%), var(--surface-2);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
}

.prediction-locked {
    font-size: 0.95rem;
}

.prediction-summary {
    display: grid;
    gap: 0.9rem;
}

.prediction-summary__score {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.prediction-summary--featured {
    border: 1px solid rgba(245, 196, 81, 0.28);
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(245, 196, 81, 0.08), transparent 100%), var(--surface-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.prediction-summary__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.prediction-summary__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
}

.prediction-summary__score--featured {
    font-size: clamp(2.2rem, 5vw, 2.9rem);
    line-height: 1;
}

.prediction-summary__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.prediction-summary__points {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.prediction-summary__note {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--panel-bg);
    padding: 0.8rem 0.9rem;
    color: var(--ink);
    font-size: 0.92rem;
}

.prediction-locked-card {
    border: 1px solid rgba(245, 196, 81, 0.24);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(245, 196, 81, 0.08), transparent 100%), var(--surface-2);
    padding: 0.95rem 1rem;
}

.prediction-locked-card__title {
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.prediction-locked-card__copy {
    color: var(--muted);
    font-size: 0.92rem;
}

.messages-stack .alert {
    border-radius: 10px;
    border: 1px solid var(--panel-border);
    background: var(--panel-bg);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.prediction-history-list {
    display: grid;
    gap: 0.75rem;
}

.prediction-history-item {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--panel-bg);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.06);
}

.prediction-history-item__summary {
    padding: 1rem 1rem 0.9rem;
}

.prediction-history-item__match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.prediction-history-item__team {
    min-width: 0;
}

.prediction-history-item__team--away .team-identity {
    margin-left: auto;
}

.prediction-history-item__score--large {
    min-width: 7.2rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    font-size: 1.65rem;
    line-height: 1;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(245, 196, 81, 0.16);
}

.prediction-history-item__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.prediction-history-item__body {
    border-top: 1px solid var(--panel-border);
    padding: 1rem;
    background: var(--surface-2);
}

.prediction-history-item__footer {
    border-top: 1px solid var(--panel-border);
    padding: 0.85rem 1rem 1rem;
    background: var(--surface-2);
}

.prediction-history-item__toggle {
    min-width: 8.5rem;
}

.prediction-breakdown {
    display: grid;
    gap: 0.55rem;
}

.prediction-breakdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--panel-bg);
}

.prediction-breakdown__row span {
    color: var(--ink);
    font-size: 0.92rem;
}

.prediction-breakdown__points--hit {
    color: var(--accent-gold);
}

.prediction-breakdown__points--miss {
    color: var(--muted);
}

.prediction-table-wrap {
    overflow: auto;
    max-width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--panel-bg);
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 196, 81, 0.9) rgba(255, 255, 255, 0.08);
}

.prediction-table-wrap::-webkit-scrollbar {
    height: 0.9rem;
}

.prediction-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.prediction-table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(245, 196, 81, 0.92), rgba(223, 174, 49, 0.92));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.prediction-table-wrap::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(250, 206, 95, 0.96), rgba(231, 182, 57, 0.96));
    background-clip: padding-box;
}

.prediction-table {
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
}

.prediction-table th,
.prediction-table td {
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    padding: 0.55rem 0.45rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    color: var(--ink);
}

.prediction-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--surface-2);
    color: var(--ink);
}

.prediction-table__sticky {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--panel-bg);
    min-width: 12.75rem;
    max-width: 12.75rem;
    text-align: left;
}

.prediction-table__sticky--head {
    z-index: 4;
    background: linear-gradient(135deg, var(--accent-soft), var(--panel-bg));
}

.prediction-table__match {
    min-width: 8rem;
    max-width: 8rem;
}

.prediction-table__match-head {
    display: grid;
    gap: 0.15rem;
}

.prediction-table__date {
    font-size: 0.72rem;
    color: var(--muted);
}

.prediction-table__teams {
    font-size: 0.78rem;
    line-height: 1.1;
    font-weight: 600;
    white-space: normal;
}

.prediction-table__player {
    display: grid;
    gap: 0.15rem;
}

.prediction-table__player-name {
    font-weight: 700;
    line-height: 1.1;
    white-space: normal;
}

.prediction-table__player-points {
    font-size: 0.74rem;
    color: var(--muted);
}

.prediction-table__cell--locked {
    background: var(--surface-2);
}

.leaderboard-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.leaderboard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.leaderboard-nav__link {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    background: var(--surface-2);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.leaderboard-nav__link:hover {
    border-color: rgba(245, 196, 81, 0.45);
    background: var(--panel-bg);
    transform: translateY(-1px);
    color: var(--ink);
}

.leaderboard-section-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.leaderboard-subpanel {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--surface-2);
    overflow: hidden;
}

.leaderboard-subpanel__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1rem 0;
}

.leaderboard-table {
    min-width: 100%;
}

.leaderboard-table__row--current > * {
    background: linear-gradient(90deg, rgba(245, 196, 81, 0.08), transparent 85%);
}

.leaderboard-player {
    display: grid;
    gap: 0.35rem;
}

.leaderboard-player__name {
    font-weight: 700;
    line-height: 1.15;
}

.leaderboard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.leaderboard-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(245, 196, 81, 0.34);
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    background: linear-gradient(180deg, rgba(245, 196, 81, 0.14), rgba(245, 196, 81, 0.05));
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 700;
}

.prediction-table__cell-score {
    font-weight: 700;
    line-height: 1.1;
}

.prediction-table__cell-points {
    font-size: 0.72rem;
    color: var(--accent-teal);
    margin-top: 0.15rem;
}

.prediction-table__cell-placeholder {
    color: var(--muted);
    font-weight: 700;
}

.prediction-table__row--current .prediction-table__sticky {
    background: linear-gradient(135deg, rgba(245, 196, 81, 0.12), var(--panel-bg));
}

.next-match-card {
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.08) 0%, transparent 42%),
        var(--surface-2);
    padding: 1rem;
    display: grid;
    gap: 1rem;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.06);
}

.next-match-card__top,
.next-match-card__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.next-match-card__top {
    justify-content: space-between;
}

.next-match-card__bottom {
    justify-content: flex-start;
}

.next-match-card__match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
}

.next-match-card__match .team-identity,
.match-hero .team-identity {
    min-height: 3.25rem;
    align-self: center;
}

.next-match-card__match .team-copy,
.match-hero .team-copy {
    min-height: 3.25rem;
}

.next-match-card__score {
    min-width: 6rem;
    padding: 0.8rem 1rem;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(245, 196, 81, 0.16);
}

.team-section-stack {
    display: grid;
    gap: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0.9rem;
}

.team-card {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.08) 0%, transparent 42%),
        var(--surface-2);
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.05);
}

.team-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.team-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.team-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.team-card__stat {
    border: 1px solid var(--panel-border);
    border-radius: 9px;
    padding: 0.65rem 0.75rem;
    background: var(--panel-bg);
    min-width: 0;
}

.team-card__stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
    line-height: 1.05;
}

.team-card__stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
    margin-top: 0.2rem;
}

.team-squad-table {
    font-size: 0.86rem;
}

.team-squad-table thead th {
    position: sticky;
    top: 0;
    background: var(--surface-2);
    z-index: 1;
}

.team-squad-table__number {
    width: 4rem;
    text-align: center;
    font-weight: 700;
}

.team-squad-table__player {
    font-weight: 600;
}

.drabinka-stack {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.drabinka-groups-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

.drabinka-group-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    justify-content: flex-start;
}

.drabinka-group-card {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.08) 0%, transparent 38%),
        var(--surface-2);
    padding: 0.88rem;
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    width: 100%;
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.05);
}

.drabinka-group-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.drabinka-group-card__eyebrow {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0;
    margin-bottom: 0.2rem;
}

.drabinka-group-card__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.drabinka-group-card__table {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
}

.drabinka-group-row {
    display: grid;
    gap: 0.45rem;
    align-items: start;
    padding: 0.45rem 0.55rem 0.5rem;
    border: 1px solid var(--panel-border);
    border-radius: 9px;
    background: var(--panel-bg);
    min-width: 0;
}

.drabinka-group-row--advanced {
    border-color: rgba(245, 196, 81, 0.35);
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.08);
}

.drabinka-group-row__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    min-width: 0;
}

.drabinka-group-row__rank {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    font-size: 0.78rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.drabinka-group-row__team {
    min-width: 0;
}

.drabinka-group-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    justify-content: flex-start;
    min-width: 0;
}

.drabinka-board-breakout {
    --bracket-zoom: 1;
    --bracket-column-width: calc(25rem * var(--bracket-zoom));
    --bracket-column-gap: calc(1.35rem * var(--bracket-zoom));
    --bracket-title-scale: clamp(0.88rem, calc(1rem * var(--bracket-zoom)), 1rem);
    --bracket-meta-scale: clamp(0.68rem, calc(0.76rem * var(--bracket-zoom)), 0.76rem);
    --bracket-chip-scale: clamp(0.66rem, calc(0.76rem * var(--bracket-zoom)), 0.76rem);
    --bracket-team-scale: clamp(0.72rem, calc(0.98rem * var(--bracket-zoom)), 0.98rem);
    --bracket-team-subtitle-scale: clamp(0.62rem, calc(0.7rem * var(--bracket-zoom)), 0.7rem);
    --bracket-flag-width: clamp(18px, calc(24px * var(--bracket-zoom)), 24px);
    --bracket-flag-height: clamp(14px, calc(18px * var(--bracket-zoom)), 18px);
    --bracket-team-gap: clamp(0.32rem, calc(0.45rem * var(--bracket-zoom)), 0.45rem);
    --bracket-team-min-height: clamp(2rem, calc(2.55rem * var(--bracket-zoom)), 2.55rem);
    display: grid;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.drabinka-board-shell {
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.06) 0%, transparent 45%),
        var(--surface-1);
    padding: 0.95rem 0.7rem 0.85rem;
    max-width: 100%;
    min-width: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.drabinka-board-shell:focus-visible {
    outline: 2px solid rgba(245, 196, 81, 0.65);
    outline-offset: 2px;
}

.drabinka-board-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    max-width: 100%;
    min-width: 0;
}

.drabinka-board-nav__scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.drabinka-board-tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.drabinka-board-zoom-range {
    width: 11rem;
    accent-color: var(--accent-gold);
}

.drabinka-board-zoom-value {
    min-width: 4.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0 0.9rem;
}

.drabinka-board-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 0.15rem 0.05rem;
    scrollbar-width: thin;
}

.drabinka-board-track {
    display: flex;
    align-items: stretch;
    gap: var(--bracket-column-gap);
    width: max-content;
    min-width: max-content;
    padding: 0.25rem 0.2rem 0.55rem;
}

.drabinka-board-shell.is-dragging {
    cursor: grabbing;
}

.drabinka-board-shell.is-dragging,
.drabinka-board-shell.is-dragging * {
    user-select: none;
}

.drabinka-board-shell::-webkit-scrollbar {
    height: 0.72rem;
}

.drabinka-board-shell::-webkit-scrollbar-thumb {
    background: rgba(245, 196, 81, 0.35);
    border-radius: 999px;
}

.drabinka-board-shell::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.drabinka-board-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink);
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.drabinka-board-tab:hover {
    border-color: rgba(245, 196, 81, 0.45);
    color: var(--ink);
    transform: translateY(-1px);
}

.drabinka-board-tab.is-active {
    background: linear-gradient(135deg, rgba(245, 196, 81, 0.18) 0%, rgba(245, 196, 81, 0.08) 100%);
    border-color: rgba(245, 196, 81, 0.55);
    color: var(--ink);
}

.drabinka-board-arrow {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: var(--surface-2);
    color: var(--ink);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    transition: border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.drabinka-board-arrow:hover {
    border-color: rgba(245, 196, 81, 0.45);
    background: var(--panel-bg);
    transform: translateY(-1px);
}

.drabinka-board-arrow svg {
    width: 1rem;
    height: 1rem;
}

.drabinka-round {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(245, 196, 81, 0.08) 0%, transparent 42%),
        var(--panel-bg);
    padding: calc(1rem * var(--bracket-zoom));
    display: flex;
    flex-direction: column;
    gap: calc(1rem * var(--bracket-zoom));
    flex: 0 0 var(--bracket-column-width);
    width: var(--bracket-column-width);
    min-width: 0;
    max-width: none;
    scroll-snap-align: start;
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.05);
}

.drabinka-round__header {
    display: grid;
    gap: 0.15rem;
}

.drabinka-round__eyebrow {
    font-size: var(--bracket-meta-scale);
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0;
}

.drabinka-round__title {
    font-size: var(--bracket-title-scale);
    font-weight: 800;
    line-height: 1.15;
}

.drabinka-round__meta {
    font-size: var(--bracket-meta-scale);
    color: var(--muted);
}

.drabinka-round__matches {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: calc(1rem * var(--bracket-zoom));
}

.drabinka-match {
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: var(--surface-2);
    padding: calc(0.95rem * var(--bracket-zoom));
    display: grid;
    gap: calc(0.9rem * var(--bracket-zoom));
}

.drabinka-match__top,
.drabinka-match__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.35rem, calc(0.5rem * var(--bracket-zoom)), 0.5rem);
    justify-content: flex-start;
}

.drabinka-match__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: calc(0.95rem * var(--bracket-zoom));
    align-items: center;
}

.drabinka-match__score {
    min-width: clamp(4.35rem, calc(5.8rem * var(--bracket-zoom)), 5.8rem);
    padding: clamp(0.45rem, calc(0.75rem * var(--bracket-zoom)), 0.75rem) clamp(0.65rem, calc(0.9rem * var(--bracket-zoom)), 0.9rem);
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f0c45b 100%);
    color: #111827;
    font-size: clamp(0.8rem, calc(1.02rem * var(--bracket-zoom)), 1.02rem);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(245, 196, 81, 0.16);
}

.drabinka-match__team {
    min-width: 0;
}

.drabinka-match__team--away {
    text-align: right;
}

.drabinka-match__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.drabinka-match .meta-chip {
    font-size: var(--bracket-chip-scale);
    padding: clamp(0.16rem, calc(0.22rem * var(--bracket-zoom)), 0.22rem) clamp(0.42rem, calc(0.6rem * var(--bracket-zoom)), 0.6rem);
}

.drabinka-match .team-identity--compact {
    gap: var(--bracket-team-gap);
    min-height: var(--bracket-team-min-height);
}

.drabinka-match .team-identity--compact .team-copy {
    min-height: var(--bracket-team-min-height);
}

.drabinka-match .team-identity--compact .team-flag {
    width: var(--bracket-flag-width);
    height: var(--bracket-flag-height);
    border-radius: clamp(3px, calc(4px * var(--bracket-zoom)), 4px);
}

.drabinka-match .team-name--compact {
    font-size: var(--bracket-team-scale);
    line-height: 1.08;
}

.drabinka-match .team-subtitle--compact {
    font-size: var(--bracket-team-subtitle-scale);
    line-height: 1.08;
}

.mini-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mini-info-grid--compact {
    gap: 0.45rem;
}

.mini-info-chip {
    border: 1px solid var(--panel-border);
    background: var(--surface-2);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    color: var(--ink);
    font-size: 0.82rem;
}

.table > :not(caption) > * > * {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.prediction-table th,
.prediction-table td {
    padding: 0.55rem 0.45rem;
}

.panel .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    --bs-table-border-color: #243247;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: var(--ink);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-hover-color: var(--ink);
}

.panel .table > :not(caption) > * > * {
    background-color: transparent;
    color: inherit;
    border-bottom-color: var(--panel-border);
}

.panel .table thead th {
    background: var(--surface-2);
    color: var(--ink);
    border-bottom-color: var(--panel-border);
}

.panel .table tbody tr:hover > * {
    background-color: rgba(245, 196, 81, 0.05);
}

@media (max-width: 991.98px) {
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }

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

    .match-center {
        order: -1;
        margin: 0.25rem 0;
    }

    .fixture-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fixture-row__status {
        align-items: flex-start;
    }

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

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

    .drabinka-group-card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .drabinka-board-nav {
        align-items: stretch;
    }

    .drabinka-board-nav__scroll {
        width: 100%;
    }

    .drabinka-board-breakout {
        width: 100%;
    }

    .drabinka-board-tabs {
        width: 100%;
    }

    .drabinka-board-tools {
        width: 100%;
        justify-content: space-between;
    }

    .drabinka-board-zoom-range {
        flex: 1 1 auto;
        min-width: 0;
    }

    .drabinka-round {
        flex-basis: 19rem;
        width: 19rem;
    }

    .team-card__top {
        flex-direction: column;
    }

    .team-card__stats {
        grid-template-columns: 1fr;
    }

    .date-group__header {
        flex-direction: column;
    }

    .date-nav {
        grid-template-columns: 1fr;
    }

    .date-nav__current {
        order: -1;
    }

    .prediction-form__inputs {
        grid-template-columns: 1fr;
    }

    .prediction-summary__top,
    .prediction-summary__meta {
        justify-content: flex-start;
    }

    .fixture-nav-strip {
        grid-template-columns: 1fr;
    }

    .fixture-nav-strip__btn--next {
        text-align: left;
    }

    .prediction-panel {
        position: static;
    }

    .prediction-table__sticky {
        min-width: 10rem;
        max-width: 10rem;
    }

    .prediction-table__match {
        min-width: 6.5rem;
        max-width: 6.5rem;
    }

    .leaderboard-user-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-subpanel__head {
        padding: 0.9rem 0.9rem 0;
    }

    .prediction-history-item__summary {
        padding: 1rem 0.85rem 0.75rem;
    }

    .prediction-history-item__match,
    .next-match-card__match {
        grid-template-columns: 1fr;
    }

    .drabinka-match__teams {
        grid-template-columns: 1fr;
    }

    .drabinka-match__top,
    .drabinka-match__bottom {
        justify-content: flex-start;
    }

    .prediction-history-item__score--large,
    .next-match-card__score {
        justify-self: start;
    }

    .drabinka-match__score {
        justify-self: start;
    }

    .prediction-history-item__score {
        min-width: 6rem;
    }
}
