/* Deep Sea Fishing Boat 3D : page-specific styles (shared styles come from the hub kit) */
#game-root .sim-controls-help { margin-top: 14px; }
.ds-status { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 4px; padding-top: 4px; font: 800 12.5px system-ui, sans-serif; color: #fff; white-space: nowrap; }
/* sonar screen */
.ds-sonar { position: absolute; right: 12px; bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.ds-sonar canvas { position: static; inset: auto; width: 150px; height: 150px; border-radius: 50%; border: 2px solid rgba(74, 222, 128, .55); box-shadow: 0 4px 16px rgba(0, 0, 0, .4); }
.ds-sonar span { background: rgba(8, 16, 28, .78); border-radius: 999px; padding: 2px 9px; font: 800 11px system-ui, sans-serif; color: #bbf7d0; white-space: nowrap; }
/* the fight: tension bar with a green zone */
.ds-fight { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); width: min(360px, 80%); background: rgba(8, 16, 28, .85); border: 2px solid #38bdf8; border-radius: 14px; padding: 8px 12px; pointer-events: none; color: #fff; text-align: center; }
.ds-fight[hidden] { display: none; }
.ds-fight__t { display: block; font: 900 17px system-ui, sans-serif; margin-bottom: 6px; }
.ds-ten { position: relative; height: 16px; border-radius: 8px; background: linear-gradient(90deg, #f59e0b 0 8%, #16a34a 8% 80%, #dc2626 80%); }
.ds-ten__n { position: absolute; top: -4px; width: 6px; height: 24px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .7); }
.ds-ten__n.is-bad { background: #fde047; }
.ds-fight__row { display: flex; justify-content: space-between; margin-top: 6px; font: 800 12.5px system-ui, sans-serif; }
.ds-fight__h { display: block; margin-top: 3px; font: 700 12px system-ui, sans-serif; opacity: .85; }
/* catch card */
.ds-card { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); pointer-events: none; }
.ds-card[hidden] { display: none; }
.ds-card__in { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(8, 16, 28, .88); border: 2px solid #fde047; border-radius: 16px; padding: 10px 22px; color: #fff; animation: ds-in .35s ease-out; }
.ds-card__i { font-size: 40px; line-height: 1.1; }
.ds-card__in b { font: 900 19px system-ui, sans-serif; } .ds-card__in em { font-style: normal; color: #fde047; font-size: 13px; }
.ds-card__in span { font: 700 14px system-ui, sans-serif; } .ds-card__in small { opacity: .75; }
@keyframes ds-in { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* fish log on the setup screen */
.ds-log { margin-top: 14px; }
.ds-log h3 { margin: 0 0 8px; }
.ds-log__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ds-log__item { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.ds-log__item span { font-size: 22px; } .ds-log__item b { font-size: 14px; } .ds-log__item small { font-size: 11.5px; opacity: .75; }
.ds-log__item.is-got { border-color: rgba(253, 224, 71, .45); background: rgba(253, 224, 71, .07); }
.ds-touch .sim-tbtn[data-id="act"] { order: 2; margin-left: auto; background: rgba(14, 116, 144, .8); min-width: 76px; }
.sim-has-touch .ds-sonar { bottom: auto; top: 196px; right: 8px; }
.sim-has-touch .ds-sonar canvas { width: 104px; height: 104px; }
@container (max-width: 480px) {
  .ds-status { font-size: 10.5px; }
  .ds-sonar { bottom: auto; top: 196px; right: 8px; }
  .ds-sonar canvas { width: 96px; height: 96px; }
  .ds-sonar span { font-size: 9.5px; }
  .ds-fight { top: 40%; padding: 6px 10px; } .ds-fight__t { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ds-card__in { animation: none; } }
