/* Scoped to the release page; shared tools and the feedback dialog keep their styles. */
.updates-page { --update-purple: #6040b6; }
.updates-page [hidden],
html[data-updates-lang="en"] .updates-page [data-language="zh"],
html[data-updates-lang="zh"] .updates-page [data-language="en"] { display: none !important; }
.updates-page .header { height: 90px; }
.updates-page .updates-content { max-width: 1180px; padding-top: 24px; padding-bottom: 24px; }
.updates-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.updates-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #5e526c; }
.updates-page h1 { font: 750 clamp(34px, 4vw, 52px)/1.15 "Manrope", "DM Sans", sans-serif; letter-spacing: -.04em; margin: 0; }
.updates-page h2 { font-size: 23px; letter-spacing: -.025em; margin: 0; }
.updates-page h3 { letter-spacing: -.02em; }
.updates-page .updates-lead { font-size: 18px; color: #45454c; margin: 18px 0 6px; line-height: 1.65; }
.updates-context { color: #66616a; font-size: 13px; margin: 0; line-height: 1.7; }
.language-switch { display: flex; flex-shrink: 0; gap: 3px; border: 1px solid #d6d0e1; padding: 4px; border-radius: 999px; background: #fff; }
.language-switch button { border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; color: #4b4554; background: transparent; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #eee8fb; color: #4c2b98; font-weight: 700; }
.highlights { margin: 26px 0 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-heading > a, .updates-bottom > a { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-weight: 600; color: var(--update-purple); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.highlight { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid #ded9e6; border-radius: 16px; }
.highlight:first-child { background: #f1edfa; border-color: #d9cfef; }
.highlight-top { display: flex; align-items: center; gap: 10px; }
.highlight-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #e9e1f9; color: #513394; font-weight: 700; font-size: 20px; }
.highlight-label { color: #655275; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.highlight h3 { margin: 12px 0 8px; font-size: 21px; }
.highlight p { color: #55515c; line-height: 1.65; font-size: 15px; margin: 0 0 12px; }
.highlight > a { margin-top: auto; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--update-purple); font-weight: 700; }
.updates-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.release-history { scroll-margin-top: 24px; }
.history-order { color: #66616a; font-size: 13px; }
.updates-controls { background: #efede8; border: 1px solid #e0dcd4; border-radius: 14px; padding: 18px 20px 8px; margin-bottom: 22px; }
.filter-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 260px); gap: 18px; }
.filter-fields label, .release-copy-fallback label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 13px; }
.filter-fields input, .filter-fields select, .release-copy-fallback input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #918a9b; border-radius: 8px; padding: 10px 12px; color: #302c36; background: #fff; font-size: 16px; }
.filter-fields input::placeholder { color: #76717c; }
.filter-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-status p { font-size: 13px; margin: 8px 0; color: #57515f; }
.filter-status button { border: 0; background: transparent; padding: 8px 0 8px 12px; min-height: 44px; color: var(--update-purple); font-weight: 600; cursor: pointer; }
.filter-status button:disabled { color: #736d78; cursor: default; }
.updates-page .update { border: 1px solid #e0dce4; background: #fff; border-radius: 14px; padding: 22px 26px; margin: 0 0 16px; }
.update-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; color: #655e6c; font-size: 13px; }
.release-number { border-left: 1px solid #d8d1de; padding-left: 14px; }
.release-link { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; color: var(--update-purple); font-weight: 600; }
.update h3 { margin: 6px 0 12px; font-size: 23px; line-height: 1.4; scroll-margin-top: 24px; }
.update:has(h3:target) { border-color: #9174ca; box-shadow: 0 0 0 2px #eee6fb; }
.update-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.update-tags > span { background: #f3f1f5; border-radius: 5px; padding: 4px 8px; font-size: 11px; color: #62596d; }
.update-tags > .kind { font-weight: 700; color: #51318a; background: #ede6f8; }
.update-tags > .kind-new { color: #17603e; background: #e6f4ec; }
.update-tags > .kind-fixed { color: #315675; background: #e9f1f8; }
.update-summary { max-width: 84ch; font-size: 16px; line-height: 1.75; color: #4c4655; margin: 14px 0 8px; }
.update details > summary { min-height: 44px; width: fit-content; padding: 11px 4px 11px 0; color: var(--update-purple); cursor: pointer; font-size: 14px; font-weight: 600; }
.update details > summary [data-language] { color: inherit; font-size: inherit; transform: none; }
.update details[open] > summary { margin-bottom: 8px; }
.update-changes { padding-top: 14px; border-top: 1px solid #ebe6ef; max-width: 88ch; }
.updates-page .update-changes ul { margin: 0; padding-left: 22px; }
.update-changes li { font-size: 15.5px; line-height: 1.8; padding-left: 3px; color: #45404d; }
.update-changes li + li { margin-top: 12px; }
.update-changes a { color: var(--update-purple); text-decoration: underline; text-underline-offset: 3px; }
.update-changes [lang="zh-Hans"] { line-height: 1.9; }
.release-copy-fallback { padding-top: 14px; }
.updates-empty { text-align: center; padding: 32px 20px; background: #fff; border: 1px dashed #beb4cc; border-radius: 14px; margin: 24px 0; }
.updates-empty h3 { font-size: 21px; }
.updates-empty p { line-height: 1.7; color: #5e5668; }
.updates-empty button { min-height: 44px; border: 1px solid #836ca9; padding: 10px 18px; background: #f1ebfa; color: #51318a; border-radius: 8px; cursor: pointer; }
.updates-page .updates-earlier { margin-top: 28px; border: 0; padding: 0; font-size: 13px; color: #66616a; }
.updates-bottom { border-top: 1px solid #ded9e3; padding: 22px 0 0; margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.updates-page .fb-button { position: static; margin: 0; box-shadow: none; }
.updates-page > .fb-button { display: block; margin: 0 auto 24px; }
.updates-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.updates-page :is(input, select):focus-visible { outline: 3px solid var(--update-purple); outline-offset: 3px; }
.updates-page #main:focus { outline: none; }
.updates-page footer { margin-top: 30px; }
@media (max-width: 760px) {
  .updates-page .header { height: auto; min-height: 90px; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .updates-page .header .legal-nav { display: flex; gap: 14px; }
  .updates-page .header .legal-nav a { display: inline-flex; min-height: 44px; align-items: center; }
  .updates-page .updates-content { padding-top: 24px; padding-left: 22px; padding-right: 22px; }
  .updates-intro { flex-wrap: wrap; gap: 16px; }
  .updates-page h1 { font-size: 38px; }
  .updates-page .updates-lead { font-size: 16px; margin-top: 16px; }
  .language-switch button { padding: 0 15px; }
  .highlight-grid { grid-template-columns: 1fr; gap: 12px; }
  .highlight { padding: 18px; display: grid; grid-template-columns: 1fr auto; column-gap: 14px; }
  .highlight-top { grid-column: 1 / -1; }
  .highlight-icon { width: 26px; height: 26px; font-size: 16px; }
  .highlight h3 { margin: 10px 0 6px; font-size: 19px; grid-column: 1 / -1; }
  .highlight p { grid-column: 1 / -1; margin-bottom: 4px; font-size: 14px; }
  .highlight > a { grid-column: 1 / -1; font-size: 14px; }
  .highlights { margin: 28px 0 32px; }
  .section-heading { flex-wrap: wrap; gap: 4px 16px; }
  .updates-page h2 { font-size: 21px; }
  .updates-controls { padding: 16px 14px 6px; }
  .filter-fields { grid-template-columns: 1fr; gap: 14px; }
  .updates-page .update { padding: 14px 18px 16px; }
  .update-meta { gap: 4px 10px; font-size: 12px; }
  .release-number { padding-left: 10px; }
  .release-link { margin-left: 0; }
  .update h3 { font-size: 21px; margin-top: 6px; }
  .update-summary { font-size: 15px; }
  .update-changes li { font-size: 15px; }
  .updates-page footer { padding-top: 24px; }
}
@media (max-width: 370px) {
  .updates-page .updates-content { padding-left: 16px; padding-right: 16px; }
  .updates-page .header .legal-nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .updates-controls, .language-switch, .release-link, .updates-bottom, .updates-page .fb-button { display: none !important; }
  .highlight-grid { grid-template-columns: repeat(3, 1fr); }
}
