/* Claim controls are normal-flow below the hand. Their space never overlays faces. */
.immersive .scene-3d .player .move:has(.actions:not(:empty)){
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 grid-template-areas:"actions actions" "status clock";
 max-width:800px;
 margin-inline:auto;
 gap:2px 8px;
 align-items:center;
}
.immersive .scene-3d .player .move:has(.actions:not(:empty)) #status{
 grid-area:status;
 text-align:left;
 min-width:0;
 line-height:1.15;
}
.immersive .scene-3d .player .move:has(.actions:not(:empty)) .turn-clock{grid-area:clock;justify-self:end;margin:0}
.immersive .scene-3d .player .move .actions:not(:empty){
 grid-area:actions;
 min-width:0;
 width:100%;
 display:flex;
 flex-wrap:wrap;
 justify-content:center;
 align-items:center;
 gap:5px;
 padding:3px 2px;
}
.immersive .scene-3d .player .move .actions .action{
 min-height:48px;
 min-width:min(77px, 100%);
 max-width:100%;
 white-space:normal;
 padding:5px 13px;
 font:800 clamp(.94rem,2.2vw,1.13rem)/1.08 system-ui,sans-serif;
 border:1px solid #bed5acb0;
 background:#234c3c;
 color:#fff9e8;
 box-shadow:inset 0 1px #ffffff25,0 1px 2px #05130d80;
 touch-action:manipulation;
}
.immersive .scene-3d .player .move .actions .action.win{
 background:#f6d18d;
 color:#23160a;
 border-color:#fff0ba;
}
.immersive .scene-3d .player .move .actions .action.pass{
 background:#18382b;
 color:#e4eee2;
 border-color:#80978a;
}
.immersive .scene-3d .player .move .actions .action:focus-visible{
 outline:2px solid #fff3c4;
 outline-offset:2px;
}
.immersive .scene-3d .player .move .actions .action:active{filter:brightness(.9)}
.game-landscape-compact .immersive .scene-3d .player .move .actions .action{
 min-width:64px;
 min-height:44px;
 padding-inline:8px;
 font-size:.98rem;
}
.game-landscape-compact .immersive .scene-3d .player .move .actions:not(:empty){gap:4px;padding:2px 0}
.game-landscape-compact .immersive .scene-3d .player .move .actions .action{
 flex:1 1 0;
 min-width:0;
 max-width:116px;
 padding-inline:3px;
 overflow-wrap:anywhere;
}
/* On the shortest share of phones, put the clock beside controls, not on another row. */
@media (orientation:portrait) and (max-width:350px), (orientation:landscape) and (max-height:350px){
 .game-landscape-compact .immersive .scene-3d .player .move:has(.actions:not(:empty)){
  grid-template-areas:"actions clock";
  gap:0 5px;
 }
 .game-landscape-compact .immersive .scene-3d .player .move:has(.actions:not(:empty)) #status{
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
 }
}
.dora-indicators:not([hidden]){display:flex;align-items:center;justify-content:center;gap:.28rem;min-height:1.35rem;position:relative;z-index:1}
.dora-indicators small{color:#fff;font-size:.64rem;line-height:1.1;white-space:nowrap}
.dora-indicators .tile{--tileW:clamp(.7rem,2vw,1.05rem);width:var(--tileW);height:calc(var(--tileW)*1.39);padding:0;box-shadow:none}
