/* The loading screen remains independent of decorative effects and WebGL. */
.tel-loader{position:fixed;inset:0;z-index:9999;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:0;color:#f1e9f9;background:radial-gradient(ellipse at center,#281c3b70,transparent 55%),#08070c;overflow:hidden;opacity:1;transition:opacity .45s ease,transform .45s ease}
.tel-loader[hidden]{display:none!important}.tel-loader[open]{display:grid;place-items:center}.tel-loader::backdrop{background:#08070c}.tel-loader.tel-loader-finished{opacity:0;transform:scale(1.015);pointer-events:none}
.tel-loader-inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:23px;text-align:center;padding:32px;max-width:100%;z-index:1}
.tel-loader-kicker{font:500 10px/1.5 system-ui,sans-serif;letter-spacing:.22em;color:#c9b6dd;margin:0}.tel-loader-core{position:relative;width:206px;height:206px;display:grid;place-items:center;border-radius:50%;transform:translate(var(--intro-x,0px),var(--intro-y,0px));background:radial-gradient(circle,#bca1d812,transparent 68%)}.tel-loader-core img{width:110px;height:auto;object-fit:contain}.tel-loader-label{margin:0;font:400 21px/1.5 system-ui,sans-serif;letter-spacing:-.025em}
.tel-loader .tel-loader-progress{height:4px;width:min(260px,65vw);background:#b49cc629;border-radius:9px;overflow:hidden}.tel-loader-progress>span{display:block;height:100%;width:var(--load-progress,0%);background:linear-gradient(90deg,#b9a3ff,#f0e6ff);border-radius:inherit;box-shadow:0 0 16px #d8bcee70;transition:width .13s linear}
.tel-loader-readout{display:flex;justify-content:space-between;gap:16px;width:min(260px,65vw);margin:-9px 0 0;font:500 8px/1.5 system-ui,sans-serif;letter-spacing:.12em;color:#c7bcd3}.tel-loader-readout>[data-loading-percent]{font-variant-numeric:tabular-nums;color:#f3ebfa;font-size:10px;letter-spacing:0}.tel-loader-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tel-loader-space{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(1px 1px at 12% 18%,#f5edff 98%,transparent),radial-gradient(1px 1px at 80% 27%,#d2c4ed 98%,transparent),radial-gradient(1px 1px at 27% 71%,#f5edff 98%,transparent),radial-gradient(1px 1px at 88% 80%,#d2c4ed 98%,transparent);background-size:360px 330px;animation:tel-loading-twinkle 3s ease-in-out infinite alternate}.tel-loader-space:after{content:'';position:absolute;left:18%;top:36%;width:64%;height:34%;border:1px solid #d8bcee1c;border-radius:50%;transform:rotate(-24deg)}
@keyframes tel-loading-twinkle{from{opacity:.3}to{opacity:.85}}
body[data-page=temark] .tel-loader{background:radial-gradient(ellipse at center,#4b392a55,transparent 55%),#0a0908}body[data-page=temark] .tel-loader-progress>span{background:linear-gradient(90deg,#b99a77,#f0dfc5)}body[data-page=temark] .tel-loader-kicker{color:#d5c2a6}
@media(max-width:520px){.tel-loader-core{width:180px;height:180px}.tel-loader-inner{gap:20px}.tel-loader-label{font-size:19px}}
@media(prefers-reduced-motion:reduce){.tel-loader,.tel-loader-progress>span{transition:none}.tel-loader-space{animation:none}}

/* A flat, centred identity with two lightweight orbital paths. */
.tel-loader{height:100dvh;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);box-sizing:border-box}
.tel-loader .tel-loader-inner{box-sizing:border-box;width:min(420px,calc(100vw - 48px));max-width:100%;padding:0;gap:22px;transform:none}
.tel-loader .tel-loader-kicker{font-size:9px;line-height:1.6;letter-spacing:.19em;text-wrap:balance}
.tel-loader .tel-loader-core{position:relative;isolation:isolate;flex:none;width:252px;height:216px;max-width:100%;border-radius:0;background:none;animation:none;transform:none;cursor:default}
.tel-loader .tel-loader-core>img{position:relative;z-index:2;width:126px;max-width:52%;height:auto;filter:none!important;box-shadow:none;opacity:1!important;transition:none}
.tel-loader .tel-loader-electric{display:none!important}
.tel-loader .tel-loader-label{font:400 clamp(17px,4.5vw,21px)/1.4 system-ui,sans-serif;letter-spacing:-.025em;margin:0;text-wrap:balance;max-width:100%;color:#f1e9f9}
.tel-loader .tel-loader-progress,.tel-loader .tel-loader-readout{width:min(300px,100%);flex:none}
.tel-loader .tel-loader-readout{align-items:baseline;font-size:8px;line-height:1.6;letter-spacing:.09em;margin-top:-10px}
.tel-loader .tel-loader-readout>span:last-child{text-align:right}
.tel-loader .tel-loader-progress>span{box-shadow:none}
.tel-loader .tel-loader-space:after{display:none}
.tel-loading-orbit{position:absolute;inset:0;border:1px solid #cbb8e34d;border-radius:50%;transform:rotate(-24deg) scaleY(.55);z-index:0;pointer-events:none}
.tel-loading-orbit.secondary{inset:12px -8px;border-color:#cbb8e329;transform:rotate(28deg) scaleY(.7)}
.tel-loading-orbit>i{position:absolute;inset:0;border-radius:50%;animation:tel-loading-orbit-travel 4s linear infinite}
.tel-loading-orbit>i:after{content:'';position:absolute;left:-3px;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#e7dcf6;transform:scaleY(1.6)}
.tel-loading-orbit.secondary>i{animation-duration:6s;animation-direction:reverse;animation-delay:-1.5s}
.tel-loading-orbit.secondary>i:after{width:4px;height:4px;left:-2px;top:calc(50% - 2px);background:#b9a3d2}
@keyframes tel-loading-orbit-travel{to{transform:rotate(360deg)}}
body[data-page=temark] .tel-loading-orbit{border-color:#d8c1a34d}body[data-page=temark] .tel-loading-orbit>i:after{background:#e8d4b8}
@media(max-width:520px){.tel-loader .tel-loader-inner{gap:22px;width:calc(100vw - 56px)}.tel-loader .tel-loader-core{width:232px;height:204px}.tel-loader .tel-loader-core>img{width:122px}}
@media(max-height:500px){.tel-loader .tel-loader-inner{gap:12px}.tel-loader .tel-loader-core{width:190px;height:126px}.tel-loader .tel-loader-core>img{width:104px}}
@media(prefers-reduced-motion:reduce){.tel-loading-orbit>i{animation:none}}
