/* The welcome image is already the site's hero: no extra art download on the home page. */
#loading.b3d-load,#site-loading.b3d-load{
  --load-paper:#fffaf0ed;--load-ink:#49362b;--load-muted:#715c4a;--load-gold:#b68a4b;--load-line:#aa814b80;
  position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:flex-start;
  box-sizing:border-box;padding:clamp(18px,5vw,82px);overflow:auto;text-align:center;color:var(--load-ink);
  background-color:#f8f0de;
  background-image:linear-gradient(90deg,#faf7f0f9 0%,#faf7f0e8 29%,#faf7f057 54%,#faf7f014 100%),url('/media/welcoming-triad.webp');
  background-position:center,center;background-size:cover;isolation:isolate;
}
#loading.b3d-load::before,#loading.b3d-load::after,#site-loading.b3d-load::before,#site-loading.b3d-load::after{display:none}
.b3d-load .loading-inner{
  position:relative;z-index:1;box-sizing:border-box;width:min(510px,100%);max-width:none;max-height:calc(100dvh - 36px);overflow:auto;
  padding:clamp(25px,3.3vw,46px);border:1px solid var(--load-line);border-radius:155px 155px 14px 14px;
  background:var(--load-paper);box-shadow:0 24px 80px #533b2524,0 0 0 7px #fffaf050;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.b3d-load .loading-inner::before{
  content:'';position:absolute;inset:8px;z-index:-1;pointer-events:none;
  border:1px solid #bc955b55;border-radius:150px 150px 9px 9px;
}
.b3d-load .loading-lotus{position:relative;width:130px;height:104px;margin:4px auto 13px;filter:drop-shadow(0 7px 12px #aa75352b);animation:b3d-lotus-breathe 5s ease-in-out infinite}
.b3d-load .loading-lotus i{position:absolute;bottom:15px;left:calc(50% - 22px);width:44px;height:72px;border:1px solid #af8552;border-radius:80% 8% 70% 25%;transform-origin:50% 100%;background:linear-gradient(140deg,#fffdf6,#eacaa1ba 64%,#df9f8580)}
.b3d-load .loading-lotus i:nth-child(1){transform:rotate(-62deg);height:62px}.b3d-load .loading-lotus i:nth-child(2){transform:rotate(-31deg)}.b3d-load .loading-lotus i:nth-child(3){transform:rotate(0);border-radius:70% 15% 70% 15%;height:82px}.b3d-load .loading-lotus i:nth-child(4){transform:rotate(31deg)}.b3d-load .loading-lotus i:nth-child(5){transform:rotate(62deg);height:62px}
.b3d-load .loading-lotus span{position:absolute;bottom:1px;left:9px;width:112px;height:17px;border-bottom:1px solid #c09a5766;border-radius:50%}
.b3d-load .b3d-load-eyebrow{display:block;margin:5px 0 9px;color:#91673e;font-size:11px;letter-spacing:.31em}
#loading.b3d-load h2,#site-loading.b3d-load h2{margin:0 0 6px;color:var(--load-ink);font:400 clamp(24px,3vw,34px)/1.5 'Songti SC','Noto Serif SC',SimSun,Georgia,serif;letter-spacing:.11em}
.b3d-load .b3d-load-verse{margin:0 auto 20px;color:var(--load-muted);font:14px/1.8 'Songti SC',SimSun,Georgia,serif;letter-spacing:.14em}
.b3d-load .b3d-theme-picker{display:flex;width:max-content;max-width:100%;gap:4px;margin:0 auto 18px;padding:4px;border:1px solid var(--load-line);border-radius:30px;background:#fffaf294}
.b3d-load .b3d-theme-picker button{min-height:38px;min-width:106px;padding:6px 12px;border:0;border-radius:23px;background:transparent;color:var(--load-muted);font-size:12px;letter-spacing:.04em;box-shadow:none}
.b3d-load .b3d-theme-picker button[aria-pressed=true]{background:#b18a55;color:#fffdf7}
.b3d-load .b3d-theme-picker button:focus-visible{outline:2px solid #aa503e;outline-offset:2px}
#loading.b3d-load progress{display:block;width:100%;height:5px;margin:0;accent-color:var(--load-gold);background:#d9c8aa}
#loading.b3d-load progress::-webkit-progress-bar{background:#dfcfb4}
#loading.b3d-load progress::-webkit-progress-value{background:linear-gradient(90deg,#d5b57a,#98643d)}
#loading.b3d-load progress::-moz-progress-bar{background:#af8650}
#loading.b3d-load #load-percent{margin:9px 0 0;color:#985b42;font:24px/1.2 Georgia,serif;font-variant-numeric:tabular-nums}
#loading.b3d-load #load-status{margin:8px auto 0;min-height:0;color:var(--load-muted);font-size:13px;line-height:1.7}
#loading.b3d-load .loading-encouragement{margin:14px auto 0;color:var(--load-ink);font-size:13px;letter-spacing:0;line-height:1.7}
#loading.b3d-load .loading-wait-note{margin:8px auto 0;color:var(--load-muted);font-size:11px;line-height:1.75}
.b3d-load .b3d-load-line{display:block;height:2px;width:80%;margin:5px auto 15px;background:linear-gradient(90deg,transparent,#b79054,transparent);transform-origin:center;animation:b3d-load-breathe 2.5s ease-in-out infinite alternate}
.b3d-load .b3d-load-note{margin:0 auto;color:var(--load-muted);font-size:12px;line-height:1.8}
.b3d-theme-cycle{min-width:38px;min-height:38px;display:inline-grid;place-items:center;border:1px solid #c7a977;border-radius:50%;background:#fffaf0cf;color:#795334;font-size:19px;line-height:1;cursor:pointer}
.b3d-theme-cycle:focus-visible{outline:2px solid #a44f3d;outline-offset:3px}
.nav-tools .b3d-theme-cycle{width:38px;height:38px;padding:0}
.top-actions .b3d-theme-cycle{border-color:#a9824f9c;background:#fff7e9cc;color:#795334;padding:0;width:43px;height:43px;font-size:21px}
html[data-loading-theme=dark] #loading.b3d-load,html[data-loading-theme=dark] #site-loading.b3d-load{
  --load-paper:#25202bea;--load-ink:#fff0d9;--load-muted:#e0cfb5;--load-gold:#dfb875;--load-line:#d4ad7190;
  background-color:#231f2d;
  background-image:linear-gradient(90deg,#211b28fa 0%,#281e2cea 31%,#271b2a8a 60%,#251a2770 100%),url('/media/welcoming-triad.webp');
}
html[data-loading-theme=dark] .b3d-load .loading-inner{box-shadow:0 25px 85px #0c071a9c,0 0 0 7px #d9b77b15}
html[data-loading-theme=dark] .b3d-load .loading-inner::before{border-color:#d6ad7350}
html[data-loading-theme=dark] .b3d-load .b3d-load-eyebrow{color:#dfbc7c}
html[data-loading-theme=dark] .b3d-load .b3d-theme-picker{background:#130e1a6b}
html[data-loading-theme=dark] .b3d-load .b3d-theme-picker button[aria-pressed=true]{background:#c8a269;color:#241b25}
html[data-loading-theme=dark] #loading.b3d-load #load-percent{color:#f1c7a6}
html[data-loading-theme=dark] .b3d-theme-cycle{background:#332632;color:#f5dcad;border-color:#bb985f}
@media(max-width:760px){
  #loading.b3d-load,#site-loading.b3d-load{align-items:flex-end;justify-content:center;padding:16px;background-position:center,63% 38%}
  .b3d-load .loading-inner{padding:25px 22px 22px;border-radius:125px 125px 12px 12px;max-height:calc(100dvh - 32px)}
  .b3d-load .loading-inner::before{border-radius:121px 121px 8px 8px}
  .b3d-load .loading-lotus{width:96px;height:74px;margin:0 auto 11px;transform:scale(.75);transform-origin:bottom center}
  .b3d-load .b3d-theme-picker{margin-bottom:13px}
  .b3d-load .b3d-theme-picker button{min-width:94px;min-height:40px}
  #loading.b3d-load h2,#site-loading.b3d-load h2{font-size:25px}
  #loading.b3d-load .loading-encouragement{margin-top:9px}
  .top-actions .b3d-theme-cycle{width:38px;height:38px}
}
@media(max-height:650px){.b3d-load .loading-inner{padding-top:18px;padding-bottom:18px;border-radius:26px}.b3d-load .loading-inner::before{border-radius:22px}.b3d-load .loading-lotus{height:58px;margin-bottom:4px;transform:scale(.58);transform-origin:bottom center}.b3d-load .b3d-load-verse{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.b3d-load .b3d-load-line,.b3d-load .loading-lotus{animation:none}}
@keyframes b3d-load-breathe{from{transform:scaleX(.52);opacity:.48}to{transform:scaleX(1);opacity:1}}
@keyframes b3d-lotus-breathe{50%{opacity:.78;transform:translateY(-3px)}}
