.ringhook-scene{color:#f6faff;width:100%;min-width:0}
.ringhook-views{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,960px);padding:4px 0 10px;min-width:0;box-sizing:border-box}
.ringhook-view-group{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%}
.ringhook-view,.ringhook-hint{min-height:44px;padding:9px 15px;border:1px solid #8caad74d;border-radius:10px;background:#1c3559;color:#d8e9ff;font:700 14px/1.3 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.ringhook-view[aria-pressed=true]{background:#bcecff;color:#123954;border-color:#dbf6ff}
.ringhook-hint{background:transparent;color:#ffe48c;border-color:#ddbd6755;white-space:nowrap}
.ringhook-stage{position:relative;isolation:isolate;background:#cceaf1;overflow:hidden;border-radius:14px}
.ringhook-canvas{display:block;width:100%;height:auto;outline:none;touch-action:none;image-rendering:auto}
.ringhook-tip{position:absolute;z-index:2;left:14px;right:14px;top:14px;margin:auto;max-width:640px;padding:14px 18px;border:1px solid #e5edff69;border-radius:12px;background:#102c4df2;color:#f5fbff;box-shadow:0 8px 28px #17345633;font:500 16px/1.65 system-ui,sans-serif;pointer-events:none}
.ringhook-controls{width:min(100%,680px);display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.ringhook-hold-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}
.ringhook-control-group{min-width:0}
.ringhook-move,.ringhook-retry{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:64px;padding:10px 20px;border:2px solid #ffe38d;border-radius:15px;background:#ffcf3f;color:#18354c;box-shadow:0 4px 0 #ad7927;font:700 18px/1.3 system-ui,sans-serif;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.ringhook-move[data-ringhook-axis=z]{background:#6bdfd8;border-color:#b9fff6;box-shadow:0 4px 0 #238f98}
.ringhook-move:disabled{background:#293c57!important;color:#96abc2!important;border-color:#546b8455!important;box-shadow:0 3px 0 #142840!important;cursor:default;opacity:.65}
.ringhook-move.is-held{transform:translateY(3px);box-shadow:0 1px 0 #ad7927}
.ringhook-move[data-ringhook-axis=z].is-held{box-shadow:0 1px 0 #238f98}
.ringhook-move strong{font:800 18px/1.3 system-ui,sans-serif}
.ringhook-timing{font:650 14px/1.3 ui-monospace,monospace;font-variant-numeric:tabular-nums;min-width:54px;white-space:nowrap}
.ringhook-control-caption{font:500 14px/1.5 system-ui,sans-serif;color:#b9cbe1;margin:5px 0 0;text-align:center;max-width:100%}
.ringhook-control-help{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-width:0}
.ringhook-control-help .ringhook-control-caption{margin:0;min-width:0}
.ringhook-control-help .ringhook-hint{flex:none}
.ringhook-feedback{width:min(100%,960px);margin:auto;text-align:center;min-width:0}
.ringhook-status{font:650 16px/1.5 system-ui,sans-serif;margin:0;color:#edf7ff;overflow-wrap:anywhere}
.ringhook-history{font:500 14px/1.5 system-ui,sans-serif;margin:4px 0 0;color:#9bc9df;font-variant-numeric:tabular-nums}
.ringhook-host [hidden]{display:none!important}
.ringhook-host button:focus-visible,.ringhook-canvas:focus-visible{outline:3px solid #fff7a0;outline-offset:3px}
#game-host .ringhook-scene .arena-dock .ringhook-move{touch-action:none;min-height:64px!important;border-radius:15px!important}
#game-host .ringhook-scene .arena-dock .ringhook-retry{min-height:56px!important;border-radius:15px!important}
#game-host .ringhook-scene .arena-workspace{padding:8px 18px 12px;gap:0;overflow:hidden}
#game-host .ringhook-scene .arena-dock{padding:10px 18px 9px}
#game-host .ringhook-scene .arena-feedback{padding:6px 16px 12px;box-sizing:border-box}
@media(max-width:620px){
 .ringhook-views{gap:6px;padding-bottom:8px}.ringhook-view-group{gap:4px}
 .ringhook-view,.ringhook-hint{padding:9px 10px;font-size:14px;min-height:44px}
 .ringhook-view{flex:1;overflow-wrap:normal;word-break:normal;padding-inline:6px;white-space:normal}
 .ringhook-hint{white-space:normal;max-width:104px}
 .ringhook-move{gap:7px;flex-direction:column;min-height:72px;padding:7px 10px}
 .ringhook-move strong{font-size:17px}.ringhook-timing{font-size:14px}
 #game-host .ringhook-scene .arena-dock .ringhook-move{min-height:72px!important}
 .ringhook-hold-wrap{gap:12px}.ringhook-tip{left:8px;right:8px;top:8px;padding:10px 12px;font-size:14px;line-height:1.6}
 .ringhook-status{font-size:14px;line-height:1.5}.ringhook-control-caption{font-size:14px}
 #game-host .ringhook-scene .arena-workspace{padding:5px 10px 9px}
 #game-host .ringhook-scene .arena-dock{padding:9px 14px 7px}
 #game-host .ringhook-scene .arena-feedback{padding:4px 12px 9px}
}
@media(max-height:520px) and (min-width:621px){
 #game-host .ringhook-scene{grid-template-columns:minmax(0,1fr) 270px!important;grid-template-rows:minmax(0,1fr) auto!important}
 #game-host .ringhook-scene .arena-workspace{grid-row:1/3;grid-column:1;padding:3px 10px 7px}
 #game-host .ringhook-scene .arena-dock{grid-column:2;grid-row:1;align-items:center;border-top:0;border-left:1px solid #bde0ff22;padding:10px;max-height:none;overflow:auto}
 #game-host .ringhook-scene .arena-feedback{grid-column:2;grid-row:2;padding:6px 10px 12px;max-height:none;overflow:visible}
 .ringhook-views{padding-bottom:5px;gap:5px}.ringhook-view,.ringhook-hint{padding:6px 9px}
 .ringhook-hold-wrap{grid-template-columns:1fr;gap:10px}.ringhook-move{min-height:57px;gap:8px;padding:8px 12px}
 .ringhook-control-help{flex-wrap:wrap;gap:7px}
 .ringhook-status,.ringhook-control-caption{font-size:14px}.ringhook-history{font-size:13px}
 #game-host .ringhook-scene .arena-dock .ringhook-move{min-height:57px!important}
}
