.content-page {
  padding-block: clamp(32px, 5vw, 68px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin-bottom: 12px;
  color: #325577;
  font-size: .89rem;
  font-weight: 720;
}

.back-link::before {
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.back-link:hover { text-decoration: underline; }

.content-page h1,
.content-page h2 {
  font-weight: 840;
  letter-spacing: -.047em;
  line-height: 1.12;
  word-break: keep-all;
}

.content-page h1 { font-size: clamp(2rem, 4.8vw, 3.55rem); }
.content-page h2 { font-size: clamp(1.35rem, 2.5vw, 1.84rem); }

.page-lead {
  max-width: 660px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  word-break: keep-all;
}

.game-header {
  padding-bottom: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
}

.game-identity {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.3vw, 24px);
}

.game-identity img {
  width: clamp(68px, 9vw, 106px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 21%;
}

.content-kind {
  margin-bottom: 7px;
  color: #325577;
  font-size: .86rem;
  font-weight: 750;
}

.page-actions,
.game-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-actions { margin-top: 20px; }

.game-body {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 50px);
  padding-block: clamp(27px, 3.8vw, 44px);
}

.game-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.game-gallery.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-gallery.wide .game-shot:first-child { grid-column: 1 / -1; }

.game-shot {
  min-width: 0;
  margin: 0;
}

.game-shot-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
}

.game-shot-media:hover { border-color: #859eb7; }

.game-shot img {
  width: 100%;
  height: auto;
}

.game-flow {
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
}

.play-beats {
  display: grid;
  gap: 16px;
  margin: 17px 0 0;
}

.play-beats dt {
  font-family: inherit;
  font-size: .98rem;
  font-weight: 800;
}

.play-beats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
  word-break: keep-all;
}

.game-resources {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(25px, 6vw, 74px);
}

.support-form {
  display: grid;
  gap: 17px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.support-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.support-field label {
  font-size: .94rem;
  font-weight: 770;
}

.support-field :is(input, select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c6d3e1;
  border-radius: 7px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.support-field select { padding-inline-end: 6px; }

.support-field textarea {
  min-height: 136px;
  line-height: 1.55;
  resize: vertical;
}

.support-submit {
  width: fit-content;
  justify-content: center;
  cursor: pointer;
}

.support-submit:disabled {
  opacity: .62;
  cursor: wait;
}

.support-hint {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.52;
  word-break: keep-all;
}

.support-status {
  padding: 9px 11px;
  border-radius: 6px;
  font-size: .9rem;
  line-height: 1.55;
  word-break: keep-all;
}

.support-status.success {
  background: #e8f4ed;
  color: #225a3d;
}

.support-status.error {
  background: #fff1eb;
  color: #873e29;
}

@media (max-width: 910px) {
  .game-body { grid-template-columns: minmax(0, 1fr); }

  .game-flow {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .support-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 580px) {
  .game-gallery {
    grid-template-columns: none;
    grid-auto-columns: min(52vw, 234px);
    grid-auto-flow: column;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
  }

  .game-gallery.wide {
    grid-template-columns: none;
    grid-auto-columns: min(79vw, 390px);
  }

  .game-gallery.wide .game-shot:first-child { grid-column: auto; }
  .game-shot { scroll-snap-align: start; }
  .support-fields { grid-template-columns: minmax(0, 1fr); }
  .support-submit { width: 100%; }
}
