/* Info & FAQ and Privacy as panes on the Kill Clog panel (Dylan 11/10, kc-page-panes.js): this sheet lives in each pane's
   shadow root. They read as RuneLite's config panel, as Settings and the changelog do: the title, the page's lede, then
   each article a bar with its chevron, open to its words and pictures; the FAQ's Fan Content Policy notice at the foot.
   The page's fonts and colours (kc-colors.css, the profile's theme) reach in as custom properties and @font-faces. */
/* Cursor canon: the regular arrow everywhere, links included. */
*, a, button, summary { cursor: default !important; }
.panel { box-sizing: border-box; height: 100%; display: flex; flex-direction: column; padding: 13px 10px 8px;
  color: #fff; font-family: 'RuneScape Small', sans-serif; font-size: 16px; line-height: normal; }
.title { color: var(--kc3); font: 16px/1 'RuneScape Bold', sans-serif; margin: 2px 2px 8px; }
/* The sections scroll in what the title leaves; beside the sidebar the bar runs on its track, as the changelog's. */
.sections { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  scrollbar-width: thin; scrollbar-color: var(--profile-scrollbar-rest, #382711) var(--profile-scrollbar-track, transparent); color: #d6d6d6; }
:host(:not([data-phone])) .sections { box-sizing: border-box; width: calc(100% + 11px + var(--panel-scrollbar));
  padding-right: 11px; }
:host(:not([data-phone])) .sections::-webkit-scrollbar { width: var(--panel-scrollbar); }
@supports selector(::-webkit-scrollbar) { .sections { scrollbar-width: auto; scrollbar-color: auto; } }
.sections::-webkit-scrollbar { width: 8px; }
.sections::-webkit-scrollbar-track { background: var(--profile-scrollbar-track, transparent); }
.sections::-webkit-scrollbar-thumb { background: var(--profile-scrollbar-rest, #382711); }
/* The panel's own colours and rule (kc-profile-chrome.css), lit under the pointer: :hover and :active each on its own,
   since Chromium keeps a thumb rule written with :is() but never lights it (11/13). */
.sections::-webkit-scrollbar-thumb:hover,
.sections::-webkit-scrollbar-thumb:active { background: var(--profile-scrollbar-hover, #5a3c16); }
.lede { margin: 0 2px 10px; color: var(--kc4); }
/* Folded, the list ends a bar higher, so the Expand caret in the panel's bottom bar has its own room and nothing passes
   under it; the list's end rises with the strip's fold. */
.sections { margin-bottom: var(--fold-room, 0px); transition: margin-bottom 0.15s ease-out; }
/* A part's heading in a pane of several pages (Info & FAQ's "FAQ"), the title's bold a step down in colour. */
.part-heading { margin: 14px 2px 8px; color: var(--kc3); font: 16px/1 'RuneScape Bold', sans-serif; }
/* A section: Settings' bar, its heading left and the chevron right, pointing right when closed and down when open. */
.section { margin-bottom: 4px; }
.section > summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; list-style: none;
  padding: 8px 10px 7px; border: 1px solid var(--profile-chrome-border, rgba(255, 173, 0, 0.18));
  background: var(--profile-chrome-fill, rgba(255, 173, 0, 0.06)); color: var(--kc3);
  /* A whole 18 px line (16 x 1.15 was 18.4: each bar set the text under it 0.4 px further off a whole pixel). */
  font: 16px/18px 'RuneScape', sans-serif; }
.section > summary::-webkit-details-marker { display: none; }
.section > summary::after { content: ''; flex: none; width: 5px; height: 5px; margin-right: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.section[open] > summary { color: var(--kc4); }
.section[open] > summary::after { transform: translateY(-2px) rotate(45deg); }
.section > summary:focus-visible { color: var(--kc2); outline: none; }
@media (hover: hover) { .section > summary:hover { color: var(--kc2); } }
.body { padding: 6px 4px 10px; }
.body p { margin: 0 0 8px; }
.body ul { margin: 0 0 8px; padding-left: 14px; }
.body li { margin-bottom: 6px; }
.body strong { color: #fff; font-family: 'RuneScape Bold', sans-serif; font-weight: normal; }
.body h3 { margin: 10px 0 4px; color: var(--kc4); font: 16px/1 'RuneScape', sans-serif; }
/* Inline code (a chat command) in Courier, whose letters are 7.8 px at 13 px: in a box rounded up to an even width, so the
   pixel-font words after it still start on whole pixels; a browser without calc-size keeps plain text. */
.body code { color: var(--kc3); font: 13px/1 'Courier New', monospace; }
@supports (width: calc-size(max-content, round(up, size, 2px))) {
  .body code { display: inline-block; width: calc-size(max-content, round(up, size, 2px)); }
}
.body img { display: block; max-width: 100%; height: auto; margin: 4px 0 8px; image-rendering: auto; }
.body a, .notice a, .fan-content-policy a { color: var(--kc2); text-decoration: none; }
.body a:focus-visible, .fan-content-policy a:focus-visible { color: #fff; outline: none; }
@media (hover: hover) { :is(.body, .fan-content-policy) a:hover { color: #fff; } }
/* About's picture beside its words is the column's width here, the words under it. */
.about-row { display: block; }
.thanks-banner { overflow: hidden; }
/* The Fan Content Policy notice in full, the FAQ's foot (the visible place the policy asks for). */
.fan-content-policy { margin: 10px 2px 4px; color: var(--kc-tan); font: 12px/1.45 'Courier New', monospace; }
