.play-stage[data-playing="harbor-hook"] { background: #e2e9db; padding: clamp(6px,1.6vw,22px); }
.hk-game { max-width: 1320px; margin: auto; color: #253638; border: 2px solid #263a3b; border-radius: 7px; overflow: hidden; background: #f7edd4; }
.hk-game [hidden] { display: none !important; }
.hk-header { color: #fcf4d5; background: #203f49; padding: 11px 17px; display: flex; align-items: center; gap: 14px; justify-content: space-between; border-bottom: 3px solid #d69a51; }
.hk-header small, .hk-report small { display: block; text-transform: uppercase; letter-spacing: .09em; font: 700 10px var(--mono); color: #efcf89; }
.hk-header h2 { font: 400 clamp(19px,2.2vw,31px)/1.1 var(--display); letter-spacing: -.045em; margin: 3px 0 0; }
.hk-count { font: 700 12px/1.5 var(--mono); display: grid; text-align: right; }
.hk-count strong { color: #f1d087; font-size: 10px; }
.hk-layout { display: grid; grid-template-columns: minmax(0,2.1fr) minmax(235px,.9fr); align-items: start; gap: 13px; padding: clamp(8px,1.5vw,17px); }
.hk-world, .hk-desk { min-width: 0; }
.hk-scene { position: relative; overflow: hidden; border: 3px solid #293b41; border-radius: 4px; background: #75baa9; }
.hk-scene canvas { display: block; width: 100%; height: auto; aspect-ratio: 384/176; image-rendering: pixelated; }
.hk-scene canvas:focus-visible { outline-offset: -4px; }
.hk-weather { position: absolute; top: 15%; right: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px; background: #fffae4eF; color: #334044; border: 1px solid #41545b; border-radius: 3px; font: 700 clamp(9px,.9vw,12px) var(--mono); pointer-events: none; }
.hk-weather i { display: inline-block; width: 8px; height: 6px; background: #df9552; border: 1px solid #5c5350; }
.hk-paused { position: absolute; inset: 0; display: grid; place-items: center; background: #223b4a77; color: white; text-shadow: 2px 2px #253844; font: 400 clamp(22px,4vw,38px) var(--display); }
.hk-spotter { display: flex; flex-wrap: wrap; gap: 3px 10px; align-items: center; padding: 7px 9px; background: #f0e5bd; border: 1px solid #aa9d7b; border-top: none; }
.hk-spotter > span { font: 700 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.hk-spotter strong { font-size: 14px; line-height: 1.2; }
.hk-spotter [data-grade="center"] { color: #236040; }
.hk-spotter [data-hk-rope] { flex-basis:100%; font-size: 13px; font-weight: 700; color: #694916; }
.hk-request { display: inline-block; margin-top: 3px; padding: 2px 4px; border: 1px solid #ad8540; border-radius: 3px; background: #ffdf8e; color:#554325; font-size: 12px; font-weight: 700; }
.hk-primary { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr); gap: 7px; margin-top: 9px; }
.hk-game button { touch-action: manipulation; color: #27383a; font: 700 15px/1.15 Barlow,sans-serif; border: 2px solid #394445; border-radius: 4px; cursor: pointer; }
.hk-primary button, .hk-report button { min-height: 47px; padding: 5px 8px; background: #f6e8bb; box-shadow: 2px 2px #796e58; }
.hk-primary [data-hk="drop"], .hk-report button { background: #ffd075; }
.hk-primary button:active:enabled, .hk-report button:active { transform: translateY(1px); box-shadow: none; }
.hk-game button:disabled { opacity: .58; box-shadow: none; cursor: default; }
.hk-primary kbd { font: 700 9px var(--mono); border: 1px solid #8e784d; border-radius: 3px; padding: 1px 3px; vertical-align: .1em; }
.hk-desk { padding: 9px 11px 11px; border: 1.5px solid #ad9c79; border-radius: 4px; background: #fff8e7; }
.hk-desk h3 { margin: 0 0 7px; font: 400 20px var(--display); letter-spacing: -.05em; }
.hk-orders { display: grid; gap: 5px; }
.hk-order { display: flex; gap: 7px; align-items: flex-start; padding: 5px 0; border-top: 1px dashed #c9baa0; }
.hk-flag { display: inline-grid; place-items: center; min-width: 24px; padding: 3px 4px; background: var(--boat); border: 1px solid #3d4645; color: white; border-radius: 2px; font: 700 10px var(--mono); }
.hk-order b { font-size: 14px; }
.hk-order p { margin: 1px 0 0; line-height: 1.2; font-size: 14px; }
.hk-order small { margin-left: auto; font: 700 10px var(--mono); }
.hk-loads { min-width: 0; border: 0; margin: 7px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hk-loads legend { padding: 0; margin-bottom: 5px; color: #5d5148; font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.hk-loads button { display: flex; gap: 5px; align-items: center; padding: 3px 6px; min-height: 40px; background: #fff3d6; border: 1px solid #b1a185; }
.hk-loads button[aria-pressed="true"] { box-shadow: inset 3px 0 #47785e; border-color: #46725c; background: #e2edcd; }
.hk-feedback { font-size: 14px; line-height: 1.3; padding: 7px 8px; min-height: 48px; margin: 8px 0 0; background: #e6eddd; border-left: 3px solid #61876a; }
.hk-modes { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.hk-modes button { min-height: 34px; padding: 5px 7px; background: #f8f2df; font-size: 13px; border: 1px solid #9f987e; }
.hk-modes button[aria-pressed="true"], .hk-modes [data-hk="tick"] { background: #ffe0a0; border-color: #8d794a; }
.hk-report { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 12px; background: #e6efcb; border: 2px solid #56755a; border-radius: 5px; }
.hk-report small { color: #546245; }.hk-report h3 { margin: 2px 0; font: 400 19px var(--display); letter-spacing: -.045em; }.hk-report p { margin: 0; font-size: 14px; }
@media (max-width:740px) {
  .hk-layout { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .hk-loads { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hk-loads button { justify-content: center; }
}
@media (max-width:510px) {
  .hk-header { padding: 7px 9px; }.hk-header small { font-size: 8px; }.hk-count { font-size: 10px; }
  .hk-layout { padding: 6px; gap: 9px; }
  .hk-desk { padding: 7px; }.hk-desk h3 { font-size: 17px; }
  .hk-scene { border-width: 2px; }.hk-primary { gap: 5px; }.hk-primary kbd { display: none; }
  .hk-primary button { white-space: nowrap; padding-inline: 3px; font-size: 14px; }
  .hk-spotter { padding: 5px; gap: 4px 6px; }
  .hk-modes button, .hk-loads button { min-height: 44px; }
  .hk-loads button { padding: 3px; gap: 2px; font-size: 13px; flex-wrap: wrap; }.hk-loads .piece { width: 19px; height: 19px; }
  .hk-report { align-items: flex-start; flex-direction: column; margin: 0 6px 6px; }
}
@media (pointer:coarse) { .hk-loads button, .hk-modes button { min-height: 44px; } }
