/* Splash-screen font subsets — preloaded in index.html, cover only the
   characters visible during loading so they render immediately with no FOUT. */
@font-face {
  font-family: "Playwrite US Trad";
  src: url("fonts/playwrite-splash.woff2") format("woff2");
  font-display: block;
  unicode-range: U+0043, U+0046, U+0065, U+0068, U+0069, U+006F, U+0072;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-splash.woff2") format("woff2");
  font-display: block;
  unicode-range: U+0020-007E;
}
/* Full font files — loaded by Flutter engine, swap in after initial paint. */
@font-face {
  font-family: "Playwrite US Trad";
  src: url("assets/assets/fonts/PlaywriteUSTrad-VariableFont_wght.ttf")
    format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("assets/assets/fonts/Rubik-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  background: #f7f9fe;
  color: #181c20;
  font-family: Arial, sans-serif;
}
.loading-container {
  width: 100%;
  height: 100%;
  border-radius: 0px 0px 40px 40px;
  opacity: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo {
  width: 63px;
  height: 179.72px;
  display: block;
}
.loading-information {
  width: 100%;
  height: 25%;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.chorefire-text {
  margin-top: 10px;
  font-family: "Playwrite US Trad", Arial, sans-serif;
  font-size: 40px;
  font-variation-settings: "wght" 600;
  color: #181c20;
  line-height: 22px;
  text-align: center;
}
.version-text {
  margin-top: 25px;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 12px;
  font-variation-settings: "wght" 600;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  color: #181c20;
}
.equality-machines-text {
  width: auto;
  margin-top: auto;
  margin-bottom: 8px;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 14px;
  font-variation-settings: "wght" 600;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  color: #181c20;
}
.progress-container {
  margin-top: 4px;
  margin-bottom: 10px;
  width: 90%;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}
.progress-bar {
  width: 2%;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
}
.loading-status {
  font-family: "Rubik", Arial, sans-serif;
  font-size: 12px;
  font-variation-settings: "wght" 400;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  color: #181c20;
}

/* Dark theme styles */
@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #101417;
    color: #e0e3e8;
  }
  .chorefire-text {
    color: #e0e3e8;
  }
  .version-text,
  .equality-machines-text,
  .loading-status {
    color: #e0e3e8;
  }
  .progress-container {
    background: rgba(0, 0, 0, 0.5);
  }
  .progress-bar {
    background: rgba(251, 114, 2, 0.285);
  }
}
