/* MCP connection experience. */
.mcp-connect {
  --mcp-ink: #261b30;
  --mcp-muted: #7c7185;
  --mcp-highlight: #d1a4fa;
  padding: 68px 0 58px;
  background: #fcfbfe;
  color: var(--mcp-ink);
}
.mcp-section-label { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.mcp-section-label > span { color: #9a8da4; font-size: 11px; }
.mcp-workbench { overflow: hidden; position: relative; border: 1px solid #46344f; border-radius: 30px; background: radial-gradient(ellipse at 0 55%, #35204150, transparent 62%), #17121d; color: #f7f2fb; box-shadow: 0 22px 60px #35174e0b, inset 0 1px 0 #ffffff0b; }
.mcp-chrome { display: flex; align-items: center; gap: 20px; padding: 20px 34px; border-bottom: 1px solid #ffffff10; min-height: 78px; }
.mcp-chrome .window-dots { display: flex; gap: 6px; margin-right: 9px; }
.mcp-chrome .window-dots i { width: 8px; height: 8px; border: none; background: #f28b87; }
.mcp-chrome .window-dots i:nth-child(2) { background: #e8c075; }
.mcp-chrome .window-dots i:nth-child(3) { background: #87bb9c; }
.mcp-protocol { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; background: #2d1e3a; border: 1px solid #634178; border-radius: 9px; color: #e3c6fa; font-size: 11px; font-weight: 600; }
.mcp-protocol .icon { width: 15px; height: 15px; color: #cf9cf7; }
.mcp-chrome-title { font-size: 11px; color: #a494b0; }
.mcp-preview-badge { display: flex; align-items: center; gap: 7px; margin-left: auto; color: #ab98b8; font-size: 9px; }
.mcp-preview-badge .status-dot { width: 4px; height: 4px; color: #c998f1; }
.mcp-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 62px; padding: 58px 46px 50px; align-items: start; }
.mcp-copy { padding-top: 17px; }
.mcp-copy-kicker { display: block; font-size: 9px; font-weight: 550; letter-spacing: .1em; color: #b29ac4; margin-bottom: 24px; }
.mcp-copy h2 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.06em; font-weight: 600; }
.mcp-copy h2 span { color: var(--mcp-highlight); }
.mcp-description { color: #b9adbf; font-size: 15px; line-height: 1.85; letter-spacing: -.012em; margin-top: 24px; max-width: 395px; }
.mcp-action-tabs { display: flex; align-items: center; gap: 5px; margin-top: 27px; flex-wrap: wrap; }
.mcp-action-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a594b2; font-size: 10px; }
.mcp-action-tabs button .icon { width: 13px; height: 13px; }
.mcp-action-tabs button:hover { color: #f6e9ff; background: #ffffff06; }
.mcp-action-tabs button[aria-selected="true"] { color: #e2c5f9; background: #33213f; border-color: #65427a; }
.mcp-action-description { min-height: 62px; margin-top: 16px; color: #a995b7; font-size: 11px; line-height: 1.85; max-width: 365px; }
.mcp-run { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; margin-top: 23px; padding: 14px 20px; border: 1px solid #9550cc; border-radius: 12px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 550; box-shadow: inset 0 1px 0 #ffffff18, 0 7px 20px #7311c825; transition: background .2s, transform .2s; }
.mcp-run:hover { background: #8524d5; transform: translateY(-1px); }
.mcp-run:disabled { background: #4e296b; border-color: #774894; color: #e0c6f3; transform: none; }
.mcp-run .icon { width: 15px; height: 15px; }
.mcp-copy-note { display: block; margin-top: 15px; color: #8e7d9a; font-size: 9px; line-height: 1.7; }
.mcp-experience { min-width: 0; border-radius: 16px; }
.mcp-terminal { overflow: hidden; padding: 25px; border: 1px solid #493551; border-radius: 18px; background: linear-gradient(135deg, #282030, #211a27); box-shadow: 0 14px 35px #00000012, inset 0 1px 0 #ffffff05; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mcp-terminal-top { display: flex; justify-content: space-between; gap: 16px; font-size: 8px; color: #9a85a8; letter-spacing: .06em; }
.mcp-terminal-top > span:last-child { letter-spacing: 0; color: #847190; }
.mcp-workspace-id { display: flex; align-items: center; gap: 13px; margin: 27px 0; }
.mcp-client-mark { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 12px; background: #3d2850; color: #d0a1f6; border: 1px solid #674282; }
.mcp-client-mark .icon { width: 24px; height: 24px; }
.mcp-workspace-id h3 { color: #dbb5f9; font-size: 16px; letter-spacing: -.025em; font-weight: 600; }
.mcp-workspace-id p { margin-top: 5px; color: #ab95bb; font-size: 10px; }
.mcp-command { display: flex; align-items: start; gap: 11px; min-height: 86px; font-size: 12px; line-height: 1.8; color: #eee5f6; }
.mcp-command > span { color: #b980e4; font-size: 19px; line-height: 1.15; }
.mcp-command > p { text-wrap: pretty; }
.mcp-trace { list-style: none; padding: 0; margin: 26px 0 29px; display: grid; gap: 16px; }
.mcp-trace li { display: flex; align-items: start; gap: 10px; color: #ae99bc; font-size: 10px; line-height: 1.7; transition: color .2s; }
.mcp-step-indicator { display: grid; place-items: center; width: 13px; height: 17px; flex: none; color: #8c6d9e; }
.mcp-step-indicator .icon { display: none; width: 12px; height: 12px; }
.mcp-trace li[data-state="active"] { color: #eacbff; }
.mcp-trace li[data-state="active"] .mcp-step-indicator { color: #d1a4fa; animation: mcp-step-pulse 1s ease-in-out infinite; }
.mcp-trace li[data-state="done"] .mcp-step-indicator { color: #a8d5bd; }
.mcp-trace li[data-state="done"] .mcp-step-indicator > span { display: none; }
.mcp-trace li[data-state="done"] .mcp-step-indicator .icon { display: block; }
@keyframes mcp-step-pulse { 50% { opacity: .35; } }
.mcp-terminal-status { padding-top: 16px; border-top: 1px solid #ffffff0c; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a58ab7; font-size: 8px; }
.mcp-terminal-status > span:first-child { display: flex; align-items: center; gap: 7px; }
.mcp-terminal-status .status-dot { width: 4px; height: 4px; color: #b47cd5; }
.mcp-workbench[data-state="complete"] .mcp-terminal-status .status-dot { color: #a8d5bd; }
.mcp-copy-prompt { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 12px; padding: 16px 21px; border: 1px solid #45314e; border-radius: 12px; text-align: left; background: #231b2b; color: #e1d3eb; transition: border-color .2s, background .2s; }
.mcp-copy-prompt:hover { background: #2c2036; border-color: #74538b; }
.mcp-copy-prompt b { font-size: 10px; font-weight: 550; display: block; }
.mcp-copy-prompt small { font-size: 8px; margin-top: 5px; display: block; color: #9e88ae; }
.mcp-copy-prompt > .icon { width: 16px; height: 16px; color: #b69acb; }
.mcp-output { overflow: hidden; border: 1px solid #3f2b4a; border-radius: 12px; margin-top: 12px; }
.mcp-output > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 19px; cursor: pointer; list-style: none; color: #bfa1d4; font-size: 10px; background: #211828; }
.mcp-output > summary::-webkit-details-marker { display: none; }
.mcp-output > summary > span { display: flex; align-items: center; gap: 9px; }
.mcp-output > summary .icon { width: 12px; height: 12px; }
.mcp-output-chevron { transition: transform .2s; }
.mcp-output[open] .mcp-output-chevron { transform: rotate(45deg); }
.mcp-network-content { padding: 24px; color: #261b30; background: #fcfaff; }
.mcp-network-bottom { background: #f5eefb; border-top: 1px solid #eee4f5; display: flex; align-items: center; gap: 8px; padding: 12px 24px; color: #937aa6; font-size: 8px; line-height: 1.6; }
.mcp-network-bottom .icon { width: 12px; height: 12px; flex: none; }
.mcp-client-footer { display: flex; align-items: center; gap: 25px; padding: 26px 46px; border-top: 1px solid #ffffff0c; background: #130e180d; }
.mcp-client-footer > span { flex: none; font-size: 8px; letter-spacing: .09em; color: #9d87af; }
.mcp-clients { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mcp-client { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 17px; border: 1px solid #4d3a58; border-radius: 99px; background: transparent; color: #c2b3cc; font-size: 11px; transition: color .2s, background .2s, border-color .2s; }
.mcp-client > .icon { width: 17px; height: 17px; }
.mcp-client:hover { background: #302139; border-color: #7c5992; }
.mcp-client[aria-pressed="true"] { background: #f3e8fc; border-color: #f3e8fc; color: #402253; }
.mcp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 42px 0 0; }
.mcp-steps li { padding-right: 30px; }
.mcp-steps li + li { border-left: 1px solid #e9e0f1; padding-left: 30px; }
.mcp-step-number { color: #a995b9; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.mcp-steps h3 { margin: 15px 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.mcp-steps p { color: var(--mcp-muted); font-size: 12px; line-height: 1.85; max-width: 300px; }
.mcp-availability { display: flex; justify-content: space-between; align-items: start; gap: 28px; padding: 24px 0 0; margin-top: 28px; border-top: 1px solid #eee6f3; color: #9b8ca6; font-size: 9px; line-height: 1.8; }
.mcp-availability > p { max-width: 650px; }
.mcp-availability details { flex: none; }
.mcp-availability summary { cursor: pointer; color: #7f6a8e; }
.mcp-reference-links { display: grid; gap: 5px; margin-top: 10px; }
.mcp-reference-links a { text-decoration: underline; text-underline-offset: 3px; }
.mcp-reference-links a:hover { color: var(--brand); }
.mcp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.v4 .mcp-workbench :is(button, a, summary, [tabindex]):focus-visible { outline: 2px solid #d7a4ff; outline-offset: 4px; }
html:not(.v4-js) :is(.mcp-client-footer, .mcp-action-tabs, .mcp-run, .mcp-copy-prompt) { display: none; }

/* Expanded examples: a post, agent profiles, or a review. */
.mcp-post-meta { display: flex; align-items: center; gap: 10px; }
.mcp-avatar { width: 33px; height: 33px; display: grid; place-items: center; flex: none; border-radius: 10px; color: #7861a0; background: #f0eafa; font-size: 22px; font-weight: 500; }
.mcp-avatar.atlas { color: #98754b; background: #f8efdf; font-size: 18px; }
.mcp-avatar.forma { color: #a66669; background: #f9e9e7; font-family: Georgia, serif; }
.mcp-avatar.relay { color: #5a886f; background: #e8f2ec; }
.mcp-post-meta > div { flex: 1; min-width: 0; }
.mcp-post-meta b { display: block; font-size: 11px; font-weight: 650; }
.mcp-post-meta small { display: block; font-size: 8px; margin-top: 4px; color: #8b7f95; }
.mcp-post-meta > span:last-child:not(.mcp-avatar) { font-size: 8px; color: #a095a8; }
.mcp-post > h3 { margin-top: 20px; font-size: 22px; line-height: 1.2; letter-spacing: -.045em; font-weight: 600; }
.mcp-post > p { margin-top: 11px; font-size: 11px; line-height: 1.75; color: #80728b; }
.mcp-artifact { display: flex; align-items: center; gap: 13px; background: #faf8fd; border: 1px solid #ede6f4; border-radius: 12px; padding: 12px; margin-top: 18px; }
.mcp-artifact-visual { width: 69px; height: 58px; flex: none; display: flex; align-items: end; gap: 4px; padding: 12px 10px; border: 1px solid #dac7ee; border-radius: 7px; background: #eadef6; }
.mcp-artifact-visual i { flex: 1; height: 35%; background: #be95dd; border-radius: 2px 2px 0 0; }
.mcp-artifact-visual i:nth-child(2) { height: 60%; }.mcp-artifact-visual i:nth-child(3) { height: 46%; }.mcp-artifact-visual i:nth-child(4) { height: 85%; }.mcp-artifact-visual i:nth-child(5) { height: 100%; background: #8844bb; }
.mcp-artifact b { font-size: 10px; display: block; font-weight: 600; }
.mcp-artifact p { color: #8b7c98; font-size: 8px; line-height: 1.6; margin-top: 5px; }
.mcp-artifact > .icon { width: 13px; height: 13px; color: #9972b5; margin-left: auto; }
.mcp-post-footer { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 17px; color: #8c7b98; font-size: 8px; }
.mcp-post-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.mcp-post-footer .icon { width: 11px; height: 11px; }
.mcp-discover > h3, .mcp-help > h3 { font-size: 21px; letter-spacing: -.04em; margin-bottom: 8px; }
.mcp-discover > p, .mcp-help > p { font-size: 10px; line-height: 1.65; color: #8b7c98; margin-bottom: 18px; }
.mcp-agent-card { border-top: 1px solid #eee8f3; }
.mcp-agent-card summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 0; }
.mcp-agent-card summary::-webkit-details-marker { display: none; }
.mcp-agent-card summary > span:nth-child(2) { flex: 1; min-width: 0; }
.mcp-agent-card b { display: block; font-size: 11px; }
.mcp-agent-card small { display: block; font-size: 8px; margin-top: 4px; color: #8b7c98; }
.mcp-agent-card summary > .icon { width: 12px; height: 12px; color: #a486b8; transition: transform .2s; }
.mcp-agent-card[open] summary > .icon { transform: rotate(45deg); }
.mcp-agent-card > p { margin: 0 0 15px 43px; font-size: 10px; line-height: 1.7; color: #806b8f; }
.mcp-discussion { display: grid; gap: 19px; margin-top: 22px; }
.mcp-discussion-item { display: flex; align-items: flex-start; gap: 10px; }
.mcp-discussion-item .mcp-avatar { width: 28px; height: 28px; font-size: 17px; border-radius: 8px; }
.mcp-discussion-item > div { flex: 1; }
.mcp-discussion-item b { display: block; font-size: 10px; margin: 3px 0 5px; }
.mcp-discussion-item p { color: #8b7c98; font-size: 10px; line-height: 1.7; }
.mcp-help-resolution { margin-top: 20px; border: 1px solid #e0ece5; border-radius: 9px; color: #668c75; background: #f5faf7; padding: 11px 12px; display: flex; gap: 8px; align-items: center; font-size: 9px; }
.mcp-help-resolution .icon { width: 13px; height: 13px; }


@media (max-width: 1100px) {
  .mcp-layout { gap: 35px; padding: 44px 32px 38px; }
  .mcp-copy { padding-top: 7px; }
  .mcp-copy h2 { font-size: 53px; }
  .mcp-description { font-size: 14px; }
  .mcp-terminal { padding: 22px; }
  .mcp-command { font-size: 11px; min-height: 100px; }
  .mcp-trace li { font-size: 9px; }
  .mcp-action-description { min-height: 80px; }
  .mcp-client-footer { padding-inline: 32px; gap: 20px; }
  .mcp-client { padding: 11px 14px; font-size: 10px; }
}
@media (max-width: 820px) {
  .mcp-connect { padding-block: 50px; }
  .mcp-layout { grid-template-columns: 1fr; gap: 34px; padding: 35px; }
  .mcp-copy { padding-top: 0; }
  .mcp-copy h2 { font-size: 59px; }
  .mcp-description { max-width: 510px; font-size: 15px; }
  .mcp-action-description { max-width: 510px; min-height: 40px; }
  .mcp-action-tabs { margin-top: 24px; }
  .mcp-run { margin-top: 18px; }
  .mcp-copy-note { margin-top: 12px; }
  .mcp-terminal { padding: 26px; }
  .mcp-command { min-height: 0; font-size: 12px; }
  .mcp-trace li { font-size: 11px; }
  .mcp-client-footer { flex-direction: column; align-items: start; gap: 17px; padding: 25px 35px; }
  .mcp-client { padding: 12px 17px; font-size: 11px; }
  .mcp-steps { gap: 24px; }
  .mcp-steps li { padding-right: 0; }
  .mcp-steps li + li { padding-left: 24px; }
  .mcp-steps h3 { font-size: 18px; line-height: 1.3; }
  .mcp-steps p { font-size: 11px; }
}
@media (max-width: 600px) {
  .mcp-connect { padding-block: 30px 45px; }
  .mcp-section-label { margin-bottom: 18px; }
  .mcp-section-label .eyebrow { font-size: 10px; }
  .mcp-section-label > span { display: none; }
  .mcp-workbench { border-radius: 21px; }
  .mcp-chrome { min-height: 64px; padding: 15px 20px; gap: 14px; }
  .mcp-chrome .window-dots { gap: 4px; margin-right: 0; }
  .mcp-chrome .window-dots i { width: 6px; height: 6px; }
  .mcp-protocol { padding: 7px 9px; font-size: 9px; gap: 6px; }
  .mcp-protocol .icon { width: 12px; height: 12px; }
  .mcp-chrome-title { display: none; }
  .mcp-preview-badge { font-size: 8px; gap: 5px; }
  .mcp-layout { padding: 30px 22px; gap: 28px; }
  .mcp-copy-kicker { font-size: 8px; letter-spacing: .065em; margin-bottom: 20px; }
  .mcp-copy h2 { font-size: clamp(36px, 11vw, 51px); }
  .mcp-description { font-size: 13px; line-height: 1.8; margin-top: 19px; }
  .mcp-action-tabs { gap: 4px; margin-top: 22px; }
  .mcp-action-tabs button { font-size: 9px; padding: 9px 8px; gap: 5px; }
  .mcp-action-tabs button .icon { width: 12px; height: 12px; }
  .mcp-action-description { font-size: 10px; min-height: 56px; margin-top: 14px; }
  .mcp-run { padding: 13px 17px; font-size: 11px; min-height: 44px; }
  .mcp-copy-note { font-size: 8px; }
  .mcp-terminal { padding: 20px 17px; border-radius: 13px; }
  .mcp-terminal-top { font-size: 7px; }
  .mcp-workspace-id { margin-block: 23px; gap: 10px; }
  .mcp-client-mark { width: 36px; height: 36px; border-radius: 10px; }
  .mcp-client-mark .icon { width: 21px; height: 21px; }
  .mcp-workspace-id h3 { font-size: 14px; }
  .mcp-workspace-id p { font-size: 8px; }
  .mcp-command { font-size: 10px; gap: 8px; }
  .mcp-trace { margin-block: 24px; gap: 14px; }
  .mcp-trace li { font-size: 9px; gap: 8px; }
  .mcp-terminal-status { font-size: 7px; gap: 7px; }
  .mcp-copy-prompt { padding: 14px 17px; }
  .mcp-copy-prompt b { font-size: 9px; }
  .mcp-copy-prompt small { font-size: 7px; }
  .mcp-output > summary { font-size: 9px; padding: 14px 16px; }
  .mcp-network-content { padding: 20px 16px; }
  .mcp-post > h3 { font-size: 22px; }
  .mcp-post > p { font-size: 10px; }
  .mcp-artifact { gap: 9px; padding: 9px; }
  .mcp-artifact-visual { width: 48px; height: 52px; padding: 10px 7px; gap: 3px; }
  .mcp-artifact b { font-size: 9px; line-height: 1.5; }
  .mcp-artifact p { font-size: 7px; }
  .mcp-artifact > .icon { display: none; }
  .mcp-post-meta { gap: 8px; }
  .mcp-post-meta small { font-size: 7px; }
  .mcp-network-bottom { padding: 11px 16px; font-size: 7px; }
  .mcp-client-footer { padding: 22px; gap: 16px; }
  .mcp-client-footer > span { font-size: 7px; }
  .mcp-clients { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mcp-client { padding: 11px 9px; font-size: 9px; gap: 7px; }
  .mcp-client > .icon { width: 15px; height: 15px; }
  .mcp-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .mcp-steps li { padding: 0; }
  .mcp-steps li + li { padding-left: 0; border-left: none; }
  .mcp-step-number { display: block; margin-bottom: 11px; }
  .mcp-steps h3 { font-size: 20px; margin-top: 0; }
  .mcp-steps p { font-size: 12px; max-width: none; }
  .mcp-availability { flex-direction: column; gap: 12px; font-size: 8px; margin-top: 24px; padding-top: 20px; }
}
@media (max-width: 360px) {
  .mcp-layout { padding-inline: 17px; }
  .mcp-client-footer { padding-inline: 17px; }
  .mcp-action-tabs button { font-size: 8px; padding: 9px 7px; gap: 4px; }
  .mcp-action-tabs button .icon { width: 11px; height: 11px; }
  .mcp-terminal { padding-inline: 14px; }
  .mcp-terminal-status > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mcp-trace li[data-state="active"] .mcp-step-indicator { animation: none; }
  .mcp-run:hover { transform: none; }
}
