:root{color-scheme:dark;--bg:#17100c;--panel:#241811;--panel2:#302117;--gold:#c8a56a;--cream:#f0e2c7;--muted:#b5a38a;--green:#174b35;--line:#59412d}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#39271b 0,#17100c 55%);color:var(--cream);font:16px/1.5 Georgia,"Times New Roman",serif}.top{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,20px);border-bottom:1px solid var(--line);background:#160e0bf2;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--gold);letter-spacing:2px}.brand b{display:block;font-size:18px}.brand small{display:block;font-size:10px;letter-spacing:3px;color:var(--muted)}.brand-mark{font-size:34px}.button{border:1px solid var(--gold);border-radius:4px;background:linear-gradient(#cdb17d,#a47a3c);color:#1b120b;font-weight:bold;padding:10px 16px;cursor:pointer;font-family:inherit}.button:hover{filter:brightness(1.1)}.ghost{background:transparent;color:var(--gold)}#accountBar{display:flex;gap:8px;flex-wrap:wrap}main{max-width:1160px;margin:auto;padding:0 24px 60px}.hero{padding:70px 0 48px;border-bottom:1px solid var(--line);margin-bottom:36px}.eyebrow{color:var(--gold);font:11px/1.4 Arial,sans-serif;letter-spacing:3px;font-weight:bold;margin:0 0 10px}.hero h1{font-size:clamp(38px,7vw,68px);line-height:1.05;margin:0 0 14px;font-weight:normal}.hero>p:not(.eyebrow){color:var(--muted);max-width:540px}.hero-stats{display:flex;gap:28px;flex-wrap:wrap;margin-top:28px;color:var(--muted);font:12px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px}.hero-stats b{color:var(--gold);font-size:19px;display:block}.section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:24px 0}.section-head h2,h2{font-size:30px;font-weight:normal;margin:0}.muted{color:var(--muted)}.tables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.table-card{position:relative;overflow:hidden;border:1px solid var(--line);background:linear-gradient(140deg,#332319,#21150f);padding:20px;border-radius:5px;min-height:205px}.table-card:before{content:"";position:absolute;inset:auto -30px -60px auto;width:180px;height:180px;border:16px solid #ffffff08;border-radius:50%;pointer-events:none}.table-card h3{margin:0 0 5px;font-size:21px;font-weight:normal}.table-card p{margin:4px 0;color:var(--muted);font-size:14px}.felt{height:70px;margin:15px 0;background:radial-gradient(ellipse,#226447,#103323);border:5px solid #69492e;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#d4bd8c;font-size:24px;box-shadow:inset 0 0 14px #0008}.table-card .button{position:relative;width:100%}.panel{margin:32px 0;padding:24px;background:#20150f;border:1px solid var(--line);border-radius:5px}.hidden{display:none!important}label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font:13px Arial,sans-serif;margin:10px 0}input{background:#120c09;border:1px solid #634a33;border-radius:3px;color:var(--cream);padding:12px;font:16px Georgia,serif;min-width:0}input:focus{outline:1px solid var(--gold)}.profile-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.balance{color:var(--gold)}#notice{margin:10px 0;color:var(--gold);min-height:0}#notice:empty{display:none}dialog{background:#241811;color:var(--cream);border:1px solid var(--gold);border-radius:5px;width:min(420px,calc(100% - 30px));padding:28px;box-shadow:0 20px 100px #000b}dialog::backdrop{background:#000b}dialog form{display:flex;flex-direction:column}.close{align-self:flex-end;background:none;border:0;color:var(--gold);font-size:26px;cursor:pointer}.wide{width:100%;margin-top:14px}.tiny{font-size:12px;cursor:pointer}.loading{color:var(--muted)}.seat-list{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.seat{padding:8px 12px;background:#122d21;border:1px solid #37644d;border-radius:4px}.cards{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.playing-card{background:#f3ead8;color:#22170e;padding:12px 10px;border-radius:4px;font:bold 20px Georgia;min-width:42px;text-align:center}.playing-card.red{color:#9d2c25}.action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.action-row input{width:100px}footer{border-top:1px solid var(--line);padding:24px 5vw;color:var(--gold);font-size:12px;letter-spacing:2px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}footer span{color:var(--muted);letter-spacing:0}@media(max-width:760px){.tables{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding-top:48px}.top{height:auto;min-height:76px;padding:14px 18px;align-items:flex-start;flex-direction:column}.profile-grid,.settings-grid{grid-template-columns:1fr}}@media(max-width:480px){main{padding:0 16px 40px}.tables{grid-template-columns:1fr}.section-head{align-items:flex-start}.hero-stats{gap:18px}.panel{padding:17px}}
/* v1.7 — profil en fenêtre modale, ergonomique sur mobile */
.profile-dialog{width:min(480px,calc(100% - 24px));max-height:min(88dvh,760px);overflow:auto;padding:clamp(18px,4vw,28px);border-radius:14px;background:linear-gradient(155deg,#2b1d13,#17100c);box-shadow:0 24px 90px #000c}
.profile-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.profile-modal-head h2{font-size:clamp(26px,7vw,32px)}
.profile-modal-head .close{padding:0 4px;line-height:1}
.profile-balance-card{padding:18px;border:1px solid #73552f;border-radius:10px;background:linear-gradient(135deg,#193d2b,#10271c);margin:0 0 18px}
.profile-balance-label{display:block;font:11px/1.4 Arial,sans-serif;letter-spacing:2px;color:#d0bd95}
.profile-balance-card strong{display:block;color:#f0d49a;font-size:clamp(30px,9vw,40px);font-weight:normal;line-height:1.25;margin:6px 0}
.profile-balance-card p{margin:4px 0 0;color:#d5c7ad;font:14px/1.45 Arial,sans-serif}
.profile-dialog .profile-grid{display:grid;grid-template-columns:1fr;gap:4px}
.profile-dialog label{font-size:14px;margin:8px 0}
.profile-dialog input{width:100%;min-height:48px;border-radius:7px}
.profile-dialog .wide{min-height:48px;margin-top:12px}
.profile-dialog .button{border-radius:7px}
#accountBar .button{white-space:nowrap}
@media(max-width:480px){
  .top{gap:12px}
  #accountBar{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #accountBar .button{padding:11px 8px;font-size:14px;min-width:0}
  .profile-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 24px);padding:18px;border-radius:14px}
  .profile-balance-card{padding:15px}
  .profile-dialog .button{font-size:15px}
}

/* v1.8 — saloon UI refresh, clear navigation and independent manager console */
:root{--bg:#100d0b;--panel:#211813;--panel2:#2e2118;--gold:#d6b777;--cream:#f5ead5;--muted:#b9a58a;--line:#60472f;--green:#1b553c}
body{background:radial-gradient(ellipse at 50% -10%,#4a3020 0,#211710 36%,#100d0b 76%);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.01em}
.top{min-height:82px;height:auto;backdrop-filter:blur(14px);box-shadow:0 8px 28px #0003}.top-left{display:flex;align-items:center;gap:14px;min-width:0}.brand{gap:10px;letter-spacing:1.6px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b89152;border-radius:50%;font-size:25px;background:linear-gradient(145deg,#392719,#160f0b);box-shadow:inset 0 0 0 3px #c8a56a18}.brand b{font-size:16px;letter-spacing:2.4px}.brand small{letter-spacing:2px}.button{border-radius:8px;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;box-shadow:0 4px 14px #0002;font-family:inherit}.button:hover{transform:translateY(-1px);box-shadow:0 7px 18px #0004}.button:active{transform:translateY(0)}.ghost{box-shadow:none;border-color:#785b3b}#accountBar{align-items:center}.account-summary{display:flex;flex-direction:column;justify-content:center;line-height:1.3;padding:0 8px}.account-summary b{color:var(--cream);font-size:14px}.account-summary small{color:var(--gold);font-size:12px}.profile-shortcut{font-size:13px}.hero{position:relative;padding:clamp(46px,7vw,88px) 0 52px;border-bottom:1px solid #6a4e3422}.hero:after{content:"♠";position:absolute;right:5%;top:25px;font-size:clamp(110px,22vw,250px);line-height:1;color:#d6b77708;pointer-events:none}.hero h1{font-family:Georgia,serif;letter-spacing:-1.8px}.hero>p:not(.eyebrow){font-size:17px;line-height:1.7}.hero-stats span{border-left:2px solid #a78049;padding-left:13px}.section-head h2,h2{letter-spacing:-.5px}.table-card{border:1px solid #76563988;border-radius:14px;background:linear-gradient(145deg,#302219eF,#19110df5);padding:22px;box-shadow:0 14px 30px #0002;transition:transform .2s,border-color .2s,box-shadow .2s}.table-card:hover{transform:translateY(-3px);border-color:#c8a56a;box-shadow:0 20px 38px #0004}.table-card h3{font-family:Georgia,serif;font-size:23px}.table-card p{line-height:1.5}.felt{border-radius:50%;border:6px solid #765333;box-shadow:inset 0 0 22px #0008,0 4px 10px #0003;height:78px}.panel{border-radius:14px;background:linear-gradient(145deg,#261b14,#17100c);border-color:#76563988;box-shadow:0 18px 48px #0003}input{border-radius:8px;border-color:#715337;min-height:46px;font-family:inherit}input:focus{outline:2px solid #d6b77755;border-color:var(--gold)}#notice{padding:0 2px;font-size:14px}.seat{border-radius:8px;padding:9px 13px}.playing-card{border-radius:7px;box-shadow:0 3px 8px #0003}.top .admin-link{text-decoration:none;display:inline-flex;align-items:center}
.admin-page{min-height:100vh}.admin-top{padding-inline:max(5vw,20px)}.admin-main{max-width:1080px}.admin-hero{padding:54px 0 28px}.admin-hero h1{font:normal clamp(32px,5vw,52px)/1.1 Georgia,serif;margin:0 0 12px;letter-spacing:-1px}.admin-hero>p:last-child{color:var(--muted);max-width:600px}.admin-login-card{max-width:440px;margin:24px auto 60px;padding:clamp(22px,5vw,36px);border:1px solid #8c6b40;border-radius:18px;background:linear-gradient(145deg,#302117,#18110d);box-shadow:0 24px 70px #0006}.admin-card-icon{width:52px;height:52px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:15px;color:var(--gold);font-size:28px;margin-bottom:20px;background:#c8a56a0d}.admin-login-card h2{margin-bottom:6px}.admin-login-card form{margin-top:20px}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 18px}.admin-toolbar h2{font:normal clamp(28px,4vw,38px)/1.15 Georgia,serif}.admin-section{padding:clamp(16px,3vw,26px);margin:20px 0;border:1px solid #70513788;border-radius:15px;background:linear-gradient(145deg,#281c14,#19110d);box-shadow:0 14px 32px #0002}.admin-section h3{font:normal 23px Georgia,serif;margin:0 0 14px}.admin-count,.chip-count{font-size:12px;color:var(--gold);background:#c8a56a12;border:1px solid #c8a56a35;border-radius:100px;padding:6px 10px;white-space:nowrap}.admin-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-user{min-width:0;border:1px solid #654a31;border-radius:12px;padding:15px;background:#100c09aa}.admin-user-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.admin-user-title strong{overflow-wrap:anywhere}.admin-user-fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.admin-user-fields label:last-child{grid-column:1/-1}.admin-user .button{width:100%;margin-top:8px}.admin-page footer{margin-top:45px}
@media(max-width:760px){.top{padding:12px 18px;flex-direction:row;align-items:center}.top-left{flex-wrap:wrap;gap:8px}.brand b{font-size:14px}.brand small{font-size:9px}.brand-mark{width:38px;height:38px;font-size:22px}#accountBar{justify-content:flex-end;width:auto;display:flex}.profile-shortcut{padding:9px}.admin-top .button{font-size:12px;padding:9px 10px}.admin-users{grid-template-columns:1fr}.admin-hero{padding-top:38px}}
@media(max-width:520px){.top{align-items:flex-start;flex-direction:column}.top-left{width:100%;justify-content:space-between}.top-left .brand{flex:1}#accountBar{width:100%;display:grid;grid-template-columns:1fr 1fr}.account-summary{padding:6px 2px}.admin-top{flex-direction:row;align-items:center}.admin-top .brand small{letter-spacing:1px}.admin-top .button{white-space:nowrap}.admin-user-fields{grid-template-columns:1fr}.admin-user-fields label:last-child{grid-column:auto}.admin-toolbar{align-items:flex-start}.admin-section{padding:15px}.hero:after{right:0;top:35px}.hero h1{max-width:90%}}

/* v1.9 — genuine poker-table layout, seat avatars, private cards and action controls */
.poker-table-wrap{width:100%;overflow:hidden;padding:22px 0 10px}.poker-table{position:relative;isolation:isolate;min-height:510px;width:min(100%,940px);margin:0 auto;display:flex;align-items:center;justify-content:center}.table-rail{position:absolute;inset:70px 8%;border-radius:50%;background:linear-gradient(145deg,#956a3b,#3b2415 45%,#b18a53);box-shadow:0 22px 30px #0007,inset 0 0 0 5px #26170f,inset 0 0 0 9px #d1ae70;transform:perspective(850px) rotateX(8deg);z-index:-2}.table-felt{position:relative;width:72%;height:330px;border-radius:50%;background:radial-gradient(ellipse at 50% 38%,#24714d 0,#155238 56%,#0c3323 100%);border:3px solid #1d4a34;box-shadow:inset 0 0 0 2px #ffffff12,inset 0 0 36px #061c12,0 4px 0 #4c301c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#f6e8c7}.table-brand{position:absolute;top:20px;font:700 11px/1.3 Georgia,serif;letter-spacing:4px;color:#f2d59b8c;text-align:center}.table-brand small{display:block;letter-spacing:5px;font-size:8px}.pot-display{display:flex;align-items:center;gap:9px;border:1px solid #d8c28b66;background:#071e14a8;border-radius:999px;padding:6px 15px}.pot-display span,.pot-display small{font:700 9px Arial,sans-serif;letter-spacing:2px;color:#d5c49a}.pot-display strong{font:700 22px Georgia,serif;color:#fff1c9}.community-cards{display:flex;justify-content:center;gap:clamp(3px,1vw,10px);min-height:72px;align-items:center}.community-cards .playing-card{width:clamp(32px,5.2vw,54px);min-width:0;padding:11px 0;font-size:clamp(17px,2.6vw,27px)}.board-placeholder{font-size:clamp(14px,2vw,23px);letter-spacing:clamp(1px,1vw,9px);color:#e9d7ad6e}.street-label{font:600 11px Arial,sans-serif;letter-spacing:1px;color:#e4d3af;text-align:center;padding:0 12px}.hand-result{max-width:90%;text-align:center;font-size:13px;color:#ffe3a4;background:#071e14aa;border-radius:8px;padding:6px 10px}.poker-seat{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:116px;max-width:165px;padding:9px 10px;border:1px solid #80603c;border-radius:12px;background:linear-gradient(145deg,#302116f5,#17100cf5);box-shadow:0 8px 20px #0007;text-align:center}.seat-pos-0{left:50%;bottom:0;transform:translateX(-50%)}.seat-pos-1{left:1%;bottom:90px}.seat-pos-2{left:8%;top:5px}.seat-pos-3{right:8%;top:5px}.seat-pos-4{right:1%;bottom:90px}.seat-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#8b683a,#352215);border:2px solid #d3b276;color:#fff0ce;font-size:20px;font-weight:700}.seat-avatar img{width:100%;height:100%;object-fit:cover}.seat-name{font-size:13px;font-weight:750;max-width:100%;overflow-wrap:anywhere}.seat-name small{display:inline-block;font:700 8px Arial,sans-serif;letter-spacing:1px;color:#f4d58f}.seat-stack{font-size:11px;color:#e4c98f}.seat-cards{display:flex;gap:3px;min-height:29px;align-items:center}.seat-cards .playing-card{min-width:22px;width:23px;padding:4px 0;font-size:13px;border-radius:4px}.card-back{background:repeating-linear-gradient(45deg,#7d2424,#7d2424 4px,#f0dfbf 4px,#f0dfbf 6px)!important;color:#4c1a17!important;border:2px solid #f0dfbf}.is-turn{border-color:#f0d48c;box-shadow:0 0 0 2px #d8b76c55,0 8px 25px #0008}.is-turn:after{content:"";position:absolute;inset:-4px;border:1px solid #e3c37a;border-radius:15px;pointer-events:none}.is-you{background:linear-gradient(145deg,#1b4935,#13291e);border-color:#5d9b71}.is-folded{opacity:.55}.folded-label{font:700 9px Arial,sans-serif;color:#d6a69b;letter-spacing:1px}.turn-marker{font:800 9px Arial,sans-serif;letter-spacing:1.5px;color:#ffe2a1}.mobile-game-summary{display:flex;justify-content:space-between;gap:10px;padding:10px 13px;border-radius:9px;background:#0b1c13;border:1px solid #345941;font-size:12px;color:var(--muted)}.mobile-game-summary b{color:#e8ca8d}.player-action-panel{margin-top:18px;padding:clamp(14px,3vw,22px);border:1px solid #715532;border-radius:14px;background:linear-gradient(145deg,#2a1e15,#17100c)}.your-hand-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:2px}.your-hand-title span{font-size:10px;color:var(--muted);letter-spacing:.5px}.your-hole-cards{display:flex;gap:8px;margin:12px 0}.your-hole-cards .playing-card{min-width:54px;width:clamp(52px,12vw,70px);font-size:28px;padding:16px 0;border-radius:8px}.turn-instruction{color:var(--muted);font-size:14px}.poker-actions{align-items:stretch}.poker-actions>.button{flex:1;min-height:46px}.button.danger{background:linear-gradient(#74352c,#4b211c);color:#ffe7d8;border-color:#a35b4e}.raise-control{display:flex;gap:6px;flex:1.2;min-width:190px}.raise-control input{width:50%;min-width:0}.raise-control button{flex:1;white-space:nowrap}.gold-action{background:linear-gradient(#e0c58d,#b58a48)}.waiting-turn{margin-top:15px;padding:14px;border-radius:9px;background:#17100c;border:1px solid #60472f;color:var(--muted)}.waiting-turn strong{color:var(--gold)}.table-secondary-actions{border-top:1px solid #ffffff12;padding-top:14px}.table-secondary-actions .button{font-size:13px}
@media(max-width:640px){.poker-table-wrap{padding:8px 0 0;overflow:visible}.poker-table{min-height:480px;width:100%;margin:0 auto}.table-rail{inset:95px 0 100px;border-width:7px;transform:perspective(700px) rotateX(5deg)}.table-felt{width:88%;height:250px;gap:9px}.table-brand{top:15px;font-size:8px;letter-spacing:2px}.table-brand small{font-size:7px}.pot-display{padding:5px 10px;gap:6px}.pot-display strong{font-size:18px}.pot-display span,.pot-display small{font-size:8px}.community-cards{min-height:55px;gap:3px}.community-cards .playing-card{width:clamp(29px,9vw,42px);font-size:clamp(16px,4.6vw,21px);padding:8px 0}.street-label{font-size:9px;max-width:95%}.poker-seat{min-width:88px;max-width:112px;padding:6px 6px;border-radius:9px}.seat-pos-0{bottom:0}.seat-pos-1{left:0;bottom:112px}.seat-pos-2{left:0;top:0}.seat-pos-3{right:0;top:0}.seat-pos-4{right:0;bottom:112px}.seat-avatar{width:31px;height:31px;font-size:15px}.seat-name{font-size:10px}.seat-stack{font-size:9px}.seat-cards .playing-card{width:17px;min-width:17px;font-size:10px}.turn-marker{font-size:8px}.mobile-game-summary{font-size:11px}.poker-actions{display:grid;grid-template-columns:1fr 1fr}.raise-control{grid-column:1/-1;min-width:0}.raise-control input{width:45%}.your-hole-cards .playing-card{min-width:48px;font-size:25px;padding:12px 0}.hand-result{font-size:11px}}


/* v2.0 — immersive mobile table */
.capacity-picker{display:flex;align-items:center;gap:8px;color:var(--muted);margin:8px 0 14px;font-size:14px}.capacity-picker select{background:#17130f;color:var(--cream);border:1px solid var(--line);border-radius:8px;padding:8px}
.game-page{background:radial-gradient(ellipse at 50% 25%,#1b3b2c 0,#101510 48%,#100b08 100%);min-height:100vh}.game-top{position:sticky;top:0;z-index:5;height:auto;min-height:68px;padding:12px clamp(12px,3vw,32px)}.game-top-actions{display:flex;align-items:center;gap:12px}.game-main{max-width:1100px;padding:24px 16px 50px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px}.game-heading h1{margin:0;font-size:clamp(26px,5vw,42px)}.table-scene{position:relative;padding:clamp(24px,6vw,66px) 0 28px;overflow:hidden;min-height:460px}.oval-table{position:relative;width:min(100%,850px);height:clamp(370px,57vw,510px);margin:0 auto;border-radius:50%;background:linear-gradient(135deg,#6d4b2d,#d6b36f 12%,#422d1d 17%,#075239 20%,#063d2c 78%,#b18b4e 84%,#372216 90%);box-shadow:0 24px 65px #0009,inset 0 0 0 3px #d7b778,inset 0 0 0 12px #422b1b}.oval-rail{position:absolute;inset:3%;border-radius:50%;border:2px solid #9b7546;box-shadow:inset 0 0 0 4px #043725}.oval-felt{position:absolute;inset:7%;border-radius:50%;background:radial-gradient(ellipse at center,#116344,#06442f 68%,#043623);box-shadow:inset 0 0 35px #001b12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2vw,18px);padding:35px 10px}.felt-logo{text-align:center;letter-spacing:4px;font-size:clamp(10px,1.8vw,14px);font-weight:bold;color:#d2bc8c}.felt-logo small{display:block;letter-spacing:5px}.pot-chip{display:flex;align-items:center;gap:10px;border:1px solid #bd9b60;background:#10281d;border-radius:999px;padding:8px 18px;box-shadow:0 4px 12px #0005}.pot-chip small{letter-spacing:2px;font-size:10px;color:#d7c49a}.pot-chip strong{font-size:clamp(20px,3vw,30px)}.board-cards{display:flex;gap:clamp(3px,1vw,10px);justify-content:center;align-items:center;min-height:clamp(52px,8vw,86px);max-width:100%}.bw-card{width:clamp(40px,7.3vw,66px);height:clamp(58px,10vw,92px);border-radius:9px;background:linear-gradient(135deg,#fff9e9,#e9dcc1);color:#17140f;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 9px #0005;border:1px solid #e1d2b2;font-family:Georgia,serif;font-weight:bold;font-size:clamp(21px,4vw,33px);line-height:1;flex-shrink:0}.bw-card b{font-size:.85em}.bw-card.red{color:#a42c2c}.bw-card.small{width:31px;height:43px;border-radius:5px;font-size:17px}.card-back{background:repeating-linear-gradient(45deg,#6e2525 0 5px,#e8d5b4 5px 8px);color:#f6e8ce;border:2px solid #e8d5b4;text-shadow:0 1px #000}.empty-board{font-size:clamp(11px,2vw,16px);color:#c6d5c7;text-align:center}.street-status{font-size:clamp(11px,1.7vw,15px);font-weight:bold;letter-spacing:1px;text-align:center;color:#e0c995}.immersive-seat{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:112px;max-width:160px;padding:10px 12px;background:linear-gradient(145deg,#231a13f5,#100e0bf5);border:1px solid #977447;border-radius:15px;box-shadow:0 10px 25px #0008;text-align:center}.immersive-seat.my-seat{border:2px solid #d8b56c;background:linear-gradient(145deg,#174b35f5,#0c281df5)}.immersive-seat.turn-seat{box-shadow:0 0 0 3px #e5c67c,0 10px 25px #0008}.seat-bottom{left:50%;bottom:-3px;transform:translateX(-50%)}.seat-top{left:50%;top:-3px;transform:translateX(-50%)}.seat-left{left:0;top:48%;transform:translateY(-50%)}.seat-right{right:0;top:48%;transform:translateY(-50%)}.seat-upper-left{left:8%;top:5%}.seat-avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#8a693d;border:2px solid #d7b775;color:#fff2cf;font-weight:bold;overflow:hidden}.seat-avatar img{width:100%;height:100%;object-fit:cover}.seat-player{font-size:13px;max-width:135px;overflow-wrap:anywhere}.seat-balance{font-size:12px;color:#dfc99e}.turn-pill{font-size:9px;letter-spacing:1px;background:#d8b56c;color:#20150c;padding:2px 6px;border-radius:99px;font-weight:bold}.hand-peek{display:flex;gap:3px;background:none;border:0;padding:2px;cursor:pointer;max-width:100%}.hand-peek:disabled{cursor:default;opacity:.72}.folded-seat{opacity:.58}.game-status-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:18px 0;background:#10241a;border:1px solid #45674f;border-radius:12px;font-size:13px}.game-status-strip span:last-child{max-width:55%;color:var(--muted);text-align:right}.game-action-root{max-width:850px;margin:18px auto}.action-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:18px;background:#201710;border:1px solid var(--line);border-radius:16px}.action-prompt{width:100%;text-align:center;margin:0 0 4px}.raise-box{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.raise-box input{width:105px;background:#100d0a;color:var(--cream);padding:10px;border:1px solid var(--line);border-radius:8px}.waiting-banner{text-align:center;padding:20px;border:1px solid var(--line);border-radius:14px;background:#201710}.game-bottom-actions{text-align:center;margin-top:14px}.hand-dialog{position:relative;width:min(92vw,420px);border:1px solid #c8a56a;border-radius:20px;background:linear-gradient(145deg,#2b1d13,#11120e);color:var(--cream);padding:28px;text-align:center;box-shadow:0 20px 80px #000b}.hand-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.hand-dialog h2{margin:4px 0 20px}.popup-cards{display:flex;justify-content:center;gap:14px;padding:8px}.popup-cards .bw-card{width:100px;height:140px;font-size:48px}.dialog-x{position:absolute;right:12px;top:8px;background:none;border:0;color:var(--cream);font-size:30px;cursor:pointer}.admin-table-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-table-tool{border:1px solid var(--line);border-radius:12px;padding:14px;background:#201710}.admin-table-tool h4{margin:0 0 10px}.admin-table-tool .button{margin:4px 4px 0 0}
@media(max-width:600px){.game-top .brand b{font-size:13px}.game-top .brand small{font-size:8px;letter-spacing:1px}.game-top-actions{gap:5px;font-size:11px}.game-top-actions .button{padding:8px;font-size:12px}.game-main{padding:14px 10px 35px}.table-scene{padding:42px 0 44px;min-height:380px}.oval-table{height:clamp(300px,95vw,400px);width:100%;border-radius:50%}.oval-felt{inset:9%;padding:24px 5px;gap:10px}.immersive-seat{min-width:86px;max-width:115px;padding:7px 5px;border-radius:10px}.seat-avatar{width:29px;height:29px}.seat-player{font-size:11px}.seat-balance{font-size:10px}.seat-left{left:-1%;top:45%}.seat-right{right:-1%;top:45%}.seat-upper-left{left:1%;top:0}.seat-bottom{bottom:-7px}.seat-top{top:-7px}.board-cards{gap:3px}.bw-card{width:clamp(34px,12vw,48px);height:clamp(49px,17vw,68px);font-size:clamp(18px,6vw,25px);border-radius:6px}.bw-card.small{width:25px;height:36px;font-size:14px}.pot-chip{padding:5px 10px;gap:6px}.pot-chip strong{font-size:20px}.game-status-strip{flex-wrap:wrap;font-size:12px}.game-status-strip span:last-child{max-width:100%;text-align:left}.admin-table-tools{grid-template-columns:1fr}}

/* v2.1 — ergonomie mobile, sièges relatifs au joueur et commandes de mise */
.seat-lower-right{right:4%;bottom:3%;transform:translate(0,0)}
.seat-upper-right{right:4%;top:3%;transform:translate(0,0)}
.raise-presets{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.raise-presets button{min-height:40px;padding:7px 11px;border:1px solid #927448;border-radius:9px;background:#17291f;color:#f1dfb7;font-weight:700;touch-action:manipulation}
.raise-presets button:active,.button:active{transform:scale(.98)}
.pot-chip{animation:pot-glow 3s ease-in-out infinite}
@keyframes pot-glow{0%,100%{box-shadow:0 4px 12px #0005}50%{box-shadow:0 0 18px #d7b77555,0 4px 12px #0005}}
.board-cards .bw-card{animation:card-deal .22s ease-out both}
@keyframes card-deal{from{opacity:.25;transform:translateY(-8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
.game-page{overflow-x:hidden;min-height:100dvh;padding-bottom:env(safe-area-inset-bottom)}
.game-main{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
.table-scene{overflow:visible;isolation:isolate}
.oval-table{isolation:isolate}
.raise-box input{min-height:44px;font-size:16px;max-width:34vw}
.button,.hand-peek,select,input{touch-action:manipulation}
@media(max-width:600px){
 .table-scene{padding:42px 0 62px;min-height:380px}
 .oval-table{width:100%;height:clamp(300px,88vw,390px)}
 .seat-lower-right{right:0;bottom:0}
 .seat-upper-right{right:0;top:0}
 .seat-left{left:0;top:50%;transform:translateY(-50%)}
 .immersive-seat{min-width:78px;max-width:102px;padding:6px 4px;gap:3px}
 .seat-avatar{width:27px;height:27px}
 .seat-player{font-size:10px;max-width:90px}
 .seat-balance{font-size:9px}
 .hand-peek .bw-card.small{width:21px;height:31px;font-size:12px}
 .action-bar{padding:12px 8px;gap:7px}
 .raise-box{width:100%;justify-content:center;font-size:13px}
 .raise-box input{width:112px;max-width:45vw}
 .raise-presets{width:100%;justify-content:center}
 .raise-presets button{flex:1;min-width:48px}
 .action-bar .button{min-height:44px;flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){.pot-chip,.board-cards .bw-card{animation:none!important}.button:active,.raise-presets button:active{transform:none}}


/* v2.2 — interface compacte, table rectangulaire, rendu stable sans clignotement */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.game-main{max-width:980px;padding-top:12px;padding-bottom:24px}
.game-heading{margin:4px 0 8px}.game-heading h1{font-size:clamp(21px,3vw,30px)}
.table-scene{min-height:0;padding:8px 0 12px;overflow:visible}
.oval-table{width:min(100%,900px);height:clamp(260px,43vw,390px);border-radius:30px;background:linear-gradient(135deg,#6d4b2d,#d6b36f 7%,#422d1d 11%,#075239 14%,#063d2c 86%,#b18b4e 90%,#372216 94%);box-shadow:0 12px 30px #0007,inset 0 0 0 2px #d7b778,inset 0 0 0 8px #422b1b}
.oval-rail{inset:3%;border-radius:22px}.oval-felt{inset:7%;border-radius:18px;padding:18px 12px;gap:7px;background:radial-gradient(ellipse at center,#116344,#06442f 75%,#043623)}
.felt-logo{top:10px;font-size:9px;letter-spacing:2px}.felt-logo small{letter-spacing:3px}
.pot-chip{padding:4px 10px;gap:6px}.pot-chip strong{font-size:clamp(16px,2.3vw,23px)}
.board-cards{min-height:clamp(44px,6vw,66px);gap:5px}.bw-card{width:clamp(35px,5.3vw,48px);height:clamp(50px,7.4vw,68px);border-radius:6px;font-size:clamp(19px,2.6vw,26px);box-shadow:0 2px 5px #0004}
.immersive-seat{min-width:0;width:clamp(82px,13vw,120px);max-width:120px;padding:5px 6px;gap:2px;border-radius:8px;box-shadow:0 4px 10px #0005;background:#20170ff5}
.seat-bottom{left:50%;bottom:4px;transform:translateX(-50%)}.seat-top{left:50%;top:4px;transform:translateX(-50%)}.seat-left{left:4px;top:50%;transform:translateY(-50%)}.seat-right{right:4px;top:50%;transform:translateY(-50%)}.seat-lower-right{right:9%;bottom:5px}.seat-upper-right{right:9%;top:5px}
.seat-avatar{width:25px;height:25px;font-size:12px;border-width:1px}.seat-player{font-size:10px;line-height:1.2;max-width:100%}.seat-balance{font-size:10px;line-height:1.2}.turn-pill{font-size:8px;padding:1px 5px}.hand-peek{min-height:0;gap:2px}.bw-card.small{width:21px;height:30px;font-size:12px;border-radius:3px}
.game-status-strip{margin:8px 0;padding:8px 10px;border-radius:8px;font-size:11px}.game-action-root{margin:8px auto;max-width:800px}.action-bar{padding:10px;gap:7px;border-radius:10px}.player-action-panel{margin-top:8px;padding:12px;border-radius:10px}.your-hole-cards{margin:6px 0}.your-hole-cards .bw-card{width:54px;height:76px;font-size:28px}.waiting-banner{padding:12px}.game-bottom-actions{margin-top:8px}
.pot-chip-stack{height:24px;min-width:64px;display:flex;align-items:flex-end;justify-content:center;gap:2px;margin-top:-3px;margin-bottom:-2px}
.pot-chip-disc{display:block;width:17px;height:7px;border:1px dashed #f2dfb8;border-radius:50%;background:#b53d32;box-shadow:0 2px 0 #76251e;transform:translateY(calc(var(--pile)*-1px))}
.pot-chip-disc.chip-1{background:#eee0c1;box-shadow:0 2px 0 #b4a17d}.pot-chip-disc.chip-2{background:#315fbd;box-shadow:0 2px 0 #1e3c7c}.pot-chip-disc.chip-3{background:#292929;box-shadow:0 2px 0 #111}
@media(max-width:600px){.game-main{padding:8px 8px 18px}.game-heading{margin:2px 0 5px}.table-scene{padding:6px 0 8px;min-height:0}.oval-table{height:clamp(250px,74vw,320px);width:100%;border-radius:22px}.oval-rail{inset:3%;border-radius:16px}.oval-felt{inset:8%;border-radius:13px;padding:12px 5px;gap:5px}.immersive-seat{width:clamp(68px,22vw,92px);max-width:92px;padding:4px 3px;border-radius:7px}.seat-left{left:2px;top:50%;transform:translateY(-50%)}.seat-right{right:2px;top:50%;transform:translateY(-50%)}.seat-bottom{bottom:2px}.seat-top{top:2px}.seat-lower-right{right:5%;bottom:2px}.seat-upper-right{right:5%;top:2px}.seat-avatar{width:22px;height:22px}.seat-player{font-size:9px}.seat-balance{font-size:9px}.bw-card{width:clamp(30px,8.5vw,38px);height:clamp(43px,12vw,53px);font-size:clamp(16px,4.6vw,20px)}.bw-card.small{width:18px;height:26px;font-size:10px}.pot-chip-stack{height:17px;min-width:45px}.pot-chip-disc{width:12px;height:5px}.street-status{font-size:9px;letter-spacing:.3px}.game-status-strip{gap:5px;padding:7px;font-size:10px}.game-status-strip span:last-child{max-width:100%}.action-bar{padding:8px}.action-prompt{font-size:12px}.action-bar .button{padding:9px 10px;font-size:12px}.raise-box input{width:90px;min-height:40px}.raise-presets button{min-height:34px;padding:5px 8px;font-size:11px}.player-action-panel{padding:10px}.your-hand-title{font-size:10px}}

/* v2.3 — sièges compacts, mise uniquement par boutons, mobile stable */
.immersive-seat{width:clamp(66px,10vw,94px);max-width:94px;min-width:0;padding:4px 5px;gap:2px;border:1px solid hsl(var(--seat-hue) 45% 52%);background:linear-gradient(150deg,hsl(var(--seat-hue) 24% 17% / 97%),#130f0df7);box-shadow:0 3px 10px #0007}
.immersive-seat.turn-seat{border:2px solid #e9c878;box-shadow:0 0 0 2px #e9c87844,0 0 18px #d9b45d77;background:linear-gradient(150deg,#55401c,#21170f);z-index:5}
.immersive-seat.my-seat{border-color:#c8a56a;background:linear-gradient(150deg,#173d2b,#10251c)}
.seat-right{right:2px;top:50%;transform:translateY(-50%)}
.seat-left{left:2px;top:50%;transform:translateY(-50%)}
.seat-top{left:50%;top:2px;transform:translateX(-50%)}
.seat-bottom{left:50%;bottom:2px;transform:translateX(-50%)}
.seat-upper-right{right:8%;top:3px}.seat-lower-right{right:8%;bottom:3px}
.seat-avatar{width:24px;height:24px;overflow:hidden;flex:none}.seat-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.seat-player{font-size:10px;overflow-wrap:anywhere}.seat-balance{font-size:10px;white-space:nowrap}.hand-peek{border:0;background:transparent;padding:0;min-height:0;display:flex;justify-content:center;gap:2px}.hand-peek:disabled{opacity:.72}
.action-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.action-prompt{width:100%;margin:0 0 3px}.raise-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;margin-top:4px}.raise-presets button{min-width:0;min-height:42px;padding:7px 5px;border:1px solid #9c7946;border-radius:7px;background:#2c2117;color:#f0d7a0;font:600 13px/1.2 Arial,sans-serif;touch-action:manipulation}.raise-presets button:active{background:#5c4323}.turn-countdown{display:block;color:#c8a56a;font-size:12px;margin-top:5px}
@media(max-width:600px){.table-scene{padding:4px 0 8px}.oval-table{height:clamp(245px,68vw,310px);border-radius:18px}.oval-felt{inset:8% 7%;padding:8px 3px;gap:4px}.immersive-seat{width:clamp(60px,19vw,78px);max-width:78px;padding:3px 2px;border-radius:7px}.seat-avatar{width:20px;height:20px}.seat-player{font-size:9px;line-height:1.1}.seat-balance{font-size:8px}.turn-pill{font-size:7px;letter-spacing:0}.bw-card.small{width:17px;height:25px;font-size:10px}.board-cards{gap:3px}.board-cards .bw-card{width:clamp(27px,7vw,35px);height:clamp(39px,10vw,49px);font-size:17px}.pot-chip{padding:3px 7px}.pot-chip strong{font-size:16px}.pot-chip-stack{height:14px}.pot-chip-disc{width:11px;height:5px}.raise-presets button{font-size:11px;min-height:44px}.action-bar .button{min-height:44px}}


/* v2.5 — commandes de mise par pas de 5, montant personnalisé et animations ponctuelles sans clignotement */
.bet-builder{width:100%;display:grid;gap:8px;padding:10px;border:1px solid #60472f;border-radius:12px;background:linear-gradient(145deg,#18271d,#211710)}
.bet-builder-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.bet-builder-title small,.bet-rules{color:#c5b397;font-size:11px}
.bet-stepper{display:grid;grid-template-columns:54px 1fr 54px;align-items:center;gap:8px}.bet-stepper>button{min-height:46px;border:1px solid #c8a56a;border-radius:9px;background:#342518;color:#f4dfb3;font-size:17px;font-weight:800;touch-action:manipulation}.bet-stepper input{width:100%;min-width:0;min-height:46px;text-align:center;font:700 19px/1 system-ui,sans-serif;border:1px solid #c8a56a;border-radius:9px;background:#100e0b;color:#fff0ce}.bet-custom-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.bet-submit{width:100%;min-height:46px}.bet-rules{line-height:1.4}.raise-presets button{touch-action:manipulation}
/* Les animations ne s'appliquent qu'à un nouvel événement, jamais à chaque rafraîchissement */
.newly-dealt-marker{display:none}.board-cards .bw-card{animation:none!important}.board-cards .bw-card.newly-dealt{animation:deal-once .32s ease-out both!important}.pot-chip.pot-changed{animation:pot-pop .42s ease-out 1!important}.pot-chip-disc{transition:transform .24s ease-out}.bet-stepper>button:active,.bet-submit:active{transform:translateY(1px)}
@keyframes deal-once{from{opacity:.35;transform:translateY(-9px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes pot-pop{0%{transform:scale(.96)}55%{transform:scale(1.06);box-shadow:0 0 16px #d7b77566}100%{transform:scale(1)}}
@media(max-width:600px){.bet-builder{padding:8px}.bet-stepper{grid-template-columns:48px minmax(0,1fr) 48px}.bet-stepper input{font-size:18px}.bet-builder-title{align-items:flex-start;flex-direction:column;gap:2px}.bet-rules{font-size:10px}}
@media(prefers-reduced-motion:reduce){.board-cards .bw-card.newly-dealt,.pot-chip.pot-changed{animation:none!important}.pot-chip-disc{transition:none!important}}

/* v2.6 — navigation discrète et profil utilisateur accessible en haut à droite */
.top{position:relative;z-index:20}
.top-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
#accountBar{display:flex;align-items:center;gap:8px}
.profile-header-button{display:flex;align-items:center;gap:9px;min-width:0;max-width:min(280px,48vw);padding:5px 10px 5px 6px;border:1px solid #57432e;border-radius:999px;background:#211710;color:var(--cream);cursor:pointer;text-align:left}
.profile-header-button img,.profile-initial{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#71532f;border:1px solid var(--gold);color:#fff0cf;font-weight:bold;flex:none}
.profile-header-button span:nth-child(2){display:flex;flex-direction:column;min-width:0}.profile-header-button b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-header-button small{font-size:10px;color:var(--muted);white-space:nowrap}.profile-caret{color:var(--gold);font-size:16px}
.menu-toggle{width:40px;height:40px;border:1px solid #4c3927;border-radius:9px;background:#211710;color:var(--gold);font-size:22px;cursor:pointer;touch-action:manipulation}
.nav-menu-wrap{position:relative;flex:none}.site-menu{position:absolute;right:0;top:calc(100% + 10px);width:210px;padding:7px;border:1px solid #624a31;border-radius:12px;background:#1b120d;box-shadow:0 16px 38px #0009;display:grid;gap:3px;z-index:50}.site-menu a,.site-menu button{display:block;width:100%;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:var(--cream);font:inherit;text-align:left;text-decoration:none;cursor:pointer}.site-menu a:hover,.site-menu button:hover{background:#302116;color:#f3d59b}.site-menu .quiet-admin{font-size:12px;color:#a99880;border-top:1px solid #493522;border-radius:0;margin-top:4px;padding-top:13px}
.rules-panel{margin:48px 0 12px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#1b140f}.rules-panel h2{margin:0 0 18px;font-size:clamp(23px,4vw,32px)}.rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}.rules-grid p{margin:0;padding:12px;border-radius:9px;background:#241a12;color:var(--muted);font-size:14px}.rules-grid b{color:var(--cream)}
.password-settings{margin:16px 0;padding:12px;border:1px solid #4e3a28;border-radius:10px;background:#1a120d}.password-settings summary{color:var(--gold);font-weight:bold;cursor:pointer;padding:4px}.password-settings form{margin-top:14px}.profile-dialog{max-height:min(88dvh,760px);overflow:auto}.profile-dialog .profile-grid{gap:12px}
@media(max-width:700px){.top{height:auto;min-height:72px;padding:10px 12px;gap:8px}.brand{gap:7px;letter-spacing:1px}.brand b{font-size:14px}.brand small{font-size:8px;letter-spacing:1.5px}.brand-mark{font-size:27px}.top-right{gap:6px}#accountBar{gap:5px}#accountBar>.button{padding:8px 9px;font-size:11px}.profile-header-button{max-width:43vw;gap:6px;padding:4px 7px 4px 4px}.profile-header-button img,.profile-initial{width:29px;height:29px}.profile-header-button b{max-width:22vw;font-size:11px}.profile-header-button small{font-size:9px}.profile-caret{display:none}.menu-toggle{width:36px;height:36px}.site-menu{width:190px}.rules-panel{margin:30px 0 8px;padding:15px}.rules-grid{grid-template-columns:1fr;gap:8px}.rules-grid p{font-size:13px;padding:10px}}
@media(max-width:390px){.brand small{display:none}#accountBar>[data-register]{display:none}.profile-header-button{max-width:42vw}.profile-header-button b{max-width:20vw}}


/* v2.7 — corrections d’ergonomie mobile : menu ancré à l’écran, en-tête et accueil compacts */
@media (max-width:700px){
  .top{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:10px 14px;gap:8px;overflow:visible}
  .top-left{flex:1 1 auto;min-width:0;width:auto}
  .top-right{flex:0 0 auto;width:auto;max-width:100%;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
  .brand{min-width:0;max-width:100%;gap:7px}
  .brand span:last-child{min-width:0}
  .brand b{font-size:clamp(12px,3.3vw,15px);letter-spacing:1.4px;white-space:nowrap}
  .brand small{font-size:8px;letter-spacing:1px;white-space:nowrap}
  #accountBar{min-width:0;max-width:calc(100vw - 100px);flex:0 1 auto}
  .profile-header-button{max-width:calc(100vw - 110px);min-width:0}
  .profile-header-button span:nth-child(2){min-width:0;max-width:100px}
  .profile-header-button b{max-width:100%;font-size:12px}
  .profile-header-button small{font-size:10px}
  .nav-menu-wrap{position:static}
  .site-menu{position:fixed;top:calc(env(safe-area-inset-top, 0px) + 125px);right:12px;left:auto;width:min(260px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 155px);overflow-y:auto;z-index:1000;padding:8px}
  .site-menu a,.site-menu button{font-size:15px;padding:12px}
  main{width:100%;max-width:100%;padding:0 16px 32px;overflow-x:clip}
  .hero{padding:30px 0 26px;margin-bottom:22px}
  .hero:after{right:2%;top:20px;font-size:clamp(90px,24vw,150px)}
  .hero h1{font-size:clamp(34px,9vw,48px);line-height:1.06;letter-spacing:-1px;max-width:100%;overflow-wrap:anywhere}
  .hero>p:not(.eyebrow){font-size:15px;line-height:1.55;max-width:100%;margin:10px 0}
  .hero-stats{gap:12px;margin-top:18px;font-size:10px;letter-spacing:.7px}
  .hero-stats span{padding-left:9px}
  .hero-stats b{font-size:17px}
  .section-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 14px}
  .section-head>div{flex:1 1 190px;min-width:0}
  .section-head h2,h2{font-size:clamp(23px,6.5vw,30px);line-height:1.18;overflow-wrap:anywhere}
  .section-head>button{flex:0 0 auto;min-height:42px;padding:9px 12px;font-size:13px}
  .tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .table-card{min-width:0;padding:13px;border-radius:12px;min-height:0}
  .table-card h3{font-size:18px;overflow-wrap:anywhere}
  .table-card p{font-size:12px;overflow-wrap:anywhere}
  .table-card .button{padding:10px 7px;font-size:12px;white-space:normal}
  .panel,.rules-panel{min-width:0;padding:14px;margin:22px 0}
  .rules-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .top{padding:9px 10px;gap:6px}
  .brand-mark{width:34px;height:34px;font-size:21px}
  .brand b{font-size:12px;letter-spacing:1px}
  .brand small{display:none}
  .profile-header-button{max-width:calc(100vw - 94px);gap:5px;padding:4px 6px 4px 4px}
  .profile-header-button img,.profile-initial{width:27px;height:27px}
  .profile-header-button span:nth-child(2){max-width:78px}
  .profile-header-button small{font-size:9px}
  .menu-toggle{width:34px;height:34px;font-size:19px}
  .hero{padding-top:25px}
  .tables{grid-template-columns:1fr}
  .table-card{padding:15px}
  .section-head{align-items:flex-start}
  .section-head>button{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.table-card,.button{transition:none!important}}


/* v2.8 — sièges physiquement hors du tapis et résultat de main en popup */
.table-scene{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:0;padding:8px 0 10px;overflow:visible}
.table-player-ring{position:relative;z-index:3;display:flex;align-items:stretch;justify-content:center;gap:8px;width:100%;flex-wrap:wrap;min-height:0}
.table-player-ring-top{order:0}
.table-scene .oval-table{order:1;position:relative;flex:none;width:100%;height:clamp(260px,42vw,390px);margin:0;border-radius:24px}
.table-player-ring-bottom{order:2}
.table-player-profile.immersive-seat{position:relative;inset:auto;transform:none;width:clamp(84px,18vw,130px);min-width:0;max-width:130px;flex:0 1 130px;padding:6px 7px;gap:3px;border-radius:10px;z-index:1}
.table-player-profile .seat-avatar{width:30px;height:30px;flex:none}
.table-player-profile .seat-player{font-size:11px;line-height:1.15;overflow-wrap:anywhere}
.table-player-profile .seat-balance{font-size:10px;line-height:1.2}
.table-player-profile .turn-pill{font-size:8px;padding:2px 5px}
.table-player-profile .hand-peek{min-height:25px;align-items:center;justify-content:center}
.table-player-profile .bw-card.small{width:20px;height:28px;font-size:11px}
.table-player-profile.turn-seat{z-index:4;outline:2px solid #e9c878;outline-offset:1px;box-shadow:0 0 13px #d9b45d55}
.table-player-profile.my-seat{border-color:#c8a56a}
.result-dialog{text-align:center;max-width:calc(100vw - 28px)}
.result-dialog h2{font-size:clamp(26px,7vw,36px);margin:10px 0;color:#e8ca8d}
.result-message{font-size:clamp(17px,4vw,22px);line-height:1.45}
.result-dialog #resultContinue{margin-top:14px;min-width:130px}
@media(max-width:600px){.table-scene{gap:7px;padding:4px 0 8px}.table-player-ring{gap:5px}.table-scene .oval-table{height:clamp(230px,65vw,300px);border-radius:18px}.table-player-profile.immersive-seat{width:clamp(68px,21vw,90px);max-width:90px;flex:0 1 90px;padding:4px 3px;gap:2px;border-radius:8px}.table-player-profile .seat-avatar{width:24px;height:24px}.table-player-profile .seat-player{font-size:9px}.table-player-profile .seat-balance{font-size:8px}.table-player-profile .turn-pill{font-size:7px}.table-player-profile .hand-peek{min-height:21px}.table-player-profile .bw-card.small{width:16px;height:23px;font-size:9px}.oval-felt{inset:8% 6%;padding:8px 3px;gap:4px}.board-cards .bw-card{width:clamp(27px,7vw,35px);height:clamp(39px,10vw,49px);font-size:17px}.pot-chip{padding:3px 7px}.pot-chip strong{font-size:16px}.pot-chip-stack{height:14px}.street-status{font-size:9px}.result-dialog{padding:24px 18px}}

.turn-countdown.timer-urgent{color:#ff9b84;font-weight:800;animation:timerPulse .35s ease-in-out 2}@keyframes timerPulse{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.turn-countdown.timer-urgent{animation:none}}

/* v3.3 — accueil compact : moins de défilement, lobby immédiatement visible */
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:28px 0 22px;margin-bottom:14px;min-height:0}
.hero:after{font-size:clamp(80px,12vw,150px);top:10px;right:4%}
.hero-copy{min-width:0;position:relative;z-index:1}
.hero .eyebrow{margin-bottom:6px;letter-spacing:2px}
.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.08;max-width:620px;margin-bottom:7px;letter-spacing:-.8px}
.hero>div>p:not(.eyebrow){font-size:14px;line-height:1.4;margin:0;color:var(--muted)}
.hero-stats{flex:0 0 auto;gap:12px;margin:0 0 3px;font-size:10px}
.hero-stats span{padding-left:9px}.hero-stats b{font-size:16px}
.lobby-head{margin:14px 0 10px;align-items:center}
.lobby-head .eyebrow{margin-bottom:3px;font-size:9px}.lobby-head h2{font-size:clamp(21px,3vw,27px)}
.lobby-head .button{padding:8px 11px;font-size:12px}
.tables{gap:10px}
.table-card{padding:14px;min-height:0;border-radius:11px}
.table-card h3{font-size:19px;margin-bottom:3px}.table-card p{font-size:12px;line-height:1.35;margin:3px 0}
.table-card .felt{height:42px;margin:8px 0;border-width:4px;font-size:18px}
.table-card .button{padding:9px 12px;font-size:13px}
.rules-shortcut{margin:16px 0 4px;font-size:12px}.rules-shortcut a{color:var(--muted);text-decoration:none}.rules-shortcut a:hover{color:var(--gold)}
@media(max-width:700px){main{padding:0 12px 22px}.hero{padding:18px 0 14px;margin-bottom:8px;gap:8px}.hero h1{font-size:clamp(25px,6.6vw,34px);line-height:1.08;max-width:100%}.hero>div>p:not(.eyebrow){font-size:12px}.hero-stats{gap:7px;font-size:9px;letter-spacing:.3px}.hero-stats span{padding-left:6px}.hero-stats b{font-size:14px}.lobby-head{margin:10px 0 8px}.lobby-head h2{font-size:21px}.tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.table-card{padding:10px;border-radius:9px}.table-card h3{font-size:16px;line-height:1.15}.table-card p{font-size:11px;line-height:1.3}.table-card .felt{height:34px;margin:6px 0;border-width:3px;font-size:16px}.table-card .button{padding:8px 5px;font-size:11px;line-height:1.2}.rules-shortcut{margin-top:12px;font-size:11px}}
@media(max-width:360px){.hero{align-items:flex-start;flex-direction:column}.hero-stats{margin-top:4px}.tables{grid-template-columns:repeat(2,minmax(0,1fr))}.table-card{padding:8px}.table-card h3{font-size:14px}.table-card p{font-size:10px}.table-card .button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.table-card{transition:none!important}}


/* v3.4 — page dédiée aux tables et réglages depuis le menu de coin */
.home-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 32px}
.home-shortcuts .button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.tables-page{min-height:100vh}
.tables-top{flex-direction:row;align-items:center;justify-content:space-between;min-height:78px}
.tables-main{max-width:1160px;margin:auto;padding:0 24px 48px}
.tables-page-heading{padding:30px 0 22px;margin-bottom:18px;border-bottom:1px solid #6a4e3422}
.tables-page-heading h1{font:normal clamp(30px,5vw,46px)/1.1 Georgia,serif;margin:0 0 8px;letter-spacing:-1px}
.tables-page-heading p:last-child{color:var(--muted);margin:0}
#tablesNotice{color:var(--gold);font-size:14px;margin:8px 0}
#tablesNotice:empty{display:none}
.tables-page .tables{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tables-page .table-card{min-height:0}
.tables-page .table-card .button:disabled{opacity:.62;cursor:not-allowed;filter:saturate(.5)}
.tables-top .brand{text-decoration:none}
@media(max-width:760px){.tables-main{padding:0 14px 30px}.tables-page .tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tables-top{padding:12px 14px;gap:8px}.tables-top .brand{gap:6px}.tables-top .brand-mark{width:34px;height:34px;font-size:20px}.tables-top .brand b{font-size:13px}.tables-top .brand small{font-size:8px;letter-spacing:1px}.tables-top>.button{padding:9px 10px;font-size:12px;white-space:nowrap}.tables-page-heading{padding:24px 0 18px}}
@media(max-width:420px){.tables-page .tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tables-page .table-card{padding:10px}.tables-page .table-card h3{font-size:16px}.tables-page .table-card .button{padding:9px 5px;font-size:11px;white-space:normal}}

/* v3.5 — règles accessibles depuis les paramètres, accueil sans bloc règles */
.profile-rules-link{display:block;text-align:center;text-decoration:none;margin-top:14px}
.lobby-head{margin:16px 0 10px}

/* v3.6 — compte, solde et règles regroupés dans Paramètres */
.settings-dialog{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #624a31;border-radius:16px;background:#1b120d;color:var(--cream);padding:22px;box-shadow:0 24px 70px #000b}
.settings-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}
.settings-dialog .profile-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.settings-actions{display:grid;gap:9px;margin-top:18px}
.settings-actions .button{text-align:center;text-decoration:none;justify-content:center}

/* v3.7 — actions du compte accessibles directement depuis le menu hamburger */
.menu-account{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px;border-bottom:1px solid #493522;margin-bottom:4px;min-width:0}
.menu-account strong{font-size:14px;color:var(--cream);overflow-wrap:anywhere}
.menu-account small{font:12px Arial,sans-serif;color:var(--gold)}
.site-menu{width:min(260px,calc(100vw - 24px));max-height:min(75vh,520px);overflow-y:auto}
.site-menu a,.site-menu button{font-size:14px}

/* v3.8 — photo de profil visible dans la fenêtre Mon profil */
.profile-avatar-preview{width:104px;height:104px;margin:4px auto 18px;border:2px solid var(--gold);border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#76542f,#2b1b10);box-shadow:0 0 0 5px #c8a56a18;color:#fff0cf;font:bold 38px Georgia,serif}
.profile-avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}
.profile-avatar-preview img[hidden],.profile-avatar-preview span[hidden]{display:none}

/* v3.9 — visual refresh, logo officiel et ergonomie mobile */
:root{--bg:#100c09;--panel:#19130f;--panel2:#241b14;--gold:#c8a56a;--cream:#f5ead7;--muted:#b8aa98;--green:#174b35;--line:#463426;--safe-bottom:env(safe-area-inset-bottom,0px)}
body{background:radial-gradient(ellipse at 50% -12%,#332419 0%,#17110d 38%,#100c09 78%);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.005em} .top{position:sticky;top:0;z-index:30;min-height:72px;height:auto;padding:10px clamp(14px,4vw,42px);background:#100c09ed;backdrop-filter:blur(18px);border-bottom:1px solid #c8a56a25}.top-left,.top-right{display:flex;align-items:center;gap:12px}.brand{gap:0;letter-spacing:0;min-width:0}.brand-logo{display:block;width:clamp(126px,18vw,174px);height:auto;max-height:74px;object-fit:contain;filter:drop-shadow(0 2px 8px #0008)}.brand-subtitle{display:none}.menu-toggle{width:46px;height:46px;border:1px solid #c8a56a70;border-radius:14px;background:#21180f;color:var(--gold);font-size:24px;display:grid;place-items:center;cursor:pointer}.site-menu{position:absolute;right:0;top:calc(100% + 10px);width:min(320px,calc(100vw - 24px));padding:10px;border:1px solid #c8a56a55;border-radius:18px;background:#17110df7;box-shadow:0 22px 60px #000b;backdrop-filter:blur(20px);z-index:50}.site-menu button,.site-menu a{width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;border:0;border-radius:11px;background:transparent;color:var(--cream);font:500 15px/1.3 system-ui,sans-serif;text-align:left;text-decoration:none;cursor:pointer}.site-menu button:hover,.site-menu a:hover{background:#c8a56a17;color:#f3d69b}.menu-account{padding:12px 14px;margin-bottom:6px;border-radius:12px;background:#c8a56a12;border:1px solid #c8a56a20}.menu-account strong,.menu-account small{display:block}.menu-account small{color:var(--gold);margin-top:3px}.hero{position:relative;overflow:hidden;padding:clamp(32px,6vw,68px) 0 clamp(24px,4vw,42px);margin-bottom:22px;border-bottom:1px solid #c8a56a30}.hero:after{content:"";position:absolute;right:0;top:22px;width:clamp(100px,20vw,210px);height:clamp(55px,11vw,115px);background:url('./pokeronline-logo.svg') center/contain no-repeat;opacity:.085;pointer-events:none}.hero-copy,.hero-stats{position:relative;z-index:1}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,6vw,60px);letter-spacing:-.04em;max-width:780px}.hero>p:not(.eyebrow){font-size:15px}.eyebrow{letter-spacing:2px}.section-head{margin:22px 0 14px}.section-head h2,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em}.tables{gap:12px}.table-card{border-radius:16px;padding:clamp(13px,2vw,20px);min-height:0;background:linear-gradient(145deg,#261c14,#17110d);border-color:#6b4d2e80;box-shadow:0 10px 28px #0002}.table-card h3{font-size:clamp(17px,2.2vw,21px)}.table-card .button,.button{min-height:44px;border-radius:12px;font:650 14px/1.2 system-ui,sans-serif;padding:12px 15px}.button.ghost{background:#c8a56a0b}.felt{border-radius:999px;height:56px;margin:12px 0;border-width:4px}.panel{border-radius:16px}.profile-dialog,dialog{border-radius:20px;max-height:min(90dvh,820px);padding:clamp(18px,4vw,28px);background:linear-gradient(155deg,#241a12,#100c09);border-color:#c8a56a70}input,select,textarea{border-radius:10px;min-height:44px;font:16px system-ui,sans-serif}main{padding-bottom:calc(44px + var(--safe-bottom))}footer{padding-bottom:calc(22px + var(--safe-bottom));font-family:system-ui,sans-serif;letter-spacing:1px}#notice{padding:0 2px;font-family:system-ui,sans-serif}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #f0cf88;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed} .profile-avatar-preview{box-shadow:0 0 0 4px #c8a56a1b;border:2px solid var(--gold)}
@media(max-width:760px){.top{flex-direction:row;align-items:center;min-height:68px;padding:8px 14px}.top-left{width:auto}.top-right{margin-left:auto}.brand-logo{width:clamp(112px,34vw,148px);max-height:60px}.tables{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding-top:32px}.hero h1{max-width:88%;font-size:clamp(32px,8vw,48px)}main{padding-inline:16px}.section-head h2{font-size:25px}.table-card .button{padding:10px 8px;font-size:12px}.profile-grid,.settings-grid{grid-template-columns:1fr}}
@media(max-width:390px){.tables{grid-template-columns:1fr}.hero:after{width:100px;opacity:.06}.brand-logo{width:116px}.menu-toggle{width:44px;height:44px}}
@media(display-mode:standalone){.top{padding-top:max(8px,env(safe-area-inset-top,0px))}main{padding-bottom:calc(56px + var(--safe-bottom))}}

/* v3.12 — accueil compact : lobby visible sans défilement sur les mobiles courants */
@media (min-width:761px){
  main{padding-bottom:24px}
  .hero{padding:24px 0 18px;margin-bottom:12px}
  .hero h1{font-size:clamp(30px,4vw,44px);max-width:720px;margin-bottom:8px}
  .hero>p:not(.eyebrow){margin:6px 0;font-size:14px}
  .hero-stats{margin-top:12px;gap:20px}
  .section-head{margin:14px 0 10px}
  .section-head h2{font-size:25px}
  .tables{gap:10px}
  .table-card{padding:13px;min-height:0}
  .table-card h3{font-size:19px;margin-bottom:2px}
  .table-card p{font-size:12px;margin:2px 0}
  .felt{height:38px;margin:7px 0;border-width:3px;font-size:17px}
  .table-card .button{min-height:36px;padding:8px 10px;font-size:12px}
  footer{padding-top:12px;padding-bottom:12px}
}
@media (max-width:760px){
  main{padding:0 12px calc(12px + var(--safe-bottom))}
  .top{min-height:54px;padding:5px 12px}
  .brand-logo{width:108px;max-height:44px}
  .menu-toggle{width:40px;height:40px;border-radius:11px;font-size:21px}
  .hero{padding:13px 0 10px;margin-bottom:8px}
  .hero:after{top:8px;width:92px;height:48px;opacity:.055}
  .hero .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:4px}
  .hero h1{font-size:clamp(24px,6.5vw,34px);line-height:1.02;letter-spacing:-.045em;max-width:88%;margin:0 0 5px}
  .hero>p:not(.eyebrow){font-size:12px;line-height:1.35;margin:4px 0;color:#b8aa98}
  .hero-stats{margin-top:8px;gap:14px;font-size:10px;letter-spacing:.6px}
  .hero-stats span{padding-left:8px}
  .hero-stats b{font-size:14px;display:inline;margin-right:3px}
  .lobby-head{margin:8px 0 7px;align-items:center;gap:8px}
  .lobby-head .eyebrow{font-size:9px;margin-bottom:2px;letter-spacing:1.4px}
  .lobby-head h2,.section-head h2{font-size:19px;line-height:1.15}
  #refreshBtn{min-height:34px;padding:7px 10px;font-size:11px;border-radius:9px;white-space:nowrap}
  .tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .table-card{padding:9px;border-radius:11px;box-shadow:0 4px 12px #0002}
  .table-card h3{font-size:15px;line-height:1.15;margin:0 0 3px;overflow-wrap:anywhere}
  .table-card p{font-size:10px;line-height:1.2;margin:2px 0}
  .felt{height:27px;margin:5px 0;border-width:3px;font-size:13px;box-shadow:inset 0 0 10px #0008}
  .table-card .button{min-height:31px;padding:7px 5px;font-size:10px;line-height:1.1;border-radius:8px;white-space:normal;box-shadow:none}
  #notice{font-size:12px;margin:4px 0}
  footer{display:none}
}
@media(max-width:390px){
  .tables{grid-template-columns:repeat(2,minmax(0,1fr))}
  .table-card{padding:7px}
  .table-card h3{font-size:14px}
  .table-card .button{font-size:9px;padding:6px 3px}
  .hero h1{font-size:25px}
}
@media(max-height:760px) and (max-width:760px){
  .hero{padding-top:8px;padding-bottom:7px}
  .hero h1{font-size:24px}
  .hero-stats{margin-top:5px}
  .table-card .felt{height:23px;margin:3px 0}
  .table-card{padding:6px}
}

/* v3.13 — direction artistique saloon immersive : enseigne, bois gravé, feutre et détails de table */
:root{--wood-ink:#100906;--wood-mid:#28180f;--wood-light:#5b3820;--brass:#c49a58;--felt-green:#154a34}
body{background-color:#130c08;background-image:radial-gradient(ellipse at 50% 0%,#57382055,transparent 42%),repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 7px),linear-gradient(180deg,#1c100a 0%,#100906 65%,#170e09 100%);background-attachment:fixed}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.2;background:repeating-linear-gradient(0deg,transparent 0 56px,#8d5b3524 57px,#08040277 60px),linear-gradient(90deg,#0007,transparent 12%,transparent 88%,#0007)}
.top{height:76px;position:sticky;top:0;background:linear-gradient(180deg,#160d09f7,#1d110cf2);border-bottom:3px solid #5a3922;box-shadow:0 5px 0 #0b0705,0 12px 28px #0008}
.top:after{content:"";position:absolute;bottom:-3px;left:5%;right:5%;height:1px;background:linear-gradient(90deg,transparent,#d5b375,#684321, #d5b375,transparent);pointer-events:none}
.brand-logo{max-height:58px;max-width:min(220px,52vw);object-fit:contain;filter:drop-shadow(0 3px 4px #0008)}
.saloon-hero{isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;position:relative;margin:22px 0 20px;padding:clamp(22px,4vw,42px);border:1px solid #a47a48;border-radius:5px;background:linear-gradient(110deg,#170d08f5 0%,#29180ff0 55%,#140b07f5 100%);box-shadow:inset 0 0 0 5px #130a06,inset 0 0 0 6px #76502d,0 14px 30px #0006;overflow:hidden}
.saloon-hero:before{content:"";position:absolute;inset:10px;z-index:-1;border:1px solid #c19a5b55;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 34px,#d5aa6a07 35px,#00000010 37px)}
.saloon-hero:after{content:"✦";position:absolute;right:30%;top:-38px;font-size:180px;color:#d4b47708;line-height:1;pointer-events:none}
.hero-copy{position:relative;z-index:2}.hero .eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:3px;color:#e0bf82}.hero h1{font-size:clamp(30px,5.2vw,56px);line-height:1.03;letter-spacing:-1.3px;text-shadow:0 3px 0 #0008}.hero h1 em{font-weight:normal;color:#d5b174;text-shadow:0 2px 0 #0009}.hero>div>p:not(.eyebrow){max-width:460px;color:#c1aa8b;font-size:14px;line-height:1.6}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:17px}.live-mark,.hero-rule{display:inline-flex;align-items:center;gap:7px;font:700 9px Arial,sans-serif;letter-spacing:1.4px;color:#ddc89f}.live-mark{border:1px solid #6e5234;background:#100a07;padding:7px 10px}.live-mark i,.table-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a8c18a;box-shadow:0 0 7px #9ab97b}
.hero-emblem{position:relative;width:clamp(110px,17vw,170px);aspect-ratio:1;display:grid;place-items:center;margin:0 12px 0 0;transform:rotate(2deg)}.emblem-rim{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid #b78d4f;border-radius:50%;outline:1px dashed #d7b77788;outline-offset:-9px;background:radial-gradient(circle,#3b2616 0%,#1a0f09 67%);box-shadow:0 0 0 6px #160d08,0 0 0 7px #6e4c2c,0 10px 20px #0008,inset 0 0 20px #0008;color:#e1c28a}.emblem-rim span{font:bold clamp(30px,5vw,49px)/1 Georgia,serif;letter-spacing:-5px;padding-right:5px}.emblem-rim>b{font-size:12px;color:#b58a4b}.emblem-rim small{font:700 7px Arial,sans-serif;letter-spacing:1.6px}.emblem-cards{position:absolute;bottom:-4px;right:-10px;display:flex;gap:2px;transform:rotate(8deg)}.emblem-cards span{display:grid;place-items:center;width:29px;height:40px;border-radius:3px;background:#f0e5ce;color:#1b241b;border:2px solid #d1b77f;font:bold 14px Georgia;box-shadow:0 3px 8px #0009}.emblem-cards .red-card{transform:rotate(12deg);color:#8c2922}
.hero-stats{grid-column:1/-1;display:flex;gap:0;margin:3px 0 0;padding-top:15px;border-top:1px solid #a47b4938}.hero-stats span{min-width:130px;border-left:0;border-right:1px solid #7e5b374d;padding:0 18px 0 0;margin-right:18px;font-size:9px;letter-spacing:1.3px}.hero-stats b{font:normal 22px Georgia,serif;color:#e1c28a}
.lobby-head{margin-top:26px;padding:0 2px 12px;border-bottom:1px solid #7c573526}.lobby-head h2{font-size:clamp(22px,3vw,29px)}.lobby-head .eyebrow{margin-bottom:4px}
.tables{gap:15px}.table-card{min-width:0;padding:14px;border-radius:4px;border:1px solid #694729;background:linear-gradient(155deg,#332015,#1b100b 72%);box-shadow:inset 0 0 0 3px #170d08,inset 0 0 0 4px #4b2e1c,0 9px 16px #0004}.table-card:before{content:none}.table-card:hover{transform:translateY(-3px);border-color:#c59a5c;box-shadow:inset 0 0 0 3px #170d08,inset 0 0 0 4px #93673a,0 15px 22px #0007}.table-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}.table-index{font:700 8px Arial,sans-serif;letter-spacing:1.5px;color:#a78a64}.table-status{display:inline-flex;align-items:center;gap:5px;font:700 8px Arial,sans-serif;letter-spacing:1px;color:#c3a477}.table-status i{width:5px;height:5px;background:#ba9661;box-shadow:none}.table-status.status-live i{background:#94b879;box-shadow:0 0 6px #94b87977}.table-card h3{font-size:clamp(15px,2vw,20px);letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-table-art{height:86px;position:relative;display:grid;place-items:center;margin:7px 0 8px;isolation:isolate}.mini-table-rim{width:72%;height:61px;border-radius:50%;padding:5px;background:linear-gradient(145deg,#c19a60,#4c2d18 45%,#9b703c);box-shadow:0 7px 7px #0008,inset 0 0 0 2px #26140c;transform:perspective(160px) rotateX(10deg)}.mini-table-felt{height:100%;border:1px solid #4b785d;border-radius:50%;background:radial-gradient(ellipse at 50% 35%,#236446,#0c3020 80%);display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;align-content:center;color:#e3c98f;box-shadow:inset 0 0 9px #0008}.mini-table-felt b{font:700 8px Georgia,serif;letter-spacing:1.1px}.mini-table-felt small{flex-basis:100%;text-align:center;font:6px Arial,sans-serif;letter-spacing:1.4px;color:#c1a977}.mini-table-felt span{font-size:12px}.mini-chip{position:absolute;width:20px;height:20px;border-radius:50%;border:3px dashed #e4d2ac;background:repeating-conic-gradient(#a83d30 0 12deg,#eee0c0 12deg 24deg);box-shadow:0 2px 3px #0008}.chip-one{left:13%;bottom:9px;transform:rotate(12deg)}.chip-two{right:14%;top:8px;background:repeating-conic-gradient(#244e3b 0 12deg,#eee0c0 12deg 24deg);transform:rotate(-12deg)}
.table-card-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #8a633a40;padding:9px 0 10px;margin-bottom:2px}.table-card-meta>span:first-child{font:11px Arial,sans-serif;color:#c4ae8d}.table-card-meta strong{font:bold 17px Georgia,serif;color:#e4c58b}.table-card-meta small{display:block;font:700 7px Arial,sans-serif;letter-spacing:1.2px;color:#9d8361}.seat-dots{display:flex;gap:4px}.seat-dots i{width:9px;height:9px;border:1px solid #9a784c;border-radius:50%;background:#100a07}.seat-dots i.occupied{background:#d1ae70;border-color:#e3c991;box-shadow:0 0 5px #d1ae7044}.table-card .button{display:flex;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:9px 8px;border-radius:3px;text-transform:uppercase;font:700 10px Arial,sans-serif;letter-spacing:.8px;box-shadow:0 3px 0 #6f4b25,0 5px 9px #0004}.table-card .button span{font-size:14px}.table-card .button:disabled{filter:grayscale(.65);opacity:.65;box-shadow:none}
@media(max-width:520px){.saloon-hero{grid-template-columns:minmax(0,1fr) 84px;gap:8px;padding:20px 14px 15px;margin-top:14px}.hero-emblem{width:78px;margin:0 5px 0 0}.emblem-rim{outline-offset:-6px}.emblem-rim small{font-size:5px;letter-spacing:.8px}.emblem-cards span{width:23px;height:32px;font-size:11px}.hero h1{font-size:clamp(25px,7vw,34px);letter-spacing:-.6px}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.hero>div>p:not(.eyebrow){font-size:12px;line-height:1.45}.hero-rule{font-size:7px;letter-spacing:.7px}.hero-stats{padding-top:11px}.hero-stats span{min-width:0;margin-right:12px;padding-right:12px;font-size:8px}.hero-stats b{font-size:18px}.tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.table-card{padding:9px}.table-card h3{font-size:14px}.mini-table-art{height:67px}.mini-table-rim{height:49px;width:78%}.mini-chip{width:15px;height:15px;border-width:2px}.chip-one{left:5%;bottom:4px}.chip-two{right:6%;top:3px}.table-index,.table-status{font-size:7px;letter-spacing:.6px}.table-card .button{font-size:8px;letter-spacing:.2px;min-height:36px}.seat-dots{gap:2px}.seat-dots i{width:7px;height:7px}.table-card-meta{padding:7px 0}.lobby-head{align-items:center}}
@media(prefers-reduced-motion:reduce){.table-card,.button{transition:none}}

/* v3.14 — correction mobile de l'en-tête de partie : aucun chevauchement logo/actions/titre */
.game-page .game-top{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;height:auto;min-height:0;padding:12px 16px 14px;overflow:visible}
.game-page .game-top:after{left:0;right:0;bottom:0}
.game-page .game-top .brand{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:0;min-height:0}
.game-page .game-top .brand-logo{display:block;width:auto;height:auto;max-width:min(220px,72vw);max-height:74px;object-fit:contain}
.game-page .game-top .brand-subtitle{display:none}
.game-page .game-top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0}
.game-page #gameUser{display:block;flex:1 1 100%;min-width:0;margin:0;color:var(--muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.game-page .game-top-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;font-size:13px;line-height:1.2;white-space:normal;text-align:center}
.game-page .game-main{width:100%;min-width:0;padding:18px 16px calc(36px + env(safe-area-inset-bottom))}
.game-page .game-heading{align-items:flex-end;flex-wrap:wrap;gap:10px;margin:8px 0 18px}
.game-page .game-heading>div{min-width:0;flex:1 1 170px}
.game-page .game-heading .eyebrow{margin-bottom:6px;font-size:10px;letter-spacing:2px}
.game-page .game-heading h1{font-size:clamp(27px,7vw,38px);line-height:1.1;overflow-wrap:anywhere}
.game-page #refreshGame{flex:0 0 auto;min-height:42px;padding:9px 14px}
.game-page #gameNotice:empty{display:none}
@media(max-width:600px){
 .game-page .game-top{gap:9px;padding:10px 14px 12px}
 .game-page .game-top .brand-logo{max-width:min(190px,66vw);max-height:68px}
 .game-page .game-top-actions{gap:7px}
 .game-page .game-top-actions .button{flex:0 1 auto;min-height:38px;padding:8px 11px;font-size:12px;border-radius:10px}
 .game-page .game-main{padding:15px 12px calc(28px + env(safe-area-inset-bottom))}
 .game-page .game-heading{margin-top:4px;margin-bottom:14px}
 .game-page .table-scene{padding-top:28px}
}
@media(max-width:360px){
 .game-page .game-top-actions .button{flex:1 1 auto}
 .game-page .game-heading{align-items:stretch}
 .game-page #refreshGame{align-self:flex-start}
}


/* v3.15 — remplacement du médaillon BW par le logo officiel, intégré sans doublon */
.hero-emblem.hero-official-brand{width:clamp(145px,23vw,250px);aspect-ratio:auto;min-height:0;display:flex;align-items:center;justify-content:center;margin:0;padding:clamp(8px,1.6vw,18px);transform:none;position:relative;background:radial-gradient(ellipse at center,#39251955 0%,#160f0a00 72%);border:0;box-shadow:none;overflow:visible}
.hero-emblem.hero-official-brand::before{content:"";position:absolute;inset:8% 0;border-top:1px solid #c8a56a55;border-bottom:1px solid #c8a56a55;pointer-events:none}
.hero-official-logo{position:relative;z-index:1;display:block;width:100%;height:auto;max-height:180px;object-fit:contain;filter:drop-shadow(0 4px 9px #0009)}
@media(max-width:520px){.saloon-hero{grid-template-columns:minmax(0,1fr) 100px}.hero-emblem.hero-official-brand{width:100px;padding:4px;min-height:0}.hero-emblem.hero-official-brand::before{inset:18% 0}.hero-official-logo{max-height:90px}.emblem-rim,.emblem-cards{display:none}}

/* v3.16 — ergonomie paysage (téléphones tournés et petites tablettes) */
@media (orientation:landscape) and (max-height:560px){
  .game-page .game-top{position:relative;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:6px 16px;min-height:54px;height:auto}
  .game-page .game-top .brand{width:auto;flex:0 0 auto}
  .game-page .game-top .brand-logo{max-width:180px;max-height:42px}
  .game-page .game-top-actions{width:auto;flex:1 1 auto;justify-content:flex-end;flex-wrap:nowrap;gap:7px}
  .game-page #gameUser{flex:0 1 auto;max-width:32vw;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .game-page .game-top-actions .button{min-height:34px;padding:6px 10px;font-size:11px;white-space:nowrap}
  .game-page .game-main{max-width:none;padding:6px 14px calc(10px + env(safe-area-inset-bottom))}
  .game-page .game-heading{margin:2px 0 6px;align-items:center;gap:8px}
  .game-page .game-heading .eyebrow{font-size:8px;margin:0 0 2px}
  .game-page .game-heading h1{font-size:clamp(20px,4vh,27px)}
  .game-page #refreshGame{min-height:32px;padding:5px 10px;font-size:11px}
  .game-page .table-scene{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:2px 0 4px;min-height:0}
  .game-page .table-player-ring{gap:5px;flex-wrap:nowrap;overflow:visible}
  .game-page .table-player-profile.immersive-seat{flex:0 1 100px;width:clamp(62px,12vw,100px);max-width:100px;padding:3px;gap:2px;border-radius:7px}
  .game-page .table-player-profile .seat-avatar{width:20px;height:20px}
  .game-page .table-player-profile .seat-player{font-size:9px;line-height:1.1}
  .game-page .table-player-profile .seat-balance{font-size:8px}
  .game-page .table-player-profile .turn-pill{font-size:7px;padding:1px 4px}
  .game-page .table-player-profile .hand-peek{min-height:18px}
  .game-page .table-player-profile .bw-card.small{width:14px;height:20px;font-size:8px}
  .game-page .table-scene .oval-table{width:min(100%,1000px);height:clamp(145px,43vh,245px);margin:0 auto;border-radius:20px}
  .game-page .oval-rail{border-radius:16px}
  .game-page .oval-felt{inset:7% 8%;border-radius:14px;padding:5px;gap:3px}
  .game-page .felt-logo{font-size:9px;letter-spacing:2px;line-height:1.1}
  .game-page .felt-logo small{letter-spacing:3px}
  .game-page .pot-chip{padding:3px 8px;gap:5px}
  .game-page .pot-chip small{font-size:7px;letter-spacing:1px}
  .game-page .pot-chip strong{font-size:16px}
  .game-page .pot-chip-stack{height:10px}
  .game-page .pot-chip-disc{width:10px;height:4px}
  .game-page .board-cards{min-height:0;gap:4px}
  .game-page .board-cards .bw-card{width:clamp(22px,4vh,31px);height:clamp(31px,5.8vh,43px);font-size:15px;border-radius:4px}
  .game-page .street-status{font-size:8px;letter-spacing:.3px}
  .game-page .game-status-strip{margin:4px 0;padding:5px 9px;gap:8px;font-size:10px}
  .game-page .game-status-strip span:last-child{max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .game-page .game-action-root{max-width:none;margin:4px auto}
  .game-page .action-bar{padding:6px;gap:6px;border-radius:9px}
  .game-page .action-prompt{width:auto;flex:1 1 100%;font-size:11px;margin:0}
  .game-page .action-bar .button{min-height:34px;padding:6px 10px;font-size:11px}
  .game-page .player-action-panel{margin-top:4px;padding:7px}
  .game-page .your-hole-cards{margin:3px 0}
  .game-page .your-hole-cards .bw-card{width:35px;height:50px;font-size:20px}
  .game-page .waiting-banner{padding:8px;font-size:12px}
  .game-page .game-bottom-actions{margin-top:4px}
  .game-page .game-bottom-actions .button{min-height:32px;padding:5px 9px;font-size:11px}
  .game-page dialog{max-height:88vh;overflow:auto}
}
@media (orientation:landscape) and (min-width:600px) and (max-height:560px){
  main:not(.game-main){max-width:none;padding-left:clamp(16px,3vw,42px);padding-right:clamp(16px,3vw,42px)}
  .top{min-height:52px;height:58px;padding:4px 20px}
  .brand-logo{max-height:44px;width:clamp(105px,15vw,160px)}
  .hero,.saloon-hero{margin:8px 0 10px;padding:12px 18px;gap:10px}
  .hero h1{font-size:clamp(23px,5vh,34px);margin-bottom:3px}
  .hero>div>p:not(.eyebrow){font-size:11px;line-height:1.3;margin:3px 0;max-width:540px}
  .hero-actions{margin-top:6px;gap:6px}
  .hero-stats{margin-top:6px;padding-top:6px;gap:12px}
  .hero-stats span{font-size:8px;margin-right:4px;padding-right:10px;min-width:0}
  .hero-stats b{font-size:16px}
  .hero-emblem.hero-official-brand{width:clamp(88px,13vh,130px);padding:4px}
  .hero-official-logo{max-height:75px}
  .lobby-head{margin:10px 0 6px;padding-bottom:6px}
  .lobby-head h2{font-size:19px}
  .tables,.tables-page .tables{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .table-card{padding:8px 10px;border-radius:8px}
  .table-card h3{font-size:14px;margin:0 0 2px}
  .table-card p{font-size:10px;margin:2px 0}
  .mini-table-art{height:45px;margin:2px 0 4px}
  .mini-table-rim{height:34px;padding:3px}
  .mini-chip{width:13px;height:13px;border-width:2px}
  .table-card-meta{padding:4px 0;margin:0}
  .table-card-meta strong{font-size:13px}
  .table-card .button{min-height:29px;padding:5px 7px;font-size:9px}
  footer{padding:6px 0}
}
/* v3.18 — actions de gestion des profils */
.admin-user-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.admin-user-actions .button{flex:1 1 150px}
.admin-protected{border:1px solid rgba(196,151,78,.45);background:linear-gradient(135deg,rgba(196,151,78,.09),rgba(20,15,11,.6))}
.admin-protected .chip-count{display:inline-block;margin-left:6px}
@media(max-width:520px){.admin-user-actions{flex-direction:column}.admin-user-actions .button{width:100%}}

/* v3.19 — console admin compacte et mieux hiérarchisée */
.admin-page{font-size:14px;background:radial-gradient(ellipse at 50% 0%,#2b1d12 0,#15100c 48%,#100c09 100%)}
.admin-top{min-height:64px;padding:10px clamp(12px,3vw,28px);gap:12px}
.admin-top .brand-logo{width:auto;height:38px;max-width:190px;object-fit:contain}
.admin-top .brand-subtitle{font-size:10px}
.admin-main{width:min(100% - 28px,1120px);padding:0 0 24px}
.admin-hero{padding:26px 0 12px}
.admin-hero .eyebrow,.admin-toolbar .eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 5px}
.admin-hero h1{font-size:clamp(25px,3.5vw,36px);margin:0 0 6px;letter-spacing:-.5px}
.admin-hero>p:last-child{font-size:13px;line-height:1.5;margin:0;max-width:680px}
#adminNotice{position:sticky;top:4px;z-index:8;font-size:12px;line-height:1.4;margin:8px 0}
.admin-toolbar{margin:0 0 12px;align-items:center}
.admin-toolbar h2{font-size:25px;margin:0}
.admin-toolbar h3{font-size:18px;margin:0}
.admin-section{padding:16px;margin:12px 0;border-radius:12px;box-shadow:0 8px 22px #0002}
.admin-section h3{font-size:17px;margin:0 0 10px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.settings-grid label,.admin-user-fields label{font-size:12px;gap:5px}
.settings-grid input,.admin-user-fields input{min-height:36px;padding:8px 10px;font-size:13px}
.settings-grid .settings-note{grid-column:1/-1;font-size:11px;line-height:1.45;margin:0}
.settings-grid .button{justify-self:start;min-height:36px;padding:8px 13px;font-size:12px}
.admin-table-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.admin-table-tool{padding:10px;border-radius:9px;display:grid;grid-template-columns:1fr;gap:6px}
.admin-table-tool h4{font-size:13px;margin:0 0 2px}
.admin-table-tool .button{margin:0;width:100%;min-height:32px;padding:6px 8px;font-size:11px;line-height:1.2;white-space:normal}
.admin-count,.chip-count{font-size:10px;padding:4px 7px}
.admin-users{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-user{padding:11px;border-radius:9px}
.admin-user-title{align-items:flex-start;margin-bottom:8px;flex-wrap:wrap}
.admin-user-title strong{font-size:13px;line-height:1.5}
.admin-user-fields{gap:7px}
.admin-user-fields input{width:100%;box-sizing:border-box}
.admin-user-actions{gap:6px;margin-top:8px}
.admin-user-actions .button{flex:1 1 110px;min-height:34px;padding:7px 9px;font-size:11px;line-height:1.25}
.admin-protected p{font-size:12px;line-height:1.5;margin:5px 0 0}
.admin-login-card{max-width:390px;margin:16px auto 32px;padding:22px;border-radius:13px}
.admin-login-card h2{font-size:21px}
.admin-login-card p{font-size:12px}
.admin-login-card form{margin-top:14px;gap:10px}
.admin-login-card label{font-size:12px}
.admin-login-card input{min-height:38px;padding:8px 10px;font-size:13px}
.admin-login-card .button{min-height:38px;font-size:12px}
.admin-page footer{margin-top:20px;padding:14px;font-size:10px}
@media(max-width:700px){.admin-main{width:calc(100% - 20px)}.admin-hero{padding-top:20px}.admin-table-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-users{grid-template-columns:1fr}.admin-toolbar h2{font-size:22px}.admin-section{padding:12px;margin:9px 0}.admin-user-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-fields label:last-child{grid-column:1/-1}.admin-user-actions{flex-direction:row}.admin-user-actions .button{width:auto;flex:1 1 120px}}
@media(max-width:400px){.admin-top{padding:8px 10px}.admin-top .brand-logo{max-width:145px;height:32px}.admin-top .button{font-size:10px;padding:7px}.settings-grid{gap:8px}.settings-grid .button{width:100%;grid-column:1/-1}.admin-table-tools{gap:6px}.admin-table-tool{padding:8px}.admin-table-tool .button{font-size:10px}.admin-user-fields{grid-template-columns:1fr}.admin-user-fields label:last-child{grid-column:auto}.admin-user-actions{flex-direction:column}.admin-user-actions .button{width:100%}}

/* v3.20 — console admin rangée et commandes compactes */
.admin-main{max-width:1040px}
.admin-hero{padding:20px 0 10px}
.admin-hero h1{font-size:clamp(23px,3vw,31px)}
.admin-hero>p:last-child{font-size:12px}
#adminConsole{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
#adminConsole>.admin-toolbar{grid-column:1/-1;margin:4px 0 2px}
#adminConsole>.admin-section{margin:0;padding:13px;border-radius:9px;min-width:0}
#adminConsole>.admin-section:nth-of-type(2){grid-column:1/-1}
.admin-toolbar h2{font-size:21px}
.admin-toolbar h3,.admin-section h3{font-size:15px}
.admin-section h3{margin-bottom:8px}
.settings-grid{gap:7px}
.settings-grid label,.admin-user-fields label{margin:3px 0;font-size:11px}
.settings-grid input,.admin-user-fields input{min-height:31px;padding:6px 8px;font-size:12px}
.admin-section .button,.admin-user-actions .button,.admin-table-tool .button{min-height:28px;padding:5px 8px;font-size:10px;line-height:1.2;border-radius:4px}
.settings-grid .button{min-height:30px;padding:6px 9px;font-size:10px}
.admin-table-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.admin-table-tool{padding:7px;gap:4px;border-radius:6px;min-width:0}
.admin-table-tool h4{font-size:11px;letter-spacing:.3px}
.admin-table-tool .button{white-space:normal;overflow-wrap:anywhere}
.admin-users{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.admin-user{padding:8px;border-radius:7px;min-width:0}
.admin-user-title{gap:5px;margin-bottom:5px}
.admin-user-title strong{font-size:12px;overflow-wrap:anywhere}
.admin-user-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 7px}
.admin-user-fields label:last-child{grid-column:1/-1}
.admin-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
.admin-user-actions .button{width:100%;min-width:0;flex:none;white-space:normal;overflow-wrap:anywhere}
.admin-protected p{font-size:11px}
.admin-count,.chip-count{font-size:9px;padding:3px 6px}
#adminNotice{font-size:11px}
@media(max-width:700px){#adminConsole{grid-template-columns:minmax(0,1fr);gap:8px}#adminConsole>.admin-toolbar,#adminConsole>.admin-section:nth-of-type(2){grid-column:1}#adminConsole>.admin-section{padding:10px}.admin-table-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-users{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-toolbar h2{font-size:19px}}
@media(max-width:460px){.admin-table-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-users{grid-template-columns:1fr}.admin-user-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-top .button{font-size:10px;padding:6px 8px}}
@media(orientation:landscape) and (max-height:520px){.admin-hero{padding:10px 0 6px}.admin-top{min-height:48px;padding-block:5px}.admin-top .brand-logo{height:30px}#adminConsole{grid-template-columns:repeat(2,minmax(0,1fr))}#adminConsole>.admin-section:nth-of-type(2){grid-column:1/-1}.admin-section{padding:9px}}

/* v3.21 — gestion des comptes : liste compacte et actions discrètes */
.admin-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}
.admin-user{min-width:0;padding:10px 11px!important;border:1px solid #6b4d2e70;border-radius:10px;background:linear-gradient(145deg,#21180f,#17110d);box-shadow:0 5px 14px #0002}
.admin-user-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px!important;padding-bottom:6px;border-bottom:1px solid #c8a56a20}
.admin-user-title strong{min-width:0;font-size:12px!important;line-height:1.25;overflow-wrap:anywhere}
.admin-user-title .chip-count{flex:0 0 auto;white-space:nowrap}
.admin-user-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(80px,.7fr) minmax(0,1fr);gap:7px;align-items:end}
.admin-user-fields label{display:flex;flex-direction:column;min-width:0;gap:4px;font-size:10px!important;line-height:1.25;color:#c9b99e}
.admin-user-fields label:last-child{grid-column:auto}
.admin-user-fields input{min-width:0;width:100%;box-sizing:border-box;min-height:29px!important;height:29px;padding:5px 7px!important;font-size:12px!important;border-radius:6px!important}
.admin-user-actions{display:flex!important;justify-content:flex-end;gap:6px!important;margin-top:8px!important;padding-top:7px;border-top:1px solid #c8a56a18}
.admin-user-actions .button{flex:0 0 auto!important;width:auto!important;min-width:0;min-height:27px!important;padding:5px 9px!important;font-size:10px!important;font-weight:650;line-height:1!important;border-radius:6px!important;white-space:nowrap}
.admin-user-actions .button.danger{background:#682c25;border:1px solid #9e5144;color:#ffe2d9}
.admin-user-actions .button:not(.danger){background:#4b3a22;border:1px solid #8d7042;color:#f8e5bd}
.admin-protected{grid-column:1/-1;padding:9px 11px!important}
.admin-protected p{font-size:11px;line-height:1.4;margin:5px 0 0}
@media(max-width:900px){.admin-users{grid-template-columns:1fr}.admin-user-fields{grid-template-columns:minmax(0,1fr) minmax(75px,.65fr)}.admin-user-fields label:last-child{grid-column:1/-1}.admin-user-actions{justify-content:flex-start}}
@media(max-width:520px){.admin-users{grid-template-columns:1fr;gap:7px}.admin-user{padding:9px!important}.admin-user-fields{grid-template-columns:minmax(0,1fr) minmax(72px,.65fr);gap:6px}.admin-user-fields label:last-child{grid-column:1/-1}.admin-user-actions{display:flex!important;flex-direction:row!important;justify-content:flex-end;gap:6px!important}.admin-user-actions .button{width:auto!important;flex:0 0 auto!important;min-height:27px!important;padding:5px 8px!important;font-size:10px!important}.admin-user-title{align-items:center}}
@media(orientation:landscape) and (max-height:520px){.admin-users{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-fields{grid-template-columns:minmax(0,1fr) minmax(65px,.6fr) minmax(0,1fr)}.admin-user-fields label:last-child{grid-column:auto}.admin-user{padding:8px!important}}


/* Recherche rapide des comptes — v3.22 */
.admin-search-wrap{display:flex;align-items:center;gap:9px;width:100%;box-sizing:border-box;margin:8px 0 10px;padding:0 11px;border:1px solid #8d704255;border-radius:8px;background:#120e0a;color:#d7b77c;min-height:36px}
.admin-search-wrap>span{font-size:20px;line-height:1;opacity:.8}
.admin-search-wrap input{width:100%;min-width:0;min-height:34px;padding:7px 0;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:#f7ead3!important;font-size:12px!important}
.admin-search-wrap input::placeholder{color:#a9957b}
.admin-search-empty{margin:8px 0;padding:10px;border:1px dashed #8d704255;border-radius:7px;font-size:12px}
#adminUsers .admin-user[hidden]{display:none!important}

/* v3.24 — table de poker compacte : limiter le défilement sur téléphone */
.game-page .game-top{padding:7px 12px;gap:6px}
.game-page .game-top .brand-logo{max-height:48px;max-width:min(170px,48vw)}
.game-page .game-top-actions{gap:5px}
.game-page #gameUser{font-size:11px}
.game-page .game-top-actions .button{min-height:32px;padding:5px 9px;font-size:11px}
.game-page .game-main{padding:8px 10px calc(12px + env(safe-area-inset-bottom))}
.game-page .game-heading{margin:2px 0 6px;gap:6px}
.game-page .game-heading .eyebrow{font-size:9px;margin-bottom:2px}
.game-page .game-heading h1{font-size:clamp(21px,5vw,30px);line-height:1.05}
.game-page #refreshGame{min-height:32px;padding:5px 9px;font-size:11px}
.game-page .table-scene{gap:4px;padding:3px 0 4px;min-height:0}
.game-page .table-player-ring{gap:4px}
.game-page .table-player-profile.immersive-seat{flex:0 1 82px;width:clamp(58px,19vw,82px);max-width:82px;padding:3px 2px;gap:2px;border-radius:7px}
.game-page .table-player-profile .seat-avatar{width:20px;height:20px}
.game-page .table-player-profile .seat-player{font-size:8px;line-height:1.1}
.game-page .table-player-profile .seat-balance{font-size:8px;line-height:1.1}
.game-page .table-player-profile .turn-pill{font-size:7px;padding:1px 3px}
.game-page .table-player-profile .hand-peek{min-height:17px}
.game-page .table-player-profile .bw-card.small{width:14px;height:20px;font-size:8px}
.game-page .table-scene .oval-table{height:clamp(190px,48vw,285px);border-radius:17px}
.game-page .oval-felt{inset:8% 6%;padding:5px 3px;gap:3px}
.game-page .felt-logo{font-size:9px;letter-spacing:2px;line-height:1.1}
.game-page .felt-logo small{font-size:7px;letter-spacing:3px}
.game-page .pot-chip{padding:3px 7px;gap:5px}
.game-page .pot-chip small{font-size:7px;letter-spacing:1px}
.game-page .pot-chip strong{font-size:16px}
.game-page .pot-chip-stack{height:11px}
.game-page .pot-chip-disc{width:10px;height:4px}
.game-page .board-cards{min-height:0;gap:3px}
.game-page .board-cards .bw-card{width:clamp(25px,7vw,36px);height:clamp(36px,10vw,51px);font-size:17px;border-radius:5px}
.game-page .street-status{font-size:8px;letter-spacing:.2px}
.game-page .game-status-strip{margin:4px 0;padding:5px 7px;gap:5px;font-size:9px}
.game-page .game-action-root{margin:4px auto;max-width:900px}
.game-page .action-bar{padding:6px;gap:5px;border-radius:8px}
.game-page .action-prompt{font-size:10px;margin:0 0 3px}
.game-page .action-bar .button{min-height:34px;padding:6px 8px;font-size:11px}
.game-page .bet-builder{padding:6px;gap:5px}
.game-page .bet-builder-title{font-size:10px}
.game-page .bet-stepper button,.game-page .raise-presets button{min-height:29px;padding:4px 7px;font-size:10px}
.game-page .bet-stepper input{min-height:30px;padding:4px;font-size:12px}
.game-page .bet-rules{font-size:9px;line-height:1.2}
.game-page .player-action-panel{margin-top:4px;padding:7px;border-radius:8px}
.game-page .your-hand-title{font-size:9px;letter-spacing:1px}
.game-page .your-hole-cards{margin:3px 0;gap:5px}
.game-page .your-hole-cards .bw-card{width:34px;height:48px;font-size:19px}
.game-page .turn-instruction{font-size:11px}
.game-page .waiting-banner{padding:7px;font-size:11px;margin-top:4px}
.game-page .game-bottom-actions{margin-top:4px}
.game-page .game-bottom-actions .button{min-height:29px;padding:4px 8px;font-size:10px}
@media(max-width:600px){
 .game-page .game-top{padding:6px 9px;gap:5px}
 .game-page .game-top .brand-logo{max-height:39px;max-width:min(135px,39vw)}
 .game-page .game-top-actions{width:auto;flex:1;justify-content:flex-end;flex-wrap:wrap}
 .game-page #gameUser{flex:1 1 100%;text-align:right;font-size:10px}
 .game-page .game-top-actions .button{min-height:28px;padding:4px 7px;font-size:10px}
 .game-page .game-main{padding:5px 7px calc(8px + env(safe-area-inset-bottom))}
 .game-page .game-heading{margin:1px 0 4px}
 .game-page .game-heading h1{font-size:22px}
 .game-page .table-scene .oval-table{height:clamp(180px,55vw,245px)}
 .game-page .table-player-ring{gap:3px}
 .game-page .table-player-profile.immersive-seat{width:clamp(54px,17vw,70px);max-width:70px;flex-basis:70px;padding:2px;}
 .game-page .table-player-profile .seat-avatar{width:18px;height:18px}
 .game-page .table-player-profile .seat-player{font-size:8px}
 .game-page .table-player-profile .seat-balance{font-size:7px}
 .game-page .game-status-strip{font-size:8px;padding:4px 5px}
 .game-page .action-prompt{flex:1 1 100%;font-size:10px}
 .game-page .action-bar .button{min-height:31px;padding:5px 6px;font-size:10px}
 .game-page .bet-builder{display:grid;grid-template-columns:1fr;gap:4px}
 .game-page .bet-stepper{gap:4px}
 .game-page .raise-presets{gap:4px}
 .game-page .raise-presets button{min-height:27px;padding:3px 5px}
}
@media(orientation:landscape) and (max-height:600px){
 .game-page .game-top{flex-direction:row;align-items:center;justify-content:space-between;padding:3px 10px;min-height:0;gap:8px}
 .game-page .game-top .brand{width:auto;flex:0 0 auto}
 .game-page .game-top .brand-logo{max-height:30px;max-width:130px}
 .game-page .game-top-actions{width:auto;flex:1;flex-wrap:nowrap;justify-content:flex-end;gap:5px}
 .game-page #gameUser{flex:0 1 auto;max-width:24vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
 .game-page .game-top-actions .button{min-height:26px;padding:3px 7px;font-size:9px}
 .game-page .game-main{padding:3px 8px calc(5px + env(safe-area-inset-bottom))}
 .game-page .game-heading{margin:0 0 3px}
 .game-page .game-heading h1{font-size:20px}
 .game-page .table-scene{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:1px 0 2px}
 .game-page .table-player-ring{gap:3px;flex-wrap:nowrap}
 .game-page .table-player-profile.immersive-seat{flex:0 1 75px;width:clamp(48px,10vw,75px);max-width:75px;padding:2px;gap:1px}
 .game-page .table-player-profile .seat-avatar{width:16px;height:16px}
 .game-page .table-player-profile .seat-player{font-size:7px}
 .game-page .table-player-profile .seat-balance{font-size:7px}
 .game-page .table-player-profile .hand-peek{min-height:13px}
 .game-page .table-player-profile .bw-card.small{width:11px;height:16px;font-size:7px}
 .game-page .table-scene .oval-table{height:clamp(115px,32vh,190px);border-radius:14px}
 .game-page .oval-felt{gap:2px;padding:3px}
 .game-page .felt-logo{font-size:7px;letter-spacing:1px}
 .game-page .felt-logo small{font-size:6px;letter-spacing:2px}
 .game-page .pot-chip{padding:2px 6px}
 .game-page .pot-chip strong{font-size:13px}
 .game-page .pot-chip-stack{height:7px}
 .game-page .board-cards .bw-card{width:clamp(20px,3.4vh,27px);height:clamp(29px,5vh,37px);font-size:13px}
 .game-page .street-status{font-size:7px}
 .game-page .game-status-strip{margin:2px 0;padding:3px 5px;font-size:8px}
 .game-page .game-action-root{margin:2px auto}
 .game-page .action-bar{display:flex;flex-wrap:wrap;padding:3px;gap:3px}
 .game-page .action-prompt{flex:1 1 100%;font-size:8px}
 .game-page .action-bar .button{min-height:25px;padding:3px 6px;font-size:9px}
 .game-page .bet-builder{display:flex;align-items:center;flex-wrap:wrap;padding:3px;gap:3px}
 .game-page .bet-builder-title,.game-page .bet-rules{font-size:8px}
 .game-page .bet-stepper button,.game-page .raise-presets button{min-height:23px;padding:2px 5px;font-size:8px}
 .game-page .bet-stepper input{min-height:23px;font-size:10px}
 .game-page .player-action-panel{padding:4px;margin-top:2px}
 .game-page .your-hole-cards{margin:1px 0}
 .game-page .your-hole-cards .bw-card{width:25px;height:36px;font-size:15px}
 .game-page .waiting-banner{padding:4px;font-size:9px}
 .game-page .game-bottom-actions{margin-top:2px}
 .game-page .game-bottom-actions .button{min-height:23px;padding:2px 6px;font-size:8px}
}

/* Confirmation de départ — panneau intégré à la direction artistique PokerOnline */
.leave-dialog{width:min(440px,calc(100vw - 30px));padding:clamp(22px,5vw,34px);border:1px solid #c8a56a8c;border-radius:22px;background:linear-gradient(145deg,#1b3025f2,#15110df2 78%);color:var(--cream);box-shadow:0 24px 90px #0009,inset 0 1px #f2d79a20;text-align:center;backdrop-filter:blur(14px)}
.leave-dialog::backdrop{background:#0508069c;backdrop-filter:blur(5px)}
.leave-dialog-mark{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border:1px solid #c8a56a8c;border-radius:50%;background:#c8a56a12;color:#dfc28a;font-size:24px}
.leave-dialog .eyebrow{margin:0 0 8px;color:#c8a56a;font-size:10px;letter-spacing:3px}
.leave-dialog h2{margin:0 0 12px;color:#f0d9a6;font-size:clamp(25px,6vw,32px)}
.leave-dialog-copy{margin:0;color:#e1d9ca;font-size:14px;line-height:1.65}
.leave-dialog-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:26px}
.leave-dialog-actions .button{min-width:125px}
.leave-dialog .leave-confirm{border:1px solid #b08b54;background:linear-gradient(135deg,#74502e,#4d311e);color:#fff0d1}
.leave-dialog .leave-confirm:hover{filter:brightness(1.12)}
@media(max-width:420px){.leave-dialog-actions{display:grid;grid-template-columns:1fr}.leave-dialog-actions .button{width:100%}}

/* v3.28 — animations de distribution, pioche, mises et fin de main */
.game-page .oval-felt{position:relative}
.game-page .playing-deck{position:absolute;left:9%;top:48%;width:24px;height:34px;z-index:4;display:flex;align-items:center;justify-content:center;border-radius:4px;background:linear-gradient(145deg,#173e31,#071b15);border:1px solid #d5b778;box-shadow:2px 3px 0 #5e4729,4px 5px 0 #b89a60,6px 7px 0 #4b3922;color:#e9d5a3;font-size:16px;transform:rotate(-9deg);}
.game-page .playing-deck span{position:absolute;inset:0;border:1px solid #bca16c;border-radius:4px;background:repeating-linear-gradient(45deg,#174332 0 3px,#0c291e 3px 6px)}
.game-page .playing-deck span:nth-child(2){transform:translate(-3px,-2px)}
.game-page .playing-deck span:nth-child(3){display:grid;place-items:center;z-index:2;background:linear-gradient(145deg,#194c38,#0a241a);font-size:17px}
.game-page .playing-deck small{position:absolute;top:39px;left:-5px;width:35px;text-align:center;font-size:6px;letter-spacing:1px;color:#e2c58b;white-space:nowrap}
.game-page .playing-deck.deck-dealing{animation:deck-shuffle .65s ease-in-out 2}
.game-page .playing-deck.deck-dealing span:nth-child(2){animation:deck-top-card .42s ease-in-out 3}
.game-page .table-player-profile.seat-dealing .hand-peek .bw-card{animation:hand-card-arrive .55s cubic-bezier(.2,.8,.2,1) both!important}
.game-page .table-player-profile.seat-dealing .hand-peek .bw-card:nth-child(2){animation-delay:.12s!important}
.game-page .board-cards .bw-card.newly-dealt{animation:board-card-arrive .55s cubic-bezier(.2,.8,.2,1) both!important}
.game-page .board-cards .bw-card.reveal-flip{animation:showdown-flip .8s cubic-bezier(.2,.7,.2,1) both!important;transform-style:preserve-3d;backface-visibility:visible}
.game-page .board-cards.hand-clearing .bw-card{animation:cards-sweep-away .48s ease-in both!important;pointer-events:none}
.game-page .board-cards.new-hand-board .bw-card{animation:board-card-arrive .6s cubic-bezier(.2,.8,.2,1) both!important}
.game-page .board-cards.new-hand-board .bw-card:nth-child(2){animation-delay:.08s!important}.game-page .board-cards.new-hand-board .bw-card:nth-child(3){animation-delay:.16s!important}.game-page .board-cards.new-hand-board .bw-card:nth-child(4){animation-delay:.24s!important}.game-page .board-cards.new-hand-board .bw-card:nth-child(5){animation-delay:.32s!important}
.game-page .pot-chip-stack.chips-arriving .pot-chip-disc{animation:chip-drop .42s cubic-bezier(.2,.8,.2,1) both!important;animation-delay:calc(var(--pile)*25ms)!important}
.game-page .pot-chip-disc{position:relative}
@keyframes deck-shuffle{0%,100%{transform:rotate(-9deg) translate(0,0)}25%{transform:rotate(8deg) translate(3px,-3px)}50%{transform:rotate(-14deg) translate(-2px,2px)}75%{transform:rotate(5deg) translate(2px,0)}}
@keyframes deck-top-card{0%{transform:translate(-3px,-2px)}55%{transform:translate(15px,-9px) rotate(18deg)}100%{transform:translate(-3px,-2px)}}
@keyframes hand-card-arrive{0%{opacity:0;transform:translate(-55px,-45px) rotate(-25deg) scale(.65)}70%{opacity:1;transform:translate(4px,2px) rotate(5deg) scale(1.05)}100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@keyframes board-card-arrive{0%{opacity:0;transform:translate(-45px,-30px) rotate(-18deg) scale(.65)}70%{opacity:1;transform:translate(3px,2px) rotate(3deg) scale(1.04)}100%{opacity:1;transform:translate(0,0) rotate(0) scale(1)}}
@keyframes showdown-flip{0%{transform:perspective(500px) rotateY(90deg) scale(.9);filter:brightness(.7)}55%{transform:perspective(500px) rotateY(-12deg) scale(1.08);filter:brightness(1.25)}100%{transform:perspective(500px) rotateY(0) scale(1);filter:brightness(1)}}
@keyframes cards-sweep-away{0%{opacity:1;transform:translateY(0) rotateY(0) scale(1)}100%{opacity:0;transform:translateY(-22px) rotateY(95deg) scale(.82)}}
@keyframes chip-drop{0%{opacity:0;transform:translateY(-25px) scale(.65)}70%{opacity:1;transform:translateY(2px) scale(1.12)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.game-page .playing-deck,.game-page .playing-deck span,.game-page .table-player-profile.seat-dealing .hand-peek .bw-card,.game-page .board-cards .bw-card,.game-page .pot-chip-stack.chips-arriving .pot-chip-disc{animation:none!important}}

/* v3.29 — correctif responsive et animations plus vivantes */
.game-page .table-scene{width:100%;min-width:0;overflow:visible;}
.game-page .table-scene .oval-table{width:100%;max-width:100%;min-width:0;overflow:hidden;box-sizing:border-box;}
.game-page .oval-rail,.game-page .oval-felt{box-sizing:border-box;max-width:100%;}
.game-page .oval-felt{overflow:hidden;}
.game-page .playing-deck{left:clamp(8px,3vw,24px);top:50%;transform:translateY(-50%) rotate(-9deg);}
.game-page .playing-deck small{top:calc(100% + 5px);left:50%;transform:translateX(-50%);}
.game-page .pot-chip-stack{position:relative;z-index:2;filter:drop-shadow(0 3px 3px #0007);}
.game-page .pot-chip-disc{transition:transform .25s ease;}
.game-page .pot-chip.pot-changed{animation:pot-pulse .7s cubic-bezier(.2,.8,.2,1);}
.game-page .table-player-profile.turn-seat{animation:turn-glow 1.8s ease-in-out infinite;}
.game-page .table-player-profile.seat-dealing{animation:seat-arrive .55s cubic-bezier(.2,.8,.2,1) both;}
.game-page .table-player-profile.seat-dealing:nth-child(2){animation-delay:.12s}
.game-page .table-player-profile.seat-dealing:nth-child(3){animation-delay:.24s}
.game-page .playing-deck.deck-dealing{animation:deck-lively .85s ease-in-out 2;}
.game-page .playing-deck.deck-dealing span:nth-child(2){animation:card-flick .48s ease-in-out 3;}
.game-page .board-cards .bw-card.newly-dealt,.game-page .board-cards.new-hand-board .bw-card{box-shadow:0 0 0 1px #f4d68a,0 5px 14px #0007;}
.game-page .board-cards .bw-card.reveal-flip{transform-origin:center;backface-visibility:visible;}
.game-page .pot-chip-stack.chips-arriving .pot-chip-disc:nth-child(3n){animation-delay:80ms!important}
.game-page .pot-chip-stack.chips-arriving .pot-chip-disc:nth-child(3n + 1){animation-delay:150ms!important}
@keyframes deck-lively{0%,100%{transform:translateY(-50%) rotate(-9deg)}20%{transform:translate(5px,-58%) rotate(8deg)}42%{transform:translate(-3px,-44%) rotate(-16deg)}65%{transform:translate(4px,-54%) rotate(6deg)}82%{transform:translate(0,-48%) rotate(-12deg)}}
@keyframes card-flick{0%,100%{transform:translate(-3px,-2px) rotate(0)}55%{transform:translate(24px,-14px) rotate(25deg)}}
@keyframes seat-arrive{0%{opacity:.45;filter:brightness(1.8);transform:translateY(8px) scale(.94)}70%{filter:brightness(1.25);transform:translateY(-2px) scale(1.025)}100%{opacity:1;filter:none;transform:translateY(0) scale(1)}}
@keyframes turn-glow{0%,100%{box-shadow:0 0 0 2px #d9b66a,0 7px 18px #0008}50%{box-shadow:0 0 0 4px #f5d991,0 0 22px #e8c77777,0 7px 18px #0008}}
@keyframes pot-pulse{0%{transform:scale(1)}35%{transform:scale(1.1);box-shadow:0 0 24px #e7c77788}70%{transform:scale(.98)}100%{transform:scale(1)}}
@media(max-width:600px){
 .game-page .table-scene .oval-table{width:100%;height:clamp(230px,65vw,300px);border-radius:18px;overflow:hidden;}
 .game-page .oval-felt{inset:8% 5%;padding:8px 4px;gap:5px;}
 .game-page .playing-deck{left:7px;top:56%;width:19px;height:28px;font-size:13px;}
 .game-page .playing-deck small{font-size:5px;letter-spacing:.6px;top:calc(100% + 4px);}
 .game-page .pot-chip{max-width:calc(100% - 36px);gap:5px;padding:3px 7px;}
 .game-page .pot-chip small{font-size:7px;letter-spacing:1px;}
 .game-page .pot-chip strong{font-size:16px;}
 .game-page .board-cards{gap:3px;width:100%;justify-content:center;}
 .game-page .board-cards .bw-card{width:clamp(25px,7vw,35px);height:clamp(37px,10vw,49px);font-size:17px;}
 .game-page .street-status{max-width:100%;font-size:8px;}
}
@media(prefers-reduced-motion:reduce){.game-page .table-player-profile.turn-seat{animation:none!important}.game-page .table-player-profile.seat-dealing{animation:none!important}.game-page .pot-chip.pot-changed{animation:none!important}}


/* v3.30 — refonte ciblée de la table mobile : proportions, hiérarchie et animations visibles */
.game-page .game-top{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;padding:8px clamp(12px,3vw,28px);background:linear-gradient(100deg,#170f0bfa,#21170ff5);border-bottom:1px solid #b9955a55;}
.game-page .game-top .brand-logo{width:auto;max-width:clamp(112px,20vw,170px);max-height:54px;}
.game-page .game-top-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;}
.game-page .game-top-actions #gameUser{font-size:12px;color:#ddc79f;white-space:nowrap;}
.game-page .game-top-actions .button{min-height:38px;padding:8px 12px;border-radius:999px;font-size:12px;text-decoration:none;}
.game-page .game-main{max-width:980px;padding:12px 14px 28px;}
.game-page .game-heading{margin:5px 0 10px;}
.game-page .game-heading .eyebrow{margin-bottom:2px;}
.game-page .table-scene{padding:28px 0 32px;min-height:0;overflow:visible;}
.game-page .oval-table{height:clamp(270px,42vw,390px);width:100%;border-radius:34px;background:linear-gradient(135deg,#5c4029,#d6b777 5%,#422b1b 9%,#07523a 13%,#043b2a 87%,#d0ad69 92%,#3a2517 96%);box-shadow:0 16px 40px #0008,inset 0 0 0 2px #f0d28d,inset 0 0 0 8px #3c281b;}
.game-page .oval-rail{inset:3%;border-radius:25px;border-color:#b58d4e;}
.game-page .oval-felt{inset:7% 6%;border-radius:19px;padding:20px 42px 14px;gap:9px;background:radial-gradient(ellipse at 50% 42%,#14734f 0%,#075038 57%,#043322 100%);}
.game-page .felt-logo{position:static;font-size:11px;letter-spacing:3px;text-shadow:0 2px 10px #0007;}
.game-page .felt-logo small{font-size:8px;letter-spacing:4px;}
.game-page .pot-chip{padding:5px 13px;gap:7px;border-color:#d9bd7e;background:linear-gradient(145deg,#10291e,#071b13);box-shadow:0 5px 18px #0005,0 0 0 3px #e2c27b18;}
.game-page .pot-chip-stack{margin:0;min-height:15px;}
.game-page .board-cards{gap:6px;min-height:clamp(48px,7vw,68px);perspective:700px;}
.game-page .board-cards .bw-card{width:clamp(34px,5vw,47px);height:clamp(49px,7vw,66px);font-size:clamp(20px,3vw,27px);border-radius:7px;box-shadow:0 6px 12px #00180f80;border-color:#f4e5c5;}
.game-page .street-status{font-size:11px;letter-spacing:.5px;color:#f0d99f;}
.game-page .playing-deck{left:clamp(12px,3vw,28px);top:52%;width:29px;height:42px;font-size:18px;}
.game-page .playing-deck small{font-size:7px;letter-spacing:1.3px;}
.game-page .table-player-profile{backdrop-filter:blur(7px);border-color:#b89457;background:linear-gradient(145deg,#2b2118f5,#11110df5);box-shadow:0 8px 22px #0007;}
.game-page .table-player-profile.my-seat{border-color:#f0cf86;box-shadow:0 0 0 2px #e5c47730,0 8px 22px #0007;}
.game-page .table-player-profile.turn-seat{animation:seat-turn-pulse 1.45s ease-in-out infinite;border-color:#ffe3a0;}
.game-page .board-cards .bw-card{animation:board-card-enter .55s cubic-bezier(.18,.85,.28,1.18) both;}
.game-page .board-cards .bw-card:nth-child(2){animation-delay:.08s;}
.game-page .board-cards .bw-card:nth-child(3){animation-delay:.16s;}
.game-page .board-cards .bw-card:nth-child(4){animation-delay:.24s;}
.game-page .board-cards .bw-card:nth-child(5){animation-delay:.32s;}
.game-page .pot-chip-disc{animation:chip-settle .42s cubic-bezier(.16,.9,.3,1.2) both;animation-delay:calc(var(--pile)*24ms);}
.game-page .playing-deck.deck-dealing{animation:deck-shuffle .72s ease-in-out 2;}
.game-page .table-player-profile.seat-dealing .hand-peek .bw-card{animation:hand-card-arrive .58s cubic-bezier(.18,.85,.28,1.15) both!important;}
.game-page .game-status-strip{display:flex;gap:10px;margin:10px 0;padding:10px 12px;border-radius:12px;background:linear-gradient(100deg,#10271c,#17251a);border-color:#4d7558;box-shadow:0 5px 16px #0002;font-size:12px;}
.game-page .game-action-root{margin:10px auto;}
.game-page .action-bar,.game-page .waiting-banner{border-radius:16px;background:linear-gradient(145deg,#261b12,#17110d);border-color:#765936;box-shadow:0 8px 24px #0003;}
.game-page .action-bar .button{border-radius:999px;}
@keyframes board-card-enter{0%{opacity:0;transform:translateY(-24px) rotateY(75deg) scale(.82);filter:brightness(1.6)}65%{opacity:1;transform:translateY(3px) rotateY(-8deg) scale(1.04)}100%{opacity:1;transform:translateY(0) rotateY(0) scale(1);filter:none}}
@keyframes chip-settle{0%{opacity:0;transform:translateY(-18px) rotate(-15deg) scale(.75)}75%{opacity:1;transform:translateY(2px) rotate(4deg) scale(1.08)}100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes seat-turn-pulse{0%,100%{box-shadow:0 0 0 2px #f4d48b50,0 8px 22px #0007;filter:brightness(1)}50%{box-shadow:0 0 0 5px #f4d48b25,0 0 24px #e7c77765;filter:brightness(1.12)}}
@media(max-width:600px){
 .game-page .game-top{display:block;padding:7px 10px 9px;min-height:0;}
 .game-page .game-top .brand{display:flex;justify-content:center;margin:0 auto 5px;height:40px;}
 .game-page .game-top .brand-logo{max-width:126px;max-height:39px;}
 .game-page .game-top-actions{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:6px;width:100%;}
 .game-page .game-top-actions #gameUser{grid-column:1/-1;text-align:right;font-size:11px;}
 .game-page .game-top-actions .button{width:100%;min-width:0;min-height:36px;padding:7px 5px;font-size:11px;white-space:normal;line-height:1.15;}
 .game-page .game-main{padding:8px 9px 20px;}
 .game-page .game-heading h1{font-size:27px;}
 .game-page .table-scene{padding:24px 0 27px;}
 .game-page .oval-table{height:clamp(280px,78vw,340px);border-radius:25px;}
 .game-page .oval-rail{inset:3%;border-radius:18px;}
 .game-page .oval-felt{inset:8% 5%;padding:20px 29px 12px;gap:8px;border-radius:15px;}
 .game-page .felt-logo{font-size:9px;letter-spacing:2px;}
 .game-page .felt-logo small{font-size:7px;letter-spacing:3px;}
 .game-page .playing-deck{left:8px;top:55%;width:22px;height:32px;font-size:14px;}
 .game-page .playing-deck small{font-size:5px;letter-spacing:.7px;}
 .game-page .pot-chip{padding:4px 8px;gap:5px;}
 .game-page .pot-chip small{font-size:7px;letter-spacing:1px;}
 .game-page .pot-chip strong{font-size:18px;}
 .game-page .pot-chip-stack{min-height:12px;}
 .game-page .pot-chip-disc{width:12px;height:5px;}
 .game-page .board-cards{gap:4px;min-height:46px;}
 .game-page .board-cards .bw-card{width:clamp(29px,8vw,37px);height:clamp(42px,11.5vw,51px);font-size:18px;}
 .game-page .street-status{font-size:9px;}
 .game-page .immersive-seat{width:clamp(72px,23vw,90px);max-width:90px;padding:5px 3px;gap:3px;border-radius:10px;}
 .game-page .seat-avatar{width:22px;height:22px;}
 .game-page .seat-player{font-size:9px;}
 .game-page .seat-balance{font-size:9px;}
 .game-page .table-player-profile .hand-peek .bw-card.small{width:18px;height:26px;font-size:11px;}
 .game-page .game-status-strip{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;font-size:10px;padding:8px 9px;}
 .game-page .game-status-strip b{text-align:right;}
 .game-page .game-status-strip span:last-child{grid-column:1/-1;text-align:left;max-width:100%;}
 .game-page .action-bar{padding:12px 10px;gap:8px;}
 .game-page .action-bar .button{min-height:44px;}
}
@media(prefers-reduced-motion:reduce){.game-page .board-cards .bw-card,.game-page .pot-chip-disc,.game-page .playing-deck.deck-dealing,.game-page .table-player-profile.turn-seat{animation:none!important}}


/* v3.31 — correction structurelle de la table : vrai tapis ovale, contenu centré et aucune zone qui déborde */
.game-page .table-scene{width:100%;max-width:100%;min-width:0;box-sizing:border-box;align-items:center;gap:8px;padding:14px 0 18px;}
.game-page .table-scene .oval-table{position:relative;width:100%;max-width:100%;min-width:0;flex:none;box-sizing:border-box;isolation:isolate;overflow:hidden;border-radius:50% / 18%;}
.game-page .table-scene .oval-rail{position:absolute;inset:3.5%;border-radius:50% / 18%;pointer-events:none;}
.game-page .table-scene .oval-felt{position:absolute;inset:8% 7%;width:auto;max-width:none;min-width:0;box-sizing:border-box;overflow:hidden;border-radius:50% / 18%;display:flex;align-items:center;justify-content:center;padding:clamp(10px,2.5vw,22px) clamp(38px,8vw,72px) 12px;gap:clamp(4px,1.3vw,10px);}
.game-page .table-scene .felt-logo,.game-page .table-scene .pot-chip,.game-page .table-scene .pot-chip-stack,.game-page .table-scene .board-cards,.game-page .table-scene .street-status{position:relative;z-index:2;max-width:100%;min-width:0;flex-shrink:0;}
.game-page .table-scene .board-cards{display:flex;width:100%;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(3px,1vw,7px);}
.game-page .table-scene .board-cards .bw-card{flex:0 1 auto;min-width:0;}
.game-page .table-scene .playing-deck{z-index:1;left:clamp(9px,3vw,28px);top:52%;}
.game-page .table-scene .playing-deck small{top:calc(100% + 5px);left:50%;transform:translateX(-50%);}
@media(max-width:600px){
 .game-page .table-scene{gap:6px;padding:10px 0 12px;}
 .game-page .table-scene .oval-table{height:clamp(250px,72vw,320px);border-radius:50% / 17%;}
 .game-page .table-scene .oval-rail{inset:3.5%;border-radius:50% / 17%;}
 .game-page .table-scene .oval-felt{inset:8% 7%;border-radius:50% / 17%;padding:13px 30px 10px;gap:6px;}
 .game-page .table-scene .felt-logo{font-size:9px;line-height:1.05;letter-spacing:2px;}
 .game-page .table-scene .felt-logo small{font-size:7px;letter-spacing:3px;}
 .game-page .table-scene .pot-chip{gap:4px;padding:4px 7px;}
 .game-page .table-scene .pot-chip strong{font-size:17px;}
 .game-page .table-scene .pot-chip small{font-size:7px;}
 .game-page .table-scene .pot-chip-stack{min-height:10px;height:12px;}
 .game-page .table-scene .board-cards{gap:3px;min-height:42px;}
 .game-page .table-scene .board-cards .bw-card{width:clamp(27px,7.8vw,36px);height:clamp(39px,11vw,50px);font-size:17px;}
 .game-page .table-scene .street-status{font-size:8px;line-height:1.1;text-align:center;white-space:normal;}
 .game-page .table-scene .playing-deck{left:8px;top:53%;width:20px;height:29px;font-size:13px;}
 .game-page .table-scene .playing-deck small{font-size:5px;letter-spacing:.5px;}
}

/* v3.32 — centre du tapis en grille : le pot ne peut plus chevaucher le logo */
.game-page .table-scene .oval-felt{
  display:grid !important;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto 12px auto auto;
  align-content:center;
  justify-items:center;
  align-items:center;
  gap:clamp(7px,1.5vh,12px);
  padding:clamp(24px,5vh,42px) clamp(38px,8vw,72px) 18px;
}
.game-page .table-scene .felt-logo{grid-row:1;line-height:1.15;text-align:center;margin:0;white-space:normal;}
.game-page .table-scene .pot-chip{grid-row:2;justify-self:center;margin:0;white-space:nowrap;z-index:3;}
.game-page .table-scene .pot-chip-stack{grid-row:3;align-self:center;justify-self:center;margin:0;}
.game-page .table-scene .board-cards{grid-row:4;justify-self:center;margin:0;min-height:clamp(42px,7vh,62px);}
.game-page .table-scene .street-status{grid-row:5;justify-self:center;text-align:center;margin:0;max-width:100%;}
.game-page .table-scene .playing-deck{position:absolute;}
/* Une table plus vivante, sans sacrifier la lisibilité */
.game-page .table-scene .oval-table{box-shadow:0 18px 38px #0008, inset 0 0 28px #e5c47a18;}
.game-page .table-scene .oval-felt:before{content:"";position:absolute;inset:12% 9%;border-radius:50% / 22%;border:1px solid #e4c77a20;pointer-events:none;animation felt-breathe 4.5s ease-in-out infinite;}
.game-page .table-scene .playing-deck{animation:deck-idle 2.8s ease-in-out infinite;}
.game-page .table-scene .pot-chip{transition:transform .35s ease,box-shadow .35s ease;}
.game-page .table-scene .board-cards .bw-card{transition:transform .28s ease,box-shadow .28s ease;}
.game-page .table-scene .board-cards .bw-card:nth-child(odd){animation:card-float 3.2s ease-in-out infinite;}
.game-page .table-scene .board-cards .bw-card:nth-child(even){animation:card-float 3.2s ease-in-out .45s infinite;}
@keyframes felt-breathe{0%,100%{opacity:.35;transform:scale(.99)}50%{opacity:.9;transform:scale(1.015)}}
@keyframes deck-idle{0%,100%{translate:0 0;rotate:-7deg}50%{translate:0 -4px;rotate:-3deg}}
@keyframes card-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
@media(max-width:600px){
 .game-page .table-scene .oval-felt{padding:24px 30px 18px;gap:8px;grid-template-rows:auto auto 10px auto auto;}
 .game-page .table-scene .felt-logo{font-size:9px;letter-spacing:2px;}
 .game-page .table-scene .felt-logo small{display:block;font-size:7px;letter-spacing:3px;}
 .game-page .table-scene .pot-chip{max-width:100%;gap:5px;padding:5px 9px;}
 .game-page .table-scene .pot-chip strong{font-size:18px;line-height:1.1;}
 .game-page .table-scene .pot-chip small{font-size:7px;}
 .game-page .table-scene .board-cards{width:100%;min-height:44px;gap:3px;}
 .game-page .table-scene .board-cards .bw-card{width:clamp(27px,7.8vw,36px);height:clamp(39px,11vw,50px);font-size:17px;}
 .game-page .table-scene .street-status{font-size:9px;line-height:1.25;}
}
@media(prefers-reduced-motion:reduce){.game-page .table-scene .oval-felt:before,.game-page .table-scene .playing-deck,.game-page .table-scene .board-cards .bw-card{animation:none!important}}

/* v3.36 — interface resserrée, hiérarchie visuelle claire et animations discrètes */
:root{--ui-gap:clamp(8px,1.4vw,14px)}
.game-page .game-top{min-height:56px;padding:7px clamp(12px,2.5vw,26px);gap:10px;backdrop-filter:blur(14px);background:#120e0bf2;border-bottom-color:#c8a56a35}
.game-page .game-top .brand-logo{width:clamp(108px,13vw,145px);max-height:48px}
.game-page .game-top-actions{gap:7px}
.game-page .game-top-actions .button{min-height:36px;padding:8px 11px;font-size:12px}
.game-page .game-main{max-width:1050px;padding:10px 14px calc(22px + env(safe-area-inset-bottom))}
.game-page .game-heading{margin:3px 0 8px;align-items:center}
.game-page .game-heading h1{font-size:clamp(22px,3.2vw,31px);line-height:1.1}
.game-page .game-heading .eyebrow{margin-bottom:3px;font-size:9px;letter-spacing:1.8px}
.game-page #refreshGame{min-height:34px;padding:7px 11px;font-size:11px}
.game-page .table-scene{gap:6px;padding:4px 0 7px}
.game-page .table-scene .oval-table{height:clamp(230px,34vw,320px);border-radius:22px;box-shadow:0 12px 28px #0007,inset 0 0 0 2px #d7b778,inset 0 0 0 8px #422b1b}
.game-page .table-scene .oval-rail{border-radius:17px}
.game-page .table-scene .oval-felt{inset:8% 6%;border-radius:14px;padding:clamp(10px,2vh,18px) 30px 10px;gap:clamp(5px,1vh,9px)}
.game-page .table-scene .felt-logo{font-size:10px;letter-spacing:2px}
.game-page .table-scene .felt-logo small{font-size:7px;letter-spacing:2.5px}
.game-page .table-scene .board-cards{min-height:clamp(39px,6vw,58px);gap:clamp(3px,.6vw,6px)}
.game-page .table-scene .board-cards .bw-card{width:clamp(30px,4.2vw,46px);height:clamp(43px,6vw,64px);border-radius:7px;font-size:clamp(17px,2.5vw,24px);box-shadow:0 3px 8px #0004}
.game-page .table-scene .pot-chip{padding:5px 11px;gap:7px}
.game-page .table-scene .pot-chip strong{font-size:clamp(17px,2.3vw,23px)}
.game-page .table-scene .pot-chip small{font-size:8px;letter-spacing:1.2px}
.game-page .table-player-ring{gap:6px}
.game-page .table-player-profile.immersive-seat{width:clamp(72px,10vw,104px);max-width:104px;flex:0 1 104px;padding:5px 5px;gap:3px;border-radius:10px;box-shadow:0 5px 13px #0005}
.game-page .table-player-profile .seat-avatar{width:25px;height:25px}
.game-page .table-player-profile .seat-player{font-size:10px;line-height:1.15}
.game-page .table-player-profile .seat-balance{font-size:9px}
.game-page .table-player-profile .turn-pill{font-size:7px;letter-spacing:.4px}
.game-page .table-player-profile .bw-card.small{width:17px;height:24px;font-size:9px}
.game-page .game-status-strip{margin:6px 0;padding:8px 11px;border-radius:11px;font-size:11px;gap:8px}
.game-page .game-action-root{max-width:760px;margin:7px auto}
.game-page .action-bar{gap:7px;padding:9px;border-radius:13px;box-shadow:0 8px 22px #0003}
.game-page .action-prompt{font-size:12px;line-height:1.35}
.game-page .action-bar .button{min-height:40px;padding:9px 13px;font-size:12px;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.game-page .action-bar .button:hover{transform:translateY(-1px);box-shadow:0 5px 12px #0003}
.game-page .raise-presets button{min-height:36px;border-radius:9px;transition:background .18s ease,transform .18s ease}
.game-page .raise-presets button:active,.game-page .action-bar .button:active{transform:scale(.97)}
.game-page .waiting-banner{padding:12px;border-radius:12px;font-size:13px}
.game-page .player-action-panel{padding:10px;border-radius:12px}
.game-page .your-hole-cards .bw-card{width:43px;height:61px;font-size:23px}
.game-page .table-scene .oval-felt:before{animation:none;opacity:.45}
.game-page .table-scene .playing-deck{animation:none}
.game-page .table-scene .board-cards .bw-card{animation:board-card-enter .42s cubic-bezier(.2,.75,.25,1) both!important}
.game-page .table-scene .board-cards .bw-card:nth-child(2){animation-delay:.05s!important}
.game-page .table-scene .board-cards .bw-card:nth-child(3){animation-delay:.1s!important}
.game-page .table-scene .board-cards .bw-card:nth-child(4){animation-delay:.15s!important}
.game-page .table-scene .board-cards .bw-card:nth-child(5){animation-delay:.2s!important}
.game-page .pot-chip-disc{animation:chip-settle .35s ease-out both;animation-delay:calc(var(--pile)*18ms)}
.game-page .immersive-seat,.game-page .table-player-profile{transition:box-shadow .22s ease,border-color .22s ease,background .22s ease}
.game-page .table-player-profile.turn-seat{animation:seat-turn-pulse 2.2s ease-in-out infinite}
@keyframes bw-panel-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.game-page .game-status-strip,.game-page .action-bar,.game-page .waiting-banner{animation:bw-panel-enter .28s ease-out both}
/* Solo : tableau plus compact, cartes lisibles et commandes regroupées */
.game-page .solo-wrap{width:min(100% - 24px,820px);margin:clamp(10px,3vh,24px) auto;padding:0}
.game-page .solo-card{padding:clamp(14px,2.4vw,24px);border-radius:20px;box-shadow:0 14px 36px #0006}
.game-page .solo-title h1{font-size:clamp(25px,4vw,36px);line-height:1.1;margin:5px 0 8px}
.game-page .solo-title>p:not(.eyebrow){max-width:620px;margin:0 auto 14px;color:#c6bba6;font:13px/1.5 system-ui,sans-serif}
.game-page .solo-meta{justify-content:center;gap:8px 18px;font:12px system-ui,sans-serif}
.game-page .solo-felt{min-height:0;margin:14px 0;padding:clamp(14px,3vw,22px);border-width:6px;border-radius:28px;box-shadow:inset 0 0 0 1px #c6a15b, inset 0 0 28px #0004}
.game-page .solo-hands{gap:clamp(18px,5vw,56px);margin:4px 0 15px}
.game-page .solo-hand{min-width:0;flex:1 1 140px}
.game-page .solo-hand>b{font:700 10px system-ui,sans-serif;letter-spacing:1.4px;color:#e3d0a5}
.game-page .solo-cards{gap:6px;min-height:clamp(56px,8vw,72px);align-items:center}
.game-page .solo-playing-card{width:clamp(39px,6vw,52px);height:clamp(56px,8vw,72px);border-radius:9px;font-size:clamp(17px,2.7vw,22px);box-shadow:0 5px 12px #0004;transition:transform .2s ease}
.game-page .solo-playing-card:hover{transform:translateY(-3px) rotate(-1deg)}
.game-page .solo-controls{gap:8px;margin-top:12px}
.game-page .solo-controls label{font:11px system-ui,sans-serif;letter-spacing:.3px;margin:0}
.game-page .solo-controls input{width:120px;min-height:42px;padding:9px 11px;font-size:15px}
.game-page .solo-controls .button{min-height:42px}
.game-page .solo-result{margin:10px 0 0;min-height:24px;font:600 13px/1.4 system-ui,sans-serif}
.game-page .solo-foot{max-width:600px;margin:9px auto 0;font:11px/1.45 system-ui,sans-serif}
@media(max-width:600px){
 .game-page .game-top{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;min-height:48px}
 .game-page .game-top .brand{height:36px;margin:0}
 .game-page .game-top .brand-logo{width:108px;max-height:35px}
 .game-page .game-top-actions{display:flex;gap:5px}
 .game-page .game-top-actions #gameUser{font-size:9px}
 .game-page .game-top-actions .button{min-height:32px;padding:6px 8px;font-size:10px;white-space:normal;max-width:116px}
 .game-page .game-main{padding:6px 9px calc(16px + env(safe-area-inset-bottom))}
 .game-page .game-heading h1{font-size:22px}
 .game-page .table-scene{gap:4px;padding:2px 0 5px}
 .game-page .table-scene .oval-table{height:clamp(205px,64vw,270px);border-radius:16px}
 .game-page .table-scene .oval-rail{inset:3%;border-radius:12px}
 .game-page .table-scene .oval-felt{inset:8% 6%;border-radius:10px;padding:8px 25px 7px;gap:5px;grid-template-rows:auto auto 7px auto auto}
 .game-page .table-scene .felt-logo{font-size:8px;letter-spacing:1.4px}
 .game-page .table-scene .felt-logo small{font-size:6px;letter-spacing:2px}
 .game-page .table-scene .board-cards{min-height:36px;gap:3px}
 .game-page .table-scene .board-cards .bw-card{width:clamp(26px,7.1vw,33px);height:clamp(37px,10vw,46px);font-size:16px;border-radius:5px}
 .game-page .table-scene .pot-chip{padding:3px 7px;gap:4px}
 .game-page .table-scene .pot-chip strong{font-size:15px}
 .game-page .table-scene .pot-chip small{font-size:6px}
 .game-page .table-player-ring{gap:4px}
 .game-page .table-player-profile.immersive-seat{width:clamp(61px,18vw,78px);max-width:78px;flex:0 1 78px;padding:3px 2px;gap:2px;border-radius:7px}
 .game-page .table-player-profile .seat-avatar{width:19px;height:19px}
 .game-page .table-player-profile .seat-player{font-size:8px}
 .game-page .table-player-profile .seat-balance{font-size:8px}
 .game-page .table-player-profile .bw-card.small{width:14px;height:20px;font-size:8px}
 .game-page .game-status-strip{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:7px 9px;font-size:10px}
 .game-page .game-status-strip span:last-child{grid-column:1/-1;text-align:left;max-width:100%}
 .game-page .action-bar{padding:7px;gap:6px}
 .game-page .action-bar .button{min-height:39px;padding:8px 9px;font-size:11px}
 .game-page .raise-presets{gap:4px}
 .game-page .raise-presets button{min-height:35px;font-size:10px}
 .game-page .solo-wrap{width:calc(100% - 18px);margin:9px auto}
 .game-page .solo-card{padding:13px;border-radius:16px}
 .game-page .solo-title h1{font-size:25px}
 .game-page .solo-title>p:not(.eyebrow){font-size:11px}
 .game-page .solo-meta{font-size:10px}
 .game-page .solo-felt{margin:11px 0;padding:12px 8px;border-width:4px;border-radius:18px}
 .game-page .solo-hands{gap:10px;margin:3px 0 12px}
 .game-page .solo-hand>b{font-size:9px;letter-spacing:.8px}
 .game-page .solo-playing-card{width:clamp(34px,10vw,43px);height:clamp(49px,14vw,60px);font-size:17px;border-radius:7px}
 .game-page .solo-cards{gap:4px;min-height:53px}
 .game-page .solo-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:end}
 .game-page .solo-controls label{min-width:0}
 .game-page .solo-controls input{width:100%;min-width:0;min-height:40px}
 .game-page .solo-controls .button{width:100%;min-height:40px;padding:8px;font-size:11px}
 .game-page .solo-foot{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.game-page .table-player-profile.turn-seat,.game-page .game-status-strip,.game-page .action-bar,.game-page .waiting-banner,.game-page .table-scene .board-cards .bw-card,.game-page .pot-chip-disc{animation:none!important;transition:none!important}}

/* v3.37 — distribution lisible, carte par carte, sans animations parasites */
.game-page .table-scene .board-cards .bw-card{animation:none!important;}
.game-page .table-scene .board-cards .bw-card.newly-dealt{opacity:0;animation:bw-card-deal .52s cubic-bezier(.2,.75,.25,1) var(--deal-delay,0ms) both!important;transform-origin:50% 80%;}
@keyframes bw-card-deal{0%{opacity:0;transform:translateY(-24px) rotateY(82deg) scale(.84);filter:brightness(1.35);box-shadow:0 0 0 transparent}55%{opacity:1;transform:translateY(3px) rotateY(-8deg) scale(1.04)}100%{opacity:1;transform:translateY(0) rotateY(0) scale(1);filter:none;box-shadow:0 3px 8px #0004}}
.game-page .table-scene .street-progress{display:flex;justify-content:center;align-items:center;gap:clamp(4px,1vw,10px);width:100%;margin-top:2px;}
.game-page .table-scene .street-progress span{font:700 clamp(7px,1vw,9px)/1 system-ui,sans-serif;letter-spacing:.08em;color:#a9b5a7;background:#0a1710a8;border:1px solid #d9c18b24;border-radius:999px;padding:5px 8px;white-space:nowrap;transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;}
.game-page .table-scene .street-progress span.done{color:#c6d3c4;border-color:#d9c18b40;}
.game-page .table-scene .street-progress span.active{color:#182218;background:#d7bd7c;border-color:#f1dca1;transform:translateY(-1px);box-shadow:0 2px 10px #d7bd7c30;}
.game-page .dealing-pause{display:flex;align-items:center;justify-content:center;gap:7px;min-height:82px;text-align:center;flex-direction:column;border:1px solid #d7bd7c45;background:linear-gradient(135deg,#17281e,#101913);}
.game-page .dealing-pause small{color:#c9c1af;font-size:12px;}
.game-page .deal-spinner{width:19px;height:19px;border:2px solid #d7bd7c45;border-top-color:#d7bd7c;border-radius:50%;animation:bw-deal-spin .7s linear infinite;}
@keyframes bw-deal-spin{to{transform:rotate(360deg)}}
.game-page .bet-builder-title b{font-size:13px;}
.game-page .bet-builder-title small{line-height:1.4;}
@media(max-width:520px){.game-page .table-scene .street-progress{gap:3px}.game-page .table-scene .street-progress span{padding:4px 5px;letter-spacing:.02em;font-size:7px}.game-page .dealing-pause{min-height:70px}}
@media(prefers-reduced-motion:reduce){.game-page .table-scene .board-cards .bw-card.newly-dealt,.game-page .deal-spinner{animation:none!important;opacity:1!important;transform:none!important}}

/* v3.45 — correctif de stabilité mobile : aucune animation en boucle, éléments espacés */
.game-page .table-player-profile.turn-seat,
.game-page .table-scene .playing-deck,
.game-page .table-scene .oval-felt:before,
.game-page .pot-chip-disc,
.game-page .game-status-strip,
.game-page .action-bar,
.game-page .waiting-banner{animation:none!important;}
.game-page .table-player-profile,
.game-page .table-scene .board-cards .bw-card,
.game-page .pot-chip{transition:none!important;}
.game-page .table-player-profile.turn-seat{filter:none!important;box-shadow:0 0 0 2px #d7bd7c55,0 5px 13px #0005!important;}
.game-page .table-scene .board-cards .bw-card,
.game-page .table-scene .board-cards .bw-card.newly-dealt{animation:none!important;opacity:1!important;transform:none!important;filter:none!important;}
.game-page .table-scene .pot-chip-stack{animation:none!important;}
@media(max-width:600px){
 .game-page .table-scene{width:100%;gap:7px;padding:10px 0 12px;overflow:visible;}
 .game-page .table-scene .oval-table{height:265px;min-height:265px;max-height:265px;border-radius:19px;overflow:hidden;}
 .game-page .table-scene .oval-rail{inset:3%;border-radius:14px;}
 .game-page .table-scene .oval-felt{inset:8% 5%;padding:12px 12px 10px;gap:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;}
 .game-page .table-scene .felt-logo{position:static;flex:0 0 auto;margin:0;font-size:9px;line-height:1.1;letter-spacing:1.7px;}
 .game-page .table-scene .felt-logo small{font-size:7px;letter-spacing:2px;}
 .game-page .table-scene .pot-chip{position:static;flex:0 0 auto;max-width:100%;margin:0;padding:4px 9px;gap:5px;white-space:nowrap;}
 .game-page .table-scene .pot-chip strong{font-size:17px;line-height:1.1;}
 .game-page .table-scene .pot-chip small{font-size:7px;letter-spacing:.8px;}
 .game-page .table-scene .playing-deck,.game-page .table-scene .pot-chip-stack{display:none!important;}
 .game-page .table-scene .board-cards{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:100%;min-height:44px;gap:4px;margin:0;perspective:none;}
 .game-page .table-scene .board-cards .empty-board{max-width:100%;font-size:clamp(11px,3.4vw,14px);line-height:1.3;text-align:center;overflow-wrap:anywhere;}
 .game-page .table-scene .board-cards .bw-card{flex:0 1 auto;width:clamp(27px,7.3vw,34px);height:clamp(39px,10.5vw,48px);font-size:16px;border-radius:5px;}
 .game-page .table-scene .street-status{position:static;max-width:100%;margin:0;font-size:11px;line-height:1.25;text-align:center;overflow-wrap:anywhere;}
 .game-page .table-scene .street-progress{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:center;gap:4px;width:100%;margin:0;}
 .game-page .table-scene .street-progress span{padding:5px 7px;font-size:8px;letter-spacing:.02em;transform:none!important;box-shadow:none!important;}
 .game-page .table-player-ring{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;}
 .game-page .table-player-profile.immersive-seat{width:clamp(75px,21vw,96px);max-width:96px;flex:0 1 96px;padding:5px 4px;gap:3px;}
 .game-page .table-player-profile .seat-avatar{width:22px;height:22px;}
 .game-page .table-player-profile .seat-player{font-size:9px;line-height:1.2;overflow-wrap:anywhere;}
 .game-page .table-player-profile .seat-balance{font-size:9px;line-height:1.2;}
 .game-page .table-player-profile .bw-card.small{width:16px;height:22px;font-size:8px;}
 .game-page .game-status-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;margin:8px 0;padding:10px;font-size:12px;line-height:1.35;}
 .game-page .game-status-strip>*{min-width:0;overflow-wrap:anywhere;}
 .game-page .game-status-strip span:last-child{grid-column:1/-1;}
 .game-page .waiting-banner{margin:8px 0;padding:12px;font-size:12px;line-height:1.4;}
}
@media(prefers-reduced-motion:reduce){.game-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important;}}

/* v3.46: restore the real oval poker-table silhouette on every screen size */
.game-page .table-scene .oval-table{border-radius:50% / 24%!important;}
.game-page .table-scene .oval-rail{border-radius:50% / 24%!important;}
.game-page .table-scene .oval-felt{border-radius:50% / 24%!important;}
@media(max-width:600px){
 .game-page .table-scene .oval-table{border-radius:50% / 24%!important;}
 .game-page .table-scene .oval-rail{border-radius:50% / 24%!important;}
 .game-page .table-scene .oval-felt{border-radius:50% / 24%!important;}
}
