/* Title illustration and control plates are native ImageGen raster artwork. */
#menu .cover-art { background-image: url('assets/title/title-background-v2.png'); background-size: cover; background-position: center; opacity: 1; }
#menu .cover-shade { display: none; }
#menu .menu-content { inset: 4% auto 4% 3%; width: 34%; padding: 0; gap: .7cqw; }
#menu .title-brand h1 { margin: .5cqw 0; }
#menu .title-logo { width: 92%; filter: none; }
#menu .chapter-label { color: #ebc78b; font: 800 clamp(7px, .8cqw, 12px)/1.3 system-ui, sans-serif; letter-spacing: .18em; }
#menu .story { color: #efe8d8; font-size: clamp(9px, 1.15cqw, 16px); line-height: 1.35; margin: .35cqw 0 .6cqw; }
#menu .title-options { display: flex; flex-direction: column; gap: .65cqw; padding: 0; overflow: auto; scrollbar-width: none; }
#menu .title-options > * { flex-shrink: 0; }
#menu button, #menu .coop-choice { background: transparent url('assets/title/title-button-v2.png') center / 100% 180% no-repeat; border: 0; border-radius: 0; box-shadow: none; color: #f7e2b8; text-shadow: 0 1px 2px #000; }
#menu button:hover { background-color: transparent; filter: brightness(1.15); transform: none; }
#menu button:focus-visible, #menu .coop-choice:focus-within { outline: 0; filter: brightness(1.3); }
#menu button:disabled { filter: grayscale(.7); opacity: .65; }
#menu .coop-choice { position: relative; display: flex; align-items: center; justify-content: center; gap: .65cqw; padding: .7cqw 1cqw; min-height: 3.5cqw; margin: 0; cursor: pointer; }
#menu .coop-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#menu .coop-choice span { width: auto; }
#menu .title-mode-state { font: 800 clamp(9px, 1cqw, 14px)/1.2 system-ui, sans-serif; color: #fff2d2; }
#menu .title-mode-state::before { content: 'SOLO'; }
#menu .coop-choice:has(input:checked) .title-mode-state::before { content: 'TWO PLAYERS'; }
#menu .title-mode-hint { font-size: clamp(7px, .7cqw, 10px); line-height: 1.2; }
#menu .character-select { margin: 0; }
#menu .selection-heading { margin: .25cqw 0 .4cqw; }
#menu .selection-heading .mini-label { font-size: clamp(7px, .75cqw, 11px); color: #d1b988; }
#menu .character-options { flex-direction: row; gap: .65cqw; }
#menu .character-button { flex: 1; justify-content: center; text-align: center; padding: 1cqw .75cqw; min-height: 4.6cqw; filter: brightness(.72); }
#menu .character-button[aria-pressed='true'] { border: 0; background-color: transparent; filter: brightness(1.2); }
#menu .character-copy { align-items: center; gap: .25cqw; }
#menu .character-copy strong { font: 900 clamp(11px, 1.35cqw, 19px)/1.1 system-ui, sans-serif; letter-spacing: .07em; }
#menu .character-copy small { color: #efe0bf; font-size: clamp(7px, .75cqw, 11px); }
#menu .start-row { display: flex; flex-direction: column; margin: .5cqw 0 0; gap: .35cqw; }
#menu #start { width: 100%; padding: 1.25cqw 1cqw; min-height: 4.8cqw; font: 900 clamp(12px, 1.6cqw, 22px)/1.2 system-ui, sans-serif; letter-spacing: .08em; }
#menu #continue { width:100%; padding:1.05cqw 1cqw; min-height:4.4cqw; font:900 clamp(11px,1.4cqw,20px)/1.2 system-ui,sans-serif; letter-spacing:.06em; }
#menu:has(#continue:not([hidden])) #start { min-height:3cqw; padding:.65cqw; font-size:clamp(9px,1cqw,14px); }
#menu .selected-note { align-self: center; color: #e1cfae; font-size: clamp(7px, .8cqw, 11px); }
#menu .loading-status { color: #e7d2b0; font-size: clamp(7px, .8cqw, 11px); margin: 0; text-align: center; }
#menu .mission-promise { display: none; }
#menu .title-settings { width: 100%; margin: 0; padding: .85cqw 1cqw; min-height: 3.6cqw; text-align: center; font-size: clamp(8px, .9cqw, 13px); }
#menu .menu-edition { left: auto; right: 2.5%; bottom: 2.5%; font-size: clamp(7px, .8cqw, 11px); text-shadow: 0 1px 3px #000; color: #e4cda1; }
#menu .menu-edition > span:first-child { display: block; font-weight: 800; }
#menu .menu-edition > span:last-child { display: none; }
@media (max-width: 600px) and (orientation: portrait) {
  #menu .cover-art { background-size: 100% auto; background-position: center top; background-repeat: no-repeat; background-color: #0c1117; }
  #menu .menu-content { inset: 0; width: 100%; display: grid; grid-template-rows: 57cqw minmax(0, 1fr); padding: 3cqw; gap: 0; }
  #menu .title-brand { width: 38%; }
  #menu .title-logo { width: 100%; }
  #menu .chapter-label { font-size: 5px; letter-spacing: .06em; }
  #menu .story { font-size: 7px; margin-top: 1cqw; }
  #menu .title-options { gap: 2cqw; padding: 2cqw 0; }
  #menu .coop-choice { min-height: 10cqw; padding: 2cqw; }
  #menu .title-mode-state { font-size: 13px; }
  #menu .title-mode-hint { font-size: 9px; }
  #menu .selection-heading .mini-label { font-size: 9px; }
  #menu .character-button { min-height: 15cqw; padding: 3cqw 2cqw; }
  #menu .character-copy strong { font-size: 16px; }
  #menu .character-copy small { font-size: 9px; }
  #menu #start { min-height: 14cqw; padding: 3cqw; font-size: 18px; }
  #menu .start-row { order: initial; margin-top: 1cqw; gap: 1cqw; }
  #menu .selected-note, #menu .loading-status { font-size: 9px; }
  #menu .title-settings { min-height: 11cqw; padding: 2cqw; font-size: 12px; }
  #menu .menu-edition { display: none; }
}
