@font-face {
  font-family: "Meng Cover";
  src: url("./assets/cover-zh.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+840C, U+8F7B, U+9605;
}
:root {
  color-scheme: light;
  --ink: #283b15;
  --pine: #385813;
  --olive: #688316;
  --paper: #fdfcf5;
  --line: #dce4ba;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, a { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #486719; outline-offset: 4px; }
h1, h2, p, ul { margin: 0; }
svg { width: 1.2em; height: 1.2em; flex: none; }
.campaign { position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; min-height: 100svh; max-width: 1920px; margin-inline: auto; }
.masthead { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1350px; margin-inline: auto; padding: 16px clamp(32px, 6.25vw, 100px); }
.brand { display: inline-flex; align-items: center; gap: .48em; font-size: 26px; font-weight: 800; color: #272c20; letter-spacing: .045em; }
.brand img { width: 43px; height: 43px; display: block; }
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
nav a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; }
nav a:hover, .secondary:hover { color: #526f0a; text-decoration: underline; text-underline-offset: 4px; }
nav svg { width: 1em; }
.menu-toggle { border: 0; background: transparent; width: 44px; height: 44px; padding: 7px; color: #303722; cursor: pointer; }
.menu-toggle svg { width: 100%; height: 100%; }
.event { position: relative; isolation: isolate; display: grid; padding: clamp(32px, 4.2vw, 72px) max(6.25vw, calc((100% - 1180px) / 2)) 36px; grid-template-columns: min(43vw, 490px) 1fr; }
.intro, .countdown, .actions { grid-column: 1; }
.scene { position: absolute; z-index: -1; pointer-events: none; inset: -98px 0 0 32%; background: url("./assets/window-cat.webp") center bottom / cover no-repeat; mask-image: linear-gradient(to right, transparent 0%, #000 26%); }
.cover-title {
  display: flex;
  align-items: baseline;
  gap: .17em;
  color: #304c25;
  font-size: clamp(52px, 5.55vw, 86px);
  line-height: 1.08;
  white-space: nowrap;
}
.cover-name {
  font-family: "Meng Cover", "Kaiti SC", KaiTi, "Songti SC", serif;
  font-weight: 400;
  letter-spacing: .025em;
  -webkit-text-stroke: .009em currentColor;
}
.cover-format {
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .28em;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .13em;
  color: #586b39;
}
.cover-format::before {
  content: "";
  position: absolute;
  bottom: calc(100% + .16em);
  left: 0;
  width: .96em;
  height: .85em;
  background: url("./assets/accents.webp") right center / 200% 100% no-repeat;
}
.tagline { display: flex; align-items: center; gap: .65em; margin-top: 8px; color: #4b503a; font-size: clamp(16px, 1.45vw, 22px); letter-spacing: .12em; }
.tagline::before, .tagline::after { content: ""; height: 1px; width: 1.5em; background: #9fa68c; }
.edition { display: table; margin: 26px 0 10px; border-radius: 99px; padding: .27em .95em .31em; color: #fff; background: linear-gradient(160deg, #b8ce27, #7ca51e); font-weight: 720; font-size: 18px; letter-spacing: .05em; }
.headline { font-weight: 850; font-size: clamp(39px, 4.1vw, 62px); letter-spacing: .075em; line-height: 1.18; color: #65800d; transform: skew(-5deg); transform-origin: left; }
.countdown { position: relative; margin-top: 23px; padding: 18px clamp(18px, 2.1vw, 32px) 14px; background: #fffdf4; border: 1px solid #d9dcc5; border-radius: 20px; box-shadow: 0 5px 18px #515c2b12; text-align: center; }
.countdown h2, .date, .primary, .secondary { display: flex; align-items: center; justify-content: center; }
.countdown h2 { gap: .48em; font-size: 18px; letter-spacing: .1em; font-weight: 650; color: var(--pine); }
.countdown h2 svg, .date svg { color: #728052; }
.digits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 15px 0; }
.digits > div { position: relative; display: grid; justify-items: center; gap: 3px; }
.digits > div + div::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: #d7dcc4; }
.digits strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 45px; line-height: 1.05; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.035em; color: #304b35; }
.digits > div > span { font-size: 13px; line-height: 1.35; color: #5c674c; }
.digit-slot { display: inline-block; position: relative; vertical-align: top; }
.digit-out { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .digit-in { display: block; transform-origin: center 58%; animation: page-arrive 140ms ease-out 60ms backwards; }
  .digit-out { display: block; position: absolute; inset: 0; transform-origin: center 58%; pointer-events: none; user-select: none; animation: page-depart 85ms ease-in forwards; }
  .digit-out::before { content: attr(data-glyph); }
  @keyframes page-depart {
    from { transform: perspective(5em) rotateX(0); opacity: 1; }
    to { transform: perspective(5em) rotateX(-55deg); opacity: 0; }
  }
  @keyframes page-arrive {
    from { transform: perspective(5em) rotateX(48deg); opacity: 0; }
    to { transform: perspective(5em) rotateX(0); opacity: 1; }
  }
}
.date { flex-wrap: wrap; gap: .25em .45em; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e4e6d5; font-size: 14px; color: #5c674c; }
.date time { font-weight: 600; color: #43553d; }
.date svg { width: 1em; height: 1em; }
.actions { display: flex; flex-wrap: wrap; align-items: flex-start; flex-direction: column; margin-top: 21px; gap: 12px; }
.primary, .secondary { position: relative; gap: .45em; width: fit-content; max-width: 100%; font-weight: 730; letter-spacing: .045em; border-radius: 99px; }
.primary { min-height: 53px; padding: .45em 1.7em .5em; background: linear-gradient(170deg, #c6d931, #91ae17 56%, #7fa01b); border: 1px solid #8aa717; box-shadow: inset 0 1px 2px #fcffc9, 0 6px 15px #8ca91e30; color: white; font-size: 23px; }
.primary:hover { filter: brightness(.96); }
.primary:active { box-shadow: inset 0 2px 5px #73951666; }
.primary .android { width: 1.23em; height: 1.23em; }
.primary .arrow { width: 1.05em; }
.secondary { min-height: 42px; padding: .35em 1.1em; border: 1.5px solid #8ba231; color: #476122; background: #fffdf4d9; font-size: 15px; }
.notice { font-size: 14px; line-height: 1.6; max-width: 32em; }
.notice:empty { display: none; }
.features { position: relative; flex: 1; padding: 26px 5% clamp(58px, 6.8vw, 100px); background: #fffefa url("./assets/meadow.webp") center bottom / 100% clamp(48px, 5vw, 95px) no-repeat; }
.features ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; max-width: 880px; margin: auto; padding: 0; }
.features li { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; color: #444e30; font-size: 16px; letter-spacing: .06em; }
.features li + li::before { content: ""; position: absolute; left: 0; height: 24px; width: 1px; background: #c7cfb5; }
.features svg { color: #74951b; width: 27px; height: 27px; }
@media (min-width: 1600px) {
  .event { min-height: 660px; align-content: center; }
}
@media (max-width: 959px) {
  .campaign { max-width: 620px; container-type: inline-size; background-color: #fffef7; }
  .masthead { min-height: max(48px, 12.3cqw); padding: 0 4cqw 0 5.6cqw; background: linear-gradient(95deg, #fffffff5 15%, #ffffff68 70%, transparent); }
  .brand { font-size: clamp(20px, 5.15cqw, 30px); }
  .brand img { width: clamp(36px, 9.55cqw, 55px); height: auto; }
  nav { position: absolute; right: 4cqw; top: calc(100% + 4px); background: #fffff9; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px #42511e26; display: grid; gap: 0; min-width: 145px; padding: 5px 14px; }
  nav a + a { border-top: 1px solid #e9edd8; }
  .event { display: block; padding: 0 0 2.2cqw; }
  .scene { inset: calc(-1 * max(48px, 12.3cqw)) 0 auto; height: 96cqw; background-size: 100% 100%; mask-image: linear-gradient(#000 90%,transparent); }
  .intro { text-align: center; min-height: 75cqw; padding: 5.7cqw 3cqw 29cqw; }
  .cover-title { justify-content: center; font-size: 12.2cqw; }
  .tagline { margin-top: 1.5cqw; justify-content: center; font-size: max(12px, 3.55cqw); gap: 1em; }
  .edition { margin: 2.45cqw auto 1.5cqw; font-size: max(14px, 4.1cqw); padding: .13em 1.1em .17em; }
  .headline { font-size: 9.4cqw; line-height: 1.15; transform-origin: center; }
  .headline::before, .headline::after, .actions::before, .actions::after { content: ""; display: inline-block; pointer-events: none; width: .84em; height: .75em; background: url("./assets/accents.webp") left center / 200% 100% no-repeat; }
  .headline::before { margin-right: .12em; }
  .headline::after { margin-left: .12em; transform: scaleX(-1); }
  .countdown { margin: 0 3.8cqw; padding: 2.9cqw 4cqw 2.6cqw; border-radius: clamp(16px, 5cqw, 24px); }
  .countdown h2 { font-size: clamp(15px, 4.2cqw, 20px); }
  .digits { margin: 2.8cqw 0; }
  .digits strong { font-size: clamp(32px, 10cqw, 50px); }
  .digits > div > span { font-size: clamp(12px, 3cqw, 14px); }
  .date { margin-top: 2cqw; padding-top: 2cqw; font-size: clamp(12px, 3.3cqw, 15px); }
  .actions { position: relative; align-items: center; margin: 4.1cqw 5cqw 0; gap: 2.3cqw; }
  .actions::before, .actions::after { position: absolute; width: 8cqw; height: 7cqw; background-position: right center; }
  .actions::before { left: -1cqw; top: 1cqw; }
  .actions::after { right: -1cqw; bottom: 3cqw; transform: rotate(18deg); }
  .primary { width: max(65cqw, 218px); min-height: max(44px, 11.5cqw); font-size: max(17px, 4.25cqw); padding: .33em 1.5em; }
  .secondary { font-size: max(14px, 3.45cqw); min-height: max(36px, 7.7cqw); padding: .2em 1.2em; }
  .notice { text-align: center; }
  .features { padding: 1.3cqw 5.8cqw 13.8cqw; background-color: #fffef7; background-size: 100% auto; }
  .features li { flex-direction: column; gap: .4cqw; font-size: max(12px, 3.05cqw); letter-spacing: .06em; }
  .features svg { width: 5.65cqw; height: 5.65cqw; }
  .features li + li::before { height: 65%; top: 18%; }
}
@media (max-width: 959px) and (scripting: none) {
  nav { position: static; display: flex; min-width: 0; box-shadow: none; padding: 0; border: 0; background: transparent; }
  nav a[href^="#"] { display: none; }
}
