.tournament-dialog{width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:0;border-radius:18px;padding:clamp(20px,4vw,36px);color:#332429}.tournament-dialog::backdrop{background:#201016b8}.tournament-close{float:right;font-size:1.5rem;padding:4px 15px}.tournament-fee{font-size:2rem;font-weight:800;color:#8d1739}.tournament-fee small{font-size:1rem;font-weight:400}.tournament-choice{display:flex!important;align-items:flex-start;gap:12px;margin:15px 0}.tournament-choice input[type=checkbox],.tournament-choice input[type=radio]{width:20px!important;height:20px!important;flex:0 0 20px;margin:0}.tournament-terms{white-space:pre-wrap;overflow-wrap:anywhere}.tournament-actions{display:flex;flex-wrap:wrap;gap:12px}.tournament-admin-table{overflow:auto}.tournament-admin-table table{width:100%;border-collapse:collapse}.tournament-admin-table th,.tournament-admin-table td{text-align:left;padding:12px;border-bottom:1px solid #eadcde;vertical-align:top}.tournament-admin-form{margin:24px 0}.tournament-admin-form textarea{min-height:120px}.tournament-dialog .wide{grid-column:1/-1}

/* En-tête unique, inscription située dans chaque carte tournoi. */
.tournaments-content{padding-top:clamp(32px,5vw,64px)!important}



.tournament-tracking-link{display:grid;gap:6px;padding:18px 22px;border:1px solid #dfd2c9;border-radius:14px;background:#fff;color:#7d192c;text-decoration:none;flex-shrink:0}
.tournament-tracking-link span{font-size:.9rem}
.tournament-registration-state{padding:12px 14px;border-left:3px solid #d2a820;background:#fcf6e8;line-height:1.5}
.tournament-sections{border:1px solid #e1d4cc;border-radius:12px;padding:18px;min-width:0}
.tournament-sections>legend{font-weight:800;padding:0 6px}.tournament-sections>p{font-size:.9rem;line-height:1.5}
.tournament-section{display:grid;grid-template-columns:1fr 170px;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #eadfda}
.tournament-section fieldset{border:0;padding:0;margin:0}.tournament-section legend{font-weight:800;margin-bottom:8px}.tournament-section fieldset label{display:inline-flex;align-items:center;gap:8px;margin-right:16px}
.tournament-section input[type=radio]{width:20px!important;height:20px!important;margin:0}.tournament-section [hidden]{display:none!important}
.tournament-total{display:grid;gap:6px;padding:18px 22px;background:#faf2d8;border-radius:12px}.tournament-total strong{font-size:2rem;color:#7d192c}.tournament-total small{color:#65544c}
@media(max-width:680px){.tournament-tracking-link{padding:14px 18px}.tournament-section{grid-template-columns:1fr}.tournament-section [data-section-quantity]{max-width:180px}.tournament-dialog{padding:20px}}
.tournament-map-link{display:inline-block;margin-top:8px;color:#7d192c;text-decoration:underline;text-underline-offset:3px;font-weight:800}

/* V5.2.5 : composants isolés des règles globales header et des champs natifs. */



.tournament-kicker{gap:10px}.tournament-kicker span{font-size:15px;letter-spacing:.04em;padding:10px 15px;border:1px solid #e0cfc7;background:#f8eee6;font-weight:900}
.tournament-dialog{width:min(800px,calc(100% - 24px));padding:30px;background:#fffdf9;border:1px solid #e0d1c8;box-shadow:0 24px 90px #21101555;color:#302426}
.tournament-dialog h2{font-size:clamp(25px,4vw,36px);line-height:1.1;margin:12px 48px 14px 0}.tournament-dialog>p{line-height:1.6}.tournament-dialog .tournament-fee{font-size:28px;margin:10px 0 18px}
.tournament-dialog .commerce-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:26px}
.tournament-dialog label{display:grid;gap:8px;font-size:14px;font-weight:700;line-height:1.5;min-width:0}
.tournament-dialog input:not([type=radio]):not([type=checkbox]),.tournament-dialog select,.tournament-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:48px;border:1px solid #cdbeb4;border-radius:9px;background:#fff;padding:12px 14px;font:400 16px/1.4 Arial,sans-serif;color:#302426}
.tournament-dialog textarea{min-height:110px;resize:vertical}.tournament-dialog input:focus-visible,.tournament-dialog select:focus-visible,.tournament-dialog textarea:focus-visible{outline:3px solid #f2c939;outline-offset:2px;border-color:#741c30}
.tournament-dialog .tournament-close{border:1px solid #ddcec5;background:#f7efe7;color:#741c30;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;float:right;padding:0;font-size:26px;cursor:pointer}
.tournament-dialog .tournament-form-title{font-size:18px;margin:0;padding-bottom:10px;border-bottom:2px solid #f2c939}
.tournament-dialog .tournament-sections{padding:20px;background:#f8f3ed;border:1px solid #e1d4ca;margin:6px 0}.tournament-sections>legend{font-size:18px}.tournament-sections>p{margin:0 0 16px}
.tournament-dialog .tournament-section{display:grid;grid-template-columns:1fr 180px;gap:16px;margin:0;padding:15px 0;align-items:center;font-size:20px;font-weight:900}.tournament-quantity{display:grid;gap:5px}.tournament-quantity small{font-size:12px;font-weight:600}.tournament-dialog .tournament-quantity input{text-align:center;font-size:20px;font-weight:700}
.tournament-dialog .tournament-choice{display:flex!important;gap:12px;padding:16px;border:1px solid #dfd1c6;border-radius:10px;background:#fff;margin:10px 0;cursor:pointer;font-weight:500}.tournament-dialog .tournament-choice:has(input:checked){border-color:#7d192c;background:#faf0ed;box-shadow:inset 3px 0 #7d192c}.tournament-choice small{display:block;margin-top:5px;line-height:1.6;color:#68564e;white-space:pre-line}
.tournament-dialog details{margin:22px 0;padding:16px 0;border-block:1px solid #e4d7ce}.tournament-dialog summary{cursor:pointer;font-weight:700;color:#7d192c}.tournament-dialog .tournament-terms{line-height:1.65;font-size:14px}
.tournament-dialog button[type=submit]{background:#8d192b;color:#fff;border:0;border-radius:9px;font:700 16px Arial,sans-serif;padding:17px 22px;width:100%;cursor:pointer;margin-top:12px}.tournament-dialog button:disabled{opacity:.6;cursor:wait}.tournament-dialog [data-error]{color:#8d192b;line-height:1.5}.tournament-dialog .commerce-help{font-size:12px;line-height:1.7;color:#756156}
.tournament-editor-block{border-top:2px solid #eadbd0;padding-top:22px;margin-top:16px}.tournament-editor-block h3{font-size:22px;margin:0 0 12px}.tournament-editor-block [hidden]{display:none!important}.tournament-cheque-instructions{padding:18px;background:#faf2d8;border-radius:10px;white-space:pre-line;line-height:1.6}
@media(max-width:600px){.tournament-dialog{padding:20px 16px;max-height:calc(100dvh - 16px);width:calc(100% - 16px);border-radius:14px}.tournament-dialog .commerce-form-grid{grid-template-columns:1fr;gap:16px}.tournament-dialog .tournament-section{grid-template-columns:1fr 130px;font-size:19px}.tournament-dialog .tournament-choice{padding:13px}.tournament-kicker span{font-size:14px;padding:9px 12px}}

/* Suivi sous le bandeau partagé .page-hero.wine du site. */
.tournament-followup{display:flex;justify-content:flex-end}.tournament-followup .tournament-tracking-link{display:flex;align-items:center;gap:14px;padding:14px 20px}
@media(max-width:680px){.tournament-followup{justify-content:stretch}.tournament-followup .tournament-tracking-link{width:100%;flex-wrap:wrap;gap:6px 12px}}

/* V5.2.13: visible registration actions and comfortable touch targets. */
.tournament-card .tournament-actions{gap:12px;align-items:stretch}
.tournament-card .tournament-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 18px;font:700 15px/1.35 Arial,sans-serif;border-radius:8px;text-align:center}
.tournament-card .tournament-action--primary{grid-column:1/-1;flex:1 0 100%;min-height:58px;padding:17px 24px;background:var(--wine);color:#fff;font-size:18px;letter-spacing:0;box-shadow:0 4px 12px #58181c18}
.tournament-card .tournament-action--primary:hover{background:var(--wine-dark)}
.tournament-card .tournament-action:focus-visible{outline:3px solid #bd8c00;outline-offset:3px}
.tournament-dialog button[type=submit]{min-height:58px;font-size:18px;padding:18px 24px}
.commerce-layout .tournament-actions button{min-height:52px;padding:15px 20px;font-size:16px}
@media(max-width:600px){.tournament-card .tournament-action--primary{width:100%;min-height:60px;font-size:18px}.tournament-card .tournament-action{flex:1 1 auto}.commerce-layout .tournament-actions{display:grid;grid-template-columns:1fr}.tournament-dialog button[type=submit]{min-height:58px}}
