/* Independent of the application bundle so a failed entry still has readable feedback. */
body { margin: 0; }
.taiyi-startup {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f4f7f5;
  color: #183e32;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.taiyi-startup * { box-sizing: border-box; }
.taiyi-startup-card {
  width: min(100%, 480px);
  padding: 32px;
  border: 1px solid #dce7e0;
  border-radius: 16px;
  background: #fff;
}
.taiyi-startup-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; }
.taiyi-startup-brand span {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; background: #1b4d3a; color: #f6e8bc; font-family: serif;
}
.taiyi-startup h1 { margin: 28px 0 16px; font-size: 26px; line-height: 1.4; }
.taiyi-startup p { margin: 8px 0; line-height: 1.65; overflow-wrap: anywhere; }
#taiyi-startup-message { font-size: 16px; font-weight: 600; }
#taiyi-startup-detail { color: #64776e; font-size: 14px; }
.taiyi-startup-preview { display: grid; gap: 10px; margin: 24px 0; }
.taiyi-startup-preview span { display: block; height: 12px; border-radius: 4px; background: #edf2ef; }
.taiyi-startup-preview span:nth-child(2) { width: 82%; }
.taiyi-startup-preview span:nth-child(3) { width: 60%; }
.taiyi-startup button {
  min-height: 44px; width: 100%; margin: 16px 0 8px; padding: 10px 18px;
  border: 1px solid #1b4d3a; border-radius: 8px; background: #1b4d3a; color: #fff;
  font: inherit; font-weight: 600; cursor: pointer;
}
.taiyi-startup button:focus-visible { outline: 3px solid #d6ac58; outline-offset: 3px; }
.taiyi-startup .taiyi-startup-note { margin-top: 24px; color: #78847f; font-size: 12px; }
.taiyi-startup [hidden], .taiyi-startup[data-state="failed"] .taiyi-startup-preview { display: none; }
@media (max-width: 480px) {
  .taiyi-startup { padding: 16px; }
  .taiyi-startup-card { padding: 24px; }
  .taiyi-startup h1 { font-size: 24px; }
}
