/* r100: the About tab — same card layout as Bugs/Updates; the card body scrolls. */
#aboutTab,
#aboutTab > .row,
#aboutTab > .row > [class*="col-"],
#aboutTab > .row > [class*="col-"] > .qchat-about-card { height: 100% !important; min-height: 0 !important; max-height: 100% !important; }
#aboutTab > .row > [class*="col-"] { display: flex !important; flex-direction: column !important; }
#aboutTab .qchat-about-card { flex: 1 1 0 !important; min-height: 0 !important; overflow: hidden !important; width: 100%; }
#aboutTab .qchat-about-scroll { flex: 1 1 0 !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; overscroll-behavior-y: contain !important; }
.qchat-about { --qa-line: rgba(0, 0, 0, .1); --qa-soft: rgba(13, 110, 253, .06); --qa-node: #ffffff; --qa-muted: #6c757d; --qa-yes: #b02a37; --qa-no: #146c43;
  max-width: 46rem; margin: 0 auto; line-height: 1.55; }
body.dark-theme .qchat-about { --qa-line: rgba(255, 255, 255, .14); --qa-soft: rgba(56, 139, 253, .12); --qa-node: #161b22; --qa-muted: #8b949e; --qa-yes: #ff7b72; --qa-no: #3fb950; }
@media (prefers-color-scheme: dark) { body.auto-theme .qchat-about { --qa-line: rgba(255, 255, 255, .14); --qa-soft: rgba(56, 139, 253, .12); --qa-node: #161b22; --qa-muted: #8b949e; --qa-yes: #ff7b72; --qa-no: #3fb950; } }
.qchat-about .qchat-about-title { font-size: 1.45rem; font-weight: 600; margin: 0 0 .25rem; text-wrap: balance; }
.qchat-about .qchat-about-updated { color: var(--qa-muted); font-size: .85rem; margin-bottom: 1.25rem; }
.qchat-about h2 { font-size: 1.12rem; font-weight: 600; margin: 1.6rem 0 .5rem; text-wrap: balance; }
.qchat-about p { margin: 0 0 .65rem; }
.qchat-about ul { margin: 0 0 .75rem; padding-left: 1.2rem; display: grid; gap: .4rem; }
.qchat-about strong { font-weight: 600; }
.qchat-about-table-wrap { overflow-x: auto; margin: .25rem 0 1rem; border: 1px solid var(--qa-line); border-radius: .5rem; }
.qchat-about-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 34rem; }
.qchat-about-table th, .qchat-about-table td { padding: .5rem .65rem; border-bottom: 1px solid var(--qa-line); text-align: left; vertical-align: top; }
.qchat-about-table thead th { background: var(--qa-soft); font-weight: 600; }
.qchat-about-table tbody tr:last-child td { border-bottom: 0; }
.qchat-about-table td.qchat-about-yes { color: var(--qa-yes); font-weight: 600; }
.qchat-about-table td.qchat-about-no { color: var(--qa-no); font-weight: 600; }
.qchat-about-diagram { margin: .5rem 0 1rem; }
.qchat-about-diagram figcaption { color: var(--qa-muted); font-size: .8rem; margin-top: .5rem; text-align: center; }
.qchat-about-flow { display: grid; gap: .35rem; justify-items: center; padding: .9rem; border: 1px solid var(--qa-line); border-radius: .5rem; background: var(--qa-soft); }
.qchat-about-node { background: var(--qa-node); border: 1px solid var(--qa-line); border-radius: .45rem; padding: .45rem .75rem; text-align: center; min-width: 0; }
.qchat-about-node-title { font-weight: 600; }
.qchat-about-node-note { color: var(--qa-muted); font-size: .8rem; }
.qchat-about-arrow { width: 2px; height: 1rem; background: var(--qa-muted); position: relative; }
.qchat-about-arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 8px; height: 8px; border-right: 2px solid var(--qa-muted); border-bottom: 2px solid var(--qa-muted); transform: translateX(-50%) rotate(45deg); }
.qchat-about-servers, .qchat-about-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem; width: 100%; }
.qchat-about-side { max-width: 24rem; }
@media (min-width: 30rem) { .qchat-about-servers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 29.99rem) { .qchat-about-servers { grid-template-columns: 1fr; } }

/* r107-r15: the About scroll bar matches the Updates tab (thin, dark in the dark theme). */
#aboutTab .qchat-about-scroll { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .3) transparent; }
#aboutTab .qchat-about-scroll::-webkit-scrollbar { width: 6px; }
#aboutTab .qchat-about-scroll::-webkit-scrollbar-track { background: transparent; }
#aboutTab .qchat-about-scroll::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, .3); border-radius: 10px; }
#aboutTab .qchat-about-scroll::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, .5); }
body.dark-theme #aboutTab .qchat-about-scroll { scrollbar-color: #30363d #0d1117; }
body.dark-theme #aboutTab .qchat-about-scroll::-webkit-scrollbar-track { background: #0d1117; }
body.dark-theme #aboutTab .qchat-about-scroll::-webkit-scrollbar-thumb { background: #30363d; }
@media (prefers-color-scheme: dark) {
  body.auto-theme #aboutTab .qchat-about-scroll { scrollbar-color: #30363d #0d1117; }
  body.auto-theme #aboutTab .qchat-about-scroll::-webkit-scrollbar-track { background: #0d1117; }
  body.auto-theme #aboutTab .qchat-about-scroll::-webkit-scrollbar-thumb { background: #30363d; }
}
