@charset "UTF-8";

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

:root {
  --paper: #f8f4ec;
  --paper-deep: #efe7dc;
  --white: #ffffff;
  --ink: #15191d;
  --muted: #66615c;
  --red: #d5253f;
  --red-dark: #a91930;
  --rose: #f6dde1;
  --line: #d8cfc3;
  --header-height: 74px;
  --page-width: 1200px;
}

* {
  box-sizing: border-box;
}

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

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

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

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

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

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

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

.page-shell {
  width: min(calc(100% - 40px), var(--page-width));
  margin-right: auto;
  margin-left: auto;
}

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

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

.i-menu { background-image: url("../icons/menu.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-compass { background-image: url("../icons/compass.svg"); }
.i-grid { background-image: url("../icons/grid.svg"); }
.i-heart { background-image: url("../icons/heart.svg"); }
.i-book { background-image: url("../icons/book.svg"); }
.i-user { background-image: url("../icons/user.svg"); }
.i-download { background-image: url("../icons/download.svg"); }
.i-bell { background-image: url("../icons/bell.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }
.i-arrow-right { background-image: url("../icons/arrow-right.svg"); }
.i-arrow-up { background-image: url("../icons/arrow-up.svg"); }
.i-comment-avatar { background-image: url("../icons/avatar.svg"); }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 236, 0.98);
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
}

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

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

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

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

.mobile-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--red);
}

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(21, 25, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 29, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: max(34%, calc((100vw - var(--page-width)) / 2 + 410px));
  background: rgba(213, 37, 63, 0.055);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 41%);
  align-items: center;
  gap: 72px;
  padding-top: 56px;
  padding-bottom: 56px;
}

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

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

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

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

.hero-copy > h2 {
  margin-top: 28px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

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

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

.hero-points li {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.48);
}

.hero-points i {
  width: 20px;
  height: 20px;
}

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

.primary-link {
  display: inline-flex;
  min-width: 210px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 30px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  background: var(--red);
  transition: background-color 0.2s ease;
}

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

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

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

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

.phone-frame {
  width: 360px;
  padding: 13px;
  border: 1px solid var(--ink);
  border-radius: 42px;
  background: var(--ink);
}

.phone-screen {
  position: relative;
  display: flex;
  min-height: 610px;
  overflow: hidden;
  flex-direction: column;
  border-radius: 25px;
  background: #fff;
}

.phone-status {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.phone-toolbar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.phone-toolbar strong {
  color: var(--red);
  font-size: 19px;
}

.phone-toolbar button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
}

.phone-search {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin: 2px 14px 0;
  padding: 0 13px;
  border-radius: 22px;
  background: #f1f2f4;
}

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

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

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

.phone-tabs button {
  min-height: 38px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  background: transparent;
}

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

.phone-featured {
  display: grid;
  min-height: 125px;
  overflow: hidden;
  grid-template-columns: 1fr 105px;
  margin: 12px 14px 0;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
}

.phone-featured > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
}

.phone-featured span,
.phone-featured small {
  font-size: 12px;
}

.phone-featured strong {
  margin: 5px 0;
  font-size: 18px;
}

.phone-featured img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #efe8e6;
}

.phone-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 14px 8px;
  font-size: 12px;
}

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

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

.phone-comics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 13px;
}

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

.phone-cover {
  display: flex;
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 7px;
  background: #f0ece6;
}

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

.phone-comics strong,
.phone-comics small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-comics small {
  margin-top: 1px;
  color: var(--muted);
}

.phone-bottom-nav {
  display: grid;
  min-height: 56px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  border-top: 1px solid #e2e2e2;
  background: #fff;
}

.phone-bottom-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: #777;
  font-size: 12px;
}

.phone-bottom-nav i {
  width: 17px;
  height: 17px;
  opacity: 0.65;
}

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

.section-block {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading > p {
  color: var(--muted);
  text-align: right;
}

.radar {
  background: #fffdf8;
}

.radar-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}

.radar-controls label {
  display: grid;
  min-height: 68px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.radar-controls label:last-child {
  border-right: 0;
}

.radar-controls span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.radar-controls select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background-color: #fff;
}

.radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr);
  border: 1px solid var(--line);
  background: #fff;
}

.ranking-panel,
.weekly-panel {
  padding: 24px;
}

.weekly-panel {
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.panel-title {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.panel-title strong {
  font-size: 20px;
}

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

.ranking-list li {
  display: grid;
  min-height: 78px;
  grid-template-columns: 40px 50px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.rank-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.rank-cover {
  display: flex;
  width: 46px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper-deep);
}

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

.rank-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.status-badge {
  padding: 4px 9px;
  color: var(--red-dark);
  font-size: 12px;
  font-style: normal;
  background: var(--rose);
}

.status-badge.is-muted {
  color: var(--muted);
  background: #eeeae5;
}

.empty-ranking {
  padding: 44px 0;
  color: var(--muted);
  text-align: center;
}

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

.week-tabs button {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}

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

.week-tabs button.is-active {
  color: #fff;
  background: var(--red);
}

.weekly-list article {
  display: grid;
  min-height: 78px;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.weekly-list article[hidden] {
  display: none;
}

.weekly-list img {
  width: 46px;
  height: 58px;
  object-fit: contain;
  background: #fff;
}

.weekly-list div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.weekly-list div span {
  color: var(--muted);
  font-size: 12px;
}

.weekly-list em {
  color: var(--red);
  font-size: 12px;
  font-style: normal;
}

.shelf {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.shelf-tabs {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.shelf-tabs button {
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.shelf-tabs button.is-active {
  color: #fff;
  background: var(--ink);
}

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

.shelf-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto 1fr;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.shelf-cover {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper-deep);
}

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

.shelf-card > div {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
}

.shelf-card > div strong {
  font-size: 17px;
}

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

.reminder-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  align-self: end;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.reminder-toggle.is-on {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.reminder-toggle.is-on i {
  filter: brightness(0) invert(1);
}

.screens {
  background: #fffdf8;
}

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

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

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

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

.screen-card figcaption {
  display: grid;
  min-height: 76px;
  grid-template-columns: 44px 1fr;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.screen-card figcaption span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.screen-card figcaption strong {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 17px;
}

.faq {
  color: #fff;
  background: var(--ink);
}

.faq .section-index,
.faq .section-heading > p {
  color: #e9aeba;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: 54px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 0;
  color: #fff;
  text-align: left;
  background: transparent;
}

.faq-item > button > span {
  color: #f4b5c0;
  font-family: Georgia, serif;
  font-weight: 800;
}

.faq-item > button > strong {
  font-size: 16px;
}

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

.faq-item > button > i::before,
.faq-item > button > i::after,
.detail-state::before,
.detail-state::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

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

.faq-item > button[aria-expanded="true"] > i::after,
.official-site[open] .detail-state::after {
  display: none;
}

.faq-answer {
  padding: 0 74px 24px 86px;
  color: #d9d9d9;
}

.faq-answer[hidden] {
  display: none;
}

.official-site {
  margin-top: 24px;
  border: 1px solid #f7bdc6;
  background: #fff;
  color: var(--ink);
}

.official-site summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  list-style: none;
}

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

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

.official-site summary > span > i {
  width: 20px;
  height: 20px;
}

.official-site > div {
  padding: 0 56px 24px;
}

.official-site > div a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

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

.review-user {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.review-identity {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.review-identity .i-comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--rose);
  background-size: 22px;
}

.review-identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--red);
  gap: 2px;
}

.review-rating .fa {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("../icons/star.svg") center / contain no-repeat;
  font-size: 0;
}

.review-rating .fa-star-o {
  opacity: 0.28;
}

.review-card > p {
  margin-top: 18px;
  color: #3f3b37;
  line-height: 1.85;
}

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

.download-section {
  padding: 84px 0;
  background: #fffdf8;
}

.download-pass {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  grid-template-columns: 190px 1fr 250px;
  align-items: stretch;
  border: 1px solid var(--ink);
  background: #fff;
}

.download-pass::before,
.download-pass::after {
  position: absolute;
  top: -11px;
  width: 22px;
  height: calc(100% + 22px);
  background: radial-gradient(circle, var(--paper) 8px, transparent 9px) center top / 22px 24px repeat-y;
  content: "";
  pointer-events: none;
}

.download-pass::before {
  left: -11px;
}

.download-pass::after {
  right: -11px;
}

.pass-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px dashed #e7a5af;
  color: #fff;
  background: var(--red);
}

.pass-number span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.pass-number strong {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.pass-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 44px;
}

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

.pass-copy > p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.pass-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.pass-action:hover {
  background: var(--red);
}

.pass-action i {
  filter: brightness(0) invert(1);
}

.site-footer {
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  padding-top: 40px;
  padding-bottom: 24px;
}

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

.footer-brand .brand-copy span {
  color: #bbb;
}

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

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

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: #bdbdbd;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--red);
}

.back-to-top.is-visible {
  display: inline-flex;
}

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

:focus-visible {
  outline: 3px solid #2f7eea;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-inner {
    gap: 36px;
  }

  .primary-nav ul {
    gap: 20px;
  }

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

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

  .weekly-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

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

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

  body::after {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 970;
    display: none;
    background: rgba(21, 25, 29, 0.35);
    content: "";
  }

  body.menu-open::after {
    display: block;
  }

  .page-shell {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-header {
    height: var(--header-height);
    background: var(--paper);
  }

  .brand {
    max-width: calc(100% - 150px);
    gap: 8px;
  }

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

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

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

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

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 980;
    display: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

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

  .primary-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--page-width));
    margin: 0 auto;
  }

  .primary-nav li + li {
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    min-height: 52px;
  }

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

  .hero::before {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

  .hero h1 {
    font-size: clamp(58px, 18vw, 90px);
    white-space: normal;
  }

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

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

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

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

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

  .phone-frame {
    width: min(306px, 86vw);
  }

  .section-block {
    padding: 72px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 30px;
  }

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

  .section-heading > p {
    text-align: left;
  }

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

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

  .radar-controls label:last-child {
    border-bottom: 0;
  }

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

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

  .download-pass {
    grid-template-columns: 132px 1fr;
  }

  .pass-number {
    grid-row: span 2;
  }

  .pass-copy {
    padding: 28px;
  }

  .pass-action {
    min-height: 62px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .brand {
    max-width: calc(100% - 144px);
  }

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

  .mobile-download {
    min-height: 40px;
    padding: 0 13px;
  }

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

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .eyebrow,
  .section-index {
    font-size: 12px;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(54px, 18vw, 74px);
  }

  .hero-copy > h2 {
    margin-top: 22px;
    font-size: 24px;
  }

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

  .hero-points {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-points li {
    min-height: 42px;
    padding: 0 11px;
    font-size: 12px;
  }

  .primary-link {
    min-width: 190px;
    min-height: 54px;
    font-size: 15px;
  }

  .phone-frame {
    padding: 10px;
    border-width: 1px;
    border-radius: 36px;
  }

  .phone-screen {
    min-height: 590px;
    border-radius: 24px;
  }

  .section-block {
    padding: 62px 0;
  }

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

  .ranking-panel,
  .weekly-panel {
    padding: 16px;
  }

  .ranking-list li {
    grid-template-columns: 32px 44px 1fr;
    gap: 8px;
    padding: 8px 0;
  }

  .ranking-list .status-badge {
    grid-column: 3;
    justify-self: start;
  }

  .week-tabs button {
    min-height: 44px;
    font-size: 12px;
  }

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

  .shelf-tabs button {
    min-height: 46px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
  }

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

  .shelf-card {
    padding: 10px;
  }

  .shelf-card > div strong {
    font-size: 14px;
  }

  .reminder-toggle {
    min-height: 40px;
    font-size: 12px;
  }

  .screen-grid {
    gap: 10px;
  }

  .screen-card figcaption {
    min-height: 64px;
    grid-template-columns: 34px 1fr;
  }

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

  .screen-card figcaption strong {
    padding-left: 8px;
    font-size: 13px;
  }

  .faq-item > button {
    min-height: 72px;
    grid-template-columns: 32px 1fr 20px;
    padding: 0 8px;
  }

  .faq-item > button > strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 28px 22px 52px;
  }

  .official-site summary {
    min-height: 72px;
    padding: 0 14px;
  }

  .official-site > div {
    padding: 0 48px 22px;
  }

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

  .review-card {
    min-height: 210px;
    padding: 20px;
  }

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

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

  .pass-number {
    min-height: 104px;
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px dashed #e7a5af;
  }

  .pass-number strong {
    font-size: 52px;
  }

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

  .pass-copy h2 {
    font-size: 24px;
  }

  .pass-action {
    min-height: 64px;
  }

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

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

  .footer-nav ul {
    justify-content: center;
    gap: 12px 20px;
  }

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

@media (max-width: 370px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--page-width));
  }

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

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

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

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

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary,
  select {
    transition: none !important;
    -webkit-tap-highlight-color: transparent;
  }

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

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

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