.stardreams-breaks-page {
  --break-space: #060710;
  --break-gold: #e1b94f;
  --break-paper: #f3efe5;
}

.stardreams-breaks-page .catalog-main {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  overflow: hidden;
  background: var(--break-paper);
}

.breaks-hold {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  overflow: hidden;
  place-items: center start;
  padding: 80px max(5vw, calc((100vw - 1440px) / 2));
  color: #fff;
  background: var(--break-space);
}

.breaks-hold-backdrop,
.breaks-hero-backdrop {
  position: absolute;
  inset: -2%;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 7, 16, 0.98) 0%, rgba(6, 7, 16, 0.8) 42%, rgba(6, 7, 16, 0.18) 78%),
    linear-gradient(180deg, rgba(6, 7, 16, 0.08), rgba(6, 7, 16, 0.72)),
    url("/assets/stardreams/topic-hero-galaxy-routes-v1.jpg") center / cover no-repeat,
    var(--break-space);
  transform-origin: 60% 50%;
  animation: sd-backdrop-drift 24s ease-in-out infinite alternate;
}

.breaks-hold-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.breaks-hold-copy > p {
  margin: 0 0 18px;
  color: var(--break-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.breaks-hold-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 82px;
  font-weight: 400;
  line-height: 0.98;
}

.breaks-hold-copy h1 em {
  display: block;
  margin-top: 17px;
  color: var(--break-gold);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.breaks-hold-copy > span {
  display: block;
  max-width: 560px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.breaks-hold-copy > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 0 20px;
  border: 1px solid rgba(225, 185, 79, 0.62);
  border-radius: 6px;
  color: #11131a;
  background: var(--break-gold);
  font-size: 12px;
  font-weight: 800;
}

.stardreams-breaks-page .breaks-catalog-hero {
  min-height: 710px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.72fr);
}

.stardreams-breaks-page .breaks-hero-backdrop {
  background:
    linear-gradient(90deg, rgba(6, 7, 16, 0.98) 0%, rgba(6, 7, 16, 0.79) 39%, rgba(6, 7, 16, 0.16) 76%),
    linear-gradient(180deg, rgba(6, 7, 16, 0.04), rgba(6, 7, 16, 0.76)),
    url("/assets/stardreams/topic-hero-galaxy-routes-v1.jpg") center / cover no-repeat,
    var(--break-space);
}

.stardreams-breaks-page .hero-copy h1 {
  max-width: 650px;
  font-size: 78px;
  letter-spacing: 0;
}

.stardreams-breaks-page .hero-copy h1 em {
  font-size: 36px;
  letter-spacing: 0;
}

.stardreams-breaks-page .hero-kicker,
.stardreams-breaks-page .section-kicker {
  letter-spacing: 0;
}

.break-hero-board {
  position: relative;
  width: min(470px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 8px;
  background: rgba(5, 8, 17, 0.82);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.break-hero-board::before {
  position: absolute;
  top: 98px;
  right: -20%;
  left: -20%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(225, 185, 79, 0.48), rgba(120, 200, 248, 0.28), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.break-hero-board header {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.break-hero-board header span {
  color: var(--break-gold);
  font-size: 9px;
  font-weight: 900;
}

.break-hero-board header b {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.break-hero-board-copy {
  min-height: 170px;
  padding: 26px 24px 20px;
}

.break-hero-board-copy > span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 800;
}

.break-hero-board-copy h2 {
  max-width: 360px;
  margin: 10px 0;
  color: #fff;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.18;
}

.break-hero-board-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.break-status-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 19px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.break-status-track li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.break-status-track li::after {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.13);
}

.break-status-track li:last-child::after {
  display: none;
}

.break-status-track i {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #080b14;
}

.break-status-track li.reached {
  color: rgba(255, 255, 255, 0.76);
}

.break-status-track li.reached i {
  border-color: var(--break-gold);
  background: var(--break-gold);
}

.break-status-track li.current i {
  box-shadow: 0 0 0 5px rgba(225, 185, 79, 0.13);
}

.break-hero-board footer {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
}

.break-hero-board footer div {
  display: grid;
  gap: 3px;
}

.break-hero-board footer span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.break-hero-board footer strong {
  color: #fff;
  font-size: 12px;
}

.break-hero-board footer button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(225, 185, 79, 0.52);
  border-radius: 5px;
  color: #fff;
  background: rgba(225, 185, 79, 0.08);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.break-hero-board footer button:disabled {
  opacity: 0.4;
}

.breaks-flow-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding: 0 max(4vw, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #111522;
}

.breaks-flow-band > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 124px;
  align-items: center;
  gap: 16px;
  padding: 22px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.breaks-flow-band > div:last-child {
  border-right: 0;
}

.breaks-flow-band b {
  color: var(--break-gold);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.breaks-flow-band p,
.breaks-flow-band strong,
.breaks-flow-band span {
  display: block;
  margin: 0;
}

.breaks-flow-band strong {
  font-size: 13px;
}

.breaks-flow-band span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

@media (max-width: 1050px) {
  .stardreams-breaks-page .breaks-catalog-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  }

  .stardreams-breaks-page .hero-copy h1 {
    font-size: 66px;
  }
}

@media (max-width: 800px) {
  .breaks-hold-backdrop,
  .breaks-hero-backdrop {
    animation: none;
  }

  .breaks-hold {
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    padding: 70px 5vw 110px;
  }

  .breaks-hold-backdrop,
  .stardreams-breaks-page .breaks-hero-backdrop {
    background:
      linear-gradient(180deg, rgba(6, 7, 16, 0.22), rgba(6, 7, 16, 0.88) 58%, var(--break-space) 90%),
      url("/assets/stardreams/topic-hero-galaxy-routes-v1.jpg") 64% center / auto 100% no-repeat,
      var(--break-space);
  }

  .stardreams-breaks-page .breaks-catalog-hero {
    display: block;
    min-height: 820px;
    padding-bottom: 330px;
  }

  .stardreams-breaks-page .breaks-catalog-hero .hero-feature {
    right: 5vw;
    bottom: 62px;
    left: 5vw;
    width: auto;
    min-height: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .break-hero-board {
    width: min(470px, 100%);
    margin-left: auto;
  }

  .breaks-flow-band {
    grid-template-columns: 1fr;
    padding: 0 5vw;
  }

  .breaks-flow-band > div {
    min-height: 88px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .breaks-flow-band > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .breaks-hold {
    padding: 56px 18px 100px;
  }

  .breaks-hold-copy h1,
  .stardreams-breaks-page .hero-copy h1 {
    font-size: 49px;
  }

  .breaks-hold-copy h1 em,
  .stardreams-breaks-page .hero-copy h1 em {
    font-size: 24px;
  }

  .stardreams-breaks-page .breaks-catalog-hero {
    min-height: 850px;
    padding-bottom: 350px;
  }

  .stardreams-breaks-page .breaks-catalog-hero .hero-feature {
    right: 18px;
    bottom: 70px;
    left: 18px;
  }

  .break-hero-board-copy {
    min-height: 150px;
    padding: 22px 18px 18px;
  }

  .break-hero-board-copy h2 {
    font-size: 22px;
  }

  .breaks-flow-band {
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaks-hold-backdrop,
  .breaks-hero-backdrop {
    animation: none;
  }
}
