@charset "UTF-8";

:root {
  --violet: #7665d8;
  --violet-dark: #5145aa;
  --lavender: #b9a8ff;
  --mint: #35d6a1;
  --orange: #ff8b61;
  --ink: #20212a;
  --muted: #686b7b;
  --night: #090b14;
  --night-soft: #111522;
  --surface: #f5f3fb;
  --paper: #ffffff;
  --line: #d9d6e7;
  --header-height: 76px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.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;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-menu { background-image: url("../icons/menu.svg"); }
.icon-search { background-image: url("../icons/search.svg"); }
.icon-role { background-image: url("../icons/role.svg"); }
.icon-story { background-image: url("../icons/story.svg"); }
.icon-creator { background-image: url("../icons/creator.svg"); }
.icon-arrow { background-image: url("../icons/arrow.svg"); }
.icon-shield { background-image: url("../icons/shield.svg"); }
.icon-spark { background-image: url("../icons/spark.svg"); }
.icon-city { background-image: url("../icons/city.svg"); }
.icon-heart { background-image: url("../icons/heart.svg"); }
.icon-memory { background-image: url("../icons/memory.svg"); }
.icon-branch { background-image: url("../icons/branch.svg"); }
.icon-workspace { background-image: url("../icons/workspace.svg"); }
.icon-globe { background-image: url("../icons/globe.svg"); }
.icon-download { background-image: url("../icons/download.svg"); }
.icon-top { background-image: url("../icons/top.svg"); }

.section-shell,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--night);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  object-fit: cover;
}

.brand-text,
.footer-brand > span {
  display: grid;
  line-height: 1.2;
}

.brand-text strong,
.footer-brand strong {
  color: #ffffff;
  font-size: 19px;
}

.brand-text span,
.footer-brand small {
  margin-top: 4px;
  color: #aaaec1;
  font-size: 12px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 25px 18px 23px;
  color: #c9ccda;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  height: 2px;
  content: "";
  background: transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
}

.site-nav a.is-active::after {
  background: var(--mint);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-download {
  padding: 9px 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--violet);
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid #454a59;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(rgba(118, 101, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 101, 216, 0.08) 1px, transparent 1px),
    var(--night);
  background-size: 42px 42px;
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  content: "";
  background: rgba(118, 101, 216, 0.2);
  filter: blur(4px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(420px, 5fr);
  align-items: center;
  min-height: 750px;
  gap: 42px;
}

.hero-copy {
  padding: 80px 0;
}

.eyebrow,
.section-index {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-top: 13px;
  font-size: clamp(70px, 8vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero h2 {
  max-width: 650px;
  margin-top: 30px;
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.2;
}

.hero-description {
  max-width: 660px;
  margin-top: 24px;
  color: #bfc3d2;
  font-size: 16px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid #323647;
  border-bottom: 1px solid #323647;
}

.hero-features li {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 20px 16px;
  gap: 12px;
}

.hero-features li + li {
  border-left: 1px solid #323647;
}

.hero-features .icon {
  width: 25px;
  height: 25px;
}

.hero-features span {
  display: grid;
  min-width: 0;
}

.hero-features strong {
  font-size: 14px;
}

.hero-features small {
  overflow: hidden;
  color: #888d9e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 36px;
  gap: 24px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  padding: 16px 22px;
  color: #ffffff;
  font-weight: 800;
  background: var(--violet);
  gap: 32px;
}

.primary-link:hover {
  background: var(--violet-dark);
}

.primary-link .icon {
  width: 19px;
  height: 19px;
}

.age-note {
  display: inline-flex;
  align-items: center;
  color: #9fa4b4;
  font-size: 13px;
  gap: 10px;
}

.age-note b {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--night);
  border-radius: 50%;
  background: var(--mint);
  place-items: center;
}

.hero-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 650px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(185, 168, 255, 0.36);
  border-radius: 50%;
}

.orbit-large {
  right: -125px;
  width: 570px;
  height: 570px;
}

.orbit-small {
  right: -5px;
  width: 340px;
  height: 340px;
  border-color: rgba(53, 214, 161, 0.35);
}

.circuit {
  position: absolute;
  width: 160px;
  height: 1px;
  background: var(--violet);
}

.circuit::after {
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--mint);
}

.circuit-one {
  top: 140px;
  right: 270px;
}

.circuit-one::after {
  left: 0;
}

.circuit-two {
  right: 0;
  bottom: 130px;
}

.circuit-two::after {
  right: 0;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 336px;
  padding: 15px;
  border: 2px solid #343847;
  border-radius: 44px;
  background: #05060b;
  box-shadow: 26px 30px 0 rgba(118, 101, 216, 0.18), 0 28px 70px rgba(0, 0, 0, 0.5);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 50%;
  width: 104px;
  height: 23px;
  border-radius: 20px;
  background: #05060b;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  min-height: 608px;
  color: var(--ink);
  border-radius: 31px;
  background: #ffffff;
}

.phone-status,
.phone-header,
.phone-tabs,
.phone-filter,
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  padding: 10px 17px 4px;
  font-size: 12px;
  font-weight: 800;
}

.phone-header {
  padding: 14px 17px 10px;
}

.phone-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-header img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
}

.phone-header strong {
  font-size: 15px;
}

.phone-credit {
  display: grid;
  width: 28px;
  height: 28px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--violet);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.phone-search {
  display: flex;
  align-items: center;
  margin: 0 16px;
  padding: 11px 13px;
  color: #85899a;
  border-radius: 8px;
  background: #f0eef7;
  font-size: 12px;
  gap: 8px;
}

.phone-search .icon {
  width: 16px;
  height: 16px;
}

.phone-tabs {
  margin: 14px 16px 0;
  border-bottom: 1px solid #ddd9e7;
}

.phone-tabs span {
  position: relative;
  padding: 7px 0 9px;
  font-size: 13px;
  font-weight: 700;
}

.phone-tabs .is-active {
  color: var(--violet-dark);
}

.phone-tabs .is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--violet);
}

.phone-filter {
  padding: 11px 17px;
  color: #757988;
  font-size: 12px;
}

.phone-filter span:first-child {
  color: var(--violet-dark);
  font-weight: 800;
}

.phone-notice {
  display: flex;
  align-items: center;
  margin: 0 16px;
  padding: 12px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--violet-dark), var(--violet));
  gap: 11px;
}

.phone-notice img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.phone-notice span {
  display: grid;
}

.phone-notice strong {
  font-size: 13px;
}

.phone-notice small,
.phone-character-list small,
.phone-safety,
.phone-nav {
  font-size: 12px;
}

.phone-character-list {
  display: grid;
  margin: 12px 16px;
  border: 1px solid #e2dfea;
}

.phone-character-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  padding: 10px;
  gap: 8px;
}

.phone-character-list article + article {
  border-top: 1px solid #e2dfea;
}

.phone-character-list article > span {
  display: grid;
  width: 30px;
  height: 30px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--violet);
  font-size: 12px;
  place-items: center;
}

.phone-character-list div {
  display: grid;
}

.phone-character-list strong {
  font-size: 12px;
}

.phone-character-list small {
  color: #8a8d9a;
}

.phone-character-list b {
  color: var(--violet);
  font-size: 12px;
}

.phone-safety {
  display: flex;
  align-items: center;
  margin: 0 16px 13px;
  padding: 9px 10px;
  color: #666b79;
  background: #f4f3f8;
  gap: 7px;
}

.phone-safety .icon {
  width: 16px;
  height: 16px;
}

.phone-nav {
  padding: 12px 20px;
  border-top: 1px solid #e3e0eb;
  color: #8a8d9b;
}

.phone-nav .is-active {
  color: var(--violet);
  font-weight: 800;
}

.character-universe,
.interface-archive,
.reviews {
  padding: 110px 0;
  background: var(--surface);
}

.section-heading,
.studio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 36px;
}

.section-heading h2,
.studio-heading h2,
.support-heading h2 {
  margin-top: 8px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading > p,
.studio-heading > p {
  max-width: 470px;
  color: var(--muted);
}

.universe-layout {
  display: grid;
  grid-template-columns: 240px minmax(430px, 1fr) 270px;
  min-height: 490px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.universe-controls,
.profile-preview {
  padding: 30px;
}

.universe-controls {
  border-right: 1px solid var(--line);
}

.control-group + .control-group {
  margin-top: 28px;
}

.control-group strong {
  display: block;
  margin-bottom: 11px;
  font-size: 13px;
}

.control-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.control-group button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

.control-group button:hover,
.control-group button.is-active {
  color: #ffffff;
  border-color: var(--violet);
  background: var(--violet);
}

#universe-filter-status {
  margin-top: 38px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.universe-map {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  background:
    linear-gradient(rgba(118, 101, 216, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 101, 216, 0.1) 1px, transparent 1px),
    #0d1020;
  background-size: 36px 36px;
}

.universe-map::before,
.universe-map::after {
  position: absolute;
  border: 1px solid rgba(53, 214, 161, 0.35);
  border-radius: 50%;
  content: "";
}

.universe-map::before {
  inset: 62px 76px;
}

.universe-map::after {
  inset: 110px 125px;
  border-color: rgba(185, 168, 255, 0.35);
}

.map-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 1px;
  background: rgba(185, 168, 255, 0.42);
  transform-origin: center;
}

.map-line-a { transform: translate(-50%, -50%) rotate(18deg); }
.map-line-b { transform: translate(-50%, -50%) rotate(108deg); }
.map-line-c { transform: translate(-50%, -50%) rotate(-38deg); }

.universe-core,
.universe-node {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(185, 168, 255, 0.6);
  border-radius: 50%;
  background: #15192a;
  cursor: pointer;
}

.universe-core {
  top: 50%;
  left: 50%;
  display: grid;
  width: 128px;
  height: 128px;
  color: #ffffff;
  transform: translate(-50%, -50%);
  place-items: center;
}

.universe-core img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.universe-core span,
.universe-node span {
  font-size: 12px;
  font-weight: 800;
}

.universe-node {
  display: grid;
  width: 92px;
  height: 92px;
  padding: 12px;
  color: #d4d7e4;
  place-items: center;
}

.universe-node .icon {
  width: 27px;
  height: 27px;
}

.universe-node:hover,
.universe-node[aria-pressed="true"],
.universe-core[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--mint);
  background: var(--violet-dark);
  box-shadow: 0 0 0 7px rgba(53, 214, 161, 0.12);
}

.node-a { top: 38px; left: 50%; transform: translateX(-50%); }
.node-b { top: 50%; right: 32px; transform: translateY(-50%); }
.node-c { bottom: 34px; left: 50%; transform: translateX(-50%); }
.node-d { top: 50%; left: 32px; transform: translateY(-50%); }

.profile-preview {
  border-left: 1px solid var(--line);
  background: #faf9fd;
}

.profile-preview > p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.profile-preview h3 {
  margin: 7px 0 28px;
  font-size: 25px;
}

.profile-panel {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  gap: 14px;
}

.profile-symbol {
  display: grid;
  width: 68px;
  height: 68px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--mint));
  font-size: 26px;
  font-weight: 800;
  place-items: center;
}

.profile-panel strong {
  font-size: 18px;
}

.profile-panel small {
  color: var(--muted);
  font-size: 13px;
}

.story-lab {
  padding: 110px 0;
  background: #ffffff;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  border: 1px solid var(--line);
}

.story-route {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  padding: 42px;
  background: var(--night);
}

.story-route button {
  display: grid;
  width: 122px;
  min-height: 136px;
  padding: 18px 12px;
  color: #9095a6;
  border: 1px solid #34394b;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.story-route button:hover,
.story-route button.is-active {
  color: #ffffff;
  border-color: var(--mint);
  background: var(--violet-dark);
}

.story-route button span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.story-route button strong {
  font-size: 15px;
}

.story-route button small {
  font-size: 12px;
}

.story-route > i {
  width: 24px;
  height: 1px;
  background: #464b5c;
}

.story-detail {
  min-height: 250px;
  padding: 42px;
  background: var(--surface);
}

.story-panel p {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.story-panel h3 {
  margin: 16px 0;
  font-size: 28px;
  line-height: 1.3;
}

.story-panel span {
  color: var(--muted);
}

.story-strips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  gap: 16px;
}

.story-strips article {
  display: flex;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  gap: 16px;
}

.story-strips .icon {
  width: 34px;
  height: 34px;
}

.story-strips span {
  display: grid;
}

.story-strips strong {
  font-size: 16px;
}

.story-strips small {
  color: var(--muted);
  font-size: 12px;
}

.creator-studio {
  padding: 110px 0;
  color: #ffffff;
  background: var(--night);
}

.studio-heading > p {
  color: #aeb2c1;
}

.studio-console {
  border: 1px solid #34394a;
}

.studio-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #34394a;
}

.studio-tabs button {
  min-height: 64px;
  color: #989dad;
  border: 0;
  background: #101421;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.studio-tabs button + button {
  border-left: 1px solid #34394a;
}

.studio-tabs button:hover,
.studio-tabs button.is-active {
  color: #ffffff;
  background: var(--violet-dark);
}

.studio-panels {
  min-height: 290px;
}

.studio-panel {
  display: grid;
  grid-template-columns: 190px 1fr 270px;
  align-items: stretch;
  min-height: 290px;
}

.studio-avatar,
.studio-copy,
.ability-grid,
.publish-list {
  padding: 34px;
  border-right: 1px solid #34394a;
}

.studio-avatar {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 15px;
}

.studio-avatar img {
  width: 88px;
  height: 88px;
  border: 2px solid var(--violet);
  border-radius: 24px;
  object-fit: cover;
}

.studio-avatar button,
.ability-grid button,
.publish-list button {
  color: #cbd0df;
  border: 1px solid #40465a;
  background: transparent;
  cursor: pointer;
}

.studio-avatar button {
  padding: 8px 12px;
  font-size: 12px;
}

.studio-fields {
  display: grid;
  align-content: center;
  padding: 34px;
  gap: 24px;
}

.studio-fields label,
.studio-fields > div {
  display: grid;
  gap: 10px;
}

.studio-fields span,
.studio-copy > span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.studio-fields label strong {
  padding: 12px 14px;
  border: 1px solid #40465a;
  font-size: 15px;
}

.studio-fields > div button {
  margin: 0 7px 7px 0;
  padding: 8px 11px;
  color: #c8ccda;
  border: 1px solid #40465a;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.studio-fields > div button:hover,
.studio-fields > div button.is-active,
.ability-grid button:hover,
.ability-grid button.is-active {
  color: #ffffff;
  border-color: var(--violet);
  background: var(--violet-dark);
}

.studio-panel aside {
  display: grid;
  align-content: center;
  padding: 34px;
  background: #111624;
  gap: 10px;
}

.studio-panel aside span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.studio-panel aside strong {
  font-size: 17px;
}

.studio-panel aside i {
  width: 100%;
  height: 5px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--mint) 75%, #303547 75%);
}

.studio-copy {
  grid-column: span 2;
}

.studio-copy h3 {
  margin: 15px 0;
  font-size: 28px;
}

.studio-copy p {
  max-width: 620px;
  color: #aeb2c1;
}

.ability-grid,
.publish-list {
  display: grid;
  grid-column: span 2;
  align-content: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ability-grid button {
  min-height: 64px;
}

.publish-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.publish-list button[aria-pressed="true"] {
  border-color: var(--mint);
}

.publish-list b {
  color: var(--mint);
  font-size: 12px;
}

.interface-archive {
  background: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.screenshot-media {
  display: grid;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #ffffff;
  place-items: center;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 94px;
  padding: 17px;
  border-top: 1px solid var(--line);
  gap: 3px 12px;
}

.screenshot-card figcaption span {
  grid-row: span 2;
  color: var(--violet);
  font-size: 20px;
  font-weight: 900;
}

.screenshot-card figcaption strong {
  font-size: 16px;
}

.screenshot-card figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.support {
  padding: 110px 0;
  background: var(--surface);
}

.support-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 64px;
}

.support-heading {
  position: static;
}

.support-heading p:last-child {
  margin-top: 22px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button,
.website-info button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-item button {
  min-height: 68px;
  padding: 16px 20px;
  text-align: left;
}

.faq-item button span {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-item button b {
  color: var(--violet);
  font-size: 12px;
}

.faq-item button i {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
  display: none;
}

.faq-answer,
.website-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.website-info {
  grid-column: 1 / -1;
  width: 100%;
  max-width: var(--content-width);
  margin-top: 20px;
  border: 1px solid var(--ink);
  background: #ffffff;
}

.website-info button {
  min-height: 72px;
  padding: 18px 20px;
  text-align: left;
}

.website-info button > span {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 12px;
}

.website-info button[aria-expanded="true"] > .icon-arrow {
  transform: rotate(90deg);
}

.reviews {
  background: #edeaf7;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  position: relative;
  display: grid;
  min-height: 250px;
  padding: 28px;
  border-top: 4px solid var(--violet);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.review-card:nth-child(even) {
  border-top-color: var(--mint);
}

.review-number {
  position: absolute;
  top: 21px;
  right: 25px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 900;
}

.review-card > p {
  align-self: center;
  padding: 35px 0 24px;
}

.review-card footer {
  display: flex;
  align-items: center;
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.review-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--night-soft);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.review-card footer > span:last-child {
  display: grid;
}

.review-card footer strong {
  font-size: 13px;
}

.review-card time {
  color: var(--muted);
  font-size: 12px;
}

.download-section {
  padding: 72px 0;
  color: #ffffff;
  background: var(--night);
}

.download-dock {
  display: grid;
  grid-template-columns: 120px 1.1fr 1fr 210px;
  min-height: 150px;
  border: 1px solid #3b4050;
  background: var(--night-soft);
}

.dock-logo,
.dock-copy,
.dock-status,
.dock-action {
  display: flex;
  align-items: center;
  padding: 28px;
}

.dock-logo,
.dock-copy,
.dock-status {
  border-right: 1px solid #3b4050;
}

.dock-logo {
  justify-content: center;
}

.dock-logo img {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  object-fit: cover;
}

.dock-copy {
  display: grid;
  align-content: center;
}

.dock-copy p {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.dock-copy h2 {
  margin: 5px 0;
  font-size: 24px;
}

.dock-copy span,
.dock-status small {
  color: #9fa4b4;
  font-size: 12px;
}

.dock-status {
  gap: 14px;
}

.dock-status > i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(53, 214, 161, 0.12);
}

.dock-status span {
  display: grid;
}

.dock-status strong {
  font-size: 14px;
}

.dock-action {
  justify-content: space-between;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  background: var(--violet);
}

.dock-action:hover {
  background: var(--violet-dark);
}

.site-footer {
  padding: 56px 0 24px;
  color: #ffffff;
  background: #05070d;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  color: #c6c9d6;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-inner > p {
  padding-top: 18px;
  color: #858a9a;
  border-top: 1px solid #ffffff;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--violet);
  box-shadow: 0 12px 25px rgba(9, 11, 20, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  place-items: center;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr 380px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-features li + li {
    border-top: 1px solid #323647;
    border-left: 0;
  }

  .universe-layout {
    grid-template-columns: 210px 1fr;
  }

  .profile-preview {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .profile-panel {
    min-height: 190px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-route {
    overflow-x: auto;
  }

  .download-dock {
    grid-template-columns: 110px 1fr 180px;
  }

  .dock-status {
    display: none;
  }

  .dock-copy {
    border-right: 1px solid #3b4050;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .section-shell,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text span {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 12px 14px 18px;
    border-top: 1px solid #303545;
    background: var(--night);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid #242837;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 0 72px;
    text-align: center;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h2,
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-features {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-device {
    justify-content: center;
    min-height: 620px;
  }

  .orbit-large,
  .orbit-small {
    right: 50%;
    transform: translateX(50%);
  }

  .circuit-one {
    right: 50%;
    transform: translateX(50%);
  }

  .circuit-two {
    right: 50%;
    transform: translateX(50%);
  }

  .section-heading,
  .studio-heading {
    display: grid;
    align-items: start;
    gap: 18px;
  }

  .section-heading > p,
  .studio-heading > p {
    max-width: none;
  }

  .character-universe,
  .story-lab,
  .creator-studio,
  .interface-archive,
  .support,
  .reviews {
    padding: 82px 0;
  }

  .universe-layout {
    grid-template-columns: 1fr;
  }

  .universe-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .universe-map {
    min-height: 500px;
  }

  .studio-panel {
    grid-template-columns: 160px 1fr;
  }

  .studio-panel aside {
    grid-column: 1 / -1;
    min-height: 120px;
  }

  .studio-copy,
  .ability-grid,
  .publish-list {
    grid-column: auto;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-heading {
    position: static;
  }

  .website-info {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero h2 {
    font-size: 29px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .primary-link {
    justify-content: center;
    width: min(100%, 320px);
  }

  .hero-device {
    min-height: 580px;
  }

  .phone-shell {
    width: min(100%, 326px);
  }

  .phone-screen {
    min-height: 580px;
  }

  .orbit-large {
    width: 460px;
    height: 460px;
  }

  .orbit-small {
    width: 290px;
    height: 290px;
  }

  .section-heading h2,
  .studio-heading h2,
  .support-heading h2 {
    font-size: 42px;
  }

  .universe-controls,
  .profile-preview {
    padding: 22px;
  }

  .universe-map {
    min-height: 430px;
  }

  .universe-map::before {
    inset: 60px 36px;
  }

  .universe-map::after {
    inset: 110px 82px;
  }

  .universe-core {
    width: 108px;
    height: 108px;
  }

  .universe-node {
    width: 78px;
    height: 78px;
    padding: 8px;
  }

  .node-a { top: 24px; }
  .node-b { right: 16px; }
  .node-c { bottom: 24px; }
  .node-d { left: 16px; }

  .story-route {
    grid-template-columns: repeat(4, minmax(105px, 1fr));
    padding: 18px;
    gap: 10px;
  }

  .story-route button {
    width: auto;
    min-height: 130px;
  }

  .story-route > i {
    display: none;
  }

  .story-detail {
    min-height: 260px;
    padding: 28px;
  }

  .story-strips {
    grid-template-columns: 1fr;
  }

  .studio-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-tabs button:nth-child(3) {
    border-top: 1px solid #34394a;
    border-left: 0;
  }

  .studio-tabs button:nth-child(4) {
    border-top: 1px solid #34394a;
  }

  .studio-panel {
    grid-template-columns: 1fr;
  }

  .studio-avatar,
  .studio-copy,
  .ability-grid,
  .publish-list {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid #34394a;
  }

  .studio-fields {
    padding: 26px;
  }

  .ability-grid,
  .publish-list {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screenshot-card figcaption {
    min-height: 104px;
    padding: 12px;
    gap: 2px 8px;
  }

  .screenshot-card figcaption span {
    font-size: 16px;
  }

  .screenshot-card figcaption strong {
    font-size: 13px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 220px;
    padding: 24px;
  }

  .download-section {
    padding: 50px 0;
  }

  .download-dock {
    grid-template-columns: 1fr;
  }

  .dock-logo,
  .dock-copy {
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid #3b4050;
    text-align: center;
  }

  .dock-copy {
    justify-items: center;
  }

  .dock-action {
    justify-content: center;
    min-height: 78px;
    gap: 22px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 12px 22px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .mobile-download {
    padding: 9px 11px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .phone-shell {
    transform: scale(0.95);
  }

  .universe-map {
    min-height: 400px;
  }

  .universe-core {
    width: 96px;
    height: 96px;
  }

  .universe-node {
    width: 72px;
    height: 72px;
  }

  .story-route {
    grid-template-columns: repeat(4, 104px);
  }
}
