@charset "UTF-8";

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

:root {
  --pink: #ff249d;
  --pink-dark: #d9157f;
  --pink-light: #ffe5f2;
  --pink-soft: #fff2f8;
  --black: #111218;
  --black-soft: #1b1d25;
  --paper: #fffdfb;
  --warm: #fff8f3;
  --yellow: #ffd84c;
  --text: #171922;
  --muted: #72717b;
  --line: #dedde3;
  --white-line: rgba(255, 255, 255, 0.19);
  --content-width: 1200px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(17, 18, 24, 0.09);
  background: rgba(255, 253, 251, 0.98);
}

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

.site-brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
}

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

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

.brand-text strong {
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

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

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

.site-nav a {
  position: relative;
  display: block;
  padding: 25px 17px;
  color: #4c4b55;
  font-size: 14px;
  font-weight: 800;
}

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

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

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

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

.mobile-download {
  display: inline-flex;
  height: 38px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--pink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

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

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

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 94px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 45%),
    var(--pink-light);
}

.hero::before,
.hero::after {
  position: absolute;
  background: rgba(255, 36, 157, 0.08);
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  bottom: 0;
  left: 0;
  width: 55%;
  height: 8px;
  background: var(--pink);
}

.hero-mark {
  position: absolute;
  top: 20px;
  left: max(24px, calc((100% - 1200px) / 2 - 95px));
  color: rgba(255, 36, 157, 0.08);
  font-size: 330px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

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

.hero-copy {
  padding: 30px 0 30px 4px;
}

.eyebrow {
  display: block;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin: 9px 0 5px;
  color: var(--pink);
  font-size: clamp(66px, 6vw, 94px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 1.08;
  white-space: nowrap;
}

.hero-slogan {
  margin-bottom: 17px;
  color: var(--black);
  font-size: 27px;
  font-weight: 1000;
  line-height: 1.35;
}

.hero-description {
  max-width: 485px;
  margin-bottom: 24px;
  color: #5d5c66;
  font-size: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 29px;
}

.hero-tags span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 13px;
  align-items: center;
  border: 1px solid rgba(255, 36, 157, 0.22);
  border-radius: 999px;
  color: #383640;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--pink);
  content: "";
  transform: rotate(45deg);
}

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

.primary-link,
.download-cta {
  display: inline-flex;
  min-width: 224px;
  height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--black);
  border-radius: 9px;
  color: #fff;
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--black);
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-link:hover,
.download-cta:hover {
  box-shadow: 3px 3px 0 var(--black);
  transform: translate(3px, 3px);
}

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

.matcher {
  overflow: hidden;
  border: 1px solid rgba(17, 18, 24, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 12px 12px 0 rgba(255, 36, 157, 0.17);
}

.matcher-heading {
  display: flex;
  min-height: 86px;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--black);
}

.matcher-heading > div > span {
  color: #ff9fd2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.matcher-heading h2 {
  margin: 1px 0 0;
  font-size: 25px;
  line-height: 1.25;
}

.matcher-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.matcher-body {
  padding: 22px 24px 24px;
}

.search-field {
  display: flex;
  height: 44px;
  margin-bottom: 16px;
  padding: 0 13px;
  align-items: center;
  gap: 9px;
  border: 1px solid #cfced5;
  border-radius: 8px;
  background: #fff;
}

.search-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: url("../icons/search.svg") center / contain no-repeat;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-field:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 36, 157, 0.1);
}

.matcher-filter {
  display: grid;
  margin-bottom: 11px;
  align-items: center;
  grid-template-columns: 52px 1fr;
  gap: 10px;
}

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

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

.short-options {
  grid-template-columns: repeat(2, minmax(70px, 120px));
}

.day-options {
  grid-template-columns: repeat(5, 1fr);
}

.filter-options button,
.day-options button {
  min-height: 32px;
  padding: 4px 7px;
  border: 1px solid #e1dfe5;
  border-radius: 6px;
  background: #f4f3f5;
  font-size: 12px;
  font-weight: 800;
}

.filter-options button:hover,
.filter-options button.is-selected,
.day-options button:hover,
.day-options button.is-selected {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
}

.match-submit {
  display: flex;
  width: 100%;
  min-height: 45px;
  margin-top: 16px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  color: #fff;
  background: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.matcher-feedback {
  margin: 9px 0 5px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

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

.match-result {
  display: grid;
  min-height: 70px;
  padding: 9px 0;
  align-items: center;
  grid-template-columns: 48px 1fr 34px;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.match-result.is-best {
  margin: 0 -8px;
  padding-right: 8px;
  padding-left: 8px;
  background: var(--pink-soft);
}

.match-result > img {
  width: 48px;
  height: 54px;
  border: 1px solid #e4e2e7;
  background: #faf8f9;
  object-fit: contain;
}

.match-result h3 {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.35;
}

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

.save-button {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #fff;
  background: var(--pink);
  font-size: 20px;
  line-height: 1;
}

.save-button.is-saved {
  color: var(--black);
  background: var(--yellow);
}

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

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

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.section-number,
.download-number {
  color: var(--pink);
  font-family: Arial, sans-serif;
  font-size: 53px;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.section-title h2 {
  margin: 3px 0 0;
  color: var(--black);
  font-size: 39px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

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

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

.radar-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
}

.topic-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.topic-board button {
  display: flex;
  min-height: 132px;
  padding: 20px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border: 2px solid var(--black);
  border-radius: 5px;
  color: #fff;
  background: var(--black);
  text-align: left;
}

.topic-board button:hover,
.topic-board button.is-selected {
  color: #fff;
  background: var(--pink);
}

.topic-board strong {
  font-size: 23px;
  font-weight: 1000;
}

.topic-board span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.radar-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.radar-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  opacity: 0.63;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.radar-card.is-emphasis {
  border-color: var(--pink);
  box-shadow: 5px 5px 0 var(--pink-light);
  opacity: 1;
  transform: translateY(-4px);
}

.radar-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--pink-soft);
}

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

.radar-card h3 {
  margin: 11px 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

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

.radar-card p span {
  margin-right: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  background: var(--pink);
  font-weight: 800;
}

.ranking-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 36, 157, 0.04) 1px, transparent 1px),
    var(--black);
  background-size: 72px 72px;
}

.dark-heading .section-title h2,
.dark-heading .eyebrow {
  color: #fff;
}

.dark-heading > p {
  color: rgba(255, 255, 255, 0.62);
}

.ranking-tabs {
  display: grid;
  max-width: 610px;
  margin-bottom: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.ranking-tabs button {
  min-height: 47px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
}

.ranking-tabs button + button {
  border-left: 0;
}

.ranking-tabs button:hover,
.ranking-tabs button.is-active {
  border-color: var(--pink);
  background: var(--pink);
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
}

.ranking-feature {
  position: relative;
  display: grid;
  min-height: 356px;
  padding: 20px;
  align-items: center;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.feature-rank {
  position: absolute;
  top: 7px;
  left: 10px;
  z-index: 1;
  color: var(--yellow);
  font-size: 54px;
  font-style: italic;
  font-weight: 1000;
}

.feature-cover {
  width: 190px;
  height: 286px;
  background: #262832;
}

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

.feature-copy > span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.feature-copy h3 {
  margin: 8px 0 11px;
  font-size: 25px;
  line-height: 1.3;
}

.feature-copy p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.feature-copy div {
  display: flex;
  gap: 7px;
}

.feature-copy div span {
  padding: 4px 8px;
  border: 1px solid var(--white-line);
  border-radius: 4px;
  font-size: 12px;
}

.feature-copy div span:first-child {
  border-color: var(--pink);
  background: var(--pink);
}

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

.ranking-row {
  display: grid;
  min-height: 70px;
  padding: 8px 6px;
  align-items: center;
  grid-template-columns: 38px 49px 1fr 24px;
  gap: 12px;
  border-bottom: 1px solid var(--white-line);
}

.ranking-row[hidden] {
  display: none;
}

.ranking-row > strong {
  font-size: 20px;
  font-style: italic;
}

.ranking-row > img {
  width: 49px;
  height: 54px;
  background: #282a33;
  object-fit: contain;
}

.ranking-row h3 {
  margin: 0 0 2px;
  font-size: 14px;
}

.ranking-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ranking-row > span {
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.trend-up { color: var(--pink); }
.trend-down { color: #54d7a8; }
.trend-flat { color: rgba(255, 255, 255, 0.64); }

.following-section {
  background: var(--warm);
}

.following-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 9px 9px 0 var(--pink-light);
}

.following-toolbar {
  display: grid;
  min-height: 82px;
  padding: 14px 18px;
  align-items: center;
  grid-template-columns: 100px 1fr 150px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.following-toolbar > strong {
  font-size: 16px;
}

.week-switch {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.week-switch button {
  min-height: 50px;
  padding: 5px 4px;
  border: 1px solid #e7e5e9;
  border-radius: 6px;
  background: #f7f6f8;
  font-size: 12px;
  font-weight: 800;
}

.week-switch button span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.week-switch button:hover,
.week-switch button.is-active {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
}

.week-switch button.is-active span {
  color: #fff;
}

.following-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.following-filter select {
  width: 105px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
}

.following-row {
  display: grid;
  min-height: 86px;
  padding: 12px 18px;
  align-items: center;
  grid-template-columns: 56px minmax(150px, 0.8fr) minmax(210px, 1fr) minmax(130px, 0.65fr) 52px;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.following-row[hidden] {
  display: none;
}

.following-row > img {
  width: 56px;
  height: 61px;
  background: var(--pink-soft);
  object-fit: contain;
}

.following-title h3,
.following-title p {
  margin: 0;
}

.following-title h3 {
  font-size: 14px;
}

.following-title p,
.chapter-info span,
.chapter-info small {
  color: var(--muted);
  font-size: 12px;
}

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

.reading-progress {
  height: 5px;
  border-radius: 5px;
  background: #e8e6ea;
}

.reading-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
}

.reminder-switch {
  position: relative;
  width: 46px;
  height: 25px;
  padding: 0;
  border: 1px solid #cac8cf;
  border-radius: 999px;
  background: #e6e4e8;
}

.reminder-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s ease;
}

.reminder-switch.is-on {
  border-color: var(--pink);
  background: var(--pink);
}

.reminder-switch.is-on span {
  left: 24px;
}

.following-empty {
  margin: 0;
  padding: 30px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.screenshot-section {
  background: #fff;
}

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

.screenshot-grid figure {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.screenshot-viewport {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 8px;
  border: 1px solid #ffc3e3;
  border-radius: 11px;
  background: var(--pink-light);
}

.screenshot-viewport img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

.screenshot-grid figcaption {
  display: flex;
  min-height: 76px;
  padding: 13px 5px 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.screenshot-grid figcaption strong {
  color: var(--black);
  font-size: 15px;
}

.screenshot-grid figcaption span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  padding-bottom: 34px;
  background: var(--pink-soft);
}

.faq-list {
  border-top: 2px solid var(--black);
}

.faq-item {
  border-bottom: 1px solid #cbc9d0;
}

.faq-item summary,
.official-details summary {
  position: relative;
  display: flex;
  min-height: 68px;
  padding: 0 58px 0 4px;
  align-items: center;
  color: var(--black);
  font-size: 15px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

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

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

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

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

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

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

.official-section {
  padding: 0 0 94px;
  background: var(--pink-soft);
}

.official-details {
  border: 2px solid var(--black);
  border-radius: 7px;
  background: #fff;
}

.official-details summary {
  min-height: 72px;
  padding-left: 20px;
}

.official-details > div {
  display: flex;
  padding: 0 20px 21px;
  align-items: center;
  gap: 8px;
}

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

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

.comment-section {
  background: #fff;
}

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

.reader-comment {
  display: flex;
  min-height: 208px;
  padding: 20px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--pink-light);
}

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

.comment-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

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

.comment-user strong {
  font-size: 14px;
}

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

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

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

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

.comment-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 15px 0 14px;
  background: var(--line);
}

.reader-comment > p {
  margin-bottom: 16px;
  color: #565560;
  font-size: 14px;
}

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

.download-section {
  padding: 58px 0;
  background:
    linear-gradient(90deg, transparent 0 68%, rgba(255, 255, 255, 0.24) 68% 68.2%, transparent 68.2%),
    var(--pink-light);
}

.download-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(380px, 1.25fr) minmax(220px, 0.65fr) auto;
  gap: 34px;
}

.download-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.download-number {
  font-size: 60px;
}

.download-arrow {
  color: var(--pink);
  font-size: 67px;
  font-weight: 300;
  line-height: 1;
}

.download-title h2 {
  margin: 4px 0 0;
  color: var(--black);
  font-size: 29px;
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 1.25;
  white-space: nowrap;
}

.download-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-benefits li {
  position: relative;
  padding-left: 14px;
  color: #494751;
  font-size: 13px;
  font-weight: 700;
}

.download-benefits li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--pink);
  content: "";
}

.download-cta {
  min-width: 230px;
  box-shadow: 6px 6px 0 rgba(17, 18, 24, 0.92);
}

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

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

.footer-brand .brand-text strong {
  color: #fff;
}

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

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

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

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

.footer-copyright {
  display: flex;
  min-height: 62px;
  padding: 16px 0;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  border-radius: 9px;
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--black);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, bottom 0.2s ease;
}

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

.back-to-top i {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
    gap: 38px;
  }

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

  .radar-layout {
    grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  }

  .ranking-feature {
    grid-template-columns: 160px 1fr;
  }

  .feature-cover {
    width: 160px;
    height: 248px;
  }

  .following-row {
    grid-template-columns: 52px minmax(135px, 0.75fr) minmax(180px, 1fr) minmax(110px, 0.6fr) 48px;
    gap: 12px;
  }

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

  .download-benefits {
    grid-column: 1 / 2;
    display: flex;
    gap: 18px;
  }

  .download-cta {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

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

  body {
    padding-top: 68px;
  }

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

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

  .header-shell > .site-brand {
    flex: 1 1 auto;
    margin-right: 7px;
  }

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

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

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

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

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

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

  .site-nav ul {
    display: block;
    border-top: 2px solid var(--black);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .topic-board button {
    min-height: 112px;
  }

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

  .following-toolbar {
    grid-template-columns: 1fr;
  }

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

  .following-filter {
    justify-content: flex-end;
  }

  .following-row {
    grid-template-columns: 56px 1fr 52px;
  }

  .chapter-info {
    grid-column: 2 / 3;
  }

  .reading-progress {
    grid-column: 2 / 3;
  }

  .reminder-switch {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
  }

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

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

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

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

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

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

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

  .hero-mark {
    top: 50px;
    left: -25px;
    font-size: 210px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
    white-space: normal;
  }

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

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

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

  .matcher {
    box-shadow: 7px 7px 0 rgba(255, 36, 157, 0.17);
  }

  .matcher-heading,
  .matcher-body {
    padding-right: 17px;
    padding-left: 17px;
  }

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

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

  .filter-options,
  .day-options {
    gap: 5px;
  }

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

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

  .section-title {
    gap: 13px;
  }

  .section-number {
    font-size: 44px;
  }

  .section-title h2 {
    font-size: 32px;
  }

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

  .topic-board button {
    min-height: 104px;
    padding: 16px;
  }

  .radar-results {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }

  .radar-card.is-emphasis {
    transform: none;
  }

  .ranking-tabs {
    width: 100%;
  }

  .ranking-feature {
    min-height: 0;
    grid-template-columns: 120px 1fr;
    gap: 15px;
  }

  .feature-cover {
    width: 120px;
    height: 184px;
  }

  .feature-copy h3 {
    font-size: 21px;
  }

  .following-panel {
    box-shadow: 6px 6px 0 var(--pink-light);
  }

  .following-row {
    padding-right: 12px;
    padding-left: 12px;
    grid-template-columns: 50px 1fr 48px;
    gap: 10px;
  }

  .following-row > img {
    width: 50px;
    height: 57px;
  }

  .chapter-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .screenshot-grid {
    gap: 24px 12px;
  }

  .screenshot-viewport {
    padding: 5px;
    border-radius: 8px;
  }

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

  .faq-item p {
    padding-right: 42px;
  }

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

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

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

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

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

  .download-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-title {
    justify-content: center;
  }

  .download-number {
    font-size: 50px;
  }

  .download-arrow {
    font-size: 50px;
  }

  .download-title h2 {
    font-size: 23px;
  }

  .download-benefits {
    grid-column: auto;
    display: block;
    margin: 0 auto;
  }

  .download-cta {
    grid-column: auto;
    grid-row: auto;
    width: min(240px, 100%);
    margin: 0 auto;
  }

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

  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 43px;
    height: 43px;
  }
}

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

  .site-brand img {
    width: 35px;
    height: 35px;
    margin-right: 6px;
  }

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

  .mobile-actions {
    gap: 5px;
  }

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

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

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

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

  .hero-tags {
    gap: 5px;
  }

  .hero-tags span {
    padding: 0 9px;
  }

  .matcher-badge {
    display: none;
  }

  .filter-options button,
  .day-options button {
    padding-right: 3px;
    padding-left: 3px;
  }

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

  .match-result > img {
    width: 43px;
    height: 50px;
  }

  .save-button {
    width: 30px;
    height: 30px;
  }

  .section-title {
    gap: 10px;
  }

  .section-number {
    font-size: 39px;
  }

  .section-title h2 {
    font-size: 29px;
  }

  .topic-board strong {
    font-size: 20px;
  }

  .ranking-feature {
    padding: 14px;
    grid-template-columns: 104px 1fr;
  }

  .feature-cover {
    width: 104px;
    height: 162px;
  }

  .feature-rank {
    font-size: 42px;
  }

  .ranking-row {
    grid-template-columns: 32px 43px 1fr 20px;
    gap: 8px;
  }

  .ranking-row > img {
    width: 43px;
    height: 50px;
  }

  .download-title {
    gap: 9px;
  }

  .download-number,
  .download-arrow {
    font-size: 43px;
  }

  .download-title h2 {
    font-size: 20px;
  }

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

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary,
  select {
    transition: none !important;
  }
}

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

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