html, body { margin: 0; overflow-x: clip; background: #050507; color: #f4f4f6; }
* { box-sizing: border-box; }
.gx { --accent: #5aa2ff; --mute: rgba(244, 244, 246, 0.64); --line: rgba(255, 255, 255, 0.09); font-family: "Satoshi", system-ui, sans-serif; min-height: 100svh; -webkit-font-smoothing: antialiased; }
.gx .ds-bg { position: fixed; }
.gwrap { width: min(760px, 100%); margin: 0 auto; padding: clamp(20px, 5vh, 56px) 16px 48px; display: grid; gap: 16px; }
.gcols { display: grid; gap: 16px; align-items: start; }
.gcol { display: grid; gap: 16px; min-width: 0; }
.gp { background: rgba(14, 14, 18, 0.58); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px -30px rgba(0, 0, 0, 0.7); }

/* hero */
.ghero { overflow: hidden; position: relative; }
/* Discord banners are 16:9 and often carry their own logo and text, so show all of it and keep the header below. */
.gbanner { aspect-ratio: 16 / 9; max-height: 420px; width: 100%; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 50%, #0b0b10), #0b0b10) center/cover; position: relative; }
.gbanner.none { aspect-ratio: auto; height: 140px; }
.gbanner::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(12, 12, 16, 0.85)); }
.ghead { padding: 0 28px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: end; position: relative; }
.gicon { width: clamp(88px, 10vw, 128px); aspect-ratio: 1; border-radius: 30%; margin-top: -28px; background: #16161b center/cover; border: 5px solid #0f0f13; display: grid; place-items: center; font: 800 44px "Satoshi"; grid-row: span 2; align-self: start; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.gtitle { min-width: 0; padding-top: 14px; }
.gname { margin: 0; padding-bottom: 0.08em; font: 800 clamp(32px, 5.4vw, 64px)/1.1 "Satoshi"; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--mute); }
.chip b { color: #fff; font-variant-numeric: tabular-nums; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #80848e; }
.chip .dot.on { background: #23a55a; box-shadow: 0 0 0 3px rgba(35, 165, 90, 0.2); }
.chip.ok { color: #d6ffe4; background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); }
.chip.ok::before, .badge.ok::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/9px no-repeat; flex: none; }
.gjoin { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 16px; text-decoration: none; font-weight: 800; font-size: 17px; color: #fff; background: #187a42; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7); transition: transform 0.2s, background 0.2s; white-space: nowrap; }
.gjoin:hover { transform: translateY(-2px); background: #156b3a; }
.gjoin .ico, .gbtn .ico { width: 20px; height: 20px; background: currentColor; mask: url("https://cdn.jsdelivr.net/npm/simple-icons@13.0.0/icons/discord.svg") center/contain no-repeat; -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@13.0.0/icons/discord.svg") center/contain no-repeat; }
.gabout { grid-column: 2 / 3; margin: 6px 0 0; color: rgba(244, 244, 246, 0.86); line-height: 1.6; font-size: 16.5px; white-space: pre-line; max-width: 62ch; }

.gsec { padding: 22px 24px; display: grid; gap: 16px; }
.gh { margin: 0; font: 600 12px "Geist Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute); }
.owner { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.oav { width: 72px; height: 72px; border-radius: 50%; background: #1a1a1f center/cover; box-shadow: 0 0 0 3px #0d0d11, 0 0 0 5px var(--accent); }
.oname { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ometa { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--mute); font-size: 14px; margin-top: 2px; align-items: center; }
.did { font: 13px "Geist Mono", ui-monospace, monospace; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; color: var(--mute); cursor: copy; }
.did:hover { color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.badge.ok { border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.badge.role i { width: 10px; height: 10px; border-radius: 50%; background: var(--rc, #99aab5); }
.badge small { color: var(--mute); font-weight: 500; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mem { display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.25s; }
.mem:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-2px); }
.mtop { display: flex; gap: 12px; align-items: center; }
.mav { width: 44px; height: 44px; border-radius: 50%; background: #1a1a1f center/cover; flex: none; }
.mname { font-weight: 700; }
.mtitle { color: var(--mute); font-size: 13px; }
.mem .badges .badge { font-size: 12px; padding: 5px 9px; }
.empty { color: var(--mute); font-size: 14px; margin: 0; line-height: 1.55; }
.note { color: var(--mute); font-size: 13.5px; margin: 0; }
.links { display: grid; gap: 8px; }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-radius: 13px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: inherit; text-decoration: none; font-weight: 600; transition: border-color 0.2s, transform 0.2s; }
.links a::after { content: "↗"; color: var(--mute); }
.links a:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateX(2px); }
.made { justify-self: center; font: 12px "Geist Mono", ui-monospace, monospace; color: rgba(255, 255, 255, 0.45); text-decoration: none; margin-top: 8px; }
.made:hover { color: #fff; }
.gin { opacity: 0; animation: ds-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms) both; }

@media (min-width: 1100px) {
  .gwrap { width: min(1360px, 100%); padding: 40px 40px 48px; }
  .gcols { grid-template-columns: minmax(380px, 460px) 1fr; }
  .gcols .gcol:first-child { position: sticky; top: 32px; }
}
@media (max-width: 760px) {
  .ghead { grid-template-columns: auto 1fr; padding: 0 18px 22px; }
  .gjoin { grid-column: 1 / -1; grid-row: auto; justify-content: center; margin-top: 10px; }
  .gabout { grid-column: 1 / -1; }
  .gicon { grid-row: auto; }
  .gsec { padding: 18px; }
  .owner { grid-template-columns: 60px 1fr; } .oav { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .gin { animation: none; opacity: 1; } }
.oname .ds-badges, .mname .ds-badges { display: inline-flex; vertical-align: -5px; margin: 0 0 0 8px; }
.mname .ds-badge { width: 20px; height: 20px; } .mname .ds-badge::before { width: 12px; height: 12px; }
.gask { display: grid; gap: 10px; justify-items: start; }
.gbtn2 { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 0; cursor: pointer; font: 700 14.5px "Satoshi", system-ui, sans-serif; text-decoration: none; color: #000; background: #f4f4f6; transition: background 0.2s, transform 0.15s; }
.gbtn2:hover { background: var(--accent); color: #fff; }
.gbtn2.ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid var(--line); }
.gbtn2[disabled] { opacity: 0.5; cursor: progress; }
.gform { display: grid; gap: 8px; width: 100%; }
.gform input, .gform textarea { width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; color: #fff; font: 15px "Satoshi", system-ui, sans-serif; outline: 0; resize: vertical; }
.gform input:focus, .gform textarea:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.gform .gbtn2 { justify-self: start; }
.greq { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.greq a { color: #fff; font-weight: 700; text-decoration: none; } .greq a:hover { text-decoration: underline; }
.greq span { color: var(--mute); }
.greq .note { margin-top: 4px; }
.greq-b { display: flex; gap: 8px; }
.owner.co { margin-top: 2px; grid-template-columns: 56px 1fr; }
.owner.co .oav { width: 56px; height: 56px; }
.owner.co .oname { font-size: 18px; }
.bots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.bot { display: grid; gap: 12px; align-content: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.btop { display: flex; gap: 12px; align-items: center; }
.bav { width: 48px; height: 48px; border-radius: 50%; background: #1a1a1f center/cover; flex: none; }
.bname { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btag { font: 700 11.5px "Satoshi", system-ui, sans-serif; letter-spacing: 0.04em; color: #fff; background: #5865f2; padding: 2px 6px; border-radius: 5px; }
.btag.co { background: color-mix(in srgb, var(--accent) 70%, #000); margin-left: 6px; vertical-align: 2px; }
.bdesc { margin: 0; color: rgba(244, 244, 246, 0.8); font-size: 14px; line-height: 1.55; }
.bacts { display: flex; gap: 8px; flex-wrap: wrap; }
.gwrap.pend { min-height: 100svh; align-content: center; width: min(560px, 100%); }
.gwrap.pend .gsec { justify-items: start; }
.gfoot { justify-self: center; display: flex; gap: 14px; margin-top: 8px; }
.gfoot .made { margin-top: 0; }

p, .lede, .sub, .gabout, .ds-bio, .ds-btext, .hint, .note { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* Team and bot entries are rows inside their section, not cards inside cards. */
.team, .bots { gap: 0; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.mem, .bot { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 4px; }
.mem:hover { transform: none; background: rgba(255, 255, 255, 0.03); }
.links a { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 13px 4px; }
.links a:first-child { border-top: 0; }
.links a:hover { transform: none; background: rgba(255, 255, 255, 0.03); }
