figure.shot{margin:1.5rem 0}
figure.shot img{max-width:100%;height:auto;display:block;margin:0 auto .5rem;border:1px solid #ddd}


/* Keep official commands readable on phones without widening the article. */
pre{max-width:100%;overflow-x:auto;padding:18px;background:#e7ede5;border:1px solid var(--line);border-radius:4px;line-height:1.6;font-size:15px;word-break:normal}
pre code{padding:0;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere}
.sources a{overflow-wrap:anywhere}

a[href^="#source-"]{margin-left:.3em;white-space:nowrap}

/* One centered column with an inline breadcrumb trail (no side nav on this page). */
.layout{grid-template-columns:minmax(0,740px);justify-content:center;row-gap:20px}
.breadcrumbs{min-width:0;font-size:14px;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.breadcrumbs li{margin:0}
.breadcrumbs li+li::before{content:"›";margin:0 .6em;color:var(--muted)}
.breadcrumbs a{display:inline-block;padding:10px 0}
.breadcrumbs span{display:inline-block;padding:10px 0}

/* Short inline code (options, port ranges) must not split at "-". */
:not(pre)>code{white-space:nowrap}
/* Let table cell code wrap without splitting short inline code in body text. */
td code,th code{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Inline-block keeps short options and port ranges (e.g. -crossplay, 2456-2457) whole when they fit; wrap only if wider than the cell. */
/* Allow breaks between adjacent source options while keeping each option intact. */
.sources code{display:inline-block}

/* Space below tables and the ad box before the next paragraph. */
table{margin:22px 0 28px}
.advertisement{margin-bottom:28px}

/* Symptom index and comparison tables for the connection article. */
.symptom-index{margin:32px 0;padding:20px 24px;background:#fff;border:1px solid #70847a;border-radius:6px}
.symptom-index h2{font-size:19px;margin:0 0 8px}
.symptom-index ul{margin:0;padding-left:1.2em}
.symptom-index li{margin:6px 0}
.symptom-index a{display:block;padding:4px 0}
.method-table tbody th,.provider-table tbody th{width:22%}
.method-table th .note{display:block;font-weight:400;font-size:14px}
.advertisement img{display:block}
@media(max-width:520px){.symptom-index{padding:16px 18px}.method-table tbody th,.provider-table tbody th{width:100%}}
