/* Skybridge Showcase — single-direction layout
   - ChatGPT-style chat frame (cg-*) wrapping real screenshots
   - Big 3-up cards (sxA-*)
   - Submit your app CTA (sx-submit)
   - Detail page (sxD-*) with no fake stats */

/* ===== Showcase page chrome (shared) ===== */
.sx-page {
  min-height: 100vh;
  padding: 96px 32px 96px;
  background: var(--sb-bg);
  color: var(--sb-ink);
}
.sx-page-head {
  max-width: 1100px;
  margin: 0 auto 56px;
  text-align: center;
}
.sx-page-eyebrow {
  font: 600 12px / 1 var(--font-body);
  color: var(--sb-accent);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sx-page-title {
  font: 400 64px / 1.04 var(--font-display);
  letter-spacing: 0;
  margin: 0;
}
.sx-page-title .sb-accent {
  color: var(--sb-accent);
}
.sx-page-lede {
  margin: 18px auto 0;
  max-width: 640px;
  font: 400 19px / 1.55 var(--font-body);
  color: var(--sb-ink-soft);
}
.sx-chip.is-active {
  background: var(--sb-accent);
  color: var(--sb-ice-ink);
  border-color: var(--sb-accent);
}
.sx-chip.is-active .sx-chip-count {
  color: rgba(6, 17, 15, 0.55);
}

/* ===== ChatGPT frame (cg-*) ===== */
.cg-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #0d0d0d;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.cg-sidebar {
  width: 56px;
  flex: none;
  background: #f9f9f9;
  border-right: 1px solid #ececec;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cg-side-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.cg-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d0d0d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cg-side-icons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cg-side-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d5d5d;
}
.cg-side-section {
  display: none;
}

.cg-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}
.cg-topbar {
  height: 44px;
  flex: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cg-model {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 14px / 1 system-ui;
  color: #0d0d0d;
  padding: 5px 10px;
  border-radius: 8px;
}

.cg-thread {
  flex: 1;
  overflow: hidden;
  padding: 24px 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cg-user-row {
  display: flex;
  justify-content: flex-end;
}
.cg-user-bubble {
  background: #f4f4f4;
  color: #0d0d0d;
  padding: 10px 16px;
  border-radius: 22px;
  font: 400 14.5px / 1.4 system-ui;
  max-width: 75%;
}
.cg-asst-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cg-asst-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  flex: none;
}
.cg-asst-body {
  flex: 1;
  min-width: 0;
}
.cg-toolcall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f4;
  border-radius: 999px;
  padding: 4px 10px;
  font: 500 12px / 1 system-ui;
  color: #5d5d5d;
  margin-bottom: 10px;
}
.cg-tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.cg-asst-icon-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.cg-tool-app {
  color: #0d0d0d;
  font-weight: 600;
}
.cg-asst-text {
  font: 400 14.5px / 1.5 system-ui;
  color: #0d0d0d;
  margin-bottom: 12px;
}
.cg-widget-wrap--inline {
  position: relative;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.cg-widget-img--inline {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.cg-main-fullbleed {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}
.cg-fullscreen-stage {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.cg-widget-wrap--fullscreen {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.cg-frame.is-fullscreen .cg-topbar {
  border-bottom: 1px solid #f0f0f0;
}
.cg-frame.is-compact.is-fullscreen .cg-fullscreen-stage {
  padding: 0;
}
.cg-frame.is-compact.is-fullscreen .cg-widget-wrap--fullscreen {
  min-height: 120px;
}

.cg-composer {
  flex: none;
  padding: 12px 28px 16px;
  border-top: 1px solid #f7f7f7;
}
.cg-composer-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f4f4;
  border-radius: 22px;
  padding: 12px 16px;
  font: 400 14px / 1 system-ui;
  color: #8e8e8e;
  position: relative;
}
.cg-composer-actions {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cg-comp-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 18px / 1 system-ui;
  color: #0d0d0d;
}

/* Compact mode for cards */
.cg-frame.is-compact .cg-thread {
  padding: 16px 16px 8px;
  gap: 12px;
}
.cg-frame.is-compact .cg-user-bubble {
  font-size: 12.5px;
  padding: 7px 12px;
}
.cg-frame.is-compact .cg-asst-text {
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.cg-frame.is-compact .cg-toolcall {
  font-size: 10.5px;
  padding: 3px 8px;
  margin-bottom: 7px;
}
.cg-frame.is-compact .cg-asst-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.cg-frame.is-compact .cg-topbar {
  height: 36px;
  padding: 0 12px;
}
.cg-frame.is-compact .cg-model {
  font-size: 12.5px;
  padding: 4px 8px;
}
.cg-frame.is-compact .cg-sidebar {
  width: 40px;
  padding: 8px 4px;
}
.cg-frame.is-compact .cg-logo {
  width: 24px;
  height: 24px;
}
.cg-frame.is-compact .cg-side-ic {
  width: 22px;
  height: 22px;
}
.cg-frame.is-compact .cg-composer {
  display: none;
}

/* ===== Claude frame overrides ===== */
.cg-frame.is-claude {
  background: #f8f8f6;
}
.cg-frame.is-claude .cg-main {
  background: #f8f8f6;
}
.cg-frame.is-claude .cg-topbar {
  border-bottom-color: #ededeb;
}
.cg-frame.is-claude .cg-user-bubble {
  background: #ededeb;
}
.cg-frame.is-claude .cg-toolcall {
  background: #ededeb;
}
.cg-frame.is-claude .cg-composer-text {
  background: transparent;
  border: 1px solid #d4d4d0;
}
.cg-frame.is-claude .cg-comp-ic {
  background: transparent;
  border-color: #d4d4d0;
}

/* Claude sidebar */
.cg-sidebar--claude {
  background: #f8f8f6;
  border-right-color: #ededeb;
}
.cg-claude-logo {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #da7756;
}
.cg-frame.is-compact .cg-claude-logo {
  width: 24px;
  height: 24px;
}

/* ===== Card grid wrapper ===== */
.sxA-grid-wrap {
  margin-bottom: 56px;
}

/* ===== Card grid ===== */
.sxA-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.sxA-card {
  position: relative;
  border: 1px solid var(--sb-border);
  border-radius: 18px;
  background: var(--sb-surface);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.2s,
    box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.sxA-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--sb-accent));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.sxA-thumb {
  padding: 16px;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 255, 255, 0.04),
      transparent 70%
    ),
    #0a1414;
  border-bottom: 1px solid var(--sb-border);
  height: 360px;
}
.sxA-thumb .cg-frame {
  height: 100%;
}
.sxA-thumb-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.sxA-thumb-layer {
  position: absolute;
  inset: 0;
  transition: opacity 0.45s ease;
}
.sxA-thumb-layer .cg-frame {
  height: 100%;
}
.sxA-meta {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sxA-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 11px / 1 var(--font-mono);
  color: var(--sb-ink-mute);
  margin-bottom: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sxA-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-accent, var(--sb-accent));
}
.sxA-name {
  font: 500 24px / 1.15 var(--font-display);
  letter-spacing: 0;
  color: var(--sb-ink);
  margin: 0 0 4px;
}
.sxA-tagline {
  font: 400 14.5px / 1.4 var(--font-body);
  color: var(--sb-ink-soft);
  margin: 0 0 16px;
}
.sxA-blurb {
  font: 400 13.5px / 1.55 var(--font-body);
  color: var(--sb-ink-mute);
  margin: 0 0 18px;
}
.sxA-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sb-border);
  margin-top: auto;
}
.sxA-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sxA-tag {
  font: 500 10.5px / 1 var(--font-body);
  color: var(--sb-ink-mute);
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 5px 8px;
  border: 1px solid var(--sb-border);
  border-radius: 4px;
}
.sxA-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--card-accent, var(--sb-accent));
  font: 600 12px / 1 var(--font-body);
  letter-spacing: 0;
  flex: none;
}
.sxA-card:hover .sxA-arrow svg {
  transform: translateX(3px);
}
.sxA-arrow svg {
  transition: transform 0.2s;
}

/* ===== Submit CTA ===== */
.sx-submit {
  max-width: 1280px;
  margin: 96px auto 0;
  padding: 0;
  border: 1px solid var(--sb-border);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(137, 240, 236, 0.08),
      transparent 60%
    ),
    var(--sb-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sx-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(137, 240, 236, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(137, 240, 236, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    black,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    black,
    transparent 80%
  );
  pointer-events: none;
}
.sx-submit-eyebrow {
  font: 600 12px / 1 var(--font-body);
  color: var(--sb-accent);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sx-submit-title {
  font: 400 48px / 1.05 var(--font-display);
  letter-spacing: 0;
  margin: 0 0 16px;
}
.sx-submit-lede {
  font: 400 17px / 1.55 var(--font-body);
  color: var(--sb-ink-soft);
  margin: 0 0 28px;
}
.sx-submit-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Detail page ===== */
.sxD-frame {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--sb-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--sb-surface);
}
.sxD-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px / 1 var(--font-body);
  color: var(--sb-ink-mute);
  margin: 0 0 28px;
  text-decoration: none;
}
.sxD-back:hover {
  color: var(--sb-ink);
}
.sxD-hero {
  padding: 56px 48px 48px;
  border-bottom: 1px solid var(--sb-border);
  background: radial-gradient(
    ellipse 60% 50% at 80% 30%,
    rgba(137, 240, 236, 0.06),
    transparent 60%
  );
}
.sxD-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.sxD-title {
  font: 400 56px / 1 var(--font-display);
  letter-spacing: 0;
  margin: 0 0 8px;
}
.sxD-tagline {
  font: 400 22px / 1.35 var(--font-display);
  color: var(--sb-accent);
  margin: 0 0 20px;
  letter-spacing: 0;
}
.sxD-summary {
  font: 400 16px / 1.55 var(--font-body);
  color: var(--sb-ink-soft);
  margin: 0 0 28px;
  max-width: 480px;
}
.sxD-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sxD-pv {
  background: #0a1414;
  border: 1px solid var(--sb-border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  height: 520px;
}
.sxD-pv .cg-frame {
  height: 100%;
}

.sxD-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  padding: 48px 48px 56px;
}
.sxD-section-h {
  font: 600 11px / 1 var(--font-body);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--sb-accent);
  margin-bottom: 14px;
}
.sxD-h2 {
  font: 400 30px / 1.1 var(--font-display);
  letter-spacing: 0;
  margin: 0 0 18px;
}
.sxD-h3 {
  font: 500 18px / 1.2 var(--font-display);
  margin: 28px 0 12px;
  letter-spacing: 0;
}
.sxD-p {
  font: 400 15px / 1.65 var(--font-body);
  color: var(--sb-ink-soft);
  margin: 0 0 14px;
}
.sxD-ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sxD-ul li {
  font: 400 14.5px / 1.55 var(--font-body);
  color: var(--sb-ink-soft);
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--sb-border);
}
.sxD-ul li:last-child {
  border-bottom: none;
}
.sxD-ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 11px;
  font-size: 9px;
  color: var(--sb-accent);
}
.sxD-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sxD-side-card {
  padding: 22px 24px;
  border: 1px solid var(--sb-border);
  border-radius: 14px;
  background: var(--sb-surface-2, rgba(255, 255, 255, 0.02));
}
.sxD-side-h {
  font: 500 12px / 1 var(--font-body);
  color: var(--sb-ink-mute);
  margin-bottom: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sxD-side-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--sb-border);
  font: 400 13.5px / 1 var(--font-body);
}
.sxD-side-row:last-child {
  border-bottom: none;
}
.sxD-side-row .l {
  color: var(--sb-ink-mute);
}
.sxD-side-row .r {
  color: var(--sb-ink);
  font-weight: 500;
}
.sxD-side-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sxD-side-tag {
  font: 500 11px / 1 var(--font-body);
  color: var(--sb-ink-soft);
  padding: 6px 10px;
  border: 1px solid var(--sb-border);
  border-radius: 4px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sxD-side-cta {
  background: rgba(137, 240, 236, 0.04);
  border-color: rgba(137, 240, 236, 0.2);
}

.sxD-related {
  padding: 40px 48px 48px;
  border-top: 1px solid var(--sb-border);
}
.sxD-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.sxD-related-card {
  padding: 16px;
  border: 1px solid var(--sb-border);
  border-radius: 12px;
  background: var(--sb-surface-2, rgba(255, 255, 255, 0.02));
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sxD-related-card:hover {
  border-color: var(--sb-accent);
}
.sxD-related-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--sb-border);
}
.sxD-related-name {
  font: 500 16px / 1.2 var(--font-display);
}
.sxD-related-tag {
  font: 400 12px / 1.3 var(--font-body);
  color: var(--sb-ink-mute);
}

/* Tool-only MCP result block (no widget) */
.cg-tool-result {
  margin-top: 10px;
  border: 1px solid;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  font-family: var(--font-mono);
}
.cg-tool-result-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--sb-ink-mute);
  letter-spacing: 0;
  margin-bottom: 10px;
}
.cg-tool-result-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.cg-tool-result-name {
  color: var(--sb-ink);
  font-weight: 500;
}
.cg-tool-result-sum {
  color: var(--sb-ink-mute);
}
.cg-tool-result-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cg-tool-result-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 11.5px;
  color: var(--sb-ink-soft);
  padding: 7px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
.cg-tool-result-row:first-child {
  border-top: none;
}
.cg-tr-route {
  color: var(--sb-ink);
  font-weight: 500;
}
.cg-tr-carrier {
  color: var(--sb-ink-mute);
}
.cg-tr-time {
  color: var(--sb-ink-soft);
  font-variant-numeric: tabular-nums;
}
.cg-tr-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cg-frame.is-compact .cg-tool-result {
  padding: 9px 10px;
}
.cg-frame.is-compact .cg-tool-result-row {
  font-size: 10px;
  grid-template-columns: 70px 1fr auto auto;
  gap: 8px;
  padding: 5px 0;
}
.sx-cta-installs .sb-cta-installs-head {
  white-space: nowrap;
}

/* Quick facts: tags row layout */
.sxD-side-row-tags {
  align-items: flex-start;
}
.sxD-side-row-tags .l {
  padding-top: 3px;
}
.sxD-side-row-tags .r {
  max-width: 70%;
}
.sxD-side-row-tags .sxD-side-tags {
  justify-content: flex-end;
}

/* InstallRow shrunk to fit narrow sidebar CTA */
.sxD-side-cta .sb-install {
  min-width: 0;
  padding: 6px 8px 6px 10px;
  gap: 8px;
  height: auto;
}
.sxD-side-cta .sb-install-prompt {
  font-size: 12px;
}
.sxD-side-cta .sb-install-cmd {
  font-size: 12px;
}
.sxD-side-cta .sb-install-copy {
  height: 28px;
  padding: 0 8px;
  font-size: 11px;
  gap: 4px;
}

/* Hero preview carousel */
.sxD-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.sxD-carousel-stage {
  width: 100%;
  height: 100%;
}
.sxD-carousel-stage .cg-frame {
  height: 100%;
}

.sxD-frame-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--sb-border);
  border-radius: 50%;
  background: rgba(15, 18, 20, 0.72);
  color: var(--sb-ink);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background 0.15s,
    color 0.15s;
}
.sxD-frame-nav-arrow:hover {
  background: rgba(15, 18, 20, 0.92);
  color: var(--sb-accent);
}
.sxD-frame-nav-prev {
  left: 10px;
}
.sxD-frame-nav-next {
  right: 10px;
}

/* Submit CTA — folded install rows */
.sx-submit-installs {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--sb-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sx-submit-installs .sb-install {
  min-width: 0;
  width: 100%;
}

/* Submit CTA — primary left, small secondary right */
.sx-submit-split {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}
.sx-submit-split .sx-submit-col {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sx-submit-split .sx-submit-col.sx-submit-secondary {
  padding: 56px 48px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 0 24px 24px 0;
  justify-content: center;
}
.sx-submit-split .sx-submit-col + .sx-submit-col {
  border-left: 1px solid var(--sb-border);
}
.sx-submit-split .sx-submit-installs {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sx-submit-split .sx-submit-installs .sb-install {
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
}
.sx-submit-split .sx-submit-installs .sb-install-step {
  font-size: 11px;
}
.sx-submit-split .sx-submit-installs .sb-install-cmd {
  font-size: 12px;
}
/* Compact copy button — icon only */
.sx-submit-split .sx-submit-secondary .sb-install-copy {
  padding: 5px 7px;
  font-size: 0; /* hide the text node */
  gap: 0;
}
.sx-submit-split .sx-submit-secondary .sb-install-copy svg {
  font-size: 13px;
}
.sx-submit-split .sx-submit-secondary .sx-submit-title {
  font-size: 22px;
  line-height: 1.2;
  text-align: left;
  margin: 0;
}
@media (max-width: 960px) {
  .sxA-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sxA-grid {
    grid-template-columns: 1fr;
  }
  .sxA-thumb {
    height: 280px;
  }
}

@media (max-width: 820px) {
  .sx-submit-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .sx-submit-split .sx-submit-col {
    min-width: 0;
  }
  .sx-submit-split .sx-submit-installs {
    min-width: 0;
  }
  .sx-submit-split .sx-submit-installs .sb-install {
    max-width: 100%;
  }
  .sx-submit-split .sx-submit-col + .sx-submit-col {
    border-left: none;
    border-top: 1px solid var(--sb-border);
  }
  .sx-submit-split .sx-submit-col.sx-submit-secondary {
    border-radius: 0 0 24px 24px;
  }
  .sx-submit-split .sx-submit-col,
  .sx-submit-split .sx-submit-col.sx-submit-secondary {
    padding: 32px 24px;
  }
  .sx-submit-title {
    font-size: 28px;
    word-break: break-word;
  }
  .sx-submit-lede {
    font-size: 15px;
  }
  .sx-page {
    padding: 80px 16px 64px;
  }
  .sx-page-title {
    font-size: 40px;
  }
  .sx-page-lede {
    font-size: 16px;
  }
  .sxD-frame {
    border-radius: 14px;
  }
  .sxD-hero {
    padding: 28px 20px 24px;
  }
  .sxD-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sxD-title {
    font-size: 36px;
  }
  .sxD-tagline {
    font-size: 18px;
  }
  .sxD-summary {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .sxD-pv {
    height: 360px;
    padding: 10px;
  }
  .sxD-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 20px 32px;
  }
  .sxD-related {
    padding: 28px 20px 32px;
  }
  .sxD-related-grid {
    grid-template-columns: 1fr;
  }
  .sxD-h2 {
    font-size: 24px;
  }
}
