.observer-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-top: 3px solid #d9ad5b;
  border-bottom: 1px solid #dce4ec;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  color: #172338;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.observer-header * { box-sizing: border-box; }
.observer-header-inner { width: min(1320px, calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 28px; }
.observer-brand { display: flex; min-width: 310px; align-items: center; gap: 12px; color: #172338; text-decoration: none; }
.observer-partner-mark { display: grid; width: 158px; height: 50px; flex: 0 0 auto; place-items: center; padding: 8px 10px; border-radius: 9px; background: #17365f; }
.observer-partner-mark img { display: block; width: 138px; max-width: 100%; height: auto; object-fit: contain; }
.observer-brand-copy { display: block; min-width: 0; line-height: 1.25; }
.observer-brand-copy b, .observer-brand-copy span { display: block; }
.observer-brand-copy b { color: #172338; font-size: 17px; font-weight: 750; letter-spacing: 0; }
.observer-brand-copy span { margin-top: 3px; color: #68778d; font-size: 12px; font-weight: 500; }
.observer-nav { display: flex; align-self: stretch; }
.observer-nav a, .observer-nav button { position: relative; display: inline-flex; align-items: center; justify-content: center; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 0 16px; color: #68778d; font: 700 16px/1.2 inherit; text-decoration: none; white-space: nowrap; cursor: pointer; }
.observer-nav a:hover, .observer-nav a:focus-visible, .observer-nav button:hover, .observer-nav button:focus-visible { color: #17365f; }
.observer-nav a[aria-current="page"], .observer-nav button.active { border-bottom-color: #2c639e; color: #17365f; }
.observer-home-link { min-height: 38px; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; align-self: center; padding: 0 12px; border: 1px solid #c8d5e2; border-radius: 8px; background: #fff; color: #2c639e; font-size: 12px; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.observer-home-link:hover, .observer-home-link:focus-visible { border-color: #2c639e; background: #eef5fb; }

/* Shared 48COM footer: used by the archive and standalone article pages. */
.footer {
  background: #17365f;
  color: #dce6f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.footer * { box-sizing: border-box; }
.footer-inner { width: min(1320px, calc(100% - 40px)); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer b, .footer span { display: block; }
.footer b { font-size: 12px; }
.footer span { margin-top: 4px; color: #adbed1; font-size: 10px; }
.partner-logos { display: block; width: min(300px, 45vw); height: auto; }

@media (max-width: 980px) {
  .observer-header-inner { width: calc(100% - 28px); min-height: 68px; flex-wrap: wrap; gap: 7px 15px; padding: 10px 0 0; }
  .observer-brand { min-width: 0; }
  .observer-partner-mark { width: 146px; height: 44px; }
  .observer-partner-mark img { width: 126px; }
  .observer-home-link { margin-left: auto; }
  .observer-nav { width: 100%; height: 44px; order: 3; overflow-x: auto; }
  .observer-nav a, .observer-nav button { min-width: 0; flex: 1 0 auto; padding: 0 10px; }
}

@media (max-width: 680px) {
  .observer-header { position: static; }
  .observer-brand-copy b { font-size: 14px; }
  .observer-brand-copy span { display: none; }
  .observer-partner-mark { width: 118px; height: 40px; padding: 7px 8px; }
  .observer-partner-mark img { width: 102px; }
  .observer-home-link { max-width: 112px; padding: 0 8px; font-size: 10px; text-align: center; white-space: normal; }
  .observer-nav a, .observer-nav button { min-width: 96px; font-size: 13px; }
  .footer-inner { width: calc(100% - 28px); padding: 17px 0; align-items: flex-start; flex-direction: column; }
  .partner-logos { width: min(100%, 270px); }
}

@media print { .observer-header { display: none !important; } }
