@charset "UTF-8";

:root {
  --orange: #ff4c2d;
  --orange-dark: #e9341a;
  --orange-soft: #ff8a54;
  --ink: #211914;
  --brown: #3a2a20;
  --ivory: #fffaf2;
  --paper: #fffefb;
  --peach: #fff0e7;
  --peach-strong: #ffd9c8;
  --line: #e7cfc2;
  --muted: #765f53;
  --green: #3aa76d;
  --blue: #547fd7;
  --yellow: #f0bd48;
  --header-height: 76px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

ul,
ol,
dl,
dd,
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 254, 251, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 34px;
}

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

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

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

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

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

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

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

.main-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 42px;
  padding: 0 20px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-download:hover {
  background: var(--orange-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
}

i[class^="i-"] {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.i-menu { background-image: url("../icons/menu.svg"); }
.i-download { background-image: url("../icons/download.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-folder { background-image: url("../icons/folder.svg"); }
.i-bell { background-image: url("../icons/bell.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }
.i-user { background-image: url("../icons/user.svg"); }
.i-arrow { background-image: url("../icons/arrow-right.svg"); }
.i-up { background-image: url("../icons/arrow-up.svg"); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 76, 45, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 76, 45, 0.045) 1px, transparent 1px),
    var(--ivory);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(145deg, #ffe3d4, #fff8ef 68%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  min-height: 720px;
  gap: 70px;
  padding: 64px 0;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-index,
.ticket-copy > p {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(70px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero h1::first-letter {
  color: var(--orange);
}

.hero-copy h2 {
  margin-top: 28px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.hero-points i {
  filter: invert(37%) sepia(96%) saturate(2515%) hue-rotate(349deg) brightness(104%) contrast(102%);
}

.hero-download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 34px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  gap: 10px;
  padding: 12px 28px;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), #ff743a);
  font-size: 16px;
  font-weight: 800;
}

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

.primary-link i,
.ticket-action i {
  filter: brightness(0) invert(1);
}

.update-time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.hero-device {
  display: flex;
  justify-content: flex-end;
}

.phone-shell {
  position: relative;
  width: 300px;
  padding: 14px;
  background: #151515;
  border: 1px solid #000;
  border-radius: 42px;
}

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

.phone-screen {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #fff;
  border-radius: 30px;
}

.phone-status,
.phone-topbar,
.phone-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  height: 38px;
  padding: 8px 16px 0;
  font-size: 12px;
  font-weight: 700;
}

.status-icons {
  font-size: 9px;
  letter-spacing: 2px;
}

.phone-topbar {
  padding: 14px 16px 10px;
}

.phone-brand {
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
}

.phone-topbar i,
.phone-search i {
  filter: none;
}

.phone-search {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 8px;
  margin: 0 16px;
  padding: 0 13px;
  background: #f4f0ed;
  border-radius: 21px;
}

.phone-search i {
  width: 15px;
  height: 15px;
  opacity: 0.65;
}

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

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

.phone-tabs button,
.phone-nav button {
  padding: 8px 4px;
  background: transparent;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

.phone-tabs button.is-active {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  font-weight: 800;
}

.phone-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 130px;
  margin: 12px 16px;
  overflow: hidden;
  color: #fff;
  background: #542a2d;
  border-radius: 10px;
}

.phone-feature img {
  width: 100%;
  height: 130px;
  padding: 4px;
  object-fit: contain;
  background: #fff3ed;
}

.phone-feature div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px;
}

.phone-feature span,
.phone-feature small {
  font-size: 10px;
}

.phone-feature strong {
  font-size: 16px;
  line-height: 1.35;
}

.phone-section-title {
  padding: 2px 16px 8px;
  font-size: 12px;
}

.phone-section-title span {
  color: var(--muted);
  font-size: 10px;
}

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

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

.phone-books img {
  width: 100%;
  height: 92px;
  padding: 2px;
  object-fit: contain;
  background: #f6efeb;
  border-radius: 6px;
}

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

.phone-books strong {
  margin-top: 4px;
  font-size: 10px;
}

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

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px 8px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e9dfda;
}

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

.mood-section,
.screens-section,
.reviews-section {
  padding: 100px 0;
}

.mood-section {
  background: linear-gradient(180deg, #fff0e8, #fff8f2);
}

.section-heading,
.workflow-heading {
  margin-bottom: 42px;
}

.split-heading,
.workflow-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.workflow-heading h2 {
  margin-top: 5px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.split-heading > p {
  max-width: 440px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.mood-console {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.mood-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mood-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 82px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.mood-tabs button span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.mood-tabs button.is-active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.mood-tabs button.is-active span {
  color: #fff;
}

.mood-controls {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
  padding: 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.mood-controls label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.mood-controls input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.mood-controls output {
  color: var(--orange);
  font-size: 12px;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip-group > span {
  margin-right: 3px;
  font-size: 13px;
  font-weight: 800;
}

.chip-group button {
  padding: 5px 9px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
}

.chip-group button.is-active {
  color: var(--orange);
  background: #fff0e9;
  border-color: var(--orange-soft);
}

.mood-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px 18px;
}

.mood-result-head span,
.mood-result-head strong {
  display: block;
}

.mood-result-head span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.mood-result-head strong {
  margin-top: 3px;
  font-size: 22px;
}

.refresh-recommendations {
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 13px;
}

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

.manga-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 188px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

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

.manga-card figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px;
  background: #f9eee8;
}

.manga-card img {
  width: 100%;
  height: 174px;
  object-fit: contain;
}

.manga-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 16px;
}

.manga-card .genre {
  display: inline-block;
  padding: 2px 7px;
  color: var(--orange);
  background: #fff0e9;
  font-size: 12px;
  font-weight: 700;
}

.manga-card h3 {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.manga-card p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.manga-card button {
  margin-top: 14px;
  padding: 6px 10px;
  color: #fff;
  background: var(--orange);
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.manga-card button.is-saved {
  color: var(--green);
  background: #eaf7ef;
}

.workflow-section {
  padding: 100px 0;
  color: #fff;
  background: var(--brown);
}

.workflow-heading {
  align-items: flex-start;
}

.workflow-heading > div > p:last-child {
  margin-top: 12px;
  color: #ddc7ba;
  font-size: 14px;
}

.workflow-stats {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  border: 1px solid #765548;
}

.workflow-stats div {
  padding: 13px;
  text-align: center;
}

.workflow-stats div + div {
  border-left: 1px solid #765548;
}

.workflow-stats dt {
  color: #d9c1b5;
  font-size: 12px;
}

.workflow-stats dd {
  color: #ff8b5b;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
}

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

.flow-column {
  min-width: 0;
  padding: 14px;
  background: #49352a;
  border: 1px solid #725346;
}

.flow-column > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #745649;
}

.flow-column h3 {
  font-size: 15px;
}

.flow-column header strong {
  margin-left: auto;
  color: #decbbf;
  font-size: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status-dot.blue { background: var(--blue); }
.status-dot.green { background: var(--green); }
.status-dot.yellow { background: var(--yellow); }
.status-dot.orange { background: var(--orange); }

.flow-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.flow-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 9px;
  color: var(--ink);
  background: #fffaf7;
  border: 1px solid #d9c4b9;
}

.flow-card img {
  width: 48px;
  height: 62px;
  object-fit: contain;
  background: #f3e7e1;
}

.flow-card div {
  min-width: 0;
}

.flow-card strong,
.flow-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.flow-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.flow-card button {
  grid-column: 2;
  justify-self: start;
  padding: 3px 7px;
  color: var(--orange);
  background: #fff0e9;
  border: 1px solid #ffc3aa;
  cursor: pointer;
  font-size: 12px;
}

.screens-section {
  background: #fff8ef;
}

.screens-track {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.screen-card {
  flex: 0 0 250px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.screen-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 450px;
  padding: 6px;
  background: #fff;
}

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

.screen-card figcaption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

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

.screen-card figcaption p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

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

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

.faq-item > button,
.official-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 70px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-item button span {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

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

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

.faq-item button > i::before,
.faq-item button > i::after,
.official-sign::before,
.official-sign::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
}

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

.faq-item.is-open button > i::after,
.official-item.is-open .official-sign::after {
  transform: rotate(0);
}

.faq-answer,
.official-answer {
  display: none;
}

.faq-answer > p,
.official-answer > a {
  overflow-wrap: anywhere;
}

.faq-item.is-open .faq-answer,
.official-item.is-open .official-answer {
  display: block;
}

.faq-answer p {
  padding: 0 66px 20px;
  color: var(--muted);
  font-size: 14px;
}

.official-item {
  margin-top: 22px;
  border: 1px solid var(--ink);
}

.official-item button span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.official-item button .i-globe {
  width: 18px;
  height: 18px;
}

.official-answer a {
  margin: 0 56px;
  color: var(--orange);
  font-size: 14px;
}

.official-item.is-open .official-answer a {
  margin-bottom: 20px;
}

.reviews-section {
  background: #fff0e8;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 254px;
  padding: 24px;
  background: #fff;
  border-top: 3px solid var(--orange);
}

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

.review-head .i-user {
  width: 38px;
  height: 38px;
  padding: 8px;
  background-color: var(--peach);
  background-size: 20px;
  border-radius: 50%;
}

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

.review-head span {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 1px;
}

.review-card p {
  margin-top: 18px;
  color: #4e3b31;
  font-size: 14px;
  line-height: 1.9;
}

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

.download-section {
  padding: 54px 0;
  color: #fff;
  background: var(--brown);
}

.download-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 165px 1fr 250px;
  align-items: stretch;
  min-height: 154px;
  overflow: hidden;
  color: var(--ink);
  background: #fff8ed;
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: var(--brown);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.download-ticket::before { left: -12px; }
.download-ticket::after { right: -12px; }

.ticket-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed #c79c84;
}

.ticket-number span {
  color: var(--orange);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.ticket-number small {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.ticket-copy h2 {
  margin-top: 2px;
  font-size: 30px;
  line-height: 1.25;
}

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

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

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

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #211914;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

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

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

.footer-brand small {
  color: #bba89f;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: #dccfc8;
  font-size: 12px;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  color: #bba89f;
  font-size: 12px;
  white-space: nowrap;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  background: var(--orange);
  border: 0;
  cursor: pointer;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-top i {
  filter: brightness(0) invert(1);
}

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

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

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

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

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

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

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

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

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

  .main-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--content-width));
    margin-inline: auto;
    padding: 8px 0 12px;
  }

  .main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid #eee1da;
  }

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

  .header-actions {
    margin-left: auto;
  }

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

  .header-download {
    font-size: 0;
  }

  .header-download::after {
    content: "立即下载";
    font-size: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 50px;
    padding: 72px 0 76px;
  }

  .hero-copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 88px);
  }

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

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

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

  .split-heading,
  .workflow-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .workflow-stats {
    width: 100%;
  }

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

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

  .ticket-action {
    grid-column: 1 / -1;
    min-height: 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

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

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

  .brand-copy span {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .header-download {
    padding: 0 11px;
  }

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

  .hero-inner {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 72px);
    letter-spacing: -0.07em;
  }

  .hero-copy h2 {
    font-size: 26px;
  }

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

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

  .primary-link {
    width: min(100%, 290px);
  }

  .phone-shell {
    width: min(292px, calc(100vw - 44px));
  }

  .mood-section,
  .screens-section,
  .reviews-section,
  .workflow-section,
  .faq-section {
    padding: 72px 0;
  }

  .section-heading,
  .workflow-heading {
    margin-bottom: 30px;
  }

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

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

  .mood-tabs button {
    min-height: 76px;
    padding: 13px;
    font-size: 17px;
  }

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

  .chip-group {
    flex-wrap: wrap;
  }

  .mood-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .manga-grid,
  .workflow-board,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .manga-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

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

  .screens-track {
    justify-content: flex-start;
    gap: 14px;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screens-track::-webkit-scrollbar {
    display: none;
  }

  .screen-card {
    scroll-snap-align: start;
  }

  .faq-item button span {
    align-items: flex-start;
    gap: 12px;
  }

  .faq-item > button,
  .official-item > button {
    padding: 16px 12px;
  }

  .faq-answer p {
    padding: 0 42px 18px;
  }

  .official-answer a {
    margin-inline: 44px;
  }

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

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

  .review-head span {
    grid-column: 2;
  }

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

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

  .ticket-number {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px dashed #c79c84;
  }

  .ticket-copy {
    align-items: center;
    padding: 28px 18px;
  }

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

  .ticket-action {
    grid-column: auto;
  }

  .footer-nav ul {
    gap: 12px 18px;
  }

  .copyright {
    white-space: normal;
  }

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

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

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

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

  .header-download {
    padding: 0 9px;
  }

  .manga-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .manga-card img {
    height: 152px;
  }
}

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