.fx-wrap { max-width: var(--maxw); margin: 0 auto; padding: 24px 24px 90px; }
.fx-page { max-width: min(var(--maxw), 1000px); }
.fx-crumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 14px; } .fx-crumb a { color: var(--muted); } .fx-crumb a:hover { color: var(--accent); } .fx-crumb i { font-style: normal; margin: 0 4px; }
.fx-wrap h1 { margin: 4px 0 8px; } .fx-wrap h1 code { font-size: inherit; background: none; padding: 0; color: var(--ink); }
.fx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 26px 0; }
.fx-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius, 14px); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface)); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.fx-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.fx-count { font: 800 2.6rem/1 var(--font-display); color: var(--accent); } .fx-countlbl { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fx-card h2 { margin: 8px 0 0; font-size: var(--fs-xl); } .fx-card p { color: var(--muted); } .fx-go { color: var(--accent); font-weight: 600; margin-top: auto; padding-top: 10px; }
.fx-note { color: var(--muted); font-size: var(--fs-sm); max-width: 80ch; }
.fx-find { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; } .fx-find input { flex: 1; max-width: 460px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong, var(--line)); background: var(--surface); color: var(--ink); font: inherit; } #fx-n { color: var(--muted); font-size: var(--fs-sm); }
.fx-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; } .fx-jump a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-xs); color: var(--ink); text-decoration: none; background: var(--surface); } .fx-jump a:hover { border-color: var(--accent); } .fx-jump b { color: var(--muted); font-weight: 600; margin-left: 4px; }
.fx-cat { margin-top: 26px; scroll-margin-top: calc(var(--header-h, 61px) + 14px); } .fx-cat h2 { font-size: var(--fs-lg); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.fx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 6px 22px; margin-top: 8px; }
.fx-item { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); } .fx-item:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fx-item code { font-weight: 700; color: var(--accent); background: none; padding: 0; } .fx-item span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; } .fx-item[hidden], .fx-cat[hidden] { display: none; }
.fx-head .lead { max-width: 70ch; } .fx-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-b { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); } .fx-b.lang { color: var(--accent); border-color: var(--accent); }
.fx-syntax { margin: 18px 0 8px; } .fx-lbl { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--faint, var(--muted)); font-weight: 700; margin-bottom: 4px; }
.fx-returns { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 8px; }
.fx-body h2 { margin-top: 26px; } .fx-body { max-width: 80ch; }
.fx-rel { margin-top: 30px; } .fx-rel h2 { font-size: var(--fs-base); } .fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .fx-chips a, .fx-chips span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; } .fx-chips a:hover { border-color: var(--accent); } .fx-chips code { background: none; padding: 0; }
.fx-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; } .fx-pager a { flex: 0 1 46%; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--surface); } .fx-pager a:hover { border-color: var(--accent); } .fx-pager .next { text-align: right; margin-left: auto; } .fx-pager span { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .fx-pager code { background: none; padding: 0; font-weight: 700; color: var(--ink); }
.fx-foot { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fx-wrap code { border: 0; background: none; padding: 0; }
.fx-body code, .fx-chips code { border: 1px solid var(--line); background: var(--surface-2, var(--bg)); padding: 1px 5px; border-radius: 5px; }
.fx-chips code { border: 0; background: none; padding: 0; }
.fx-syntax code, .fx-body pre code { border: 0; background: none; padding: 0; }
