/* Changelog integrado ao site (/changelog/). Tudo com prefixo .clog para não afetar o resto do site. */
.clog {
  --cl-elev: #07202c;
  --cl-hover: #0b2b3b;
  --cl-line: #16384a;
  --cl-text: #ffffff;
  --cl-muted: #9eb3bf;
  --cl-faint: #6d8490;
  --cl-accent: #22a5e5;
  --cl-accent-2: #47b5ed;
  --cl-gold: #f59e0b;
  --cl-radius: 6px;
  background: #01111a;
  color: var(--cl-text);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  padding: 112px 0 64px;
  min-height: 70vh;
}
.clog-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.clog-side {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  scrollbar-width: none;
}
.clog-side::-webkit-scrollbar { display: none; }
.clog-side-title {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cl-faint);
  font-weight: 600;
}
.clog .years { display: flex; flex-direction: column; gap: 2px; }
.clog .years a {
  color: var(--cl-muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--cl-radius);
  font-size: 14px;
  font-weight: 500;
}
.clog .years a:hover { background: var(--cl-hover); color: var(--cl-text); }
.clog .years a.is-current { background: rgba(34, 165, 229, .16); color: var(--cl-accent-2); }
.clog-main { max-width: 820px; min-width: 0; }
.clog-side, .clog-main { min-width: 0; }
.clog .page-head { margin: 0 0 6px; }
.clog .page-head h1 {
  margin: 0 0 4px;
  font-family: "Russo One", "Jost", sans-serif; /* mesma fonte dos títulos do site */
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--cl-text);
}
.clog .page-head p { margin: 0; color: var(--cl-muted); font-size: 15px; }
.clog-intro { margin: 0 0 18px; color: var(--cl-muted); font-size: 15px; }
.clog-search { display: block; position: relative; margin: 0 0 26px; }
.clog-search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--cl-line);
  background: var(--cl-elev);
  color: var(--cl-text);
  border-radius: var(--cl-radius);
  padding: 0 12px 0 40px;
  font: inherit;
  font-size: 15px;
}
.clog-search input::placeholder { color: var(--cl-faint); }
.clog-search input:focus-visible { outline: 2px solid var(--cl-accent); outline-offset: 2px; }
.clog-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--cl-faint);
  pointer-events: none;
}
.clog-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clog section.month { padding: 0; margin: 0; background: none; border: 0; }
.clog .month-label {
  margin: 28px 0 12px;
  color: var(--cl-accent-2);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.clog section.month:first-of-type .month-label { margin-top: 0; }
.clog .day {
  margin: 0 0 18px;
  padding: 16px 18px 14px;
  background: var(--cl-elev);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
}
.clog .day header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  background: none;
  border: 0;
  height: auto;
  position: static;
  box-shadow: none;
}
.clog .day h2 {
  margin: 0;
  font-family: "Jost", "Segoe UI", sans-serif !important; /* o global.css força a fonte Minecraft em h2 */
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cl-gold);
  letter-spacing: .01em;
}
.clog .day time { font-family: "Courier New", ui-monospace, monospace; font-size: 12px; color: var(--cl-faint); white-space: nowrap; }
.clog .day ul { margin: 0; padding: 0; list-style: none; }
.clog .day li { position: relative; padding: 6px 0 6px 16px; color: var(--cl-text); overflow-wrap: anywhere; }
.clog .day li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a5366;
}
.clog .day li + li { border-top: 1px solid rgba(255, 255, 255, .04); }
.clog .day li.hi { font-weight: 600; }
.clog .day li.hi::before { background: var(--cl-gold); }
.clog .day a { color: var(--cl-accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.clog .day a:hover { color: var(--cl-gold); }
.clog .rank { font-weight: 600; }
.clog .rank-gamer { color: #c084fc; }
.clog .rank-designer { color: #d78ff3; }
.clog .rank-jornal, .clog .rank-jornalista { color: #c4a4ff; }
.clog .rank-construcao, .clog .rank-construtor, .clog .rank-construtora { color: #ff8c00; }
.clog .rank-youtuber, .clog .rank-youtube { color: #ee7942; }
.clog .empty { display: none; padding: 40px 8px; color: var(--cl-muted); }
.clog.filter-on .day { display: none; }
.clog.filter-on .day.is-match { display: block; }
.clog.filter-on section.month.is-empty { display: none; }
.clog.filter-on .empty.is-on { display: block; }
@media (max-width: 860px) {
  .clog { padding-top: 96px; font-size: 16px; }
  .clog-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 14px; }
  .clog-side { position: static; max-height: none; overflow: visible; }
  .clog-side-title { display: none; }
  .clog .years { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .clog .years::-webkit-scrollbar { display: none; }
  .clog .years a { flex: 0 0 auto; border: 1px solid var(--cl-line); padding: 5px 12px; }
  .clog .page-head h1 { font-size: 27px; }
  .clog .day { padding: 14px; }
}
