/* Shared UI loading screen; paired lobby keeps its own illustration. */
body, #status { background: #f1f4f2; }
#status-splash { display: none; }
#status::before {
  content: ''; position: absolute; top: 44%; left: 50%;
  transform: translate(-50%, -50%); width: min(58vw, 36vh, 260px); aspect-ratio: 1;
  background: url('loading-home.png') center / contain no-repeat; border-radius: 24%;
}
#status::after {
  content: '一起回到小屋'; position: absolute; top: 66%; left: 0; right: 0;
  text-align: center; color: #59645f; font: 500 22px system-ui, sans-serif;
}
#status-progress {
  top: 74%; bottom: auto; width: min(56%, 280px); height: 10px;
  border: 0; border-radius: 20px; overflow: hidden;
  background: #d9e1db; accent-color: #1b6e66;
}
#status-progress::-webkit-progress-bar { background: #d9e1db; border-radius: 20px; }
#status-progress::-webkit-progress-value { background: #1b6e66; border-radius: 20px; }
#status-progress::-moz-progress-bar { background: #1b6e66; border-radius: 20px; }
#status-notice { background: #ffffff; color: #59645f; border-radius: 20px; padding: 20px; max-height: 40%; overflow: auto; }
#download-detail {
  position: absolute; top: 78%; left: 10%; width: 80%;
  color: #59645f; text-align: center; font: 13px/1.5 system-ui, sans-serif;
}
#download-retry {
  position: absolute; top: 88%; left: 50%; transform: translateX(-50%);
  min-height: 44px; padding: 8px 24px; border: 1px solid #d9e1db;
  border-radius: 24px; background: #ffffff; color: #1f201d;
  font: 16px system-ui, sans-serif; cursor: pointer;
}
