.updates-main, .updates-home { color: #e9e8db; }
.update-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin: 1.25rem 0 1.7rem; }
.update-intro h1, .update-entry h1 { font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 .6rem; }
.update-intro p, .update-entry-head > p { max-width: 58ch; color: #bdc7b7; }
.update-intro > a { flex-shrink: 0; }
.update-filters { margin-bottom: 1.3rem; padding: clamp(.9rem, 2.25vw, 1.4rem); border: 1px solid #39483a; border-radius: .85rem; background: #171f19; }
.updates-main [hidden] { display: none !important; }
.update-filters label { display: block; margin-bottom: .45rem; font-weight: 650; }
.update-search-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.update-search-row input { flex: 1 1 18rem; width: 100%; max-width: 40rem; min-width: 0; min-height: 44px; padding: .5rem .7rem; border: 1px solid #71866e; border-radius: .45rem; color: #f3f4e8; background: #111812; font: inherit; }
.update-search-row input::placeholder { color: #a9b6a6; }
.update-filters button { background: #242e25; color: #e9eee1; font: inherit; padding: .45rem .8rem; border-radius: .5rem; border: 1px solid #566653; cursor: pointer; min-height: 44px; }
.update-filters button[aria-pressed="true"] { border-color: #c6df97; color: #152017; background: #c6df97; }
.update-filters button:hover:not([aria-pressed="true"]) { border-color: #c6df97; }
.update-topics { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.update-filters [role="status"] { margin: .85rem 0 0; }
.update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.update-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: .85rem; border: 1px solid #39483a; background: #19221b; }
.update-card:is(:hover, :focus-within) { border-color: #9fb581; }
.update-card-art { display: block; min-height: 0; overflow: hidden; }
.update-cover { position: relative; isolation: isolate; min-height: 155px; height: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: #242f24; }
.update-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(35deg, #141d17c9, #0e18132e 65%); z-index: 0; }
.update-scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.21,.67,.34,1); }
.update-item { position: absolute; z-index: 1; bottom: 13%; right: 7%; width: clamp(62px, 11vw, 128px); height: auto; filter: drop-shadow(0 9px 14px #080a08cf); transition: transform .45s cubic-bezier(.21,.67,.34,1); }
.update-card:is(:hover, :focus-within) .update-scene { transform: scale(1.04); }
.update-card:is(:hover, :focus-within) .update-item { transform: translateY(-5px) rotate(-3deg); }
.update-card-body { display: flex; flex-direction: column; align-items: start; gap: .48rem; padding: clamp(1rem, 2.3vw, 1.45rem); min-width: 0; }
.update-card-body > :is(h2, h3, p, ul) { margin: 0; }
.update-card-body > :is(h2, h3) { font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.05; }
.update-card-body h2 a, .update-card-body h3 a { color: #f2f1e5; text-decoration: none; }
.update-card-body h2 a:hover, .update-card-body h3 a:hover { text-decoration: underline; text-decoration-color: #bad894; text-underline-offset: .13em; }
.update-date { display: flex; align-items: center; flex-wrap: wrap; gap: .32rem .75rem; font-size: .83rem; color: #b6c8aa; }
.update-ended { color: #f0c390; }
.update-label { text-transform: uppercase; font-weight: 700; font-size: .76rem; letter-spacing: .08em; color: #cde399; }
.update-patch-name { color: #ddba9b !important; font-size: .95rem; }
.update-card-body p:not(.update-label) { color: #c8cebf; }
.update-tags { display: flex; flex-wrap: wrap; gap: .42rem; list-style: none; padding: .25rem 0 0; }
.update-tags li { border-radius: 99px; background: #2a3529; padding: .11rem .56rem; color: #d6e0ca; font-size: .74rem; }
.update-featured, .updates-home .update-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.update-featured .update-cover { min-height: 235px; }
.update-featured .update-card-body, .updates-home .update-card-body { align-self: center; }
.update-featured h2 { font-size: clamp(1.65rem, 3.35vw, 2.7rem); }
.update-archive { margin-top: 2rem; }
.update-archive h2 { margin-bottom: .85rem; }
.update-entry { max-width: 900px; margin: 1.4rem auto 0; }
.update-entry h1 { margin-top: .55rem; }
.update-entry-head .update-cover { width: 100%; height: auto; border-radius: .85rem; margin-top: 1.2rem; aspect-ratio: 2.7 / 1; min-height: 180px; }
.update-entry-head .update-item { width: clamp(84px, 17vw, 170px); }
.update-changes { margin: 1.5rem 0 1rem; }
.update-changes h2 { margin-bottom: .65rem; }
.update-changes section { padding: 1rem 1.15rem; background: #19221b; border: 1px solid #39483a; border-radius: .65rem; margin: .65rem 0; scroll-margin-top: 6rem; }
.update-changes h3 { margin: 0 0 .4rem; font-size: 1.22rem; }
.update-changes p { margin: 0; color: #c9d0c2; }
.update-action { display: inline-flex; align-items: center; min-height: 44px; color: #cde399; text-decoration: underline; text-underline-offset: .18em; }
.update-action::after { content: "→"; margin-inline-start: .38rem; color: #b4cc8d; }
.update-journal { margin: 1.45rem 0 0; }
.update-journal a, .update-other a { color: #d7e0b6; text-decoration: underline; text-underline-offset: .16em; }
.update-other { max-width: 900px; margin: 1.8rem auto 0; border-top: 1px solid #39483a; padding-top: 1rem; }
.update-other ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: 0; list-style: none; }
.update-other time { display: block; font-size: .82rem; color: #bcc8b6; }
.updates-main :focus-visible, .updates-home :focus-visible { outline: 2px solid #d8eaa8; outline-offset: 3px; }
@media (max-width: 900px) { .update-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) {
  .update-intro { align-items: start; flex-direction: column; }
  .update-grid, .update-featured, .updates-home .update-card { grid-template-columns: minmax(0, 1fr); }
  .update-featured .update-cover { min-height: 165px; }
  .update-entry-head .update-cover { aspect-ratio: 2 / 1; }
  .update-other ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .update-card .update-scene, .update-card .update-item { transition: none; transform: none !important; }
}
