@charset "UTF-8";

:root {
  --yellow: #ffd928;
  --yellow-deep: #f2c900;
  --ink: #171713;
  --paper: #f7f2e8;
  --paper-dark: #eee7d9;
  --white: #ffffff;
  --coral: #ff5c4d;
  --muted: #68665f;
  --line: #c9c3b6;
  --soft-line: #ded8cc;
  --blue: #4d7ea8;
  --header-height: 78px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-height);
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

ul,
ol {
  padding: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: rgba(247, 242, 232, 0.97);
}

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

.brand-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  object-fit: contain;
  background: var(--yellow);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

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

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

.primary-nav {
  margin: 0 30px 0 auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 10px 11px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

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

.header-download,
.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

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

.mobile-download,
.nav-toggle {
  display: none;
}

.download-icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border-bottom: 2px solid currentColor;
}

.download-icon::before {
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 9px;
  background: currentColor;
  content: "";
}

.download-icon::after {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.hero {
  position: relative;
  padding: 76px 0 82px;
  border-bottom: 1px solid var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 23, 19, 0.09) 0.8px, transparent 0.8px), linear-gradient(90deg, transparent 49.7%, rgba(23, 23, 19, 0.045) 50%, transparent 50.3%);
  background-position: 0 0, 0 0;
  background-size: 14px 14px, 88px 100%;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 34px;
  left: calc(50% - 710px);
  width: 170px;
  height: 16px;
  background: var(--yellow);
  content: "";
  transform: rotate(-2deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(620px, 1.17fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label,
.board-kicker,
.download-copy > p {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-copy h1 {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: 1;
  letter-spacing: -0.08em;
}

.hero-copy h1::after {
  position: absolute;
  right: -10px;
  bottom: 2px;
  left: -5px;
  z-index: -1;
  height: 18px;
  background: var(--yellow);
  content: "";
  transform: rotate(-2deg);
}

.hero-slogan {
  margin-top: 22px;
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.hero-description {
  max-width: 590px;
  margin-top: 24px;
  color: #383630;
  font-size: 16px;
  line-height: 1.95;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  min-width: 164px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary:hover {
  background: #ffe568;
  transform: translate(-1px, -1px);
}

.button-secondary {
  min-width: 140px;
  background: var(--white);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.age-label {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.editorial-board {
  position: relative;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
}

.editorial-board::before {
  position: absolute;
  top: -14px;
  left: 36%;
  width: 120px;
  height: 28px;
  background: rgba(255, 217, 40, 0.82);
  content: "";
  transform: rotate(3deg);
}

.board-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}

.board-title-row h2 {
  margin-top: 2px;
  font-size: 27px;
  line-height: 1.2;
}

.board-kicker {
  color: var(--muted);
}

.board-note {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.board-content {
  display: grid;
  grid-template-columns: 1.02fr 0.92fr 0.76fr;
  gap: 14px;
  margin-top: 18px;
}

.board-feature,
.board-mini-card,
.ranking-slip {
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
}

.board-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
}

.board-feature > img {
  width: 100%;
  height: 278px;
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.board-feature-copy {
  padding: 13px 3px 4px;
}

.board-feature-copy h3 {
  margin-top: 7px;
  font-size: 18px;
  line-height: 1.35;
}

.board-feature-copy p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.status-updating,
.status-new {
  background: var(--coral);
}

.status-complete {
  background: var(--blue);
}

.board-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.board-mini-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px;
  background: var(--white);
}

.board-mini-card img {
  width: 100%;
  height: 118px;
  border-radius: 5px;
  object-fit: contain;
  background: var(--paper);
}

.board-mini-card div {
  padding: 8px 1px 2px;
}

.board-mini-card h3 {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-mini-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
}

.ranking-slip {
  padding: 13px 12px;
  background: #fffdf6;
  transform: rotate(1.2deg);
}

.ranking-title {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--yellow);
  font-size: 17px;
  font-weight: 900;
}

.ranking-title span {
  margin-right: 4px;
  color: var(--coral);
}

.ranking-slip ol {
  list-style: none;
  counter-reset: rank;
}

.ranking-slip li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 54px;
  padding: 9px 0 8px 30px;
  border-bottom: 1px dashed var(--line);
  counter-increment: rank;
}

.ranking-slip li::before {
  position: absolute;
  top: 10px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  content: counter(rank, decimal-leading-zero);
  font-size: 12px;
  font-weight: 900;
}

.ranking-slip li:first-child::before,
.ranking-slip li:nth-child(2)::before {
  background: var(--coral);
}

.ranking-slip li strong {
  font-size: 12px;
  line-height: 1.4;
}

.ranking-slip li span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  font-size: 20px;
  font-weight: 900;
  transform: rotate(-2deg);
}

.section-heading > div {
  position: relative;
  flex: 1;
  padding-left: 16px;
  border-left: 5px solid var(--yellow);
}

.section-heading h2 {
  margin-top: 1px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.section-heading p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.filter-name {
  margin-right: 5px;
  font-size: 13px;
  font-weight: 900;
}

.filter-button {
  min-width: 58px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--yellow);
}

.filter-hint {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.filter-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--coral);
}

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

.comic-card {
  min-width: 0;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--paper-dark);
}

.comic-card:hover {
  box-shadow: 5px 5px 0 var(--yellow);
  transform: translateY(-2px);
}

.comic-cover {
  height: 246px;
  padding: 8px;
  border-bottom: 1px solid var(--ink);
  background: #f3eee4;
}

.comic-cover img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
}

.comic-meta {
  padding: 13px 12px 15px;
}

.comic-meta h3 {
  margin-top: 9px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.update-calendar {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background-color: #fffdf8;
  background-image: linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.week-area {
  min-width: 0;
}

.calendar-scroll-hint {
  display: none;
}

.week-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
}

.day-card {
  display: flex;
  min-width: 0;
  padding: 15px 8px 14px;
  border-right: 1px solid var(--soft-line);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.day-card:last-child {
  border-right: 0;
}

.day-card.is-today {
  background: #fff8c9;
}

.day-card > span,
.day-card > strong {
  display: block;
  font-size: 12px;
}

.day-card > strong {
  color: var(--muted);
  font-weight: 600;
}

.day-card img {
  width: 100%;
  height: 152px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--paper);
}

.day-card h3 {
  width: 100%;
  margin-top: 9px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-card p {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
}

.follow-panel {
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}

.follow-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--ink);
}

.calendar-icon {
  position: relative;
  width: 34px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
}

.calendar-icon::before {
  position: absolute;
  top: 7px;
  right: 4px;
  left: 4px;
  border-top: 2px solid var(--ink);
  content: "";
}

.calendar-icon::after {
  position: absolute;
  top: -5px;
  left: 7px;
  width: 14px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  content: "";
}

.follow-heading span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.follow-heading h3 {
  font-size: 23px;
  line-height: 1.2;
}

.follow-panel ul {
  list-style: none;
}

.follow-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(23, 23, 19, 0.24);
  background: rgba(255, 255, 255, 0.74);
}

.follow-panel li:last-child {
  border-bottom: 0;
}

.follow-panel li img {
  flex: 0 0 auto;
  width: 42px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.follow-panel li span {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.follow-panel li strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follow-panel li small {
  color: var(--muted);
  font-size: 12px;
}

.follow-panel li b {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--coral);
  color: var(--white);
  font-size: 12px;
}

.follow-panel li b.is-muted {
  background: var(--paper-dark);
  color: var(--muted);
}

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

.screen-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
  padding: 32px 24px 12px;
  background-image: linear-gradient(transparent 96%, rgba(23, 23, 19, 0.08) 96%);
  background-size: 100% 34px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--yellow) var(--paper-dark);
}

.screen-item {
  flex: 0 0 250px;
  scroll-snap-align: center;
  text-align: center;
}

.screen-frame {
  width: 250px;
  height: 450px;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--yellow);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.screen-item figcaption {
  display: flex;
  margin-top: 17px;
  flex-direction: column;
}

.screen-item figcaption strong {
  font-size: 18px;
}

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

.reviews {
  border-top: 1px solid var(--ink);
  background: #fffdf8;
}

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

.review-card {
  display: flex;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--paper-dark);
  flex-direction: column;
}

.review-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background-color: var(--yellow);
  background-image: url("../icons/avatar.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

.review-card h3 {
  font-size: 15px;
  line-height: 1.35;
}

.review-card > time {
  display: block;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.review-rating {
  flex: 0 0 auto;
  margin-left: auto;
  color: #f2a100;
  font-size: 17px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: right;
}

.review-card > p {
  margin-top: 20px;
  color: #3d3b35;
  font-size: 14px;
  line-height: 1.85;
}

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

.faq-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
}

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

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 13px 18px;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button:hover,
.faq-item button[aria-expanded="true"] {
  background: #fff7bf;
}

.faq-item button i {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: 20px;
}

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

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

.faq-item button[aria-expanded="true"] i::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 18px 18px;
  border-top: 1px dashed var(--line);
}

.faq-answer p {
  padding-top: 15px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer a {
  color: #bf3428;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 220px minmax(250px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(23, 23, 19, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
  box-shadow: 8px 8px 0 var(--ink);
}

.download-copy > p {
  color: var(--ink);
}

.download-copy h2 {
  margin-top: 2px;
  font-size: 42px;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.download-copy span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
}

.download-cta {
  min-width: 220px;
  background: var(--ink);
  color: var(--white);
}

.download-cta:hover {
  background: var(--coral);
}

.download-notes {
  display: flex;
  padding-left: 26px;
  border-left: 2px solid var(--ink);
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
}

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

.footer-inner {
  display: flex;
  min-height: 224px;
  padding-top: 36px;
  padding-bottom: 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.footer-brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--yellow);
  border-radius: 5px;
  object-fit: contain;
  background: var(--yellow);
}

.footer-brand span {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.25;
}

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

.footer-brand small {
  color: #c9c6bd;
  font-size: 12px;
}

.footer-nav {
  margin-top: 25px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 20px;
  list-style: none;
}

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

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

.copyright {
  margin-top: 20px;
  color: #aaa79f;
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

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

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

@media (max-width: 1180px) {
  .primary-nav {
    margin-right: 18px;
  }

  .primary-nav a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
    gap: 34px;
  }

  .board-content {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .ranking-slip {
    grid-column: 1 / -1;
    transform: none;
  }

  .ranking-slip ol {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .ranking-slip li {
    border-bottom: 0;
  }

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

  .comic-cover {
    height: 330px;
  }

  .screen-track {
    gap: 46px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    width: min(calc(100% - 32px), 1320px);
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

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

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 16px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 8px 0 rgba(23, 23, 19, 0.12);
  }

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

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .primary-nav a {
    padding: 12px 8px;
    border: 1px solid var(--line);
    background: var(--white);
    text-align: center;
  }

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

  .header-download {
    display: none;
  }

  .mobile-download,
  .nav-toggle {
    display: inline-flex;
  }

  .mobile-download {
    min-height: 40px;
    padding: 0 13px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 13px;
  }

  .nav-toggle {
    width: 42px;
    height: 40px;
    padding: 8px;
    border: 2px solid var(--ink);
    border-radius: 5px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 64px 0 72px;
  }

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

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

  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid var(--ink);
    border-radius: 5px;
    background: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .week-track {
    display: flex;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--yellow-deep) var(--paper-dark);
    scrollbar-width: thin;
  }

  .day-card {
    flex: 0 0 154px;
    min-width: 0;
    padding: 13px 9px 14px;
    border: 1px solid var(--soft-line);
    border-radius: 5px;
    background: var(--white);
    scroll-snap-align: start;
  }

  .day-card:last-child {
    border-right: 1px solid var(--soft-line);
  }

  .day-card img {
    height: 180px;
  }

  .week-track::-webkit-scrollbar {
    height: 6px;
  }

  .week-track::-webkit-scrollbar-track {
    background: var(--paper-dark);
  }

  .week-track::-webkit-scrollbar-thumb {
    border: 1px solid var(--ink);
    border-radius: 5px;
    background: var(--yellow-deep);
  }

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

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

  .download-notes {
    grid-column: 1 / -1;
    padding-top: 15px;
    padding-left: 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  a,
  button,
  .comic-card,
  .back-to-top,
  .nav-toggle span {
    transition: none !important;
  }

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

  .section {
    padding: 70px 0;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-slogan {
    font-size: clamp(31px, 9vw, 44px);
  }

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

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

  .editorial-board {
    padding: 17px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

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

  .board-feature > img {
    height: 248px;
  }

  .ranking-slip {
    grid-column: 1 / -1;
  }

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

  .section-heading {
    gap: 12px;
  }

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

  .filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-hint {
    white-space: normal;
  }

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

  .comic-cover {
    height: 280px;
  }

  .screen-track {
    justify-content: flex-start;
    gap: 28px;
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 30px;
    padding-left: 30px;
  }

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

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

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

  .download-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
    text-align: center;
  }

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

  .download-cta {
    width: min(100%, 280px);
    margin: 0 auto;
  }

  .download-notes {
    align-items: center;
    justify-content: center;
  }

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

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 24px);
  }

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

  .brand-logo {
    width: 39px;
    height: 39px;
  }

  .brand-copy {
    min-width: 0;
  }

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

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

  .mobile-download {
    min-width: 76px;
    padding: 0 9px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
  }

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

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero-slogan br {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .button-primary,
  .button-secondary {
    flex: 1 1 145px;
  }

  .board-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .board-note {
    text-align: left;
  }

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

  .board-feature > img {
    height: 330px;
  }

  .board-mini-card img {
    height: 145px;
  }

  .ranking-slip ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading {
    position: relative;
    padding-top: 55px;
  }

  .section-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .section-heading > div {
    width: 100%;
  }

  .comic-grid {
    gap: 11px;
  }

  .comic-cover {
    height: 230px;
    padding: 6px;
  }

  .comic-meta {
    padding: 11px 9px 13px;
  }

  .comic-meta h3 {
    font-size: 14px;
  }

  .faq-item button {
    min-height: 58px;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .footer-inner {
    min-height: 270px;
  }

  .footer-nav ul {
    max-width: 390px;
  }
}

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

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

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

  .mobile-download {
    min-width: 68px;
    padding: 0 7px;
  }

  .hero-tags span {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    flex: none;
  }

  .board-feature > img {
    height: 280px;
  }

  .comic-cover {
    height: 204px;
  }

  .filter-button {
    min-width: 52px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .screen-track {
    gap: 22px;
  }

  .review-card {
    padding: 18px;
  }

  .download-panel {
    padding-right: 18px;
    padding-left: 18px;
  }
}
