@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/poppins.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/poppins_medium.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/poppins_semibold.ttf) format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/poppins_bold.ttf) format('truetype');
}

:root {
  --surface: #161616;
  --background: #0c0c0c;
  --edge: #2c2c2c;
  --sidebar: #070707;
  --hover: #ffffff17;
  --track: #242424;
  --text: #f2f2f2;
  --dim: #8a8a8a;
  --accent: #e4e4e4;
  --on-accent: #0c0c0c;
  --accent-dim: #4a4a4a;
  --good: #7bd8a8;
  --bad: #e88a80;
  --card: #20202066;
  --coin: #f5c542;
  --price: #ffe08a;
  --radius-panel: 20px;
  --radius-control: 12px;
  --text-soft: #b4b4b4;
  --scrim: #000000c8;
  --radius-card: 16px;
  --radius-pill: 999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  color-scheme: dark;
  scrollbar-color: #ffffff59 #ffffff17;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--edge);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 1px;
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover {
  background: var(--hover);
  color: var(--text);
}

.nav-links a[aria-current] {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.nav-download {
  margin-left: auto;
  padding: 7px 18px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-control);
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav-download:hover {
  background: var(--track);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(#262626, var(--surface));
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--track);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(#f2f2f2, #d6d6d6);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #fff;
}

.btn-small {
  min-width: 0;
  padding: 8px 16px;
  border-radius: var(--radius-control);
  font-size: 14px;
}

.btn-wide {
  width: 100%;
  margin-top: 18px;
}

.btn-off,
.btn-off:hover,
.btn-off:active {
  background: var(--track);
  color: var(--dim);
  cursor: default;
  transform: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 16px 240px;
  background: url(../images/skyline.svg) bottom center no-repeat;
  background-size: max(100%, 1200px) auto;
}

.hero h1 {
  width: min(540px, 100%);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 2vw, 21px);
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--dim);
}

.page-title,
.page-head {
  text-align: center;
}

.page-title h1,
.page-head h1 {
  font-size: clamp(38px, 6.4vw, 80px);
  font-weight: 700;
  line-height: 1.1;
}

.page-title p,
.page-head p {
  margin-top: 10px;
  font-size: clamp(13px, 1.6vw, 17px);
}

.page {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.page-title {
  padding: 56px 0 36px;
}

.page-title p {
  color: var(--dim);
}

.panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-panel);
  background: linear-gradient(var(--surface), var(--background));
}

.panel h2 {
  font-size: 24px;
  font-weight: 600;
}

.panel h2.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  text-transform: uppercase;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--accent);
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--edge);
}

.panel-head,
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.panel-head p,
.panel-foot {
  font-size: 14px;
  color: var(--dim);
}

.panel-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--edge);
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 20px;
  scroll-margin-top: 20px;
}

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

.columns-first {
  margin-top: 0;
}

#tickets {
  scroll-margin-top: 20px;
}

.rows {
  list-style: none;
  display: grid;
  gap: 8px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border: 1px solid var(--track);
  border-radius: var(--radius-control);
  background: var(--card);
}

.row b,
.row div > span {
  display: block;
}

.row b {
  font-size: 15px;
  font-weight: 600;
}

.row div > span {
  font-size: 13px;
  color: var(--dim);
}

.reward,
.price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--price);
  font-weight: 600;
  white-space: nowrap;
}

.coin {
  width: 14px;
  height: 14px;
  flex: none;
  border: 2px solid #b8801f;
  border-radius: 50%;
  background: radial-gradient(circle, #e0a526 0 38%, var(--coin) 42%);
}

.small-print {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

kbd,
code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--track);
  color: var(--text);
  font-size: 0.9em;
}

kbd {
  font-family: inherit;
  white-space: nowrap;
}

code {
  font-family: Consolas, 'JetBrains Mono', monospace;
  overflow-wrap: anywhere;
}

.search {
  width: 100%;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-control);
  background: var(--sidebar);
  font-size: 15px;
}

.search::placeholder {
  color: var(--dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--track);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.chip small {
  color: var(--dim);
  font-size: 13px;
  font-weight: 400;
}

.chip:hover {
  background: #303030;
}

.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.chip[aria-pressed="true"] small {
  color: #454545;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 10px;
}

.item {
  display: block;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  padding: 12px;
  border: 1px solid var(--track);
  border-radius: var(--radius-card);
  background: var(--card);
}

.item:hover {
  background: #ffffff0d;
}

.item-art {
  height: 152px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}

.item-art img {
  display: block;
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.item-art.cape img {
  width: 80px;
  height: 128px;
  border-radius: 3px;
}

.item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item .price {
  font-size: 13px;
}

.empty {
  padding: 48px 0;
  text-align: center;
  color: var(--dim);
}

html.preview-open {
  overflow: hidden;
}

.preview {
  width: min(900px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 24px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius-panel);
  background: linear-gradient(var(--surface), var(--background));
  color: var(--text);
  overflow: hidden;
}

.preview:focus,
.preview:focus-visible {
  outline: none;
}

.preview[open] {
  display: grid;
  grid-template-columns: 11fr 9fr;
  grid-template-rows: minmax(0, 1fr);
}

.preview::backdrop {
  background: var(--scrim);
}

.preview[data-rarity="common"] {
  --rarity-light: #7b8494;
  --rarity-dark: #3a404c;
}

.preview[data-rarity="uncommon"] {
  --rarity-light: #5bc236;
  --rarity-dark: #1f5a1a;
}

.preview[data-rarity="rare"] {
  --rarity-light: #3c9bf0;
  --rarity-dark: #16407a;
}

.preview[data-rarity="epic"] {
  --rarity-light: #b45cf0;
  --rarity-dark: #4a1c7e;
}

.preview[data-rarity="legendary"] {
  --rarity-light: #f5a23a;
  --rarity-dark: #7a3a12;
}

.preview-stage {
  position: relative;
  min-height: 0;
  background: linear-gradient(var(--rarity-light), var(--rarity-dark));
}

.preview-stage canvas,
.preview-fallback {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 32px);
}

.preview-stage canvas {
  cursor: grab;
  touch-action: none;
}

.preview-stage canvas:active {
  cursor: grabbing;
}

.preview-stage canvas:focus-visible {
  outline-offset: -4px;
}

.preview-fallback {
  padding: 48px;
  object-fit: contain;
}

.preview-hint {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  text-align: center;
  font-size: 12px;
  color: #ffffffb0;
  pointer-events: none;
}

.preview-info {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  overflow: auto;
}

.preview-rarity {
  color: var(--rarity-light);
  font-weight: 600;
}

.preview-group {
  color: var(--dim);
  font-size: 14px;
}

.preview-info h2 {
  margin: 14px 0 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.preview-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.preview-buy {
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  color: var(--dim);
}

.preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #ffffff20;
  cursor: pointer;
}

.preview-close:hover {
  background: #ffffff40;
}

.preview-close::before,
.preview-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 16px;
  height: 2px;
  background: var(--text);
  transform: rotate(45deg);
}

.preview-close::after {
  transform: rotate(-45deg);
}

.disclosure {
  border: 1px solid var(--track);
  border-radius: var(--radius-control);
  background: var(--card);
}

.disclosure + .disclosure {
  margin-top: 8px;
}

.disclosure summary {
  position: relative;
  padding: 14px 46px 14px 16px;
  border-radius: var(--radius-control);
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

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

.disclosure summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 19px;
  width: 8px;
  height: 8px;
  border: solid var(--dim);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.disclosure[open] summary::after {
  top: 23px;
  transform: rotate(225deg);
}

.disclosure summary:hover {
  background: var(--hover);
}

.disclosure p {
  padding: 4px 16px 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.steps {
  margin: 0 0 18px 20px;
  font-size: 14px;
  line-height: 1.8;
}

.nav-download[aria-current] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.platform {
  display: flex;
  flex-direction: column;
}

.platform.current {
  border-color: var(--accent-dim);
  background: linear-gradient(#202020, var(--background));
}

.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.platform-head img {
  width: 48px;
  height: 48px;
}

.your-system {
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
}

.platform > p {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--dim);
}

.platform-builds {
  margin-top: auto;
}

.platform-builds .btn {
  min-width: 0;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 0;
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 15px;
}

.platform-builds small {
  font-size: 12px;
  font-weight: 400;
}

.stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.disclosure .steps {
  margin: 0;
  padding: 4px 18px 14px 36px;
  color: var(--text-soft);
}

.page-head {
  padding: 78px 16px 230px;
  background:
    linear-gradient(#0c0c0cb8, #0c0c0cc8 55%, var(--background)),
    url(../images/features/header.webp) center 40% / cover no-repeat;
}

.feature-strip {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: -150px auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--edge);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.feature-tile {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  isolation: isolate;
}

.feature-tile:focus-visible {
  outline-offset: -6px;
}

.tile-bg {
  position: absolute;
  inset: -14px;
  z-index: -2;
  background: center / cover no-repeat;
  filter: blur(3px);
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #00000073;
}

.feature-tile:hover .tile-bg,
.feature-tile:focus-visible .tile-bg {
  transform: scale(1.06);
  filter: blur(0);
}

.tile-install .tile-bg {
  background-image: url(../images/features/tile-install.webp);
}

.tile-mods .tile-bg {
  background-image: url(../images/features/tile-mods.webp);
}

.tile-frames .tile-bg {
  background-image: url(../images/features/tile-frames.webp);
}

.tile-os .tile-bg {
  background-image: url(../images/features/tile-os.webp);
}

.tile-small {
  font-size: clamp(10px, 0.92vw, 13px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tile-big {
  margin-top: 8px;
  font-size: clamp(22px, 2.8vw, 41px);
  font-weight: 700;
  line-height: 1.15;
}

.detail {
  scroll-margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.detail + .detail {
  border-top: 1px solid var(--edge);
}

.detail.reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.detail.reverse .detail-text {
  order: 2;
}

.detail-text h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 700;
  line-height: 1.1;
}

.detail-text p {
  margin-top: 22px;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--dim);
}

.detail-visual {
  border: 1px solid var(--edge);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.detail-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.fps-row {
  position: relative;
  isolation: isolate;
  padding: 22px 22px 40px;
  background: url(../images/features/frames.webp) center 60% / cover no-repeat;
}

.fps-row + .fps-row {
  border-top: 1px solid var(--edge);
}

.fps-row.without::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #00000096;
}

.fps-label {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: #0a0a0af0;
  font-size: 13px;
  font-weight: 600;
}

.fps-label.good {
  color: var(--good);
}

.fps-label.bad {
  color: var(--bad);
}

.fps-screen {
  margin-top: 22px;
  text-align: center;
}

.fps-pill {
  display: inline-block;
  padding: 8px 26px;
  border-radius: var(--radius-card);
  background: var(--scrim);
  color: #a8a8a8;
  font-size: clamp(26px, 3.6vw, 50px);
  white-space: nowrap;
}

.fps-pill b {
  color: var(--text);
  font-weight: 600;
}

.os-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 144px;
  padding: 24px 32px;
}

.os-row + .os-row {
  border-top: 1px solid var(--edge);
}

.os-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat;
  filter: brightness(0.4);
}

.os-row.windows::before {
  background-image: url(../images/features/windows.webp);
}

.os-row.macos::before {
  background-image: url(../images/features/macos.webp);
}

.os-row.linux::before {
  background-image: url(../images/features/linux.webp);
}

.os-row img {
  width: 48px;
  height: 48px;
}

.os-row span {
  font-size: 32px;
  font-weight: 600;
}

.os-row small {
  justify-self: end;
  text-align: right;
  font-size: 14px;
}

.document {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  overflow-wrap: break-word;
}

.document h1 {
  color: var(--text);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
}

.document h2 {
  margin-top: 34px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.document p,
.document ul {
  margin-top: 10px;
}

.document .updated {
  margin: 4px 0 28px;
  color: var(--dim);
  font-size: 13px;
}

.document ul {
  padding-left: 22px;
}

.document a,
.document strong {
  color: var(--text);
}

.document strong {
  font-weight: 500;
}

.document a {
  text-underline-offset: 3px;
}

.footer {
  border-top: 1px solid var(--edge);
  background: var(--sidebar);
}

.footer-inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  gap: 80px;
}

.footer-brand {
  margin-right: auto;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col a {
  font-size: 14px;
  color: var(--dim);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

@media (max-width: 1000px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-tile {
    aspect-ratio: 4 / 3;
  }

  .tile-big {
    font-size: clamp(24px, 4.8vw, 42px);
  }

  .detail,
  .detail.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 56px 16px;
  }

  .detail.reverse .detail-text {
    order: 0;
  }

  .fps-pill {
    font-size: clamp(26px, 7vw, 50px);
  }
}

@media (max-width: 860px) {
  .nav {
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-links a {
    padding: 8px 11px;
  }

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

@media (max-width: 700px) {
  .preview {
    height: min(640px, calc(100vh - 24px));
    height: min(640px, calc(100dvh - 24px));
  }

  .preview[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .preview-info {
    position: static;
    padding: 14px 16px;
  }

  .preview-info h2 {
    margin: 4px 0;
    font-size: 20px;
  }

  .preview-options {
    margin-top: 12px;
  }

  .preview-buy {
    padding-top: 12px;
    font-size: 12px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .nav-links a {
    padding: 7px 9px;
    font-size: 14px;
  }

  .hero {
    padding: 56px 16px 180px;
  }

  .buttons {
    width: 100%;
    max-width: 400px;
  }

  .buttons .btn {
    min-width: 0;
    flex: 1 1 125px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .page {
    padding: 0 12px 48px;
  }

  .page-title {
    padding: 36px 0 26px;
  }

  .panel {
    padding: 16px 12px;
    border-radius: var(--radius-card);
  }

  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 8px;
  }

  .item {
    padding: 8px;
  }

  .item-art {
    height: 124px;
  }

  .item-art img {
    width: 100px;
    height: 100px;
  }

  .item-art.cape img {
    width: 65px;
    height: 104px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 36px;
    padding: 36px 16px;
  }

  .footer-brand {
    width: 100%;
  }

  .os-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 16px;
    min-height: 112px;
    padding: 20px;
  }

  .os-row img {
    grid-row: span 2;
    width: 36px;
    height: 36px;
  }

  .os-row span {
    font-size: 25px;
  }

  .os-row small {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-tile {
    aspect-ratio: 16 / 9;
  }

  .tile-big {
    font-size: 30px;
  }
}

@media (max-width: 350px) {
  .nav-links a {
    padding: 7px 6px;
    font-size: 13px;
  }
}

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

  .tile-bg {
    transition: none;
  }
}
