body[data-app="fruitmerge"] .arcade-hud {
  position:static;
  flex-shrink:0;
  transform:none;
  width:100%;
  max-width:none;
  min-height:57px;
  border:0;
  border-bottom:1px solid var(--arcade-line);
  border-radius:0;
  box-shadow:none;
  background:#f6faf7;
}
body[data-app="fruitmerge"] .arcade-stat { min-width:110px; padding:5px 20px; }
body[data-app="fruitmerge"] .arcade-stat strong { font-size:21px; }
body[data-app="fruitmerge"] .arcade-stage { height:calc(100svh - 278px); min-height:405px; }
body[data-app="fruitmerge"] .arcade-controls { padding:7px 16px 10px; gap:6px 12px; min-height:102px; }
body[data-app="fruitmerge"] .arcade-status {
  position:static;
  transform:none;
  flex:0 0 100%;
  max-width:none;
  min-height:20px;
  padding:0;
  font-size:12px;
  line-height:20px;
  color:#617d75;
  background:none;
}
.workshop-input-grid { position:absolute; z-index:2; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); grid-template-rows:repeat(5,minmax(0,1fr)); }
.workshop-input-grid button { display:block; width:100%; height:100%; margin:0; padding:0; border:0; border-radius:0; background:transparent; touch-action:manipulation; }
.workshop-input-grid button:focus-visible { outline:3px solid #247f77; outline-offset:-5px; }
.workshop-input-grid button[aria-disabled="true"] { cursor:default; }
.workshop-undo { width:44px; min-width:44px; padding:0; }
.workshop-undo span { display:none; }
body[data-app="fruitmerge"] .arcade-select select { max-width:184px; }
@media(max-width:640px) {
 body[data-app="fruitmerge"] .arcade-stage { height:calc(100svh - 265px); min-height:420px; }
 body[data-app="fruitmerge"] .arcade-stat { min-width:90px; padding:5px 15px; }
 body[data-app="fruitmerge"] .arcade-select { gap:6px; }
 body[data-app="fruitmerge"] .arcade-select>span { display:none; }
 body[data-app="fruitmerge"] .arcade-select select { max-width:166px; }
 body[data-app="fruitmerge"] .arcade-controls { gap:5px 8px; min-height:102px; }
}
@media(max-height:500px) and (orientation:landscape) {
 body[data-app="fruitmerge"] .arcade-hud { position:absolute; top:57px; left:12px; width:auto; max-width:calc(50% - 150px); min-width:94px; min-height:0; flex-direction:column; border:0; border-radius:6px; z-index:4; }
 body[data-app="fruitmerge"] .arcade-stat { border-right:0; padding:5px 12px; min-width:86px; width:100%; border-bottom:1px solid var(--arcade-line); }
 body[data-app="fruitmerge"] .arcade-stat:last-child { border-bottom:0; }
 body[data-app="fruitmerge"] .arcade-stat strong { font-size:18px; }
 body[data-app="fruitmerge"] .arcade-stage { height:calc(100svh - 121px); min-height:260px; }
 body[data-app="fruitmerge"] .arcade-controls { min-height:73px; padding:3px 12px 6px; gap:2px 10px; }
 body[data-app="fruitmerge"] .arcade-status { font-size:11px; min-height:16px; line-height:16px; }
 body[data-app="fruitmerge"] .arcade-controls .arcade-button { min-height:36px; padding:6px 12px; }
 body[data-app="fruitmerge"] .arcade-select select { min-height:36px; padding-top:4px; padding-bottom:4px; }
 body[data-app="fruitmerge"] .arcade-dialog { padding:14px; }
 body[data-app="fruitmerge"] .arcade-dialog h2 { font-size:18px; margin-bottom:8px; }
 body[data-app="fruitmerge"] .arcade-result-score { font-size:28px; margin:6px 0; }
 body[data-app="fruitmerge"] .arcade-result-detail { margin:8px 0; font-size:12px; }
 body[data-app="fruitmerge"] .arcade-start { min-height:36px; padding:7px 12px; }
}
