.yaraan-startup {
  box-sizing: border-box;
  min-height: 100%;
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.5rem;
  text-align: center;
  background: #f7faf9;
  color: #173b38;
  font: 1rem system-ui, sans-serif;
}

.yaraan-startup img { border-radius: 20px; }
.yaraan-startup strong { font-size: 1.3rem; }
.yaraan-startup p { margin: 0; }
.yaraan-startup button {
  background: #105855;
  border: 0;
  border-radius: .6rem;
  padding: .6rem 1.1rem;
  color: white;
  cursor: pointer;
  font: inherit;
}
.yaraan-startup button[hidden] { display: none; }
.yaraan-startup button:disabled { opacity: .65; cursor: wait; }

.yaraan-install-card {
  appearance: none;
  min-height: 165px;
  padding: 18px 10px;
  border: 1px solid;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.yaraan-install-card:active { opacity: .75; }

.yaraan-install-guide {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(420px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  z-index: 10001;
  padding: 1.5rem;
  border: 1px solid #c7d9d6;
  border-radius: 1.25rem;
  background: #fff;
  color: #173b38;
  box-shadow: 0 14px 55px #001b1840;
  font: 1rem "Estedad-FD-Regular", system-ui, sans-serif;
}
.yaraan-install-guide:not([open]) { display: none; }
.yaraan-install-guide::backdrop { background: #001b1870; }
.yaraan-install-guide h2 { font-size: 1.2rem; }
.yaraan-install-guide ol { padding-inline-start: 1.5rem; line-height: 1.9; }
.yaraan-install-guide li + li { margin-block-start: .45rem; }
.yaraan-install-guide button {
  border: 0;
  border-radius: .6rem;
  padding: .55rem 1.1rem;
  background: #105855;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

#yaraan-web-boot { display: none; }
html[data-yaraan-boot] #yaraan-web-boot {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

@media (prefers-color-scheme: dark) {
  .yaraan-startup { background: #0e211f; color: #e5f2ef; }
  .yaraan-install-guide { background: #16302d; color: #e5f2ef; border-color: #36534f; }
}
