/* Keep action controls in the existing heading; retain real buttons and handlers. */
.workspace91 .hand-dock91>.hand-heading{flex-wrap:nowrap!important;min-width:0;overflow:hidden}
.workspace91 .hand-heading .quick-fixed92{order:2;margin-left:auto;min-width:0;flex:0 1 auto;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:thin}
.workspace91 .hand-heading .quick-fixed92 button{flex:0 0 auto;min-height:32px;white-space:nowrap;font-size:11px;padding:5px 9px;margin:0;max-width:none}
.workspace91 .hand-heading #end-turn-button{order:3;margin-left:4px;flex:0 0 auto;white-space:nowrap}
.workspace91 .hand-heading>.battle-rules91{order:1;flex:none}
.workspace91 #player-hand>.contract-hand84{display:grid!important;grid-template-rows:minmax(0,1fr) 25px;gap:4px;min-height:0!important;height:100%!important;overflow:hidden}
.workspace91 #player-hand>.contract-hand84>.game-card{display:flex;flex-direction:column;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:100%!important;padding:6px!important;gap:4px;overflow:hidden;box-sizing:border-box;transform:none!important}
.workspace91 #player-hand>.contract-hand84>.reward-button84{width:100%;min-width:0;min-height:0!important;height:25px!important;margin:0;padding:3px 5px;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
.range-ruler108{position:relative;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));width:100%;min-height:74px;margin:4px 0;padding:8px 0;background:#e9eef3;color:#18212a;border-radius:5px}
.range-ruler108>span{position:relative;min-width:0;text-align:center;font-size:11px;padding:24px 0 14px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(20% - 1px),#7a8897 calc(20% - 1px),#7a8897 20%) center 22px/100% 8px no-repeat}
.range-ruler108>span:before{content:'';position:absolute;left:50%;top:17px;height:18px;border-left:1px solid #334558}
.range-ruler108 b{position:relative;display:block;margin-top:10px}.range-ruler108 i,.range-ruler108 em{position:absolute;left:50%;transform:translateX(-50%);font-style:normal;font-weight:800;white-space:nowrap;font-size:10px;line-height:12px}
.range-ruler108 i{top:0;color:#086bc5}.range-ruler108 em{bottom:0;color:#c92936}.range-ruler108 .aim108:before{border-color:#0879dc;border-width:3px}.range-ruler108 .target108 b{color:#c92936}.range-ruler108 .target108:after{content:'';position:absolute;left:50%;top:19px;height:15px;border-right:2px solid #e53646}
#choice-options.one-row108{display:flex!important;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;align-items:stretch}
#choice-options.one-row108>button{flex:1 0 120px;min-width:120px;max-width:none;white-space:normal}
@media(max-width:720px){#choice-options.one-row108>button{flex:1 0 110px;min-width:110px}.workspace91 .hand-heading .quick-fixed92 button{font-size:10px;padding:5px 7px}.workspace91 .hand-heading #end-turn-button{padding:5px 9px}}

/* Match every relocated action to the adjacent end-turn control. */
.workspace91 .hand-heading .quick-fixed92 button,.workspace91 .hand-heading #end-turn-button{height:40px;min-height:40px;font-size:12px;line-height:1.2;padding:5px 16px;border:1px solid #e0eafa;border-radius:8px;background:#d1deeb;color:#142031;box-shadow:0 3px 12px #0003;font-weight:700}
.workspace91 .hand-heading .quick-fixed92 button:hover,.workspace91 .hand-heading #end-turn-button:hover{background:#e8f1fa}
