/* Actualités BagzNetwork : patchnotes publiés sur le Discord, design 2026 */
.nw { max-width: 1000px; margin: 0 auto; padding: 0 var(--gut); }
.nw-hero { position: relative; margin-top: 32px; padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 52px) clamp(30px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: var(--r); background: radial-gradient(800px 360px at 100% 0%, rgba(255,207,74,.10), transparent 60%), var(--panel); overflow: hidden; }
.nw-hero .script { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.nw-hero .script::before { content: ""; width: 24px; height: 1px; background: var(--yellow); }
.nw-hero h1 { margin-top: 18px; font-family: var(--display); font-size: clamp(58px, 10vw, 124px); line-height: .86; text-transform: uppercase; }
.nw-hero h1 span { color: var(--yellow); }
.nw-sub { margin-top: 18px; max-width: 560px; color: var(--fg-2); font-size: 17px; }
.nw-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.nw-f { height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--fg-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.nw-f:hover { border-color: var(--line-3); color: var(--white); }
.nw-f.on { background: var(--white); border-color: var(--white); color: #000; }

.nw-list { display: grid; gap: 28px; margin-top: 40px; }
.nw-card { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); overflow: hidden; scroll-margin-top: 92px; }
.nw-card[hidden] { display: none; }
.nw-card:target { border-color: var(--yellow); }
.nw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.nw-game { padding: 3px 9px; border-radius: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,207,74,.12); color: var(--yellow); }
.nw-game.g-gmod { background: rgba(47,140,255,.14); color: #8dbdff; }
.nw-game.g-rust { background: rgba(206,66,43,.16); color: #ff9b86; }
.nw-ver { color: var(--white); font-size: 12.5px; }
.nw-date { margin-left: auto; color: var(--fg-3); font-size: 12px; }
.nw-banner { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.nw-body { padding: 24px 26px 26px; }
.nw-body h2 { font-family: var(--display); font-size: clamp(30px, 3.8vw, 44px); line-height: .98; text-transform: uppercase; }
.nw-resume { margin-top: 12px; color: var(--fg-2); font-size: 16px; }
.nw-more { margin-top: 20px; border-top: 1px solid var(--line); }
.nw-more summary { display: flex; align-items: center; gap: 12px; padding: 16px 0 6px; font-weight: 700; font-size: 15px; color: var(--yellow); cursor: pointer; list-style: none; }
.nw-more summary::-webkit-details-marker { display: none; }
.nw-more summary::before { content: ""; flex: none; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 50%; background: linear-gradient(var(--white), var(--white)) center / 10px 1.5px no-repeat, linear-gradient(var(--white), var(--white)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease); }
.nw-more[open] summary::before { transform: rotate(45deg); }
.nw-more summary span { font-family: var(--mono); font-weight: 500; color: var(--fg-3); font-size: 12px; }
.nw-sec h3 { margin-top: 22px; font-family: var(--display); font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.nw-sec ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.nw-sec li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; color: var(--fg-2); font-size: 15px; }
.nw-sec li ul { grid-column: 2; margin-top: 4px; padding-left: 16px; list-style: disc; display: block; }
.nw-sec li li { display: list-item; font-size: 14px; }
.nw-sec b { color: var(--white); }
.nw-sec code { color: var(--yellow); }
.nw-tag { justify-self: start; padding: 2px 8px; border-radius: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.06); color: var(--fg-2); }
.nw-tag.t-ajout { background: rgba(79,209,122,.12); color: var(--green); }
.nw-tag.t-changement { background: rgba(93,182,255,.12); color: var(--blue); }
.nw-tag.t-correction { background: rgba(255,159,69,.13); color: var(--orange); }
.nw-tag.t-equilibrage { background: rgba(255,207,74,.12); color: var(--yellow); }
.nw-tag.t-retrait { background: rgba(240,90,79,.12); color: #ff8a80; }
.nw-tag:empty { display: none; }
.nw-discord { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 14.5px; color: var(--yellow); }
.nw-discord:hover { color: var(--white); }
.nw-empty { padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--fg-3); text-align: center; }
@media (max-width: 560px) {
  .nw-sec li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nw-sec li ul { grid-column: 1; }
  .nw-body { padding: 20px 18px 22px; }
}
