:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #d8d8dc;
  --paper: #fffdfb;
  --wash: #f7f4f1;
  --surface: #ffffff;
  --song-clay-orange: #b86650;
  --accent: var(--song-clay-orange);
  --accent-soft: #f4e8df;
  --green: #4c6b58;
  --blue: #41546f;
  --radius: 8px;
  --max: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 102, 80, 0.22);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav {
  width: min(100% - 32px, var(--max));
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 13px;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 99px;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-lines {
  transform: translate(-50%, -50%);
}

.menu-lines::before {
  transform: translate(-50%, -7px);
}

.menu-lines::after {
  transform: translate(-50%, 6px);
}

.menu-toggle:checked + .menu-button .menu-lines {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle:checked + .menu-button .menu-lines::before {
  transform: translate(-50%, 0) rotate(90deg);
}

.menu-toggle:checked + .menu-button .menu-lines::after {
  opacity: 0;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-hero {
  padding: 96px 0 64px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 500;
  text-wrap: pretty;
}

.section {
  padding: 80px 0;
}

.section.muted {
  background: var(--wash);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 800;
}

.section-copy {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  border-color: rgba(184, 102, 80, 0.34);
  color: var(--ink);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 420px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-panel {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-panel:first-child {
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.feature-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.feature-panel h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  font-weight: 800;
}

.feature-panel p {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
}

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

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

.content-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top-color: rgba(184, 102, 80, 0.42);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(68, 48, 38, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

a.content-card:hover,
a.content-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(184, 102, 80, 0.36);
  background: #fffdfb;
  box-shadow: 0 20px 46px rgba(68, 48, 38, 0.10), 0 6px 18px rgba(68, 48, 38, 0.06);
  outline: none;
}

.content-card small {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.content-card h2,
.content-card h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.18;
}

.content-card p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.card-action {
  margin-top: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.item-list {
  border-top: 1px solid var(--line);
}

.list-item {
  min-height: 112px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 128px 1fr 104px;
  gap: 32px;
  align-items: center;
}

.list-item time,
.list-item .type,
.list-item .status {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.list-item h2,
.list-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.25;
}

.list-item p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.article-hero {
  padding: 88px 0 56px;
}

.article-hero .wrap {
  max-width: 980px;
}

.article-hero h1 {
  margin: 0;
  max-width: 900px;
  text-align: left;
}

.article-hero .lead {
  margin-left: 0;
  text-align: left;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(184, 102, 80, 0.22);
  border-radius: 999px;
  background: #fff8f4;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 88px;
}

.article-aside {
  position: sticky;
  top: 84px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-aside h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.article-aside a {
  display: block;
  padding: 9px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  border-top: 1px solid rgba(216, 216, 220, 0.62);
}

.article-body {
  padding: 0 0 0 0;
}

.article-body h2 {
  margin: 0;
  padding-top: 32px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}

.article-body h2:first-child {
  padding-top: 0;
}

.article-body h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
}

.article-body p {
  margin: 14px 0 0;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 0;
  padding-left: 1.3em;
}

.article-note {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(184, 102, 80, 0.20);
  border-radius: var(--radius);
  background: #fff8f4;
}

.article-note p {
  margin: 0;
  font-weight: 650;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.tool-hero .button-row {
  justify-content: flex-start;
}

.tool-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: 48px;
  align-items: center;
  padding: 0 0 72px;
}

.tool-showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.tool-showcase-copy p:last-child {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.tool-figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(68, 48, 38, 0.07);
}

.tool-figure img {
  width: 100%;
  border-radius: 6px;
}

.tool-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tool-format-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top-color: rgba(184, 102, 80, 0.38);
  border-radius: var(--radius);
  background: #ffffff;
}

.tool-format-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.tool-format-grid span {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.tool-steps {
  counter-reset: tool-step;
  list-style: none;
  padding-left: 0 !important;
}

.tool-steps li {
  counter-increment: tool-step;
  position: relative;
  min-height: 64px;
  padding: 16px 18px 16px 58px;
  border-bottom: 1px solid var(--line);
}

.tool-steps li::before {
  content: counter(tool-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 19px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.motion-hero {
  background:
    radial-gradient(680px 360px at 76% 22%, rgba(65, 84, 111, 0.16), transparent 72%),
    linear-gradient(180deg, #fffdfb 0%, #f7f4f1 100%);
}

.song-clay-text {
  color: var(--song-clay-orange);
}

.motion-demo-credit {
  color: var(--song-clay-orange);
  font-weight: 900;
}

.motion-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
  padding: 0 0 72px;
}

.motion-showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.motion-showcase-copy p:last-child {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.motion-figure {
  background: #0c1422;
}

.motion-preview-window {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #09111f;
  box-shadow: 0 18px 42px rgba(68, 48, 38, 0.10);
}

.motion-preview-window iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.motion-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
}

.motion-stat-grid article {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(65, 84, 111, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
}

.motion-stat-grid strong {
  display: block;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 900;
}

.motion-stat-grid span {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}

.motion-feature-grid article {
  border-top-color: rgba(65, 84, 111, 0.38);
}

.motion-steps li::before,
.motion-note p,
.motion-body .content-card small,
.motion-body .card-action {
  color: var(--blue);
}

.motion-note p + p {
  margin-top: 10px;
}

.motion-note a {
  color: var(--blue);
  font-weight: 850;
}

.motion-note .motion-contact-line,
.motion-note .motion-price-line {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
}

.motion-demo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #09111f;
  box-shadow: 0 16px 38px rgba(68, 48, 38, 0.08);
}

.motion-demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.motion-prompt-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 16px;
  margin: 24px 0 26px;
}

.motion-prompt-panel article {
  padding: 22px;
  border: 1px solid var(--line);
  border-top-color: rgba(184, 102, 80, 0.38);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(68, 48, 38, 0.035);
}

.motion-prompt-panel article:nth-child(2) {
  grid-row: span 2;
}

.motion-prompt-panel h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.motion-prompt-list {
  margin: 0 !important;
  padding-left: 1.1em !important;
}

.motion-prompt-list li {
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.motion-prompt-card {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff8f4;
  border: 1px solid rgba(184, 102, 80, 0.18);
}

.motion-prompt-card p {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.motion-prompt-card p:first-child {
  margin-top: 0;
  font-weight: 800;
}

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .menu-button {
    display: inline-flex;
    background: #f2f2f4;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 52px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 15px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .page-hero {
    padding: 72px 0 44px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head,
  .feature-band,
  .article-layout,
  .tool-showcase,
  .motion-showcase {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 18px;
  }

  .feature-panel {
    padding: 40px 0;
  }

  .feature-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-grid,
  .card-grid.two,
  .related-links,
  .tool-format-grid,
  .motion-stat-grid,
  .motion-prompt-panel {
    grid-template-columns: 1fr 1fr;
  }

  .motion-prompt-panel article:nth-child(2) {
    grid-row: auto;
  }

  .list-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-layout {
    gap: 32px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .lead,
  .section-copy,
  .content-card p,
  .list-item p,
  .article-body p,
  .article-body li {
    word-break: break-all;
    text-wrap: auto;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .card-grid.two,
  .related-links,
  .tool-format-grid,
  .motion-stat-grid,
  .motion-prompt-panel {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 200px;
  }

  .article-body p,
  .article-body li {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .button:hover,
  a.content-card:hover,
  a.content-card:focus-visible {
    transform: none !important;
  }
}

/* Claude desktop guide generated section */
.guide-hero .article-meta {
  margin-top: 28px;
}

.guide-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.guide-body .guide-section {
  padding: 0 0 44px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--line);
}

.guide-body .guide-section:last-of-type {
  border-bottom: 0;
}

.guide-body h2 {
  margin-top: 0;
}

.guide-body h4 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.guide-body table {
  width: 100%;
  margin: 18px 0 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.guide-body th,
.guide-body td {
  padding: 12px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-body th {
  background: var(--wash);
  font-weight: 800;
}

.guide-code,
.mermaid-source {
  margin: 18px 0 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f4f1;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.copy-code-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: stretch;
  margin-top: 18px;
  border: 1px solid rgba(216, 216, 220, 0.72);
  border-radius: var(--radius);
  background: #f7f4f1;
  overflow: hidden;
}

.copy-code-block .guide-code {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 16px;
}

.copy-code-button {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 40px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.copy-code-button span,
.copy-code-button span::before {
  position: absolute;
  width: 12px;
  height: 14px;
  border: 1.8px solid currentColor;
  border-radius: 2px;
  content: "";
}

.copy-code-button span {
  top: 15px;
  left: 11px;
}

.copy-code-button span::before {
  top: -5px;
  left: 5px;
  background: #f7f4f1;
}

.copy-code-button:hover,
.copy-code-button:focus-visible {
  background: rgba(255, 255, 255, 0.46);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(68, 48, 38, 0.08);
}

.copy-code-button[data-copied="true"] {
  color: var(--green);
}

.guide-figure {
  margin: 28px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.guide-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(216, 216, 220, 0.72);
}

.guide-figure figcaption {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.guide-callout p:first-child {
  margin-top: 0;
}

.guide-callout-warning,
.guide-callout-danger {
  background: #fff7f2;
}

.guide-official-note ul {
  margin: 14px 0 0;
}

.guide-official-note a {
  color: var(--accent);
  font-weight: 700;
}

.guide-related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .guide-layout,
  .guide-related {
    grid-template-columns: 1fr;
  }

  .guide-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Claude guide mobile title wrapping fix */
@media (max-width: 620px) {
  .guide-hero h1,
  .page-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .guide-hero .lead,
  .page-hero .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Claude guide mobile title size hardening */
@media (max-width: 620px) {
  .page-hero h1,
  .guide-hero h1,
  .content-card h2,
  .content-card h3 {
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .page-hero h1,
  .guide-hero h1 {
    font-size: clamp(31px, 8.2vw, 36px) !important;
    line-height: 1.14 !important;
  }
}

.guide-title br {
  display: none;
}

@media (max-width: 620px) {
  .guide-title br {
    display: block;
  }
}

/* Claude guide grid overflow fix */
.guide-layout,
.guide-layout > *,
.guide-body,
.guide-body > *,
.article-aside {
  min-width: 0;
  max-width: 100%;
}

.guide-body img,
.guide-body pre,
.guide-body table,
.guide-body figure {
  max-width: 100%;
}

/* Claude guide code overflow fix */
.guide-body pre code {
  display: block;
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Vibe Coding guide generated section */
.vibe-hero .article-meta {
  justify-content: center;
}

.vibe-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.vibe-layout,
.vibe-layout > *,
.vibe-body,
.vibe-body > * {
  min-width: 0;
  max-width: 100%;
}

.vibe-aside a {
  color: var(--ink);
}

.vibe-tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.vibe-tool-grid article,
.vibe-case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(68, 48, 38, 0.035);
}

.vibe-tool-grid article {
  min-height: 220px;
  padding: 24px;
}

.vibe-tool-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.vibe-tool-grid h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.vibe-tool-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.66;
}

.vibe-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vibe-case {
  padding: 24px;
  border-top-color: rgba(184, 102, 80, 0.42);
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.case-top em {
  font-style: normal;
  color: var(--soft);
}

.vibe-case h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.22;
}

.vibe-case .tool {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.vibe-case dl {
  margin: 0;
}

.vibe-case dt {
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.vibe-case dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.vibe-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vibe-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vibe-steps li {
  counter-increment: vibe-step;
  position: relative;
  min-height: 132px;
  padding: 24px 24px 24px 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.72;
}

.vibe-steps li::before {
  content: counter(vibe-step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 26px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .vibe-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .vibe-layout,
  .vibe-tool-grid,
  .vibe-case-grid,
  .vibe-steps {
    grid-template-columns: 1fr;
  }

  .vibe-aside {
    position: static;
  }
}

/* Vibe Coding full pages generated section */
a.vibe-case {
  color: inherit;
  text-decoration: none;
}

a.vibe-case:hover,
a.vibe-case:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(184, 102, 80, 0.36);
  box-shadow: 0 20px 46px rgba(68, 48, 38, 0.10), 0 6px 18px rgba(68, 48, 38, 0.06);
  outline: none;
}

.vibe-full-layout {
  padding-bottom: 88px;
}

.vibe-source-body table {
  width: 100%;
  margin: 18px 0 0;
  border-collapse: collapse;
}

.vibe-source-body th,
.vibe-source-body td {
  padding: 12px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.vibe-source-body th {
  background: var(--wash);
}

.vibe-source-body code {
  padding: 0.08em 0.28em;
  border-radius: 4px;
  background: #f7f4f1;
  font-size: 0.92em;
}

.vibe-source-body pre code {
  padding: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .vibe-source-body table {
    display: block;
    overflow-x: auto;
  }
}

/* Vibe full text chapter generated section */
.vibe-source-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: #fff8f4;
}

.vibe-source-body blockquote p:first-child {
  margin-top: 0;
}

.vibe-source-body blockquote p:last-child {
  margin-bottom: 0;
}

.vibe-source-body .mermaid-source::before {
  content: "Mermaid 图示源码";
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 800;
}
