/* © 2026 SUKIMA GAMES All rights reserved.
 * C: 実験ノート × ボードゲーム。タイトル画面だけに適用。 */
#titleScreen {
  --note-ink: #24334b;
  --note-green: #246e53;
  --note-yellow: #f2d750;
  --note-line: #d9dfda;
  color: var(--note-ink);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  padding: max(16px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  gap: 12px;
  background: transparent;
}
#titleScreen .mast {
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 0 16px;
  color: var(--note-ink);
  text-shadow: none;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--note-line);
}
#titleScreen .mast a { display: inline-flex; align-items: center; min-height: 48px; color: var(--note-ink); }
#titleScreen .brand { font-family: system-ui, sans-serif; font-size: 10px; letter-spacing: .13em; }
#titleScreen .crown { background: var(--note-green); }
#titleScreen .tCard {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  column-gap: 40px;
  row-gap: 16px;
  width: min(1120px, 100%);
  margin: auto 0 0;
  padding: 22px 32px 16px;
  border: 1px solid var(--note-line);
  border-top: 3px solid var(--note-green);
  border-radius: 4px;
  background-color: rgba(255,255,255,.97);
  background-image: linear-gradient(rgba(36,110,83,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36,110,83,.045) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: none;
  backdrop-filter: none;
}
#titleScreen .noteMeta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--note-line);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: #5d6c66;
}
#titleScreen .titleCopy, #titleScreen .titleAction { min-width: 0; }
#titleScreen .logo {
  display: table;
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 7px solid var(--note-yellow);
  color: var(--note-green);
  font-family: system-ui, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: clamp(40px, 5.7vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-shadow: none;
}
#titleScreen .kicker {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--note-ink);
  font-size: 21px;
  letter-spacing: .04em;
  transform: none;
}
#titleScreen .lead { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
#titleScreen .lead br { display: none; }
#titleScreen .titleRule { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-align: center; }
#titleScreen #btnStart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 14px 22px;
  border: 1px solid var(--note-green);
  border-radius: 4px;
  background: var(--note-green);
  color: #fff;
  box-shadow: none;
  font-size: 22px;
  transition: background .15s, transform .15s;
}
#titleScreen #btnStart span { font: 26px/1 system-ui, sans-serif; }
@media (hover: hover) {
  #titleScreen #btnStart:hover { background: #1b5942; transform: translateY(-2px); }
}
#titleScreen #btnStart:active { background: var(--note-ink); transform: translateY(2px); }
#titleScreen :is(button, a, summary, input):focus-visible { outline: 3px solid var(--note-ink); outline-offset: 4px; }
#titleScreen .bestLine { margin-top: 10px; font-size: 12px; }
#titleScreen .how { grid-column: 1 / -1; margin-top: 0; padding-top: 4px; border-top: 1px solid var(--note-line); }
#titleScreen .how summary { display: list-item; width: fit-content; min-height: 44px; padding: 13px 8px 8px 0; color: var(--note-green); }
#titleScreen .how[open] { padding-bottom: 12px; }
#titleScreen .how dl { grid-template-columns: minmax(90px, auto) 1fr; }
#titleScreen .tips { max-width: 850px; }
#titleScreen .opts { max-width: 520px; gap: 12px; margin-top: 20px; }
#titleScreen .opts label { min-height: 32px; }
#titleScreen .opts input { accent-color: var(--note-green); }
#titleScreen .tFoot {
  flex-shrink: 0;
  width: min(1120px, 100%);
  padding: 5px 8px;
  background: rgba(255,255,255,.92);
  color: var(--note-ink);
  font-size: 10px;
  line-height: 1.6;
  text-shadow: none;
}
#titleScreen .tFoot a { color: var(--note-green); }
@media (max-width: 600px) {
  #titleScreen { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); gap: 10px; }
  #titleScreen .mast { padding: 0 10px; }
  #titleScreen .brand { font-size: 9px; letter-spacing: .06em; }
  #titleScreen .tCard { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 10px; row-gap: 18px; }
  #titleScreen .noteMeta { font-size: 9px; letter-spacing: .06em; }
  #titleScreen .noteMeta span:last-child { display: none; }
  #titleScreen .logo { font-size: clamp(30px, 10.6vw, 54px); margin-bottom: 12px; border-bottom-width: 6px; }
  #titleScreen .kicker { font-size: 19px; }
  #titleScreen .lead { font-size: 12px; }
  #titleScreen .lead br { display: inline; }
  #titleScreen .titleRule { font-size: 11px; margin-bottom: 8px; text-align: left; }
  #titleScreen #btnStart { min-height: 60px; }
  #titleScreen .how { font-size: 12px; }
  #titleScreen .how dl { grid-template-columns: 1fr; gap: 4px; }
  #titleScreen .how dd { margin-bottom: 8px; }
  #titleScreen .tFoot { font-size: 9px; }
}
@media (max-height: 560px) and (min-width: 601px) {
  #titleScreen { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); gap: 8px; }
  #titleScreen .mast, #titleScreen .mast a { min-height: 44px; }
  #titleScreen .tCard { grid-template-columns: minmax(0, 1fr) 230px; column-gap: 22px; row-gap: 8px; padding: 12px 20px 4px; }
  #titleScreen .noteMeta { padding-bottom: 6px; font-size: 9px; }
  #titleScreen .logo { font-size: clamp(30px, 5.7vw, 46px); padding-bottom: 5px; margin-bottom: 7px; border-bottom-width: 5px; }
  #titleScreen .kicker { font-size: 17px; }
  #titleScreen .lead { margin-top: 5px; font-size: 11px; }
  #titleScreen .lead br { display: inline; }
  #titleScreen .titleRule { font-size: 10px; margin-bottom: 8px; }
  #titleScreen #btnStart { min-height: 54px; font-size: 19px; }
  #titleScreen .bestLine { font-size: 11px; margin-top: 8px; }
  #titleScreen .how { font-size: 11px; }
  #titleScreen .how summary { padding-top: 11px; }
  #titleScreen .tFoot { padding: 2px 6px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #titleScreen #btnStart { transition: none; }
}
