@font-face{font-family:'DM Serif Display';src:url('/static/fonts/DMSerifDisplay-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
#pdfcoral-loading{position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:24px 16px;background:radial-gradient(ellipse at 50% 38%,#fff 12%,#fff7fb 65%,#faedf5);color:#62213e;transition:opacity .3s;pointer-events:none}
#pdfcoral-loading.leaving{opacity:0}
.coral-loading-scene{position:relative;width:min(330px,76vw,47svh);height:min(330px,76vw,47svh);flex-shrink:0;margin-bottom:12px}
.coral-loading-halo{position:absolute;inset:20% 5%;border-radius:50%;background:radial-gradient(ellipse,#f5bfdc44,transparent 70%)}
.coral-loading-sweetie.coral-loading-runner{position:absolute;inset:0;width:100%;height:100%;background:url('/static/loading-sweetie-run.png') 0 0/300% 100% no-repeat;animation:coral-run .48s step-end infinite;filter:drop-shadow(0 12px 12px #943d7610)}
.coral-loading-spark{position:absolute;left:8%;bottom:17%;font-size:28px;color:#c69b4a;animation:coral-float 2s ease-in-out infinite}
#pdfcoral-loading .coral-loading-brand{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(36px,9vw,62px);font-weight:400;line-height:1.1;letter-spacing:.015em;color:#a22c55;white-space:nowrap}
.coral-loading-tagline{font-family:Arial,sans-serif;font-size:clamp(10px,2.4vw,14px);font-weight:600;letter-spacing:.32em;color:#866276;margin-top:12px;text-align:center}
#pdfcoral-loading p{font-family:'Noto Sans Thai',Sarabun,sans-serif;font-size:clamp(13px,3.2vw,17px);font-weight:500;line-height:1.6;color:#866276;margin:28px 0 0;text-align:center}
.coral-loading-track{width:min(240px,58vw);height:4px;background:#f1c9df;border-radius:6px;overflow:hidden;margin-top:26px;flex-shrink:0}
.coral-loading-track span{display:block;width:45%;height:100%;background:linear-gradient(90deg,#f1c9df,#e891b8,#ce2460);animation:coral-progress 1.4s ease-in-out infinite}
@keyframes coral-run{0%,100%{background-position:0% 0}33.333%{background-position:50% 0}66.666%{background-position:100% 0}}
@keyframes coral-float{50%{transform:translateY(-6px)}}
@keyframes coral-progress{from{transform:translateX(-110%)}to{transform:translateX(330%)}}
@media(max-height:500px){.coral-loading-scene{width:36svh;height:36svh;margin-bottom:4px}#pdfcoral-loading .coral-loading-brand{font-size:32px}#pdfcoral-loading p{margin-top:12px}.coral-loading-track{margin-top:12px}}
@media(prefers-reduced-motion:reduce){#pdfcoral-loading *{animation:none!important}}
