.brand{text-decoration:none;color:inherit}.bj-bank{display:flex;justify-content:space-between;gap:16px;margin:16px 0;font-size:18px}.bj-table{background:radial-gradient(ellipse,#286547,#163929);border:4px solid #526749;border-radius:32px;padding:24px 16px;min-height:340px;text-align:center;color:#f7f1e4}.bj-table h2{font-size:20px;margin:0 0 14px}.bj-table small{font-size:16px;color:#e8be73;margin-left:12px}.bj-dealer{padding:8px 0 28px}.bj-hands{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}.bj-hand{padding:18px;border:2px solid transparent;border-radius:16px;min-width:220px;max-width:100%}.bj-hand.active{border-color:#e8be73;background:#10291e66}.bj-cards{display:flex;justify-content:center;flex-wrap:wrap;gap:7px}.bj-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:55px;height:78px;background:#fffaf0;border:1px solid #ded7c8;border-radius:7px;color:#193528;font:26px Georgia,serif;box-shadow:0 3px 8px #0003}.bj-card.red{color:#b52a40}.bj-card.back{background:#193528;color:#e8be73;border:2px solid #e8be73}.bj-empty{color:#c5d3c5;font-size:17px}.bj-status{font-size:18px;line-height:1.6;margin:20px 0}.bj-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.bj-controls label{display:grid;gap:8px;font-size:16px}.bj-controls input{padding:12px;background:#1b2c23;color:#f7f1e4;border:1px solid #687a60;border-radius:8px;width:150px;font:inherit}.bj-settings{display:flex;flex-wrap:wrap;gap:18px;margin:26px 0;padding:16px;border:1px solid #485a49;border-radius:12px}.bj-settings legend,.bj-settings label{font-size:15px;line-height:1.6}.bj-settings input{accent-color:#e8be73;width:18px;height:18px;vertical-align:middle}.bj-settings:disabled{opacity:.6}.bj-rules{margin:28px 0;font-size:16px;line-height:1.65}.bj-rules summary{cursor:pointer;color:#e8be73}.bj-controls button:disabled{opacity:.45;cursor:not-allowed}#error{color:#ffbb9c}@media(max-width:600px){.bj-table{padding:16px 8px}.bj-hand{min-width:0;width:100%;padding:12px}.bj-controls .button{flex:1 1 42%}.bj-card{width:48px;height:69px}.bj-bank{font-size:16px}.topbar{gap:12px;flex-wrap:wrap}}
.bj-table{background:radial-gradient(ellipse at top,#276c56,#133d34 65%,#102b2a);border-color:#648b78;box-shadow:0 0 0 5px #101c24,inset 0 0 55px #0005,0 24px 50px #0006}.bj-hand.active{border-color:#7be4bd;box-shadow:0 0 22px #77e1b51c}.bj-bank{padding:16px 20px;background:linear-gradient(120deg,#213b3d,#13222c);border:1px solid #42635e;border-radius:14px}.bj-card{box-shadow:0 7px 15px #0006}.bj-status{padding:15px 20px;border-left:3px solid #78dbae;background:#18352e88;border-radius:0 10px 10px 0}.bj-settings{background:#10202b}
/* Touch devices and orientation changes use layout only; game state is untouched. */
@media(max-width:620px){.shell{padding-bottom:80px}.button,.text-button{min-height:44px}.brand{font-size:18px}.brand small{font-size:8px}.topbar{gap:8px}.top-actions{gap:8px}.top-actions .pill{display:none}input,select{font-size:16px}.playing-card:disabled{opacity:.75}}
