html, body { margin: 0; height: 100%; background: #f7f9fc; }
#client-startup [hidden] { display: none !important; }
#client-startup { position: fixed; inset: 0; z-index: 100000; background: #f7f9fc; font-family: system-ui, "Microsoft YaHei", sans-serif; color: #253247; }
.startup-layout { display: flex; height: 100%; overflow: hidden; }
.startup-rail { width: 64px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 26px; border-right: 1px solid #e5eaf2; }
.startup-profile { width: 36px; height: 36px; border-radius: 50% !important; margin-bottom: 22px; }
.startup-nav { width: 24px; height: 24px; }
.startup-list { width: 320px; flex-shrink: 0; background: #fff; border-right: 1px solid #e5eaf2; display: flex; flex-direction: column; }
.startup-header { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.startup-heading { width: 96px; height: 20px; }
.startup-action { width: 22px; height: 22px; }
.startup-search { height: 34px; margin: 0 18px 12px; }
.startup-rows { overflow: hidden; flex: 1; }
.startup-row { display: flex; gap: 12px; padding: 18px; border-bottom: 1px solid #f4f6f9; }
.startup-avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px !important; }
.startup-copy { flex: 1; }
.startup-line { height: 12px; margin: 6px 0 12px; }
.startup-line.short { width: 64%; }
.startup-content { flex: 1; display: grid; place-items: center; min-width: 0; }
.startup-placeholder { width: 180px; opacity: .65; text-align: center; }
.startup-symbol { width: 72px; height: 64px; margin: 0 auto 28px; border-radius: 20px !important; }
.startup-placeholder .short { margin-left: auto; margin-right: auto; }
.startup-mobile-nav { display: none; }
.skeleton { background: #e9edf3; border-radius: 6px; animation: startup-pulse 1.8s ease-in-out infinite; }
.startup-card { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); max-width: calc(100% - 64px); width: max-content; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px #2532470d; }
#startup-message { margin: 0; font-size: 13px; }
#startup-hint { flex-basis: 100%; margin: 0; text-align: center; font-size: 12px; color: #6c7b90; line-height: 1.7; }
#startup-retry { padding: 6px 12px; border: 0; border-radius: 6px; background: #4e86ff; color: white; cursor: pointer; }
.startup-error .skeleton { animation: none; }
@keyframes startup-pulse { 50% { opacity: .45; } }
@media (max-width: 700px) {
  .startup-rail, .startup-content { display: none; }
  .startup-list { width: 100%; border: 0; }
  .startup-mobile-nav { display: flex; justify-content: space-around; padding: 18px 0 max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #e5eaf2; }
  .startup-card { bottom: max(82px, calc(64px + env(safe-area-inset-bottom))); }
}
@media (prefers-color-scheme: dark) {
  html, body, #client-startup { background: #181a20; color: #f0f3f7; }
  .startup-list, .startup-card { background: #21252d; }
  .skeleton { background: #343a46; }
  .startup-rail, .startup-list, .startup-mobile-nav, .startup-card { border-color: #343a46; }
  .startup-row { border-color: #282e38; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
