
.xy-activities-page {
  --xy-blue: #0b7cff;
  --xy-blue-dark: #075ec7;
  --xy-cyan: #20b7ff;
  --xy-ink: #071529;
  --xy-text: #15243b;
  --xy-muted: #66758b;
  --xy-line: #dfe8f5;
  --xy-soft: #f3f7fc;
  background: #f3f7fc;
  color: var(--xy-text);
  overflow-x: hidden;
}

.xy-activities-main,
.xy-activities-main *,
.xy-activity-modal,
.xy-activity-modal *,
.xy-purchase-image-dialog,
.xy-purchase-image-dialog *,
.xy-groupbuy-dialog,
.xy-groupbuy-dialog * {
  box-sizing: border-box;
}

.xy-activities-page [hidden],
.xy-activity-modal [hidden],
.xy-purchase-image-dialog [hidden],
.xy-groupbuy-dialog [hidden],
.xy-groupbuy-dialog[hidden] {
  display: none !important;
}

.xy-activities-page a {
  text-decoration: none;
}

.xy-activities-main {
  min-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  background: #f3f7fc;
}

.xy-activities-main .container {
  width: min(1220px, calc(100% - 40px));
  max-width: 1220px;
  padding-right: 0;
  padding-left: 0;
}

.xy-activities-hero {
  position: relative;
  max-width: 100vw;
  min-height: 578px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(32, 183, 255, .34) 0, rgba(32, 183, 255, 0) 30%),
    radial-gradient(circle at 72% 76%, rgba(139, 92, 246, .28) 0, rgba(139, 92, 246, 0) 32%),
    linear-gradient(100deg, rgba(3, 11, 28, .98) 0%, rgba(5, 22, 54, .92) 38%, rgba(7, 46, 104, .82) 68%, rgba(9, 78, 146, .76) 100%),
    linear-gradient(135deg, #06142c 0%, #08285e 54%, #0b4f9c 100%);
  overflow: hidden;
}

.xy-activities-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .7) 54%, rgba(0, 0, 0, .12) 100%);
  pointer-events: none;
}

.xy-activities-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0) 0%, #f3f7fc 100%);
  pointer-events: none;
}

.xy-activities-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
  grid-template-areas: "copy visual";
  gap: 48px;
  align-items: center;
  direction: ltr;
}

.xy-activities-hero-copy {
  grid-area: copy;
  max-width: 760px;
  min-width: 0;
}

.xy-activities-eyebrow,
.xy-activity-section-head span,
.xy-activity-cta span {
  display: block;
  margin-bottom: 12px;
  color: var(--xy-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.xy-activities-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .32);
}

.xy-activities-hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.8;
  text-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}

.xy-activities-hero-actions,
.xy-activity-card-actions,
.xy-activity-cta-actions,
.xy-activity-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.xy-activity-primary,
.xy-activity-outline {
  display: inline-flex;
  min-width: 128px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  touch-action: manipulation;
  cursor: pointer;
}

.xy-activity-primary {
  color: #fff;
  background: linear-gradient(90deg, #0b7cff 0%, #1398ff 100%);
  border: 1px solid rgba(11, 124, 255, .72);
  box-shadow: 0 12px 24px rgba(11, 124, 255, .24);
}

.xy-activity-primary:hover,
.xy-activity-primary:focus {
  color: #fff;
  background: linear-gradient(90deg, #075ec7 0%, #0b7cff 100%);
  box-shadow: 0 14px 28px rgba(11, 124, 255, .32);
}

.xy-activity-outline {
  color: var(--xy-blue);
  background: #fff;
  border: 1px solid rgba(11, 124, 255, .32);
}

.xy-activities-hero .xy-activity-outline,
.xy-activity-cta .xy-activity-outline {
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(171, 219, 255, .42);
  backdrop-filter: blur(12px);
}

.xy-activity-outline:hover,
.xy-activity-outline:focus {
  color: #fff;
  background: var(--xy-blue);
  border-color: var(--xy-blue);
}

.xy-activity-primary:active,
.xy-activity-outline:active {
  transform: translateY(1px);
}

.xy-activities-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.xy-activities-hero-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(130, 193, 255, .28);
  border-radius: 3px;
}

.xy-activities-hero-visual {
  position: relative;
  grid-area: visual;
  min-height: 340px;
}

.xy-activities-hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -42px 12px 10px;
  border: 1px solid rgba(132, 205, 255, .18);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(32, 183, 255, .2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: inset 0 0 80px rgba(18, 123, 255, .14);
  opacity: .92;
  transform: perspective(780px) rotateY(-10deg) skewY(-2deg);
}

.xy-activities-hero-visual::after {
  content: "";
  position: absolute;
  right: 64px;
  top: 34px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(156, 218, 255, .22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .1) 0 28%, transparent 29%),
    conic-gradient(from 24deg, rgba(32, 183, 255, .12), rgba(139, 92, 246, .3), rgba(11, 124, 255, .08), rgba(32, 183, 255, .12));
  filter: drop-shadow(0 20px 44px rgba(11, 124, 255, .18));
}

.xy-activity-visual-card {
  position: absolute;
  right: 18px;
  top: 50%;
  width: min(330px, 78%);
  min-height: 220px;
  padding: 34px;
  z-index: 2;
  overflow: hidden;
  transform: translateY(-50%);
  border: 1px solid rgba(145, 212, 255, .36);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(11, 44, 96, .72), rgba(33, 95, 162, .32));
  box-shadow: 0 30px 68px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}

.xy-activity-visual-card::before {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
}

.xy-activity-visual-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 24px;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32, 183, 255, .3), rgba(139, 92, 246, .2));
}

.xy-activity-visual-card span {
  position: relative;
  z-index: 1;
  display: block;
  width: 78px;
  height: 78px;
  margin-bottom: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .98) 0 8px, transparent 9px),
    conic-gradient(from 120deg, #20b7ff, #8b5cf6, #22c55e, #20b7ff);
  box-shadow: 0 0 42px rgba(32, 183, 255, .48);
}

.xy-activity-visual-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.xy-activity-visual-card em {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.xy-activity-visual-grid {
  position: absolute;
  left: 16px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 72px);
  gap: 12px;
  opacity: .88;
}

.xy-activity-visual-grid i {
  display: block;
  height: 56px;
  border: 1px solid rgba(127, 198, 255, .24);
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.xy-activities-hero {
  min-height: 520px;
  padding: 104px 0 64px;
  background: linear-gradient(112deg, #06142d 0%, #082c62 52%, #0b6bbd 100%);
}

.xy-activities-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  background-size: auto;
  mask-image: none;
}

.xy-activities-hero::after {
  height: 72px;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0) 0%, #f3f7fc 100%);
}

.xy-activities-hero .container {
  grid-template-columns: minmax(0, .92fr) minmax(340px, .7fr);
  gap: 56px;
}

.xy-activities-hero p {
  color: rgba(255, 255, 255, .86);
  text-shadow: none;
}

.xy-activities-hero-tags {
  gap: 8px;
  margin-top: 24px;
}

.xy-activities-hero-tags span {
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
}

.xy-activities-hero-visual {
  min-height: 312px;
}

.xy-activities-hero-visual::before {
  inset: 30px 0 24px 0;
  border-color: rgba(180, 216, 255, .22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  background-size: auto;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.xy-activities-hero-visual::after {
  display: none;
}

.xy-activity-visual-card {
  right: 42px;
  width: min(340px, 82%);
  min-height: 210px;
  padding: 30px;
  color: #0f2442;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(220, 234, 250, .9);
  border-radius: 10px;
  box-shadow: 0 22px 54px rgba(2, 18, 45, .2);
  backdrop-filter: none;
}

.xy-activity-visual-card::before {
  right: 28px;
  bottom: 28px;
  width: 92px;
  height: 52px;
  border: 1px solid #d6e6f8;
  border-radius: 8px;
  background: #f2f7ff;
}

.xy-activity-visual-card::after {
  right: 28px;
  top: 28px;
  width: 68px;
  height: 68px;
  border: 1px solid #c8ddf5;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 124, 255, .13), rgba(32, 183, 255, .08));
}

.xy-activity-visual-card span {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b7cff, #20b7ff);
  box-shadow: none;
}

.xy-activity-visual-card strong {
  color: #0f2442;
  font-size: 38px;
  letter-spacing: 0;
}

.xy-activity-visual-card em {
  color: #5b708c;
  font-size: 12px;
}

.xy-activity-visual-grid {
  left: 0;
  bottom: 26px;
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  opacity: .5;
}

.xy-activity-visual-grid i {
  height: 48px;
  border-color: rgba(190, 221, 255, .24);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.xy-activities-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 326px;
  padding: 20px;
}

.xy-activities-hero-visual::before {
  inset: 18px 8px;
  border-color: rgba(184, 217, 255, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  transform: none;
}

.xy-activities-hero-visual::after,
.xy-activity-visual-card,
.xy-activity-visual-grid {
  display: none;
}

.xy-activity-hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(560px, 100%);
  height: 294px;
  object-fit: cover;
  object-position: center;
  background: #071a3a;
  border: 1px solid rgba(118, 190, 255, .2);
  border-radius: 14px;
  box-shadow: 0 22px 52px rgba(2, 18, 45, .26);
}

.xy-activity-section {
  max-width: 100vw;
  padding: 72px 0 82px;
  background: #f3f7fc;
  overflow: hidden;
}

.xy-activity-section-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  margin-bottom: 32px;
}

.xy-activity-section-head h2,
.xy-activity-cta h2 {
  margin: 0;
  color: var(--xy-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.28;
}

.xy-activity-section-head p,
.xy-activity-cta p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--xy-muted);
  font-size: 15px;
  line-height: 1.8;
}

.xy-activity-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.xy-activity-filter button {
  min-width: 82px;
  min-height: 42px;
  padding: 0 14px;
  color: #37506f;
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: 4px;
  box-shadow: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.xy-activity-filter button:hover,
.xy-activity-filter button.active {
  color: #fff;
  background: var(--xy-blue);
  border-color: var(--xy-blue);
  box-shadow: 0 8px 18px rgba(11, 124, 255, .14);
}

.xy-activity-filter button:active {
  transform: translateY(1px);
}

.xy-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 28px 24px;
}

.xy-activity-card {
  display: flex;
  min-width: 0;
  width: 100%;
  min-height: 500px;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(218, 229, 244, .92);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 35, 70, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.xy-activity-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 124, 255, .32);
  box-shadow: 0 12px 28px rgba(15, 35, 70, .12);
}

.xy-activity-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  min-height: 190px;
  max-height: 220px;
  display: flex;
  align-items: center;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, .22), rgba(255, 138, 31, .08)),
    linear-gradient(118deg, #06162f 0%, #07386f 58%, #0a1736 100%);
  border-radius: 6px 6px 0 0;
  isolation: isolate;
}

.xy-activity-card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.xy-activity-card-cover::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -72px;
  z-index: -1;
  width: 290px;
  height: 260px;
  background: linear-gradient(135deg, rgba(11, 124, 255, .26), rgba(124, 58, 237, .16));
  border: 1px solid rgba(125, 211, 252, .16);
  transform: rotate(18deg);
  pointer-events: none;
}

.xy-cover-copy {
  position: relative;
  z-index: 2;
  width: min(72%, 270px);
  min-width: 0;
}

.xy-cover-kicker {
  display: block;
  margin-bottom: 8px;
  color: #39c5ff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.xy-cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.xy-cover-tags span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #ffb020, #ff6b21);
  border-radius: 999px;
}

.xy-cover-tags span + span {
  background: rgba(11, 124, 255, .32);
  border: 1px solid rgba(96, 165, 250, .4);
}

.xy-cover-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1.12;
  text-shadow: 0 9px 22px rgba(0, 0, 0, .34);
}

.xy-cover-copy em {
  display: block;
  margin-top: 9px;
  color: rgba(232, 246, 255, .92);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.xy-cover-action {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-top: 15px;
  padding: 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(90deg, #0b7cff, #24d3ff);
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(11, 124, 255, .28);
}

.xy-cover-deco {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: 34%;
  min-width: 104px;
  max-width: 150px;
  height: 58%;
  pointer-events: none;
}

.xy-cover-orbit {
  position: absolute;
  right: 6px;
  top: 8px;
  width: 86%;
  height: 68%;
  border-top: 2px solid rgba(125, 211, 252, .45);
  border-right: 2px solid rgba(125, 211, 252, .18);
  transform: skewY(-18deg);
}

.xy-cover-orbit::before,
.xy-cover-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #9eeaff;
  box-shadow: 0 0 12px rgba(35, 196, 255, .72);
}

.xy-cover-orbit::before {
  left: 18%;
  top: -6px;
}

.xy-cover-orbit::after {
  right: -5px;
  bottom: 18%;
}

.xy-cover-device {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 118px;
  height: 92px;
  background: rgba(5, 22, 49, .9);
  border: 1px solid rgba(96, 165, 250, .36);
  border-radius: 10px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .2);
}

.xy-cover-device::before,
.xy-cover-device::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 10px;
  border-radius: 999px;
}

.xy-cover-device::before {
  top: 24px;
  background: #24d3ff;
}

.xy-cover-device::after {
  top: 52px;
  background: #22c55e;
}

.xy-cover-symbol {
  position: absolute;
  right: -8px;
  top: 48px;
  min-width: 62px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffb020, #ff6b21);
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(255, 107, 33, .25);
}

.xy-cover-symbol::before {
  content: "HOT";
}

.xy-cover-theme-seckill .xy-cover-device::after {
  background: linear-gradient(90deg, #0b7cff, #ffb020);
}

.xy-cover-theme-seckill .xy-cover-symbol::before {
  content: "SALE";
}

.xy-cover-theme-trial .xy-cover-device {
  width: 132px;
  height: 72px;
  border-radius: 30px 34px 18px 18px;
  background: linear-gradient(135deg, #0b7cff, #24d3ff);
}

.xy-cover-theme-trial .xy-cover-device::before,
.xy-cover-theme-trial .xy-cover-device::after {
  display: none;
}

.xy-cover-theme-trial .xy-cover-symbol::before {
  content: "FREE";
}

.xy-cover-theme-coupon .xy-cover-device {
  width: 140px;
  height: 86px;
  background: linear-gradient(135deg, #0b7cff, #7c3aed);
  border-radius: 12px;
}

.xy-cover-theme-coupon .xy-cover-device::before {
  top: 0;
  bottom: 0;
  left: 66px;
  right: auto;
  width: 2px;
  height: auto;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .7) 0 8px, transparent 8px 16px);
}

.xy-cover-theme-coupon .xy-cover-device::after {
  display: none;
}

.xy-cover-theme-coupon .xy-cover-symbol::before {
  content: "8888";
}

.xy-cover-theme-hot-sale .xy-cover-device::after,
.xy-cover-theme-cloud .xy-cover-device::after {
  background: linear-gradient(90deg, #22c55e, #ffb020);
}

.xy-cover-theme-hot-sale .xy-cover-symbol::before {
  content: "SALE";
}

.xy-cover-theme-cloud .xy-cover-device {
  width: 136px;
  height: 78px;
  border-radius: 42px 44px 20px 22px;
  background: linear-gradient(135deg, #0b7cff, #24d3ff);
}

.xy-cover-theme-cloud .xy-cover-device::before,
.xy-cover-theme-cloud .xy-cover-device::after {
  display: none;
}

.xy-cover-theme-cloud .xy-cover-symbol::before {
  content: "FIRST";
}

.xy-cover-theme-server .xy-cover-symbol::before {
  content: "IDC";
}

.xy-cover-theme-domain .xy-cover-device {
  border-radius: 50%;
  background: rgba(5, 22, 49, .86);
}

.xy-cover-theme-domain .xy-cover-device::before {
  inset: 22px 10px auto;
  height: 2px;
  background: rgba(125, 211, 252, .7);
}

.xy-cover-theme-domain .xy-cover-device::after {
  inset: auto 10px 22px;
  height: 2px;
  background: rgba(125, 211, 252, .7);
}

.xy-cover-theme-domain .xy-cover-symbol::before {
  content: ".COM";
}

.xy-cover-theme-sms .xy-cover-device {
  width: 96px;
  height: 128px;
  border-radius: 18px;
}

.xy-cover-theme-sms .xy-cover-symbol::before {
  content: "SMS";
}

.xy-cover-theme-ssl .xy-cover-device {
  width: 118px;
  height: 126px;
  border-radius: 18px 18px 44px 44px;
  clip-path: polygon(50% 0, 100% 20%, 100% 62%, 50% 100%, 0 62%, 0 20%);
  background: linear-gradient(135deg, #0b7cff, #075ec7);
}

.xy-cover-theme-ssl .xy-cover-device::before,
.xy-cover-theme-ssl .xy-cover-device::after {
  display: none;
}

.xy-cover-theme-ssl .xy-cover-symbol::before {
  content: "SSL";
}

.xy-activity-card:hover .xy-activity-card-cover {
  filter: brightness(1.06) saturate(1.04);
}

.xy-activity-card-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
  text-align: left;
}

.xy-activity-title-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.xy-activity-title-row h3 {
  min-width: 0;
  margin: 0;
  color: var(--xy-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.42;
  overflow-wrap: anywhere;
  min-height: 56px;
}

.xy-activity-status {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}

.xy-activity-status.ongoing {
  background: #22c55e;
}

.xy-activity-status.upcoming {
  background: #f59e0b;
}

.xy-activity-status.ended {
  background: #6b7280;
}

.xy-activity-time {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 46px;
  margin: 12px 0 0;
  color: #52647c;
  font-size: 14px;
  line-height: 1.65;
}

.xy-activity-time b {
  flex: 0 0 auto;
  color: #263a55;
  font-weight: 800;
}

.xy-activity-desc {
  margin: 12px 0 0;
  color: var(--xy-muted);
  font-size: 14px;
  line-height: 1.78;
  min-height: 74px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.xy-activity-purchase {
  margin-top: 14px;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid #dbe7f6;
  border-radius: 6px;
}

.xy-activity-purchase-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.xy-activity-purchase-pricebox {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.xy-activity-purchase-label {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.xy-activity-purchase-price {
  color: #e11d48;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.xy-activity-purchase-origin {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.xy-activity-purchase-duration,
.xy-activity-purchase-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 3px;
}

.xy-activity-purchase-badge {
  flex: 0 0 auto;
  color: #9f1239;
  font-style: normal;
  background: #fff1f2;
  border-color: #fecdd3;
}

.xy-activity-purchase-quota {
  display: flex;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 10px;
  color: #24456f;
  font-size: 12px;
  line-height: 1.5;
  background: #eef6ff;
  border: 1px solid #d5e6fb;
  border-radius: 5px;
}

.xy-activity-purchase-quota b,
.xy-activity-purchase-quota span {
  min-width: 0;
}

.xy-activity-purchase-quota b {
  flex: 0 0 auto;
  color: #1d4ed8;
  font-weight: 900;
}

.xy-activity-purchase-quota span {
  text-align: right;
}

.xy-activity-purchase-quota.is-reached {
  color: #9f1239;
  background: #fff1f2;
  border-color: #fecdd3;
}

.xy-activity-purchase-quota.is-reached b {
  color: #be123c;
}

.xy-activity-purchase-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.xy-activity-purchase-specs span {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e2eaf5;
  border-radius: 5px;
}

.xy-activity-purchase-specs em,
.xy-activity-purchase-specs b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-activity-purchase-specs em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.xy-activity-purchase-specs b {
  color: #10213f;
  font-size: 13px;
  font-weight: 900;
}

.xy-activity-purchase p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .xy-activity-purchase-head {
    display: grid;
    gap: 10px;
  }

  .xy-activity-purchase-badge {
    justify-self: start;
  }

  .xy-activity-purchase-quota {
    display: grid;
    gap: 2px;
    justify-content: stretch;
  }

  .xy-activity-purchase-quota span {
    text-align: left;
  }

  .xy-activity-purchase-specs {
    grid-template-columns: 1fr;
  }
}

.xy-activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
  margin-top: 18px;
}

.xy-activity-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #315987;
  font-size: 12px;
  font-weight: 800;
  background: #eef6ff;
  border: 1px solid #d8eaff;
  border-radius: 3px;
}

.xy-activity-card-actions {
  margin-top: auto;
  padding-top: 22px;
  align-items: flex-end;
}

.xy-activity-card-actions .xy-activity-primary,
.xy-activity-card-actions .xy-activity-outline {
  min-width: 116px;
  min-height: 44px;
}

.xy-activity-card-actions .xy-activity-primary:hover,
.xy-activity-card-actions .xy-activity-outline:hover {
  transform: translateY(-1px);
}

.xy-activity-empty {
  min-height: 320px;
  padding: 46px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #c9d8ea;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(15, 35, 70, .08);
}

.xy-activity-empty img {
  width: 150px;
  max-width: 46%;
  margin-bottom: 20px;
}

.xy-activity-empty h3 {
  margin: 0;
  color: var(--xy-ink);
  font-size: 22px;
  font-weight: 800;
}

.xy-activity-empty p {
  max-width: 520px;
  margin: 10px auto 24px;
  color: var(--xy-muted);
  font-size: 14px;
  line-height: 1.7;
}

.xy-activity-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}

.xy-activity-pagination button {
  min-width: 40px;
  min-height: 44px;
  padding: 0 13px;
  color: #2a4160;
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #cfe0f2;
  border-radius: 3px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.xy-activity-pagination button:hover:not(:disabled),
.xy-activity-pagination button.active {
  color: #fff;
  background: var(--xy-blue);
  border-color: var(--xy-blue);
}

.xy-activity-pagination button:disabled {
  color: #a3b1c2;
  cursor: not-allowed;
  background: #f6f9fc;
}

.xy-activity-cta {
  max-width: 100vw;
  padding: 72px 0;
  margin-bottom: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(32, 183, 255, .22), transparent 30%),
    radial-gradient(circle at 20% 90%, rgba(139, 92, 246, .2), transparent 34%),
    linear-gradient(110deg, rgba(4, 16, 38, .96), rgba(7, 37, 85, .9));
  overflow: hidden;
}

.xy-activity-cta .container {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.xy-activity-cta .container > div:first-child {
  min-width: 0;
  max-width: 780px;
  flex: 1 1 auto;
}

.xy-activity-cta-actions {
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: flex-end;
}

.xy-activity-cta h2 {
  color: #fff;
}

.xy-activity-cta p {
  color: rgba(255, 255, 255, .76);
}

.xy-activity-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 10, 24, .72);
}

.xy-activity-modal.is-open {
  display: flex;
}

.xy-activity-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1fr);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.xy-activity-modal-close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 10px;
  width: 44px;
  height: 44px;
  color: #5f6f83;
  font-size: 28px;
  line-height: 28px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #dbe5f0;
  border-radius: 50%;
}

.xy-activity-modal-cover {
  min-height: 100%;
  display: flex;
  align-items: stretch;
  background: #071529;
}

.xy-activity-modal-cover .xy-activity-card-cover {
  width: 100%;
  min-height: 420px;
  max-height: none;
  border-radius: 6px 0 0 6px;
}

.xy-activity-modal-body {
  padding: 38px 34px 34px;
}

.xy-activity-modal-body h3 {
  margin: 14px 0 12px;
  color: var(--xy-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}

.xy-activity-modal-time,
.xy-activity-modal-desc {
  margin: 0 0 14px;
  color: #52647c;
  font-size: 14px;
  line-height: 1.8;
}

.xy-activity-modal-desc {
  color: var(--xy-text);
}

.xy-activity-purchase.is-modal {
  margin: 0 0 16px;
}

.xy-activity-modal-body ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.xy-activity-modal-body li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: #53657d;
  font-size: 14px;
  line-height: 1.7;
}

.xy-activity-modal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xy-blue);
}

.xy-activity-modal-actions {
  margin-top: 26px;
}

.xy-activities-page.xy-activity-modal-open {
  overflow: hidden;
}

.xy-groupbuy-section {
  position: relative;
  padding: 72px 0 28px;
  background: linear-gradient(180deg, #f3f7fc 0%, #eef5ff 100%);
}

.xy-groupbuy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.xy-groupbuy-head span {
  display: block;
  margin-bottom: 10px;
  color: var(--xy-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.xy-groupbuy-head h2 {
  margin: 0;
  color: var(--xy-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
}

.xy-groupbuy-head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--xy-muted);
  font-size: 15px;
  line-height: 1.8;
}

.xy-groupbuy-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}

.xy-groupbuy-summary[hidden],
.xy-groupbuy-flow[hidden],
.xy-groupbuy-mine[hidden] {
  display: none !important;
}

.xy-groupbuy-summary span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 12px;
  color: #42546d;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(205, 219, 238, .9);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 35, 70, .06);
}

.xy-groupbuy-summary strong {
  color: #0b7cff;
  font-size: 18px;
  font-weight: 900;
}

.xy-groupbuy-mine {
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #dce7f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 42, 82, .06);
}

.xy-groupbuy-mine-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.xy-groupbuy-mine-head span {
  display: block;
  margin-bottom: 4px;
  color: #2f75ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.xy-groupbuy-mine-head strong {
  color: var(--xy-ink);
  font-size: 18px;
  font-weight: 900;
}

.xy-groupbuy-mine-head em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.xy-groupbuy-mine-list {
  display: grid;
  gap: 10px;
}

.xy-groupbuy-mine-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e2ebf6;
  border-radius: 7px;
  background: #f8fbff;
}

.xy-groupbuy-mine-empty strong {
  display: block;
  color: #12213a;
  font-size: 15px;
  font-weight: 900;
}

.xy-groupbuy-mine-empty p {
  margin: 6px 0 0;
  color: #52647c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.xy-groupbuy-mine-empty .xy-activity-primary {
  flex: 0 0 auto;
  min-width: 128px;
  text-align: center;
}

.xy-groupbuy-mine-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(150px, .8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2ebf6;
  border-radius: 7px;
  background: #f8fbff;
}

.xy-groupbuy-mine-main {
  min-width: 0;
}

.xy-groupbuy-mine-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 7px;
  padding: 0 8px;
  border: 1px solid rgba(11, 124, 255, .16);
  border-radius: 4px;
  background: #eaf4ff;
  color: #075ec7;
  font-size: 12px;
  font-weight: 900;
}

.xy-groupbuy-mine-main strong,
.xy-groupbuy-mine-main p,
.xy-groupbuy-mine-price b,
.xy-groupbuy-mine-price em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-groupbuy-mine-main strong {
  color: #12213a;
  font-size: 15px;
  font-weight: 900;
}

.xy-groupbuy-mine-main p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.xy-groupbuy-mine-main .xy-groupbuy-mine-spec {
  color: #334155;
}

.xy-groupbuy-mine-price {
  min-width: 88px;
  text-align: right;
}

.xy-groupbuy-mine-price b {
  color: #f0143c;
  font-size: 18px;
  font-weight: 900;
}

.xy-groupbuy-mine-price em {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.xy-groupbuy-mine-progress {
  min-width: 0;
}

.xy-groupbuy-mine-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.xy-groupbuy-mine-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7cff, #55c8ef);
}

.xy-groupbuy-mine-progress p {
  margin: 7px 0 0;
  color: #52647c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.xy-groupbuy-countdown {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  border: 1px solid #cfe0f7;
  border-radius: 6px;
  background: #f4f8ff;
  color: #1d4ed8;
}

.xy-groupbuy-countdown span,
.xy-groupbuy-countdown em,
.xy-groupbuy-countdown small {
  color: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.xy-groupbuy-countdown strong {
  color: #0f2b57;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
}

.xy-groupbuy-countdown small {
  flex-basis: 100%;
  color: #64748b;
  font-weight: 700;
}

.xy-groupbuy-mine-countdown {
  margin-bottom: 8px;
  padding: 7px 9px;
}

.xy-groupbuy-join-countdown {
  margin-top: 12px;
  padding: 9px 10px;
}

.xy-groupbuy-dialog-countdown-wrap {
  margin-top: 14px;
}

.xy-groupbuy-dialog-countdown {
  padding: 10px 12px;
}

.xy-groupbuy-countdown.is-urgent {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.xy-groupbuy-countdown.is-expired {
  border-color: #fecaca;
  background: #fff1f2;
  color: #be123c;
}

.xy-groupbuy-countdown.is-unlimited {
  border-color: #d9e2ef;
  background: #f8fafc;
  color: #475569;
}

.xy-groupbuy-countdown.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.xy-groupbuy-mine-detail {
  min-width: 112px;
  min-height: 38px;
}

.xy-groupbuy-mine-detail.is-loading {
  cursor: wait;
  opacity: .72;
}

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

.xy-groupbuy-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(196, 213, 235, .92);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(7, 21, 41, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.xy-groupbuy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0b7cff, #20b7ff 58%, #ffb020);
}

.xy-groupbuy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 124, 255, .35);
  box-shadow: 0 22px 46px rgba(7, 21, 41, .11);
}

.xy-groupbuy-card-ended {
  opacity: .74;
}

.xy-groupbuy-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.xy-groupbuy-titlepack,
.xy-groupbuy-pricebox {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.xy-groupbuy-pricebox {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.xy-groupbuy-price-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.xy-groupbuy-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #075ec7;
  font-size: 12px;
  font-weight: 800;
  background: #eaf4ff;
  border: 1px solid rgba(11, 124, 255, .16);
  border-radius: 3px;
}

.xy-groupbuy-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, .24);
  border-radius: 3px;
}

.xy-groupbuy-price {
  color: #f0143c;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.xy-groupbuy-origin {
  color: #94a3b8;
  font-size: 13px;
}

.xy-groupbuy-specs,
.xy-groupbuy-dialog-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.xy-groupbuy-specs span,
.xy-groupbuy-dialog-specs span {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e2ebf6;
  border-radius: 6px;
  background: #f8fbff;
}

.xy-groupbuy-specs em,
.xy-groupbuy-dialog-specs em {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.xy-groupbuy-specs b,
.xy-groupbuy-dialog-specs b {
  display: block;
  color: #12213a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.xy-groupbuy-card h3 {
  margin: 0;
  color: var(--xy-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.xy-groupbuy-subtitle {
  margin: 10px 0 0;
  color: #53657d;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.xy-groupbuy-highlight {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: #0a4f9f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  background: #eff7ff;
  border: 1px solid #d8eaff;
  border-radius: 6px;
}

.xy-groupbuy-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 18px 0 12px;
}

.xy-groupbuy-progress {
  height: 8px;
  overflow: hidden;
  background: #e8eef6;
  border-radius: 99px;
}

.xy-groupbuy-progress span {
  display: block;
  width: 0;
  max-width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0b7cff 0%, #20b7ff 100%);
}

.xy-groupbuy-progress-row strong {
  color: #0b7cff;
  font-size: 13px;
  font-weight: 900;
}

.xy-groupbuy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.xy-groupbuy-meta span {
  min-width: 0;
  padding: 12px 10px;
  color: #66758b;
  background: #f8fbff;
  border: 1px solid #e4edf8;
  border-radius: 6px;
}

.xy-groupbuy-meta b {
  display: block;
  color: #111827;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.xy-groupbuy-meta em {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.xy-groupbuy-deadline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: #53657d;
  font-size: 13px;
  font-weight: 800;
}

.xy-groupbuy-deadline em {
  color: #7b8798;
  font-style: normal;
  font-weight: 700;
}

.xy-groupbuy-join-hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  color: #25527d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  background: #f1f7ff;
  border: 1px solid #d8eaff;
  border-radius: 6px;
}

.xy-groupbuy-note {
  margin: 14px 0 0;
  color: #53657d;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.xy-groupbuy-rules {
  margin: 14px 0 0;
  padding: 12px 14px 12px 16px;
  color: #53657d;
  font-size: 13px;
  line-height: 1.7;
  background: #f7faff;
  border: 1px solid #e1ebf7;
  border-radius: 6px;
}

.xy-groupbuy-rules p {
  position: relative;
  margin: 0;
  padding-left: 12px;
}

.xy-groupbuy-rules p::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 4px;
  height: 4px;
  background: #0b7cff;
  border-radius: 50%;
}

.xy-groupbuy-rules p + p {
  margin-top: 5px;
}

.xy-groupbuy-card .xy-activity-card-actions {
  align-items: stretch;
  margin-top: auto;
  padding-top: 20px;
}

.xy-groupbuy-card .xy-activity-card-actions .xy-activity-primary,
.xy-groupbuy-card .xy-activity-card-actions .xy-activity-outline {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 12px;
  padding-left: 12px;
  text-align: center;
}

.xy-groupbuy-normal-link {
  flex-basis: 100%;
  min-height: 38px;
}

.xy-groupbuy-join-empty,
.xy-groupbuy-action-disabled,
.xy-groupbuy-join-link.is-loading {
  cursor: not-allowed;
  opacity: .64;
  box-shadow: none;
}

.xy-groupbuy-join-link.is-loading {
  pointer-events: none;
}

.xy-groupbuy-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.xy-groupbuy-flow span {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #20334d;
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(24, 64, 120, .045);
}

.xy-groupbuy-flow span + span {
  border-left: 1px solid #dbe7f6;
}

.xy-groupbuy-flow span + span::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 12px;
  height: 1px;
  margin-top: 0;
  background: #cfe1ff;
  border: 0;
  transform: none;
}

.xy-groupbuy-flow span:first-child {
  border-color: rgba(31, 123, 255, .28);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.xy-groupbuy-flow b {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #0b64f4;
  font-size: 12px;
  font-weight: 900;
  background: #edf5ff;
  border: 1px solid #cfe1ff;
  border-radius: 999px;
}

.xy-groupbuy-flow span:first-child b {
  color: #fff;
  background: #1f7bff;
  border-color: #1f7bff;
}

.xy-groupbuy-flow em {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .xy-activities-hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
  }

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

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

  .xy-activity-card {
    max-width: 390px;
    justify-self: center;
  }
}

@media (max-width: 991px) {
  .xy-activities-hero {
    min-height: auto;
    padding: 118px 0 72px;
  }

  .xy-activities-hero .container {
    grid-template-columns: 1fr;
  }

  .xy-activities-hero .container {
    grid-template-areas:
      "copy"
      "visual";
  }

  .xy-activities-hero-visual {
    min-height: 220px;
  }

  .xy-activity-visual-card {
    right: auto;
    left: 0;
    width: min(360px, 100%);
  }

  .xy-activity-visual-grid {
    right: 0;
    left: auto;
  }

  .xy-activity-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .xy-activity-filter {
    justify-content: flex-start;
  }

  .xy-activity-modal-panel {
    grid-template-columns: 1fr;
  }

  .xy-activity-modal-cover .xy-activity-card-cover {
    min-height: 240px;
    max-height: 320px;
    border-radius: 6px 6px 0 0;
  }
}

@media (max-width: 767px) {
  .xy-activities-main .container {
    width: calc(100% - 24px);
  }

  .xy-activities-hero {
    padding: 104px 0 54px;
    text-align: center;
    background-position: 62% center;
  }

  .xy-activity-cta .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .xy-activity-cta .container > div:first-child {
    max-width: none;
  }

  .xy-activity-cta-actions {
    margin-left: 0;
    justify-content: flex-start;
  }

  .xy-activities-hero h1 {
    max-width: 336px;
    margin-right: auto;
    margin-left: auto;
    font-size: 30px;
    line-height: 1.3;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .xy-activities-hero p {
    max-width: min(336px, 100%);
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
    line-height: 1.72;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .xy-activities-hero-actions,
  .xy-activity-cta-actions,
  .xy-activity-modal-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .xy-activity-primary,
  .xy-activity-outline {
    width: 100%;
  }

  .xy-activities-hero-tags {
    max-width: 100%;
    justify-content: center;
  }

  .xy-activities-hero-tags span {
    min-width: 0;
    font-size: 12px;
  }

  .xy-activities-hero-visual {
    display: none;
  }

  .xy-activity-section {
    padding: 58px 0 64px;
  }

  .xy-activity-section-head h2,
  .xy-activity-cta h2 {
    font-size: 26px;
  }

  .xy-activity-section-head p,
  .xy-activity-cta p {
    font-size: 14px;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .xy-activity-filter {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xy-activity-filter button {
    width: 100%;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .xy-activity-grid {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-section {
    padding: 54px 0 8px;
  }

  .xy-groupbuy-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .xy-groupbuy-head h2 {
    font-size: 26px;
  }

  .xy-groupbuy-head p {
    font-size: 14px;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .xy-groupbuy-summary {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .xy-groupbuy-summary span {
    flex: 1 1 120px;
    justify-content: center;
  }

  .xy-groupbuy-grid {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-card {
    padding: 20px 18px 22px;
  }

  .xy-groupbuy-card-head,
  .xy-groupbuy-pricebox {
    align-items: flex-start;
    text-align: left;
  }

  .xy-groupbuy-price {
    margin-left: 0;
    font-size: 22px;
  }

  .xy-groupbuy-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .xy-groupbuy-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  .xy-groupbuy-flow span {
    min-height: 56px;
    padding: 0 14px;
  }

  .xy-groupbuy-flow span + span {
    border-left: 0;
  }

  .xy-groupbuy-flow span:nth-child(2n) {
    border-left: 1px solid #e4edf8;
  }

  .xy-groupbuy-flow span:nth-child(n + 3) {
    border-top: 1px solid #e4edf8;
  }

  .xy-groupbuy-flow span + span::before {
    display: none;
  }

  .xy-activity-card {
    min-height: 0;
    max-width: none;
  }

  .xy-activity-card-cover {
    min-height: 190px;
    padding: 18px;
  }

  .xy-cover-copy {
    width: min(76%, 250px);
  }

  .xy-cover-copy strong {
    font-size: 24px;
  }

  .xy-cover-copy em {
    font-size: 12px;
  }

  .xy-cover-deco {
    right: 12px;
    bottom: 14px;
    min-width: 88px;
    width: 30%;
    transform: scale(.86);
    transform-origin: right bottom;
  }

  .xy-activity-card-body {
    padding: 20px 18px 22px;
  }

  .xy-activity-title-row {
    gap: 8px;
    align-items: flex-start;
  }

  .xy-activity-title-row h3 {
    font-size: 18px;
    min-height: 0;
  }

  .xy-activity-time,
  .xy-activity-desc,
  .xy-activity-meta {
    min-height: 0;
  }

  .xy-activity-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .xy-activity-card-actions .xy-activity-primary,
  .xy-activity-card-actions .xy-activity-outline {
    width: 100%;
  }

  .xy-activity-pagination {
    justify-content: flex-start;
  }

  .xy-activity-cta {
    padding: 56px 0;
  }

  .xy-activity-modal {
    padding: 12px;
  }

  .xy-activity-modal-panel {
    max-height: calc(100vh - 24px);
  }

  .xy-activity-modal-cover .xy-activity-card-cover {
    min-height: 190px;
  }

  .xy-activity-modal-body {
    padding: 28px 20px 24px;
  }

  .xy-activity-modal-body h3 {
    font-size: 22px;
  }
}

.xy-activity-skeleton {
  min-height: 520px;
  background: #fff;
  border: 1px solid #dce5f2;
  box-shadow: 0 10px 28px rgba(24, 55, 96, 0.07);
}

@media (max-width: 767px) {
  .xy-activity-skeleton {
    min-height: 420px;
  }
}

@media (max-width: 420px) {
  .xy-activity-filter {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-flow {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-flow span:nth-child(2n) {
    border-left: 0;
  }

  .xy-groupbuy-flow span + span {
    border-top: 1px solid #e4edf8;
  }

  .xy-groupbuy-flow em {
    white-space: normal;
  }

  .xy-activity-title-row {
    flex-direction: column;
  }

  .xy-activity-status {
    align-self: flex-start;
  }
}

.xy-groupbuy-dialog {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 20, 38, .56);
}

.xy-groupbuy-dialog.is-open {
  display: flex;
}

.xy-groupbuy-dialog-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 25, 48, .22);
}

.xy-groupbuy-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
  background: #fff;
  color: #52647c;
  cursor: pointer;
}

.xy-groupbuy-dialog-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #eff6ff;
  color: #0b64f4;
  font-size: 12px;
  font-weight: 800;
}

.xy-groupbuy-dialog-head h3 {
  margin: 14px 0 10px;
  color: var(--xy-ink);
  font-size: 26px;
  line-height: 1.25;
}

.xy-groupbuy-dialog-head p {
  margin: 0;
  color: #52647c;
  font-size: 14px;
  line-height: 1.8;
}

.xy-groupbuy-dialog-specs {
  margin-top: 18px;
}

.xy-groupbuy-dialog-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.xy-groupbuy-dialog-progress > div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.xy-groupbuy-dialog-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3578f6, #55c8ef);
}

.xy-groupbuy-dialog-progress strong {
  color: #0b64f4;
  font-weight: 900;
}

.xy-groupbuy-dialog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.xy-groupbuy-dialog-stats span {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2ebf6;
  border-radius: 6px;
  background: #f8fbff;
}

.xy-groupbuy-dialog-stats b,
.xy-groupbuy-dialog-stats em {
  display: block;
}

.xy-groupbuy-dialog-stats b {
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}

.xy-groupbuy-dialog-stats em {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.xy-groupbuy-dialog-members {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.xy-groupbuy-dialog-members p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #e1eaf6;
  border-radius: 6px;
  background: #fff;
  color: #52647c;
}

.xy-groupbuy-dialog-members span,
.xy-groupbuy-dialog-members em {
  font-size: 12px;
  font-style: normal;
}

.xy-groupbuy-dialog-members span {
  color: #0b64f4;
  font-weight: 800;
}

.xy-groupbuy-dialog-members strong {
  min-width: 0;
  overflow: hidden;
  color: #12213a;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-groupbuy-dialog-share {
  margin-top: 16px;
}

.xy-groupbuy-dialog-share label {
  display: block;
  margin-bottom: 8px;
  color: #12213a;
  font-size: 13px;
  font-weight: 800;
}

.xy-groupbuy-dialog-share div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.xy-groupbuy-dialog-share input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdceb;
  border-radius: 6px;
  padding: 0 12px;
  color: #12213a;
  outline: none;
}

.xy-groupbuy-dialog-share button {
  min-width: 88px;
  border: 1px solid #b9d2ff;
  border-radius: 6px;
  background: #f2f7ff;
  color: #0b64f4;
  font-weight: 800;
  cursor: pointer;
}

.xy-groupbuy-dialog-account {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  background: #f7fbff;
}

.xy-groupbuy-dialog-account span {
  color: #0b64f4;
  font-size: 13px;
  font-weight: 800;
}

.xy-groupbuy-dialog-account strong {
  min-width: 0;
  overflow: hidden;
  color: #12213a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-groupbuy-dialog-account em {
  grid-column: 2 / 3;
  min-width: 0;
  overflow: hidden;
  color: #52647c;
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-groupbuy-dialog-account a {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #0b64f4;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.xy-groupbuy-dialog-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.xy-groupbuy-dialog-form label {
  display: grid;
  gap: 8px;
  color: #12213a;
  font-size: 13px;
  font-weight: 800;
}

.xy-groupbuy-dialog-alert {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  color: #0b4a99;
  font-size: 13px;
  line-height: 1.6;
}

.xy-groupbuy-dialog-alert.is-error {
  border-color: #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.xy-groupbuy-dialog-alert.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.xy-groupbuy-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.xy-groupbuy-dialog-actions .xy-activity-primary,
.xy-groupbuy-dialog-actions .xy-activity-outline {
  min-width: 138px;
}

.xy-groupbuy-start-link.is-disabled {
  cursor: not-allowed;
  opacity: .58;
}

@media (max-width: 640px) {
  .xy-groupbuy-dialog {
    padding: 12px;
  }

  .xy-groupbuy-dialog-panel {
    max-height: calc(100vh - 24px);
    padding: 24px 18px;
  }

  .xy-groupbuy-dialog-head h3 {
    font-size: 22px;
  }

  .xy-groupbuy-dialog-stats,
  .xy-groupbuy-dialog-form {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-dialog-members p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .xy-groupbuy-dialog-share div,
  .xy-groupbuy-dialog-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .xy-groupbuy-dialog-account {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-dialog-account em,
  .xy-groupbuy-dialog-account a {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .xy-activities-page,
  .xy-activities-main {
    background: #edf5ff !important;
  }

  .xy-activities-main {
    overflow: visible;
  }

  .xy-activities-main .container {
    width: calc(100% - 24px);
    max-width: none;
  }

  .xy-activities-hero {
    min-height: 0;
    padding: 86px 0 12px;
    color: #11233f;
    text-align: left;
    background: #edf5ff;
  }

  .xy-activities-hero::before,
  .xy-activities-hero::after {
    display: none;
  }

  .xy-activities-hero .container {
    display: block;
  }

  .xy-activities-hero-copy {
    max-width: none;
    padding: 14px;
    border: 1px solid #dce7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 64, 120, .06);
  }

  .xy-activities-eyebrow {
    margin-bottom: 8px;
    color: #1f7bff;
    font-size: 12px;
    font-weight: 800;
  }

  .xy-activities-hero h1 {
    max-width: none;
    margin: 0;
    color: #11233f;
    font-size: 24px;
    line-height: 1.28;
    text-shadow: none;
  }

  .xy-activities-hero p {
    max-width: none;
    margin: 10px 0 14px;
    color: #607089;
    font-size: 13px;
    line-height: 1.65;
    text-shadow: none;
  }

  .xy-activities-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .xy-activities-hero-actions .xy-activity-primary,
  .xy-activities-hero-actions .xy-activity-outline {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
  }

  .xy-activities-hero .xy-activity-outline {
    color: #1268e8;
    background: #f6faff;
    border-color: #bed6ff;
    backdrop-filter: none;
  }

  .xy-activities-hero-tags {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .xy-activities-hero-tags::-webkit-scrollbar,
  .xy-groupbuy-flow::-webkit-scrollbar,
  .xy-activity-filter::-webkit-scrollbar {
    display: none;
  }

  .xy-activities-hero-tags span {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    color: #315987;
    background: #f5f9ff;
    border-color: #d7e7fb;
  }

  .xy-groupbuy-section,
  .xy-activity-section {
    padding: 12px 0;
    background: #edf5ff;
  }

  .xy-groupbuy-head,
  .xy-activity-section-head {
    display: block;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid #dce7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 64, 120, .06);
  }

  .xy-groupbuy-head span,
  .xy-activity-section-head span {
    display: flex;
    align-items: center;
    min-height: 22px;
    margin: 0 0 8px;
    color: #1f7bff;
    font-size: 12px;
    font-weight: 800;
  }

  .xy-groupbuy-head span::before,
  .xy-activity-section-head span::before {
    content: "";
    flex: 0 0 auto;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    background: #1f7bff;
  }

  .xy-groupbuy-head h2,
  .xy-activity-section-head h2 {
    margin: 0;
    color: #11233f;
    font-size: 20px;
    line-height: 1.35;
  }

  .xy-groupbuy-head p,
  .xy-activity-section-head p {
    margin: 8px 0 0;
    color: #607089;
    font-size: 13px;
    line-height: 1.65;
  }

  .xy-groupbuy-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }

  .xy-groupbuy-summary span {
    min-height: 44px;
    justify-content: center;
    padding: 0 6px;
    border-color: #dce7f6;
    border-radius: 6px;
    box-shadow: none;
  }

  .xy-groupbuy-flow {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 1fr);
    grid-template-columns: none;
    gap: 8px;
    margin: 0 0 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scrollbar-width: none;
  }

  .xy-groupbuy-flow span {
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid #dce7f6 !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 64, 120, .045);
  }

  .xy-groupbuy-flow span + span::before {
    display: none;
  }

  .xy-groupbuy-flow b {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .xy-groupbuy-flow em {
    color: #263a55;
    font-size: 13px;
    white-space: normal;
  }

  .xy-groupbuy-mine {
    margin: 12px 0 14px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: none;
  }

  .xy-groupbuy-mine-head {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .xy-groupbuy-mine-head strong {
    font-size: 16px;
  }

  .xy-groupbuy-mine-empty {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .xy-groupbuy-mine-empty .xy-activity-primary {
    width: 100%;
    min-width: 0;
  }

  .xy-groupbuy-mine-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 11px;
  }

  .xy-groupbuy-mine-price {
    min-width: 0;
    text-align: left;
  }

  .xy-groupbuy-mine-progress p {
    white-space: normal;
  }

  .xy-groupbuy-mine-detail {
    width: 100%;
  }

  .xy-groupbuy-grid,
  .xy-activity-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .xy-groupbuy-card,
  .xy-activity-card {
    max-width: none;
    padding: 14px;
    border-color: #dce7f6;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(24, 64, 120, .06);
  }

  .xy-groupbuy-card:hover,
  .xy-activity-card:hover {
    transform: none;
  }

  .xy-groupbuy-card::before {
    height: 3px;
  }

  .xy-groupbuy-card-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .xy-groupbuy-badge,
  .xy-groupbuy-status {
    min-height: 24px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
  }

  .xy-groupbuy-price {
    font-size: 24px;
  }

  .xy-groupbuy-origin {
    font-size: 12px;
  }

  .xy-groupbuy-specs,
  .xy-groupbuy-dialog-specs {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .xy-groupbuy-specs span,
  .xy-groupbuy-dialog-specs span {
    padding: 9px 10px;
  }

  .xy-groupbuy-card h3 {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.42;
  }

  .xy-groupbuy-subtitle,
  .xy-groupbuy-note,
  .xy-groupbuy-rules,
  .xy-groupbuy-join-hint {
    font-size: 13px;
  }

  .xy-groupbuy-highlight {
    padding: 9px 10px;
    border-radius: 6px;
  }

  .xy-groupbuy-progress-row {
    margin-top: 12px;
  }

  .xy-groupbuy-meta {
    gap: 8px;
  }

  .xy-groupbuy-meta span {
    min-height: 58px;
    padding: 10px 8px;
    border-color: #dce7f6;
    border-radius: 6px;
  }

  .xy-groupbuy-meta b {
    font-size: 18px;
  }

  .xy-groupbuy-meta em {
    font-size: 12px;
  }

  .xy-groupbuy-card .xy-activity-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 14px;
  }

  .xy-groupbuy-card .xy-activity-card-actions .xy-activity-primary,
  .xy-groupbuy-card .xy-activity-card-actions .xy-activity-outline {
    width: 100%;
    min-height: 42px;
    border-radius: 6px;
    font-size: 13px;
  }

  .xy-groupbuy-normal-link {
    grid-column: 1 / -1;
    min-height: 38px;
  }

  .xy-activity-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .xy-activity-filter button {
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
  }

  .xy-activity-card {
    overflow: hidden;
    padding: 0;
  }

  .xy-activity-card-cover {
    min-height: 148px;
    padding: 14px;
  }

  .xy-activity-card-body {
    padding: 14px;
  }

  .xy-activity-title-row h3 {
    font-size: 17px;
    line-height: 1.45;
  }

  .xy-activity-time,
  .xy-activity-desc,
  .xy-activity-meta {
    font-size: 13px;
  }

  .xy-activity-card-actions {
    gap: 8px;
    padding-top: 14px;
  }

  .xy-activity-card-actions .xy-activity-primary,
  .xy-activity-card-actions .xy-activity-outline {
    min-height: 42px;
    border-radius: 6px;
    font-size: 13px;
  }

  .xy-activity-cta {
    padding: 14px 0 28px;
    background: #edf5ff;
  }

  .xy-activity-cta .container {
    display: block;
    padding: 14px;
    border: 1px solid #dce7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 64, 120, .06);
  }

  .xy-activity-cta h2 {
    font-size: 20px;
  }

  .xy-activity-cta p {
    font-size: 13px;
    line-height: 1.65;
  }

  .xy-activity-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
  }

  .xy-groupbuy-dialog {
    align-items: flex-end;
    padding: 0;
  }

  .xy-groupbuy-dialog-panel {
    width: 100%;
    max-height: calc(100vh - 18px);
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .xy-groupbuy-dialog-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }

  .xy-groupbuy-dialog-head h3 {
    padding-right: 42px;
    font-size: 21px;
  }

  .xy-groupbuy-dialog-progress {
    margin-top: 16px;
  }

  .xy-groupbuy-dialog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .xy-groupbuy-dialog-stats span {
    padding: 10px 8px;
  }

  .xy-groupbuy-dialog-members p {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 40px;
  }

  .xy-groupbuy-dialog-account {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
  }

  .xy-groupbuy-dialog-account em,
  .xy-groupbuy-dialog-account a {
    grid-column: auto;
    grid-row: auto;
    white-space: normal;
  }

  .xy-groupbuy-dialog-share div,
  .xy-groupbuy-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .xy-groupbuy-dialog-actions .xy-activity-primary,
  .xy-groupbuy-dialog-actions .xy-activity-outline {
    width: 100%;
    min-height: 42px;
    border-radius: 6px;
  }
}

@media (max-width: 420px) {
  .xy-activities-hero-actions,
  .xy-groupbuy-card .xy-activity-card-actions,
  .xy-groupbuy-dialog-stats {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-summary {
    grid-template-columns: 1fr;
  }

  .xy-groupbuy-flow {
    grid-auto-columns: minmax(128px, 78vw);
    grid-template-columns: none;
  }

  .xy-groupbuy-card-head {
    flex-direction: column;
  }

  .xy-groupbuy-pricebox {
    align-items: flex-start;
    text-align: left;
  }
}

.xy-activity-card {
  min-height: 0;
}

.xy-activity-card > .xy-activity-card-cover {
  height: clamp(164px, 13vw, 192px);
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  padding: 18px 20px;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-kicker {
  margin-bottom: 6px;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-tags {
  gap: 6px;
  margin-bottom: 8px;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-copy {
  width: min(70%, 248px);
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-copy strong {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-copy em {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.32;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-action {
  min-height: 26px;
  margin-top: 10px;
  padding: 0 12px;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-deco {
  right: 14px;
  bottom: 12px;
  max-width: 138px;
  height: 52%;
  transform: scale(.9);
  transform-origin: right bottom;
}

.xy-activity-card > .xy-activity-card-cover .xy-cover-symbol {
  transform: scale(.92);
  transform-origin: right center;
}

.xy-activity-card-body {
  padding: 18px 20px 20px;
}

.xy-activity-title-row {
  align-items: center;
}

.xy-activity-title-row h3 {
  min-height: 0;
  font-size: 19px;
  line-height: 1.32;
}

.xy-activity-time {
  min-height: 0;
  margin-top: 10px;
  line-height: 1.45;
}

.xy-activity-desc {
  min-height: 0;
  margin-top: 10px;
  line-height: 1.58;
}

.xy-activity-purchase {
  margin-top: 12px;
  padding: 12px;
}

.xy-activity-purchase-head {
  gap: 8px;
  align-items: center;
}

.xy-activity-purchase-pricebox {
  gap: 4px 8px;
}

.xy-activity-purchase-price {
  font-size: 21px;
}

.xy-activity-purchase-specs {
  gap: 7px;
  margin-top: 10px;
}

.xy-activity-purchase-specs span {
  gap: 2px;
  padding: 7px 9px;
}

.xy-activity-purchase p {
  margin-top: 8px;
  line-height: 1.45;
}

.xy-activity-meta {
  min-height: 0;
  gap: 6px;
  margin-top: 12px;
}

.xy-activity-meta span {
  min-height: 24px;
  padding: 0 8px;
}

.xy-activity-card-actions {
  padding-top: 16px;
}

.xy-activity-card-actions .xy-activity-primary,
.xy-activity-card-actions .xy-activity-outline {
  min-height: 40px;
}

@media (max-width: 767px) {
  .xy-activity-card > .xy-activity-card-cover {
    height: 160px;
    padding: 15px 16px;
  }

  .xy-activity-card > .xy-activity-card-cover .xy-cover-copy {
    width: min(70%, 230px);
  }

  .xy-activity-card > .xy-activity-card-cover .xy-cover-copy strong {
    font-size: 22px;
  }

  .xy-activity-card > .xy-activity-card-cover .xy-cover-action {
    margin-top: 9px;
  }

  .xy-activity-card > .xy-activity-card-cover .xy-cover-deco {
    right: 10px;
    bottom: 10px;
    transform: scale(.82);
  }

  .xy-activity-card-body {
    padding: 14px 16px 16px;
  }

  .xy-activity-title-row h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .xy-activity-time {
    margin-top: 9px;
    font-size: 13px;
  }

  .xy-activity-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
  }

  .xy-activity-purchase {
    margin-top: 10px;
    padding: 10px;
  }

  .xy-activity-purchase-head {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .xy-activity-purchase-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
  }

  .xy-activity-purchase-specs span {
    min-height: 52px;
    padding: 7px 8px;
  }

  .xy-activity-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 13px;
  }

  .xy-activity-card-actions .xy-activity-primary,
  .xy-activity-card-actions .xy-activity-outline {
    width: 100%;
    min-width: 0;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .xy-activity-card > .xy-activity-card-cover {
    height: 152px;
  }

  .xy-activity-purchase-head,
  .xy-activity-card-actions {
    grid-template-columns: 1fr;
  }

  .xy-activity-purchase-head {
    display: grid;
  }

  .xy-activity-purchase-specs {
    grid-template-columns: 1fr;
  }
}

.xy-activity-card.is-purchased,
.xy-activity-card.is-unavailable {
  opacity: .72;
  filter: grayscale(.16);
}

.xy-activity-card.is-purchased .xy-activity-card-cover,
.xy-activity-card.is-unavailable .xy-activity-card-cover {
  opacity: .78;
}

.xy-activity-status.purchased,
.xy-activity-status.blocked {
  background: #94a3b8;
}

.xy-activity-primary.is-disabled,
.xy-activity-primary.is-disabled:hover,
.xy-activity-primary.is-disabled:focus,
.xy-activity-primary[aria-disabled="true"],
.xy-activity-primary[aria-disabled="true"]:hover,
.xy-activity-primary[aria-disabled="true"]:focus {
  color: #fff;
  background: #aeb9c8;
  border-color: #aeb9c8;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.xy-purchase-image-dialog {
  position: fixed;
  z-index: 1000001;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 22, 42, .58);
}

.xy-purchase-image-dialog.is-open {
  display: flex;
}

.xy-purchase-image-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 35, 66, .26);
}

.xy-purchase-image-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #d4e1f0;
  border-radius: 6px;
  background: #fff;
  color: #31445f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.xy-purchase-image-head span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
  background: #eef5ff;
  color: #0b64f4;
  font-size: 12px;
  font-weight: 800;
}

.xy-purchase-image-head h3 {
  margin: 14px 46px 8px 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
}

.xy-purchase-image-head p {
  margin: 0;
  color: #52647c;
  font-size: 14px;
  line-height: 1.7;
}

.xy-purchase-image-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.xy-purchase-image-stage {
  display: grid;
  gap: 16px;
}

.xy-purchase-image-stage-label {
  padding-bottom: 12px;
  border-bottom: 1px solid #e4edf7;
  color: #1d5cff;
  font-size: 14px;
  font-weight: 800;
}

.xy-purchase-image-families {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.xy-purchase-image-family {
  display: grid;
  min-width: 0;
  min-height: 108px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 35, 66, .05);
}

.xy-purchase-image-family:hover,
.xy-purchase-image-family.is-active {
  border-color: #4d7dff;
  background: #f4f8ff;
  color: #1d5cff;
}

.xy-purchase-image-family-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #8aa1c1;
  font-size: 11px;
  font-weight: 900;
}

.xy-purchase-image-family-icon.has-image {
  background: transparent;
}

.xy-purchase-image-family-icon.has-image img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.xy-purchase-image-family-icon.has-image span {
  display: none;
}

.xy-purchase-image-family.is-active .xy-purchase-image-family-icon {
  background: #e5eeff;
  color: #1d5cff;
}

.xy-purchase-image-family.is-active .xy-purchase-image-family-icon.has-image {
  background: transparent;
}

.xy-purchase-image-family strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-purchase-image-family em {
  color: #7b8aa3;
  font-size: 12px;
  font-style: normal;
}

.xy-purchase-image-version-row {
  width: min(400px, 100%);
}

.xy-purchase-image-select {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 16px;
  border: 1px solid #cfdceb;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
}

.xy-purchase-image-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #dce7f6;
  border-radius: 6px;
  background: #f8fbff;
  cursor: pointer;
}

.xy-purchase-image-option.is-active {
  border-color: #7bb5ff;
  background: #eef6ff;
  box-shadow: inset 3px 0 0 #0b7cff;
}

.xy-purchase-image-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.xy-purchase-image-option strong,
.xy-purchase-image-option em {
  display: block;
  min-width: 0;
}

.xy-purchase-image-option strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xy-purchase-image-option em {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.xy-purchase-image-empty,
.xy-purchase-image-loading,
.xy-purchase-image-alert {
  padding: 12px 14px;
  border: 1px solid #dce7f6;
  border-radius: 6px;
  background: #f8fbff;
  color: #52647c;
  font-size: 13px;
  line-height: 1.6;
}

.xy-purchase-image-alert {
  margin-top: 12px;
}

.xy-purchase-image-alert.is-error {
  border-color: #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.xy-purchase-image-alert.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.xy-purchase-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.xy-purchase-image-actions .xy-activity-primary,
.xy-purchase-image-actions .xy-activity-outline {
  min-width: 150px;
}

@media (max-width: 640px) {
  .xy-purchase-image-dialog {
    align-items: flex-end;
    padding: 0;
  }

  .xy-purchase-image-panel {
    width: 100%;
    max-height: calc(100vh - 18px);
    padding: 22px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 10px 10px 0 0;
  }

  .xy-purchase-image-head h3 {
    font-size: 21px;
  }

  .xy-purchase-image-families {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .xy-purchase-image-family {
    min-height: 96px;
  }

  .xy-purchase-image-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .xy-purchase-image-actions .xy-activity-primary,
  .xy-purchase-image-actions .xy-activity-outline {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .xy-purchase-image-families {
    grid-template-columns: 1fr;
  }

  .xy-purchase-image-family {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 62px;
    justify-items: start;
    text-align: left;
  }
}

@media (min-width: 768px) {
  /* Match the cloud hero's height, background scale and right-side composition. */
  .xy-activities-page .xy-activities-hero {
    min-height: 560px;
    padding: 24px 0 0;
    color: #17233d;
    background:
      linear-gradient(90deg, rgba(247, 251, 255, .96) 0%, rgba(247, 251, 255, .76) 42%, rgba(247, 251, 255, .22) 72%, rgba(247, 251, 255, 0) 100%),
      radial-gradient(circle at 78% 48%, rgba(24, 119, 255, .12), transparent 36%),
      linear-gradient(135deg, #f8fbff 0%, #edf6ff 58%, #eaf3ff 100%);
  }

  .xy-activities-page .xy-activities-hero::before {
    display: block !important;
    z-index: 0;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 36%, rgba(255, 255, 255, .48) 58%, rgba(255, 255, 255, .1) 82%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(rgba(0, 91, 255, .026) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 91, 255, .026) 1px, transparent 1px);
    background-size: auto, 46px 46px, 46px 46px;
    mask-image: none;
  }

  .xy-activities-page .xy-activities-hero::after {
    display: block !important;
    z-index: 0;
    bottom: -22px;
    height: 128px;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0) 0%, #f4f8ff 100%);
  }

  .xy-activities-page .xy-activities-hero .container {
    z-index: 1;
    grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
    gap: 42px;
  }

  .xy-activities-page .xy-activities-hero-copy {
    max-width: 720px;
  }

  .xy-activities-page .xy-activities-hero h1 {
    color: #101b33;
    text-shadow: none;
  }

  .xy-activities-page .xy-activities-hero p {
    max-width: 720px;
    color: #40516c;
    text-shadow: none;
  }

  .xy-activities-page .xy-activities-hero .xy-activity-outline {
    color: #0f2a4d;
    background: rgba(255, 255, 255, .72);
    border-color: rgba(125, 156, 200, .48);
    backdrop-filter: none;
  }

  .xy-activities-page .xy-activities-hero .xy-activity-outline:hover,
  .xy-activities-page .xy-activities-hero .xy-activity-outline:focus {
    color: #fff;
    background: #0b7cff;
    border-color: #0b7cff;
  }

  .xy-activities-page .xy-activities-hero-tags span {
    color: #17233d;
    background: rgba(255, 255, 255, .64);
    border-color: rgba(151, 177, 217, .45);
  }

  .xy-activities-page .xy-activities-hero-visual {
    min-height: 286px;
    padding: 0;
    align-items: center;
    transform: translateY(26px) scale(.88);
    transform-origin: center center;
  }

  .xy-activities-page .xy-activities-hero-visual::before {
    inset: 18px 0;
    background: rgba(255, 255, 255, .26);
    border-color: rgba(100, 157, 238, .18);
    border-radius: 16px;
  }

  .xy-activities-page .xy-activity-hero-image {
    width: min(500px, 100%);
    height: auto;
    max-height: 286px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-color: rgba(179, 205, 239, .36);
    box-shadow: 0 22px 44px rgba(44, 92, 158, .16);
  }

  .xy-activities-page .xy-activities-hero.xy-theme-light-hero {
    background-color: #f4f9ff !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: auto 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1399px) {
  .xy-activities-page .xy-activities-hero.xy-theme-light-hero {
    background-position: right center !important;
    background-size: auto 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .xy-activities-page .xy-activities-hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
    gap: 34px;
  }

  .xy-activities-page .xy-activities-hero-visual {
    transform: translateY(18px) scale(.78);
  }
}

@media (max-width: 767px) {
  .xy-activities-page .xy-activities-hero {
    min-height: 444px;
    padding: 78px 0 34px;
  }

  .xy-activities-page .xy-activities-hero.xy-theme-light-hero {
    background-position: center top !important;
    background-size: cover !important;
  }

  .xy-activities-page .xy-activities-hero::after {
    bottom: -18px;
    height: 72px;
    background: linear-gradient(180deg, rgba(243, 246, 251, 0) 0%, #f3f6fb 100%);
  }
}

.xy-activity-notice {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 48, .52);
  backdrop-filter: blur(3px);
}

.xy-activity-notice.is-open {
  display: grid;
}

.xy-activity-notice-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  color: #111c33;
  background: #fff;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(14, 38, 78, .24);
  outline: none;
}

.xy-activity-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #5d6d86;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid #d7e3f3;
  border-radius: 6px;
  cursor: pointer;
}

.xy-activity-notice-close:hover,
.xy-activity-notice-close:focus {
  color: #0b7cff;
  border-color: #87baff;
}

.xy-activity-notice-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #0b7cff;
  font-size: 12px;
  font-weight: 700;
}

.xy-activity-notice-panel h3 {
  margin: 0;
  padding-right: 42px;
  font-size: 24px;
  line-height: 1.35;
}

.xy-activity-notice-panel p {
  margin: 14px 0 0;
  color: #5a6a84;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.xy-activity-notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.xy-activity-notice-actions .xy-activity-primary,
.xy-activity-notice-actions .xy-activity-outline {
  min-width: 104px;
  min-height: 42px;
}

.xy-activities-page.xy-activity-notice-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .xy-activity-notice {
    padding: 16px;
  }

  .xy-activity-notice-panel {
    width: 100%;
    padding: 24px 20px 20px;
  }

  .xy-activity-notice-panel h3 {
    font-size: 21px;
  }

  .xy-activity-notice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xy-activity-notice-actions .xy-activity-primary,
  .xy-activity-notice-actions .xy-activity-outline {
    width: 100%;
    min-width: 0;
  }

  .xy-activity-notice-cancel[hidden] + .xy-activity-notice-confirm {
    grid-column: 1 / -1;
  }
}
