/* One coin, two faces. No page layout or authentication state belongs here. */
.account-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; visibility: visible; background: #010b15; overflow: hidden; animation: startup-splash-deadline 5s step-end forwards; }
.account-loader[hidden] { display: none; }
.account-page:has(.account-loader:not([hidden])) .app-shell { visibility: hidden; animation: startup-content-deadline 5s step-end forwards; }
.account-page:has(.account-loader:not([hidden]))::after { visibility: hidden; }
.startup-coin-stage { width: min(84vw,56svh,560px); height: min(84vw,56svh,560px); min-width: 168px; min-height: 168px; position: relative; perspective: 1600px; }
.startup-coin-rotor { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: startup-coin-turn 3.6s linear infinite; }
.startup-coin-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.startup-coin-face img { display: block; width: 100%; height: 100%; object-fit: contain; }
.startup-coin-sun { transform: translateZ(6px); }
.startup-coin-moon { transform: rotateY(180deg) translateZ(6px); }
.startup-coin-edge { position: absolute; inset: 0; background: conic-gradient(from 15deg,#5a4430,#e6c488 15%,#877751 29%,#dce2de 46%,#676b6b 58%,#302619 72%,#ceac73 88%,#5a4430); clip-path: polygon(92.42% 50.00%,92.82% 50.75%,89.85% 51.39%,88.78% 52.03%,87.31% 52.61%,87.50% 53.28%,92.51% 54.47%,93.69% 55.36%,98.64% 56.84%,98.68% 57.71%,98.30% 58.52%,97.75% 59.28%,96.65% 59.91%,94.37% 60.24%,88.77% 59.67%,87.90% 60.15%,86.56% 60.48%,86.53% 61.17%,88.00% 62.35%,89.06% 63.45%,89.57% 64.40%,87.45% 64.37%,86.01% 64.55%,85.01% 64.86%,87.88% 66.87%,89.03% 68.20%,89.56% 69.30%,93.20% 72.01%,92.95% 72.84%,92.41% 73.51%,91.64% 74.04%,90.53% 74.36%,88.82% 74.26%,82.30% 70.98%,81.27% 71.09%,81.42% 72.00%,82.32% 73.48%,82.74% 74.67%,82.68% 75.53%,80.06% 74.34%,78.71% 74.09%,77.44% 73.86%,78.74% 75.88%,80.50% 78.44%,80.63% 79.58%,80.62% 80.62%,83.18% 84.36%,82.52% 84.88%,81.75% 85.26%,80.71% 85.33%,79.47% 85.13%,74.04% 79.69%,73.12% 79.60%,72.12% 79.36%,71.09% 79.03%,71.73% 81.03%,71.85% 82.39%,71.80% 83.57%,71.55% 84.49%,70.95% 84.86%,68.38% 81.84%,67.28% 81.18%,68.53% 84.85%,68.54% 86.38%,68.21% 87.34%,67.76% 88.09%,69.66% 94.15%,69.04% 94.85%,67.33% 92.88%,66.35% 92.58%,65.36% 92.19%,64.28% 91.47%,61.41% 85.11%,60.61% 84.70%,59.78% 84.11%,58.94% 83.35%,58.72% 84.97%,58.50% 86.83%,58.09% 88.07%,57.53% 88.75%,56.40% 86.28%,55.63% 85.52%,54.87% 84.67%,54.17% 83.96%,54.18% 89.81%,53.57% 90.75%,52.90% 91.45%,52.20% 92.05%,51.63% 96.70%,50.84% 98.08%,50.00% 98.41%,49.19% 96.17%,48.41% 95.59%,47.65% 94.76%,47.45% 86.43%,46.88% 85.67%,46.46% 83.71%,45.81% 84.11%,45.09% 84.90%,44.36% 85.60%,43.57% 86.44%,42.47% 88.75%,41.91% 88.07%,41.52% 86.75%,41.36% 84.66%,40.98% 83.66%,40.17% 84.27%,39.37% 84.77%,38.57% 85.19%,35.64% 91.70%,34.59% 92.34%,33.62% 92.66%,32.64% 92.96%,30.96% 94.85%,30.44% 93.93%,32.21% 88.16%,31.75% 87.41%,31.39% 86.52%,31.39% 84.99%,32.56% 81.46%,31.58% 81.91%,29.05% 84.86%,28.45% 84.49%,28.20% 83.57%,28.15% 82.39%,28.27% 81.03%,28.77% 79.23%,27.78% 79.49%,26.83% 79.66%,25.96% 79.69%,20.47% 85.19%,19.29% 85.33%,18.25% 85.26%,17.48% 84.88%,16.82% 84.36%,19.38% 80.62%,19.20% 79.75%,19.26% 78.66%,19.84% 77.16%,22.44% 73.96%,21.17% 74.19%,19.82% 74.44%,17.20% 75.63%,17.26% 74.67%,17.81% 73.39%,18.58% 72.00%,18.73% 71.09%,17.83% 70.89%,11.18% 74.26%,9.33% 74.44%,8.29% 74.08%,7.52% 73.54%,6.91% 72.91%,6.59% 72.12%,10.58% 69.23%,11.19% 68.10%,12.26% 66.80%,14.99% 64.86%,13.99% 64.55%,12.78% 64.29%,10.36% 64.43%,10.87% 63.47%,11.70% 62.44%,13.01% 61.31%,13.44% 60.48%,12.18% 60.13%,11.31% 59.65%,10.53% 59.11%,3.35% 59.91%,2.25% 59.28%,1.54% 58.54%,1.17% 57.73%,1.20% 56.86%,5.83% 55.42%,6.86% 54.53%,8.77% 53.61%,12.37% 52.63%,11.14% 52.04%,10.23% 51.39%,8.78% 50.72%,7.26% 50.00%,8.06% 49.27%,9.35% 48.58%,11.22% 47.97%,11.50% 47.31%,10.76% 46.57%,10.11% 45.81%,9.71% 45.05%,9.33% 44.28%,8.89% 43.49%,3.90% 41.87%,2.56% 40.78%,2.03% 39.80%,1.90% 38.90%,2.10% 38.06%,6.40% 38.32%,7.92% 37.93%,12.94% 38.67%,12.31% 37.75%,11.09% 36.60%,10.36% 35.57%,11.88% 35.37%,13.99% 35.45%,14.77% 35.04%,13.87% 33.91%,13.21% 32.85%,13.02% 31.96%,12.84% 31.07%,7.75% 27.54%,6.69% 25.99%,6.35% 24.80%,6.46% 23.84%,6.85% 23.04%,11.28% 24.85%,12.51% 24.72%,14.79% 25.35%,18.71% 27.27%,18.41% 26.20%,17.95% 24.96%,16.84% 23.15%,17.93% 23.09%,19.79% 23.74%,22.15% 24.92%,21.54% 23.46%,21.38% 22.36%,21.35% 21.35%,21.42% 20.40%,16.82% 14.42%,16.76% 13.08%,17.04% 12.08%,17.55% 11.33%,18.18% 10.71%,19.02% 10.35%,22.79% 13.89%,24.03% 14.26%,28.23% 18.91%,28.15% 17.61%,27.02% 14.62%,27.39% 13.82%,28.64% 14.46%,29.98% 15.33%,31.21% 16.10%,31.24% 14.72%,31.25% 13.19%,31.47% 12.01%,31.87% 11.12%,29.70% 4.40%,30.28% 3.53%,31.90% 5.19%,32.94% 5.55%,33.91% 5.79%,34.92% 6.19%,36.05% 7.07%,39.16% 14.54%,39.95% 14.97%,40.65% 15.11%,40.95% 13.71%,41.28% 12.24%,41.13% 8.27%,41.98% 8.75%,42.88% 9.63%,43.73% 10.38%,44.58% 11.46%,45.45% 12.96%,45.74% 9.47%,46.30% 7.66%,46.97% 6.72%,47.69% 5.96%,48.44% 5.37%,49.14% 0.96%,50.00% 1.20%,50.85% 1.52%,51.67% 2.18%,52.43% 3.57%,52.79% 10.15%,53.43% 10.76%,54.02% 11.77%,54.59% 12.64%,55.43% 11.38%,56.26% 10.46%,57.10% 9.71%,57.97% 8.98%,58.85% 8.35%,58.65% 12.55%,59.03% 13.79%,59.35% 15.11%,60.05% 14.97%,60.86% 14.46%,64.39% 5.71%,65.42% 5.21%,66.42% 4.89%,67.60% 4.14%,68.49% 4.23%,67.42% 8.97%,67.94% 9.71%,68.40% 10.54%,68.77% 11.51%,69.01% 12.70%,68.68% 14.87%,68.48% 16.66%,69.82% 15.68%,71.03% 15.00%,72.61% 13.82%,73.06% 14.49%,72.21% 17.08%,71.96% 18.64%,75.41% 15.03%,76.88% 14.34%,80.78% 10.60%,81.72% 10.83%,82.40% 11.39%,82.86% 12.20%,83.03% 13.32%,82.63% 15.01%,78.58% 20.40%,78.70% 21.30%,78.80% 22.19%,78.64% 23.30%,78.27% 24.55%,80.09% 23.84%,82.07% 23.09%,83.16% 23.15%,82.24% 24.81%,81.59% 26.20%,81.35% 27.22%,84.10% 26.12%,87.15% 24.94%,88.59% 24.94%,93.15% 23.04%,93.54% 23.84%,93.65% 24.80%,93.38% 25.95%,92.11% 27.61%,87.09% 31.10%,86.91% 32.00%,86.71% 32.88%,86.21% 33.88%,85.31% 35.01%,85.42% 35.69%,88.12% 35.37%,89.64% 35.57%,88.60% 36.71%,87.54% 37.80%,86.99% 38.69%,91.85% 38.00%,93.29% 38.40%,97.82% 38.08%,97.94% 38.93%,97.74% 39.85%,97.20% 40.82%,95.94% 41.90%,91.04% 43.50%,90.59% 44.30%,90.29% 45.05%,89.89% 45.81%,89.32% 46.56%,88.50% 47.31%,88.38% 47.99%,90.01% 48.60%,91.46% 49.28%); }
.startup-coin-edge:nth-child(1) { transform: translateZ(-6px); }
.startup-coin-edge:nth-child(2) { transform: translateZ(-5px); }
.startup-coin-edge:nth-child(3) { transform: translateZ(-4px); }
.startup-coin-edge:nth-child(4) { transform: translateZ(-3px); }
.startup-coin-edge:nth-child(5) { transform: translateZ(-2px); }
.startup-coin-edge:nth-child(6) { transform: translateZ(-1px); }
.startup-coin-edge:nth-child(7) { transform: translateZ(0); }
.startup-coin-edge:nth-child(8) { transform: translateZ(1px); }
.startup-coin-edge:nth-child(9) { transform: translateZ(2px); }
.startup-coin-edge:nth-child(10) { transform: translateZ(3px); }
.startup-coin-edge:nth-child(11) { transform: translateZ(4px); }
.startup-coin-edge:nth-child(12) { transform: translateZ(5px); }
.startup-coin-edge:nth-child(13) { transform: translateZ(6px); }
.startup-coin-shadow { position: absolute; top: 108%; left: 18%; width: 64%; height: 6%; border-radius: 50%; background: #000; filter: blur(10px); opacity: .7; animation: startup-coin-shadow 1.8s linear infinite; }
.account-loader noscript { position: absolute; top: 80%; padding: 20px; color: var(--text-main); text-align: center; }
@keyframes startup-coin-turn { to { transform: rotateY(360deg); } }
@keyframes startup-coin-shadow { 50% { transform: scaleX(.3); opacity: .35; } }
/* CSS is the fail-open deadline even if the isolated lifecycle module is delayed. */
@keyframes startup-splash-deadline { to { visibility: hidden; pointer-events: none; } }
@keyframes startup-content-deadline { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) {
  .startup-coin-moon, .startup-coin-edge, .startup-coin-shadow { display: none; }
  .startup-coin-sun, .startup-coin-rotor { transform: none; animation: none; }
  /* These two visibility switches contain no motion; retain the fail-open deadline. */
  .account-page .account-loader { animation: startup-splash-deadline 5s step-end forwards !important; }
  .account-page:has(.account-loader:not([hidden])) .app-shell { animation: startup-content-deadline 5s step-end forwards !important; }
}
