@charset "UTF-8";

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

:root {
  --ink: #211916;
  --muted: #75655f;
  --paper: #fffaf0;
  --paper-deep: #f7eddc;
  --white: #ffffff;
  --orange: #f25b35;
  --orange-deep: #d94221;
  --yellow: #ffc63c;
  --peach: #ffd9bd;
  --green: #2a8e68;
  --line: #d9c8b9;
  --dark: #1d1715;
  --header-height: 76px;
  --shell: 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);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

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,
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

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

button,
summary {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

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

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

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

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

.brand > img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.brand-text strong {
  font-size: 19px;
  white-space: nowrap;
}

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

.site-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
}

.site-nav ul {
  gap: 34px;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange);
  content: "";
  opacity: 0;
}

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

.site-nav a.is-active::after {
  opacity: 1;
}

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

.mobile-download,
.menu-toggle {
  min-height: 42px;
  border: 1px solid var(--ink);
}

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  padding: 0;
  background: var(--paper);
}

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

.section-heading {
  margin-bottom: 44px;
}

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

.section-index {
  margin-bottom: 10px;
  color: var(--orange-deep);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p,
.section-heading.heading-row > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
}

.section-heading:not(.heading-row) > p:last-child {
  margin-top: 14px;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  background:
    linear-gradient(rgba(242, 91, 53, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 91, 53, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 100px;
  min-height: calc(100vh - var(--header-height));
  padding: 60px 0;
}

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

.hero-copy h1 {
  font-size: clamp(72px, 8vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 28px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-description {
  max-width: 670px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

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

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

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

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 218px;
  min-height: 58px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--yellow);
  font-weight: 800;
}

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

.primary-link:hover .icon-download {
  filter: brightness(0) invert(1);
}

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

.phone-stage {
  display: flex;
  justify-content: flex-end;
}

.phone-frame {
  width: 310px;
  padding: 13px;
  background: #151515;
  border: 2px solid var(--ink);
  border-radius: 42px;
}

.phone-screen {
  position: relative;
  min-height: 570px;
  padding: 18px 18px 23px;
  overflow: hidden;
  background: var(--white);
  border-radius: 31px;
}

.phone-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 98px;
  height: 24px;
  background: #151515;
  border-radius: 0 0 16px 16px;
  content: "";
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  min-height: 30px;
  font-size: 12px;
  font-weight: 800;
}

.phone-signals {
  letter-spacing: 2px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.phone-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 9px;
}

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

.auth-heading {
  margin-top: 24px;
}

.auth-kicker {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.auth-heading h2 {
  margin-top: 5px;
  font-size: 28px;
  line-height: 1.25;
}

.auth-heading > p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 19px;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  height: 42px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 800;
}

.auth-tabs button.is-active {
  color: var(--orange-deep);
  border-color: var(--orange);
}

.auth-form {
  margin-top: 18px;
}

.auth-form > label:not(.agreement),
.register-field > label {
  display: block;
  margin: 13px 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.phone-input {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  background: #faf8f5;
  border: 1px solid var(--line);
}

.phone-input input {
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.password-toggle {
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.agreement input {
  margin: 3px 0 0;
  accent-color: var(--orange);
}

.auth-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 15px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  font-size: 14px;
  font-weight: 800;
}

.auth-feedback {
  min-height: 18px;
  margin-top: 7px;
  color: var(--orange-deep);
  font-size: 12px;
  text-align: center;
}

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

.compass-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.topic-wheel {
  position: relative;
  width: 410px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 31%, var(--line) 31% 31.4%, transparent 31.4% 62%, var(--line) 62% 62.4%, transparent 62.4%),
    var(--white);
}

.topic-wheel::before,
.topic-wheel::after {
  position: absolute;
  inset: 50% 9%;
  height: 1px;
  background: var(--line);
  content: "";
}

.topic-wheel::after {
  transform: rotate(90deg);
}

.topic-item {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.topic-item.is-active,
.topic-item:hover {
  color: var(--white);
  background: var(--orange);
}

.topic-hot { top: 4%; left: 50%; transform: translateX(-50%); }
.topic-love { top: 15%; right: 9%; }
.topic-fantasy { top: 50%; right: 1%; transform: translateY(-50%); }
.topic-mystery { right: 10%; bottom: 14%; }
.topic-school { left: 50%; bottom: 3%; transform: translateX(-50%); }
.topic-city { left: 9%; bottom: 14%; }
.topic-healing { top: 50%; left: 1%; transform: translateY(-50%); }
.topic-history { top: 15%; left: 9%; }

.wheel-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  color: var(--white);
  background: var(--dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.wheel-center strong {
  margin-top: 6px;
  font-size: 15px;
}

.discovery-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.discovery-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  padding-left: 16px;
  background: #f9f5ef;
  border: 1px solid var(--line);
}

.discovery-search input {
  min-width: 0;
  height: 50px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.discovery-search button {
  align-self: stretch;
  min-width: 84px;
  color: var(--white);
  background: var(--dark);
  border: 0;
  font-weight: 700;
}

.status-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0;
}

.status-switch button,
.ranking-tabs button {
  min-height: 40px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.status-switch button.is-active,
.ranking-tabs button.is-active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.status-switch > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

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

.discovery-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}

.cover-box,
.rank-cover {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.cover-box {
  width: 52px;
  height: 62px;
}

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

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

.comic-copy strong,
.rank-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comic-copy > span,
.rank-copy > span {
  color: var(--muted);
  font-size: 12px;
}

.comic-copy small,
.rank-copy small {
  color: var(--orange-deep);
  font-size: 12px;
}

.save-button,
.follow-button {
  min-height: 38px;
  padding: 0 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.save-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.save-button[aria-pressed="true"],
.follow-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.week-route {
  margin-top: 22px;
}

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

.week-route ol {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 10px;
  border: 1px solid var(--line);
}

.week-route li {
  min-width: 0;
  padding: 11px 3px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 12px;
  text-align: center;
}

.week-route li:last-child {
  border-right: 0;
}

.week-route li.is-today {
  color: var(--white);
  background: var(--orange);
  font-weight: 700;
}

.ranking {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.ranking-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.rank-card {
  display: grid;
  grid-template-columns: 42px 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 134px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.rank-cover {
  width: 78px;
  height: 96px;
}

.follow-button {
  white-space: nowrap;
}

.screens {
  background: var(--dark);
  color: var(--white);
}

.screens .section-heading > p {
  color: #c9bbb4;
}

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

.screen-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid #5b4a43;
}

.screen-viewport {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #f3efe9;
}

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

.screen-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  min-height: 91px;
  padding: 17px;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.screen-card figcaption > span {
  grid-row: span 2;
  color: var(--orange-deep);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

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

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

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

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

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

.faq-item h3 {
  font-size: 16px;
}

.faq-item h3 button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 74px;
  padding: 0 24px;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
}

.faq-item h3 b {
  display: inline-block;
  min-width: 44px;
  color: var(--orange-deep);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.faq-item h3 i,
.details-state {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

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

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

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

.faq-answer {
  padding: 0 68px 25px;
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 28px;
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

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

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

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

.official-answer {
  padding: 0 57px 24px;
}

.official-answer a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews {
  background: #ffe4d2;
  border-block: 1px solid var(--line);
}

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

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 264px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
}

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

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

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

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

.review-rating {
  flex: 0 0 auto;
  min-width: 86px;
  color: var(--orange-deep);
  font-size: 12px;
  text-align: right;
}

.review-rating i {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 1px;
  background: center / contain no-repeat;
}

.review-rating .fa-star {
  background-image: url("../icons/star.svg");
}

.review-rating .fa-star-o {
  background-image: url("../icons/star-empty.svg");
}

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

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

.download {
  padding: 70px 0;
  color: var(--white);
  background:
    radial-gradient(circle, rgba(255, 198, 60, 0.34) 1px, transparent 1.5px),
    var(--dark);
  background-size: 16px 16px;
}

.download-ticket {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 220px;
  align-items: stretch;
  min-height: 170px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--yellow);
}

.download-chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: var(--yellow);
  border-right: 1px dashed var(--dark);
}

.download-chapter::before,
.download-chapter::after {
  position: absolute;
  right: -12px;
  width: 22px;
  height: 22px;
  background: var(--dark);
  border-radius: 50%;
  content: "";
}

.download-chapter::before { top: -12px; }
.download-chapter::after { bottom: -12px; }

.download-chapter strong {
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.download-chapter span {
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.download-copy h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.25;
}

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

.download-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: var(--orange);
  font-size: 18px;
  font-weight: 800;
}

.download-action:hover {
  color: var(--dark);
  background: var(--yellow);
}

.download-action:hover .icon-arrow {
  filter: brightness(0);
}

.site-footer {
  color: var(--white);
  background: #120f0e;
}

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

.footer-brand > img {
  background: var(--white);
}

.footer-brand .brand-text > span {
  color: #b7a9a3;
}

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

.footer-nav a {
  font-size: 13px;
}

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

.copyright {
  padding: 20px 0 24px;
  color: #b7a9a3;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 12px;
  text-align: center;
}

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

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

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

.icon-menu { width: 22px; height: 22px; background-image: url("../icons/menu.svg"); }
.icon-compass { background-image: url("../icons/compass.svg"); }
.icon-bell { background-image: url("../icons/bell.svg"); }
.icon-bookmark { background-image: url("../icons/bookmark.svg"); }
.icon-download { background-image: url("../icons/download.svg"); }
.icon-user { background-image: url("../icons/user.svg"); }
.icon-lock { background-image: url("../icons/lock.svg"); }
.icon-eye { background-image: url("../icons/eye.svg"); }
.icon-search { background-image: url("../icons/search.svg"); }
.icon-globe { background-image: url("../icons/globe.svg"); }
.icon-arrow { background-image: url("../icons/arrow.svg"); }
.icon-up { background-image: url("../icons/up.svg"); }
.icon-avatar {
  width: 38px;
  height: 38px;
  background-color: var(--dark);
  background-image: url("../icons/avatar.svg");
  background-size: 20px;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .site-nav ul {
    gap: 20px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: 70px;
  }

  .compass-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 30px;
  }

  .topic-wheel {
    width: 330px;
  }

  .rank-card {
    grid-template-columns: 32px 64px minmax(0, 1fr);
  }

  .rank-cover {
    width: 64px;
    height: 84px;
  }

  .follow-button {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

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

  body {
    padding-top: var(--header-height);
    font-size: 15px;
  }

  body.menu-open {
    overflow: hidden;
  }

  a,
  button {
    transition: none !important;
  }

  a:active,
  button:active {
    opacity: 1;
  }

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

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

  .brand {
    gap: 8px;
  }

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

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

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

  .mobile-actions {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    padding: 20px 14px;
    background: rgba(29, 23, 21, 0.98);
  }

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

  .site-nav ul {
    display: block;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-nav a {
    padding: 18px 8px;
    color: var(--white);
    font-size: 16px;
  }

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

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

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

  .section-heading,
  .section-heading.heading-row {
    display: block;
    margin-bottom: 30px;
  }

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

  .section-heading.heading-row > p {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 42px;
    padding: 56px 0 64px;
  }

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

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

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

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

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

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

  .phone-stage {
    width: 100%;
    justify-content: center;
  }

  .phone-frame {
    width: min(292px, 84vw);
  }

  .phone-screen {
    min-height: 540px;
  }

  .compass-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .topic-wheel {
    width: min(340px, 90vw);
  }

  .topic-item {
    width: 60px;
    height: 60px;
  }

  .wheel-center {
    width: 108px;
    height: 108px;
  }

  .discovery-panel {
    width: 100%;
    padding: 17px;
  }

  .status-switch > span {
    flex: 0 0 100%;
    margin-left: 0;
  }

  .discovery-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cover-box {
    width: 46px;
    height: 58px;
  }

  .save-button {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .save-button span {
    display: none;
  }

  .week-route li {
    padding: 10px 1px;
  }

  .ranking-grid {
    display: block;
    border-top: 1px solid var(--ink);
  }

  .rank-card {
    grid-template-columns: 32px 66px minmax(0, 1fr) auto;
    min-height: 112px;
    padding: 12px;
    gap: 10px;
  }

  .rank-cover {
    width: 66px;
    height: 86px;
  }

  .follow-button {
    grid-column: auto;
    width: 42px;
    padding: 0 4px;
    white-space: normal;
    line-height: 1.25;
  }

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

  .screen-card figcaption {
    display: flex;
    flex-wrap: wrap;
    min-height: 82px;
    padding: 12px;
    gap: 6px 8px;
  }

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

  .screen-card figcaption small {
    flex-basis: 100%;
  }

  .faq-item h3 button {
    min-height: 68px;
    padding: 0 14px;
    font-size: 14px;
  }

  .faq-item h3 b {
    min-width: 32px;
  }

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

  .official-site summary {
    min-height: 70px;
    padding: 0 16px;
  }

  .official-answer {
    padding: 0 46px 20px;
    word-break: break-all;
  }

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

  .review-card {
    min-height: 230px;
  }

  .download {
    padding: 54px 0;
  }

  .download-ticket {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 0;
  }

  .download-chapter {
    grid-row: span 2;
  }

  .download-chapter strong {
    font-size: 38px;
  }

  .download-chapter span {
    writing-mode: vertical-rl;
  }

  .download-copy {
    padding: 23px 20px;
  }

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

  .download-action {
    min-height: 62px;
    font-size: 16px;
  }

  .footer-main {
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
    padding: 30px 0;
    text-align: center;
  }

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

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

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

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

  .brand-text > span {
    max-width: 105px;
    font-size: 12px;
    white-space: normal;
    word-break: break-all;
    line-height: 1.1;
  }

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

  .hero-copy h1 {
    font-size: 58px;
  }

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

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

  .topic-wheel {
    width: min(306px, 88vw);
  }

  .topic-item {
    width: 54px;
    height: 54px;
    font-size: 12px;
  }

  .wheel-center {
    width: 96px;
    height: 96px;
  }

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

  .ranking-tabs button {
    flex: 1;
    padding: 0 8px;
  }

  .rank-card {
    grid-template-columns: 27px 56px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .rank-cover {
    width: 56px;
    height: 74px;
  }

  .comic-copy strong,
  .rank-copy strong {
    font-size: 13px;
  }

  .screen-grid {
    gap: 8px;
  }

  .review-card {
    padding: 20px;
  }

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

  .download-copy {
    padding: 21px 15px;
  }

  .download-copy h2 {
    font-size: 21px;
  }
}

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