/* JahAnti EA FC tournament viewer: v1 (scoped only to .ja-t-* classes). */
.ja-tournament-section{background:#f6f1e7;padding-top:clamp(32px,5vw,64px);padding-bottom:clamp(34px,6vw,72px);color:#29251e}
.ja-t-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}
.ja-t-heading h2{font-family:inherit;font-size:clamp(30px,4.4vw,54px);letter-spacing:-.025em;margin:4px 0 0;color:#24211d}
.ja-t-heading h2 em{color:#a78038;font-style:normal}
.ja-t-eyebrow,.ja-t-kicker{font-size:11px;color:#967033;letter-spacing:.13em;font-weight:800}
.ja-t-featured{background:white;border:1px solid #e5dccc;border-radius:15px;padding:clamp(14px,2.5vw,29px);box-shadow:0 3px 24px rgba(0,0,0,.035)}
.ja-t-intro{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #eee7dd;padding-bottom:17px;margin-bottom:16px}
.ja-t-intro-copy{min-width:0;flex:1}.ja-t-intro h3{font-family:inherit;font-weight:800;font-size:clamp(22px,2.6vw,33px);line-height:1.1;margin:6px 0 4px;color:#25211b}
.ja-t-meta{font-size:13px;color:#786f63;margin:5px 0 0}.ja-t-status,.ja-t-registration{font-size:11px;font-weight:800;border-radius:20px;padding:8px 11px;background:#edf1e9;color:#316a42;white-space:nowrap}.ja-t-completed{background:#f5edd8;color:#806021}
.ja-t-champion{width:100%;margin:7px 0 0;font-weight:700;color:#8e692b;font-size:13px}
.ja-t-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.ja-t-tab{border:1px solid #e7dbc5;background:#f8f4ed;color:#373029;cursor:pointer;border-radius:7px;font-size:13px;font-weight:800;padding:9px 15px}.ja-t-tab.is-active{background:#27241e;color:#f8e1aa;border-color:#27241e}
.ja-t-contents{margin-bottom:20px}.ja-t-boards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:13px}
.ja-t-group{border:1px solid #eadfca;background:#fcfaf6;border-radius:9px;overflow:hidden;min-width:0}.ja-t-group h4{margin:0;padding:12px 14px;background:#ede4d5;font-size:14px;color:#3c3020}
.ja-t-table{border-collapse:collapse;width:100%;font-size:12px}.ja-t-table th,.ja-t-table td{padding:9px 8px;border-bottom:1px solid #ece6db;text-align:right;white-space:nowrap}.ja-t-table th:nth-child(2),.ja-t-table td:nth-child(2){text-align:left;max-width:135px;overflow:hidden;text-overflow:ellipsis}
.ja-t-table th{color:#75634e;font-size:10px}.ja-t-subheading{font-weight:800;margin:20px 0 9px;font-size:15px}
.ja-t-results{max-height:267px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #e9e0d2;border-radius:9px;scrollbar-width:thin}.ja-t-result-line{display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #f0eae0;min-height:52px;font-size:13px}.ja-t-result-line small{color:#9b783f;font-weight:700}.ja-t-result-line strong{font-weight:800;white-space:nowrap}
.ja-t-available{margin-top:20px}.ja-t-available h4{font-size:14px;margin:0 0 8px}.ja-t-available-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px}.ja-t-available-list>div{padding:10px 12px;background:#f6f1e7;border-radius:6px;font-size:12px}.ja-t-note{font-size:12px;color:#82776a}.ja-t-bracket{display:flex;gap:12px;overflow-x:auto;padding:9px 0 14px;scrollbar-width:thin}.ja-t-round{flex:0 0 188px}.ja-t-round h4{margin:0 0 9px;font-size:12px;color:#96743a}.ja-t-match{border:1px solid #e6dccd;border-radius:8px;padding:9px 10px;background:#fbf7f0;margin-bottom:7px}.ja-t-match-players{display:flex;flex-direction:column;gap:4px;font-size:12px}.ja-t-match-players strong{color:#916b2b}.ja-t-match small{font-size:10px;color:#8c7963}
.ja-t-upcoming-card{margin-top:17px;background:#26231e;color:#fff5e1;border-radius:12px;padding:17px 22px}.ja-t-upcoming-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ja-t-upcoming-head h4{font-size:11px;font-weight:800;letter-spacing:.12em;color:#cda65e;margin:0}.ja-t-upcoming-card h3{font-size:24px;font-weight:800;margin:13px 0 5px}.ja-t-upcoming-card p{margin:5px 0;color:#e5d8c6}.ja-t-upcoming-card .ja-t-note{color:#c0b19f}.ja-t-archive-link{display:flex;justify-content:flex-end;margin-top:18px}.ja-t-archive-link button{border:1px solid #a68a58;background:transparent;color:#80602d;border-radius:6px;font-weight:800;cursor:pointer;padding:12px 15px;font-size:12px}
.ja-t-empty{background:white;padding:35px 20px;border:1px solid #eadfca;border-radius:10px;color:#786a56;text-align:center}
.ja-t-archive-dialog{border:0;border-radius:12px;width:min(1000px,94vw);max-height:90vh;overflow-y:auto;padding:22px;background:#f9f5ec;color:#2b241b;box-shadow:0 28px 80px #0006}.ja-t-archive-dialog::backdrop{background:#0b0a08bd}.ja-t-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ja-t-modal-heading h2{font-size:24px;margin:0}.ja-t-modal-heading button{cursor:pointer;border:0;background:#27221b;color:#fff;border-radius:6px;padding:8px 12px}.ja-t-archive-dialog label{display:block;margin:18px 0 5px;font-weight:800;font-size:12px}.ja-t-archive-dialog select{width:100%;padding:12px 10px;margin:0 0 15px;border:1px solid #d2c2a4;background:white;border-radius:6px}
.ja-t-featured :focus-visible,.ja-t-archive-dialog :focus-visible,.ja-t-archive-link button:focus-visible{outline:3px solid #ba944a;outline-offset:2px}
@media(max-width:640px){.ja-t-intro{flex-direction:column}.ja-t-result-line{grid-template-columns:1fr auto;gap:2px 7px}.ja-t-result-line small{grid-column:1/-1}.ja-t-archive-dialog{width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:17px}.ja-t-table th,.ja-t-table td{padding:8px 5px;font-size:11px}.ja-t-tables{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){.ja-t-results{scroll-behavior:auto}}
/* v15 hides the mode row when any game selector is hidden. FC has a second
   selector, so explicitly reveal the row for its active Official/Friendlies switch. */
body[data-game="fc"] .rank-control-top{display:flex!important}
