/* Okey.TR game table additions v3 */
#game .gamebar{gap:10px;flex-wrap:wrap}
#game #sortBtn{background:#254832;border:1px solid #b99b56;color:#fff5d4;border-radius:9px;padding:8px 11px;font-weight:700;white-space:nowrap}
#game #rackTools{display:flex!important;visibility:visible!important;opacity:1!important;position:relative;z-index:9;}
#game #rackTools button{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;min-width:104px}
.table .recent-discards{width:min(540px,100%);margin:12px auto 0;position:relative;z-index:5;}
.discard-title{font-size:11px;color:#f1dfa9;text-align:center;font-weight:700;margin-bottom:6px}
.discard-cards{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.discard-card{min-width:72px;max-width:120px;flex:1 1 70px;background:#071c14cc;border:1px solid #356448;border-radius:10px;padding:7px 5px;text-align:center}
.discard-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#f4e6bf;margin-bottom:4px}
.discard-tile{height:48px;display:flex;justify-content:center;align-items:center}
.discard-tile img{width:34px;height:48px;object-fit:contain}
.no-discard{font-size:22px;color:#84998c}
#game .table-extras{position:relative;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,1fr);gap:12px;width:min(1100px,96%);margin:15px auto;}
#game .game-score-panel,#game .table-chat-panel{background:#061b15ed;border:1px solid #386348;border-radius:13px;padding:10px;min-width:0;}
#game .extra-heading{color:#f9d989;font-weight:700;font-size:14px;margin-bottom:9px}
#game .extra-heading small{color:#aebeb6;font-size:10px;font-weight:400;display:block;margin-top:3px}
.game-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;}
.game-score{min-width:0;padding:7px;border:1px solid #375445;background:#0b2b1d;border-radius:7px;display:flex;flex-direction:column;gap:2px;}
.game-score strong{font-size:12px;color:#eaf5ee;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.game-score span{font-weight:800;font-size:14px;color:#eccc7d}
.game-score small{font-size:10px;color:#a6bcae}
.game-score.is-me{outline:1px solid #d0bb6c}.game-score.is-turn{background:#17462b}
.table-chat-messages{height:95px;overflow:auto;display:flex;flex-direction:column;gap:4px;background:#07140f;border-radius:6px;padding:7px;font-size:12px;}
.table-chat-message{margin:0;overflow-wrap:anywhere;color:#f2fbf4}
.table-chat-message b{color:#e9cc75}
.table-chat-form{display:flex;gap:6px;margin-top:6px;}
.table-chat-form input{min-width:0;flex:1 1 auto;background:#071510;color:#fff;padding:8px;border:1px solid #375445;border-radius:7px;font-size:12px}
.table-chat-form button{padding:8px 12px;border-radius:7px;background:#087a4b;color:white;font-size:12px;font-weight:700}
@media(max-width:780px){#game .table-extras{grid-template-columns:1fr;}#game .table .center{padding-bottom:24px;}.discard-cards{gap:4px}.discard-card{min-width:58px;padding:5px 2px}.discard-card small{font-size:9px}.discard-tile{height:38px}.discard-tile img{width:27px;height:37px}#game .rack-tools span{display:none}#game #rackTools button{min-width:86px;padding:6px 8px;}}
