/* Soft moving mist, then a slow reveal of the actual decoded line drawing. */
.outline-scene { position:relative; isolation:isolate; display:block; flex:none; width:224px; height:224px; margin:12px 0 20px; }
.outline-art { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; filter:drop-shadow(0 10px 14px #7298c121); }
.outline-atmosphere { position:absolute; inset:-14%; pointer-events:none; overflow:hidden; border-radius:48%; -webkit-mask-image:radial-gradient(ellipse,#000 40%,#0009 62%,transparent 73%); mask-image:radial-gradient(ellipse,#000 40%,#0009 62%,transparent 73%); }
.outline-glow { position:absolute; inset:19%; border-radius:50%; background:radial-gradient(ellipse,#ffffffed 5%,#d5eafa88 49%,transparent 72%); filter:blur(12px); animation:outline-breathe 7s ease-in-out infinite alternate; }
.outline-cloudbank { position:absolute; inset:0; }
.outline-cloud { position:absolute; display:block; inset:0; filter:blur(13px); opacity:.86; will-change:transform; }
.cloud-one { background:radial-gradient(ellipse at 28% 44%,#fff 0 12%,#f4f9ffec 27%,transparent 56%),radial-gradient(ellipse at 65% 37%,#c8dff4b8 0 12%,transparent 49%); animation:outline-drift-left 13s ease-in-out infinite alternate; }
.cloud-two { background:radial-gradient(ellipse at 75% 54%,#fff 0 15%,#e7f2f9f2 29%,transparent 56%),radial-gradient(ellipse at 37% 67%,#d0e8e6b3 0 14%,transparent 52%); animation:outline-drift-right 16s ease-in-out -5s infinite alternate; }
.cloud-three { background:radial-gradient(ellipse at 42% 67%,#ffffffed 0 12%,#e5eefbbd 28%,transparent 56%),radial-gradient(ellipse at 58% 26%,#f9fcff 0 10%,transparent 46%); animation:outline-drift-front 11s ease-in-out -3s infinite alternate; opacity:.68; }
.outline-dawn { position:absolute; inset:10%; opacity:0; background:radial-gradient(ellipse,#ffffffe6 0, #effbf685 28%,transparent 65%); }
.outline-phase-label { position:absolute; left:-6%; right:-6%; bottom:6px; z-index:1; font-size:10px; line-height:1.7; font-weight:450; letter-spacing:.02em; color:#67859e; text-wrap:balance; }
.outline-scene[data-phase="revealing"] .outline-art { animation:outline-materialize 2.8s cubic-bezier(.2,.65,.25,1) both; }
.outline-scene[data-phase="revealing"] .cloudbank-left { animation:outline-part-left 2.7s ease-out both; }
.outline-scene[data-phase="revealing"] .cloudbank-right { animation:outline-part-right 2.7s ease-out both; }
.outline-scene[data-phase="revealing"] .cloudbank-front { animation:outline-lift 2.6s ease-out both; }
.outline-scene[data-phase="revealing"] .outline-glow { animation:outline-lift 2.6s ease-out both; }
.outline-scene[data-phase="revealing"] .outline-dawn { animation:outline-first-light 2.2s ease-out both; }
.outline-scene[data-phase="revealing"] .outline-phase-label { opacity:0; transition:opacity .45s ease; }
.outline-scene[data-phase="ready"] .outline-art { opacity:1; }
.outline-scene[data-phase="ready"] .outline-atmosphere,.outline-scene[data-phase="ready"] .outline-phase-label { visibility:hidden; }
.outline-scene[data-phase="ready"] .outline-cloud,.outline-scene[data-phase="ready"] .outline-glow { animation:none; will-change:auto; }
.outline-scene[data-phase="error"] .outline-cloud,.outline-scene[data-phase="unavailable"] .outline-cloud,.outline-scene[data-phase="error"] .outline-glow,.outline-scene[data-phase="unavailable"] .outline-glow { animation:none; opacity:.45; will-change:auto; }
@keyframes outline-breathe { from{transform:scale(.9);opacity:.6} to{transform:scale(1.13);opacity:1} }
@keyframes outline-drift-left { from{transform:translate(-7%,3%) rotate(-7deg) scale(1.02)} to{transform:translate(9%,-5%) rotate(9deg) scale(1.13)} }
@keyframes outline-drift-right { from{transform:translate(7%,-5%) rotate(6deg) scale(1.1)} to{transform:translate(-9%,6%) rotate(-8deg) scale(.98)} }
@keyframes outline-drift-front { from{transform:translate(-4%,8%) scale(.98)} to{transform:translate(6%,-8%) scale(1.16)} }
@keyframes outline-part-left { 0%{transform:translateX(0);opacity:1} 100%{transform:translateX(-48%) scale(1.12);opacity:0} }
@keyframes outline-part-right { 0%{transform:translateX(0);opacity:1} 100%{transform:translateX(48%) scale(1.12);opacity:0} }
@keyframes outline-lift { 0%{transform:translateY(0);opacity:.85} 100%{transform:translateY(-22%) scale(1.25);opacity:0} }
@keyframes outline-first-light { 0%{opacity:0;transform:scale(.7)} 35%{opacity:.55} 100%{opacity:0;transform:scale(1.3)} }
@keyframes outline-materialize { 0%{opacity:0;transform:scale(.97);filter:blur(6px)} 35%{opacity:.25} 100%{opacity:1;transform:scale(1);filter:drop-shadow(0 10px 14px #7298c121)} }
@media(min-width:1440px) { .outline-scene { width:265px; height:265px; } }
@media(max-width:1050px) { .outline-scene { width:175px; height:175px; } }
@media(max-width:720px) { .outline-scene { width:160px; height:160px; margin:6px 0; }.outline-phase-label { font-size:9px; bottom:1px; } }
@media(prefers-reduced-motion:reduce) {
  .outline-scene * { animation:none!important; transition:none!important; will-change:auto; }
  .outline-scene[data-phase="revealing"] .outline-art { opacity:1; }
  .outline-scene[data-phase="revealing"] .outline-atmosphere,.outline-scene[data-phase="revealing"] .outline-phase-label { visibility:hidden; }
}
