.fast-grammar-hero .note-hero-inner{max-width:980px}.fast-grammar-page{--ink: #171425;--muted: #5b536e;--hot: #e61381;--violet: #7c3aed;--card: rgba(255,255,255,.94);width:min(100% - 2rem,1180px);margin:0 auto;padding:clamp(1.25rem,2.5vw,2.5rem) 0 4rem;display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(1rem,2vw,1.5rem);align-items:start;color:var(--ink)}.fast-toc{position:sticky;top:86px;background:#0f0c1ce6;border:1px solid rgba(255,255,255,.12);border-radius:22px;box-shadow:0 18px 50px #0f0c1c2e;padding:.85rem;display:grid;gap:.35rem;max-height:calc(100dvh - 110px);overflow:auto}.fast-toc a{color:#fff;text-decoration:none;border-radius:999px;padding:.7rem .85rem;font-weight:800;font-size:.88rem;background:#ffffff12}.fast-toc a:hover{background:#e613814d}.fast-toc{scrollbar-width:none}.fast-toc::-webkit-scrollbar{display:none}.fast-content{display:grid;gap:1.1rem;min-width:0}.fast-card{background:var(--card);border:1px solid rgba(31,41,55,.1);border-radius:28px;box-shadow:0 18px 60px #0f172a1f;padding:clamp(1.1rem,3vw,2rem);overflow:hidden}.fast-card h2{color:#111827;font-size:clamp(1.65rem,4vw,2.6rem);line-height:1.05;margin:.15rem 0 .85rem;letter-spacing:-.04em}.fast-card h3{color:#211735;font-size:1.1rem;line-height:1.15;margin:0 0 .45rem}.fast-card p{color:var(--muted);font-size:1.02rem;line-height:1.72;margin:.65rem 0}.hero-card{background:linear-gradient(135deg,#fffffff7,#ffeff8f5)}.fast-grid,.contrast,.function-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin-top:1rem}.fast-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.fast-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.fast-grid>div,.particle-list>div,.function-map>div,.timeline>div,.loop-steps>div{background:#7c3aed12;border:1px solid rgba(124,58,237,.13);border-radius:18px;padding:.9rem;min-width:0}.fast-grid strong,.function-map strong,.timeline strong{display:block;color:var(--hot);font-weight:950;margin-bottom:.25rem}.fast-grid span,.function-map span,.timeline span{color:var(--muted);line-height:1.55}.fast-note{background:#171425;color:#fff!important;border-left:5px solid var(--hot);border-radius:18px;padding:1rem;font-weight:750}.loop-steps,.particle-list,.payoff-list,.timeline{display:grid;gap:.85rem;margin-top:1rem}.loop-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.loop-steps span{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:var(--hot);color:#fff;font-weight:950;margin-bottom:.65rem}.particle-list{grid-template-columns:repeat(4,minmax(0,1fr))}.particle-list strong{color:var(--hot);font-size:1.55rem}.jp-card{background:#20172f;color:#fff;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:.9rem 1rem;margin:.7rem 0}.jp-card p{color:#fff;margin:.25rem 0}.jp-card.big{font-size:clamp(1.2rem,3vw,1.75rem)}.jp-card .gloss{color:#ffd3e8;font-size:.95rem}.jp-card rt,.fast-card rt{color:#ff9ccb;font-size:.55em;font-weight:900}.payoff-list section{border-left:5px solid var(--violet);background:#0f172a09;border-radius:18px;padding:1rem}.function-map{grid-template-columns:repeat(3,minmax(0,1fr))}.decoder-steps{display:grid;gap:.65rem;padding-left:1.2rem}.decoder-steps li{color:var(--muted);line-height:1.65;padding-left:.25rem}.source-card ul{display:grid;gap:.65rem;padding-left:1.1rem}.source-card li{color:var(--muted);line-height:1.65}.source-card a{color:#6d28d9;font-weight:900;text-decoration:none}.source-card a:hover{text-decoration:underline}@media (max-width: 980px){.fast-grammar-page{grid-template-columns:1fr;width:min(100% - 1rem,760px)}.fast-toc{top:64px;z-index:35;display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;border-radius:16px}.fast-toc a{flex:0 0 auto;white-space:nowrap}.loop-steps,.particle-list,.fast-grid.four,.fast-grid.three,.function-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 620px){.fast-grammar-page{width:100%;padding-top:0}.fast-card{border-radius:0;border-left:0;border-right:0}.fast-grid,.contrast,.loop-steps,.particle-list,.fast-grid.four,.fast-grid.three,.function-map{grid-template-columns:1fr}.fast-toc{border-radius:0;top:58px}.fast-card p{font-size:1rem}}
