:root{--bf-gold:#e9bb61;--bf-green:#275b4e;--bf-red:#d85e4d}
[hidden]{display:none!important}
.game-intro h1{font-size:clamp(4rem,7vw,7.5rem)}
.bf-topbar,.bf-subbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:13px clamp(16px,3vw,42px);background:#102d29;color:#f8efdd;font-size:.68rem;letter-spacing:.07em;text-transform:uppercase}
.bf-topbar>div,.bf-subbar{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.bf-topbar b{display:inline-grid;place-items:center;min-width:26px;height:26px;margin-left:4px;border-radius:50%;background:#ffffff30;color:white}.bf-topbar small{color:#adcbba}.bf-quiet{padding:9px 14px;border:1px solid #ffffff4d;border-radius:30px;background:transparent;color:white;cursor:pointer}
.bf-subbar{justify-content:center;background:#1b3e36;color:#c7dbce}.bf-subbar b{color:#fff}
.bf-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px}
.bf-board{min-width:0;padding:18px clamp(10px,2vw,30px) 24px;background:radial-gradient(circle at 50% 45%,#367664,#1c5045 78%);color:#fff9ee}
.bf-players{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:780px;margin:auto}
.bf-player{min-width:0;min-height:85px;padding:8px;border:1px solid #ffffff54;border-radius:7px;background:#113e34a6}.bf-player.active{border-color:var(--bf-gold)}.bf-player strong{font-size:.7rem}.bf-player small{float:right;color:#c3d7c7;font-size:.55rem}.bf-backs{display:flex;justify-content:center;margin-top:8px;padding-left:14px}.bf-backs .bf-card{width:23px;height:32px;margin-left:-13px;border-width:2px;border-radius:3px;font-size:.65rem;box-shadow:0 2px 4px #132e2970}
.bf-centre{max-width:780px;min-height:255px;margin:10px auto;padding:12px;border:1px solid #ffffff44;border-radius:7px;background:#123f35aa}
.bf-trick{display:grid;grid-template-columns:repeat(3,72px);grid-template-rows:repeat(3,66px);justify-content:center;place-items:center;margin:auto}.bf-slot{display:grid;place-items:center;gap:2px}.bf-slot small{color:#c9e0cf;font-size:.48rem}.bf-slot.seat-2{grid-area:1/2}.bf-slot.seat-3{grid-area:2/1}.bf-slot.seat-1{grid-area:2/3}.bf-slot.seat-0{grid-area:3/2}.bf-empty{display:grid;place-items:center;width:46px;height:52px;border:1px dashed #ffffff54;border-radius:4px;color:#97bdae}.bf-status{min-height:19px;margin:8px 0 0;color:#ffe3a4;font-size:.65rem;text-align:center}
.bf-card{position:relative;display:block;width:58px;height:79px;border-radius:5px;background:#fffaf0;color:#163e34;box-shadow:0 4px 8px #0b281e70;font-family:var(--serif)}.bf-card.cups,.bf-card.coins{color:#b85b44}.bf-card b{position:absolute;top:5px;left:5px;display:flex;align-items:center;gap:2px;font-size:.96rem;font-weight:400;line-height:1}.bf-card b small{font-size:.7rem}.bf-card i{position:absolute;inset:0;display:grid;place-items:center;font-size:1.5rem;font-style:normal}.bf-card em{position:absolute;right:4px;bottom:3px;font:600 .4rem var(--sans);text-transform:uppercase;letter-spacing:.03em}.bf-card.back{display:grid;place-items:center;border:4px solid #fffaf0;background:#d65c49;color:white;box-shadow:inset 0 0 0 2px #ffffff9c,0 2px 4px #0b281e70}
.bf-slot .bf-card{width:43px;height:53px}.bf-slot .bf-card b{top:3px;left:3px;font-size:.63rem}.bf-slot .bf-card b small{font-size:.48rem}.bf-slot .bf-card i{font-size:1rem}.bf-slot .bf-card em{font-size:.3rem}
.bf-human{max-width:780px;margin:auto}.bf-human-title{display:flex;align-items:center;gap:8px;margin-bottom:8px}.bf-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--bf-gold);color:#163e34;font-family:var(--serif)}.bf-human-title strong{display:block;font-size:.75rem}.bf-human-title small{color:#c3dbc9;font-size:.55rem}
.bf-hand{display:flex;justify-content:center;width:100%;padding:8px 18px 8px 8px}.bf-hand button{flex:0 1 42px;min-width:0;margin:0 0 0 -3px;padding:0;border:0;background:transparent;cursor:pointer}.bf-hand button:first-child{margin-left:0}.bf-hand button:last-child{flex:0 0 58px}.bf-hand button .bf-card{width:58px;height:79px}.bf-hand button:disabled{cursor:default;opacity:.44}.bf-hand button:focus-visible{outline:3px solid var(--bf-gold);outline-offset:2px}
.bf-panel{display:flex;flex-direction:column;gap:14px;padding:18px;background:#152b27;color:#f8efdd}.bf-action{padding:17px;background:#efe8d9;color:#18362f}.bf-kicker{color:var(--bf-red);font-size:.56rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.bf-action h2{margin:10px 0 14px;font:400 1.4rem/1.15 var(--serif)}.bf-action button{width:100%;margin:4px 0;padding:10px;border:0;border-radius:3px;background:var(--bf-red);color:white;font-size:.66rem;font-weight:700;cursor:pointer}.bf-action [data-pass-contract],.bf-action [data-double-no]{border:1px solid #b4c2b5;background:transparent;color:#193a30}.bf-action p{color:#526459;font-size:.67rem}.bf-action>strong{display:block;margin:14px 0;color:#16634c;font:400 1.05rem var(--serif)}.bf-choices{display:grid;grid-template-columns:1fr 1fr;gap:4px}.bf-choices button:nth-child(n+5){grid-column:span 2}.bf-tally,.bf-history{border-top:1px solid #ffffff30;padding-top:13px}.bf-tally h2,.bf-history h2{margin:0 0 8px;color:var(--bf-gold);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase}.bf-tally>div{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:.66rem}.bf-tally b{font-size:.8rem}.bf-tally small,.bf-history>small{color:#abc7b6;font-size:.54rem}.bf-history ol{max-height:290px;overflow:auto;margin:6px 0;padding-left:19px}.bf-history li{padding:6px 0;border-bottom:1px solid #ffffff19;color:#dce8dc;font-size:.59rem;line-height:1.35}
.game-taxonomy.bf-taxonomy{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.bf-layout{grid-template-columns:1fr}.bf-panel{display:grid;grid-template-columns:1fr 1fr}.bf-action{grid-row:span 2}.game-taxonomy.bf-taxonomy{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.site-header,.game-intro{width:calc(100% - 36px)}.site-header{height:75px}.game-intro{flex-direction:column;align-items:flex-start;gap:15px;padding:44px 0 30px}.game-intro h1{font-size:clamp(3.5rem,13vw,5rem)}.bf-topbar,.bf-subbar{padding:10px 12px;gap:9px;font-size:.52rem}.bf-topbar>div,.bf-subbar{gap:9px}.bf-board{padding:10px 5px 16px}.bf-players{gap:3px}.bf-player{min-height:68px;padding:4px 3px}.bf-player strong{font-size:.52rem}.bf-player small{font-size:.4rem}.bf-backs{padding-left:10px}.bf-backs .bf-card{width:17px;height:25px;margin-left:-10px}.bf-centre{min-height:215px;margin:7px auto;padding:6px}.bf-trick{grid-template-columns:repeat(3,60px);grid-template-rows:repeat(3,54px)}.bf-status{font-size:.54rem}.bf-hand{padding-right:13px}.bf-hand button{flex-basis:24px;margin-left:-3px}.bf-hand button:last-child{flex-basis:48px}.bf-hand button .bf-card{width:48px;height:67px}.bf-hand button .bf-card b{font-size:.72rem}.bf-hand button .bf-card b small{font-size:.54rem}.bf-hand button .bf-card i{font-size:1.1rem}.bf-hand button .bf-card em{font-size:.31rem}.bf-panel{display:flex;padding:12px}.bf-action{padding:14px}.rules{padding:60px 18px}.rules-grid{grid-template-columns:1fr}.rules-grid article{min-height:0}.ad-section{padding:30px 18px}.game-taxonomy.bf-taxonomy{grid-template-columns:1fr}}
