.changelog-page { min-width:0; padding:clamp(14px,2.5vw,30px); }
.changelog-page>header { margin-bottom:20px; }
.changelog-page h1 { margin:0 0 8px; }
.changelog-page header p { margin:0; color:var(--muted,#a9bec4); }
.changelog-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.changelog-filters button { --edition:#c7a4ff; min-height:42px; padding:9px 16px; border:1px solid var(--edition); border-radius:7px; color:var(--edition); background:#101b25; font:inherit; cursor:pointer; }
.changelog-filters button[data-changelog-filter="tbc"] { --edition:#b5df75; }
.changelog-filters button[data-changelog-filter="forever"] { --edition:#ffd166; }
.changelog-filters button[aria-pressed="true"] { color:#08161c; background:var(--edition); font-weight:700; }
.changelog-filters button:focus-visible,.changelog-reset:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.changelog-summary { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-bottom:20px; font-size:.85rem; }
.changelog-reset { border:0; background:none; color:inherit; text-decoration:underline; font:inherit; cursor:pointer; padding:8px; }
.changelog-list { display:grid; gap:14px; }
.changelog-entry { --edition:#c7a4ff; min-width:0; padding:clamp(14px,2vw,22px); border:1px solid #78929840; border-left:3px solid var(--edition); border-radius:8px; background:linear-gradient(115deg,#12262bdd,#0c1820dd); }
.changelog-entry[data-edition="tbc"] { --edition:#b5df75; }
.changelog-entry[data-edition="forever"] { --edition:#ffd166; }
.changelog-meta { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:.8rem; color:#c2cfd4; }
.changelog-badge { color:var(--edition); border:1px solid currentColor; border-radius:5px; padding:3px 8px; font-weight:700; }
.changelog-entry h2 { margin:12px 0; font-size:clamp(1.1rem,2vw,1.4rem); color:var(--edition); }
.changelog-entry ul { margin:0; padding-left:20px; color:#e0e8ec; line-height:1.65; overflow-wrap:anywhere; }
.changelog-entry li+li { margin-top:5px; }
.changelog-empty { padding:24px 0; color:#c2cfd4; }
html[data-wow-theme="forever"] #changelogPage { padding-top:0; }
#changelogPage>.forever-hero { margin-bottom:22px; }

html[data-wow-theme="forever"] #changelogPage #foreverHero .forever-search-name { grid-column:1/-1; min-width:0; }
html[data-wow-theme="forever"] #changelogPage #foreverSearchForm { grid-template-columns:minmax(0,1fr) 80px; }
html[data-wow-theme="forever"] #changelogPage #foreverSearchForm button { grid-column:1/-1; }

/* A dedicated entry before the profile section, shared by all editions. */
html[data-wow-theme] .app-sidebar .side-nav__changelog {
  --changelog-accent:#c7a4ff;
  display:block; min-width:0; margin:0 8px 12px; padding:3px;
  border:1px solid var(--changelog-accent); border-radius:9px;
  background:linear-gradient(120deg,#29223c,#101c23);
  box-shadow:inset 0 1px 0 #ffffff12;
}
html[data-wow-theme="tbc"] .app-sidebar .side-nav__changelog { --changelog-accent:#b5df75; background:linear-gradient(120deg,#253723,#101c23); }
html[data-wow-theme="forever"] .app-sidebar .side-nav__changelog { --changelog-accent:#ffd166; background:linear-gradient(120deg,#2b3325,#0b292b); }
html[data-wow-theme] .app-sidebar .side-nav__changelog > a {
  width:100%; box-sizing:border-box; margin:0; border:0; border-radius:6px;
  color:var(--changelog-accent); font-weight:700; text-decoration:none;
}
html[data-wow-theme] .app-sidebar .side-nav__changelog > a:hover,
html[data-wow-theme] .app-sidebar .side-nav__changelog > a[aria-current="page"] { background:#ffffff10; }
@media(max-width:900px) {
  html[data-wow-theme="retail"] .app-sidebar .side-nav__changelog { margin:0; flex:0 0 auto; }
}
@media(max-width:760px) and (orientation:portrait) {
  html[data-wow-theme="forever"] .app-sidebar .side-nav__changelog { margin:0; }
}
