:root {
    --fixture-page-bg: #f4f6f8;
    --fixture-surface: #ffffff;
    --fixture-surface-soft: #eef4f1;
    --fixture-text: #1f2933;
    --fixture-muted: #63717f;
    --fixture-border: #d7e1de;
    --fixture-accent: #0f7a55;
    --fixture-accent-dark: #07543f;
    --fixture-red: #9f2444;
    --fixture-gold: #c99a2e;
    --fixture-blue: #245f8f;
    --fixture-ink: #122620;
    --fixture-header: #0b2d25;
    --fixture-shadow: 0 16px 42px rgb(18 38 32 / 0.1);
    --bs-primary: var(--fixture-accent);
    --bs-primary-rgb: 15, 122, 85;
}

body.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 12% 0, rgb(201 154 46 / 0.16), transparent 22rem),
        linear-gradient(180deg, #e9f0ef 0, var(--fixture-page-bg) 280px),
        var(--fixture-page-bg);
    color: var(--fixture-text);
    font-feature-settings: "kern";
}

*,
*::before,
*::after {
    min-width: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.app-main {
    flex: 1;
}

.app-shell {
    width: min(100%, 1180px);
}

.app-header,
.app-footer {
    color: var(--fixture-text);
}

.app-header .navbar {
    background:
        linear-gradient(90deg, var(--fixture-header), #123f36 52%, #7f243d 100%);
    box-shadow: 0 12px 28px rgb(7 30 24 / 0.18);
    min-height: 76px;
}

.app-navbar-container {
    gap: 0.85rem;
}

.app-brand {
    align-items: center;
    display: inline-flex;
    flex: 0 1 19rem;
    gap: 0.75rem;
    letter-spacing: 0;
    max-width: min(100%, 20rem);
    min-width: 0;
}

.app-brand-mark {
    align-items: center;
    background: linear-gradient(180deg, #ffffff, #eff6f2);
    border: 2px solid rgb(201 154 46 / 0.6);
    border-radius: 8px;
    color: var(--fixture-accent-dark);
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 0.78rem;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    width: 44px;
}

.app-brand-mark img {
    height: 100%;
    object-fit: contain;
    padding: 4px;
    width: 100%;
}

.app-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.app-brand-name {
    color: #ffffff;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-brand-name strong {
    color: #ffe2a0;
    font-weight: 850;
}

.app-brand-tournament {
    color: rgb(255 255 255 / 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-header .nav-link.active {
    font-weight: 700;
}

.app-navbar-collapse {
    min-width: 0;
}

.app-main-nav {
    min-width: 0;
}

.app-header .nav-link {
    border-radius: 7px;
    color: rgb(255 255 255 / 0.78);
    font-weight: 600;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    white-space: nowrap;
}

.app-header .navbar-toggler {
    border-color: rgb(255 255 255 / 0.34);
    border-radius: 8px;
}

.app-header .nav-link:hover,
.app-header .nav-link:focus,
.app-header .nav-link.active {
    background: rgb(255 255 255 / 0.13);
    color: #ffffff;
}

.app-header .dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: var(--fixture-shadow);
    padding: 0.45rem;
}

.app-header .admin-nav-menu {
    gap: 0.35rem 0.55rem;
    grid-template-columns: repeat(2, minmax(13rem, 1fr));
    max-height: min(74vh, 42rem);
    min-width: min(92vw, 38rem);
    overflow-y: auto;
    padding: 0.75rem;
}

.app-header .admin-nav-menu.show {
    display: grid;
}

.admin-nav-group {
    border: 1px solid transparent;
    border-radius: 8px;
    list-style: none;
    min-width: 0;
    padding: 0.25rem;
}

.admin-nav-group:hover,
.admin-nav-group:focus-within {
    background: #f8fbf9;
    border-color: var(--fixture-border);
}

.app-header .dropdown-header {
    color: var(--fixture-red);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    padding: 0.35rem 0.65rem 0.2rem;
    text-transform: uppercase;
}

.app-header .dropdown-item {
    border-radius: 7px;
    font-weight: 600;
    padding: 0.48rem 0.65rem;
}

.app-header .dropdown-item:hover,
.app-header .dropdown-item:focus {
    background: var(--fixture-surface-soft);
    color: var(--fixture-accent-dark);
}

.navbar-role {
    background: rgb(255 255 255 / 0.95);
    border: 1px solid rgb(255 255 255 / 0.48);
    border-radius: 999px;
    color: var(--fixture-ink);
    font-weight: 800;
    padding: 0.45rem 0.7rem;
}

.admin-temporary-password {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    overflow-wrap: anywhere;
}

.app-context-bar {
    background: rgb(255 255 255 / 0.86);
    border-bottom: 1px solid var(--fixture-border);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset;
}

.app-context-bar .small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.app-context-label {
    color: var(--fixture-muted);
    font-weight: 700;
    margin-right: 0.35rem;
}

.app-card,
.app-form-panel,
.technical-panel {
    background: var(--fixture-surface);
    border: 1px solid var(--fixture-border) !important;
    border-radius: 8px;
    box-shadow: var(--fixture-shadow);
}

.admin-shell,
.admin-section,
.technical-panel {
    position: relative;
}

.admin-section,
.technical-panel {
    overflow: hidden;
}

.admin-section::before,
.technical-panel::before {
    background: linear-gradient(90deg, var(--fixture-accent), var(--fixture-gold), var(--fixture-red));
    content: "";
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
}

.admin-toolbar,
.technical-panel > .d-flex:first-child {
    align-items: flex-start;
    border-bottom: 1px solid var(--fixture-border);
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem;
}

.app-page-header,
.admin-toolbar > div:first-child,
.technical-panel > .d-flex:first-child > div:first-child {
    min-width: 0;
}

.app-page-header h1,
.app-page-header h2,
.technical-panel h2 {
    color: var(--fixture-ink);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
}

.app-page-kicker,
.technical-kicker {
    color: var(--fixture-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-breadcrumb {
    align-items: center;
    color: var(--fixture-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    font-weight: 650;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.admin-breadcrumb a {
    color: var(--fixture-accent-dark);
    text-decoration: none;
}

.admin-breadcrumb a:hover,
.admin-breadcrumb a:focus {
    text-decoration: underline;
}

.admin-form,
.technical-panel form.row {
    background: linear-gradient(180deg, #ffffff, #f9fbfa);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    padding: 1rem;
}

.technical-panel form.row + form.row,
.technical-panel form.row + .table-responsive,
.technical-panel .alert + form.row {
    margin-top: 1rem;
}

.technical-panel .form-label {
    color: var(--fixture-ink);
    font-size: 0.9rem;
    font-weight: 750;
    margin-bottom: 0.35rem;
}

.technical-panel .form-text {
    color: var(--fixture-muted);
    font-size: 0.84rem;
}

.technical-panel input[readonly],
.technical-panel textarea[readonly] {
    background: #f6f8f7;
    color: var(--fixture-muted);
}

.technical-panel .alert {
    box-shadow: 0 8px 18px rgb(14 31 27 / 0.05);
}

.admin-table,
.technical-panel .table {
    --bs-table-striped-bg: #f8fbf9;
    --bs-table-hover-bg: #f4f8f6;
    border-collapse: separate;
    border-spacing: 0;
}

.technical-panel .table-responsive {
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgb(14 31 27 / 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table > :not(caption) > * > *,
.technical-panel .table > :not(caption) > * > * {
    padding: 0.85rem 0.8rem;
    vertical-align: middle;
}

.technical-panel .table tbody tr {
    background: #ffffff;
}

.technical-panel .table tbody tr:hover {
    background: #fbfdfc;
}

.admin-actions,
.technical-panel td.text-end,
.technical-panel th.text-end {
    min-width: 9rem;
}

.technical-panel td.text-end {
    white-space: normal;
}

.technical-panel td.text-end .btn,
.technical-panel td.text-end form,
.technical-panel td.text-end .form-select {
    margin-bottom: 0.25rem;
    margin-left: 0.2rem;
}

.technical-panel td.text-end form {
    display: inline-flex !important;
    gap: 0.35rem;
    vertical-align: middle;
}

.technical-panel td.text-end .form-select {
    max-width: 10rem;
}

.table-responsive > .table {
    min-width: 44rem;
}

.technical-panel .table td,
.technical-panel .table th,
.app-table td,
.app-table th,
.sports-table td,
.sports-table th {
    overflow-wrap: anywhere;
}

.technical-panel .table .btn,
.app-table .btn,
.sports-table .btn {
    white-space: normal;
}

.admin-empty-state,
.technical-panel tbody tr:only-child td[colspan] {
    background: #f8faf9 !important;
    color: var(--fixture-muted) !important;
    font-weight: 650;
    padding: 1.4rem !important;
    text-align: center;
}

.technical-panel tbody tr:only-child td[colspan]::before {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-accent-dark);
    content: "Sin registros";
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 850;
    margin-right: 0.5rem;
    padding: 0.2rem 0.55rem;
    text-transform: uppercase;
}

.technical-panel .badge {
    border-radius: 999px;
    font-weight: 750;
    letter-spacing: 0;
    padding: 0.42rem 0.62rem;
}

.technical-panel .badge.text-bg-light,
.technical-panel .badge.bg-light {
    background: #f6f8f7 !important;
    border-color: var(--fixture-border) !important;
    color: var(--fixture-muted) !important;
}

.technical-panel .badge.text-bg-success {
    background: #e8f6ed !important;
    color: var(--fixture-accent-dark) !important;
}

.technical-panel .badge.text-bg-warning {
    background: #fff5dc !important;
    color: #5c4412 !important;
}

.technical-panel .badge.text-bg-danger {
    background: #fff1f4 !important;
    color: var(--fixture-red) !important;
}

.app-section-title,
.technical-kicker {
    color: var(--fixture-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.app-muted {
    color: var(--fixture-muted);
}

.app-badge,
.dashboard-pill,
.dashboard-section-tag {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-ink);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
}

.app-action-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: space-between;
}

.app-table,
.technical-panel .table {
    margin-bottom: 0;
}

.app-table thead th,
.technical-panel .table thead th {
    background: var(--fixture-surface-soft);
    border-bottom-color: var(--fixture-border);
    color: #34443e;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.technical-panel code,
.technical-messages code {
    background: #e8eef2;
    border-radius: 4px;
    color: #23313d;
    padding: 0.12rem 0.35rem;
}

.alert {
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: 8px;
    overflow-wrap: anywhere;
}

.btn {
    border-radius: 7px;
    font-weight: 650;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.navbar-toggler:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #d69f28;
    outline-offset: 3px;
}

.btn:focus-visible,
.navbar-toggler:focus-visible {
    box-shadow: 0 0 0 0.22rem rgb(214 159 40 / 0.28);
}

.btn-primary,
.btn-success {
    --bs-btn-bg: var(--fixture-accent);
    --bs-btn-border-color: var(--fixture-accent);
    --bs-btn-hover-bg: var(--fixture-accent-dark);
    --bs-btn-hover-border-color: var(--fixture-accent-dark);
    --bs-btn-active-bg: var(--fixture-accent-dark);
    --bs-btn-active-border-color: var(--fixture-accent-dark);
}

.form-control,
.form-select {
    border-color: var(--fixture-border);
    border-radius: 7px;
    min-height: 2.65rem;
}

.form-label,
.form-check-label {
    color: var(--fixture-ink);
    font-weight: 700;
}

.form-text,
.text-muted {
    color: var(--fixture-muted) !important;
}

.form-check {
    min-height: 2.25rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgb(15 122 85 / 0.65);
    box-shadow: 0 0 0 0.2rem rgb(15 122 85 / 0.14);
}

.technical-messages {
    border-color: var(--fixture-border) !important;
    border-left: 4px solid var(--fixture-accent) !important;
    color: var(--fixture-muted);
}

.technical-messages li + li {
    margin-top: 0.25rem;
}

.app-table tbody td,
.technical-panel .table tbody td {
    border-color: #e8edf0;
}

.app-table tbody tr:last-child td,
.technical-panel .table tbody tr:last-child td {
    border-bottom-width: 0;
}

.app-table tbody tr:only-child td[colspan],
.technical-panel .table tbody tr:only-child td[colspan] {
    background: #f8faf9;
    padding: 1.25rem;
    text-align: center;
}

.technical-panel .badge {
    font-weight: 600;
}

.tournament-status-badge {
    background: #fff5dc;
    border: 1px solid rgb(216 167 47 / 0.5);
    color: #5c4412;
    padding: 0.55rem 0.75rem;
}

.technical-panel .btn,
.app-header .btn {
    border-radius: 7px;
    font-weight: 600;
}

.login-panel {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    overflow: hidden;
    padding: 0;
}

.login-brand {
    align-items: center;
    background:
        linear-gradient(135deg, var(--fixture-ink), #174939 62%, #8d2945);
    color: #ffffff;
    display: flex;
    gap: 1.2rem;
    min-height: 24rem;
    padding: 2.25rem;
    position: relative;
}

.login-brand::after {
    background:
        linear-gradient(90deg, rgb(201 154 46 / 0.2) 0 2px, transparent 2px 42px),
        linear-gradient(0deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 40px);
    content: "";
    inset: 0;
    opacity: 0.5;
    position: absolute;
}

.login-brand > * {
    position: relative;
    z-index: 1;
}

.login-brand .app-section-title {
    color: #ffe2a0;
}

.login-brand h2,
.login-brand .app-muted {
    color: #ffffff;
}

.login-brand .app-muted {
    opacity: 0.78;
}

.login-brand-mark {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border: 3px solid rgb(201 154 46 / 0.72);
    border-radius: 50%;
    color: var(--fixture-accent-dark);
    display: inline-flex;
    flex: 0 0 5.5rem;
    font-size: 1.4rem;
    font-weight: 900;
    justify-content: center;
}

.login-form-card {
    align-self: center;
    padding: 2rem 2rem 2rem 0;
}

.technical-panel .list-group-item-action:hover {
    background: #f4f8f6;
}

.tournament-hero {
    align-items: stretch;
    background:
        linear-gradient(135deg, var(--fixture-ink), #164533 58%, #8a243c);
    border: 1px solid rgb(255 255 255 / 0.56);
    border-radius: 8px;
    box-shadow: var(--fixture-shadow);
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.tournament-hero::before {
    background:
        linear-gradient(90deg, rgb(216 167 47 / 0.22) 0 2px, transparent 2px 44px),
        linear-gradient(0deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 42px);
    content: "";
    inset: 0;
    opacity: 0.42;
    position: absolute;
}

.tournament-hero-copy,
.tournament-hero-media {
    position: relative;
    z-index: 1;
}

.tournament-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.tournament-hero-copy .technical-kicker {
    color: #ffe6a3;
}

.tournament-hero-copy p:not(.technical-kicker) {
    color: rgb(255 255 255 / 0.82);
    max-width: 44rem;
}

.tournament-hero-media {
    align-items: center;
    background: rgb(255 255 255 / 0.12);
    display: flex;
    justify-content: center;
    min-height: 190px;
}

.tournament-hero-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tournament-hero-fallback {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border: 3px solid rgb(216 167 47 / 0.72);
    border-radius: 50%;
    color: var(--fixture-accent-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 160px;
    padding: 1rem;
    width: 62%;
}

.tournament-hero-fallback span {
    color: var(--fixture-red);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tournament-hero-fallback strong {
    font-size: 2.6rem;
    line-height: 1;
}

.fixture-card {
    border-color: var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgb(14 31 27 / 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-link-card {
    border-left: 4px solid var(--fixture-accent);
}

.dashboard-link-card:hover,
.dashboard-link-card:focus {
    border-color: rgb(15 123 75 / 0.42);
    box-shadow: 0 14px 32px rgb(14 31 27 / 0.12);
    transform: translateY(-2px);
}

.dashboard-link-card h3 {
    color: var(--fixture-ink);
    font-weight: 800;
}

.dashboard-hero {
    margin-bottom: 1.25rem;
}

.dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-context-card,
.dashboard-section,
.dashboard-note,
.dashboard-empty-message {
    background: var(--fixture-surface);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgb(14 31 27 / 0.07);
}

.dashboard-context-card {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 28%);
    overflow: hidden;
    padding: 1.5rem;
}

.dashboard-context-main {
    min-width: 0;
}

.dashboard-context-text {
    color: var(--fixture-muted);
}

.dashboard-context-side {
    align-content: start;
    background: var(--fixture-surface-soft);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}

.dashboard-pill,
.dashboard-section-tag {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-ink);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
}

.dashboard-pill-gold {
    background: #fff5dc;
    border-color: rgb(216 167 47 / 0.48);
    color: #5c4412;
}

.dashboard-pill-ok {
    background: #e8f6ed;
    border-color: rgb(15 123 75 / 0.26);
    color: var(--fixture-accent-dark);
}

.dashboard-pill-muted {
    background: #f4f6f6;
    color: var(--fixture-muted);
}

.dashboard-note {
    border-left: 4px solid var(--fixture-gold);
    color: var(--fixture-muted);
    padding: 0.85rem 1rem;
}

.dashboard-empty-message {
    border-left: 4px solid var(--fixture-red);
    color: var(--fixture-muted);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem;
}

.dashboard-empty-message strong {
    color: var(--fixture-ink);
}

.dashboard-section {
    padding: 1.25rem;
}

.dashboard-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dashboard-section-heading h3 {
    color: var(--fixture-ink);
    font-weight: 800;
}

.dashboard-section-tag-admin {
    background: #fff5dc;
    border-color: rgb(216 167 47 / 0.48);
}

.dashboard-card-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-access-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-left: 4px solid var(--fixture-accent);
    border-radius: 8px;
    color: var(--fixture-text);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 6.25rem;
    padding: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-access-card:hover,
.dashboard-access-card:focus {
    border-color: rgb(15 123 75 / 0.42);
    box-shadow: 0 14px 32px rgb(14 31 27 / 0.12);
    color: var(--fixture-text);
    transform: translateY(-2px);
}

.dashboard-access-card-admin {
    border-left-color: var(--fixture-red);
}

.dashboard-access-card-play {
    border-left-color: var(--fixture-gold);
}

.dashboard-access-card-competition {
    border-left-color: var(--fixture-accent);
}

.dashboard-access-mark {
    align-items: center;
    background: var(--fixture-surface-soft);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    color: var(--fixture-accent-dark);
    display: inline-flex;
    flex: 0 0 2.8rem;
    font-size: 0.82rem;
    font-weight: 800;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.dashboard-access-card-admin .dashboard-access-mark {
    background: #fff1f4;
    color: var(--fixture-red);
}

.dashboard-access-card-play .dashboard-access-mark {
    background: #fff7e2;
    color: #6d4f0e;
}

.dashboard-access-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.dashboard-access-copy strong {
    color: var(--fixture-ink);
    font-size: 0.98rem;
    line-height: 1.2;
}

.dashboard-access-copy span {
    color: var(--fixture-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.dashboard-access-arrow {
    color: var(--fixture-muted);
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-info-section {
    background:
        linear-gradient(180deg, #ffffff, #f8fbf9);
}

.dashboard-info-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-info-item {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    padding: 1rem;
}

.dashboard-info-item span {
    color: var(--fixture-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.dashboard-info-item strong {
    color: var(--fixture-ink);
    display: block;
    font-size: 0.98rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.dashboard-admin-section {
    border-top: 4px solid var(--fixture-red);
}

.dashboard-product-hero {
    align-items: stretch;
    background:
        linear-gradient(135deg, var(--fixture-ink), #174737 56%, #8c2844);
    border: 1px solid rgb(255 255 255 / 0.62);
    border-radius: 8px;
    box-shadow: var(--fixture-shadow);
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
    margin-bottom: 1.25rem;
    min-height: 240px;
    overflow: hidden;
    position: relative;
}

.dashboard-product-hero::before {
    background:
        linear-gradient(90deg, rgb(216 167 47 / 0.2) 0 2px, transparent 2px 44px),
        linear-gradient(0deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 42px);
    content: "";
    inset: 0;
    opacity: 0.42;
    position: absolute;
}

.dashboard-product-copy,
.dashboard-product-media {
    position: relative;
    z-index: 1;
}

.dashboard-product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.dashboard-product-copy .app-section-title {
    color: #ffe6a3;
}

.dashboard-product-copy h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0 0 0.8rem;
}

.dashboard-product-copy p:not(.app-section-title) {
    color: rgb(255 255 255 / 0.84);
    font-size: 1.04rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    max-width: 46rem;
}

.app-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.app-quick-actions .btn {
    box-shadow: 0 10px 22px rgb(7 30 24 / 0.18);
}

.dashboard-product-media {
    align-items: center;
    background: rgb(255 255 255 / 0.12);
    display: flex;
    justify-content: center;
    min-height: 190px;
}

.dashboard-product-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.dashboard-score-tile {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border: 3px solid rgb(216 167 47 / 0.72);
    border-radius: 8px;
    color: var(--fixture-accent-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 155px;
    padding: 1rem;
    width: 62%;
}

.dashboard-score-tile span {
    color: var(--fixture-red);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dashboard-score-tile strong {
    font-size: 2.7rem;
    line-height: 1;
}

.dashboard-overview,
.dashboard-alert {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
    padding: 1.35rem;
}

.dashboard-alert {
    align-items: center;
    border-left: 4px solid var(--fixture-gold) !important;
}

.dashboard-alert h3,
.dashboard-overview h3,
.dashboard-section-heading h3 {
    color: var(--fixture-ink);
    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
}

.dashboard-alert p,
.dashboard-overview p {
    color: var(--fixture-muted);
    margin-bottom: 0.55rem;
}

.dashboard-alert .btn {
    justify-self: end;
}

.dashboard-overview-main {
    min-width: 0;
}

.dashboard-status-panel {
    align-content: start;
    background: linear-gradient(180deg, #f8fbf9, #eef5f1);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 1rem;
}

.dashboard-badge-ok {
    background: #e8f6ed;
    border-color: rgb(15 123 75 / 0.26);
    color: var(--fixture-accent-dark);
}

.dashboard-badge-muted {
    background: #f4f6f6;
    color: var(--fixture-muted);
}

.dashboard-facts {
    display: grid;
    flex-basis: 100%;
    gap: 0.65rem;
    grid-template-columns: 1fr;
    margin-top: 0.35rem;
}

.dashboard-facts div,
.dashboard-summary-item {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    padding: 0.85rem;
}

.dashboard-facts span,
.dashboard-summary-item span {
    color: var(--fixture-muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.dashboard-facts strong,
.dashboard-summary-item strong {
    color: var(--fixture-ink);
    display: block;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.dashboard-section {
    background: var(--fixture-surface);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgb(14 31 27 / 0.07);
    padding: 1.25rem;
}

.app-dashboard-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-module {
    align-items: center;
    border-left: 4px solid var(--fixture-accent) !important;
    color: var(--fixture-text);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 6.25rem;
    padding: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-module:hover,
.dashboard-module:focus {
    border-color: rgb(15 123 75 / 0.42) !important;
    box-shadow: 0 14px 32px rgb(14 31 27 / 0.12);
    color: var(--fixture-text);
    transform: translateY(-2px);
}

.dashboard-module-admin {
    border-left-color: var(--fixture-red) !important;
}

.dashboard-module-play {
    border-left-color: var(--fixture-gold) !important;
}

.dashboard-module-support {
    border-left-color: var(--fixture-blue) !important;
}

.dashboard-module-mark {
    align-items: center;
    background: var(--fixture-surface-soft);
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    color: var(--fixture-accent-dark);
    display: inline-flex;
    flex: 0 0 2.8rem;
    font-size: 0.82rem;
    font-weight: 850;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.dashboard-module-admin .dashboard-module-mark {
    background: #fff1f4;
    color: var(--fixture-red);
}

.dashboard-module-play .dashboard-module-mark {
    background: #fff7e2;
    color: #6d4f0e;
}

.dashboard-module-support .dashboard-module-mark {
    background: #e9f3ff;
    color: var(--fixture-blue);
}

.dashboard-module-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.dashboard-module-copy strong {
    color: var(--fixture-ink);
    font-size: 0.98rem;
    line-height: 1.2;
}

.dashboard-module-copy span {
    color: var(--fixture-muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.dashboard-module-arrow {
    color: var(--fixture-muted);
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-summary-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-summary-item p {
    color: var(--fixture-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.45rem 0 0;
}

.dashboard-module-summary {
    background: linear-gradient(180deg, #ffffff, #f8fbf9);
}

.app-footer {
    background: var(--fixture-ink);
    color: rgb(255 255 255 / 0.74);
}

.app-footer-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.app-footer-brand {
    color: #ffffff;
    font-weight: 800;
}

.app-footer-copy {
    color: rgb(255 255 255 / 0.68);
    font-size: 0.92rem;
    text-align: right;
}

.sports-page-panel {
    overflow: hidden;
    position: relative;
}

.sports-page-panel::before {
    background: linear-gradient(90deg, var(--fixture-accent), var(--fixture-gold), var(--fixture-red));
    content: "";
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
}

.sports-page-header {
    padding-top: 0.4rem;
}

.sports-filter-bar {
    background:
        linear-gradient(180deg, #ffffff, #f7faf8) !important;
    border-color: var(--fixture-border) !important;
}

.sports-table-shell {
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgb(14 31 27 / 0.06);
}

.sports-table {
    --bs-table-striped-bg: #f8fbf9;
}

.sports-table > :not(caption) > * > * {
    padding: 0.9rem 0.85rem;
}

.sports-table tbody tr {
    background: #ffffff;
}

.sports-table tbody tr:hover {
    background: #fbfdfc;
}

.sports-match-number,
.sports-position-pill {
    align-items: center;
    background: #eef5f0;
    border: 1px solid rgb(15 123 75 / 0.18);
    border-radius: 999px;
    color: var(--fixture-accent-dark);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    justify-content: center;
    min-height: 1.8rem;
    min-width: 2.25rem;
    padding: 0.25rem 0.55rem;
}

.sports-date,
.sports-muted-line {
    color: var(--fixture-muted);
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.35;
}

.sports-team-name,
.sports-participant-name {
    color: var(--fixture-ink);
    display: inline;
    font-weight: 800;
    line-height: 1.25;
}

.sports-team-code {
    background: #f2f5f4;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-muted);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    margin-left: 0.35rem;
    padding: 0.14rem 0.45rem;
    vertical-align: 0.08rem;
}

.sports-phase-badge {
    background: #fff5dc;
    border: 1px solid rgb(216 167 47 / 0.48);
    color: #5c4412;
}

.sports-status-badge,
.sports-hit-type-badge {
    background: #edf4ef;
    border: 1px solid rgb(15 123 75 / 0.18);
    color: var(--fixture-accent-dark);
}

.sports-pending-badge {
    background: #f4f6f6;
    border: 1px solid var(--fixture-border);
    color: var(--fixture-muted);
}

.sports-score-pill,
.sports-points-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 2rem;
    min-width: 3.25rem;
    padding: 0.35rem 0.75rem;
}

.sports-score-pill-official {
    background: var(--fixture-ink);
    border: 1px solid rgb(255 255 255 / 0.18);
    color: #ffffff;
}

.sports-score-pill-prediction {
    background: #e9f3ff;
    border: 1px solid #bfd9f7;
    color: #17476f;
}

.sports-points-pill {
    background: var(--fixture-accent);
    color: #ffffff;
    min-width: 2.75rem;
}

.sports-number-cell {
    color: #304039;
    font-weight: 700;
    text-align: center;
}

.sports-standings-table th:not(:nth-child(2)),
.sports-ranking-table th:not(:nth-child(2)),
.sports-score-table th:nth-child(6) {
    text-align: center;
}

.sports-empty-cell {
    background: #f8faf9;
    color: var(--fixture-muted);
    font-weight: 600;
    padding: 1.35rem !important;
    text-align: center;
}

.sports-group-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sports-group-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-left: 4px solid var(--fixture-accent);
    border-radius: 8px;
    color: var(--fixture-text);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sports-group-card:hover,
.sports-group-card:focus {
    border-color: rgb(15 123 75 / 0.42);
    box-shadow: 0 14px 32px rgb(14 31 27 / 0.12);
    color: var(--fixture-text);
    transform: translateY(-2px);
}

.sports-group-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sports-group-card-title {
    color: var(--fixture-ink);
    font-weight: 800;
}

.sports-group-card-meta {
    color: var(--fixture-muted);
    font-size: 0.88rem;
}

.sports-summary-card {
    border-color: var(--fixture-border) !important;
    box-shadow: 0 8px 20px rgb(14 31 27 / 0.05);
}

.sports-summary-value {
    min-width: 2.5rem;
}

.sports-score-note {
    background: #f8fbf9;
    border: 1px solid var(--fixture-border);
    border-left: 4px solid var(--fixture-gold);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.participant-empty-state,
.participant-info-card,
.participant-group-card,
.match-list-card,
.match-detail-card,
.stat-tile {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgb(14 31 27 / 0.06);
}

.participant-empty-state {
    border-left: 4px solid var(--fixture-gold);
    color: var(--fixture-muted);
    padding: 1.15rem;
}

.participant-empty-state strong {
    color: var(--fixture-ink);
    display: block;
    margin-bottom: 0.2rem;
}

.participant-info-card,
.participant-group-card,
.match-detail-card,
.stat-tile {
    padding: 1rem;
}

.participant-card-grid,
.match-card-grid,
.score-summary-grid,
.match-detail-grid,
.stat-tile-grid {
    display: grid;
    gap: 1rem;
}

.match-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.score-summary-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.match-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.match-list-card {
    border-left: 4px solid var(--fixture-accent);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem;
}

.match-list-card-meta,
.match-list-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.match-list-card-score {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.match-list-team {
    min-width: 0;
}

.match-list-team-away {
    text-align: right;
}

.match-list-role,
.stat-tile span,
.participant-info-card span {
    color: var(--fixture-muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.match-list-team strong,
.participant-info-card strong,
.stat-tile strong {
    color: var(--fixture-ink);
    display: block;
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.match-list-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-left: auto;
}

.match-detail-scoreboard {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(0, 1fr);
    margin-bottom: 1rem;
}

.match-detail-team,
.match-detail-score {
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    min-width: 0;
    padding: 1rem;
}

.match-detail-team {
    background: #ffffff;
}

.match-detail-team-away {
    text-align: right;
}

.match-detail-score {
    align-items: center;
    background: var(--fixture-ink);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.match-detail-score strong {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.timeline-event-card {
    border: 1px solid var(--fixture-border);
    border-left: 4px solid var(--fixture-accent);
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
}

.timeline-event-card-voided {
    background: #fff8e7;
    border-left-color: var(--fixture-gold);
}

.participant-group-card {
    border-left: 4px solid var(--fixture-blue);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}

.participant-group-card h3 {
    color: var(--fixture-ink);
    font-weight: 850;
}

.participant-group-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin-top: auto;
}

.prediction-page-panel {
    overflow: visible;
}

.prediction-feedback {
    background: #f5fbf7;
    border-color: rgb(15 123 75 / 0.22);
    color: var(--fixture-accent-dark);
}

.prediction-match-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prediction-my-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prediction-match-card,
.prediction-form-match,
.prediction-full-form,
.prediction-empty-state {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgb(14 31 27 / 0.06);
}

.prediction-match-card {
    border-left: 4px solid var(--fixture-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 15rem;
    padding: 1rem;
}

.prediction-status-open {
    border-left-color: var(--fixture-accent);
}

.prediction-status-edited {
    border-left-color: var(--fixture-gold);
}

.prediction-status-locked {
    border-left-color: #7d8d96;
}

.prediction-status-muted {
    border-left-color: #c9d2d0;
}

.prediction-match-meta {
    align-items: center;
    color: var(--fixture-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    gap: 0.45rem;
}

.prediction-match-meta span:not(.sports-match-number) {
    background: #f6f8f7;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.prediction-scoreboard {
    align-items: center;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.prediction-team {
    min-width: 0;
}

.prediction-team-away {
    text-align: right;
}

.prediction-team-role {
    color: var(--fixture-muted);
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.prediction-team strong {
    color: var(--fixture-ink);
    display: block;
    font-size: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.prediction-versus {
    align-items: center;
    background: var(--fixture-ink);
    border: 2px solid rgb(216 167 47 / 0.55);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 900;
    gap: 0.35rem;
    justify-content: center;
    min-height: 3.5rem;
    min-width: 4.6rem;
    padding: 0.45rem 0.65rem;
}

.prediction-versus-filled {
    background: #0f5132;
}

.prediction-empty-score {
    color: rgb(255 255 255 / 0.72);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.prediction-card-footer {
    align-items: flex-end;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: auto;
}

.prediction-status-line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.prediction-actions {
    flex: 0 0 auto;
}

.prediction-action-muted,
.prediction-lock-note {
    color: var(--fixture-muted);
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 600;
}

.prediction-lock-note {
    flex-basis: 100%;
}

.prediction-empty-state,
.prediction-form-match,
.prediction-full-form {
    padding: 1rem;
}

.prediction-full-form {
    border-top: 4px solid var(--fixture-accent);
}

.prediction-score-label {
    color: var(--fixture-ink);
    font-weight: 800;
}

.prediction-score-input {
    font-size: 1.45rem;
    font-weight: 800;
    min-height: 3.25rem;
    text-align: center;
}

.prediction-quick-modal[hidden] {
    display: none;
}

.prediction-quick-modal {
    align-items: center;
    background: rgb(8 24 20 / 0.58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 1050;
}

.prediction-quick-dialog {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-top: 4px solid var(--fixture-gold);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgb(7 30 24 / 0.28);
    max-width: 36rem;
    padding: 1.25rem;
    position: relative;
    width: min(100%, 36rem);
}

.sports-page-header,
.dashboard-section-heading,
.dashboard-overview,
.dashboard-alert,
.prediction-card-footer {
    min-width: 0;
}

.sports-page-header h2,
.dashboard-product-copy h2,
.dashboard-overview h3,
.dashboard-section-heading h3,
.match-detail-team strong,
.match-detail-score strong {
    overflow-wrap: anywhere;
}

.prediction-quick-close {
    align-items: center;
    background: #f3f6f5;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-muted);
    display: inline-flex;
    font-weight: 800;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
    width: 2rem;
}

.prediction-inline-score {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin-bottom: 1rem;
}

.prediction-inline-score label {
    color: var(--fixture-ink);
    display: grid;
    font-weight: 800;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

.prediction-inline-score label span {
    font-size: 0.86rem;
    line-height: 1.2;
    min-height: 2.1rem;
    overflow-wrap: anywhere;
}

.prediction-inline-score input {
    font-size: 1.45rem;
    font-weight: 800;
    text-align: center;
}

.prediction-inline-score strong {
    color: var(--fixture-muted);
    font-size: 1.35rem;
    padding-bottom: 0.45rem;
}

.album-page-panel {
    overflow: hidden;
    position: relative;
}

.album-page-panel::before {
    background: linear-gradient(90deg, var(--fixture-red), var(--fixture-gold), var(--fixture-accent));
    content: "";
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
}

.album-team-heading {
    align-items: center;
    border-bottom: 1px solid var(--fixture-border);
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
}

.album-team-heading span {
    align-items: center;
    background: var(--fixture-ink);
    border: 2px solid rgb(216 167 47 / 0.58);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 900;
    justify-content: center;
    min-height: 2.4rem;
    min-width: 3rem;
    padding: 0.35rem 0.55rem;
}

.album-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.album-player-card {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgb(14 31 27 / 0.07);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.album-player-card:hover,
.album-player-card:focus-within {
    border-color: rgb(15 123 75 / 0.38);
    box-shadow: 0 16px 34px rgb(14 31 27 / 0.13);
    transform: translateY(-2px);
}

.album-player-photo {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f6f9f7, #edf4ef);
    border-bottom: 1px solid var(--fixture-border);
    overflow: hidden;
    position: relative;
}

.album-player-photo img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.album-photo-placeholder {
    align-items: center;
    color: var(--fixture-muted);
    display: flex;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    text-transform: uppercase;
}

.album-photo-placeholder span {
    background: #ffffff;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
}

.album-shirt-number {
    background: var(--fixture-red);
    border: 2px solid #ffffff;
    border-radius: 8px;
    bottom: 0.7rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    left: 0.7rem;
    line-height: 1;
    padding: 0.45rem 0.55rem;
    position: absolute;
}

.album-player-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.95rem;
}

.album-player-team {
    color: var(--fixture-muted);
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.album-player-body h4 {
    color: var(--fixture-ink);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    overflow-wrap: anywhere;
}

.album-player-preferred {
    color: var(--fixture-muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.album-player-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
}

.album-player-meta span,
.squad-photo-status,
.squad-current-photo-placeholder {
    align-items: center;
    background: #f6f8f7;
    border: 1px solid var(--fixture-border);
    border-radius: 999px;
    color: var(--fixture-muted);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    min-height: 1.9rem;
    padding: 0.25rem 0.6rem;
}

.squad-photo-status {
    border-radius: 8px;
    gap: 0.5rem;
    white-space: nowrap;
}

.squad-photo-status img {
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    height: 2.5rem;
    object-fit: cover;
    width: 2.5rem;
}

.squad-photo-status-has {
    background: #edf8f1;
    border-color: rgb(15 123 75 / 0.22);
    color: var(--fixture-accent-dark);
}

.squad-photo-status-empty {
    background: #f7f8f8;
}

.squad-current-photo {
    align-items: center;
    background: #f8fbf9;
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
}

.squad-current-photo img {
    border: 1px solid var(--fixture-border);
    border-radius: 8px;
    flex: 0 0 5rem;
    height: 5rem;
    object-fit: cover;
    width: 5rem;
}

.squad-current-photo-placeholder {
    border-radius: 8px;
    flex: 0 0 5rem;
    height: 5rem;
    justify-content: center;
    width: 5rem;
}

@media (min-width: 1200px) {
    .app-navbar-collapse {
        align-items: center;
        flex: 1 1 auto;
        gap: 0.5rem;
    }

    .app-main-nav {
        align-items: center;
        flex: 1 1 auto;
        flex-wrap: wrap;
        gap: 0.15rem 0.2rem;
    }

    .app-header .nav-link {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .navbar-user {
        flex: 0 0 auto;
    }
}

@media (min-width: 1400px) {
    .app-brand {
        flex-basis: 22rem;
        max-width: 22rem;
    }

    .app-header .nav-link {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

@media (max-width: 1199.98px) {
    .app-header .navbar-collapse {
        padding-bottom: 0.75rem;
    }

    .app-header .nav-link {
        white-space: normal;
    }

    .app-header .admin-nav-menu {
        box-shadow: none;
        max-height: none;
        min-width: 100%;
        width: 100%;
    }

    .app-brand {
        flex-basis: auto;
        max-width: calc(100vw - 96px);
    }

    .app-main-nav {
        gap: 0.1rem;
        padding-top: 0.5rem;
    }

    .app-main-nav .nav-link {
        padding-bottom: 0.65rem;
        padding-top: 0.65rem;
    }

    .navbar-user {
        align-items: flex-start !important;
        flex-direction: column;
        margin-top: 0.75rem;
        width: 100%;
    }

    .navbar-user form,
    .navbar-user .btn {
        width: 100%;
    }

    .album-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .score-summary-grid,
    .stat-tile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .app-main .app-shell {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .app-brand {
        max-width: calc(100vw - 96px);
    }

    .app-brand-mark {
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .app-brand-name {
        font-size: 0.98rem;
    }

    .app-brand-tournament {
        max-width: 100%;
    }

    .app-header .admin-nav-menu.show {
        display: block;
    }

    .app-context-bar .container > .d-flex {
        min-width: 0;
    }

    .app-context-bar a {
        display: inline-flex;
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }

    .technical-panel,
    .app-form-panel {
        padding: 1rem !important;
    }

    .admin-toolbar,
    .technical-panel > .d-flex:first-child {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-toolbar .btn,
    .technical-panel > .d-flex:first-child .btn {
        width: 100%;
    }

    .admin-form,
    .technical-panel form.row {
        padding: 0.85rem;
    }

    .technical-panel td.text-end {
        min-width: 12rem;
    }

    .technical-panel td.text-end .btn,
    .technical-panel td.text-end form,
    .technical-panel td.text-end .form-select {
        margin-left: 0;
        width: 100% !important;
    }

    .technical-panel td.text-end form {
        display: flex !important;
        flex-direction: column;
    }

    .table-responsive {
        margin-left: -0.1rem;
        margin-right: -0.1rem;
    }

    .table-responsive > .table {
        min-width: 42rem;
    }

    .technical-panel .table > :not(caption) > * > *,
    .app-table > :not(caption) > * > * {
        padding: 0.72rem 0.65rem;
    }

    .sports-filter-bar .btn,
    .technical-panel form.row .btn,
    .admin-form .btn {
        width: 100%;
    }

    .tournament-hero {
        grid-template-columns: 1fr;
    }

    .tournament-hero-copy {
        padding: 1.5rem;
    }

    .tournament-hero-media {
        min-height: 150px;
    }

    .dashboard-context-card,
    .dashboard-card-grid,
    .app-dashboard-grid,
    .dashboard-overview,
    .dashboard-alert,
    .dashboard-info-grid,
    .dashboard-product-hero,
    .dashboard-summary-grid,
    .login-panel,
    .sports-group-grid,
    .prediction-match-grid,
    .prediction-my-grid,
    .match-card-grid,
    .score-summary-grid,
    .match-detail-grid,
    .stat-tile-grid,
    .match-detail-scoreboard {
        grid-template-columns: 1fr;
    }

    .login-brand {
        align-items: flex-start;
        min-height: auto;
        padding: 1.5rem;
    }

    .login-form-card {
        padding: 0 1.5rem 1.5rem;
    }

    .app-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-footer-copy {
        text-align: left;
    }

    .dashboard-section-heading {
        flex-direction: column;
    }

    .dashboard-alert .btn {
        justify-self: start;
    }

    .dashboard-product-copy {
        padding: 1.5rem;
    }

    .dashboard-product-copy h2 {
        font-size: 1.85rem;
    }

    .dashboard-product-media {
        min-height: 145px;
    }

    .dashboard-access-card {
        min-height: 5.75rem;
    }

    .sports-table > :not(caption) > * > * {
        padding: 0.75rem 0.65rem;
    }

    .sports-team-code {
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .sports-team-name,
    .sports-team-code {
        display: table;
    }

    .prediction-scoreboard,
    .prediction-inline-score {
        grid-template-columns: 1fr;
    }

    .prediction-team-away {
        text-align: left;
    }

    .prediction-versus {
        justify-self: stretch;
    }

    .match-list-card-score {
        grid-template-columns: 1fr;
    }

    .match-detail-score strong {
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .match-list-team-away,
    .match-detail-team-away {
        text-align: left;
    }

    .match-list-card-actions {
        margin-left: 0;
        width: 100%;
    }

    .match-list-card-actions .btn {
        flex: 1 1 9rem;
    }

    .prediction-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .album-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prediction-actions .btn {
        width: 100%;
    }

    .prediction-inline-score strong {
        display: none;
    }
}

@media (max-width: 479.98px) {
    .app-header .navbar {
        min-height: 68px;
    }

    .app-navbar-container {
        gap: 0.5rem;
    }

    .app-brand {
        gap: 0.55rem;
        max-width: calc(100vw - 86px);
    }

    .app-brand-name {
        font-size: 0.92rem;
    }

    .app-brand-tournament {
        font-size: 0.72rem;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 2.75rem;
    }

    .match-list-card,
    .participant-info-card,
    .participant-group-card,
    .match-detail-card,
    .stat-tile,
    .prediction-match-card,
    .prediction-form-match,
    .prediction-full-form,
    .prediction-empty-state {
        padding: 0.85rem;
    }

    .prediction-versus {
        min-width: 0;
        width: 100%;
    }

    .album-card-grid {
        grid-template-columns: 1fr;
    }
}
