@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');
:root{--ink:#1a3137;--ink2:#2e5259;--gold:#c99d5d;--gold2:#e8d1aa;--cream:#fbfaf6;--paper:#fff;--canvas:#f3f4f0;--blue:#ecf4fa;--line:#dde6e5;--muted:#677982;--green:#24765a;--red:#ad4a42;--shadow:0 12px 38px rgba(27,50,55,.07);font-family:'DM Sans','Segoe UI',sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.loading-state{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--ink);gap:12px}.loading-mark{font-size:55px}.shell{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;min-height:100vh;background:linear-gradient(160deg,#162b30,#213f43 63%,#263a3d);color:#fff;padding:29px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{padding:9px 14px 28px;border-bottom:1px solid rgba(255,255,255,.13);margin-bottom:20px}.brand-tag{display:flex;align-items:center;gap:11px}.brand-icon{width:43px;height:43px;border:1px solid rgba(224,185,126,.5);background:rgba(213,164,100,.11);border-radius:12px;display:grid;place-items:center;font-size:25px}.brand h1{font-family:'Playfair Display',Georgia,serif;font-size:24px;line-height:1.05;font-weight:700;letter-spacing:-.3px;margin:0;color:#fff}.brand p{color:#b7c9c5;font-size:10px;letter-spacing:2px;text-transform:uppercase;margin:7px 0 0}.side-label{color:#9ab4b4;font-size:10px;letter-spacing:1.9px;text-transform:uppercase;font-weight:800;padding:10px 16px}.nav{display:flex;flex-direction:column;gap:4px}.nav-btn{border:0;background:transparent;color:#c7d4d3;width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:10px;text-align:left;font-size:13px;font-weight:600;transition:.15s}.nav-btn:hover{background:rgba(255,255,255,.07);color:#fff}.nav-btn.active{background:#e7c796;color:#253c40;box-shadow:0 5px 18px rgba(0,0,0,.11)}.sidebar-bottom{margin-top:auto;padding:18px 11px 4px}.side-user{border:1px solid rgba(255,255,255,.17);padding:12px;border-radius:13px;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.035)}.avatar{background:#dbc397;color:#22383e;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-family:Georgia,serif;font-weight:800}.side-user small{display:block;color:#bdd0cd;font-size:11px;margin-top:3px}.main{min-width:0;flex:1}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:15px}.breadcrumb{font-size:12px;color:#819297;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.top-right{display:flex;align-items:center;gap:12px}.live-chip{border:1px solid #b6dcc7;background:#ecf8ef;color:#27634d;border-radius:60px;padding:8px 12px;font-size:11px;font-weight:800;white-space:nowrap}.live-chip:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#43a47b;margin-right:6px}.demo-chip{border-color:#ecdcbf;background:#fff9e8;color:#926b33}.demo-chip:before{background:#c89a4c}.tiny-btn{border:1px solid var(--line);border-radius:9px;background:#fff;color:#4d676b;padding:8px 12px;font-size:12px;font-weight:800}.content{max-width:1450px;margin:auto;padding:35px 40px 75px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:24px}.eyebrow{color:#b48e54;font-size:10px;letter-spacing:2.6px;font-weight:800;text-transform:uppercase}.section-head h2,.page-title{font-family:'Playfair Display',Georgia,serif;font-size:31px;line-height:1.2;margin:5px 0 5px;font-weight:700;color:#193338;letter-spacing:-.5px}.subtitle{color:#71838b;font-size:13px;line-height:1.6;margin:5px 0 0}.action-group{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 15px;border:1px solid transparent;font-size:12px;font-weight:800;min-height:39px;transition:.14s}.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:#315e60;color:white}.btn-gold{background:#d0a263;color:#172e33}.btn-ghost{background:#fff;border-color:#dce6e5;color:#36595c}.btn-danger{background:#fff0ed;color:#a44242;border-color:#f1c9c5}.btn-sm{padding:6px 9px;font-size:11px;min-height:29px}.btn-link{background:none;border:0;color:#316d73;font-weight:800;text-decoration:underline;text-underline-offset:2px;padding:0}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.metric{background:#fff;border:1px solid #e5eae7;border-radius:14px;padding:20px 21px;box-shadow:var(--shadow);position:relative;overflow:hidden}.metric::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--gold)}.metric:nth-child(2)::before{background:#678aa1}.metric:nth-child(3)::before{background:#75a69b}.metric:nth-child(4)::before{background:#c2ae87}.metric-head{display:flex;align-items:center;justify-content:space-between;color:#708188;font-size:11px;font-weight:800;gap:7px}.metric-ic{width:33px;height:33px;border-radius:10px;background:#f3f6f5;color:#537074;display:grid;place-items:center}.metric-val{font-family:'Playfair Display',Georgia,serif;font-size:33px;font-weight:700;margin:13px 0 5px;letter-spacing:-.7px}.metric-note{color:#8a999e;font-size:11px}.cols-2{display:grid;grid-template-columns:1.25fr 1fr;gap:19px}.panel{background:#fff;border:1px solid #e1e8e4;border-radius:15px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px}.panel-head{padding:18px 20px;border-bottom:1px solid #edf0ed;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h3{font-family:'Playfair Display',Georgia,serif;margin:0;font-size:19px;letter-spacing:-.2px}.panel-body{padding:19px 20px}.badge{border-radius:40px;padding:5px 10px;font-size:10px;letter-spacing:.1px;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;background:#e9f5ee;color:#2f7b53}.badge.warning{background:#fff1d8;color:#976a26}.badge.danger{background:#fceae7;color:#ad4a42}.badge.neutral{background:#edf3f5;color:#5f747c}.badge.gold{background:#fbf0da;color:#a97837}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:650px;text-align:left}.data-table th{padding:13px 15px;background:#e1ecee;color:#375963;font-size:10px;text-transform:uppercase;letter-spacing:.65px;font-weight:800;border-bottom:2px solid #c4d6db;white-space:nowrap}.data-table td{padding:13px 15px;border-bottom:1px solid #dce8e9;font-size:12px;color:#344e55;vertical-align:middle}.data-table tbody tr:nth-child(odd){background:#edf5fa}.data-table tbody tr:nth-child(even){background:#fff}.data-table tbody tr:hover{background:#e5eef1}.data-table td:first-child{font-weight:700}.data-table .muted{font-weight:500;color:#8b9ba1}.data-table .right{text-align:right}.no-data{text-align:center;padding:38px;color:#8a999c;font-size:13px}.no-data strong{display:block;font-family:Georgia,serif;font-size:20px;color:#284a50;margin-bottom:8px}.filters{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.search,.control{background:#fff;color:#294b51;border:1px solid #cedbdc;border-radius:9px;padding:10px 12px;font-size:12px;outline:none;min-height:39px}.search{width:240px;max-width:100%}.search:focus,.control:focus{border-color:#739b9e;box-shadow:0 0 0 3px #cfe5e6}.control:disabled{background:#f3f4f2;color:#789}.helper{color:#7e9197;font-size:12px;line-height:1.65}.callout{border:1px solid #e9dbc3;background:#fffaf1;padding:14px 17px;border-radius:12px;color:#7d633d;font-size:12px;line-height:1.55;margin-bottom:18px}.callout.info{border-color:#cddfe3;background:#f0f7f8;color:#45636b}.empty-dash{padding:22px;text-align:center;color:#758a8e}.empty-dash strong{display:block;color:#294b51;margin-bottom:7px}.month-picker{display:flex;gap:8px;align-items:center}.mini-date{padding:8px 12px;border:1px solid #d5e1e0;border-radius:9px;background:#fff;color:#385a60}.schedule{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.day-card{border:1px solid #dbe6e4;border-radius:11px;background:#fcfdfb;overflow:hidden}.day-head{padding:13px 14px;background:#e8f0ef;border-bottom:1px solid #d5e3e1}.day-head strong{display:block;font-size:12px;color:#2d5257}.day-head span{font-size:10px;color:#73888e}.day-info{padding:15px 14px}.day-count{font-family:Georgia,serif;font-size:28px;color:#213d43;font-weight:700}.progress{height:7px;background:#e4eceb;border-radius:40px;overflow:hidden;margin-top:10px}.progress i{display:block;height:100%;background:#4e9180;border-radius:40px}.fights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px}.fight{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;border:1px solid #dce6e5;background:#fff;border-radius:10px;font-size:12px}.vs{color:#ae8f5c;font-weight:900;font-size:10px}.fight .names{display:flex;align-items:center;gap:8px;min-width:0}.fight .names span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standings-top{background:linear-gradient(90deg,#fff7e6,#fff);border-left:4px solid var(--gold)}.name-link{border:0;background:none;color:#265e67;text-decoration:underline;text-underline-offset:3px;font-weight:800;padding:0;text-align:left}.row-actions{display:flex;gap:6px}.money-positive{color:#1f8762;font-weight:800}.money-negative{color:#b64e48;font-weight:800}.total-band{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f6f5;border:1px solid #d2e5e0;border-radius:12px;padding:17px 20px;margin:16px 0}.total-band strong{font-family:Georgia,serif;font-size:25px;color:#264f53}.hint-line{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 17px}.tag{font-size:11px;padding:5px 9px;background:#f1f3f2;border-radius:7px;color:#677e82}.toolbar-grid{display:grid;grid-template-columns:1fr auto;gap:10px}.sheet-title{font-family:Georgia,serif;font-size:17px;margin:0 0 12px;color:#244149}.muted{color:#82979b}.modal-cover{position:fixed;inset:0;background:rgba(12,34,38,.6);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.modal{background:#fff;width:min(520px,100%);border-radius:17px;box-shadow:0 25px 110px rgba(5,20,25,.28);overflow:hidden;max-height:92vh;overflow-y:auto}.modal-head{padding:22px 26px;background:#f6f8f5;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eeeb}.modal-head h3{margin:0;font-family:Georgia,serif;font-size:22px;color:#244147}.modal-close{border:0;background:transparent;font-size:24px;color:#829395;cursor:pointer}.modal-body{padding:24px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:11px;text-transform:uppercase;letter-spacing:.65px;color:#4c686f;font-weight:800}.field input,.field textarea,.field select{width:100%;padding:11px 12px;border-radius:9px;border:1px solid #d3dfde;background:#fff;color:#224248;outline:0;font-size:13px}.field textarea{min-height:90px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}.toast{position:fixed;bottom:24px;right:24px;z-index:2000;max-width:375px;box-shadow:0 10px 35px rgba(0,0,0,.16);color:white;background:#264e55;border-radius:11px;padding:14px 18px;font-size:13px}.toast.error{background:#a2443f}.auth-scene{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#f7f7f3}.auth-art{background:linear-gradient(150deg,#172d32,#35564d);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:clamp(35px,8vw,100px);position:relative;overflow:hidden}.auth-art:after{content:'🥊';font-size:260px;position:absolute;right:-48px;bottom:-55px;opacity:.085;transform:rotate(-22deg)}.auth-art h1{font-family:Georgia,serif;font-size:clamp(42px,6vw,76px);line-height:1.1;max-width:480px}.auth-art p{color:#c6d4d0;line-height:1.9;max-width:350px}.auth-art small{color:#d4bc90;letter-spacing:3px;text-transform:uppercase;font-weight:800}.auth-box{display:flex;align-items:center;justify-content:center;padding:35px}.auth-card{background:#fff;border:1px solid #e5ece6;border-radius:17px;padding:38px;max-width:405px;width:100%;box-shadow:var(--shadow)}.auth-card h2{font-family:Georgia,serif;margin:0 0 10px;font-size:30px}.auth-card p{color:#76898b;font-size:13px;line-height:1.6}.auth-card .field{margin-top:15px}.auth-card .btn{width:100%;margin-top:20px}.field-error{color:#b73f3f;font-size:12px;margin-top:12px}.hidden{display:none!important}.sep{height:1px;background:#edf0ef;margin:16px 0}.brand-mini{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:2px;font-size:10px}.narrow{max-width:720px}.small-nums{font-variant-numeric:tabular-nums}.footnote{margin-top:22px;color:#97a4a7;font-size:11px;text-align:center}@media(max-width:1150px){.sidebar{width:222px}.content{padding:27px 23px 60px}.topbar{padding:0 23px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:740px){.shell{display:block}.sidebar{width:100%;height:auto;min-height:0;position:relative;padding:12px;overflow:visible}.brand{padding:7px 9px 12px;margin-bottom:8px}.brand p,.side-label,.sidebar-bottom{display:none}.brand h1{font-size:21px}.nav{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:6px}.nav-btn{white-space:nowrap;width:auto;padding:10px 12px;font-size:11px}.nav-btn svg{display:none}.topbar{height:60px;padding:0 15px}.content{padding:23px 14px 50px}.section-head{align-items:stretch;flex-direction:column}.section-head h2{font-size:26px}.cards{gap:9px}.metric{padding:14px}.metric-val{font-size:26px}.cols-2,.schedule,.fights{grid-template-columns:1fr}.live-chip{font-size:9px}.auth-scene{grid-template-columns:1fr}.auth-art{min-height:180px;padding:28px}.auth-art h1{font-size:35px}.auth-art p{display:none}.auth-art:after{font-size:100px}.auth-box{padding:20px}.auth-card{padding:25px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
/* Bookmaker — cotes lisibles et suivi des paris RP */
.odds-pill{display:inline-flex;padding:6px 10px;border:1px solid #cddfd9;border-radius:9px;background:#edf6ef;color:#245d4d;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.sub-cell{display:block;margin-top:4px;font-size:11px;color:#71868a}
.bet-preview{border:1px solid #ddc79d;border-radius:12px;background:#faf4e7;padding:15px 16px;color:#42565b;display:flex;justify-content:space-between;gap:18px;align-items:center}
.bet-preview strong{font-size:20px;color:#286754;white-space:nowrap}
/* Contenir les grands registres de paris sans décaler le menu latéral. */
.shell{width:100%;max-width:100%;min-width:0}
.main{min-width:0;width:0;flex:1 1 auto}
.content{width:100%;max-width:1450px;min-width:0}
.panel,.table-wrap{min-width:0;max-width:100%}
.table-wrap{overflow-x:auto}
@media(max-width:740px){.main{width:100%}}

/* Module Elo / Bookmaker automatique */
.odds-chart{width:100%;max-height:180px;border:1px solid rgba(118,155,146,.3);border-radius:12px;padding:12px;background:rgba(21,35,38,.32)}
.odds-pill{font-variant-numeric:tabular-nums;white-space:nowrap}
.odds-history-table{max-height:290px;overflow-y:auto}
