.friend-invite-button,.friend-gold{cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:10px 20px;font-weight:800;text-decoration:none;display:inline-flex;box-shadow:inset 0 1px #fff9dc,0 3px #765429,0 5px 12px #0002;color:#153e30!important;background:linear-gradient(#ffe8a8,#edc16b 55%,#c7913e)!important;border:1px solid #e6bd6a!important}.friend-invite-button{margin:10px 0;font:700 20px/1.2 Georgia,serif}.friend-invite-button span{font-size:25px}.friend-gold:disabled{opacity:.55;cursor:default}.friend-invite-button:hover,.friend-gold:hover{filter:brightness(1.06)}.friends-page{color:#214b3b;background:radial-gradient(at 50% 0,#176545,#073b2b 85%);min-height:100dvh;padding:18px;font-family:Arial,sans-serif}.friends-page *{box-sizing:border-box}.friends-page main{max-width:1080px;margin:auto}.friends-header{color:#fff5d9;align-items:center;gap:18px;max-width:1080px;margin:0 auto 22px;display:flex}.friends-header svg{width:64px;height:64px}.friends-header h1{margin:4px 0;font:700 clamp(24px,4vw,38px)/1.2 Georgia,serif}.friends-header small{letter-spacing:.15em;font-size:10px}.friends-header>a:last-child{color:#ffe1a0;white-space:nowrap;margin-left:auto}.friends-page button:not(.playing-card),.friend-notification button:not(.friend-gold){color:#214b3b;cursor:pointer;background:#fff8e9;border:1px solid #bca77c;border-radius:9px;min-height:42px;padding:8px 14px;font:700 15px/1.3 Arial}.friends-page button:disabled{cursor:default;opacity:.5}:is(.friends-page button:focus-visible,.friends-page a:focus-visible,.friends-page input:focus-visible,.friends-page select:focus-visible){outline-offset:3px;outline:3px solid #38a8ed}.friends-welcome,.friends-list-panel,.friends-inbox,.friends-result,.friends-bidding,.friends-detail{background:#fff9ec;border:2px solid #cba657;border-radius:20px;margin:20px 0;padding:28px;box-shadow:0 8px 26px #001d2340}.friends-welcome{text-align:center;background:radial-gradient(at top,#fffdf5,#f3e8cd)}.friends-welcome img{border-radius:50%;box-shadow:0 4px 12px #0003}.friends-welcome h2,.friends-list-panel h2,.friends-result h2{color:#075138;margin:16px 0;font:700 clamp(26px,4vw,35px)/1.2 Georgia,serif}.friends-welcome p{font-size:18px;line-height:1.6}.friends-welcome>a{margin:10px}.friends-welcome>a:not(.friend-gold){display:block}.friend-game-choice{justify-content:center;gap:10px;margin:20px;display:flex}.friend-game-choice button[aria-pressed=true]{color:#fff3d4;background:#11553e}.friends-note{color:#e8ddc3;text-align:center;font-size:13px;line-height:1.6}.friends-welcome .friends-note{color:#6e715e}.friends-error,.friends-message{color:#8a2f1e;background:#fff0e8;border:1px solid #d69d73;border-radius:12px;padding:14px}.friends-message{color:#25563c;background:#eff9dc}.friends-inbox>div{flex-wrap:wrap;align-items:center;gap:12px;margin:8px 0;display:flex}.friends-inbox strong{flex:1}.friends-table-toolbar{color:#fff3d1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.friends-table-toolbar span{font-size:14px}.friends-table{color:#fff8e5;background:radial-gradient(#13744f,#06422e);border:9px solid #725135;border-radius:80px;min-height:570px;margin:12px 0;position:relative;box-shadow:inset 0 0 0 3px #d3a953,inset 0 0 45px #012f22,0 12px 35px #001d2666}.friend-seat{text-align:center;z-index:2;background:#073d2be8;border:1px solid #b89a62;border-radius:16px;width:180px;max-width:28%;padding:12px 6px;position:absolute}.friend-seat>span:first-child{color:#f5d381;font-size:26px;display:block}.friend-seat strong{overflow-wrap:anywhere;display:block}.friend-seat small{color:#ddd6bd;margin-top:5px;font-size:11px;line-height:1.5;display:block}.friend-seat.is-turn{border-color:#ffe8a3;box-shadow:0 0 0 2px #e0b55a,0 0 20px #ffdc7d44}.friend-position-0{bottom:18px;left:50%;transform:translate(-50%)}.friend-position-1{top:50%;left:15px;transform:translateY(-50%)}.friend-position-2{top:16px;left:50%;transform:translate(-50%)}.friend-position-3{top:50%;right:15px;transform:translateY(-50%)}.friend-card-backs{letter-spacing:-5px;color:#e3cd8e;margin-right:6px;font-size:19px;display:block}.friends-table-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:150px 23%}.friends-table-center h2{margin:5px 0;font:700 25px/1.2 Georgia,serif}.friends-table-center p{margin:4px 0;font-size:14px;line-height:1.5}.friends-table-symbol{color:#e6c779;font-size:34px}.friends-score{justify-content:center;gap:20px;font-size:12px;display:flex}.friends-score b{color:#ffe098;font:700 24px Georgia;display:block}.friends-contract small{font-size:11px;display:block}.friends-table-center:has(.friends-trick:not(:empty)){inset:150px 22% 135px}.friends-trick{width:230px;max-width:100%;height:165px;position:relative}.friends-trick:empty{display:none}.friends-trick>div{flex-direction:column;align-items:center;width:65px;display:flex;position:absolute}.friends-trick small{text-overflow:ellipsis;white-space:nowrap;max-width:75px;font-size:10px;overflow:hidden}.friends-trick .playing-card,.friend-up-card .playing-card,.friends-last-trick .playing-card{border-radius:5px;width:62px!important;height:88px!important;position:relative!important}.friend-trick-0{z-index:4;bottom:0;left:calc(50% - 32px)}.friend-trick-1{z-index:2;top:28px;left:0}.friend-trick-2{z-index:1;top:0;left:calc(50% - 32px)}.friend-trick-3{z-index:3;top:28px;right:0}.friend-up-card{align-items:center;gap:8px;display:flex}.friend-start{color:#fff5db;text-align:center;padding:15px 0}.friend-start p{line-height:1.5}.friend-start li{margin:8px;list-style:none}.friend-start ul{padding:0}.friends-hand{justify-content:center;max-width:100%;margin:25px auto 12px;padding:8px 8px 8px 20px;display:flex}.friends-hand .playing-card{cursor:pointer;background:#fffbee;border-radius:8px;flex:none;margin-left:-12px;transition:transform .12s;width:clamp(48px,9vw,88px)!important;height:clamp(68px,12.8vw,125px)!important;position:relative!important}.friends-hand .playing-card:disabled{opacity:1;filter:brightness(.82)}.friends-hand .playing-card:not(:disabled){transform:translateY(-7px);box-shadow:0 0 0 2px #f5d57b}.friends-hand .playing-card:hover:not(:disabled){transform:translateY(-15px)}.friends-hand .playing-card:focus-visible{outline-offset:4px;outline:3px solid #5bc4ff}.friends-timer{color:#fff0c7;text-align:center;font-weight:700}.friends-bidding{flex-wrap:wrap;justify-content:center;align-items:end;gap:12px;display:flex}.friends-bidding h2{text-align:center;width:100%;margin:0;font:700 25px Georgia}.friends-bidding label{flex-direction:column;gap:5px;display:flex}.friends-page select,.friends-page input{color:#173d30;background:#fffef9;border:1px solid #b7a479;border-radius:8px;min-width:0;max-width:100%;padding:12px;font:16px Arial}.friends-result{text-align:center}.friends-detail summary{cursor:pointer;font-weight:700}.friends-last-trick{flex-wrap:wrap;gap:12px;margin:15px 0;display:flex}.friends-last-trick>div{flex-direction:column;align-items:center;gap:6px;display:flex}.friends-last-trick strong{font-size:12px}.friends-list-panel h2 span{background:#e7d9b8;border-radius:20px;padding:4px 10px;font:700 16px Arial}.friends-list-panel>p{line-height:1.5}.friends-list{padding:0;list-style:none}.friends-list li{border-bottom:1px solid #dfd1ae;align-items:center;gap:10px;padding:14px 0;display:flex}.friends-list li>div{flex:1;min-width:0}.friends-list strong{overflow-wrap:anywhere;display:block}.friends-list small{color:#627561;margin-top:5px;display:block}.friends-page .friend-remove{background:0 0;border-color:#0000;min-width:38px;padding:4px 10px;font-size:24px}.friends-search,.friends-share{flex-direction:column;gap:8px;margin:24px 0 12px;font-weight:700;display:flex}.friends-share small{font-weight:400;line-height:1.5}.friend-notification{z-index:85;color:#15543d;text-align:center;background:#fff7e4;border:2px solid #d1a64e;border-radius:20px;width:min(370px,100vw - 24px);padding:20px;position:fixed;top:90px;right:20px;box-shadow:0 12px 45px #0006}.friend-notification img{border-radius:50%;margin:0 auto 10px}.friend-notification strong{font:700 22px/1.3 Georgia;display:block}.friend-notification>div{justify-content:center;gap:8px;margin-top:12px;display:flex}.friend-notification.is-compact{padding:12px;top:10px;right:12px}.friend-notification.is-compact strong{font:700 16px/1.4 Arial}.friend-notification button{cursor:pointer}@media (max-width:600px){.friends-page{padding:10px}.friends-header{flex-wrap:wrap;gap:10px}.friends-header svg{width:48px;height:48px}.friends-header>a:last-child{font-size:13px}.friends-header h1{font-size:24px}.friends-header small{font-size:8px}.friends-welcome,.friends-list-panel,.friends-inbox,.friends-result,.friends-bidding,.friends-detail{border-radius:15px;padding:18px 14px}.friends-welcome p{font-size:16px}.friends-table{border-width:5px;border-radius:40px;min-height:540px}.friend-seat{width:125px;max-width:30%;padding:8px 4px}.friend-seat strong{font-size:13px}.friend-seat small{font-size:10px}.friend-seat>span:first-child{font-size:20px}.friend-position-1{top:43%;left:5px}.friend-position-3{top:43%;right:5px}.friend-position-0{bottom:10px}.friend-position-2{top:10px}.friends-table-center{inset:150px 28% 130px}.friends-table-center h2{font-size:19px}.friends-table-center p{font-size:12px}.friends-table-symbol{font-size:23px}.friends-table-center:has(.friends-trick:not(:empty)){inset:130px 28% 115px}.friends-score{gap:10px;font-size:10px}.friends-score b{font-size:20px}.friends-trick{width:150px;height:150px}.friends-trick .playing-card{width:45px!important;height:64px!important}.friends-trick>div{width:45px}.friend-trick-0,.friend-trick-2{left:calc(50% - 22px)}.friend-trick-0{bottom:10px}.friend-trick-1,.friend-trick-3{top:36px}.friends-table-toolbar{font-size:14px}.friends-hand .playing-card{margin-left:-13px}.friends-list li{gap:6px}.friends-list button{padding:8px}.friend-invite-button{width:100%;font-size:18px}.friend-notification.is-compact{max-width:300px}}.belote-dialog:has(.friends-list-panel){width:min(650px,100vw - 24px);font:16px/1.5 Arial,sans-serif;position:fixed}.belote-dialog:has(.friends-list-panel)>h2{padding-right:28px;font:700 30px/1.2 Georgia,serif}.belote-dialog .friends-list-panel{box-shadow:none;background:0 0;border:0;margin:0 0 20px;padding:0}.friends-popup-close{color:#22503d;background:#fffbef;border:1px solid #d0b882;border-radius:50%;width:38px;height:38px;font:24px Arial;position:absolute;top:12px;right:12px}.belote-dialog .friends-list-panel input{color:#214b3b;background:#fff;border:1px solid #bda675;border-radius:8px;width:100%;min-height:46px;padding:10px;font:16px Arial}.belote-dialog .friends-list button:not(.friend-gold){color:#476252;background:0 0;border:0;min-width:35px;min-height:40px;font-size:24px}.belote-dialog .friends-list small{font-size:12px}.belote-dialog .friends-list-panel>button{color:#214b3b;background:#fff9e9;border:1px solid #a99566;border-radius:8px;padding:10px}.belote-dialog .friends-list-panel button:disabled{opacity:.5}.belote-dialog .friend-remove{font-size:25px}.friends-page .friends-welcome .friend-gold{min-height:52px}@media (min-width:601px){.friends-table{min-height:500px}.friends-table-center{inset:135px 23% 125px}}@media (max-width:600px){.friends-table{min-height:450px}.friends-table-center{inset:125px 30% 105px}.friends-table-center:has(.friends-trick:not(:empty)){inset:118px 28% 105px}.friend-seat small{font-size:9px}.friends-table-center h2{font-size:17px}.friends-table-center p{font-size:11px}.friends-table-symbol{font-size:20px}.friend-up-card{flex-direction:column;gap:3px}.friend-up-card .playing-card{width:46px!important;height:65px!important}.friend-up-card small{font-size:9px}.friends-header{margin-bottom:12px}.friends-table-toolbar span{font-size:12px}}.belote-dock .friend-invite-button{white-space:normal;text-align:center;flex:1;width:auto;max-width:165px;min-height:40px;margin:0;padding:5px 8px;font:700 15px/1.2 Arial,sans-serif}.belote-dock .friend-invite-button span{display:none}@media (max-width:600px){.belote-dock .friend-invite-button{flex:35%;max-width:none}}.friends-header{flex-wrap:wrap;gap:12px;min-height:90px;padding-block:10px;position:relative}.friends-header-title{min-width:0}.friends-header .friends-solo-link{color:#ffe1a0;white-space:nowrap;margin-left:auto}.friends-header>.table-theme-picker{margin:0}.friends-header .table-theme-label{color:#fff4dc}@media (max-width:650px){.friends-header{align-content:center;min-height:150px}.friends-header-title{flex-basis:100%}.friends-header .friends-solo-link{margin-left:0}.friends-header>a[aria-label=Accueil]{display:none}.friends-header h1{font-size:23px}.friends-header:has(.header-account) .game-display-options{left:0;right:auto}}.friend-game-message{z-index:60;color:#164d39;pointer-events:none;background:#fff6e5;border-radius:10px;max-width:90vw;padding:8px 16px;position:fixed;bottom:70px;left:50%;transform:translate(-50%)}.friend-ai-settings{text-align:left;margin:16px 0}.friend-ai-settings .belote-field{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.friend-ai-settings select{max-width:100%;min-height:44px}.friend-ai-settings p{color:#335444;margin:10px 0;font-size:15px!important;line-height:1.5!important}
