@import url("fonts.css");
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #010b22;
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: #fff;
  overflow: hidden;
}
button, input { font-family: inherit; }
button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; }
img { max-width: none; }

#phone {
  position: relative;
  overflow: hidden;
  background: #021433 url("../assets/bg@2x.png") center bottom / cover no-repeat;
  flex: none;
}
#design {
  position: absolute;
  left: 50%;
  top: 0;
  width: 750px;
  height: 1624px;
  transform-origin: top center;
}

.top { position: absolute; left: 0; top: 0; width: 750px; height: 340px; text-align: center; }
.logo { position: absolute; left: 50%; top: 98px; height: 37px; width: auto; transform: translateX(-50%); z-index: 1; }
.slogan { position: absolute; left: 50%; top: 155px; height: 59px; width: auto; transform: translateX(-50%); z-index: 1; }
.slogan-en {
  position: absolute; left: 0; right: 0; top: 222px; margin: 0; z-index: 1;
  font-size: 22px; letter-spacing: 3.6px; font-weight: 500; color: #fff;
}
.sub {
  position: absolute; left: 0; right: 0; top: 268px; margin: 0; z-index: 1;
  font-size: 23px; letter-spacing: 6px; font-weight: 500; color: #fff;
}
.event-en {
  position: absolute; left: 0; right: 0; top: 309px; margin: 0; z-index: 1;
  font-size: 24px; letter-spacing: 2.8px; font-weight: 500; color: #fff;
}
.event-en b { font-weight: 800; }
.flare-clip {
  position: absolute; left: 0; top: 346px; width: 750px; height: 36px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.flare {
  position: absolute; left: 50%; top: -206px; width: 790px; height: auto;
  transform: translateX(-50%); mix-blend-mode: screen;
}

.view { position: absolute; left: 0; top: 330px; width: 750px; height: 1294px; }
.view[hidden] { display: none !important; }

.journey { text-align: center; margin-top: 104px; }
.journey-cn {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 42px; font-weight: 700; letter-spacing: 2px;
}
.journey-cn i { width: 54px; height: 4px; display: block; }
.journey-cn i:first-child { background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 100%); }
.journey-cn i:last-child { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%); }
.journey-en { margin-top: 8px; font-size: 28px; font-weight: 500; letter-spacing: 0.5px; }

.map-stage { position: relative; width: 750px; height: 690px; margin-top: 6px; }
.booth {
  position: absolute; left: 8px; top: 128px; width: 734px; height: auto;
  pointer-events: none; user-select: none;
}
.map-lines { position: absolute; inset: 0; width: 750px; height: 690px; pointer-events: none; overflow: visible; }
.label {
  position: absolute; z-index: 3;
  width: auto; height: 52px; padding: 0 28px;
  border-radius: 70px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 650; letter-spacing: 0;
  white-space: nowrap; color: #fff;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.4);
}
.label.lit {
  color: #fff;
  border-color: transparent;
}
.label.lit.gold {
  width: 322px;
  border-radius: 70px;
  background:
    linear-gradient(0deg, #DDC34A 0%, #C59F00 100%) padding-box,
    linear-gradient(#fff, #fff) border-box;
}
.label.lit.orange {
  width: 340px;
  border-radius: 165px;
  background:
    linear-gradient(0deg, #FFBE4E 1.24%, #FF7A08 100%) padding-box,
    linear-gradient(#fff, #fff) border-box;
}
.pin.lit.gold img { filter: hue-rotate(16deg) saturate(1.5) brightness(1.05); }
.pin {
  position: absolute; z-index: 4; width: 50px; height: 63px;
  transform-origin: 50% 90%;
}
.pin img { width: 50px; height: 63px; display: block; }
.pin.on { transform: scale(1.12); }

.hint { text-align: center; margin-top: 11px; }
.hint-cn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 32px; font-weight: 650; letter-spacing: 1px;
}
.hint-pin { width: 34px; height: 43px; display: block; flex: none; }
.hint-en { margin-top: 10px; font-size: 26px; font-weight: 500; }
.hint-guide { margin-top: 78px; }
.hint-guide .cam { width: 46px; height: 38px; display: block; }

.pill {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 137px;
  border: 2px solid transparent;
  background:
    linear-gradient(0deg, #5487DF 0%, #215FEE 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3)) border-box;
  box-shadow: none;
  color: #fff;
}
.pill:active { transform: translateY(1px) scale(0.985); }
.pill .cn { font-size: 36px; font-weight: 750; line-height: 1.15; letter-spacing: 1px; }
.pill .en { margin-top: 2px; font-size: 22px; font-weight: 500; line-height: 1.2; }
.pill-mid { width: 400px; height: 96px; margin: 96px auto 0; }
.pill-in { width: 520px; height: 112px; margin: 22px auto 8px; }
.pill-wide { width: 560px; height: 118px; margin: 28px auto 0; }
.pill[disabled] { opacity: 0.7; }

.card {
  position: relative;
  width: 670px; margin: 78px auto 0;
  padding: 36px 46px 32px;
  border: 0;
  background: url("../assets/ban.png") center / 100% 100% no-repeat;
  box-shadow: none;
}
.card-title { margin: 0; text-align: center; font-size: 31px; font-weight: 750; letter-spacing: 0; }
.card-en { text-align: center; margin-top: 4px; font-size: 27px; font-weight: 650; letter-spacing: 0; }
.photo-wrap {
  position: relative; margin: 22px auto 0; width: 560px; height: 360px;
  border-radius: 18px; overflow: hidden; background: #16356f;
}
.photo-wrap > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead { margin: 22px 0 0; text-align: center; color: #ffb87b; font-size: 32px; font-weight: 750; letter-spacing: 1px; }
.lead-en { margin: 8px 0 0; text-align: center; font-size: 26px; line-height: 1.35; font-weight: 500; }
.ok-pop {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68.6%; height: 71.2%; box-sizing: border-box;
  border-radius: 16px;
  background: rgba(18, 24, 32, 0.62); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ok-pop img { width: 108px; height: 108px; display: block; }
.ok-cn { margin-top: 6px; font-size: 36px; font-weight: 750; }
.ok-en { margin-top: 2px; font-size: 26px; font-weight: 500; }

.card-stamps { margin-top: 93px; padding-bottom: 28px; }
.card-stamps .card-title { font-size: 40px; }
.desc { margin: 18px 0 0; text-align: center; font-size: 28px; font-weight: 650; letter-spacing: 0.5px; }
.desc-en { margin: 6px 0 0; text-align: center; font-size: 24px; line-height: 1.35; font-weight: 500; }
.badge-grid { position: relative; z-index: 1; margin-top: 64px; }
.badge-row { display: flex; justify-content: center; gap: 18px; }
.badge-row + .badge-row { margin-top: 64px; }
.badge { width: 176px; text-align: center; }
.hex {
  width: 124px; height: 140px; margin: 0 auto; position: relative;
  color: var(--c);
}
.hex b {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #f4f8fb;
}
.badge.lit .hex b { background: var(--c); }
.badge.lit .hex { color: #fff; }
.ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.ico {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 58px; z-index: 2;
  background: var(--c);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.badge.lit .ico { background: #fff; }
.ico-excavator { -webkit-mask-image: url("../assets/挖掘机@2x.png"); mask-image: url("../assets/挖掘机@2x.png"); }
.ico-recycle { -webkit-mask-image: url("../assets/形状@2x.png"); mask-image: url("../assets/形状@2x.png"); width: 58px; height: 58px; }
.ico-truck { -webkit-mask-image: url("../assets/水泥车@2x.png"); mask-image: url("../assets/水泥车@2x.png"); width: 70px; height: 46px; }
.ico-gate {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 52'><g fill='none' stroke='black' stroke-width='3' stroke-linecap='butt'><path d='M15 2h25M15 2L8 46M40 2l7 44M12 19h32M10 32h36M1 49h54'/></g></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 52'><g fill='none' stroke='black' stroke-width='3' stroke-linecap='butt'><path d='M15 2h25M15 2L8 46M40 2l7 44M12 19h32M10 32h36M1 49h54'/></g></svg>");
}
.ico-leaf {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M32 46C20 42 8 32 8 20c8-4 18 2 22 14 1 4 2 8 2 12z'/><path d='M32 46c12-4 24-14 24-26-8-4-18 2-22 14-1 4-2 8-2 12z'/><path d='M32 40L16 26'/><path d='M32 40l16-14'/><path d='M32 46v8'/></g></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M32 46C20 42 8 32 8 20c8-4 18 2 22 14 1 4 2 8 2 12z'/><path d='M32 46c12-4 24-14 24-26-8-4-18 2-22 14-1 4-2 8-2 12z'/><path d='M32 40L16 26'/><path d='M32 40l16-14'/><path d='M32 46v8'/></g></svg>");
}
.badge-name { margin-top: 8px; font-size: 20px; line-height: 1.25; font-weight: 500; color: #f3f7ff; }

.progress { margin-top: 64px; text-align: center; position: relative; z-index: 2; }
.progress .p-cn { color: #ffb87b; font-size: 30px; font-weight: 750; letter-spacing: 0.5px; }
.progress .p-en { margin-top: 6px; font-size: 24px; line-height: 1.35; font-weight: 500; }

.done-mask {
  position: absolute; left: 28px; right: 28px; top: 156px; height: 318px; z-index: 5;
  padding: 18px 16px 16px; border-radius: 22px;
  background: rgba(7, 16, 36, 0.74); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.done-mask img { width: 92px; height: 92px; }
.done-cn { margin-top: 8px; font-size: 26px; font-weight: 750; line-height: 1.35; }
.done-en { margin-top: 6px; font-size: 22px; line-height: 1.35; font-weight: 500; }

.btn-row { display: flex; justify-content: center; gap: 30px; margin-top: 76px; padding: 0 42px; }
.btn-row .pill { width: 315px; height: 112px; flex: none; }
.btn-row.single .pill { width: 460px; }

.card-moments { margin-top: 145px; padding: 28px 60px 26px; }
.wechat {
  background: #fff; color: #222; border-radius: 8px;
  padding: 16px 16px 18px; min-height: 512px;
}
.wechat-bar { display: flex; align-items: center; justify-content: space-between; }
.wx-cancel { font-size: 28px; color: #222; font-weight: 500; }
.wx-pub {
  background: #22c55e; color: #fff; font-size: 26px; font-weight: 700;
  border-radius: 8px; padding: 6px 18px; line-height: 1.3;
}
.wx-tag { margin: 46px 8px 58px; color: #8ea0b8; font-size: 28px; font-weight: 500; }
.wx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wx-grid img { width: 100%; height: 152px; object-fit: cover; display: block; background: #e9eef5; }

.lead-moment { font-size: 30px; line-height: 1.35; margin-top: 48px; }
#view-moments .pill-wide { margin-top: 84px; }
#guideTitle { line-height: 1.8; }
#view-guide .card { width: 600px; margin-top: 118px; padding: 18px 42px 24px; }
#view-guide .lead { margin-top: 32px; }
#view-guide .photo-wrap { width: 516px; height: 364px; margin-top: 16px; }
#view-guide .pill-in {
  width: 470px;
  height: 88px;
  margin-top: 42px;
  background:
    linear-gradient(0deg, #91B6F9 0%, #447DFE 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4)) border-box;
}
#view-guide .hint-guide { margin-top: 90px; }
#view-guide .hint-en { margin-top: 28px; }

.ticket { position: relative; width: 478px; height: 881px; margin: 128px auto 0; }
.ticket-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.confetti {
  position: absolute; left: 0; right: 0; top: 8px; width: 100%; height: auto;
  pointer-events: none; z-index: 2;
}
.ticket-body {
  position: relative; z-index: 1; height: 100%;
  padding: 48px 28px 24px; text-align: center;
}
.win-cn { font-size: 40px; font-weight: 800; letter-spacing: 2px; margin-top: 96px; }
.win-sub { margin-top: 8px; font-size: 26px; font-weight: 650; }
.win-en { margin-top: 8px; font-size: 18px; line-height: 1.35; font-weight: 500; }
.ticket-dash {
  margin: 22px 8px 36px;
  border-top: 3px dashed rgba(255,255,255,0.85);
}
.qr-box {
  position: relative; width: 260px; height: 260px; margin: 0 auto;
  background: #fff; padding: 10px;
}
.qr-box > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-done {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(16, 28, 52, 0.42);
  display: flex; align-items: center; justify-content: center;
}
.qr-done img { width: 200px; height: auto; }
.qr-box.used > img { opacity: 0.22; filter: grayscale(0.55); }
.ticket-tip { margin: 40px 0 0; color: #ffb87b; font-size: 24px; font-weight: 750; line-height: 1.35; }
.ticket-tip-en { margin: 24px 0 0; font-size: 18px; line-height: 1.35; font-weight: 500; }

.toast {
  position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%);
  max-width: 80vw; padding: 12px 18px; border-radius: 12px;
  background: rgba(0,0,0,0.78); color: #fff; font-size: 14px; z-index: 20;
  text-align: center;
}
.toast[hidden] { display: none; }
