.game-menu {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: #f7f4e9;
  background: #142826;
}
.menu-city {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.game-menu::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #10211bd4 0%, transparent 26%, transparent 41%, #142823d9 74%, #101e1c 100%);
}
.title-header, .title-content {
  width: min(100% - 72px, 1240px);
  margin-inline: auto;
}
.title-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 20px;
  font-size: 13px;
  color: #f0e9d2;
}
.title-header a { color: inherit; text-decoration: none; }
.title-header a:hover { text-decoration: underline; }
.title-header img { width: 38px; height: 38px; object-fit: contain; background: #142724; border-radius: 8px; }
.title-content {
  margin-top: auto;
  padding-top: min(35svh, 340px);
  padding-bottom: clamp(26px, 6vh, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: end;
  gap: 28px 60px;
}
.title-location { margin: 0 0 12px; color: #f1d39a; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.title-content h1 { margin: 0; max-width: 720px; color: #fff9e9; font: 800 clamp(50px, 8vw, 108px)/.92 Georgia, serif; letter-spacing: -.055em; text-wrap: balance; }
.title-premise { margin: 20px 0 0; max-width: 390px; color: #e4eee3; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.55; }
.menu-actions { display: grid; gap: 8px; }
.menu-actions button { width: 100%; min-height: 43px; background: #162a26e8; border-color: #82978e; color: #ecf1e8; }
.menu-actions button:hover { background: #29443a; }
.menu-actions button.primary { min-height: 52px; background: #f0d49d; border-color: #f3d9a5; color: #192a24; font-weight: 700; }
.menu-actions button.primary:hover { background: #ffe5b1; }
.title-content .casebook { grid-column: 2; margin: 0; background: #162a26ed; }
.class-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 12px; }
.class-guide article { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: start; gap: 12px; border: 1px solid #485a54; border-radius: 6px; background: #242e2d; padding: 14px; }
.class-guide .guide-portrait { width: 70px; height: 70px; object-fit: contain; }
.class-guide h3 { margin: 0; font-size: 16px; }
.class-guide p { margin: 6px 0 0; color: #c1d3ca; font-size: 12px; line-height: 1.5; }
.class-guide small { color: #a5c9b6; font-size: 11px; }
.game-load-error { max-width: 560px; padding: 24px; margin: 8vh auto; }
.game-load-error a { color: #9cddbd; }
@media (max-width: 660px) {
  .title-header, .title-content { width: calc(100% - 36px); }
  .menu-city { object-position: 55% 42%; }
  .game-menu::before { background: linear-gradient(180deg, #142823ca, transparent 20%, transparent 31%, #142823e8 57%, #101e1c 100%); }
  .title-header { padding-block: 12px; }
  .title-content { padding-top: 28svh; grid-template-columns: 1fr; gap: 18px; }
  .title-content h1 { font-size: clamp(46px, 12vw, 68px); }
  .title-premise { margin-top: 10px; }
  .title-content .casebook { grid-column: 1; }
}
