:root {
  --bg: #fbfaf8;
  --panel-sky: #eef2ff;
  --panel-sea: #ecfdf5;
  --surface: #ffffff;
  --ink: #142630;
  --ink-soft: #4a5a64;
  --accent: #0e5a6b;
  --accent-deep: #0a4452;
  --accent-tint: #d7ece9;
  --sand: #f3ead8;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(20 38 48 / 0.06), 0 14px 36px -14px rgb(20 38 48 / 0.2);
  --shadow-lift: 0 2px 4px rgb(20 38 48 / 0.07), 0 22px 48px -16px rgb(20 38 48 / 0.26);
  --font-head: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: Charter, "Bitstream Charter", Cambria, serif;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 48px;
  --s5: 96px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s2);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 var(--s2);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-deep);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding-left: 1.25em;
  margin: 0 0 var(--s2);
}

li + li {
  margin-top: 6px;
}

code,
.ql-mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.ql-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 50;
}

.ql-skip:focus {
  left: 16px;
}

.ql-wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.ql-head {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 12px;
}

.ql-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 8px 8px 8px 20px;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.ql-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.ql-logo:hover {
  color: var(--accent-deep);
}

.ql-logo svg {
  flex: none;
}

.ql-nav {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ql-nav li + li {
  margin-top: 0;
}

.ql-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.ql-nav a:hover {
  background: var(--panel-sea);
  color: var(--accent-deep);
}

.ql-nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.ql-menu {
  display: none;
  position: relative;
}

.ql-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
}

.ql-menu summary::-webkit-details-marker {
  display: none;
}

.ql-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(86vw, 300px);
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
}

.ql-menu__panel .ql-nav {
  flex-direction: column;
}

.ql-menu__panel .ql-nav a {
  display: block;
}

.ql-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--s4);
  align-items: end;
  padding-block: var(--s5) var(--s4);
}

.ql-hero__meta {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: var(--s3);
}

.ql-hero__lead {
  font-size: 1.2rem;
  max-width: 34em;
  color: var(--ink-soft);
}

.ql-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s3);
}

.ql-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgb(10 68 82 / 0.2), 0 10px 22px -10px rgb(10 68 82 / 0.55);
  transition: background-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.ql-btn:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.ql-btn--soft {
  background: var(--surface);
  color: var(--accent-deep);
  box-shadow: var(--shadow);
}

.ql-btn--soft:hover {
  background: var(--panel-sea);
  color: var(--accent-deep);
}

.ql-facts {
  margin: 0;
  padding: var(--s3);
  background: var(--panel-sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.ql-facts div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 10px 14px;
  background: rgb(255 255 255 / 0.7);
  border-radius: var(--radius-sm);
}

.ql-facts dt {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 3px;
}

.ql-facts dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.35;
}

.ql-depth {
  position: relative;
  height: 72px;
  margin-bottom: var(--s4);
}

.ql-depth svg {
  width: 100%;
  height: 100%;
}

.ql-band {
  padding-block: var(--s4);
}

.ql-band--sky {
  background: var(--panel-sky);
  border-radius: calc(var(--radius) * 1.5);
  padding-inline: clamp(16px, 4vw, 48px);
}

.ql-band--sea {
  background: var(--panel-sea);
  border-radius: calc(var(--radius) * 1.5);
  padding-inline: clamp(16px, 4vw, 48px);
}

.ql-band--airy {
  padding-block: var(--s5);
}

.ql-band__head {
  max-width: 44em;
  margin-bottom: var(--s3);
}

.ql-band__head p {
  color: var(--ink-soft);
}

.ql-table-box {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ql-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ql-table caption {
  text-align: left;
  padding: 20px 22px 6px;
  font-weight: 600;
  color: var(--ink-soft);
}

.ql-table th,
.ql-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 22px;
}

.ql-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}

.ql-table tbody th {
  background: var(--panel-sea);
  font-weight: 600;
  color: var(--accent-deep);
}

.ql-table tbody tr:nth-child(even) td {
  background: #f6f8fb;
}

.ql-table tbody tr:nth-child(even) th {
  background: #e2f6ee;
}

.ql-table__src {
  margin: 12px 4px 0;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ql-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s2);
  grid-auto-flow: dense;
}

.ql-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: var(--s3);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.ql-tile:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.ql-tile h3 {
  margin: 0;
}

.ql-tile p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.ql-tile--xl {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--panel-sea);
}

.ql-tile--wide {
  grid-column: span 3;
}

.ql-tile--tall {
  grid-column: span 2;
  grid-row: span 2;
}

.ql-tile--note {
  grid-column: span 2;
  background: var(--sand);
}

.ql-tile--sky {
  background: var(--panel-sky);
}

.ql-tile__shot {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.ql-tile__shot img {
  width: 100%;
  height: auto;
}

.ql-tile--xl .ql-tile__shot,
.ql-tile--tall .ql-tile__shot {
  max-width: 260px;
}

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

.ql-tile__tag {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.ql-tile__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  display: inline-block;
  padding: 10px 0;
}

.ql-shot-cap,
.ql-figure figcaption {
  font-family: var(--font-head);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: 8px;
}

.ql-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--s4);
  align-items: start;
}

.ql-notes__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: note;
}

.ql-notes__list li {
  counter-increment: note;
  position: relative;
  padding: 14px 18px 14px 58px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.ql-notes__list li + li {
  margin-top: 12px;
}

.ql-notes__list li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.ql-aside {
  padding: var(--s3);
  background: var(--panel-sky);
  border-radius: var(--radius);
}

.ql-aside h3 {
  font-size: 1.05rem;
}

.ql-aside ul {
  margin: 0;
}

.ql-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s3);
  align-items: center;
  padding: var(--s4) clamp(20px, 5vw, 56px);
  margin-block: var(--s4) var(--s5);
  background: var(--accent-deep);
  color: #f2f7f8;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow-lift);
}

.ql-cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.ql-cta p {
  margin: 0;
  color: #d6e6ea;
}

.ql-cta .ql-btn {
  background: #fff;
  color: var(--accent-deep);
}

.ql-cta .ql-btn:hover {
  background: var(--panel-sea);
}

.ql-crumbs {
  padding-top: var(--s4);
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.ql-crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ql-crumbs li + li {
  margin-top: 0;
}

.ql-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #93a2aa;
}

.ql-crumbs a {
  display: inline-block;
  padding: 10px 0;
}

.ql-intro {
  padding-block: var(--s3) var(--s4);
  max-width: 56em;
}

.ql-intro__meta {
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.ql-intro__lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 40em;
}

.ql-intro h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.ql-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
  padding-bottom: var(--s4);
}

.ql-article--split {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.ql-prose {
  max-width: 42em;
  min-width: 0;
}

.ql-prose h2 {
  margin-top: var(--s4);
}

.ql-prose h2:first-child {
  margin-top: 0;
}

.ql-prose h3 {
  margin-top: var(--s3);
}

.ql-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: var(--s2);
}

.ql-card {
  padding: var(--s3);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ql-card--sea {
  background: var(--panel-sea);
  box-shadow: none;
}

.ql-card--sky {
  background: var(--panel-sky);
  box-shadow: none;
}

.ql-card h2,
.ql-card h3 {
  font-size: 1.08rem;
}

.ql-card p,
.ql-card li {
  font-size: 0.96rem;
  line-height: 1.6;
}

.ql-card :last-child {
  margin-bottom: 0;
}

.ql-figure {
  margin: var(--s3) 0;
}

.ql-figure img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.ql-figure--portrait img {
  max-width: 300px;
}

.ql-figure--row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}

.ql-figure--row figure {
  margin: 0;
}

.ql-note {
  margin: var(--s3) 0;
  padding: 18px 22px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
}

.ql-note p:last-child {
  margin-bottom: 0;
}

.ql-code {
  margin: var(--s3) 0;
  padding: 20px 22px;
  background: #13303a;
  color: #dcecef;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.65;
  white-space: pre;
}

.ql-steps {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0;
  display: grid;
  gap: 12px;
}

.ql-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 18px;
  background: var(--panel-sky);
  border-radius: var(--radius-sm);
}

.ql-steps li + li {
  margin-top: 0;
}

.ql-steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-deep);
  font-family: var(--font-head);
}

.ql-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: var(--s4);
  align-items: center;
  padding: var(--s4) clamp(16px, 4vw, 48px);
  margin-bottom: var(--s3);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ql-game:nth-of-type(even) {
  background: var(--panel-sea);
  box-shadow: none;
}

.ql-game:nth-of-type(3n) {
  background: var(--panel-sky);
  box-shadow: none;
}

.ql-game--flip .ql-game__media {
  order: 2;
}

.ql-game__media {
  margin: 0;
  min-width: 0;
}

.ql-game__media img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.ql-game__media--portrait img {
  max-width: 280px;
  margin-inline: auto;
}

.ql-game__media figcaption {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.ql-game__body {
  min-width: 0;
}

.ql-game__dev {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.ql-game__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s2);
}

.ql-game__spec li {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
}

.ql-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s4);
}

.ql-toc li + li {
  margin-top: 0;
}

.ql-toc a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.ql-toc a:hover {
  background: var(--panel-sea);
}

.ql-scheme {
  margin: var(--s3) 0;
  padding: var(--s3);
  background: var(--panel-sky);
  border-radius: var(--radius);
}

.ql-scheme svg {
  width: 100%;
  height: auto;
}

.ql-scheme figcaption {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.ql-faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0 20px;
}

.ql-faq details + details {
  margin-top: 12px;
}

.ql-faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  list-style-position: outside;
}

.ql-faq details[open] summary {
  color: var(--accent-deep);
}

.ql-faq details p {
  padding-bottom: 8px;
}

.ql-shop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 12px;
}

.ql-shop li + li {
  margin-top: 0;
}

.ql-shop a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-family: var(--font-head);
  line-height: 1.4;
  transition: box-shadow 170ms ease;
}

.ql-shop a:hover {
  box-shadow: var(--shadow-lift);
}

.ql-shop span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

.ql-next {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s2);
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
}

.ql-next li + li {
  margin-top: 0;
}

.ql-next a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--panel-sea);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 160ms ease;
}

.ql-next a:hover {
  background: var(--accent-tint);
}

.ql-legal {
  max-width: 44em;
  padding-bottom: var(--s5);
}

.ql-legal h2 {
  font-size: 1.35rem;
  margin-top: var(--s4);
}

.ql-legal address {
  font-style: normal;
  padding: 18px 22px;
  background: var(--panel-sky);
  border-radius: var(--radius-sm);
  margin-bottom: var(--s3);
}

.ql-mail {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 700;
  word-break: break-word;
}

.ql-foot {
  margin-top: var(--s4);
  padding-block: var(--s4) var(--s3);
  background: #eaf0f3;
  border-radius: calc(var(--radius) * 1.5) calc(var(--radius) * 1.5) 0 0;
}

.ql-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s4);
}

.ql-owner {
  padding: var(--s3);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ql-owner strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ql-owner p {
  margin: 0 0 8px;
}

.ql-foot h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.ql-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ql-foot li + li {
  margin-top: 0;
}

.ql-foot li a {
  display: inline-block;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.ql-foot li a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.ql-foot__base {
  margin-top: var(--s3);
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.ql-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.ql-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@view-transition {
  navigation: auto;
}

@media (max-width: 1060px) {
  .ql-nav--top {
    display: none;
  }

  .ql-menu {
    display: block;
  }

  .ql-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ql-tile--xl,
  .ql-tile--wide {
    grid-column: span 4;
  }

  .ql-tile--xl {
    grid-row: auto;
  }

  .ql-tile--tall,
  .ql-tile--note {
    grid-column: span 2;
  }

  .ql-article--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-side {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 820px) {
  .ql-hero,
  .ql-notes,
  .ql-game,
  .ql-cta,
  .ql-foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-hero {
    padding-block: var(--s4) var(--s3);
    gap: var(--s3);
  }

  .ql-game--flip .ql-game__media {
    order: 0;
  }

  .ql-band--airy {
    padding-block: var(--s4);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16.5px;
  }

  .ql-head__bar {
    padding-left: 14px;
  }

  .ql-logo span {
    font-size: 0.98rem;
  }

  .ql-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-tile--xl,
  .ql-tile--wide,
  .ql-tile--tall,
  .ql-tile--note {
    grid-column: auto;
    grid-row: auto;
  }

  .ql-tile--xl .ql-tile__shot,
  .ql-tile--tall .ql-tile__shot {
    max-width: 220px;
  }

  .ql-hero__actions .ql-btn,
  .ql-cta .ql-btn {
    width: 100%;
  }

  .ql-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ql-figure--row,
  .ql-shop {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-figure--portrait img {
    max-width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .ql-reveal {
    opacity: 1;
    transform: none;
  }
}
