/* Updates page, on top of gamemode.css. The entry markup (.upd …) is written by an outside
   publisher between the updates:start / updates:end markers; do not rename these classes. */
/* Each entry carries its server's colour down its left edge; its head says whose it is, how many changes, and when. */
.upd{margin:0 0 26px;border:1px solid var(--hair);border-left:3px solid var(--u-accent);border-radius:4px;background:rgba(255,255,255,.025);overflow:hidden;scroll-margin-top:176px}
.upd--og{--u-accent:var(--green)} .upd--life{--u-accent:var(--gold)}
.upd__head{margin:0;font-size:inherit;font-weight:normal;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--hair);background:rgba(0,0,0,.25)}
.upd__server{font-family:var(--lz-heading);text-transform:uppercase;font-weight:800;letter-spacing:.14em;font-size:13px;color:var(--u-accent)}
.upd__server::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--u-accent);margin-right:8px;vertical-align:1px}
.upd__date{font-family:var(--lz-heading);font-weight:600;font-size:14px;letter-spacing:.08em;color:var(--bone-3);font-variant-numeric:tabular-nums}
/* The head may wrap on the narrowest phones rather than push its date out of the entry. */
.upd__head{flex-wrap:wrap;row-gap:4px}
.upd__date{order:2}
/* Written by updates.js: without the script the head is server and date, as before. */
.upd__count{order:1;margin-left:auto;padding:3px 8px;border:1px solid color-mix(in srgb,var(--u-accent) 45%,transparent);border-radius:2px;color:var(--u-accent);font:700 12px/1.3 var(--lz-heading);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.upd__item{padding:14px 18px 6px}
.upd__item + .upd__item{border-top:1px solid var(--hair)}
.upd__item h3{font-family:var(--lz-heading);text-transform:uppercase;font-weight:800;font-size:18px;letter-spacing:.04em;color:var(--bone);margin-bottom:8px}
.upd__item ul{list-style:none;display:flex;flex-direction:column;gap:6px;margin:0 0 10px}
.upd__item li{position:relative;padding-left:20px;color:var(--bone-2);font-size:16px;line-height:1.6}
.upd__item li::before{content:"▸";position:absolute;left:0;top:0;color:var(--u-accent)}
.updates-wrap{max-width:820px}
/* The menu bar covers the top 97px of this band: 16% keeps the mechanic's helmet below it. */
.updates-hero .page-hero__bg{background-position:center 16%;filter:saturate(1.04) contrast(1.02) brightness(.98)}
/* Phones show the right of the picture, where the mechanic is. */
@media (max-width:640px){.updates-hero .page-hero__bg{background-position:80% 38%}}
.updates-hero .lede{max-width:600px}
[hidden]{display:none!important}

/* Filter and search stay with you while you read; the month links sit above the first entry. */
.upd-tools{position:sticky;top:96px;z-index:20;display:flex;align-items:center;gap:10px;margin:0 -12px 14px;padding:10px 12px;border:1px solid var(--hair);background:rgba(8,10,9,.94);backdrop-filter:blur(8px)}
.upd-filter{display:inline-flex;flex:0 0 auto;gap:4px;padding:4px;border:1px solid var(--hair-2);background:#080808}
.upd-filter button{min-height:44px;padding:0 14px;border:0;background:none;color:var(--bone-2);cursor:pointer;font:700 14px/1 var(--lz-heading);letter-spacing:.08em;text-transform:uppercase;transition:color var(--lz-feedback) var(--lz-settle),background-color var(--lz-feedback) var(--lz-settle)}
.upd-filter button:hover{color:var(--bone)}
.upd-filter button[aria-pressed="true"]{background:var(--green);color:#0a0d0a}
.upd-filter button[data-filter="life"][aria-pressed="true"]{background:var(--gold)}
.upd-search{display:flex;flex:1 1 140px;min-width:0}
.upd-search span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.upd-search input{width:100%;min-width:0;min-height:48px;padding:0 14px;border:1px solid var(--hair-2);border-radius:2px;background:#0b0d0c;color:var(--bone);font:400 16px/1.2 var(--lz-body)}
.upd-search input::placeholder{color:var(--bone-3)}
.upd-filter button:focus-visible,.upd-search input:focus-visible,.upd-months button:focus-visible,.upd-month:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.upd-months{display:flex;gap:8px;margin-bottom:20px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}
.upd-months::-webkit-scrollbar{display:none}
.upd-months button{flex:0 0 auto;min-height:44px;padding:0 14px;border:1px solid var(--hair-2);border-radius:2px;background:rgba(255,255,255,.03);color:var(--bone-2);cursor:pointer;font:700 13px/1 var(--lz-heading);letter-spacing:.1em;text-transform:uppercase;transition:color var(--lz-feedback) var(--lz-settle),border-color var(--lz-feedback) var(--lz-settle)}
.upd-months button:hover{color:var(--bone);border-color:var(--bone-3)}
.upd-months button:disabled{opacity:.4;cursor:default}
.upd-status{min-height:0;margin:0 0 14px;color:var(--bone-2);font:500 15px/1.5 var(--lz-body)}
.upd-status:empty{display:none}
.upd-month{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px;margin:30px 0 12px;padding-bottom:10px;border-bottom:1px solid var(--hair-2);color:var(--bone);font:400 28px/1 var(--lz-display);letter-spacing:.02em;text-transform:uppercase;scroll-margin-top:176px}
.upd-month__meta{color:var(--bone-3);font:700 13px/1.3 var(--lz-heading);letter-spacing:.12em}
/* The fold in a long entry: a native disclosure that updates.js builds around everything after the sixth change. */
.upd__rest{border-top:1px solid var(--hair)}
.upd__rest > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 18px;background:rgba(0,0,0,.25);color:var(--bone);cursor:pointer;font:700 14px/1.2 var(--lz-heading);letter-spacing:.1em;list-style:none;text-transform:uppercase;transition:color var(--lz-feedback) var(--lz-settle)}
.upd__rest > summary::-webkit-details-marker{display:none}
.upd__rest > summary::after{content:"";flex:0 0 auto;width:9px;height:9px;border-right:2px solid var(--u-accent);border-bottom:2px solid var(--u-accent);rotate:45deg;translate:0 -3px;transition:rotate var(--lz-feedback) var(--lz-settle),translate var(--lz-feedback) var(--lz-settle)}
.upd__rest[open] > summary{border-bottom:1px solid var(--hair)}
.upd__rest[open] > summary::after{rotate:225deg;translate:0 2px}
.upd__rest-less,.upd__rest[open] .upd__rest-more{display:none}
.upd__rest[open] .upd__rest-less{display:inline}
.upd__rest > summary:focus-visible{outline:2px solid var(--u-accent);outline-offset:-2px}
@media (hover:hover) and (pointer:fine){.upd__rest > summary:hover{color:var(--u-accent)}}
/* A search lists its matches wherever they are, so the folds stand open and their bars are put away. */
.is-searching .upd__rest > summary,.is-searching .upd__count{display:none}
.is-searching .upd__rest{border-top:0}
/* With the fold's own line gone, its first change keeps the line every other change has above it. */
.is-searching .upd__rest > summary + .upd__item{border-top:1px solid var(--hair)}
/* The fold opens over 320ms and closes in 160ms where the browser can size it (the FAQ's pattern); at once elsewhere, from the keyboard and during a search. */
@media (prefers-reduced-motion:no-preference){@supports selector(::details-content){.upd__rest{interpolate-size:allow-keywords}.upd__rest::details-content{block-size:0;overflow:clip;opacity:0;transition:block-size var(--lz-exit) var(--lz-settle),opacity var(--lz-exit) linear,content-visibility var(--lz-exit) allow-discrete}.upd__rest[open]::details-content{block-size:auto;opacity:1;transition-duration:var(--lz-arrive)}.upd__rest:has(> summary:focus-visible)::details-content,.is-searching .upd__rest::details-content{transition:none}}}
.upd-month:first-of-type{margin-top:0}
.upd-more{margin:6px 0 26px}
@media (max-width:1060px){.upd-tools{top:80px}.upd,.upd-month{scroll-margin-top:160px}}
/* At 320px a two-figure count and a long month name were 3px too wide for one row. */
@media (max-width:340px){.upd__head{column-gap:8px}.upd__count{letter-spacing:.06em}}
@media (max-width:640px){
  .upd-tools{margin-inline:-8px;padding:8px}
  .upd-filter button{padding:0 10px;letter-spacing:.04em}
  .upd-more{width:100%}
}
@media (prefers-reduced-motion:reduce){.upd-filter button,.upd-months button,.upd__rest > summary,.upd__rest > summary::after{transition:none}}
