@charset "UTF-8";

/* 作者：搭客佬 */
/* 链接：https://www.xxfzmhs.cn/ */

:root {
  --navy-950: #071f36;
  --navy-900: #0b2d4d;
  --navy-800: #123d63;
  --navy-700: #1a527b;
  --gold-500: #f2b52b;
  --gold-300: #f8d98d;
  --cream-100: #fffaf0;
  --cream-200: #f8f0df;
  --paper: #fffdf8;
  --blue-100: #e9f1f5;
  --blue-200: #d7e5eb;
  --rose-100: #f6e8e5;
  --rose-400: #c97972;
  --ink: #172b3d;
  --muted: #667786;
  --line: rgba(18, 61, 99, 0.16);
  --white-line: rgba(255, 255, 255, 0.2);
  --shadow: 0 18px 50px rgba(7, 31, 54, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  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.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin-top: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow-shell {
  width: min(940px, calc(100% - 48px));
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.97);
}

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

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  color: var(--navy-900);
}

.site-brand img {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin-right: 12px;
  border-radius: 13px;
  object-fit: contain;
}

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

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

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

.site-nav a {
  position: relative;
  display: block;
  padding: 24px 16px;
  color: #435666;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 16px;
  bottom: 17px;
  left: 16px;
  height: 2px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy-900);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

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

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98), rgba(255, 253, 248, 0.92)),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(18, 61, 99, 0.035) 32px);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--gold-500) 0 23%, var(--navy-800) 23% 66%, var(--rose-400) 66% 100%);
  content: "";
}

.hero-texture {
  position: absolute;
  border: 1px solid rgba(18, 61, 99, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-texture-one {
  top: 58px;
  left: -85px;
  width: 260px;
  height: 260px;
}

.hero-texture-two {
  right: -130px;
  bottom: -170px;
  width: 430px;
  height: 430px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
}

.hero-copy {
  padding-left: 34px;
  border-left: 4px solid var(--gold-500);
}

.section-kicker,
.panel-label {
  display: block;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 6px;
  color: var(--navy-900);
  font-family: SimSun, STSong, "Songti SC", serif;
  font-size: clamp(58px, 5.3vw, 82px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.12;
  white-space: nowrap;
}

.hero-slogan {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-description {
  max-width: 510px;
  margin-bottom: 26px;
  color: #566b7a;
  font-size: 15px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tags span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  content: "";
}

.hero-action {
  display: inline-flex;
  align-items: stretch;
  flex-direction: column;
  text-align: center;
}

.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 232px;
  height: 58px;
  padding: 0 24px;
  border-radius: 5px;
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 7px 7px 0 var(--navy-900);
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover,
.download-button:hover {
  box-shadow: 4px 4px 0 var(--navy-900);
  transform: translate(3px, 3px);
}

.age-label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.matcher-panel {
  position: relative;
  border: 1px solid var(--navy-900);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 16px 16px 0 var(--blue-200);
}

.matcher-panel::before {
  position: absolute;
  top: -18px;
  left: 46px;
  width: 88px;
  height: 33px;
  background: rgba(248, 217, 141, 0.76);
  content: "";
  transform: rotate(-3deg);
}

.matcher-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 28px 22px;
  color: #fff;
  background: var(--navy-900);
}

.matcher-head .panel-label {
  color: var(--gold-300);
}

.matcher-head h2 {
  margin: 2px 0 0;
  font-size: 25px;
  line-height: 1.3;
}

.matcher-count {
  padding: 5px 9px;
  border: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.matcher-body {
  padding: 22px 28px 26px;
}

.filter-group {
  display: grid;
  align-items: center;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.is-selected {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: #fff4ce;
}

.match-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 17px;
  color: #fff;
  background: var(--navy-800);
  font-size: 14px;
  font-weight: 800;
}

.match-button img {
  width: 17px;
  height: 17px;
  margin-right: 8px;
  object-fit: contain;
}

.match-status {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.match-list {
  border-top: 1px solid var(--line);
}

.match-card {
  display: grid;
  align-items: center;
  grid-template-columns: 48px 1fr 34px;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.match-card.is-highlighted {
  margin: 0 -10px;
  padding-right: 10px;
  padding-left: 10px;
  background: var(--cream-100);
}

.match-card > img {
  width: 48px;
  height: 58px;
  border: 1px solid var(--line);
  background: var(--blue-100);
  object-fit: contain;
}

.match-card h3,
.match-card p,
.match-card span {
  margin: 0;
}

.match-card h3 {
  color: var(--navy-900);
  font-size: 15px;
  line-height: 1.4;
}

.match-card span,
.match-card p {
  color: var(--muted);
  font-size: 12px;
}

.match-card button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-800);
  background: #fff;
  font-size: 20px;
  line-height: 1;
}

.match-card button.is-saved {
  color: var(--navy-950);
  background: var(--gold-500);
}

.content-section {
  padding: 108px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading > div {
  position: relative;
  padding-left: 66px;
}

.section-number {
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--gold-500);
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.section-heading h2 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-family: SimSun, STSong, "Songti SC", serif;
  font-size: 42px;
  line-height: 1.2;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 2px auto;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

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

.mood-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(350px, 0.7fr);
  gap: 24px;
}

.coordinate-card {
  display: grid;
  min-height: 510px;
  padding: 36px;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--blue-100);
}

.coordinate-note {
  display: flex;
  align-self: flex-start;
  flex-direction: column;
  padding-top: 10px;
}

.coordinate-note span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.coordinate-note strong {
  margin-top: 7px;
  color: var(--navy-900);
  font-family: SimSun, STSong, "Songti SC", serif;
  font-size: 22px;
}

.coordinate-map {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(18, 61, 99, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 232, 229, 0.72)),
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(18, 61, 99, 0.03) 13px);
}

.axis-line {
  position: absolute;
  z-index: 0;
  background: rgba(18, 61, 99, 0.22);
}

.axis-horizontal {
  top: 50%;
  right: 30px;
  left: 30px;
  height: 1px;
}

.axis-vertical {
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 1px;
}

.axis-label {
  position: absolute;
  z-index: 1;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
}

.axis-top {
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
}

.axis-right {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.axis-bottom {
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.axis-left {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.coordinate-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  width: 106px;
  height: 106px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--navy-800);
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.coordinate-center span {
  font-size: 12px;
}

.coordinate-center strong {
  font-size: 14px;
}

.mood-point {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-800);
  box-shadow: 0 0 0 1px var(--navy-800);
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mood-point:hover,
.mood-point.is-selected {
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-500);
  transform: scale(1.12);
}

.point-one { top: 20%; left: 26%; }
.point-two { top: 26%; right: 18%; }
.point-three { right: 28%; bottom: 17%; }
.point-four { bottom: 20%; left: 16%; }

.recommend-stack {
  display: grid;
  align-content: stretch;
  gap: 12px;
}

.recommend-card {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 154px;
  padding: 16px 18px;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fff;
  opacity: 0.62;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.recommend-card.is-active {
  border-color: var(--gold-500);
  box-shadow: 7px 7px 0 var(--cream-200);
  opacity: 1;
  transform: translateX(-5px);
}

.recommend-card img {
  width: 82px;
  height: 112px;
  border: 1px solid var(--line);
  object-fit: contain;
}

.recommend-card h3,
.recommend-card p,
.recommend-card div > span {
  margin: 0;
}

.recommend-card div > span {
  color: var(--rose-400);
  font-size: 12px;
  font-weight: 800;
}

.recommend-card h3 {
  color: var(--navy-900);
  font-size: 18px;
}

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

.recommend-index {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(18, 61, 99, 0.18);
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.update-section {
  color: #fff;
  background: var(--navy-900);
}

.light-heading .section-kicker,
.light-heading h2 {
  color: #fff;
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.week-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.week-tabs button {
  min-height: 58px;
  border-right: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.67);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.week-tabs button:last-child {
  border-right: 0;
}

.week-tabs button:hover,
.week-tabs button.is-active {
  color: var(--navy-950);
  background: var(--gold-500);
}

.update-meta {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

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

.update-card {
  display: grid;
  min-width: 0;
  padding: 16px;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.06);
}

.update-card[hidden] {
  display: none;
}

.update-card > img {
  width: 112px;
  height: 156px;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.update-info {
  min-width: 0;
}

.status-pill {
  display: inline-block;
  padding: 3px 8px;
  color: var(--navy-950);
  background: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
}

.update-card h3 {
  margin: 10px 0 4px;
  font-size: 18px;
}

.update-card p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.progress-line {
  height: 3px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.15);
}

.progress-line span {
  display: block;
  height: 100%;
  background: var(--gold-500);
}

.follow-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  background: transparent;
  font-size: 12px;
}

.follow-button.is-followed {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: var(--gold-500);
}

.shelf-section {
  background: var(--cream-100);
}

.shelf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.shelf-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shelf-tabs button {
  position: relative;
  min-height: 52px;
  padding: 0 19px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.shelf-tabs button::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
}

.shelf-tabs button.is-active {
  color: var(--navy-900);
}

.shelf-tabs button.is-active::after {
  transform: scaleX(1);
}

.shelf-tabs button span {
  margin-left: 4px;
  color: var(--rose-400);
  font-size: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.sort-control select {
  min-height: 38px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  color: var(--navy-900);
  background: #fff;
  font-size: 12px;
}

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

.shelf-card {
  display: grid;
  padding: 18px;
  grid-template-columns: 116px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.shelf-card[hidden] {
  display: none;
}

.cover-wrap {
  grid-row: 1 / 4;
  width: 116px;
  height: 154px;
  background: var(--blue-100);
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shelf-card > span {
  align-self: end;
  color: var(--rose-400);
  font-size: 12px;
  font-weight: 800;
}

.shelf-card h3 {
  margin: 5px 0;
  color: var(--navy-900);
  font-size: 18px;
}

.shelf-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.screenshots-section {
  background: var(--blue-100);
}

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

.screenshot-grid figure {
  margin: 0;
}

.screenshot-frame {
  overflow: hidden;
  aspect-ratio: 9 / 16;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--navy-900);
  box-shadow: 8px 8px 0 rgba(18, 61, 99, 0.12);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.screenshot-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px 0;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
}

.screenshot-grid figcaption span {
  color: var(--rose-400);
  font-family: Georgia, serif;
}

.faq-section {
  padding-bottom: 42px;
  background: var(--paper);
}

.centered-heading {
  display: block;
  text-align: center;
}

.centered-heading > div {
  display: inline-block;
  padding-left: 61px;
  text-align: left;
}

.centered-heading > p {
  margin: 15px auto 0;
  text-align: center;
}

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

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

.faq-item summary,
.official-details summary {
  position: relative;
  display: flex;
  min-height: 72px;
  padding: 0 56px 0 4px;
  align-items: center;
  justify-content: space-between;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary span,
.official-details summary span {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.faq-item summary span::before,
.faq-item summary span::after,
.official-details summary span::before,
.official-details summary span::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  background: var(--navy-800);
  content: "";
}

.faq-item summary span::after,
.official-details summary span::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary span::after,
.official-details[open] summary span::after {
  transform: rotate(0);
}

.faq-item p {
  margin: 0;
  padding: 0 56px 25px 4px;
  color: var(--muted);
  font-size: 14px;
}

.official-section {
  padding: 0 0 100px;
  background: var(--paper);
}

.official-details {
  border: 1px solid var(--navy-900);
  background: var(--cream-100);
}

.official-details summary {
  min-height: 76px;
  padding-left: 24px;
}

.official-details > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px 23px;
}

.official-details p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.official-details a {
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.review-section {
  background: var(--rose-100);
}

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

.comment-card {
  position: relative;
  display: flex;
  min-height: 202px;
  padding: 22px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
}

.comment-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comment-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-size: 14px;
}

.comment-avatar {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-100) url("../icons/avatar.svg") center / 20px 20px no-repeat;
}

.comment-rating {
  flex: 0 0 auto;
  color: var(--gold-500);
  font-size: 14px;
  white-space: nowrap;
}

.comment-rating .fa {
  display: inline-block;
  width: 14px;
  font-style: normal;
  text-align: center;
}

.comment-rating .fa-star::before {
  content: "★";
}

.comment-rating .fa-star-o::before {
  content: "☆";
}

.comment-card > p {
  margin: 22px 0 18px;
  color: #526675;
  font-size: 14px;
}

.comment-card time {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 72px 0;
  color: #fff;
  background: var(--navy-950);
}

.download-shell {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 1.7fr auto;
  gap: 36px;
}

.download-copy .section-kicker {
  color: var(--gold-300);
}

.download-copy h2 {
  margin: 7px 0 8px;
  font-family: SimSun, STSong, "Songti SC", serif;
  font-size: 31px;
  line-height: 1.25;
}

.download-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

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

.download-route li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.download-route li:not(:last-child)::after {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 10px;
  background: var(--white-line);
  content: "";
}

.download-route span {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  color: var(--gold-500);
  font-size: 12px;
}

.download-route strong {
  white-space: nowrap;
}

.download-button {
  min-width: 200px;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.17);
}

.site-footer {
  color: #fff;
  background: #041522;
}

.footer-main {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.58);
}

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

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

.footer-nav a:hover {
  color: var(--gold-500);
}

.footer-copyright {
  position: relative;
  display: flex;
  min-height: 66px;
  padding-top: 18px;
  padding-bottom: 18px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-900);
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 4px 4px 0 var(--navy-900);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, bottom 0.2s ease;
}

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

.back-to-top img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
    gap: 42px;
  }

  .hero-copy {
    padding-left: 24px;
  }

  .update-card {
    grid-template-columns: 92px 1fr;
    gap: 13px;
  }

  .update-card > img {
    width: 92px;
    height: 132px;
  }

  .shelf-card {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }

  .cover-wrap {
    width: 96px;
    height: 136px;
  }

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

  .download-route {
    max-width: 650px;
  }

  .download-button {
    width: 220px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-top: 68px;
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    height: 68px;
  }

  .header-inner {
    position: relative;
    width: calc(100% - 28px);
    justify-content: flex-start;
  }

  .header-inner > .site-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 112px);
    margin-right: 8px;
  }

  .site-brand img {
    width: 40px;
    height: 40px;
    margin-right: 9px;
    border-radius: 11px;
  }

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

  .brand-copy small {
    font-size: 12px;
  }

  .mobile-actions {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 18px 20px;
    background: var(--paper);
  }

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

  .site-nav ul {
    display: block;
    border-top: 1px solid var(--navy-900);
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 17px 4px;
    font-size: 15px;
  }

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

  .hero {
    padding: 68px 0 82px;
  }

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

  .hero-copy {
    max-width: 620px;
    margin: 0 auto;
    padding-left: 0;
    border-left: 0;
    text-align: center;
  }

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

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

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

  .matcher-panel {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .section-heading > p {
    max-width: 520px;
    margin-left: 66px;
    text-align: left;
  }

  .centered-heading {
    align-items: center;
  }

  .centered-heading > p {
    margin: 0 auto;
    text-align: center;
  }

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

  .recommend-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .recommend-card {
    grid-template-columns: 74px 1fr;
  }

  .recommend-card img {
    width: 74px;
    height: 105px;
  }

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

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

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

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

  .footer-main {
    padding-top: 32px;
    padding-bottom: 32px;
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 640px) {
  .page-shell,
  .narrow-shell {
    width: calc(100% - 32px);
  }

  .content-section {
    padding: 76px 0;
  }

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

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

  .hero {
    padding: 54px 0 68px;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-slogan {
    font-size: 22px;
  }

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

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

  .matcher-panel {
    box-shadow: 8px 8px 0 var(--blue-200);
  }

  .matcher-head {
    padding: 24px 18px 18px;
  }

  .matcher-head h2 {
    font-size: 22px;
  }

  .matcher-body {
    padding: 18px;
  }

  .filter-group {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .filter-options {
    gap: 6px;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: center;
  }

  .section-heading > div {
    margin: 0 auto;
    padding-left: 0;
  }

  .section-number {
    position: static;
    display: block;
    margin-bottom: 7px;
    font-size: 34px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading > p {
    margin: 0 auto;
    text-align: center;
  }

  .centered-heading > div {
    padding-left: 0;
    text-align: center;
  }

  .coordinate-card {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .coordinate-note {
    align-items: center;
  }

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

  .coordinate-center {
    width: 92px;
    height: 92px;
  }

  .recommend-stack {
    grid-template-columns: 1fr;
  }

  .recommend-card.is-active {
    transform: none;
  }

  .week-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(62px, 1fr));
  }

  .week-tabs button {
    min-height: 50px;
  }

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

  .update-card {
    grid-template-columns: 108px 1fr;
  }

  .update-card > img {
    width: 108px;
    height: 148px;
  }

  .shelf-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    border-bottom: 0;
  }

  .shelf-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .shelf-tabs button {
    min-height: 50px;
    padding: 0 4px;
  }

  .sort-control {
    justify-content: flex-end;
  }

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

  .shelf-card {
    grid-template-columns: 112px 1fr;
  }

  .cover-wrap {
    width: 112px;
    height: 150px;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .screenshot-frame {
    padding: 6px;
    box-shadow: 5px 5px 0 rgba(18, 61, 99, 0.12);
  }

  .faq-item summary,
  .official-details summary {
    min-height: 68px;
    padding-right: 45px;
    font-size: 14px;
  }

  .official-section {
    padding-bottom: 76px;
  }

  .official-details summary {
    padding-left: 16px;
  }

  .official-details > div {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .download-section {
    padding: 62px 0;
    text-align: center;
  }

  .download-shell {
    gap: 32px;
  }

  .download-route {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .download-route li {
    justify-content: center;
  }

  .download-route li:not(:last-child)::after {
    position: absolute;
    top: 34px;
    left: 50%;
    width: 1px;
    height: 14px;
    margin: 0;
  }

  .download-button {
    width: min(240px, 100%);
    margin: 0 auto;
  }

  .footer-main {
    text-align: center;
  }

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

  .footer-nav {
    max-width: 380px;
  }

  .footer-copyright {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

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

  .header-inner > .site-brand {
    max-width: calc(100% - 104px);
    margin-right: 5px;
  }

  .site-brand img {
    width: 36px;
    height: 36px;
    margin-right: 7px;
  }

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

  .brand-copy small {
    font-size: 12px;
  }

  .mobile-actions {
    gap: 5px;
  }

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

  .page-shell,
  .narrow-shell {
    width: calc(100% - 24px);
  }

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

  .hero-tags {
    gap: 6px;
  }

  .hero-tags span {
    padding: 6px 9px;
    font-size: 12px;
  }

  .matcher-count {
    display: none;
  }

  .filter-chip {
    padding-right: 4px;
    padding-left: 4px;
  }

  .match-card {
    grid-template-columns: 43px 1fr 31px;
    gap: 9px;
  }

  .match-card > img {
    width: 43px;
    height: 54px;
  }

  .coordinate-map {
    min-height: 300px;
  }

  .mood-point {
    width: 38px;
    height: 38px;
  }

  .update-card {
    grid-template-columns: 92px 1fr;
    gap: 13px;
  }

  .update-card > img {
    width: 92px;
    height: 132px;
  }

  .shelf-card {
    grid-template-columns: 94px 1fr;
    column-gap: 13px;
  }

  .cover-wrap {
    width: 94px;
    height: 132px;
  }

  .shelf-tabs button {
    font-size: 12px;
  }

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

  .comment-card {
    padding: 18px;
  }

  .footer-nav {
    gap: 9px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
