/* Shared game identity comes from support.css; the log keeps a comfortable reading width.
   Visibility is enforced by src/devlog-render.js, never by these styles. */
.devlog { max-width: 940px; margin-inline: auto; }
.masthead { padding-block: 48px 40px; }
.masthead .eyebrow { margin-bottom: 12px; }
.masthead h1 { font-size: clamp(44px, 5.2vw, 60px); }
.masthead h1 span { display: inline; color: var(--gold); margin-left: .12em; }
.masthead__pitch { margin-top: 10px; color: var(--muted); font-size: 17px; }
.standing__line { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.standing__line a { white-space: nowrap; }
.entries { position: relative; display: grid; gap: 24px; padding-bottom: 36px; }
.entries::before { content: ''; position: absolute; left: 135px; top: 29px; bottom: 58px; width: 1px; background: var(--line); }
.entry { --change-colour: var(--cyan); position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 48px; }
.entry--added { --change-colour: #5ce88c; }
.entry--changed { --change-colour: #9bbfff; }
.entry--fixed { --change-colour: #ffd763; }
.entry--removed { --change-colour: #ff99af; }
.entry--balanced { --change-colour: #d2a5ff; }
.entry::before { content: ''; position: absolute; left: 131px; top: 27px; width: 9px; height: 9px; background: var(--change-colour); border: 2px solid var(--page); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--page); }
.entry__meta { padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.entry__date { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.entry__build { display: inline-block; padding: 2px 7px; border: 1px solid #f0b42838; border-radius: 4px; background: #ffd76308; color: var(--gold); font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }
.entry__content { min-width: 0; padding: 22px 26px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: inset 0 1px 0 #ffffff06; }
.entry__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-block; padding: 3px 8px; border: 1px solid #41415d; border-radius: 4px; font-size: 11px; font-weight: 600; line-height: 1.4; }
.tag--added { color: #83efaa; border-color: #2d6446; background: #1c392e; }
.tag--changed { color: #abc9ff; border-color: #39578a; background: #213253; }
.tag--fixed { color: var(--gold); border-color: #75603a; background: #383124; }
.tag--removed { color: #ffafbe; border-color: #7e4054; background: #43283a; }
.tag--balanced { color: #dab8ff; border-color: #6d498e; background: #38294e; }
.tag--area { color: var(--muted); background: transparent; }
.tag--see { color: var(--cyan); border-color: #44727f; background: #20353f; }
.entry h2 { margin: 0 0 11px; font-size: 27px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.entry p { margin: 0; max-width: 70ch; color: #d0d0e0; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.entry p + p { margin-top: 12px; }
.devlog-footer { display: block; max-width: 940px; margin-inline: auto; padding-top: 24px; }
.devlog-footer p + p { margin-top: 6px; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 5; background: var(--gold); color: var(--page); padding: 12px 18px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.devlog-archive { margin-bottom: 36px; border-block: 1px solid var(--line); }
.devlog-archive summary { cursor: pointer; padding: 22px 0; color: var(--ink); font-size: 18px; font-weight: 600; }
.devlog-archive summary span { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 14px; }
.archive-note { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.devlog-demo { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px; margin-block: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.devlog-demo h2 { font-size: 28px; }
.devlog-demo p { margin-top: 12px; color: var(--muted); max-width: 480px; }
.devlog-demo .button { flex-shrink: 0; }
@media (max-width: 850px) {
  .entry { grid-template-columns: 104px minmax(0, 1fr); gap: 36px; }
  .entries::before { left: 121px; }
  .entry::before { left: 117px; }
  .entry__content { padding: 20px; }
}
@media (max-width: 640px) {
  .masthead { padding-block: 32px; }
  .masthead h1 { font-size: 40px; }
  .masthead h1 span { display: block; margin-left: 0; }
  .masthead__pitch { font-size: 16px; margin-top: 7px; }
  .entries { gap: 24px; }
  .entry { grid-template-columns: 1fr; gap: 10px; }
  .entries::before, .entry::before { display: none; }
  .entry__meta { padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .entry__content { border-top: 2px solid var(--change-colour); padding: 18px; }
  .entry h2 { font-size: 25px; }
  .entry p { font-size: 14px; }
  .entry__tags { gap: 5px; }
  .devlog-demo { align-items: flex-start; flex-direction: column; padding: 22px; gap: 22px; }
}
