.guide-hero { padding: clamp(4rem, 9vw, 7rem) 0; color: white; background: linear-gradient(135deg, #151c4b, #43239c 65%, #6938e9); }
.guide-hero .section-wrap { max-width: 900px; text-align: center; }
.guide-hero h1 { margin: 0; font-size: clamp(3rem, 8vw, 5.8rem); line-height: 1; letter-spacing: -.07em; }
.guide-hero p:not(.eyebrow) { max-width: 700px; margin: 1rem auto 1.5rem; color: #dfe1f5; font-size: 1.08rem; line-height: 1.65; }
.guide-hero > div > div { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.guide-hero .button-ghost { color: white; background: transparent; border-color: #8f83d1; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: center; gap: 4rem; padding-block: 4rem 7rem; }
.guide-toc { min-width: 0; position: sticky; top: 100px; align-self: start; display: grid; gap: .2rem; padding: 1rem; border-left: 2px solid var(--border); }
.guide-toc strong { margin-bottom: .4rem; }.guide-toc a { padding: .4rem .5rem; color: #596280; text-decoration: none; font-size: .82rem; border-radius: 6px; }.guide-toc a:hover { color: var(--violet); background: var(--violet-soft); }
.guide-content { min-width: 0; }
.guide-content > section { min-width: 0; padding-block: 2.4rem; scroll-margin-top: 90px; border-bottom: 1px solid var(--border); }
.guide-content > section:first-child { padding-top: 0; }.guide-content > section:last-child { border-bottom: 0; }
.guide-content h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: -.055em; }
.guide-content h3 { margin-bottom: .35rem; }
.guide-content p, .guide-content li { color: #465174; line-height: 1.72; }
.guide-content pre { display: block; width: 100%; max-width: 100%; overflow-x: auto; padding: 1.25rem; color: #e7eaff; background: #151b43; border-radius: 14px; font: .82rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.guide-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.guide-content :not(pre) > code { padding: .12rem .35rem; color: #4b2bd5; background: #efedff; border-radius: 5px; }
.advanced-header-table-wrap { max-width: 100%; overflow-x: auto; margin: 1rem 0; border: 1px solid var(--border); border-radius: 14px; background: white; }
.advanced-header-table-wrap:focus-visible { outline: 3px solid rgba(91,61,245,.35); outline-offset: 3px; }
.advanced-header-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .9rem; }
.advanced-header-table th, .advanced-header-table td { padding: .75rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.advanced-header-table thead th { color: var(--ink); background: #f6f4ff; }
.advanced-header-table tbody th { width: 190px; color: var(--ink); font-weight: 800; }
.advanced-header-table tbody td:nth-child(2) { width: 140px; color: var(--ink); font-weight: 750; }
.advanced-header-table tbody tr:last-child > * { border-bottom: 0; }
.shuffle-precedence { margin: 1rem 0; padding: 1rem 1.15rem; border-left: 4px solid var(--violet); background: var(--violet-soft); border-radius: 0 12px 12px 0; }
.shuffle-precedence h4 { margin: 0 0 .65rem; color: var(--ink); }
.shuffle-precedence p { margin: .35rem 0; }
.short-code { max-width: 280px !important; }
.numbered-guide { list-style: none; counter-reset: guide-step; padding: 0; display: grid; gap: .75rem; }
.numbered-guide li { counter-increment: guide-step; display: grid; grid-template-columns: 38px 1fr; gap: 0 .75rem; align-items: start; padding: .9rem; border: 1px solid var(--border); border-radius: 12px; }
.numbered-guide li::before { content: counter(guide-step); grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--violet); border-radius: 50%; font-weight: 850; }
.numbered-guide strong { color: var(--ink); }.numbered-guide span { font-size: .86rem; }
.setting-cards { display: grid; gap: .8rem; }.setting-cards article { padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: 13px; }.setting-cards article p:last-child { margin-bottom: 0; }
.faq-list { display: grid; gap: .65rem; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: white; }
.faq-list details[open] { border-color: #bbb2f5; box-shadow: 0 7px 20px rgba(53,35,133,.08); }
.faq-list summary { position: relative; padding: 1rem 3rem 1rem 1.1rem; cursor: pointer; color: var(--ink); font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "+"; position: absolute; right: 1.1rem; top: .8rem; color: var(--violet); font-size: 1.35rem; }.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 1.1rem 1.1rem; }
@media (max-width: 820px) { .guide-layout { grid-template-columns: 1fr; gap: 1rem; }.guide-toc { position: static; grid-template-columns: repeat(2, 1fr); border-left: 0; border: 1px solid var(--border); border-radius: 12px; }.guide-toc strong { grid-column: 1 / -1; } }
@media (max-width: 520px) { .guide-hero > div > div { display: grid; }.guide-toc { grid-template-columns: 1fr; }.guide-toc strong { grid-column: auto; }.guide-content pre { font-size: .72rem; padding: .85rem; }.numbered-guide li { grid-template-columns: 34px 1fr; padding: .75rem; } }
