.screen-heading { margin: 0 0 18px; font: bold clamp(2.15rem, 4vw, 3.45rem)/1.07 var(--serif); letter-spacing: -.035em; }
.launcher { max-width: 1130px; }
.game-feature { display: flex; align-items: center; width: 100%; aspect-ratio: 2.56 / 1; min-height: 275px; padding: clamp(22px, 5vw, 62px); border: 1px solid #6f759a; border-radius: 13px; overflow: hidden; text-align: left; background: linear-gradient(90deg, #090e20cb 0%, #090e2055 50%, #090e2011 100%), url("assets/balenos-fortress.webp") center 48% / cover; box-shadow: 0 13px 36px #0507129e; }
.game-feature:hover { border-color: var(--blue); }
.feature-content { display: grid; justify-items: start; gap: 10px; text-shadow: 0 2px 8px #0b0f24; }
.feature-content > strong { color: var(--paper); font: bold clamp(2.5rem, 6vw, 5.2rem)/1 var(--serif); letter-spacing: -.051em; }
.feature-content > span:not(.feature-action) { max-width: 250px; line-height: 1.45; color: #e0e6f4; }
.feature-symbol { width: 36px; height: 36px; margin-bottom: 2px; color: var(--gold); }
.feature-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 43px; padding: 7px 17px; border: 1px solid #e8c8ed; border-radius: 6px; background: linear-gradient(105deg, var(--blue), #cfbbf0 55%, var(--pink)); color: #17172a; text-shadow: none; font-weight: 750; }
.game-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.future-game { display: grid; grid-template-columns: 44px 1fr; gap: 3px 12px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 13px; background: linear-gradient(110deg, #202244, var(--panel)); text-align: left; }
.future-game.mahjong { background: linear-gradient(110deg, #341f36, var(--panel)); }
.future-game strong { font: bold 1.24rem var(--serif); }
.future-game span { color: var(--muted); font-size: .82rem; }
.future-game .icon { grid-row: span 2; justify-self: center; width: 30px; height: 30px; color: #b7acf2; }
.future-game.mahjong .icon { color: var(--pink); }

.back-link { display: inline-flex; align-items: center; min-height: 30px; background: none; padding: 0; border: 0; color: var(--blue); margin-bottom: 8px; font-size: .9rem; font-weight: 650; }
.back-link:hover { color: var(--pink); text-decoration: underline; }
.atlas-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; }
.atlas-heading p { color: var(--muted); margin: 0 0 14px; }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 276px); gap: 14px; align-items: start; }
.atlas-map { position: relative; aspect-ratio: 2; border: 1px solid #7d6a53; border-radius: 10px; isolation: isolate; overflow: hidden; background: #394753; box-shadow: 0 12px 30px #040811aa; }
.atlas-map img, .atlas-pins, .level-list, .route-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-map img { object-fit: cover; }
.atlas-pins, .level-list { z-index: 1; }
.world-pin, .level-list > li { position: absolute; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%); }
.world-pin { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border: 1px solid #d5bd8c; border-radius: 6px; background: #121b2def; text-align: left; box-shadow: 0 2px 8px #0c0d19a0; }
.world-pin:disabled { color: #ebe0ca; background: #242323e8; border-color: #b29d77; }
.world-pin:not(:disabled) { background: #264365; border-color: #b8d7ff; }
.world-pin:not(:disabled):hover { background: #39264d; }
.pin-number { display: grid; flex: none; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 4px; background: #e7c48820; color: var(--gold); font-weight: 750; font-size: .82rem; }
.pin-name { font: bold 1.02rem var(--serif); white-space: nowrap; }
.atlas-panel { padding: 16px; }
.region-list { display: grid; gap: 5px; margin-top: 10px; }
.region-entry { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: #131b2f; text-align: left; }
.region-entry:not(:disabled) { background: #182b47; border-color: #5681b4; }
.region-entry:not(:disabled):hover { border-color: var(--blue); }
.region-copy { display: grid; gap: 1px; min-width: 0; }
.region-name { color: var(--paper); font-weight: 700; font-size: .94rem; }
.region-terrain { color: var(--muted); font-size: .75rem; line-height: 1.25; }
.route-trace { pointer-events: none; filter: drop-shadow(0 1px 2px #111f2a); }
.route-trace polyline { fill: none; stroke: #f0d7a4; stroke-width: 3; stroke-dasharray: 4 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.level-list { list-style: none; padding: 0; margin: 0; }
.point-pin { display: grid; place-items: center; width: clamp(28px, 4vw, 44px); aspect-ratio: 1; border: 2px solid #afbddc; border-radius: 50%; padding: 0; background: #172741; color: var(--paper); font: bold 1.03rem var(--serif); box-shadow: 0 2px 7px #14171c; }
.point-pin:disabled { color: #d3c8b5; border-color: #a8987c; background: #2f2c2d; }
.point-pin.completed { color: #c3ecda; border-color: #a6d7be; background: #244942; }
.point-pin[aria-current="step"] { color: #10182b; border-color: #fff3da; background: var(--gold); box-shadow: 0 0 0 4px #f4d39680, 0 2px 9px #111525; }
.point-pin:not(:disabled):hover { border-color: var(--pink); }
.point-label { margin-bottom: 5px; color: var(--gold); font-size: .87rem; font-weight: 650; }
.point-panel dl { margin: 15px 0; display: grid; gap: 7px; }
.point-panel dl div { display: flex; justify-content: space-between; gap: 7px; color: var(--muted); }
.point-panel dd { color: var(--paper); font-weight: 700; }

@media (max-width: 880px) {
  .atlas-layout { grid-template-columns: minmax(0, 1fr); }
  .region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .game-feature { aspect-ratio: 1.36; background-position: 65% 48%; }
  .game-options { gap: 7px; }
  .future-game { grid-template-columns: 28px 1fr; gap: 2px 7px; padding: 8px 6px; }
  .future-game strong { font-size: 1rem; }
  .future-game .icon { width: 24px; height: 24px; }
  .pin-name { display: none; }
  .world-pin { padding: 2px; }
  .point-pin { border-width: 1px; font-size: .86rem; }
}

@media (max-width: 355px) {
  .region-list { grid-template-columns: minmax(0, 1fr); }
}
