/* SEA OF WRATH download dock V2 — login only; lobby and game untouched.
   Three equal horizontal cells on the open pier area BELOW the login panel.
   Desktop: Windows has a real binary. Mobile platforms are visibly disabled. */
body.sow-v4 .sow-login-stage .sow-platform-dock {
  position: absolute;
  z-index: 12;
  top: 84%;
  left: 10%;
  width: 80%;
  height: 7.6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2%;
  box-sizing: border-box;
  align-items: stretch;
}
body.sow-v4 .sow-login-stage .sow-platform-download {
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: .35em .65em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .58em;
  border: 2px solid #c99a4d;
  border-radius: 6px;
  background: linear-gradient(160deg, #79451e 0%, #44240e 55%, #241207 100%);
  box-shadow: 0 3px 10px #080704aa, inset 0 1px 2px #ffe5a343;
  color: #fff0ca;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 2px 2px #190b04;
  font: 800 clamp(12px, 1.22cqw, 23px)/1.15 Georgia, serif;
  letter-spacing: .025em;
}
body.sow-v4 .sow-login-stage .sow-platform-icon {
  flex: none;
  font: 800 1.4em/1 Arial, sans-serif;
  color: #f1c377;
}
body.sow-v4 .sow-login-stage .sow-platform-copy {min-width: 0;}
body.sow-v4 .sow-login-stage .sow-platform-download small {
  display: block;
  margin-top: .3em;
  color: #e1bf8a;
  font: 500 .66em/1.1 Arial, sans-serif;
  letter-spacing: .015em;
  white-space: nowrap;
}
body.sow-v4 .sow-login-stage a.sow-platform-download {cursor: pointer;}
body.sow-v4 .sow-login-stage a.sow-platform-download:hover {filter: brightness(1.16);}
body.sow-v4 .sow-login-stage a.sow-platform-download:focus-visible {
  outline: 3px solid #ffdf9a;
  outline-offset: 3px;
}
body.sow-v4 .sow-login-stage button.sow-platform-pending:disabled {
  opacity: .79;
  color: #e8cfa4;
  background: linear-gradient(160deg, #513922, #2c2117 65%, #1e1711);
  border-color: #907047;
  cursor: not-allowed;
}
body.sow-v4 .sow-login-stage button.sow-platform-pending:disabled .sow-platform-icon {
  color: #c5a278;
}
@media (max-width: 850px) {
  /* The 900px artwork is deliberately clipped on narrow screens.
     Use viewport coordinates for the dock so all three choices remain visible. */
  body.sow-v4 .sow-login-stage .sow-platform-dock {
    position: fixed;
    top: auto;
    bottom: max(9px, env(safe-area-inset-bottom, 0px));
    left: 7px;
    right: 7px;
    width: auto;
    height: 58px;
    gap: 6px;
  }
  body.sow-v4 .sow-login-stage .sow-platform-download {
    border-width: 1px;
    padding: 5px 3px;
    gap: 3px;
    border-radius: 4px;
    font: 800 10px/1.1 Arial, sans-serif;
    letter-spacing: 0;
  }
  body.sow-v4 .sow-login-stage .sow-platform-icon {
    font-size: 13px;
  }
  body.sow-v4 .sow-login-stage .sow-platform-download small {
    font-size: 9px;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.sow-v4 .sow-login-stage .sow-platform-download {transition: none;}
}
