/* /tools/wifi-qr-code-generator: How it works scene (a WiFi QR tent card on a cafe table, a Join prompt drops on a phone, the WiFi arcs fill, Connected). */
.hub-anim.ha-wifi-qr-code-generator .ha-stage { min-height: 0; border: 1px solid #bae6fd; background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 52%, #c9925f 52.2%, #b7804f 100%); }
.hub-anim.ha-wifi-qr-code-generator .sc { display: flex; align-items: flex-end; justify-content: center; gap: 1.6rem; min-height: 260px; }
.hub-anim.ha-wifi-qr-code-generator .sc-arrow { color: #075985; flex: 0 0 auto; align-self: center; } .hub-anim.ha-wifi-qr-code-generator .sc-arrow svg { width: 64px; height: 32px; display: block; }
.hub-anim.ha-wifi-qr-code-generator .wf-table { position: relative; width: 250px; height: 240px; flex: 0 0 auto; }
.hub-anim.ha-wifi-qr-code-generator .wf-tent { position: absolute; left: 10px; bottom: 26px; width: 150px; padding: 14px 12px 12px; background: #fff; border-radius: 6px 6px 2px 2px; box-sizing: border-box; text-align: center; transform: perspective(500px) rotateX(8deg); transform-origin: 50% 100%; box-shadow: 10px 14px 0 -6px rgba(84, 52, 26, .35), 0 1px 0 #e5e7eb; }
.hub-anim.ha-wifi-qr-code-generator .wf-tent::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #0284c7; border-radius: 6px 6px 0 0; }
.hub-anim.ha-wifi-qr-code-generator .wf-tent small { display: block; margin-bottom: 8px; font: 800 .56rem/1 Manrope, Inter, sans-serif; letter-spacing: .14em; color: #0369a1; }
.hub-anim.ha-wifi-qr-code-generator .wf-code { display: block; width: 96px; height: 96px; margin: 0 auto 8px; fill: #0c4a6e; }
.hub-anim.ha-wifi-qr-code-generator .wf-tent b { display: block; font: 800 .86rem/1 Manrope, Inter, sans-serif; color: #0c4a6e; }
.hub-anim.ha-wifi-qr-code-generator .wf-cup { position: absolute; right: 14px; bottom: 28px; width: 58px; height: 54px; background: #fff; border-radius: 4px 4px 18px 18px; box-shadow: inset 0 9px 0 #7c4a22, 6px 10px 0 -4px rgba(84, 52, 26, .35); }
.hub-anim.ha-wifi-qr-code-generator .wf-cup::after { content: ""; position: absolute; right: -14px; top: 12px; width: 14px; height: 20px; border: 5px solid #fff; border-left: 0; border-radius: 0 12px 12px 0; box-sizing: border-box; }
.hub-anim.ha-wifi-qr-code-generator .wf-phone { width: 160px; height: 240px; padding: 8px; margin-bottom: 10px; flex: 0 0 auto; background: #18181b; border-radius: 26px; box-sizing: border-box; box-shadow: 0 18px 26px -14px rgba(0, 0, 0, .55); }
.hub-anim.ha-wifi-qr-code-generator .wf-screen { position: relative; height: 100%; overflow: hidden; border-radius: 19px; background: linear-gradient(160deg, #38bdf8, #0369a1); }
.hub-anim.ha-wifi-qr-code-generator .wf-toast { position: absolute; left: 7px; right: 7px; top: 10px; padding: 9px 10px 10px; background: rgba(255, 255, 255, .96); border-radius: 13px; text-align: left; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .45); }
.hub-anim.ha-wifi-qr-code-generator .wf-toast b { display: block; font: 800 .66rem/1.2 Manrope, Inter, sans-serif; color: #0f172a; }
.hub-anim.ha-wifi-qr-code-generator .wf-toast span { display: block; margin: 2px 0 7px; font: 500 .54rem/1.2 Inter, system-ui, sans-serif; color: #64748b; }
.hub-anim.ha-wifi-qr-code-generator .wf-toast em { display: block; padding: 5px 0; background: #0284c7; color: #fff; border-radius: 8px; text-align: center; font: 700 .62rem/1 Manrope, Inter, sans-serif; font-style: normal; }
.hub-anim.ha-wifi-qr-code-generator .wf-arcs { position: absolute; left: 50%; top: 104px; width: 70px; height: 70px; margin-left: -35px; stroke: #fff; }
.hub-anim.ha-wifi-qr-code-generator .wf-a0 { fill: #fff; stroke: none; }
.hub-anim.ha-wifi-qr-code-generator .wf-done { position: absolute; left: 0; right: 0; top: 180px; margin: 0; color: #fff; font: 800 .76rem/1 Manrope, Inter, sans-serif; text-align: center; }
@media (max-width: 640px) {
 .hub-anim.ha-wifi-qr-code-generator .ha-stage { padding-bottom: 3.4rem; background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 30%, #c9925f 30.2%, #b7804f 100%); }
 .hub-anim.ha-wifi-qr-code-generator .sc { flex-direction: column; align-items: center; gap: .6rem; } .hub-anim.ha-wifi-qr-code-generator .sc-arrow { transform: rotate(90deg); }
 .hub-anim.ha-wifi-qr-code-generator .wf-table { width: 212px; height: 220px; } .hub-anim.ha-wifi-qr-code-generator .wf-tent { left: 0; width: 136px; } .hub-anim.ha-wifi-qr-code-generator .wf-cup { right: 12px; width: 48px; height: 46px; }
}
/* Reduced motion: the finished scene (prompt shown, all arcs lit, Connected). */
@media (prefers-reduced-motion: no-preference) {
 .hub-anim.ha-wifi-qr-code-generator .wf-toast { animation: wf-toast 10s cubic-bezier(.2, .9, .3, 1.1) infinite both; }
 .hub-anim.ha-wifi-qr-code-generator .wf-toast em { animation: wf-join 10s ease infinite both; }
 .hub-anim.ha-wifi-qr-code-generator .wf-a1 { animation: wf-a1 10s ease infinite both; } .hub-anim.ha-wifi-qr-code-generator .wf-a2 { animation: wf-a2 10s ease infinite both; } .hub-anim.ha-wifi-qr-code-generator .wf-a3 { animation: wf-a3 10s ease infinite both; }
 .hub-anim.ha-wifi-qr-code-generator .wf-done { animation: wf-done 10s ease infinite both; }
 .hub-anim.ha-wifi-qr-code-generator .wf-tent { animation: wf-tent 10s ease infinite both; }
 @keyframes wf-tent { 0%, 6% { box-shadow: 10px 14px 0 -6px rgba(84, 52, 26, .35), 0 1px 0 #e5e7eb; } 14%, 22% { box-shadow: 10px 14px 0 -6px rgba(84, 52, 26, .35), 0 0 0 5px rgba(2, 132, 199, .45); } 30%, 100% { box-shadow: 10px 14px 0 -6px rgba(84, 52, 26, .35), 0 1px 0 #e5e7eb; } }
 @keyframes wf-toast { 0%, 24% { transform: translateY(-130%); } 32%, 92% { transform: none; } 98%, 100% { transform: translateY(-130%); } }
 @keyframes wf-join { 0%, 44% { transform: none; background: #0284c7; } 46% { transform: scale(.93); background: #075985; } 49%, 100% { transform: none; background: #0284c7; } }
 @keyframes wf-a1 { 0%, 52% { opacity: .25; } 56%, 94% { opacity: 1; } 99%, 100% { opacity: .25; } }
 @keyframes wf-a2 { 0%, 58% { opacity: .25; } 62%, 94% { opacity: 1; } 99%, 100% { opacity: .25; } }
 @keyframes wf-a3 { 0%, 64% { opacity: .25; } 68%, 94% { opacity: 1; } 99%, 100% { opacity: .25; } }
 @keyframes wf-done { 0%, 70% { opacity: 0; transform: translateY(6px); } 75%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
}
