@charset "UTF-8";

/* 作者：搭客佬
地址：https://www.xxmhpro.cn/ */

:root {
  --navy: #0b3852;
  --navy-deep: #06283b;
  --navy-soft: #174f6d;
  --gold: #f7ad24;
  --gold-light: #ffd875;
  --orange: #ef6b35;
  --cream: #fffaf0;
  --paper: #f6f0e5;
  --white: #ffffff;
  --ink: #17202a;
  --muted: #61717d;
  --line: #d8cdb9;
  --shadow: 0 18px 44px rgba(6, 40, 59, 0.14);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

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

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

.container,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 104px 0;
}

.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: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-menu {
  background-image: url("../icons/menu.svg");
}

.icon-download {
  background-image: url("../icons/download.svg");
}

.icon-search {
  background-image: url("../icons/search.svg");
}

.icon-heart {
  background-image: url("../icons/heart.svg");
}

.icon-bell {
  background-image: url("../icons/bell.svg");
}

.icon-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.icon-book {
  background-image: url("../icons/book.svg");
}

.icon-calendar {
  background-image: url("../icons/calendar.svg");
}

.icon-globe {
  background-image: url("../icons/globe.svg");
}

.icon-top {
  background-image: url("../icons/top.svg");
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(11, 56, 82, 0.18);
  background: rgba(255, 250, 240, 0.98);
}

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

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(11, 56, 82, 0.18);
  border-radius: 12px;
  object-fit: contain;
  background: var(--white);
}

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

.brand-copy strong,
.footer-brand strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

.main-nav ul {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: transparent;
  content: "";
}

.main-nav a:hover,
.main-nav a.is-current {
  color: var(--gold);
}

.main-nav a.is-current::after {
  background: var(--gold);
}

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

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  background: var(--gold);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--navy);
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(247, 173, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 173, 36, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 120px;
  left: -90px;
  width: 220px;
  height: 220px;
  background: var(--orange);
}

.hero::after {
  right: -120px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(247, 173, 36, 0.22);
}

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

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

.eyebrow {
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(66px, 7vw, 100px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero h2 {
  margin-top: 24px;
  color: var(--gold);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.35;
}

.hero-description {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

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

.primary-link {
  display: inline-flex;
  min-width: 216px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 9px 9px 0 var(--orange);
  font-size: 17px;
  font-weight: 800;
}

.primary-link:hover {
  color: var(--white);
  background: var(--orange);
}

.age-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-points {
  display: flex;
  margin-top: 40px;
  gap: 34px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.hero-points .icon {
  filter: brightness(0) saturate(100%) invert(75%) sepia(97%) saturate(1020%) hue-rotate(338deg) brightness(101%);
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(247, 173, 36, 0.42);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 110px;
  right: -80px;
  width: 410px;
  height: 410px;
}

.hero-orbit-two {
  right: 70px;
  bottom: 80px;
  width: 260px;
  height: 260px;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 620px;
  margin-right: 0;
  padding: 15px;
  border: 3px solid #5e6870;
  border-radius: 48px 48px 0 0;
  background: #111519;
  box-shadow: 22px 20px 0 rgba(247, 173, 36, 0.18), 0 30px 55px rgba(0, 0, 0, 0.35);
}

.phone-shell::before {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 92px;
  height: 25px;
  border-radius: 0 0 16px 16px;
  background: #111519;
  content: "";
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border-radius: 32px 32px 0 0;
  color: #1d2429;
  background: var(--white);
}

.phone-status,
.phone-appbar,
.phone-heading,
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.phone-signal {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.phone-appbar {
  padding: 14px 18px 8px;
}

.phone-appbar strong {
  color: var(--navy);
  font-size: 25px;
}

.phone-appbar .icon {
  width: 22px;
  height: 22px;
}

.phone-search {
  display: flex;
  height: 42px;
  margin: 0 16px 8px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  border-radius: 22px;
  color: #7e8b94;
  background: #eef2f4;
  font-size: 12px;
}

.phone-search .icon {
  width: 15px;
  height: 15px;
  opacity: 0.55;
}

.phone-tabs {
  display: grid;
  margin: 0 16px 10px;
  border-bottom: 1px solid #e0e5e8;
  grid-template-columns: repeat(4, 1fr);
}

.phone-tabs span {
  position: relative;
  padding: 8px 0 10px;
  text-align: center;
  font-size: 12px;
}

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

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

.phone-feature {
  display: grid;
  min-height: 136px;
  margin: 0 16px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy-deep);
  grid-template-columns: 1.35fr 0.65fr;
}

.phone-feature > div {
  display: flex;
  padding: 18px;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.phone-feature small,
.phone-feature span {
  color: var(--gold-light);
  font-size: 12px;
}

.phone-feature strong {
  margin: 5px 0;
  font-size: 17px;
  line-height: 1.35;
}

.phone-feature img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--cream);
}

.phone-heading {
  padding: 13px 16px 8px;
  font-size: 12px;
}

.phone-heading strong {
  font-size: 14px;
}

.phone-heading span {
  color: var(--muted);
}

.phone-books {
  display: grid;
  padding: 0 16px;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.phone-books article {
  min-width: 0;
}

.phone-cover {
  display: flex;
  height: 94px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #eef2f4;
}

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

.phone-books strong,
.phone-books small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.phone-books strong {
  margin-top: 5px;
  font-size: 12px;
}

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

.phone-nav {
  margin-top: auto;
  padding: 12px 20px 14px;
  border-top: 1px solid #e0e5e8;
  font-size: 12px;
}

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

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

.section-heading h2 {
  margin-top: 8px;
  color: var(--navy-deep);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.section-heading > p {
  max-width: 430px;
  padding-bottom: 7px;
  color: var(--muted);
  text-align: right;
}

.library {
  background: var(--paper);
}

.catalog-board {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow);
  grid-template-columns: 210px minmax(0, 1fr);
}

.catalog-spine {
  position: relative;
  display: flex;
  min-height: 440px;
  padding: 38px 32px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: var(--navy);
}

.catalog-spine::after {
  position: absolute;
  top: 0;
  right: 12px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.catalog-spine p {
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.catalog-spine strong {
  margin-top: 22px;
  font-size: 31px;
  line-height: 1.2;
}

.catalog-spine span {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.catalog-main {
  min-width: 0;
}

.catalog-lanes {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  grid-template-columns: repeat(4, 1fr);
}

.lane-action {
  position: relative;
  display: flex;
  min-height: 70px;
  padding: 0 20px;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--navy-deep);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.lane-action:last-child {
  border-right: 0;
}

.lane-action span {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
}

.lane-action.is-active {
  background: var(--gold);
}

.lane-action.is-active::after {
  position: absolute;
  right: 15px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.catalog-content {
  display: grid;
  min-height: 369px;
  grid-template-columns: minmax(0, 1fr) 230px;
}

.filter-panel {
  padding: 34px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.filter-row > strong {
  min-width: 78px;
  color: var(--navy);
  font-size: 14px;
}

.filter-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: var(--gold-light);
}

.catalog-search {
  display: flex;
  max-width: 600px;
  height: 48px;
  margin-top: 26px;
  padding: 0 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.catalog-search .icon {
  opacity: 0.55;
}

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

.shelf-status {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.shelf-status div {
  display: flex;
  min-height: 96px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.shelf-status strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 17px;
}

.quick-panel {
  padding: 28px 22px;
  border-left: 1px solid var(--line);
  background: #f2eadc;
}

.quick-panel > p {
  margin-bottom: 13px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.quick-panel button {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  text-align: left;
}

.quick-panel button:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.56);
}

.updates {
  color: var(--white);
  background: var(--navy-deep);
}

.section-heading-light h2,
.section-heading-light > p {
  color: var(--white);
}

.section-heading-light > p {
  opacity: 0.68;
}

.route-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

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

.route-tabs::before {
  position: absolute;
  top: 42px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.route-tab {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.route-tab .icon {
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background-color: var(--navy-deep);
  background-size: 20px;
  filter: brightness(0) invert(1);
}

.route-tab.is-active {
  color: var(--gold);
  background: rgba(247, 173, 36, 0.08);
}

.route-tab.is-active .icon {
  border-color: var(--gold);
  background-color: var(--gold);
  filter: none;
}

.route-detail {
  display: grid;
  min-height: 210px;
  padding: 36px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 1.1fr 1.5fr 0.8fr;
}

.route-label {
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.route-detail h3 {
  margin-top: 7px;
  font-size: 24px;
}

.route-detail > div:first-child > p:last-child {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.week-strip {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(7, 1fr);
}

.week-strip span {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.week-strip span:last-child {
  border-right: 0;
}

.week-strip small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.week-strip .is-today {
  color: var(--navy-deep);
  background: var(--gold);
  font-weight: 800;
}

.week-strip .is-today small {
  color: var(--navy-deep);
}

.reminder-control {
  display: flex;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.reminder-control > span {
  display: flex;
  flex-direction: column;
}

.reminder-control strong {
  font-size: 14px;
}

.reminder-control small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.reminder-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reminder-control > i {
  position: relative;
  width: 46px;
  height: 25px;
  border-radius: 14px;
  background: #566a75;
}

.reminder-control > i::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.reminder-control input:checked + i {
  background: var(--gold);
}

.reminder-control input:checked + i::after {
  left: 25px;
}

.screens {
  background: var(--cream);
}

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

.screen-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.screen-frame {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #f0eee8;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

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

.screen-card figcaption > span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 800;
}

.screen-card figcaption strong {
  color: var(--navy-deep);
  font-size: 16px;
}

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

.faq {
  background: var(--paper);
}

.faq-list,
.official-site {
  border-top: 1px solid var(--navy-deep);
}

.faq-list details,
.official-site {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.faq summary,
.official-site summary {
  display: flex;
  min-height: 72px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary > span:first-child {
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
}

.faq summary strong,
.official-site summary strong {
  flex: 1;
  color: var(--navy-deep);
  font-size: 16px;
}

.faq summary > i,
.official-site summary > i {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq summary > i::before,
.faq summary > i::after,
.official-site summary > i::before,
.official-site summary > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--navy-deep);
  content: "";
  transform: translate(-50%, -50%);
}

.faq summary > i::after,
.official-site summary > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary > i::after,
.official-site[open] summary > i::after {
  display: none;
}

.faq details > p,
.official-site > p {
  padding: 0 72px 24px;
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  width: 100%;
  max-width: 1200px;
  margin-top: 24px;
}

.official-site summary > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.official-site summary .icon {
  width: 20px;
  height: 20px;
}

.official-site > p a {
  color: var(--orange);
  font-weight: 700;
}

.reviews {
  color: var(--white);
  background: var(--navy-deep);
}

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

.review-card {
  min-height: 240px;
  padding: 26px;
  border-top: 4px solid var(--gold);
  color: var(--ink);
  background: var(--cream);
}

.review-card:nth-child(2n) {
  border-top-color: var(--orange);
}

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

.avatar {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.review-meta strong {
  color: var(--navy-deep);
  font-size: 14px;
}

.review-meta time {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.review-card > p {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: #3e4b54;
  font-size: 14px;
  line-height: 1.9;
}

.download {
  background: #f1eadf;
}

.download-ticket {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--navy-deep);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow);
  grid-template-columns: 180px minmax(0, 1fr) 220px 62px;
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid var(--navy-deep);
  border-radius: 50%;
  background: #f1eadf;
  content: "";
  transform: translateY(-50%);
}

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

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

.ticket-index {
  display: flex;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px dashed rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: var(--navy);
}

.ticket-index span {
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ticket-index strong {
  margin-top: 3px;
  font-size: 37px;
  line-height: 1;
}

.ticket-index .icon {
  width: 36px;
  height: 36px;
  margin-top: 22px;
  filter: brightness(0) invert(1);
}

.ticket-copy {
  display: flex;
  padding: 32px 38px;
  flex-direction: column;
  justify-content: center;
}

.ticket-copy h2 {
  margin-top: 5px;
  color: var(--navy-deep);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
}

.ticket-copy > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-action:hover {
  color: var(--white);
  background: var(--orange);
}

.ticket-code {
  margin: 30px 24px 30px 14px;
  background: repeating-linear-gradient(90deg, var(--navy-deep) 0 2px, transparent 2px 6px);
}

.site-footer {
  color: var(--white);
  background: var(--navy-deep);
}

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

.footer-brand strong {
  color: var(--white);
}

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

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

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

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

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.92);
}

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

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  color: var(--white);
  background: var(--navy-deep);
  pointer-events: none;
}

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

.back-top .icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

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

@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
  }

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

  .phone-shell {
    width: 310px;
  }

  .catalog-board {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .catalog-content {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .quick-panel > p {
    grid-column: 1 / -1;
  }

  .route-detail {
    grid-template-columns: 1fr 1.5fr;
  }

  .reminder-control {
    grid-column: 1 / -1;
  }

  .download-ticket {
    grid-template-columns: 150px minmax(0, 1fr) 190px 45px;
  }
}

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

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

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1200px);
  }

  .section-pad {
    padding: 70px 0;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

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

  .brand-copy span {
    margin-top: 2px;
    font-size: 12px;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .mobile-actions {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - var(--header-height));
    padding: 24px 14px;
    background: var(--cream);
    overflow-y: auto;
  }

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

  .main-nav ul {
    display: block;
    width: 100%;
    border-top: 1px solid var(--line);
  }

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

  .main-nav a {
    min-height: 58px;
    padding: 0 8px;
  }

  .main-nav a::after {
    right: auto;
    bottom: 14px;
    left: 8px;
    width: 28px;
    height: 2px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    padding: 62px 0 0;
  }

  .hero::before {
    top: 230px;
    left: -75px;
    width: 150px;
    height: 150px;
  }

  .hero::after {
    right: -150px;
    bottom: 80px;
    width: 360px;
    height: 360px;
    border-width: 60px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 54px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 70px);
    letter-spacing: -0.07em;
    white-space: normal;
  }

  .hero h2 {
    margin-top: 18px;
    font-size: 25px;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

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

  .hero-points {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hero-visual {
    width: 100%;
    min-height: 580px;
    align-items: flex-end;
    justify-content: center;
  }

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

  .phone-shell {
    width: min(320px, 90vw);
    height: 580px;
  }

  .section-heading {
    margin-bottom: 34px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .section-heading > p {
    max-width: 100%;
    padding-bottom: 0;
    text-align: left;
  }

  .catalog-board {
    grid-template-columns: 1fr;
  }

  .catalog-spine {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .catalog-spine::after {
    display: none;
  }

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

  .lane-action:nth-child(2) {
    border-right: 0;
  }

  .lane-action:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .catalog-content {
    min-height: auto;
  }

  .filter-panel {
    padding: 26px 20px;
  }

  .filter-row {
    flex-direction: column;
    gap: 12px;
  }

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

  .quick-panel {
    padding: 22px 18px;
    grid-template-columns: repeat(2, 1fr);
  }

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

  .route-tabs::before {
    display: none;
  }

  .route-tab {
    min-height: 98px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .route-detail {
    padding: 24px 18px;
    grid-template-columns: 1fr;
  }

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

  .reminder-control {
    grid-column: auto;
  }

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

  .screen-card figcaption {
    min-height: 88px;
    padding: 14px 10px;
    column-gap: 7px;
  }

  .screen-card figcaption > span {
    font-size: 18px;
  }

  .screen-card figcaption strong {
    font-size: 14px;
  }

  .screen-card figcaption small {
    font-size: 12px;
  }

  .faq summary,
  .official-site summary {
    min-height: 68px;
    padding: 0 16px;
    gap: 12px;
  }

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

  .faq details > p,
  .official-site > p {
    padding: 0 16px 22px;
  }

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

  .review-card {
    min-height: auto;
  }

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

  .ticket-index {
    min-height: 120px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  }

  .ticket-index .icon {
    position: absolute;
    top: 32px;
    right: 24px;
    margin: 0;
  }

  .ticket-copy {
    padding: 28px 22px;
    text-align: center;
  }

  .ticket-copy h2 {
    font-size: 28px;
  }

  .ticket-action {
    min-height: 70px;
  }

  .ticket-code {
    display: none;
  }

  .footer-main {
    min-height: 210px;
    padding: 42px 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    text-align: center;
  }

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

  .back-top {
    right: 14px;
    bottom: 14px;
  }

  a,
  button,
  summary,
  input,
  label {
    -webkit-tap-highlight-color: transparent;
    animation: none !important;
    transition: none !important;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

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

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

  .mobile-download {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

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

  .hero {
    padding-top: 50px;
  }

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

  .primary-link {
    min-width: 210px;
  }

  .hero-points li {
    font-size: 12px;
  }

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

  .filter-chip {
    padding: 0 12px;
  }

  .quick-panel button {
    padding: 0 8px;
  }

  .review-card {
    padding: 22px 18px;
  }

  .review-meta {
    gap: 8px;
    grid-template-columns: 36px auto minmax(0, 1fr);
  }

  .avatar {
    width: 36px;
    height: 36px;
  }

  .review-meta time {
    font-size: 12px;
  }
}

@media (max-width: 350px) {
  .brand img {
    width: 36px;
    height: 36px;
  }

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

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

  .mobile-actions {
    gap: 6px;
  }

  .screen-card figcaption {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .screen-card figcaption > span {
    font-size: 15px;
  }
}
