:root {
    --bg: #eef3f9;
    --bg-strong: #ffffff;
    --panel: rgba(255, 255, 255, 0.84);
    --panel-border: rgba(148, 163, 184, 0.18);
    --ink: #0f172a;
    --ink-soft: #64748b;
    --accent: #4667ff;
    --accent-dark: #2f4fe0;
    --accent-soft: rgba(70, 103, 255, 0.12);
    --success: #0f766e;
    --info: #2563eb;
    --danger: #dc2626;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Aptos", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(70, 103, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 30%),
        linear-gradient(180deg, #f6f8fc 0%, #edf2f8 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 40px;
}

.auth-page-shell {
    width: min(720px, calc(100% - 24px));
    padding-top: 32px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.compact-topbar {
    justify-content: center;
    text-align: center;
}

.brand,
h1,
h2,
.stat-card strong,
.score-badge {
    font-family: "Aptos Display", "Aptos", "Trebuchet MS", sans-serif;
}

.brand {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-dark);
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--panel-border);
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.nav-user {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--panel-border);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.nav-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 10px 14px;
    border: 1px solid rgba(70, 103, 255, 0.16);
    border-radius: 999px;
    background: rgba(70, 103, 255, 0.10);
    color: var(--accent-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.nav-install-button[hidden] {
    display: none !important;
}

.nav a.active {
    background: linear-gradient(135deg, var(--accent) 0%, #6f87ff 100%);
    color: #fff;
    border-color: transparent;
}

.nav-form {
    margin: 0;
}

.nav-button {
    min-height: 41px;
    padding: 10px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.content {
    display: grid;
    gap: 20px;
}

.hero,
.panel,
.stat-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero {
    display: grid;
    gap: 20px;
    border-radius: 28px;
    padding: 24px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    max-width: 12ch;
}

.hero-text,
.muted-text {
    color: var(--ink-soft);
    line-height: 1.6;
}

.hero-panel,
.panel-grid,
.stats-grid,
.card-grid,
.dashboard-grid {
    display: grid;
    gap: 16px;
}

.stats-grid,
.card-grid,
.panel-grid,
.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stat-card,
.panel {
    border-radius: 24px;
    padding: 20px;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: var(--accent-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.highlight {
    background: linear-gradient(135deg, rgba(70, 103, 255, 0.16), rgba(255, 255, 255, 0.94));
}

.accent-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.96));
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
}

.compact-head {
    margin-bottom: 14px;
}

.dashboard-head {
    margin-bottom: 0;
}

.actions,
.inline-actions,
.top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #6d85ff 100%);
    color: #fff;
    box-shadow: 0 18px 32px rgba(70, 103, 255, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border: 1px solid var(--panel-border);
}

.text-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.player-delete-form {
    margin: 0;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    box-shadow: none;
}

.icon-button span {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
}

.icon-button-danger {
    color: var(--danger);
}

.badge,
.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.badge-neutral {
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink);
}

.badge-score {
    background: rgba(70, 103, 255, 0.12);
    color: var(--accent-dark);
}

.badge-success {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success);
}

.badge-muted {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.badge-goalkeeper {
    background: rgba(29, 78, 216, 0.12);
    color: var(--info);
}

.score-badge {
    background: var(--team-color, var(--accent));
    color: #fff;
    font-size: 1rem;
}

.steps {
    display: grid;
    gap: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.step span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 700;
}

.bullet-list {
    display: grid;
    gap: 12px;
    padding-left: 18px;
    margin: 0;
    line-height: 1.55;
}

.empty-state {
    text-align: center;
}

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.table th {
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.auth-panel {
    padding: 28px;
}

.auth-head {
    margin-bottom: 8px;
}

.auth-form {
    margin-top: 20px;
}

.dashboard-app {
    position: relative;
    padding: 8px 0 4px;
}

.dashboard-app::before,
.dashboard-app::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-app::before {
    top: -48px;
    right: -20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(70, 103, 255, 0.18), transparent 70%);
}

.dashboard-app::after {
    bottom: -80px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.16), transparent 70%);
}

.dashboard-app-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(20px, 3.5vw, 32px);
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 253, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(37, 99, 235, 0.10);
    overflow: hidden;
}

.dashboard-app-head {
    display: grid;
    gap: 18px;
    align-items: start;
}

.dashboard-app-head-compact {
    display: flex;
    justify-content: flex-end;
}

.dashboard-app-copy-block {
    max-width: 42rem;
}

.dashboard-app-head h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 0.96;
}

.dashboard-app-copy {
    margin: 8px 0 0;
    max-width: 42ch;
    color: var(--ink-soft);
    line-height: 1.6;
}

.dashboard-app-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-app-chip {
    justify-self: start;
    display: grid;
    gap: 4px;
    min-width: 132px;
    padding: 16px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #4a63ff 0%, #6e86ff 100%);
    color: #fff;
    box-shadow: 0 20px 36px rgba(70, 103, 255, 0.22);
}

.dashboard-app-chip span,
.dashboard-app-chip small {
    color: rgba(255, 255, 255, 0.82);
}

.dashboard-app-chip-soft {
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border: 1px solid rgba(226, 232, 240, 0.94);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-app-chip-soft span,
.dashboard-app-chip-soft small {
    color: var(--ink-soft);
}

.dashboard-app-chip strong {
    font-size: 2rem;
    line-height: 0.95;
}

.dashboard-tile-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-tile {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 192px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    cursor: pointer;
    appearance: none;
    font: inherit;
    text-align: left;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(70, 103, 255, 0.24);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.10);
}

.dashboard-tile-primary {
    grid-column: 1 / -1;
    min-height: 260px;
    background: linear-gradient(145deg, #4862ff 0%, #3d58f0 52%, #314be1 100%);
    color: #fff;
    box-shadow: 0 24px 48px rgba(62, 86, 235, 0.26);
    border-color: transparent;
}

.dashboard-tile-primary .dashboard-tile-text,
.dashboard-tile-primary .dashboard-tile-footer {
    color: rgba(255, 255, 255, 0.82);
}

.dashboard-tile-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: inherit;
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(70, 103, 255, 0.16), rgba(70, 103, 255, 0.08));
    color: var(--accent-dark);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.dashboard-tile-value {
    display: block;
    font-size: clamp(3.4rem, 8vw, 4.6rem);
    line-height: 0.9;
}

.dashboard-tile-title {
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-tile-meta {
    font-size: 1.22rem;
    line-height: 1.2;
}

.dashboard-tile-text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 24ch;
}

.dashboard-tile-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.dashboard-tile-metrics span,
.dashboard-tile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(70, 103, 255, 0.10);
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-tile-action {
    margin-top: auto;
    width: fit-content;
}

.dashboard-tile-primary .dashboard-tile-metrics span,
.dashboard-tile-primary .dashboard-tile-action {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.dashboard-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.dashboard-dock-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 18px;
    color: var(--ink-soft);
    font-weight: 700;
}

.dashboard-dock-link.is-active {
    background: rgba(70, 103, 255, 0.10);
    color: var(--accent-dark);
}

.feature-modal {
    width: min(720px, calc(100% - 20px));
    padding: 0;
    border: none;
    background: transparent;
}

.feature-modal::backdrop {
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(6px);
}

.feature-modal-card {
    display: grid;
    gap: 20px;
    padding: 26px;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.feature-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.feature-modal-kicker {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-modal-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1;
}

.feature-modal-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 14px;
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.feature-modal-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.feature-stat {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.94);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.feature-stat span {
    display: block;
    margin-bottom: 10px;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.feature-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.feature-highlight {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(70, 103, 255, 0.10), rgba(255, 255, 255, 0.94));
    border: 1px solid rgba(70, 103, 255, 0.14);
}

.feature-highlight strong {
    font-size: 1.06rem;
}

.feature-highlight p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.feature-actions,
.feature-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-form {
    display: grid;
}

.scoreboard-card-list {
    display: grid;
    gap: 10px;
}

.scoreboard-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.94);
}

.scoreboard-card-row.is-leading {
    border-color: rgba(70, 103, 255, 0.26);
    box-shadow: inset 0 0 0 1px rgba(70, 103, 255, 0.10);
}

.scoreboard-card-team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.scoreboard-card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(70, 103, 255, 0.08);
}

.scoreboard-card-dot-vermelho {
    background: #ef4444;
}

.scoreboard-card-dot-azul {
    background: #3b82f6;
}

.scoreboard-card-dot-amarelo {
    background: #facc15;
}

.compact-field {
    gap: 6px;
}

.field,
.toggle-field {
    display: grid;
    gap: 8px;
}

.field span,
.toggle-field span {
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    background: #ffffff;
    font: inherit;
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(70, 103, 255, 0.18);
    border-color: rgba(70, 103, 255, 0.34);
}

.toggle-field {
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
}

.field-error {
    color: var(--danger);
    font-size: 0.85rem;
}

.flash {
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 700;
}

.flash-success {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success);
}

.flash-error {
    background: rgba(185, 28, 28, 0.12);
    color: var(--danger);
}

.flash-info {
    background: rgba(29, 78, 216, 0.12);
    color: var(--info);
}

.selection-grid {
    display: grid;
    gap: 12px;
}

.selection-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.78);
}

.selection-card input {
    width: 18px;
    height: 18px;
}

.selection-main {
    display: grid;
    gap: 4px;
}

.team-card {
    border-top: 8px solid var(--team-color, var(--accent));
}

.player-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.player-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.player-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.narrow-panel {
    max-width: 760px;
}

.code-block {
    overflow-x: auto;
    padding: 14px;
    border-radius: 16px;
    background: #1f2937;
    color: #f9fafb;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1.5fr 1fr;
        align-items: stretch;
        padding: 32px;
    }

    .dashboard-app-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .dashboard-app-chip-group {
        justify-content: flex-end;
    }

    .dashboard-tile-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-tile-primary {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 820px) {
    .topbar {
        align-items: center;
    }

    .topbar .eyebrow {
        display: none;
    }

    .brand {
        font-size: 1.55rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 30;
        display: none;
        min-width: 240px;
        padding: 12px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(226, 232, 240, 0.94);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
        backdrop-filter: blur(12px);
        justify-content: stretch;
    }

    .nav.is-open {
        display: grid;
    }

    .nav a,
    .nav-user,
    .nav-button,
    .nav-install-button {
        width: 100%;
        min-height: 44px;
        border-radius: 16px;
    }

    .nav a,
    .nav-user,
    .nav-install-button {
        justify-content: flex-start;
    }

    .nav-form {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .section-head .button {
        width: 100%;
    }

    .dashboard-app-shell {
        gap: 16px;
        padding: 16px;
        border-radius: 28px;
    }

    .dashboard-app-chip-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
    }

    .dashboard-app-chip {
        min-width: 0;
        padding: 14px 14px;
        border-radius: 20px;
    }

    .dashboard-app-chip strong {
        font-size: 1.55rem;
    }

    .dashboard-tile-grid {
        gap: 12px;
    }

    .dashboard-tile {
        min-height: 148px;
        padding: 16px;
        border-radius: 22px;
    }

    .dashboard-tile-primary {
        min-height: 210px;
    }

    .dashboard-tile-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 0.8rem;
    }

    .dashboard-tile-value {
        font-size: 3rem;
    }

    .dashboard-tile-meta {
        font-size: 1.02rem;
    }

    .dashboard-tile-title {
        font-size: 0.95rem;
    }

    .dashboard-tile-text {
        font-size: 0.82rem;
        line-height: 1.35;
        max-width: none;
    }

    .dashboard-tile-metrics {
        gap: 6px;
    }

    .dashboard-tile-metrics span,
    .dashboard-tile-action {
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.76rem;
    }

    .dashboard-dock {
        display: none;
    }

    .feature-modal-card {
        padding: 22px;
        border-radius: 28px;
    }

    .feature-actions .button,
    .feature-form .button {
        width: 100%;
    }

    .players-panel {
        padding: 14px;
    }

    .table-wrap-players {
        overflow-x: visible;
    }

    .players-table,
    .players-table tbody,
    .players-table tr,
    .players-table td {
        display: block;
        width: 100%;
    }

    .players-table thead {
        display: none;
    }

    .players-table tr {
        padding: 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(226, 232, 240, 0.94);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    }

    .players-table tbody {
        display: grid;
        gap: 12px;
    }

    .players-table td {
        padding: 0;
        border-bottom: none;
    }

    .players-table td + td {
        margin-top: 10px;
    }

    .players-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--ink-soft);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .players-table .player-col-level,
    .players-table .player-col-goalkeeper,
    .players-table .player-col-status {
        display: none;
    }

    .players-table .player-col-name {
        font-size: 1rem;
        font-weight: 700;
    }

    .players-table .player-col-name::before {
        margin-bottom: 6px;
    }

    .players-table .player-col-action .text-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(70, 103, 255, 0.10);
        color: var(--accent-dark);
    }

    .players-table .player-actions {
        justify-content: flex-start;
    }
}

@media print {
    body {
        background: #fff;
    }

    .topbar,
    .button,
    .flash {
        display: none !important;
    }

    .page-shell {
        width: 100%;
        padding: 0;
    }

    .panel,
    .stat-card,
    .hero {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
