/* DevOps Lounge website.
   Direction: an Apple-calm black stage where the server itself is the picture. Monochrome; colour only where Discord
   itself uses it. Geist for Latin, Alexandria for Arabic. One memorable moment: the wall of six languages. */
:root {
  --page: #000; --card: #1C1C1E; --fill: #2C2C2E; --fill-2: #3A3A3C; --line: #38383A;
  --text: #fff; --text-2: #AEAEB2; --text-3: #8E8E93;
  --ok: #30D158; --info: #0A84FF;
  --dc-rail: #1E1F22; --dc-side: #2B2D31; --dc-main: #313338; --dc-embed: #2B2D31; --dc-text: #DBDEE1; --dc-muted: #949BA4; --dc-blurple: #5865F2;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --arabic: 'Alexandria', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; border-radius: 8px; }
code { font: .88em var(--mono); background: var(--fill); border-radius: 6px; padding: 2px 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); }
.bleed { --edge: max(24px, calc((100vw - 1240px) / 2 + 24px)); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; letter-spacing: -.01em; transition: transform .25s var(--ease), background .25s var(--ease); white-space: nowrap; }
button.btn { border: 0; cursor: pointer; font-family: var(--sans); }
.btn:active { transform: scale(.97); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #E5E5EA; }
.btn-quiet { background: var(--fill); color: #fff; }
.btn-quiet:hover { background: var(--fill-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm svg { width: 17px; height: 17px; }

.nav { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(255, 255, 255, .08); z-index: -1; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; font-size: 17px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-links a[lang="ar"] { font-family: var(--arabic); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .wrap { justify-content: space-between; } }

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
.display { font-size: clamp(46px, 5.6vw, 84px); letter-spacing: -.045em; line-height: 1; font-weight: 500; }
.title { font-size: clamp(38px, 5vw, 72px); letter-spacing: -.04em; line-height: 1.04; font-weight: 500; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 34ch; margin: 22px 0 0; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
section.block { padding-block: 112px 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.block-head p { color: var(--text-2); margin: 0; max-width: 36ch; }

.hero { padding-top: clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy .note { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* The product view: the real server, drawn the way Discord draws it, running off the right edge. */
.app { position: relative; display: grid; grid-template-columns: 64px 220px minmax(0, 1fr); height: 560px; border-radius: 22px 0 0 22px; overflow: hidden; background: var(--dc-main);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); margin-right: calc(-1 * var(--edge)); font: 14px/1.375 var(--sans); color: var(--dc-text); }
@media (max-width: 1020px) { .app { margin-right: 0; border-radius: 22px; grid-template-columns: 200px minmax(0, 1fr); } .app .rail { display: none; } }
.rail { background: var(--dc-rail); display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; }
.rail img { width: 44px; height: 44px; border-radius: 15px; }
.rail i { width: 32px; height: 2px; background: #35363C; border-radius: 1px; margin: 2px 0; }
.side { background: var(--dc-side); padding: 0 8px 12px; overflow: hidden; }
.side .server { height: 48px; display: flex; align-items: center; font-weight: 600; font-size: 15px; color: #F2F3F5; border-bottom: 1px solid rgba(0, 0, 0, .3); margin: 0 -8px 8px; padding-left: 16px; }
.side .cat { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--dc-muted); margin: 14px 0 4px 8px; }
.side .ch { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: var(--dc-muted); font-size: 15px; white-space: nowrap; }
.side .ch b { font-weight: 400; color: #80848E; font-size: 18px; line-height: 1; width: 18px; text-align: center; }
.side .ch.on { background: rgba(78, 80, 88, .6); color: #fff; }
.main { display: flex; flex-direction: column; min-width: 0; }
.main .head { white-space: nowrap; height: 48px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(0, 0, 0, .25); font-weight: 600; color: #F2F3F5; font-size: 15px; }
.main .head b { font-weight: 400; color: #80848E; font-size: 20px; }
.main .head span { color: var(--dc-muted); font-weight: 400; font-size: 14px; margin-left: 8px; padding-left: 12px; border-left: 1px solid #3F4147; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed { padding: 16px 16px 0; display: grid; gap: 18px; overflow: hidden; align-content: start; }
.msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.msg > img { width: 40px; height: 40px; border-radius: 50%; }
.msg .who { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #F2F3F5; }
.msg .who i { font-style: normal; font-size: 10px; font-weight: 600; background: var(--dc-blurple); color: #fff; border-radius: 4px; padding: 1px 5px; }
.msg .who time { font-weight: 400; font-size: 12px; color: var(--dc-muted); }
.embed { margin-top: 6px; background: var(--dc-embed); border-left: 4px solid #F5F6F2; border-radius: 4px; padding: 10px 14px 12px; max-width: 520px; display: grid; gap: 6px; }
.embed a { color: #00A8FC; font-weight: 600; text-decoration: none; }
.embed p { margin: 0; font-size: 14px; color: var(--dc-text); }
.embed .f { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; }
.embed { min-width: 0; overflow-wrap: anywhere; }
.embed .f div { color: var(--dc-muted); }
.embed .f div b { display: block; color: #F2F3F5; font-size: 12.5px; }
.embed .banner { border-radius: 6px; margin-top: 4px; }
.reacts { display: flex; gap: 6px; margin-top: 6px; }
.reacts span { background: rgba(88, 101, 242, .15); border: 1px solid var(--dc-blurple); color: #DEE0FC; border-radius: 8px; padding: 1px 8px; font-size: 13px; }
.chip { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px; color: #fff; font-size: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(10px) saturate(190%) brightness(1.15); backdrop-filter: blur(10px) saturate(190%) brightness(1.15);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .1), 0 18px 44px rgba(0, 0, 0, .45); }
.chip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .16) 38%, rgba(255, 255, 255, .08) 62%, rgba(255, 255, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.chip b { font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chip svg { width: 20px; height: 20px; color: var(--ok); flex: none; }

.wall { padding-block: 128px 0; overflow: hidden; }
.wall-lines { user-select: none; }
.wall-lines div { white-space: nowrap; font-weight: 600; font-size: clamp(64px, 10.5vw, 164px); letter-spacing: -.055em; line-height: 1.02; color: #1C1C1E; }
.wall-lines div:nth-child(even) { margin-left: -16vw; }
.wall-lines span { margin-right: .32em; }
.wall-lines .lit { color: #fff; }
.wall-lines [lang="ar"], .wall-lines [lang="ru"] { letter-spacing: 0; }
.wall-lines [lang="ar"] { font-family: var(--arabic); }
.wall-caption { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-top: 44px; }
.wall-caption h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; max-width: 16ch; }
.wall-caption p { color: var(--text-2); margin: 0; max-width: 38ch; }

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: center; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.index h3 { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.045em; line-height: 1.05; color: var(--text-2); transition: color .3s var(--ease); }
.index .n { font: 14px var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.index .go { width: 40px; height: 40px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.index .go svg { width: 18px; height: 18px; }
.index a:hover { padding-left: 14px; }
.index a:hover h3 { color: #fff; }
.index a:hover .go { opacity: 1; transform: none; }
@media (hover: none) { .index .go { opacity: 1; transform: none; } .index h3 { color: #fff; } }

.vault { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px; }
@media (max-width: 1020px) { .vault { grid-template-columns: 1fr; } }
.count { background: var(--card); border-radius: 30px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 440px; }
.count b { font-size: clamp(110px, 12vw, 180px); letter-spacing: -.07em; line-height: .85; font-variant-numeric: tabular-nums; display: block; }
.count p { margin: 14px 0 0; color: var(--text-2); max-width: 26ch; }
.count .split { display: flex; flex-wrap: wrap; gap: 8px; }
.count .split a { font-size: 13.5px; text-decoration: none; background: var(--fill); border-radius: 999px; padding: 7px 13px; }
.count .split a:hover { background: var(--fill-2); }
.shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--edge)); padding-right: var(--edge); scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 300px; scroll-snap-align: start; background: var(--card); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-height: 440px; transition: background .3s var(--ease); }
.pick:hover { background: #242426; }
.src { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.src img { width: 20px; height: 20px; border-radius: 5px; background: #fff; padding: 2px; }
.pick h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.15; }
.pick p { margin: 0; color: var(--text-2); font-size: 15px; flex: 1; }
.pick .tag { font-size: 13px; color: var(--text-3); }

.calm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; align-items: stretch; }
@media (max-width: 1020px) { .calm { grid-template-columns: 1fr; } }
.calm-copy { padding: 8px 32px 8px 0; display: flex; flex-direction: column; justify-content: center; }
.calm-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.calm-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.calm-copy li svg { width: 20px; height: 20px; color: #fff; margin-top: 3px; }
.calm-copy li b { color: #fff; font-weight: 600; }
.stage { background: var(--card); border-radius: 30px; padding: clamp(24px, 4vw, 52px); display: grid; place-items: center; }
.stage-inner { width: 100%; max-width: 580px; }
.stage .msg { font-size: 14px; color: var(--dc-text); background: var(--dc-main); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.stage .embed { border-left-color: #F23F42; }
.stage .buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stage .buttons span { font-size: 13px; font-weight: 500; border-radius: 4px; padding: 6px 12px; color: #fff; background: #4E5058; }
.stage .buttons .red { background: #DA373C; }
.stage .buttons .green { background: #248046; }
.example { font-size: 13px; color: var(--text-3); margin: 16px 0 0; text-align: center; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 30px; line-height: 1; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--text-2); max-width: 60ch; }

.final { margin-top: 112px; border-radius: 36px; background: #fff; color: #000; padding: clamp(40px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 32px; align-items: end; justify-content: space-between; }
.final h2 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.045em; line-height: 1; max-width: 10ch; font-weight: 500; }
.final p { margin: 18px 0 0; color: #3D3D3D; max-width: 32ch; font-size: 18px; }
.final .btn-primary { background: #000; color: #fff; }
.final .btn-primary:hover { background: #222; }

.page-head { padding-block: clamp(56px, 8vw, 104px) 8px; }
.crumb { font-size: 14px; color: var(--text-3); text-decoration: none; display: inline-block; margin-bottom: 20px; }
.crumb:hover { color: #fff; }
.page-head .meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .meta a { font-size: 14px; text-decoration: none; background: var(--fill); border-radius: 999px; padding: 8px 15px; color: var(--text-2); }
.page-head .meta a:hover { color: #fff; background: var(--fill-2); }
.group { padding-top: 80px; scroll-margin-top: 80px; }
.group > h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; margin-bottom: 26px; display: flex; align-items: baseline; gap: 14px; }
.group > h2 small { font: 500 15px var(--mono); color: var(--text-3); letter-spacing: 0; }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .list { grid-template-columns: 1fr; } }
.res { background: var(--card); border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.res h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.res h3 a { text-decoration: none; }
.res h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.res p { margin: 0; color: var(--text-2); font-size: 15.5px; overflow-wrap: anywhere; }
.res .src { margin-top: auto; padding-top: 8px; }
.src span + span::before { content: "·"; margin-right: 10px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border-radius: 24px; padding: 28px; color: var(--text-2); }
.steps li b { display: block; color: #fff; font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.tips { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: 12px; }
.tips li { break-inside: avoid; background: var(--card); border-radius: 22px; padding: 22px 26px; margin-bottom: 12px; color: var(--text-2); }

footer { margin-top: 112px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-block: 32px calc(32px + env(safe-area-inset-bottom)); }
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

[dir="rtl"] { font-family: var(--arabic); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display, [dir="rtl"] .title { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .lede, [dir="rtl"] p, [dir="rtl"] li { line-height: 1.75; }
[dir="rtl"] .index a:hover { padding-left: 4px; padding-right: 14px; }
[dir="rtl"] .index .go svg { transform: scaleX(-1); }
[dir="rtl"] .chip { left: auto; right: 24px; }

@media (max-width: 600px) {
  body { font-size: 18px; }
  .wrap { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .bleed { --edge: 20px; }
  .display { font-size: 50px; }
  .actions .btn { width: 100%; justify-content: center; height: 58px; font-size: 17px; }
  .app { height: 470px; grid-template-columns: minmax(0, 1fr); }
  .app .side { display: none; }
  .main .head span { display: none; }
  .chip { left: 14px; bottom: 14px; }
  section.block { padding-top: 88px; }
  .count { min-height: 0; }
  .pick { flex-basis: 80vw; min-height: 360px; }
  .wall-lines div { font-size: 66px; }
  .final .btn { width: 100%; justify-content: center; height: 58px; }
}
/* ---------- hero: one wide headline, set in two lines, the server below ---------- */
.hero-title { font-size: clamp(46px, 6.1vw, 94px); max-width: none; text-wrap: initial; }
.hero-title span { display: block; }
.hero-title span + span { color: var(--text); }
.hero-sub { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: 32px; }
.hero-sub .lede { margin: 0; max-width: 40ch; }
.hero-sub .actions { margin: 0; }
.hero > .wrap > .app { margin-top: 64px; height: 600px; }
@media (max-width: 600px) { .hero-title { font-size: 46px; } .hero-title span { display: inline; } .hero > .wrap > .app { margin-top: 44px; height: 470px; } }

/* The language wall answers the pointer. */
.wall-lines span { transition: color .5s var(--ease); }
.wall-lines span:hover { color: #fff; transition-duration: .15s; }

/* ---------- tools bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.tile { position: relative; overflow: hidden; background: var(--card); border-radius: 30px; padding: 26px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: background .3s var(--ease), transform .3s var(--ease); }
.tile:hover { background: #242426; transform: translateY(-2px); }
.tile h3 { font-size: 21px; letter-spacing: -.025em; }
.tile p { margin: 4px 0 0; color: var(--text-2); font-size: 14.5px; }
.tile .sample { font: 500 clamp(26px, 2.4vw, 34px)/1.1 var(--mono); letter-spacing: -.03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.tile-hero { grid-column: span 2; grid-row: span 2; background: #fff; color: #000; }
.tile-wide { grid-column: span 2; }
.bento { grid-auto-flow: dense; }
@media (max-width: 600px) { .tile-wide { grid-column: auto; } }
.tile-hero:hover { background: #F2F2F7; }
.tile-hero p { color: #3D3D3D; }
.tile-hero h3 { font-size: 30px; }
@media (max-width: 600px) { .tile-hero { grid-column: auto; grid-row: auto; } .tile { min-height: 180px; } }
.mini-prompt { margin: 0; font: 14px/1.6 var(--mono); color: #3D3D3D; background: #F2F2F7; border-radius: 18px; padding: 18px 20px; white-space: pre-wrap; overflow: hidden; }
.mini-prompt b { color: #000; font-weight: 600; }
.mini-prompt span { color: #000; }

/* ---------- tool pages ---------- */
.tool-head { padding-bottom: 32px; }
.tool { background: var(--card); border-radius: 30px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 20px; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-out .btn { justify-self: start; }
.tool-in, .tool-out, .stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span, .field-label { font-size: 13.5px; color: var(--text-2); font-weight: 500; display: block; }
.field-label { margin-bottom: 8px; }
textarea, input:not([type=checkbox]):not([type=range]), select { width: 100%; font: 15px/1.5 var(--mono); color: #fff; background: #000; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; resize: vertical; }
input[type=number] { width: 90px; }
.field.big input { font-size: clamp(22px, 2.6vw, 30px); padding: 14px 18px; letter-spacing: -.01em; }
textarea:focus, input:focus, select:focus { outline: none; border-color: #636366; }
select { font-family: var(--sans); width: auto; padding: 8px 12px; }
.inline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.inline input[type=number] { padding: 8px 10px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #fff; }
input[type=range] { width: 100%; accent-color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.note { font-size: 14px; color: var(--text-3); margin: 0; }
.note.ok, .ok { color: var(--ok); }
.note.bad, .bad, .say.bad { color: #FF453A; }
.note b { color: #fff; font-weight: 500; margin-right: 6px; }
.out { margin: 0; font: 14px/1.6 var(--mono); color: #E5E5EA; background: #000; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 120px; max-height: 560px; overflow: auto; display: block; width: 100%; }
.out.tall { min-height: 360px; }
.out.big { font-size: 26px; min-height: 0; padding: 14px 18px; }
.out.pw { font-size: 22px; min-height: 0; letter-spacing: .02em; }

.seg { display: flex; gap: 4px; padding: 4px; background: #000; border-radius: 999px; overflow-x: auto; scrollbar-width: none; justify-self: start; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; border: 0; background: transparent; color: var(--text-2); font: 500 14px var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-selected="true"] { background: #fff; color: #000; }
.seg button:hover:not([aria-selected="true"]) { color: #fff; }
.pills, .presets { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 0; background: var(--fill); color: var(--text-2); font: 500 13.5px var(--sans); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.pill:hover { color: #fff; background: var(--fill-2); }
.pill.on { background: #fff; color: #000; }
.pb-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 12px; }
.pb-label { font-size: 13.5px; color: var(--text-3); padding-top: 8px; }
@media (max-width: 600px) { .pb-row { grid-template-columns: 1fr; gap: 6px; } .pb-label { padding: 0; } }
.score { display: flex; gap: 18px; align-items: center; }
.score b { font-size: 15px; display: block; margin-bottom: 6px; }
.ring { --p: 0; width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--fill) 0); position: relative; transition: background .4s; }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; font: 600 22px var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-3); }
.checks li::before { content: "○ "; }
.checks li.ok { color: #fff; }
.checks li.ok::before { content: "● "; color: var(--ok); }

.say { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.02em; font-weight: 600; margin: 0; }
.cron-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .cron-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.next b { font-size: 15px; }
.next ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; font: 15px var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.rx-line { display: flex; align-items: center; gap: 6px; }
.rx-line .slash { font: 500 28px var(--mono); color: var(--text-3); }
.rx-line input { font-size: 18px; }
.rx-line .flags { width: 80px; flex: none; }
.rx-view mark { background: #FFD60A; color: #000; border-radius: 3px; padding: 0 1px; }
.groups { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font: 13.5px var(--mono); color: var(--text-2); }
.groups b { color: #fff; margin-right: 10px; font-family: var(--sans); }
.groups span { margin-right: 14px; }
.times { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--text-2); }
.times b { color: #fff; font-weight: 500; margin-right: 6px; }
.now { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--text-2); font-size: 15px; }
.now b { font: 600 22px var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
.conv { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.conv li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #000; border-radius: 14px; padding: 10px 10px 10px 16px; }
.conv span { color: var(--text-3); font-size: 14px; }
.conv output { font: 15px var(--mono); overflow-wrap: anywhere; }
@media (max-width: 600px) { .conv li { grid-template-columns: 1fr auto; } .conv span { grid-column: 1 / -1; } }
.checks-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.chmod-grid { display: grid; grid-template-columns: minmax(110px, 1fr) repeat(3, 72px); gap: 10px 8px; align-items: center; justify-content: start; }
.chmod-grid > b { font-size: 14px; font-weight: 500; color: var(--text-2); }
.chmod-grid > b:nth-child(-n+4) { text-align: center; }
.box { display: grid; place-items: center; height: 52px; background: #000; border-radius: 14px; cursor: pointer; }
.box input { position: absolute; opacity: 0; }
.box span { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #636366; transition: .2s var(--ease); }
.box input:checked + span { background: #fff; border-color: #fff; box-shadow: inset 0 0 0 4px #000; }
.box input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 3px; }
.cmdline { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #000; border-radius: 14px; padding: 10px 10px 10px 18px; }
.cmdline code { background: none; padding: 0; font-size: 17px; }

/* ---------- motion helpers ---------- */
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: block; will-change: transform; }
.hero > .wrap { perspective: 1600px; }
.nav { will-change: transform; }

/* ---------- join story: stacking cards ---------- */
.story { padding-top: 140px; }
.story-title { max-width: 14ch; margin-bottom: 56px; }
.cards { display: grid; gap: 28px; }
.card { position: sticky; top: calc(96px + var(--i) * 22px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; min-height: 520px; padding: clamp(28px, 4vw, 56px);
  background: var(--card); border-radius: 36px; box-shadow: 0 -20px 60px rgba(0, 0, 0, .55); transform-origin: 50% 0; }
.card:nth-child(2) { background: #232325; }
.card:nth-child(3) { background: #fff; color: #000; }
.card-copy .step { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fill); font: 600 16px var(--sans); margin-bottom: 28px; }
.card:nth-child(3) .step { background: #000; color: #fff; }
.card-copy h3 { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.05em; line-height: 1; }
.card-copy p { color: var(--text-2); font-size: 18px; margin: 18px 0 0; max-width: 32ch; }
.card:nth-child(3) .card-copy p { color: #3D3D3D; }
.card-visual { min-width: 0; display: grid; place-items: center; }
@media (max-width: 860px) { .card { grid-template-columns: 1fr; min-height: 0; top: calc(80px + var(--i) * 14px); gap: 28px; } }

.dc-menu, .dc-forum { width: 100%; max-width: 520px; background: var(--dc-main); border-radius: 18px; padding: 16px; font: 14px/1.4 var(--sans); color: var(--dc-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.dc-select { display: flex; justify-content: space-between; align-items: center; background: var(--dc-rail); border-radius: 8px; padding: 12px 14px; color: var(--dc-muted); }
.dc-menu ul { list-style: none; margin: 6px 0 0; padding: 6px; background: #2B2D31; border-radius: 8px; display: grid; gap: 2px; }
.dc-menu li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; padding: 9px 10px; border-radius: 6px; }
.dc-menu li b { color: #F2F3F5; font-weight: 500; }
.dc-menu li small { grid-column: 2; color: var(--dc-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-menu .box-mark { grid-row: span 2; width: 18px; height: 18px; border-radius: 4px; border: 2px solid #80848E; margin-top: 2px; }
.dc-menu li.on { background: rgba(78, 80, 88, .5); }
.dc-menu li.on .box-mark { background: var(--dc-blurple); border-color: var(--dc-blurple); box-shadow: inset 0 0 0 3px var(--dc-blurple), inset 0 0 0 9px #fff; }
.dc-forum-head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 12px; color: #F2F3F5; }
.dc-post { background: var(--dc-side); border-radius: 8px; padding: 14px; margin-top: 8px; display: grid; gap: 8px; }
.dc-post b { color: #F2F3F5; font-weight: 600; font-size: 15px; }
.dc-post div { display: flex; gap: 6px; }
.dc-post span { font-size: 12px; background: #3F4147; color: #DBDEE1; border-radius: 999px; padding: 2px 9px; }
.dc-post span.solved { background: rgba(35, 165, 89, .2); color: #57F287; }
.dc-forum .example { margin-top: 12px; }
.dc-show { width: 100%; max-width: 520px; border-radius: 22px; overflow: hidden; background: #F2F2F7; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.dc-show-img { aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.dc-show-img span { font: 500 clamp(22px, 3vw, 34px) var(--mono); color: #fff; letter-spacing: -.03em; }
.dc-show-body { padding: 22px; display: grid; gap: 6px; }
.dc-show-body b { font-size: 20px; letter-spacing: -.02em; }
.dc-show-body p { margin: 0; color: #3D3D3D; }
.dc-show-actions { display: flex; gap: 8px; margin-top: 10px; }
.dc-show-actions span { font-size: 14px; font-weight: 500; border-radius: 999px; padding: 8px 14px; background: #E5E5EA; }
.dc-show-actions .up { background: #000; color: #fff; }

/* ---------- split layout: the heading stays put while the list scrolls ---------- */
.split-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head p { color: var(--text-2); margin: 20px 0 0; max-width: 30ch; }
.split-layout .index { border-top: 0; }
.split-layout .index li:first-child a { padding-top: 0; }
@media (max-width: 1020px) { .split-layout { grid-template-columns: 1fr; gap: 32px; } .split-head { position: static; } }

/* ---------- new tools ---------- */
.tok-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .tok-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tok-stats div { background: #000; border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; }
.tok-stats span { font-size: 13px; color: var(--text-3); }
.tok-stats b { font: 600 clamp(20px, 2.2vw, 28px) var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fit li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 76px; gap: 12px; align-items: center; font-size: 14px; }
.fit li span { color: var(--text-2); font-family: var(--mono); }
.fit li b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.fit i { height: 10px; border-radius: 999px; background: var(--fill); position: relative; overflow: hidden; }
.fit i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 3px; border-radius: inherit; background: var(--ok); transition: width .4s var(--ease); }
.fit i.warn::after { background: #FF9F0A; }
.fit i.over::after { background: #FF453A; }
.params { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.params li { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; background: #000; border-radius: 18px; padding: 12px; }
.params li input, .params li select { font-size: 14px; padding: 9px 12px; border-radius: 10px; background: var(--card); }
.params .p-desc, .params .p-enum { grid-column: 1 / -1; }
.params .inline { font-size: 13.5px; }
.params .p-del { justify-self: end; }
.tips-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: #FFD60A; }
.tips-list li::before { content: "• "; }
.tips-list li.ok { color: var(--ok); }
.diff-out { background: #000; border: 1px solid var(--line); border-radius: 18px; overflow: auto; max-height: 520px; padding: 8px 0; font: 14px/1.6 var(--mono); }
.dl { display: grid; grid-template-columns: 44px 44px 20px minmax(0, 1fr); padding: 0 12px; }
.dl .ln { color: #636366; text-align: right; padding-right: 10px; font-variant-numeric: tabular-nums; user-select: none; }
.dl .op { color: #636366; user-select: none; }
.dl code { background: none; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.dl.add { background: rgba(48, 209, 88, .14); }
.dl.add .op, .dl.add code { color: #7EE2A0; }
.dl.del { background: rgba(255, 69, 58, .14); }
.dl.del .op, .dl.del code { color: #FF9A93; }
.color-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.preview { border-radius: 22px; padding: 32px; display: grid; gap: 10px; min-height: 180px; align-content: center; border: 1px solid var(--line); }
.preview b { font-size: 34px; letter-spacing: -.04em; }
.ratio { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ratio > b { font: 600 46px var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ratio ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 18px; font-size: 14px; }
.scale { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.scale button { border: 0; border-radius: 12px; height: 64px; cursor: pointer; display: grid; place-items: end start; padding: 8px; transition: transform .2s var(--ease); }
.scale button:hover { transform: translateY(-3px); }
.scale span { font: 11px var(--mono); }
@media (max-width: 760px) { .scale { grid-template-columns: repeat(3, minmax(0, 1fr)); } .color-pair { grid-template-columns: 1fr; } }


/* ---------- brand light: the violet and blue wash from the Discord banners, rising from below ---------- */
:root {
  --wash-violet: rgba(122, 99, 232, .55);
  --wash-blue: rgba(91, 143, 232, .48);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero, .wall, .page-head, .final, .story { position: relative; isolation: isolate; }
.hero::before, .wall::before, .page-head::before, .final::before, .story::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; bottom: 0; width: min(1500px, 140vw); height: 70%; transform: translateX(-50%);
  background:
    radial-gradient(42% 60% at 40% 100%, var(--wash-violet), transparent 72%),
    radial-gradient(38% 56% at 62% 100%, var(--wash-blue), transparent 72%);
  filter: blur(40px); opacity: .9;
}
/* One grain for the whole page, so no section shows an edge; the closing card keeps its own. */
body { background-image: var(--grain); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .9; }
.hero::before { height: 520px; bottom: 560px; opacity: 1; }
@media (max-width: 600px) { .hero::before { bottom: 440px; height: 380px; } }
.wall::before { height: 70%; bottom: 22%; opacity: .7; }
.page-head::before { height: 120%; bottom: -20%; opacity: .55; width: min(1200px, 120vw); }
.story::before { top: 0; bottom: auto; height: 340px; transform: translateX(-50%) scaleY(-1); opacity: .45; }

.final { background: #000; color: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.final::before { width: 130%; height: 95%; opacity: 1; filter: blur(30px); }
.final p { color: var(--text-2); }
.final .btn-primary { background: #fff; color: #000; }
.final .btn-primary:hover { background: #E5E5EA; }


/* ---------- home: a few featured tools; hub: tools in groups ---------- */
.bento-home { grid-auto-rows: 200px; }
.bento-home .tile:not(.tile-hero) { justify-content: space-between; }
.more-link { margin: 22px 0 0; }
.more-link a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--fill); text-decoration: none; font-weight: 500; transition: background .25s; }
.more-link a:hover { background: var(--fill-2); }
.more-link a::after { content: "→"; }
.tool-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tool-row .tile { min-height: 210px; }
.tool-group > h2 small { font: 500 15px var(--mono); color: var(--text-3); }
/* ---------- bot trap story ---------- */
.trap-channel { font-weight: 600; color: var(--text-2); margin-bottom: 14px; font-size: 15px; }
.trap-channel b { color: var(--text-3); font-weight: 400; margin-right: 4px; }
.stage .msg.spam { background: var(--dc-main); margin-bottom: 14px; overflow: hidden; transition: background .3s, box-shadow .3s; }
.spam .avatar-blank { width: 40px; height: 40px; border-radius: 50%; background: #4E5058; }
.spam .who { color: #F2F3F5; }
.spam-text { margin: 4px 0 0; color: var(--dc-text); }
.spam.caught { background: #3B2225; box-shadow: inset 0 0 0 1px #DA373C; }
.spam.caught .spam-text { text-decoration: line-through; color: #FF8A8A; }

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

/* ---------- reference tables under tools ---------- */
.ex-scroll { overflow-x: auto; border-radius: 24px; background: var(--card); }
.ex-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ex-table th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 13.5px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ex-table td { padding: 13px 22px; border-bottom: 1px solid #2C2C2E; color: var(--text-2); vertical-align: top; }
.ex-table tr:last-child td { border-bottom: 0; }
.ex-table td code { background: #000; color: #fff; white-space: nowrap; }

/* ---------- prompt builder: what it understood ---------- */
#pb-detected { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; align-items: center; }
#pb-detected .u { display: inline-flex; align-items: baseline; gap: 8px; background: #000; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: #fff; }
#pb-detected .u i { font-style: normal; color: var(--text-3); font-size: 12px; }
#pb-detected .hint { color: var(--text-3); font-size: 14px; }

/* ---------- live numbers from the server ---------- */
.hero-cta { display: grid; justify-items: end; gap: 14px; }
.live { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.live b { color: #fff; font-weight: 600; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.final .live { margin-top: 22px; }
.hero-copy .live { margin-top: 18px; }
@media (max-width: 1020px) { .hero-cta { justify-items: start; } }
@media (max-width: 600px) { .hero-cta { width: 100%; } }

/* ---------- polish pass ---------- */
/* Rows of meta wrap instead of pushing out of their card. */
.src { flex-wrap: wrap; row-gap: 4px; }
code { overflow-wrap: anywhere; }
/* The server view bleeds to the screen edge but never past it. */
.hero, .block.bleed { overflow-x: clip; }
/* Section headings: one calm size, so the hero stays the loudest thing on the page. */
.title { font-size: clamp(34px, 3.9vw, 56px); letter-spacing: -.035em; line-height: 1.08; }
.wall-caption h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; max-width: 20ch; }
.story-title { max-width: 20ch; }
/* Join story: the real channel name instead of a step number. */
.card-copy .step { display: inline-block; width: auto; height: auto; border-radius: 999px; padding: 6px 12px; font: 500 13.5px var(--mono); background: var(--fill); color: var(--text-2); margin-bottom: 22px; }
.card:nth-child(3) .step { background: #E5E5EA; color: #3D3D3D; }
.card-copy h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.08; font-weight: 500; }
/* The light effects never widen the page. */
.story { overflow-x: clip; }
.page-head::before { width: 100%; }

/* Cron: the same schedule for systemd, GitHub Actions and Kubernetes */
.cron-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 22px; }
.cron-alt { display: grid; gap: 10px; align-content: start; }
.cron-alt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cron-alt-head b { margin: 0; font: 600 15px var(--sans); color: #fff; }
.cron-alt .out { min-height: 0; font-size: 13.5px; }

/* MCP config */
.mcp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mcp-list li { background: #000; border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.mcp-list li label { color: #fff; font-size: 15px; }
.mcp-list textarea { font: 13px/1.5 var(--mono); min-height: 0; }
.mcp-list li:not(:has(input:checked)) textarea { display: none; }
.mcp-custom summary { cursor: pointer; color: var(--text-2); font-size: 14px; }
.mcp-custom summary:hover { color: #fff; }

/* Git command finder */
.git-list { display: grid; gap: 8px; margin-top: 18px; }
.git-item { background: var(--fill); border-radius: 16px; transition: background .2s; }
.git-item[open] { background: var(--fill-2); }
.git-item summary { cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 16px; color: #fff; }
.git-item summary::-webkit-details-marker { display: none; }
.git-item summary::after { content: '+'; color: var(--text-3); font: 400 20px var(--mono); flex: none; transition: transform .2s; }
.git-item[open] summary::after { transform: rotate(45deg); }
.git-item .danger { margin-left: auto; font: 500 12px var(--mono); color: #FF9F0A; background: rgba(255, 159, 10, .12); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.git-body { padding: 0 20px 18px; display: grid; gap: 10px; justify-items: start; }
.git-body .out { min-height: 0; }
.git-body p { margin: 0; color: var(--text-2); max-width: 70ch; }
.git-body .permalink { font-size: 13px; color: var(--text-3); }
.git-body .permalink:hover { color: #fff; }
@media (max-width: 600px) { .git-item summary { flex-wrap: wrap; } .git-item .danger { margin-left: 0; } }

/* CIDR subnets */
.subnets ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 320px; overflow: auto; }
.subnets li code { display: block; background: #000; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
