/* C64 Dungeon Carnage V10.42 — stable startup first visual state.
 *
 * The canonical page presents the release loader before any runtime script can
 * execute. These menu declarations mirror the visible part of the retained R55
 * compatibility owner so the menu underneath the loader already has its final
 * button presentation. When R55 runs later it may reapply the same values, but
 * it must not create a visible colour/text-layout transition at reveal time.
 */
body[data-run-active="false"] #menu .game-mode-buttons button{
  color:#f5eefb!important;
  text-shadow:none!important;
  transform:none!important;
  filter:none!important;
  -webkit-filter:none!important;
}
body[data-run-active="false"] #menu .game-mode-buttons button.primary{
  color:#f5eefb!important;
}
body[data-run-active="false"] #menu .game-mode-buttons button::before{
  content:attr(data-menu-kicker)!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:9px!important;
  bottom:auto!important;
  display:block!important;
  margin:0!important;
  font-size:7.5px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.8px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:none!important;
  transform:none!important;
  filter:none!important;
}
body[data-run-active="false"] #menu .game-mode-buttons button::after{
  content:attr(data-menu-copy)!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:auto!important;
  bottom:8px!important;
  display:block!important;
  margin:0!important;
  max-height:2.3em!important;
  font-size:7px!important;
  font-weight:400!important;
  line-height:1.15!important;
  letter-spacing:.35px!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  text-shadow:none!important;
  transform:none!important;
  filter:none!important;
}


/* R93 first-paint card geometry. The final three-row menu is CSS-owned,
 * not repaired by a later compatibility script. */
html body[data-run-active="false"] #menu .game-mode-buttons #solo-btn,
html body[data-run-active="false"] #menu .game-mode-buttons #tutorial-zone-btn,
html body[data-run-active="false"] #menu .game-mode-buttons #continue-save-btn{
  box-sizing:border-box!important;
  position:relative!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:28px 12px 24px!important;
  overflow:hidden!important;
  white-space:normal!important;
  text-overflow:clip!important;
  text-align:left!important;
  line-height:1.15!important;
  text-shadow:none!important;
  transform:none!important;
  filter:none!important;
  -webkit-filter:none!important;
}
html body[data-run-active="false"] #menu .game-mode-buttons #solo-btn{min-height:82px!important;font-size:10.5px!important}
html body[data-run-active="false"] #menu .game-mode-buttons #continue-save-btn{min-height:78px!important;font-size:10px!important}
html body[data-run-active="false"] #menu .game-mode-buttons #tutorial-zone-btn{min-height:70px!important;font-size:9px!important}
@media(max-width:900px),(pointer:coarse){
  html body[data-run-active="false"] #menu .game-mode-buttons #solo-btn,
  html body[data-run-active="false"] #menu .game-mode-buttons #tutorial-zone-btn,
  html body[data-run-active="false"] #menu .game-mode-buttons #continue-save-btn{
    min-height:78px!important;
    padding:29px 12px 25px!important;
  }
}

/* R93 single-owner menu colour contract.
 * These are the settled card colours and must exist before any runtime code.
 * No script is allowed to replace a solid legacy fill after first paint. */
html body[data-run-active="false"] #menu #solo-btn{
  border-color:#ffe477!important;
  background:linear-gradient(135deg,#6d4a12 0%,#39230b 48%,#7e4717 100%)!important;
  color:#fff4c1!important;
  box-shadow:inset 0 1px rgba(255,255,255,.11),inset 0 0 22px rgba(255,216,90,.08),4px 4px 0 rgba(0,0,0,.72)!important;
}
html body[data-run-active="false"] #menu #tutorial-zone-btn{
  border-color:#51d7e9!important;
  background:linear-gradient(135deg,#123b49 0%,#091a22 52%,#17354a 100%)!important;
  color:#c9fbff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),inset 0 0 20px rgba(108,236,255,.07),4px 4px 0 rgba(0,0,0,.72)!important;
}
html body[data-run-active="false"] #menu #continue-save-btn{
  border-color:#61d88a!important;
  background:linear-gradient(135deg,#17442b 0%,#091a11 52%,#20553a 100%)!important;
  color:#caffd9!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),inset 0 0 20px rgba(114,255,155,.07),4px 4px 0 rgba(0,0,0,.72)!important;
}
