#td-session-error[hidden] { display: none; }
html:has(#td-splash:not([hidden])),
html:has(#td-session-error:not([hidden])) { background: #000; }
#td-session-error {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
}
.td-splash-content { transform: translateY(-2vh); width: min(90vw, 560px); text-align: center; }
.td-splash-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
  color: #d4af37;
}
#td-session-error button { margin: 12px auto; width: auto; }
