/* ==========================================================
   SAILING MINIGAME & STORM VOYAGE STYLES
   ========================================================== */

.sailing-screen-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #020617;
  border: 2px solid var(--brass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(2, 132, 199, 0.3);
}

.sailing-canvas {
  display: block;
  width: 100%;
  height: 520px;
  background: #051329;
}

/* Sailing Top HUD Overlay */
.sailing-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.sailing-meters-col {
  display: flex;
  gap: 16px;
  pointer-events: auto;
}

.ship-stat-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 120px;
}

.ship-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.ship-stat-track {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ship-stat-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.2s ease;
}

.ship-stat-fill.hull {
  background: linear-gradient(90deg, #ef4444, #10b981);
}

.ship-stat-fill.bilge {
  background: linear-gradient(90deg, #38bdf8, #ef4444);
}

.ship-stat-fill.panic {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

/* Voyage Progress Track */
.voyage-progress-container {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voyage-endpoints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--brass-light);
  font-weight: 600;
}

.voyage-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 99px;
  position: relative;
  border: 1px solid var(--brass);
  overflow: hidden;
}

.voyage-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  width: 0%;
  transition: width 0.1s linear;
}

/* Bottom Helm & Action Controls Overlay */
.sailing-controls-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
}

.helm-steering-group {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.helm-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid var(--brass);
  color: var(--brass-light);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  font-size: 1.4rem;
  transition: all 0.15s ease;
}

.helm-btn:active {
  background: var(--brass);
  color: #000;
  transform: scale(0.95);
}

.helm-btn span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.action-buttons-group {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.action-storm-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.15s ease;
}

.action-storm-btn:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: var(--brass);
}

.action-storm-btn.pump {
  border-color: var(--sea-light);
  color: #bae6fd;
}

.action-storm-btn.calm {
  border-color: var(--warning-amber);
  color: #fde68a;
}

/* Control Hint Bar */
.sailing-hints {
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}
