/* /labels/rollo-2x1-barcode: printer set to 4 in prints the barcode in a corner; set to 2 x 1 it fills the label and scans. */
.hub-anim.ha-rollo-2x1-barcode .ha-stage { min-height: 0; border: 1px solid #fed7aa; background: repeating-linear-gradient(90deg, rgba(234, 88, 12, .06) 0 2px, transparent 2px 9px), linear-gradient(180deg, #fff7ed, #ffedd5); }
.hub-anim.ha-rollo-2x1-barcode .sc { display: flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 260px; }
.hub-anim.ha-rollo-2x1-barcode .sc-arrow { color: #7c2d12; flex: 0 0 auto; } .hub-anim.ha-rollo-2x1-barcode .sc-arrow svg { width: 64px; height: 32px; display: block; }
.hub-anim.ha-rollo-2x1-barcode .r2-set { position: relative; width: 150px; height: 84px; padding: 12px 14px; background: #1c1917; border-radius: 12px; box-sizing: border-box; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .6); flex: 0 0 auto; }
.hub-anim.ha-rollo-2x1-barcode .r2-set small { display: block; margin-bottom: 10px; font: 800 .6rem/1 Manrope, Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #a8a29e; }
.hub-anim.ha-rollo-2x1-barcode .r2-set b { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 7px; font: 800 .9rem/1 "Courier New", ui-monospace, monospace; }
.hub-anim.ha-rollo-2x1-barcode .r2-s1 { background: #7f1d1d; color: #fecaca; opacity: 0; } .hub-anim.ha-rollo-2x1-barcode .r2-s2 { background: #f97316; color: #1c1917; }
.hub-anim.ha-rollo-2x1-barcode .r2-out { position: relative; width: 230px; height: 150px; flex: 0 0 auto; }
.hub-anim.ha-rollo-2x1-barcode .r2-wide { position: absolute; left: 0; top: 10px; width: 230px; height: 115px; background: #fff; border: 2px dashed #a8a29e; border-radius: 6px; box-sizing: border-box; opacity: 0; }
.hub-anim.ha-rollo-2x1-barcode .r2-mini { position: absolute; left: 8px; top: 8px; width: 46px; height: 22px; background: repeating-linear-gradient(90deg, #1c1917 0 1.5px, transparent 1.5px 3px, #1c1917 3px 4px, transparent 4px 6px); }
.hub-anim.ha-rollo-2x1-barcode .r2-x { position: absolute; right: 10px; top: 4px; font: 800 2rem/1 Inter, sans-serif; font-style: normal; color: #dc2626; }
.hub-anim.ha-rollo-2x1-barcode .r2-fit { position: absolute; left: 35px; top: 20px; width: 160px; height: 80px; padding: 9px 12px 0; background: #fff; border: 2px solid #1c1917; border-radius: 8px; box-sizing: border-box; overflow: hidden; box-shadow: 0 14px 22px -14px rgba(124, 45, 18, .6); }
.hub-anim.ha-rollo-2x1-barcode .r2-bars { display: block; height: 42px; background: repeating-linear-gradient(90deg, #1c1917 0 3px, transparent 3px 5px, #1c1917 5px 6px, transparent 6px 9px, #1c1917 9px 13px, transparent 13px 15px); }
.hub-anim.ha-rollo-2x1-barcode .r2-fit b { display: block; margin-top: 5px; text-align: center; font: 800 .72rem/1 "Courier New", ui-monospace, monospace; color: #1c1917; }
.hub-anim.ha-rollo-2x1-barcode .r2-beam { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: #ef4444; box-shadow: 0 0 8px 2px rgba(239, 68, 68, .55); opacity: 0; }
.hub-anim.ha-rollo-2x1-barcode .r2-ok { position: absolute; left: 50%; bottom: 0; margin: 0; padding: 6px 11px; transform: translateX(-50%); background: #15803d; color: #fff; border-radius: 999px; font: 800 .72rem/1 Manrope, Inter, sans-serif; white-space: nowrap; }
@media (max-width: 640px) { .hub-anim.ha-rollo-2x1-barcode .sc { flex-direction: column; gap: .9rem; } .hub-anim.ha-rollo-2x1-barcode .sc-arrow { transform: rotate(90deg); } .hub-anim.ha-rollo-2x1-barcode .ha-stage { padding-bottom: 3.4rem; } }
@media (prefers-reduced-motion: no-preference) {
 .hub-anim.ha-rollo-2x1-barcode .r2-s1 { animation: r2-s1 10s ease infinite both; } .hub-anim.ha-rollo-2x1-barcode .r2-s2 { animation: r2-s2 10s ease infinite both; }
 .hub-anim.ha-rollo-2x1-barcode .r2-wide { animation: r2-wide 10s ease infinite both; } .hub-anim.ha-rollo-2x1-barcode .r2-fit { animation: r2-fit 10s ease infinite both; }
 .hub-anim.ha-rollo-2x1-barcode .r2-beam { animation: r2-beam 10s ease infinite both; } .hub-anim.ha-rollo-2x1-barcode .r2-ok { animation: r2-ok 10s ease infinite both; }
 @keyframes r2-s1 { 0%, 2% { opacity: 0; } 6%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
 @keyframes r2-s2 { 0%, 42% { opacity: 0; } 46%, 96% { opacity: 1; } 100% { opacity: 0; } }
 @keyframes r2-wide { 0%, 8% { opacity: 0; transform: translateY(-10px); } 14%, 40% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; } }
 @keyframes r2-fit { 0%, 48% { opacity: 0; transform: translateY(-10px); } 54%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
 @keyframes r2-beam { 0%, 60% { opacity: 0; transform: translateY(-14px); } 63% { opacity: 1; transform: translateY(-14px); } 72% { opacity: 1; transform: translateY(16px); } 75%, 100% { opacity: 0; } }
 @keyframes r2-ok { 0%, 74% { opacity: 0; transform: translateX(-50%) scale(.6); } 78%, 95% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; } }
}
