/* Discord guides extend the shared article layout; no article cards. */
.discord-guide .article-layout { grid-template-columns:minmax(0,780px) 220px; gap:64px; }
.discord-guide .guide-section { margin-bottom:42px; }
.discord-guide .guide-section h2 { font-size:22px; }
.discord-guide .guide-section p { font-size:15px; line-height:1.75; }
.discord-guide .guide-section .small-note { font-size:12px; line-height:1.65; }
.plain-steps,.plain-checks { color:var(--fg-2); font-size:14px; line-height:1.8; padding-left:23px; }
.plain-steps li,.plain-checks li { padding-left:6px; margin-bottom:8px; }
.plain-steps li::marker { color:var(--fg-3); font-size:12px; }
.plain-checks li::marker { content:'✓  '; color:var(--accent-2); font-size:11px; }
.comparison { width:100%; border-collapse:collapse; font-size:13px; line-height:1.6; margin-top:20px; text-align:left; }
.comparison th,.comparison td { padding:12px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.comparison th:first-child { padding-left:0; }
.comparison thead th { color:var(--fg-3); font-size:11px; font-weight:500; }
.comparison tbody th { width:36%; font-weight:500; }
.comparison td { color:var(--fg-2); width:32%; }
.credentials { border:1px solid var(--line); border-radius:8px; background:var(--surface); margin-top:18px; overflow:hidden; }
.credential-row { display:grid; grid-template-columns:100px minmax(0,1fr) auto; gap:14px; align-items:center; padding:14px 18px; border-bottom:1px solid var(--line); font-size:12px; }
.credential-row > span { color:var(--fg-3); }
.credential-row code { display:block; white-space:nowrap; overflow-x:auto; font:12px 'Geist Mono',monospace; color:var(--fg-2); }
.credentials button { border:0; border-radius:4px; background:none; color:var(--accent-2); padding:7px; cursor:pointer; font-size:12px; }
.credentials button:hover { background:var(--accent-soft); }
.credential-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 18px; font-size:11px; color:var(--fg-3); }
.copy-status { min-height:18px; margin-top:6px; font-size:12px!important; color:var(--accent-2)!important; }
.security-notice { display:flex; gap:13px; padding:16px 18px; border-left:2px solid var(--accent-2); background:rgba(59,130,246,.045); margin-bottom:18px; }
.security-notice > i { font-size:13px; color:var(--accent-2); margin-top:4px; }
.security-notice strong { font-size:14px; }
.security-notice p { font-size:13px!important; margin-top:5px; }
.editorial-note { padding-left:15px; border-left:2px solid var(--accent-2); margin-top:20px; }
.discord-guide .reference-content .compare-grid { display:block; }
.discord-guide .reference-content .compare-card { min-height:0; padding:16px 0; border:0; border-radius:0; background:none; }
.discord-guide .reference-content .status-table { border:0; border-radius:0; }
.discord-guide .reference-content .status-row { padding:12px 0; }
.discord-guide .reference-content .device-chip { display:none; }
.discord-guide .reference-content .section-heading { display:block; }
.discord-guide .reference-content .note { border-radius:0; background:none; }
.discord-guide .reference-content h2 { font-size:17px; }
.plain-support { margin-top:40px; padding-top:24px; border-top:1px solid var(--line); }
.plain-support h2 { font-size:18px; margin-bottom:10px; }
.plain-support p { color:var(--fg-2); font-size:13px; line-height:1.7; }
.support-links { display:flex; flex-wrap:wrap; gap:20px; margin-top:15px; }
.support-links a,.guide-pagination a { color:var(--accent-2); font-size:12px; text-decoration:none; }
.support-links a:hover,.guide-pagination a:hover { text-decoration:underline; text-underline-offset:4px; }
.guide-pagination { margin-top:32px; padding-top:20px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:center; }
.guide-pagination a:last-child { text-align:right; }
.guide-pagination a:nth-child(2) { color:var(--fg-3); }
.walkthrough { position:relative; margin-left:12px; padding-left:34px; border-left:1px solid var(--line); padding-bottom:10px; }
.step-number { position:absolute; top:3px; left:-13px; padding:2px 0; width:26px; text-align:center; background:#0a0e16; color:var(--accent-2); font:11px 'Geist Mono',monospace; }
.browser-example,.devtools-example { margin-top:18px; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--surface); }
.browser-bar { display:flex; align-items:center; gap:12px; padding:13px 17px; border-bottom:1px solid var(--line); font:12px 'Geist Mono',monospace; }
.browser-bar i { color:var(--fg-3); font-size:10px; }
.browser-body { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:25px 18px; font-size:12px; color:var(--fg-3); }
.mock-logo { font-size:16px; color:var(--fg-2); }
.mock-logo i { margin-right:7px; }
.browser-example figcaption,.devtools-example figcaption { padding:9px 16px; font-size:10px; color:var(--fg-3); border-top:1px solid var(--line); }
.shortcut-list { margin-top:12px; }
.shortcut-list > div { display:flex; gap:20px; align-items:center; margin-bottom:12px; font-size:12px; }
.shortcut-list dt { width:65px; color:var(--fg-3); }
kbd { display:inline-block; padding:4px 7px; border:1px solid var(--line-2); border-bottom-width:2px; border-radius:4px; font:11px 'Geist Mono',monospace; color:var(--fg-2); }
.devtools-tabs { display:flex; gap:22px; padding:12px 16px 0; border-bottom:1px solid var(--line); color:var(--fg-3); font-size:12px; }
.devtools-tabs > * { padding-bottom:10px; }
.devtools-tabs strong { border-bottom:2px solid var(--accent-2); font-weight:500; }
.console-empty { padding:22px 16px; display:flex; gap:12px; font:12px 'Geist Mono',monospace; color:var(--fg-3); }
.implementation-note { border-left:2px solid #b9975d; padding-left:16px; }
.implementation-note strong { color:#d0b88c; font-size:13px; }
.implementation-note p { margin-top:7px; font-size:13px!important; }
.troubleshooting-rows > div { display:grid; grid-template-columns:175px minmax(0,1fr); gap:20px; padding:14px 0; border-bottom:1px solid var(--line); font-size:13px; line-height:1.65; }
.troubleshooting-rows dd { color:var(--fg-2); }
.relationship { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px; }
.relationship > div { display:grid; gap:9px; border-left:1px solid var(--line); padding-left:18px; color:var(--fg-2); font-size:13px; }
.relationship [aria-hidden] { color:var(--accent-2); }
#gift-redemption h3 { margin-top:22px; }
.directory { max-width:940px; }
.article-group { margin-bottom:42px; }
.article-group h2 { color:var(--fg-3); font:11px 'Geist Mono',monospace; text-transform:uppercase; letter-spacing:.09em; margin-bottom:10px; }
.directory-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.directory-row > span { display:grid; gap:6px; }
.directory-row strong { font-size:16px; font-weight:500; }
.directory-row > span > span { font-size:13px; color:var(--fg-2); line-height:1.6; }
.directory-row small { flex-shrink:0; color:var(--fg-3); font-size:11px; }
.directory-row small span { color:var(--accent-2); margin-left:18px; }
.directory-row:hover strong { color:var(--accent-2); }
.discord-guide .mobile-toc { border:0; border-bottom:1px solid var(--line); border-radius:0; background:none; }
.discord-guide .mobile-toc summary { padding-left:0; padding-right:0; }
@media(max-width:1100px) { .discord-guide .article-layout { gap:35px; grid-template-columns:minmax(0,1fr) 200px; } }
@media(max-width:1000px) { .discord-guide .article-layout { grid-template-columns:1fr; } .discord-guide .toc { display:none; } }
@media(min-width:851px) and (max-width:1000px) {
 .discord-guide .mobile-toc { display:block; margin-bottom:24px; }
 .discord-guide .mobile-toc summary { cursor:pointer; display:flex; justify-content:space-between; font-size:12px; color:var(--accent-2); padding:14px 0; }
 .discord-guide .mobile-toc-current { display:none; }
 .discord-guide .mobile-toc-menu { display:grid; gap:12px; padding:15px 0; }
 .discord-guide .mobile-toc-menu a { font-size:13px; text-decoration:none; color:var(--fg-2); }
}
@media(max-width:600px) {
 .discord-guide .hero h1 { font-size:32px; }
 .discord-guide .guide-section h2 { font-size:21px; }
 .credential-row { grid-template-columns:minmax(0,1fr) auto; gap:6px 10px; padding:12px; }
 .credential-row > span { grid-column:1; }
 .credential-row code { grid-column:1; }
 .credential-row button { grid-column:2; grid-row:1 / span 2; }
 .credential-footer { padding:10px 12px; }
 .comparison thead { display:none; }
 .comparison tr { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--line); padding:12px 0; }
 .comparison tbody th { grid-column:1 / -1; width:auto; border:0; padding:0 0 8px; }
 .comparison td { display:grid; width:auto; border:0; padding:0 10px 0 0; gap:3px; }
 .comparison td::before { content:attr(data-label); font-size:10px; color:var(--fg-3); }
 .walkthrough { padding-left:23px; margin-left:9px; }
 .devtools-tabs { gap:16px; padding:12px 10px 0; font-size:11px; }
 .shortcut-list > div { display:block; }
 .shortcut-list dt { margin-bottom:6px; }
 .troubleshooting-rows > div { grid-template-columns:1fr; gap:5px; }
 .guide-pagination { gap:12px; }
 .guide-pagination a { font-size:11px; line-height:1.6; }
 .directory-row { align-items:flex-start; gap:10px; }
 .directory-row strong { font-size:15px; }
 .directory-row small { font-size:10px; }
 .directory-row small span { display:block; margin:10px 0 0; text-align:right; }
 .discord-guide .reference-content .status-row { grid-template-columns:1fr; gap:6px; }
}
.code-example { margin-top:20px; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--surface); }
.code-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding:10px 14px; font-size:11px; color:var(--fg-3); }
.code-toolbar button { flex-shrink:0; padding:7px 9px; border:1px solid var(--line); border-radius:5px; background:none; color:var(--accent-2); font-size:12px; cursor:pointer; }
.code-toolbar button:hover { background:var(--accent-soft); }
.code-example pre { margin:0; padding:18px; overflow-x:auto; tab-size:2; }
.code-example code { font:12px/1.8 'Geist Mono',monospace; color:var(--fg-2); white-space:pre; }

.anchor-alias { display:block; height:0; scroll-margin-top:110px; }

/* Shared editorial details for practical walkthroughs. */
.guide-section p + p { margin-top:12px; }
.settings-route { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; padding:15px 0; margin-bottom:18px; border-block:1px solid var(--line); font-size:12px!important; }
.settings-route span { color:var(--accent-2); }
.allocation-example { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 20px; padding:20px 0; margin-top:18px; border-block:1px solid var(--line); }
.allocation-example strong { font-size:26px; letter-spacing:-.03em; }
.allocation-example span { font-size:13px; }
.boost-levels { border-inline:0; border-radius:0; }
.article-related { flex-wrap:wrap; padding-top:22px; border-top:1px solid var(--line); line-height:1.7; }
.article, .guide-section { min-width:0; }
.guide-section p, .troubleshooting-rows dd { overflow-wrap:anywhere; }
