@charset "UTF-8";

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

:root {
  --coral: #ff4262;
  --coral-dark: #e92e52;
  --yellow: #ffc833;
  --navy: #071426;
  --navy-soft: #10223a;
  --ink: #0c1729;
  --muted: #637083;
  --cream: #fffaf4;
  --pink-soft: #fff0f3;
  --line: #e8dfe0;
  --white: #ffffff;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

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

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

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

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

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

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

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

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

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: contain;
}

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

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

.brand-copy > span,
.footer-brand small {
  margin-top: 4px;
  color: #7a8798;
  font-size: 12px;
  white-space: nowrap;
}

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

.main-nav a {
  position: relative;
  display: block;
  padding: 27px 0 24px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
}

.main-nav a.is-active {
  color: var(--coral-dark);
}

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

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

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

.menu-toggle i,
.primary-download i,
.download-ticket > a i,
.back-top i,
.hero-features i,
.story-steps i,
.official-site i,
.review-avatar i,
.phone-titlebar i,
.phone-search i {
  display: inline-block;
  flex: 0 0 auto;
}

.menu-toggle i::before,
.primary-download i::before,
.download-ticket > a i::before,
.back-top i::before,
.hero-features i::before,
.story-steps i::before,
.official-site i::before,
.review-avatar i::before,
.phone-titlebar i::before,
.phone-search i::before {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.icon-menu {
  width: 22px;
  height: 22px;
}

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

.icon-download {
  width: 19px;
  height: 19px;
}

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

.icon-up {
  width: 20px;
  height: 20px;
}

.icon-up::before {
  background-image: url("../icons/up.svg");
}

.icon-tag,
.icon-folder,
.icon-bell,
.icon-search,
.icon-sliders,
.icon-globe,
.icon-user {
  width: 20px;
  height: 20px;
}

.icon-tag::before {
  background-image: url("../icons/tag.svg");
}

.icon-folder::before {
  background-image: url("../icons/folder.svg");
}

.icon-bell::before {
  background-image: url("../icons/bell.svg");
}

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

.icon-sliders::before {
  background-image: url("../icons/sliders.svg");
}

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

.icon-user::before {
  background-image: url("../icons/user.svg");
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f0e4e2;
  background:
    linear-gradient(90deg, rgba(255, 66, 98, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 66, 98, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #fff 0%, #fff 56%, #fff1f3 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

.hero::after {
  position: absolute;
  z-index: 0;
  top: 42px;
  right: -76px;
  width: 300px;
  height: 580px;
  border: 16px solid rgba(7, 20, 38, 0.06);
  content: "";
  transform: rotate(9deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 700px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 84px;
}

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

.eyebrow,
.section-index,
.genre-panel-label,
.ticket-copy > p {
  margin-bottom: 15px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero h2 {
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 1.3;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 28px;
  color: #546174;
  font-size: 16px;
}

.hero-features {
  display: flex;
  margin-bottom: 34px;
  padding: 0;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.hero-features li {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  align-items: center;
  gap: 8px;
  border: 1px solid #f3cbd3;
  border-radius: 24px;
  color: #b52743;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-download {
  display: inline-flex;
  min-width: 218px;
  min-height: 58px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--coral);
  color: var(--white);
  background: linear-gradient(90deg, var(--coral), #ff6b5e 58%, var(--yellow));
  font-size: 16px;
  font-weight: 800;
}

.primary-download:hover {
  color: var(--navy);
  background: var(--yellow);
}

.primary-download:hover .icon-download::before {
  filter: brightness(0) saturate(100%);
}

.age-label {
  color: #687689;
  font-size: 12px;
}

.hero-device {
  display: flex;
  padding: 44px 0;
  justify-content: flex-end;
}

.phone-shell {
  width: 300px;
  padding: 13px;
  border: 9px solid #0b1018;
  border-radius: 43px;
  background: #0b1018;
}

.phone-screen {
  position: relative;
  min-height: 568px;
  padding: 18px 15px 66px;
  overflow: hidden;
  border-radius: 28px;
  color: #ecf2fb;
  background: #07101e;
}

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

.phone-status {
  display: flex;
  margin-bottom: 21px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.status-icons {
  font-size: 10px;
  letter-spacing: 2px;
}

.phone-titlebar {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}

.phone-brand {
  font-size: 16px;
  font-weight: 800;
}

.phone-titlebar .icon-bell {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(89%) saturate(793%) hue-rotate(337deg) brightness(102%);
}

.phone-search {
  display: flex;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid #273750;
  border-radius: 20px;
  background: #111f33;
}

.phone-search .icon-search {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.phone-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 12px;
}

.phone-search input::placeholder {
  color: #8290a4;
}

.phone-genres {
  display: grid;
  margin-bottom: 13px;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.phone-genres button {
  min-width: 0;
  padding: 6px 4px;
  border: 1px solid #263650;
  border-radius: 14px;
  color: #a9b4c5;
  background: #101d2f;
  font-size: 12px;
  cursor: pointer;
}

.phone-genres button.is-active {
  border-color: var(--yellow);
  color: #161616;
  background: var(--yellow);
}

.phone-featured {
  position: relative;
  display: grid;
  min-height: 126px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #31435f;
  border-radius: 14px;
  grid-template-columns: 44% 56%;
  background: linear-gradient(135deg, #0e2746, #251827);
}

.phone-featured img {
  width: 100%;
  height: 100%;
  max-height: 126px;
  object-fit: contain;
  background: #0d1829;
}

.phone-featured > div {
  display: flex;
  padding: 15px 12px;
  justify-content: center;
  flex-direction: column;
}

.phone-featured span,
.phone-featured small {
  color: #a6b4c7;
  font-size: 12px;
}

.phone-featured strong {
  margin: 5px 0;
  color: #fff;
  font-size: 16px;
}

.phone-section-title {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  justify-content: space-between;
}

.phone-section-title strong {
  font-size: 14px;
}

.phone-section-title span {
  color: #8390a2;
  font-size: 12px;
}

.phone-drama-list {
  display: grid;
  gap: 7px;
}

.phone-drama-list article {
  display: grid;
  min-height: 49px;
  padding: 6px;
  align-items: center;
  border: 1px solid #1d2d44;
  border-radius: 9px;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  background: #0d192a;
}

.phone-drama-list img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #15243a;
}

.phone-drama-list div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.phone-drama-list strong {
  overflow: hidden;
  color: #eef3fa;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-drama-list span {
  color: #8290a4;
  font-size: 12px;
}

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 58px;
  padding: 7px 8px;
  border-top: 1px solid #1e2c40;
  grid-template-columns: repeat(5, 1fr);
  background: #09121f;
}

.phone-nav button {
  border: 0;
  color: #77869a;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.phone-nav button.is-active {
  color: var(--yellow);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

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

.section-heading .section-index {
  margin-bottom: 8px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

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

.workshop-section {
  background: var(--cream);
}

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

.story-steps {
  display: grid;
  margin-bottom: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}

.story-steps li {
  position: relative;
}

.story-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -24px;
  width: 30px;
  color: var(--coral);
  content: "→";
  font-size: 25px;
  font-weight: 800;
  text-align: center;
  transform: translateY(-50%);
}

.story-steps button {
  width: 100%;
  min-height: 286px;
  padding: 26px 24px;
  border: 1px solid #efcdd4;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--coral) 8px, transparent 8px) top left / 28px 2px repeat-x,
    linear-gradient(90deg, var(--coral) 8px, transparent 8px) bottom left / 28px 2px repeat-x,
    var(--white);
  text-align: left;
  cursor: pointer;
}

.story-steps li.is-active button,
.story-steps button:hover {
  border-color: var(--coral);
  background:
    linear-gradient(90deg, var(--yellow) 8px, transparent 8px) top left / 28px 2px repeat-x,
    linear-gradient(90deg, var(--yellow) 8px, transparent 8px) bottom left / 28px 2px repeat-x,
    var(--pink-soft);
}

.story-steps button > span {
  display: block;
  margin-bottom: 38px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.story-steps button i {
  width: 34px;
  height: 34px;
  margin-bottom: 17px;
}

.story-steps button strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.story-steps button small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.genre-panel {
  padding: 31px 28px;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
}

.genre-panel h3 {
  margin-bottom: 24px;
  font-size: 23px;
  line-height: 1.35;
}

.genre-options {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.genre-options button {
  min-height: 48px;
  border: 1px solid #455166;
  color: #fff;
  background: #12233b;
  font-size: 13px;
  cursor: pointer;
}

.genre-options button.is-active,
.genre-options button:hover {
  border-color: var(--yellow);
  color: #171717;
  background: var(--yellow);
}

.genre-panel p {
  margin-bottom: 0;
  color: #aab5c5;
  font-size: 12px;
}

.ranking-section {
  color: var(--white);
  background: var(--navy);
}

.section-heading-light h2,
.section-heading-light > p {
  color: var(--white);
}

.section-heading-light > p {
  opacity: 0.7;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
}

.ranking-feature {
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #32435a;
  grid-template-rows: 235px 1fr;
  background: var(--navy-soft);
}

.ranking-feature figure {
  height: 235px;
  margin-bottom: 0;
  padding: 14px;
  background: #0b1b30;
}

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

.ranking-feature-copy {
  position: relative;
  padding: 28px 30px;
}

.ranking-feature-copy > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.ranking-feature-copy h3 {
  margin-bottom: 9px;
  font-size: 27px;
}

.ranking-feature-copy p {
  max-width: 520px;
  margin-bottom: 18px;
  color: #b8c2d0;
}

.outline-action {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--coral);
  color: var(--coral);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.outline-action.is-saved {
  border-color: var(--yellow);
  color: var(--navy);
  background: var(--yellow);
}

.ranking-list {
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid #34435a;
  list-style: none;
}

.ranking-list li {
  display: grid;
  min-height: 86px;
  padding: 10px 0;
  align-items: center;
  border-bottom: 1px solid #2c3b50;
  grid-template-columns: 40px 62px 1fr auto;
  gap: 12px;
}

.ranking-list li > span {
  color: var(--coral);
  font-size: 18px;
  font-weight: 900;
}

.ranking-list img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #16263c;
}

.ranking-list div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

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

.ranking-list small {
  color: #8f9aac;
  font-size: 12px;
}

.ranking-list button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #45536a;
  color: #fff;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.ranking-list button.is-saved {
  border-color: var(--yellow);
  color: var(--navy);
  background: var(--yellow);
}

.screens-section {
  background: #fff;
}

.screens-grid {
  display: grid;
  width: 100%;
  max-width: var(--container);
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  justify-content: stretch;
}

.screens-grid figure {
  display: flex;
  width: 100%;
  max-width: none;
  height: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid #dfd7d5;
  flex-direction: column;
  background: var(--cream);
}

.screen-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 9 / 16;
  border-bottom: 1px solid #dfd7d5;
  background: #fff;
}

.screen-viewport img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.screens-grid figcaption {
  display: grid;
  min-height: 98px;
  padding: 18px;
  align-items: start;
  grid-template-columns: 36px 1fr;
}

.screens-grid figcaption > span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  grid-row: 1 / 3;
}

.screens-grid figcaption strong {
  font-size: 17px;
}

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

.faq-section {
  background: #10141a;
}

.faq-section .section-heading h2,
.faq-section .section-heading > p {
  color: #fff;
}

.faq-section .section-heading > p {
  opacity: 0.72;
}

.faq-list {
  border-top: 1px solid #3c424a;
}

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

.faq-item > button,
.official-site > button {
  display: grid;
  width: 100%;
  min-height: 82px;
  padding: 0 20px;
  align-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  grid-template-columns: 40px 1fr 26px;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}

.faq-number {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

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

.faq-sign {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.faq-sign::before,
.faq-sign::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq-sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-sign::after,
.official-site.is-open .faq-sign::after {
  display: none;
}

.faq-answer,
.official-answer {
  display: none;
}

.faq-item.is-open .faq-answer,
.official-site.is-open .official-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 0;
  padding: 0 60px 25px 74px;
  color: #c7cbd1;
}

.official-site {
  margin-top: 24px;
  border: 1px solid var(--yellow);
  color: var(--ink);
  background: #fffaf0;
}

.official-site > button {
  min-height: 76px;
  color: var(--ink);
}

.official-site .icon-globe {
  width: 20px;
  height: 20px;
}

.official-answer a {
  display: block;
  padding: 0 20px 22px 74px;
  color: #b84330;
  text-decoration: underline;
}

.reviews-section {
  background: #fff5f6;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 270px;
  padding: 24px;
  border-top: 4px solid var(--coral);
  background: #fff;
  flex-direction: column;
}

.review-user {
  display: grid;
  margin-bottom: 20px;
  align-items: center;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
}

.review-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  place-items: center;
}

.review-avatar i {
  width: 21px;
  height: 21px;
  filter: brightness(0) invert(1);
}

.review-user strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  display: inline-flex;
  justify-content: flex-end;
  color: #f3a600;
  white-space: nowrap;
}

.review-rating .fa {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

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

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

.review-card > p {
  margin-bottom: 24px;
  color: #3e4858;
  line-height: 1.85;
}

.review-card time {
  margin-top: auto;
  color: #8a94a3;
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 72px 0;
  background: #fff;
}

.download-ticket {
  display: grid;
  min-height: 162px;
  overflow: hidden;
  border: 1px solid #e5bd45;
  grid-template-columns: 190px 1fr 250px;
  background: #fff8d9;
}

.ticket-number {
  position: relative;
  display: flex;
  padding: 22px;
  align-items: center;
  justify-content: center;
  border-right: 2px dashed rgba(255, 255, 255, 0.85);
  color: #fff;
  background: var(--coral);
  flex-direction: column;
}

.ticket-number::before,
.ticket-number::after {
  position: absolute;
  right: -15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.ticket-number::before {
  top: -15px;
}

.ticket-number::after {
  bottom: -15px;
}

.ticket-number strong {
  font-size: 54px;
  line-height: 1;
}

.ticket-number span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ticket-copy {
  display: flex;
  padding: 26px 34px;
  justify-content: center;
  flex-direction: column;
}

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

.ticket-copy h2 {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.25;
}

.ticket-copy > span {
  color: #6f6249;
  font-size: 13px;
}

.download-ticket > a {
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 18px;
  font-weight: 900;
}

.download-ticket > a:hover {
  color: #fff;
  background: var(--coral);
}

.download-ticket > a:hover .icon-download::before {
  filter: brightness(0) invert(1);
}

.site-footer {
  color: #eaf0f8;
  background: var(--navy);
}

.footer-inner {
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  padding-bottom: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-brand small {
  color: #92a0b3;
}

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

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

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: #8f9caf;
  font-size: 12px;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--navy);
  color: #fff;
  background: var(--coral);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  place-items: center;
}

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

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

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

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

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

  .genre-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }

  .genre-options {
    grid-row: 1 / 4;
    grid-column: 2;
  }

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

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

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

  body {
    padding-top: var(--header-height);
  }

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

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

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

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

  .mobile-actions {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid #ece6e2;
    border-bottom: 1px solid #ece6e2;
    background: #fff;
  }

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

  .main-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--container));
    margin: 0 auto;
  }

  .main-nav li {
    border-bottom: 1px solid #eee7e3;
  }

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

  .main-nav a {
    padding: 15px 4px;
  }

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

  .hero::after {
    display: none;
  }

  .hero-inner {
    display: flex;
    min-height: 0;
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .hero-copy {
    width: 100%;
    max-width: 640px;
    padding: 62px 0 32px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
    white-space: normal;
  }

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

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

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

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

  .hero-device {
    width: 100%;
    padding: 22px 0 60px;
    justify-content: center;
  }

  .phone-shell {
    width: min(286px, 82vw);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

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

  .section-heading > p {
    margin-top: 13px;
    margin-bottom: 0;
    text-align: left;
  }

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

  .story-steps li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -25px;
    transform: translateX(50%) rotate(90deg);
  }

  .story-steps button {
    min-height: 188px;
  }

  .story-steps button > span {
    margin-bottom: 18px;
  }

  .genre-panel {
    display: block;
  }

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

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

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

  .download-ticket > a {
    min-height: 64px;
    grid-column: 1 / 3;
  }

  .footer-top {
    align-items: center;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

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

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

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

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

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

  .eyebrow {
    margin-bottom: 10px;
  }

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

  .hero h2 {
    margin-bottom: 17px;
    font-size: 23px;
  }

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

  .hero-features {
    gap: 8px;
  }

  .hero-features li {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .primary-download {
    width: min(240px, 100%);
  }

  .phone-shell {
    width: min(274px, 86vw);
  }

  .section {
    padding: 60px 0;
  }

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

  .ranking-feature {
    min-height: 0;
  }

  .ranking-list li {
    grid-template-columns: 32px 52px 1fr;
  }

  .ranking-list img {
    width: 52px;
    height: 52px;
  }

  .ranking-list button {
    grid-column: 3;
    justify-self: start;
  }

  .screens-grid {
    gap: 10px;
  }

  .screen-viewport {
    aspect-ratio: 9 / 16;
  }

  .screens-grid figcaption {
    min-height: 92px;
    padding: 12px 8px;
    grid-template-columns: 28px 1fr;
  }

  .screens-grid figcaption strong {
    font-size: 14px;
  }

  .faq-item > button,
  .official-site > button {
    min-height: 74px;
    padding: 0 10px;
    grid-template-columns: 30px 1fr 22px;
    gap: 8px;
  }

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

  .faq-answer p {
    padding: 0 38px 22px 40px;
    font-size: 13px;
  }

  .official-answer a {
    padding: 0 12px 20px 40px;
    overflow-wrap: anywhere;
  }

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

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

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

  .download-ticket {
    display: flex;
    flex-direction: column;
  }

  .ticket-number {
    min-height: 104px;
    border-right: 0;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.85);
  }

  .ticket-number::before,
  .ticket-number::after {
    top: auto;
    right: auto;
    bottom: -15px;
  }

  .ticket-number::before {
    left: -15px;
  }

  .ticket-number::after {
    right: -15px;
  }

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

  .ticket-copy {
    padding: 26px 22px;
    text-align: center;
  }

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

  .download-ticket > a {
    min-height: 64px;
  }

  .footer-inner {
    padding-top: 40px;
  }

  .footer-nav {
    gap: 13px 18px;
  }

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

  a,
  button,
  summary {
    transition: none !important;
  }
}

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

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

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

  .screens-grid figcaption {
    display: grid;
    align-items: start;
    grid-template-columns: 24px 1fr;
  }
}
