/* Cipher 密链 · 版本与自动更新
   贴边、无外框、无圆角、无阴影，与全站微信式布局保持一致。 */

.au-banner {
  position: fixed; left: 0; right: 0; top: 0; z-index: 9000;
  display: flex; align-items: center; gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 9px) 14px 9px;
  background: #4b41e0; color: #fff;
  font-size: 12.5px; line-height: 1.5;
  box-shadow: none; border-radius: 0;
}
.au-banner[hidden] { display: none !important; }
.au-banner-txt { flex: 1; min-width: 0; }
.au-banner strong { font-weight: 700; }
.au-banner button {
  flex: none; border: 0; border-radius: 0; cursor: pointer;
  background: #fff; color: #4b41e0; font-size: 12px; font-weight: 700;
  padding: 6px 12px;
}
.au-banner button.au-x {
  background: transparent; color: #fff; opacity: .8; font-size: 18px;
  padding: 2px 4px; line-height: 1;
}

.au-page {
  position: fixed; inset: 0; z-index: 9100;
  background: #fff; color: #161b22;
  display: flex; flex-direction: column;
  border-radius: 0; box-shadow: none;
}
.au-page[hidden] { display: none !important; }
.au-head {
  flex: none; display: flex; align-items: center; gap: 8px;
  height: calc(env(safe-area-inset-top, 0px) + 52px);
  padding: env(safe-area-inset-top, 0px) 12px 0;
  border-bottom: 1px solid #e6e8ec; background: #f7f8fa;
}
.au-head button {
  border: 0; background: transparent; cursor: pointer;
  color: #4b41e0; font-size: 13px; font-weight: 600; padding: 8px 6px;
}
.au-head .au-back { font-size: 24px; line-height: 1; color: #161b22; font-weight: 400; padding: 8px 10px; }
.au-head-t { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }
.au-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom, 0px); }

.au-hero { padding: 22px 18px 20px; border-bottom: 1px solid #e6e8ec; }
.au-hero-mark { font-size: 11px; letter-spacing: 1.4px; color: #8a93a2; text-transform: uppercase; }
.au-hero-ver { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 6px 0 4px; }
.au-hero-sub { font-size: 12px; color: #6b7482; }
.au-state {
  display: inline-block; margin-top: 12px; padding: 5px 10px;
  font-size: 11.5px; font-weight: 700; border: 1px solid transparent;
}
.au-state.ok { background: #eaf7ee; color: #16794a; border-color: #c9ecd7; }
.au-state.new { background: #fff4e5; color: #a15c00; border-color: #ffe0b3; }
.au-state.off { background: #f0f1f3; color: #6b7482; border-color: #e0e3e8; }

.au-sec-t {
  font-size: 11px; font-weight: 700; color: #8a93a2; letter-spacing: 1px;
  padding: 18px 18px 8px; text-transform: uppercase;
}
.au-row {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid #f0f1f3; font-size: 13px;
}
.au-row-k { width: 96px; flex: none; color: #6b7482; font-size: 12px; }
.au-row-v { flex: 1; min-width: 0; word-break: break-word; }
.au-row-v code { font-size: 11.5px; color: #4b41e0; }
.au-note { padding: 9px 18px; font-size: 12.5px; line-height: 1.75; color: #3d4552; border-bottom: 1px solid #f0f1f3; }
.au-note::before { content: '·'; color: #4b41e0; font-weight: 800; margin-right: 8px; }
.au-tip { padding: 14px 18px 8px; font-size: 11.5px; line-height: 1.8; color: #8a93a2; }

.au-actions {
  flex: none; display: flex; gap: 1px; background: #e6e8ec;
  border-top: 1px solid #e6e8ec;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.au-actions button {
  flex: 1 1 50%; min-width: 0; border: 0; border-radius: 0; cursor: pointer;
  background: #fff; color: #161b22; font-size: 13px; font-weight: 600; padding: 15px 8px;
}
.au-actions button.primary { background: #4b41e0; color: #fff; }

@media (max-width: 767px) {
  .au-head-t { font-size: 15px; }
  .au-hero-ver { font-size: 26px; }
  .au-row-k { width: 86px; }
}
