* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --brand-blue: #0B5A93;
    --brand-blue-dark: #071B46;
    --brand-blue-mid: #123B73;
    --brand-green: #007A4D;
    --brand-green-soft: #6FAE56;
    --brand-gold: #D5A62C;

    --bg: #06132E;
    --bg-2: #0A1C44;
    --card: rgba(10, 24, 68, 0.82);
    --card-line: rgba(255,255,255,0.10);
    --text: #F4F7FB;
    --text-soft: rgba(244, 247, 251, 0.78);
    --muted: rgba(244, 247, 251, 0.58);
    --white: #FFFFFF;
    --success: #4CAF50;
    --danger: #D94A4A;

    --shadow: 0 20px 40px rgba(0,0,0,0.25);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;

    --container: 1180px;
    --topbar-h: 78px;
    --mobile-nav-h: 78px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(6, 19, 46, 0.94), rgba(6, 19, 46, 0.96)),
        url("img/bg-gramado.png") center/cover fixed no-repeat;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.topbar,
.page-section,
.site-footer,
.mobile-nav,
.section-card,
.auth-wrap,
.auth-card,
.form-stack,
input,
select,
textarea,
button {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--topbar-h);
    background: linear-gradient(90deg, rgba(7,27,70,0.96), rgba(11,90,147,0.88));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.topbar-brand img.topbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.topbar-brand span {
    font-size: 14px;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    margin-right: 0.5cm;
}

.topbar-menu-toggle {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.topbar-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
}

.topbar-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.topbar-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.topbar-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.admin-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 10, 24, 0.62);
    z-index: 70;
}

.admin-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100vh;
    padding: 22px;
    background: linear-gradient(180deg, rgba(7,27,70,0.98), rgba(10,24,68,0.98));
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -20px 0 40px rgba(0,0,0,0.28);
    z-index: 80;
}

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

.admin-drawer-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.admin-drawer-list {
    display: grid;
    gap: 10px;
}

.admin-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 0 16px;
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.admin-drawer-link.is-active {
    background: rgba(111,174,86,0.16);
    border-color: rgba(111,174,86,0.42);
}

.admin-drawer-icon {
    font-size: 24px;
}

.mini-link {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    opacity: 0.92;
}

.mini-link:hover {
    opacity: 1;
}

.topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
}

/* HERO */
.page-section {
    padding: 24px 0;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(7,27,70,0.76), rgba(0,122,77,0.38)),
        url("img/hero-futebol.jpg") center/cover no-repeat;
    min-height: 360px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,27,70,0.28), rgba(7,27,70,0.62));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 34px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: rgba(255,255,255,0.12);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 58px;
    line-height: 1;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text);
    margin: 0 0 14px;
    font-weight: 700;
}

.hero-lead {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 22px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
}

.hero-stat {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: rgba(238, 241, 216, 0.94);
    color: #27354E;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(90deg, #2F8E47, #78B34A);
    color: var(--white);
    box-shadow: 0 12px 22px rgba(47, 142, 71, 0.24);
}

.button-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
}

.button-gold {
    background: linear-gradient(90deg, #C99115, #E1B33F);
    color: #1C2130;
}

.button-danger {
    background: #B63B3B;
    color: #fff;
}

.button-sm {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 15px;
}

/* CARDS / SECTIONS */
.section-card {
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    padding: 26px;
    margin-top: 22px;
    overflow: hidden;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(111, 174, 86, 0.18);
    color: #CFE7B9;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.section-desc {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.6;
}

/* TOP 3 */
.top3-list {
    display: grid;
    gap: 14px;
}

.top3-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
}

.top3-medal {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

.top3-name {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.top3-meta {
    color: var(--muted);
    font-size: 15px;
}

.top3-goals {
    min-width: 144px;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(115, 155, 58, 0.92), rgba(151, 186, 78, 0.92));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

/* QUICK ACTIONS */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.quick-action {
    min-height: 86px;
    border-radius: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    font-size: 24px;
    flex-shrink: 0;
}

.quick-action strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.quick-action span {
    color: var(--text-soft);
    font-size: 14px;
}

/* TEAM LIST */
.team-list {
    display: grid;
    gap: 18px;
}

.team-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    min-height: 138px;
    padding: 18px 22px;
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(10,24,68,0.82), rgba(10,24,68,0.52)),
        url("img/banner-ranking.jpg") center/cover no-repeat;
    border: 1px solid rgba(255,255,255,0.08);
}

.team-row h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
}

.team-row .team-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.team-row .team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.team-row .team-last {
    color: var(--text-soft);
    font-size: 15px;
}

/* TABLES */
.table-card {
    overflow: hidden;
}

.table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.table-filter {
    min-width: 170px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    color: var(--text);
    padding: 0 14px;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table th,
.table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}

.table thead th {
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 700;
}

.table tbody td {
    font-size: 18px;
    color: var(--text);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

.rank-cell {
    width: 90px;
    font-size: 28px;
    font-weight: 800;
}

.player-column {
    min-width: 0;
}

.player-column strong {
    display: block;
    overflow-wrap: anywhere;
}

.goals-column {
    width: 120px;
    text-align: right;
}

.table td.goals-column,
.table th.goals-column {
    text-align: right;
}

.rank-cell-inner {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.rank-number {
    display: inline-block;
    justify-self: end;
}

.rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    font-size: 24px;
    line-height: 1;
}

.rank-medal-empty {
    visibility: hidden;
}

.goal-pill {
    min-width: 92px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(115, 155, 58, 0.92), rgba(151, 186, 78, 0.92));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.leader-row {
    background: rgba(255, 214, 66, 0.06);
}

.top10-elite-row td {
    background: rgba(212, 175, 55, 0.27);
    border-bottom-color: rgba(212, 175, 55, 0.47);
}

.top10-elite-row:hover td {
    background: rgba(212, 175, 55, 0.38);
}

.top10-badge-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.top10-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.22);
    border: 1px solid rgba(212, 175, 55, 0.36);
    color: #F8E7A3;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.top10-badge-text {
    color: rgba(248, 231, 163, 0.88);
    font-size: 14px;
    font-weight: 700;
}
/* FEED */
.feed-list {
    display: grid;
    gap: 0;
}

.feed-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feed-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
}

.feed-meta {
    color: var(--text-soft);
    font-size: 14px;
}

/* ADMIN */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.summary-card {
    min-height: 128px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
}

.summary-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.summary-value {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.summary-label {
    color: var(--text-soft);
    font-size: 14px;
}

.time-active-form {
    max-width: 420px;
}

.time-active-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-soft);
}

.grid-admin {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-box {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
}

.admin-box h3 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 800;
}

.admin-box-single {
    max-width: 760px;
}

.goal-register-panel {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.goal-register-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.goal-register-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.goal-register-subtitle {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.goal-register-total {
    min-width: 116px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(11, 90, 147, 0.22);
    border: 1px solid rgba(255,255,255,0.10);
    text-align: center;
}

.goal-register-total span {
    display: block;
    color: var(--text-soft);
    font-size: 13px;
    margin-bottom: 4px;
}

.goal-register-total strong {
    font-size: 28px;
    font-weight: 800;
}

.goal-player-list {
    display: grid;
    gap: 12px;
}

.goal-player-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.goal-player-main {
    min-width: 0;
}

.goal-player-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.goal-player-meta {
    color: var(--text-soft);
    font-size: 14px;
}

.goal-player-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goal-player-count {
    min-width: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
}

.button-score-add,
.button-score-remove {
    min-width: 56px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
}

.button-score-add:disabled,
.button-score-remove:disabled {
    opacity: 0.7;
    cursor: wait;
}

.goal-player-empty {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.14);
    color: var(--text-soft);
    text-align: center;
    line-height: 1.6;
}

.form-stack {
    display: grid;
    gap: 12px;
    width: 100%;
}

label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-soft);
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    border-radius: 16px;
    padding: 0 16px;
    font-size: 16px;
    outline: none;
}

textarea {
    min-height: 100px;
    padding-top: 14px;
    resize: vertical;
}

input[readonly] {
    opacity: 0.92;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(111,174,86,0.54);
    box-shadow: 0 0 0 4px rgba(111,174,86,0.12);
}

.feedback-inline {
    margin-top: 12px;
    min-height: 54px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 0 16px;
    font-weight: 700;
}

.feedback-success {
    background: rgba(76, 175, 80, 0.16);
    color: #B5E2B6;
    border: 1px solid rgba(76, 175, 80, 0.20);
}

.feedback-error {
    background: rgba(217, 74, 74, 0.14);
    color: #F1B2B2;
    border: 1px solid rgba(217, 74, 74, 0.18);
}

.alert {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 700;
}

.alert-success {
    background: rgba(76, 175, 80, 0.16);
    color: #B5E2B6;
    border: 1px solid rgba(76, 175, 80, 0.20);
}

.alert-error {
    background: rgba(217, 74, 74, 0.14);
    color: #F1B2B2;
    border: 1px solid rgba(217, 74, 74, 0.18);
}

.hidden {
    display: none !important;
}

.scroll-box {
    overflow: auto;
}

/* FOOTER / MOBILE NAV */
.site-footer {
    padding: 26px 0 110px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--text-soft);
    font-size: 14px;
}

.mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: var(--mobile-nav-h);
    background: rgba(7, 27, 70, 0.96);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.mobile-nav-inner {
    height: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.mobile-nav a.active {
    color: #BDE77A;
}

.mobile-nav .icon {
    font-size: 24px;
    line-height: 1;
}

/* LOGIN/CADASTRO */
.auth-wrap {
    min-height: calc(100vh - var(--topbar-h) - var(--mobile-nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 0;
}

.auth-card {
    width: 100%;
    max-width: 520px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .quick-actions,
    .grid-admin,
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 760px) {
    .container {
        padding: 0 12px;
    }

    .topbar {
        width: 100%;
        overflow: hidden;
    }

    .topbar-inner {
        gap: 10px;
        padding-left: 0;
        padding-right: 0;
    }

    .topbar-brand {
        min-width: 0;
        overflow: hidden;
    }

    .topbar-brand img.topbar-logo {
        max-width: 110px;
        height: auto;
    }

    .topbar-brand span {
        display: none;
    }

    .topbar-actions {
        gap: 12px;
        flex-shrink: 1;
        min-width: 0;
        margin-right: 0.5cm;
    }

    .topbar-user {
        display: none;
    }

    .hero-panel,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        padding: 22px 16px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat {
        font-size: 16px;
    }

    .section-card {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .auth-wrap {
        padding: 0;
        min-height: auto;
    }

    .auth-card {
        width: 100%;
        max-width: 100%;
    }

    input,
    select,
    textarea,
    .button {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 24px;
    }

    .top3-item {
        grid-template-columns: 58px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .top3-goals {
        grid-column: 1 / -1;
        width: fit-content;
        min-width: 118px;
        min-height: 50px;
        font-size: 18px;
    }

    .top3-name {
        font-size: 22px;
    }

    .quick-actions,
    .summary-grid,
    .grid-admin {
        grid-template-columns: 1fr;
    }

    .goal-register-head,
    .goal-player-row {
        grid-template-columns: 1fr;
    }

    .goal-register-total,
    .goal-player-score {
        width: 100%;
    }

    .goal-player-score {
        justify-content: space-between;
    }

    .team-row {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 16px;
    }

    .table tbody td,
    .table thead th {
        padding: 14px 10px;
    }

    .table {
        table-layout: auto;
    }

    .rank-cell {
        width: 58px;
        font-size: 22px;
    }

    .goals-column {
        width: 88px;
    }

    .goal-pill {
        min-width: 72px;
        min-height: 42px;
        padding: 0 12px;
        font-size: 16px;
    }

    .feed-item {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

