/* title.css — the title screen: what the game is in one line, one main action, how it works in three
   steps, and a caption that tells you the room behind is you. (The card and logo base live in styles.css
   and pc98.css.) */
.title-what { margin: 14px 0 0; font: 600 15px var(--mono); letter-spacing: 0.04em; color: var(--up); }
.title-tag { margin: 8px 0 20px; }
.title-start { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 6px; }
.title-hint { flex: 1 1 220px; font-size: 13px; color: var(--ink-2); }
.continue:not([hidden]) + .title-start .title-hint { display: none; }   /* a returning player already knows */
.title-steps { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--stroke); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.title-steps li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.title-steps b { font: 600 12px var(--mono); letter-spacing: 0.14em; color: var(--cyan); }
.title-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; font-size: 13px; }
.title-cap { position: fixed; right: clamp(16px, 4vw, 64px); bottom: 6vh; z-index: 1; margin: 0; max-width: 300px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); background: rgba(8, 6, 20, 0.78); border: 1px solid var(--stroke-2); pointer-events: none; }
.title-cap b { display: block; font: 600 11px var(--mono); letter-spacing: 0.2em; color: var(--yellow); margin-bottom: 2px; }

html.pc98 .title-what { font: 16px var(--mono); letter-spacing: 0.06em; margin-top: 14px; }
html.pc98 .title-tag { margin: 8px 0 20px; }
html.pc98 .title-hint { font-size: 14px; }
html.pc98 .title-steps { border-top: 2px dotted var(--stroke-2); }
html.pc98 .title-steps li { font-size: 14px; }
html.pc98 .title-steps b { font: 16px var(--mono); letter-spacing: 0.1em; }
html.pc98 .title-foot .link::before { content: "["; }
html.pc98 .title-foot .link::after { content: "]"; }
html.pc98 .title-cap { background: var(--win); border: 2px solid var(--stroke-2); box-shadow: 4px 4px 0 #000; font-size: 14px; }
html.pc98 .title-cap b { font: 16px var(--mono); letter-spacing: 0.12em; }

@media (max-width: 760px) {
  .title-steps { grid-template-columns: 1fr; gap: 10px; }
  .title-steps li { flex-direction: row; gap: 10px; }
  .title-steps b { flex: none; width: 104px; white-space: nowrap; }
  .title-cap { top: 12px; bottom: auto; left: 16px; right: auto; max-width: calc(100vw - 32px); padding: 6px 10px; }
}
