/* Light-mode text and surface contrast for the pirate arcade.
   Restrict all changes to the shared light theme; preserve the dark pirate
   scene, barrel, knives, island, and gameplay visual effects. */
html[data-theme="light"] body.standalone-hub-page-pirate .intro p strong {
  color:#1e5660;
}
html[data-theme="light"] body.standalone-hub-page-pirate .intro-tags span {
  background:#fff6df;
  border-color:#c8b58c;
  color:#345257;
}
/* The how-to panel was dark blue but inherited dark text from the light body. */
html[data-theme="light"] body.standalone-hub-page-pirate .howto.panel {
  background:linear-gradient(140deg,#fff9eb,#e8f0ec);
  border-color:#bacfc8;
  color:#294a50;
  box-shadow:0 10px 25px rgb(27 63 65 / 10%);
}
html[data-theme="light"] body.standalone-hub-page-pirate .howto :is(.eyebrow,.howto-grid b) {
  color:#765126;
}
html[data-theme="light"] body.standalone-hub-page-pirate .howto h2 {
  color:#254750;
}
html[data-theme="light"] body.standalone-hub-page-pirate .howto-grid > div {
  border-top-color:#b9cbc5;
}
html[data-theme="light"] body.standalone-hub-page-pirate .howto-grid p {
  color:#465e61;
}
html[data-theme="light"] body.standalone-hub-page-pirate :is(.fair-note,.credits,.credits p) {
  color:#465d63;
}
html[data-theme="light"] body.standalone-hub-page-pirate .credits summary {
  color:#2d535c;
}
html[data-theme="light"] body.standalone-hub-page-pirate .credits a {
  color:#225c66;
  text-underline-offset:2px;
}
/* Muted labels on the pale crew setup and scoreboard also need 4.5:1 contrast. */
html[data-theme="light"] body.standalone-hub-page-pirate .setup .panel-heading p {
  color:#475e58;
}
html[data-theme="light"] body.standalone-hub-page-pirate .setup-footer p {
  color:#495f60;
}
html[data-theme="light"] body.standalone-hub-page-pirate .player-field input::placeholder {
  color:#5e7774;
  opacity:1;
}
html[data-theme="light"] body.standalone-hub-page-pirate .sidebar .eyebrow {
  color:#735123;
}
html[data-theme="light"] body.standalone-hub-page-pirate .side-subtitle {
  color:#4b5f5b;
}
html[data-theme="light"] body.standalone-hub-page-pirate .score-micro > span {
  color:#425d60;
}
html[data-theme="light"] body.standalone-hub-page-pirate .turn-list small {
  color:#4b6057;
}
html[data-theme="light"] body.standalone-hub-page-pirate .chance-note p {
  color:#455a53;
}
html[data-theme="light"] body.standalone-hub-page-pirate .result :is(div span,p) {
  color:#644d39;
}

/* Light mode adjustments for new Hero banner, Tension HUD, Shuffle & Action Log */
html[data-theme="light"] body.standalone-hub-page-pirate .intro {
  background:
    radial-gradient(ellipse at 85% 18%, #ffffffb8 0%, transparent 52%),
    linear-gradient(135deg, #fff8e6 0%, #ede3cb 65%, #e2d5b5 100%);
  border-color: #c9a76a;
  box-shadow: 0 12px 26px rgb(25 65 72 / 12%), inset 0 1px 0 #ffffff;
}
html[data-theme="light"] body.standalone-hub-page-pirate .pirate-tension-bar {
  background: linear-gradient(135deg, #fff9ec 0%, #eee0c5 100%);
  border-color: #c8a468;
}
html[data-theme="light"] body.standalone-hub-page-pirate .tension-detail {
  color: #2e4e54;
}
html[data-theme="light"] body.standalone-hub-page-pirate .pirate-log-box {
  background: #f7ebd2;
  border-color: #c8ae7e;
}
html[data-theme="light"] body.standalone-hub-page-pirate .pirate-log-head {
  color: #2b4a50;
}
html[data-theme="light"] body.standalone-hub-page-pirate .pirate-log-head small {
  color: #4b6260;
}
html[data-theme="light"] body.standalone-hub-page-pirate .pirate-log-list li {
  background: #fffdf6;
  border-color: #d4be95;
  color: #2c474b;
}
