/* StarHarbor 1.2: original Steam-inspired UI, responsive from 320px. */
:root {
  color-scheme: dark;
  --bg: #1b2838;
  --panel: #16202d;
  --line: #32485d;
  --text: #e5edf4;
  --muted: #8fabc1;
  --accent: #66c0f4;
  --green: #bece73;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-button {
  border: 0;
  background: transparent;
  font-size: 12px;
  color: var(--accent);
  padding: 8px 0;
  min-height: 36px;
}
.text-button:hover {
  color: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 76% 4%, #29537360, transparent 45%),
    linear-gradient(180deg, #1b3246, #1b2838 680px, #162231);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
body.modal-open,
body.drawer-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0e1925;
  border: 1px solid #354b60;
  border-radius: 3px;
  color: #e6edf3;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #66c0f418;
}
textarea {
  resize: vertical;
  min-height: 112px;
}
label {
  display: block;
  font-size: 13px;
  color: #c7d5e0;
  margin-bottom: 7px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
  color: var(--muted);
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  max-width: 100%;
}
.row,
.headrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wrap {
  flex-wrap: wrap;
}
.muted {
  color: var(--muted);
}
.spaced {
  margin-top: 20px;
}
.nowrap {
  white-space: nowrap;
}
.stack {
  display: grid;
  gap: 16px;
}
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}
.layout {
  min-height: 100dvh;
}
.topbar {
  height: 100px;
  background: #171d25;
  border-bottom: 1px solid #ffffff06;
}
.header-inner {
  width: min(1240px, 100%);
  height: 100%;
  padding: 0 32px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: 2px;
}
.brand span {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 3.4px;
  color: #8fa4b6;
}
.globalnav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
}
.globalnav a {
  position: relative;
  font-size: 14px;
  letter-spacing: 1px;
  color: #c7d5e0;
  padding: 12px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.globalnav a:hover,
.globalnav a.active {
  color: var(--accent);
}
.globalnav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.globalnav .icon {
  display: none;
}
.topactions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.topactions .btn {
  min-height: 34px;
  font-size: 12px;
  padding: 6px 13px;
}
.topactions .account-link {
  font-size: 12px;
  gap: 8px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid #66c0f450;
  background: linear-gradient(135deg, #3b7698, #264d69);
  color: #d9f2ff;
  font-weight: 700;
  border-radius: 4px;
}
.mobilemenu,
.bottomnav {
  display: none;
}
.content {
  width: min(1240px, 100%);
  min-height: 70vh;
  padding: 32px 32px 48px;
  margin: auto;
}
.route-enter {
  animation: route-in 0.48s var(--ease) both;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #102235;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 3px;
}
.skip-link:focus {
  top: 12px;
}
.pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 26px;
}
.pagehead p {
  margin-top: 10px;
  font-size: 13px;
  max-width: 680px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #4c6a8230;
  background: linear-gradient(110deg, #315879, #24415c);
  border-radius: 3px;
  color: #dbeaf7;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.2s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: linear-gradient(110deg, #4278a1, #2e5b7c);
  box-shadow: 0 4px 16px #0003;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: linear-gradient(100deg, #47a7de, #2581be);
  color: white;
  border-color: #7dcdf525;
  box-shadow: 0 3px 18px #0895de12;
}
.btn.primary:hover {
  background: linear-gradient(100deg, #63beef, #3499d4);
}
.btn.play-button {
  background: linear-gradient(100deg, #91b13f, #678a2c);
  border-color: #b8d45a30;
  color: #f5ffd9;
}
.btn.play-button:hover {
  background: linear-gradient(100deg, #a0c44b, #789d37);
}
.btn.light {
  background: #d7ecfa;
  color: #1b3b55;
}
.btn.ghost {
  background: #ffffff04;
  border: 1px solid #6b899b50;
  color: #bed3e4;
}
.btn.ghost:hover {
  background: #66c0f416;
  color: #fff;
  border-color: #66c0f480;
}
.btn.danger {
  color: #f1a9ad;
  background: #6b2b3338;
  border-color: #9a4c5350;
}
.btn.small {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #52728b40;
  background: #203347;
  border-radius: 3px;
  transition: background 0.2s;
}
.iconbtn:hover {
  background: #34546e;
}
.text-link {
  font-size: 12px;
  color: var(--accent);
}
.text-link:hover {
  color: #fff;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 34px 0 16px;
}
.section-head h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
}
.section-head h2 small {
  color: #617f98;
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 12px;
}
.section-head > small {
  font-size: 11px;
  white-space: nowrap;
}
.store-toolbar {
  min-height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: linear-gradient(100deg, #3b6c91, #26516e);
  box-shadow: 0 0 12px #0002;
  margin-bottom: 28px;
  border-radius: 3px;
  padding: 4px 5px 4px 18px;
}
.store-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.store-links a {
  font-size: 13px;
  color: #e4f2fc;
  padding: 8px 0;
  white-space: nowrap;
}
.store-links a:hover {
  color: white;
  text-shadow: 0 0 15px #eafaff55;
}
.searchbox {
  width: 285px;
  position: relative;
  flex-shrink: 0;
}
.searchbox input {
  height: 36px;
  padding: 6px 46px 6px 13px;
  border-color: #12334c;
  background: #17354c;
  box-shadow: inset 0 1px 2px #0004;
  color: #edf5ff;
  font-size: 13px;
}
.searchbox input::placeholder {
  color: #91b1c8;
}
.searchbox > svg {
  position: absolute;
  right: 11px;
  top: 8px;
  width: 19px;
  color: #76b8e2;
  pointer-events: none;
}
.store-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}
.store-heading h1 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.store-heading p {
  font-size: 12px;
  margin-top: 7px;
  color: #9cb4c6;
}
.store-heading > .eyebrow {
  margin: 0;
  color: #6e91ad;
  font-size: 10px;
}
.featured {
  position: relative;
  margin-bottom: 4px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  min-height: 350px;
  background: #0c1824;
  box-shadow: 0 10px 34px #0005;
  overflow: hidden;
  border: 1px solid #56748d28;
  border-radius: 3px;
  isolation: isolate;
  touch-action: pan-y;
  --pointer-x: 50%;
  --pointer-y: 50%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--pointer-x) var(--pointer-y),
    #86d8ff10,
    transparent 45%
  );
  z-index: 2;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 350px;
}
.hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: art-in 0.7s var(--ease) both;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, #0c182460),
    linear-gradient(0deg, #041325d9, transparent 42%);
  pointer-events: none;
}
.hero-visual-label {
  position: absolute;
  bottom: 23px;
  left: 26px;
  z-index: 1;
}
.hero-visual-label strong {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #b6def5;
  font-weight: 500;
}
.hero-visual-label span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e1f3ff;
  font-size: 12px;
  margin-top: 7px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #bece73;
  box-shadow: 0 0 10px #acd76f80;
  border-radius: 50%;
  display: inline-block;
}
.hero-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(140deg, #152a3b, #101d29);
  min-width: 0;
  animation: info-in 0.55s var(--ease) both;
}
.hero-info .eyebrow {
  letter-spacing: 2.6px;
  font-size: 9px;
  margin-bottom: 16px;
}
.hero-info h2 {
  font-size: 30px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.hero-info > p {
  font-size: 12px;
  line-height: 1.9;
  color: #abc3d6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-info .game-tags {
  margin-bottom: 20px;
}
.hero-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
}
.hero-thumbnails a {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.hero-thumbnails a:hover {
  opacity: 1;
}
.hero-thumbnails img {
  display: block;
  width: 100%;
  aspect-ratio: 2.7;
  object-fit: cover;
}
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-price {
  font-size: 18px;
  color: #bece73;
}
.hero-price small {
  display: block;
  font-size: 10px;
  color: #7897af;
}
.hero-footer .btn {
  min-height: 40px;
  font-size: 12px;
  padding: 8px 14px;
}
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #338cc5, #91d7ff);
  width: 100%;
  transform-origin: left;
  z-index: 3;
  animation: hero-progress 7s linear both;
}
.hero-progress.paused {
  animation-play-state: paused;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  min-height: 38px;
}
.carousel-controls .iconbtn {
  border: 0;
  background: transparent;
  min-width: 36px;
  min-height: 36px;
  color: #8fa8bc;
}
.carousel-controls .iconbtn:hover {
  color: #fff;
  background: #66c0f414;
}
.carousel-controls .iconbtn .icon {
  width: 16px;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-dots button {
  width: 34px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 12px 5px;
}
.hero-dots button:after {
  content: "";
  display: block;
  height: 5px;
  border-radius: 2px;
  background: #476078;
  transition:
    background 0.3s,
    transform 0.3s;
}
.hero-dots button.selected:after {
  background: var(--accent);
  transform: scaleY(1.3);
}
.carousel-controls .hero-pause {
  color: #6d8ba3;
}
.hero-position {
  font-size: 10px;
  letter-spacing: 2px;
  color: #65849d;
  min-width: 33px;
}
.carousel-controls .previous .icon {
  transform: rotate(180deg);
}
.platform-discovery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.platform-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  padding: 20px 22px;
  border: 1px solid #5394bd25;
  border-radius: 3px;
  background: linear-gradient(120deg, #254761, #1c3247);
  text-align: left;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}
.platform-tile > .icon {
  width: 29px;
  height: 29px;
  color: #80c8f2;
}
.platform-tile div {
  flex: 1;
  min-width: 0;
}
.platform-tile strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
}
.platform-tile small {
  display: block;
  font-size: 10px;
  color: #92b6d0;
  margin-top: 4px;
}
.platform-tile .tile-arrow {
  width: 16px;
  color: #658fae;
}
.platform-tile.selected {
  border-color: #66c0f485;
  background: linear-gradient(120deg, #2c5a7a, #1e3d56);
}
.platform-tile:hover {
  border-color: #66c0f475;
  background: linear-gradient(120deg, #2e5b7d, #23435d);
}
.filters {
  display: flex;
  align-items: center;
  gap: 3px;
  border-bottom: 1px solid #47728f55;
  flex-wrap: wrap;
}
.chip {
  background: #ffffff04;
  border: 1px solid #6587a42b;
  padding: 8px 14px;
  min-height: 40px;
  font-size: 12px;
  color: #a3c2d8;
  border-radius: 3px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.chip:hover {
  background: #66c0f416;
  color: white;
}
.chip.selected {
  border-color: #66c0f465;
  background: #66c0f420;
  color: #d9f2ff;
}
.filters .chip {
  border: 0;
  border-radius: 3px 3px 0 0;
  background: transparent;
  min-height: 44px;
}
.filters .chip.selected {
  background: #2b4860;
  color: #fff;
  box-shadow: inset 0 2px #66c0f4;
}
.filters select {
  margin-left: auto;
  max-width: 140px;
  font-size: 12px;
  padding: 8px 12px;
  background: #172b3e;
  border-color: #395773;
}
.tag-filters {
  display: flex;
  gap: 7px;
  padding: 14px 0 19px;
  flex-wrap: wrap;
  align-items: center;
}
.tag-filters > small {
  font-size: 10px;
  margin-right: 3px;
  color: #6f94ae;
}
.tag-filters .chip {
  padding: 4px 10px;
  min-height: 29px;
  font-size: 10px;
  border-color: #5a7e9a25;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.game-grid > .empty {
  grid-column: 1/-1;
}
.game-card {
  display: block;
  min-width: 0;
  background: linear-gradient(110deg, #203b50, #192b3c);
  box-shadow: 0 3px 12px #0003;
  border: 1px solid #78b0d015;
  border-radius: 3px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
}
.game-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--pointer-x) var(--pointer-y),
    #b3e9ff10,
    transparent 55%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #152b3f;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.card-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0c1a2c66, transparent 40%);
  pointer-events: none;
}
.card-image .pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #102132c9;
  color: #d1eaf9;
  border-color: #92ccf033;
  z-index: 1;
  backdrop-filter: blur(8px);
  font-size: 9px;
}
.card-play {
  position: absolute;
  bottom: 12px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d8f3ff;
  font-size: 10px;
  z-index: 1;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.card-play .icon {
  width: 14px;
  height: 14px;
}
.card-body {
  padding: 15px 16px 13px;
}
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-body h3 {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.price {
  padding: 4px 9px;
  font-size: 11px;
  color: #d5eaa8;
  background: #405b272f;
  white-space: nowrap;
  border: 1px solid #8dba4230;
}
.card-summary {
  font-size: 11px;
  line-height: 1.65;
  color: #839fb5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0 11px;
}
.rating {
  font-size: 10px;
  color: #b9d877;
  white-space: nowrap;
}
.game-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.game-tags span {
  font-size: 10px;
  line-height: 1.7;
  color: #91b5ce;
  background: #304d6565;
  padding: 2px 7px;
  border-radius: 2px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #6d9bbb19;
  color: #809db2;
  font-size: 10px;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #95bfd8;
  min-width: 0;
  overflow-wrap: anywhere;
}
.verified svg {
  width: 13px;
  height: 13px;
}
.card-footer .verified {
  max-width: 55%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.platformbar {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b4c6d4;
}
.platformbar .icon {
  width: 14px;
  height: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #609dc34a;
  background: #66c0f411;
  color: #a5d7f5;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 2px;
}
.browse-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
}
.release-list {
  display: grid;
  gap: 6px;
}
.release-row {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #182e42;
  border: 1px solid #6ca3bf16;
  padding: 7px;
  min-width: 0;
  transition: background 0.2s;
}
.release-row:hover {
  background: #294b64;
}
.release-row img {
  width: 126px;
  aspect-ratio: 16/9;
  object-fit: cover;
  flex-shrink: 0;
}
.release-row > div {
  flex: 1;
  min-width: 0;
}
.release-row h3 {
  font-size: 14px;
  font-weight: 500;
}
.release-row p {
  font-size: 10px;
  color: #6e93ac;
  margin-top: 5px;
}
.release-row .price {
  margin-right: 6px;
}
.sdk-promo {
  position: relative;
  overflow: hidden;
  padding: 27px;
  background:
    radial-gradient(ellipse at 95% 0, #356c8750, transparent 60%),
    linear-gradient(125deg, #203e53, #152b3d);
  border: 1px solid #70b6d82d;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 250px;
}
.sdk-promo > .icon {
  position: absolute;
  right: 22px;
  top: 23px;
  width: 52px;
  height: 52px;
  color: #66c0f41c;
}
.sdk-promo .eyebrow {
  margin: 0;
}
.sdk-promo h3 {
  font-size: 23px;
  font-weight: 500;
  color: #d2edff;
  max-width: 260px;
  line-height: 1.5;
}
.sdk-promo p {
  font-size: 12px;
  max-width: 300px;
  line-height: 1.9;
}
.sdk-promo a {
  align-self: flex-start;
}
.sdk-languages {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #608aa6;
  margin-bottom: 4px;
}
.welcome-banner {
  margin-top: 36px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(110deg, #244962, #1b354a);
  border: 1px solid #76b1ce25;
  border-radius: 3px;
}
.welcome-banner h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}
.welcome-banner p {
  font-size: 12px;
  color: #8bb1cc;
}
.banner-symbol {
  font-size: 37px;
  line-height: 1;
  color: #77c8f2;
  margin-right: 7px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #6c8a9f;
  border-top: 1px solid #51728b2e;
  margin-top: 38px;
  padding-top: 24px;
}
.footer div {
  display: flex;
  gap: 20px;
}
.footer a:hover {
  color: var(--accent);
}
.footer-brand {
  letter-spacing: 2px;
  color: #83a7be;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #779bb6;
  margin-bottom: 20px;
}
.breadcrumb a:hover {
  color: #c7eaff;
}
.detail-heading {
  margin-bottom: 22px;
}
.detail-heading h1 {
  font-size: 32px;
}
.detail-heading p {
  font-size: 13px;
  margin-top: 7px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 24px;
}
.detail-main {
  min-width: 0;
}
.detail-art-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  background: #102030;
  border: 1px solid #66c0f418;
  border-radius: 3px;
}
.detail-art {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.art-caption {
  position: absolute;
  left: 18px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #c6eaff;
  background: #0b1c2fc7;
  backdrop-filter: blur(8px);
  padding: 5px 10px;
}
.detail-description {
  font-size: 14px;
  line-height: 2;
  color: #adc1d1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #486b853d;
  margin-bottom: 20px;
  padding-bottom: 12px;
}
.detail-tabs a {
  font-size: 12px;
  color: #98bdd7;
}
.detail-tabs a:first-child {
  color: #e2f3ff;
}
.detail-side {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 24px;
  background: linear-gradient(145deg, #182f43, #142435);
  border: 1px solid #6da6c02e;
  border-radius: 3px;
}
.detail-side .game-tags {
  margin: 15px 0;
}
.detail-side h2 {
  font-size: 23px;
  margin: 12px 0;
}
.detail-side > .verified {
  font-size: 11px;
}
.detail-summary {
  font-size: 12px;
  line-height: 1.8;
  color: #b0c8da;
  margin: 15px 0 20px;
}
.detail-side .meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #6c96b226;
  padding: 10px 0;
  font-size: 11px;
}
.meta span:first-child {
  color: #7d9db5;
}
.meta span:last-child {
  color: #d0e3f2;
  text-align: right;
}
.detail-side .btn {
  width: 100%;
  margin-top: 10px;
}
.purchase-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #6c96b233;
}
.purchase-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.purchase-price strong {
  font-size: 22px;
  font-weight: 500;
  color: #d7e7a0;
}
.purchase-price small {
  font-size: 10px;
}
.version-list {
  margin-top: 22px;
}
.version-list summary {
  font-size: 11px;
  color: #8fb1cb;
}
.version-list .listitem {
  font-size: 10px;
}
.detail-side-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 18px;
  color: #6f93ae;
}
.detail-side-note > .icon {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: #94baca;
}
.mobile-gamebar {
  display: none;
}
.library-cover {
  position: relative;
  margin-bottom: 24px;
  padding: 35px;
  background: linear-gradient(115deg, #284f68, #1b3147);
  border: 1px solid #70b7d422;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.library-cover:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid #86c6e31a;
  border-radius: 50%;
  right: 130px;
  top: -95px;
  pointer-events: none;
  box-shadow:
    0 0 0 40px #89c7e305,
    0 0 0 90px #89c7e303;
}
.library-cover h1 {
  margin-bottom: 8px;
  font-size: 29px;
}
.library-cover p {
  font-size: 12px;
}
.library-count {
  font-size: 35px;
  color: #a6d7f5;
  line-height: 1;
}
.library-count small {
  display: block;
  font-size: 10px;
  color: #719bb7;
  letter-spacing: 2px;
  margin-top: 8px;
}
.library-item {
  min-width: 0;
  gap: 8px;
}
.library-item > .btn {
  justify-self: end;
  color: #7093ac;
}
.review {
  padding: 20px;
  background: linear-gradient(110deg, #1a3246, #162b3f);
  border: 1px solid #6593b221;
  border-radius: 3px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.review-head b {
  font-size: 12px;
  font-weight: 500;
}
.review-head time {
  margin-left: auto;
  font-size: 10px;
  color: #6e94b0;
}
.review p {
  font-size: 13px;
  color: #b5cadb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stars {
  color: #9acceb;
  font-size: 12px;
  letter-spacing: 2px;
}
.panel {
  min-width: 0;
  background: linear-gradient(135deg, #1b3145, #172a3c);
  border: 1px solid #5c89a72d;
  border-radius: 4px;
  padding: 24px;
}
.panel h3 {
  margin-bottom: 14px;
}
.panel p {
  font-size: 13px;
  line-height: 1.9;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  margin-bottom: 25px;
}
.stat {
  min-width: 0;
  padding: 23px;
  background: linear-gradient(130deg, #23465f, #1a3045);
  border: 1px solid #6da4c325;
  border-radius: 3px;
}
.stat b {
  display: block;
  color: #cbeaff;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 7px 0 2px;
}
.stat small {
  font-size: 11px;
  color: #88acc6;
}
.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #294a67;
  color: #a9d2ed;
  font-size: 10px;
  white-space: nowrap;
  border-radius: 2px;
  line-height: 1.4;
}
.status.published,
.status.approved {
  background: #536b2638;
  color: #c1da8e;
}
.status.pending {
  background: #9a763729;
  color: #e3c384;
}
.status.rejected {
  background: #973d452b;
  color: #edacb7;
}
.status.draft {
  background: #52708d29;
  color: #93abc1;
}
.project {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background: #1a3044;
  border: 1px solid #5f90ad23;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.project:hover {
  border-color: #6eb9e350;
}
.project img {
  width: 125px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 2px;
}
.project h3 {
  font-size: 16px;
}
.project p {
  font-size: 11px;
  margin: 5px 0;
}
.project .actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 270px;
}
.project code {
  font-size: 10px;
  color: #76a0be;
}
.formgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.field {
  margin-bottom: 18px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.error {
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid #a0495150;
  background: #75393f25;
  color: #f1a9af;
  border-radius: 3px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.success {
  color: #c1d68a;
  font-size: 13px;
}
.alert {
  padding: 16px 18px;
  margin-bottom: 20px;
  background: #29516e4d;
  color: #add8f1;
  border: 1px solid #4d9dc53b;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.85;
}
.alert.green {
  background: #5c733523;
  color: #c1d68f;
  border-color: #8fa84f35;
}
.security-alert {
  margin-bottom: 24px;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  border-bottom: 1px solid #52718b30;
  padding-bottom: 13px;
  flex-wrap: wrap;
}
.tablewrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  padding: 11px;
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  color: #7fabc5;
}
td {
  padding: 13px 11px;
  border-top: 1px solid #6188a329;
  color: #c0d6e6;
}
td code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.queue-card {
  padding: 24px;
  border: 1px solid #689ab82b;
  background: #1a3044;
  border-radius: 3px;
}
.queue-card p {
  font-size: 13px;
  color: #b6cbda;
  white-space: pre-wrap;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.queue-card .row {
  flex-wrap: wrap;
}
.queue-card small {
  overflow-wrap: anywhere;
}
.listitem {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #6a93ae21;
  font-size: 12px;
  min-width: 0;
}
.listitem > span,
.listitem > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.listitem small {
  overflow-wrap: anywhere;
  font-size: 10px;
}
.listitem p {
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.listitem .btn {
  flex-shrink: 0;
}
.compact {
  margin: 20px 0;
}
.compact .stat b {
  font-size: 22px;
}
.usage-meter {
  margin: 18px 0;
}
.usage-meter progress {
  width: 100%;
  height: 9px;
  accent-color: #66c0f4;
  border: 0;
  border-radius: 2px;
}
.usage-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 14px 14px;
  background: #11273a;
  border: 1px solid #5f849d25;
  border-radius: 3px;
  margin: 14px 0;
}
.usage-chart > div {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.usage-chart small {
  display: block;
  margin-top: 8px;
  color: #7f9eb7;
  font-size: 10px;
}
.usage-bar {
  max-width: 42px;
  margin: auto;
  background: linear-gradient(#73cafa, #2c759f);
  border-radius: 2px 2px 0 0;
}
.recovery-codes {
  width: 100%;
  font: 15px/1.8 monospace;
  margin: 18px 0;
  padding: 14px;
  background: #101f2d;
  color: #d4efff;
  border: 1px solid #3b5c74;
  border-radius: 3px;
  resize: vertical;
}
.secret-key {
  white-space: pre-wrap;
  word-break: break-all;
  margin: 18px 0;
  padding: 18px;
  background: #10263a;
  border-radius: 3px;
  color: #9ad8fa;
}
.upload-progress {
  padding: 14px;
  background: #10273a;
  color: #a6d7f3;
  border: 1px solid #4a79933b;
  border-radius: 3px;
  margin-top: 12px;
}
details summary {
  cursor: pointer;
  color: #a8c7dd;
}
details[open] summary {
  margin-bottom: 14px;
}
.inline-code {
  padding: 3px 7px;
  border-radius: 2px;
  background: #2e4d65;
  color: #a9d8f5;
  overflow-wrap: anywhere;
}
code {
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #a4d8f6;
}
.doclayout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 25px;
}
.docnav {
  align-self: start;
  position: sticky;
  top: 24px;
}
.docnav .chip {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
}
.docmain {
  min-width: 0;
}
.docmain h2 {
  font-size: 21px;
  margin: 26px 0 13px;
}
.docmain p {
  font-size: 13px;
  line-height: 1.9;
}
.codebox {
  position: relative;
}
.codebox pre {
  margin: 18px 0;
  padding: 52px 24px 24px;
  border: 1px solid #5b7e9735;
  background: #0d1d2c;
  border-radius: 3px;
  overflow: auto;
  overscroll-behavior-x: contain;
  color: #a1c9df;
  font:
    12px/1.9 "SFMono-Regular",
    Consolas,
    monospace;
  tab-size: 2;
}
.codebox .copy {
  position: absolute;
  right: 10px;
  top: 10px;
}
dialog {
  background: #182e42;
  border: 1px solid #6c9cb758;
  color: var(--text);
  border-radius: 5px;
  width: min(620px, calc(100vw - 40px));
  padding: 0;
  max-height: 88dvh;
  box-shadow: 0 35px 140px #000a;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: dialog-in 0.32s var(--ease) both;
}
dialog::backdrop {
  background: #06111bdd;
  backdrop-filter: blur(7px);
}
.modalhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 24px;
  border-bottom: 1px solid #729ab734;
  background: #182c3e;
  position: sticky;
  top: 0;
  z-index: 5;
}
.modalhead h3 {
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.modalbody {
  padding: 24px;
}
.authbrand {
  text-align: center;
  margin-bottom: 24px;
}
.authbrand img {
  width: 48px;
  margin-bottom: 15px;
}
.authbrand h2 {
  font-size: 21px;
  font-weight: 500;
}
.authbrand p {
  font-size: 12px;
  margin-top: 8px;
}
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  text-align: center;
  font-size: 12px;
  color: #8daec7;
  margin-top: 22px;
}
.auth-switch button {
  background: transparent;
  border: 0;
  color: #86ccf5;
  min-height: 44px;
  padding: 4px 8px;
}
.player {
  width: min(1250px, calc(100vw - 24px));
  height: min(820px, 94dvh);
  max-height: 94dvh;
  overflow: hidden;
  background: #0c1a29;
}
.player .modalhead {
  height: 60px;
  padding: 8px 20px;
}
.player iframe {
  border: 0;
  display: block;
  width: 100%;
  height: calc(100% - 60px);
  background: #090f1d;
}
.player .modalhead small {
  font-size: 10px;
}
dialog.wide {
  width: min(920px, calc(100vw - 40px));
}
dialog.drawer {
  width: min(330px, 88vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  left: 0;
  top: 0;
  bottom: 0;
  right: auto;
  border: 0;
  border-right: 1px solid #3f607d;
  border-radius: 0;
  background: #152536;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.drawer[open] {
  animation: drawer-in 0.35s var(--ease);
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}
.drawer .brand img {
  width: 32px;
  height: 32px;
}
.drawer .brand strong {
  font-size: 19px;
}
.drawer .brand span {
  font-size: 8px;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid #6a93ae28;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 15px;
  color: #b8d2e6;
  border-radius: 3px;
  font-size: 14px;
}
.drawer-nav a.active {
  color: #99d7fa;
  background: #66c0f419;
}
.drawer-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #7295ae;
  padding: 12px 15px 6px;
}
.drawer-footer {
  padding: 22px 12px;
  border-top: 1px solid #6a93ae28;
  font-size: 10px;
  color: #60819b;
}
.drawer-footer p {
  margin-top: 8px;
  font-size: 11px;
}
.toast {
  padding: 13px 18px;
  margin-top: 10px;
  background: #234663;
  border: 1px solid #65adcf77;
  color: #def2ff;
  box-shadow: 0 8px 30px #0006;
  border-radius: 3px;
  font-size: 12px;
  animation: toast-in 0.35s var(--ease) both;
  overflow-wrap: anywhere;
}
.toast.bad {
  background: #572e3b;
  border-color: #b7677180;
}
#toasts {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 55px 25px;
  background: #152b3e;
  border: 1px solid #638ba133;
  border-radius: 3px;
}
.empty .symbol {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 20px;
  color: #609dbe;
}
.empty h3 {
  font-size: 19px;
  font-weight: 500;
}
.empty p {
  font-size: 12px;
  margin: 12px 0 20px;
}
.loading {
  padding: 70px 10px;
  color: #84a9c3;
}
.boot {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #171d25;
  color: #8cbcdf;
  font-size: 12px;
  letter-spacing: 3px;
}
.boot img {
  width: 55px;
}
.boot-loader {
  height: 2px;
  width: 90px;
  background: #30495e;
  position: relative;
  overflow: hidden;
}
.boot-loader:after {
  content: "";
  height: 2px;
  width: 45%;
  position: absolute;
  background: #66c0f4;
  animation: loader 1.2s var(--ease) infinite;
}
.skeleton-layout {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}
.skeleton {
  background: linear-gradient(90deg, #294258, #365871, #294258);
  background-size: 250% 100%;
  border-radius: 3px;
  animation: skeleton 2s linear infinite;
}
.skeleton-title {
  width: 220px;
  height: 28px;
}
.skeleton-hero {
  height: 350px;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.skeleton-card {
  height: 220px;
}
.reveal-ready {
  animation: reveal-in 0.65s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.tap-wave {
  position: absolute;
  background: #d3f1ff25;
  border-radius: 50%;
  pointer-events: none;
  animation: tap-wave 0.6s var(--ease) both;
  z-index: 4;
}
@keyframes route-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes art-in {
  from {
    opacity: 0.45;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes info-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes reveal-in {
  from {
    opacity: 0.2;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes drawer-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: none;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loader {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(320%);
  }
}
@keyframes skeleton {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@keyframes tap-wave {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .game-card:hover {
    transform: translateY(-5px);
    border-color: #72bdec65;
    box-shadow: 0 14px 32px #0005;
  }
  .game-card:hover:after {
    opacity: 1;
  }
  .game-card:hover .card-image img {
    transform: scale(1.055);
  }
  .game-card:hover .card-play {
    opacity: 1;
    transform: none;
  }
  .platform-tile:hover {
    transform: translateY(-2px);
  }
}
@media (min-width: 1500px) {
  .content,
  .header-inner {
    width: min(1320px, 100%);
  }
  .hero,
  .hero-visual {
    min-height: 395px;
  }
  .hero-info {
    padding: 32px;
  }
  .hero-info h2 {
    font-size: 34px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 25px;
    padding: 0 28px;
  }
  .globalnav {
    gap: 19px;
  }
  .brand strong {
    font-size: 21px;
  }
  .globalnav a {
    font-size: 13px;
  }
  .topactions .username {
    display: none;
  }
  .content {
    padding: 28px;
  }
  .hero,
  .hero-visual {
    min-height: 315px;
  }
  .hero-info {
    padding: 23px;
  }
  .hero-info h2 {
    font-size: 27px;
  }
  .hero-thumbnails {
    display: none;
  }
  .hero-info > p {
    -webkit-line-clamp: 4;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 295px;
    gap: 20px;
  }
  .detail-side {
    padding: 20px;
  }
  .project {
    grid-template-columns: 95px minmax(0, 1fr);
  }
  .project img {
    width: 95px;
  }
  .project .actions {
    grid-column: 2;
    max-width: none;
    justify-content: flex-start;
  }
  .store-links {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .topbar {
    height: 80px;
  }
  .header-inner {
    gap: 20px;
    padding: 0 24px;
  }
  .globalnav {
    gap: 17px;
  }
  .globalnav a {
    font-size: 12px;
  }
  .globalnav .docs-nav {
    display: none;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .topactions .btn {
    padding: 6px 10px;
  }
  .content {
    padding: 25px 24px 40px;
  }
  .store-links {
    gap: 14px;
  }
  .store-links a {
    font-size: 12px;
  }
  .searchbox {
    width: 245px;
  }
  .hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .hero,
  .hero-visual {
    min-height: 300px;
  }
  .hero-info {
    padding: 22px;
  }
  .hero-info h2 {
    font-size: 26px;
  }
  .hero-info .game-tags {
    margin-bottom: 15px;
  }
  .hero-info > p {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .platform-tile {
    gap: 12px;
    padding: 18px 16px;
  }
  .platform-tile strong {
    font-size: 13px;
  }
  .platform-tile .tile-arrow {
    display: none;
  }
  .platform-tile > .icon {
    width: 24px;
  }
  .game-grid {
    gap: 14px;
  }
  .card-body {
    padding: 13px;
  }
  .card-body h3 {
    font-size: 14px;
  }
  .card-summary {
    font-size: 10px;
  }
  .card-footer {
    font-size: 9px;
  }
  .card-footer .rating {
    display: none;
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
  .detail-side {
    padding: 18px;
  }
  .detail-side h2 {
    font-size: 21px;
  }
  .browse-bottom {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 18px;
  }
  .release-row img {
    width: 95px;
  }
  .sdk-promo {
    padding: 22px;
  }
  .sdk-promo h3 {
    font-size: 21px;
  }
  .doclayout {
    grid-template-columns: 1fr;
  }
  .docnav {
    position: static;
  }
  .docnav .spaced {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .docnav .chip {
    width: auto;
    margin: 0;
  }
  .docnav > small:last-child {
    display: block;
    margin-top: 12px;
  }
  .section-head h2 small {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 72px;
  }
  .header-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .mobilemenu {
    display: flex;
    margin-left: -6px;
  }
  .mobilemenu .iconbtn {
    border: 0;
    background: transparent;
  }
  .globalnav {
    display: none;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand strong {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .brand span {
    font-size: 7px;
    letter-spacing: 2.6px;
  }
  .topactions {
    gap: 6px;
  }
  .topactions .btn {
    min-height: 40px;
    padding: 7px 12px;
    font-size: 12px;
  }
  .topactions .register-button {
    display: none;
  }
  .topactions .avatar {
    width: 31px;
    height: 31px;
  }
  .content {
    padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
    min-height: 80vh;
  }
  .store-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 10px;
    margin-bottom: 24px;
  }
  .store-links {
    justify-content: space-around;
    width: 100%;
    gap: 8px;
    min-height: 32px;
  }
  .store-links a {
    font-size: 12px;
    padding: 3px 0;
  }
  .searchbox {
    width: 100%;
  }
  .searchbox input {
    height: 42px;
    font-size: 14px;
    background: #153249;
    padding: 8px 42px 8px 12px;
  }
  .searchbox > svg {
    top: 11px;
  }
  .store-heading {
    margin-bottom: 15px;
  }
  .store-heading h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  .store-heading p {
    font-size: 11px;
    max-width: 270px;
  }
  .store-heading > .eyebrow {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-color: #5d91b73b;
  }
  .hero-visual {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .hero-visual:after {
    background: linear-gradient(0deg, #081d3285, transparent 45%);
  }
  .hero-visual-label {
    left: 19px;
    bottom: 17px;
  }
  .hero-visual-label strong {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .hero-visual-label span {
    font-size: 10px;
    margin-top: 4px;
  }
  .hero-info {
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 8px;
    background: linear-gradient(120deg, #1a3449, #14283c);
  }
  .hero-info .eyebrow {
    font-size: 8px;
    margin-bottom: 0;
    grid-column: 1/-1;
    letter-spacing: 2px;
  }
  .hero-info h2 {
    font-size: 25px;
    margin: 0;
    grid-column: 1/-1;
    line-height: 1.4;
  }
  .hero-info > p {
    grid-column: 1/-1;
    margin: 0;
    font-size: 11px;
    -webkit-line-clamp: 2;
    line-height: 1.9;
  }
  .hero-info .game-tags {
    grid-column: 1;
    margin: 6px 0 0;
    align-self: center;
  }
  .hero-footer {
    grid-column: 1/-1;
    margin-top: 9px;
    border-top: 1px solid #74a4bf26;
    padding-top: 13px;
  }
  .hero-price {
    font-size: 18px;
  }
  .hero-price small {
    font-size: 9px;
  }
  .hero-footer .btn {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 12px;
  }
  .carousel-controls {
    margin-top: 7px;
    gap: 12px;
  }
  .carousel-controls .iconbtn {
    min-width: 44px;
    min-height: 44px;
  }
  .hero-dots button {
    height: 44px;
    width: 30px;
  }
  .section-head {
    margin-top: 28px;
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-size: 16px;
    letter-spacing: 1px;
  }
  .section-head > small {
    font-size: 10px;
  }
  .platform-discovery {
    gap: 8px;
  }
  .platform-tile {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 108px;
    padding: 15px 12px;
  }
  .platform-tile > .icon {
    width: 23px;
    height: 23px;
  }
  .platform-tile strong {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .platform-tile small {
    font-size: 9px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .filters {
    gap: 0;
  }
  .filters .chip {
    padding: 8px 10px;
    font-size: 11px;
    min-height: 46px;
  }
  .filters select {
    padding: 9px 7px;
    font-size: 11px;
    max-width: 105px;
    min-height: 44px;
  }
  .tag-filters {
    gap: 6px;
    padding: 12px 0 17px;
  }
  .tag-filters .chip {
    min-height: 36px;
    font-size: 10px;
    padding: 5px 9px;
  }
  .tag-filters > small {
    display: none;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body {
    padding: 12px 11px;
  }
  .card-body h3 {
    font-size: 14px;
  }
  .card-title-row {
    gap: 5px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .card-title-row .price {
    font-size: 9px;
    padding: 1px 5px;
  }
  .card-summary {
    font-size: 10px;
    margin: 6px 0 9px;
  }
  .game-tags {
    gap: 4px;
  }
  .game-tags span {
    font-size: 9px;
    padding: 2px 5px;
  }
  .card-footer {
    margin-top: 10px;
    padding-top: 9px;
    font-size: 8px;
  }
  .card-footer .verified {
    max-width: 75%;
  }
  .card-footer .verified svg {
    width: 10px;
    height: 10px;
  }
  .platformbar .icon {
    width: 12px;
    height: 12px;
  }
  .card-image .pill {
    left: 8px;
    top: 8px;
    font-size: 8px;
    padding: 3px 6px;
  }
  .card-play {
    display: none;
  }
  .browse-bottom {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3px;
  }
  .release-row {
    gap: 13px;
    padding: 7px;
    min-height: 80px;
  }
  .release-row img {
    width: 120px;
  }
  .release-row h3 {
    font-size: 14px;
  }
  .release-row p {
    font-size: 10px;
  }
  .release-row .price {
    font-size: 10px;
  }
  .sdk-promo {
    margin-top: 25px;
    padding: 26px;
    min-height: 265px;
  }
  .sdk-promo h3 {
    font-size: 23px;
    max-width: 230px;
  }
  .welcome-banner {
    padding: 23px;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .welcome-banner h3 {
    font-size: 17px;
  }
  .welcome-banner p {
    font-size: 11px;
  }
  .banner-symbol {
    display: none;
  }
  .footer {
    font-size: 9px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    gap: 12px;
  }
  .footer div {
    gap: 17px;
  }
  .bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    background: #142335f5;
    border-top: 1px solid #658aaa3a;
    backdrop-filter: blur(20px);
    padding: 8px 5px calc(7px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 25px #08152133;
  }
  .bottomnav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-height: 46px;
    color: #7197b4;
    font-size: 10px;
    position: relative;
  }
  .bottomnav a.active {
    color: #94d8ff;
  }
  .bottomnav a.active:before {
    content: "";
    position: absolute;
    top: -8px;
    width: 24px;
    height: 2px;
    background: #66c0f4;
  }
  .bottomnav .icon {
    width: 20px;
    height: 20px;
  }
  .pagehead {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    margin: 8px 0 23px;
  }
  .pagehead h1 {
    font-size: 26px;
  }
  .pagehead p {
    font-size: 12px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .stat {
    padding: 18px;
  }
  .stat b {
    font-size: 26px;
  }
  .stat small {
    font-size: 10px;
  }
  .project {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }
  .project img {
    width: 84px;
    aspect-ratio: 4/3;
  }
  .project h3 {
    font-size: 14px;
  }
  .project .actions {
    grid-column: 1/-1;
    gap: 7px;
    margin-top: 4px;
  }
  .project .actions .btn {
    min-height: 40px;
    font-size: 11px;
  }
  .project .headrow {
    flex-wrap: wrap;
    gap: 7px;
  }
  .project code {
    font-size: 9px;
  }
  .project p {
    font-size: 10px;
  }
  .panel,
  .queue-card {
    padding: 20px;
  }
  .queue-card .row {
    gap: 9px;
  }
  .queue-card .row .btn {
    min-height: 44px;
    font-size: 11px;
  }
  .formgrid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field.full {
    grid-column: auto;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  label {
    font-size: 12px;
  }
  .btn.small {
    min-height: 44px;
  }
  .listitem {
    gap: 12px;
    align-items: flex-start;
    font-size: 11px;
  }
  .listitem .row {
    flex-wrap: wrap;
  }
  .listitem .btn {
    font-size: 10px;
    padding: 6px 10px;
  }
  .usage-chart {
    gap: 5px;
    padding: 16px 9px;
  }
  .usage-chart small {
    font-size: 8px;
  }
  .compact .stat b {
    font-size: 19px;
  }
  .review {
    padding: 17px;
  }
  .review-head {
    gap: 9px;
  }
  .review-head time {
    font-size: 9px;
  }
  .review p {
    font-size: 12px;
  }
  .breadcrumb {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .detail-heading h1 {
    font-size: 29px;
  }
  .detail-heading p {
    font-size: 12px;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .detail-main {
    display: contents;
  }
  .detail-art-wrap {
    order: 0;
    margin: 0;
  }
  .detail-side {
    order: 1;
    position: static;
    padding: 22px;
  }
  .detail-side h2 {
    display: none;
  }
  .detail-side > .pill {
    margin-bottom: 10px;
  }
  .detail-side > .verified {
    display: flex;
  }
  .detail-summary {
    font-size: 12px;
    margin: 14px 0;
  }
  .detail-side .meta {
    padding: 9px 0;
  }
  .detail-about {
    order: 2;
  }
  .detail-reviews {
    order: 3;
  }
  .detail-tabs {
    gap: 25px;
    margin-bottom: 18px;
  }
  .detail-description {
    font-size: 13px;
  }
  .detail-reviews .section-head {
    margin-top: 3px;
  }
  .mobile-gamebar {
    position: fixed;
    display: flex;
    align-items: center;
    left: 0;
    right: 0;
    bottom: calc(62px + env(safe-area-inset-bottom));
    z-index: 24;
    gap: 10px;
    padding: 10px 16px;
    background: #1a3449f2;
    backdrop-filter: blur(20px);
    border-top: 1px solid #6798b443;
    box-shadow: 0 -8px 28px #0002;
  }
  .mobile-gamebar > div {
    flex: 1;
    min-width: 0;
  }
  .mobile-gamebar strong {
    display: block;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-gamebar small {
    font-size: 10px;
    color: #c1d58b;
  }
  .mobile-gamebar .btn {
    min-height: 44px;
    padding: 9px 16px;
    font-size: 12px;
  }
  .content.has-gamebar {
    padding-bottom: calc(174px + env(safe-area-inset-bottom));
  }
  .library-cover {
    padding: 25px;
    gap: 15px;
  }
  .library-cover h1 {
    font-size: 25px;
  }
  .library-cover p {
    font-size: 11px;
    max-width: 190px;
  }
  .library-count {
    font-size: 29px;
  }
  .library-count small {
    font-size: 8px;
  }
  .library-item > .btn {
    font-size: 10px;
    min-height: 40px;
  }
  .docnav .chip {
    min-height: 44px;
    font-size: 11px;
  }
  .docmain h2 {
    font-size: 19px;
  }
  .codebox pre {
    font-size: 11px;
    padding: 56px 18px 20px;
  }
  .docmain p {
    font-size: 12px;
  }
  .docmain .alert {
    font-size: 11px;
  }
  .docmain .codebox .btn {
    font-size: 10px;
    min-height: 36px;
  }
  dialog,
  dialog.wide {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    max-height: 92dvh;
    border-radius: 12px 12px 0 0;
    border-width: 1px 0 0;
    box-shadow: 0 -30px 80px #0007;
  }
  dialog[open] {
    animation: sheet-in 0.35s var(--ease) both;
  }
  .modalhead {
    padding: 14px 20px;
  }
  .modalhead h3 {
    font-size: 16px;
  }
  .modalbody {
    padding: 22px 20px calc(26px + env(safe-area-inset-bottom));
  }
  .authbrand h2 {
    font-size: 19px;
  }
  .authbrand p {
    font-size: 11px;
  }
  .authbrand img {
    width: 43px;
    margin-bottom: 12px;
  }
  .player {
    margin: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .player .modalhead {
    height: calc(56px + env(safe-area-inset-top));
    padding: calc(6px + env(safe-area-inset-top)) 14px 6px;
  }
  .player iframe {
    height: calc(100% - 56px - env(safe-area-inset-top));
  }
  .player .modalhead h3 {
    font-size: 13px;
  }
  .player .modalhead small {
    display: none;
  }
  dialog.drawer {
    width: min(330px, 88vw);
    max-width: 88vw;
    margin: 0;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    border-right: 1px solid #3f607d;
    animation: drawer-in 0.35s var(--ease);
    padding: env(safe-area-inset-top) 20px
      calc(20px + env(safe-area-inset-bottom));
  }
  .drawer-top {
    padding: 20px 0;
  }
  #toasts {
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 32px);
  }
  body.game-detail #toasts {
    bottom: calc(160px + env(safe-area-inset-bottom));
  }
  .toast {
    font-size: 11px;
  }
  .skeleton-hero {
    height: 420px;
  }
  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .skeleton-card {
    height: 190px;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 380px) {
  .header-inner {
    padding: 0 12px;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .topactions .btn {
    padding: 7px 10px;
  }
  .content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-info {
    padding: 18px;
  }
  .hero-info h2 {
    font-size: 23px;
  }
  .filters .chip {
    padding: 8px 8px;
    font-size: 10px;
  }
  .filters select {
    max-width: 92px;
    font-size: 10px;
  }
  .platform-tile {
    padding: 14px 10px;
  }
  .platform-tile strong {
    font-size: 11px;
  }
  .platform-tile small {
    font-size: 8px;
  }
  .game-grid {
    gap: 10px;
  }
  .card-body {
    padding: 10px;
  }
  .card-body h3 {
    font-size: 13px;
  }
  .card-footer .verified {
    max-width: 69%;
  }
  .card-summary {
    font-size: 9px;
  }
  .game-tags span {
    font-size: 8px;
  }
  .hero-dots button {
    width: 25px;
  }
  .release-row img {
    width: 104px;
  }
}
@media (max-width: 340px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .card-title-row {
    flex-wrap: nowrap;
  }
  .card-body h3 {
    font-size: 15px;
  }
  .card-title-row .price {
    font-size: 11px;
    padding: 3px 8px;
  }
  .card-summary {
    font-size: 11px;
  }
  .card-footer {
    font-size: 10px;
  }
  .game-tags span {
    font-size: 10px;
  }
  .platform-tile small {
    display: none;
  }
  .filters select {
    margin-top: 8px;
    margin-bottom: 8px;
    max-width: 100%;
    width: 100%;
  }
  .hero-info > p {
    -webkit-line-clamp: 3;
  }
  .release-row img {
    width: 92px;
  }
  .release-row h3 {
    font-size: 12px;
  }
  .release-row .price {
    padding: 3px 6px;
  }
  .store-links a {
    font-size: 11px;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  dialog,
  dialog.wide {
    max-height: 95dvh;
  }
  .player {
    height: 100dvh;
    max-height: 100dvh;
  }
  .player .modalhead {
    height: 44px;
    padding: 0 14px;
  }
  .player iframe {
    height: calc(100% - 44px);
  }
  .drawer-top {
    padding: 10px 0;
  }
  .drawer-nav {
    padding: 10px 0;
  }
  .drawer-nav a {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-progress,
  .tap-wave {
    display: none;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Cover labels stay clear of the original artwork title. */
.hero-visual-label {
  left: auto;
  right: 24px;
  bottom: 22px;
  text-align: right;
}
.hero-visual-label strong {
  font-size: 8px;
  letter-spacing: 2px;
  opacity: 0.6;
}
.hero-visual-label span {
  justify-content: flex-end;
  background: #091d30a6;
  padding: 4px 8px;
  border: 1px solid #8cc8ea1a;
  border-radius: 2px;
}
@media (max-width: 700px) {
  .hero-visual-label {
    left: auto;
    right: 14px;
    bottom: 14px;
  }
  .hero-visual-label strong {
    display: none;
  }
  .hero-visual-label span {
    font-size: 9px;
    padding: 4px 7px;
  }
}

.art-caption {
  left: auto;
  right: 14px;
  bottom: 12px;
}

/* 1.3 — Independent worlds, connected players */
.portal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 5px 0 17px;
  margin: 0 0 20px;
  scrollbar-width: thin;
}
.portal-nav a {
  white-space: nowrap;
  display: block;
  color: #a9c4d9;
  padding: 10px 14px;
  background: #16253580;
  border: 1px solid #28405655;
  border-radius: 5px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.portal-nav a:hover {
  background: #245477;
  color: #fff;
  transform: translateY(-2px);
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}
.notification-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #b8d5eb;
  border-radius: 5px;
  background: #24435c66;
}
.notice-counter {
  position: absolute;
  right: -5px;
  top: -4px;
  font-size: 10px;
  line-height: 18px;
  min-width: 18px;
  text-align: center;
  background: #78a634;
  color: #fff;
  border-radius: 10px;
  padding: 0 4px;
  box-shadow: 0 0 0 2px #171d25;
}
.notice-counter[hidden] {
  display: none;
}
.portal-avatar {
  flex-shrink: 0;
  overflow: hidden;
}
.portal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.player-link > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.player-link strong,
.player-link small {
  overflow-wrap: anywhere;
}
.player-link strong {
  color: #d9eafa;
  font-weight: 550;
}
.player-link small {
  font-size: 11px;
  color: #819bad;
}
.presence {
  font-size: 11px;
  color: #a9d567;
  white-space: nowrap;
}
.presence:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  background: #a9d567;
  box-shadow: 0 0 12px #82ae5066;
}
.presence.offline {
  color: #82919f;
}
.presence.offline:before {
  background: #718497;
  box-shadow: none;
}
.profile-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px;
  border: 1px solid #36557366;
  background: linear-gradient(105deg, #203b53, #172634 65%, #141d2b);
  margin-bottom: 28px;
  box-shadow: 0 18px 60px #040a1133;
}
.profile-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #183348f2, #192c3ee5 48%, #17253577),
    url("/assets/covers/orbit.svg") center right/cover;
  opacity: 0.65;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.profile-identity > .portal-avatar {
  width: 90px;
  height: 90px;
  font-size: 36px;
  border: 2px solid #69b7e970;
  border-radius: 6px;
  box-shadow: 0 0 35px #5baedf22;
}
.profile-identity h1 {
  margin: 5px 0;
  font-size: 34px;
  letter-spacing: 0.01em;
}
.profile-identity .actions {
  margin-left: auto;
}
.profile-bio {
  max-width: 780px;
  padding-top: 18px;
  color: #b6cbdc;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.85;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
}
.achievement-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(125deg, #253444, #1a2634);
  border: 1px solid #36495d;
}
.achievement-star {
  font-size: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  height: 54px;
  color: #d6be78;
  background: radial-gradient(ellipse, #8e71384d, #293744);
  border: 1px solid #b3924e55;
}
.achievement-card p {
  font-size: 12px;
  color: #92a6b8;
  margin: 5px 0;
}
.achievement-card a {
  color: #75b9e4;
  font-size: 11px;
}
.recent-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.recent-game {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition: transform 0.2s;
}
.recent-game:hover {
  transform: translateY(-4px);
}
.recent-game img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid #34536c;
}
.recent-game strong {
  font-size: 12px;
  font-weight: 500;
  color: #b1c9dc;
}
.notice-list {
  display: grid;
  gap: 10px;
}
.notice-card {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #182632;
  border: 1px solid #2a3e50;
  transition: border 0.2s;
}
.notice-card.unread {
  background: linear-gradient(115deg, #234058, #1a2c3c);
  border-left: 3px solid #66c0f4;
}
.notice-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.notice-card p {
  font-size: 13px;
  margin: 0 0 8px;
  color: #9fb5c9;
}
.notice-card time {
  color: #738ba0;
  font-size: 11px;
}
.notice-dot {
  width: 7px;
  height: 7px;
  background: #60778a;
  border-radius: 50%;
  margin-top: 7px;
}
.unread .notice-dot {
  background: #66c0f4;
  box-shadow: 0 0 12px #66c0f466;
}
.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 22px;
}
.friend-list {
  display: grid;
  gap: 9px;
}
.friend-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(100deg, #203648, #182b3c);
  border: 1px solid #34516a66;
}
.friend-card > .player-link {
  flex: 1 1 200px;
}
.friend-card .actions {
  flex-basis: 100%;
  justify-content: flex-end;
}
.friend-search .field {
  flex: 1;
  margin-bottom: 0;
}
.friend-search form .row {
  align-items: end;
}
.party-panel {
  background: linear-gradient(145deg, #2c4356, #1b2937);
}
.party-panel .eyebrow {
  color: #86caaa;
  margin-bottom: 12px;
}
.party-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #47607144;
  margin-bottom: 6px;
}
.party-member small {
  font-size: 11px;
  color: #aac27d;
}
.invite-card {
  padding: 12px 0;
  border-bottom: 1px solid #304658;
}
.lobby-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #24445b, #172635);
}
.lobby-card .pill {
  border-color: #40705d;
  color: #a7d8a9;
}
.invite-hero {
  text-align: center;
  padding: 48px 24px;
  max-width: 750px;
  margin: 35px auto;
  background: radial-gradient(ellipse at top, #274c68, #182432);
}
.invite-hero > .avatar {
  width: 76px;
  height: 76px;
  margin: 20px auto;
  font-size: 28px;
  border-radius: 6px;
}
.invite-hero .actions {
  justify-content: center;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  line-height: 1.6;
  color: #b6c9d9;
  font-size: 13px;
}
.check-line input {
  width: 18px;
  height: 18px;
  accent-color: #66c0f4;
  flex-shrink: 0;
}
.form-section {
  padding: 20px 0;
  border-bottom: 1px solid #324a5e66;
}
.form-section:first-child {
  padding-top: 0;
}
.form-section .eyebrow {
  margin-bottom: 18px;
  color: #69a9d1;
}
.field-help {
  font-size: 12px !important;
  color: #8ca4b8 !important;
  line-height: 1.8;
  margin: 8px 0 18px !important;
}
.content-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.content-actions time {
  font-size: 11px;
  color: #728da2;
  margin-right: auto;
}
.content-actions .btn {
  font-size: 11px;
  min-height: 32px;
}
.community-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.community-toolbar form {
  flex: 1;
}
.community-toolbar .field {
  margin-bottom: 0;
  min-width: 160px;
  flex: 1;
}
.community-toolbar .row {
  align-items: end;
}
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 22px;
  align-items: start;
}
.post-card {
  background: linear-gradient(115deg, #203747, #182a3a);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.post-card:hover {
  border-color: #5283a5;
  transform: translateY(-2px);
}
.post-card h2 {
  font-size: 22px;
  line-height: 1.4;
  margin: 14px 0;
}
.post-card h2 a {
  color: #dae8f3;
}
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: #8fa8bb;
}
.post-meta a {
  color: #7ac0ed;
}
.post-meta time {
  margin-left: auto;
}
.post-excerpt {
  color: #9fb8ca !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .player-link .avatar {
  width: 30px;
  height: 30px;
}
.post-card .player-link strong {
  font-size: 12px;
}
.community-aside {
  position: sticky;
  top: 105px;
  background: #192a39;
}
.mini-review {
  border-top: 1px solid #344f6566;
  padding: 18px 0;
}
.mini-review > a {
  font-size: 13px;
  color: #9bc7e5;
}
.mini-review p {
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.mini-review small {
  color: #758a9a;
}
.post-full h1 {
  font-size: 30px;
  line-height: 1.4;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.post-body {
  font-size: 15px;
  color: #b5cbdc;
  padding: 28px 0;
}
.post-full time {
  font-size: 12px;
  color: #7c95a7;
}
.comment-stack {
  display: grid;
  gap: 12px;
}
.comment-card {
  padding: 21px;
  background: #1a2c3b;
  border: 1px solid #30495d;
}
.comment-card .player-link .avatar {
  width: 32px;
  height: 32px;
}
.comment-card .player-link strong {
  font-size: 13px;
}
.comment-card p {
  font-size: 14px;
  color: #b4c8d9;
}
.message-scroll {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 24px;
}
.message-bubble {
  align-self: flex-start;
  max-width: 90%;
  background: #263a4c;
  border: 1px solid #3b5469;
  padding: 10px 14px;
  border-radius: 3px;
}
.message-bubble.own {
  align-self: flex-end;
  background: #275274;
  border-color: #3e7ca8;
}
.message-bubble p {
  margin: 0;
  font-size: 13px;
}
.message-bubble time {
  color: #9aaebf;
  font-size: 10px;
}
.collection-section {
  margin-top: 34px;
}
.collection-heading {
  padding: 32px;
  margin-bottom: 18px;
  position: relative;
  isolation: isolate;
  background: #243f53;
  overflow: hidden;
}
.collection-heading:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #223c51f5, #172936b0),
    var(--collection-image) center/cover;
}
.collection-heading h2 {
  font-size: 28px;
  margin: 10px 0;
}
.collection-heading p {
  max-width: 750px;
  color: #b3cbdc;
}
.activity-card {
  border-top: 3px solid #62984d;
  background: linear-gradient(140deg, #243b40, #192933);
}
.activity-card h2 {
  font-size: 20px;
  margin: 15px 0;
}
.activity-card > a {
  color: #88bee4;
}
.activity-card > p {
  color: #9eb7c6;
  font-size: 12px;
}
.game-community-actions {
  margin-top: 25px;
}
.creator-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.creator-link > .icon {
  color: #78b3d5;
  width: 30px;
  height: 30px;
}
.creator-link span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.creator-link strong {
  color: #c8dfef;
}
.creator-link small {
  font-size: 11px;
  color: #87a5ba;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid #3b516b66;
  margin-top: 22px;
  padding-top: 18px;
}
.experience-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.experience-grid small {
  font-size: 11px;
  color: #819cb1;
}
.experience-grid strong {
  font-size: 13px;
  color: #adc8db;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.screenshot-thumb {
  border: 1px solid #3b5f7a;
  cursor: pointer;
  background: #10202d;
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.screenshot-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #0007;
}
.screenshot-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.full-screenshot {
  width: 100%;
  height: auto;
  display: block;
}
.domain-card {
  padding: 18px;
  background: #172a3b;
  border: 1px solid #36536b;
  overflow-wrap: anywhere;
}
.domain-card strong {
  color: #c7e1f2;
  font-size: 15px;
}
.domain-card .actions {
  margin-top: 12px;
}
.dns-record {
  display: grid;
  gap: 8px;
  background: #0f1f2d;
  padding: 14px;
  margin: 14px 0;
  border-left: 2px solid #67b0dd;
}
.dns-record small {
  color: #829ab0;
  font-size: 11px;
}
.dns-record code {
  overflow-wrap: anywhere;
  white-space: normal;
  color: #bdd8ee;
  font-size: 12px;
}
.oauth-panel {
  max-width: 700px;
  margin: 35px auto;
  background: linear-gradient(135deg, #24465e, #192a39);
}
.oauth-panel h1 {
  font-size: 29px;
  line-height: 1.5;
}
.oauth-panel > p {
  line-height: 1.9;
  color: #b0c7d8;
}
.oauth-panel .alert {
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.chart-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 20px 0;
}
.chart-legend span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
}
.view-color:before,
.view-bar {
  background: #67c1f5;
}
.launch-color:before,
.launch-bar {
  background: #9dbf4b;
}
.download-color:before,
.download-bar {
  background: #bd9cea;
}
.analytics-chart {
  display: flex;
  gap: 7px;
  height: 225px;
  overflow-x: auto;
  padding: 5px 0 15px;
  border-bottom: 1px solid #3b5971;
  scrollbar-width: thin;
}
.chart-day {
  min-width: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}
.chart-columns {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 2px;
  width: 100%;
}
.chart-columns i {
  width: 33%;
  min-width: 3px;
  border-radius: 2px 2px 0 0;
  transition: height 0.6s ease-out;
  box-shadow: 0 0 12px #66c0f412;
}
.chart-day small {
  color: #7191aa;
  font-size: 9px;
  writing-mode: vertical-rl;
  line-height: 1.4;
  margin-top: 9px;
  max-height: 34px;
}
.retention-card {
  background: linear-gradient(120deg, #263e53, #1b2c3c);
}
.retention-card h2 {
  color: #a5cff1;
  font-size: 38px;
  margin: 12px 0;
}
.retention-card p {
  font-size: 12px;
  color: #8da9bc;
}
.report-reason {
  padding: 16px;
  background: #102333;
  border-left: 2px solid #bf9a68;
  color: #c6b496;
}
@media (max-width: 1260px) {
  .globalnav .extra-nav {
    display: none;
  }
}
@media (max-width: 900px) {
  .social-layout,
  .community-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .community-aside {
    position: static;
  }
  .recent-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .community-toolbar {
    flex-wrap: wrap;
  }
  .community-toolbar form {
    flex-basis: 100%;
  }
  .profile-identity .actions {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .portal-nav {
    gap: 5px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .portal-nav a {
    padding: 10px 12px;
    font-size: 12px;
  }
  .profile-cover {
    padding: 22px 18px;
  }
  .profile-identity {
    gap: 14px;
  }
  .profile-identity h1 {
    font-size: 25px;
  }
  .profile-identity > .portal-avatar {
    width: 65px;
    height: 65px;
    font-size: 27px;
  }
  .profile-identity .actions {
    width: 100%;
  }
  .portal-grid {
    gap: 14px;
  }
  .profile-bio {
    font-size: 13px;
  }
  .notice-card {
    grid-template-columns: 7px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .notice-card > .btn {
    grid-column: 2;
    justify-self: start;
  }
  .notice-card h3 {
    font-size: 15px;
  }
  .friend-search .row {
    flex-wrap: wrap;
  }
  .friend-search .field {
    flex-basis: 100%;
  }
  .friend-card {
    padding: 15px;
  }
  .friend-card .actions {
    justify-content: start;
  }
  .friend-card .btn {
    min-height: 42px;
  }
  .community-toolbar .field {
    min-width: 0;
  }
  .community-toolbar .row {
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
  }
  .community-toolbar form .row > .btn {
    width: 100%;
  }
  .post-card h2 {
    font-size: 19px;
  }
  .post-full h1 {
    font-size: 25px;
  }
  .post-full {
    padding: 20px;
  }
  .post-body {
    font-size: 14px;
  }
  .comment-card {
    padding: 17px;
  }
  .content-actions .btn {
    min-height: 40px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .experience-grid > div {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }
  .experience-grid strong {
    text-align: right;
  }
  .game-community-actions .headrow {
    flex-wrap: wrap;
    gap: 18px;
  }
  .game-community-actions .actions {
    width: 100%;
    justify-content: start;
  }
  .collection-heading {
    padding: 25px 20px;
  }
  .collection-heading h2 {
    font-size: 24px;
  }
  .screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .domain-card {
    padding: 14px;
  }
  .domain-card .headrow {
    flex-wrap: wrap;
    gap: 8px;
  }
  .domain-card .btn {
    min-height: 40px;
  }
  .oauth-panel {
    margin: 15px 0;
    padding: 22px;
  }
  .oauth-panel h1 {
    font-size: 25px;
  }
  .oauth-panel .actions {
    flex-direction: column;
  }
  .oauth-panel .actions > .btn {
    width: 100%;
    min-height: 44px;
  }
  .notification-link {
    width: 34px;
    height: 34px;
  }
  .notification-link .icon {
    width: 18px;
    height: 18px;
  }
  .post-meta time {
    margin-left: 0;
  }
  .invite-hero {
    margin: 18px 0;
    padding: 30px 20px;
  }
  .invite-hero h1 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-nav a,
  .post-card,
  .recent-game,
  .chart-columns i,
  .screenshot-thumb {
    transition: none;
  }
}
