/* Board environments only. The selected decoded texture is assigned by the
   current UiTheme owner; CSS never preloads the other three full-size plates.
   Keep every V25 control, grid, hitbox, port and board-pan dimension intact. */
.game[data-region] {
  --harbor-water-base:#10b7b4;
  --harbor-ambient-top:transparent;
  --harbor-ambient-bottom:transparent;
  position:relative;
}
.game[data-region="tropical"] {
  --harbor-water-base:#10b7b4;
  --harbor-ambient-top:rgba(93,204,186,.015);
  --harbor-ambient-bottom:rgba(103,186,155,.055);
}
.game[data-region="coral"] {
  --harbor-water-base:#36bfc2;
  --harbor-ambient-top:rgba(149,206,213,.065);
  --harbor-ambient-bottom:rgba(105,193,207,.12);
}
.game[data-region="wreck"] {
  --harbor-water-base:#319b9f;
  --harbor-ambient-top:rgba(144,166,170,.06);
  --harbor-ambient-bottom:rgba(96,133,139,.13);
}
.game[data-region="frost"] {
  --harbor-water-base:#79c5ce;
  --harbor-ambient-top:rgba(204,226,233,.12);
  --harbor-ambient-bottom:rgba(176,209,223,.17);
}
.game[data-region]::before {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(180deg,var(--harbor-ambient-top),transparent 36%,var(--harbor-ambient-bottom));
}
.game[data-region] .board { background-color:var(--harbor-water-base); }
.game[data-region] .board::before {
  background-image:var(--harbor-region-image,none);
  background-position:center; background-size:cover; background-repeat:no-repeat;
}
.game[data-region] .board-stage.pan-harbor .board-wrap { background-color:#e7f5ee; }
.game .harbor-region-label {
  color:var(--v25-muted,#647c80); font:400 10px/1.1 'Bree Serif',Georgia,serif;
  letter-spacing:.15px; text-align:center; pointer-events:none;
}
.game .brand { position:relative; }
.game .piece canvas[data-support-ready="true"] { filter:none; }
.game[data-rhythm="blockade"] .harbor-region-label { color:#9b5135; }
.game[data-rhythm="breather"] .harbor-region-label { color:#33796b; }
.game .brand>.harbor-region-label {
  position:absolute; left:50%; bottom:-13px; transform:translateX(-50%);
  width:max-content; max-width:230px; white-space:nowrap;
  padding:0 4px; background:none; text-shadow:0 1px 1px #fafff3;
}
@media(max-width:350px) {
  .game .brand>.harbor-region-label { font-size:9px; max-width:185px; }
}
