.mcp-invitation { display:grid; grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr); border:1px solid var(--line); border-radius:30px; overflow:hidden; margin-block:64px; background:var(--surface); }
.mcp-playground { display:flex; flex-direction:column; position:relative; overflow:hidden; padding:32px; background:radial-gradient(ellipse at 50% 60%,var(--soft),transparent 70%),var(--bg); border-right:1px solid var(--line); }
.mcp-stage-label { display:flex; align-items:center; gap:9px; font-size:12px; color:var(--muted); }
.mcp-stage-label>span { width:7px; height:7px; border-radius:50%; background:var(--green); }
.mcp-plus { position:absolute; right:25px; top:27px; width:25px; height:25px; transform:rotate(13deg); stroke:#ee4311; stroke-width:8; stroke-linecap:round; }
.mcp-stage { position:relative; flex:1; min-height:320px; margin-block:16px; }
.mcp-stage-orbit { position:absolute; left:5%; right:5%; bottom:74px; height:48px; border:1px solid var(--line); border-radius:50%; transform:rotate(-8deg); }
.mcp-stage-orbit::after { content:""; position:absolute; inset:12px 20px; border:1px dashed var(--line); border-radius:50%; }
.mcp-friend-travel { position:absolute; width:160px; height:188px; left:calc(50% - 80px); top:calc(50% - 80px); perspective:600px; }
.mcp-friend { display:block; width:160px; height:167.273px; overflow:visible; }
.mcp-friend-shadow { position:absolute; bottom:11px; left:31px; width:98px; height:16px; border-radius:50%; background:radial-gradient(ellipse,#171b243b,transparent 72%); }
.mcp-friend-hop { position:relative; width:160px; height:167.273px; transform-origin:50% 50%; transform-style:preserve-3d; transform:rotateY(-14deg); }
.mcp-four-solid { position:relative; width:160px; height:167.273px; transform:rotateZ(-6deg); transform-style:preserve-3d; }
.mcp-four-front,.mcp-four-back,.mcp-four-eyewear { position:absolute; inset:0; backface-visibility:hidden; }
.mcp-four-front { transform:translateZ(12px); }
.mcp-four-eyewear { transform:translateZ(13px); transition:transform .4s cubic-bezier(.2,.7,.2,1); }
.mcp-smile-rest,.mcp-smile-joy { transition:opacity .3s ease; }
.mcp-smile-joy { opacity:0; }
@media(hover:hover) {
  .mcp-friend-travel:hover .mcp-four-eyewear { transform:translateZ(24px) translateY(-2px); }
  .mcp-friend-travel:hover .mcp-smile-rest { opacity:0; }
  .mcp-friend-travel:hover .mcp-smile-joy { opacity:1; }
}
.mcp-four-back { transform:translateZ(-12px) rotateY(180deg); }
.mcp-four-wall { position:absolute; left:0; top:0; display:block; height:24px; transform-origin:0 0; background:linear-gradient(180deg,#84260e,var(--wall-color)); }
.mcp-stage-bottom { position:relative; padding-right:54px; display:flex; justify-content:space-between; align-items:center; min-height:44px; gap:8px; color:var(--muted); font-size:12px; }
.mcp-stage-bottom strong { color:var(--ink); font-weight:600; }
.mcp-help-link { position:absolute; right:0; display:inline-flex; align-items:center; flex-shrink:0; min-height:44px; padding:10px 12px; gap:0; background:var(--surface); border:1px solid var(--line); border-radius:14px; color:var(--muted); text-decoration:none; transition:background .3s,border-color .3s,transform .3s; }
.mcp-help-link svg { width:18px; height:22px; flex-shrink:0; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
.mcp-help-link span { max-width:0; opacity:0; overflow:hidden; white-space:nowrap; font-size:12px; font-weight:600; transition:max-width .35s ease,opacity .25s ease,margin .35s ease; }
.mcp-help-link b { font-weight:400; padding-left:5px; }
.mcp-help-link:hover,.mcp-help-link:focus-visible { color:var(--accent); background:var(--soft); border-color:var(--accent); transform:translateX(3px); }
.mcp-help-link:hover span,.mcp-help-link:focus-visible span { max-width:165px; opacity:1; margin-left:8px; }
.mcp-stage-bottom > span { transition:opacity .25s; }
.mcp-stage-bottom:has(.mcp-help-link:hover) > span,.mcp-stage-bottom:has(.mcp-help-link:focus-visible) > span { opacity:0; }
@media(hover:none) { .mcp-help-link { position:static; } .mcp-help-link span { max-width:165px; opacity:1; margin-left:8px; } .mcp-stage-bottom { flex-direction:column; align-items:flex-start; padding-right:0; gap:12px; } }
.mcp-invitation-copy { padding:clamp(28px,4vw,48px); }
.mcp-yes { display:flex; align-items:center; gap:12px; color:var(--accent); font-size:20px; letter-spacing:.05em; font-weight:750; margin:0 0 16px; }
.mcp-yes svg { width:45px; height:45px; flex:none; }
.mcp-yes rect { fill:var(--soft); stroke:var(--line); }
.mcp-yes path { stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.mcp-invitation h2 { font-size:clamp(34px,4.3vw,56px); letter-spacing:-.045em; line-height:1.08; margin:0 0 15px; }
.mcp-invitation-intro { max-width:44ch; font-size:17px; line-height:1.6; color:var(--muted); margin:0 0 25px; }
.mcp-prompt-panel { background:var(--bg); border:1px solid var(--line); border-radius:18px; padding:20px; }
.mcp-prompt-heading { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:12px; margin-bottom:14px; }
.mcp-prompt-symbol { color:var(--accent); font-size:21px; line-height:1; }
.mcp-prompt-panel code { display:block; color:var(--ink); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:13px; line-height:1.85; overflow-wrap:anywhere; user-select:text; }
.mcp-prompt-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; min-height:42px; }
.mcp-copy-feedback { font-size:12px; color:var(--green); }
.mcp-copy-button { flex:none; min-height:42px; padding:9px 13px; border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:11px; font-size:12px; gap:8px; }
.mcp-copy-button:hover { color:var(--accent); background:var(--soft); box-shadow:none; }
.mcp-copy-button svg { width:17px; height:17px; stroke:currentColor; stroke-width:1.5; }
.mcp-invitation-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-top:20px; font-size:12px; }
.mcp-invitation-footer a { text-decoration:none; font-weight:650; }
.mcp-invitation-footer a:hover { text-decoration:underline; }
.mcp-invitation-footer>span { color:var(--muted); }
.mcp-invitation [hidden] { display:none!important; }
.mcp-category-rays { position:absolute; inset:0; width:100%; height:100%; overflow:visible; stroke:var(--accent); stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.mcp-ray { marker-end:url(#mcp-arrow-tip); opacity:.6; transform-origin:180px 160px; }
.mcp-category { position:absolute; z-index:1; }
.mcp-category-chip { display:block; transition:transform .3s ease,background-color .3s ease,border-color .3s ease; border:1px solid var(--line); border-radius:10px; padding:7px 9px; background:var(--surface); color:var(--ink); font-size:11px; line-height:1.3; white-space:nowrap; }
@media(hover:hover) {
  .mcp-category:hover .mcp-category-chip { transform:translateY(-3px) rotate(-2deg); background:var(--soft); border-color:var(--accent); }
  .mcp-category:nth-of-type(even):hover .mcp-category-chip { transform:translateY(-3px) rotate(2deg); }
}
@media(prefers-reduced-motion:reduce) {
  .mcp-help-link,.mcp-help-link span,.mcp-four-eyewear,.mcp-smile-rest,.mcp-smile-joy,.mcp-category-chip { transition:none; }
  .mcp-category:hover .mcp-category-chip,.mcp-help-link:hover,.mcp-help-link:focus-visible { transform:none; }
}
.mcp-category-1 { left:0; top:4%; }
.mcp-category-2 { right:0; top:4%; }
.mcp-category-3 { left:0; top:46%; }
.mcp-category-4 { right:0; top:46%; }
.mcp-category-5 { left:0; bottom:4%; }
.mcp-category-6 { right:0; bottom:4%; }
@media(prefers-reduced-motion:no-preference) {
  .mcp-invitation[data-animated] .mcp-friend-hop { animation:mcp-four-sequence 16s ease-in-out infinite; }
  .mcp-invitation[data-animated] .mcp-ray { animation:mcp-ray-reveal 16s ease both infinite; animation-delay:calc(var(--step) * .24s); }
  .mcp-invitation[data-animated] .mcp-category { animation:mcp-category-reveal 16s ease both infinite; animation-delay:calc(var(--step) * .24s); }
  .mcp-invitation:not([data-visible]) * { animation-play-state:paused!important; }
}
@keyframes mcp-four-sequence {
  0%,2% { transform:rotateY(-14deg) scale(1); }
  12%,15% { transform:rotateY(346deg) scale(1); }
  17% { transform:rotateY(346deg) scale(1.12); }
  19% { transform:rotateY(346deg) scale(1); }
  21% { transform:rotateY(346deg) scale(1.09); }
  24%,100% { transform:rotateY(346deg) scale(1); }
}
@keyframes mcp-ray-reveal { 0%,25% { opacity:0; transform:scale(.65); } 32%,79% { opacity:.6; transform:scale(1); } 85%,100% { opacity:0; transform:scale(1); } }
@keyframes mcp-category-reveal { 0%,29% { opacity:0; transform:translateY(6px) scale(.94); } 36%,79% { opacity:1; transform:translateY(0) scale(1); } 85%,100% { opacity:0; transform:translateY(0) scale(1); } }
@media(max-width:760px) {
  .mcp-invitation { grid-template-columns:1fr; margin-block:40px; border-radius:24px; }
  .mcp-playground { padding:24px; border-right:0; border-bottom:1px solid var(--line); }
  .mcp-stage { min-height:300px; }
  .mcp-stage-orbit { bottom:67px; }
  .mcp-plus { top:20px; right:22px; width:22px; height:22px; }
  .mcp-invitation-copy { padding:26px 24px; }
  .mcp-invitation h2 { font-size:38px; }
  .mcp-invitation-intro { font-size:16px; }
  .mcp-prompt-panel { padding:16px; }
}

/* Side planes are CSS rules, not inline styles, to preserve the site CSP. */
.mcp-four-wall-1 { width:29.291px;transform:translate3d(77.091px,21.091px,-12px) rotateZ(0.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-2 { width:56.927px;transform:translate3d(106.182px,21.091px,-12px) rotateZ(90.000deg) rotateX(90deg);--wall-color:#bb330e; }
.mcp-four-wall-3 { width:19.109px;transform:translate3d(106.182px,77.818px,-12px) rotateZ(0.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-4 { width:21.291px;transform:translate3d(125.091px,77.818px,-12px) rotateZ(90.000deg) rotateX(90deg);--wall-color:#bb330e; }
.mcp-four-wall-5 { width:19.109px;transform:translate3d(125.091px,98.909px,-12px) rotateZ(180.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-6 { width:33.655px;transform:translate3d(106.182px,98.909px,-12px) rotateZ(90.000deg) rotateX(90deg);--wall-color:#bb330e; }
.mcp-four-wall-7 { width:25.655px;transform:translate3d(106.182px,132.364px,-12px) rotateZ(180.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-8 { width:33.655px;transform:translate3d(80.727px,132.364px,-12px) rotateZ(-90.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-9 { width:56.200px;transform:translate3d(80.727px,98.909px,-12px) rotateZ(180.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-10 { width:21.291px;transform:translate3d(24.727px,98.909px,-12px) rotateZ(-90.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-11 { width:77.401px;transform:translate3d(24.727px,77.818px,-12px) rotateZ(-47.291deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-12 { width:26.382px;transform:translate3d(54.545px,77.818px,-12px) rotateZ(0.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-13 { width:30.018px;transform:translate3d(80.727px,77.818px,-12px) rotateZ(-90.000deg) rotateX(90deg);--wall-color:#f06b36; }
.mcp-four-wall-14 { width:39.881px;transform:translate3d(80.727px,48.000px,-12px) rotateZ(131.285deg) rotateX(90deg);--wall-color:#bb330e; }
.mcp-step-0 { --step:0; }
.mcp-step-1 { --step:1; }
.mcp-step-2 { --step:2; }
.mcp-step-3 { --step:3; }
.mcp-step-4 { --step:4; }
.mcp-step-5 { --step:5; }
