/* 升级公告页，对照 06-网站升级.html。站点头尾仍用主题。 */

body.hires-upgrade-dir .ceo-page-bg,
body.hires-upgrade-dir .ceo-cat-category,
body.hires-upgrade-dir .ceo-meihua-boo,
body.hires-upgrade-dir .ceo-overlay-primary,
body.hires-upgrade-dir section.list-nav,
body.hires-upgrade-dir .page-tags-item,
body.hires-upgrade-dir .ceo-lanmu-fenlei,
body.hires-upgrade-dir .ceo-catnav-wz {
  display: none !important;
}

.hires-upgrade-page {
  --red: #C9002B;
  --gold: #F6B800;
  --bg: #FFFFFF;
  --warm: #FFF9F1;
  --ink: #161616;
  --ink2: #64615E;
  --line: #E7E0D8;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --r-card: 6px;
  --r-btn: 4px;
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hires-upgrade-page,
.hires-upgrade-page *,
.hires-upgrade-page *::before,
.hires-upgrade-page *::after { box-sizing: border-box; }
.hires-upgrade-page h1,
.hires-upgrade-page h2,
.hires-upgrade-page h3,
.hires-upgrade-page h4,
.hires-upgrade-page h5,
.hires-upgrade-page p,
.hires-upgrade-page ol { margin: 0; }
.hires-upgrade-page main { margin: 0; padding: 0; }
.hires-upgrade-page button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.hires-upgrade-page a { color: inherit; text-decoration: none; }
.hires-upgrade-page svg { display: block; flex: none; }
.hires-upgrade-page .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hires-upgrade-page :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.hires-upgrade-page .wrap { max-width: 1440px; margin: 0 auto; }
@media (max-width: 1480px) {
  .hires-upgrade-page .wrap { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 640px) {
  .hires-upgrade-page .wrap { padding-left: 16px; padding-right: 16px; }
}

.hires-upgrade-page .head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.hires-upgrade-page .eyebrow { display: flex; align-items: center; gap: 10px; font: 700 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.hires-upgrade-page .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.hires-upgrade-page .head h1 { margin-top: 18px; font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hires-upgrade-page .head p { margin-top: 14px; max-width: 640px; font-size: 17px; color: var(--ink2); text-wrap: pretty; }

.hires-upgrade-page .board { padding-top: 56px; padding-bottom: 120px; }

.hires-upgrade-page .entry { display: flex; flex-direction: column; gap: 40px; scroll-margin-top: 100px; }
.hires-upgrade-page .entry-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.hires-upgrade-page .entry-date { display: flex; align-items: baseline; gap: 14px; }
.hires-upgrade-page .entry-date time { font: 700 44px/1 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.hires-upgrade-page .tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-btn); background: var(--red); color: #fff; font-size: 13px; font-weight: 700; }
.hires-upgrade-page .entry-head h3 { width: 100%; font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.hires-upgrade-page .entry-head .lead { max-width: 720px; color: var(--ink2); font-size: 16px; text-wrap: pretty; }
.hires-upgrade-page .entry-title { display: flex; flex-direction: column; gap: 10px; }

.hires-upgrade-page .block-h { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ink); }
.hires-upgrade-page .block-h .n { font: 700 12px var(--mono); color: var(--ink2); letter-spacing: .12em; }
.hires-upgrade-page .changes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.hires-upgrade-page .change { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); transition: border-color .2s; }
.hires-upgrade-page .change:hover { border-color: var(--ink); }
.hires-upgrade-page .change-ic { width: 40px; height: 40px; flex: none; border-radius: var(--r-btn); background: var(--warm); color: var(--red); display: flex; align-items: center; justify-content: center; }
.hires-upgrade-page .change h4 { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.hires-upgrade-page .change p { margin-top: 6px; color: var(--ink2); font-size: 15px; text-wrap: pretty; }
.hires-upgrade-page .change-body { min-width: 0; }

.hires-upgrade-page .account { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.hires-upgrade-page .account-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--ink); color: #fff; }
.hires-upgrade-page .account-head svg { color: var(--gold); }
.hires-upgrade-page .account-head h4 { font-size: 18px; font-weight: 800; color: #fff; }
.hires-upgrade-page .account-head p { margin-left: auto; font-size: 14px; color: #fff; opacity: .8; }
.hires-upgrade-page .account-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--warm); }
.hires-upgrade-page .acc-col { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.hires-upgrade-page .acc-col + .acc-col { border-left: 1px solid var(--line); }
.hires-upgrade-page .acc-col h5 { font-size: 16px; font-weight: 700; color: var(--ink); }
.hires-upgrade-page .acc-col > p { color: var(--ink2); font-size: 15px; text-wrap: pretty; }

.hires-upgrade-page .pw-demo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px; border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--line); }
.hires-upgrade-page .pw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hires-upgrade-page .pw-field small { font-size: 12px; color: var(--ink2); }
.hires-upgrade-page .pw-field .mono { font-size: 18px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.hires-upgrade-page .pw-field mark { background: none; color: var(--red); font-weight: 700; border-bottom: 2px solid var(--red); }
.hires-upgrade-page .pw-field .dim { color: var(--ink2); }
.hires-upgrade-page .pw-arrow { color: var(--ink2); }
.hires-upgrade-page .pw-out .mono { color: var(--red); font-weight: 700; }

.hires-upgrade-page .steps { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }
.hires-upgrade-page .steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.hires-upgrade-page .steps .k { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 700 12px var(--mono); margin-top: 1px; }
.hires-upgrade-page .steps a { color: var(--red); font-weight: 700; border-bottom: 1px solid currentColor; }

.hires-upgrade-page .mail { display: flex; align-items: stretch; border: 1px solid var(--ink); border-radius: var(--r-btn); background: var(--bg); overflow: hidden; }
.hires-upgrade-page .mail-addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; font: 500 16px var(--mono); color: var(--ink); user-select: all; -webkit-user-select: all; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hires-upgrade-page .mail-addr svg { color: var(--red); }
.hires-upgrade-page .mail-copy { display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.hires-upgrade-page .mail-copy:hover,
.hires-upgrade-page .mail-copy[data-done] { background: var(--red); color: #fff; }
.hires-upgrade-page .hint { font-size: 13px; color: var(--ink2); }

@media (max-width: 1080px) {
  .hires-upgrade-page .account-body { grid-template-columns: 1fr; }
  .hires-upgrade-page .acc-col + .acc-col { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hires-upgrade-page .head { padding: 44px 0 32px; }
  .hires-upgrade-page .head h1 { font-size: 36px; }
  .hires-upgrade-page .head p { font-size: 15px; }
  .hires-upgrade-page .board { padding-top: 32px; padding-bottom: 80px; }
  .hires-upgrade-page .entry-date time { font-size: 32px; }
  .hires-upgrade-page .entry-head h3 { font-size: 24px; }
  .hires-upgrade-page .changes { grid-template-columns: 1fr; }
  .hires-upgrade-page .change { padding: 20px; }
  .hires-upgrade-page .account-head { flex-wrap: wrap; padding: 18px 20px; }
  .hires-upgrade-page .account-head p { margin-left: 0; width: 100%; }
  .hires-upgrade-page .acc-col { padding: 22px 20px; }
  .hires-upgrade-page .mail-addr { font-size: 14px; }
}
