/* KLUBEXA V13.0.1 — Gestion des tournois + CRM clubs / réciprocité */
.tournament-eyebrow{display:block;font-size:.76rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#31547e;margin-bottom:4px}
.tournament-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tournament-card{background:#fff;border:1px solid #dfe7f1;border-radius:18px;padding:17px;box-shadow:0 8px 22px rgba(20,48,82,.05)}
.tournament-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tournament-card h2{margin:2px 0 4px;color:#062a5c}.tournament-meta{display:flex;flex-wrap:wrap;gap:10px;color:#65758a;font-size:.88rem;margin:12px 0}.tournament-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.tournament-kpis span{background:#f7f9fc;border:1px solid #e8edf3;border-radius:12px;padding:9px;text-align:center}.tournament-kpis b{display:block;color:#062a5c;font-size:1.2rem}.tournament-kpis small{display:block;color:#6c7a8d;font-size:.72rem;margin-top:2px}.tournament-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.tournament-actions form{margin:0}
.tournament-hero-admin{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px;border-radius:19px;background:linear-gradient(135deg,#062a5c,#0d477f);color:#fff;margin-bottom:15px}.tournament-hero-admin h1{margin:3px 0;color:#fff}.tournament-hero-admin p{margin:5px 0 0;color:#d9e7f5}.tournament-hero-admin .tournament-eyebrow{color:#ffd400}
.tournament-dashboard-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:15px}.tournament-dashboard-kpis>div,.tournament-dashboard-kpis>a{background:#fff;border:1px solid #e1e8f1;border-radius:14px;padding:13px;text-align:center}.tournament-dashboard-kpis>a{text-decoration:none;color:inherit}.tournament-dashboard-kpis>a:hover{border-color:#e0bf00;box-shadow:0 5px 14px rgba(18,48,80,.07)}.tournament-dashboard-kpis b{display:block;color:#062a5c;font-size:1.55rem}.tournament-dashboard-kpis span{display:block;font-size:.75rem;color:#6e7b8c;margin-top:3px}
.tournament-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}.tournament-workflow>a,.tournament-workflow>div{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;padding:14px;border:1px solid #e0e7f0;border-radius:15px;background:#fff;text-decoration:none;color:inherit}.tournament-workflow>a:hover{border-color:#8fb2d5;box-shadow:0 5px 14px rgba(18,48,80,.07)}.tournament-workflow>div.is-future{opacity:.58}.tournament-workflow span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ffd400;color:#062a5c;font-weight:900}.tournament-workflow strong{color:#062a5c}.tournament-workflow small{color:#728095}
.tournament-category-list{display:grid;gap:8px}.tournament-category-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fafbfd}.tournament-category-row small{display:block;color:#6c7b8f;margin-top:4px}.tournament-category-editor{margin-top:16px;padding-top:16px;border-top:1px solid #e7edf3}
.check-row{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #e3e9f0;border-radius:10px;background:#fafbfd}.check-row input[type=checkbox]{width:auto!important;min-width:0!important;margin-top:2px}
.tournament-filter-row,.tournament-search{display:flex;gap:8px;align-items:center}.tournament-filter-row select{max-width:420px}.tournament-search input{flex:1}.tournament-club-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.tournament-club-option{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;padding:10px;border:1px solid #e1e7ef;border-radius:11px;background:#fff}.tournament-club-option>label{display:flex;align-items:flex-start;gap:9px;flex:1;cursor:pointer;min-width:0}.tournament-club-option input{width:auto!important;min-width:0!important;margin-top:3px}.tournament-club-option strong,.tournament-club-option small{display:block}.tournament-club-option small{margin-top:3px;color:#6b788b}.tournament-recipient-preview{padding-top:4px}.tournament-club-option>.btn{flex:0 0 auto}
.tournament-send-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px;border-radius:12px;background:#f4f8fd;border:1px solid #dbe7f4}.tournament-send-bar small{display:block;color:#6c7a8f;margin-top:3px}
.tournament-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:13px}.tournament-tabs a{text-decoration:none;padding:8px 11px;border-radius:999px;background:#edf2f7;color:#42566d;font-weight:800;font-size:.83rem}.tournament-tabs a.active{background:#062a5c;color:#fff}
.tournament-row-menu{position:relative}.tournament-row-menu summary{cursor:pointer;font-weight:800;color:#31547e}.tournament-row-menu>div{position:absolute;right:0;z-index:3;min-width:230px;background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:10px;box-shadow:0 12px 30px rgba(18,48,80,.15)}.tournament-row-menu form{display:grid;grid-template-columns:1fr auto;gap:6px;margin-bottom:7px}.tournament-row-menu select{min-width:0}
.tournament-crm-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 15px;padding:12px 14px;border:1px solid #ead25c;border-radius:14px;background:#fff9d9}.tournament-crm-strip strong,.tournament-crm-strip small{display:block}.tournament-crm-strip strong{color:#062a5c}.tournament-crm-strip small{color:#6b664c;margin-top:3px}
.tournament-club-dialog{width:min(960px,calc(100vw - 24px));height:min(820px,calc(100vh - 24px));padding:0;border:0;border-radius:18px;box-shadow:0 24px 70px rgba(9,35,65,.28);overflow:hidden}.tournament-club-dialog::backdrop{background:rgba(6,42,92,.45);backdrop-filter:blur(2px)}.tournament-club-dialog-head{height:56px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;background:#062a5c;color:#fff;border-bottom:4px solid #ffd400}.tournament-club-dialog iframe{display:block;width:100%;height:calc(100% - 56px);border:0;background:#f4f7fb}
.tournament-public-wrap{width:min(940px,calc(100% - 24px));margin:0 auto;padding:18px 0 55px}.tournament-public-header{display:flex;align-items:center;gap:16px;padding:19px;border-radius:20px;background:#062a5c;color:#fff;margin-bottom:16px}.tournament-public-header img{width:78px;height:78px;object-fit:contain}.tournament-public-header span{font-size:.75rem;font-weight:900;color:#ffd400;letter-spacing:.08em}.tournament-public-header h1{margin:2px 0;color:#fff}.tournament-public-header p{margin:4px 0 0;color:#d7e6f5}.tournament-public-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tournament-public-card{display:flex;flex-direction:column;justify-content:space-between;min-height:220px;padding:17px;border:1px solid #dfe6ef;border-radius:17px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 7px 20px rgba(18,48,80,.05)}.tournament-public-card h2{margin:3px 0;color:#062a5c}.tournament-public-card p{color:#596b80}.tournament-public-facts{display:grid;gap:5px;color:#68778b;font-size:.86rem;margin:12px 0}.tournament-public-cta{color:#0b4d86}.tournament-public-footer{text-align:center;color:#7b8796;font-size:.78rem;margin-top:22px}.tournament-back{display:inline-flex;text-decoration:none;color:#31547e;font-weight:900;margin-bottom:10px}
.tournament-live-hero{position:relative;padding:22px;border-radius:22px;background:linear-gradient(140deg,#062a5c,#0c4d87);color:#fff;margin-bottom:14px}.tournament-live-brand{display:flex;align-items:center;gap:8px}.tournament-live-brand img{width:36px;height:36px;object-fit:contain}.tournament-live-brand span{font-size:.75rem;color:#ffd400;font-weight:900;letter-spacing:.07em}.tournament-live-hero>.badge{position:absolute;right:18px;top:18px}.tournament-live-hero h1{margin:12px 0 4px;color:#fff;font-size:2rem}.tournament-live-hero p{color:#dce8f5}.tournament-live-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.tournament-live-facts>div{background:rgba(255,255,255,.1);border-radius:12px;padding:11px}.tournament-live-facts strong,.tournament-live-facts small{display:block}.tournament-live-facts small{color:#d3e1ef;margin-top:3px}.tournament-text{white-space:normal}.tournament-public-categories{display:grid;gap:9px}.tournament-public-categories article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e8f0;border-radius:13px;background:#fff}.tournament-public-categories h3{display:inline;margin-left:7px;color:#062a5c}.tournament-public-categories p{margin:6px 0 3px;color:#68778b;font-size:.85rem}.tournament-category-code{display:inline-grid;place-items:center;min-width:46px;padding:5px 8px;border-radius:9px;background:#ffd400;color:#062a5c;font-weight:900}.tournament-live-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.tournament-live-preview>div{display:grid;grid-template-columns:38px 1fr;column-gap:9px;align-items:center;padding:13px;border:1px dashed #b7c7d8;border-radius:14px;background:#f7faff}.tournament-live-preview>div>span{grid-row:1/3;font-size:1.5rem}.tournament-live-preview strong{color:#062a5c}.tournament-live-preview small{color:#68778b}
.tournament-form-wrap{width:min(760px,calc(100% - 24px));margin:0 auto;padding:18px 0 50px}.tournament-form-hero,.tournament-team-hero,.tournament-invite-hero{padding:19px;border-radius:19px;background:#062a5c;color:#fff;margin-bottom:14px}.tournament-form-hero h1,.tournament-team-hero h1,.tournament-invite-hero h1{color:#fff;margin:3px 0}.tournament-form-hero .tournament-eyebrow,.tournament-team-hero .tournament-eyebrow,.tournament-invite-hero .tournament-eyebrow{color:#ffd400}.tournament-form-hero strong{display:block;color:#ffd400;margin-top:7px}.tournament-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.tournament-price-box{display:grid;grid-template-columns:1fr auto;gap:6px;margin:13px 0;padding:12px;border:1px solid #f0d96f;border-radius:12px;background:#fff8d7}.tournament-price-box b{color:#062a5c;font-size:1.15rem}.tournament-price-box small{grid-column:1/-1;color:#6e6643}.tournament-antispam{padding:12px;border:1px solid #dbe5ef;border-radius:12px;background:#f8fafc;margin:13px 0}.tournament-antispam>strong{display:block;margin-bottom:8px;color:#173d69}.tournament-antispam small{display:block;margin-top:5px;color:#5c6e82}.tournament-submit{width:100%;padding:13px;margin-top:12px}.tournament-submit[disabled]{opacity:.55;cursor:not-allowed}
.tournament-invite-hero{text-align:center}.tournament-invite-hero img{width:72px;height:72px;object-fit:contain;margin-bottom:4px}.tournament-invite-category{display:inline-flex;align-items:center;gap:8px;margin:9px auto;padding:8px 12px;border-radius:11px;background:rgba(255,255,255,.11)}.tournament-invite-category span{display:grid;place-items:center;padding:4px 7px;border-radius:8px;background:#ffd400;color:#062a5c;font-weight:900}.tournament-existing-entries{display:grid;gap:7px}.tournament-existing-entries a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#062a5c;padding:10px 11px;border-radius:10px;background:#f6f9fc;border:1px solid #e4eaf0}.tournament-decline{opacity:.95}.tournament-team-hero{text-align:center}.tournament-team-hero>.badge{display:inline-block;margin-top:8px}.tournament-team-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tournament-team-facts>div{padding:10px;border-radius:11px;background:#f7f9fc;border:1px solid #e8edf3}.tournament-team-facts small,.tournament-team-facts strong{display:block}.tournament-team-facts small{color:#7a8796}.tournament-team-facts strong{color:#062a5c;margin-top:2px}.tournament-cancel-form{text-align:center;margin-top:14px}
.tournament-member-list{display:grid;gap:9px}.tournament-member-list>a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:inherit;background:#fff;border:1px solid #e0e7ef;border-radius:14px;padding:13px}.tournament-member-list strong,.tournament-member-list small{display:block}.tournament-member-list strong{color:#062a5c;font-size:1.03rem}.tournament-member-list small{color:#6e7c8f;margin-top:4px}.tournament-member-list>b{font-size:1.5rem;color:#31547e}
@media(max-width:900px){.tournament-dashboard-kpis{grid-template-columns:repeat(3,1fr)}.tournament-workflow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.tournament-cards,.tournament-public-cards,.tournament-club-picker,.tournament-live-preview{grid-template-columns:1fr}.tournament-crm-strip{align-items:flex-start;flex-direction:column}.tournament-club-option{align-items:stretch;flex-direction:column}.tournament-club-option>.btn{align-self:flex-start}.tournament-kpis{grid-template-columns:repeat(2,1fr)}.tournament-dashboard-kpis{grid-template-columns:repeat(2,1fr)}.tournament-workflow{grid-template-columns:1fr}.tournament-live-facts,.tournament-team-facts{grid-template-columns:1fr}.tournament-public-categories article,.tournament-category-row,.tournament-send-bar{align-items:flex-start;flex-direction:column}.tournament-filter-row,.tournament-search{align-items:stretch;flex-direction:column}.tournament-hero-admin{flex-direction:column}.tournament-live-hero>.badge{position:static;display:inline-block;margin-top:10px}.tournament-public-header{align-items:flex-start}.tournament-public-header img{width:60px;height:60px}}

/* V13.0.4 — communication tournoi / pièces jointes */
.tournament-document-list{display:grid;gap:10px;margin:12px 0 16px}.tournament-document-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #dce3ec;border-radius:12px;background:#fff}.tournament-document-row small{display:block;margin-top:4px;color:#667085}.tournament-document-upload{margin-top:14px;padding-top:14px;border-top:1px dashed #d5dbe5}.tournament-mail-preview-shell{max-width:860px;margin:0 auto}.tournament-mail-preview-meta{padding:12px 14px;border:1px solid #dce3ec;border-radius:12px;background:#f8fafc;margin-bottom:14px}.tournament-invitation-message{white-space:pre-wrap;line-height:1.65}.tournament-invite-docs{display:grid;gap:8px}.tournament-invite-docs a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid #dce3ec;border-radius:10px;text-decoration:none;background:#fff}
@media(max-width:760px){.tournament-document-row{align-items:flex-start;flex-direction:column}.tournament-document-row .actions{width:100%;flex-wrap:wrap}.tournament-document-row .actions form{flex:1}.tournament-document-row .actions button{width:100%}}

/* V13.0.5 — invitations club multi-catégories */
.tournament-category-picker{display:flex;flex-wrap:wrap;gap:9px}.tournament-category-picker label{display:flex;align-items:flex-start;gap:8px;min-width:180px;padding:10px 12px;border:1px solid #dfe6ee;border-radius:12px;background:#fff;cursor:pointer}.tournament-category-picker input{width:auto!important;min-width:0!important;margin-top:3px}.tournament-category-picker strong,.tournament-category-picker small{display:block}.tournament-category-picker small{color:#6d7a8b;margin-top:3px}.tournament-invite-category-stack{display:grid;gap:7px;min-width:220px}.tournament-invite-category-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #e5eaf0;border-radius:10px;background:#fafbfd}.tournament-invite-category-row .actions{flex:0 0 auto}.tournament-category-response .section-head>div small{display:block;margin-top:3px;color:#718096}.tournament-category-details{margin-top:10px;border:1px solid #e0e7ef;border-radius:12px;background:#fafbfd;overflow:hidden}.tournament-category-details summary{cursor:pointer;padding:11px 13px;font-weight:800;color:#17436f}.tournament-category-form,.tournament-category-details form{padding:0 13px 13px}.tournament-category-response>.section-body>.alert{margin:0}.tournament-category-response .tournament-existing-entries{margin-bottom:10px}
@media(max-width:760px){.tournament-category-picker{display:grid;grid-template-columns:1fr}.tournament-category-picker label{min-width:0}.tournament-invite-category-row{align-items:flex-start;flex-direction:column}.tournament-invite-category-stack{min-width:0}}

/* V13.1.0 — moteur sportif Tournois */
.tournament-sport-tabs{display:flex;gap:8px;overflow:auto;padding:3px 0 12px;margin-bottom:4px}.tournament-sport-tabs a{flex:0 0 auto;min-width:92px;padding:9px 12px;border:1px solid #dce4ed;border-radius:12px;background:#fff;color:#425a73;text-decoration:none;text-align:center}.tournament-sport-tabs a strong,.tournament-sport-tabs a small{display:block}.tournament-sport-tabs a small{margin-top:2px;color:#7b8795;font-size:.72rem}.tournament-sport-tabs a.active{border-color:#0c4d87;background:#062a5c;color:#fff}.tournament-sport-tabs a.active small{color:#d9e7f5}
.tournament-sport-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;margin-bottom:14px;border-radius:17px;background:linear-gradient(135deg,#062a5c,#0c4d87);color:#fff}.tournament-sport-hero>div:first-child{display:flex;align-items:center;gap:12px}.tournament-sport-hero h2{margin:0;color:#fff}.tournament-sport-hero p{margin:3px 0 0;color:#dbe8f5}.tournament-sport-kpis{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tournament-sport-kpis span{min-width:76px;padding:8px 10px;border-radius:11px;background:rgba(255,255,255,.11);text-align:center}.tournament-sport-kpis b{display:block;font-size:1.15rem;color:#ffd400}.tournament-sport-kpis span{font-size:.76rem}
.tournament-ranking-settings{margin-top:14px;padding:13px;border:1px solid #dfe6ee;border-radius:12px;background:#f8fafc}.tournament-ranking-settings>strong{display:block;margin-bottom:9px;color:#173f6c}.tournament-ranking-settings.is-muted{opacity:.62}.tournament-generation-advice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.tournament-generation-advice>div{padding:13px;border:1px solid #dfe6ee;border-radius:12px;background:#f8fafc}.tournament-generation-advice strong,.tournament-generation-advice b,.tournament-generation-advice small{display:block}.tournament-generation-advice b{margin:3px 0;color:#062a5c;font-size:1.4rem}.tournament-generation-advice p{margin:4px 0 0;color:#627286;font-size:.86rem}.tournament-generate-note{display:flex;align-items:center;padding:9px 0;color:#596b80}
.tournament-pool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tournament-pool-card{border:1px solid #dfe6ee;border-radius:15px;background:#fff;overflow:hidden}.tournament-pool-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:#f6f9fc;border-bottom:1px solid #e4eaf0}.tournament-pool-card>header h3{margin:0;color:#062a5c}.tournament-pool-card>header span{font-size:.78rem;color:#718096}.tournament-pool-teams{display:grid;gap:1px}.tournament-pool-teams>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid #eef2f6}.tournament-pool-teams>div:last-child{border-bottom:0}.tournament-pool-teams form{margin:0}.tournament-pool-teams select{min-width:105px;padding:5px 7px}.tournament-standing{border-top:1px solid #e5eaf0}.tournament-standing table{margin:0}.tournament-no-ranking{margin:10px 12px 12px;padding:11px 12px;border-radius:11px;background:#edf5ff;color:#17436f}.tournament-no-ranking small{color:#5e748d}.tournament-balance-check{margin-top:14px;border:1px solid #dfe6ee;border-radius:12px;overflow:hidden}.tournament-balance-check summary{cursor:pointer;padding:11px 13px;font-weight:800;color:#17436f;background:#fafbfd}.tournament-balance-check .table-wrap{padding:0 12px 12px}
.tournament-score-form{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.tournament-score-form input[type=number]{width:52px;min-width:52px;text-align:center;padding:6px}.tournament-match-table td{vertical-align:middle}.tournament-match-table td:nth-child(4){min-width:180px;text-align:center}
@media(max-width:900px){.tournament-pool-grid{grid-template-columns:1fr}.tournament-sport-hero{align-items:flex-start;flex-direction:column}.tournament-sport-kpis{justify-content:flex-start}.tournament-generation-advice{grid-template-columns:1fr}}
@media(max-width:760px){.tournament-pool-teams>div{align-items:flex-start;flex-direction:column}.tournament-pool-teams form,.tournament-pool-teams select{width:100%}.tournament-match-table{min-width:820px}}
.tournament-format-note{display:block;margin-top:6px;font-weight:800;color:#46627f}

/* V13.1.3 — phases finales Tournois */
[data-competition-only][hidden],[data-formation-only][hidden]{display:none!important}.tournament-competition-settings{margin-top:14px;padding:13px;border:1px solid #dfe6ee;border-radius:12px;background:#fbfcfe}.tournament-final-config-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:13px}.tournament-final-config-summary>div{padding:12px 13px;border:1px solid #dfe6ee;border-radius:12px;background:#f8fafc}.tournament-final-config-summary strong,.tournament-final-config-summary b,.tournament-final-config-summary small{display:block}.tournament-final-config-summary strong{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#6c7a8c}.tournament-final-config-summary b{margin-top:4px;color:#062a5c}.tournament-final-config-summary small{margin-top:4px;color:#6b788b}.tournament-final-generate{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}.tournament-final-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.tournament-final-path{border:1px solid #dfe6ee;border-radius:14px;background:#fff;overflow:hidden}.tournament-final-path>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 13px;background:#f7f9fc;border-bottom:1px solid #e6ebf1}.tournament-final-path>header>div{display:flex;align-items:center;gap:8px}.tournament-final-path h3{margin:0;color:#062a5c}.tournament-cup-dot{display:inline-block;width:11px;height:11px;border-radius:50%}.cup-gold{background:#d4af37}.cup-silver{background:#aeb7c2}.cup-bronze{background:#a97142}.tournament-phase-seeds{display:grid}.tournament-phase-seeds>span{padding:9px 12px;border-bottom:1px solid #eef2f6}.tournament-phase-seeds>span:last-child{border-bottom:0}.tournament-phase-seeds b{display:inline-block;min-width:28px;color:#31547e}.tournament-phase-seeds small{display:block;margin:3px 0 0 31px;color:#7b8795}.tournament-champion{padding:10px 12px;background:#fff8d2;color:#5b4a00;border-bottom:1px solid #eadf9b}.tournament-final-matches{margin-top:18px}.tournament-final-matches>h3{margin:18px 0 6px;color:#062a5c}.tournament-final-matches>h4{margin:8px 0 6px;color:#526980;font-size:.88rem}.tournament-final-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e1e7ef;border-radius:12px;background:#fff;margin-bottom:7px}.tournament-final-match .team.away{text-align:right}.tournament-knockout-score{display:flex;align-items:center;gap:7px}.tournament-knockout-score .score-main,.tournament-knockout-score .score-pens{display:flex;align-items:center;gap:4px}.tournament-knockout-score input[type=number]{width:48px;min-width:48px;text-align:center;padding:6px}.tournament-knockout-score .score-pens{padding-left:7px;border-left:1px solid #dfe6ee}.tournament-knockout-score .score-pens small{font-weight:800;color:#6c7a8c}.tournament-clear-finals{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px dashed #d9e0e8}.tournament-standing tr.is-qualified td{background:#f5fbf2}
@media(max-width:980px){.tournament-final-paths{grid-template-columns:1fr 1fr}.tournament-final-config-summary{grid-template-columns:1fr}.tournament-final-match{grid-template-columns:1fr}.tournament-final-match .team.away{text-align:left}.tournament-knockout-score{justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:700px){.tournament-final-paths{grid-template-columns:1fr}.tournament-final-generate,.tournament-clear-finals{align-items:stretch;flex-direction:column}.tournament-final-generate .btn,.tournament-clear-finals .btn{width:100%}.tournament-knockout-score .score-pens{padding-left:0;border-left:0}}

/* V13.1.4 — espace membre Tournois en lecture seule */
.member-tournament-list{display:grid;gap:12px}.member-tournament-card{background:#fff;border:1px solid #e0e7ef;border-radius:16px;overflow:hidden}.member-tournament-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px;border-bottom:1px solid #edf1f5}.member-tournament-card-head h2{margin:2px 0 4px;color:#062a5c;font-size:1.08rem}.member-tournament-card-head p{margin:0;color:#6e7c8f;font-size:.86rem}.member-tournament-teams{display:grid}.member-tournament-teams>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;text-decoration:none;color:inherit;border-top:1px solid #edf1f5}.member-tournament-teams>a:first-child{border-top:0}.member-tournament-teams strong,.member-tournament-teams small{display:block}.member-tournament-teams strong{color:#062a5c}.member-tournament-teams small{margin-top:3px;color:#6e7c8f}.member-tournament-entry-status{display:flex;align-items:center;gap:9px}.member-tournament-entry-status>b{font-size:1.4rem;color:#31547e}.member-tournament-empty{text-align:center;padding:18px 8px}.member-tournament-empty>span{display:block;font-size:2rem}.member-tournament-empty strong,.member-tournament-empty small{display:block;margin-top:7px}.member-tournament-empty small{color:#6e7c8f;line-height:1.45}.member-tournament-detail-hero{background:#062a5c;color:#fff;border-radius:18px;padding:18px;margin-bottom:14px}.member-tournament-detail-hero h1{margin:6px 0;font-size:1.45rem}.member-tournament-detail-hero p{margin:0;opacity:.88}.member-tournament-detail-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.member-tournament-team-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-tournament-team-summary>div{border:1px solid #e7edf3;border-radius:12px;padding:11px}.member-tournament-team-summary small,.member-tournament-team-summary strong{display:block}.member-tournament-team-summary small{color:#718095;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}.member-tournament-team-summary strong{color:#062a5c;margin-top:4px}.member-tournament-standing .is-my-team td{font-weight:700;background:#f7fbff}.member-tournament-match-list{display:grid;gap:10px}.member-tournament-match{border:1px solid #e0e7ef;border-radius:14px;padding:12px}.member-tournament-match-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#66758a;font-size:.78rem;margin-bottom:9px}.member-tournament-match-meta span{font-weight:700;color:#31547e}.member-tournament-match-meta small{margin-left:auto}.member-tournament-match-main{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center}.member-tournament-match-main small,.member-tournament-match-main strong{display:block}.member-tournament-match-main small{color:#7a8798;font-size:.72rem}.member-tournament-match-main strong{color:#062a5c;margin-top:2px}.member-tournament-match-main .right{text-align:right}.member-tournament-score{font-size:1.25rem;font-weight:800;color:#062a5c;white-space:nowrap}.member-tournament-match>.badge{margin-top:9px}.member-tournament-readonly{border-style:dashed}.member-tournament-readonly p{margin:5px 0 0;color:#68778a;font-size:.86rem;line-height:1.45}
@media(max-width:620px){.member-tournament-card-head{flex-direction:column}.member-tournament-team-summary{grid-template-columns:1fr}.member-tournament-match-meta small{width:100%;margin-left:0}.member-tournament-match-main{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:6px}.member-tournament-match-main strong{font-size:.86rem}.member-tournament-entry-status .badge{font-size:.7rem}}


/* V13.1.6 — menu Actions des équipes inscrites plus lisible */
.tournament-row-menu{position:relative;display:inline-block}
.tournament-row-menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d7e1ec;border-radius:9px;background:#f8fafc;color:#264f7d;font-weight:900;white-space:nowrap;transition:.15s ease}
.tournament-row-menu summary::-webkit-details-marker{display:none}
.tournament-row-menu summary::before{content:'▸';font-size:.78rem;transition:transform .15s ease}
.tournament-row-menu[open] summary{background:#edf4fb;border-color:#aac3dc;color:#062a5c}
.tournament-row-menu[open] summary::before{transform:rotate(90deg)}
.tournament-row-menu>.tournament-row-menu-panel{position:absolute;right:0;z-index:30;width:min(330px,calc(100vw - 32px));min-width:310px;background:#fff;border:1px solid #d9e3ed;border-radius:14px;padding:13px;box-shadow:0 18px 42px rgba(18,48,80,.2)}
.tournament-row-menu-title{padding:2px 2px 11px;margin-bottom:10px;border-bottom:1px solid #edf1f5}
.tournament-row-menu-title strong,.tournament-row-menu-title small{display:block}
.tournament-row-menu-title strong{color:#062a5c;font-size:.94rem}
.tournament-row-menu-title small{margin-top:3px;color:#6f7e90;font-size:.76rem}
.tournament-row-menu form.tournament-row-action{display:block;margin:0 0 11px;padding:10px;border:1px solid #e3e9f0;border-radius:11px;background:#fafbfd}
.tournament-row-action>label,.tournament-row-link>span{display:block;margin:0 0 6px;color:#405a76;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.025em}
.tournament-row-action-controls{display:grid;grid-template-columns:1fr;gap:7px}
.tournament-row-action-controls select{width:100%;min-width:0;height:40px;background:#fff}
.tournament-row-action-controls .btn{width:100%;justify-content:center;min-height:38px}
.tournament-row-link{padding:10px;border:1px solid #e3e9f0;border-radius:11px;background:#fff}
.tournament-row-link .btn{display:flex;width:100%;justify-content:center;align-items:center;min-height:40px}
@media(max-width:700px){
 .tournament-row-menu{position:static}
 .tournament-row-menu>.tournament-row-menu-panel{position:absolute;left:12px;right:12px;width:auto;min-width:0}
}


/* V13.1.7 — valeurs actuelles visibles dans le menu Actions */
.tournament-row-current{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;padding:7px 9px;border-radius:9px;background:#eef4fb;color:#49627d}
.tournament-row-current span{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
.tournament-row-current strong{min-width:0;color:#062a5c;font-size:.82rem;font-weight:950;text-align:right;overflow-wrap:anywhere}
.tournament-row-action-controls select{height:auto!important;min-height:46px;padding:10px 42px 10px 12px!important;line-height:1.25!important;color:#102f57!important;font-weight:800;background-color:#fff!important}

/* V13.1.9 - correction e-mail et renvoi de confirmation */
.tournament-row-email-action .tournament-row-action-controls input[type=email]{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #ccd9e6;border-radius:9px;background:#fff;color:#102f57;font-weight:800}
.tournament-row-email-help{margin:-1px 0 8px;color:#6d7c8d;font-size:.74rem;line-height:1.4}
