/* Keep the existing table and fan geometry; emphasize only selected cards. */
body.v101110-table #gameStage #playerHand > .card[aria-pressed='true'] {
  outline:2px solid #ffe6a0;outline-offset:-2px;
  box-shadow:inset 0 0 0 3px #ba852d88,0 0 12px #f6c76688,0 5px 12px #0009 !important;
}
/* Keep the score progress bar, without a numeric target badge or target notice. */
body.v10114 #resultModal .round-result-head > b,
body.v10114 #resultModal #targetUpdate { display:none !important; }
body.v10114 #resultModal .standing-progress { display:block !important;grid-column:4;min-width:0;width:100%; }
body.v10114 #resultModal .v16-score-head,
body.v10114 #resultModal .standing {
  display:grid !important;grid-template-columns:20px 34px minmax(70px,1fr) minmax(80px,1.4fr) 76px 58px !important;
  align-items:center;gap:8px !important;
}
body.v10114 #resultModal .v16-score-head { padding:0 12px;color:#c9b58b;font-size:11px; }
body.v10114 #resultModal .v16-score-head b:nth-last-child(-n+2) { text-align:right; }
body.v10114 #resultModal .standing-score { display:contents !important; }
body.v10114 #resultModal .round-gain { grid-column:5;justify-self:end;color:#94ddaa;font-size:14px; }
body.v10114 #resultModal .standing-score > b { grid-column:6;justify-self:end;font-size:19px; }
body.v10114 #resultModal .standing-player { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
body.v10114 #resultModal .standing { animation:none !important;opacity:1 !important;transform:none !important; }
body.v10114 #resultModal #newRoundBtn { min-height:44px; }

/* Legacy state is still owned by the engine. This is its small visual mirror. */
body.v10114 #connectionPill { display:none !important; }
#connectionStatusV16 {
  position:fixed;right:calc(var(--v14-safe-right,0px) + 8px);bottom:calc(var(--v14-safe-bottom,0px) + 4px);
  max-width:min(190px,28vw);padding:3px 8px;border:1px solid #bc975a88;border-radius:999px;
  color:#f0d8a0;background:#271918ee;font:600 10px/1.2 Manrope,sans-serif;z-index:150;pointer-events:none;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#connectionStatusV16[hidden] { display:none; }
#connectionStatusV16.offline { color:#f5bcac;border-color:#b9775c; }
@media (max-height:360px) and (orientation:landscape) {
  body.v10114 #resultModal .v16-score-head,body.v10114 #resultModal .standing { grid-template-columns:18px 26px minmax(60px,1fr) minmax(55px,1.2fr) 68px 46px !important;gap:6px !important; }
  body.v10114 #resultModal .v16-score-head { padding-inline:8px;font-size:10px; }
  body.v10114 #resultModal .round-gain { font-size:12px; }
  body.v10114 #resultModal .standing-score > b { font-size:16px; }
}
