/* 更新内容独立样式；保留工作台壳与其他创作页面的布局。 */
#updatesPage .release-page__shell { gap:28px; padding-bottom:20px; }
#updatesPage .release-page__header { padding:8px 0 0; gap:28px; align-items:center; border:0; background:none; box-shadow:none; overflow:visible; }
#updatesPage .release-page__eyebrow { color:#738c7e; font:650 11px/1.4 var(--ni-font-sans,sans-serif); letter-spacing:2px; }
#updatesPage .release-page__header h2 { font-size:32px; color:var(--studio-text); }
#updatesPage .release-page__header p:not(.release-page__eyebrow) { font-size:13px; color:var(--studio-muted); margin-top:14px; }
#updatesPage .release-page__current { min-width:164px; padding:16px 20px; gap:8px; border:1px solid #e1eade; background:#edf4ee; border-radius:11px; box-shadow:none; }
#updatesPage .release-page__current span::before { content:""; display:inline-block; width:5px; height:5px; border-radius:50%; background:#6c9679; margin-right:7px; vertical-align:middle; }
#updatesPage .release-page__current strong { font:650 24px/1.25 var(--ni-font-sans,sans-serif); color:var(--studio-green); }
#updatesPage .release-page__current :is(span,small) { font-size:11px; color:#738879; }
.updates-recent-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 13px; }
.updates-recent-heading h3 { display:flex; align-items:center; gap:8px; margin:0; font-size:14px; color:var(--studio-text); }
.updates-count { display:inline-flex; align-items:center; justify-content:center; min-width:23px; padding:2px 7px; border-radius:5px; background:#eaf0eb; color:#6d8174; font:550 11px/1.5 var(--ni-font-sans,sans-serif); font-variant-numeric:tabular-nums; }
.updates-sort { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-size:11px; color:#79887f; }
.updates-sort svg { width:15px; height:15px; }
#updatesPage .release-timeline { position:relative; padding-left:27px; gap:12px; }
#updatesPage .release-timeline::before { content:""; position:absolute; width:1px; background:#dce6de; left:7px; top:34px; bottom:40px; }
#updatesPage .release-timeline > .release-accordion-item::before { content:""; position:absolute; left:-27px; top:28px; width:8px; height:8px; border:3px solid var(--studio-bg); border-radius:50%; background:#a7bcae; box-shadow:0 0 0 1px #d9e5dc; }
#updatesPage .release-timeline > .is-current::before { background:var(--studio-green); box-shadow:0 0 0 1px #8db6a1; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-item { position:relative; min-width:0; overflow:visible; border:1px solid var(--studio-line); border-radius:12px; background:#fff; box-shadow:none; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-item[open] { border-color:#c7ddcd; box-shadow:0 3px 12px #274a3217; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-summary { min-height:79px; grid-template-columns:minmax(0,1fr) auto 16px; padding:17px 22px; gap:20px; border-radius:inherit; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-summary::after { width:7px; height:7px; border-width:1.5px; justify-self:center; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-heading { display:flex; flex-wrap:wrap; align-items:center; gap:9px; overflow:visible; white-space:normal; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-heading strong { font:620 14px/1.5 var(--ni-font-sans,sans-serif); letter-spacing:-.2px; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-description { white-space:normal; font-size:12px; line-height:1.7; color:var(--studio-muted); overflow-wrap:anywhere; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-date { color:#7a8a80; font:400 11px/1.5 var(--ni-font-sans,sans-serif); font-variant-numeric:tabular-nums; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-badge { flex:none; min-height:0; padding:3px 7px; border-radius:5px; color:var(--studio-green); background:var(--studio-green-soft); font:550 10px/1.5 var(--ni-font-sans,sans-serif); }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-body { padding:17px 22px 19px; border-top:1px solid #eaf0ec; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-list { margin:0; gap:10px; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-list li { grid-template-columns:23px minmax(0,1fr); gap:11px; color:#546e5d; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
:is(#updatesPage,#updatesHistoryDialog) .release-accordion-list li::before { width:23px; height:23px; border-radius:5px; background:#edf4ee; color:#6a8b75; font:600 11px var(--ni-font-sans,sans-serif); }
#updatesPage .updates-history-entry { display:flex; align-items:center; justify-content:flex-start; width:calc(100% - 27px); margin:0 0 0 27px; padding:21px 22px; gap:15px; text-align:left; border:1px dashed #cbdacf; background:#f0f5f0; border-radius:11px; box-shadow:none; cursor:pointer; color:var(--studio-text); font:inherit; transform:none; }
#updatesPage .updates-history-entry[hidden] { display:none; }
#updatesPage .updates-history-entry:hover { background:#e9f2eb; border-color:#7aaa8e; }
.updates-history-symbol { display:grid; place-items:center; flex:none; width:42px; height:42px; border:1px solid #e0e9e2; border-radius:11px; background:#fff; color:#71917a; }
.updates-history-symbol svg { width:22px; height:22px; }
.updates-history-copy { flex:1; min-width:0; }
.updates-history-copy > strong { display:flex; align-items:center; gap:9px; font-size:14px; font-weight:600; }
.updates-history-copy > span { display:block; margin-top:5px; color:#708675; font-size:12px; line-height:1.7; }
.updates-history-action { display:inline-flex; align-items:center; gap:9px; color:var(--studio-green); font-size:12px; font-weight:600; white-space:nowrap; }
.updates-history-action svg { width:16px; height:16px; }
.updates-history-open { overflow:hidden; }
body.updates-history-open #webMain.web-main { overflow:hidden; }
#updatesHistoryDialog { width:min(920px,calc(100vw - 64px)); max-width:none; height:min(830px,calc(100dvh - 64px)); max-height:calc(100dvh - 64px); margin:auto; padding:0; border:1px solid #dae3dc; border-radius:17px; background:#fff; color:var(--studio-text); overflow:hidden; box-sizing:border-box; box-shadow:0 24px 90px #102c2252; font-family:var(--ni-font-sans,sans-serif); }
#updatesHistoryDialog[open] { display:flex; flex-direction:column; }
#updatesHistoryDialog:not([open]) { display:none; }
#updatesHistoryDialog::backdrop { background:#172d26a3; backdrop-filter:blur(3px); }
.updates-history-header { display:flex; align-items:center; justify-content:space-between; gap:20px; flex:none; padding:25px 27px 22px; }
.updates-history-title-group { display:flex; align-items:center; gap:14px; min-width:0; }
.updates-history-title-group .updates-history-symbol { width:45px; height:45px; background:var(--studio-green-soft); border:0; color:var(--studio-green); }
.updates-history-header h2 { margin:0; font-size:21px; line-height:1.4; font-weight:650; letter-spacing:-.5px; }
.updates-history-header p { margin:6px 0 0; font-size:12px; line-height:1.65; color:var(--studio-muted); }
#updatesHistoryClose { display:grid; place-items:center; flex:none; width:35px; height:35px; padding:0; border:1px solid var(--studio-line); border-radius:8px; background:#fff; color:var(--studio-muted); box-shadow:none; cursor:pointer; transform:none; }
#updatesHistoryClose svg { width:18px; height:18px; }
.updates-history-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 29px 16px; border-bottom:1px solid var(--studio-line); flex:none; }
.updates-history-toolbar > strong { display:flex; align-items:center; gap:7px; font-size:12px; }
#updatesHistoryBody { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b8cabd #f7f9f7; padding:19px 26px 21px; background:#f7f9f7; }
#updatesHistoryList { gap:9px; }
#updatesHistoryList .release-accordion-item { border-radius:9px; }
#updatesHistoryList .release-accordion-summary { min-height:76px; padding:14px 18px; gap:18px; }
#updatesHistoryList .release-accordion-heading strong { font-size:13px; }
#updatesHistoryList .release-accordion-description { font-size:11px; }
#updatesHistoryList .release-accordion-body { padding:17px 18px; }
.updates-history-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; flex:none; padding:16px 27px; border-top:1px solid var(--studio-line); background:#fff; min-height:77px; box-sizing:border-box; }
#updatesHistoryRange { margin:0; color:#6f7f74; font-size:12px; font-variant-numeric:tabular-nums; }
.updates-history-controls { display:flex; align-items:center; gap:18px; }
.updates-page-size { padding-right:18px; border-right:1px solid var(--studio-line); color:#75857b; font-size:11px; white-space:nowrap; }
#updatesHistoryPagination { display:flex; align-items:center; gap:5px; }
#updatesHistoryPagination button { display:grid; place-items:center; flex:none; width:35px; height:35px; min-height:0; margin:0; padding:0; border:1px solid #dfe7e1; border-radius:7px; background:#fff; color:#536c5c; box-shadow:none; font:500 12px/1 var(--ni-font-sans,sans-serif); font-variant-numeric:tabular-nums; cursor:pointer; transform:none; }
#updatesHistoryPagination button[data-history-action] { font-size:21px; font-weight:400; }
#updatesHistoryPagination button:hover:not(:disabled) { border-color:#a7c7b4; background:#f0f6f2; }
#updatesHistoryPagination button[aria-current="page"] { color:#fff; background:var(--studio-green); border-color:var(--studio-green); }
#updatesHistoryPagination button:disabled { opacity:.4; cursor:not-allowed; }
.updates-page-ellipsis { display:grid; place-items:center; width:18px; color:var(--studio-muted); font-size:12px; }
:is(#updatesHistoryDialog,#updatesPage) :is(button,summary):focus-visible { outline:3px solid #579f86; outline-offset:3px; }
:is(#updatesHistoryDialog,#updatesPage) summary:focus-visible { outline-offset:-3px; }
@media(max-width:700px) {
  #updatesPage .release-page__header { gap:20px; align-items:flex-start; }
  #updatesPage .release-page__header h2 { font-size:28px; }
  #updatesPage .release-page__current { min-width:140px; }
  :is(#updatesPage,#updatesHistoryDialog) .release-accordion-summary { grid-template-columns:minmax(0,1fr) 15px; padding:15px 16px; gap:5px 10px; }
  :is(#updatesPage,#updatesHistoryDialog) .release-accordion-title { grid-column:1; grid-row:1; }
  :is(#updatesPage,#updatesHistoryDialog) .release-accordion-date { grid-column:1; grid-row:2; margin-top:3px; }
  :is(#updatesPage,#updatesHistoryDialog) .release-accordion-summary::after { grid-column:2; grid-row:1 / 3; }
  :is(#updatesPage,#updatesHistoryDialog) .release-accordion-body { padding:15px 16px; }
  #updatesHistoryDialog { width:calc(100vw - 24px); height:calc(100dvh - 32px); max-height:calc(100dvh - 32px); border-radius:13px; }
  .updates-history-header { padding:18px 16px 17px; gap:10px; align-items:flex-start; }
  .updates-history-title-group { gap:10px; align-items:flex-start; }
  .updates-history-title-group .updates-history-symbol { width:34px; height:34px; border-radius:9px; margin-top:2px; }
  .updates-history-title-group .updates-history-symbol svg { width:19px; height:19px; }
  .updates-history-header h2 { font-size:18px; }
  .updates-history-header p { font-size:11px; line-height:1.8; margin-top:5px; }
  #updatesHistoryClose { width:32px; height:32px; }
  .updates-history-toolbar { padding:0 16px 14px; }
  #updatesHistoryBody { padding:13px 12px 17px; }
  #updatesHistoryList .release-accordion-summary { padding:12px 13px; gap:4px 8px; }
  #updatesHistoryList .release-accordion-heading strong { font-size:12px; }
  #updatesHistoryList .release-accordion-body { padding:14px 13px; }
  .updates-history-footer { padding:13px 15px; gap:10px; flex-wrap:wrap; justify-content:center; }
  #updatesHistoryRange { font-size:11px; width:100%; text-align:center; }
  .updates-history-controls { justify-content:center; flex-wrap:wrap; gap:8px; width:100%; }
  .updates-page-size { width:100%; padding:0; border:0; text-align:center; font-size:10px; }
  #updatesHistoryPagination { gap:4px; }
  #updatesHistoryPagination button { width:32px; height:34px; }
  .updates-page-ellipsis { width:14px; }
}
@media(max-width:500px) {
  #updatesPage .release-page__shell { gap:23px; }
  #updatesPage .release-page__header { flex-direction:column; }
  #updatesPage .release-page__current { width:100%; box-sizing:border-box; }
  #updatesPage .release-timeline { padding-left:20px; }
  #updatesPage .release-timeline::before { left:4px; }
  #updatesPage .release-timeline > .release-accordion-item::before { left:-23px; }
  #updatesPage .updates-history-entry { width:calc(100% - 20px); margin-left:20px; padding:16px 14px; gap:11px; flex-wrap:wrap; }
  .updates-history-entry .updates-history-symbol { width:34px; height:34px; }
  .updates-history-copy > strong { font-size:13px; }
  .updates-history-copy > span { font-size:11px; }
  .updates-history-action { margin-left:45px; min-height:26px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  :is(#updatesPage,#updatesHistoryDialog) * { transition:none !important; scroll-behavior:auto !important; }
}
@media(forced-colors:active) {
  :is(#updatesPage,#updatesHistoryDialog) :is(button,summary):focus-visible { outline-color:Highlight; }
  #updatesHistoryPagination button[aria-current="page"] { outline:2px solid Highlight; }
}
