@font-face {
  font-family: "EFD Luckiest Guy";
  src: url("fonts/LuckiestGuy.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Mochiy Pop P One";
  src: url("fonts/MochiyPopPOne.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Bagel Fat One";
  src: url("fonts/BagelFatOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD M PLUS 1p";
  src: url("fonts/MPLUS1p-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD M PLUS 1p";
  src: url("fonts/MPLUS1p-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "EFD M PLUS 1p";
  src: url("fonts/MPLUS1p-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "EFD Cherry Bomb One";
  src: url("fonts/CherryBombOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Yusei Magic";
  src: url("fonts/YuseiMagic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Danfo";
  src: url("fonts/Danfo-Regular-VariableFont_ELSH.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Eater";
  src: url("fonts/Eater-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Londrina Shadow";
  src: url("fonts/LondrinaShadow-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Modak";
  src: url("fonts/Modak-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Peralta";
  src: url("fonts/Peralta-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Rampart One";
  src: url("fonts/RampartOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EFD Rubik Bubbles";
  src: url("fonts/RubikBubbles-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color: #17131d;
  background: #fff;
  font-family: "EFD Mochiy Pop P One", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 43, 132, 0.14) 1px, transparent 0) 0 0 / 18px 18px,
    #fff;
}

body.efd-mcp-route .efd-pwa-launcher,
body.efd-mcp-route .efd-pwa-panel {
  display: none !important;
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.mcp-header {
  overflow: hidden;
  border-bottom: 4px solid #17131d;
  background: #326bdd;
  color: #fff;
}

.mcp-header-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: 430px;
  margin: 0 auto;
  padding: 68px 420px 54px 0;
}

.mcp-brand {
  position: relative;
  z-index: 2;
}

.mcp-kicker,
.mcp-section-heading > p {
  margin: 0;
  color: #d7ff00;
  font-family: "EFD Luckiest Guy", "EFD Mochiy Pop P One", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mcp-header h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  color: #fff;
  font-family: "EFD Luckiest Guy", "EFD Mochiy Pop P One", sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.mcp-header h1 span {
  color: #ff2b84;
  text-shadow: 4px 4px 0 #17131d;
}

.mcp-lead {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
}

.mcp-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mcp-support span {
  padding: 8px 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(23, 19, 29, 0.18);
  color: #fff;
  font-family: "EFD Luckiest Guy", "EFD Mochiy Pop P One", sans-serif;
  font-size: 13px;
}

.mcp-mascot-wrap {
  position: absolute;
  right: 94px;
  bottom: -78px;
  width: min(320px, 32vw);
  margin: 0;
  filter: drop-shadow(9px 11px 0 rgba(23, 19, 29, 0.5));
}

.mcp-mascot {
  display: block;
  width: 100%;
  height: auto;
}

.mcp-mascot-wrap figcaption {
  position: absolute;
  right: -100px;
  bottom: 104px;
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 0 16px;
  transform: rotate(-4deg);
  border: 3px solid #17131d;
  border-radius: 999px;
  background: #ffde4d;
  box-shadow: 4px 4px 0 #17131d;
  color: #17131d;
  font-family: "EFD Luckiest Guy", "EFD Mochiy Pop P One", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.mcp-section {
  padding: 58px 0;
  border-bottom: 3px solid #17131d;
}

.mcp-section-heading {
  margin-bottom: 24px;
}

.mcp-section-heading > p {
  color: #ff2b84;
}

.mcp-section h2 {
  margin: 8px 0 0;
  color: #17131d;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.mcp-copy {
  max-width: 880px;
  margin: 0 0 26px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}

.mcp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcp-steps li,
.mcp-tool-grid article,
.mcp-safety-grid > div,
.mcp-endpoint-card {
  border: 3px solid #17131d;
  border-radius: 24px;
  background: #fff;
  box-shadow: 8px 8px 0 #86f4ff;
}

.mcp-steps li {
  display: flex;
  gap: 14px;
  padding: 18px;
}

.mcp-steps b {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 3px solid #17131d;
  border-radius: 50%;
  background: #d7ff00;
  font-family: "EFD Luckiest Guy", "EFD Mochiy Pop P One", sans-serif;
  font-size: 22px;
}

.mcp-steps strong,
.mcp-tool-grid strong,
.mcp-safety-grid strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.mcp-steps span,
.mcp-tool-grid span,
.mcp-safety-grid p,
.mcp-endpoint-card p {
  display: block;
  margin-top: 8px;
  color: #4d4854;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.mcp-endpoint-card {
  padding: 22px;
  background: linear-gradient(110deg, #fff9dc, #fff0f7);
}

.mcp-endpoint-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.mcp-endpoint-card code,
.mcp-code-card pre {
  display: block;
  overflow-x: auto;
  padding: 18px;
  border: 3px solid #17131d;
  border-radius: 16px;
  background: #17131d;
  color: #d7ff00;
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(14px, 2vw, 19px);
  font-weight: 900;
  white-space: nowrap;
}

.mcp-copy-button {
  min-height: 54px;
  padding: 0 18px;
  border: 3px solid #17131d;
  border-radius: 16px;
  background: #ff2b84;
  box-shadow: 5px 5px 0 #17131d;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.mcp-copy-button.is-copied {
  background: #d7ff00;
  color: #17131d;
}

.mcp-snippet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mcp-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mcp-client-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 3px solid #17131d;
  border-radius: 24px;
  background: #fff;
  box-shadow: 8px 8px 0 #86f4ff;
}

.mcp-client-card:nth-child(2) {
  box-shadow: 8px 8px 0 #d7ff00;
}

.mcp-client-card:nth-child(3) {
  box-shadow: 8px 8px 0 #ffde4d;
}

.mcp-client-card:nth-child(4) {
  box-shadow: 8px 8px 0 #ff2b84;
}

.mcp-client-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 3px solid #17131d;
}

.mcp-client-head strong {
  font-size: 20px;
  font-weight: 900;
}

.mcp-client-head span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 2px solid #17131d;
  border-radius: 999px;
  background: #d7ff00;
  font-size: 12px;
  font-weight: 900;
}

.mcp-client-card ol {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.mcp-client-card li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #4d4854;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.mcp-client-card li b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid #17131d;
  border-radius: 50%;
  background: #fff0f7;
  color: #17131d;
}

.mcp-client-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
}

.mcp-client-command small {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 900;
}

.mcp-client-command code {
  overflow-x: auto;
  padding: 13px;
  border: 2px solid #17131d;
  border-radius: 12px;
  background: #17131d;
  color: #d7ff00;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.mcp-client-command .mcp-copy-button {
  min-height: 48px;
  padding: 0 13px;
}

.mcp-client-command-block {
  grid-template-columns: 1fr;
}

.mcp-client-command-block code {
  white-space: pre;
}

.mcp-client-command-block .mcp-copy-button {
  justify-self: start;
}

.mcp-client-caution {
  margin: auto 0 0;
  padding: 14px;
  border: 2px solid #17131d;
  border-radius: 12px;
  background: #fff9dc;
  color: #4d4854;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.mcp-official-link {
  align-self: flex-start;
  margin-top: 18px;
  color: #1757d1;
  font-size: 13px;
  font-weight: 900;
  text-underline-offset: 4px;
}

.mcp-code-card {
  overflow: hidden;
  border: 3px solid #17131d;
  border-radius: 24px;
  background: #fff;
  box-shadow: 8px 8px 0 #ffde4d;
}

.mcp-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 3px solid #17131d;
  background: #fff0f7;
}

.mcp-code-head strong {
  font-size: 17px;
  font-weight: 900;
}

.mcp-code-head .mcp-copy-button {
  min-height: 42px;
  padding: 0 14px;
}

.mcp-code-card pre {
  min-height: 190px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #17131d;
  white-space: pre;
}

.mcp-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 3px solid #17131d;
  border-radius: 18px;
  background: #fff9dc;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
}

.mcp-tool-grid,
.mcp-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mcp-tool-grid article,
.mcp-safety-grid > div {
  padding: 20px;
}

.mcp-tool-grid article:nth-child(2n) {
  background: #fff6d9;
}

.mcp-tool-grid article:nth-child(3n) {
  background: #f7e8ff;
}

.mcp-safety {
  margin: 42px 0;
  padding: 38px;
  border: 3px solid #17131d;
  border-radius: 30px;
  background: #17131d;
  color: #fff;
  box-shadow: 10px 10px 0 #ffde4d;
}

.mcp-safety h2 {
  color: #fff;
}

.mcp-safety-grid > div {
  background: #fff;
  color: #17131d;
  box-shadow: 6px 6px 0 #ff2b84;
}

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

.mcp-actions a {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 16px;
  border: 3px solid #17131d;
  border-radius: 20px;
  background: #ff2b84;
  box-shadow: 7px 7px 0 #17131d;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.mcp-actions a:nth-child(2) {
  background: #8b00ff;
}

.mcp-actions a:nth-child(3) {
  background: #d7ff00;
  color: #17131d;
}

.mcp-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px max(20px, calc((100% - 1120px) / 2));
  border-top: 4px solid #17131d;
  background: #ffde4d;
  color: #17131d;
  font-weight: 900;
}

@media (max-width: 820px) {
  .mcp-header-inner {
    min-height: auto;
    padding: 46px 0 220px;
  }

  .mcp-mascot-wrap {
    right: calc(50% + 46px);
    bottom: -78px;
    width: 220px;
    transform: translateX(50%);
  }

  .mcp-mascot-wrap figcaption {
    right: -96px;
    bottom: 92px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 14px;
  }

  .mcp-steps,
  .mcp-client-grid,
  .mcp-snippet-grid,
  .mcp-tool-grid,
  .mcp-safety-grid,
  .mcp-actions {
    grid-template-columns: 1fr;
  }

  .mcp-endpoint-line {
    grid-template-columns: 1fr;
  }

  .mcp-client-command {
    grid-template-columns: 1fr;
  }

  .mcp-client-command .mcp-copy-button {
    justify-self: start;
  }

  .mcp-safety {
    padding: 28px 18px;
  }

  .mcp-footer {
    flex-direction: column;
  }
}
