/* Account pages share the approved football palette and the existing app shell. */
.nav-item .account-icon{width:19px;height:19px}
.account-page{max-width:1180px;margin:0 auto;color:var(--text)}
.account-page h1,.account-page h2,.account-page p{margin:0}
.account-page h1,.account-page h2,.history-score{font-family:var(--display,'Bahnschrift','Segoe UI',sans-serif)}
.account-page h1{font-size:clamp(32px,3.15vw,43px);font-weight:650;line-height:1.1;letter-spacing:-1.1px;text-wrap:balance}
.account-page h2{font-size:25px;line-height:1.2;letter-spacing:-.55px;font-weight:600;text-wrap:balance}
.account-page p{line-height:1.65}
.account-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:31px;min-height:132px;padding:5px 0 12px;border:0}
.account-intro>div{min-width:0}
.account-intro p{color:var(--muted);font-size:16px;margin-top:14px;max-width:60ch}
.account-art{width:172px;height:auto;flex:none;color:#79a487}
.account-art .art-fill{fill:#263e2d;stroke:#96bc9d}
.account-art .art-detail{stroke:#496b52}
.account-icon{width:24px;height:24px;flex:none}
.account-wallet .account-intro>.account-art,.account-profile .account-intro>.account-art{display:none}
.account-page .btn{min-height:48px;font-size:14px;border-radius:9px;padding:12px 18px}
.account-page .text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:0 8px;color:var(--muted)}
.account-page .text-button:hover{color:var(--text)}
.account-page :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.account-page :is(code,.account-number,.account-table,.history-date,.history-score){font-variant-numeric:tabular-nums}
.account-surface{border:1px solid var(--line);border-radius:15px;background:var(--card);padding:28px}
.account-section{margin-top:28px}
.account-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px}
.account-section-head p,.account-note{font-size:14px;color:var(--muted)}
.account-page .account-note{margin-top:12px}
.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.account-empty{display:flex;align-items:flex-start;gap:18px;padding:29px;background:var(--card);border:1px solid var(--line);border-radius:15px}
.account-empty>:is(.account-icon,.ui-icon){width:32px;height:32px;color:#96bda0;margin-top:3px}
.account-empty p{color:var(--muted);max-width:620px;margin-top:10px;font-size:14px}
.account-empty .account-actions{margin-top:20px}
.wallet-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:stretch;margin-bottom:28px}
.wallet-main{background:#203728;border-color:#45674e;display:flex;flex-direction:column;align-items:flex-start;padding:34px;min-height:385px}
.wallet-label{font-size:15px;color:var(--muted)}
.wallet-main .account-number{font-family:var(--display,'Bahnschrift','Segoe UI',sans-serif);font-size:clamp(58px,5.8vw,78px);font-weight:600;line-height:1;margin:27px 0 4px;letter-spacing:-3px}
.wallet-main .account-number small{font-family:'Segoe UI',sans-serif;font-size:17px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:8px}
.wallet-main .account-note{font-size:14px}
.wallet-balance-split{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #45604b;padding-top:23px;margin-top:27px;width:100%}
.wallet-balance-split>div{min-width:0;display:flex;flex-direction:column;gap:8px}
.wallet-balance-split span{font-size:13px;color:#bed0c3}
.wallet-balance-split strong{font-size:25px;font-weight:600}
.wallet-balance-split small{font-size:12px;color:var(--muted)}
.wallet-main>.account-actions{margin-top:auto;padding-top:25px}
.wallet-main .btn:disabled{opacity:1;color:#8b9e90;border-color:#3a5944;background:transparent}
.wallet-guidance{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;padding:26px 28px;min-width:0}
.wallet-guidance>.account-art{margin-bottom:20px;width:180px}
.wallet-guidance h2{font-size:28px}
.wallet-guidance>p{color:var(--muted);margin-top:13px;font-size:15px;max-width:42ch}
.wallet-guidance>.btn{margin-top:22px}
.wallet-guidance>.account-note{font-size:13px}
.account-status{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;margin-bottom:12px}
.account-status:before{content:'';width:6px;height:6px;background:#a3b7a9;border-radius:50%}
.account-page .pix-price-list{margin:20px 0 0;max-width:100%}
.account-table-wrap{border:1px solid var(--line);border-radius:12px;overflow-x:auto;background:var(--card);scrollbar-color:#4c6655 transparent}
.account-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:auto}
.account-table th{text-align:left;font-size:13px;font-weight:600;color:var(--muted);background:transparent;padding:15px 18px;border-bottom:1px solid var(--line)}
.account-table td{padding:20px 18px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}
.account-table tbody tr:last-child td{border-bottom:0}
.account-table td small,.account-table th small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.45;font-weight:400}
.account-table .account-amount{text-align:right;white-space:nowrap}
.account-table .account-date{color:var(--muted);white-space:nowrap}
.account-page .credit-positive{color:#88dfaa}
.account-page .deposit-row{margin-top:10px;gap:16px;border-radius:12px;padding:19px 21px;background:var(--card);border-color:var(--line)}
.account-page .deposit-row small{font-size:13px}
.account-page .wallet-status{font-size:12px}
.account-page .legacy-demo-history{margin-top:24px;font-size:14px}
.account-page .legacy-demo-history summary{min-height:44px;cursor:pointer}
.history-filters{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;margin-bottom:19px}
.history-filters label{min-width:0}
.history-filters .form-label{font-size:14px;margin:0 0 8px;display:block;color:var(--muted)}
.history-filters .form-input{width:100%;font-size:16px;min-height:49px;margin:0}
.account-list-note{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;color:var(--muted);font-size:13px}
.account-page .pill{font-size:12px;white-space:normal;line-height:1.4}
.history-match-list{padding:5px 24px}
.match-history-row{display:grid;grid-template-columns:40px 44px minmax(0,1fr) 68px minmax(100px,auto) auto;gap:15px;align-items:center;padding:24px 0;border-top:1px solid var(--line)}
.match-history-row:first-child{border-top:0}
.match-history-row>.avatar{width:42px;height:45px;border-radius:9px}
.history-date{display:flex;flex-direction:column;text-align:center;line-height:1.2;color:var(--text)}
.history-date strong{font-size:23px;font-weight:600}
.history-date span{font-size:11px;letter-spacing:.06em;color:var(--muted);margin-top:5px}
.history-rival{min-width:0}
.history-rival h2{font-family:'Segoe UI',sans-serif;font-size:15px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}
.history-rival p,.history-rival small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.history-score{font-size:24px;font-weight:600;white-space:nowrap;text-align:center}
.match-history-row>.btn{font-size:13px;padding:10px 13px}
.account-quiet-note{display:flex;align-items:center;gap:23px;margin-top:29px;color:var(--muted)}
.account-quiet-note>:is(.account-icon,.ui-icon){width:32px;height:32px;color:#8aad94}
.account-quiet-note>div{flex:1;min-width:0}
.account-quiet-note h2{font-size:23px;color:var(--text)}
.account-quiet-note p{font-size:14px;margin-top:10px;max-width:68ch}
.account-quiet-note>.btn{flex:none}
.ranking-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;margin-bottom:20px}
.ranking-note :is(.account-icon,.ui-icon){width:20px;height:20px;color:#8db79b}
.ranking-panel{padding:27px}
.ranking-panel .account-table-wrap{border:0;background:transparent;border-radius:0}
.ranking-table{min-width:420px}
.ranking-table th,.ranking-table td{padding:19px 12px}
.ranking-table thead th{font-weight:400;color:var(--muted)}
.ranking-table th:first-child{width:50px}
.ranking-table th:nth-child(n+3),.ranking-table td:nth-child(n+3){width:62px;text-align:center}
.ranking-table tbody th{color:var(--text);vertical-align:middle}
.ranking-player{display:flex;gap:15px;align-items:center;text-align:left}
.ranking-player .avatar{width:40px;height:42px;flex:none;border-radius:9px}
.ranking-player>div{min-width:0}
.ranking-position{font-size:18px;color:var(--muted)}
.ranking-player strong{display:block;font-size:14px;overflow-wrap:anywhere}
.ranking-you{display:inline-block;font-size:12px;font-weight:400;color:#9becb8;margin-left:8px}
.ranking-own{background:#253c2c}
.ranking-table td:nth-child(4){font-weight:650}
.ranking-table abbr{text-decoration:none;cursor:help}
.ranking-key{color:var(--muted);font-size:12px;margin-top:20px!important}
.profile-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.3fr);gap:27px;align-items:start}
.account-profile .profile-identity{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:0;padding:31px;text-align:center;background:color-mix(in srgb,var(--club-color,#73e8a7) 13%,#19221c);border-color:color-mix(in srgb,var(--club-color,#73e8a7) 25%,var(--line))}
.account-profile .profile-identity:before{content:'';position:absolute;right:-65px;top:-60px;width:180px;height:440px;border-left:45px solid #f2f5ee08;transform:rotate(25deg);pointer-events:none}
.profile-identity>*{position:relative}
.profile-kicker{font-size:12px;letter-spacing:.07em;color:var(--muted)}
.profile-jersey{margin:21px 0 16px}
.account-profile .profile-jersey .avatar.large{width:150px;height:154px;background:transparent;border:0;border-radius:0}
.account-profile .profile-jersey .avatar img{object-fit:contain}
.account-profile .profile-identity h2{font-size:35px;overflow-wrap:anywhere;max-width:100%}
.account-profile .profile-identity>p{color:var(--muted);margin:12px 0 0;font-size:14px}
.profile-id-value{display:flex;flex-direction:column;align-items:center;gap:13px;padding-top:25px;margin-top:26px;border-top:1px solid color-mix(in srgb,var(--club-color,#73e8a7) 22%,var(--line));width:100%}
.profile-id-value>span{font-size:13px;color:var(--muted)}
.profile-id-value code{font-size:17px;letter-spacing:.03em;overflow-wrap:anywhere;max-width:100%;color:var(--text);background:none;border:0;padding:0;font-family:ui-monospace,Consolas,monospace}
.profile-information{display:grid;gap:23px;min-width:0}
.profile-facts{display:block;margin:0;padding:0}
.profile-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:17px 0;border-top:1px solid var(--line);font-size:14px}
.profile-facts dt{color:var(--muted);flex-shrink:0}
.profile-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.account-profile .profile-session{display:block;padding:28px;border:1px solid var(--line);margin:0;background:var(--card);border-radius:15px}
.profile-session p{color:var(--muted);font-size:14px;margin-top:12px}
.profile-session .account-actions{margin-top:23px}
.account-loading{display:flex;align-items:center;gap:12px;min-height:120px;color:var(--muted)}
@media(max-width:1100px){.wallet-layout{gap:20px}.wallet-main{padding:29px}.wallet-guidance{padding-inline:20px}.match-history-row{grid-template-columns:35px 40px minmax(0,1fr) 60px auto;gap:12px}.match-history-row>.btn{grid-column:3/6;justify-self:end;min-height:42px}.profile-layout{grid-template-columns:minmax(250px,.85fr) minmax(0,1.2fr)}.profile-facts>div{gap:16px}}
@media(max-width:850px){.wallet-layout{grid-template-columns:1fr 1fr;gap:20px}.wallet-main{padding:26px}.wallet-main .account-number{font-size:65px}.wallet-guidance{padding-inline:14px}.wallet-guidance h2{font-size:25px}.profile-layout{grid-template-columns:1fr}.profile-identity{max-width:100%}.account-profile .profile-identity{padding:27px}.account-profile .profile-identity .profile-jersey{margin:15px 0}.profile-id-value{margin-top:22px}.account-profile .profile-identity h2{font-size:32px}}
@media(max-width:650px){
 .account-intro{gap:16px;min-height:0;margin-bottom:26px;padding:3px 0 0}.account-intro p{font-size:15px;margin-top:12px}.account-art{width:86px}.account-intro>.account-art{display:none}.account-page h1{font-size:33px}.account-page h2{font-size:24px}
 .account-surface{padding:22px}.wallet-layout{grid-template-columns:1fr;gap:16px}.wallet-main{min-height:340px;padding:27px}.wallet-main .account-number{font-size:72px}.wallet-main .account-number small{font-size:16px}.wallet-balance-split{gap:18px;margin-top:24px}.wallet-balance-split span{font-size:13px}.wallet-guidance{padding:15px 4px 10px;display:grid;grid-template-columns:76px minmax(0,1fr);gap:0 18px;align-content:center}.wallet-guidance>.account-art{width:76px;grid-row:1/5;margin:0;align-self:start}.wallet-guidance>*:not(.account-art){grid-column:2}.wallet-guidance>.btn{justify-self:start;margin-top:19px}.wallet-guidance h2{font-size:25px}.wallet-guidance>p{font-size:14px}.wallet-guidance>.account-note{font-size:12px}.wallet-guidance .account-status{font-size:12px;margin-bottom:9px}.wallet-guidance .pix-price-list{grid-column:1/-1}
 .account-empty{padding:23px;gap:15px}.account-empty>:is(.account-icon,.ui-icon){width:26px;height:26px}.account-empty h2{font-size:23px}.account-empty .account-actions{align-items:stretch}.account-empty .btn{width:100%}.account-section{margin-top:25px}.account-section-head{gap:12px}.account-section-head h2{font-size:23px}.account-section-head p{font-size:12px}.account-table .account-date{white-space:normal}.account-table th,.account-table td{padding:16px 12px}.account-wallet .account-table{min-width:360px}
 .history-filters{grid-template-columns:1fr;gap:15px}.account-list-note{align-items:center}.account-page .deposit-row{flex-wrap:wrap;padding:19px}.account-page .deposit-row .grow{flex-basis:100%}.account-page .deposit-row>.btn{flex:0 0 auto;width:auto;margin-left:auto}.account-page .deposit-row .wallet-status{margin-left:0}
 .history-match-list{padding:4px 18px}.match-history-row{grid-template-columns:31px 37px minmax(0,1fr) 48px;gap:12px 10px;padding:21px 0}.match-history-row>.avatar{width:36px;height:40px}.history-date strong{font-size:21px}.history-date span{font-size:10px}.history-rival h2{font-size:14px;line-height:1.35}.history-rival p,.history-rival small{font-size:12px}.history-score{font-size:22px;text-align:right}.match-history-row>.pill{grid-column:3/5;justify-self:start}.match-history-row>.btn{grid-column:3/5;justify-self:start;padding:8px 12px;min-height:42px;font-size:13px}
 .account-quiet-note{gap:16px;flex-wrap:wrap;margin-top:25px;align-items:flex-start}.account-quiet-note>:is(.account-icon,.ui-icon){width:27px;height:27px}.account-quiet-note>div{flex:1;min-width:190px}.account-quiet-note h2{font-size:22px}.account-quiet-note p{font-size:14px;margin-top:9px}.account-quiet-note>.btn{margin-left:43px;font-size:13px}
 .ranking-panel{padding:22px 15px}.ranking-panel .account-section-head{margin-bottom:10px}.ranking-table{min-width:290px;font-size:13px}.ranking-table th,.ranking-table td{padding:17px 6px}.ranking-table th:first-child{width:28px;font-size:12px}.ranking-table th:nth-child(n+3),.ranking-table td:nth-child(n+3){width:27px;text-align:center}.ranking-table tbody th{min-width:122px}.ranking-player{gap:9px}.ranking-player .avatar{width:30px;height:34px}.ranking-player strong{font-size:13px}.ranking-table th small{display:none}.ranking-position{font-size:14px}.ranking-you{display:block;font-size:11px;margin:3px 0 0}.ranking-key{font-size:12px;margin-top:18px!important}.ranking-note{font-size:13px}
 .profile-layout{grid-template-columns:1fr;gap:20px}.account-profile .profile-identity{padding:27px}.account-profile .profile-jersey .avatar.large{width:134px;height:137px}.profile-information{gap:18px}.profile-facts>div{font-size:14px;gap:15px}.profile-facts dt{flex-shrink:1}.account-profile .profile-session{padding:22px}.profile-session .account-actions{gap:10px}.profile-session .account-actions .text-button{padding-inline:6px}.profile-id-value code{font-size:16px}.profile-information .account-actions{gap:12px}
}
@media(prefers-reduced-motion:reduce){.account-page *{scroll-behavior:auto;transition:none}}
