.s-labo-world-tree-seed {
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--text) 3%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent-forest) 4%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), var(--bg));
  background-size: 36px 36px, 36px 36px, auto;
}

@supports (overflow: clip) {
  .s-labo-world-tree-seed {
    overflow-x: clip;
  }
}

.s-labo-world-tree-seed,
.s-labo-world-tree-seed * {
  min-width: 0;
}

.s-labo-world-tree-seed__inner,
.s-labo-world-tree-seed__hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.s-labo-world-tree-seed__hero-inner {
  z-index: 2;
}

.s-labo-world-tree-seed__hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(38rem, 82vh, 50rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(var(--space-5), 5vw, var(--space-7)) clamp(var(--space-4), 3vw, var(--space-5)) clamp(var(--space-7), 8vw, var(--space-9));
  background: var(--surface);
}

.s-labo-world-tree-seed__hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--surface) 98%, transparent) 0%,
      color-mix(in srgb, var(--surface) 94%, transparent) 29%,
      color-mix(in srgb, var(--surface) 58%, transparent) 49%,
      color-mix(in srgb, var(--surface-dark) 8%, transparent) 78%,
      color-mix(in srgb, var(--surface-dark) 16%, transparent) 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface) 20%, transparent),
      transparent 48%,
      color-mix(in srgb, var(--surface-dark) 18%, transparent));
}

.s-labo-world-tree-seed__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: clamp(var(--space-6), 8vw, var(--space-9));
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 94%, transparent));
}

.s-labo-world-tree-seed__hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  background: url("/assets/images/labo/world-tree-seed/art_world_tree_seed_hero_01.webp") center center / cover no-repeat;
}

.s-labo-world-tree-seed__hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.s-labo-world-tree-seed__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 var(--space-5);
  color: var(--muted);
  font-size: 0.9rem;
}

.s-labo-world-tree-seed__crumbs a {
  text-decoration: none;
}

.s-labo-world-tree-seed__crumbs a:hover {
  color: var(--accent-teal);
}

.s-labo-world-tree-seed__hero-copy {
  display: grid;
  gap: var(--space-4);
  width: min(100%, 43rem);
  padding-block: clamp(var(--space-4), 5vw, var(--space-7));
}

.s-labo-world-tree-seed__eyebrow,
.s-labo-world-tree-seed__file-name,
.s-labo-world-tree-seed__release-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.s-labo-world-tree-seed h1,
.s-labo-world-tree-seed h2,
.s-labo-world-tree-seed h3,
.s-labo-world-tree-seed p,
.s-labo-world-tree-seed dl,
.s-labo-world-tree-seed ul,
.s-labo-world-tree-seed ol {
  margin-top: 0;
}

.s-labo-world-tree-seed h1,
.s-labo-world-tree-seed h2,
.s-labo-world-tree-seed h3 {
  color: var(--text);
  letter-spacing: 0;
  text-wrap: pretty;
}

.s-labo-world-tree-seed h1 {
  max-width: 13em;
  margin-bottom: 0;
  font-size: 3.6rem;
  line-height: 1.12;
}

.s-labo-world-tree-seed h2 {
  margin-bottom: 0;
  font-size: 2.55rem;
  line-height: 1.22;
}

.s-labo-world-tree-seed h3 {
  margin-bottom: 0.45rem;
  font-size: 1.16rem;
  line-height: 1.45;
}

.s-labo-world-tree-seed__lead {
  max-width: 39rem;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 1.06rem;
  line-height: 1.95;
}

.s-labo-world-tree-seed__note {
  max-width: 36rem;
  margin-bottom: 0;
  padding-left: 0.85rem;
  border-left: 3px solid color-mix(in srgb, var(--accent-teal) 42%, var(--line));
  color: color-mix(in srgb, var(--text) 70%, var(--muted));
  font-size: 0.9rem;
}

.s-labo-world-tree-seed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: var(--space-2);
}

.s-labo-world-tree-seed__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.85rem;
  padding: 0.64rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.s-labo-world-tree-seed__button--primary {
  color: var(--surface-dark);
  background: color-mix(in srgb, var(--accent-soft) 82%, var(--surface));
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--surface-dark) 9%, transparent),
    inset 0 -2px 0 color-mix(in srgb, var(--accent) 22%, transparent);
}

.s-labo-world-tree-seed__button--secondary {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.s-labo-world-tree-seed__button--primary:hover,
.s-labo-world-tree-seed__button--secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.s-labo-world-tree-seed__button--disabled {
  width: 100%;
  color: var(--muted-on-dark);
  background: color-mix(in srgb, var(--surface-dark-soft) 82%, transparent);
  cursor: not-allowed;
}

.s-labo-world-tree-seed__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: var(--space-1) 0 0;
}

.s-labo-world-tree-seed__badges div {
  min-width: min(100%, 9.5rem);
  padding: 0.62rem 0.78rem;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent-teal) 18%, transparent) 0 0.22rem, transparent 0.22rem),
    color-mix(in srgb, var(--surface) 79%, transparent);
  box-shadow: 0 10px 18px color-mix(in srgb, var(--surface-dark) 8%, transparent);
}

.s-labo-world-tree-seed__badges dt {
  margin-bottom: 0.15rem;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s-labo-world-tree-seed__badges dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
}

.s-labo-world-tree-seed__section {
  position: relative;
  padding: clamp(var(--space-7), 8vw, 6.5rem) clamp(var(--space-4), 3vw, var(--space-5));
}

.s-labo-world-tree-seed__section-head {
  display: grid;
  gap: var(--space-3);
  max-width: 48rem;
  margin: 0 auto clamp(var(--space-5), 5vw, var(--space-7));
  text-align: center;
}

.s-labo-world-tree-seed__section-head--compact {
  max-width: 43rem;
}

.s-labo-world-tree-seed__section-head p:not(.s-labo-world-tree-seed__eyebrow),
.s-labo-world-tree-seed__split > div:first-child > p:not(.s-labo-world-tree-seed__eyebrow),
.s-labo-world-tree-seed__prompt-layout > div:first-child > p:not(.s-labo-world-tree-seed__eyebrow),
.s-labo-world-tree-seed__distribution-layout > div:first-child > p:not(.s-labo-world-tree-seed__eyebrow),
.s-labo-world-tree-seed__articles-layout > div:first-child > p:not(.s-labo-world-tree-seed__eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.95;
}

.s-labo-world-tree-seed__file-grid,
.s-labo-world-tree-seed__fit-grid,
.s-labo-world-tree-seed__check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.s-labo-world-tree-seed__file-card,
.s-labo-world-tree-seed__check-card,
.s-labo-world-tree-seed__fit-card {
  position: relative;
  padding: clamp(var(--space-4), 3vw, var(--space-5));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-muted) 90%, transparent));
  box-shadow: var(--shadow-soft);
}

.s-labo-world-tree-seed__file-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: color-mix(in srgb, var(--accent-teal) 35%, var(--accent-soft));
}

.s-labo-world-tree-seed__file-name {
  margin-bottom: var(--space-3);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: none;
}

.s-labo-world-tree-seed__file-card p:last-child,
.s-labo-world-tree-seed__check-card p:last-child,
.s-labo-world-tree-seed__fit-card p:last-child {
  margin-bottom: 0;
}

.s-labo-world-tree-seed__split,
.s-labo-world-tree-seed__prompt-layout,
.s-labo-world-tree-seed__distribution-layout,
.s-labo-world-tree-seed__articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-5), 5vw, var(--space-8));
  align-items: start;
}

.s-labo-world-tree-seed__section--position,
.s-labo-world-tree-seed__section--prompt {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 78%, transparent), color-mix(in srgb, var(--surface-strong) 56%, transparent));
}

.s-labo-world-tree-seed__check-card ul,
.s-labo-world-tree-seed__fit-card ul {
  display: grid;
  gap: var(--space-2);
  margin-bottom: 0;
  padding-left: 1.1rem;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
}

.s-labo-world-tree-seed__check-card--quiet,
.s-labo-world-tree-seed__fit-card--caution {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 96%, transparent), color-mix(in srgb, var(--surface-deep) 72%, transparent));
}

.s-labo-world-tree-seed__steps {
  display: grid;
  gap: var(--space-4);
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: seed-step;
}

.s-labo-world-tree-seed__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.s-labo-world-tree-seed__steps span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  color: var(--surface-dark);
  font-weight: 900;
  background: color-mix(in srgb, var(--accent-soft) 78%, var(--surface));
}

.s-labo-world-tree-seed__steps h3,
.s-labo-world-tree-seed__steps p {
  margin-bottom: 0;
}

.s-labo-world-tree-seed__steps p {
  color: var(--muted);
}

.s-labo-world-tree-seed__section--fit {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.s-labo-world-tree-seed__prompt-card,
.s-labo-world-tree-seed__release-card {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-4), 3vw, var(--space-5));
  border: 1px solid color-mix(in srgb, var(--accent-soft) 26%, transparent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}

.s-labo-world-tree-seed__prompt-card {
  color: var(--text-on-dark);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-dark-soft) 90%, transparent), var(--surface-dark));
}

.s-labo-world-tree-seed__prompt-card pre {
  overflow-x: auto;
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--text-on-dark) 13%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-dark) 72%, transparent);
  white-space: pre-wrap;
}

.s-labo-world-tree-seed__prompt-card code {
  color: var(--text-on-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.s-labo-world-tree-seed__prompt-card p {
  margin-bottom: 0;
  color: var(--muted-on-dark);
}

.s-labo-world-tree-seed__section--distribution {
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent-teal) 24%, transparent), transparent 30%),
    linear-gradient(135deg, var(--surface-dark), color-mix(in srgb, var(--surface-dark-soft) 88%, var(--surface-dark)));
}

.s-labo-world-tree-seed__section--distribution h2,
.s-labo-world-tree-seed__section--distribution h3 {
  color: var(--text-on-dark);
}

.s-labo-world-tree-seed__section--distribution .s-labo-world-tree-seed__eyebrow,
.s-labo-world-tree-seed__release-label {
  color: var(--accent-soft);
}

.s-labo-world-tree-seed__section--distribution .s-labo-world-tree-seed__distribution-layout > div:first-child > p:not(.s-labo-world-tree-seed__eyebrow) {
  color: var(--muted-on-dark);
}

.s-labo-world-tree-seed__release-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-dark-soft) 82%, transparent), color-mix(in srgb, var(--surface-dark) 94%, transparent));
}

.s-labo-world-tree-seed__release-card dl {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.s-labo-world-tree-seed__release-card dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.55rem 0;
  border-top: 1px solid color-mix(in srgb, var(--text-on-dark) 14%, transparent);
}

.s-labo-world-tree-seed__release-card dt {
  color: var(--muted-on-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.s-labo-world-tree-seed__release-card dd {
  margin: 0;
  font-weight: 850;
}

.s-labo-world-tree-seed__release-note {
  margin: var(--space-4) 0 0;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
}

.s-labo-world-tree-seed__article-links {
  display: grid;
  gap: var(--space-3);
}

.s-labo-world-tree-seed__article-links a,
.s-labo-world-tree-seed__article-links article {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.s-labo-world-tree-seed__article-links a:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-teal) 42%, var(--line));
}

.s-labo-world-tree-seed__article-links span,
.s-labo-world-tree-seed__article-links small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.s-labo-world-tree-seed__article-links strong {
  line-height: 1.55;
}

@media (max-width: 960px) {
  .s-labo-world-tree-seed__hero {
    min-height: auto;
    display: block;
    padding: var(--space-4) clamp(var(--space-4), 3vw, var(--space-5)) clamp(var(--space-6), 9vw, var(--space-8));
  }

  .s-labo-world-tree-seed__hero::before {
    display: none;
  }

  .s-labo-world-tree-seed__hero-visual {
    position: relative;
    z-index: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0 0 var(--space-5);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
  }

  .s-labo-world-tree-seed__hero-visual img {
    position: absolute;
    inset: 0;
    object-position: 58% center;
  }

  .s-labo-world-tree-seed__hero-copy {
    padding-block: 0;
  }

  .s-labo-world-tree-seed__split,
  .s-labo-world-tree-seed__prompt-layout,
  .s-labo-world-tree-seed__distribution-layout,
  .s-labo-world-tree-seed__articles-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .s-labo-world-tree-seed h1 {
    font-size: 2.35rem;
  }

  .s-labo-world-tree-seed h2 {
    font-size: 2.15rem;
  }

  .s-labo-world-tree-seed__file-grid,
  .s-labo-world-tree-seed__fit-grid,
  .s-labo-world-tree-seed__check-grid {
    grid-template-columns: 1fr;
  }

  .s-labo-world-tree-seed__badges {
    display: grid;
  }

  .s-labo-world-tree-seed__badges div {
    min-width: 0;
  }

  .s-labo-world-tree-seed__steps li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .s-labo-world-tree-seed h1 {
    font-size: 2.2rem;
  }

  .s-labo-world-tree-seed__hero-visual {
    margin-inline: calc(var(--space-4) * -0.45);
  }

  .s-labo-world-tree-seed__actions {
    align-items: stretch;
  }

  .s-labo-world-tree-seed__button {
    width: 100%;
  }
}
