/* Restrained purple / gold motion; controls and navigation remain available. */
#main { position:relative; }
.ptl-loading-start { min-height:300px; display:grid; place-items:center; }
.ptl-loading-candles { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; min-height:180px; color:var(--muted,#596581); font-size:14px; animation:ptl-loading-reveal .15s ease both; animation-delay:.18s; }
.ptl-candles { display:flex; align-items:center; height:48px; gap:9px; }
.ptl-candles i { display:block; position:relative; width:7px; height:20px; background:var(--brand-action,#5c1370); border-radius:2px; animation:ptl-candle-breathe 1.8s ease-in-out infinite; }
.ptl-candles i::before { content:""; position:absolute; width:1px; height:calc(100% + 12px); top:-6px; left:3px; background:inherit; }
.ptl-candles i:nth-child(2) { height:30px; animation-delay:.15s; }
.ptl-candles i:nth-child(3) { height:16px; animation-delay:.3s; }
.ptl-candles i:nth-child(4) { height:24px; background:#e2b04a; animation-delay:.45s; }
.ptl-loading-inline { display:inline-flex; align-items:center; gap:8px; font-size:12px; color:var(--muted,#596581); }
.ptl-loading-ring { display:inline-block; flex-shrink:0; width:14px; height:14px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:ptl-loading-spin 1s linear infinite; box-sizing:border-box; vertical-align:middle; }
.ptl-button-ring { margin-right:8px; }
.ptl-request-status { position:absolute; top:6px; right:40px; pointer-events:none; }
.ptl-loading-skeleton { margin-bottom:25px; animation:ptl-loading-reveal .15s ease both; animation-delay:.18s; }
.ptl-loading-caption { color:var(--muted,#596581); font-size:13px; margin:0 0 14px; }
.ptl-skeleton-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; margin-bottom:24px; }
.ptl-skeleton-card,.ptl-skeleton-table { background:#fff; border:1px solid var(--line,#d9ddee); border-radius:10px; padding:24px; }
.ptl-skeleton-card { min-height:145px; }
.ptl-bone { display:block; height:12px; border-radius:4px; background:#e9e5ee; animation:ptl-skeleton-breathe 1.8s ease-in-out infinite; }
.ptl-bone-short { width:62%; }
.ptl-bone-value { width:75%; height:30px; margin-top:22px; }
.ptl-bone-heading { width:30%; height:17px; margin-bottom:24px; }
.ptl-skeleton-row { display:grid; grid-template-columns:2fr 1fr 1fr; gap:20px; padding:15px 0; border-top:1px solid var(--line,#d9ddee); }
.ptl-loading-compact .ptl-skeleton-table { border:0; padding:8px 0; background:transparent; }
.ptl-loading-compact .ptl-bone-heading { width:38%; }
@keyframes ptl-candle-breathe { 0%,100% { transform:scaleY(.8); opacity:.55; } 50% { transform:scaleY(1.05); opacity:1; } }
@keyframes ptl-loading-spin { to { transform:rotate(360deg); } }
@keyframes ptl-skeleton-breathe { 0%,100% { opacity:.5; } 50% { opacity:1; } }
@keyframes ptl-loading-reveal { from { opacity:0; } to { opacity:1; } }
@media(max-width:1100px) { .ptl-skeleton-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .ptl-request-status { right:25px; } }
@media(max-width:600px) { .ptl-skeleton-metrics { gap:12px; } .ptl-skeleton-card { padding:18px; min-height:116px; } .ptl-bone-value { height:26px; } .ptl-skeleton-table { padding:18px; } .ptl-skeleton-row { gap:12px; } .ptl-request-status { right:20px; top:2px; } }
@media(prefers-reduced-motion:reduce) { .ptl-candles i,.ptl-loading-ring,.ptl-bone,.ptl-loading-candles,.ptl-loading-skeleton { animation:none; } }
