/* Shared gold-pulse loading language for the battle web surfaces. */
.battle-load {
  width:min(620px,100%); margin:26px auto; padding:22px;
  border:1px solid #3a2f1e; border-radius:9px;
  background:linear-gradient(145deg,#17181c,#101116);
  box-shadow:0 14px 34px rgba(0,0,0,.24); color:#d4c9a8; text-align:center;
}
.battle-load--compact { width:100%; margin:12px 0; padding:15px; box-shadow:none; }
.battle-load--inline { display:inline-flex; width:auto; min-height:32px; margin:0; padding:6px 10px; align-items:center; justify-content:center; gap:9px; font-size:12px; line-height:1.45; }
.battle-load--error { border-color:#603337; background:linear-gradient(145deg,#211518,#120e10); }
.battle-load__dots { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:18px; margin-bottom:10px; }
.battle-load--inline .battle-load__dots { min-height:12px; margin:0; gap:4px; }
.battle-load__dots span { width:6px; height:6px; border-radius:50%; background:#e0c46c; opacity:.3; animation:battle-ui-dot-pulse 1.1s ease-in-out infinite; }
.battle-load--inline .battle-load__dots span { width:5px; height:5px; }
.battle-load__dots span:nth-child(2) { animation-delay:.16s; }
.battle-load__dots span:nth-child(3) { animation-delay:.32s; }
.battle-load__title { color:#e0c46c; font-size:15px; font-weight:750; letter-spacing:.4px; line-height:1.45; }
.battle-load__detail { min-height:20px; margin-top:6px; color:#a8997a; font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
.battle-load__skeletons { display:grid; gap:7px; margin-top:18px; text-align:left; }
.battle-load__skeleton { height:52px; padding:10px 12px; overflow:hidden; border:1px solid #211d16; border-radius:6px; background:#0c0d11; }
.battle-load__skeleton::before,.battle-load__skeleton::after { content:''; display:block; height:7px; border-radius:4px; background:linear-gradient(90deg,#1b1813 15%,#322a18 50%,#1b1813 85%); background-size:220% 100%; animation:battle-ui-skeleton-sweep 1.6s ease-in-out infinite; }
.battle-load__skeleton::before { width:48%; }
.battle-load__skeleton::after { width:76%; margin-top:10px; animation-delay:.14s; }
.battle-load__retry { min-width:44px; min-height:44px; margin-top:16px; padding:8px 16px; border:1px solid #a98945; border-radius:6px; background:#201b11; color:#e0c46c; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.battle-load__retry:hover { background:#2a2416; }
.battle-load__retry:focus-visible { outline:2px solid #e0c46c; outline-offset:3px; }
.battle-login-progress { width:100%; margin-top:14px; }
.battle-login-progress[hidden] { display:none; }
@keyframes battle-ui-dot-pulse { 0%,100% { opacity:.3; transform:translateY(0); } 50% { opacity:1; transform:translateY(-2px); } }
@keyframes battle-ui-skeleton-sweep { from { background-position:100% 0; } to { background-position:-100% 0; } }
@media (max-width:480px) { .battle-load { margin:18px auto; padding:18px 14px; } .battle-load--compact { margin:10px 0; } .battle-load__skeleton { height:48px; } }
@media (prefers-reduced-motion:reduce) { .battle-load__dots span,.battle-load__skeleton::before,.battle-load__skeleton::after { animation:none; } }
