:root { color-scheme: light dark; --page: #fff8f3; --card: #ffffff; --text: #2b1a10; --muted: #6d5a4d; --accent: #a2461a; }
@media (prefers-color-scheme: dark) {
  :root { --page: #14110f; --card: #2a2420; --text: #f5ebe3; --muted: #c9b8ac; --accent: #ffb68f; }
}
html, body { height: 100%; margin: 0; background: var(--page); }
#shell { display: grid; grid-template-columns: minmax(0, 1fr); height: 100dvh; }
#app-host { position: relative; min-width: 0; height: 100dvh; overflow: hidden; }
.rail { display: none; }
@media (min-width: 720px) {
  #shell { grid-template-columns: minmax(0, 560px); justify-content: center; }
}
@media (min-width: 1100px) {
  #shell { grid-template-columns: 160px minmax(0, 560px) 160px; column-gap: 24px; }
  .rail { display: flex; justify-content: center; align-items: flex-start; padding-top: 24px; visibility: hidden; }
  .rail.on { visibility: visible; }
}
.promo {
  box-sizing: border-box; width: 160px; padding: 16px 12px; border-radius: 12px; background: var(--card); color: var(--text);
  font: 14px/1.4 system-ui, "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif; text-align: center; text-decoration: none;
  display: block;
}
.promo img { width: 72px; height: 72px; border-radius: 16px; display: block; margin: 0 auto 12px; }
.promo strong { display: block; font-size: 15px; margin-bottom: 4px; }
.promo span { display: block; color: var(--muted); margin-bottom: 12px; }
.promo em { display: block; font-style: normal; font-weight: 600; color: var(--accent); }
.promo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#boot { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: var(--page); }
#boot img { width: 96px; height: 96px; border-radius: 22px; }
#boot-track { width: min(220px, 60vw); height: 4px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--accent) 22%, transparent); }
#boot-bar { width: 100%; height: 100%; background: var(--accent); transform: scaleX(.04); transform-origin: left; transition: transform .2s linear; }
@media (prefers-reduced-motion: reduce) { #boot-bar { transition: none; } }
