/* Журнал изменений (changelog.html). Tokens, header and footer come from site.css. */
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--ink);color:var(--bone);font-family:var(--sans);font-size:16.5px;line-height:1.6;min-height:100svh;overflow-x:hidden}
::selection{background:var(--light-soft);color:var(--bone)}
.grain{position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E")}
.sky{position:fixed;top:0;left:0;right:0;height:340px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(185,208,234,.07) 0%,rgba(126,154,168,.03) 45%,rgba(11,16,22,0) 100%)}
.shell{max-width:720px;margin:0 auto;padding:0 20px 64px}
/* the entries are drawn by script: keep the footer off the first screen until they are */
#log{min-height:100svh}
a{color:var(--light)}

.cintro{padding:44px 0 6px}
.cintro h1{font-family:var(--disp);font-weight:400;font-size:var(--h1);line-height:1.02;margin:0 0 14px}
.cintro p{color:var(--bone-dim);max-width:56ch}

/* area filter: one row of chips, the page stays one list */
.cfilter{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 4px}
.cfilter button{min-height:var(--btn-h);padding:6px 14px;border:1px solid var(--rule-2);border-radius:3px;background:none;color:var(--bone-dim);font-family:var(--mono);font-size:var(--mono-s);letter-spacing:.05em;cursor:pointer;transition:border-color .3s var(--ease),color .3s var(--ease)}
.cfilter button:hover{color:var(--bone);border-color:var(--light)}
.cfilter button[aria-pressed="true"]{color:var(--ink);background:var(--light);border-color:var(--light)}
.cfilter button span{margin-left:6px;opacity:.7}

.cday{margin-top:34px}
.cday[hidden]{display:none}
.cday h2{font-family:var(--mono);font-weight:500;font-size:var(--mono-m);letter-spacing:.05em;color:var(--bone-faint);padding-bottom:8px;border-bottom:1px solid var(--rule)}
.centry{padding:18px 0 20px;border-bottom:1px solid var(--rule);scroll-margin-top:72px}
.centry[hidden]{display:none}
.centry.tgt{border-left:2px solid var(--light);padding-left:14px;margin-left:-16px}
.chead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.carea{flex:none;font-family:var(--mono);font-size:var(--mono-s);letter-spacing:.05em;color:var(--light);border:1px solid var(--rule-2);border-radius:3px;padding:0 8px;line-height:1.7}
.centry h3{font-family:var(--disp);font-weight:700;font-size:21px;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.centry h3 a{color:var(--bone);text-decoration:none}
.centry h3 a:hover{color:var(--light-hi)}
.ctext{margin-top:8px;color:var(--bone-dim)}
.ccheck{margin-top:10px;padding:10px 14px;background:var(--ink-2);border:1px solid var(--rule);border-radius:var(--btn-r);font-size:15px;color:var(--bone)}
.ccheck b{font-family:var(--mono);font-weight:500;letter-spacing:.05em;color:var(--bone-faint);margin-right:6px}
.cnew{flex:none;font-family:var(--mono);font-size:var(--mono-s);letter-spacing:.05em;color:var(--light);line-height:1.7}
.cnews{margin:22px 0 -12px;font-family:var(--mono);font-size:var(--mono-s);letter-spacing:.05em;color:var(--bone-faint)}
/* copy-link control at the end of the title: the negative margin keeps the 40px target out of the line height */
.ccopy{display:inline-grid;place-items:center;width:40px;height:40px;margin:-10px -8px -10px 2px;vertical-align:middle;border:0;border-radius:var(--btn-r);background:none;color:var(--bone-faint);cursor:pointer;transition:color .3s var(--ease)}
.ccopy:hover,.ccopy:focus-visible{color:var(--light)}
.ccopy:focus-visible{outline:1px solid var(--light);outline-offset:-4px}
.clinks{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:8px}
.clinks a{display:inline-flex;align-items:center;min-height:44px;font-family:var(--mono);font-size:var(--mono-s);letter-spacing:.05em;text-decoration:none}
.clinks a:hover{color:var(--light-hi)}
@media(max-width:720px){
  .shell{padding:0 16px 48px}
  .cintro{padding-top:32px}
  /* one row that scrolls sideways: four rows of chips pushed the log off the first screen */
  .cfilter{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .cfilter::-webkit-scrollbar{display:none}
  .cfilter button{flex:none}
  .centry.tgt{padding-left:12px;margin-left:-14px}
}
