/* Download, What's new, Support and the announcement line. Uses the tokens and components of site.css. */

/* The announcement: one quiet line under the top bar */
.announce { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(19, 28, 45, .6); }
.announce-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.announce p { flex: 1; margin: 0; padding: 9px 0; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.announce p b { color: var(--text); font-weight: 650; margin-right: 4px; }
.announce p::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 0; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.announce-action p::before { background: var(--quests); box-shadow: 0 0 10px var(--quests); }
.announce p a { margin-left: 6px; white-space: nowrap; }
.announce-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.announce-x:hover { background: var(--surface-2); color: var(--text); }

/* Download */
.dl-card { display: grid; gap: 18px; padding: 28px; }
.dl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.dl-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.dl-head .label { margin-left: 0; }
.dl-facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 14px; }
.dl-facts dt { color: var(--muted); }
.dl-facts dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.dl-sub { font-size: clamp(24px, 2.4vw, 32px); }
.notes { color: var(--text-2); font-size: 16px; }
.notes > :last-child { margin-bottom: 0; }
.notes ul, .notes ol { margin: 0 0 1em; padding-left: 22px; }
.notes li { margin-bottom: 4px; }
.notes h3 { font-size: 1.05rem; margin: 1em 0 .4em; }
.notes code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
@media (max-width: 700px) { .dl-card { padding: 20px; } .dl-facts { grid-template-columns: minmax(0, 1fr); } }

/* What's new */
.news { list-style: none; margin: 0; padding: 0; }
.news-item { position: relative; padding: 0 0 30px 30px; }
.news-item::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--core);
  box-shadow: 0 0 0 2px var(--accent), 0 0 10px var(--accent); }
.news-item::after { content: ""; position: absolute; left: 8px; top: 26px; bottom: 4px; width: 2px; background: linear-gradient(var(--border), transparent); }
.news-item:last-child::after { display: none; }
.news-notice::before { box-shadow: 0 0 0 2px var(--quests), 0 0 10px var(--quests); }
.news-meta { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.news-meta .label { margin-left: 8px; }
.news-title { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 8px; }
.news-item > p:last-child { margin-bottom: 0; }

/* Support */
.sent-card p:last-child { margin-bottom: 0; }
.support-forum { margin-top: 22px; font-size: 15px; }
textarea { min-height: 0; resize: vertical; }
