/* Homepage cooperation section: a restrained orbital frame replaces the repeated boundary motif. */
.home-approved #cooperation.cooperation-section {
  --cooperation-ember: rgba(238, 132, 66, .72);
  --cooperation-champagne: rgba(247, 214, 171, .72);
  --cooperation-line: rgba(236, 204, 164, .25);
  clip-path: none;
  -webkit-mask: none;
  mask: none;
  color: #fff6eb;
  border-block: 1px solid rgba(242, 205, 158, .18);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(242, 151, 83, .11), transparent 43%),
    radial-gradient(ellipse at 84% 100%, rgba(255, 222, 178, .055), transparent 48%),
    linear-gradient(132deg, #080a0c 0%, #111417 46%, #090b0e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 198, .045),
    inset 0 -1px 0 rgba(232, 132, 68, .055),
    0 18px 58px rgba(0, 0, 0, .24);
}

/* Four non-repeating corner cuts and straight light rails form the spacecraft-like contour. */
.home-approved #cooperation.cooperation-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: clamp(16px, 2vw, 28px) clamp(12px, 3vw, 46px);
  width: auto;
  height: auto;
  background:
    linear-gradient(45deg, transparent 47%, var(--cooperation-champagne) 49%, var(--cooperation-champagne) 51%, transparent 53%) 0 0 / 28px 28px no-repeat,
    linear-gradient(135deg, transparent 47%, var(--cooperation-champagne) 49%, var(--cooperation-champagne) 51%, transparent 53%) 100% 0 / 28px 28px no-repeat,
    linear-gradient(135deg, transparent 47%, var(--cooperation-ember) 49%, var(--cooperation-ember) 51%, transparent 53%) 0 100% / 28px 28px no-repeat,
    linear-gradient(45deg, transparent 47%, var(--cooperation-ember) 49%, var(--cooperation-ember) 51%, transparent 53%) 100% 100% / 28px 28px no-repeat,
    linear-gradient(90deg, var(--cooperation-line), rgba(247, 214, 171, .5), var(--cooperation-line)) 28px 0 / calc(100% - 56px) 1px no-repeat,
    linear-gradient(90deg, rgba(238, 132, 66, .16), rgba(238, 132, 66, .48), rgba(238, 132, 66, .16)) 28px 100% / calc(100% - 56px) 1px no-repeat,
    linear-gradient(180deg, var(--cooperation-line), rgba(238, 132, 66, .17), var(--cooperation-line)) 0 28px / 1px calc(100% - 56px) no-repeat,
    linear-gradient(180deg, var(--cooperation-line), rgba(247, 214, 171, .17), var(--cooperation-line)) 100% 28px / 1px calc(100% - 56px) no-repeat;
  filter: drop-shadow(0 0 7px rgba(235, 142, 79, .16));
  pointer-events: none;
  transform: none;
}

/* A single shallow orbit arc gives spatial depth without a repeating ornament. */
.home-approved #cooperation.cooperation-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: clamp(20px, 3vw, 42px);
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(76%, 980px);
  height: clamp(48px, 7vw, 84px);
  border: 0;
  border-top: 1px solid rgba(250, 216, 173, .36);
  border-radius: 50%;
  background: none;
  box-shadow: 0 -6px 20px rgba(239, 137, 70, .09);
  opacity: .92;
  pointer-events: none;
  transform: translateX(-50%) rotate(-1.2deg);
}

.home-approved #cooperation.cooperation-section > .wrap {
  position: relative;
  z-index: 2;
}

.home-approved #cooperation .section-head .kicker {
  color: #ffb97f;
  text-shadow: 0 0 16px rgba(239, 132, 66, .18);
}

.home-approved #cooperation .section-head h2 {
  color: #fff8ef;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .32);
}

.home-approved #cooperation .section-head p,
.home-approved #cooperation .cooperation-station p {
  color: #d8d1c8;
}

.home-approved #cooperation .cooperation-stations::before {
  background: linear-gradient(90deg, transparent, rgba(232, 199, 159, .42) 14%, rgba(232, 199, 159, .42) 86%, transparent);
  box-shadow: 0 0 9px rgba(240, 171, 112, .08);
}

.home-approved #cooperation .cooperation-stations::after {
  background: linear-gradient(90deg, transparent, #e88649 13%, #f5d7b2 50%, #e88649 87%, transparent);
  box-shadow: 0 0 14px rgba(238, 137, 72, .28);
}

.home-approved #cooperation.cooperation-section.in .cooperation-stations::after {
  animation-duration: 1.15s;
  animation-timing-function: cubic-bezier(.2, .75, .3, 1);
}

.home-approved #cooperation .station-icon {
  color: #ffd0a5;
  background: linear-gradient(145deg, #25282b, #121519);
  border-color: rgba(241, 181, 126, .66);
  border-radius: 18px;
  box-shadow:
    0 0 0 8px #101215,
    inset 0 1px 0 rgba(255, 232, 202, .08),
    0 8px 22px rgba(0, 0, 0, .28),
    0 0 15px rgba(238, 132, 66, .09);
}

.home-approved #cooperation .station-number {
  color: #21140d;
  background: linear-gradient(145deg, #ffd6a9, #e98b50);
  border: 1px solid rgba(255, 230, 198, .68);
  box-shadow: 0 0 12px rgba(235, 132, 69, .2);
}

.home-approved #cooperation .cooperation-station:hover .station-icon {
  border-color: #ffd0a7;
  box-shadow:
    0 0 0 8px #101215,
    inset 0 1px 0 rgba(255, 232, 202, .1),
    0 10px 26px rgba(0, 0, 0, .3),
    0 0 22px rgba(238, 132, 66, .2);
}

.home-approved #cooperation .cooperation-action .btn {
  border-color: rgba(255, 211, 170, .72);
  box-shadow: 0 0 20px rgba(238, 132, 66, .1);
}

@media (max-width: 640px) {
  .home-approved #cooperation.cooperation-section {
    clip-path: none;
    -webkit-mask: none;
    mask: none;
    padding-block: 88px 92px;
  }

  .home-approved #cooperation.cooperation-section::before {
    inset: 10px 8px;
    background-size:
      20px 20px, 20px 20px, 20px 20px, 20px 20px,
      calc(100% - 40px) 1px, calc(100% - 40px) 1px,
      1px calc(100% - 40px), 1px calc(100% - 40px);
    background-position:
      0 0, 100% 0, 0 100%, 100% 100%,
      20px 0, 20px 100%, 0 20px, 100% 20px;
  }

  .home-approved #cooperation.cooperation-section::after {
    top: 18px;
    width: 70%;
    height: 44px;
    transform: translateX(-50%);
  }

  .home-approved #cooperation .cooperation-stations::before,
  .home-approved #cooperation .cooperation-stations::after {
    background: linear-gradient(180deg, transparent, rgba(245, 211, 170, .5) 12%, rgba(232, 132, 69, .48) 88%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-approved #cooperation.cooperation-section::before,
  .home-approved #cooperation.cooperation-section::after,
  .home-approved #cooperation .station-icon,
  .home-approved #cooperation .cooperation-stations::after {
    animation: none;
    transition: none;
  }

  .home-approved #cooperation .cooperation-stations::after {
    transform: none;
  }
}

@media print {
  .home-approved #cooperation.cooperation-section {
    clip-path: none;
    -webkit-mask: none;
    mask: none;
    color: #111;
    border: 1px solid #777;
    background: #fff;
    box-shadow: none;
  }

  .home-approved #cooperation.cooperation-section::before,
  .home-approved #cooperation.cooperation-section::after {
    display: none;
  }

  .home-approved #cooperation .section-head h2,
  .home-approved #cooperation .section-head .kicker,
  .home-approved #cooperation .cooperation-station h3,
  .home-approved #cooperation .section-head p,
  .home-approved #cooperation .cooperation-station p {
    color: #111;
    text-shadow: none;
  }

  .home-approved #cooperation .station-icon,
  .home-approved #cooperation .station-number,
  .home-approved #cooperation .cooperation-action .btn {
    color: #111;
    border-color: #777;
    background: #fff;
    box-shadow: none;
  }
}
