/* Come pages use the in7app.app shell: sticky bar, pills, wide doc, footer grid. */

@font-face { font-family: Montserrat; src: url("/fonts/62e48611196b08b2-s.p.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url("/fonts/941396b781615e84-s.p.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Montserrat; src: url("/fonts/54c76208542a99cd-s.p.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #100e14;
  --bg-2: #1b1722;
  --ink: #f6f3f8;
  --muted: #c9c2d2;
  --dim: #a89fb4;
  --rose: #ff4b9a;
  --rose-2: #f4eef8;
  --btn: #c41266;
  --line: #3a3344;
}

body[data-theme="simple-content"] {
  background: var(--bg) !important;
  color: var(--ink);
  font-family: Montserrat, "Avenir Next", "Segoe UI", sans-serif !important;
  font-size: 16px;
  line-height: 1.55;
}

body[data-theme="simple-content"] .sc-page,
body[data-theme="simple-content"] .sc-page-body,
body[data-theme="simple-content"] main#main {
  background: transparent;
}

.top {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 22px;
  background: rgba(16, 14, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.logo b { color: var(--rose); font-weight: 600; }

.desk { display: flex; gap: 22px; margin-right: auto; }
.desk a { color: #ddd6e6; text-decoration: none; font-size: 14px; font-weight: 500; }
.desk a[aria-current="page"] { color: white; }

.top-actions { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; }

.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-sizing: border-box;
}

.btn { background: var(--btn); color: white; }
.btn-line { background: transparent; color: white; border: 1px solid #6a6178; }
.btn-sm { min-height: 34px; padding: 0 14px; }

.bonus-pip {
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--btn);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.burger, .nav-toggle, .sheet { display: none; }

.foot {
  border-top: 1px solid var(--line);
  padding: 36px 22px 24px;
  background: #0c0b10;
  margin-top: 24px;
}

.foot-grid {
  max-width: 1146px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px max-content max-content;
  justify-content: space-between;
  gap: 8px 40px;
  align-items: start;
}

.foot a {
  display: block;
  color: var(--dim);
  text-decoration: none;
  margin: 6px 0;
  font-size: 14px;
}

.foot a.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.foot a.foot-logo img { height: 28px; width: 28px; border-radius: 7px; object-fit: cover; }
.foot a.foot-logo b { color: var(--rose); font-weight: 600; }

.foot .foot-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 200px;
  margin-top: 16px;
}

.foot .foot-actions a {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 0;
  color: white;
  font-weight: 600;
}

.foot-label {
  color: #ddd6e6;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal {
  max-width: 1146px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #8d8498;
  font-size: 12px;
}

.legal a { color: #ddd6e6; text-decoration: underline; }

body[data-theme="simple-content"] .breadcrumb-bar { display: none; }

body[data-theme="simple-content"] .narrow,
body[data-theme="simple-content"] .sc-article,
body[data-theme="simple-content"] main#main > .section .narrow {
  width: min(1146px, calc(100% - 44px)) !important;
  max-width: 1146px;
}

body[data-theme="simple-content"] .sc-content-band {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 8px 0 18px !important;
  overflow: visible !important;
}

body[data-theme="simple-content"] .sc-content-band::before,
body[data-theme="simple-content"] .sc-content-band.is-lead::before { display: none !important; }

body[data-theme="simple-content"] .portable h1,
body[data-theme="simple-content"] h1 {
  font-family: Montserrat, "Avenir Next", "Segoe UI", sans-serif !important;
  font-size: clamp(36px, 6vw, 64px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.12 !important;
  color: #fff !important;
  border: 0 !important;
  border-image: none !important;
  padding-bottom: 0 !important;
  margin: 28px 0 14px !important;
}

body[data-theme="simple-content"] .portable h2,
body[data-theme="simple-content"] h2 {
  font-family: Montserrat, "Avenir Next", "Segoe UI", sans-serif !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 600 !important;
  color: var(--rose-2) !important;
  text-align: left !important;
  margin: 28px 0 12px !important;
}

body[data-theme="simple-content"] .portable h2::before {
  display: none !important;
}

body[data-theme="simple-content"] .portable h3,
body[data-theme="simple-content"] h3 {
  font-family: Montserrat, "Avenir Next", "Segoe UI", sans-serif !important;
  color: white !important;
  font-size: 18px !important;
  text-align: left !important;
  margin: 18px 0 8px !important;
}

body[data-theme="simple-content"] .portable p,
body[data-theme="simple-content"] .portable li {
  color: var(--muted);
  font-size: 16px;
}

body[data-theme="simple-content"] .portable a:not(.btn) {
  display: inline;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #e9e9e9;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-theme="simple-content"] .portable a:not(.btn):hover {
  background: none;
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

body[data-theme="simple-content"] .portable a[href*="gogotofly.com"] {
  display: inline-flex !important;
  align-items: center;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--btn) !important;
  color: white !important;
  font-weight: 600;
  text-decoration: none !important;
}

body[data-theme="simple-content"] .portable ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

body[data-theme="simple-content"] .sc-article table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 14px;
}

body[data-theme="simple-content"] .sc-article th,
body[data-theme="simple-content"] .sc-article td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

body[data-theme="simple-content"] .sc-article th {
  color: #ddd6e6;
  font-weight: 600;
  width: auto;
}

body[data-theme="simple-content"] .sc-article th:last-child,
body[data-theme="simple-content"] .sc-article td:last-child {
  white-space: nowrap;
}

body[data-theme="simple-content"] .sc-article .sc-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

body[data-theme="simple-content"] .provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

body[data-theme="simple-content"] .provider-card {
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  background: #1b1722;
  border: 1px solid var(--line);
  border-radius: 16px;
}

body[data-theme="simple-content"] .provider-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto;
}

body[data-theme="simple-content"] .provider-card figcaption {
  margin-top: 8px;
  color: #ddd6e6;
  font-size: 13px;
}

body[data-theme="simple-content"] .portable img {
  border-radius: 16px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 18px;
}

.link-card {
  display: block;
  background: #1b1722;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none !important;
  color: inherit;
}

.link-card h3 { margin-top: 0 !important; }
.link-card p { margin: 0; }

@media (max-width: 900px) {
  .desk, .top-actions { display: none; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: white; border-radius: 2px; }
  .nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
  .nav-toggle:checked ~ .sheet { display: flex; }
  .sheet {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1b1722;
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 72px;
    flex-direction: column;
    gap: 8px;
  }
  .sheet a { text-decoration: none; padding: 8px 0; color: #ddd6e6; }
  .sheet a.btn, .sheet a.btn-line { color: white; }
  .foot-grid, .link-grid { grid-template-columns: 1fr; }
  .top { padding: 0 14px; }
  body[data-theme="simple-content"] .narrow,
  body[data-theme="simple-content"] .sc-article,
  body[data-theme="simple-content"] main#main > .section .narrow {
    width: min(1146px, calc(100% - 28px)) !important;
  }
}

/* Homepage download listing. Uses the Play icon and the three listing screenshots. */
body[data-theme="simple-content"] main#main > .section:has(.store) {
  padding-top: 18px;
}

.store {
  width: min(1146px, calc(100% - 44px));
  margin: 0 auto 10px;
}

.store-head {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px 20px;
  align-items: start;
}

.store-icon {
  width: 112px;
  height: 112px;
  max-width: none;
  border-radius: 26px;
  object-fit: cover;
}

body[data-theme="simple-content"] .store h1 {
  font-size: clamp(26px, 2.7vw, 36px) !important;
  line-height: 1.15 !important;
  margin: 0 0 6px !important;
}

.store-dev {
  margin: 0;
  color: #ddd6e6;
  font-size: 15px;
  font-weight: 500;
}

.store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.store-chips li {
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1b1722;
  color: #ddd6e6;
  font-size: 13px;
  line-height: 1.3;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
}

.store-actions .btn,
.store-actions .btn-line {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  white-space: nowrap;
}

.store-actions .play-guide {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-height: 56px;
  padding: 8px 18px;
  line-height: 1.15;
  white-space: normal;
}

.play-guide-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

a.btn[download="come.apk"],
a.btn-line[download="come.apk"],
a.btn[href*="seo_channel=seoLL2"]:not(.cta-play):not(:has(.bonus-pip)),
a.btn-line[href*="seo_channel=seoLL2"]:not(:has(.bonus-pip)) {
  background: #3a3444;
  border-color: #3a3444;
  color: #fff;
}

a.btn.cta-play,
a.btn:has(.bonus-pip) {
  background: #c41266;
  border-color: #c41266;
  color: #fff;
}

a.btn[download="come.apk"]:hover,
a.btn-line[download="come.apk"]:hover,
a.btn[href*="seo_channel=seoLL2"]:not(.cta-play):not(:has(.bonus-pip)):hover,
a.btn-line[href*="seo_channel=seoLL2"]:not(:has(.bonus-pip)):hover {
  background: #4a4356;
  border-color: #4a4356;
}

a.btn.cta-play:hover,
a.btn:has(.bonus-pip):hover {
  background: #da1874;
  border-color: #da1874;
}

.play-guide-note {
  margin: 0 0 12px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 14px;
}

.os-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.os-guide a {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.15;
  min-height: 52px;
  padding: 8px 16px;
}

.os-guide a span:last-child {
  font-size: 12px;
  font-weight: 500;
  color: #ffe4f2;
}

body[data-theme="simple-content"] .portable .os-guide a.btn {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-height: 52px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--btn) !important;
  color: white !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.15;
}

.pic-set { margin: 8px 0 18px; }
.pic-set figure { margin: 0; }
.pic-set figcaption,
.pic-set .pic-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.pic-banner {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.banner-grid img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.crest-row,
.tile-row,
.task-row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.crest-row { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.tile-row { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.task-row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.crest-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto;
  background: #1b1722;
  border-radius: 12px;
}
.tile-row img,
.task-row img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.crest-row figcaption,
.tile-row figcaption,
.task-row figcaption {
  font-size: 12px;
  line-height: 1.3;
}
.shot-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin-top: 12px;
}
.shot-row img {
  height: 280px;
  width: auto;
  max-width: none;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.guide-shot {
  width: min(360px, 100%);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .banner-grid { grid-template-columns: 1fr; }
  .shot-row img { height: 220px; }
}

.store-note,
.store-about p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 16px;
}

.store-note { margin: 0 0 8px; }

.store a:not(.btn):not(.btn-line) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.store-shots {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin: 18px 0 6px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.store-shots figure {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.store-shots img {
  height: 320px;
  width: auto;
  max-width: none;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0c0b10;
}

body[data-theme="simple-content"] main:has(.store) .portable-figure img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto;
  max-height: 460px;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 520px) {
  body[data-theme="simple-content"] main:has(.store) .portable-figure img {
    max-height: 340px;
  }
}

.store-about { margin-top: 12px; }

@media (max-width: 900px) {
  .store { width: min(1146px, calc(100% - 28px)); }
  .store-shots img { height: 260px; }
  .store-actions a { flex: 1 1 160px; }
}

@media (max-width: 520px) {
  .store-head { grid-template-columns: 84px minmax(0, 1fr); }
  .store-icon { width: 84px; height: 84px; border-radius: 20px; }
  .store-shots img { height: 220px; }
}

.store-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

body[data-theme="simple-content"] .store-extra h2 {
  font-size: 18px !important;
  color: #fff !important;
  margin: 0 0 10px !important;
}

.account-list,
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-list li,
.notice-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.store-extra p {
  margin: 0 0 12px;
}

.foot-social {
  max-width: 1146px;
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.foot .foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ddd6e6;
  text-decoration: none;
}

.foot .foot-social a:hover,
.foot .foot-social a:focus-visible {
  color: #fff;
  border-color: #fff;
}

.foot .foot-social svg {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .store-extra { grid-template-columns: 1fr; }
}

/* Homepage rhythm referenced from a two-column download landing. Come colors stay. */
.wd-hero {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 18px 0 8px;
}

.wd-hero::before {
  content: none;
}

.wd-copy,
.wd-stage {
  position: relative;
  z-index: 1;
}

body[data-theme="simple-content"] .wd h1 {
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  margin: 0 0 16px !important;
}

.wd h1 span {
  color: #ff4b9a;
}

.wd-logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 28px;
}

.wd-lead {
  margin: 0 auto 18px;
  max-width: 38rem;
  color: #ddd6e6;
  font-size: 18px;
  line-height: 1.45;
}

.wd-actions,
.wd .store-chips {
  justify-content: center;
}

.wd-sub {
  margin: 0 0 18px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 15px;
}

.wd-actions {
  margin: 0 0 14px;
}

.wd-actions .btn {
  min-height: 52px;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 16px;
}

.wd-stage {
  display: flex;
  justify-content: center;
}

.wd-stage img {
  height: min(520px, 58vh);
  width: auto;
  max-width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  background: #0c0b10;
}

.wd-reel {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 8px 0 28px;
  overflow-x: auto;
}

.wd-reel img {
  height: 420px;
  width: auto;
  max-width: none;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0c0b10;
}

.wd-steps {
  margin: 8px 0 28px;
  padding: 36px 22px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(90, 16, 52, 0.92), rgba(16, 14, 20, 0.94) 55%, rgba(28, 16, 36, 0.92));
}

.wd-steps h2,
.wd-names h2,
.wd-follow .sc-content-band.is-lead h2 {
  text-align: center;
}

body[data-theme="simple-content"] .wd-steps h2 {
  margin: 0 0 22px !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  letter-spacing: -0.03em;
  text-align: center !important;
}

.wd-step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 820px;
  margin: 0 auto 22px;
}

.wd-step-grid div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wd-step-grid span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c41266;
  color: #fff;
  font-weight: 700;
}

.wd-step-grid p {
  margin: 8px 0 0;
  color: #ddd6e6;
}

.wd-steps .btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 18px;
}

.wd-caption {
  margin: 2px 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.wd-name-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
  margin: 26px 0 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.wd-name-grid article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wd-name-grid h2 {
  margin: 0 0 6px !important;
  font-size: 18px !important;
  text-align: left;
}

.wd .store-extra {
  margin-top: 18px;
  padding-top: 16px;
}

.wd-follow,
.wd-notes {
  width: min(720px, calc(100% - 36px));
  margin: 28px auto 0;
}

.wd-follow .portable--banded,
.wd-notes .portable--banded {
  display: block;
}

body[data-theme="simple-content"] main:has(.wd) .narrow .sc-content-band {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 0 10px !important;
}

.wd-name-grid p,
.wd-follow .sc-content-band p {
  color: var(--muted);
}

.wd-follow .sc-content-band.is-lead,
.wd-follow .sc-content-band:has(h3) {
  grid-column: auto;
}

.wd-follow .sc-content-band h3 {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="simple-content"] main:has(.wd) .narrow .portable-figure img {
  height: auto !important;
  max-height: 460px;
}

@media (max-width: 520px) {
  body[data-theme="simple-content"] main:has(.wd) .narrow .portable-figure img {
    max-height: 340px;
  }
}

@media (max-width: 900px) {
  .wd-step-grid,
  .wd-name-grid {
    grid-template-columns: 1fr;
  }

  .wd-copy {
    text-align: center;
  }

  .wd-lead,
  .wd-sub,
  .play-guide-note {
    margin-left: auto;
    margin-right: auto;
  }

  .wd-actions,
  .store-chips {
    justify-content: center;
  }

  .wd-stage img {
    height: 300px;
    transform: none;
  }

  .wd-reel {
    gap: 10px;
  }

  .wd-reel img {
    height: 168px;
  }

  .wd-name-grid h2 {
    text-align: left;
  }
}
