@charset "UTF-8";

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

:root {
  --paper: #fffaf1;
  --paper-deep: #f7eddd;
  --ink: #1f1a17;
  --ink-soft: #675f58;
  --coral: #f65e53;
  --coral-deep: #dc443e;
  --yellow: #ffc947;
  --green: #2ca675;
  --line: #decfba;
  --white: #ffffff;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

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

ul,
ol {
  padding: 0;
}

button,
summary {
  cursor: pointer;
}

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

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

.container,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text strong,
.footer-brand strong {
  font-size: 20px;
  font-weight: 900;
}

.brand-text span,
.footer-brand small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

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

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

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

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

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

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 42px;
  padding: 0 15px;
  color: var(--white);
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.i-menu {
  background-image: url("../icons/menu.svg");
}

.i-search {
  background-image: url("../icons/search.svg");
}

.i-crown {
  background-image: url("../icons/crown.svg");
}

.i-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.i-download {
  background-image: url("../icons/download.svg");
}

.i-globe {
  background-image: url("../icons/globe.svg");
}

.i-avatar {
  background-image: url("../icons/avatar.svg");
}

.i-arrow {
  background-image: url("../icons/arrow.svg");
}

.i-top {
  background-image: url("../icons/top.svg");
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(246, 94, 83, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 110px;
  left: -42px;
  width: 150px;
  height: 22px;
  background: var(--yellow);
  transform: rotate(-8deg);
}

.hero::after {
  right: 0;
  bottom: 74px;
  width: 170px;
  height: 170px;
  border: 22px solid rgba(246, 94, 83, 0.16);
  border-radius: 50%;
  transform: translateX(72px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  align-items: center;
  min-height: 780px;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 86px 0;
}

.eyebrow,
.section-index,
.ticket-copy > p {
  margin-bottom: 18px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--coral);
  font-size: clamp(72px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.25;
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 17px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  list-style: none;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hero-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  min-height: 58px;
  padding: 12px 26px;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--coral);
  font-weight: 900;
  white-space: nowrap;
}

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

.primary-link:hover .i-download {
  background-image: url("../icons/download-coral.svg");
}

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

.phone-stage {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.phone-shell {
  width: 314px;
  padding: 14px;
  background: #171717;
  border: 2px solid #000000;
  border-radius: 46px;
}

.phone-screen {
  position: relative;
  min-height: 610px;
  padding: 18px 14px 58px;
  overflow: hidden;
  background: var(--white);
  border-radius: 33px;
}

.phone-screen::before {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 92px;
  height: 26px;
  content: "";
  background: #111111;
  border-radius: 18px;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  margin-bottom: 16px;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 800;
}

.phone-status-icons {
  font-size: 12px;
  letter-spacing: 3px;
}

.phone-appbar,
.phone-recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-appbar {
  margin-bottom: 14px;
}

.phone-app-name {
  color: var(--coral);
  font-size: 22px;
  font-weight: 900;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin-bottom: 12px;
  padding: 0 13px;
  background: #f4f0ea;
  border-radius: 22px;
}

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

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

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 12px;
  border-bottom: 1px solid #e8ded1;
}

.phone-tabs button {
  position: relative;
  padding: 9px 0;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
}

.phone-tabs button.is-active {
  color: var(--coral);
}

.phone-tabs button.is-active::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  content: "";
  background: var(--coral);
}

.phone-feature {
  display: grid;
  grid-template-columns: 1fr 86px;
  min-height: 132px;
  margin-bottom: 14px;
  overflow: hidden;
  color: var(--white);
  background: #32201f;
  border-radius: 12px;
}

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

.phone-feature span,
.phone-feature p {
  margin: 0;
  font-size: 12px;
}

.phone-feature strong {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.35;
}

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

.phone-recommend-head {
  margin-bottom: 9px;
  font-size: 12px;
}

.phone-recommend-head strong {
  font-size: 14px;
}

.phone-recommend-head span {
  color: var(--ink-soft);
}

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

.phone-comics figure {
  aspect-ratio: 3 / 4;
  margin: 0 0 6px;
  overflow: hidden;
  background: #f4eee6;
  border-radius: 7px;
}

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

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

.phone-comics span {
  color: var(--ink-soft);
}

.phone-bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px 8px;
  background: var(--white);
  border-top: 1px solid #eadfd3;
  text-align: center;
  font-size: 12px;
}

.phone-bottom-nav .is-current {
  color: var(--coral);
  font-weight: 900;
}

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

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--ink-soft);
  text-align: right;
}

.section-index {
  margin-bottom: 12px;
}

.calendar-section {
  background: #fffdf8;
}

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

.week-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--line);
}

.week-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 82px;
  padding: 14px 8px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
}

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

.week-rail button.is-active {
  color: var(--white);
  background: var(--coral);
}

.week-rail span {
  margin-bottom: 5px;
  font-weight: 900;
}

.week-rail small {
  font-size: 12px;
}

.calendar-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 0;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.update-list article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.update-list figure {
  width: 82px;
  height: 112px;
  margin: 0;
  background: var(--paper-deep);
}

.update-list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.update-list article > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.update-list strong,
.update-list span,
.update-list small {
  display: block;
}

.update-list strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.update-list span,
.update-list small {
  color: var(--ink-soft);
  font-size: 12px;
}

.reminder-card {
  padding: 24px;
  background: var(--paper-deep);
}

.reminder-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 25px;
}

.reminder-count strong {
  margin-right: auto;
}

.reminder-count b {
  color: var(--coral);
  font-size: 30px;
}

.reminder-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.reminder-toggle i {
  position: relative;
  display: block;
  width: 42px;
  height: 22px;
  background: #bdb3a6;
  border-radius: 14px;
}

.reminder-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  transition: left 0.2s ease;
}

.reminder-toggle.is-active i {
  background: var(--green);
}

.reminder-toggle.is-active i::after {
  left: 23px;
}

.reminder-card p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

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

.ranking-tabs button {
  min-width: 90px;
  min-height: 42px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.ranking-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
}

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

.rank-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
}

.rank-number {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.rank-card figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 16px;
  background: #fff7ec;
}

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

.rank-card > div {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.rank-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.rank-card p,
.rank-card div > span {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.ranking-list {
  margin: 0;
  padding: 12px 22px 12px 58px;
  background: var(--white);
  border: 1px solid var(--line);
}

.ranking-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  border-bottom: 1px dashed var(--line);
}

.ranking-list li:last-child {
  border-bottom: 0;
}

.ranking-list li::marker {
  color: var(--coral);
  font-weight: 900;
}

.ranking-list span {
  font-weight: 800;
}

.ranking-list small {
  display: none;
  color: var(--ink-soft);
  font-size: 12px;
}

.ranking-list b {
  color: var(--coral);
  font-size: 12px;
}

.screens-section {
  background: #fffdf8;
}

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

.screen-grid figure {
  min-width: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.screen-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 12px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-grid figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 16px;
}

.screen-grid figcaption > b {
  color: var(--coral);
  font-size: 18px;
}

.screen-grid figcaption span {
  display: flex;
  flex-direction: column;
}

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

.screen-grid figcaption small {
  color: var(--ink-soft);
  font-size: 12px;
}

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

.faq-list,
.official-detail {
  width: 100%;
}

.faq-item,
.official-detail {
  background: var(--white);
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.faq-item summary,
.official-detail summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 72px;
  padding: 12px 22px;
  list-style: none;
}

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

.faq-item summary > span:first-child {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.faq-item summary strong,
.official-detail summary strong {
  font-size: 16px;
}

.faq-item summary i,
.official-detail summary > span:last-child {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.faq-item summary i::before,
.faq-item summary i::after,
.official-detail summary > span:last-child::before,
.official-detail summary > span:last-child::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  content: "";
  background: var(--ink);
}

.faq-item summary i::after,
.official-detail summary > span:last-child::after {
  transform: rotate(90deg);
}

.faq-item[open] summary i::after,
.official-detail[open] summary > span:last-child::after {
  transform: rotate(0);
}

.faq-item > p {
  margin: 0;
  padding: 0 76px 24px;
  color: var(--ink-soft);
}

.official-detail {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}

.official-detail summary {
  grid-template-columns: 34px minmax(0, 1fr) 28px;
}

.official-answer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 76px 24px;
}

.official-answer p {
  margin: 0;
  color: var(--ink-soft);
}

.official-answer a {
  color: var(--coral-deep);
  font-weight: 800;
}

.reviews-section {
  background: #fff3ea;
}

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

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

.review-card:nth-child(even) {
  border-top-color: var(--yellow);
}

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

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

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

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

.review-rating {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-height: 24px;
  color: #f0a400;
  white-space: nowrap;
}

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

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

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

.review-card > p {
  margin: 20px 0 18px;
  color: #37302b;
  font-size: 14px;
  line-height: 1.9;
}

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

.download-section {
  padding: 64px 0;
  background: var(--paper);
}

.download-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 250px;
  min-height: 180px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--coral);
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  z-index: 2;
  left: 139px;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--paper);
  border: 2px solid var(--coral);
  border-radius: 50%;
}

.download-ticket::before {
  top: -12px;
}

.download-ticket::after {
  bottom: -12px;
}

.ticket-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
  border-right: 1px dashed var(--coral);
}

.ticket-number span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ticket-number strong {
  color: var(--coral);
  font-size: 72px;
  line-height: 1;
}

.ticket-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 42px;
  background-image: linear-gradient(135deg, transparent 60%, rgba(246, 94, 83, 0.06) 60%);
}

.ticket-copy > p {
  margin-bottom: 8px;
}

.ticket-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.25;
}

.ticket-copy > span {
  color: var(--ink-soft);
  font-size: 14px;
}

.ticket-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink);
  background: var(--yellow);
  border-left: 2px solid var(--coral);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-link:hover {
  color: var(--white);
  background: var(--coral);
}

.ticket-link:hover .i-arrow {
  background-image: url("../icons/arrow-white.svg");
}

.site-footer {
  color: var(--white);
  background: #24201d;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 24px;
}

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

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

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

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

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

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  color: #c9beb5;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--coral);
  border: 2px solid var(--ink);
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.back-top .i-top {
  width: 22px;
  height: 22px;
}

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

  .hero-inner {
    gap: 28px;
  }

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

  .update-list article {
    grid-template-columns: 64px 1fr;
    padding: 18px;
  }

  .update-list figure {
    width: 64px;
    height: 94px;
  }

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

  .ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

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

  .download-ticket::before,
  .download-ticket::after {
    left: 119px;
  }
}

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

  html,
  body {
    overflow-x: hidden;
  }

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 30px), var(--container));
  }

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

  .brand img {
    width: 38px;
    height: 38px;
  }

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

  .brand-text span {
    margin-top: 2px;
    font-size: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px 15px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

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

  .mobile-actions {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 0;
  }

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

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

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

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

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

  .phone-stage {
    justify-content: center;
  }

  .phone-shell {
    width: min(304px, 88vw);
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

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

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

  .week-rail {
    overflow-x: auto;
    grid-template-columns: repeat(7, 110px);
  }

  .calendar-content {
    grid-template-columns: 1fr;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .update-list article {
    grid-template-columns: 78px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .update-list figure {
    width: 78px;
    height: 104px;
  }

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

  .rank-card figure {
    padding: 8px;
  }

  .rank-card > div {
    padding: 12px;
  }

  .rank-card h3 {
    font-size: 14px;
  }

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

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

  .download-ticket {
    grid-template-columns: 112px 1fr;
  }

  .download-ticket::before,
  .download-ticket::after {
    left: 101px;
  }

  .ticket-link {
    grid-column: 1 / -1;
    min-height: 76px;
    border-top: 2px solid var(--coral);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 24px), var(--container));
  }

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

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

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

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

  .hero-inner {
    padding: 52px 0 60px;
  }

  .eyebrow,
  .section-index {
    font-size: 12px;
  }

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

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

  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-features li {
    flex-direction: column;
    gap: 5px;
    padding: 10px 4px;
    font-size: 12px;
  }

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

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

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

  .section-heading > p {
    font-size: 14px;
  }

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

  .rank-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .rank-card figure {
    aspect-ratio: 3 / 4;
  }

  .rank-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .ranking-list {
    grid-template-columns: 1fr;
    padding-left: 52px;
  }

  .screen-grid {
    gap: 10px;
  }

  .screen-image {
    padding: 6px;
  }

  .screen-grid figcaption {
    align-items: flex-start;
    gap: 8px;
    min-height: 76px;
    padding: 10px;
  }

  .screen-grid figcaption > b {
    font-size: 14px;
  }

  .screen-grid figcaption strong,
  .screen-grid figcaption small {
    font-size: 12px;
  }

  .faq-item summary,
  .official-detail summary {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    padding: 12px 14px;
  }

  .official-detail summary {
    grid-template-columns: 26px minmax(0, 1fr) 24px;
  }

  .faq-item summary strong,
  .official-detail summary strong {
    font-size: 14px;
  }

  .faq-item > p,
  .official-answer {
    padding: 0 18px 20px 52px;
  }

  .official-answer {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .download-ticket {
    grid-template-columns: 78px 1fr;
  }

  .download-ticket::before,
  .download-ticket::after {
    left: 67px;
  }

  .ticket-number strong {
    font-size: 48px;
  }

  .ticket-number span {
    writing-mode: vertical-rl;
  }

  .ticket-copy {
    padding: 24px 18px 24px 28px;
  }

  .ticket-copy h2 {
    font-size: 23px;
  }

  .ticket-link {
    font-size: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

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

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

  .brand {
    gap: 5px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

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

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

  .mobile-actions {
    gap: 5px;
  }

  .mobile-download {
    min-width: 70px;
    padding: 0 8px;
  }

  .hero-features li {
    font-size: 12px;
  }

  .phone-shell {
    width: 286px;
    padding: 11px;
  }

  .phone-screen {
    padding-right: 11px;
    padding-left: 11px;
  }
}

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

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