html,
body {
  font-family:
    var(--font-sans),
    "PingFang SC",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p,
li,
a,
button {
  word-break: keep-all;
}

.xf-made-section {
  overflow: hidden !important;
  padding: 108px 0 116px !important;
  background: var(--surface) !important;
}

.xf-made-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.xf-made-eyebrow {
  margin: 0 0 -26px;
  color: rgb(161, 161, 166);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.xf-made-title {
  margin: 0;
  padding: 0 24px;
  color: var(--fg);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-align: center;
}

.xf-made-title span {
  display: inline-block;
}

.xf-made-outline {
  margin: 0 0.08em;
  color: transparent;
  -webkit-text-stroke: 2px #ffcc00;
  paint-order: stroke fill;
  transform: translateY(0.02em);
}

.xf-made-marquees {
  display: flex;
  width: 100vw;
  flex-direction: column;
  gap: 40px;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.xf-made-row {
  display: flex;
  width: max-content;
  gap: 40px;
  will-change: transform;
}

.xf-made-row img {
  width: auto;
  height: 324px;
  flex: 0 0 auto;
  border: 4px solid var(--fg);
  border-radius: 16px;
  background: var(--elevated);
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.xf-availability-image-counter {
  width: 1em !important;
}

.xf-availability-title {
  overflow: visible;
}

.xf-availability-title-line,
.xf-availability-title-pop {
  display: block;
}

.xf-availability-title-pop {
  cursor: default;
}

.xf-contact-static-button {
  position: relative !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 14px 24px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 600 !important;
  pointer-events: auto !important;
  cursor: default !important;
  text-decoration: none !important;
  transform: none !important;
  transition: none !important;
}

.xf-contact-wechat {
  background: var(--fg) !important;
  color: var(--bg) !important;
}

.xf-contact-phone {
  background: var(--elevated) !important;
  color: var(--fg) !important;
  border: 1px solid var(--border) !important;
}

.xf-contact-static-button:hover,
.xf-contact-static-button:focus,
.xf-contact-static-button:active {
  transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.xf-contact-wechat:hover,
.xf-contact-wechat:focus,
.xf-contact-wechat:active {
  background: var(--fg) !important;
  color: var(--bg) !important;
}

.xf-contact-phone:hover,
.xf-contact-phone:focus,
.xf-contact-phone:active {
  background: var(--elevated) !important;
  color: var(--fg) !important;
}

.xf-copy-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.xf-copy-contact-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 9999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.xf-copy-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.xf-copy-contact-button::after {
  content: "\590D\5236\6210\529F";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  padding: 7px 11px;
  border-radius: 9999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.xf-copy-contact-button.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.xf-copy-contact-button:hover {
  transform: translateY(-1px);
}

.xf-copy-contact-button:active {
  transform: translateY(0);
}

.xf-copy-wechat {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.xf-copy-phone {
  background: var(--elevated);
  color: var(--fg);
  border: 1px solid var(--border);
}

.xf-availability-title-pop span {
  display: inline-block;
  transform-origin: 50% 85%;
  will-change: transform;
  animation: xf-availability-pop 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.xf-availability-title-pop span:nth-child(1) {
  color: #b8b8be;
  animation-delay: 0.06s;
}

.xf-availability-title-pop span:nth-child(2) {
  color: #9f9fa6;
  animation-delay: 0.14s;
}

.xf-availability-title-pop span:nth-child(3) {
  color: #c7c7cc;
  animation-delay: 0.22s;
}

@keyframes xf-availability-pop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0) rotate(-22deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

.xf-availability-counter-image {
  display: block;
  width: 1em;
  height: 1em;
  object-fit: contain;
  object-position: center;
  transform: translateY(0);
}

.xf-availability-image-column {
  animation: xf-availability-image-roll 5.4s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  will-change: transform;
}

@keyframes xf-availability-image-roll {
  0%,
  22% {
    transform: translateY(0);
  }
  32%,
  54% {
    transform: translateY(-1em);
  }
  64%,
  86% {
    transform: translateY(-2em);
  }
  100% {
    transform: translateY(-3em);
  }
}

.xf-made-row.row-right {
  animation: xf-made-right 45s linear infinite;
}

.xf-made-row.row-left {
  animation: xf-made-left 45s linear infinite;
}

@keyframes xf-made-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes xf-made-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

main article > section:last-of-type .relative.overflow-hidden::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.1);
}

main article > section:last-of-type .relative.overflow-hidden a:not(.xf-project-nav-link) {
  display: none !important;
}

main article > section:last-of-type .xf-project-nav {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

main article > section:last-of-type .xf-project-nav-link {
  display: inline-flex !important;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 9999px;
  background: #fff;
  color: var(--project-accent, var(--fg));
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

main article > section:last-of-type .xf-project-nav-link:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

body[data-project-slug="partyup"] article section.scroll-mt-28 p:first-child span {
  color: #28c445 !important;
}

.xf-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  color: var(--fg);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

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

.xf-back-to-top:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px) scale(1);
}

.xf-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1279px) {
  .xf-made-row img {
    height: 205px;
    border-width: 3px;
  }
}

@media (max-width: 767px) {
  .xf-made-section {
    padding: 80px 0 88px !important;
  }

  .xf-made-inner {
    gap: 34px;
  }

  .xf-made-title {
    font-size: 64px;
  }

  .xf-made-outline {
    display: block !important;
    margin: 4px 0;
    -webkit-text-stroke-width: 1.5px;
  }

  .xf-made-marquees {
    gap: 12px;
  }

  .xf-made-row {
    gap: 12px;
  }

  .xf-made-row img {
    height: 128px;
    border-width: 2px;
    border-radius: 10px;
  }

}
