@charset "UTF-8";

/* 作者：搭客佬
官网：https://www.yjmhapp.cn/ */

:root {
  --brand: #7860b8;
  --brand-dark: #5d479e;
  --coral: #f26f61;
  --coral-dark: #da5147;
  --mint: #8dcfaf;
  --amber: #f2b74d;
  --cream: #fffaf2;
  --paper: #fffdf9;
  --ink: #202434;
  --muted: #6c6e7a;
  --line: #e7dfd7;
  --navy: #152033;
  --white: #ffffff;
  --content: 1200px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

.container {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid rgba(120, 96, 184, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(120, 96, 184, 0.25);
  border-radius: 13px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.28;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 44px;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 28px 0 24px;
  color: #333542;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-actions {
  display: none;
  align-items: center;
  margin-left: auto;
  gap: 9px;
}

.mobile-download {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  color: var(--white);
  background: var(--coral);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  place-items: center;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle i::before {
  top: -6px;
}

.menu-toggle i::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 75%, rgba(191, 172, 225, 0.28) 0 4px, transparent 5px) 0 0 / 20px 20px,
    linear-gradient(120deg, #fffaf2 0%, #fffdf9 50%, #f8f0fb 100%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 560px;
  height: 330px;
  background: rgba(184, 157, 220, 0.18);
  border-radius: 50% 50% 0 0;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 690px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 72px;
}

.hero-copy {
  padding: 58px 0 68px;
}

.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 4px 17px;
  color: var(--brand-dark);
  background: #eee5fa;
  border: 1px solid #d8c9eb;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 700px;
  margin: 24px 0 18px;
  font-size: clamp(42px, 4.3vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: #555966;
  font-size: 17px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.hero-features li {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 5px 17px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero-features li::before {
  width: 9px;
  height: 9px;
  margin-right: 9px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.feature-search {
  color: var(--brand-dark);
}

.feature-ranking {
  color: #31916c;
}

.feature-offline {
  color: #c88213;
}

.hero-action {
  display: inline-flex;
  align-items: flex-start;
  margin-top: 34px;
  flex-direction: column;
  gap: 10px;
}

.primary-button {
  display: inline-flex;
  min-width: 260px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 27px;
  gap: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #f45a4c);
  border: 1px solid var(--coral-dark);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(226, 86, 74, 0.22);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--coral-dark);
  box-shadow: 0 10px 22px rgba(226, 86, 74, 0.3);
}

.icon-download {
  width: 18px;
  height: 18px;
  background: url("../icons/download.svg") center / contain no-repeat;
}

.age-label {
  color: var(--muted);
  font-size: 13px;
}

.hero-phone {
  position: relative;
  align-self: end;
  justify-self: end;
  padding-bottom: 26px;
}

.phone-shell {
  position: relative;
  width: 315px;
  height: 610px;
  padding: 12px;
  background: #11151d;
  border: 4px solid #3f4148;
  border-radius: 48px;
  box-shadow: 0 30px 58px rgba(37, 31, 57, 0.28), inset 0 0 0 2px #9ea0a7;
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 13px;
  left: 50%;
  width: 102px;
  height: 22px;
  background: #11151d;
  border-radius: 0 0 15px 15px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  padding: 17px 15px 64px;
  overflow: hidden;
  background: #fff;
  border-radius: 34px;
}

.app-status,
.app-section-title {
  display: flex;
  justify-content: space-between;
}

.app-status {
  font-size: 12px;
  font-weight: 700;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.app-head div,
.app-list li > span {
  display: flex;
  flex-direction: column;
}

.app-head strong {
  font-size: 17px;
}

.app-head span,
.app-list small {
  color: #9b9ca5;
  font-size: 12px;
}

.app-search {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #2e3340;
  border-radius: 50%;
}

.app-search::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: #2e3340;
  content: "";
  transform: rotate(45deg);
}

.app-banner {
  position: relative;
  margin-top: 13px;
  padding: 15px 17px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #8e72c5, #b996d3);
  border-radius: 17px;
}

.app-banner span,
.app-banner strong {
  position: relative;
  z-index: 2;
  display: block;
}

.app-banner span {
  font-size: 12px;
}

.app-banner strong {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.35;
}

.app-banner > i {
  position: absolute;
  right: 16px;
  bottom: -14px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 74px;
  font-style: normal;
}

.app-shortcuts,
.app-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.app-shortcuts {
  margin-top: 15px;
  gap: 8px;
}

.app-shortcuts span,
.app-dock span {
  display: flex;
  align-items: center;
  color: #525561;
  font-size: 12px;
  flex-direction: column;
}

.app-shortcuts span {
  gap: 4px;
}

.app-shortcuts i {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--brand);
  border-radius: 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  place-items: center;
}

.app-shortcuts span:nth-child(2) i {
  background: var(--coral);
}

.app-shortcuts span:nth-child(3) i {
  background: var(--mint);
}

.app-shortcuts span:nth-child(4) i {
  background: var(--amber);
}

.app-section-title {
  align-items: center;
  margin-top: 15px;
}

.app-section-title strong {
  font-size: 14px;
}

.app-section-title span {
  color: #a3a4aa;
  font-size: 12px;
}

.app-tabs {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px;
  background: #f5f2f7;
  border-radius: 8px;
}

.app-tabs > * {
  flex: 1;
  padding: 4px 3px;
  color: #8b8990;
  font-size: 12px;
  text-align: center;
}

.app-tabs b {
  color: var(--brand-dark);
  background: var(--white);
  border-radius: 6px;
}

.app-list {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.app-list li {
  display: flex;
  align-items: center;
  margin-top: 7px;
  gap: 8px;
}

.app-list li > b {
  width: 22px;
  color: var(--coral);
  font-size: 12px;
}

.app-list li > i {
  width: 34px;
  height: 42px;
  background: linear-gradient(145deg, #e3d7ee, #a98cc7);
  border-radius: 5px;
}

.app-list li:nth-child(2) > i {
  background: linear-gradient(145deg, #d9efe4, #73b797);
}

.app-list li:nth-child(3) > i {
  background: linear-gradient(145deg, #f6dec6, #e8987c);
}

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

.app-dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 60px;
  padding: 6px 12px 5px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #eeeeef;
}

.app-dock span {
  color: #a0a1a8;
}

.app-dock i {
  font-size: 17px;
  font-style: normal;
  line-height: 1.1;
}

.app-dock .is-on {
  color: var(--brand-dark);
}

.hero-decor {
  position: absolute;
  z-index: 1;
  border: 2px solid rgba(120, 96, 184, 0.18);
  transform: rotate(45deg);
}

.hero-decor-left {
  top: 120px;
  left: 4%;
  width: 16px;
  height: 16px;
}

.hero-decor-right {
  top: 160px;
  right: 3%;
  width: 30px;
  height: 30px;
  border-color: rgba(242, 111, 97, 0.28);
}

:focus-visible {
  outline: 3px solid rgba(120, 96, 184, 0.42);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: var(--header-height);
}

.section-head {
  max-width: 760px;
  margin: 0 0 42px;
}

.section-head > span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.discover-section {
  background:
    radial-gradient(circle at 87% 14%, rgba(242, 183, 77, 0.2) 0 3px, transparent 4px) 0 0 / 25px 25px,
    var(--paper);
}

.discovery-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.38fr);
  gap: 28px;
}

.interest-map,
.discovery-panel {
  position: relative;
  min-height: 390px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(53, 43, 73, 0.07);
}

.interest-map {
  overflow: hidden;
  background:
    linear-gradient(rgba(120, 96, 184, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(120, 96, 184, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    #fffaf7;
}

.interest-map::before {
  position: absolute;
  inset: 55px 70px;
  border: 1px dashed rgba(120, 96, 184, 0.3);
  border-radius: 50%;
  content: "";
}

.compass {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 188px;
  height: 188px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid #35394a;
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.84), 0 0 0 10px rgba(120, 96, 184, 0.18);
  transform: translate(-50%, -50%);
}

.compass::before,
.compass::after {
  position: absolute;
  background: rgba(32, 36, 52, 0.18);
  content: "";
}

.compass::before {
  top: 17px;
  bottom: 17px;
  left: 50%;
  width: 1px;
}

.compass::after {
  top: 50%;
  right: 17px;
  left: 17px;
  height: 1px;
}

.compass-ring {
  position: absolute;
  inset: 31px;
  border: 1px dashed rgba(120, 96, 184, 0.42);
  border-radius: 50%;
}

.compass-pointer {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 50%;
  width: 25px;
  height: 71px;
  background: linear-gradient(90deg, var(--coral) 50%, #2d3242 50%);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  transform: translateX(-50%) rotate(35deg);
  transform-origin: 50% 52px;
}

.compass b {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 63px;
  height: 63px;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid #d9cbe9;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
  place-items: center;
}

.interest-chip {
  position: absolute;
  z-index: 4;
  min-width: 78px;
  min-height: 42px;
  padding: 7px 17px;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid #cab7e0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(50, 40, 68, 0.08);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.interest-chip:hover,
.interest-chip:focus-visible,
.interest-chip.is-selected {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.chip-fantasy {
  top: 28px;
  left: 30px;
}

.chip-action {
  top: 40px;
  right: 28px;
  color: #c74d42;
  border-color: #efafa8;
}

.chip-healing {
  bottom: 34px;
  left: 28px;
  color: #317e61;
  border-color: #9bd2bb;
}

.chip-urban {
  right: 32px;
  bottom: 30px;
  color: #a76c12;
  border-color: #efc773;
}

.map-star {
  position: absolute;
  color: var(--amber);
  font-size: 28px;
}

.star-one {
  top: 100px;
  left: 57px;
}

.star-two {
  right: 54px;
  bottom: 112px;
  color: var(--mint);
}

.discovery-panel {
  padding: 34px;
}

.discovery-search {
  display: grid;
  min-height: 54px;
  align-items: center;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 11px;
  border: 1px solid #d9d5df;
  border-radius: 15px;
}

.icon-search {
  width: 20px;
  height: 20px;
  margin-left: 17px;
  color: var(--brand-dark);
  background: url("../icons/search.svg") center / contain no-repeat;
}

.discovery-search input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.discovery-search input::placeholder {
  color: #9999a3;
}

.discovery-search button {
  align-self: stretch;
  min-width: 90px;
  margin: -1px;
  color: var(--white);
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.discovery-search button:hover,
.discovery-search button:focus-visible {
  background: var(--brand-dark);
}

.filter-row {
  display: grid;
  align-items: start;
  margin-top: 22px;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}

.filter-row > strong {
  padding-top: 7px;
  font-size: 14px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-options button {
  min-height: 34px;
  padding: 4px 13px;
  color: #676a75;
  background: #f7f4f8;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.filter-options button:hover,
.filter-options button:focus-visible,
.filter-options button.is-active {
  color: var(--brand-dark);
  background: #eee6f7;
  border-color: #d5c2e8;
  font-weight: 800;
}

.preference-result {
  display: grid;
  min-height: 86px;
  align-items: center;
  margin-top: 25px;
  padding: 15px 18px;
  background: linear-gradient(100deg, #fff1ef, #fff9ec 46%, #edf8f2);
  border: 1px solid #f1ded8;
  border-radius: 17px;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
}

.preference-result > span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}

.preference-result strong {
  font-size: 14px;
}

.preference-result p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  grid-column: 1 / -1;
}

.route-section {
  background: #f8f3fa;
}

.route-board {
  position: relative;
  padding: 32px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #d9cde4;
  border-radius: 28px 28px 18px 18px;
  box-shadow: 0 22px 60px rgba(55, 45, 75, 0.08);
}

.route-board::after {
  position: absolute;
  top: 0;
  right: 36px;
  width: 38px;
  height: 62px;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  content: "";
}

.route-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.route-tabs::before {
  position: absolute;
  top: 39px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: #ded6e4;
  content: "";
}

.route-tabs button {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0;
  color: #777985;
  background: transparent;
  border: 0;
  font-size: 13px;
  cursor: pointer;
  flex-direction: column;
}

.route-tabs button span {
  margin-bottom: 10px;
  white-space: nowrap;
}

.route-tabs button i {
  width: 17px;
  height: 17px;
  background: var(--paper);
  border: 2px solid #bcb6c5;
  border-radius: 50%;
}

.route-tabs button:hover,
.route-tabs button:focus-visible,
.route-tabs button.is-current {
  color: var(--brand-dark);
  font-weight: 800;
}

.route-tabs button.is-current i {
  background: var(--brand);
  border: 5px solid #e5daf2;
  box-shadow: 0 0 0 2px var(--brand);
}

.route-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 17px 20px;
  background: #f1e9f8;
  border-radius: 16px;
  gap: 18px;
}

.route-summary > div {
  display: flex;
  flex-direction: column;
}

.route-summary span {
  color: var(--muted);
  font-size: 12px;
}

.route-summary strong {
  font-size: 14px;
}

.sync-state {
  display: inline-flex;
  align-items: center;
  color: #42765e !important;
  font-weight: 700;
  white-space: nowrap;
}

.sync-state i {
  width: 9px;
  height: 9px;
  margin-right: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(141, 207, 175, 0.16);
}

.shelf-status {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.shelf-status article {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 23px 20px;
  gap: 13px;
}

.shelf-status article + article {
  border-left: 1px dashed #d7ceda;
}

.shelf-status article > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--brand);
  border-radius: 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.status-update::before {
  content: "新";
}

.status-star {
  background: var(--coral) !important;
}

.status-star::before {
  content: "藏";
}

.status-clock {
  background: var(--amber) !important;
}

.status-clock::before {
  content: "候";
}

.status-offline {
  background: var(--mint) !important;
}

.status-offline::before {
  content: "离";
}

.shelf-status article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.shelf-status strong {
  font-size: 14px;
  white-space: nowrap;
}

.shelf-status span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.showcase-section {
  background: var(--paper);
}

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

.screenshot-grid figure {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid #d8c6e8;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(45, 37, 65, 0.08);
  flex-direction: column;
}

.screenshot-media {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #f7f6f7;
  border-radius: 16px;
}

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

.screenshot-grid figcaption {
  display: flex;
  min-height: 72px;
  justify-content: center;
  padding: 15px 8px 5px;
  text-align: center;
  flex-direction: column;
}

.screenshot-grid figcaption strong {
  color: var(--brand-dark);
  font-size: 16px;
}

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

.faq-section {
  background: linear-gradient(180deg, #fff9ef, #fffdf9);
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.faq-item {
  background: rgba(255, 255, 255, 0.8);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary,
.official-disclosure summary {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 15px 22px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker,
.official-disclosure summary::-webkit-details-marker {
  display: none;
}

.faq-item summary strong {
  padding-right: 24px;
  font-size: 15px;
}

.faq-item summary > i,
.official-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: 0 0 auto;
}

.faq-item summary > i::before,
.faq-item summary > i::after,
.official-toggle::before,
.official-toggle::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  content: "";
}

.faq-item summary > i::after,
.official-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] summary > i::after,
.official-disclosure[open] .official-toggle::after {
  transform: rotate(0);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--brand-dark);
  background: #faf6fd;
}

.faq-answer {
  padding: 0 64px 22px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.official-disclosure {
  margin-top: 18px;
  background: var(--white);
  border: 2px solid #bca6d5;
  border-radius: 18px;
}

.official-disclosure summary {
  gap: 13px;
}

.official-disclosure summary strong {
  font-size: 15px;
}

.icon-globe {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: url("../icons/globe.svg") center / contain no-repeat;
}

.official-answer {
  padding: 0 22px 20px 59px;
}

.official-answer a {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews-section {
  background: var(--paper);
}

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

.review-card {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(49, 42, 66, 0.05);
}

.review-meta {
  display: grid;
  align-items: center;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(145deg, #a98bd0, #755bb3);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.review-meta strong {
  font-size: 14px;
}

.review-meta time {
  color: #9a9ba3;
  font-size: 12px;
}

.review-card p {
  margin: 17px 0 0;
  color: #555864;
  font-size: 14px;
  line-height: 1.85;
}

.download-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(141, 207, 175, 0.24) 0 3px, transparent 4px) 0 0 / 24px 24px,
    #fbf7f0;
}

.download-section .section-head h2 {
  white-space: nowrap;
}

.download-ticket {
  position: relative;
  display: grid;
  min-height: 225px;
  align-items: center;
  padding: 40px 38px 40px 58px;
  background: var(--white);
  border: 2px solid #9b84bd;
  border-radius: 23px;
  box-shadow: 0 24px 60px rgba(56, 43, 76, 0.11);
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.75fr);
  gap: 34px;
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  top: 24px;
  bottom: 24px;
  width: 14px;
  background:
    radial-gradient(circle, var(--paper) 0 5px, #8dcfaf 6px 7px, transparent 8px) center top / 14px 25px repeat-y;
  content: "";
}

.download-ticket::before {
  left: -8px;
}

.download-ticket::after {
  right: -8px;
}

.ticket-bookmark {
  position: absolute;
  top: -2px;
  left: 22px;
  display: grid;
  width: 54px;
  height: 82px;
  background: var(--brand);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  place-items: center;
}

.download-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.download-steps li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.download-steps li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 22px;
  height: 1px;
  background: #bdb6c4;
  content: "";
}

.download-steps li:not(:last-child)::before {
  position: absolute;
  z-index: 2;
  top: calc(50% - 3px);
  right: 11px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #8f8995;
  border-right: 1px solid #8f8995;
  content: "";
  transform: rotate(45deg);
}

.download-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--brand-dark);
  background: #f0e7f8;
  border: 1px solid #cfbde2;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.download-steps li > div,
.ticket-action {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.download-steps strong {
  font-size: 14px;
  white-space: nowrap;
}

.download-steps small,
.ticket-action small {
  color: var(--muted);
  font-size: 12px;
}

.ticket-action {
  align-items: center;
  padding-left: 32px;
  border-left: 1px dashed #cfc8d5;
  text-align: center;
  gap: 10px;
}

.ticket-action > span {
  color: var(--muted);
  font-size: 12px;
}

.download-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  gap: 9px;
  color: var(--white);
  background: var(--coral);
  border: 1px solid var(--coral-dark);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.download-button:hover,
.download-button:focus-visible {
  background: var(--coral-dark);
}

.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.1) 0 2px, transparent 3px) 0 0 / 18px 18px,
    var(--navy);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 0 30px;
  gap: 36px;
}

.footer-brand {
  min-width: 220px;
}

.footer-brand img {
  border-color: rgba(255, 255, 255, 0.38);
}

.footer-brand .brand-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 30px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.82);
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: max(24px, calc((100vw - var(--content)) / 2 - 68px));
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(21, 32, 51, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  place-items: center;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top i {
  width: 23px;
  height: 23px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

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

  .container,
  .header-inner {
    width: min(100% - 32px, var(--content));
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 43px;
    height: 43px;
    border-radius: 11px;
  }

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

  .mobile-actions {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
  }

  .primary-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    visibility: visible;
  }

  .primary-nav ul {
    width: min(100% - 32px, var(--content));
    align-items: stretch;
    margin: 0 auto;
    padding: 12px 0 18px;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav a {
    padding: 12px 4px;
  }

  .primary-nav a::after {
    right: auto;
    bottom: 7px;
    width: 26px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy {
    padding: 70px 0 24px;
    text-align: center;
  }

  .hero h1 {
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(38px, 9vw, 58px);
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-features,
  .hero-action {
    justify-content: center;
  }

  .hero-action {
    align-items: center;
  }

  .hero-phone {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .header-inner {
    width: calc(100% - 20px);
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .brand-copy strong {
    max-width: 92px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy span {
    max-width: 98px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .mobile-actions {
    gap: 6px;
  }

  .mobile-download {
    min-height: 32px;
    padding: 0 10px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero-copy {
    padding-top: 52px;
  }

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

  .hero-lead {
    font-size: 15px;
  }

  .hero-features {
    gap: 7px;
  }

  .hero-features li {
    min-height: 38px;
    padding: 4px 11px;
    font-size: 12px;
  }

  .primary-button {
    min-width: 230px;
  }

  .phone-shell {
    width: 290px;
    height: 560px;
  }
}

@media (max-width: 360px) {
  .brand-copy strong {
    max-width: 76px;
  }

  .brand-copy span {
    max-width: 82px;
  }

  .mobile-download {
    padding: 0 8px;
  }
}

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary {
    transition: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

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

  .interest-map {
    min-height: 390px;
  }

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

  .shelf-status article:nth-child(3) {
    border-top: 1px dashed #d7ceda;
    border-left: 0;
  }

  .shelf-status article:nth-child(4) {
    border-top: 1px dashed #d7ceda;
  }

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

  .download-ticket {
    padding: 46px 34px 34px 58px;
    grid-template-columns: 1fr;
  }

  .ticket-action {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px dashed #cfc8d5;
    border-left: 0;
  }

  .footer-main,
  .footer-bottom {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: center;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 700px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .route-board {
    padding: 25px 20px;
  }

  .route-tabs {
    min-width: 590px;
  }

  .route-tabs::before {
    right: 7%;
    left: 7%;
  }

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

  .route-summary,
  .shelf-status {
    min-width: 590px;
  }

  .download-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-steps li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 20px;
    width: 1px;
    height: 14px;
  }

  .download-steps li:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 18px;
    transform: rotate(135deg);
  }
}

@media (max-width: 620px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .brand-copy strong,
  .brand-copy span {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head > span {
    font-size: 12px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .section-head p {
    font-size: 14px;
  }

  .interest-map {
    min-height: 330px;
  }

  .interest-map::before {
    inset: 50px 42px;
  }

  .compass {
    width: 150px;
    height: 150px;
  }

  .compass-pointer {
    top: 32px;
    height: 59px;
    transform-origin: 50% 44px;
  }

  .compass b {
    width: 54px;
    height: 54px;
    font-size: 12px;
  }

  .interest-chip {
    min-width: 64px;
    min-height: 36px;
    padding: 5px 12px;
    font-size: 12px;
  }

  .chip-fantasy {
    top: 22px;
    left: 18px;
  }

  .chip-action {
    top: 28px;
    right: 18px;
  }

  .chip-healing {
    bottom: 24px;
    left: 18px;
  }

  .chip-urban {
    right: 18px;
    bottom: 22px;
  }

  .discovery-panel {
    min-height: 0;
    padding: 18px;
  }

  .discovery-search {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .icon-search {
    margin-left: 12px;
  }

  .discovery-search button {
    min-width: 64px;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .filter-row > strong {
    padding-top: 0;
  }

  .preference-result {
    grid-template-columns: 1fr;
  }

  .route-board {
    padding: 22px 16px;
  }

  .route-board::after {
    right: 20px;
    width: 30px;
    height: 50px;
  }

  .route-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .shelf-status {
    grid-template-columns: 1fr;
  }

  .shelf-status article + article {
    border-top: 1px dashed #d7ceda;
    border-left: 0;
  }

  .screenshot-grid figure {
    padding: 6px;
    border-radius: 16px;
  }

  .screenshot-media {
    border-radius: 11px;
  }

  .screenshot-grid figcaption {
    min-height: 66px;
    padding: 11px 2px 3px;
  }

  .screenshot-grid figcaption strong {
    font-size: 14px;
  }

  .faq-item summary,
  .official-disclosure summary {
    min-height: 62px;
    padding: 14px 16px;
  }

  .faq-item summary strong,
  .official-disclosure summary strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 44px 18px 16px;
    font-size: 13px;
  }

  .official-answer {
    padding: 0 16px 18px 53px;
  }

  .review-card {
    padding: 20px;
  }

  .download-section .section-head h2 {
    font-size: 27px;
  }

  .download-ticket {
    padding: 58px 22px 26px 34px;
  }

  .ticket-bookmark {
    left: 18px;
    width: 44px;
    height: 68px;
  }

  .download-button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  .footer-main {
    padding-top: 38px;
  }

  .footer-nav {
    gap: 12px 20px;
  }

  .footer-bottom {
    padding-bottom: 78px;
  }
}

@media (max-width: 360px) {
  .brand-copy strong,
  .brand-copy span {
    max-width: none;
  }

  .brand-copy span {
    letter-spacing: -0.02em;
  }

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

  .download-section .section-head h2 {
    font-size: 24px;
  }
}
