/* SKYapps – company site. Same sky look as PDFsky (pdfsky.app). */
:root {
  --bg: #f3f2ee; --surface: #fbfaf7; --surface-2: #eeede8; --border: #e2e0d9; --text: #1c1c28; --muted: #6b6b80;
  --accent: #4f46e5; --accent-hover: #4338ca; --accent-soft: #eef0ff; --radius: 18px;
  --sky-1: #3730a3; --sky-2: #4f46e5; --sky-3: #60a5fa; --sky-4: #bae6fd;
  --cloud: #ffffff; --cloud-op: 1; --star: #ffffff; --star-glow: rgba(255, 255, 255, .8);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111118; --surface: #1a1a24; --surface-2: #23232f; --border: #2e2e3d; --text: #ececf3; --muted: #9a9ab0;
    --accent: #818cf8; --accent-hover: #a5b4fc; --accent-soft: #26264a;
    --sky-1: #020617; --sky-2: #1e1b4b; --sky-3: #312e81; --sky-4: #1e293b;
    --cloud: #c7d2fe; --cloud-op: .14; --star: #fde68a; --star-glow: rgba(253, 230, 138, .9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh;
  display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
main { flex: 1; width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { display: block; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; white-space: nowrap; }
.wm-sky { background: linear-gradient(90deg, #c7d2fe, #7dd3fc, #fde68a, #c7d2fe); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: wm-shimmer 6s linear infinite; }
@keyframes wm-shimmer { to { background-position: 300% 0; } }
.nav { display: flex; gap: 4px; }
.nav a { color: #fff; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }

/* ---------- sky ---------- */
.sky-section { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 72%, var(--sky-4) 100%); }
.sky-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky-sun { position: absolute; top: -18%; right: 8%; width: 46vw; max-width: 620px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, .08) 40%, transparent 70%); }
.sky-star { position: absolute; background: var(--star); filter: drop-shadow(0 0 4px var(--star-glow));
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
.sky-cloud { position: absolute; left: 0; fill: var(--cloud); animation: drift linear infinite; will-change: transform; }
.sky-cloud svg { display: block; width: 100%; height: auto; opacity: var(--cloud-op); filter: drop-shadow(0 8px 18px rgba(30, 27, 75, .12)); }
@keyframes drift { from { transform: translateX(calc(var(--x0) - 30vw)); } to { transform: translateX(calc(var(--x0) + 110vw)); } }
.sky-bank { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.sky-bank svg { width: 100%; height: 100%; display: block; fill: var(--bg); }

/* ---------- hero ---------- */
.hero { padding: 120px 16px 150px; text-align: center; }
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.kicker-star { width: 14px; height: 14px; background: #facc15; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 20px; text-shadow: 0 2px 30px rgba(30, 27, 75, .35); }
.hero-accent { background: linear-gradient(90deg, #fde68a, #facc15 40%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; margin: 0 auto 32px; color: rgba(255, 255, 255, .88); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 14px 24px; border-radius: 14px; }
.btn:hover { text-decoration: none; }
.btn-white { background: #fff; color: #312e81; box-shadow: 0 14px 34px rgba(30, 27, 75, .3); }
.btn-white:hover { background: #eef2ff; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.app-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.app-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--c); box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 22%, transparent); }
.app-card::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.app-card:hover::after { transform: scaleX(1); }
.app-top { display: flex; align-items: center; gap: 14px; }
.app-top img { border-radius: 14px; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 30%, transparent); }
.app-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.app-name .s { color: var(--c); }
.app-url { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; }
.app-card p { margin: 0; color: var(--muted); }
.app-go { margin-top: auto; font-weight: 700; color: var(--c); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.value h3 { font-size: 1.1rem; }
.value p { margin: 0; color: var(--muted); }
.value-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff;
  background: linear-gradient(135deg, var(--sky-2), var(--sky-3)); font-weight: 800; }

/* ---------- legal pages ---------- */
.page-hero { padding: 104px 16px 110px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-shadow: 0 2px 24px rgba(30, 27, 75, .35); }
.page-hero p { margin: 0; color: rgba(255, 255, 255, .85); }
.prose { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 24px 0; font-size: .9rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); font-weight: 600; }
.footer a:hover { color: var(--accent); }

@media (max-width: 520px) {
  .nav a { padding: 8px 8px; font-size: .88rem; }
  .sky-cloud:nth-child(n+6) { display: none; }
  .prose dl { grid-template-columns: 1fr; }
  .prose dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-star, .sky-cloud, .wm-sky { animation: none; }
  .sky-cloud { transform: translateX(var(--x0)); }
  .brand img, .app-card { transition: none; }
}

/* =====================================================================
   Weather (sky.js), the same as PDFsky
   ===================================================================== */
/* logo thunder: every 4 s a bolt drops onto "sky", the wordmark flickers three times and jolts */
.wordmark { position: relative; animation: wm-flash 4s ease-out infinite; }
.wordmark::after { content: ''; position: absolute; top: -16px; right: -14px; width: 15px; height: 26px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #fffbe0, #fde047 45%, #f59e0b);
  clip-path: polygon(55% 0, 0 58%, 42% 58%, 28% 100%, 100% 36%, 57% 36%, 80% 0);
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, .8)); animation: wm-bolt 4s ease-out infinite; }
@keyframes wm-flash {
  0%, 78%, 100% { filter: none; transform: none; }
  79% { filter: brightness(2.3) drop-shadow(0 0 8px #fff) drop-shadow(0 0 20px rgba(250, 204, 21, .95)); transform: translate(-1px, 1px) rotate(-1deg); }
  81% { filter: brightness(1.1); transform: translate(1px, -1px) rotate(1deg); }
  83% { filter: brightness(2.6) drop-shadow(0 0 10px #fff) drop-shadow(0 0 26px rgba(129, 140, 248, 1)); transform: translate(-1px, 0); }
  85% { filter: brightness(1.2); transform: translate(1px, 1px); }
  87% { filter: brightness(2) drop-shadow(0 0 8px #fff) drop-shadow(0 0 18px rgba(250, 204, 21, .9)); transform: none; }
  93% { filter: brightness(1.15) drop-shadow(0 0 6px rgba(250, 204, 21, .4)); }
}
@keyframes wm-bolt {
  0%, 77%, 100% { opacity: 0; transform: translateY(-10px) scale(.7); }
  79% { opacity: 1; transform: translateY(0) scale(1.25); }
  81% { opacity: .3; }
  83% { opacity: 1; transform: translateY(0) scale(1.1); }
  85% { opacity: .5; }
  87% { opacity: 1; transform: scale(1.05); }
  94% { opacity: 0; transform: translateY(3px) scale(.9); }
}
@media (prefers-reduced-motion: reduce) { .wordmark, .wordmark::after { animation: none; } }

/* logo acts out the visitor's weather (sky.js); without one, and in a storm, the thunder above plays */
:root { --wm-cloud: #94a3b8; --wm-drop: #0ea5e9; --wm-snow: #7dd3fc; }
@media (prefers-color-scheme: dark) { :root { --wm-cloud: #cbd5e1; --wm-drop: #7dd3fc; --wm-snow: #fff; } }
.topbar .wordmark { --wm-cloud: #f1f5f9; --wm-drop: #bae6fd; --wm-snow: #fff; }
.wordmark::before { position: absolute; pointer-events: none; }
:where(:root[data-wx]:not([data-wx="storm"])) .wordmark { animation: none; }
:where(:root[data-wx]:not([data-wx="storm"])) .wordmark::after { clip-path: none; filter: none; opacity: 1; background: none; transform: none; animation: none; }
/* cloudy, rain and drizzle: one small, clean cloud above the end of "sky" */
:root { --wm-rain: #94a3b8; }
.topbar .wordmark { --wm-rain: #e2e8f0; }
:root:is([data-wx="cloudy"], [data-wx="drizzle"], [data-wx="rain"]) .wordmark::after {
  top: -9px; right: -9px; width: 15px; height: 10px; background: var(--wm-rain);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M6.5 16a5 5 0 0 1-.6-9.97A6.5 6.5 0 0 1 18.4 5.1 4.5 4.5 0 0 1 19 16z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M6.5 16a5 5 0 0 1-.6-9.97A6.5 6.5 0 0 1 18.4 5.1 4.5 4.5 0 0 1 19 16z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: wm-bob 4s ease-in-out infinite; }
:root[data-wx="cloudy"] .wordmark { --wm-rain: var(--wm-cloud); }
/* rain and drizzle: a few drops fall from it */
:root:is([data-wx="drizzle"], [data-wx="rain"], [data-wx="sunshower"]) .wordmark::before {
  content: ''; top: 1px; right: -4px; width: 1.4px; height: 4px; border-radius: 2px; background: var(--wm-drop);
  box-shadow: -4px 2px 0 var(--wm-drop), 0 0 0 transparent; animation: wm-rain .7s linear infinite; }
:root[data-wx="drizzle"] .wordmark::before { box-shadow: -4px 3px 0 transparent; animation-duration: 1.1s; }
:root[data-wx="sunshower"] .wordmark::before { --wm-drop: #fbbf24; top: 6px; right: 16px; animation-duration: .9s; }
@keyframes wm-rain { from { transform: translateY(-2px); opacity: 1; } to { transform: translateY(13px); opacity: 0; } }
@keyframes wm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
/* snow: flakes fall from the top across the whole word (three layers, each looping by its own tile height) */
:root[data-wx="snow"] .wordmark::before {
  content: ''; left: -6px; right: -6px; top: -12px; bottom: -6px;
  background-image: radial-gradient(circle at 20% 30%, var(--wm-snow) 0 1.3px, transparent 1.9px), radial-gradient(circle at 70% 70%, var(--wm-snow) 0 1px, transparent 1.6px),
    radial-gradient(circle at 45% 15%, var(--wm-snow) 0 1.7px, transparent 2.3px);
  background-size: 17px 20px, 23px 26px, 31px 34px; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .8));
  -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  animation: wm-snowfall 3.2s linear infinite; }
@keyframes wm-snowfall { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 20px, 0 26px, 0 34px; } }
/* sunny: a turning sun with long rays, sunshine glowing all around the word */
:root:is([data-wx="sunny"], [data-wx="clear"], [data-wx="sunshower"]) .wordmark { animation: wm-warm 3.2s ease-in-out infinite; }
:root:is([data-wx="sunny"], [data-wx="clear"], [data-wx="sunshower"]) .wordmark::after {
  top: -13px; right: -17px; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, #fffbeb 0 16%, #fde047 17% 30%, #f59e0b 31% 34%, transparent 35%), repeating-conic-gradient(#fbbf24 0 9deg, transparent 9deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 0 66%, transparent 68%); mask: radial-gradient(circle, #000 0 66%, transparent 68%);
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 1)); animation: wm-spin 9s linear infinite; }
:root:is([data-wx="sunny"], [data-wx="clear"]) .wordmark::before {
  content: ''; z-index: -1; inset: -22px -30px -12px -16px; border-radius: 50%;
  background: radial-gradient(ellipse at 88% 18%, rgba(253, 224, 71, .55), rgba(253, 186, 116, .22) 38%, transparent 68%),
    repeating-conic-gradient(from 200deg at 88% 18%, rgba(253, 224, 71, .28) 0 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(ellipse at 88% 18%, #000 20%, transparent 70%); mask: radial-gradient(ellipse at 88% 18%, #000 20%, transparent 70%);
  animation: wm-shine 3.2s ease-in-out infinite; }
@keyframes wm-spin { to { transform: rotate(360deg); } }
@keyframes wm-warm { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px rgba(250, 204, 21, .6)); } }
@keyframes wm-shine { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
/* clear night: a glowing moon and a twinkling star */
:root[data-wx="night"] .wordmark::after { top: -11px; right: -11px; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset -4px 2px 0 0 #fde68a; transform: rotate(-20deg);
  filter: drop-shadow(0 0 5px rgba(253, 230, 138, .9)); animation: wm-bob 4s ease-in-out infinite; }
:root[data-wx="night"] .wordmark::before { content: ''; top: -6px; right: 14px; width: 3px; height: 3px; border-radius: 50%; background: #fde68a;
  box-shadow: 0 0 4px #fde68a, -26px 4px 0 -0.5px #fde68a; animation: wm-twinkle 2.2s ease-in-out infinite; }
@keyframes wm-twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }
/* fog: the word fades in and out of the mist */
:root[data-wx="fog"] .wordmark { animation: wm-fog 5s ease-in-out infinite; }
@keyframes wm-fog { 0%, 100% { filter: none; opacity: 1; } 50% { filter: blur(1.6px); opacity: .5; } }
/* wind: gusts blow past and the word leans into them */
:root[data-wx="wind"] .wordmark { transform-origin: 50% 100%; animation: wm-lean 2.6s ease-in-out infinite; }
:root[data-wx="wind"] .wordmark::before { content: ''; top: 3px; left: -8px; width: 14px; height: 1.6px; border-radius: 2px; background: var(--wm-cloud);
  box-shadow: 10px 7px 0 var(--wm-cloud), -2px 14px 0 var(--wm-cloud); animation: wm-gust 1.3s linear infinite; }
@keyframes wm-lean { 0%, 100% { transform: none; } 40% { transform: skewX(-8deg) translateX(1px); } 60% { transform: skewX(-4deg); } }
@keyframes wm-gust { from { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateX(70px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { :root[data-wx] .wordmark, :root[data-wx] .wordmark::before, :root[data-wx] .wordmark::after { animation: none !important; } }

/* ---------- the sky follows the visitor's weather (sky.js); light/dark mode unchanged ---------- */
.wx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wx .sky-bg::before { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, var(--wx-dim, 0)); transition: background .6s; }
.wx-cloudy { --wx-dim: .08; }
.wx-drizzle, .wx-fog, .wx-snow { --wx-dim: .14; }
.wx-rain { --wx-dim: .22; }
.wx-storm { --wx-dim: .55; }
.wx-cloudy .sky-cloud svg, .wx-drizzle .sky-cloud svg, .wx-rain .sky-cloud svg, .wx-storm .sky-cloud svg, .wx-snow .sky-cloud svg, .wx-fog .sky-cloud svg { opacity: calc(var(--cloud-op) * 1.8); }
.wx-rain .sky-cloud, .wx-storm .sky-cloud, .wx-drizzle .sky-cloud { fill: color-mix(in srgb, var(--cloud) 70%, #64748b); }
.wx-rain .sky-sun, .wx-storm .sky-sun, .wx-drizzle .sky-sun, .wx-snow .sky-sun, .wx-fog .sky-sun { opacity: .25; }
.wx-rain .sky-star, .wx-storm .sky-star, .wx-fog .sky-star, .wx-snow .sky-star { display: none; }
.wx-wind .sky-cloud { animation-duration: 26s !important; }
.wx-wind .sky-cloud:nth-child(odd) { animation-duration: 19s !important; }
.wx-flash { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 20%, #f5f3ff, rgba(237, 233, 254, .6) 60%, rgba(237, 233, 254, .25)); opacity: 0; }
.wx-mist { position: absolute; left: -40%; right: -40%; bottom: 8%; height: 45%; filter: blur(24px);
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, .38), transparent 60%), radial-gradient(ellipse at 75% 60%, rgba(255, 255, 255, .3), transparent 60%);
  animation: wx-mist 38s ease-in-out infinite alternate; }
.wx-mist-2 { bottom: auto; top: 18%; height: 38%; opacity: .7; animation-duration: 52s; animation-direction: alternate-reverse; }
@keyframes wx-mist { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@media (prefers-reduced-motion: reduce) { .wx-mist { animation: none; } }
/* storm: near-black clouds racing; rain: calm, soft grey clouds */
.wx-storm .sky-cloud { fill: color-mix(in srgb, var(--cloud) 35%, #1e1b4b); animation-duration: 24s !important; }
.wx-storm .sky-cloud:nth-child(odd) { animation-duration: 17s !important; }
.wx-storm .sky-cloud svg { opacity: calc(var(--cloud-op) * 2.6); }
.wx-storm .sky-sun { display: none; }

/* sunny: a glowing sun with slowly turning rays and a warm tint; sun shower adds golden rain and a rainbow */
.wx-sunny .sky-bg::before, .wx-sunshower .sky-bg::before { background: radial-gradient(ellipse at 85% 0%, rgba(251, 191, 36, .28), rgba(251, 191, 36, .08) 45%, transparent 70%); }
.wx-sunny .sky-sun, .wx-sunshower .sky-sun, .wx-sunny .sky-star, .wx-sunshower .sky-star { display: none; }
.wx-sunburst { position: absolute; top: -40px; right: -2%; width: min(400px, 60vw); aspect-ratio: 1; pointer-events: none; }
.wx-sunburst::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(254, 240, 138, .26) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 70%); mask: radial-gradient(circle, #000 18%, transparent 70%); animation: wx-spin 70s linear infinite; }
.wx-sunburst::after { content: ''; position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle, #fffbeb 0%, #fde68a 45%, #fbbf24 70%, rgba(251, 191, 36, 0) 72%);
  box-shadow: 0 0 60px 24px rgba(253, 224, 71, .45), 0 0 140px 60px rgba(251, 191, 36, .22); animation: wx-glow 5s ease-in-out infinite; }
@keyframes wx-spin { to { transform: rotate(360deg); } }
@keyframes wx-glow { 50% { box-shadow: 0 0 80px 32px rgba(253, 224, 71, .55), 0 0 180px 80px rgba(251, 191, 36, .28); } }
.wx-rainbow { position: absolute; left: -14%; bottom: 6%; width: min(820px, 95vw); aspect-ratio: 2 / 1; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, transparent 72%, rgba(239, 68, 68, .5) 74%, rgba(249, 115, 22, .5) 77%, rgba(234, 179, 8, .5) 80%,
    rgba(34, 197, 94, .45) 83%, rgba(59, 130, 246, .45) 86%, rgba(99, 102, 241, .45) 89%, rgba(168, 85, 247, .4) 92%, transparent 95%);
  filter: blur(1.5px); -webkit-mask: linear-gradient(0deg, transparent 5%, #000 45%); mask: linear-gradient(0deg, transparent 5%, #000 45%);
  animation: wx-rainbow 4s ease-out 0.5s forwards; }
@keyframes wx-rainbow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wx-sunburst::before, .wx-sunburst::after { animation: none; } .wx-rainbow { animation: none; opacity: 1; } }
