:root {
    color-scheme: light;
}

/* Portal v0.27.9: abertura programada das reservas. */
.fut-rsvp-window {
    display: grid;
    margin: 0;
    padding: 10px 12px;
    grid-template-columns: 9px 1fr;
    gap: 2px 8px;
    align-items: center;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    background: #f7fafc;
    color: #173d66;
}

.fut-rsvp-window > span {
    width: 9px;
    height: 9px;
    grid-row: 1 / 3;
    border-radius: 50%;
    background: #d5a713;
    box-shadow: 0 0 0 4px rgba(213,167,19,.13);
}

.fut-rsvp-window strong,
.fut-rsvp-window small {
    display: block;
}

.fut-rsvp-window small {
    color: #66788c;
}

.fut-rsvp-window.is-open > span {
    background: #159447;
    box-shadow: 0 0 0 4px rgba(21,148,71,.12);
}

.fut-player-actions button:disabled {
    cursor: not-allowed;
    opacity: .42;
    filter: grayscale(.35);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    background: #eef3f9;
    overflow-x: hidden;
}

body.fut-blank-canvas {
    color: #12233a;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fut-player-portal {
    --navy: #052b59;
    --blue: #0b63b6;
    --blue-light: #eaf4ff;
    --red: #d3263f;
    --green: #16864a;
    --amber: #a86600;
    --ink: #12233a;
    --muted: #5b6c82;
    --line: #d8e1ec;
    box-sizing: border-box;
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 22px 22px 110px;
}

.fut-player-portal *,
.fut-player-portal *::before,
.fut-player-portal *::after {
    box-sizing: border-box;
}

.fut-appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    margin-bottom: 18px;
}

.fut-brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--navy);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.fut-brand > span:first-child {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: 20px;
    font-style: italic;
    box-shadow: inset 0 -4px 0 var(--red);
}

.fut-top-nav {
    display: flex;
    gap: 8px;
}

.fut-top-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: #43536a;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.fut-top-nav a:hover {
    background: #fff;
    color: var(--blue);
}

.fut-welcome {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 210px;
    min-height: 250px;
    align-items: center;
    overflow: hidden;
    padding: 38px 44px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 82% 120%, transparent 0 90px, rgba(211, 38, 63, .9) 92px 120px, transparent 122px),
        linear-gradient(135deg, #052b59 0%, #074584 58%, #0b63b6 100%);
    color: #fff;
    box-shadow: 0 22px 54px rgba(5, 43, 89, .2);
}

.fut-welcome::before {
    position: absolute;
    top: -70px;
    right: 18%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.fut-welcome-copy {
    position: relative;
    z-index: 1;
}

.fut-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: inherit;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.fut-welcome h1 {
    max-width: 670px;
    margin: 0;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 880;
    letter-spacing: -.025em;
    line-height: .98;
}

.fut-welcome p {
    max-width: 560px;
    margin: 16px 0 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.5;
}

.fut-position {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 13px;
    font-weight: 800;
}

.fut-player-photo,
.fut-player-initial {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: 180px;
    height: 190px;
    border: 7px solid rgba(255, 255, 255, .13);
    border-radius: 30px;
    background: rgba(255, 255, 255, .1);
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
}

.fut-player-initial {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 72px;
    font-weight: 900;
}

.fut-portal-notice {
    display: flex;
    gap: 4px;
    flex-direction: column;
    margin: 0 0 16px;
    padding: 15px 18px;
    border: 1px solid #b8dcc8;
    border-left: 5px solid var(--green);
    border-radius: 14px;
    background: #edfaf2;
    color: #0d5930;
}

.fut-portal-notice span {
    font-size: 14px;
}

.fut-match-card,
.fut-profile-card {
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(26, 54, 91, .08);
}

.fut-match-card {
    padding: 30px;
    scroll-margin-top: 20px;
}

.fut-section-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.fut-section-head .fut-eyebrow,
.fut-profile-card .fut-eyebrow {
    color: var(--blue);
}

.fut-section-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.035em;
}

.fut-status {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.fut-status-confirmed {
    background: #e4f6ec;
    color: var(--green);
}

.fut-status-declined {
    background: #ffedf0;
    color: #a71e33;
}

.fut-status-pending {
    background: #fff4dd;
    color: var(--amber);
}

.fut-match-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.fut-match-facts > div {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid #e1e8f1;
    border-radius: 16px;
    background: #f8fafc;
}

.fut-fact-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 21px;
    font-weight: 900;
}

.fut-match-facts small,
.fut-match-facts strong {
    display: block;
}

.fut-match-facts small {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.fut-match-facts strong {
    color: var(--ink);
    font-size: 16px;
}

.fut-squad-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin: 18px 0 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--navy);
    color: #fff;
}

.fut-summary-copy strong,
.fut-summary-copy span {
    display: block;
}

.fut-summary-copy strong {
    font-size: 17px;
}

.fut-summary-copy span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.fut-summary-numbers {
    display: flex;
    gap: 10px;
}

.fut-summary-numbers > span {
    min-width: 74px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 750;
    text-align: center;
    text-transform: uppercase;
}

.fut-summary-numbers strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 20px;
}

.fut-summary-numbers .is-confirmed strong {
    color: #65dea0;
}

.fut-summary-numbers .is-pending strong {
    color: #ffd470;
}

.fut-summary-numbers .is-declined strong {
    color: #ff8597;
}

.fut-decision {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.fut-decision h3 {
    margin: 0;
    color: var(--navy);
    font-size: 25px;
}

.fut-decision > p {
    margin: 6px 0 18px;
    color: var(--muted);
}

.fut-player-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fut-choice {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 14px;
    border: 2px solid transparent;
    border-radius: 18px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.fut-choice:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(18, 35, 58, .12);
}

.fut-choice > span {
    display: grid;
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 900;
}

.fut-choice strong {
    align-self: end;
    font-size: 16px;
}

.fut-choice small {
    align-self: start;
    margin-top: 3px;
    opacity: .72;
    font-size: 12px;
}

.fut-yes {
    background: #e7f4ff;
    color: #07569d;
}

.fut-yes > span {
    background: var(--blue);
    color: #fff;
}

.fut-no {
    background: #fff0f2;
    color: #a71e33;
}

.fut-no > span {
    background: var(--red);
    color: #fff;
}

.fut-maybe {
    background: #f1f4f8;
    color: #41536a;
}

.fut-maybe > span {
    background: #dbe3ed;
    color: #33475f;
}

.fut-choice.fut-current {
    border-color: currentColor;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(11, 99, 182, .14);
}

.fut-player-actions[aria-busy="true"] .fut-choice {
    cursor: wait;
    opacity: .58;
}

.fut-player-answer {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.fut-empty-state {
    padding: 34px 20px;
    text-align: center;
}

.fut-empty-state > span {
    font-size: 44px;
}

.fut-empty-state h2 {
    margin: 12px 0 6px;
    color: var(--navy);
}

.fut-empty-state p {
    margin: 0;
    color: var(--muted);
}

.fut-profile-card {
    scroll-margin-top: 20px;
}

.fut-profile-card > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    padding: 20px 26px;
    border-radius: 26px;
    list-style: none;
    cursor: pointer;
}

.fut-profile-card > summary::-webkit-details-marker {
    display: none;
}

.fut-profile-card summary > span:first-child,
.fut-profile-card summary strong,
.fut-profile-card summary small {
    display: block;
}

.fut-profile-card summary strong {
    color: var(--navy);
    font-size: 22px;
}

.fut-profile-card summary small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.fut-summary-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #edf2f7;
    color: var(--navy);
    font-size: 22px;
    transition: transform .2s ease;
}

.fut-profile-card[open] .fut-summary-arrow {
    transform: rotate(180deg);
}

.fut-profile-content {
    padding: 0 26px 28px;
}

.fut-profile-alert {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-left: 4px solid var(--red);
    border-radius: 10px;
    background: #fff0f2;
    color: #8f1b2d;
    font-size: 14px;
    font-weight: 700;
}

.fut-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fut-player-profile label {
    color: #2b3d54;
    font-size: 13px;
    font-weight: 800;
}

.fut-player-profile input,
.fut-player-profile select {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid #cbd6e3;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.fut-player-profile input:focus,
.fut-player-profile select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11, 99, 182, .13);
}

.fut-save-profile {
    min-height: 50px;
    margin-top: 18px;
    padding: 12px 19px;
    border: 0;
    border-radius: 13px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.fut-save-profile:disabled {
    cursor: wait;
    opacity: .58;
}

.fut-player-footer {
    display: flex;
    justify-content: space-between;
    padding: 26px 4px 0;
    color: #718096;
    font-size: 12px;
}

.fut-bottom-nav {
    display: none;
}

.fut-player-denied,
.fut-password-first {
    box-sizing: border-box;
    width: min(520px, calc(100% - 32px));
    margin: 8vh auto;
    padding: 32px;
    border-top: 7px solid var(--red, #d3263f);
    border-radius: 22px;
    background: #fff;
    color: #102642;
    text-align: center;
    box-shadow: 0 18px 55px rgba(7, 59, 120, .16);
}

.fut-player-portal a:focus-visible,
.fut-player-portal button:focus-visible,
.fut-player-portal summary:focus-visible {
    outline: 3px solid #ffb000;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .fut-player-portal {
        padding: 10px 12px 100px;
    }

    .fut-appbar {
        min-height: 54px;
        margin-bottom: 10px;
    }

    .fut-brand > span:first-child {
        width: 36px;
        height: 36px;
    }

    .fut-brand > span:last-child,
    .fut-top-nav {
        display: none;
    }

    .fut-welcome {
        grid-template-columns: 1fr 110px;
        min-height: 190px;
        padding: 24px 18px;
        border-radius: 22px;
    }

    .fut-welcome h1 {
        font-size: clamp(35px, 11vw, 48px);
    }

    .fut-welcome p {
        max-width: 235px;
        margin: 11px 0 14px;
        font-size: 14px;
    }

    .fut-player-photo,
    .fut-player-initial {
        width: 104px;
        height: 126px;
        border-width: 5px;
        border-radius: 22px;
    }

    .fut-player-initial {
        font-size: 46px;
    }

    .fut-match-card {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .fut-section-head {
        display: block;
    }

    .fut-section-head h2 {
        margin-bottom: 12px;
        font-size: 30px;
    }

    .fut-status {
        min-height: 32px;
        font-size: 12px;
    }

    .fut-match-facts {
        gap: 7px;
        margin-top: 18px;
    }

    .fut-match-facts > div {
        display: block;
        min-height: 94px;
        padding: 10px 8px;
        text-align: center;
    }

    .fut-fact-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 6px;
        font-size: 17px;
    }

    .fut-match-facts strong {
        font-size: 13px;
    }

    .fut-squad-summary {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .fut-summary-numbers {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .fut-summary-numbers > span {
        min-width: 0;
        padding: 7px 3px;
        font-size: 9px;
    }

    .fut-player-actions {
        grid-template-columns: 1fr;
    }

    .fut-choice {
        min-height: 76px;
    }

    .fut-profile-card > summary {
        min-height: 88px;
        padding: 17px 18px;
    }

    .fut-profile-content {
        padding: 0 18px 22px;
    }

    .fut-profile-fields {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .fut-save-profile {
        width: 100%;
    }

    .fut-player-footer {
        display: block;
        text-align: center;
    }

    .fut-player-footer span {
        display: block;
        margin-top: 3px;
    }

    .fut-bottom-nav {
        position: fixed;
        z-index: 50;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        padding: 7px;
        border: 1px solid rgba(255, 255, 255, .5);
        border-radius: 18px;
        background: rgba(5, 43, 89, .94);
        box-shadow: 0 18px 42px rgba(5, 43, 89, .3);
        backdrop-filter: blur(16px);
    }

    .fut-bottom-nav a {
        display: flex;
        gap: 4px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        border-radius: 12px;
        color: rgba(255, 255, 255, .82);
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
    }

    .fut-bottom-nav a:active {
        background: rgba(255, 255, 255, .12);
    }

    .fut-bottom-nav a > span {
        color: #fff;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fut-choice,
    .fut-summary-arrow {
        transition: none;
    }
}

/* Segurança da conta v0.19.5. */
.fut-security-card {
    margin-top: 38px;
    border: 1px solid #dfe7f0;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.fut-security-card > summary {
    display: flex;
    min-height: 78px;
    padding: 18px 20px;
    gap: 14px;
    align-items: center;
    list-style: none;
    color: #0b315d;
    cursor: pointer;
}

.fut-security-card > summary::-webkit-details-marker {
    display: none;
}

.fut-security-card summary > span:nth-child(2) {
    display: grid;
    gap: 3px;
    flex: 1;
}

.fut-security-card summary strong {
    font-size: 16px;
}

.fut-security-card summary small {
    color: #718096;
    font-size: 12px;
}

.fut-security-card summary > i {
    font-style: normal;
    transition: transform .2s ease;
}

.fut-security-card[open] summary > i {
    transform: rotate(180deg);
}

.fut-security-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #eef5fd;
    color: #0b63b6;
}

.fut-security-icon svg {
    width: 21px;
    height: 21px;
}

.fut-security-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 20px 22px;
    border-top: 1px solid #e7edf4;
}

.fut-security-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.fut-security-form label:first-of-type,
.fut-security-form .fut-save-password {
    grid-column: 1 / -1;
}

.fut-security-form input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #cfd9e4;
    border-radius: 10px;
    background: #fff;
    color: #102642;
    font: inherit;
}

.fut-security-form label > small {
    color: #718096;
    font-size: 10px;
    font-weight: 600;
}

.fut-security-form .fut-password-control {
    position: relative;
    display: block;
}

.fut-security-form .fut-password-control input {
    padding-right: 82px;
}

.fut-security-form .fut-password-control button {
    position: absolute;
    top: 50%;
    right: 8px;
    min-height: 32px;
    padding: 0 9px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: #eef5fd;
    color: #0b63b6;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.fut-save-password {
    justify-self: start;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #073b78;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

@media (max-width: 680px) {
    .fut-security-card {
        margin-top: 24px;
        border-radius: 14px;
    }

    .fut-security-form {
        grid-template-columns: 1fr;
        padding: 20px 16px;
    }

    .fut-security-form label:first-of-type,
    .fut-security-form .fut-save-password {
        grid-column: auto;
    }

    .fut-save-password {
        width: 100%;
    }
}

/* Escalação v0.20.0. */
.fut-player-lineup {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    margin-top: 18px;
    padding: 15px 16px;
    border-left: 5px solid currentColor;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(4, 34, 68, .08);
}

.fut-player-lineup::before {
    content: '';
    grid-row: 1 / 4;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    background: currentColor;
}

.fut-player-lineup.is-blue {
    color: #0b63b6;
}

.fut-player-lineup.is-red {
    color: #c9223c;
}

.fut-player-lineup span,
.fut-player-lineup small {
    color: #718096;
    font-size: 10px;
    font-weight: 750;
}

.fut-player-lineup strong {
    font-size: 20px;
    line-height: 1.05;
}

/* Ficha completa do jogador */
.fut-portal-notice.is-error {
    border-color: #efb9c1;
    border-left-color: var(--red);
    background: #fff0f2;
    color: #8f1b2d;
}

.fut-profile-section {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.fut-profile-section:first-of-type {
    padding-top: 4px;
    border-top: 0;
}

.fut-profile-section-title {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.fut-profile-section-title > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.fut-profile-section-title h3,
.fut-profile-section-title p {
    margin: 0;
}

.fut-profile-section-title h3 {
    color: var(--navy);
    font-size: 19px;
}

.fut-profile-section-title p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.fut-profile-fields .is-wide {
    grid-column: 1 / -1;
}

.fut-player-profile .fut-position-summary {
    display: block;
    min-height: 48px;
    margin-top: 7px;
    padding: 10px 11px;
    border-radius: 10px;
    background: #f2f6fa;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.fut-measure-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fut-photo-editor-grid {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.fut-face-preview {
    position: relative;
    display: grid;
    width: 160px;
    height: 160px;
    place-items: center;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #dfe8f1, #f7f9fb);
    box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(18, 35, 58, .13);
}

.fut-face-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fut-face-preview span {
    color: var(--navy);
    font-size: 54px;
    font-weight: 900;
}

.fut-photo-file {
    display: inline-flex !important;
    min-height: 44px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--navy);
    color: #fff !important;
    cursor: pointer;
}

.fut-photo-file input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.fut-photo-controls > small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.fut-crop-controls {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.fut-crop-controls[hidden] {
    display: none !important;
}

.fut-crop-stage {
    position: relative;
    width: min(360px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: hidden;
    background: #eef2f5;
    cursor: grab;
    isolation: isolate;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.fut-crop-stage.is-dragging {
    cursor: grabbing;
}

.fut-crop-stage:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.fut-crop-controls canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #eef2f5;
    pointer-events: none;
}

.fut-face-guide {
    position: absolute;
    inset: 11%;
    border: 2px solid rgba(255, 255, 255, .96);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 999px rgba(7, 18, 31, .42), inset 0 0 0 1px rgba(8, 40, 75, .18);
}

.fut-crop-hint {
    position: absolute;
    bottom: 7%;
    left: 50%;
    z-index: 2;
    padding: 7px 11px;
    background: rgba(5, 31, 58, .82);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    pointer-events: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.fut-crop-toolbar {
    display: grid;
    width: min(520px, 100%);
    gap: 12px;
    margin: 0 auto;
}

.fut-crop-zoom {
    display: grid !important;
    grid-template-columns: auto 42px minmax(0, 1fr) 42px 48px;
    gap: 9px;
    align-items: center;
    font-size: 11px;
}

.fut-crop-zoom button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #c8d5e2;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.fut-crop-zoom button:hover,
.fut-crop-zoom button:focus-visible {
    border-color: var(--blue);
    background: #eaf3fc;
    outline: none;
}

.fut-crop-zoom output {
    color: var(--navy);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    text-align: right;
}

.fut-crop-controls input[type="range"] {
    min-height: 28px;
    padding: 0;
    accent-color: var(--blue);
}

.fut-crop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fut-crop-actions button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--navy);
    border-radius: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.fut-crop-reset {
    background: #fff;
    color: var(--navy);
}

.fut-crop-apply {
    background: var(--navy);
    color: #fff;
}

.fut-crop-actions button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.fut-photo-status {
    min-height: 20px;
    margin: 9px 0 0;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.fut-autosave-status {
    display: flex;
    grid-column: 1 / -1;
    min-height: 58px;
    padding: 12px 18px;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    background: rgba(241, 247, 252, .97);
    color: #314861;
}

.fut-autosave-status > span:last-child {
    display: grid;
    gap: 2px;
}

.fut-autosave-status strong,
.fut-autosave-status small {
    display: block;
}

.fut-autosave-status strong {
    color: var(--navy);
    font-size: 12px;
}

.fut-autosave-status small {
    color: var(--muted);
    font-size: 10px;
}

.fut-autosave-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #20a36a;
    box-shadow: 0 0 0 5px rgba(32, 163, 106, .12);
}

.fut-autosave-status[data-state="pending"] .fut-autosave-dot,
.fut-autosave-status[data-state="saving"] .fut-autosave-dot {
    background: #0b63b6;
    box-shadow: 0 0 0 5px rgba(11, 99, 182, .12);
}

.fut-autosave-status[data-state="saving"] .fut-autosave-dot {
    animation: fut-autosave-pulse 1s ease-in-out infinite;
}

.fut-autosave-status[data-state="invalid"] .fut-autosave-dot,
.fut-autosave-status[data-state="error"] .fut-autosave-dot {
    background: #d3263f;
    box-shadow: 0 0 0 5px rgba(211, 38, 63, .12);
}

.fut-player-profile input:invalid:not(:placeholder-shown) {
    border-color: #d3263f;
    box-shadow: inset 0 -2px 0 #d3263f;
}

.fut-player-profile noscript {
    grid-column: 1 / -1;
}

@keyframes fut-autosave-pulse {
    50% { transform: scale(1.35); opacity: .65; }
}

@media (max-width: 760px) {
    .fut-profile-fields .is-wide {
        grid-column: auto;
    }

    .fut-measure-fields {
        grid-template-columns: 1fr 1fr;
    }

    .fut-photo-editor-grid {
        grid-template-columns: 1fr;
    }

    .fut-face-preview {
        width: 132px;
        height: 132px;
        margin: 0 auto;
    }

    .fut-photo-file {
        width: 100%;
    }

    .fut-crop-stage {
        width: min(320px, 100%);
    }

    .fut-crop-actions {
        grid-template-columns: 1fr;
    }
}

/* Portal v0.16: shell full screen com navegação lateral. */
body.fut-blank-canvas {
    min-height: 100vh;
    background: #f4f7fb;
}

body.fut-blank-canvas #fut-page-content,
body.fut-blank-canvas #fut-page-content > .elementor,
body.fut-blank-canvas #fut-page-content > .elementor > .e-con,
body.fut-blank-canvas #fut-page-content > .elementor > .e-con > .e-con-inner,
body.fut-blank-canvas #fut-page-content .elementor-widget-shortcode,
body.fut-blank-canvas #fut-page-content .elementor-widget-shortcode > .elementor-widget-container,
body.fut-blank-canvas #fut-page-content .elementor-shortcode {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.fut-player-shell,
.fut-player-shell *,
.fut-player-shell *::before,
.fut-player-shell *::after {
    box-sizing: border-box;
}

.fut-player-shell {
    --fut-sidebar-width: 278px;
    min-height: 100vh;
    background: #f4f7fb;
    color: #12233a;
}

.fut-player-sidebar {
    position: fixed;
    z-index: 100;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--fut-sidebar-width);
    padding: 24px 18px 20px;
    flex-direction: column;
    overflow-y: auto;
    background:
        radial-gradient(circle at 100% 0, rgba(255,255,255,.12), transparent 34%),
        linear-gradient(165deg, #052b59 0%, #063b75 56%, #0b63b6 100%);
    color: #fff;
}

.fut-sidebar-brand {
    display: grid;
    gap: 10px;
    padding: 2px 8px 24px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.fut-sidebar-brand img {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,.2));
}

.fut-sidebar-brand strong,
.fut-sidebar-brand small,
.fut-sidebar-account-copy strong,
.fut-sidebar-account-copy small {
    display: block;
}

.fut-sidebar-brand strong {
    font-size: 15px;
    letter-spacing: .02em;
}

.fut-sidebar-brand small {
    margin-top: 4px;
    color: rgba(255,255,255,.62);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fut-sidebar-nav {
    display: grid;
    gap: 7px;
    margin-top: 24px;
}

.fut-sidebar-label {
    padding: 0 12px 5px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fut-sidebar-nav a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    min-height: 62px;
    padding: 10px 12px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.fut-sidebar-nav a:hover,
.fut-sidebar-nav a.is-active {
    border-color: rgba(255,255,255,.13);
    background: rgba(255,255,255,.12);
    color: #fff;
}

.fut-sidebar-nav a.is-active {
    box-shadow: inset 3px 0 0 #f2cc38;
}

.fut-sidebar-nav i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    font-size: 18px;
    font-style: normal;
}

.fut-sidebar-nav strong,
.fut-sidebar-nav small {
    display: block;
}

.fut-sidebar-nav strong {
    font-size: 13px;
}

.fut-sidebar-nav small {
    margin-top: 3px;
    color: rgba(255,255,255,.5);
    font-size: 10px;
}

.fut-sidebar-account {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: auto;
    padding: 18px 6px 0;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.14);
}

.fut-sidebar-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.34);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    font-size: 15px;
    font-weight: 900;
}

.fut-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fut-sidebar-account-copy {
    min-width: 0;
}

.fut-sidebar-account-copy small {
    color: rgba(255,255,255,.5);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.fut-sidebar-account-copy strong {
    margin-top: 2px;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fut-sidebar-logout {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.fut-sidebar-logout:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.fut-player-workspace {
    min-height: 100vh;
    margin-left: var(--fut-sidebar-width);
}

.fut-player-topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    min-height: 76px;
    padding: 0 clamp(24px, 3vw, 46px);
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e1e7ef;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(16px);
}

.fut-player-topbar > span small,
.fut-player-topbar > span strong {
    display: block;
}

.fut-player-topbar > span small {
    color: #0b63b6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.fut-player-topbar > span strong {
    margin-top: 3px;
    color: #12233a;
    font-size: 14px;
}

.fut-player-topbar > a {
    display: none;
}

.fut-sidebar-toggle,
.fut-sidebar-overlay {
    display: none;
}

.fut-player-portal {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(24px, 3vw, 46px);
}

.fut-welcome {
    grid-template-columns: minmax(0, 1fr) 92px;
    min-height: 0;
    padding: 24px 28px;
    border: 1px solid #dfe6ef;
    border-radius: 20px;
    background: #fff;
    color: #12233a;
    box-shadow: none;
}

.fut-welcome::before {
    display: none;
}

.fut-welcome .fut-eyebrow {
    margin-bottom: 6px;
    color: #0b63b6;
}

.fut-welcome h1 {
    max-width: none;
    color: #052b59;
    font-size: clamp(30px, 3.2vw, 44px);
    letter-spacing: -.04em;
    line-height: 1.05;
}

.fut-welcome p {
    margin: 8px 0 12px;
    color: #63748a;
    font-size: 14px;
}

.fut-position {
    padding: 6px 10px;
    border-color: #d8e5f3;
    background: #eef5fc;
    color: #0b5ca9;
    font-size: 11px;
}

.fut-player-photo,
.fut-player-initial {
    width: 82px;
    height: 82px;
    border: 4px solid #edf3f9;
    border-radius: 50%;
    background: #eaf2fb;
    color: #0b63b6;
    box-shadow: none;
    object-position: center;
}

.fut-player-initial {
    font-size: 32px;
}

.fut-match-card,
.fut-profile-card {
    margin-top: 18px;
    border-color: #dfe6ef;
    border-radius: 20px;
    box-shadow: none;
}

.fut-match-card {
    padding: clamp(22px, 2.4vw, 34px);
    scroll-margin-top: 96px;
}

.fut-profile-card {
    scroll-margin-top: 96px;
}

.fut-profile-card > summary {
    min-height: 82px;
    padding: 18px 24px;
    border-radius: 20px;
}

.fut-profile-content {
    padding: 0 24px 28px;
}

.fut-section-head h2 {
    font-size: clamp(27px, 3vw, 38px);
}

.fut-player-footer {
    padding-bottom: 0;
}

.fut-bottom-nav,
.fut-appbar {
    display: none !important;
}

@media (min-width: 1280px) {
    .fut-match-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fut-profile-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fut-profile-fields .is-wide {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .fut-player-shell {
        --fut-sidebar-width: min(320px, 88vw);
    }

    .fut-player-sidebar {
        box-shadow: 22px 0 52px rgba(5,43,89,.25);
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .fut-player-shell.is-sidebar-open .fut-player-sidebar {
        transform: translateX(0);
    }

    .fut-player-workspace {
        margin-left: 0;
    }

    .fut-player-topbar {
        min-height: 68px;
        padding: 0 18px;
    }

    .fut-player-topbar > a {
        display: block;
    }

    .fut-player-topbar > a img {
        display: block;
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

    .fut-sidebar-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        padding: 10px;
        place-content: center;
        gap: 4px;
        border: 1px solid #dbe4ee;
        border-radius: 12px;
        background: #fff;
        cursor: pointer;
    }

    .fut-sidebar-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: #052b59;
    }

    .fut-sidebar-overlay {
        position: fixed;
        z-index: 90;
        inset: 0;
        border: 0;
        background: rgba(7,23,43,.48);
        opacity: 0;
        visibility: hidden;
        transition: opacity .22s ease, visibility .22s ease;
    }

    .fut-player-shell.is-sidebar-open .fut-sidebar-overlay {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .fut-player-portal {
        padding: 18px;
    }
}

@media (max-width: 620px) {
    .fut-player-topbar > span {
        max-width: 52vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fut-welcome {
        grid-template-columns: minmax(0, 1fr) 66px;
        padding: 20px;
    }

    .fut-welcome h1 {
        font-size: 30px;
    }

    .fut-welcome p {
        max-width: 210px;
        font-size: 12px;
    }

    .fut-player-photo,
    .fut-player-initial {
        width: 62px;
        height: 62px;
        font-size: 25px;
    }

    .fut-match-card {
        padding: 20px 16px;
    }

    .fut-section-head {
        display: grid;
        gap: 12px;
    }

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

    .fut-profile-card > summary {
        padding: 17px 16px;
    }

    .fut-profile-content {
        padding: 0 16px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fut-player-sidebar,
    .fut-sidebar-overlay {
        transition: none;
    }
}

/* Portal v0.17: navegação por telas e linguagem editorial sem cards. */
.fut-player-shell {
    --fut-sidebar-width: 252px;
    background: #fff;
}

.fut-player-workspace,
.fut-player-portal {
    background: #fff;
}

.fut-player-topbar {
    min-height: 70px;
    border-bottom-color: #edf0f4;
    background: rgba(255,255,255,.96);
}

.fut-player-portal {
    padding: clamp(28px, 3.2vw, 58px) clamp(28px, 4.2vw, 74px) 42px;
}

.fut-sidebar-brand,
.fut-sidebar-account {
    border-color: rgba(255,255,255,.1);
}

.fut-sidebar-nav {
    gap: 0;
}

.fut-sidebar-nav a {
    min-height: 66px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fut-sidebar-nav a:hover,
.fut-sidebar-nav a.is-active {
    border-color: transparent;
    background: rgba(255,255,255,.08);
}

.fut-sidebar-nav i {
    border-radius: 0;
    background: transparent;
}

.fut-sidebar-nav i svg,
.fut-fact-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.fut-sidebar-logout,
.fut-sidebar-toggle {
    border-radius: 0;
}

.fut-view-heading {
    display: flex;
    gap: 28px;
    min-height: 150px;
    padding: 6px 0 34px;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #e8edf3;
}

.fut-view-heading h1,
.fut-view-heading p {
    margin: 0;
}

.fut-view-heading h1 {
    color: #062d5d;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .98;
}

.fut-view-heading p {
    margin-top: 14px;
    color: #64748a;
    font-size: 15px;
}

.fut-view-heading .fut-eyebrow {
    color: #0b63b6;
}

.fut-position {
    padding: 0 0 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0b63b6;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fut-view-heading-profile {
    align-items: center;
}

.fut-view-avatar {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    border-radius: 50%;
    object-fit: cover;
}

.fut-view-avatar-initial {
    display: grid;
    place-items: center;
    background: #edf4fb;
    color: #0b63b6;
    font-size: 34px;
    font-weight: 900;
}

.fut-match-card,
.fut-profile-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fut-match-card {
    padding: 38px 0 0;
}

.fut-section-head h2 {
    font-size: clamp(30px, 3.2vw, 44px);
}

.fut-status {
    gap: 9px;
    min-height: 0;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
}

.fut-status::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.fut-match-facts {
    gap: 0;
    margin-top: 34px;
    background: #f2f6fa;
}

.fut-match-facts > div {
    gap: 18px;
    min-height: 142px;
    padding: 28px 32px;
    border: 0;
    border-right: 1px solid #dfe6ee;
    border-radius: 0;
    background: transparent;
}

.fut-match-facts > div:last-child {
    border-right: 0;
}

.fut-fact-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 0;
    background: transparent;
}

.fut-fact-icon svg {
    width: 34px;
    height: 34px;
}

.fut-match-facts small {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fut-match-facts strong {
    color: #052b59;
    font-size: clamp(22px, 2.2vw, 32px);
    letter-spacing: -.025em;
}

.fut-decision {
    margin-top: 42px;
    padding: 34px;
    border: 0;
    background: #f8fafc;
}

.fut-decision h3 {
    font-size: 28px;
}

.fut-player-actions {
    gap: 0;
    margin-top: 22px;
}

.fut-choice {
    min-height: 104px;
    padding: 18px 22px;
    border: 0;
    border-radius: 0;
    transition: background .16s ease, box-shadow .16s ease;
}

.fut-choice:hover {
    transform: none;
    box-shadow: inset 0 -4px 0 currentColor;
}

.fut-choice > span {
    border-radius: 0;
    background: transparent;
    color: currentColor;
    font-size: 28px;
}

.fut-choice.fut-current {
    border-color: transparent;
    box-shadow: inset 0 -4px 0 currentColor;
}

.fut-choice:focus-visible {
    outline: 3px solid #0b63b6;
    outline-offset: -3px;
}

.fut-squad-summary {
    gap: 34px;
    margin-top: 0;
    padding: 28px 32px;
    border-radius: 0;
}

.fut-summary-copy strong {
    font-size: 20px;
}

.fut-summary-numbers {
    gap: 0;
}

.fut-summary-numbers > span {
    min-width: 104px;
    padding: 4px 18px;
    border-left: 1px solid rgba(255,255,255,.15);
    border-radius: 0;
    background: transparent;
}

.fut-summary-numbers strong {
    font-size: 30px;
}

.fut-profile-card {
    padding-top: 34px;
}

.fut-profile-content {
    padding: 0;
}

.fut-profile-alert {
    margin: 0 0 10px;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
}

.fut-profile-section {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    padding: 38px 0;
    border-color: #e8edf3;
}

.fut-profile-section:first-of-type {
    padding-top: 32px;
}

.fut-profile-section-title {
    margin: 0;
}

.fut-profile-section-title > span {
    border-radius: 0;
    background: transparent;
    font-size: 12px;
}

.fut-profile-section-title h3 {
    font-size: 22px;
}

.fut-player-profile input,
.fut-player-profile select {
    border: 0;
    border-bottom: 1px solid #cfd9e4;
    border-radius: 0;
    background: #f7f9fc;
}

.fut-player-profile input:focus,
.fut-player-profile select:focus {
    border-color: #0b63b6;
    box-shadow: inset 0 -2px 0 #0b63b6;
}

.fut-player-profile .fut-position-summary,
.fut-photo-file,
.fut-save-profile,
.fut-crop-controls canvas {
    border-radius: 0;
}

.fut-save-profile {
    min-width: 260px;
    margin: 10px 0 0 calc(260px + clamp(28px, 4vw, 64px));
}

.fut-player-footer {
    margin-top: 48px;
    padding: 22px 0 0;
    border-top: 1px solid #edf0f4;
}

@media (max-width: 1000px) {
    .fut-player-shell {
        --fut-sidebar-width: min(320px, 88vw);
    }

    .fut-profile-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fut-save-profile {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .fut-player-portal {
        padding: 24px 18px 32px;
    }

    .fut-view-heading {
        min-height: 0;
        padding: 10px 0 26px;
        align-items: center;
    }

    .fut-view-heading h1 {
        font-size: 42px;
    }

    .fut-view-heading p {
        max-width: 280px;
        font-size: 13px;
    }

    .fut-view-heading > .fut-position {
        display: none;
    }

    .fut-view-avatar {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }

    .fut-match-card {
        padding-top: 28px;
    }

    .fut-match-facts {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .fut-match-facts > div {
        min-height: 96px;
        padding: 20px 18px;
        border-right: 0;
        border-bottom: 1px solid #dfe6ee;
    }

    .fut-match-facts > div:last-child {
        border-bottom: 0;
    }

    .fut-match-facts strong {
        font-size: 24px;
    }

    .fut-decision {
        margin-top: 28px;
        padding: 24px 0 0;
        background: transparent;
    }

    .fut-player-actions {
        grid-template-columns: 1fr;
    }

    .fut-choice {
        min-height: 82px;
    }

    .fut-squad-summary {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .fut-summary-numbers {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .fut-summary-numbers > span {
        min-width: 0;
        padding: 4px 8px;
    }

    .fut-profile-section {
        padding: 30px 0;
    }

    .fut-save-profile {
        width: 100%;
        min-width: 0;
    }
}

/* Portal v0.17: cabeçalho essencial e resumo compacto do jogo. */
.fut-mobile-nav {
    display: none;
}

.fut-match-card {
    padding-top: 0;
}

.fut-match-overview {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 2.2fr);
    min-height: 118px;
    background: #f3f7fb;
}

.fut-match-overview .fut-section-head {
    display: flex;
    padding: 22px 28px;
    flex-direction: column;
    justify-content: center;
}

.fut-match-overview .fut-section-head h1 {
    margin: 4px 0 0;
    color: #052b59;
    font-size: clamp(27px, 2.4vw, 38px);
    letter-spacing: -.04em;
    line-height: 1;
}

.fut-match-overview .fut-status {
    align-self: flex-start;
    font-size: 11px;
}

.fut-match-overview .fut-match-facts {
    height: 100%;
    margin: 0;
    background: transparent;
}

.fut-match-overview .fut-match-facts > div {
    min-height: 118px;
    padding: 20px 22px;
}

.fut-match-overview .fut-fact-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.fut-match-overview .fut-fact-icon svg {
    width: 25px;
    height: 25px;
}

.fut-match-overview .fut-match-facts small {
    margin-bottom: 5px;
}

.fut-match-overview .fut-match-facts strong {
    font-size: clamp(18px, 1.7vw, 24px);
}

.fut-match-overview + .fut-decision {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .fut-mobile-nav {
        position: sticky;
        z-index: 40;
        top: 0;
        display: flex;
        min-height: 62px;
        padding: 0 16px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #edf0f4;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(16px);
    }

    .fut-mobile-nav > a,
    .fut-mobile-nav > a img {
        display: block;
    }

    .fut-mobile-nav > a img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }
}

@media (max-width: 760px) {
    .fut-player-portal {
        padding-top: 20px;
    }

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

    .fut-match-overview .fut-section-head {
        padding: 18px;
        flex-direction: row;
        align-items: center;
    }

    .fut-match-overview .fut-section-head h1 {
        font-size: 28px;
    }

    .fut-match-overview .fut-match-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-top: 1px solid #dfe6ee;
    }

    .fut-match-overview .fut-match-facts > div {
        min-height: 94px;
        padding: 12px 9px;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        border-right: 1px solid #dfe6ee;
        border-bottom: 0;
    }

    .fut-match-overview .fut-match-facts > div:last-child {
        border-right: 0;
    }

    .fut-match-overview .fut-fact-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .fut-match-overview .fut-fact-icon svg {
        width: 19px;
        height: 19px;
    }

    .fut-match-overview .fut-match-facts small {
        margin-bottom: 2px;
        font-size: 8px;
    }

    .fut-match-overview .fut-match-facts strong {
        font-size: clamp(13px, 4vw, 17px);
    }
}

/* Portal v0.17.1: estádio responsivo, vidro claro e movimento sutil. */
.fut-player-workspace {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

.fut-player-workspace::before {
    position: fixed;
    z-index: -2;
    inset: 0 0 0 var(--fut-sidebar-width);
    background-image: url("https://fut.izojunior.com/wp-content/uploads/2026/09/estadio-uniao-pc2.webp");
    background-position: center;
    background-size: cover;
    content: "";
    transform: scale(1.015);
    transform-origin: center;
    animation: fut-stadium-breathe 18s ease-in-out infinite alternate;
}

.fut-player-portal {
    position: relative;
    z-index: 1;
    width: min(100%, 1480px);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 46px);
    background: transparent;
}

.fut-match-overview,
.fut-decision,
.fut-squad-summary,
.fut-view-heading,
.fut-profile-card {
    backdrop-filter: blur(18px) saturate(118%);
    -webkit-backdrop-filter: blur(18px) saturate(118%);
}

.fut-match-overview {
    min-height: 104px;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 2.28fr);
    background: rgba(248, 251, 255, .91);
    box-shadow: 0 18px 54px rgba(1, 24, 48, .16);
    animation: fut-panel-enter .48s cubic-bezier(.2,.75,.25,1);
}

.fut-match-overview .fut-section-head {
    padding: 18px 24px;
}

.fut-match-overview .fut-section-head h1 {
    font-size: clamp(26px, 2.2vw, 36px);
}

.fut-match-overview .fut-match-facts > div {
    min-height: 104px;
    padding: 16px 20px;
    transition: background-color .22s ease;
}

.fut-match-overview .fut-match-facts > div:hover {
    background: rgba(255,255,255,.46);
}

.fut-match-overview .fut-fact-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
}

.fut-match-overview .fut-fact-icon svg {
    width: 23px;
    height: 23px;
}

.fut-match-overview .fut-status::before {
    animation: fut-status-pulse 1.9s ease-out infinite;
}

.fut-match-overview + .fut-decision {
    margin-top: 14px;
}

.fut-decision {
    padding: 22px 24px 16px;
    background: rgba(251, 253, 255, .92);
    box-shadow: 0 18px 54px rgba(1, 24, 48, .15);
    animation: fut-panel-enter .58s cubic-bezier(.2,.75,.25,1);
}

.fut-decision h3 {
    font-size: clamp(23px, 2.3vw, 31px);
}

.fut-decision > p {
    margin-top: 4px;
}

.fut-player-actions {
    margin-top: 16px;
}

.fut-choice {
    min-height: 78px;
    padding: 13px 18px;
    background-clip: padding-box;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.fut-choice:hover,
.fut-choice:focus-visible {
    z-index: 1;
    transform: translateY(-3px);
    filter: saturate(1.08);
    box-shadow: 0 12px 24px rgba(5, 43, 89, .13);
}

.fut-choice:focus-visible {
    outline: 3px solid rgba(255, 207, 47, .9);
    outline-offset: 2px;
}

.fut-player-answer {
    margin-top: 8px;
}

.fut-squad-summary {
    min-height: 86px;
    margin-top: 14px;
    padding: 14px 20px;
    background: rgba(3, 44, 87, .94);
    box-shadow: 0 18px 54px rgba(1, 24, 48, .2);
    animation: fut-panel-enter .66s cubic-bezier(.2,.75,.25,1);
}

.fut-summary-numbers > span {
    min-height: 58px;
}

.fut-player-footer {
    margin-top: 18px;
    border-color: rgba(255,255,255,.46);
    color: #fff;
    text-shadow: 0 2px 10px rgba(1, 18, 37, .9);
}

.fut-view-heading {
    min-height: 126px;
    padding: 24px 28px;
    border: 0;
    background: rgba(250, 252, 255, .92);
    box-shadow: 0 18px 54px rgba(1, 24, 48, .16);
    animation: fut-panel-enter .48s cubic-bezier(.2,.75,.25,1);
}

.fut-profile-card {
    margin-top: 14px;
    padding: 4px 28px 28px;
    background: rgba(251, 253, 255, .95);
    box-shadow: 0 18px 54px rgba(1, 24, 48, .16);
    animation: fut-panel-enter .58s cubic-bezier(.2,.75,.25,1);
}

@keyframes fut-stadium-breathe {
    from { transform: scale(1.015) translate3d(-.3%, 0, 0); }
    to { transform: scale(1.045) translate3d(.3%, -.25%, 0); }
}

@keyframes fut-panel-enter {
    from { transform: translate3d(0, 18px, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@keyframes fut-status-pulse {
    0% { box-shadow: 0 0 0 0 currentColor; }
    72%, 100% { box-shadow: 0 0 0 7px transparent; }
}

@media (max-width: 900px) {
    .fut-player-workspace::before {
        left: 0;
        background-image: url("https://fut.izojunior.com/wp-content/uploads/2026/09/estadio-uniao-mb.webp");
    }

    .fut-mobile-nav {
        background: rgba(255,255,255,.9);
        box-shadow: 0 8px 26px rgba(1, 24, 48, .12);
    }
}

@media (max-width: 760px) {
    .fut-player-portal {
        padding: 14px 12px 24px;
    }

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

    .fut-match-overview .fut-section-head {
        padding: 16px;
    }

    .fut-match-overview .fut-match-facts > div {
        min-height: 82px;
        padding: 10px 8px;
    }

    .fut-decision {
        padding: 18px 14px 12px;
    }

    .fut-choice {
        min-height: 68px;
    }

    .fut-squad-summary {
        min-height: 0;
        padding: 18px 14px;
    }

    .fut-view-heading {
        min-height: 0;
        padding: 20px;
    }

    .fut-profile-card {
        padding: 4px 18px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fut-player-workspace::before,
    .fut-match-overview,
    .fut-decision,
    .fut-squad-summary,
    .fut-view-heading,
    .fut-profile-card,
    .fut-match-overview .fut-status::before {
        animation: none;
    }

    .fut-choice {
        transition: none;
    }
}

/* Portal v0.17.4: jornada de confirmação sem recarregar a página. */
.fut-match-card {
    padding: 0;
}

.fut-rsvp-journey {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    background: rgba(248, 251, 255, .95);
    box-shadow: 0 24px 70px rgba(1, 24, 48, .22);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    animation: fut-panel-enter .48s cubic-bezier(.2,.75,.25,1);
}

.fut-game-intro {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
    min-height: 220px;
    background: rgba(3, 44, 87, .96);
    color: #fff;
}

.fut-game-story {
    display: flex;
    padding: clamp(30px, 4vw, 54px);
    flex-direction: column;
    justify-content: center;
}

.fut-game-story .fut-eyebrow,
.fut-roster-copy .fut-eyebrow,
.fut-rsvp-copy .fut-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #0b63b6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fut-game-story .fut-eyebrow {
    color: #80c4ff;
}

.fut-game-story h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 48px);
    letter-spacing: -.045em;
    line-height: 1.08;
}

.fut-game-story h1 strong {
    color: #ffcf2f;
    font-weight: 900;
    white-space: nowrap;
}

.fut-game-story p {
    display: flex;
    gap: 9px;
    margin: 20px 0 0;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    font-weight: 750;
}

.fut-game-story p span {
    display: inline-flex;
}

.fut-game-story p svg {
    width: 19px;
    height: 19px;
    color: #80c4ff;
}

.fut-game-story p i {
    margin: 0 4px;
    color: rgba(255,255,255,.36);
    font-style: normal;
}

.fut-countdown {
    display: flex;
    padding: clamp(30px, 4vw, 52px);
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(145deg, rgba(14, 97, 178, .34), rgba(3, 44, 87, .08));
}

.fut-countdown span {
    color: rgba(255,255,255,.64);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fut-countdown strong {
    margin-top: 10px;
    color: #fff;
    font-size: clamp(30px, 3vw, 46px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1;
}

.fut-roster-pulse,
.fut-rsvp-step {
    min-width: 0;
    padding: clamp(28px, 3.2vw, 44px);
}

.fut-roster-pulse {
    border-right: 1px solid #dfe7f0;
    background: rgba(255,255,255,.9);
}

.fut-roster-copy h2,
.fut-rsvp-copy h2 {
    margin: 0;
    color: #052b59;
    font-size: clamp(25px, 2.3vw, 35px);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.fut-roster-copy p,
.fut-rsvp-copy p {
    margin: 10px 0 0;
    color: #65758a;
    font-size: 14px;
    line-height: 1.45;
}

.fut-roster-copy p strong {
    color: #0b63b6;
    font-size: 22px;
}

.fut-roster-progress {
    height: 9px;
    margin-top: 27px;
    overflow: hidden;
    background: #e4ebf3;
}

.fut-roster-progress span {
    display: block;
    width: var(--fut-roster-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #0b63b6, #45c486);
    transition: width .45s cubic-bezier(.2,.75,.25,1);
}

.fut-roster-numbers {
    display: flex;
    gap: 32px;
    margin-top: 18px;
}

.fut-roster-numbers span {
    color: #6e7c8e;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fut-roster-numbers strong {
    display: block;
    margin-bottom: 3px;
    color: #052b59;
    font-size: 27px;
    letter-spacing: -.04em;
}

.fut-rsvp-step {
    background: rgba(246, 249, 252, .94);
}

.fut-rsvp-step .fut-player-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.fut-rsvp-step .fut-choice {
    display: flex;
    min-height: 66px;
    padding: 13px 17px;
    gap: 11px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}

.fut-rsvp-step .fut-choice > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    font-size: 18px;
}

.fut-rsvp-step .fut-choice strong {
    font-size: 15px;
}

.fut-rsvp-step .fut-yes {
    background: #e6f5ed;
    color: #087045;
}

.fut-rsvp-step .fut-yes > span {
    background: #16a166;
}

.fut-rsvp-step .fut-no {
    background: #ffedf0;
    color: #a71e33;
}

.fut-rsvp-step .fut-choice:hover,
.fut-rsvp-step .fut-choice:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(5, 43, 89, .1);
}

.fut-rsvp-step .fut-choice.fut-current {
    border-color: currentColor;
    box-shadow: inset 0 -4px 0 currentColor;
}

.fut-rsvp-step .fut-player-actions[aria-busy="true"] .fut-choice {
    cursor: wait;
    opacity: .58;
}

.fut-rsvp-feedback {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    margin-top: 15px;
    align-items: center;
}

.fut-rsvp-feedback p {
    margin: 0;
    color: #68788d;
    font-size: 12px;
    line-height: 1.4;
}

.fut-rsvp-status {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: #a66a00;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.fut-rsvp-status::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.fut-rsvp-status.fut-status-confirmed {
    color: #087045;
}

.fut-rsvp-status.fut-status-declined {
    color: #a71e33;
}

@media (max-width: 900px) {
    .fut-rsvp-journey {
        grid-template-columns: 1fr;
    }

    .fut-game-intro {
        grid-template-columns: 1fr;
    }

    .fut-countdown {
        padding-top: 24px;
        padding-bottom: 24px;
        border-top: 1px solid rgba(255,255,255,.14);
        border-left: 0;
    }

    .fut-roster-pulse {
        border-right: 0;
        border-bottom: 1px solid #dfe7f0;
    }
}

@media (max-width: 560px) {
    .fut-game-story,
    .fut-countdown,
    .fut-roster-pulse,
    .fut-rsvp-step {
        padding: 24px 20px;
    }

    .fut-game-story h1 {
        font-size: 29px;
    }

    .fut-game-story h1 strong {
        display: block;
        margin-top: 5px;
    }

    .fut-rsvp-step .fut-player-actions {
        grid-template-columns: 1fr;
    }

    .fut-rsvp-feedback {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fut-rsvp-journey,
    .fut-roster-progress span,
    .fut-rsvp-step .fut-choice {
        animation: none;
        transition: none;
    }
}

/* Portal v0.17.5: perfil compacto, modular e responsivo. */
.fut-player-portal.fut-view-profile {
    padding-top: 24px;
    padding-bottom: 24px;
}

.fut-view-heading-profile {
    position: relative;
    min-height: 96px;
    padding: 14px 22px;
    overflow: hidden;
}

.fut-view-heading-profile::after {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -78px;
    bottom: -150px;
    border: 34px solid rgba(11, 99, 182, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.fut-view-heading-profile h1 {
    font-size: clamp(36px, 4vw, 50px);
}

.fut-view-heading-profile p {
    margin-top: 7px;
    font-size: 13px;
}

.fut-profile-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.fut-profile-kicker i,
.fut-profile-kicker svg {
    display: block;
    width: 15px;
    height: 15px;
}

.fut-view-heading-profile .fut-view-avatar {
    position: relative;
    z-index: 1;
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(11, 99, 182, .18), 0 9px 25px rgba(5, 43, 89, .17);
    animation: fut-avatar-breathe 4.5s ease-in-out infinite;
}

.fut-profile-card {
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.fut-profile-content {
    padding: 0;
}

.fut-profile-alert {
    margin: 0 0 8px;
    padding: 11px 16px;
    border-left: 4px solid #d3263f;
    background: rgba(255, 239, 242, .96);
    box-shadow: 0 9px 24px rgba(1, 24, 48, .1);
    font-size: 12px;
}

.fut-player-profile {
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(500px, 1.18fr);
    gap: 1px;
    overflow: hidden;
    background: rgba(214, 224, 235, .92);
    box-shadow: 0 22px 62px rgba(1, 24, 48, .2);
    backdrop-filter: blur(20px) saturate(118%);
    -webkit-backdrop-filter: blur(20px) saturate(118%);
}

.fut-profile-section,
.fut-profile-section:first-of-type {
    display: block;
    min-width: 0;
    padding: 18px 22px;
    border: 0;
    background: rgba(251, 253, 255, .96);
    animation: fut-profile-rise .5s cubic-bezier(.2,.75,.25,1);
}

.fut-profile-section-title {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    margin-bottom: 13px;
    align-items: center;
}

.fut-profile-section-title > .fut-profile-section-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #eaf3fc;
    color: #0b63b6;
    transition: transform .22s ease, background-color .22s ease, color .22s ease;
}

.fut-profile-section:hover .fut-profile-section-icon {
    background: #0b63b6;
    color: #fff;
    transform: translateY(-2px) rotate(-3deg);
}

.fut-profile-section-icon svg {
    width: 18px;
    height: 18px;
}

.fut-profile-section-index {
    display: block;
    margin-bottom: 2px;
    color: #0b63b6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.fut-profile-section-title h3 {
    font-size: 19px;
    letter-spacing: -.025em;
}

.fut-profile-section-title p {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
}

.fut-photo-section {
    grid-column: 1;
}

.fut-personal-section {
    grid-column: 2;
}

.fut-game-section,
.fut-measures-section {
    grid-column: 1 / -1;
}

.fut-photo-editor-grid {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.fut-face-preview {
    width: 96px;
    height: 96px;
    border-width: 4px;
    box-shadow: 0 0 0 1px #d9e3ed, 0 12px 30px rgba(18, 35, 58, .14);
    transition: transform .22s ease, box-shadow .22s ease;
}

.fut-photo-section:hover .fut-face-preview {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px #b8cee3, 0 17px 35px rgba(18, 35, 58, .18);
}

.fut-face-preview span {
    font-size: 40px;
}

.fut-photo-file {
    min-height: 38px;
    padding: 0 14px;
    gap: 7px;
    font-size: 12px;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.fut-photo-file:hover,
.fut-photo-file:focus-within {
    background: #0b63b6;
    box-shadow: 0 9px 20px rgba(5, 43, 89, .18);
    transform: translateY(-2px);
}

.fut-photo-controls > small {
    max-width: 260px;
    margin-top: 7px;
    font-size: 10px;
}

.fut-profile-fields {
    gap: 14px 16px;
}

.fut-personal-section .fut-profile-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fut-personal-section .fut-profile-fields .is-wide {
    grid-column: 1 / -1;
}

.fut-game-section .fut-profile-fields {
    grid-template-columns: minmax(210px, 1.35fr) minmax(210px, 1.35fr) minmax(140px, .8fr) minmax(110px, .55fr);
}

.fut-measure-fields {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fut-player-profile label {
    font-size: 11px;
}

.fut-player-profile input,
.fut-player-profile select {
    min-height: 40px;
    padding: 8px 11px;
    background: rgba(242, 246, 250, .88);
    font-size: 13px;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fut-player-profile input:hover,
.fut-player-profile select:hover {
    background: #edf4fa;
}

.fut-player-profile input:focus,
.fut-player-profile select:focus {
    background: #fff;
    transform: translateY(-1px);
}

.fut-player-profile .fut-position-summary {
    min-height: 0;
    margin-top: 5px;
    padding: 0;
    background: transparent;
    font-size: 10px;
    line-height: 1.35;
}

.fut-save-profile {
    position: relative;
    display: inline-flex;
    grid-column: 1 / -1;
    min-width: 230px;
    min-height: 46px;
    margin: 0;
    padding: 0 24px;
    gap: 10px;
    justify-self: end;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(105deg, #052b59, #0b63b6);
    box-shadow: -14px 0 36px rgba(5, 43, 89, .18);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.fut-save-profile::after {
    position: absolute;
    width: 50px;
    inset: 0 auto 0 -80px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    content: "";
    transform: skewX(-18deg);
    transition: left .55s ease;
}

.fut-save-profile:hover,
.fut-save-profile:focus-visible {
    filter: saturate(1.12);
    box-shadow: -14px 0 44px rgba(5, 43, 89, .28);
    transform: translateY(-2px);
}

.fut-save-profile:hover::after,
.fut-save-profile:focus-visible::after {
    left: calc(100% + 40px);
}

.fut-save-profile > span,
.fut-save-profile svg {
    display: block;
    width: 18px;
    height: 18px;
}

.fut-crop-controls {
    padding-top: 4px;
}

@keyframes fut-profile-rise {
    from { transform: translate3d(0, 13px, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@keyframes fut-avatar-breathe {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -2px, 0) scale(1.025); }
}

@media (max-width: 1120px) {
    .fut-player-profile {
        grid-template-columns: 1fr;
    }

    .fut-photo-section,
    .fut-personal-section,
    .fut-game-section,
    .fut-measures-section,
    .fut-autosave-status,
    .fut-save-profile {
        grid-column: 1;
    }

    .fut-game-section .fut-profile-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fut-measure-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .fut-view-heading-profile {
        min-height: 94px;
        padding: 16px;
    }

    .fut-view-heading-profile h1 {
        font-size: 34px;
    }

    .fut-view-heading-profile .fut-view-avatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .fut-profile-section,
    .fut-profile-section:first-of-type {
        padding: 20px 16px;
    }

    .fut-photo-editor-grid {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
    }

    .fut-face-preview {
        width: 84px;
        height: 84px;
    }

    .fut-personal-section .fut-profile-fields,
    .fut-game-section .fut-profile-fields,
    .fut-measure-fields {
        grid-template-columns: 1fr;
    }

    .fut-save-profile {
        width: 100%;
        min-width: 0;
    }

    .fut-crop-zoom {
        grid-template-columns: 42px minmax(0, 1fr) 42px 46px;
    }

    .fut-crop-zoom > span:first-child {
        grid-column: 1 / -1;
    }

    .fut-autosave-status {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fut-view-heading-profile .fut-view-avatar,
    .fut-profile-section {
        animation: none;
    }

    .fut-profile-section-icon,
    .fut-face-preview,
    .fut-photo-file,
    .fut-player-profile input,
    .fut-player-profile select,
    .fut-save-profile,
    .fut-save-profile::after {
        transition: none;
    }

    .fut-autosave-status[data-state="saving"] .fut-autosave-dot {
        animation: none;
    }
}

/* Portal v0.27.0: dados pessoais privados, salvamento automatico e zoom por gesto. */

/* Portal v0.17.9: navegação mobile discreta e jornada compacta. */
.fut-game-story h1 {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.fut-game-story h1 strong {
    font-size: clamp(46px, 5vw, 72px);
}

.fut-game-story h1 span {
    color: rgba(255, 255, 255, .76);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 760;
    letter-spacing: -.03em;
}

@media (max-width: 900px) {
    .fut-mobile-nav {
        position: fixed;
        z-index: 105;
        top: max(10px, env(safe-area-inset-top));
        right: 12px;
        left: 12px;
        min-height: 54px;
        padding: 6px 8px;
        border: 1px solid rgba(255, 255, 255, .34);
        border-radius: 18px;
        background: rgba(3, 37, 70, .82);
        box-shadow: 0 14px 36px rgba(1, 20, 39, .24);
        backdrop-filter: blur(18px) saturate(130%);
        -webkit-backdrop-filter: blur(18px) saturate(130%);
    }

    .fut-mobile-nav > a img {
        width: 40px;
        height: 40px;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .18));
    }

    .fut-sidebar-toggle {
        width: 40px;
        height: 40px;
        padding: 9px;
        border: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, .1);
    }

    .fut-sidebar-toggle span {
        width: 20px;
        background: #fff;
    }

    .fut-player-sidebar {
        z-index: 120;
    }

    .fut-sidebar-overlay {
        z-index: 115;
    }

    .fut-player-portal,
    .fut-player-portal.fut-view-profile {
        padding-top: calc(78px + env(safe-area-inset-top));
    }
}

@media (max-width: 680px) {
    .fut-player-portal,
    .fut-player-portal.fut-view-profile {
        padding-right: 10px;
        padding-bottom: 18px;
        padding-left: 10px;
    }

    .fut-match-card {
        margin: 0;
    }

    .fut-rsvp-journey {
        gap: 10px;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .fut-game-intro {
        min-height: 0;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 20px;
        background: rgba(3, 44, 87, .94);
        box-shadow: 0 18px 42px rgba(1, 20, 39, .22);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .fut-game-story {
        padding: 22px 20px 16px;
    }

    .fut-game-story .fut-eyebrow {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .fut-game-story h1 {
        gap: 11px;
    }

    .fut-game-story h1 strong {
        display: inline;
        margin: 0;
        font-size: clamp(39px, 12vw, 50px);
    }

    .fut-game-story h1 span {
        font-size: 18px;
    }

    .fut-game-story p {
        margin-top: 11px;
        gap: 7px;
        font-size: 13px;
    }

    .fut-countdown {
        padding: 15px 20px 18px;
        border-top-color: rgba(255,255,255,.1);
        background: rgba(0, 20, 48, .24);
    }

    .fut-countdown span {
        font-size: 8px;
    }

    .fut-countdown strong {
        margin-top: 5px;
        font-size: 29px;
    }

    .fut-roster-pulse,
    .fut-rsvp-step {
        padding: 20px;
        border: 0;
        border-radius: 18px;
        box-shadow: 0 16px 38px rgba(1, 20, 39, .16);
    }

    .fut-roster-copy .fut-eyebrow,
    .fut-rsvp-copy .fut-eyebrow {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .fut-roster-copy h2,
    .fut-rsvp-copy h2 {
        font-size: 24px;
    }

    .fut-roster-copy p,
    .fut-rsvp-copy p {
        margin-top: 6px;
        font-size: 12px;
    }

    .fut-roster-progress {
        margin-top: 17px;
    }

    .fut-roster-numbers {
        margin-top: 13px;
    }

    .fut-roster-numbers strong {
        font-size: 23px;
    }

    .fut-rsvp-step .fut-player-actions {
        grid-template-columns: 1fr 1fr;
        margin-top: 16px;
    }

    .fut-rsvp-step .fut-choice {
        min-height: 56px;
        padding: 10px 12px;
    }

    .fut-rsvp-step .fut-choice > span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .fut-rsvp-step .fut-choice strong {
        font-size: 13px;
    }

    .fut-rsvp-feedback {
        display: block;
        margin-top: 11px;
    }

    .fut-rsvp-feedback p {
        display: none;
    }

    .fut-view-heading-profile {
        min-height: 76px;
        padding: 13px 15px;
        border-radius: 18px;
    }

    .fut-view-heading-profile h1 {
        font-size: 30px;
    }

    .fut-view-heading-profile p,
    .fut-profile-kicker {
        display: none;
    }

    .fut-view-heading-profile .fut-view-avatar {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .fut-profile-alert {
        border-radius: 12px;
    }

    .fut-player-profile {
        gap: 8px;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .fut-profile-section,
    .fut-profile-section:first-of-type {
        padding: 17px 15px;
        border-radius: 18px;
        box-shadow: 0 14px 34px rgba(1, 20, 39, .14);
    }
}

/* Portal v0.17.11: painel essencial em duas colunas. */
.fut-player-portal.fut-view-home {
    display: flex;
    min-height: 100vh;
    padding-top: clamp(34px, 5vh, 72px);
    padding-bottom: clamp(34px, 5vh, 72px);
    flex-direction: column;
    justify-content: center;
}

.fut-view-home .fut-match-card {
    width: min(100%, 1380px);
    margin: auto;
    padding: 0;
}

/* Portal v0.32.0: escalações completas publicadas para o atleta. */
.fut-portal-lineups{margin-top:22px;padding:26px;border:1px solid rgba(255,255,255,.3);background:rgba(247,250,253,.97);box-shadow:0 18px 44px rgba(0,26,56,.17)}
.fut-portal-lineups>header,.fut-portal-team>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.fut-portal-lineups>header h2{margin:4px 0 0;color:#073b78;font-size:28px}.fut-portal-lineups>header>a{color:#0759a5;font-weight:800;text-decoration:none}.fut-portal-lineup-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.fut-portal-team{padding:18px;border:1px solid #d7e1eb;border-radius:16px;background:#fff}.fut-portal-team.is-blue{box-shadow:inset 0 4px 0 #117bd0}.fut-portal-team.is-red{box-shadow:inset 0 4px 0 #df3650}.fut-portal-team h3{margin:0;color:#0a315c;font-size:20px}.fut-portal-team>header>strong{color:#6a7f94}.fut-portal-team ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0 0;padding:0;list-style:none}.fut-portal-team li{display:flex;min-width:0;padding:7px;align-items:center;gap:9px;border-radius:11px;background:#f2f6fa}.fut-portal-lineup-photo{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;background:#126dbc;color:#fff;font-weight:900;overflow:hidden}.is-red .fut-portal-lineup-photo{background:#b72940}.fut-portal-lineup-photo img{width:100%;height:100%;object-fit:cover}.fut-portal-team li>span:last-child{display:grid;min-width:0}.fut-portal-team li strong,.fut-portal-team li small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fut-portal-team li small{color:#718398;font-size:11px}@media(max-width:720px){.fut-portal-lineups{padding:18px 13px}.fut-portal-lineups>header{align-items:flex-start;flex-direction:column}.fut-portal-lineups>header h2{font-size:23px}.fut-portal-lineups>header>a{font-size:12px}.fut-portal-lineup-pair{grid-template-columns:1fr}.fut-portal-team{padding:14px}.fut-portal-team ul{grid-template-columns:repeat(2,minmax(0,1fr))}.fut-portal-lineup-photo{width:38px;height:38px;flex-basis:38px}.fut-portal-team li{padding:6px}.fut-portal-team li strong{font-size:12px}}

.fut-view-home .fut-rsvp-journey {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 520px;
    overflow: hidden;
    background: rgba(248, 251, 255, .97);
    box-shadow: 0 28px 80px rgba(1, 20, 39, .24);
}

.fut-view-home .fut-game-intro {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 520px;
    align-content: center;
    background:
        radial-gradient(circle at 0 0, rgba(26, 111, 193, .28), transparent 42%),
        #052f5f;
}

.fut-view-home .fut-game-story {
    padding: clamp(40px, 5vw, 72px) clamp(34px, 5vw, 68px) 28px;
    justify-content: flex-end;
}

.fut-view-home .fut-game-story .fut-eyebrow {
    margin-bottom: 18px;
    color: #8ac9ff;
    font-size: 10px;
}

.fut-view-home .fut-game-story h1 {
    display: block;
}

.fut-view-home .fut-game-story h1 strong {
    font-size: clamp(64px, 6.4vw, 96px);
    line-height: .92;
}

.fut-view-home .fut-game-meta {
    display: flex;
    gap: clamp(20px, 3vw, 38px);
    margin-top: 28px;
    flex-wrap: wrap;
}

.fut-view-home .fut-game-meta > span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 800;
}

.fut-view-home .fut-game-meta i {
    display: inline-flex;
    color: #7fc8ff;
    font-style: normal;
}

.fut-view-home .fut-game-meta svg {
    width: 20px;
    height: 20px;
}

.fut-view-home .fut-countdown {
    padding: 30px clamp(34px, 5vw, 68px) clamp(40px, 5vw, 66px);
    justify-content: flex-start;
    border-top: 0;
    border-left: 0;
    background: transparent;
}

.fut-view-home .fut-countdown span {
    color: rgba(255, 255, 255, .68);
}

.fut-view-home .fut-countdown strong {
    margin-top: 9px;
    font-size: clamp(36px, 3.5vw, 54px);
}

.fut-view-home .fut-rsvp-step {
    display: flex;
    padding: clamp(42px, 5vw, 78px);
    flex-direction: column;
    justify-content: center;
    background: rgba(248, 251, 255, .98);
}

.fut-view-home .fut-rsvp-copy .fut-eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
}

.fut-view-home .fut-rsvp-copy h2 {
    font-size: clamp(42px, 4.5vw, 68px);
    letter-spacing: -.055em;
}

.fut-view-home .fut-rsvp-copy p {
    margin-top: 10px;
    font-size: 15px;
}

.fut-view-home .fut-rsvp-step .fut-player-actions {
    gap: clamp(12px, 1.5vw, 20px);
    margin-top: 34px;
}

.fut-view-home .fut-rsvp-step .fut-choice {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 190px;
    padding: 24px;
    place-content: center;
    justify-items: center;
    gap: 14px;
    border: 1px solid #dbe4ee;
    background: transparent;
    color: #5b6d82;
    text-align: center;
}

.fut-view-home .fut-rsvp-step .fut-choice > span {
    grid-row: auto;
    width: 94px;
    height: 94px;
    margin: 0 auto;
    border: 1px solid currentColor;
    background: transparent;
    color: currentColor;
    font-size: 46px;
    line-height: 1;
}

.fut-view-home .fut-rsvp-step .fut-yes > span {
    border-radius: 50%;
}

.fut-view-home .fut-rsvp-step .fut-no > span {
    border-radius: 0;
}

.fut-view-home .fut-rsvp-step .fut-choice strong {
    align-self: center;
    font-size: 17px;
}

.fut-view-home .fut-rsvp-step .fut-yes {
    color: #0b7a4b;
}

.fut-view-home .fut-rsvp-step .fut-no {
    color: #b3263d;
}

.fut-view-home .fut-rsvp-step .fut-choice:hover,
.fut-view-home .fut-rsvp-step .fut-choice:focus-visible {
    background: #fff;
    transform: translateY(-3px);
}

.fut-view-home .fut-rsvp-step .fut-choice.fut-current {
    border-color: currentColor;
    background: #fff;
    box-shadow: inset 0 -5px 0 currentColor;
}

.fut-view-home .fut-rsvp-feedback {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 22px;
}

.fut-view-home .fut-rsvp-feedback p {
    max-width: 540px;
}

.fut-view-home .fut-rsvp-status,
.fut-view-home .fut-rsvp-status.fut-status-confirmed,
.fut-view-home .fut-rsvp-status.fut-status-declined,
.fut-view-home .fut-rsvp-status.fut-status-pending {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.fut-view-home .fut-player-footer {
    width: min(100%, 1380px);
    margin: 20px auto 0;
}

@media (max-width: 900px) {
    .fut-player-portal.fut-view-home {
        min-height: auto;
        padding-top: calc(82px + env(safe-area-inset-top));
        justify-content: flex-start;
    }

    .fut-view-home .fut-rsvp-journey {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .fut-view-home .fut-game-intro {
        min-height: 0;
    }

    .fut-view-home .fut-game-story {
        padding: 30px 28px 18px;
    }

    .fut-view-home .fut-countdown {
        padding: 18px 28px 30px;
    }

    .fut-view-home .fut-rsvp-step {
        padding: 32px 28px;
    }
}

@media (max-width: 680px) {
    .fut-view-home .fut-rsvp-journey {
        gap: 8px;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .fut-view-home .fut-game-intro,
    .fut-view-home .fut-rsvp-step {
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(1, 20, 39, .2);
    }

    .fut-view-home .fut-game-story {
        padding: 25px 22px 14px;
    }

    .fut-view-home .fut-game-story .fut-eyebrow {
        margin-bottom: 11px;
    }

    .fut-view-home .fut-game-story h1 strong {
        font-size: clamp(48px, 17vw, 68px);
    }

    .fut-view-home .fut-game-meta {
        gap: 16px;
        margin-top: 18px;
    }

    .fut-view-home .fut-game-meta > span {
        font-size: 14px;
    }

    .fut-view-home .fut-countdown {
        padding: 15px 22px 24px;
    }

    .fut-view-home .fut-countdown strong {
        font-size: 31px;
    }

    .fut-view-home .fut-rsvp-step {
        padding: 25px 20px 22px;
    }

    .fut-view-home .fut-rsvp-copy h2 {
        font-size: 38px;
    }

    .fut-view-home .fut-rsvp-step .fut-player-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .fut-view-home .fut-rsvp-step .fut-choice {
        min-height: 126px;
        padding: 14px 10px;
        gap: 9px;
    }

    .fut-view-home .fut-rsvp-step .fut-choice > span {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        font-size: 31px;
    }

    .fut-view-home .fut-rsvp-step .fut-choice strong {
        font-size: 14px;
    }

    .fut-view-home .fut-rsvp-feedback {
        display: grid;
        margin-top: 16px;
    }

    .fut-view-home .fut-rsvp-feedback p {
        display: block;
        font-size: 11px;
    }

    .fut-view-home .fut-player-footer {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fut-view-home .fut-rsvp-step .fut-choice {
        transition: none;
    }
}

/* Mobile UX v0.28.0: sem zoom involuntario, teclado e recortes do iPhone. */
@media (max-width: 900px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    .fut-sidebar-toggle,
    .fut-mobile-nav > a,
    .fut-photo-file,
    .fut-choice,
    .fut-crop-zoom button,
    .fut-crop-actions button {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    .fut-player-sidebar {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 680px) {
    .fut-player-portal,
    .fut-player-portal.fut-view-profile {
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .fut-player-profile input,
    .fut-player-profile select,
    .fut-security-form input {
        min-height: 48px;
        font-size: 16px !important;
    }

    .fut-photo-file {
        font-size: 13px;
    }

    .fut-crop-stage {
        width: min(100%, calc(100svh - 310px));
        min-width: 240px;
        max-width: 360px;
    }

    .fut-crop-actions button {
        min-height: 48px;
        font-size: 13px;
    }

    .fut-crop-hint {
        max-width: calc(100% - 24px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
