[data-lobby] .lead {
  width: 100%;
  margin: 0;
  padding: clamp(21px, 3vw, 40px) 0 23px;
}
[data-lobby] .lead h1 {
  max-width: 29ch;
  font-size: clamp(1.85rem, 4.1vw, 3.45rem);
  line-height: 1.08;
}
[data-lobby] .lead p { max-width: 72ch; }
[data-lobby] .lobby-promos + .lead { padding-block: 10px 26px; }
.story-content { margin: 0 0 clamp(34px, 4vw, 70px); }
.story-index { margin-bottom: 19px; }
.story-index summary {
  width: max-content; min-height: 44px; padding: 9px 13px;
  border: 1px solid var(--edge); border-radius: 9px;
  background: var(--surface); color: var(--text); font-weight: 720;
}
.story-index[open] summary { border-color: var(--accent); }
.story-index nav { display: flex; gap: 4px 18px; flex-wrap: wrap; padding-block: 9px; }
.story-index nav a { padding: 8px 0; min-height: 44px; }
.story-grid { display: grid; gap: clamp(15px, 2vw, 25px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-section {
  min-width: 0; padding: clamp(17px, 2vw, 31px);
  border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); overflow-wrap: anywhere;
}
.story-feature, .story-shelf, .story-wide { grid-column: 1 / -1; }
.story-wide .story-prose { columns: 2; column-gap: clamp(18px, 4vw, 57px); }
.story-wide h2 { column-span: all; }
.story-shelf { margin: 2px 0 11px; }
[data-lobby] .story-shelf .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.story-shelf .game-card {
  grid-template: 1fr / clamp(67px, 7vw, 96px) minmax(0, 1fr);
  align-items: center;
}
[data-lobby] .story-shelf .game-card img { aspect-ratio: 3 / 4; object-position: center 38%; }
.story-feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; align-items: start; gap: 13px clamp(20px, 4vw, 58px);
  background: linear-gradient(120deg, #21182e, var(--surface) 58%);
}
.story-feature > :is(.story-figure,.story-guide) { grid-column: 2; grid-row: 1 / span 2; }
.story-feature-detail { grid-column: 1; grid-row: 2; }
.story-prose { min-width: 0; }
.story-prose h2, .story-faq h2, .story-table h2 { margin: 0 0 14px; font-size: clamp(1.27rem, 2.15vw, 1.9rem); }
.story-prose h3 { margin: 18px 0 8px; color: #f2dfff; }
.story-prose p, .story-faq p { max-width: 72ch; color: #e0d6e9; }
.story-prose p + p { margin-top: 11px; }
.story-prose > :is(ul,ol) {
  display: grid; gap: 6px; margin: 10px 0 15px; padding: 0; list-style: none;
}
.story-prose > :is(ul,ol) > li {
  position: relative; padding: 8px 10px 8px 36px; border-radius: 7px;
  background: #261d35; break-inside: avoid;
}
.story-prose > ol { counter-reset: wincity-step; }
.story-prose > ol > li { counter-increment: wincity-step; }
.story-prose > ol > li::before {
  content: counter(wincity-step); position: absolute; left: 10px; top: 9px;
  min-width: 17px; color: #e6caff; font-weight: 760; text-align: center;
}
.story-prose > ul > li::before {
  content: ""; position: absolute; left: 15px; top: 17px;
  width: 8px; height: 2px; background: #c49aff;
}
.story-figure { min-width: 0; margin: 0; }
.story-figure img {
  width: 100%; height: auto; border: 1px solid var(--edge);
  border-radius: 10px;
}
.story-figure-tall { max-width: 300px; justify-self: center; }
.story-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .78rem; }
.story-guide {
  min-width: 0; padding: 17px 20px; border: 1px solid #694a8c;
  border-radius: 10px; background: #291c3c; align-self: start;
}
.story-guide > p { margin-bottom: 10px; color: #f4e9ff; }
.story-guide dl { margin: 0; }
.story-guide dl div { display: grid; grid-template-columns: minmax(75px, 105px) minmax(0, 1fr); gap: 9px; padding: 9px 0; }
.story-guide dl div + div { border-top: 1px solid #564167; }
.story-guide dt { font-weight: 750; color: #e6caff; }
.story-guide dd { margin: 0; }
.story-table {
  margin: 21px 0 29px; padding: clamp(17px, 3vw, 34px);
  border: 1px solid var(--edge); border-radius: 14px; background: var(--surface);
}
.story-table p { max-width: 72ch; margin-bottom: 13px; }
.story-table-scroll { overflow-x: auto; }
:is(.story-table, .story-prose) table { width: 100%; border-collapse: collapse; }
:is(.story-table, .story-prose) :is(td, th) {
  padding: 8px 13px; border-bottom: 1px solid var(--edge); text-align: left; vertical-align: top;
}
.story-table thead { background: #37264b; }
.story-table tbody tr:nth-child(even) { background: #231a30; }
.story-faq {
  margin-top: 24px; padding: clamp(17px, 2vw, 31px);
  border: 1px solid var(--edge); border-radius: 14px; background: var(--surface);
}
.story-faq-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px 20px;
}
.story-faq details { min-width: 0; padding: 0 10px; border: 1px solid var(--edge); border-radius: 8px; }
.story-faq summary { min-height: 44px; padding: 11px 4px; font-weight: 710; }
.story-faq details[open] { border-color: #7756a4; }
.story-faq details p { padding: 0 4px 11px; }
@media (max-width: 740px) {
  .story-grid, .story-feature, .story-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .story-feature .story-figure:not(.story-figure-tall) { max-width: 550px; }
  .story-feature { grid-template-rows: auto; }
  .story-feature > :is(.story-figure,.story-guide,.story-feature-detail) { grid-column: auto; grid-row: auto; }
  .story-shelf { margin: 0 0 6px; }
  [data-lobby] .story-shelf .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-guide { padding: 14px; }
  .story-wide .story-prose { columns: 1; }
}
