.title-screen {
  --title-sea: #073f49;
  --title-cream: #fff3ce;
  --title-gold: #ffd66c;
  --title-wood: #603719;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: auto;
  color: var(--title-cream);
  background: var(--title-sea);
  font-family: var(--font-game, 'Malgun Gothic', system-ui, sans-serif);
  isolation: isolate;
}
.title-screen[hidden] { display: none; }
body.title-screen-open { overflow: hidden; }
.title-screen *, .title-screen *::before, .title-screen *::after { box-sizing: border-box; }
.title-screen__art, .title-screen__wash { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.title-screen__art { background: url('/assets/title.webp') center center / cover no-repeat; }
.title-screen__wash {
  background: linear-gradient(90deg, rgb(7 46 54 / .88) 0%, rgb(7 46 54 / .72) 26%, rgb(7 46 54 / .2) 53%, transparent 76%), linear-gradient(0deg, rgb(4 37 42 / .66), transparent 27%);
}
.title-screen__shell { width: min(1440px, 100%); min-height: 100%; margin: auto; padding: 40px clamp(24px, 5vw, 80px) 32px; display: flex; flex-direction: column; align-items: flex-start; }
.title-screen__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.title-screen__brand svg { width: 32px; height: 32px; color: var(--title-gold); filter: drop-shadow(0 2px 0 var(--title-wood)); }
.title-screen__content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px 0; }
.title-screen__eyebrow { margin: 0 0 24px; color: var(--title-cream); font-size: 16px; font-weight: 800; letter-spacing: .12em; }
.title-screen__heading { margin: 0; font-weight: 1000; line-height: 1.13; letter-spacing: -.065em; transform: rotate(-3deg); transform-origin: left center; filter: drop-shadow(0 8px 0 var(--title-wood)) drop-shadow(0 12px 12px rgb(0 0 0 / .22)); }
.title-screen__heading span, .title-screen__heading strong { display: block; font-size: clamp(64px, 7.2vw, 100px); font-weight: 1000; -webkit-text-stroke: 5px var(--title-wood); paint-order: stroke fill; text-shadow: 0 -2px 0 white, 2px 3px 0 rgb(161 91 31 / .35); }
.title-screen__heading span { color: var(--title-cream); }
.title-screen__heading strong { color: var(--title-gold); }
.title-screen__description { margin: 32px 0 28px; font-size: 18px; line-height: 1.7; font-weight: 600; color: var(--title-cream); text-shadow: 0 2px 4px rgb(0 0 0 / .5); word-break: keep-all; }
.title-screen__mobile-break { display: none; }
.title-screen__actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.title-screen button { font: inherit; cursor: pointer; touch-action: manipulation; transition: transform 120ms ease-out, filter 120ms ease-out; }
.title-screen button:focus-visible { outline: 3px solid white; outline-offset: 8px; }
.title-screen__start { min-width: 300px; min-height: 76px; padding: 16px 32px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 3px solid var(--title-wood); border-radius: 24px; color: var(--title-wood); background: linear-gradient(#ffe99c, #f9bf44); box-shadow: inset 0 3px 0 #fff3ce, inset 0 -4px 0 #d9942b, 0 7px 0 var(--title-wood), 0 12px 20px rgb(0 0 0 / .25); }
.title-screen__start span { font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.title-screen__start svg { width: 32px; height: 32px; fill: var(--title-wood); stroke-width: 1.5; }
.title-screen__start:hover:enabled { filter: brightness(1.08); transform: translateY(-2px); }
.title-screen__start:active:enabled { transform: translateY(5px); box-shadow: inset 0 3px 0 #fff3ce, inset 0 -4px 0 #d9942b, 0 2px 0 var(--title-wood); }
.title-screen__start:disabled { cursor: wait; filter: saturate(.45); }
.title-screen__help { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 1px solid rgb(255 243 206 / .35); border-radius: 14px; background: rgb(7 46 54 / .6); color: var(--title-cream); box-shadow: none; font-weight: 700 !important; }
.title-screen__help svg { width: 24px; height: 24px; }
.title-screen__help:hover { background: rgb(7 46 54 / .9); transform: translateY(-1px); }
.title-screen__steps { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.title-screen__steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.title-screen__step-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgb(255 243 206 / .3); border-radius: 12px; color: var(--title-gold); background: rgb(4 37 42 / .35); }
.title-screen__step-icon svg { width: 24px; height: 24px; }
@media (min-width: 1600px) { .title-screen__art { background-position: center 58%; } }
@media (max-width: 900px) {
  .title-screen__shell { padding: 24px 32px; }
  .title-screen__content { padding: 48px 0 40px; }
  .title-screen__heading span, .title-screen__heading strong { font-size: 76px; }
  .title-screen__art { background-position: 58% center; }
  .title-screen__wash { background: linear-gradient(90deg, rgb(7 46 54 / .88), rgb(7 46 54 / .55) 42%, transparent), linear-gradient(0deg, rgb(4 37 42 / .7), transparent 55%); }
}
@media (max-width: 600px) {
  .title-screen__shell { min-height: 100svh; padding: 20px 24px 24px; align-items: center; }
  .title-screen__brand { align-self: flex-start; font-size: 16px; }
  .title-screen__brand svg { width: 28px; height: 28px; }
  .title-screen__art { background-size: auto 70%; background-position: 64% 6%; }
  .title-screen__wash { background: linear-gradient(0deg, var(--title-sea) 12%, rgb(7 63 73 / .94) 34%, rgb(7 46 54 / .15) 68%, rgb(7 46 54 / .32)); }
  .title-screen__content { width: 100%; align-items: center; justify-content: flex-end; padding: 160px 0 24px; text-align: center; }
  .title-screen__eyebrow { margin-bottom: 16px; font-size: 12px; letter-spacing: .08em; }
  .title-screen__heading { transform-origin: center; }
  .title-screen__heading span, .title-screen__heading strong { font-size: clamp(52px, 14vw, 76px); -webkit-text-stroke-width: 4px; }
  .title-screen__description { margin: 20px 0; font-size: 14px; }
  .title-screen__start { min-width: 280px; min-height: 64px; padding: 12px 24px; border-radius: 20px; }
  .title-screen__start span { font-size: 20px; }
  .title-screen__actions { gap: 16px; }
  .title-screen__steps { width: 100%; justify-content: center; gap: 24px; }
  .title-screen__steps li { flex-direction: column; gap: 4px; font-size: 12px; }
  .title-screen__step-icon { width: 32px; height: 32px; border-radius: 10px; }
}
@media (max-width: 360px) { .title-screen__shell { padding-inline: 16px; } .title-screen__start { min-width: 260px; } }
@media (max-height: 650px) and (min-width: 601px) {
  .title-screen__shell { padding-block: 20px; }
  .title-screen__content { padding-block: 24px; }
  .title-screen__eyebrow { margin-bottom: 16px; }
  .title-screen__heading span, .title-screen__heading strong { font-size: 64px; }
  .title-screen__description { margin-block: 16px; }
  .title-screen__start { min-height: 64px; }
  .title-screen__actions { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .title-screen button { transition: none; } }
/* 제목 글자: 검은고딕 / 버튼·문구: 주아 (theme-wood.css 의 글꼴 변수) */
.title-screen__heading strong { font-family: var(--font-impact, inherit); font-weight: 400; font-synthesis: none; }
.title-screen__heading span { font-family: var(--font-game, inherit); font-weight: 400; font-synthesis: none; }
.title-screen button, .title-screen p { font-weight: 400; font-synthesis: none; }

/* 🏆 명예의 전당: 모험 시작 아래, 지난 시즌 정리 한 줄 */
.title-screen__hall { display: flex; align-items: center; gap: 12px; min-width: 300px; max-width: min(420px, 100%); min-height: 56px; padding: 8px 18px; border: 2px solid #f9d36b; border-radius: 18px; background: rgb(58 36 21 / .82); color: var(--title-cream); text-align: left; box-shadow: 0 4px 0 rgb(0 0 0 / .35); }
.title-screen__hall[hidden] { display: none; }
.title-screen__hall:hover { background: rgb(58 36 21 / .95); transform: translateY(-1px); }
.title-screen__hall-icon { font-size: 28px; line-height: 1; }
.title-screen__hall-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.title-screen__hall-text b { font-size: 17px; color: #ffd54a; }
.title-screen__hall-text small { font-size: 13px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all; }
@media (max-width: 480px) { .title-screen__hall { min-width: 0; width: 100%; } }
