/* The changelog (kc-page-links.js), a pane on the Kill Clog panel (Dylan 11/10, kc-panes.js): this sheet lives in the
   pane's shadow root. It reads as RuneLite's config panel, as Settings do (kc-profile-chrome.css, profile-settings-*):
   the title, then each release a bar with its chevron, open to its headline and notes. The page's fonts and colours
   (kc-colors.css, the profile's theme) reach in as the custom properties and @font-faces they are. */
/* 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 releases scroll in what the title leaves. Beside the sidebar (a desktop) the bar runs outside the frame on its
   track, as the panel's and the Leaderboards' do: the box reaches past the padding and the pane's rim (10 + 1 px). */
.releases { 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: var(--kc3); }
:host(:not([data-phone])) .releases { box-sizing: border-box; width: calc(100% + 11px + var(--panel-scrollbar));
  padding-right: 11px; }
:host(:not([data-phone])) .releases::-webkit-scrollbar { width: var(--panel-scrollbar); }
@supports selector(::-webkit-scrollbar) { .releases { scrollbar-width: auto; scrollbar-color: auto; } }
.releases::-webkit-scrollbar { width: 8px; }
.releases::-webkit-scrollbar-track { background: var(--profile-scrollbar-track, transparent); }
.releases::-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). */
.releases::-webkit-scrollbar-thumb:hover,
.releases::-webkit-scrollbar-thumb:active { background: var(--profile-scrollbar-hover, #5a3c16); }
/* A release: Settings' section bar, its version left, its date (or the label of one still to ship) right, then a picture
   icon when it has pictures and the chevron, pointing right when closed and down when open. */
.release { margin-bottom: 4px; }
.release > summary { display: flex; align-items: center; 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);
  font: 16px/1 'RuneScape', sans-serif; }
.release > summary::-webkit-details-marker { display: none; }
.release > 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); }
.release[open] > summary { color: var(--kc4); }
.release[open] > summary::after { transform: translateY(-2px) rotate(45deg); }
.release > summary:is(:hover, :focus-visible) { color: var(--kc2); outline: none; }
.version { flex: none; }
/* The headline beside the version, cut with an ellipsis where it runs long; the date opens with the notes. */
.line { flex: 1 1 auto; min-width: 0; color: var(--kc-tan); font: 16px/1 'RuneScape Small', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.when { margin: 0 0 6px; color: var(--kc-tan); }
/* The picture icon: dim until hovered, as the sidebar's icons are; a click opens the pictures over the page. */
.pictures { flex: none; display: flex; padding: 0; border: 0; background: none; color: var(--kc3); opacity: 0.55; }
.pictures:focus-visible { opacity: 1; color: var(--kc2); outline: none; }
@media (hover: hover) { .pictures:hover { opacity: 1; color: var(--kc2); } }
.body { padding: 6px 4px 10px; }
.headline { margin: 0 0 6px; color: var(--kc4); }
ul { margin: 0; padding-left: 14px; }
li { margin: 0 0 4px; color: #d6d6d6; }
.pr { display: inline-block; margin-top: 4px; color: var(--kc2); text-decoration: none; }
.pr:is(:hover, :focus-visible) { color: #fff; outline: none; }
/* 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. */
.releases { margin-bottom: var(--fold-room, 0px); transition: margin-bottom 0.15s ease-out; }
