.l2s-home {
  padding-top: 4rem;
}

.l2s-home-intro {
  max-width: 780px;
  margin-bottom: 1.1rem;
}

.l2s-home-scroll {
  position: relative;
  height: 290vh;
}

.l2s-home-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 1.2rem 0;
}

.l2s-home-content {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.l2s-home-story {
  padding: 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(137, 185, 255, 0.28);
  background: rgba(12, 22, 40, 0.78);
}

.l2s-home-story h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
}

.l2s-home-story p {
  margin: 0;
}

.l2s-home-stage {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(137, 185, 255, 0.3);
  background: linear-gradient(160deg, rgba(10, 19, 35, 0.92), rgba(13, 25, 45, 0.84));
  box-shadow: 0 30px 70px rgba(2, 8, 18, 0.54);
  min-height: min(75vh, 650px);
  min-height: min(75svh, 650px);
  padding: 1rem;
  overflow: hidden;
}

.l2s-home-master {
  --master-glow: 0;
  position: absolute;
  inset: 8% 8%;
  border-radius: 20px;
  border: 1px solid rgba(137, 185, 255, 0.32);
  background: linear-gradient(150deg, rgba(14, 24, 42, 0.94), rgba(18, 32, 56, 0.88));
  padding: 1rem;
  box-shadow:
    0 22px 48px rgba(4, 9, 18, 0.44),
    0 0 calc(var(--master-glow) * 34px) rgba(255, 181, 79, 0.2);
}

.l2s-home-topbar {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.l2s-home-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(170, 199, 236, 0.68);
}

.l2s-home-topbar p {
  margin: 0 0 0 0.2rem;
  font-size: 0.78rem;
  color: #d7e5fb;
}

.l2s-home-layout {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.9rem;
}

.l2s-home-player {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(139, 188, 255, 0.3);
  background: linear-gradient(160deg, rgba(18, 33, 58, 0.72), rgba(15, 25, 45, 0.72));
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.l2s-home-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 79, 0.58);
  background: rgba(255, 181, 79, 0.18);
}

.l2s-home-play::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 22px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #ffd8a4;
}

.l2s-home-player-caption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  display: flex;
  gap: 0.45rem;
  font-size: 0.74rem;
}

.l2s-home-player-caption span:first-child {
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 79, 0.45);
  color: #ffd49a;
}

.l2s-home-player-caption span:last-child {
  color: #d4e3fb;
}

.l2s-home-guides {
  position: absolute;
  inset: 10% 8%;
  pointer-events: none;
}

.l2s-home-cut-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(transparent, rgba(88, 221, 255, 0.84), transparent);
  opacity: 0;
}

.l2s-home-cut-line:nth-child(1) {
  left: 20%;
}

.l2s-home-cut-line:nth-child(2) {
  left: 49%;
}

.l2s-home-cut-line:nth-child(3) {
  left: 74%;
}

.l2s-home-side {
  display: grid;
  gap: 0.7rem;
}

.l2s-home-side div {
  border: 1px solid rgba(140, 181, 238, 0.28);
  border-radius: 12px;
  background: rgba(23, 38, 64, 0.64);
  min-height: 64px;
}

.l2s-home-timeline {
  margin-top: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(140, 181, 238, 0.24);
  height: 18px;
  padding: 0 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 31, 54, 0.7);
}

.l2s-home-moment-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(140, 182, 239, 0.7);
  box-shadow: 0 0 0 rgba(255, 181, 79, 0);
}

.l2s-home-clips-layer {
  position: absolute;
  inset: 8% 8%;
  z-index: 3;
  pointer-events: none;
}

.l2s-home-clip-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(122px, 10vw, 170px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  border: 1px solid rgba(152, 196, 255, 0.36);
  background: linear-gradient(160deg, rgba(20, 35, 62, 0.92), rgba(15, 26, 45, 0.85));
  box-shadow: 0 18px 32px rgba(4, 10, 19, 0.5);
  padding: 0.55rem;
}

.l2s-home-clip-card p {
  display: inline-flex;
  margin: 0;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d2e3fd;
  border: 1px solid rgba(141, 183, 238, 0.35);
  border-radius: 999px;
  padding: 0.17rem 0.4rem;
}

.l2s-home-clip-play {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 181, 79, 0.2);
  border: 1px solid rgba(255, 181, 79, 0.5);
}

.l2s-home-clip-play::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 11px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffd7a5;
}

.l2s-home-clip-lines {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 1rem;
  display: grid;
  gap: 0.36rem;
}

.l2s-home-clip-lines span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(154, 195, 250, 0.72);
}

.l2s-home-clip-lines span:nth-child(2) {
  width: 82%;
}

.l2s-home-clip-lines span:nth-child(3) {
  width: 64%;
}

.l2s-home-clip-timeline {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.5rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 181, 79, 0.85), rgba(88, 221, 255, 0.86));
}

.l2s-home-wall {
  position: absolute;
  inset: 9% 7%;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  align-content: center;
  justify-items: center;
  pointer-events: none;
}

.l2s-home-wall-clip {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  border: 1px solid rgba(156, 200, 255, 0.4);
  background: linear-gradient(160deg, rgba(21, 37, 65, 0.92), rgba(14, 25, 46, 0.88));
  box-shadow: 0 14px 24px rgba(4, 10, 19, 0.38);
  position: relative;
  overflow: hidden;
}

.l2s-home-wall-clip::before {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: rgba(255, 181, 79, 0.18);
  border: 1px solid rgba(255, 181, 79, 0.5);
}

.l2s-home-wall-clip::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 181, 79, 0.85), rgba(88, 221, 255, 0.86));
}

.l2s-home-wall-clip span {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d2e4ff;
  border: 1px solid rgba(141, 183, 238, 0.35);
  border-radius: 999px;
  padding: 0.16rem 0.4rem;
}

.l2s-home-wall-logo {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(7, 15, 29, 0.88);
  border: 1px solid rgba(141, 183, 238, 0.35);
}

.l2s-home-wall-logo img {
  width: 12px;
  height: 12px;
  display: block;
}

.l2s-home-wall-logo-fallback {
  font-size: 0.58rem;
  line-height: 1;
  font-weight: 700;
  color: #d9e8ff;
  text-transform: uppercase;
}

.l2s-home-clip-card.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .l2s-home-content {
    grid-template-columns: 1fr;
  }

  .l2s-home-story {
    max-width: 100%;
  }

  .l2s-home-stage {
    min-height: 66vh;
  }

  .l2s-home-scroll {
    height: 250vh;
  }
}

@media (max-width: 720px) {
  .l2s-home-sticky {
    min-height: 92vh;
    min-height: 92svh;
    align-items: start;
  }

  .l2s-home-scroll {
    height: 220vh;
  }

  .l2s-home-stage {
    min-height: 74vh;
    min-height: 74svh;
    padding: 0.75rem;
    border-radius: 20px;
  }

  .l2s-home-master,
  .l2s-home-clips-layer,
  .l2s-home-wall {
    inset: 6%;
  }

  .l2s-home-layout {
    grid-template-columns: 1fr;
  }

  .l2s-home-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .l2s-home-side div {
    min-height: 42px;
  }

  .l2s-home-clip-card {
    width: clamp(95px, 23vw, 122px);
    border-radius: 12px;
  }

  .l2s-home-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .l2s-home-wall-clip:nth-child(n + 7) {
    display: none;
  }
}
