@charset "UTF-8";

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

:root {
  --paper: #fffaf6;
  --paper-deep: #f7ede7;
  --rose-pale: #fde5ed;
  --rose: #e84978;
  --rose-dark: #a51f4c;
  --wine: #52132c;
  --ink: #211d20;
  --muted: #74656b;
  --line: #d9c7ce;
  --white: #ffffff;
  --header-height: 76px;
  --page-width: 1200px;
}

* {
  box-sizing: border-box;
}

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

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

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

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

button {
  color: inherit;
}

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

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

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

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

.topbar-frame {
  display: flex;
  width: min(calc(100% - 40px), var(--page-width));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

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

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

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

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

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

.primary-menu {
  height: 100%;
}

.primary-menu ul,
.page-footer ul {
  display: flex;
  height: 100%;
  padding: 0;
  margin: 0;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.primary-menu a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--rose);
  content: "";
  opacity: 0;
}

.primary-menu a.is-current::after,
.primary-menu a:hover::after {
  opacity: 1;
}

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

.compact-download {
  display: inline-flex;
  min-height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--rose);
}

.menu-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ink);
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-button i {
  position: relative;
}

.menu-button i::before {
  position: absolute;
  top: -6px;
}

.menu-button i::after {
  position: absolute;
  top: 6px;
}

.cover-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(82, 19, 44, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}

.cover-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  background: linear-gradient(135deg, var(--rose-pale), #f4b9ca 65%, var(--rose) 65%);
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-art {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: max(calc((100vw - var(--page-width)) / 2 - 26px), 24px);
  min-width: 24px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--wine);
}

.hero-art-copy {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.1;
  transform: rotate(-90deg);
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 72px 0;
}

.kicker,
.section-code,
.jacket-copy > span,
.preference-panel > span {
  display: block;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-title-row {
  display: flex;
  margin-top: 15px;
  align-items: flex-start;
  gap: 18px;
}

.hero-title-row h1 {
  margin: 0;
  font-size: clamp(72px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.96;
  white-space: nowrap;
}

.volume {
  display: flex;
  padding: 8px 9px;
  border: 1px solid var(--ink);
  flex-direction: column;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: var(--white);
}

.volume strong {
  margin-top: 5px;
  color: var(--rose);
  font-size: 24px;
}

.hero-copy h2 {
  max-width: 580px;
  margin: 28px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
}

.hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.hero-download > a {
  display: inline-flex;
  min-width: 220px;
  min-height: 58px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  background: var(--wine);
  box-shadow: 8px 8px 0 var(--rose);
}

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

.hero-points {
  display: flex;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 50px 0 0;
}

.phone-stage::before {
  position: absolute;
  right: -42px;
  bottom: 34px;
  width: 395px;
  height: 395px;
  border: 2px solid var(--wine);
  border-radius: 50%;
  content: "";
  opacity: 0.22;
}

.phone {
  position: relative;
  width: 320px;
  padding: 14px;
  border: 6px solid #171316;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #171316;
  box-shadow: 24px 22px 0 rgba(82, 19, 44, 0.18);
}

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

.phone-screen {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--white);
}

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

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

.phone-header {
  padding: 20px 18px 12px;
}

.phone-header strong {
  color: var(--rose);
  font-size: 24px;
}

.phone-search {
  display: flex;
  min-height: 42px;
  margin: 0 18px;
  padding: 0 13px;
  border-radius: 24px;
  align-items: center;
  gap: 8px;
  color: #90838a;
  font-size: 12px;
  background: #f2edf0;
}

.phone-tabs {
  display: grid;
  margin: 10px 18px 12px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

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

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

.phone-banner {
  display: flex;
  min-height: 128px;
  margin: 0 18px;
  padding: 20px;
  border-radius: 4px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(125deg, var(--wine) 0 50%, var(--rose) 50% 78%, var(--rose-pale) 78%);
}

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

.phone-banner strong {
  margin: 4px 0;
  font-size: 20px;
  line-height: 1.2;
}

.phone-section-title {
  padding: 17px 18px 8px;
  font-size: 12px;
}

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

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

.phone-cover {
  display: flex;
  width: 100%;
  height: 108px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--rose-pale);
}

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

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

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

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

.phone-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.phone-footer span {
  font-size: 12px;
}

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

.section {
  padding: 100px 0;
}

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

.section-heading h2 {
  margin: 8px 0 5px;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.heading-with-note p {
  max-width: 430px;
  padding-bottom: 8px;
}

.content-radar {
  background: var(--rose-pale);
}

.radar-workbench {
  display: grid;
  min-height: 465px;
  grid-template-columns: 420px minmax(0, 1fr);
  border: 1px solid var(--wine);
  background: var(--white);
}

.interest-dial {
  position: relative;
  min-height: 465px;
  overflow: hidden;
  border-right: 1px solid var(--wine);
  background-color: var(--wine);
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 14px 14px;
}

.interest-dial::before,
.interest-dial::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.interest-dial::before {
  width: 290px;
  height: 290px;
}

.interest-dial::after {
  width: 190px;
  height: 190px;
}

.dial-core,
.dial-label {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.dial-core {
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  color: var(--wine);
  text-align: center;
  background: var(--rose-pale);
  transform: translate(-50%, -50%);
}

.dial-label {
  width: 62px;
  height: 62px;
  border: 1px solid var(--rose);
  background: #6c1d3a;
}

.dial-a { top: 48px; left: 82px; }
.dial-b { top: 53px; right: 70px; }
.dial-c { right: 34px; bottom: 87px; }
.dial-d { bottom: 37px; left: 105px; }
.dial-e { top: 205px; left: 32px; }

.filter-ledger {
  padding: 40px 44px;
}

.search-row {
  display: grid;
  min-height: 58px;
  margin-bottom: 22px;
  grid-template-columns: 22px 1fr 92px;
  border: 1px solid var(--line);
  align-items: center;
  background: var(--paper);
}

.search-row > i {
  margin-left: 15px;
}

.search-row input {
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  font-size: 14px;
  background: transparent;
}

.search-row button,
.filter-row button {
  border: 0;
  cursor: pointer;
}

.search-row button {
  align-self: stretch;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  background: var(--rose);
}

.filter-row {
  display: grid;
  min-height: 72px;
  grid-template-columns: 110px minmax(0, 1fr);
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 15px;
}

.filter-row > strong {
  font-size: 14px;
}

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

.filter-row button {
  min-height: 35px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  background: var(--white);
}

.filter-row button.is-active {
  border-color: var(--rose);
  color: var(--white);
  background: var(--rose);
}

.reading-route {
  background: var(--paper);
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
}

.route-steps {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.route-steps li {
  position: relative;
  display: grid;
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: 38px 44px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 10px;
  background: var(--white);
}

.route-steps li:nth-child(2),
.route-steps li:nth-child(3) {
  background: var(--paper-deep);
}

.route-steps li > span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.route-steps li > i {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  background-size: 17px;
}

.route-steps li > strong {
  font-size: 20px;
}

.route-steps li > p {
  margin: 18px 0 0 92px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.preference-panel {
  padding: 30px;
  color: var(--white);
  background: var(--wine);
}

.preference-panel > span {
  color: #f6abc2;
}

.preference-panel h3 {
  margin: 8px 0 25px;
  font-size: 28px;
}

.preference-panel > div {
  display: flex;
  min-height: 67px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: space-between;
}

.preference-panel > div > strong {
  font-size: 13px;
}

.choice-switch {
  position: relative;
  width: 48px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
}

.choice-switch i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
}

.choice-switch.is-on {
  border-color: var(--rose);
  background: var(--rose);
}

.choice-switch.is-on i {
  left: 26px;
}

.level {
  position: relative;
  width: 116px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.level i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--rose);
}

.interface-manual {
  border-top: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.interface-manual .section-code {
  color: #f697b4;
}

.interface-manual .section-heading p {
  color: #d1c6ca;
}

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

.manual-grid figure {
  min-width: 0;
  margin: 0;
  border: 1px solid #78616b;
  background: #2b2629;
}

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

.manual-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.manual-grid figcaption {
  display: flex;
  min-height: 67px;
  padding: 0 18px;
  border-top: 1px solid #78616b;
  align-items: center;
  gap: 13px;
  background: var(--white);
  color: var(--ink);
}

.manual-grid figcaption span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.manual-grid figcaption strong {
  font-size: 16px;
}

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

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

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

.accordion article > button {
  display: grid;
  width: 100%;
  min-height: 78px;
  padding: 0 24px;
  border: 0;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  align-items: center;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.accordion article > button span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.accordion article > button strong {
  font-size: 16px;
}

.accordion article > button i,
.toggle-mark {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.accordion article > button i::before,
.accordion article > button i::after,
.toggle-mark::before,
.toggle-mark::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
}

.accordion article > button i::after,
.toggle-mark::after {
  transform: rotate(90deg);
}

.accordion article > button[aria-expanded="true"] i::after,
.official-site[open] .toggle-mark::after {
  transform: rotate(0);
}

.accordion article > div {
  padding: 0 74px 22px;
  color: var(--muted);
  background: var(--rose-pale);
}

.accordion article > div p {
  margin: 0;
  font-size: 14px;
}

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

.official-site summary {
  display: grid;
  min-height: 74px;
  padding: 0 22px;
  grid-template-columns: 25px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

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

.official-site summary strong {
  font-size: 16px;
}

.official-site > div {
  padding: 0 60px 25px;
}

.official-site > div a {
  color: var(--rose-dark);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reader-letters {
  background-color: var(--rose-pale);
  background-image: linear-gradient(rgba(232, 73, 120, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 73, 120, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

.letter-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 275px;
  padding: 26px;
  border-top: 4px solid var(--rose);
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(82, 19, 44, 0.08);
}

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

.letter-top {
  display: flex;
  min-height: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

.i-avatar {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background-color: var(--wine);
  background-size: 20px;
}

.letter-rating {
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  padding: 5px 8px;
  align-items: center;
  justify-content: flex-end;
  color: var(--rose);
  overflow: hidden;
  white-space: nowrap;
}

.letter-rating .fa {
  display: inline-block;
  width: 15px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}

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

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

.letter-body {
  display: flex;
  min-height: 166px;
  flex: 1;
  flex-direction: column;
}

.letter-body p {
  margin: 18px 0 24px;
  font-size: 14px;
}

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

.download-jacket {
  padding: 78px 0;
  color: var(--white);
  background: var(--wine);
}

.jacket-grid {
  display: grid;
  min-height: 210px;
  grid-template-columns: 170px minmax(0, 1fr) 215px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #411023;
}

.jacket-spine {
  display: flex;
  padding: 22px;
  border-right: 1px dashed rgba(255, 255, 255, 0.5);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--rose);
}

.jacket-spine span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.jacket-spine strong {
  font-size: 27px;
}

.jacket-copy {
  display: flex;
  padding: 42px 50px;
  flex-direction: column;
  justify-content: center;
}

.jacket-copy > span {
  color: #f7acc2;
}

.jacket-copy h2 {
  margin: 7px 0 4px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.3;
}

.jacket-copy p {
  margin: 0;
  color: #dac8ce;
  font-size: 14px;
}

.jacket-pull {
  display: flex;
  padding: 24px;
  border-left: 1px dashed var(--wine);
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--wine);
  font-size: 18px;
  font-weight: 900;
  background: var(--rose-pale);
}

.page-footer {
  padding: 46px 0 26px;
  color: var(--white);
  background: var(--ink);
}

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

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

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

.footer-rule {
  width: 100%;
  height: 1px;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.75);
}

.page-footer .page-frame > p {
  margin: 20px 0 0;
  color: #c9bdc2;
  font-size: 12px;
  text-align: center;
}

.to-top {
  position: fixed;
  z-index: 900;
  right: 26px;
  bottom: 22px;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--ink);
  place-items: center;
  color: var(--white);
  background: var(--rose);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

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

.i-arrow,
.i-discover,
.i-tune,
.i-route,
.i-search,
.i-book,
.i-globe,
.i-avatar,
.i-download,
.i-top {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.i-arrow { background-image: url("../icons/arrow.svg"); }
.i-discover { background-image: url("../icons/discover.svg"); }
.i-tune { background-image: url("../icons/tune.svg"); }
.i-route { background-image: url("../icons/route.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-book { background-image: url("../icons/book.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }
.i-avatar { background-image: url("../icons/avatar.svg"); }
.i-download { background-image: url("../icons/download.svg"); }
.i-top { background-image: url("../icons/top.svg"); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #f7a9c0;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
  }

  .radar-workbench {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .filter-ledger {
    padding: 32px;
  }

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

  .preference-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 22px;
  }

  .preference-panel > span,
  .preference-panel h3 {
    grid-column: 1 / -1;
  }
}

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

  html {
    scroll-behavior: auto;
  }

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

  .topbar-frame {
    gap: 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

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

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

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

  .primary-menu {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    border-bottom: 0;
    background: var(--paper);
    visibility: hidden;
  }

  .primary-menu.is-open {
    max-height: calc(100vh - var(--header-height));
    border-bottom: 1px solid var(--ink);
    visibility: visible;
  }

  .primary-menu ul {
    width: min(calc(100% - 28px), var(--page-width));
    height: auto;
    padding: 10px 0 18px;
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-menu a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

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

  .cover-hero {
    min-height: 0;
  }

  .cover-hero::before {
    top: auto;
    width: 100%;
    height: 42%;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-art {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 62px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
    text-align: center;
  }

  .hero-title-row,
  .hero-download,
  .hero-points {
    justify-content: center;
  }

  .hero-title-row h1 {
    max-width: 100%;
    font-size: clamp(55px, 20vw, 88px);
  }

  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-points {
    flex-wrap: wrap;
  }

  .phone-stage {
    min-height: 600px;
    padding: 0;
    align-items: flex-end;
    justify-content: center;
  }

  .phone-stage::before {
    right: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .phone {
    width: min(320px, calc(100vw - 42px));
  }

  .section {
    padding: 74px 0;
  }

  .heading-with-note {
    display: block;
  }

  .heading-with-note p {
    padding: 6px 0 0;
  }

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

  .interest-dial {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--wine);
  }

  .filter-ledger {
    padding: 26px;
  }

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

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

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

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

  .jacket-grid {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .jacket-pull {
    min-height: 84px;
    border-top: 1px dashed var(--wine);
    border-left: 0;
    grid-column: 1 / -1;
  }

  .jacket-copy {
    padding: 32px;
  }

  .footer-row {
    flex-direction: column;
  }

  .page-footer ul {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
  }
}

@media (max-width: 540px) {
  .brand-text > span {
    max-width: 112px;
    font-size: 12px;
  }

  .compact-download {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

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

  .hero-grid {
    padding-top: 48px;
  }

  .hero-title-row {
    gap: 8px;
  }

  .hero-title-row h1 {
    font-size: clamp(50px, 18vw, 70px);
  }

  .volume {
    display: none;
  }

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

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-points {
    gap: 10px 18px;
  }

  .phone-stage {
    min-height: 575px;
  }

  .phone {
    transform: scale(0.94);
    transform-origin: center bottom;
  }

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

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

  .interest-dial {
    min-height: 340px;
  }

  .interest-dial::before {
    width: 245px;
    height: 245px;
  }

  .interest-dial::after {
    width: 160px;
    height: 160px;
  }

  .dial-label {
    width: 54px;
    height: 54px;
  }

  .dial-a { top: 42px; left: 64px; }
  .dial-b { top: 47px; right: 52px; }
  .dial-c { right: 26px; bottom: 70px; }
  .dial-d { bottom: 30px; left: 80px; }
  .dial-e { top: 150px; left: 24px; }

  .filter-ledger {
    padding: 18px;
  }

  .filter-row {
    padding: 14px 0;
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .route-steps li {
    min-height: 170px;
    padding: 23px;
  }

  .preference-panel {
    display: block;
  }

  .manual-grid {
    gap: 8px;
  }

  .manual-grid figcaption {
    min-height: 60px;
    padding: 0 10px;
    gap: 7px;
  }

  .manual-grid figcaption strong {
    font-size: 13px;
  }

  .accordion article > button {
    min-height: 72px;
    padding: 0 15px;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
  }

  .accordion article > button strong {
    font-size: 14px;
  }

  .accordion article > div {
    padding: 0 49px 20px;
  }

  .official-site summary {
    padding: 0 15px;
  }

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

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

  .letter-card {
    padding: 22px;
  }

  .letter-top {
    align-items: flex-start;
  }

  .letter-rating {
    padding-right: 0;
  }

  .download-jacket {
    padding: 58px 0;
  }

  .jacket-grid {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .jacket-spine {
    padding: 15px 9px;
  }

  .jacket-spine strong {
    font-size: 19px;
  }

  .jacket-copy {
    padding: 26px 22px;
  }

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

  .footer-brand,
  .footer-row,
  .page-footer nav {
    text-align: center;
  }

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

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

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