#modal.brust-dialog{position:fixed;inset:0;margin:0 auto;width:min(900px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;background:#091922;overflow:hidden}#modal.brust-dialog>.modal-head{height:44px;min-height:44px;box-sizing:border-box;padding:0 12px}#modal.brust-dialog>.modal-head small{display:none}#modal.brust-dialog>.modal-head h2{margin:0}#modal.brust-dialog #close{width:44px;height:40px}#modal.brust-dialog #modal-body{height:calc(100% - 44px);padding:0;overflow:hidden}.brust-game{position:relative;height:100%;min-height:0;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom));color:#e4eee9;background:radial-gradient(ellipse at 50% 20%,#25456177,transparent 65%),#0b1d29}.brust-game.chicken{background:radial-gradient(ellipse at 50% 20%,#31735b55,transparent 65%),#0b2427}.brust-game>header{position:static;inset:auto;height:auto;min-height:0;margin:0;padding:4px 0;background:0 0;border:0;box-shadow:none;backdrop-filter:none}.brust-game small{font-size:12px;color:#9abbb7;letter-spacing:1px}.brust-wallet{display:flex;align-items:center;justify-content:space-between;gap:10px}.brust-wallet strong{font-size:22px;font-variant-numeric:tabular-nums}.brust-board{min-height:0;border:1px solid #80aeb63d;border-radius:12px;background:linear-gradient(#0a192c,#0b2133);overflow:hidden}.brust-plinko{display:block;width:100%;height:100%}.brust-bin rect{fill:#29536c;stroke:#7dabc944}.brust-bin.edge rect{fill:#ad6952}.brust-bin.mid rect{fill:#766695}.brust-bin text{fill:#fff0d1;font:700 12px Arial}.brust-bin.selected rect{stroke:#fff1a5;stroke-width:3;fill:#bf9a54}.brust-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-radius:14px;background:#15333d;border:1px solid #759b9b33}.brust-controls label{font-size:14px;color:#bdd4d1;display:flex;flex-direction:column;gap:5px}.brust-controls input,.brust-controls select{min-width:0;width:100%;box-sizing:border-box;background:#0b202c;border:1px solid #8aaeb444;border-radius:8px;padding:10px;color:#edf4e8;font-size:16px}.brust-return{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.brust-return strong{font-size:25px;color:#d7e8b6}.brust-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.brust-actions button{flex:1;min-height:46px;padding:10px;border:1px solid #d5e9c744;border-radius:9px;background:linear-gradient(135deg,#afd9a2,#63bb9e);color:#102e2c;font-size:16px;font-weight:800}.brust-actions button[hidden]{display:none}.brust-actions button:disabled{opacity:.45;cursor:default}.brust-game #brust-status{margin:0;font-size:14px;min-height:22px;line-height:1.5;color:#c6d9cf}.brust-game details{font-size:14px;color:#aac5c0;line-height:1.7}.brust-game summary{cursor:pointer}.brust-game details[open]{position:absolute;inset:50px 12px auto;max-height:60%;overflow:auto;padding:14px;z-index:6;background:#102b36;border:1px solid #7daba766;border-radius:12px}.brust-road{height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;--lane:clamp(68px,21vw,90px)}.brust-road::-webkit-scrollbar{display:none}.brust-track{height:100%;width:calc(13 * var(--lane));position:relative;display:flex;background:#142b32}.brust-lane{position:relative;flex:0 0 var(--lane);box-sizing:border-box;overflow:hidden;border-right:2px dashed #b8c9c64d;background:linear-gradient(90deg,#172c37,#30474e 50%,#172c37);text-align:center}.brust-lane.start{background:#285a49}.brust-lane>span{position:absolute;top:12px;left:4px;right:4px;padding:8px 2px;background:#061923d9;border:1px solid #a6b8ad44;border-radius:8px;color:#f8e7b5;font-size:14px;font-weight:700}.brust-lane>small{position:absolute;bottom:8px;left:0;right:0}.brust-lane.passed{box-shadow:inset 0 -100px 70px -60px #5cbb864d}.brust-lane.hit{background:linear-gradient(#273b42,#5c393c)}.brust-car{position:absolute;width:38px;height:65px;top:0;left:calc(50% - 19px);border-radius:12px;background:linear-gradient(#b9e0e5 0 12%,#406779 13% 35%,#9fbec5 36% 72%,#325366 73% 88%,#bce4e4 89%);box-shadow:inset 4px 0 #07182777,inset -4px 0 #07182777;animation:brustTraffic var(--car-speed) linear var(--car-delay) infinite}.brust-lane.passed .brust-car{opacity:.15}.brust-lane.hit .brust-car{animation:none;top:calc(100% - 120px);z-index:3}.brust-hen{position:absolute;left:0;bottom:45px;width:var(--lane);height:60px;transform:translateX(calc(var(--step,0) * var(--lane)));transition:transform .2s ease-out;z-index:2;pointer-events:none}.brust-chicken{width:60px;height:60px;margin:auto;transform-origin:50% 95%}.brust-chicken svg{display:block;width:100%;height:100%}.brust-hen.hit .brust-chicken{transform:scale(1.2,.25) rotate(-12deg)}.brust-hen.impact .brust-chicken{animation:.65s both brustHit}@keyframes brustHit{0%,55%{transform:scale(1)}100%,70%{transform:scale(1.2,.25) rotate(-12deg)}}@keyframes brustTraffic{from{transform:translateY(-90px)}to{transform:translateY(100dvh)}}body:has(#modal.brust-dialog[open]),html:has(#modal.brust-dialog[open]){overflow:hidden;overscroll-behavior:none}.brust-cover-art{position:absolute;inset:10px 14px 36%;display:grid;place-items:center;pointer-events:none}.brust-cover-art svg{width:90%;height:100%;max-width:160px}@media(orientation:landscape) and (max-height:600px){.brust-game{grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto minmax(0,1fr) auto auto}.brust-game>header{grid-column:1}.brust-controls{grid-column:2;grid-row:1/5;display:flex;flex-direction:column;justify-content:center}.brust-actions{flex-direction:column}}